| 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 |
|
|---|
| 16 | namespace VMG
|
|---|
| 17 | {
|
|---|
| 18 |
|
|---|
| 19 | class LevelOperatorFAS : public LevelOperator, public VMG::HasTempGrids
|
|---|
| 20 | {
|
|---|
| 21 | public:
|
|---|
| 22 | LevelOperatorFAS(const Stencil& restrictDefect_, const Stencil& restrictSol_, const Stencil& prolongate_) :
|
|---|
| 23 | LevelOperator(restrictDefect_, prolongate_),
|
|---|
| 24 | operatorSol(restrictSol_)
|
|---|
| 25 | {}
|
|---|
| 26 |
|
|---|
| 27 | void Restrict(Multigrid& sol, Multigrid& rhs);
|
|---|
| 28 | void Prolongate(Multigrid& sol, Multigrid& rhs);
|
|---|
| 29 |
|
|---|
| 30 | private:
|
|---|
| 31 | const Stencil& OperatorSol() const {return operatorSol;}
|
|---|
| 32 |
|
|---|
| 33 | Stencil operatorSol;
|
|---|
| 34 | };
|
|---|
| 35 |
|
|---|
| 36 | }
|
|---|
| 37 |
|
|---|
| 38 | #endif /* LEVEL_OPERATOR_FAS_HPP_ */
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.