deal.II version GIT relicensing-6834-g5b78e6bcdf 2026-10-01 11:20:01+00:00
\(\newcommand{\dealvcentcolon}{\mathrel{\mathop{:}}}\) \(\newcommand{\dealcoloneq}{\dealvcentcolon\mathrel{\mkern-1.2mu}=}\) \(\newcommand{\jump}[1]{\left[\!\left[ #1 \right]\!\right]}\) \(\newcommand{\average}[1]{\left\{\!\left\{ #1 \right\}\!\right\}}\)
Loading...
Searching...
No Matches
newton.h
Go to the documentation of this file.
1// -----------------------------------------------------------------------------
2//
3// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception OR LGPL-2.1-or-later
4// Copyright (C) 2010 - 2025 by the deal.II authors
5//
6// This file is part of the deal.II library.
7//
8// Detailed license information governing the source code and contributions
9// can be found in LICENSE.md and CONTRIBUTING.md at the top level directory.
10//
11// -----------------------------------------------------------------------------
12
13
14#ifndef dealii_newton_h
15#define dealii_newton_h
16
17#include <deal.II/base/config.h>
18
21
22#include <deal.II/base/event.h>
24
26
28
29// Forward declaration
30#ifndef DOXYGEN
32#endif
33
34namespace Algorithms
35{
69 template <typename VectorType>
71 {
72 public:
77 Newton(OperatorBase &residual, OperatorBase &inverse_derivative);
78
82 static void
84
88 void
90
94 void
96
103 virtual void
104 operator()(AnyData &out, const AnyData &in) override;
105
106 virtual void
107 notify(const Event &) override;
108
113 double
114 threshold(double new_value);
115
120
121 private:
126
131
137
143
153
167
168 public:
178 unsigned int debug;
179 };
180} // namespace Algorithms
181
183
184#endif
ObserverPointer< OperatorBase, Newton< VectorType > > inverse_derivative
Definition newton.h:130
virtual void notify(const Event &) override
double assemble_threshold
Definition newton.h:166
unsigned int debug
Definition newton.h:178
ObserverPointer< OutputOperator< VectorType >, Newton< VectorType > > data_out
Definition newton.h:136
void initialize(OutputOperator< VectorType > &output)
ReductionControl control
Definition newton.h:119
Newton(OperatorBase &residual, OperatorBase &inverse_derivative)
ObserverPointer< OperatorBase, Newton< VectorType > > residual
Definition newton.h:125
virtual void operator()(AnyData &out, const AnyData &in) override
static void declare_parameters(ParameterHandler &param)
void parse_parameters(ParameterHandler &param)
double threshold(double new_value)
unsigned int n_stepsize_iterations
Definition newton.h:152
#define DEAL_II_DEPRECATED
Definition config.h:294
#define DEAL_II_NAMESPACE_OPEN
Definition config.h:38
#define DEAL_II_NAMESPACE_CLOSE
Definition config.h:39