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


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

Legend:

Unmodified
Added
Removed
Modified
  • u/erica/CylindricalGravity

    v31 v32  
    5959=== Poisson Init routine ===
    6060
    61 The first chunk of code in poisson.f90, '!PoissonInit', goes through and checks that the boundary conditions are set up correctly for the elliptic solver, and then sets up the 'Hypre' arrays (those arrays which are sent off to Hypre for solving Poisson's equation). In what follows, we'll '''focus on the ndim=2 case for illustration''' of the code.
     61The first chunk of code in poisson.f90, '!PoissonInit', goes through and checks that the boundary conditions are set up correctly for the elliptic solver, and then sets up the 'Hypre' arrays (those arrays which are sent off to Hypre for solving Poisson's equation). In what follows, we'll '''focus on the ndim=2 case for illustration''' of the code, since cylindrical fixes amount to modifying the 2D stencil coefficients.
    6262
    6363There are 2 main arrays in this section of the code: 1. 'offsets', and 2. 'stencil values'. (ientries seems less important).