v0.8.4
Public Member Functions | List of all members
MoFEM::IntegratedJacobiPolynomial Struct Reference

#include <src/approximation/JacobiPolynomial.hpp>

Inheritance diagram for MoFEM::IntegratedJacobiPolynomial:
[legend]
Collaboration diagram for MoFEM::IntegratedJacobiPolynomial:
[legend]

Public Member Functions

MoFEMErrorCode query_interface (const MOFEMuuid &uuid, MoFEM::UnknownInterface **iface) const
 
 IntegratedJacobiPolynomial ()
 
 ~IntegratedJacobiPolynomial ()
 
MoFEMErrorCode getValue (MatrixDouble &pts_x, MatrixDouble &pts_t, boost::shared_ptr< BaseFunctionCtx > ctx_ptr)
 
- Public Member Functions inherited from MoFEM::JacobiPolynomial
 JacobiPolynomial ()
 
 ~JacobiPolynomial ()
 
- Public Member Functions inherited from MoFEM::BaseFunction
 BaseFunction ()
 
 ~BaseFunction ()
 
virtual MoFEMErrorCode getValue (MatrixDouble &pts, boost::shared_ptr< BaseFunctionCtx > ctx_ptr)
 
- Public Member Functions inherited from MoFEM::UnknownInterface
template<class IFACE >
MoFEMErrorCode registerInterface (const MOFEMuuid &uuid, bool error_if_registration_failed=true)
 Register interface. More...
 
template<class IFACE , bool VERIFY = false>
MoFEMErrorCode getInterface (const MOFEMuuid &uuid, IFACE *&iface) const
 Get interface by uuid and return reference to pointer of interface. More...
 
template<class IFACE >
MoFEMErrorCode getInterface (IFACE *&iface) const
 Get interface refernce to pointer of interface. More...
 
template<class IFACE >
MoFEMErrorCode getInterface (IFACE **const iface) const
 Get interface pointer to pointer of interface. More...
 
template<class IFACE , typename boost::enable_if< boost::is_pointer< IFACE >, int >::type = 0>
IFACE getInterface () const
 Get interface pointer to pointer of interface. More...
 
template<class IFACE , typename boost::enable_if< boost::is_reference< IFACE >, int >::type = 0>
IFACE getInterface () const
 Get reference to interface. More...
 
template<class IFACE >
IFACE * getInterface () const
 Function returning pointer to interface. More...
 
virtual ~UnknownInterface ()
 
virtual MoFEMErrorCode getLibVersion (Version &version) const
 Get library version. More...
 
virtual const MoFEMErrorCode getFileVersion (moab::Interface &moab, Version &version) const
 Get database major version. More...
 
virtual MoFEMErrorCode getInterfaceVersion (Version &version) const
 Get database major version. More...
 
template<>
MoFEMErrorCode getInterface (const MOFEMuuid &uuid, UnknownInterface *&iface) const
 

Additional Inherited Members

- Protected Member Functions inherited from MoFEM::UnknownInterface
boost::typeindex::type_index getClassIdx (const MOFEMuuid &uid) const
 Get type name for interface Id. More...
 
MOFEMuuid getUId (const boost::typeindex::type_index &class_idx) const
 Get interface Id for class name. More...
 

Detailed Description

Definition at line 97 of file JacobiPolynomial.hpp.

Constructor & Destructor Documentation

◆ IntegratedJacobiPolynomial()

MoFEM::IntegratedJacobiPolynomial::IntegratedJacobiPolynomial ( )

Definition at line 102 of file JacobiPolynomial.hpp.

◆ ~IntegratedJacobiPolynomial()

MoFEM::IntegratedJacobiPolynomial::~IntegratedJacobiPolynomial ( )

Definition at line 103 of file JacobiPolynomial.hpp.

103 {}

Member Function Documentation

◆ getValue()

MoFEMErrorCode MoFEM::IntegratedJacobiPolynomial::getValue ( MatrixDouble pts_x,
MatrixDouble pts_t,
boost::shared_ptr< BaseFunctionCtx ctx_ptr 
)
virtual

Reimplemented from MoFEM::JacobiPolynomial.

Definition at line 132 of file JacobiPolynomial.cpp.

134  {
137  CHKERR ctx_ptr->query_interface(IDD_INTEGRATED_JACOBI_BASE_FUNCTION, &iface);
139  reinterpret_cast<IntegratedJacobiPolynomialCtx *>(iface);
140  CHKERR get_value(pts_x, pts_t, ctx);
142 }
static const MOFEMuuid IDD_INTEGRATED_JACOBI_BASE_FUNCTION
base class for all interface classes
#define MoFEMFunctionReturn(a)
Last executable line of each PETSc function used for error handling. Replaces return() ...
Definition: definitions.h:498
#define CHKERR
Inline error check.
Definition: definitions.h:617
#define MoFEMFunctionBegin
First executable line of each MoFEM function, used for error handling. Final line of MoFEM functions ...
Definition: definitions.h:443
static MoFEMErrorCode get_value(MatrixDouble &pts_x, MatrixDouble &pts_t, TYPE *ctx)

◆ query_interface()

MoFEMErrorCode MoFEM::IntegratedJacobiPolynomial::query_interface ( const MOFEMuuid uuid,
MoFEM::UnknownInterface **  iface 
) const
virtual

Reimplemented from MoFEM::JacobiPolynomial.

Definition at line 117 of file JacobiPolynomial.cpp.

118  {
120  *iface = NULL;
122  *iface = const_cast<IntegratedJacobiPolynomial *>(this);
124  } else {
125  SETERRQ(PETSC_COMM_WORLD, MOFEM_DATA_INCONSISTENCY, "wrong interference");
126  }
127  ierr = BaseFunction::query_interface(uuid, iface);
128  CHKERRG(ierr);
130 }
static const MOFEMuuid IDD_INTEGRATED_JACOBI_BASE_FUNCTION
#define MoFEMFunctionBeginHot
First executable line of each MoFEM function, used for error handling. Final line of MoFEM functions ...
Definition: definitions.h:522
#define CHKERRG(n)
Check error code of MoFEM/MOAB/PETSc function.
Definition: definitions.h:565
#define MoFEMFunctionReturnHot(a)
Last executable line of each PETSc function used for error handling. Replaces return() ...
Definition: definitions.h:528
static MoFEMErrorCodeGeneric< PetscErrorCode > ierr
Definition: Common.hpp:80
MoFEMErrorCode query_interface(const MOFEMuuid &uuid, MoFEM::UnknownInterface **iface) const

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