Changes between Version 32 and Version 33 of u/erica/CylindricalGravity


Ignore:
Timestamp:
01/15/15 13:57:30 (10 years ago)
Author:
Erica Kaminski
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • u/erica/CylindricalGravity

    v32 v33  
    9999=== Poisson Matrix Set Box Values routine ===
    100100
    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.
     101This 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.
    102102
    103103Since 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.