version 0.4.1
controlroutinestate.hh
Go to the documentation of this file.
1// SPDX-FileCopyrightText: 2021-2025 The Ikarus Developers mueller@ibb.uni-stuttgart.de
2// SPDX-License-Identifier: LGPL-3.0-or-later
3
9#pragma once
10
12
13namespace Ikarus {
14
20template <typename D>
22{
23 using Domain = D;
24
25 const Domain& domain;
26 int loadStep{};
27 double stepSize{};
28};
29
30namespace Impl {
31
32 template <typename F>
33 struct ControlRoutineStateFactory
34 {
35 private:
36 using SignatureTraits = typename F::Traits;
37 using Domain = typename SignatureTraits::Domain;
38
39 public:
40 using type = ControlRoutineState<Domain>;
41 };
42} // namespace Impl
43
49template <typename F>
51
52} // namespace Ikarus
Contains stl-like type traits.
Definition: assemblermanipulatorbuildingblocks.hh:22
State for control routines.
Definition: controlroutinestate.hh:22
const Domain & domain
Definition: controlroutinestate.hh:25
double stepSize
Definition: controlroutinestate.hh:27
int loadStep
Definition: controlroutinestate.hh:26
D Domain
Definition: controlroutinestate.hh:23