Flow123d  DF_patch_fe_mechanics-24d9721
Public Member Functions | Private Member Functions | Private Attributes | List of all members
Edge Class Reference

#include <accessors.hh>

Collaboration diagram for Edge:
Collaboration graph
[legend]

Public Member Functions

 Edge ()
 Default invalid edge accessor constructor. More...
 
 Edge (const MeshBase *mesh, unsigned int edge_idx)
 Valid edge accessor constructor. More...
 
SideIter side (const unsigned int i) const
 Gets side iterator of the i -th side. More...
 
bool is_valid () const
 
unsigned int idx () const
 Returns edge global index. More...
 
void inc ()
 Incremental function of the Edge iterator. More...
 
bool operator== (const Edge &other) const
 Comparison operator of the iterator. More...
 
unsigned int n_sides () const
 Returns number of sides aligned with the edge. More...
 

Private Member Functions

const EdgeDataedge_data () const
 Getter for edge data from mesh. More...
 

Private Attributes

const MeshBasemesh_
 Pointer to the mesh owning the node. More...
 
unsigned int edge_idx_
 Index into Mesh::edges vector. More...
 

Detailed Description

Definition at line 294 of file accessors.hh.

Constructor & Destructor Documentation

◆ Edge() [1/2]

Edge::Edge ( )
inline

Default invalid edge accessor constructor.

Definition at line 160 of file accessors_impl.hh.

◆ Edge() [2/2]

Edge::Edge ( const MeshBase mesh,
unsigned int  edge_idx 
)
inline

Valid edge accessor constructor.

Definition at line 165 of file accessors_impl.hh.

Member Function Documentation

◆ edge_data()

const EdgeData * Edge::edge_data ( ) const
inlineprivate

Getter for edge data from mesh.

Definition at line 170 of file accessors_impl.hh.

Here is the caller graph for this function:

◆ idx()

unsigned int Edge::idx ( ) const
inline

Returns edge global index.

Definition at line 312 of file accessors.hh.

◆ inc()

void Edge::inc ( )
inline

Incremental function of the Edge iterator.

Definition at line 318 of file accessors.hh.

◆ is_valid()

bool Edge::is_valid ( ) const
inline

Definition at line 308 of file accessors.hh.

Here is the caller graph for this function:

◆ n_sides()

unsigned int Edge::n_sides ( ) const
inline

Returns number of sides aligned with the edge.

Definition at line 329 of file accessors.hh.

Here is the caller graph for this function:

◆ operator==()

bool Edge::operator== ( const Edge other) const
inline

Comparison operator of the iterator.

Definition at line 324 of file accessors.hh.

◆ side()

SideIter Edge::side ( const unsigned int  i) const
inline

Gets side iterator of the i -th side.

Definition at line 177 of file accessors_impl.hh.

Here is the caller graph for this function:

Member Data Documentation

◆ edge_idx_

unsigned int Edge::edge_idx_
private

Index into Mesh::edges vector.

Definition at line 336 of file accessors.hh.

◆ mesh_

const MeshBase* Edge::mesh_
private

Pointer to the mesh owning the node.

Definition at line 334 of file accessors.hh.


The documentation for this class was generated from the following files: