v0.13.1
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
 Get the Side number. More...
 
const boost::shared_ptr< BasicEntityDatagetBasicDataPtr () const
 Get pointer to basic data struture. More...
 
EntityHandle getEnt () const
 Get the entity handle. More...
 
EntityType getParentEntType () const
 Get patent entity. More...
 
EntityHandle getParentEnt () const
 
BitRefLevelgetBitRefLevelPtr () const
 Get pointer to bit ref level tag. More...
 
const BitRefLevelgetBitRefLevel () const
 
unsigned long int getBitRefLevelULong () const
 Get entity ref bit refinement as ulong. More...
 
EntityType getEntType () const
 Get entity type. More...
 
int getEntDimension () const
 Get the Ent Dimension. More...
 
const char * getEntTypeName () const
 Get the Ent Type Name. More...
 
EntityID getEntId () const
 get entity id More...
 
EntityHandle getOwnerEnt () const
 
EntityHandle & getOwnerEnt ()
 
int getOwnerProc () const
 
int getPartProc () const
 
int * getPartProcPtr () const
 Get pointer to partition tag. More...
 
unsigned char getPStatus () const
 
int * getSharingProcsPtr () const
 get shared processors More...
 
EntityHandle * getSharingHandlersPtr () const
 get sharid entity handlers More...
 
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)

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

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
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
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
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
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
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
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
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
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
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

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

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: