Output

CRTP base class for outputs.

Defined in Rodin/Solid/Local/Output.h

template <
  class Derived>
class Output;
Template parameters
Derived The concrete output type (CRTP)

Derived classes implement an extract(const ConstitutivePoint&, const Law&) 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& other) protected defaulted
Copy constructor.
Output(Output&& other) protected defaulted
Move constructor.

Public functions

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

Protected functions

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

Function documentation

Output(const Output& other) protected defaulted

Copy constructor.

Parameters
other Object to copy from.

Output(Output&& other) protected defaulted

Move constructor.

Parameters
other Object to move from.

template<class Derived> template<class Law>
void extract(const ConstitutivePoint& cp, const Law& law) const

Extracts data from a constitutive evaluation.

Parameters
cp in The evaluated constitutive point
law in The prepared law at cp

Called at each quadrature point after the constitutive law has prepared its owned state.

Output& operator=(const Output& other) protected defaulted

Copy assignment operator.

Parameters
other Object to copy from.
Returns Reference to this object after the operation.

Output& operator=(Output&& other) protected defaulted

Move assignment operator.

Parameters
other Object to move from.
Returns Reference to this object after the operation.