waves
Basic FE playground
IterativeSolver.h
Go to the documentation of this file.
1 #ifndef KATOPTRON_ITERATIVESOLVER_H
2 #define KATOPTRON_ITERATIVESOLVER_H
3 
4 #include "katoptron.h"
5 #include "wObject.h"
6 #include "wTimer.h"
7 #include "wTimers.h"
8 #include "Teuchos_ParameterList.hpp"
9 
10 #include "LinearSolver.h"
11 
12 namespace katoptron
13 {
14 
19 {
20 public:
21  IterativeSolver(Problem &pbl, Teuchos::RCP<Teuchos::ParameterList> solverList,
22  int numPrimalDPN = 3,
23  size_t minimum_ensemble_size = 1)
24  : LinearSolver(pbl, solverList, numPrimalDPN, minimum_ensemble_size){};
25 #ifndef SWIG
26  virtual void write(std::ostream &out) const;
27 #endif
28  void start();
29 
30 private:
31  template <typename scalar>
32  void tstart();
33 };
34 
35 } // namespace katoptron
36 
37 #endif //KATOPTRON_ITERATIVESOLVER_H
KATOPTRON_API
#define KATOPTRON_API
Definition: katoptron.h:13
katoptron::LinearSolver
Solver class which includes utilities such as timers and VTK writers.
Definition: LinearSolver.h:78
katoptron
katoptron namespace
Definition: Algebraic.h:18
katoptron::IterativeSolver
Solver class where the active set strategy is implemented.
Definition: IterativeSolver.h:18
LinearSolver.h
katoptron::Problem
Class which is used to specify in Python the thermomechanical to solve.
Definition: wProblem.h:19
katoptron.h
katoptron::IterativeSolver::IterativeSolver
IterativeSolver(Problem &pbl, Teuchos::RCP< Teuchos::ParameterList > solverList, int numPrimalDPN=3, size_t minimum_ensemble_size=1)
Definition: IterativeSolver.h:21