MFEM  v3.4
Finite element discretization library
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Pages
Public Types | Public Member Functions | Static Public Attributes | Protected Member Functions | Protected Attributes | List of all members
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 200 of file tfe.hpp.

Member Typedef Documentation

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

Definition at line 212 of file tfe.hpp.

Constructor & Destructor Documentation

Definition at line 239 of file tfe.hpp.

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

Definition at line 243 of file tfe.hpp.

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

Definition at line 250 of file tfe.hpp.

Member Function Documentation

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 258 of file tfe.hpp.

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 253 of file tfe.hpp.

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

Definition at line 262 of file tfe.hpp.

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

Definition at line 218 of file tfe.hpp.

Member Data Documentation

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

Definition at line 205 of file tfe.hpp.

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

Definition at line 204 of file tfe.hpp.

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

Definition at line 206 of file tfe.hpp.

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

Definition at line 209 of file tfe.hpp.

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

Definition at line 203 of file tfe.hpp.

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

Definition at line 216 of file tfe.hpp.

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

Definition at line 215 of file tfe.hpp.

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

Definition at line 215 of file tfe.hpp.

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

Definition at line 208 of file tfe.hpp.

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

Definition at line 217 of file tfe.hpp.


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