Flow123d
JS_before_hm-2205-g8c1b58980
|
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 () | |
Default constructor. More... | |
OutputElement (unsigned int ele_idx, std::shared_ptr< OutputMeshBase > output_mesh) | |
Constructor. More... | |
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... | |
std::vector< unsigned int > | node_list () const |
Returns global indices of the nodes. 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... | |
Static Public Attributes | |
static const unsigned int | spacedim = 3 |
Element space dimension = 3. More... | |
Original Mesh Getters. | |
unsigned int | ele_idx_ |
index of the output element More... | |
std::shared_ptr< OutputMeshBase > | output_mesh_ |
pointer to the output mesh More... | |
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... | |
void | inc () |
bool | operator== (const OutputElement &other) |
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 |
Default constructor.
Definition at line 91 of file output_element.hh.
|
inline |
Constructor.
Definition at line 93 of file output_element.hh.
|
inline |
Computes the barycenter.
Definition at line 189 of file output_element.hh.
|
inline |
Returns dim of the output element.
Definition at line 134 of file output_element.hh.
|
inline |
Gets ElementAccessor of this element.
Definition at line 118 of file output_element.hh.
|
inline |
Returns index of the output element.
Definition at line 124 of file output_element.hh.
|
inline |
Definition at line 97 of file output_element.hh.
|
inline |
Returns number of nodes.
Definition at line 129 of file output_element.hh.
|
inline |
Returns global index of the node.
Definition at line 140 of file output_element.hh.
|
inline |
Returns global indices of the nodes.
Definition at line 177 of file output_element.hh.
|
inline |
Definition at line 102 of file output_element.hh.
|
inline |
Returns index of the master element in the computational mesh.
Definition at line 113 of file output_element.hh.
|
inline |
Returns pointer to the computational mesh.
Definition at line 108 of file output_element.hh.
|
inline |
Returns coordinates of node loc_idx
.
Definition at line 149 of file output_element.hh.
|
inline |
Returns vector of nodes coordinates.
Definition at line 161 of file output_element.hh.
|
private |
index of the output element
Definition at line 84 of file output_element.hh.
|
private |
pointer to the output mesh
Definition at line 86 of file output_element.hh.
|
static |
Element space dimension = 3.
Definition at line 42 of file output_element.hh.