Changeset 4571da for src/grid/grid.hpp


Ignore:
Timestamp:
Apr 27, 2012, 11:34:57 PM (14 years ago)
Author:
Julian Iseringhausen <isering@…>
Children:
1a92cf
Parents:
b2154a3
Message:

vmg: Implement fourth-order discretization of the Poisson equation.

git-svn-id: https://svn.version.fz-juelich.de/scafacos/trunk@1762 5161e1c8-67bf-11de-9fd5-51895aff932f

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/grid/grid.hpp

    rb2154a3 r4571da  
    8181  const GridIteratorSuite& Iterators() const {return iterators;}
    8282
    83   static vmg_float& Correction() {return Grid::correction;}
    84 
    8583  void Clear();         ///< Overwrites all grid points on current level with zeros
    8684  void ClearInner();
     
    9391  const vmg_float& GetVal(int x, int y, int z) const; ///< Returns the value of a requested gridpoint.
    9492  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 grid
    97   vmg_float GetCorrectedVal(const Index& index) const {return this->GetVal(index) - correction;}
    9893
    9994  void ForceDiscreteCompatibilityCondition();
     
    142137
    143138  Multigrid* father;
    144 
    145   static vmg_float correction;
    146139};
    147140
Note: See TracChangeset for help on using the changeset viewer.