You are here:
Concepts
>
Concepts Web
>
Class documentation
Class documentation of Concepts
Loading...
Searching...
No Matches
python
pyplusplus
include
graphics.pypp.hh
1
#ifndef graphics_pypp_hh
2
#define graphics_pypp_hh
3
4
#include "
graphics/matlabBinaryGraphics.hh
"
5
#include "
graphics/vtkGraphics.hh
"
6
#include "
graphics/meshEPS.hh
"
7
#include "
graphics/matlab.hh
"
8
#include "
graphics/basis.hh
"
9
#include "
graphics/dataMatlab.hh
"
10
#include "
graphics/meshDAT.hh
"
11
12
#include "
space/space.hh
"
13
#include "function/vector.hh"
14
#include "
formula/elementFormulaContainer.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
20
inline
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);
26
concepts::BoundaryConditions
bc;
27
concepts::DummySpace<concepts::Real>
spc_r(13);
28
concepts::DummySpace<concepts::Cmplx>
spc_c(13);
29
concepts::Vector<concepts::Real>
vec_r(13);
30
concepts::Vector<concepts::Cmplx>
vec_c(13);
31
concepts::ElementFormulaContainer<concepts::Real,concepts::Real>
formu_r_r(13);
32
concepts::ElementFormulaContainer<concepts::Cmplx,concepts::Cmplx>
formu_c_c(13);
33
concepts::ElementFormulaContainer<concepts::Real,concepts::Cmplx>
formu_r_c(13);
34
concepts::ElementFormulaContainer<concepts::Cmplx,concepts::Real>
formu_c_r(13);
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
concepts::Attribute
Definition
connector.hh:22
concepts::BoundaryConditions
Definition
boundaryConditions.hh:38
concepts::BoundaryConditions::add
void add(const Set< Attribute > &attrib, const Boundary &bcObject)
Adds boundary condition for a set of attributes.
concepts::Boundary
Definition
boundary.hh:35
concepts::DummySpace
Definition
space.hh:373
concepts::ElementFormulaContainer
Definition
elementFormulaContainer.hh:22
concepts::Square
Definition
square.hh:22
concepts::Vector
Definition
vector.hh:39
graphics::MatlabBinaryGraphics
Definition
matlabBinaryGraphics.hh:28
graphics::MatlabGraphics
Definition
matlab.hh:114
graphics::MeshEPS
Definition
meshEPS.hh:39
graphics::VtkGraphics
Definition
vtkGraphics.hh:20
dataMatlab.hh
elementFormulaContainer.hh
basis.hh
matlabBinaryGraphics.hh
matlab.hh
meshDAT.hh
meshEPS.hh
space.hh
vtkGraphics.hh
Generated on Wed Sep 13 2023 21:06:23 for Concepts by
1.9.8