v0.9.0
Public Member Functions | List of all members
MoFEM::BaseFunctionCtx Struct Reference

Base class used to exchange data between element data structures and class calculating base functions. More...

#include <src/approximation/BaseFunction.hpp>

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

Public Member Functions

MoFEMErrorCode query_interface (const MOFEMuuid &uuid, BaseFunctionUnknownInterface **iface) const
 
 BaseFunctionCtx ()
 
- Public Member Functions inherited from MoFEM::BaseFunctionUnknownInterface
virtual ~BaseFunctionUnknownInterface ()=default
 

Detailed Description

Base class used to exchange data between element data structures and class calculating base functions.

Definition at line 41 of file BaseFunction.hpp.

Constructor & Destructor Documentation

◆ BaseFunctionCtx()

MoFEM::BaseFunctionCtx::BaseFunctionCtx ( )

Definition at line 46 of file BaseFunction.hpp.

46 {}

Member Function Documentation

◆ query_interface()

MoFEMErrorCode MoFEM::BaseFunctionCtx::query_interface ( const MOFEMuuid uuid,
BaseFunctionUnknownInterface **  iface 
) const
virtual

Implements MoFEM::BaseFunctionUnknownInterface.

Reimplemented in MoFEM::IntegratedJacobiPolynomialCtx, MoFEM::KernelLobattoPolynomialCtx, MoFEM::EntPolynomialBaseCtx, MoFEM::FatPrismPolynomialBaseCtx, MoFEM::FlatPrismPolynomialBaseCtx, MoFEM::LobattoPolynomialCtx, MoFEM::JacobiPolynomialCtx, and MoFEM::LegendrePolynomialCtx.

Definition at line 21 of file BaseFunction.cpp.

22  {
24  *iface = NULL;
25  if (uuid == IDD_UNKNOWN_BASE_FUNCTION) {
26  *iface = const_cast<BaseFunctionCtx *>(this);
28  } else {
29  SETERRQ(PETSC_COMM_WORLD, MOFEM_DATA_INCONSISTENCY, "wrong interference");
30  }
32 }
#define MoFEMFunctionBeginHot
First executable line of each MoFEM function, used for error handling. Final line of MoFEM functions ...
Definition: definitions.h:501
#define MoFEMFunctionReturnHot(a)
Last executable line of each PETSc function used for error handling. Replaces return()
Definition: definitions.h:508
static const MOFEMuuid IDD_UNKNOWN_BASE_FUNCTION

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