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

#include <tfe.hpp>

Collaboration diagram for mfem::H1_FiniteElement< Geometry::CUBE, 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::CUBE
 
static const int dim = 3
 
static const int degree = P
 
static const int dofs = (P+1)*(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::CUBE, P >

Definition at line 348 of file tfe.hpp.

Member Typedef Documentation

◆ parameter_type

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

Definition at line 360 of file tfe.hpp.

Constructor & Destructor Documentation

◆ H1_FiniteElement() [1/2]

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

Definition at line 388 of file tfe.hpp.

◆ H1_FiniteElement() [2/2]

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

Definition at line 392 of file tfe.hpp.

◆ ~H1_FiniteElement()

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

Definition at line 399 of file tfe.hpp.

Member Function Documentation

◆ Calc1DShapes()

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

Definition at line 407 of file tfe.hpp.

◆ CalcShapes()

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

Definition at line 402 of file tfe.hpp.

◆ GetDofMap()

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

Definition at line 411 of file tfe.hpp.

◆ Init()

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

Definition at line 367 of file tfe.hpp.

Member Data Documentation

◆ degree

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

Definition at line 353 of file tfe.hpp.

◆ dim

template<int P>
const int mfem::H1_FiniteElement< Geometry::CUBE, P >::dim = 3
static

Definition at line 352 of file tfe.hpp.

◆ dofs

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

Definition at line 354 of file tfe.hpp.

◆ dofs_1d

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

Definition at line 357 of file tfe.hpp.

◆ geom

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

Definition at line 351 of file tfe.hpp.

◆ my_dof_map

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

Definition at line 364 of file tfe.hpp.

◆ my_fe

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

Definition at line 363 of file tfe.hpp.

◆ my_fe_1d

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

Definition at line 363 of file tfe.hpp.

◆ tensor_prod

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

Definition at line 356 of file tfe.hpp.

◆ type

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

Definition at line 365 of file tfe.hpp.


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