Anasazi
Version of the Day
Toggle main menu visibility
Loading...
Searching...
No Matches
src
AnasaziSolverManager.hpp
Go to the documentation of this file.
1
// @HEADER
2
// *****************************************************************************
3
// Anasazi: Block Eigensolvers Package
4
//
5
// Copyright 2004 NTESS and the Anasazi contributors.
6
// SPDX-License-Identifier: BSD-3-Clause
7
// *****************************************************************************
8
// @HEADER
9
10
#ifndef ANASAZI_SOLVERMANAGER_HPP
11
#define ANASAZI_SOLVERMANAGER_HPP
12
16
17
#include "
AnasaziConfigDefs.hpp
"
18
#include "
AnasaziTypes.hpp
"
19
#include "
AnasaziEigenproblem.hpp
"
20
21
#include "Teuchos_ParameterList.hpp"
22
#include "Teuchos_RCP.hpp"
23
#include "Teuchos_Array.hpp"
24
#include "Teuchos_Time.hpp"
25
30
31
namespace
Anasazi
{
32
33
template
<
class
ScalarType,
class
MV,
class
OP>
34
class
SolverManager
{
35
36
public
:
37
39
40
42
SolverManager
() {};
43
45
virtual
~SolverManager
() {};
47
49
50
52
virtual
const
Eigenproblem<ScalarType,MV,OP>
&
getProblem
()
const
= 0;
53
55
virtual
int
getNumIters
()
const
= 0;
56
58
virtual
Teuchos::Array<Teuchos::RCP<Teuchos::Time> >
getTimers
()
const
59
{
60
Teuchos::Array<Teuchos::RCP<Teuchos::Time> > null_time;
61
return
null_time;
62
}
63
65
67
68
77
virtual
ReturnType
solve
() = 0;
79
80
};
81
82
}
// end Anasazi namespace
83
84
#endif
/* ANASAZI_SOLVERMANAGER_HPP */
AnasaziConfigDefs.hpp
Anasazi header file which uses auto-configuration information to include necessary C++ headers.
AnasaziEigenproblem.hpp
Abstract base class which defines the interface required by an eigensolver and status test class to c...
AnasaziTypes.hpp
Types and exceptions used within Anasazi solvers and interfaces.
Anasazi::Eigenproblem
This class defines the interface required by an eigensolver and status test class to compute solution...
Definition
AnasaziEigenproblem.hpp:32
Anasazi::SolverManager::solve
virtual ReturnType solve()=0
This method performs possibly repeated calls to the underlying eigensolver's iterate() routine until ...
Anasazi::SolverManager::getNumIters
virtual int getNumIters() const =0
Get the iteration count for the most recent call to solve().
Anasazi::SolverManager::~SolverManager
virtual ~SolverManager()
Destructor.
Definition
AnasaziSolverManager.hpp:45
Anasazi::SolverManager::getTimers
virtual Teuchos::Array< Teuchos::RCP< Teuchos::Time > > getTimers() const
Return the timers for this object.
Definition
AnasaziSolverManager.hpp:58
Anasazi::SolverManager::SolverManager
SolverManager()
Empty constructor.
Definition
AnasaziSolverManager.hpp:42
Anasazi::SolverManager::getProblem
virtual const Eigenproblem< ScalarType, MV, OP > & getProblem() const =0
Return the eigenvalue problem.
Anasazi
Namespace Anasazi contains the classes, structs, enums and utilities used by the Anasazi package.
Anasazi::ReturnType
ReturnType
Enumerated type used to pass back information from a solver manager.
Definition
AnasaziTypes.hpp:89
Generated by
1.17.0