Changeset 4571da for src/grid/grid.hpp
- Timestamp:
- Apr 27, 2012, 11:34:57 PM (14 years ago)
- Children:
- 1a92cf
- Parents:
- b2154a3
- File:
-
- 1 edited
-
src/grid/grid.hpp (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/grid/grid.hpp
rb2154a3 r4571da 81 81 const GridIteratorSuite& Iterators() const {return iterators;} 82 82 83 static vmg_float& Correction() {return Grid::correction;}84 85 83 void Clear(); ///< Overwrites all grid points on current level with zeros 86 84 void ClearInner(); … … 93 91 const vmg_float& GetVal(int x, int y, int z) const; ///< Returns the value of a requested gridpoint. 94 92 const vmg_float& GetVal(const Index& index) const; 95 96 vmg_float GetCorrectedVal(int x, int y, int z) const {return this->GetVal(x, y, z) - correction;} ///< Return grid97 vmg_float GetCorrectedVal(const Index& index) const {return this->GetVal(index) - correction;}98 93 99 94 void ForceDiscreteCompatibilityCondition(); … … 142 137 143 138 Multigrid* father; 144 145 static vmg_float correction;146 139 }; 147 140
Note:
See TracChangeset
for help on using the changeset viewer.
