Class documentation of Concepts

Loading...
Searching...
No Matches
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
15namespace concepts {
16
37class Import3DMeshGmsh : public Mesh3 {
38public:
44 Import3DMeshGmsh(const std::string& filename);
45
46 virtual ~Import3DMeshGmsh();
47
48 unsigned int ncell() const {
49 return cell_.size();
50 }
51
53 return new concepts::PStlVectorScan<concepts::Cell3> (cell_.begin(), cell_.end());
54 }
55
56 virtual std::ostream& info(std::ostream& os) const;
57
58private:
65
66};
67
68}
69
70#endif /* MESHIMPORT3DGMSH_HH */
71
unsigned int ncell() const
Returns the number of cells in the mesh.
virtual std::ostream & info(std::ostream &os) const
Returns information in an output stream.
Import3DMeshGmsh(const std::string &filename)
A scanner for a 3D mesh.
Definition mesh.hh:52
Set< F > makeSet(uint n, const F &first,...)
Definition set.hh:320