Bembel
 
Loading...
Searching...
No Matches
Bembel::ClusterTree Class Reference

The ClusterTree class introduces an element structure on a Geometry object. Note that we do not introduce a mesh in the classical sense, but only introduce a system of local coordinates via an ElementTree. More...

#include <ClusterTree.hpp>

Detailed Description

The ClusterTree class introduces an element structure on a Geometry object. Note that we do not introduce a mesh in the classical sense, but only introduce a system of local coordinates via an ElementTree.

Definition at line 22 of file ClusterTree.hpp.

Public Member Functions

 ClusterTree (const ClusterTree &other)=delete
 Copy constructor (deleted).
 
 ClusterTree (ClusterTree &&other)=delete
 Move constructor (deleted).
 
ClusterTree & operator= (const ClusterTree &other)=delete
 Copy assignment operator (deleted).
 
ClusterTree & operator= (ClusterTree &&other)=delete
 Move assignment operator (deleted).
 
 ClusterTree ()
 constructors
 
 ClusterTree (const Geometry &geom, int M)
 Constructs a ClusterTree object for a given refinement level.
 
void init_ClusterTree (const Geometry &geom, int M)
 init
 
ElementTree & get_element_tree ()
 getter
 
const ElementTree & get_element_tree () const
 Return const reference to the ElementTree.
 
const Eigen::MatrixXd & get_points () const
 Return point list with coordinates.
 
const PatchVector & get_geometry () const
 Return const reference to the Geometry.
 
int get_max_level () const
 Return maximum level of refinement.
 
int get_number_of_elements () const
 Return number of elements in the ElementTree.
 
void checkOrientation ()
 member functions
 

Constructor & Destructor Documentation

◆ ClusterTree() [1/4]

Bembel::ClusterTree::ClusterTree ( const ClusterTree &  other)
delete

Copy constructor (deleted).

Parameters
otherThe ClusterTree instance to copy from.

◆ ClusterTree() [2/4]

Bembel::ClusterTree::ClusterTree ( ClusterTree &&  other)
delete

Move constructor (deleted).

Parameters
otherThe ClusterTree instance to move from.

◆ ClusterTree() [3/4]

Bembel::ClusterTree::ClusterTree ( )
inline

constructors

Default constructor.

Definition at line 59 of file ClusterTree.hpp.

◆ ClusterTree() [4/4]

Bembel::ClusterTree::ClusterTree ( const Geometry &  geom,
int  M 
)
inline

Constructs a ClusterTree object for a given refinement level.

Initializes a new instance of the ClusterTree class with the given geometry and refinement level.

Parameters
geomThe geometry object to construct a cluster tree on.
Mrefinement level of the ElementTree.

Definition at line 69 of file ClusterTree.hpp.

Member Function Documentation

◆ checkOrientation()

void Bembel::ClusterTree::checkOrientation ( )
inline

member functions

Check all patches at the mid points of the edges if the parametrization and normal vector match.

Definition at line 137 of file ClusterTree.hpp.

◆ get_element_tree() [1/2]

ElementTree & Bembel::ClusterTree::get_element_tree ( )
inline

getter

Return reference to the ElementTree.

Returns
Reference to the ElementTree.

Definition at line 95 of file ClusterTree.hpp.

◆ get_element_tree() [2/2]

const ElementTree & Bembel::ClusterTree::get_element_tree ( ) const
inline

Return const reference to the ElementTree.

Returns
Const Reference to the ElementTree.

Definition at line 101 of file ClusterTree.hpp.

◆ get_geometry()

const PatchVector & Bembel::ClusterTree::get_geometry ( ) const
inline

Return const reference to the Geometry.

Returns
Const Reference to the PatchVector.

Definition at line 113 of file ClusterTree.hpp.

◆ get_max_level()

int Bembel::ClusterTree::get_max_level ( ) const
inline

Return maximum level of refinement.

Returns
Level of refinement.

Definition at line 121 of file ClusterTree.hpp.

◆ get_number_of_elements()

int Bembel::ClusterTree::get_number_of_elements ( ) const
inline

Return number of elements in the ElementTree.

Returns
Number of elements.

Definition at line 127 of file ClusterTree.hpp.

◆ get_points()

const Eigen::MatrixXd & Bembel::ClusterTree::get_points ( ) const
inline

Return point list with coordinates.

Returns
3xN matrix with N number of points in the ElementTree.

Definition at line 107 of file ClusterTree.hpp.

◆ init_ClusterTree()

void Bembel::ClusterTree::init_ClusterTree ( const Geometry &  geom,
int  M 
)
inline

init

Initializes a ClusterTree object for a given refinement level.

This function initializes the ElementTree for an uniform refinement level. After that the point list is filled.

Parameters
geomThe geometry object to construct a cluster tree on.
Mrefinement level of the ElementTree.

Definition at line 82 of file ClusterTree.hpp.

◆ operator=() [1/2]

ClusterTree & Bembel::ClusterTree::operator= ( ClusterTree &&  other)
delete

Move assignment operator (deleted).

Parameters
otherThe ClusterTree instance to move from.
Returns
Reference to this ClusterTree instance.

◆ operator=() [2/2]

ClusterTree & Bembel::ClusterTree::operator= ( const ClusterTree &  other)
delete

Copy assignment operator (deleted).

Parameters
otherThe ClusterTree instance to copy from.
Returns
Reference to this ClusterTree instance.

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