Changes between Version 20 and Version 21 of u/erica/CylindricalGravity


Ignore:
Timestamp:
01/13/15 16:49:45 (10 years ago)
Author:
Erica Kaminski
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • u/erica/CylindricalGravity

    v20 v21  
    101101Since 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. 
    102102
    103 The routine begins by
     103The routine begins by allocating an array to hold all of the coefficients for all of the stencil's cells for each of the cells in the patch. This array is aptly called 'matrixvalues' and is mx*my*mz*num_stencil_values long (where mx,y,z are the number of cells in each direction of the patch, and num_stencil_values is self explanatory).
    104104