source: test/interfaces/interface_sinus.hpp@ ac6d04

Last change on this file since ac6d04 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: 862 bytes
Line 
1/*
2 * interface_sinus.hpp
3 *
4 * Created on: 31.03.2011
5 * Author: Julian Iseringhausen
6 */
7
8#ifndef INTERFACE_SINUS_HPP_
9#define INTERFACE_SINUS_HPP_
10
11#include "interface/interface.hpp"
12
13namespace VMG
14{
15class MGGrid;
16class MGMultigrid;
17}
18
19namespace VMGInterfaces
20{
21
22class InterfaceSinus : public VMG::Interface
23{
24public:
25 InterfaceSinus(vmg_float sine_factor,
26 VMG::Boundary boundary, int levelMin, int levelMax,
27 vmg_float box_begin, vmg_float box_end,
28 int coarseningSteps=0, double alpha=1.6) :
29 VMG::Interface(boundary, levelMin, levelMax,
30 box_begin, box_end, coarseningSteps, alpha),
31 sine_factor(sine_factor)
32 {}
33
34 virtual ~InterfaceSinus() {}
35
36 void ImportRightHandSide(VMG::Multigrid& multigrid);
37 void ExportSolution(VMG::Grid& grid);
38
39private:
40 vmg_float sine_factor;
41};
42
43}
44
45#endif /* INTERFACE_SINUS_HPP_ */
Note: See TracBrowser for help on using the repository browser.