Changes between Version 8 and Version 9 of u/erica/CylindricalGravity
- Timestamp:
- 08/18/14 15:01:03 (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
u/erica/CylindricalGravity
v8 v9 31 31 [[latex($\nabla^2 = \frac{1}{r ^2} \frac{\partial}{\partial r}(r^2 \frac{\partial f}{\partial r}) $)]] 32 32 33 The game then becomes expanding out these derivatives, discretizing the Laplacian, and putting the resulting operator 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