MPI-AMRVAC  3.1
The MPI - Adaptive Mesh Refinement - Versatile Advection Code (development version)
Functions/Subroutines
mod_usr Module Reference

This is a template for a new user problem of mhd. 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 of mhd.

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 37 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 15 of file mod_usr_template.t.

Here is the call graph for this function: