v0.14.0
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 (boost::typeindex::type_index type_index, 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
virtual MoFEMErrorCode getValue (MatrixDouble &pts, boost::shared_ptr< BaseFunctionCtx > ctx_ptr)
 
- Public Member Functions inherited from MoFEM::BaseFunctionUnknownInterface
virtual ~BaseFunctionUnknownInterface ()=default
 
- Public Member Functions inherited from MoFEM::UnknownInterface
template<class IFACE >
MoFEMErrorCode registerInterface (bool error_if_registration_failed=true)
 Register 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 ()=default
 

Additional Inherited Members

- Static Public Member Functions inherited from MoFEM::UnknownInterface
static MoFEMErrorCode getLibVersion (Version &version)
 Get library version. More...
 
static MoFEMErrorCode getFileVersion (moab::Interface &moab, Version &version)
 Get database major version. More...
 
static MoFEMErrorCode setFileVersion (moab::Interface &moab, Version version=Version(MoFEM_VERSION_MAJOR, MoFEM_VERSION_MINOR, MoFEM_VERSION_BUILD))
 Get database major version. More...
 
static MoFEMErrorCode getInterfaceVersion (Version &version)
 Get database major version. More...
 

Detailed Description

Definition at line 79 of file JacobiPolynomial.hpp.

Constructor & Destructor Documentation

◆ IntegratedJacobiPolynomial()

MoFEM::IntegratedJacobiPolynomial::IntegratedJacobiPolynomial ( )
inline

Definition at line 84 of file JacobiPolynomial.hpp.

84 : JacobiPolynomial() {}

◆ ~IntegratedJacobiPolynomial()

MoFEM::IntegratedJacobiPolynomial::~IntegratedJacobiPolynomial ( )
inline

Definition at line 85 of file JacobiPolynomial.hpp.

85 {}

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 70 of file JacobiPolynomial.cpp.

72  {
74  auto ctx = ctx_ptr->getInterface<IntegratedJacobiPolynomialCtx>();
75  CHKERR get_value(pts_x, pts_t, ctx);
77 }

◆ query_interface()

MoFEMErrorCode MoFEM::IntegratedJacobiPolynomial::query_interface ( boost::typeindex::type_index  type_index,
UnknownInterface **  iface 
) const
virtual

Reimplemented from MoFEM::JacobiPolynomial.

Definition at line 64 of file JacobiPolynomial.cpp.

65  {
66  *iface = const_cast<IntegratedJacobiPolynomial *>(this);
67  return 0;
68 }

The documentation for this struct was generated from the following files:
CHKERR
#define CHKERR
Inline error check.
Definition: definitions.h:535
MoFEM::get_value
static MoFEMErrorCode get_value(MatrixDouble &pts_x, MatrixDouble &pts_t, TYPE *ctx)
Definition: JacobiPolynomial.cpp:25
MoFEM::JacobiPolynomial::JacobiPolynomial
JacobiPolynomial()
Definition: JacobiPolynomial.hpp:56
MoFEM::IntegratedJacobiPolynomial::IntegratedJacobiPolynomial
IntegratedJacobiPolynomial()
Definition: JacobiPolynomial.hpp:84
MoFEMFunctionReturn
#define MoFEMFunctionReturn(a)
Last executable line of each PETSc function used for error handling. Replaces return()
Definition: definitions.h:416
MoFEMFunctionBegin
#define MoFEMFunctionBegin
First executable line of each MoFEM function, used for error handling. Final line of MoFEM functions ...
Definition: definitions.h:346