You are here:
Concepts
>
Concepts Web
>
Class documentation
Class documentation of Concepts
Loading...
Searching...
No Matches
geometry
meshImport3Dgmsh.hh
Go to the documentation of this file.
1
9
#ifndef MESHIMPORT3DGMSH_HH
10
#define MESHIMPORT3DGMSH_HH
11
12
#include "basics.hh"
13
#include "geometry.hh"
14
15
namespace
concepts
{
16
37
class
Import3DMeshGmsh
:
public
Mesh3
{
38
public
:
44
Import3DMeshGmsh
(
const
std::string& filename);
45
46
virtual
~Import3DMeshGmsh
();
47
48
unsigned
int
ncell
()
const
{
49
return
cell_.size();
50
}
51
52
concepts::Scan3
*
scan
() {
53
return
new
concepts::PStlVectorScan<concepts::Cell3>
(cell_.begin(), cell_.end());
54
}
55
56
virtual
std::ostream&
info
(std::ostream&
os
)
const
;
57
58
private
:
59
concepts::Sequence<concepts::Real3d>
coord_;
60
concepts::Sequence<concepts::Vertex*>
vtx_;
61
concepts::Sequence<concepts::Edge*>
edg_;
62
concepts::Sequence<concepts::Quad*>
quad_;
63
concepts::Sequence<concepts::Hexahedron*>
hex_;
64
concepts::Sequence<concepts::Cell3*>
cell_;
65
66
};
67
68
}
69
70
#endif
/* MESHIMPORT3DGMSH_HH */
71
concepts::Import3DMeshGmsh
Definition
meshImport3Dgmsh.hh:37
concepts::Import3DMeshGmsh::ncell
unsigned int ncell() const
Returns the number of cells in the mesh.
Definition
meshImport3Dgmsh.hh:48
concepts::Import3DMeshGmsh::info
virtual std::ostream & info(std::ostream &os) const
Returns information in an output stream.
concepts::Import3DMeshGmsh::scan
concepts::Scan3 * scan()
Definition
meshImport3Dgmsh.hh:52
concepts::Import3DMeshGmsh::Import3DMeshGmsh
Import3DMeshGmsh(const std::string &filename)
concepts::Mesh3
Definition
mesh.hh:112
concepts::Scan< Cell3 >
A scanner for a 3D mesh.
Definition
mesh.hh:52
concepts::Sequence
Definition
sequence.hh:39
concepts
Definition
pml_formula.h:16
concepts::makeSet
Set< F > makeSet(uint n, const F &first,...)
Definition
set.hh:320
Generated on Wed Sep 13 2023 21:06:19 for Concepts by
1.9.8