wiki:RootDecompose

Version 3 (modified by trac, 12 years ago) ( diff )

SUBROUTINE RootDecompose (NodeInfo RootInfo, INTEGER(MaxDims) Decompose)


Click here to view the source.

Performs a domain decomposition on the root node grid represented RootInfo if one or more values in the Decompose array is greater than 1. In AMR terms, this means splitting the grid into several smaller grids; in BearCLAW terms, this means creating one or more new root nodes to hold the resulting new grids.

NOTE: This function assumes that RootInfo is attached to a root node, but it does not perform any check. It is therefore possible to call this function on a non-root node, which would (probably) be bad. Be sure when using this function to make sure that RootInfo is indeed attached to a root node.


INCLUDES:

None.

USES:

Note: See TracWiki for help on using the wiki.