v0.13.2
Loading...
Searching...
No Matches
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 (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 ()
 
MoFEMErrorCode query_interface (boost::typeindex::type_index type_index, UnknownInterface **iface) const
 
- Public Member Functions inherited from MoFEM::BaseFunctionUnknownInterface
virtual MoFEMErrorCode query_interface (boost::typeindex::type_index type_index, UnknownInterface **iface) const =0
 
virtual ~BaseFunctionUnknownInterface ()=default
 
- Public Member Functions inherited from MoFEM::UnknownInterface
virtual MoFEMErrorCode query_interface (boost::typeindex::type_index type_index, UnknownInterface **iface) const =0
 
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...
 
- 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 }
static Index< 'p', 3 > p
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.
const int dim
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::JacobiPolynomialCtx.

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: