Version 4 (modified by 12 years ago) ( diff ) | ,
---|
SUBROUTINE NewSubGrids (NodeInfo Info, INTEGER() mBounds, INTEGER nDim, INTEGER() mSubBounds)
Click here to view the AstroBEAR 1.0 v166 source.
Split Info
's grid into sub-grids using the Berger-Rigoutsos algorithm. This algorithm examines cross-sections of the grid structure as a whole, looking for regions of cells marked for greater refinement (in this case, the cells have been marked by setting the error flag). when these regions are found, NewSubGrids()
splits the grid into sections and creates subgrids around the refinable areas. Note that this subroutine does not create new nodes for the new subgrids, it just identifies them and stores data about them in Info
.
INCLUDES:
None.
USES:
None.