Changes between Version 10 and Version 11 of u/erica/CylindricalGravity
- Timestamp:
- 08/18/14 15:07:33 (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
u/erica/CylindricalGravity
v10 v11 33 33 The game then becomes expanding out these derivatives, discretizing the Laplacian, and putting the resulting system of poisson equations for the mesh in matrix form. This matrix will differ from the cartesian version in its coefficients. So, to modify the existing code, I will add different coefficients to the matrix for different geometries. These matrices are then sent off to hypre to be solved for phi. 34 34 35 === The method in Cartesian coordinates === 36 37 - What is our stencil? Eg. for 2D are a 5 point stencil, or a 9 point stencil. 38 - How do we order the matrix? 39 - What the matrix looks like 40 41 42 === Expanding out derivatives for 2.5d and 1d spherical === 43 44 === Modified matrices === 45 46 === Relevent regions of the code === 47 48 === Tests for 2.5d and 1d gravity === 49 50 === Downstream algoritms, gravitational force solvers === 51 52