version 0.4.4
controlinfos.hh
Go to the documentation of this file.
1// SPDX-FileCopyrightText: 2021-2025 The Ikarus Developers ikarus@ibb.uni-stuttgart.de
2// SPDX-License-Identifier: LGPL-3.0-or-later
3
10#pragma once
11#include <string>
12#include <vector>
13
15
16namespace Ikarus {
17
23{
24 ControlInformation(const std::string& n = "")
25 : name(n) {}
26
27 bool success{false};
28 std::vector<Ikarus::NonLinearSolverInformation>
31 std::string name{};
32};
33
34} // namespace Ikarus
Implementation of the solver information returned by the nonlinear solvers.
Definition: assemblermanipulatorbuildingblocks.hh:22
Structure containing information about the control results.
Definition: controlinfos.hh:23
ControlInformation(const std::string &n="")
Definition: controlinfos.hh:24
int totalIterations
Total number of iterations performed.
Definition: controlinfos.hh:30
std::string name
Information about the name of the control method.
Definition: controlinfos.hh:31
bool success
Flag indicating the success of the control.
Definition: controlinfos.hh:27
std::vector< Ikarus::NonLinearSolverInformation > solverInfos
Vector containing information from nonlinear solvers.
Definition: controlinfos.hh:29