v0.14.0
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
 
EntityHandlegetOwnerEnt ()
 
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...
 
EntityHandlegetSharingHandlersPtr () 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< T > sPtr
 

Detailed Description

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

Interface to FieldEntity.

interface to FieldEntity

Definition at line 319 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 321 of file FieldEntsMultiIndices.hpp.

322  : 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 375 of file FieldEntsMultiIndices.hpp.

375  {
376  return this->sPtr->getDofOrderMap();
377  }

◆ getEntFieldData()

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

Definition at line 328 of file FieldEntsMultiIndices.hpp.

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

◆ 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 363 of file FieldEntsMultiIndices.hpp.

363  {
364  return this->sPtr;
365  };

◆ getGlobalUniqueId()

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

Definition at line 348 of file FieldEntsMultiIndices.hpp.

348  {
349  return this->sPtr->getGlobalUniqueId();
350  }

◆ getLocalUniqueId()

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

Definition at line 353 of file FieldEntsMultiIndices.hpp.

353  {
354  return this->sPtr->getLocalUniqueId();
355  }

◆ getMaxOrder()

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

Definition at line 343 of file FieldEntsMultiIndices.hpp.

343  {
344  return this->sPtr->getMaxOrder();
345  }

◆ getNbDofsOnEnt()

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

Definition at line 325 of file FieldEntsMultiIndices.hpp.

325 { 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 333 of file FieldEntsMultiIndices.hpp.

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

◆ 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 338 of file FieldEntsMultiIndices.hpp.

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

◆ 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 358 of file FieldEntsMultiIndices.hpp.

358  {
359  return this->sPtr->getRefEntityPtr();
360  }

◆ 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 381 of file FieldEntsMultiIndices.hpp.

381  {
382  return this->sPtr->template getSharedStoragePtr<S>();
383  }

◆ getWeakStoragePtr()

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

Definition at line 385 of file FieldEntsMultiIndices.hpp.

385  {
386  return this->sPtr->getWeakStoragePtr();
387  }

The documentation for this struct was generated from the following file:
MoFEM::interface_RefEntity::sPtr
boost::shared_ptr< T > sPtr
Definition: RefEntsMultiIndices.hpp:711
order
constexpr int order
Definition: dg_projection.cpp:18