v0.15.0
Loading...
Searching...
No Matches
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 (boost::typeindex::type_index type_index, 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
MoFEMErrorCode query_interface (boost::typeindex::type_index type_index, UnknownInterface **iface) const
 
 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
- 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.
 
template<class IFACE >
MoFEMErrorCode getInterface (IFACE *&iface) const
 Get interface reference to pointer of interface.
 
template<class IFACE >
MoFEMErrorCode getInterface (IFACE **const iface) const
 Get interface pointer to pointer of interface.
 
template<class IFACE , typename boost::enable_if< boost::is_pointer< IFACE >, int >::type = 0>
IFACE getInterface () const
 Get interface pointer to pointer of interface.
 
template<class IFACE , typename boost::enable_if< boost::is_reference< IFACE >, int >::type = 0>
IFACE getInterface () const
 Get reference to interface.
 
template<class IFACE >
IFACE * getInterface () const
 Function returning pointer to interface.
 
virtual ~UnknownInterface ()=default
 

Additional Inherited Members

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

Detailed Description

Definition at line 63 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 )
inline

Definition at line 68 of file JacobiPolynomial.hpp.

72 : JacobiPolynomialCtx(p, diff_x, diff_t, dim, alpha, base_fun_ptr,
73 base_diff_fun_ptr) {
75 }
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.
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)

◆ ~IntegratedJacobiPolynomialCtx()

MoFEM::IntegratedJacobiPolynomialCtx::~IntegratedJacobiPolynomialCtx ( )
inline

Definition at line 76 of file JacobiPolynomial.hpp.

76{}

Member Function Documentation

◆ query_interface()

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

Reimplemented from MoFEM::BaseFunctionCtx.

Definition at line 58 of file JacobiPolynomial.cpp.

59 {
60 *iface = const_cast<IntegratedJacobiPolynomialCtx *>(this);
61 return 0;
62}
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)

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