MoReFEM
|
This class encapsulates an unknown in a given finite element space. More...
#include <ExtendedUnknown.hpp>
Public Types | |
using | const_shared_ptr = std::shared_ptr<const ExtendedUnknown> |
Alias to shared pointer to const object. | |
using | vector_const_shared_ptr = std::vector<const_shared_ptr> |
Alias to vector of shared pointers. | |
Public Member Functions | |
const Unknown & | GetUnknown () const noexcept |
Get the underlying unknown. | |
const Unknown::const_shared_ptr & | GetUnknownPtr () const noexcept |
Get the underlying unknown. | |
const NumberingSubset & | GetNumberingSubset () const noexcept |
Get the underlying numbering subset. | |
const NumberingSubset::const_shared_ptr & | GetNumberingSubsetPtr () const noexcept |
Get the underlying numbering subset as a smart pointer. | |
const std::string & | GetShapeFunctionLabel () const noexcept |
Return the shape function label ('P1', 'Q3', etc...) | |
UnknownNS::Nature | GetNature () const noexcept |
Nature of the unknown. | |
Special members. | |
ExtendedUnknown (Unknown::const_shared_ptr unknown, NumberingSubset::const_shared_ptr numbering_subset, const std::string &shape_function_label) | |
Constructor. | |
~ExtendedUnknown ()=default | |
Destructor. | |
ExtendedUnknown (const ExtendedUnknown &rhs)=delete | |
The copy constructor. | |
ExtendedUnknown (ExtendedUnknown &&rhs)=delete | |
The move constructor. | |
ExtendedUnknown & | operator= (const ExtendedUnknown &rhs)=delete |
The (copy) operator=. | |
ExtendedUnknown & | operator= (ExtendedUnknown &&rhs)=delete |
The (move) operator=. | |
Private Attributes | |
Unknown::const_shared_ptr | unknown_ |
Unknown considered. | |
NumberingSubset::const_shared_ptr | numbering_subset_ |
Numbering subset considered. | |
const std::string & | shape_function_label_ |
Shape function label. | |
This class encapsulates an unknown in a given finite element space.
In one finite element space unknown is related to exactly one numbering subset and exactly shape function label.
|
explicit |
Constructor.
[in] | unknown | Pointer to the Unknown for which ExtendedUnknown is created. |
[in] | numbering_subset | Pointer to the NumberingSubset for which ExtendedUnknown is created. |
[in] | shape_function_label | String that acts as shape_function_label for which ExtendedUnknown is created. |
|
delete |
The copy constructor.
[in] | rhs | The object from which the construction occurs. |
|
delete |
The move constructor.
[in] | rhs | The object from which the construction occurs. |
|
delete |
The (copy) operator=.
[in] | rhs | The object from which the affectation occurs. |
|
delete |
The (move) operator=.
[in] | rhs | The object from which the affectation occurs. |