class
GmshMeshWriterContents
Gmsh mesh writer
Mesh writer class facilitating writing a mesh to a file readable by the Gmsh mesh generator: http:/
Base classes
- class Writer
Constructors, destructors, conversion operators
-
GmshMeshWriter(const std::string& filename,
GmshFileType type = GmshFileType::
BINARY, tk:: real version = 2.2, int datasize = sizeof(double)) explicit - Constructor.
Public functions
- void writeMesh(const UnsMesh& mesh)
- Write Gmsh mesh to file.
Function documentation
tk:: GmshMeshWriter:: GmshMeshWriter(const std::string& filename,
GmshFileType type = GmshFileType:: BINARY,
tk:: real version = 2.2,
int datasize = sizeof(double)) explicit
Constructor.
Parameters | |
---|---|
filename in | File to open as a Gmsh file |
type in | Gmsh file type: ASCII or binary |
version in | Gmsh file version |
datasize in | Size of double precision number on machine |
void tk:: GmshMeshWriter:: writeMesh(const UnsMesh& mesh)
Write Gmsh mesh to file.
Parameters | |
---|---|
mesh in | Unstructured mesh object |