OpenFCST: The open-source Fuel Cell Simulation Toolbox
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
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 {
33  {
34  public:
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;
81  };
82 }
83 
84 #endif