The ElementTreeNode corresponds to an element in the element tree. More...
#include <ElementTreeNode.hpp>

The ElementTreeNode corresponds to an element in the element tree.
Definition at line 21 of file ElementTreeNode.hpp.
Public Member Functions | |
| ElementTreeNode () noexcept | |
| constructors | |
| ElementTreeNode (ElementTreeNode &&other) noexcept | |
| Move constructor. | |
| ElementTreeNode (const ElementTreeNode &other)=delete | |
| Copy constructor (deleted). | |
| ElementTreeNode & | operator= (const ElementTreeNode &other)=delete |
| Copy assignment operator (deleted). | |
| ElementTreeNode & | operator= (ElementTreeNode &&other)=delete |
| Move assignment operator (deleted). | |
| void | print () const |
| methods | |
| Eigen::Vector2d | mapToReferenceElement (const Eigen::Vector2d &in) const |
| Maps a point in the reference domain of a patch to the reference element of this element. | |
| Eigen::Vector2d | referenceMidpoint () const |
| Get the midpoint of this element with respect to the patch. | |
| double | get_h () const |
| getter | |
| int | get_level () const |
| Get the level of refinement of the element. | |
| const ElementTreeNode & | front () const |
| Returns a const reference to the first son if any or itself. | |
| const ElementTreeNode & | back () const |
| Returns a const reference to the last son if any or itself. | |
| const_iterator | cbegin () const |
| Returns an iterator pointing to the element in the sequence before this ElementTreeNodes. | |
| const_iterator | cend () const |
| Returns an iterator pointing to the element in the sequence after this ElementTreeNode. | |
| const_iterator | begin () const |
| Returns an iterator pointing to the element in the sequence before this ElementTreeNodes. | |
| const_iterator | end () const |
| Returns an iterator pointing to the element in the sequence after this ElementTreeNode. | |
Classes | |
| struct | const_iterator |
| iterator struct for element tree nodes. They may be used to iterator over the elements in a cluster. To do so, however, the cluster must be set up by ElementTree beforehand. More... | |
Public Attributes | |
| std::vector< ElementTreeNode > | sons_ |
| member variables | |
| std::vector< ElementTreeNode * > | adjcents_ |
| children | |
| std::vector< int > | vertices_ |
| neighbouring elements indices | |
| Eigen::Vector3d | midpoint_ |
| indices of the vertices | |
| Eigen::Vector2d | llc_ |
| midpoint of the element | |
| ElementTreeNode * | prev_ |
| lower left corner on [0,1]^2 | |
| ElementTreeNode * | next_ |
| double | radius_ |
| int | id_ |
| radius of the element | |
| int | level_ |
| element id with respect to the level | |
| int | patch_ |
| level of the element | |
|
inlinenoexcept |
|
inlinenoexcept |
Move constructor.
Definition at line 101 of file ElementTreeNode.hpp.
|
delete |
Copy constructor (deleted).
| other | The ElementTreeNode instance to copy from. |
|
inline |
Returns a const reference to the last son if any or itself.
Definition at line 218 of file ElementTreeNode.hpp.
|
inline |
Returns an iterator pointing to the element in the sequence before this ElementTreeNodes.
Definition at line 253 of file ElementTreeNode.hpp.
|
inline |
Returns an iterator pointing to the element in the sequence before this ElementTreeNodes.
Definition at line 231 of file ElementTreeNode.hpp.
|
inline |
Returns an iterator pointing to the element in the sequence after this ElementTreeNode.
Definition at line 242 of file ElementTreeNode.hpp.
|
inline |
Returns an iterator pointing to the element in the sequence after this ElementTreeNode.
Definition at line 261 of file ElementTreeNode.hpp.
|
inline |
Returns a const reference to the first son if any or itself.
Definition at line 207 of file ElementTreeNode.hpp.
|
inline |
getter
Get with of the reference element with respect to the reference domain of the patch.
Definition at line 193 of file ElementTreeNode.hpp.
|
inline |
Get the level of refinement of the element.
Definition at line 200 of file ElementTreeNode.hpp.
|
inline |
Maps a point in the reference domain of a patch to the reference element of this element.
This function asserts that the correct element is chosen. So the return value must be with in [0,1]^2.
| in | Point in reference domain of the patch. |
Definition at line 170 of file ElementTreeNode.hpp.
|
delete |
Copy assignment operator (deleted).
| other | The ElementTreeNode instance to copy from. |
|
delete |
Move assignment operator (deleted).
| other | The ElementTreeNode instance to move from. |
|
inline |
methods
Prints the member variables of the element.
Definition at line 138 of file ElementTreeNode.hpp.
|
inline |
Get the midpoint of this element with respect to the patch.
Definition at line 181 of file ElementTreeNode.hpp.
| std::vector<ElementTreeNode *> Bembel::ElementTreeNode::adjcents_ |
children
Definition at line 268 of file ElementTreeNode.hpp.
| int Bembel::ElementTreeNode::id_ |
radius of the element
Definition at line 275 of file ElementTreeNode.hpp.
| int Bembel::ElementTreeNode::level_ |
element id with respect to the level
Definition at line 276 of file ElementTreeNode.hpp.
| Eigen::Vector2d Bembel::ElementTreeNode::llc_ |
midpoint of the element
Definition at line 271 of file ElementTreeNode.hpp.
| Eigen::Vector3d Bembel::ElementTreeNode::midpoint_ |
indices of the vertices
Definition at line 270 of file ElementTreeNode.hpp.
| ElementTreeNode* Bembel::ElementTreeNode::next_ |
Definition at line 273 of file ElementTreeNode.hpp.
| int Bembel::ElementTreeNode::patch_ |
level of the element
Definition at line 277 of file ElementTreeNode.hpp.
| ElementTreeNode* Bembel::ElementTreeNode::prev_ |
lower left corner on [0,1]^2
Definition at line 272 of file ElementTreeNode.hpp.
| double Bembel::ElementTreeNode::radius_ |
Definition at line 274 of file ElementTreeNode.hpp.
| std::vector<ElementTreeNode> Bembel::ElementTreeNode::sons_ |
member variables
Definition at line 267 of file ElementTreeNode.hpp.
| std::vector<int> Bembel::ElementTreeNode::vertices_ |
neighbouring elements indices
Definition at line 269 of file ElementTreeNode.hpp.