version 0.4.1
solverinfos.hh
Go to the documentation of this file.
1// SPDX-FileCopyrightText: 2021-2024 The Ikarus Developers mueller@ibb.uni-stuttgart.de
2// SPDX-License-Identifier: LGPL-3.0-or-later
3
9#pragma once
10
11namespace Ikarus {
19{
25 explicit operator bool() const { return success; }
26 bool success{false};
27 double residualNorm{std::numeric_limits<double>::infinity()};
28 double correctionNorm{std::numeric_limits<double>::infinity()};
29 int iterations{-1};
30};
31} // namespace Ikarus
Definition: assemblermanipulatorbuildingblocks.hh:22
Information about the result of a non-linear solver.
Definition: solverinfos.hh:19
double correctionNorm
Definition: solverinfos.hh:28
int iterations
Definition: solverinfos.hh:29
double residualNorm
Definition: solverinfos.hh:27
bool success
Definition: solverinfos.hh:26