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

#include <src/approximation/JacobiPolynomial.hpp>

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

Public Member Functions

MoFEMErrorCode query_interface (const MOFEMuuid &uuid, MoFEM::UnknownInterface **iface) const
 
 IntegratedJacobiPolynomialCtx (int p, double *diff_x, double *diff_t, int dim, double alpha, boost::shared_ptr< MatrixDouble > &base_fun_ptr, boost::shared_ptr< MatrixDouble > &base_diff_fun_ptr)
 
 ~IntegratedJacobiPolynomialCtx ()
 
- Public Member Functions inherited from MoFEM::JacobiPolynomialCtx
 JacobiPolynomialCtx (int p, double *diff_x, double *diff_t, int dim, double alpha, boost::shared_ptr< MatrixDouble > &base_fun_ptr, boost::shared_ptr< MatrixDouble > &base_diff_fun_ptr)
 
 ~JacobiPolynomialCtx ()
 
- Public Member Functions inherited from MoFEM::BaseFunctionCtx
 BaseFunctionCtx ()
 
 ~BaseFunctionCtx ()
 
- 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

- Public Attributes inherited from MoFEM::JacobiPolynomialCtx
int P
 
doublediffX
 
doublediffT
 
int dIm
 
double aLpha
 
boost::shared_ptr< MatrixDoublebaseFunPtr
 
boost::shared_ptr< MatrixDoublebaseDiffFunPtr
 
PetscErrorCode(* basePolynomialsType1 )(int p, double alpha, double x, double t, double *diff_x, double *diff_t, double *L, double *diffL, const int dim)
 
- 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 81 of file JacobiPolynomial.hpp.

Constructor & Destructor Documentation

◆ IntegratedJacobiPolynomialCtx()

MoFEM::IntegratedJacobiPolynomialCtx::IntegratedJacobiPolynomialCtx ( int  p,
double diff_x,
double diff_t,
int  dim,
double  alpha,
boost::shared_ptr< MatrixDouble > &  base_fun_ptr,
boost::shared_ptr< MatrixDouble > &  base_diff_fun_ptr 
)

Definition at line 86 of file JacobiPolynomial.hpp.

90  : JacobiPolynomialCtx(p, diff_x, diff_t, dim, alpha, base_fun_ptr,
91  base_diff_fun_ptr) {
93  }
PetscErrorCode(* basePolynomialsType1)(int p, double alpha, double x, double t, double *diff_x, double *diff_t, double *L, double *diffL, const int dim)
JacobiPolynomialCtx(int p, double *diff_x, double *diff_t, int dim, double alpha, boost::shared_ptr< MatrixDouble > &base_fun_ptr, boost::shared_ptr< MatrixDouble > &base_diff_fun_ptr)
PetscErrorCode IntegratedJacobi_polynomials(int p, double alpha, double x, double t, double *diff_x, double *diff_t, double *L, double *diffL, const int dim)
Calculate integrated Jacobi approximation basis.

◆ ~IntegratedJacobiPolynomialCtx()

MoFEM::IntegratedJacobiPolynomialCtx::~IntegratedJacobiPolynomialCtx ( )

Definition at line 94 of file JacobiPolynomial.hpp.

94 {}

Member Function Documentation

◆ query_interface()

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

Reimplemented from MoFEM::JacobiPolynomialCtx.

Definition at line 102 of file JacobiPolynomial.cpp.

103  {
105  *iface = NULL;
107  *iface = const_cast<IntegratedJacobiPolynomialCtx *>(this);
109  } else {
110  SETERRQ(PETSC_COMM_WORLD, MOFEM_DATA_INCONSISTENCY, "wrong interference");
111  }
112  ierr = BaseFunctionCtx::query_interface(uuid, iface);
113  CHKERRG(ierr);
115 }
static const MOFEMuuid IDD_INTEGRATED_JACOBI_BASE_FUNCTION
MoFEMErrorCode query_interface(const MOFEMuuid &uuid, MoFEM::UnknownInterface **iface) const
#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

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