MPI-AMRVAC  3.1
The MPI - Adaptive Mesh Refinement - Versatile Advection Code (development version)
Public Member Functions | List of all members
mod_usr_methods::refine_grid Interface Reference

Enforce additional refinement or coarsening One can use the coordinate info in x and/or time qt=t_n and w(t_n) values w. you must set consistent values for integers refine/coarsen: refine = -1 enforce to not refine refine = 0 doesn't enforce anything refine = 1 enforce refinement coarsen = -1 enforce to not coarsen coarsen = 0 doesn't enforce anything coarsen = 1 enforce coarsen e.g. refine for negative first coordinate x < 0 as if (any(x(ix^S,1) < zero)) refine=1. More...

Public Member Functions

subroutine refine_grid (igrid, level, ixIL, ixOL, qt, w, x, refine, coarsen)
 

Detailed Description

Enforce additional refinement or coarsening One can use the coordinate info in x and/or time qt=t_n and w(t_n) values w. you must set consistent values for integers refine/coarsen: refine = -1 enforce to not refine refine = 0 doesn't enforce anything refine = 1 enforce refinement coarsen = -1 enforce to not coarsen coarsen = 0 doesn't enforce anything coarsen = 1 enforce coarsen e.g. refine for negative first coordinate x < 0 as if (any(x(ix^S,1) < zero)) refine=1.

Definition at line 363 of file mod_usr_methods.t.

Constructor & Destructor Documentation

◆ refine_grid()

subroutine mod_usr_methods::refine_grid::refine_grid ( integer, intent(in)  igrid,
integer, intent(in)  level,
integer, intent(in)  ixI,
integer, intent(in)  L,
integer, intent(in)  ixO,
  L,
double precision, intent(in)  qt,
double precision, dimension(ixi^s,1:nw), intent(in)  w,
double precision, dimension(ixi^s,1:ndim), intent(in)  x,
integer, intent(inout)  refine,
integer, intent(inout)  coarsen 
)

Definition at line 363 of file mod_usr_methods.t.


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