MFEM  v4.5.2
Finite element discretization library
Public Types | Public Member Functions | Static Public Attributes | Protected Member Functions | Protected Attributes | List of all members
mfem::H1_FiniteElement< Geometry::TRIANGLE, P > Class Template Reference

#include <tfe.hpp>

Collaboration diagram for mfem::H1_FiniteElement< Geometry::TRIANGLE, P >:
[legend]

Public Types

typedef int parameter_type
 

Public Member Functions

 H1_FiniteElement (const parameter_type type_=BasisType::GaussLobatto)
 
 H1_FiniteElement (const FiniteElementCollection &fec)
 
 ~H1_FiniteElement ()
 
template<typename real_t >
void CalcShapes (const IntegrationRule &ir, real_t *B, real_t *G) const
 
const Array< int > * GetDofMap () const
 

Static Public Attributes

static const Geometry::Type geom = Geometry::TRIANGLE
 
static const int dim = 2
 
static const int degree = P
 
static const int dofs = ((P + 1)*(P + 2))/2
 
static const bool tensor_prod = false
 

Protected Member Functions

void Init (const parameter_type type_)
 

Protected Attributes

const FiniteElementmy_fe
 
parameter_type type
 

Detailed Description

template<int P>
class mfem::H1_FiniteElement< Geometry::TRIANGLE, P >

Definition at line 176 of file tfe.hpp.

Member Typedef Documentation

◆ parameter_type

template<int P>
typedef int mfem::H1_FiniteElement< Geometry::TRIANGLE, P >::parameter_type

Definition at line 187 of file tfe.hpp.

Constructor & Destructor Documentation

◆ H1_FiniteElement() [1/2]

Definition at line 207 of file tfe.hpp.

◆ H1_FiniteElement() [2/2]

Definition at line 211 of file tfe.hpp.

◆ ~H1_FiniteElement()

template<int P>
mfem::H1_FiniteElement< Geometry::TRIANGLE, P >::~H1_FiniteElement ( )
inline

Definition at line 218 of file tfe.hpp.

Member Function Documentation

◆ CalcShapes()

template<int P>
template<typename real_t >
void mfem::H1_FiniteElement< Geometry::TRIANGLE, P >::CalcShapes ( const IntegrationRule ir,
real_t *  B,
real_t *  G 
) const
inline

Definition at line 221 of file tfe.hpp.

◆ GetDofMap()

template<int P>
const Array<int>* mfem::H1_FiniteElement< Geometry::TRIANGLE, P >::GetDofMap ( ) const
inline

Definition at line 225 of file tfe.hpp.

◆ Init()

template<int P>
void mfem::H1_FiniteElement< Geometry::TRIANGLE, P >::Init ( const parameter_type  type_)
inlineprotected

Definition at line 192 of file tfe.hpp.

Member Data Documentation

◆ degree

template<int P>
const int mfem::H1_FiniteElement< Geometry::TRIANGLE, P >::degree = P
static

Definition at line 181 of file tfe.hpp.

◆ dim

template<int P>
const int mfem::H1_FiniteElement< Geometry::TRIANGLE, P >::dim = 2
static

Definition at line 180 of file tfe.hpp.

◆ dofs

template<int P>
const int mfem::H1_FiniteElement< Geometry::TRIANGLE, P >::dofs = ((P + 1)*(P + 2))/2
static

Definition at line 182 of file tfe.hpp.

◆ geom

template<int P>
const Geometry::Type mfem::H1_FiniteElement< Geometry::TRIANGLE, P >::geom = Geometry::TRIANGLE
static

Definition at line 179 of file tfe.hpp.

◆ my_fe

template<int P>
const FiniteElement* mfem::H1_FiniteElement< Geometry::TRIANGLE, P >::my_fe
protected

Definition at line 190 of file tfe.hpp.

◆ tensor_prod

template<int P>
const bool mfem::H1_FiniteElement< Geometry::TRIANGLE, P >::tensor_prod = false
static

Definition at line 184 of file tfe.hpp.

◆ type

template<int P>
parameter_type mfem::H1_FiniteElement< Geometry::TRIANGLE, P >::type
protected

Definition at line 191 of file tfe.hpp.


The documentation for this class was generated from the following file: