Serac
0.1
Serac is an implicit thermal strucural mechanics simulation code.
|
This file contains the declaration of structure that manages vectors derived from an MFEM finite element space. More...
#include <optional>
#include "mfem.hpp"
#include "serac/infrastructure/variant.hpp"
#include "serac/numerics/functional/functional.hpp"
Go to the source code of this file.
Classes | |
class | serac::FiniteElementVector |
Class for encapsulating the data associated with a vector derived from a MFEM finite element space. Specifically, it contains the information needed for both primal finite element state fields and dual finite element vectors. More... | |
Namespaces | |
serac | |
Accelerator functionality. | |
Typedefs | |
using | serac::GeneralCoefficient = variant< std::shared_ptr< mfem::Coefficient >, std::shared_ptr< mfem::VectorCoefficient > > |
A sum type for encapsulating either a scalar or vector coeffient. | |
Enumerations | |
enum class | serac::ElementType { serac::H1 , serac::HCURL , serac::HDIV , serac::L2 } |
The type of a finite element basis function. More... | |
Functions | |
double | serac::avg (const FiniteElementVector &fe_vector) |
Find the average value of a finite element vector across all dofs. More... | |
double | serac::max (const FiniteElementVector &fe_vector) |
Find the max value of a finite element vector across all dofs. More... | |
double | serac::min (const FiniteElementVector &fe_vector) |
Find the min value of a finite element vector across all dofs. More... | |
double | serac::innerProduct (const FiniteElementVector &vec1, const FiniteElementVector &vec2) |
Find the inner prodcut between two finite element vectors across all dofs. More... | |
This file contains the declaration of structure that manages vectors derived from an MFEM finite element space.
Definition in file finite_element_vector.hpp.