version 0.4
Ikarus::FEHelper Namespace Reference

Functions

template<typename Traits , typename ScalarType >
auto localSolutionBlockVector (const typename Traits::FERequirementType::SolutionVectorTypeRaw &x, const typename Traits::LocalView &localView, const std::optional< const Eigen::VectorX< ScalarType > > &dx=std::nullopt)
 Gets the local solution Dune block vector. More...
 

Function Documentation

◆ localSolutionBlockVector()

template<typename Traits , typename ScalarType >
auto Ikarus::FEHelper::localSolutionBlockVector ( const typename Traits::FERequirementType::SolutionVectorTypeRaw &  x,
const typename Traits::LocalView &  localView,
const std::optional< const Eigen::VectorX< ScalarType > > &  dx = std::nullopt 
)
Template Parameters
TraitsType of the FE traits.
ScalarTypeScalar type for the local solution vector.
Parameters
xThe global solution vector.
localViewLocal view of the element.
dxOptional global solution vector.
Returns
A Dune block vector representing the solution quantities at each node.