|
| v0.14.0
|
Go to the documentation of this file.
28 ctx->baseFunPtr->resize(pts_x.size2(), ctx->P + 1,
false);
29 ctx->baseDiffFunPtr->resize(pts_x.size2(), ctx->dIm * (ctx->P + 1),
false);
30 if (pts_x.size1() != pts_t.size1() || pts_x.size2() != pts_t.size2()) {
32 "Inconsistent size of arguments");
35 double *diff_l = NULL;
36 for (
unsigned int gg = 0; gg < pts_x.size2(); gg++) {
38 l = &((*ctx->baseFunPtr)(gg, 0));
39 if (ctx->baseDiffFunPtr)
40 diff_l = &((*ctx->baseDiffFunPtr)(gg, 0));
41 ierr = (ctx->basePolynomialsType1)(ctx->P, ctx->aLpha, pts_x(0, gg),
42 pts_t(0, gg), ctx->diffX, ctx->diffT,
l,
51 boost::shared_ptr<BaseFunctionCtx> ctx_ptr) {
72 boost::shared_ptr<BaseFunctionCtx> ctx_ptr) {
#define MoFEMFunctionReturnHot(a)
Last executable line of each PETSc function used for error handling. Replaces return()
MoFEMErrorCode query_interface(boost::typeindex::type_index type_index, UnknownInterface **iface) const
Calculating Legendre base functions.
PetscErrorCode MoFEMErrorCode
MoFEM/PETSc error code.
UBlasMatrix< double > MatrixDouble
MoFEMErrorCode query_interface(boost::typeindex::type_index type_index, UnknownInterface **iface) const
MoFEMErrorCode query_interface(boost::typeindex::type_index type_index, UnknownInterface **iface) const
MoFEMErrorCode query_interface(boost::typeindex::type_index type_index, UnknownInterface **iface) const
#define CHKERR
Inline error check.
static MoFEMErrorCode get_value(MatrixDouble &pts_x, MatrixDouble &pts_t, TYPE *ctx)
implementation of Data Operators for Forces and Sources
Class used to give arguments to Legendre base functions.
base class for all interface classes
MoFEMErrorCode getValue(MatrixDouble &pts_x, MatrixDouble &pts_t, boost::shared_ptr< BaseFunctionCtx > ctx_ptr)
static MoFEMErrorCodeGeneric< PetscErrorCode > ierr
@ MOFEM_DATA_INCONSISTENCY
#define MoFEMFunctionBeginHot
First executable line of each MoFEM function, used for error handling. Final line of MoFEM functions ...
#define MoFEMFunctionReturn(a)
Last executable line of each PETSc function used for error handling. Replaces return()
MoFEMErrorCode getValue(MatrixDouble &pts_x, MatrixDouble &pts_t, boost::shared_ptr< BaseFunctionCtx > ctx_ptr)
#define CHKERRG(n)
Check error code of MoFEM/MOAB/PETSc function.
#define MoFEMFunctionBegin
First executable line of each MoFEM function, used for error handling. Final line of MoFEM functions ...
FTensor::Index< 'l', 3 > l