Reference documentation for deal.II version GIT relicensing-860-g3e6195f9ee 2024-06-20 00:40: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: LGPL-2.1-or-later
4// Copyright (C) 2010 - 2020 by the deal.II authors
5//
6// This file is part of the deal.II library.
7//
8// Part of the source code is dual licensed under Apache-2.0 WITH
9// LLVM-exception OR LGPL-2.1-or-later. Detailed license information
10// governing the source code and code contributions can be found in
11// LICENSE.md and CONTRIBUTING.md at the top level directory of deal.II.
12//
13// ------------------------------------------------------------------------
14
15
16#ifndef dealii_newton_h
17#define dealii_newton_h
18
19#include <deal.II/base/config.h>
20
23
25
27
29
30// Forward declaration
31#ifndef DOXYGEN
33#endif
34
35namespace Algorithms
36{
70 template <typename VectorType>
71 class Newton : public OperatorBase
72 {
73 public:
79
83 static void
85
89 void
91
95 void
97
104 virtual void
105 operator()(AnyData &out, const AnyData &in) override;
106
107 virtual void
108 notify(const Event &) override;
109
114 double
115 threshold(double new_value);
116
121
122 private:
127
132
138
144
154
168
169 public:
179 unsigned int debug;
180 };
181} // namespace Algorithms
182
184
185#endif
virtual void notify(const Event &) override
double assemble_threshold
Definition newton.h:167
unsigned int debug
Definition newton.h:179
SmartPointer< OperatorBase, Newton< VectorType > > residual
Definition newton.h:126
SmartPointer< OutputOperator< VectorType >, Newton< VectorType > > data_out
Definition newton.h:137
void initialize(OutputOperator< VectorType > &output)
ReductionControl control
Definition newton.h:120
Newton(OperatorBase &residual, OperatorBase &inverse_derivative)
SmartPointer< OperatorBase, Newton< VectorType > > inverse_derivative
Definition newton.h:131
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:153
#define DEAL_II_NAMESPACE_OPEN
Definition config.h:502
#define DEAL_II_NAMESPACE_CLOSE
Definition config.h:503