2D AMRCLAW
addflags.f
Go to the documentation of this file.
1 c
6 
7  subroutine addflags(rectflags,mibuff,mjbuff,
8  1 rctold,idim3,mitot,mjtot,mptr)
9 c
10  use amr_module
11  implicit double precision (a-h,o-z)
12 
13 
14  dimension rctold(idim3,mitot,mjtot)
15  dimension rectflags(mibuff,mjbuff)
16 
17 c :::::::::::::::::::::: ADDFLAGS ::::::::::::::::::::::::::::::::::
18 c transfer flagged arrays from errest into the one from spatial
19 c differencing
20 c NOTE: not dimensioned the same. rectflags is possibly larger to accomodate
21 c in-place buffering.
22 c :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
23 c
24 
25  do 10 j = nghost+1, mjtot-nghost
26  do 10 i = nghost+1, mitot-nghost
27  if (rctold(1,i,j) .ne. goodpt) then
28  rectflags(i,j) = badpt
29  endif
30  10 continue
31 c
32  99 return
33  end
subroutine addflags(rectflags, mibuff, mjbuff, rctold, idim3, mitot, mjtot, mptr)
Transfer flagged arrays from errest into the one from spatial differencing.
Definition: addflags.f:9
real(kind=8), parameter goodpt
Definition: amr_module.f90:163
real(kind=8), parameter badpt
Definition: amr_module.f90:165
integer nghost
Definition: amr_module.f90:232
The module contains the definition of a "node descriptor" as well as other global variables used duri...
Definition: amr_module.f90:21