MPI-AMRVAC  2.2
The MPI - Adaptive Mesh Refinement - Versatile Advection Code
Public Attributes | List of all members
mod_forest::tree_node Type Reference

The data structure that contains information about a tree node/grid block. More...

Collaboration diagram for mod_forest::tree_node:
Collaboration graph
[legend]

Public Attributes

integer ig
 
integer d
 Spatial indices of the grid block. More...
 
integer level
 Refinement level. More...
 
integer igrid
 Index of grid on processor's grid-array. More...
 
integer ipe
 On which processor the grid is stored. More...
 
integer id
 Extra integer, not set by default. Is used to go from pointer to array for coupling with a multigrid solver. More...
 
logical leaf
 Is the grid a leaf (no further refinement) More...
 
logical active
 
type(tree_node_ptrparent
 Pointer to parent grid. More...
 
type(tree_node_ptr), dimension(2^d &) child
 Pointer to children. More...
 
type(tree_node_ptr), dimension(2,^nd) neighbor
 Pointer to neighbors. More...
 
type(tree_node_ptrnext
 Next node at refinement level (linked list) More...
 
type(tree_node_ptrprev
 Previous node at refinement level (linked list) More...
 

Detailed Description

The data structure that contains information about a tree node/grid block.

Definition at line 11 of file mod_forest.t.

Member Data Documentation

◆ active

logical mod_forest::tree_node::active

Definition at line 20 of file mod_forest.t.

◆ child

type(tree_node_ptr), dimension(2^d&) mod_forest::tree_node::child

Pointer to children.

Definition at line 22 of file mod_forest.t.

◆ d

integer mod_forest::tree_node::d

Spatial indices of the grid block.

Definition at line 12 of file mod_forest.t.

◆ id

integer mod_forest::tree_node::id

Extra integer, not set by default. Is used to go from pointer to array for coupling with a multigrid solver.

Definition at line 18 of file mod_forest.t.

◆ ig

integer mod_forest::tree_node::ig

Definition at line 12 of file mod_forest.t.

◆ igrid

integer mod_forest::tree_node::igrid

Index of grid on processor's grid-array.

Definition at line 14 of file mod_forest.t.

◆ ipe

integer mod_forest::tree_node::ipe

On which processor the grid is stored.

Definition at line 15 of file mod_forest.t.

◆ leaf

logical mod_forest::tree_node::leaf

Is the grid a leaf (no further refinement)

Definition at line 19 of file mod_forest.t.

◆ level

integer mod_forest::tree_node::level

Refinement level.

Definition at line 13 of file mod_forest.t.

◆ neighbor

type(tree_node_ptr), dimension(2,^nd) mod_forest::tree_node::neighbor

Pointer to neighbors.

Definition at line 23 of file mod_forest.t.

◆ next

type(tree_node_ptr) mod_forest::tree_node::next

Next node at refinement level (linked list)

Definition at line 24 of file mod_forest.t.

◆ parent

type(tree_node_ptr) mod_forest::tree_node::parent

Pointer to parent grid.

Definition at line 21 of file mod_forest.t.

◆ prev

type(tree_node_ptr) mod_forest::tree_node::prev

Previous node at refinement level (linked list)

Definition at line 25 of file mod_forest.t.


The documentation for this type was generated from the following file: