v0.14.0
Loading...
Searching...
No Matches
Public Member Functions | Private Attributes | List of all members
OpPlasticTools::BubbleTauPolynomialBase Struct Reference

#include <users_modules/multifield_plasticity/src/PlasticOperators.hpp>

Inheritance diagram for OpPlasticTools::BubbleTauPolynomialBase:
[legend]
Collaboration diagram for OpPlasticTools::BubbleTauPolynomialBase:
[legend]

Public Member Functions

 BubbleTauPolynomialBase ()=default
 
 ~BubbleTauPolynomialBase ()=default
 
MoFEMErrorCode query_interface (boost::typeindex::type_index type_index, UnknownInterface **iface) const
 Return interface to this class when one ask for for tetrahedron, otherisw return interface class for generic class. More...
 
MoFEMErrorCode getValue (MatrixDouble &pts, boost::shared_ptr< BaseFunctionCtx > ctx_ptr)
 Calculate base functions at intergeneration points. More...
 

Private Attributes

EntPolynomialBaseCtx * cTx
 

Detailed Description

Definition at line 505 of file PlasticOperators.hpp.

Constructor & Destructor Documentation

◆ BubbleTauPolynomialBase()

OpPlasticTools::BubbleTauPolynomialBase::BubbleTauPolynomialBase ( )
default

◆ ~BubbleTauPolynomialBase()

OpPlasticTools::BubbleTauPolynomialBase::~BubbleTauPolynomialBase ( )
default

Member Function Documentation

◆ getValue()

MoFEMErrorCode OpPlasticTools::BubbleTauPolynomialBase::getValue ( MatrixDouble &  pts,
boost::shared_ptr< BaseFunctionCtx >  ctx_ptr 
)
inline

Calculate base functions at intergeneration points.

Parameters
pts
ctx_ptr
Returns
MoFEMErrorCode

Definition at line 531 of file PlasticOperators.hpp.

532 {
534
535 cTx = ctx_ptr->getInterface<EntPolynomialBaseCtx>();
536
537 int nb_gauss_pts = pts.size2();
538 if (!nb_gauss_pts) {
540 }
541
542 if (pts.size1() < 3) {
543 SETERRQ(PETSC_COMM_SELF, MOFEM_DATA_INCONSISTENCY,
544 "Wrong dimension of pts, should be at least 3 rows with "
545 "coordinates");
546 }
547
548 switch (cTx->sPace) {
549 case L2:
550 // CHKERR getValueL2ForTauBubble(pts);
551 break;
552 default:
553 SETERRQ(PETSC_COMM_SELF, MOFEM_NOT_IMPLEMENTED, "Not yet implemented");
554 }
555
557 }
#define MoFEMFunctionReturnHot(a)
Last executable line of each PETSc function used for error handling. Replaces return()
Definition: definitions.h:447
@ L2
field with C-1 continuity
Definition: definitions.h:88
@ MOFEM_DATA_INCONSISTENCY
Definition: definitions.h:31
@ MOFEM_NOT_IMPLEMENTED
Definition: definitions.h:32
#define MoFEMFunctionBeginHot
First executable line of each MoFEM function, used for error handling. Final line of MoFEM functions ...
Definition: definitions.h:440

◆ query_interface()

MoFEMErrorCode OpPlasticTools::BubbleTauPolynomialBase::query_interface ( boost::typeindex::type_index  type_index,
UnknownInterface **  iface 
) const
inline

Return interface to this class when one ask for for tetrahedron, otherisw return interface class for generic class.

Parameters
ifaceinterface class
Returns
MoFEMErrorCode

Definition at line 517 of file PlasticOperators.hpp.

518 {
520 *iface = const_cast<BubbleTauPolynomialBase *>(this);
522 }
#define MoFEMFunctionBegin
First executable line of each MoFEM function, used for error handling. Final line of MoFEM functions ...
Definition: definitions.h:346
#define MoFEMFunctionReturn(a)
Last executable line of each PETSc function used for error handling. Replaces return()
Definition: definitions.h:416

Member Data Documentation

◆ cTx

EntPolynomialBaseCtx* OpPlasticTools::BubbleTauPolynomialBase::cTx
private

Definition at line 560 of file PlasticOperators.hpp.


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