MFEM v4.10.0
Finite element discretization library
Loading...
Searching...
No Matches
mfem::RaggedDofToQuad Class Reference

Structure representing the matrices/tensors needed to evaluate (in reference space) the values, gradients, divergences, or curls of a positive FiniteElement on simplices at the quadrature points of Stroud conical quadrature. More...

#include <fe_base.hpp>

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

Public Attributes

Array< real_tBa1
 Special basis function structures for positive (Bernstein) basis with partial assembly. The storage layout of Ba1 is ndof x nqpt for scalar elements. The storage layout of Ba2 is ndof x ndof x nqpt. In particular, we have Ba2(iqpt, a1, a2) = B^{p-a1}_{a2}(x_{iqpt}).
 
Array< real_tBa2
 
Array< real_tBa3
 
Array< real_tBa1t
 
Array< real_tBa2t
 
Array< real_tBa3t
 
Array< real_tGa1
 Special structures for gradients of positive basis with partial assembly. The gradient arrays exploit properties of the Bernstein basis which allow grad(B^p_alpha) to be expressed as the sum of products of B^{p-1}_alpha and the barycentric coordinates. Thus, Ga1 and Ga2 simply contain the ragged tensor product components of B^{p-1}_alpha.
 
Array< real_tGa2
 
Array< real_tGa3
 
Array< real_tGa1t
 
Array< real_tGa2t
 
Array< real_tGa3t
 
Array< int > lex_map
 Mapping from the Bernstein multi-index (a_1, ..., a_d) to the lexicographic dof index.
 
Array< int > forward_map2d_diff
 
Array< int > forward_map3d_diff
 
Array< int > inverse_map2d_diff
 
Array< int > inverse_map3d_diff
 
Array< int > forward_map2d_mass
 
Array< int > forward_map3d_mass
 
Array< int > inverse_map2d_mass
 
Array< int > inverse_map3d_mass
 
- Public Attributes inherited from mfem::DofToQuad
const class FiniteElementFE
 The FiniteElement that created and owns this object.
 
const IntegrationRuleIntRule
 IntegrationRule that defines the quadrature points at which the basis functions of the FE are evaluated.
 
Mode mode
 Describes the contents of the B, Bt, G, and Gt arrays, see Mode.
 
int ndof
 Number of degrees of freedom = number of basis functions. When mode is TENSOR, this is the 1D number.
 
int nqpt
 Number of quadrature points. When mode is TENSOR, this is the 1D number.
 
Array< real_tB
 Basis functions evaluated at quadrature points.
 
Array< real_tBt
 Transpose of B.
 
Array< real_tG
 Gradients/divergences/curls of basis functions evaluated at quadrature points.
 
Array< real_tGt
 Transpose of G.
 

Additional Inherited Members

- Public Types inherited from mfem::DofToQuad
enum  Mode { FULL , TENSOR , LEXICOGRAPHIC_FULL , RAGGED_TENSOR }
 Type of data stored in the arrays B, Bt, G, and Gt. More...
 
- Public Member Functions inherited from mfem::DofToQuad
DofToQuad Abs () const
 Returns absolute value of the maps.
 
virtual ~DofToQuad ()=default
 
- Static Public Member Functions inherited from mfem::DofToQuad
static DofToQuadSearchArray (const Array< DofToQuad * > &dof2quad_array, const IntegrationRule &ir, DofToQuad::Mode mode)
 Auxiliary function for searching DofToQuad arrays.
 

Detailed Description

Structure representing the matrices/tensors needed to evaluate (in reference space) the values, gradients, divergences, or curls of a positive FiniteElement on simplices at the quadrature points of Stroud conical quadrature.

Definition at line 246 of file fe_base.hpp.

Member Data Documentation

◆ Ba1

Array<real_t> mfem::RaggedDofToQuad::Ba1

Special basis function structures for positive (Bernstein) basis with partial assembly. The storage layout of Ba1 is ndof x nqpt for scalar elements. The storage layout of Ba2 is ndof x ndof x nqpt. In particular, we have Ba2(iqpt, a1, a2) = B^{p-a1}_{a2}(x_{iqpt}).

Definition at line 253 of file fe_base.hpp.

◆ Ba1t

Array<real_t> mfem::RaggedDofToQuad::Ba1t

Definition at line 254 of file fe_base.hpp.

◆ Ba2

Array<real_t> mfem::RaggedDofToQuad::Ba2

Definition at line 253 of file fe_base.hpp.

◆ Ba2t

Array<real_t> mfem::RaggedDofToQuad::Ba2t

Definition at line 254 of file fe_base.hpp.

◆ Ba3

Array<real_t> mfem::RaggedDofToQuad::Ba3

Definition at line 253 of file fe_base.hpp.

◆ Ba3t

Array<real_t> mfem::RaggedDofToQuad::Ba3t

Definition at line 254 of file fe_base.hpp.

◆ forward_map2d_diff

Array<int> mfem::RaggedDofToQuad::forward_map2d_diff

Definition at line 267 of file fe_base.hpp.

◆ forward_map2d_mass

Array<int> mfem::RaggedDofToQuad::forward_map2d_mass

Definition at line 270 of file fe_base.hpp.

◆ forward_map3d_diff

Array<int> mfem::RaggedDofToQuad::forward_map3d_diff

Definition at line 267 of file fe_base.hpp.

◆ forward_map3d_mass

Array<int> mfem::RaggedDofToQuad::forward_map3d_mass

Definition at line 270 of file fe_base.hpp.

◆ Ga1

Array<real_t> mfem::RaggedDofToQuad::Ga1

Special structures for gradients of positive basis with partial assembly. The gradient arrays exploit properties of the Bernstein basis which allow grad(B^p_alpha) to be expressed as the sum of products of B^{p-1}_alpha and the barycentric coordinates. Thus, Ga1 and Ga2 simply contain the ragged tensor product components of B^{p-1}_alpha.

Definition at line 260 of file fe_base.hpp.

◆ Ga1t

Array<real_t> mfem::RaggedDofToQuad::Ga1t

Definition at line 261 of file fe_base.hpp.

◆ Ga2

Array<real_t> mfem::RaggedDofToQuad::Ga2

Definition at line 260 of file fe_base.hpp.

◆ Ga2t

Array<real_t> mfem::RaggedDofToQuad::Ga2t

Definition at line 261 of file fe_base.hpp.

◆ Ga3

Array<real_t> mfem::RaggedDofToQuad::Ga3

Definition at line 260 of file fe_base.hpp.

◆ Ga3t

Array<real_t> mfem::RaggedDofToQuad::Ga3t

Definition at line 261 of file fe_base.hpp.

◆ inverse_map2d_diff

Array<int> mfem::RaggedDofToQuad::inverse_map2d_diff

Definition at line 268 of file fe_base.hpp.

◆ inverse_map2d_mass

Array<int> mfem::RaggedDofToQuad::inverse_map2d_mass

Definition at line 271 of file fe_base.hpp.

◆ inverse_map3d_diff

Array<int> mfem::RaggedDofToQuad::inverse_map3d_diff

Definition at line 268 of file fe_base.hpp.

◆ inverse_map3d_mass

Array<int> mfem::RaggedDofToQuad::inverse_map3d_mass

Definition at line 271 of file fe_base.hpp.

◆ lex_map

Array<int> mfem::RaggedDofToQuad::lex_map

Mapping from the Bernstein multi-index (a_1, ..., a_d) to the lexicographic dof index.

Definition at line 265 of file fe_base.hpp.


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