Serac  0.1
Serac is an implicit thermal strucural mechanics simulation code.
Public Member Functions | Public Attributes | List of all members
serac::DofNumbering Struct Reference

this object extracts the dofs for each element in a FiniteElementSpace as a 2D array such that element_dofs_(e, i) will be the ith dof of element e. More...

#include <dof_numbering.hpp>

Public Member Functions

 DofNumbering (const mfem::ParFiniteElementSpace &fespace)
 create lookup tables of which degrees of freedom correspond to each element and boundary element More...
 

Public Attributes

CPUArray< SignedIndex, 2 > element_dofs_
 element_dofs_(e, i) stores the ith dof of element e.
 
CPUArray< SignedIndex, 2 > bdr_element_dofs_
 bdr_element_dofs_(b, i) stores the ith dof of boundary element b.
 

Detailed Description

this object extracts the dofs for each element in a FiniteElementSpace as a 2D array such that element_dofs_(e, i) will be the ith dof of element e.

Note: due to an internal inconsistency between mfem::FiniteElementSpace and mfem::FaceRestriction, we choose to use the Restriction operator as the "source of truth", since we are also using its convention for quadrature point numbering.

Definition at line 161 of file dof_numbering.hpp.

Constructor & Destructor Documentation

◆ DofNumbering()

serac::DofNumbering::DofNumbering ( const mfem::ParFiniteElementSpace &  fespace)
inline

create lookup tables of which degrees of freedom correspond to each element and boundary element

Parameters
fespacethe finite element space to extract dof numbers from

Definition at line 168 of file dof_numbering.hpp.


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