v0.13.1
EntPolynomialBaseCtx.hpp
Go to the documentation of this file.
1/** \file EntPolynomialBaseCtx.hpp
2\brief Implementation of Ainsworth-Cole H1 base on tetrahedral
3
4*/
5
6
7
8#ifndef __ENTPOLYNOMIALCTX_HPP__
9#define __ENTPOLYNOMIALCTX_HPP__
10
11namespace MoFEM {
12
13struct EntitiesFieldData;
14struct FEMethod;
15
16/**
17 * \brief Class used to pass element data to calculate base functions on
18 * tet,triangle,edge
19 *
20 * \ingroup mofem_base_functions
21 */
23
24 MoFEMErrorCode query_interface(boost::typeindex::type_index type_index,
25 UnknownInterface **iface) const;
26
27 PetscErrorCode (*basePolynomialsType0)(int p, double s, double *diff_s,
28 double *L, double *diffL,
29 const int dim);
30
31 PetscErrorCode (*basePolynomialsType1)(int p, double alpha, double x,
32 double t, double *diff_x,
33 double *diff_t, double *L,
34 double *diffL, const int dim);
35
39 const std::string fieldName;
41
43 const FieldApproximationBase base,
44 const FieldApproximationBase copy_node_base = LASTBASE);
45
47 const std::string field_name, const FieldSpace space,
48 const FieldApproximationBase base,
49 const FieldApproximationBase copy_node_base = LASTBASE);
50
51protected:
53};
54
55} // namespace MoFEM
56
57#endif //__ENTPOLYNOMIALCTX_HPP__
static Index< 'p', 3 > p
FieldApproximationBase
approximation base
Definition: definitions.h:58
@ LASTBASE
Definition: definitions.h:69
FieldSpace
approximation spaces
Definition: definitions.h:82
const int dim
PetscErrorCode MoFEMErrorCode
MoFEM/PETSc error code.
Definition: Exceptions.hpp:56
implementation of Data Operators for Forces and Sources
Definition: MoFEM.hpp:24
constexpr double t
plate stiffness
Definition: plate.cpp:59
constexpr auto field_name
Base class used to exchange data between element data structures and class calculating base functions...
Class used to pass element data to calculate base functions on tet,triangle,edge.
const FieldApproximationBase copyNodeBase
EntPolynomialBaseCtx(EntitiesFieldData &data, const FieldSpace space, const FieldApproximationBase base, const FieldApproximationBase copy_node_base=LASTBASE)
MoFEMErrorCode query_interface(boost::typeindex::type_index type_index, UnknownInterface **iface) const
PetscErrorCode(* basePolynomialsType0)(int p, double s, double *diff_s, double *L, double *diffL, const int dim)
PetscErrorCode(* basePolynomialsType1)(int p, double alpha, double x, double t, double *diff_x, double *diff_t, double *L, double *diffL, const int dim)
const FieldApproximationBase bAse
data structure for finite element entity
base class for all interface classes