38 template <
typename CRConfig,
typename NLS,
typename Assembler>
40 static auto create(
const CRConfig& config, NLS&& nonlinearSolver, Assembler&& assembler) {
43 for (
auto& fe : assembler->finiteElements()) {
44 fe.template subscribeTo<NonLinearSolverMessages>(nonlinearSolver);
45 fe.template subscribeTo<ControlMessages>(cr);
Enums for observer messages.
Definition: assemblermanipulatorbuildingblocks.hh:22
auto createControlRoutine(const LoadControlConfig &config, NLS &&nonlinearSolver)
Function to create a load control instance.
Definition: loadcontrol.hh:45
A factory class for creating control routines.
Definition: controlroutinefactory.hh:25
static auto create(const CRConfig &config, NLS &&nonlinearSolver, Assembler &&assembler)
Creates the control routine and registering the elements to the broadcaster messages from the solver ...
Definition: controlroutinefactory.hh:40
Concept representing the requirements for a FlatAssembler.A type T satisfies FlatAssembler if it prov...
Definition: utils/concepts.hh:507