|
dune-grid 2.8.0
|
Loading...
Searching...
No Matches
gmshwriter.hh
Go to the documentation of this file.
92 void outputElements(std::ofstream& file, const std::vector<int>& physicalEntities, const std::vector<int>& physicalBoundaries) const {
175 file << nodeIndex << " " << globalCoord[0] << " " << globalCoord[1] << " " << globalCoord[2] << std::endl;
Mapper for multiple codim and multiple geometry types.
size_type dim() const
#define DUNE_THROW(E, m)
const IndexSet & indexSet() const
obtain the index set
Definition common/gridview.hh:175
int size(int codim) const
obtain number of entities in a given codimension
Definition common/gridview.hh:181
@ dimensionworld
The dimension of the world the grid lives in.
Definition common/gridview.hh:134
MCMGLayout mcmgElementLayout()
layout for elements (codim-0 entities)
Definition mcmgmapper.hh:95
Include standard header files.
constexpr bool isPyramid() const
constexpr bool isTetrahedron() const
constexpr bool isPrism() const
constexpr bool isVertex() const
constexpr bool isTriangle() const
constexpr bool isLine() const
constexpr bool isQuadrilateral() const
constexpr bool isHexahedron() const
Geometry geometry() const
obtain geometric realization of the entity
Definition common/entity.hh:143
GeometryType type() const
Return the name of the reference element. The type can be used to access the Dune::ReferenceElement.
Definition common/entity.hh:148
Implementation class for a multiple codim and multiple geometry type mapper.
Definition mcmgmapper.hh:127
Index index(const EntityType &e) const
Map entity to starting index in array for dof block.
Definition mcmgmapper.hh:169
GmshWriter(const GridView &gridView, int numDigits=6)
Constructor expecting GridView of Grid to be written.
Definition gmshwriter.hh:185
void setPrecision(int numDigits)
Set the number of digits to be used when writing the vertices. By default is 6.
Definition gmshwriter.hh:191
void write(const std::string &fileName, const std::vector< int > &physicalEntities=std::vector< int >(), const std::vector< int > &physicalBoundaries=std::vector< int >()) const
Write given grid in Gmsh 2.0 compatible ASCII file.
Definition gmshwriter.hh:216
Different resources needed by all grid implementations.
T c_str(T... args)
T close(T... args)
T empty(T... args)
T endl(T... args)
T is_open(T... args)
T setprecision(T... args)
Legal Statements / Impressum | Hosted by TU Dresden & Uni Heidelberg | Generated by
1.9.8