25 boost::shared_ptr<BaseFunctionCtx> ctx_ptr) {
30 ctx->
baseFunPtr->resize(pts.size2(), ctx->P + 1,
false);
31 ctx->baseDiffFunPtr->resize(pts.size2(), ctx->dIm * (ctx->P + 1),
false);
33 double *diff_l = NULL;
34 for (
unsigned int gg = 0; gg < pts.size2(); gg++) {
36 l = &((*ctx->baseFunPtr)(gg, 0));
37 if (ctx->baseDiffFunPtr)
38 diff_l = &((*ctx->baseDiffFunPtr)(gg, 0));
39 ierr = (ctx->basePolynomialsType0)(ctx->P, pts(0, gg), ctx->diffS,
l,
60 boost::shared_ptr<BaseFunctionCtx> ctx_ptr) {
64 ctx->
baseFunPtr->resize(pts.size2(), ctx->P + 1,
false);
65 ctx->baseDiffFunPtr->resize(pts.size2(), ctx->dIm * (ctx->P + 1),
false);
67 double *diff_l = NULL;
68 for (
unsigned int gg = 0; gg < pts.size2(); gg++) {
70 l = &((*ctx->baseFunPtr)(gg, 0));
71 if (ctx->baseDiffFunPtr)
72 diff_l = &((*ctx->baseDiffFunPtr)(gg, 0));
73 ierr = (ctx->basePolynomialsType0)(ctx->P, pts(0, gg), ctx->diffS,
l,
#define MoFEMFunctionReturnHot(a)
Last executable line of each PETSc function used for error handling. Replaces return()
#define CHKERRG(n)
Check error code of MoFEM/MOAB/PETSc function.
#define MoFEMFunctionBeginHot
First executable line of each MoFEM function, used for error handling. Final line of MoFEM functions ...
FTensor::Index< 'l', 3 > l
static MoFEMErrorCodeGeneric< PetscErrorCode > ierr
PetscErrorCode MoFEMErrorCode
MoFEM/PETSc error code.
implementation of Data Operators for Forces and Sources
Class used to give arguments to Kernel Lobatto base functions.
MoFEMErrorCode query_interface(boost::typeindex::type_index type_index, UnknownInterface **iface) const
Calculating Lobatto base functions.
MoFEMErrorCode query_interface(boost::typeindex::type_index type_index, UnknownInterface **iface) const
MoFEMErrorCode getValue(MatrixDouble &pts, boost::shared_ptr< BaseFunctionCtx > ctx_ptr)
boost::shared_ptr< MatrixDouble > baseFunPtr
Class used to give arguments to Lobatto base functions.
MoFEMErrorCode query_interface(boost::typeindex::type_index type_index, UnknownInterface **iface) const
Calculating Lobatto base functions.
MoFEMErrorCode getValue(MatrixDouble &pts, boost::shared_ptr< BaseFunctionCtx > ctx_ptr)
MoFEMErrorCode query_interface(boost::typeindex::type_index type_index, UnknownInterface **iface) const
base class for all interface classes