|
bitrl & cuberl Documentation
Simulation engine for reinforcement learning agents
|
A class that represents a mesh. More...
#include <mesh.h>


Public Types | |
| typedef MeshTopology< spacedim >::edge_ptr_t | edge_ptr_t |
| typedef MeshTopology< spacedim >::face_ptr_t | face_ptr_t |
| typedef MeshTopology< spacedim >::cedge_ptr_t | cedge_ptr_t |
| typedef MeshTopology< spacedim >::cface_ptr_t | cface_ptr_t |
| typedef std::vector< Node< spacedim > * >::iterator | node_iterator_impl |
| Node iteration. | |
| typedef std::vector< Node< spacedim > * >::const_iterator | cnode_iterator_impl |
| typedef std::vector< Element< spacedim > * >::iterator | element_iterator_impl |
| Element iteration. | |
| typedef std::vector< Element< spacedim > * >::const_iterator | celement_iterator_impl |
| typedef std::vector< edge_ptr_t >::iterator | edge_iterator_impl |
| Edge iteration. | |
| typedef std::vector< edge_ptr_t >::const_iterator | cedge_iterator_impl |
| typedef std::vector< face_ptr_t >::iterator | face_iterator_impl |
| Face iteration. | |
| typedef std::vector< face_ptr_t >::const_iterator | cface_iterator_impl |
Static Public Attributes | |
| static const int | dimension = spacedim |
A class that represents a mesh.
| typedef std::vector<edge_ptr_t>::const_iterator bitrl::utils::geom::Mesh< spacedim >::cedge_iterator_impl |
| typedef MeshTopology<spacedim>::cedge_ptr_t bitrl::utils::geom::Mesh< spacedim >::cedge_ptr_t |
| typedef std::vector<Element<spacedim>*>::const_iterator bitrl::utils::geom::Mesh< spacedim >::celement_iterator_impl |
| typedef std::vector<face_ptr_t>::const_iterator bitrl::utils::geom::Mesh< spacedim >::cface_iterator_impl |
| typedef MeshTopology<spacedim>::cface_ptr_t bitrl::utils::geom::Mesh< spacedim >::cface_ptr_t |
| typedef std::vector<Node<spacedim>*>::const_iterator bitrl::utils::geom::Mesh< spacedim >::cnode_iterator_impl |
| typedef std::vector<edge_ptr_t>::iterator bitrl::utils::geom::Mesh< spacedim >::edge_iterator_impl |
Edge iteration.
| typedef MeshTopology<spacedim>::edge_ptr_t bitrl::utils::geom::Mesh< spacedim >::edge_ptr_t |
| typedef std::vector<Element<spacedim>*>::iterator bitrl::utils::geom::Mesh< spacedim >::element_iterator_impl |
Element iteration.
| typedef std::vector<face_ptr_t>::iterator bitrl::utils::geom::Mesh< spacedim >::face_iterator_impl |
Face iteration.
| typedef MeshTopology<spacedim>::face_ptr_t bitrl::utils::geom::Mesh< spacedim >::face_ptr_t |
| typedef std::vector<Node<spacedim>*>::iterator bitrl::utils::geom::Mesh< spacedim >::node_iterator_impl |
Node iteration.
| bitrl::utils::geom::Mesh< spacedim >::Mesh | ( | ) |
Constructor. Creates an empty Mesh.
|
virtual |
dtor
| Mesh< spacedim >::edge_ptr_t bitrl::utils::geom::Mesh< spacedim >::create_edge | ( | ElementType::sub_type | t, |
| uint_t | global_id = bitrl::consts::INVALID_ID, |
||
| uint_t | pid = 0 |
||
| ) |
\detailed create an edge and get back the pointer
| Element< spacedim > * bitrl::utils::geom::Mesh< spacedim >::create_element | ( | ElementType::sub_type | t, |
| uint_t | global_id = bitrl::consts::INVALID_ID, |
||
| uint_t | pid = 0 |
||
| ) |
\detailed create an Element and get back the pointer
| Mesh< spacedim >::face_ptr_t bitrl::utils::geom::Mesh< spacedim >::create_face | ( | ElementType::sub_type | t, |
| uint_t | global_id = bitrl::consts::INVALID_ID, |
||
| uint_t | pid = 0 |
||
| ) |
\detailed create a face and get back the pointer
| Node< spacedim > * bitrl::utils::geom::Mesh< spacedim >::create_node | ( | const GeomPoint< spacedim, real_t > & | point, |
| uint_t | global_id = bitrl::consts::INVALID_ID, |
||
| uint_t | pid = 0 |
||
| ) |
\detailed create a Node
| Node< spacedim > * bitrl::utils::geom::Mesh< spacedim >::create_vertex | ( | const GeomPoint< spacedim, real_t > & | point, |
| uint_t | global_id = bitrl::consts::INVALID_ID, |
||
| uint_t | pid = 0 |
||
| ) |
\detailed create a vertex by passing in the coordinates of the vertex. This will create a Node so optionally we can pass in the global id and the processor id of the created node
|
inline |
Raw faces iteration.
|
inline |
Raw faces iteration.
|
inline |
|
inline |
|
inline |
\detailed read/write access to the n-th element
|
inline |
\detailed read access to the n-th element
|
inline |
Raw elements iteration.
|
inline |
Raw elements iteration.
|
inline |
|
inline |
|
inline |
Get the pointers to the faces described by the given MeshConnectivity.
|
inline |
Raw faces iteration.
|
inline |
Raw faces iteration.
|
inline |
|
inline |
| uint_t bitrl::utils::geom::Mesh< spacedim >::n_active_faces | ( | ) | const |
get the active faces of the mesh
|
inline |
Get the number of boundaries of the mesh.
|
inline |
How many edges the mesh has.
|
inline |
|
inline |
\detailed how many elements the mesh has
|
inline |
how many faces the mesh has
|
inline |
|
inline |
\detailed how many nodes the mesh has
| uint_t bitrl::utils::geom::Mesh< spacedim >::n_vertices | ( | ) | const |
\detailed how many vertices the mesh has
|
inline |
\detailed read/write acces to the n-th node
|
inline |
\detailed read acces to the n-th node
|
inline |
Raw node iteration.
|
inline |
Raw node iteration.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
\detailed set the number of boundaries for the mesh
|
inline |
Return read/write access to the topology of the mesh.
|
inline |
Read access to the topology of the mesh.