version 0.4.1
solverinfos.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
11#include <limits>
12
13namespace Ikarus {
21{
27 explicit operator bool() const { return success; }
28 bool success{false};
29 double residualNorm{std::numeric_limits<double>::infinity()};
30 double correctionNorm{std::numeric_limits<double>::infinity()};
31 int iterations{-1};
32};
33} // namespace Ikarus
Definition: assemblermanipulatorbuildingblocks.hh:22
Information about the result of a non-linear solver.
Definition: solverinfos.hh:21
double correctionNorm
Definition: solverinfos.hh:30
int iterations
Definition: solverinfos.hh:31
double residualNorm
Definition: solverinfos.hh:29
bool success
Definition: solverinfos.hh:28