Flow123d
release_2.1.0-84-g6a13a75
|
Represents an element of the output mesh. Provides element access on the data of the output mesh (nodes, connectivity, offsets etc.). More...
#include <output_element.hh>
Public Types | |
typedef Space< spacedim >::Point | Point |
Public Member Functions | |
OutputElement (unsigned int ele_idx, std::shared_ptr< OutputMeshBase > output_mesh) | |
Constructor. More... | |
void | inc () |
bool | operator== (const OutputElement &other) |
Output Mesh Getters. | |
unsigned int | idx () const |
Returns index of the output element. More... | |
unsigned int | n_nodes () const |
Returns number of nodes. More... | |
unsigned int | dim () const |
Returns dim of the output element. More... | |
unsigned int | node_index (unsigned int loc_idx) const |
Returns global index of the node. More... | |
Point | vertex (unsigned int loc_idx) const |
Returns coordinates of node loc_idx . More... | |
std::vector< Point > | vertex_list () const |
Returns vector of nodes coordinates. More... | |
Point | centre () const |
Computes the barycenter. More... | |
Original Mesh Getters. | |
Mesh * | orig_mesh () const |
Returns pointer to the computational mesh. More... | |
unsigned int | orig_element_idx () const |
Returns index of the master element in the computational mesh. More... | |
ElementAccessor< spacedim > | element_accessor () const |
Gets ElementAccessor of this element. More... | |
Static Public Attributes | |
static const unsigned int | spacedim = 3 |
Element space dimension = 3. More... | |
Private Attributes | |
unsigned int | ele_idx_ |
index of the output element More... | |
std::shared_ptr< OutputMeshBase > | output_mesh_ |
pointer to the output mesh More... | |
Represents an element of the output mesh. Provides element access on the data of the output mesh (nodes, connectivity, offsets etc.).
Vertex function suppose spacedim = 3 at the moment, hard coded.
Definition at line 38 of file output_element.hh.
typedef Space<spacedim>::Point OutputElement::Point |
Definition at line 44 of file output_element.hh.
|
inline |
Constructor.
Definition at line 85 of file output_element.hh.
|
inline |
Computes the barycenter.
Definition at line 172 of file output_element.hh.
|
inline |
Returns dim of the output element.
Definition at line 129 of file output_element.hh.
|
inline |
Gets ElementAccessor of this element.
Definition at line 110 of file output_element.hh.
|
inline |
Returns index of the output element.
Definition at line 116 of file output_element.hh.
|
inline |
Definition at line 89 of file output_element.hh.
|
inline |
Returns number of nodes.
Definition at line 121 of file output_element.hh.
|
inline |
Returns global index of the node.
Definition at line 135 of file output_element.hh.
|
inline |
Definition at line 94 of file output_element.hh.
|
inline |
Returns index of the master element in the computational mesh.
Definition at line 105 of file output_element.hh.
|
inline |
Returns pointer to the computational mesh.
Definition at line 100 of file output_element.hh.
|
inline |
Returns coordinates of node loc_idx
.
Definition at line 144 of file output_element.hh.
|
inline |
Returns vector of nodes coordinates.
Definition at line 156 of file output_element.hh.
|
private |
index of the output element
Definition at line 78 of file output_element.hh.
|
private |
pointer to the output mesh
Definition at line 80 of file output_element.hh.
|
static |
Element space dimension = 3.
Definition at line 42 of file output_element.hh.