Default face property for a cell face. More...
Public Member Functions | |
face_property (vid_sequence_type const &vertex_ids, array_type &vertex_array) | |
geom_vector_type | get_normal () const |
Get face normal coordinates. More... | |
array_view_type | get_vertices () const |
Get pView over the vertices' coordinates of this face. More... | |
vid_sequence_type | get_vertex_ids () const |
Get vertex identifiers of this face. More... | |
void | set_normal (geom_vector_type const &norm) |
Set normal coordinates of this face. More... | |
Public Types | |
typedef geom_vector< Dim, Precision > | geom_vector_type |
typedef size_t | vertex_id |
typedef std::vector< vertex_id > | vid_sequence_type |
typedef explicit_domain< vertex_id > | vid_domain_type |
typedef array< geom_vector_type > | array_type |
typedef array_view< array_type, vid_domain_type > | array_view_type |
Default face property for a cell face.
Dim | dimension of the mesh. |
Precision | type of vertex coordinate. |
A mesh cell face property requires a constructor taking a sequence of face vertex ids and a reference to the pArray storing the mesh vertex coordinates.
stapl::face_property< Dim, Precision >::face_property | ( | vid_sequence_type const & | vertex_ids, |
array_type & | vertex_array | ||
) |
vertex_ids | sequence of face vertex identifiers. |
vertex_array | pArray of mesh vertex coordinates. |
geom_vector_type stapl::face_property< Dim, Precision >::get_normal | ( | ) | const |
Get face normal coordinates.
array_view_type stapl::face_property< Dim, Precision >::get_vertices | ( | ) | const |
Get pView over the vertices' coordinates of this face.
vid_sequence_type stapl::face_property< Dim, Precision >::get_vertex_ids | ( | ) | const |
Get vertex identifiers of this face.
void stapl::face_property< Dim, Precision >::set_normal | ( | geom_vector_type const & | norm | ) |
Set normal coordinates of this face.