8#ifndef __LEGENDREPOLYNOMIALS_HPP__
9#define __LEGENDREPOLYNOMIALS_HPP__
29 double *
L,
double *diffL,
33 boost::shared_ptr<MatrixDouble> base_fun_ptr,
34 boost::shared_ptr<MatrixDouble> base_diff_fun_ptr)
54 boost::shared_ptr<BaseFunctionCtx> ctx_ptr);
PetscErrorCode Legendre_polynomials(int p, double s, double *diff_s, double *L, double *diffL, const int dim)
Calculate Legendre approximation basis.
PetscErrorCode MoFEMErrorCode
MoFEM/PETSc error code.
UBlasMatrix< double > MatrixDouble
implementation of Data Operators for Forces and Sources
Base class used to exchange data between element data structures and class calculating base functions...
Base class if inherited used to calculate base functions.
Class used to give arguments to Legendre base functions.
MoFEMErrorCode query_interface(boost::typeindex::type_index type_index, UnknownInterface **iface) const
LegendrePolynomialCtx(int p, double *diff_s, int dim, boost::shared_ptr< MatrixDouble > base_fun_ptr, boost::shared_ptr< MatrixDouble > base_diff_fun_ptr)
PetscErrorCode(* basePolynomialsType0)(int p, double s, double *diff_s, double *L, double *diffL, const int dim)
boost::shared_ptr< MatrixDouble > baseDiffFunPtr
boost::shared_ptr< MatrixDouble > baseFunPtr
Calculating Legendre base functions.
MoFEMErrorCode query_interface(boost::typeindex::type_index type_index, UnknownInterface **iface) const
MoFEMErrorCode getValue(MatrixDouble &pts, boost::shared_ptr< BaseFunctionCtx > ctx_ptr)
base class for all interface classes