OpenFCST: The open-source Fuel Cell Simulation Toolbox
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
fcst
include
solvers
newton_w_line_search.h
Go to the documentation of this file.
1
//---------------------------------------------------------------------------
2
// $Id: newton_w_line_search.h 1354 2013-08-17 00:01:22Z secanell $
3
//
4
// Copyright (C) 2007 by Marc Secanell
5
//
6
// This file is subject to QPL and may not be distributed
7
// without copyright and license information. Please refer
8
// to the file deal.II/doc/license.html for the text and
9
// further information on this license.
10
//
11
//---------------------------------------------------------------------------
12
13
#ifndef __deal2__appframe__newton_w_lines_search_h
14
#define __deal2__appframe__newton_w_lines_search_h
15
16
#include <
appframe/base.h
>
17
#include <
appframe/residual.h
>
18
#include <lac/solver_control.h>
19
#include <
newton_base.h
>
20
21
22
23
namespace
AppFrame
24
{
32
class
NewtonLineSearch
:
public
newtonBase
33
{
34
public
:
41
static
const
AppFrame::Event
bad_derivative
;
46
NewtonLineSearch
(
ApplicationBase
&
app
);
47
49
virtual
void
declare_parameters
(ParameterHandler& param);
50
52
void
_initialize
(ParameterHandler& param);
53
55
virtual
void
initialize
(ParameterHandler& param);
56
60
virtual
void
solve
(
AppFrame::FEVector
& u,
61
const
AppFrame::FEVectors
& in_vectors);
62
63
64
private
:
65
72
double
overrelax
;
76
unsigned
int
overrelax_steps
;
80
bool
line_search
;
81
};
82
}
83
84
#endif
Generated on Fri Aug 30 2013 17:15:54 for OpenFCST: The open-source Fuel Cell Simulation Toolbox by
1.8.2