ug4
ug::MGFaceInfo Struct Reference

Holds information about face relations. Used internally. More...

#include <multi_grid_child_info.h>

Public Member Functions

void add_child (Edge *elem)
 
void add_child (Face *elem)
 
void add_child (Vertex *elem)
 
void add_child (Volume *)
 
Edgechild_edge (size_t i) const
 
Facechild_face (size_t i) const
 
Vertexchild_vertex () const
 
void clear_children ()
 
bool has_children () const
 
 MGFaceInfo ()
 
size_t num_child_edges () const
 
size_t num_child_faces () const
 
size_t num_child_vertices () const
 
void remove_child (Edge *elem)
 
void remove_child (Face *elem)
 
void remove_child (Vertex *elem)
 
void remove_child (Volume *)
 
void replace_child (Edge *elem, Edge *child)
 
void replace_child (Face *elem, Face *child)
 
void replace_child (Vertex *elem, Vertex *child)
 
void unregister_from_children (MultiGrid &mg)
 

Private Attributes

byte m_numEdgeChildren
 
byte m_numFaceChildren
 
Edgem_pEdgeChild [MG_FACE_MAX_EDGE_CHILDREN]
 
Facem_pFaceChild [MG_FACE_MAX_FACE_CHILDREN]
 
Vertexm_pVrtChild
 

Detailed Description

Holds information about face relations. Used internally.

No parent included, since MGFaceInfos are not stored for surface elements.

Constructor & Destructor Documentation

◆ MGFaceInfo()

ug::MGFaceInfo::MGFaceInfo ( )
inline

Member Function Documentation

◆ add_child() [1/4]

void ug::MGFaceInfo::add_child ( Edge elem)
inline

◆ add_child() [2/4]

void ug::MGFaceInfo::add_child ( Face elem)
inline

◆ add_child() [3/4]

void ug::MGFaceInfo::add_child ( Vertex elem)
inline

References m_pVrtChild.

Referenced by ug::MultiGrid::face_created().

◆ add_child() [4/4]

void ug::MGFaceInfo::add_child ( Volume )
inline

References UG_THROW.

◆ child_edge()

Edge* ug::MGFaceInfo::child_edge ( size_t  i) const
inline

◆ child_face()

Face* ug::MGFaceInfo::child_face ( size_t  i) const
inline

◆ child_vertex()

Vertex* ug::MGFaceInfo::child_vertex ( ) const
inline

References m_pVrtChild.

Referenced by ug::MultiGrid::face_created().

◆ clear_children()

void ug::MGFaceInfo::clear_children ( )
inline

◆ has_children()

bool ug::MGFaceInfo::has_children ( ) const
inline

◆ num_child_edges()

size_t ug::MGFaceInfo::num_child_edges ( ) const
inline

◆ num_child_faces()

size_t ug::MGFaceInfo::num_child_faces ( ) const
inline

◆ num_child_vertices()

size_t ug::MGFaceInfo::num_child_vertices ( ) const
inline

References m_pVrtChild.

◆ remove_child() [1/4]

void ug::MGFaceInfo::remove_child ( Edge elem)
inline

◆ remove_child() [2/4]

void ug::MGFaceInfo::remove_child ( Face elem)
inline

◆ remove_child() [3/4]

void ug::MGFaceInfo::remove_child ( Vertex elem)
inline

References m_pVrtChild.

◆ remove_child() [4/4]

void ug::MGFaceInfo::remove_child ( Volume )
inline

References UG_THROW.

◆ replace_child() [1/3]

void ug::MGFaceInfo::replace_child ( Edge elem,
Edge child 
)
inline

◆ replace_child() [2/3]

void ug::MGFaceInfo::replace_child ( Face elem,
Face child 
)
inline

◆ replace_child() [3/3]

void ug::MGFaceInfo::replace_child ( Vertex elem,
Vertex child 
)
inline

References m_pVrtChild.

◆ unregister_from_children()

void ug::MGFaceInfo::unregister_from_children ( MultiGrid mg)

Member Data Documentation

◆ m_numEdgeChildren

◆ m_numFaceChildren

◆ m_pEdgeChild

◆ m_pFaceChild

◆ m_pVrtChild


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