2D AMRCLAW
Main Page
Data Types List
Files
File List
File Members
home
xsqin
clawpack
amrclaw
src
2d
allowflag.f
Go to the documentation of this file.
1
2
c =========================================
3
logical
function
allowflag
(x,y,t,level)
4
c =========================================
5
6
c # Indicate whether the grid point at (x,y,t) at this refinement level
7
c # is allowed to be flagged for further refinement.
8
c
9
c # This is useful if you wish to zoom in on some structure in a
10
c # known location but don't want the same level of refinement elsewhere.
11
c # Points are flagged only if one of the errors is greater than the
12
c # corresponding tolerance.
13
c
14
c # For example, to allow refinement of Level 1 grids everywhere but
15
c # of finer grids only for y >= 0.4:
16
c # allowed(x,y,t,level) = (level.le.1 .or. y.ge.0.4d0)
17
c
18
c # This routine is called from routine flag2refine.
19
c # If Richardson error estimates are used (if flag_richardson is true)
20
c # then this routine is also called from errf1.
21
22
implicit
double precision
(a-h,o-z)
23
24
c # default version allows refinement anywhere:
25
allowflag
= .true.
26
27
return
28
end
allowflag
logical function allowflag(x, y, t, level)
Definition:
allowflag.f:3
Generated on Thu Mar 9 2017 15:15:52 for 2D AMRCLAW by
1.8.6