v0.14.0
Loading...
Searching...
No Matches
TriPolynomialBase.hpp
Go to the documentation of this file.
1/** \file TriPolynomialBase.hpp
2\brief Implementation of H1, Hcurl base on triangle
3
4*/
5
6#ifndef __H1TRIPOLYNOMIAL_HPP__
7#define __H1TRIPOLYNOMIAL_HPP__
8
9namespace MoFEM {
10
11/**
12 * \brief Calculate base functions on triangle
13 *
14 * \ingroup mofem_base_functions
15 */
17
18 MoFEMErrorCode query_interface(boost::typeindex::type_index type_index,
19 UnknownInterface **iface) const;
20
21 TriPolynomialBase() = default;
22 virtual ~TriPolynomialBase() = default;
23
25 boost::shared_ptr<BaseFunctionCtx> ctx_ptr);
26
27private:
29
33
37
38 ublas::matrix<MatrixDouble> N_face_edge;
39 ublas::vector<MatrixDouble> N_face_bubble;
40 ublas::matrix<MatrixDouble> diffN_face_edge;
41 ublas::vector<MatrixDouble> diffN_face_bubble;
42
44
46
49
52};
53
54} // namespace MoFEM
55
56#endif //__H1TRIPOLYNOMIAL_HPP__
PetscErrorCode MoFEMErrorCode
MoFEM/PETSc error code.
Definition: Exceptions.hpp:56
implementation of Data Operators for Forces and Sources
Definition: Common.hpp:10
Base class if inherited used to calculate base functions.
Class used to pass element data to calculate base functions on tet,triangle,edge.
Calculate base functions on triangle.
MoFEMErrorCode getValueH1BernsteinBezierBase(MatrixDouble &pts)
ublas::vector< MatrixDouble > diffN_face_bubble
MoFEMErrorCode getValueL2BernsteinBezierBase(MatrixDouble &pts)
MoFEMErrorCode getValueH1(MatrixDouble &pts)
MoFEMErrorCode getValueH1AinsworthBase(MatrixDouble &pts)
MoFEMErrorCode getValueL2(MatrixDouble &pts)
MoFEMErrorCode getValue(MatrixDouble &pts, boost::shared_ptr< BaseFunctionCtx > ctx_ptr)
ublas::matrix< MatrixDouble > N_face_edge
MoFEMErrorCode getValueHdivAinsworthBase(MatrixDouble &pts)
MoFEMErrorCode getValueHdivDemkowiczBase(MatrixDouble &pts)
MoFEMErrorCode query_interface(boost::typeindex::type_index type_index, UnknownInterface **iface) const
ublas::vector< MatrixDouble > N_face_bubble
ublas::matrix< MatrixDouble > diffN_face_edge
MoFEMErrorCode getValueHcurlDemkowiczBase(MatrixDouble &pts)
MoFEMErrorCode getValueHcurl(MatrixDouble &pts)
EntPolynomialBaseCtx * cTx
MoFEMErrorCode getValueHcurlAinsworthBase(MatrixDouble &pts)
virtual ~TriPolynomialBase()=default
MoFEMErrorCode getValueHdiv(MatrixDouble &pts)
MoFEMErrorCode getValueL2AinsworthBase(MatrixDouble &pts)
base class for all interface classes