Changes between Version 2 and Version 3 of Tutorials/FluxObjects

Show
Ignore:
Timestamp:
10/28/08 13:14:54 (5 years ago)
Author:
dcollins
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Tutorials/FluxObjects

    v2 v3  
    7474The {{{LeftFluxes}}} and {{{RightFluxes}}} are allocated in {{{Grid_SolveHydroEquations.C}}} 
    7575 
    76 == Useage == 
    77  
    7876=== Assignment === 
    7977 
     
    9189The last thing to be done with {{{SubgridFluxesEstimate}}} is to update the {{{BoundaryFluxes}}} object for each {{{grid}}} on the current level.  Since multiple fine grid timesteps are taken for each parent timestep, the '''total''' flux must be stored on the grids boundary.  This is done in {{{Grid_AddToBoundaryFluxes}}}, at the end of the {{{EvolveLevel}}} timestep loop. 
    9290 
    93 == Deallocation == 
     91=== Deallocation === 
    9492 
    9593In the same grid loop that {{{BoundaryFluxes}}} is updated, the {{{SubgridFluxesEstimate}}} object is destroyed with {{{DeleteFluxes}}}, and the pointers themselves are freed.  
     
    143141Many implementations of block structured AMR require a layer of zones between parent and subgrid boundaries.  Enzo is not one of these codes. 
    144142 
    145 == Deallocation == 
     143=== Deallocation === 
    146144 
    147145{{{BoundaryFluxes}}} is only deleted once the grid itself is deleted.  This happens mostly in {{{RebuildHierarchy}}}.