Changes between Version 2 and Version 3 of Tutorials/FluxObjects
- Timestamp:
- 10/28/08 13:14:54 (5 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Tutorials/FluxObjects
v2 v3 74 74 The {{{LeftFluxes}}} and {{{RightFluxes}}} are allocated in {{{Grid_SolveHydroEquations.C}}} 75 75 76 == Useage ==77 78 76 === Assignment === 79 77 … … 91 89 The 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. 92 90 93 == Deallocation==91 === Deallocation === 94 92 95 93 In the same grid loop that {{{BoundaryFluxes}}} is updated, the {{{SubgridFluxesEstimate}}} object is destroyed with {{{DeleteFluxes}}}, and the pointers themselves are freed. … … 143 141 Many implementations of block structured AMR require a layer of zones between parent and subgrid boundaries. Enzo is not one of these codes. 144 142 145 == Deallocation==143 === Deallocation === 146 144 147 145 {{{BoundaryFluxes}}} is only deleted once the grid itself is deleted. This happens mostly in {{{RebuildHierarchy}}}.
