11#ifndef __LEGENDREPOLYNOMIALS_HPP__ 
   12#define __LEGENDREPOLYNOMIALS_HPP__ 
   57                                    double *diff_s, 
double *
L,
 
   58                                    double *diffL, 
int dim);
 
   80    int p, std::complex<double> s, std::complex<double>* diff_s,
 
   81    std::complex<double>* 
L, std::complex<double>* diffL, 
int dim);
 
  103                                         double *
L, 
double *diffL,
 
  115                        boost::shared_ptr<MatrixDouble> base_fun_ptr,
 
  116                        boost::shared_ptr<MatrixDouble> base_diff_fun_ptr)
 
 
 
  145                          boost::shared_ptr<BaseFunctionCtx> ctx_ptr);
 
 
PetscErrorCode Legendre_polynomials(int p, double s, double *diff_s, double *L, double *diffL, 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.
Context class for Legendre basis function arguments.
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)
Constructor.
PetscErrorCode(* basePolynomialsType0)(int p, double s, double *diff_s, double *L, double *diffL, const int dim)
Function pointer for polynomial evaluation.
int P
Approximation order.
double * diffS
Derivatives of s parameter.
boost::shared_ptr< MatrixDouble > baseDiffFunPtr
Pointer to base function derivatives matrix.
boost::shared_ptr< MatrixDouble > baseFunPtr
Pointer to base function matrix.
Class for calculating Legendre basis functions.
MoFEMErrorCode query_interface(boost::typeindex::type_index type_index, UnknownInterface **iface) const
MoFEMErrorCode getValue(MatrixDouble &pts, boost::shared_ptr< BaseFunctionCtx > ctx_ptr)
Evaluate Legendre basis functions at given points.
base class for all interface classes