Class representing the requirements for finite element calculations. More...
#include <ikarus/finiteelements/ferequirements.hh>
Public Types | |
using | SolutionVectorType = SV |
using | ParameterType = PM |
Public Member Functions | |
FERequirements ()=default | |
FERequirements (SolutionVectorInputType solVec, ParameterInputType parameter) | |
FERequirements & | insertParameter (ParameterInputType val) |
Insert a parameter into the requirements. More... | |
FERequirements & | insertGlobalSolution (SolutionVectorInputType solVec) |
Insert a global solution vector into the requirements. More... | |
SolutionVectorReturnType | globalSolution () |
Get the global solution vector. More... | |
SVHelper::ConstReturnType | globalSolution () const |
Get the global solution vector. *. More... | |
PMHelper::ConstReturnType | parameter () const |
Get the parameter value. More... | |
ParameterReturnType | parameter () |
Get the parameter value. More... | |
bool | populated () const |
Tells if the class contains all needed values. More... | |
Static Public Attributes | |
static constexpr FESolutions | globalSolutionTag = sol |
static constexpr FEParameter | parameterTag = para |
This class defines the requirements for finite element calculations, including the types of solution vectors and parameters needed. It provides methods to add affordances, insert parameters, and manage global solution vectors.
SV | Type of the solution vector, defaulting to <Eigen::VectorXd. |
PM | Type of the parameter, defaulting to double. |
using Ikarus::FERequirements< sol, para, SV, PM >::ParameterType = PM |
using Ikarus::FERequirements< sol, para, SV, PM >::SolutionVectorType = SV |
|
default |
|
inline |
|
inline |
|
inline |
|
inline |
This function inserts the specified global solution vector into the requirements.
solVec | Reference to the raw global solution vector. |
|
inline |
This function inserts the specified parameter into the requirements.
val | Reference to the raw parameter value. |
|
inline |
|
inline |
|
inline |
|
staticconstexpr |
|
staticconstexpr |