2D AMRCLAW
Functions/Subroutines
coarseGridFlagSet.f File Reference

Go to the source code of this file.

Functions/Subroutines

subroutine coarsegridflagset (iflags, ixlo, ixhi, jxlo, jxhi, ilo_coarse, ihi_coarse, jlo_coarse, jhi_coarse, mbuff)
 Flag a whole subregion from (ixlo,ixhi) to (jxlo, jxhi) with integer. More...
 

Function/Subroutine Documentation

◆ coarsegridflagset()

subroutine coarsegridflagset ( integer*1, dimension(ilo_coarse-mbuff:ihi_coarse+mbuff, jlo_coarse-mbuff:jhi_coarse+mbuff)  iflags,
  ixlo,
  ixhi,
  jxlo,
  jxhi,
  ilo_coarse,
  ihi_coarse,
  jlo_coarse,
  jhi_coarse,
  mbuff 
)

Flag a whole subregion from (ixlo,ixhi) to (jxlo, jxhi) with integer.

  1. The subregion is inside a grid described by (ilo_coarse, jlo_coarse) and (ihi_coarse, jhi_coarse)

Definition at line 11 of file coarseGridFlagSet.f.

Referenced by setdomflags().

11 
12 
13  integer*1 iflags(ilo_coarse-mbuff:ihi_coarse+mbuff,
14  . jlo_coarse-mbuff:jhi_coarse+mbuff)
15 
16 c
17 c whole point of this routine is to index using the integer cords, not the
18 c way its dimensioned and indexed in the calling routine setdomflags
19 c
20  do 25 j = jxlo,jxhi
21  do 25 i = ixlo,ixhi
22  iflags(i,j) = 1
23  25 continue
24 
25  return
subroutine setdomflags(mptr, igridflags, ilo, ihi, jlo, jhi, mbuff, lbase, lcheck, mibuff, mjbuff)
set domain flags (not AMR flags) for grid mptr (only), enlarged by buffer zone.
Definition: setdomflags.f:24
Here is the caller graph for this function: