MPI-AMRVAC  2.0
The MPI - Adaptive Mesh Refinement - Versatile Advection Code
Functions/Subroutines
mod_usr Module Reference

This is a template for a new user problem. More...

Functions/Subroutines

subroutine usr_init ()
 This routine should set user methods, and activate the physics module. More...
 
subroutine initial_conditions (ixIL, ixOL, w, x)
 A routine for specifying initial conditions. More...
 

Detailed Description

This is a template for a new user problem.

Function/Subroutine Documentation

◆ initial_conditions()

subroutine mod_usr::initial_conditions ( integer, intent(in)  ixI,
integer, intent(in)  L,
integer, intent(in)  ixO,
  L,
double precision, dimension(ixi^s,1:nw), intent(inout)  w,
double precision, dimension(ixi^s,1:ndim), intent(in)  x 
)

A routine for specifying initial conditions.

Definition at line 38 of file mod_usr_template.t.

◆ usr_init()

subroutine mod_usr::usr_init ( )

This routine should set user methods, and activate the physics module.

Definition at line 16 of file mod_usr_template.t.

Here is the call graph for this function: