v0.14.0
Public Member Functions | List of all members
MoFEM::KernelLobattoPolynomialCtx Struct Reference

Class used to give arguments to Kernel Lobatto base functions. More...

#include <src/approximation/LobattoPolynomial.hpp>

Inheritance diagram for MoFEM::KernelLobattoPolynomialCtx:
[legend]
Collaboration diagram for MoFEM::KernelLobattoPolynomialCtx:
[legend]

Public Member Functions

MoFEMErrorCode query_interface (boost::typeindex::type_index type_index, UnknownInterface **iface) const
 
 KernelLobattoPolynomialCtx (int p, double *diff_s, int dim, boost::shared_ptr< MatrixDouble > base_fun_ptr, boost::shared_ptr< MatrixDouble > base_diff_fun_ptr)
 
 ~KernelLobattoPolynomialCtx ()
 
- Public Member Functions inherited from MoFEM::LegendrePolynomialCtx
 LegendrePolynomialCtx (int p, double *diff_s, int dim, boost::shared_ptr< MatrixDouble > base_fun_ptr, boost::shared_ptr< MatrixDouble > base_diff_fun_ptr)
 
 ~LegendrePolynomialCtx ()
 
- Public Member Functions inherited from MoFEM::BaseFunctionUnknownInterface
virtual ~BaseFunctionUnknownInterface ()=default
 
- Public Member Functions inherited from MoFEM::UnknownInterface
template<class IFACE >
MoFEMErrorCode registerInterface (bool error_if_registration_failed=true)
 Register interface. More...
 
template<class IFACE >
MoFEMErrorCode getInterface (IFACE *&iface) const
 Get interface refernce to pointer of interface. More...
 
template<class IFACE >
MoFEMErrorCode getInterface (IFACE **const iface) const
 Get interface pointer to pointer of interface. More...
 
template<class IFACE , typename boost::enable_if< boost::is_pointer< IFACE >, int >::type = 0>
IFACE getInterface () const
 Get interface pointer to pointer of interface. More...
 
template<class IFACE , typename boost::enable_if< boost::is_reference< IFACE >, int >::type = 0>
IFACE getInterface () const
 Get reference to interface. More...
 
template<class IFACE >
IFACE * getInterface () const
 Function returning pointer to interface. More...
 
virtual ~UnknownInterface ()=default
 

Additional Inherited Members

- Static Public Member Functions inherited from MoFEM::UnknownInterface
static MoFEMErrorCode getLibVersion (Version &version)
 Get library version. More...
 
static MoFEMErrorCode getFileVersion (moab::Interface &moab, Version &version)
 Get database major version. More...
 
static MoFEMErrorCode setFileVersion (moab::Interface &moab, Version version=Version(MoFEM_VERSION_MAJOR, MoFEM_VERSION_MINOR, MoFEM_VERSION_BUILD))
 Get database major version. More...
 
static MoFEMErrorCode getInterfaceVersion (Version &version)
 Get database major version. More...
 
- Public Attributes inherited from MoFEM::LegendrePolynomialCtx
int P
 
doublediffS
 
int dIm
 
boost::shared_ptr< MatrixDoublebaseFunPtr
 
boost::shared_ptr< MatrixDoublebaseDiffFunPtr
 
PetscErrorCode(* basePolynomialsType0 )(int p, double s, double *diff_s, double *L, double *diffL, const int dim)
 

Detailed Description

Class used to give arguments to Kernel Lobatto base functions.

Definition at line 51 of file LobattoPolynomial.hpp.

Constructor & Destructor Documentation

◆ KernelLobattoPolynomialCtx()

MoFEM::KernelLobattoPolynomialCtx::KernelLobattoPolynomialCtx ( int  p,
double diff_s,
int  dim,
boost::shared_ptr< MatrixDouble base_fun_ptr,
boost::shared_ptr< MatrixDouble base_diff_fun_ptr 
)
inline

Definition at line 56 of file LobattoPolynomial.hpp.

59  : LegendrePolynomialCtx(p, diff_s, dim, base_fun_ptr, base_diff_fun_ptr) {
61  }

◆ ~KernelLobattoPolynomialCtx()

MoFEM::KernelLobattoPolynomialCtx::~KernelLobattoPolynomialCtx ( )
inline

Definition at line 62 of file LobattoPolynomial.hpp.

62 {}

Member Function Documentation

◆ query_interface()

MoFEMErrorCode MoFEM::KernelLobattoPolynomialCtx::query_interface ( boost::typeindex::type_index  type_index,
UnknownInterface **  iface 
) const
virtual

Reimplemented from MoFEM::LegendrePolynomialCtx.

Definition at line 46 of file LobattoPolynomial.cpp.

47  {
48  *iface = const_cast<KernelLobattoPolynomialCtx *>(this);
49  return 0;
50 }

The documentation for this struct was generated from the following files:
MoFEM::LegendrePolynomialCtx::basePolynomialsType0
PetscErrorCode(* basePolynomialsType0)(int p, double s, double *diff_s, double *L, double *diffL, const int dim)
Definition: LegendrePolynomial.hpp:28
MoFEM::LegendrePolynomialCtx::LegendrePolynomialCtx
LegendrePolynomialCtx(int p, double *diff_s, int dim, boost::shared_ptr< MatrixDouble > base_fun_ptr, boost::shared_ptr< MatrixDouble > base_diff_fun_ptr)
Definition: LegendrePolynomial.hpp:32
LobattoKernel_polynomials
PetscErrorCode LobattoKernel_polynomials(int p, double s, double *diff_s, double *L, double *diffL, const int dim)
Calculate Kernel Lobatto base functions.
Definition: base_functions.c:345
MoFEM::KernelLobattoPolynomialCtx::KernelLobattoPolynomialCtx
KernelLobattoPolynomialCtx(int p, double *diff_s, int dim, boost::shared_ptr< MatrixDouble > base_fun_ptr, boost::shared_ptr< MatrixDouble > base_diff_fun_ptr)
Definition: LobattoPolynomial.hpp:56