v0.13.1
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
 
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 ()
 
- 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
 
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< 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 331 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 
)

Definition at line 333 of file FieldMultiIndices.hpp.

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

Member Function Documentation

◆ getApproxBase()

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

Definition at line 367 of file FieldMultiIndices.hpp.

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

◆ getBitNumber()

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

Definition at line 377 of file FieldMultiIndices.hpp.

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

◆ getCoordSysDim()

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

Definition at line 342 of file FieldMultiIndices.hpp.

342 {
343 return getFieldRawPtr()->getCoordSysDim(d);
344 }
const Tensor1_Expr< const dTensor0< T, Dim, i >, typename promote< T, double >::V, Dim, i > d(const Tensor0< T * > &a, const Index< i, Dim > index, const Tensor1< int, Dim > &d_ijk, const Tensor1< double, Dim > &d_xyz)
Definition: dTensor0.hpp:27

◆ getDofOrderMap()

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

390 {
392 }
const std::array< ApproximationOrder, MAX_DOFS_ON_ENTITY > & getDofOrderMap(const EntityType type) const
get hash-map relating dof index on entity with its order

◆ getFieldOrderTable()

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

Definition at line 398 of file FieldMultiIndices.hpp.

398 {
399 return sFieldPtr->getFieldOrderTable();
400 };

◆ getFieldRawPtr()

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

Definition at line 394 of file FieldMultiIndices.hpp.

394 {
395 return sFieldPtr->getFieldRawPtr();
396 };

◆ getId()

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

Definition at line 347 of file FieldMultiIndices.hpp.

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

◆ getMeshset()

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

Definition at line 338 of file FieldMultiIndices.hpp.

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

◆ getName()

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

Definition at line 357 of file FieldMultiIndices.hpp.

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

◆ getNameRef()

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

Definition at line 352 of file FieldMultiIndices.hpp.

352 {
353 return getFieldRawPtr()->getNameRef();
354 }
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
Returns
get number of coefficients for DOF

Definition at line 372 of file FieldMultiIndices.hpp.

372 {
373 return getFieldRawPtr()->getNbOfCoeffs();
374 }
FieldCoefficientsNumber getNbOfCoeffs() const
Get number of field coefficients.

◆ getSpace()

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

Definition at line 362 of file FieldMultiIndices.hpp.

362 {
363 return getFieldRawPtr()->getSpace();
364 }
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 403 of file FieldMultiIndices.hpp.


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