Changes between Version 2 and Version 3 of AstroBearAmr


Ignore:
Timestamp:
05/18/11 16:00:47 (14 years ago)
Author:
Brandon Shroyer
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • AstroBearAmr

    v2 v3  
    6464 * '''{{{CreateChildrens(n)}}}'''-- A favorite of hillbillies everywhere, this routine creates child nodes on level {{{n+1}}} using the refinement flags set on level {{{n}}}.
    6565 * '''{{{InheritOldNodeOverlapsChildren(n)}}}''' -- Nested grids mean that spatial relationships (overlaps and neighbors) are inherited from parent grids.  This routine passes information about the previous generation of {{{n+1}}} grids to the new grids created by {{{CreateChildrens(n)}}}.  This routine is ''only'' executed on step 1 of the {{{AMR()}}} execution loop.
    66  * '''{{{InheritNewNodeOverlapsChildren(n)}}}''' - This inherits the relationships going the other way.  The children of previous level n grids will need to send their data to the children of new level n grids.
    67  * !InheritNeighborsChildren - Neighbors of children will be children of neighbors
     66 * '''{{{InheritNewNodeOverlapsChildren(n)}}}''' -- The children of previous level {{{n}}} grids will also need to send their data to the children of new level {{{n}}} grids.
     67 * '''{{{InheritNeighborsChildren(n)}}}''' -- The children of neighboring grids on level {{{n}}} will very likely be neighbors.  This routine passes neighbor information from level {{{n}}} to level {{{n+1}}}.
    6868 * !AdvanceGrids - Performs hyperbolic advance of data structures
    6969 * AMR(n+1) - Launches AMR routine on the child level
     
    7171 * !SyncFluxes - To enforce mass conservation and DivB constraint - common fluxes used at grid boundaries need to be synchronized.
    7272 * !AccumulateFluxes - We need to accumulate the used fluxes to send back to our parent grids.
     73
    7374* Step 2
    7475 * !UpdateOverlaps - On the second step we don't need to receive overlap data from the previous generation of grids, however we do need to 'ghost' data with our current overlap grids or neighbors.  So we think of our neighbors as our current overlaps. (Note we use the same nodelist but point to it twice with node%neighbors and node%overlaps - this is the reason we have to just !NullifyNeighbors later)