Proxy class for efficiently representing an Elem's side. More...
#include <side.h>
Public Member Functions | |
Side (const Elem *parent_in, const unsigned int side_in) | |
Side (Side &&)=delete | |
Side (const Side &)=delete | |
Side & | operator= (const Side &)=delete |
Side & | operator= (Side &&)=delete |
virtual | ~Side ()=default |
virtual Node *& | set_node (const unsigned int i) override |
Private Attributes | |
const unsigned int | _side_number |
Proxy class for efficiently representing an Elem's side.
This defines the Side
class. A Side
is basically a proxy (or stand-in replacement) class for an element's side. 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 55 of file side.h.
References libMesh::Side< SideType, ParentType >::_side_number.
|
delete |
|
delete |
|
virtualdefault |
|
delete |
|
delete |
|
inlineoverridevirtual |
Setting a side node changes the node on the parent.
Definition at line 79 of file side.h.
References libMesh::Side< SideType, ParentType >::_side_number, and n_nodes.
|
private |
The side on the parent element.
Definition at line 90 of file side.h.
Referenced by libMesh::Side< SideType, ParentType >::set_node(), and libMesh::Side< SideType, ParentType >::Side().