MFEM v4.7.0
Finite element discretization library
Loading...
Searching...
No Matches
mfem::L2_FiniteElement_base< G, P, L2_FE_type, L2Pos_FE_type, DOFS, TP > Class Template Reference

#include <tfe.hpp>

Collaboration diagram for mfem::L2_FiniteElement_base< G, P, L2_FE_type, L2Pos_FE_type, DOFS, TP >:
[legend]

Public Types

typedef int parameter_type
 

Public Member Functions

template<typename real_t >
void CalcShapes (const IntegrationRule &ir, real_t *B, real_t *Grad) const
 
template<typename real_t >
void Calc1DShapes (const IntegrationRule &ir, real_t *B, real_t *Grad) const
 
const Array< int > * GetDofMap () const
 

Static Public Attributes

static const Geometry::Type geom = G
 
static const int dim = Geometry::Constants<G>::Dimension
 
static const int degree = P
 
static const int dofs = DOFS
 
static const bool tensor_prod = TP
 
static const int dofs_1d = P+1
 

Protected Member Functions

void Init (const parameter_type type_)
 
 L2_FiniteElement_base (const parameter_type type)
 
 L2_FiniteElement_base (const FiniteElementCollection &fec)
 
 ~L2_FiniteElement_base ()
 

Protected Attributes

const FiniteElementmy_fe
 
const FiniteElementmy_fe_1d
 
parameter_type type
 

Detailed Description

template<Geometry::Type G, int P, typename L2_FE_type, typename L2Pos_FE_type, int DOFS, bool TP>
class mfem::L2_FiniteElement_base< G, P, L2_FE_type, L2Pos_FE_type, DOFS, TP >

Definition at line 419 of file tfe.hpp.

Member Typedef Documentation

◆ parameter_type

template<Geometry::Type G, int P, typename L2_FE_type , typename L2Pos_FE_type , int DOFS, bool TP>
typedef int mfem::L2_FiniteElement_base< G, P, L2_FE_type, L2Pos_FE_type, DOFS, TP >::parameter_type

Definition at line 431 of file tfe.hpp.

Constructor & Destructor Documentation

◆ L2_FiniteElement_base() [1/2]

template<Geometry::Type G, int P, typename L2_FE_type , typename L2Pos_FE_type , int DOFS, bool TP>
mfem::L2_FiniteElement_base< G, P, L2_FE_type, L2Pos_FE_type, DOFS, TP >::L2_FiniteElement_base ( const parameter_type type)
inlineprotected

Definition at line 455 of file tfe.hpp.

◆ L2_FiniteElement_base() [2/2]

template<Geometry::Type G, int P, typename L2_FE_type , typename L2Pos_FE_type , int DOFS, bool TP>
mfem::L2_FiniteElement_base< G, P, L2_FE_type, L2Pos_FE_type, DOFS, TP >::L2_FiniteElement_base ( const FiniteElementCollection & fec)
inlineprotected

Definition at line 458 of file tfe.hpp.

◆ ~L2_FiniteElement_base()

template<Geometry::Type G, int P, typename L2_FE_type , typename L2Pos_FE_type , int DOFS, bool TP>
mfem::L2_FiniteElement_base< G, P, L2_FE_type, L2Pos_FE_type, DOFS, TP >::~L2_FiniteElement_base ( )
inlineprotected

Definition at line 466 of file tfe.hpp.

Member Function Documentation

◆ Calc1DShapes()

template<Geometry::Type G, int P, typename L2_FE_type , typename L2Pos_FE_type , int DOFS, bool TP>
template<typename real_t >
void mfem::L2_FiniteElement_base< G, P, L2_FE_type, L2Pos_FE_type, DOFS, TP >::Calc1DShapes ( const IntegrationRule & ir,
real_t * B,
real_t * Grad ) const
inline

Definition at line 475 of file tfe.hpp.

◆ CalcShapes()

template<Geometry::Type G, int P, typename L2_FE_type , typename L2Pos_FE_type , int DOFS, bool TP>
template<typename real_t >
void mfem::L2_FiniteElement_base< G, P, L2_FE_type, L2Pos_FE_type, DOFS, TP >::CalcShapes ( const IntegrationRule & ir,
real_t * B,
real_t * Grad ) const
inline

Definition at line 470 of file tfe.hpp.

◆ GetDofMap()

template<Geometry::Type G, int P, typename L2_FE_type , typename L2Pos_FE_type , int DOFS, bool TP>
const Array< int > * mfem::L2_FiniteElement_base< G, P, L2_FE_type, L2Pos_FE_type, DOFS, TP >::GetDofMap ( ) const
inline

Definition at line 479 of file tfe.hpp.

◆ Init()

template<Geometry::Type G, int P, typename L2_FE_type , typename L2Pos_FE_type , int DOFS, bool TP>
void mfem::L2_FiniteElement_base< G, P, L2_FE_type, L2Pos_FE_type, DOFS, TP >::Init ( const parameter_type type_)
inlineprotected

Definition at line 437 of file tfe.hpp.

Member Data Documentation

◆ degree

template<Geometry::Type G, int P, typename L2_FE_type , typename L2Pos_FE_type , int DOFS, bool TP>
const int mfem::L2_FiniteElement_base< G, P, L2_FE_type, L2Pos_FE_type, DOFS, TP >::degree = P
static

Definition at line 424 of file tfe.hpp.

◆ dim

template<Geometry::Type G, int P, typename L2_FE_type , typename L2Pos_FE_type , int DOFS, bool TP>
const int mfem::L2_FiniteElement_base< G, P, L2_FE_type, L2Pos_FE_type, DOFS, TP >::dim = Geometry::Constants<G>::Dimension
static

Definition at line 423 of file tfe.hpp.

◆ dofs

template<Geometry::Type G, int P, typename L2_FE_type , typename L2Pos_FE_type , int DOFS, bool TP>
const int mfem::L2_FiniteElement_base< G, P, L2_FE_type, L2Pos_FE_type, DOFS, TP >::dofs = DOFS
static

Definition at line 425 of file tfe.hpp.

◆ dofs_1d

template<Geometry::Type G, int P, typename L2_FE_type , typename L2Pos_FE_type , int DOFS, bool TP>
const int mfem::L2_FiniteElement_base< G, P, L2_FE_type, L2Pos_FE_type, DOFS, TP >::dofs_1d = P+1
static

Definition at line 428 of file tfe.hpp.

◆ geom

template<Geometry::Type G, int P, typename L2_FE_type , typename L2Pos_FE_type , int DOFS, bool TP>
const Geometry::Type mfem::L2_FiniteElement_base< G, P, L2_FE_type, L2Pos_FE_type, DOFS, TP >::geom = G
static

Definition at line 422 of file tfe.hpp.

◆ my_fe

template<Geometry::Type G, int P, typename L2_FE_type , typename L2Pos_FE_type , int DOFS, bool TP>
const FiniteElement* mfem::L2_FiniteElement_base< G, P, L2_FE_type, L2Pos_FE_type, DOFS, TP >::my_fe
protected

Definition at line 434 of file tfe.hpp.

◆ my_fe_1d

template<Geometry::Type G, int P, typename L2_FE_type , typename L2Pos_FE_type , int DOFS, bool TP>
const FiniteElement * mfem::L2_FiniteElement_base< G, P, L2_FE_type, L2Pos_FE_type, DOFS, TP >::my_fe_1d
protected

Definition at line 434 of file tfe.hpp.

◆ tensor_prod

template<Geometry::Type G, int P, typename L2_FE_type , typename L2Pos_FE_type , int DOFS, bool TP>
const bool mfem::L2_FiniteElement_base< G, P, L2_FE_type, L2Pos_FE_type, DOFS, TP >::tensor_prod = TP
static

Definition at line 427 of file tfe.hpp.

◆ type

template<Geometry::Type G, int P, typename L2_FE_type , typename L2Pos_FE_type , int DOFS, bool TP>
parameter_type mfem::L2_FiniteElement_base< G, P, L2_FE_type, L2Pos_FE_type, DOFS, TP >::type
protected

Definition at line 435 of file tfe.hpp.


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