v0.15.0
Loading...
Searching...
No Matches
MoFEM::interface_Field< FIELD, REFENT > Struct Template Reference

#include "src/multi_indices/FieldMultiIndices.hpp"

Inheritance diagram for MoFEM::interface_Field< FIELD, REFENT >:
[legend]
Collaboration diagram for MoFEM::interface_Field< FIELD, REFENT >:
[legend]

Public Member Functions

 interface_Field (const boost::shared_ptr< FIELD > &field_ptr, const boost::shared_ptr< REFENT > &ref_ents_ptr)
 
EntityHandle getMeshset () const
 
int getCoordSysDim (const int d=0) const
 
const BitFieldIdgetId () const
 
boost::string_ref getNameRef () const
 
std::string getName () const
 
FieldSpace getSpace () const
 
FieldApproximationBase getApproxBase () const
 
FieldContinuity getContinuity () const
 
auto getContinuityName () 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
 
const FieldgetFieldRawPtr () const
 
FieldOrderTablegetFieldOrderTable ()
 
auto & getDofSideMap ()
 
- Public Member Functions inherited from MoFEM::interface_FieldImpl< FIELD, REFENT >
 interface_FieldImpl (const boost::shared_ptr< FIELD > &field_ptr, const boost::shared_ptr< REFENT > &ref_ents_ptr)
 
virtual ~interface_FieldImpl ()=default
 
- Public Member Functions inherited from MoFEM::interface_RefEntity< REFENT >
 interface_RefEntity (const boost::shared_ptr< REFENT > &sptr)
 
 interface_RefEntity (const interface_RefEntity< REFENT > &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< REFENT > & getRefEntityPtr () const
 

Private Attributes

boost::shared_ptr< FIELD > sFieldPtr
 

Additional Inherited Members

- Public Types inherited from MoFEM::interface_FieldImpl< FIELD, REFENT >
using interface_type_RefEntity = interface_RefEntity<REFENT>
 
- Public Attributes inherited from MoFEM::interface_RefEntity< REFENT >
boost::shared_ptr< REFENT > sPtr
 

Detailed Description

template<typename FIELD, typename REFENT>
struct MoFEM::interface_Field< FIELD, REFENT >

Definition at line 330 of file FieldMultiIndices.hpp.

Constructor & Destructor Documentation

◆ interface_Field()

template<typename FIELD , typename REFENT >
MoFEM::interface_Field< FIELD, REFENT >::interface_Field ( const boost::shared_ptr< FIELD > & field_ptr,
const boost::shared_ptr< REFENT > & ref_ents_ptr )
inline

Definition at line 332 of file FieldMultiIndices.hpp.

334 : interface_FieldImpl<FIELD, REFENT>(field_ptr, ref_ents_ptr),
335 sFieldPtr(field_ptr) {}
interface_FieldImpl(const boost::shared_ptr< FIELD > &field_ptr, const boost::shared_ptr< REFENT > &ref_ents_ptr)
boost::shared_ptr< FIELD > sFieldPtr

Member Function Documentation

◆ getApproxBase()

template<typename FIELD , typename REFENT >
FieldApproximationBase MoFEM::interface_Field< FIELD, REFENT >::getApproxBase ( ) const
inline
Returns
get approximation base

Definition at line 366 of file FieldMultiIndices.hpp.

366 {
367 return getFieldRawPtr()->getApproxBase();
368 }
FieldApproximationBase getApproxBase() const
Get approximation base.
const Field * getFieldRawPtr() const

◆ getBitNumber()

template<typename FIELD , typename REFENT >
FieldBitNumber MoFEM::interface_Field< FIELD, REFENT >::getBitNumber ( ) const
inline
Returns
get bit number if field Id

Definition at line 386 of file FieldMultiIndices.hpp.

386 {
387 return getFieldRawPtr()->getBitNumber();
388 }
FieldBitNumber getBitNumber() const
Get number of set bit in Field ID. Each field has uid, get getBitNumber get number of bit set for giv...

◆ getContinuity()

template<typename FIELD , typename REFENT >
FieldContinuity MoFEM::interface_Field< FIELD, REFENT >::getContinuity ( ) const
inline
Returns
get space continuity

Definition at line 371 of file FieldMultiIndices.hpp.

371 {
372 return getFieldRawPtr()->getContinuity();
373 }
FieldContinuity getContinuity() const
Get field space continuity.

◆ getContinuityName()

template<typename FIELD , typename REFENT >
auto MoFEM::interface_Field< FIELD, REFENT >::getContinuityName ( ) const
inline
Returns
get space continuity name

Definition at line 376 of file FieldMultiIndices.hpp.

376 {
378 }
auto getContinuityName() const
Get field space continuity name.

◆ getCoordSysDim()

template<typename FIELD , typename REFENT >
int MoFEM::interface_Field< FIELD, REFENT >::getCoordSysDim ( const int d = 0) const
inline

Definition at line 341 of file FieldMultiIndices.hpp.

341 {
342 return getFieldRawPtr()->getCoordSysDim(d);
343 }

◆ getDofOrderMap()

template<typename FIELD , typename REFENT >
std::array< ApproximationOrder, MAX_DOFS_ON_ENTITY > & MoFEM::interface_Field< FIELD, REFENT >::getDofOrderMap ( const EntityType type) 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 399 of file FieldMultiIndices.hpp.

399 {
400 return getFieldRawPtr()->getDofOrderMap(type);
401 }
const std::array< ApproximationOrder, MAX_DOFS_ON_ENTITY > & getDofOrderMap(const EntityType type) const
get hash-map relating dof index on entity with its order

◆ getDofSideMap()

template<typename FIELD , typename REFENT >
auto & MoFEM::interface_Field< FIELD, REFENT >::getDofSideMap ( )
inline

Definition at line 411 of file FieldMultiIndices.hpp.

411{ return sFieldPtr->getDofSideMap(); }

◆ getFieldOrderTable()

template<typename FIELD , typename REFENT >
FieldOrderTable & MoFEM::interface_Field< FIELD, REFENT >::getFieldOrderTable ( )
inline

Definition at line 407 of file FieldMultiIndices.hpp.

407 {
408 return sFieldPtr->getFieldOrderTable();
409 };

◆ getFieldRawPtr()

template<typename FIELD , typename REFENT >
const Field * MoFEM::interface_Field< FIELD, REFENT >::getFieldRawPtr ( ) const
inline

Definition at line 403 of file FieldMultiIndices.hpp.

403 {
404 return sFieldPtr->getFieldRawPtr();
405 };

◆ getId()

template<typename FIELD , typename REFENT >
const BitFieldId & MoFEM::interface_Field< FIELD, REFENT >::getId ( ) const
inline
Returns
get field Id

Definition at line 346 of file FieldMultiIndices.hpp.

346 {
347 return getFieldRawPtr()->getId();
348 }
const BitFieldId & getId() const
Get unique field id.

◆ getMeshset()

template<typename FIELD , typename REFENT >
EntityHandle MoFEM::interface_Field< FIELD, REFENT >::getMeshset ( ) const
inline

Definition at line 337 of file FieldMultiIndices.hpp.

337 {
338 return getFieldRawPtr()->getMeshset();
339 }
EntityHandle getMeshset() const
Get field meshset.

◆ getName()

template<typename FIELD , typename REFENT >
std::string MoFEM::interface_Field< FIELD, REFENT >::getName ( ) const
inline
Returns
get field name

Definition at line 356 of file FieldMultiIndices.hpp.

356 {
357 return getFieldRawPtr()->getName();
358 }
std::string getName() const
Get field name.

◆ getNameRef()

template<typename FIELD , typename REFENT >
boost::string_ref MoFEM::interface_Field< FIELD, REFENT >::getNameRef ( ) const
inline
Returns
get field name

Definition at line 351 of file FieldMultiIndices.hpp.

351 {
352 return getFieldRawPtr()->getNameRef();
353 }
boost::string_ref getNameRef() const
Get string reference to field name.

◆ getNbOfCoeffs()

template<typename FIELD , typename REFENT >
FieldCoefficientsNumber MoFEM::interface_Field< FIELD, REFENT >::getNbOfCoeffs ( ) const
inline
Returns
get number of coefficients for DOF

Definition at line 381 of file FieldMultiIndices.hpp.

381 {
382 return getFieldRawPtr()->getNbOfCoeffs();
383 }
FieldCoefficientsNumber getNbOfCoeffs() const
Get number of field coefficients.

◆ getSpace()

template<typename FIELD , typename REFENT >
FieldSpace MoFEM::interface_Field< FIELD, REFENT >::getSpace ( ) const
inline
Returns
get approximation space

Definition at line 361 of file FieldMultiIndices.hpp.

361 {
362 return getFieldRawPtr()->getSpace();
363 }
FieldSpace getSpace() const
Get field approximation space.

Member Data Documentation

◆ sFieldPtr

template<typename FIELD , typename REFENT >
boost::shared_ptr<FIELD> MoFEM::interface_Field< FIELD, REFENT >::sFieldPtr
mutableprivate

Definition at line 414 of file FieldMultiIndices.hpp.


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