v0.14.0
Loading...
Searching...
No Matches
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
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)
 
 ~LegendrePolynomialCtx ()
 
MoFEMErrorCode query_interface (boost::typeindex::type_index type_index, UnknownInterface **iface) const
 
- Public Member Functions inherited from MoFEM::BaseFunctionUnknownInterface
virtual MoFEMErrorCode query_interface (boost::typeindex::type_index type_index, UnknownInterface **iface) const =0
 
virtual ~BaseFunctionUnknownInterface ()=default
 
- Public Member Functions inherited from MoFEM::UnknownInterface
virtual MoFEMErrorCode query_interface (boost::typeindex::type_index type_index, UnknownInterface **iface) const =0
 
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 }
static Index< 'p', 3 > p
const int dim
PetscErrorCode LobattoKernel_polynomials(int p, double s, double *diff_s, double *L, double *diffL, const int dim)
Calculate Kernel Lobatto base functions.
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)

◆ ~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}
KernelLobattoPolynomialCtx(int p, double *diff_s, int dim, boost::shared_ptr< MatrixDouble > base_fun_ptr, boost::shared_ptr< MatrixDouble > base_diff_fun_ptr)

The documentation for this struct was generated from the following files: