v0.9.0
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, BaseFunctionUnknownInterface **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 ()
 
- Public Member Functions inherited from MoFEM::BaseFunctionUnknownInterface
virtual ~BaseFunctionUnknownInterface ()=default
 

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)
 

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,
BaseFunctionUnknownInterface **  iface 
) const
virtual

Reimplemented from MoFEM::JacobiPolynomialCtx.

Definition at line 87 of file JacobiPolynomial.cpp.

88  {
90  *iface = NULL;
92  *iface = const_cast<IntegratedJacobiPolynomialCtx *>(this);
94  } else {
95  SETERRQ(PETSC_COMM_WORLD, MOFEM_DATA_INCONSISTENCY, "wrong interference");
96  }
98  CHKERRG(ierr);
100 }
static const MOFEMuuid IDD_INTEGRATED_JACOBI_BASE_FUNCTION
MoFEMErrorCode query_interface(const MOFEMuuid &uuid, BaseFunctionUnknownInterface **iface) const
#define MoFEMFunctionBeginHot
First executable line of each MoFEM function, used for error handling. Final line of MoFEM functions ...
Definition: definitions.h:501
#define CHKERRG(n)
Check error code of MoFEM/MOAB/PETSc function.
Definition: definitions.h:544
#define MoFEMFunctionReturnHot(a)
Last executable line of each PETSc function used for error handling. Replaces return()
Definition: definitions.h:508

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