Serac
0.1
Serac is an implicit thermal strucural mechanics simulation code.
|
This file contains the declaration of structure that manages the MFEM objects that make up the state for a given field. More...
#include <functional>
#include <memory>
#include <optional>
#include "mfem.hpp"
#include "serac/infrastructure/variant.hpp"
#include "serac/physics/state/finite_element_vector.hpp"
Go to the source code of this file.
Classes | |
class | serac::FiniteElementState |
Class for encapsulating the critical MFEM components of a primal finite element field. More... | |
Namespaces | |
serac | |
Accelerator functionality. | |
Functions | |
bool | serac::is_scalar_valued (const GeneralCoefficient &coef) |
convenience function for querying the type stored in a GeneralCoefficient | |
bool | serac::is_vector_valued (const GeneralCoefficient &coef) |
convenience function for querying the type stored in a GeneralCoefficient | |
double | serac::norm (const FiniteElementState &state, const double p=2) |
Find the Lp norm of a finite element state across all dofs. More... | |
double | serac::computeL2Error (const FiniteElementState &state, mfem::VectorCoefficient &exact_solution) |
Find the L2 norm of the error of a vector-valued finite element state with respect to an exact solution. More... | |
double | serac::computeL2Error (const FiniteElementState &state, mfem::Coefficient &exact_solution) |
Find the L2 norm of the error of a scalar-valued finite element state with respect to an exact solution. More... | |
This file contains the declaration of structure that manages the MFEM objects that make up the state for a given field.
Definition in file finite_element_state.hpp.