Changeset 4571da for src/samples/discretization_poisson_fd.hpp
- Timestamp:
- Apr 27, 2012, 11:34:57 PM (14 years ago)
- Children:
- 1a92cf
- Parents:
- b2154a3
- File:
-
- 1 edited
-
src/samples/discretization_poisson_fd.hpp (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/samples/discretization_poisson_fd.hpp
rb2154a3 r4571da 21 21 { 22 22 public: 23 DiscretizationPoissonFD() 24 { 25 stencil.SetDiag(6.0); 26 stencil.push_back(-1, 0, 0, -1.0); 27 stencil.push_back( 1, 0, 0, -1.0); 28 stencil.push_back( 0, -1, 0, -1.0); 29 stencil.push_back( 0, 1, 0, -1.0); 30 stencil.push_back( 0, 0, -1, -1.0); 31 stencil.push_back( 0, 0, 1, -1.0); 32 } 23 DiscretizationPoissonFD(const int& order); 33 24 34 25 vmg_float OperatorPrefactor(const Grid& grid) const … … 37 28 } 38 29 39 private: 40 void SetInnerBoundaryCompute(Grid& sol_fine, Grid& rhs_fine, Grid& sol_coarse) const {} 30 void ModifyRightHandSide(); 41 31 }; 42 32
Note:
See TracChangeset
for help on using the changeset viewer.
