v0.14.0
Public Member Functions | Private Attributes | List of all members
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 More...
 
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
 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< 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) {}

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  }

◆ getBitNumber()

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

Definition at line 386 of file FieldMultiIndices.hpp.

386  {
387  return getFieldRawPtr()->getBitNumber();
388  }

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

◆ 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  {
377  return getFieldRawPtr()->getContinuityName();
378  }

◆ 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  {
401  }

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

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

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

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

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

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

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:
MoFEM::Field::getNbOfCoeffs
FieldCoefficientsNumber getNbOfCoeffs() const
Get number of field coefficients.
Definition: FieldMultiIndices.hpp:202
MoFEM::Field::getDofOrderMap
const std::array< ApproximationOrder, MAX_DOFS_ON_ENTITY > & getDofOrderMap(const EntityType type) const
get hash-map relating dof index on entity with its order
Definition: FieldMultiIndices.hpp:268
MoFEM::Field::getContinuity
FieldContinuity getContinuity() const
Get field space continuity.
Definition: FieldMultiIndices.hpp:162
MoFEM::Field::getMeshset
EntityHandle getMeshset() const
Get field meshset.
Definition: FieldMultiIndices.hpp:123
MoFEM::Field::getSpace
FieldSpace getSpace() const
Get field approximation space.
Definition: FieldMultiIndices.hpp:151
MoFEM::Field::getName
std::string getName() const
Get field name.
Definition: FieldMultiIndices.hpp:143
MoFEM::Field::getId
const BitFieldId & getId() const
Get unique field id.
Definition: FieldMultiIndices.hpp:129
MoFEM::Field::getNameRef
boost::string_ref getNameRef() const
Get string reference to field name.
Definition: FieldMultiIndices.hpp:135
convert.type
type
Definition: convert.py:64
MoFEM::Field::getApproxBase
FieldApproximationBase getApproxBase() const
Get approximation base.
Definition: FieldMultiIndices.hpp:178
MoFEM::Field::getContinuityName
auto getContinuityName() const
Get field space continuity name.
Definition: FieldMultiIndices.hpp:170
MoFEM::interface_Field::sFieldPtr
boost::shared_ptr< FIELD > sFieldPtr
Definition: FieldMultiIndices.hpp:414
MoFEM::Field::getBitNumber
FieldBitNumber getBitNumber() const
Get number of set bit in Field ID. Each field has uid, get getBitNumber get number of bit set for giv...
Definition: FieldMultiIndices.hpp:211
sdf_hertz_2d_axisymm_plane.d
float d
Definition: sdf_hertz_2d_axisymm_plane.py:4
MoFEM::interface_Field::getFieldRawPtr
const Field * getFieldRawPtr() const
Definition: FieldMultiIndices.hpp:403