29 |
|
|
30 |
#include <Structured3DMesh.hpp> |
#include <Structured3DMesh.hpp> |
31 |
#include <MeshOfHexahedra.hpp> |
#include <MeshOfHexahedra.hpp> |
32 |
|
#include <SurfaceMeshOfTriangles.hpp> |
33 |
|
#include <SurfaceMeshOfQuadrangles.hpp> |
34 |
|
|
35 |
#include <Information.hpp> |
#include <Information.hpp> |
36 |
|
|
183 |
|
|
184 |
switch (M.type()) { |
switch (M.type()) { |
185 |
case Mesh::cartesianHexahedraMesh: { |
case Mesh::cartesianHexahedraMesh: { |
186 |
const Structured3DMesh& m |
const Structured3DMesh& m = static_cast<const Structured3DMesh&>(M); |
|
= static_cast<const Structured3DMesh&>(M); |
|
187 |
integral = __integrate(m,f); |
integral = __integrate(m,f); |
188 |
break; |
break; |
189 |
} |
} |
190 |
case Mesh::hexahedraMesh: { |
case Mesh::hexahedraMesh: { |
191 |
const MeshOfHexahedra& m |
const MeshOfHexahedra& m = static_cast<const MeshOfHexahedra&>(M); |
192 |
= static_cast<const MeshOfHexahedra&>(M); |
integral = __integrate(m,f); |
193 |
|
break; |
194 |
|
} |
195 |
|
case Mesh::surfaceMeshTriangles: { |
196 |
|
const SurfaceMeshOfTriangles& m = static_cast<const SurfaceMeshOfTriangles&>(M); |
197 |
|
integral = __integrate(m,f); |
198 |
|
break; |
199 |
|
} |
200 |
|
case Mesh::surfaceMeshQuadrangles: { |
201 |
|
const SurfaceMeshOfQuadrangles& m = static_cast<const SurfaceMeshOfQuadrangles&>(M); |
202 |
integral = __integrate(m,f); |
integral = __integrate(m,f); |
203 |
break; |
break; |
204 |
} |
} |