Changes between Version 32 and Version 33 of u/erica/CylindricalGravity
- Timestamp:
- 01/15/15 13:57:30 (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
u/erica/CylindricalGravity
v32 v33 99 99 === Poisson Matrix Set Box Values routine === 100 100 101 This routine is responsible for making changes to the stencil coefficients , for say, ghost zones, or differing geometry. This is where the mods to the stencil for 2.5D geometry will take place.101 This routine is responsible for making changes to the stencil coefficients. Originally it was written to fix coefficients for boundary/ghost zones. This makes it a natural place to modify coefficients for differing geometry as well; this is where the fixes for 2.5D gravity will go. 102 102 103 103 Since stencil values is a module wide variable, we should not modify it itself in any routine. Instead, we define a new array, tempStencilValues, set it = !StencilValues, and then modify elements of this new array when necessary.