escript  Revision_
SolverOptions.h
Go to the documentation of this file.
1 
2 /******************************************************************************
3 *
4 * Copyright (c) 2003-2020 by The University of Queensland
5 * http://www.uq.edu.au
6 *
7 * Primary Business: Queensland, Australia
8 * Licensed under the Apache License, version 2.0
9 * http://www.apache.org/licenses/LICENSE-2.0
10 *
11 * Development until 2012 by Earth Systems Science Computational Center (ESSCC)
12 * Development 2012-2013 by School of Earth Sciences
13 * Development from 2014-2017 by Centre for Geoscience Computing (GeoComp)
14 * Development from 2019 by School of Earth and Environmental Sciences
15 **
16 *****************************************************************************/
17 
18 #ifndef __ESCRIPT_SOLVEROPTIONS_H__
19 #define __ESCRIPT_SOLVEROPTIONS_H__
20 
21 #include <boost/python/dict.hpp>
22 #include <boost/python/object.hpp>
23 #include "system_dep.h"
24 
25 namespace escript {
26 
80 enum SolverOptions
81 {
82  SO_DEFAULT,
83 
84  // Solver targets
87 
88  // Solver packages
93 
94  // Solver methods
115 
116  // Preconditioners
125 
126  // ODE solvers
130 
131  // Interpolation methods
135 
140 };
141 
143 inline bool isDirectSolver(const SolverOptions& method)
144 {
145  switch (method) {
151  return true;
152  default:
153  break;
154  }
155  return false;
156 }
157 
159 {
160 public:
163 
167  std::string getSummary() const;
168 
174  const char* getName(int key) const;
175 
182  void resetDiagnostics(bool all=false);
183 
192  void updateDiagnosticsPy(const std::string& key,
193  const boost::python::object& value);
194 
195  void updateDiagnostics(const std::string& key, bool value);
196  void updateDiagnostics(const std::string& key, int value);
197  void updateDiagnostics(const std::string& key, double value);
198 
227  double getDiagnostics(const std::string name) const;
228 
236  bool hasConverged() const;
237 
252  void setPreconditioner(int preconditioner);
253 
257  SolverOptions getPreconditioner() const;
258 
279  void setSolverMethod(int method);
280 
284  SolverOptions getSolverMethod() const;
285 
298  void setPackage(int package);
299 
303  SolverOptions getPackage() const;
304 
314  void setReordering(int ordering);
315 
320  SolverOptions getReordering() const;
321 
329  void setRestart(int restart);
330 
335  int getRestart() const;
336 
341  int _getRestartForC() const;
342 
348  void setTruncation(int truncation);
349 
354  int getTruncation() const;
355 
361  void setInnerIterMax(int iter_max);
362 
366  int getInnerIterMax() const;
367 
373  void setIterMax(int iter_max);
374 
378  int getIterMax() const;
379 
386  void setNumSweeps(int sweeps);
387 
392  int getNumSweeps() const;
393 
399  void setTolerance(double rtol);
400 
404  double getTolerance() const;
405 
411  void setAbsoluteTolerance(double atol);
412 
416  double getAbsoluteTolerance() const;
417 
424  void setInnerTolerance(double rtol);
425 
429  double getInnerTolerance() const;
430 
436  void setDropTolerance(double drop_tol);
437 
441  double getDropTolerance() const;
442 
450  void setDropStorage(double drop);
451 
455  double getDropStorage() const;
456 
464  void setRelaxationFactor(double factor);
465 
470  double getRelaxationFactor() const;
471 
477  bool isComplex() const;
478 
484  void setComplex(bool complex);
485 
491  bool isSymmetric() const;
492 
497  void setSymmetryOn();
498 
502  void setSymmetryOff();
503 
509  void setSymmetry(bool symmetry);
510 
516  bool isHermitian() const;
517 
522  void setHermitianOn();
523 
527  void setHermitianOff();
528 
534  void setHermitian(bool hermitian);
535 
541  bool isVerbose() const;
542 
546  void setVerbosityOn();
547 
551  void setVerbosityOff();
552 
558  void setVerbosity(bool verbose);
559 
567  bool adaptInnerTolerance() const;
568 
572  void setInnerToleranceAdaptionOn();
573 
577  void setInnerToleranceAdaptionOff();
578 
584  void setInnerToleranceAdaption(bool adaption);
585 
596  bool acceptConvergenceFailure() const;
597 
601  void setAcceptanceConvergenceFailureOn();
602 
606  void setAcceptanceConvergenceFailureOff();
607 
614  void setAcceptanceConvergenceFailure(bool acceptance);
615 
622  bool useLocalPreconditioner() const;
623 
627  void setLocalPreconditionerOn();
628 
632  void setLocalPreconditionerOff();
633 
640  void setLocalPreconditioner(bool local);
641 
648  void setNumRefinements(int refinements);
649 
654  int getNumRefinements() const;
655 
663  void setODESolver(int solver);
664 
668  SolverOptions getODESolver() const;
669 
679  void setTrilinosParameter(const std::string& name,
680  const boost::python::object& value);
681 
686  boost::python::dict getTrilinosParameters() const;
687 
691  void setDim(int dim);
692 
696  int getDim();
697 
701  bool using_default_method() const;
702 
703 
704 protected:
705  boost::python::dict trilinosParams;
706 
707  SolverOptions target;
708  SolverOptions package;
709  SolverOptions method;
710  SolverOptions preconditioner;
711  SolverOptions ode_solver;
712  SolverOptions reordering;
713  int sweeps;
714  double tolerance;
715  double absolute_tolerance;
716  double inner_tolerance;
717  double drop_tolerance;
718  double drop_storage;
719  int iter_max;
720  int inner_iter_max;
721  int truncation;
722  int restart; //0 will have to be None in python, will get tricky
723  bool is_complex;
724  bool symmetric;
725  bool hermitian;
726  bool verbose;
727  bool adapt_inner_tolerance;
728  bool accept_convergence_failure;
729  double relaxation;
730  bool use_local_preconditioner;
731  int refinements;
732  int dim; // Dimension of the problem, either 2 or 3. Used internally
733 
734  int num_iter;
735  int num_level;
736  int num_inner_iter;
737  double time;
738  double set_up_time;
739  double net_time;
740  double residual_norm;
741  bool converged;
742  int preconditioner_size;
743  bool time_step_backtracking_used;
744  double coarse_level_sparsity;
745  int num_coarse_unknowns;
746  int cum_num_inner_iter;
747  int cum_num_iter;
748  double cum_time;
749  double cum_set_up_time;
750  double cum_net_time;
751 
752  bool using_default_solver_method;
753 };
754 
755 typedef boost::shared_ptr<SolverBuddy> SB_ptr;
756 
757 } // namespace escript
758 
759 #endif // __ESCRIPT_SOLVEROPTIONS_H__
760 
escript::SolverBuddy::setAcceptanceConvergenceFailure
void setAcceptanceConvergenceFailure(bool acceptance)
Definition: SolverOptions.cpp:754
escript::SO_INTERPOLATION_CLASSIC_WITH_FF_COUPLING
Definition: SolverOptions.h:158
escript::SolverBuddy::getDropTolerance
double getDropTolerance() const
Definition: SolverOptions.cpp:608
escript::SolverOptions
SolverOptions
Definition: SolverOptions.h:92
escript::SO_REORDERING_NONE
Definition: SolverOptions.h:164
ESCRIPT_DLL_API
#define ESCRIPT_DLL_API
Definition: escriptcore/src/system_dep.h:29
escript::SolverBuddy::iter_max
int iter_max
Definition: SolverOptions.h:731
escript::SolverBuddy
Definition: SolverOptions.h:170
PASO_ONE
#define PASO_ONE
Definition: Paso.h:67
escript::SolverBuddy::setInnerToleranceAdaptionOff
void setInnerToleranceAdaptionOff()
Definition: SolverOptions.cpp:726
escript::SolverBuddy::setDropStorage
void setDropStorage(double drop)
Definition: SolverOptions.cpp:613
escript::SolverBuddy::reordering
SolverOptions reordering
Definition: SolverOptions.h:724
escript::SO_METHOD_GMRES
Definition: SolverOptions.h:130
escript::SolverBuddy::set_up_time
double set_up_time
Definition: SolverOptions.h:750
escript::SolverBuddy::accept_convergence_failure
bool accept_convergence_failure
Definition: SolverOptions.h:740
escript::SolverBuddy::hasConverged
bool hasConverged() const
Definition: SolverOptions.cpp:325
escript::SolverBuddy::getDiagnostics
double getDiagnostics(const std::string name) const
Definition: SolverOptions.cpp:305
escript::SolverBuddy::useLocalPreconditioner
bool useLocalPreconditioner() const
Definition: SolverOptions.cpp:762
escript::SolverBuddy::updateDiagnostics
void updateDiagnostics(const std::string &key, bool value)
Definition: SolverOptions.cpp:203
escript::SO_METHOD_DIRECT_TRILINOS
Definition: SolverOptions.h:129
escript::SO_METHOD_HRZ_LUMPING
Definition: SolverOptions.h:131
escript::SolverBuddy::getDim
int getDim()
Definition: SolverOptions.cpp:836
escript::SolverBuddy::setTruncation
void setTruncation(int truncation)
Definition: SolverOptions.cpp:517
escript::SolverBuddy::inner_iter_max
int inner_iter_max
Definition: SolverOptions.h:732
escript::SO_METHOD_LSQR
Definition: SolverOptions.h:133
escript::SolverBuddy::setVerbosityOff
void setVerbosityOff()
Definition: SolverOptions.cpp:703
escript::SolverBuddy::getTolerance
double getTolerance() const
Definition: SolverOptions.cpp:572
escript::SolverBuddy::sweeps
int sweeps
Definition: SolverOptions.h:725
escript::SO_METHOD_DIRECT_SUPERLU
Definition: SolverOptions.h:128
escript::SolverBuddy::drop_storage
double drop_storage
Definition: SolverOptions.h:730
escript::SO_METHOD_DIRECT
Definition: SolverOptions.h:125
escript::SolverBuddy::getSummary
std::string getSummary() const
Definition: SolverOptions.cpp:74
escript::SolverBuddy::time
double time
Definition: SolverOptions.h:749
escript::SolverBuddy::getAbsoluteTolerance
double getAbsoluteTolerance() const
Definition: SolverOptions.cpp:584
escript::SolverBuddy::num_coarse_unknowns
int num_coarse_unknowns
Definition: SolverOptions.h:757
escript::SO_ODESOLVER_BACKWARD_EULER
Definition: SolverOptions.h:152
escript::SolverBuddy::setAcceptanceConvergenceFailureOn
void setAcceptanceConvergenceFailureOn()
Definition: SolverOptions.cpp:744
escript::SolverBuddy::getTruncation
int getTruncation() const
Definition: SolverOptions.cpp:524
escript::SolverBuddy::symmetric
bool symmetric
Definition: SolverOptions.h:736
escript::SO_PRECONDITIONER_ILU0
Definition: SolverOptions.h:144
escript::SolverBuddy::~SolverBuddy
~SolverBuddy()
Definition: SolverOptions.cpp:69
escript::SolverBuddy::getPackage
SolverOptions getPackage() const
Definition: SolverOptions.cpp:471
escript::SolverBuddy::resetDiagnostics
void resetDiagnostics(bool all=false)
Definition: SolverOptions.cpp:180
escript::SolverBuddy::getNumSweeps
int getNumSweeps() const
Definition: SolverOptions.cpp:560
escript::SolverBuddy::setReordering
void setReordering(int ordering)
Definition: SolverOptions.cpp:476
escript::symmetric
void symmetric(const VEC &in, const DataTypes::ShapeType &inShape, typename VEC::size_type inOffset, VEC &ev, const DataTypes::ShapeType &evShape, typename VEC::size_type evOffset)
computes a symmetric matrix from your square matrix A: (A + transpose(A)) / 2
Definition: DataVectorOps.h:102
escript::SolverBuddy::time_step_backtracking_used
bool time_step_backtracking_used
Definition: SolverOptions.h:755
paso::SystemMatrix_ptr
boost::shared_ptr< SystemMatrix > SystemMatrix_ptr
Definition: SystemMatrix.h:53
escript::SolverBuddy::setSymmetryOn
void setSymmetryOn()
Definition: SolverOptions.cpp:652
escript::SolverBuddy::num_iter
int num_iter
Definition: SolverOptions.h:746
escript::SolverBuddy::getSolverMethod
SolverOptions getSolverMethod() const
Definition: SolverOptions.cpp:408
escript::SolverBuddy::absolute_tolerance
double absolute_tolerance
Definition: SolverOptions.h:727
convert
bool convert(bp::object bpo, R &result)
Definition: SolverOptions.cpp:25
escript::SolverBuddy::cum_time
double cum_time
Definition: SolverOptions.h:760
escript::SolverBuddy::getNumRefinements
int getNumRefinements() const
Definition: SolverOptions.cpp:792
escript::SolverBuddy::num_inner_iter
int num_inner_iter
Definition: SolverOptions.h:748
escript::SolverBuddy::setRestart
void setRestart(int restart)
Definition: SolverOptions.cpp:496
escript::SO_ODESOLVER_LINEAR_CRANK_NICOLSON
Definition: SolverOptions.h:154
escript::SolverBuddy::use_local_preconditioner
bool use_local_preconditioner
Definition: SolverOptions.h:742
escript::SolverBuddy::setSymmetryOff
void setSymmetryOff()
Definition: SolverOptions.cpp:657
escript::SO_PRECONDITIONER_REC_ILU
Definition: SolverOptions.h:148
escript::SO_REORDERING_MINIMUM_FILL_IN
Definition: SolverOptions.h:162
escript::SB_ptr
boost::shared_ptr< SolverBuddy > SB_ptr
Definition: SolverOptions.h:767
escript::SolverBuddy::hermitian
bool hermitian
Definition: SolverOptions.h:737
escript::SO_PRECONDITIONER_ILUT
Definition: SolverOptions.h:145
escript::SolverBuddy::isHermitian
bool isHermitian() const
Definition: SolverOptions.cpp:670
escript::SolverBuddy::isComplex
bool isComplex() const
Definition: SolverOptions.cpp:637
escript::SolverBuddy::setHermitianOn
void setHermitianOn()
Definition: SolverOptions.cpp:675
escript::SolverBuddy::num_level
int num_level
Definition: SolverOptions.h:747
escript::SolverBuddy::updateDiagnosticsPy
void updateDiagnosticsPy(const std::string &key, const boost::python::object &value)
Definition: SolverOptions.cpp:246
escript::SolverBuddy::preconditioner
SolverOptions preconditioner
Definition: SolverOptions.h:722
escript::SO_METHOD_NONLINEAR_GMRES
Definition: SolverOptions.h:135
escript::SolverBuddy::verbose
bool verbose
Definition: SolverOptions.h:738
escript::SO_INTERPOLATION_DIRECT
Definition: SolverOptions.h:159
escript::SolverBuddy::setIterMax
void setIterMax(int iter_max)
Definition: SolverOptions.cpp:541
escript::SolverBuddy::setNumSweeps
void setNumSweeps(int sweeps)
Definition: SolverOptions.cpp:553
escript::SolverBuddy::setNumRefinements
void setNumRefinements(int refinements)
Definition: SolverOptions.cpp:785
escript::SolverBuddy::setDim
void setDim(int dim)
Definition: SolverOptions.cpp:829
escript::SolverBuddy::setAbsoluteTolerance
void setAbsoluteTolerance(double atol)
Definition: SolverOptions.cpp:577
escript::SolverBuddy::setLocalPreconditioner
void setLocalPreconditioner(bool local)
Definition: SolverOptions.cpp:777
system_dep.h
escript::SolverBuddy::isVerbose
bool isVerbose() const
Definition: SolverOptions.cpp:693
escript::SolverBuddy::refinements
int refinements
Definition: SolverOptions.h:743
escript::SolverBuddy::restart
int restart
Definition: SolverOptions.h:734
escript::SO_PACKAGE_PASO
Definition: SolverOptions.h:115
Solver.h
paso::util::copy
void copy(dim_t N, double *out, const double *in)
out = in
Definition: PasoUtil.h:113
escript::SolverBuddy::setRelaxationFactor
void setRelaxationFactor(double factor)
Definition: SolverOptions.cpp:625
escript::SolverBuddy::net_time
double net_time
Definition: SolverOptions.h:751
escript::SolverBuddy::ode_solver
SolverOptions ode_solver
Definition: SolverOptions.h:723
escript::SolverBuddy::adapt_inner_tolerance
bool adapt_inner_tolerance
Definition: SolverOptions.h:739
escript::hermitian
void hermitian(const DataTypes::CplxVectorType &in, const DataTypes::ShapeType &inShape, DataTypes::CplxVectorType::size_type inOffset, DataTypes::CplxVectorType &ev, const DataTypes::ShapeType &evShape, DataTypes::CplxVectorType::size_type evOffset)
computes an hermitian matrix from your square matrix A: (A + adjoint(A)) / 2
Definition: DataVectorOps.cpp:915
escript::SO_REORDERING_DEFAULT
Definition: SolverOptions.h:161
escript::SolverBuddy::acceptConvergenceFailure
bool acceptConvergenceFailure() const
Definition: SolverOptions.cpp:739
escript::SolverBuddy::setComplex
void setComplex(bool complex)
Definition: SolverOptions.cpp:642
escript::SolverBuddy::relaxation
double relaxation
Definition: SolverOptions.h:741
escript::SolverBuddy::drop_tolerance
double drop_tolerance
Definition: SolverOptions.h:729
escript::SolverBuddy::package
SolverOptions package
Definition: SolverOptions.h:720
escript::SolverBuddy::getRelaxationFactor
double getRelaxationFactor() const
Definition: SolverOptions.cpp:632
escript::SolverBuddy::getInnerIterMax
int getInnerIterMax() const
Definition: SolverOptions.cpp:536
paso::SolverResult
SolverResult
Definition: Paso.h:55
escript::SolverBuddy::getInnerTolerance
double getInnerTolerance() const
Definition: SolverOptions.cpp:596
escript::SolverBuddy::setTolerance
void setTolerance(double rtol)
Definition: SolverOptions.cpp:565
escript::SolverBuddy::_getRestartForC
int _getRestartForC() const
Definition: SolverOptions.cpp:509
escript::SO_ODESOLVER_CRANK_NICOLSON
Definition: SolverOptions.h:153
escript::SolverBuddy::method
SolverOptions method
Definition: SolverOptions.h:721
escript::SolverBuddy::getName
const char * getName(int key) const
Definition: SolverOptions.cpp:118
escript::SO_METHOD_CGS
Definition: SolverOptions.h:122
SolverOptions.h
escript::SolverBuddy::preconditioner_size
int preconditioner_size
Definition: SolverOptions.h:754
escript::SO_METHOD_CGLS
Definition: SolverOptions.h:121
escript::SolverBuddy::dim
int dim
Definition: SolverOptions.h:744
escript::SolverBuddy::trilinosParams
boost::python::dict trilinosParams
Definition: SolverOptions.h:717
escript::SolverBuddy::setPackage
void setPackage(int package)
Definition: SolverOptions.cpp:413
escript::SolverBuddy::inner_tolerance
double inner_tolerance
Definition: SolverOptions.h:728
escript::SolverBuddy::getIterMax
int getIterMax() const
Definition: SolverOptions.cpp:548
escript::SO_METHOD_ROWSUM_LUMPING
Definition: SolverOptions.h:138
escript::SO_PRECONDITIONER_AMG
Definition: SolverOptions.h:142
escript::SolverBuddy::truncation
int truncation
Definition: SolverOptions.h:733
escript::SO_METHOD_ITERATIVE
Definition: SolverOptions.h:132
escript::SolverBuddy::setInnerToleranceAdaption
void setInnerToleranceAdaption(bool adaption)
Definition: SolverOptions.cpp:731
escript::SolverBuddy::tolerance
double tolerance
Definition: SolverOptions.h:726
escript::SolverBuddy::using_default_method
bool using_default_method() const
Definition: SolverOptions.cpp:841
escript::SolverBuddy::getReordering
SolverOptions getReordering() const
Definition: SolverOptions.cpp:491
escript::SolverBuddy::isSymmetric
bool isSymmetric() const
Definition: SolverOptions.cpp:647
escript::SO_REORDERING_NESTED_DISSECTION
Definition: SolverOptions.h:163
escript::SO_METHOD_BICGSTAB
Definition: SolverOptions.h:120
escript::SolverBuddy::getPreconditioner
SolverOptions getPreconditioner() const
Definition: SolverOptions.cpp:352
escript::isDirectSolver
bool isDirectSolver(const SolverOptions &method)
returns true if the passed solver method refers to a direct solver type
Definition: SolverOptions.h:155
escript::SolverBuddy::setHermitianOff
void setHermitianOff()
Definition: SolverOptions.cpp:680
escript::SolverBuddy::SolverBuddy
SolverBuddy()
Definition: SolverOptions.cpp:35
escript::SolverBuddy::setInnerIterMax
void setInnerIterMax(int iter_max)
Definition: SolverOptions.cpp:529
escript::SolverBuddy::setInnerToleranceAdaptionOn
void setInnerToleranceAdaptionOn()
Definition: SolverOptions.cpp:721
escript::SO_TARGET_CPU
Definition: SolverOptions.h:110
escript::SO_METHOD_MINRES
Definition: SolverOptions.h:134
escript::SolverBuddy::setVerbosityOn
void setVerbosityOn()
Definition: SolverOptions.cpp:698
EsysException.h
escript::SO_METHOD_DIRECT_PARDISO
Definition: SolverOptions.h:127
escript::SolverBuddy::setSolverMethod
void setSolverMethod(int method)
Definition: SolverOptions.cpp:357
escript
Definition: AbstractContinuousDomain.cpp:23
escript::SO_METHOD_CR
Definition: SolverOptions.h:124
escript::SolverBuddy::setPreconditioner
void setPreconditioner(int preconditioner)
Definition: SolverOptions.cpp:330
escript::SO_METHOD_DIRECT_MUMPS
Definition: SolverOptions.h:126
escript::SolverBuddy::setSymmetry
void setSymmetry(bool symmetry)
Definition: SolverOptions.cpp:662
escript::SO_PRECONDITIONER_GAUSS_SEIDEL
Definition: SolverOptions.h:143
escript::SO_DEFAULT
Definition: SolverOptions.h:107
PasoUtil.h
escript::SO_PRECONDITIONER_NONE
Definition: SolverOptions.h:147
escript::SolverBuddy::is_complex
bool is_complex
Definition: SolverOptions.h:735
escript::SolverBuddy::setDropTolerance
void setDropTolerance(double drop_tol)
Definition: SolverOptions.cpp:601
escript::SolverBuddy::cum_set_up_time
double cum_set_up_time
Definition: SolverOptions.h:761
escript::SolverBuddy::setVerbosity
void setVerbosity(bool verbose)
Definition: SolverOptions.cpp:708
escript::SolverBuddy::setODESolver
void setODESolver(int solver)
Definition: SolverOptions.cpp:797
escript::SolverBuddy::coarse_level_sparsity
double coarse_level_sparsity
Definition: SolverOptions.h:756
paso::LinearSystem::LinearSystem
LinearSystem(SystemMatrix_ptr A, double *b, Options *options)
Definition: Solver_Function.cpp:39
escript::SolverBuddy::setHermitian
void setHermitian(bool hermitian)
Definition: SolverOptions.cpp:685
Functions.h
escript::SolverBuddy::setAcceptanceConvergenceFailureOff
void setAcceptanceConvergenceFailureOff()
Definition: SolverOptions.cpp:749
escript::SolverBuddy::setInnerTolerance
void setInnerTolerance(double rtol)
Definition: SolverOptions.cpp:589
escript::SO_TARGET_GPU
Definition: SolverOptions.h:111
escript::SO_PRECONDITIONER_RILU
Definition: SolverOptions.h:149
escript::SO_PACKAGE_TRILINOS
Definition: SolverOptions.h:116
escript::SolverBuddy::setTrilinosParameter
void setTrilinosParameter(const std::string &name, const boost::python::object &value)
Definition: SolverOptions.cpp:816
escript::SolverBuddy::adaptInnerTolerance
bool adaptInnerTolerance() const
Definition: SolverOptions.cpp:716
paso
Definition: BiCGStab.cpp:26
escript::SO_PACKAGE_MKL
Definition: SolverOptions.h:114
escript::SO_PRECONDITIONER_JACOBI
Definition: SolverOptions.h:146
escript::SolverBuddy::residual_norm
double residual_norm
Definition: SolverOptions.h:752
escript::SolverBuddy::setLocalPreconditionerOn
void setLocalPreconditionerOn()
Definition: SolverOptions.cpp:767
escript::SO_METHOD_PRES20
Definition: SolverOptions.h:137
paso::NoError
Definition: Paso.h:69
escript::SolverBuddy::getDropStorage
double getDropStorage() const
Definition: SolverOptions.cpp:620
escript::SO_PACKAGE_UMFPACK
Definition: SolverOptions.h:117
escript::SolverBuddy::setLocalPreconditionerOff
void setLocalPreconditionerOff()
Definition: SolverOptions.cpp:772
escript::SO_METHOD_TFQMR
Definition: SolverOptions.h:139
escript::SolverBuddy::converged
bool converged
Definition: SolverOptions.h:753
escript::SO_METHOD_PCG
Definition: SolverOptions.h:136
escript::ValueError
An exception class that signals an invalid argument value.
Definition: EsysException.h:101
escript::SolverBuddy::cum_num_iter
int cum_num_iter
Definition: SolverOptions.h:759
escript::SolverBuddy::getTrilinosParameters
boost::python::dict getTrilinosParameters() const
Definition: SolverOptions.cpp:824
paso::Performance
Definition: performance.h:67
escript::SolverBuddy::getODESolver
SolverOptions getODESolver() const
Definition: SolverOptions.cpp:811
escript::SolverBuddy::cum_net_time
double cum_net_time
Definition: SolverOptions.h:762
escript::SO_METHOD_CHOLEVSKY
Definition: SolverOptions.h:123
escript::SolverBuddy::getRestart
int getRestart() const
Definition: SolverOptions.cpp:504
escript::SolverBuddy::cum_num_inner_iter
int cum_num_inner_iter
Definition: SolverOptions.h:758
escript::SolverBuddy::using_default_solver_method
bool using_default_solver_method
Definition: SolverOptions.h:764
escript::SO_INTERPOLATION_CLASSIC
Definition: SolverOptions.h:157