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 Member Functions | Protected Attributes | List of all members
mfem::TensorBasisElement Class Reference

#include <fe.hpp>

Inheritance diagram for mfem::TensorBasisElement:
[legend]
Collaboration diagram for mfem::TensorBasisElement:
[legend]

Public Types

enum  DofMapType { L2_DOF_MAP = 0, H1_DOF_MAP = 1 }
 

Public Member Functions

 TensorBasisElement (const int dims, const int p, const int btype, const DofMapType dmtype)
 
int GetBasisType () const
 
const Poly_1D::BasisGetBasis1D () const
 
const Array< int > & GetDofMap () const
 Get an Array<int> that maps lexicographically ordered indices to the indices of the respective nodes/dofs/basis functions. If the dofs are ordered lexicographically, i.e. the mapping is identity, the returned Array will be empty. More...
 

Static Public Member Functions

static int GetTensorProductGeometry (int dim)
 
static int Pow (int base, int dim)
 Return base raised to the power dim. More...
 

Protected Attributes

int b_type
 
Array< int > dof_map
 
Poly_1D::Basisbasis1d
 

Detailed Description

Definition at line 1648 of file fe.hpp.

Member Enumeration Documentation

Enumerator
L2_DOF_MAP 
H1_DOF_MAP 

Definition at line 1656 of file fe.hpp.

Constructor & Destructor Documentation

mfem::TensorBasisElement::TensorBasisElement ( const int  dims,
const int  p,
const int  btype,
const DofMapType  dmtype 
)

Definition at line 6676 of file fe.cpp.

Member Function Documentation

const Poly_1D::Basis& mfem::TensorBasisElement::GetBasis1D ( ) const
inline

Definition at line 1667 of file fe.hpp.

int mfem::TensorBasisElement::GetBasisType ( ) const
inline

Definition at line 1665 of file fe.hpp.

const Array<int>& mfem::TensorBasisElement::GetDofMap ( ) const
inline

Get an Array<int> that maps lexicographically ordered indices to the indices of the respective nodes/dofs/basis functions. If the dofs are ordered lexicographically, i.e. the mapping is identity, the returned Array will be empty.

Definition at line 1673 of file fe.hpp.

static int mfem::TensorBasisElement::GetTensorProductGeometry ( int  dim)
inlinestatic

Definition at line 1675 of file fe.hpp.

static int mfem::TensorBasisElement::Pow ( int  base,
int  dim 
)
inlinestatic

Return base raised to the power dim.

Definition at line 1687 of file fe.hpp.

Member Data Documentation

int mfem::TensorBasisElement::b_type
protected

Definition at line 1651 of file fe.hpp.

Poly_1D::Basis& mfem::TensorBasisElement::basis1d
protected

Definition at line 1653 of file fe.hpp.

Array<int> mfem::TensorBasisElement::dof_map
protected

Definition at line 1652 of file fe.hpp.


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