v0.13.2
Loading...
Searching...
No Matches
Public Member Functions | List of all members
MoFEM::interface_FieldEntity< T > Struct Template Reference

Interface to FieldEntity. More...

#include <src/multi_indices/FieldEntsMultiIndices.hpp>

Inheritance diagram for MoFEM::interface_FieldEntity< T >:
[legend]
Collaboration diagram for MoFEM::interface_FieldEntity< T >:
[legend]

Public Member Functions

 interface_FieldEntity (const boost::shared_ptr< T > &sptr)
 
int getNbDofsOnEnt () const
 
VectorAdaptor getEntFieldData () const
 
int getOrderNbDofs (ApproximationOrder order) const
 
int getOrderNbDofsDiff (ApproximationOrder order) const
 
ApproximationOrder getMaxOrder () const
 
UId getGlobalUniqueId () const
 
UIdgetLocalUniqueId () const
 
boost::shared_ptr< RefEntity > & getRefEntityPtr () const
 
boost::shared_ptr< FieldEntity > & getFieldEntityPtr () const
 
const std::array< int, MAX_DOFS_ON_ENTITY > & getDofOrderMap () const
 get hash-map relating dof index on entity with its order More...
 
template<typename S = EntityStorage>
boost::shared_ptr< S > getSharedStoragePtr () const
 Get the Weak Storage pointer. More...
 
boost::weak_ptr< EntityStorage > & getWeakStoragePtr () const
 
- Public Member Functions inherited from MoFEM::interface_Field< T, T >
 interface_Field (const boost::shared_ptr< T > &ptr)
 
EntityHandle getMeshset () const
 
const BitFieldIdgetId () const
 
boost::string_ref getNameRef () const
 
std::string getName () const
 
FieldSpace getSpace () const
 
auto getSpaceName () const
 
FieldApproximationBase getApproxBase () const
 
auto getApproxBaseName () const
 
FieldCoefficientsNumber getNbOfCoeffs () const
 
FieldBitNumber getBitNumber () const
 
std::array< ApproximationOrder, MAX_DOFS_ON_ENTITY > & getDofOrderMap (const EntityType type) const
 get hash-map relating dof index on entity with its order More...
 
const FieldgetFieldRawPtr () const
 
- Public Member Functions inherited from MoFEM::interface_FieldImpl< T, T >
 interface_FieldImpl (const boost::shared_ptr< T > &field_ptr, const boost::shared_ptr< T > &ref_ents_ptr)
 
virtual ~interface_FieldImpl ()=default
 
- Public Member Functions inherited from MoFEM::interface_RefEntity< T >
 interface_RefEntity (const boost::shared_ptr< T > &sptr)
 
 interface_RefEntity (const interface_RefEntity< T > &interface)
 
virtual ~interface_RefEntity ()=default
 
int getSideNumber () const
 
boost::shared_ptr< SideNumbergetSideNumberPtr () const
 
const boost::shared_ptr< BasicEntityDatagetBasicDataPtr () const
 
EntityHandle getEnt () const
 
EntityType getParentEntType () const
 
EntityHandle getParentEnt () const
 
BitRefLevelgetBitRefLevelPtr () const
 
const BitRefLevelgetBitRefLevel () const
 
unsigned long int getBitRefLevelULong () const
 
EntityType getEntType () const
 
int getEntDimension () const
 
const char * getEntTypeName () const
 
EntityID getEntId () const
 
EntityHandle getOwnerEnt () const
 
EntityHandlegetOwnerEnt ()
 
int getOwnerProc () const
 
int getPartProc () const
 
int * getPartProcPtr () const
 
unsigned char getPStatus () const
 
int * getSharingProcsPtr () const
 
EntityHandlegetSharingHandlersPtr () const
 
boost::shared_ptr< T > & getRefEntityPtr () const
 

Additional Inherited Members

- Public Types inherited from MoFEM::interface_Field< T, T >
using interface_type_FieldImpl = interface_FieldImpl< T, T >
 
- Public Types inherited from MoFEM::interface_FieldImpl< T, T >
using interface_type_RefEntity = interface_RefEntity< T >
 
- Public Attributes inherited from MoFEM::interface_RefEntity< T >
boost::shared_ptr< TsPtr
 

Detailed Description

template<typename T>
struct MoFEM::interface_FieldEntity< T >

Interface to FieldEntity.

interface to FieldEntity

Definition at line 299 of file FieldEntsMultiIndices.hpp.

Constructor & Destructor Documentation

◆ interface_FieldEntity()

template<typename T >
MoFEM::interface_FieldEntity< T >::interface_FieldEntity ( const boost::shared_ptr< T > &  sptr)
inline

Definition at line 301 of file FieldEntsMultiIndices.hpp.

302 : interface_Field<T, T>(sptr) {}

Member Function Documentation

◆ getDofOrderMap()

template<typename T >
const std::array< int, MAX_DOFS_ON_ENTITY > & MoFEM::interface_FieldEntity< T >::getDofOrderMap ( ) const
inline

get hash-map relating dof index on entity with its order

DOFs of given field are indexed on entity of the same type, same space, approximation base and number of coefficients, are sorted in the way.

Definition at line 355 of file FieldEntsMultiIndices.hpp.

355 {
356 return this->sPtr->getDofOrderMap();
357 }

◆ getEntFieldData()

template<typename T >
VectorAdaptor MoFEM::interface_FieldEntity< T >::getEntFieldData ( ) const
inline
Returns
get field data on entity

Definition at line 308 of file FieldEntsMultiIndices.hpp.

308 {
309 return this->sPtr->getEntFieldData();
310 }

◆ getFieldEntityPtr()

template<typename T >
boost::shared_ptr< FieldEntity > & MoFEM::interface_FieldEntity< T >::getFieldEntityPtr ( ) const
inline
Returns
get pointer to mofem entity data structure

Definition at line 343 of file FieldEntsMultiIndices.hpp.

343 {
344 return this->sPtr;
345 };

◆ getGlobalUniqueId()

template<typename T >
UId MoFEM::interface_FieldEntity< T >::getGlobalUniqueId ( ) const
inline
Returns
get entity UId

Definition at line 328 of file FieldEntsMultiIndices.hpp.

328 {
329 return this->sPtr->getGlobalUniqueId();
330 }

◆ getLocalUniqueId()

template<typename T >
UId & MoFEM::interface_FieldEntity< T >::getLocalUniqueId ( ) const
inline
Returns
get entity UId

Definition at line 333 of file FieldEntsMultiIndices.hpp.

333 {
334 return this->sPtr->getLocalUniqueId();
335 }

◆ getMaxOrder()

template<typename T >
ApproximationOrder MoFEM::interface_FieldEntity< T >::getMaxOrder ( ) const
inline
Returns
get maximal order on entity

Definition at line 323 of file FieldEntsMultiIndices.hpp.

323 {
324 return this->sPtr->getMaxOrder();
325 }

◆ getNbDofsOnEnt()

template<typename T >
int MoFEM::interface_FieldEntity< T >::getNbDofsOnEnt ( ) const
inline
Returns
get number of dofs on entity

Definition at line 305 of file FieldEntsMultiIndices.hpp.

305{ return this->sPtr->getNbDofsOnEnt(); }

◆ getOrderNbDofs()

template<typename T >
int MoFEM::interface_FieldEntity< T >::getOrderNbDofs ( ApproximationOrder  order) const
inline
Returns
get number of DOFs for given order

Definition at line 313 of file FieldEntsMultiIndices.hpp.

313 {
314 return this->sPtr->getOrderNbDofs(order);
315 }

◆ getOrderNbDofsDiff()

template<typename T >
int MoFEM::interface_FieldEntity< T >::getOrderNbDofsDiff ( ApproximationOrder  order) const
inline
Returns
get increase of DOFs by increase to this order

Definition at line 318 of file FieldEntsMultiIndices.hpp.

318 {
319 return this->sPtr->getOrderNbDofsDiff(order);
320 }

◆ getRefEntityPtr()

template<typename T >
boost::shared_ptr< RefEntity > & MoFEM::interface_FieldEntity< T >::getRefEntityPtr ( ) const
inline
Returns
return pointer to reference entity data structure

Definition at line 338 of file FieldEntsMultiIndices.hpp.

338 {
339 return this->sPtr->getRefEntityPtr();
340 }

◆ getSharedStoragePtr()

template<typename T >
template<typename S = EntityStorage>
boost::shared_ptr< S > MoFEM::interface_FieldEntity< T >::getSharedStoragePtr ( ) const
inline

Get the Weak Storage pointer.

Returns
boost::weak_ptr<EntityStorage>&

Definition at line 361 of file FieldEntsMultiIndices.hpp.

361 {
362 return this->sPtr->template getSharedStoragePtr<S>();
363 }

◆ getWeakStoragePtr()

template<typename T >
boost::weak_ptr< EntityStorage > & MoFEM::interface_FieldEntity< T >::getWeakStoragePtr ( ) const
inline

Definition at line 365 of file FieldEntsMultiIndices.hpp.

365 {
366 return this->sPtr->getWeakStoragePtr();
367 }

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