Belos  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
BelosFixedPointIteration.hpp
Go to the documentation of this file.
1 // @HEADER
2 // *****************************************************************************
3 // Belos: Block Linear Solvers Package
4 //
5 // Copyright 2004-2016 NTESS and the Belos contributors.
6 // SPDX-License-Identifier: BSD-3-Clause
7 // *****************************************************************************
8 // @HEADER
9 
10 #ifndef BELOS_FIXEDPOINT_ITERATION_HPP
11 #define BELOS_FIXEDPOINT_ITERATION_HPP
12 
17 #include "BelosConfigDefs.hpp"
18 #include "BelosTypes.hpp"
19 #include "BelosIteration.hpp"
20 
21 namespace Belos {
22 
24 
25 
30  template <class ScalarType, class MV>
32 
35 
38 
39  FixedPointIterationState() : R(Teuchos::null), Z(Teuchos::null)
40  {}
41  };
42 
43 template<class ScalarType, class MV, class OP>
44 class FixedPointIteration : virtual public Iteration<ScalarType,MV,OP> {
45 
46  public:
47 
49 
50 
64 
73 
74 };
75 
76 } // end Belos namespace
77 
78 #endif /* BELOS_FIXEDPOINT_ITERATION_HPP */
Collection of types and exceptions used within the Belos solvers.
Pure virtual base class which describes the basic interface to the linear solver iteration.
virtual FixedPointIterationState< ScalarType, MV > getState() const =0
Get the current state of the linear solver.
Teuchos::RCP< const MV > R
The current residual.
virtual void initializeFixedPoint(FixedPointIterationState< ScalarType, MV > &newstate)=0
Initialize the solver to an iterate, providing a complete state.
Structure to contain pointers to FixedPointIteration state variables.
Teuchos::RCP< const MV > Z
The current preconditioned residual.
Belos header file which uses auto-configuration information to include necessary C++ headers...

Generated on Thu Oct 24 2024 09:25:33 for Belos by doxygen 1.8.5