MFEM v4.7.0
Finite element discretization library
Loading...
Searching...
No Matches
mfem::H1_FiniteElement< Geometry::SQUARE, P > Class Template Reference

#include <tfe.hpp>

Collaboration diagram for mfem::H1_FiniteElement< Geometry::SQUARE, 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
 
template<typename real_t >
void Calc1DShapes (const IntegrationRule &ir, real_t *B, real_t *G) const
 
const Array< int > * GetDofMap () const
 

Static Public Attributes

static const Geometry::Type geom = Geometry::SQUARE
 
static const int dim = 2
 
static const int degree = P
 
static const int dofs = (P+1)*(P+1)
 
static const bool tensor_prod = true
 
static const int dofs_1d = P+1
 

Protected Member Functions

void Init (const parameter_type type_)
 

Protected Attributes

const FiniteElementmy_fe
 
const FiniteElementmy_fe_1d
 
const Array< int > * my_dof_map
 
parameter_type type
 

Detailed Description

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

Definition at line 229 of file tfe.hpp.

Member Typedef Documentation

◆ parameter_type

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

Definition at line 241 of file tfe.hpp.

Constructor & Destructor Documentation

◆ H1_FiniteElement() [1/2]

template<int P>
mfem::H1_FiniteElement< Geometry::SQUARE, P >::H1_FiniteElement ( const parameter_type type_ = BasisType::GaussLobatto)
inline

Definition at line 268 of file tfe.hpp.

◆ H1_FiniteElement() [2/2]

template<int P>
mfem::H1_FiniteElement< Geometry::SQUARE, P >::H1_FiniteElement ( const FiniteElementCollection & fec)
inline

Definition at line 272 of file tfe.hpp.

◆ ~H1_FiniteElement()

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

Definition at line 279 of file tfe.hpp.

Member Function Documentation

◆ Calc1DShapes()

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

Definition at line 287 of file tfe.hpp.

◆ CalcShapes()

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

Definition at line 282 of file tfe.hpp.

◆ GetDofMap()

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

Definition at line 291 of file tfe.hpp.

◆ Init()

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

Definition at line 247 of file tfe.hpp.

Member Data Documentation

◆ degree

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

Definition at line 234 of file tfe.hpp.

◆ dim

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

Definition at line 233 of file tfe.hpp.

◆ dofs

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

Definition at line 235 of file tfe.hpp.

◆ dofs_1d

template<int P>
const int mfem::H1_FiniteElement< Geometry::SQUARE, P >::dofs_1d = P+1
static

Definition at line 238 of file tfe.hpp.

◆ geom

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

Definition at line 232 of file tfe.hpp.

◆ my_dof_map

template<int P>
const Array<int>* mfem::H1_FiniteElement< Geometry::SQUARE, P >::my_dof_map
protected

Definition at line 245 of file tfe.hpp.

◆ my_fe

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

Definition at line 244 of file tfe.hpp.

◆ my_fe_1d

template<int P>
const FiniteElement * mfem::H1_FiniteElement< Geometry::SQUARE, P >::my_fe_1d
protected

Definition at line 244 of file tfe.hpp.

◆ tensor_prod

template<int P>
const bool mfem::H1_FiniteElement< Geometry::SQUARE, P >::tensor_prod = true
static

Definition at line 237 of file tfe.hpp.

◆ type

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

Definition at line 246 of file tfe.hpp.


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