source: src/level/level_operator_fas.hpp@ d24c2f

Last change on this file since d24c2f was dfed1c, checked in by Julian Iseringhausen <isering@…>, 14 years ago

Major vmg update.

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

  • Property mode set to 100644
File size: 896 bytes
Line 
1/**
2 * @file level_operator_fas.hpp
3 * @author Julian Iseringhausen <isering@ins.uni-bonn.de>
4 * @date Mon Apr 18 13:00:41 2011
5 *
6 * @brief VMG::LevelOperatorFAS
7 *
8 */
9
10#ifndef LEVEL_OPERATOR_FAS_HPP_
11#define LEVEL_OPERATOR_FAS_HPP_
12
13#include "base/has_tempgrids.hpp"
14#include "level/level_operator.hpp"
15
16namespace VMG
17{
18
19 class LevelOperatorFAS : public LevelOperator, public VMG::HasTempGrids
20{
21public:
22 LevelOperatorFAS(const Stencil& restrictDefect_, const Stencil& restrictSol_, const Stencil& prolongate_) :
23 LevelOperator(restrictDefect_, prolongate_),
24 operatorSol(restrictSol_)
25 {}
26
27protected:
28 void Restrict(Grid& sol_f, Grid& rhs_f, Grid& sol_c, Grid& rhs_c);
29 void Prolongate(Grid& sol_f, Grid& rhs_f, Grid& sol_c, Grid& rhs_c);
30
31private:
32 const Stencil& OperatorSol() const {return operatorSol;}
33
34 Stencil operatorSol;
35};
36
37}
38
39#endif /* LEVEL_OPERATOR_FAS_HPP_ */
Note: See TracBrowser for help on using the repository browser.