MPI-AMRVAC  3.0
The MPI - Adaptive Mesh Refinement - Versatile Advection Code
Public Member Functions | List of all members
mod_usr_methods::internal_bc Interface Reference

internal boundary, user defined This subroutine can be used to artificially overwrite ALL conservative variables in a user-selected region of the mesh, and thereby act as an internal boundary region. It is called just before external (ghost cell) boundary regions will be set by the BC selection. Here, you could e.g. want to introduce an extra variable (nwextra, to be distinguished from nwaux) which can be used to identify the internal boundary region location. Its effect should always be local as it acts on the mesh. More...

Public Member Functions

subroutine internal_bc (level, qt, ixIL, ixOL, w, x)
 

Detailed Description

internal boundary, user defined This subroutine can be used to artificially overwrite ALL conservative variables in a user-selected region of the mesh, and thereby act as an internal boundary region. It is called just before external (ghost cell) boundary regions will be set by the BC selection. Here, you could e.g. want to introduce an extra variable (nwextra, to be distinguished from nwaux) which can be used to identify the internal boundary region location. Its effect should always be local as it acts on the mesh.

Definition at line 150 of file mod_usr_methods.t.

Constructor & Destructor Documentation

◆ internal_bc()

subroutine mod_usr_methods::internal_bc::internal_bc ( integer, intent(in)  level,
double precision, intent(in)  qt,
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 
)

Definition at line 150 of file mod_usr_methods.t.


The documentation for this interface was generated from the following file: