#include <tetmeshbuilder.h>
Inheritance diagram for TetMeshBuilder:
Public Member Functions | |
TetMeshBuilder () | |
TetMeshBuilder (MPI_Comm _comm) | |
~TetMeshBuilder () | |
virtual void | init_coord (int nof_node) |
virtual void | set_coord (int i, double x, double y, double z) |
virtual void | finalize_coord () |
virtual void | init_tet (int nof_tet) |
virtual void | set_tet (int t, int id0, int id1, int id2, int id3, int material) |
virtual void | finalize_tet () |
virtual void | init_bc (int nof_bc_face) |
virtual void | set_bc (int id0, int id1, int id2, int bc_id) |
virtual void | finalize_bc (int nof_sym) |
virtual mesh::TetMesh * | get_mesh () |
Private Attributes | |
mesh::TetMesh * | _mesh |
Definition at line 29 of file tetmeshbuilder.h.
TetMeshBuilder::TetMeshBuilder | ( | ) |
TetMeshBuilder::TetMeshBuilder | ( | MPI_Comm | _comm | ) |
TetMeshBuilder::~TetMeshBuilder | ( | ) |
Destructor. The TetMesh object will not be deleted.
Definition at line 29 of file tetmeshbuilder.cpp.
void TetMeshBuilder::finalize_bc | ( | int | nof_sym | ) | [virtual] |
Set number of symmetry planes
Implements MeshBuilder.
Definition at line 72 of file tetmeshbuilder.cpp.
References _mesh, and mesh::TetMesh::finalize_mesh().
Here is the call graph for this function:
void TetMeshBuilder::finalize_coord | ( | ) | [virtual] |
finalize coordinate input
Implements MeshBuilder.
Definition at line 40 of file tetmeshbuilder.cpp.
References _mesh, mesh::TetMesh::generateEdges(), and mesh::TetMesh::generateFaces().
Here is the call graph for this function:
void TetMeshBuilder::finalize_tet | ( | ) | [virtual] |
Finalize tetrahedron input
Implements MeshBuilder.
Definition at line 53 of file tetmeshbuilder.cpp.
References _mesh, mesh::TetMesh::generateEdges(), and mesh::TetMesh::generateFaces().
Here is the call graph for this function:
virtual mesh::TetMesh* TetMeshBuilder::get_mesh | ( | ) | [inline, virtual] |
Return constructed mesh
Definition at line 54 of file tetmeshbuilder.h.
References _mesh.
Referenced by FemaxxDriver::load_mesh(), load_mesh(), and HDF5ParallelReader::main().
void TetMeshBuilder::init_bc | ( | int | nof_bc_face | ) | [virtual] |
Set number of tetrahedra in mesh.
Implements MeshBuilder.
Definition at line 58 of file tetmeshbuilder.cpp.
void TetMeshBuilder::init_coord | ( | int | nof_node | ) | [virtual] |
Set number of mesh nodes (vertices)
Implements MeshBuilder.
Definition at line 32 of file tetmeshbuilder.cpp.
References _mesh, and mesh::TetMesh::initPoint().
Here is the call graph for this function:
void TetMeshBuilder::init_tet | ( | int | nof_tet | ) | [virtual] |
Set node ids of nodes forming tetrahedron t
Implements MeshBuilder.
Definition at line 45 of file tetmeshbuilder.cpp.
References _mesh, and mesh::TetMesh::initTet().
Here is the call graph for this function:
void TetMeshBuilder::set_bc | ( | int | id0, | |
int | id1, | |||
int | id2, | |||
int | bc_id | |||
) | [virtual] |
Assign boundary condition bc_id to boundary triangle formed of nodes id0, id1 and id2.
Implements MeshBuilder.
Definition at line 62 of file tetmeshbuilder.cpp.
References _mesh, mesh::TetMesh::lookupFace(), mesh::TetMesh::setBoundaryOnFace(), and mesh::TetMesh::setSymmetryPlaneOnFace().
Here is the call graph for this function:
void TetMeshBuilder::set_coord | ( | int | i, | |
double | x, | |||
double | y, | |||
double | z | |||
) | [virtual] |
Set x-, y- and z-coordinate of node i.
Implements MeshBuilder.
Definition at line 36 of file tetmeshbuilder.cpp.
References _mesh, and mesh::TetMesh::insertPoint().
Here is the call graph for this function:
void TetMeshBuilder::set_tet | ( | int | t, | |
int | id0, | |||
int | id1, | |||
int | id2, | |||
int | id3, | |||
int | material | |||
) | [virtual] |
Set number of boundary triangles
Implements MeshBuilder.
Definition at line 49 of file tetmeshbuilder.cpp.
References _mesh, and mesh::TetMesh::insertTet().
Here is the call graph for this function:
mesh::TetMesh* TetMeshBuilder::_mesh [private] |
Definition at line 57 of file tetmeshbuilder.h.
Referenced by finalize_bc(), finalize_coord(), finalize_tet(), get_mesh(), init_coord(), init_tet(), set_bc(), set_coord(), set_tet(), and TetMeshBuilder().