Input

CRTP base class for inputs.

Defined in Rodin/Solid/Local/Input.h

template <
  class Derived>
class Input;
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& other) protected defaulted
Copy constructor.
Input(Input&& other) protected defaulted
Move constructor.

Public functions

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

Protected functions

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

Function documentation

Input(const Input& other) protected defaulted

Copy constructor.

Parameters
other Object to copy from.

Input(Input&& other) protected defaulted

Move constructor.

Parameters
other Object to move from.

void 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.

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

Copy assignment operator.

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

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

Move assignment operator.

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