version 0.4.1
Ikarus::ControlRoutineFactory Struct Reference

A factory class for creating control routines. More...

#include <ikarus/controlroutines/controlroutinefactory.hh>

Static Public Member Functions

template<typename CRConfig , typename NLS , typename Assembler >
requires Concepts::FlatAssembler<typename std::remove_cvref_t<Assembler>::element_type>
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 and the control routine. More...
 

Detailed Description

This class is responsible for creating control routines using the provided config and an assembler. The assembler is used to register the finite elements to the broadcaster messages from the solver and the control routine.

Member Function Documentation

◆ create()

template<typename CRConfig , typename NLS , typename Assembler >
requires Concepts::FlatAssembler<typename std::remove_cvref_t<Assembler>::element_type>
static auto Ikarus::ControlRoutineFactory::create ( const CRConfig &  config,
NLS &&  nonlinearSolver,
Assembler &&  assembler 
)
inlinestatic
Template Parameters
NLSthe type of the nonlinear solver used by the control routine
Assemblerthe type of the assembler. It has to be a pointer and satisfy the FlatAssembler conncept
CRConfigThe Type of the config
Parameters
configthe config
nonlinearSolverthe nonlinear solver
assemblerthe assembler
Returns
The control routine

The documentation for this struct was generated from the following file: