2D AMRCLAW
|
Go to the source code of this file.
Functions/Subroutines | |
subroutine | setuse (listbc, maxsp, ispot, mkid, ilo, ihi, jlo, jhi, iclo, ichi, jclo, jchi, kflag) |
Add intersection information between grid mptr and a finer grid mkid to the boundary list, listbc, of grid mptr, to be used by fluxsv. More... | |
subroutine setuse | ( | dimension(5,maxsp) | listbc, |
maxsp, | |||
ispot, | |||
mkid, | |||
ilo, | |||
ihi, | |||
jlo, | |||
jhi, | |||
iclo, | |||
ichi, | |||
jclo, | |||
jchi, | |||
kflag | |||
) |
Add intersection information between grid mptr and a finer grid mkid to the boundary list, listbc, of grid mptr, to be used by fluxsv.
listbc for grid mptr is a 5 by maxsp array and is saved at address point to by alloc(node(cfluxptr, mptr)). It stores information about interface between grid mptr and all grids one level finer if they intersect. These interfaces consist of multiple cell edges (or segments, whose length = cell size on grid mptr). Each column in listbc has five entries and stores information associated with one segment. A global index for all these segments is represented by ispot. The five entries for the segment are explained as below:
[in,out] | listbc | the array that stores boundary information for grid mptr |
[in] | maxsp | maximum number of segments lisbc can describe |
[in,out] | ispot | global index of a segment among all segments that make up the interface between grid mptr and ANY finer grids |
[in] | mkid | the finer grid that may intersect with grid mptr |
[in] | ilo | global i index of left border of grid mptr |
[in] | ihi | global i index of right border of grid mptr |
[in] | jlo | global j index of lower border of grid mptr |
[in] | jhi | global j index of upper border of grid mptr |
[in] | iclo | global i index of left border of grid mkid, in level of grid mptr index space |
[in] | ichi | global i index of right border of grid mptr, in level of grid mptr index space |
[in] | jclo | global j index of lower border of grid mptr, in level of grid mptr index space |
[in] | jchi | global j index of upper border of grid mptr, in level of grid mptr index space |
[in] | kflag | indicate what type of domain is being used, regular cartesian or spherical domain |
Definition at line 64 of file setuse.f.
References amr_module::iregsz, amr_module::nestlevel, amr_module::nghost, and amr_module::node.
Referenced by prepc().