template<class Derived>
Rodin::Solid::Output class

CRTP base class for outputs.

Template parameters
Derived The concrete output type (CRTP)

Derived classes implement an extract(const ConstitutivePoint&, const Cache&) method that reads quantities out of a constitutive evaluation at each quadrature point.

Constructors, destructors, conversion operators

Output() protected defaulted
Default constructor for derived CRTP outputs.
Output(const Output&) protected defaulted
Copy constructor.
Output(Output&&) protected defaulted
Move constructor.

Public functions

template<class Cache>
void extract(const ConstitutivePoint& cp, const Cache& cache) const
Extracts data from a constitutive evaluation.

Protected functions

auto operator=(const Output&) -> Output& defaulted
Copy assignment operator.
auto operator=(Output&&) -> Output& defaulted
Move assignment operator.

Function documentation

template<class Derived> template<class Cache>
void Rodin::Solid::Output<Derived>::extract(const ConstitutivePoint& cp, const Cache& cache) const

Extracts data from a constitutive evaluation.

Parameters
cp in The evaluated constitutive point
cache in The law's cache at cp

Called at each quadrature point after the constitutive law has populated its cache.