Storage class for a mesh consisting of a single element used in testing.
The single element has an ID of 0 (zero) and is placed into the subdomain of ID 0 (zero).
Definition at line 46 of file mast_mesh.h.
#include <mast_mesh.h>
Public Member Functions | |
TestMeshSingleElement (libMesh::ElemType e_type, RealMatrixX &coordinates) | |
Construct a single element mesh using the specified type and nodal coordinates. More... | |
void | update_coordinates (RealMatrixX &new_coordinates) |
Update the nodal coordinates in the mesh. More... | |
Public Attributes | |
libMesh::ReplicatedMesh | mesh |
The actual libMesh mesh object. More... | |
int | n_dim |
Dimension of the test element (1, 2, 3) More... | |
int | n_elems |
Number of elements in the test mesh. More... | |
int | n_nodes |
Number of nodes per element in the test mesh. More... | |
libMesh::Elem * | reference_elem |
Pointer to the actual libMesh element object. More... | |
|
inline |
Construct a single element mesh using the specified type and nodal coordinates.
Nodal connectivity is specified according to the Exodus-II mesh format. Valid element types are currently:
e_type | libMesh element type to create |
coordinates | (3 by n) matrix where each column specifies a node with rows giving the x, y, z locations |
Definition at line 68 of file mast_mesh.h.
|
inline |
Update the nodal coordinates in the mesh.
new_coordinates | (3 by n) matrix where each column specifies a node with rows giving the x, y, z locations |
Definition at line 113 of file mast_mesh.h.
libMesh::ReplicatedMesh TEST::TestMeshSingleElement::mesh |
The actual libMesh mesh object.
Definition at line 52 of file mast_mesh.h.
int TEST::TestMeshSingleElement::n_dim |
Dimension of the test element (1, 2, 3)
Definition at line 50 of file mast_mesh.h.
int TEST::TestMeshSingleElement::n_elems |
Number of elements in the test mesh.
Definition at line 48 of file mast_mesh.h.
int TEST::TestMeshSingleElement::n_nodes |
Number of nodes per element in the test mesh.
Definition at line 49 of file mast_mesh.h.
libMesh::Elem* TEST::TestMeshSingleElement::reference_elem |
Pointer to the actual libMesh element object.
Definition at line 51 of file mast_mesh.h.