libMesh
|
This defines the SideEdge
class.
More...
#include <side.h>
Public Member Functions | |
SideEdge (const Elem *my_parent, const unsigned int my_edge) | |
Constructor. More... | |
virtual Node *& | set_node (const unsigned int i) override |
Setting an edge node changes the node on the parent. More... | |
Private Attributes | |
const unsigned int | _edge_number |
The side on the parent element. More... | |
This defines the SideEdge
class.
Like Side
, SideEdge
is basically a proxy (or stand-in replacement) class, this time for an element's edge. It acts like a standard Elem
, but allocates no additional memory for storing connectivity. Instead, its nodes are mapped directly from the parent element (the element for which the side is created). Similarly, you cannot access the neighbors of a side since it does not store any.
|
inline |
Constructor.
Creates a side from an element.
Definition at line 119 of file side.h.
References libMesh::SideEdge< EdgeType, ParentType >::_edge_number, dim, and libMesh::libmesh_assert().
|
inlineoverridevirtual |
Setting an edge node changes the node on the parent.
Definition at line 140 of file side.h.
References libMesh::SideEdge< EdgeType, ParentType >::_edge_number, and n_nodes.
|
private |
The side on the parent element.
Definition at line 151 of file side.h.
Referenced by libMesh::SideEdge< EdgeType, ParentType >::set_node(), and libMesh::SideEdge< EdgeType, ParentType >::SideEdge().