2D AMRCLAW
Functions/Subroutines
putnod.f File Reference

Go to the source code of this file.

Functions/Subroutines

subroutine putnod (mptr)
 Return mptr node to the linked list kept in node array. More...
 
subroutine putnod_bnd (mcell)
 

Function/Subroutine Documentation

◆ putnod()

subroutine putnod (   mptr)

Return mptr node to the linked list kept in node array.

Definition at line 6 of file putnod.f.

References amr_module::ndfree, amr_module::nextfree, and amr_module::node.

Referenced by gfixup(), and restrt().

6 c
7  use amr_module
8  implicit double precision (a-h,o-z)
9 
10 
11 c :::::::::::::::::::::::::::::: PUTNOD :::::::::::::::::::::;
12 c
13 c return mptr node to the linked list kept in node array.
14 c
15 c ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::;
16 c
17  node(nextfree, mptr) = ndfree
18  ndfree = mptr
19 c
20  return
integer ndfree
Definition: amr_module.f90:198
integer, dimension(nsize, maxgr) node
Definition: amr_module.f90:198
integer, parameter nextfree
Definition: amr_module.f90:154
The module contains the definition of a "node descriptor" as well as other global variables used duri...
Definition: amr_module.f90:21
Here is the caller graph for this function:

◆ putnod_bnd()

subroutine putnod_bnd (   mcell)

Definition at line 26 of file putnod.f.

References amr_module::bndlist, amr_module::ndfree_bnd, and amr_module::nextfree.

Referenced by freebndrylist().

26 c
27  use amr_module
28  implicit double precision (a-h,o-z)
29 
30 
31 c :::::::::::::::::::::::::::::: PUTNOD_BND :::::::::::::::::::::;
32 c
33 c return bndry list node to the linked list
34 c
35 c ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::;
36 c
37  bndlist(mcell, nextfree) = ndfree_bnd
38  ndfree_bnd = mcell
39 c
40  return
integer ndfree_bnd
Definition: amr_module.f90:198
integer, dimension(bndlistsize, 2) bndlist
Definition: amr_module.f90:191
integer, parameter nextfree
Definition: amr_module.f90:154
The module contains the definition of a "node descriptor" as well as other global variables used duri...
Definition: amr_module.f90:21
Here is the caller graph for this function: