Class documentation of Concepts

Loading...
Searching...
No Matches
graphics.pypp.hh
1#ifndef graphics_pypp_hh
2#define graphics_pypp_hh
3
6#include "graphics/meshEPS.hh"
7#include "graphics/matlab.hh"
8#include "graphics/basis.hh"
10#include "graphics/meshDAT.hh"
11
12#include "space/space.hh"
13#include "function/vector.hh"
15
16//#include "python/conceptspy/graphics/add/graphicspy.hh" it not possible to parse .hh files including boost/python.hpp
17
18//#include "hp2D.hh"
19
20inline void export_graphics_templates(){
21
22#ifdef GEN_PYTHON
23
24 std::cout << sizeof(graphics::MeshEPS<concepts::Real>);
25 concepts::Square mesh(1, 1, 1);
35
36 graphics::MatlabBinaryGraphics mbg1(spc_r, "bla");
37 //graphics::MatlabBinaryGraphics mbg2(spc_c, "bla");
38 graphics::MatlabBinaryGraphics mbg3(spc_r, "bla", vec_r);
39 //graphics::MatlabBinaryGraphics mbg4(spc_c, "bla", vec_c);
40 graphics::MatlabBinaryGraphics mbg5(spc_r, "bla", vec_c);
41 // graphics::MatlabBinaryGraphics mbg6(spc_c, "bla", vec_r);
42 graphics::MatlabBinaryGraphics mbg7(spc_r, "bla", formu_r_r);
43 graphics::MatlabBinaryGraphics mbg8(spc_r, "bla", formu_c_r);
44 // graphics::MatlabBinaryGraphics mbg9(spc_c, "bla", formu_r_c);
45 // graphics::MatlabBinaryGraphics mbg0(spc_c, "bla", formu_c_c);
46
47
48 bc.add(concepts::Attribute(1),concepts::Boundary(concepts::Boundary::DIRICHLET));
49
50 mbg1.addSolution(spc_r,"u",vec_r);
51 mbg1.addFunction(spc_r,"bla",formu_r_r);
52 graphics::VtkGraphics vtk(spc_r,"bla");
53 vtk.addSolution(spc_r,"u",vec_r);
54
55 graphics::VtkGraphics vtk2(spc_r,"bla",vec_r);
56 graphics::VtkGraphics vtk3(spc_r,"bla",vec_c);
57
58 graphics::MeshEPS<concepts::Real> mshEPS_m(mesh,"espfile");
59 graphics::MeshEPS<concepts::Real> mshEPS_s(spc_r,"espfile");
60
61
62 graphics::MatlabGraphics mtlgra1(spc_r, "bla");
63 graphics::MatlabGraphics mtlgra2(spc_r, "bla", vec_r);
64 // graphics::MatlabGraphics mtlgra1(spc_c, "bla");
65 graphics::MatlabGraphics mtlgra3(spc_r, "bla", vec_c);
66
67 //graphics::MatlabGraphics mtlgra3(spc, "bla", formu);
68
69#endif
70}
71#endif
void add(const Set< Attribute > &attrib, const Boundary &bcObject)
Adds boundary condition for a set of attributes.