/* * interface_sinus.hpp * * Created on: 31.03.2011 * Author: Julian Iseringhausen */ #ifndef INTERFACE_SINUS_HPP_ #define INTERFACE_SINUS_HPP_ #include "interface/interface.hpp" namespace VMG { class MGGrid; class MGMultigrid; } namespace VMGInterfaces { class InterfaceSinus : public VMG::Interface { public: InterfaceSinus(vmg_float sine_factor, VMG::Boundary boundary, int levelMin, int levelMax, vmg_float box_begin, vmg_float box_end, int coarseningSteps=0, double alpha=1.6) : VMG::Interface(boundary, levelMin, levelMax, box_begin, box_end, coarseningSteps, alpha), sine_factor(sine_factor) {} virtual ~InterfaceSinus() {} void ImportRightHandSide(VMG::Multigrid& multigrid); void ExportSolution(VMG::Grid& grid); private: vmg_float sine_factor; }; } #endif /* INTERFACE_SINUS_HPP_ */