Go to the source code of this file.
|
subroutine | outtre (mlev, outgrd, nvar, naux) |
| Output a subtree of the grids. More...
|
|
subroutine | outlev (mlev, outgrd, nvar, naux) |
| Output all grids on the same level as grid mlev. More...
|
|
◆ outlev()
subroutine outlev |
( |
|
mlev, |
|
|
logical |
outgrd, |
|
|
|
nvar, |
|
|
|
naux |
|
) |
| |
Output all grids on the same level as grid mlev.
- Parameters
-
[in] | mlev | representative grid of the grid level being output |
[in] | outgrd | If true, output value on grid |
[in] | nvar | number of equations for the system |
[in] | naux | number of auxiliary variables |
Definition at line 55 of file outtre.f.
References amr_module::levelptr, amr_module::node, outmsh(), and amr_module::outunit.
57 implicit double precision (a-h,o-z)
72 1
format(1x,
"the partially built new subtree is:")
75 20
if (mptr .eq. 0)
go to 30
76 call outmsh(mptr,outgrd,nvar,naux)
integer, dimension(nsize, maxgr) node
integer, parameter outunit
integer, parameter levelptr
node number (index) of next grid on the same level
The module contains the definition of a "node descriptor" as well as other global variables used duri...
subroutine outmsh(mptr, outgrd, nvar, naux)
Output the grid descriptor of grid mptr and optionally the values on the grid (for a single grid - se...
◆ outtre()
subroutine outtre |
( |
|
mlev, |
|
|
logical |
outgrd, |
|
|
|
nvar, |
|
|
|
naux |
|
) |
| |
Output a subtree of the grids.
All grids from the grid level of grid mlev to the finest level are output.
- Parameters
-
[in] | mlev | root grid for current output. |
[in] | outgrd | If true, output value on grid |
[in] | nvar | number of equations for the system |
[in] | naux | number of auxiliary variables |
Definition at line 11 of file outtre.f.
References amr_module::iregend, amr_module::iregst, amr_module::jregend, amr_module::jregst, amr_module::levelptr, amr_module::lfine, amr_module::lstart, amr_module::nestlevel, amr_module::node, amr_module::numgrids, outmsh(), and amr_module::outunit.
Referenced by amr2(), intfil(), nestck2(), and tick().
13 implicit double precision (a-h,o-z)
28 1
format(1x,14hthe subtree is)
31 10
if (level .gt.
lfine)
go to 99
33 20
if (mptr .eq. 0)
go to 30
34 call outmsh(mptr,outgrd,nvar,naux)
40 2
format(/,i5,
" grids at level ",i5,
" go from ",2i9,
" to",2i9,/)
integer, dimension(nsize, maxgr) node
integer, dimension(maxlv) iregst
integer, parameter nestlevel
AMR level of the grid.
integer, dimension(maxlv) numgrids
integer, dimension(maxlv) jregst
integer, dimension(maxlv) lstart
integer, parameter outunit
integer, dimension(maxlv) jregend
integer, parameter levelptr
node number (index) of next grid on the same level
The module contains the definition of a "node descriptor" as well as other global variables used duri...
integer, dimension(maxlv) iregend
subroutine outmsh(mptr, outgrd, nvar, naux)
Output the grid descriptor of grid mptr and optionally the values on the grid (for a single grid - se...