Wrapper to evaluate results for a vtkwriter. More...
#include <ikarus/io/resultfunction.hh>
Public Types | |
using | FiniteElement = FE |
using | FERequirementType = typename FiniteElement::FERequirementType |
using | GridView = typename FiniteElement::GridView |
using | ctype = typename GridView::ctype |
using | Entity = typename GridView::template Codim< 0 >::Entity |
Public Member Functions | |
double | evaluate (int comp, const Entity &e, const Dune::FieldVector< ctype, griddim > &local) const override |
Evaluate the component at a given entity and local coordinates. More... | |
int | ncomps () const override |
Get the number of components. More... | |
constexpr std::string | name () const override |
Get the name of the result type. More... | |
ResultFunction (std::vector< FiniteElement > *fes, const FERequirementType &req) | |
Constructor for ResultFunction. More... | |
Static Public Attributes | |
static constexpr int | griddim = GridView::dimension |
Usage:
FE | Type of the finite element |
RT | requested result type |
UserFunction | Type of the user-defined function for custom result evaluation (default is DefaultUserFunction) |
using Ikarus::ResultFunction< FE, RT, UserFunction >::ctype = typename GridView::ctype |
using Ikarus::ResultFunction< FE, RT, UserFunction >::Entity = typename GridView::template Codim<0>::Entity |
using Ikarus::ResultFunction< FE, RT, UserFunction >::FERequirementType = typename FiniteElement::FERequirementType |
using Ikarus::ResultFunction< FE, RT, UserFunction >::FiniteElement = FE |
using Ikarus::ResultFunction< FE, RT, UserFunction >::GridView = typename FiniteElement::GridView |
|
inline |
Constructs a ResultFunction object with given finite elements, ferequirements
fes | Pointer to a vector of finite elements |
req | FERequirements for evaluation |
|
inlineoverride |
This function is required by the Dune::VTKFunction interface.
comp | Stress component index |
e | Entity on which to evaluate the stress |
local | Local coordinates within the entity |
|
inlineconstexproverride |
This function is required by the Dune::VTKFunction interface.
|
inlineoverride |
This function is required by the Dune::VTKFunction interface.
|
staticconstexpr |