WaveBEM: Unsteady Nonlinear Potential Flow Solver for Ship-Wave Interaction.
newton_argument.h
Go to the documentation of this file.
1
#ifndef newton_argument_h
2
#define newton_argument_h
3
4
#include <
deal.II/lac/vector.h
>
5
#include <
deal.II/lac/vector_view.h
>
6
7
using namespace
dealii
;
8
12
class
NewtonArgument
13
{
14
public
:
16
virtual
unsigned
int
n_dofs()
const
= 0;
17
22
virtual
void
output_step(
Vector<double>
&solution,
23
const
unsigned
int
step_number) = 0;
24
27
virtual
int
residual(
Vector<double>
&dst,
28
const
Vector<double>
&src_yy) = 0;
29
31
virtual
int
jacobian(
Vector<double>
&dst,
32
const
Vector<double>
&src_yy,
33
const
Vector<double>
&src);
34
37
virtual
int
setup_jacobian_prec(
const
Vector<double>
&src_yy);
38
41
virtual
int
jacobian_prec(
Vector<double>
&dst,
42
const
Vector<double>
&src_yy,
43
const
Vector<double>
&src);
44
47
virtual
int
jacobian_prec_prod(
Vector<double>
&dst,
48
const
Vector<double>
&src_yy,
49
const
Vector<double>
&src);
50
51
virtual
~NewtonArgument
() {};
52
53
};
54
55
#endif
Vector< double >
vector.h
NewtonArgument
Base class that needs to be inherited by any function that wants to use the newton solver class...
Definition:
newton_argument.h:12
vector_view.h
dealii
NewtonArgument::~NewtonArgument
virtual ~NewtonArgument()
Definition:
newton_argument.h:51
include
newton_argument.h
Generated on Fri May 6 2016 20:30:21 for WaveBEM: Unsteady Nonlinear Potential Flow Solver for Ship-Wave Interaction. by
1.8.10