source: src/level/level_operator_fas.hpp@ a40eea

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

Merge recent changes of the vmg library into ScaFaCos.

Includes a fix for the communication problems on Jugene.

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

  • Property mode set to 100644
File size: 845 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
27 void Restrict(Multigrid& sol, Multigrid& rhs);
28 void Prolongate(Multigrid& sol, Multigrid& rhs);
29
30private:
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.