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

CRTP base class for inputs.

Template parameters
Derived The concrete input type (CRTP)

Derived classes implement a populate(ConstitutivePoint&) method that injects auxiliary data into the ConstitutivePoint at each quadrature point during assembly.

Constructors, destructors, conversion operators

Input() protected defaulted
Default constructor for derived CRTP inputs.
Input(const Input&) protected defaulted
Copy constructor.
Input(Input&&) protected defaulted
Move constructor.

Public functions

void populate(ConstitutivePoint& cp) const
Populates a ConstitutivePoint with auxiliary data.

Protected functions

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

Function documentation

template<class Derived>
void Rodin::Solid::Input<Derived>::populate(ConstitutivePoint& cp) const

Populates a ConstitutivePoint with auxiliary data.

Parameters
cp in/out The constitutive point to populate

Called by integrators at each quadrature point after the kinematic state and geometric context have been set.