A factory class for creating control routines.
More...
#include <ikarus/controlroutines/controlroutinefactory.hh>
|
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...
|
|
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.
◆ 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
-
NLS | the type of the nonlinear solver used by the control routine |
Assembler | the type of the assembler. It has to be a pointer and satisfy the FlatAssembler conncept |
CRConfig | The Type of the config |
- Parameters
-
config | the config |
nonlinearSolver | the nonlinear solver |
assembler | the assembler |
- Returns
- The control routine
The documentation for this struct was generated from the following file: