source: src/interface/interface_vtk.hpp@ 2fad0e0

Last change on this file since 2fad0e0 was 48b662, checked in by Olaf Lenz <olenz@…>, 14 years ago

Moved files in scafacos_fcs one level up.

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

  • Property mode set to 100644
File size: 873 bytes
Line 
1/**
2 * @file interface_vtk.hpp
3 * @author Julian Iseringhausen <isering@ins.uni-bonn.de>
4 * @date Mon Apr 18 12:58:56 2011
5 *
6 * @brief VMG::InterfaceVTK
7 *
8 */
9
10#ifndef INTERFACE_VTK_HPP_
11#define INTERFACE_VTK_HPP_
12
13#ifdef HAVE_VTK
14
15#include <string>
16
17#include <vtkStructuredPoints.h>
18#include <vtkStructuredPointsReader.h>
19#include <vtkSmartPointer.h>
20
21#include "mesh_sinus_dirichlet.hpp"
22
23namespace VMG
24{
25
26class InterfaceVTK : public Interface
27{
28public:
29 InterfaceVTK(BC boundary, int levelMin, int levelMax, const char* filename_) :
30 Interface(boundary, levelMin, levelMax, 0, 1.0),
31 filename(filename_)
32 {}
33
34 void ImportRightHandSide(Multigrid& multigrid);
35 void ExportSolution(Grid& grid);
36
37private:
38 std::string filename;
39};
40
41}
42
43#else /* HAVE_VTK */
44#error VTK is needed in order to use InterfaceVTK
45#endif /* HAVE_VTK */
46
47#endif /* VTK_GRID_HPP_ */
Note: See TracBrowser for help on using the repository browser.