MoReFEM
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Private Member Functions | Private Attributes
MoReFEM::Internal::RefFEltNS::RefLocalFEltSpace Class Referencefinal

This class stores the list of all RefFElts that are related to a given RefGeomElt. More...

#include <RefLocalFEltSpace.hpp>

Collaboration diagram for MoReFEM::Internal::RefFEltNS::RefLocalFEltSpace:

Public Types

using const_shared_ptr = std::shared_ptr<const RefLocalFEltSpace>
 Alias to shared pointer over a const object.
 

Public Member Functions

const RefGeomEltGetRefGeomElt () const noexcept
 Access to the related RefGeomElt.
 
std::size_t Nnode () const noexcept
 Returns the number of nodes.
 
std::size_t Ndof () const noexcept
 Returns the number of dofs.
 
const RefFEltInFEltSpace::vector_const_shared_ptrGetRefFEltList () const noexcept
 Return the RefFEltInFEltSpace list regardless of the unknown.
 
const RefFEltInFEltSpaceGetRefFElt (const ExtendedUnknown &extended_unknown) const
 
bool IsInNumberingSubset (const NumberingSubset &numbering_subset) const
 Tells whether one of the RefFElt contained here is related to numbering_subset.
 
Special members.
 RefLocalFEltSpace (const RefGeomElt::shared_ptr &ref_geom_elt, const ExtendedUnknown::vector_const_shared_ptr &extended_unknown_list, std::size_t mesh_dimension, std::size_t felt_space_dimension)
 Constructor.
 
 ~RefLocalFEltSpace ()=default
 Destructor.
 
 RefLocalFEltSpace (const RefLocalFEltSpace &rhs)=default
 The copy constructor.
 
 RefLocalFEltSpace (RefLocalFEltSpace &&rhs)=default
 The move constructor.
 
RefLocalFEltSpaceoperator= (const RefLocalFEltSpace &rhs)=delete
 The (copy) operator=.
 
RefLocalFEltSpaceoperator= (RefLocalFEltSpace &&rhs)=delete
 The (move) operator=.
 

Private Member Functions

const RefFEltInFEltSpaceGetRefFElt (const FEltSpace &felt_space, const Unknown &unknown) const
 

Private Attributes

const RefGeomElt::shared_ptr ref_geom_elt_
 Related geometric element type. It is truly the type of the geometric elements in the mesh.
 
RefFEltInFEltSpace::vector_const_shared_ptr ref_felt_list_
 List of RefFEltInFEltSpace objects related to current ref_geom_elt_.
 
Cached data.
std::size_t Nnode_
 Number of nodes in the finite element.
 
std::size_t Ndof_
 Number of dofs in the finite element.
 

Detailed Description

This class stores the list of all RefFElts that are related to a given RefGeomElt.

Its major use is inside the FEltSpace: there will be one RefLocalFEltSpace per RefGeomElt. Within current object, there is indeed a RefFEltInFEltSpace object for each Unknown considered in the FEltSpace.

Constructor & Destructor Documentation

◆ RefLocalFEltSpace() [1/3]

MoReFEM::Internal::RefFEltNS::RefLocalFEltSpace::RefLocalFEltSpace ( const RefGeomElt::shared_ptr & ref_geom_elt,
const ExtendedUnknown::vector_const_shared_ptr & extended_unknown_list,
std::size_t mesh_dimension,
std::size_t felt_space_dimension )
explicit

Constructor.

Parameters
[in]ref_geom_eltReference geometric element (e.g. 'Triangle3').
[in]extended_unknown_listList of all unknowns consider in the FEltSpace. One RefFEltInFEltSpace object will be created per unknown.
[in]mesh_dimensionHighest dimension of the mesh onto which the finite element space is built. May be higher than felt_space_dimension.
[in]felt_space_dimensionDimension considered in the finite element space into which new object is built.

◆ RefLocalFEltSpace() [2/3]

MoReFEM::Internal::RefFEltNS::RefLocalFEltSpace::RefLocalFEltSpace ( const RefLocalFEltSpace & rhs)
default

The copy constructor.

Parameters
[in]rhsThe object from which the construction occurs.

◆ RefLocalFEltSpace() [3/3]

MoReFEM::Internal::RefFEltNS::RefLocalFEltSpace::RefLocalFEltSpace ( RefLocalFEltSpace && rhs)
default

The move constructor.

Parameters
[in]rhsThe object from which the construction occurs.

Member Function Documentation

◆ operator=() [1/2]

RefLocalFEltSpace & MoReFEM::Internal::RefFEltNS::RefLocalFEltSpace::operator= ( const RefLocalFEltSpace & rhs)
delete

The (copy) operator=.

Parameters
[in]rhsThe object from which the affectation occurs.
Returns
Reference to the object (to enable chained affectation).

◆ operator=() [2/2]

RefLocalFEltSpace & MoReFEM::Internal::RefFEltNS::RefLocalFEltSpace::operator= ( RefLocalFEltSpace && rhs)
delete

The (move) operator=.

Parameters
[in]rhsThe object from which the affectation occurs.
Returns
Reference to the object (to enable chained affectation).

◆ GetRefFElt() [1/2]

const RefFEltInFEltSpace & MoReFEM::Internal::RefFEltNS::RefLocalFEltSpace::GetRefFElt ( const ExtendedUnknown & extended_unknown) const

Return the RefFEltInFEltSpace related to extended_unknown.

Parameters
[in]extended_unknownExtendedUnknown for which reference finite element is sought.

◆ IsInNumberingSubset()

bool MoReFEM::Internal::RefFEltNS::RefLocalFEltSpace::IsInNumberingSubset ( const NumberingSubset & numbering_subset) const

Tells whether one of the RefFElt contained here is related to numbering_subset.

Parameters
[in]numbering_subsetNumberingSubset used in the query.
Returns
True if there is a RefFElt that tackles numbering_subset

◆ GetRefFElt() [2/2]

const RefFEltInFEltSpace & MoReFEM::Internal::RefFEltNS::RefLocalFEltSpace::GetRefFElt ( const FEltSpace & felt_space,
const Unknown & unknown ) const
private

Return the RefFEltInFEltSpace related to unknown in felt_space.

Parameters
[in]felt_spaceFEltSpace in which the reference finite element is sought.
[in]unknownUnknown for which reference finite element is sought.

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