MFEM
v4.3.0
Finite element discretization library

Structure representing the matrices/tensors needed to evaluate (in reference space) the values, gradients, divergences, or curls of a FiniteElement at a the quadrature points of a given IntegrationRule. More...
#include <fe.hpp>
Public Types  
enum  Mode { FULL, TENSOR } 
Type of data stored in the arrays B, Bt, G, and Gt. More...  
Public Attributes  
class FiniteElement *  FE 
The FiniteElement that created and owns this object. More...  
const IntegrationRule *  IntRule 
IntegrationRule that defines the quadrature points at which the basis functions of the FE are evaluated. More...  
Mode  mode 
Describes the contents of the B, Bt, G, and Gt arrays, see Mode. More...  
int  ndof 
Number of degrees of freedom = number of basis functions. When mode is TENSOR, this is the 1D number. More...  
int  nqpt 
Number of quadrature points. When mode is TENSOR, this is the 1D number. More...  
Array< double >  B 
Basis functions evaluated at quadrature points. More...  
Array< double >  Bt 
Transpose of B. More...  
Array< double >  G 
Gradients/divergences/curls of basis functions evaluated at quadrature points. More...  
Array< double >  Gt 
Transpose of G. More...  
Structure representing the matrices/tensors needed to evaluate (in reference space) the values, gradients, divergences, or curls of a FiniteElement at a the quadrature points of a given IntegrationRule.
Object of this type are typically created and owned by the respective FiniteElement object.
Type of data stored in the arrays B, Bt, G, and Gt.
Enumerator  

FULL 
Full multidimensional representation which does not use tensor product structure. The ordering of the degrees of freedom is as defined by FE. 
TENSOR 
Tensor product representation using 1D matrices/tensors with dimensions using 1D number of quadrature points and degrees of freedom. When representing a vectorvalued FiniteElement, two DofToQuad objects are used to describe the "closed" and "open" 1D basis functions (TODO). 
Array<double> mfem::DofToQuad::B 
Array<double> mfem::DofToQuad::Bt 
class FiniteElement* mfem::DofToQuad::FE 
The FiniteElement that created and owns this object.
This pointer is not owned.
Array<double> mfem::DofToQuad::G 
Gradients/divergences/curls of basis functions evaluated at quadrature points.
The storage layout is columnmajor with dimensions:
where
Array<double> mfem::DofToQuad::Gt 
const IntegrationRule* mfem::DofToQuad::IntRule 
IntegrationRule that defines the quadrature points at which the basis functions of the FE are evaluated.
This pointer is not owned.
Mode mfem::DofToQuad::mode 
int mfem::DofToQuad::ndof 
int mfem::DofToQuad::nqpt 