escript  Revision_
SolverOptions.h
Go to the documentation of this file.
1 
2 /******************************************************************************
3 *
4 * Copyright (c) 2003-2018 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 by Centre for Geoscience Computing (GeoComp)
14 *
15 *****************************************************************************/
16 
17 #ifndef __ESCRIPT_SOLVEROPTIONS_H__
18 #define __ESCRIPT_SOLVEROPTIONS_H__
19 
20 #include <boost/python/dict.hpp>
21 #include <boost/python/object.hpp>
22 #include "system_dep.h"
23 
24 namespace escript {
25 
79 enum SolverOptions
80 {
81  SO_DEFAULT,
82 
83  // Solver targets
86 
87  // Solver packages
92 
93  // Solver methods
114 
115  // Preconditioners
124 
125  // ODE solvers
129 
130  // Interpolation methods
134 
139 };
140 
142 inline bool isDirectSolver(const SolverOptions& method)
143 {
144  switch (method) {
150  return true;
151  default:
152  break;
153  }
154  return false;
155 }
156 
158 {
159 public:
162 
166  std::string getSummary() const;
167 
173  const char* getName(int key) const;
174 
181  void resetDiagnostics(bool all=false);
182 
191  void updateDiagnosticsPy(const std::string& key,
192  const boost::python::object& value);
193 
194  void updateDiagnostics(const std::string& key, bool value);
195  void updateDiagnostics(const std::string& key, int value);
196  void updateDiagnostics(const std::string& key, double value);
197 
226  double getDiagnostics(const std::string name) const;
227 
235  bool hasConverged() const;
236 
251  void setPreconditioner(int preconditioner);
252 
256  SolverOptions getPreconditioner() const;
257 
278  void setSolverMethod(int method);
279 
283  SolverOptions getSolverMethod() const;
284 
297  void setPackage(int package);
298 
302  SolverOptions getPackage() const;
303 
313  void setReordering(int ordering);
314 
319  SolverOptions getReordering() const;
320 
328  void setRestart(int restart);
329 
334  int getRestart() const;
335 
340  int _getRestartForC() const;
341 
347  void setTruncation(int truncation);
348 
353  int getTruncation() const;
354 
360  void setInnerIterMax(int iter_max);
361 
365  int getInnerIterMax() const;
366 
372  void setIterMax(int iter_max);
373 
377  int getIterMax() const;
378 
385  void setNumSweeps(int sweeps);
386 
391  int getNumSweeps() const;
392 
398  void setTolerance(double rtol);
399 
403  double getTolerance() const;
404 
410  void setAbsoluteTolerance(double atol);
411 
415  double getAbsoluteTolerance() const;
416 
423  void setInnerTolerance(double rtol);
424 
428  double getInnerTolerance() const;
429 
435  void setDropTolerance(double drop_tol);
436 
440  double getDropTolerance() const;
441 
449  void setDropStorage(double drop);
450 
454  double getDropStorage() const;
455 
463  void setRelaxationFactor(double factor);
464 
469  double getRelaxationFactor() const;
470 
476  bool isComplex() const;
477 
483  void setComplex(bool complex);
484 
490  bool isSymmetric() const;
491 
496  void setSymmetryOn();
497 
501  void setSymmetryOff();
502 
508  void setSymmetry(bool symmetry);
509 
515  bool isHermitian() const;
516 
521  void setHermitianOn();
522 
526  void setHermitianOff();
527 
533  void setHermitian(bool hermitian);
534 
540  bool isVerbose() const;
541 
545  void setVerbosityOn();
546 
550  void setVerbosityOff();
551 
557  void setVerbosity(bool verbose);
558 
566  bool adaptInnerTolerance() const;
567 
571  void setInnerToleranceAdaptionOn();
572 
576  void setInnerToleranceAdaptionOff();
577 
583  void setInnerToleranceAdaption(bool adaption);
584 
595  bool acceptConvergenceFailure() const;
596 
600  void setAcceptanceConvergenceFailureOn();
601 
605  void setAcceptanceConvergenceFailureOff();
606 
613  void setAcceptanceConvergenceFailure(bool acceptance);
614 
621  bool useLocalPreconditioner() const;
622 
626  void setLocalPreconditionerOn();
627 
631  void setLocalPreconditionerOff();
632 
639  void setLocalPreconditioner(bool local);
640 
647  void setNumRefinements(int refinements);
648 
653  int getNumRefinements() const;
654 
662  void setODESolver(int solver);
663 
667  SolverOptions getODESolver() const;
668 
678  void setTrilinosParameter(const std::string& name,
679  const boost::python::object& value);
680 
685  boost::python::dict getTrilinosParameters() const;
686 
690  void setDim(int dim);
691 
695  int getDim();
696 
700  bool using_default_method() const;
701 
702 
703 protected:
704  boost::python::dict trilinosParams;
705 
706  SolverOptions target;
707  SolverOptions package;
708  SolverOptions method;
709  SolverOptions preconditioner;
710  SolverOptions ode_solver;
711  SolverOptions reordering;
712  int sweeps;
713  double tolerance;
714  double absolute_tolerance;
715  double inner_tolerance;
716  double drop_tolerance;
717  double drop_storage;
718  int iter_max;
719  int inner_iter_max;
720  int truncation;
721  int restart; //0 will have to be None in python, will get tricky
722  bool is_complex;
723  bool symmetric;
724  bool hermitian;
725  bool verbose;
726  bool adapt_inner_tolerance;
727  bool accept_convergence_failure;
728  double relaxation;
729  bool use_local_preconditioner;
730  int refinements;
731  int dim; // Dimension of the problem, either 2 or 3. Used internally
732 
733  int num_iter;
734  int num_level;
735  int num_inner_iter;
736  double time;
737  double set_up_time;
738  double net_time;
739  double residual_norm;
740  bool converged;
741  int preconditioner_size;
742  bool time_step_backtracking_used;
743  double coarse_level_sparsity;
744  int num_coarse_unknowns;
745  int cum_num_inner_iter;
746  int cum_num_iter;
747  double cum_time;
748  double cum_set_up_time;
749  double cum_net_time;
750 
751  bool using_default_solver_method;
752 };
753 
754 typedef boost::shared_ptr<SolverBuddy> SB_ptr;
755 
756 } // namespace escript
757 
758 #endif // __ESCRIPT_SOLVEROPTIONS_H__
759 
escript::SolverBuddy::setAcceptanceConvergenceFailure
void setAcceptanceConvergenceFailure(bool acceptance)
Definition: SolverOptions.cpp:770
escript::SO_INTERPOLATION_CLASSIC_WITH_FF_COUPLING
Definition: SolverOptions.h:155
escript::SolverBuddy::getDropTolerance
double getDropTolerance() const
Definition: SolverOptions.cpp:624
escript::SolverOptions
SolverOptions
Definition: SolverOptions.h:90
escript::SO_REORDERING_NONE
Definition: SolverOptions.h:161
ESCRIPT_DLL_API
#define ESCRIPT_DLL_API
Definition: escriptcore/src/system_dep.h:28
escript::SolverBuddy::iter_max
int iter_max
Definition: SolverOptions.h:729
escript::SolverBuddy
Definition: SolverOptions.h:168
PASO_ONE
#define PASO_ONE
Definition: Paso.h:66
escript::SolverBuddy::setInnerToleranceAdaptionOff
void setInnerToleranceAdaptionOff()
Definition: SolverOptions.cpp:742
escript::SolverBuddy::setDropStorage
void setDropStorage(double drop)
Definition: SolverOptions.cpp:629
escript::SolverBuddy::reordering
SolverOptions reordering
Definition: SolverOptions.h:722
escript::SO_METHOD_GMRES
Definition: SolverOptions.h:127
escript::SolverBuddy::set_up_time
double set_up_time
Definition: SolverOptions.h:748
escript::SolverBuddy::accept_convergence_failure
bool accept_convergence_failure
Definition: SolverOptions.h:738
escript::SolverBuddy::hasConverged
bool hasConverged() const
Definition: SolverOptions.cpp:328
escript::SolverBuddy::getDiagnostics
double getDiagnostics(const std::string name) const
Definition: SolverOptions.cpp:304
escript::SolverBuddy::useLocalPreconditioner
bool useLocalPreconditioner() const
Definition: SolverOptions.cpp:778
escript::SolverBuddy::updateDiagnostics
void updateDiagnostics(const std::string &key, bool value)
Definition: SolverOptions.cpp:202
escript::SO_METHOD_DIRECT_TRILINOS
Definition: SolverOptions.h:126
escript::SO_METHOD_HRZ_LUMPING
Definition: SolverOptions.h:128
escript::SolverBuddy::getDim
int getDim()
Definition: SolverOptions.cpp:852
escript::SolverBuddy::setTruncation
void setTruncation(int truncation)
Definition: SolverOptions.cpp:533
escript::SolverBuddy::inner_iter_max
int inner_iter_max
Definition: SolverOptions.h:730
escript::SO_METHOD_LSQR
Definition: SolverOptions.h:130
escript::SolverBuddy::setVerbosityOff
void setVerbosityOff()
Definition: SolverOptions.cpp:719
escript::SolverBuddy::getTolerance
double getTolerance() const
Definition: SolverOptions.cpp:588
escript::SolverBuddy::sweeps
int sweeps
Definition: SolverOptions.h:723
escript::SO_METHOD_DIRECT_SUPERLU
Definition: SolverOptions.h:125
escript::SolverBuddy::drop_storage
double drop_storage
Definition: SolverOptions.h:728
escript::SO_METHOD_DIRECT
Definition: SolverOptions.h:122
escript::SolverBuddy::getSummary
std::string getSummary() const
Definition: SolverOptions.cpp:73
escript::SolverBuddy::time
double time
Definition: SolverOptions.h:747
escript::SolverBuddy::getAbsoluteTolerance
double getAbsoluteTolerance() const
Definition: SolverOptions.cpp:600
escript::SolverBuddy::num_coarse_unknowns
int num_coarse_unknowns
Definition: SolverOptions.h:755
escript::SO_ODESOLVER_BACKWARD_EULER
Definition: SolverOptions.h:149
escript::SolverBuddy::setAcceptanceConvergenceFailureOn
void setAcceptanceConvergenceFailureOn()
Definition: SolverOptions.cpp:760
escript::SolverBuddy::getTruncation
int getTruncation() const
Definition: SolverOptions.cpp:540
escript::SolverBuddy::symmetric
bool symmetric
Definition: SolverOptions.h:734
escript::SO_PRECONDITIONER_ILU0
Definition: SolverOptions.h:141
escript::SolverBuddy::~SolverBuddy
~SolverBuddy()
Definition: SolverOptions.cpp:68
escript::SolverBuddy::getPackage
SolverOptions getPackage() const
Definition: SolverOptions.cpp:487
escript::SolverBuddy::resetDiagnostics
void resetDiagnostics(bool all=false)
Definition: SolverOptions.cpp:179
escript::SolverBuddy::getNumSweeps
int getNumSweeps() const
Definition: SolverOptions.cpp:576
escript::SolverBuddy::setReordering
void setReordering(int ordering)
Definition: SolverOptions.cpp:492
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:101
escript::SolverBuddy::time_step_backtracking_used
bool time_step_backtracking_used
Definition: SolverOptions.h:753
paso::SystemMatrix_ptr
boost::shared_ptr< SystemMatrix > SystemMatrix_ptr
Definition: SystemMatrix.h:51
escript::SolverBuddy::setSymmetryOn
void setSymmetryOn()
Definition: SolverOptions.cpp:668
escript::SolverBuddy::num_iter
int num_iter
Definition: SolverOptions.h:744
escript::SolverBuddy::getSolverMethod
SolverOptions getSolverMethod() const
Definition: SolverOptions.cpp:424
escript::SolverBuddy::absolute_tolerance
double absolute_tolerance
Definition: SolverOptions.h:725
convert
bool convert(bp::object bpo, R &result)
Definition: SolverOptions.cpp:24
escript::SolverBuddy::cum_time
double cum_time
Definition: SolverOptions.h:758
escript::SolverBuddy::getNumRefinements
int getNumRefinements() const
Definition: SolverOptions.cpp:808
escript::SolverBuddy::num_inner_iter
int num_inner_iter
Definition: SolverOptions.h:746
escript::SolverBuddy::setRestart
void setRestart(int restart)
Definition: SolverOptions.cpp:512
escript::SO_ODESOLVER_LINEAR_CRANK_NICOLSON
Definition: SolverOptions.h:151
escript::SolverBuddy::use_local_preconditioner
bool use_local_preconditioner
Definition: SolverOptions.h:740
escript::SolverBuddy::setSymmetryOff
void setSymmetryOff()
Definition: SolverOptions.cpp:673
escript::SO_PRECONDITIONER_REC_ILU
Definition: SolverOptions.h:145
escript::SO_REORDERING_MINIMUM_FILL_IN
Definition: SolverOptions.h:159
escript::SB_ptr
boost::shared_ptr< SolverBuddy > SB_ptr
Definition: SolverOptions.h:765
escript::SolverBuddy::hermitian
bool hermitian
Definition: SolverOptions.h:735
escript::SO_PRECONDITIONER_ILUT
Definition: SolverOptions.h:142
escript::SolverBuddy::isHermitian
bool isHermitian() const
Definition: SolverOptions.cpp:686
escript::SolverBuddy::isComplex
bool isComplex() const
Definition: SolverOptions.cpp:653
escript::SolverBuddy::setHermitianOn
void setHermitianOn()
Definition: SolverOptions.cpp:691
escript::SolverBuddy::num_level
int num_level
Definition: SolverOptions.h:745
escript::SolverBuddy::updateDiagnosticsPy
void updateDiagnosticsPy(const std::string &key, const boost::python::object &value)
Definition: SolverOptions.cpp:245
escript::SolverBuddy::preconditioner
SolverOptions preconditioner
Definition: SolverOptions.h:720
escript::SO_METHOD_NONLINEAR_GMRES
Definition: SolverOptions.h:132
escript::SolverBuddy::verbose
bool verbose
Definition: SolverOptions.h:736
escript::SO_INTERPOLATION_DIRECT
Definition: SolverOptions.h:156
escript::SolverBuddy::setIterMax
void setIterMax(int iter_max)
Definition: SolverOptions.cpp:557
escript::SolverBuddy::setNumSweeps
void setNumSweeps(int sweeps)
Definition: SolverOptions.cpp:569
escript::SolverBuddy::setNumRefinements
void setNumRefinements(int refinements)
Definition: SolverOptions.cpp:801
escript::SolverBuddy::setDim
void setDim(int dim)
Definition: SolverOptions.cpp:845
escript::SolverBuddy::setAbsoluteTolerance
void setAbsoluteTolerance(double atol)
Definition: SolverOptions.cpp:593
escript::SolverBuddy::setLocalPreconditioner
void setLocalPreconditioner(bool local)
Definition: SolverOptions.cpp:793
system_dep.h
escript::SolverBuddy::isVerbose
bool isVerbose() const
Definition: SolverOptions.cpp:709
escript::SolverBuddy::refinements
int refinements
Definition: SolverOptions.h:741
escript::SolverBuddy::restart
int restart
Definition: SolverOptions.h:732
escript::SO_PACKAGE_PASO
Definition: SolverOptions.h:112
Solver.h
paso::util::copy
void copy(dim_t N, double *out, const double *in)
out = in
Definition: PasoUtil.h:110
escript::SolverBuddy::setRelaxationFactor
void setRelaxationFactor(double factor)
Definition: SolverOptions.cpp:641
escript::SolverBuddy::net_time
double net_time
Definition: SolverOptions.h:749
escript::SolverBuddy::ode_solver
SolverOptions ode_solver
Definition: SolverOptions.h:721
escript::SolverBuddy::adapt_inner_tolerance
bool adapt_inner_tolerance
Definition: SolverOptions.h:737
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:914
escript::SO_REORDERING_DEFAULT
Definition: SolverOptions.h:158
escript::SolverBuddy::acceptConvergenceFailure
bool acceptConvergenceFailure() const
Definition: SolverOptions.cpp:755
escript::SolverBuddy::setComplex
void setComplex(bool complex)
Definition: SolverOptions.cpp:658
escript::SolverBuddy::relaxation
double relaxation
Definition: SolverOptions.h:739
escript::SolverBuddy::drop_tolerance
double drop_tolerance
Definition: SolverOptions.h:727
escript::SolverBuddy::package
SolverOptions package
Definition: SolverOptions.h:718
escript::SolverBuddy::getRelaxationFactor
double getRelaxationFactor() const
Definition: SolverOptions.cpp:648
escript::SolverBuddy::getInnerIterMax
int getInnerIterMax() const
Definition: SolverOptions.cpp:552
paso::SolverResult
SolverResult
Definition: Paso.h:53
escript::SolverBuddy::getInnerTolerance
double getInnerTolerance() const
Definition: SolverOptions.cpp:612
escript::SolverBuddy::setTolerance
void setTolerance(double rtol)
Definition: SolverOptions.cpp:581
escript::SolverBuddy::_getRestartForC
int _getRestartForC() const
Definition: SolverOptions.cpp:525
escript::SO_ODESOLVER_CRANK_NICOLSON
Definition: SolverOptions.h:150
escript::SolverBuddy::method
SolverOptions method
Definition: SolverOptions.h:719
escript::SolverBuddy::getName
const char * getName(int key) const
Definition: SolverOptions.cpp:117
escript::SO_METHOD_CGS
Definition: SolverOptions.h:119
SolverOptions.h
escript::SolverBuddy::preconditioner_size
int preconditioner_size
Definition: SolverOptions.h:752
escript::SO_METHOD_CGLS
Definition: SolverOptions.h:118
escript::SolverBuddy::dim
int dim
Definition: SolverOptions.h:742
escript::SolverBuddy::trilinosParams
boost::python::dict trilinosParams
Definition: SolverOptions.h:715
escript::SolverBuddy::setPackage
void setPackage(int package)
Definition: SolverOptions.cpp:429
escript::SolverBuddy::inner_tolerance
double inner_tolerance
Definition: SolverOptions.h:726
escript::SolverBuddy::getIterMax
int getIterMax() const
Definition: SolverOptions.cpp:564
escript::SO_METHOD_ROWSUM_LUMPING
Definition: SolverOptions.h:135
escript::SO_PRECONDITIONER_AMG
Definition: SolverOptions.h:139
escript::SolverBuddy::truncation
int truncation
Definition: SolverOptions.h:731
escript::SO_METHOD_ITERATIVE
Definition: SolverOptions.h:129
escript::SolverBuddy::setInnerToleranceAdaption
void setInnerToleranceAdaption(bool adaption)
Definition: SolverOptions.cpp:747
escript::SolverBuddy::tolerance
double tolerance
Definition: SolverOptions.h:724
escript::SolverBuddy::using_default_method
bool using_default_method() const
Definition: SolverOptions.cpp:857
escript::SolverBuddy::getReordering
SolverOptions getReordering() const
Definition: SolverOptions.cpp:507
escript::SolverBuddy::isSymmetric
bool isSymmetric() const
Definition: SolverOptions.cpp:663
escript::SO_REORDERING_NESTED_DISSECTION
Definition: SolverOptions.h:160
escript::SO_METHOD_BICGSTAB
Definition: SolverOptions.h:117
escript::SolverBuddy::getPreconditioner
SolverOptions getPreconditioner() const
Definition: SolverOptions.cpp:355
escript::isDirectSolver
bool isDirectSolver(const SolverOptions &method)
returns true if the passed solver method refers to a direct solver type
Definition: SolverOptions.h:153
escript::SolverBuddy::setHermitianOff
void setHermitianOff()
Definition: SolverOptions.cpp:696
escript::SolverBuddy::SolverBuddy
SolverBuddy()
Definition: SolverOptions.cpp:34
escript::SolverBuddy::setInnerIterMax
void setInnerIterMax(int iter_max)
Definition: SolverOptions.cpp:545
escript::SolverBuddy::setInnerToleranceAdaptionOn
void setInnerToleranceAdaptionOn()
Definition: SolverOptions.cpp:737
escript::SO_TARGET_CPU
Definition: SolverOptions.h:107
escript::SO_METHOD_MINRES
Definition: SolverOptions.h:131
escript::SolverBuddy::setVerbosityOn
void setVerbosityOn()
Definition: SolverOptions.cpp:714
EsysException.h
escript::SO_METHOD_DIRECT_PARDISO
Definition: SolverOptions.h:124
escript::SolverBuddy::setSolverMethod
void setSolverMethod(int method)
Definition: SolverOptions.cpp:360
escript
Definition: AbstractContinuousDomain.cpp:22
escript::SO_METHOD_CR
Definition: SolverOptions.h:121
escript::SolverBuddy::setPreconditioner
void setPreconditioner(int preconditioner)
Definition: SolverOptions.cpp:333
escript::SO_METHOD_DIRECT_MUMPS
Definition: SolverOptions.h:123
escript::SolverBuddy::setSymmetry
void setSymmetry(bool symmetry)
Definition: SolverOptions.cpp:678
escript::SO_PRECONDITIONER_GAUSS_SEIDEL
Definition: SolverOptions.h:140
escript::SO_DEFAULT
Definition: SolverOptions.h:104
PasoUtil.h
escript::SO_PRECONDITIONER_NONE
Definition: SolverOptions.h:144
escript::SolverBuddy::is_complex
bool is_complex
Definition: SolverOptions.h:733
escript::SolverBuddy::setDropTolerance
void setDropTolerance(double drop_tol)
Definition: SolverOptions.cpp:617
escript::SolverBuddy::cum_set_up_time
double cum_set_up_time
Definition: SolverOptions.h:759
escript::SolverBuddy::setVerbosity
void setVerbosity(bool verbose)
Definition: SolverOptions.cpp:724
escript::SolverBuddy::setODESolver
void setODESolver(int solver)
Definition: SolverOptions.cpp:813
escript::SolverBuddy::coarse_level_sparsity
double coarse_level_sparsity
Definition: SolverOptions.h:754
paso::LinearSystem::LinearSystem
LinearSystem(SystemMatrix_ptr A, double *b, Options *options)
Definition: Solver_Function.cpp:37
escript::SolverBuddy::setHermitian
void setHermitian(bool hermitian)
Definition: SolverOptions.cpp:701
Functions.h
escript::SolverBuddy::setAcceptanceConvergenceFailureOff
void setAcceptanceConvergenceFailureOff()
Definition: SolverOptions.cpp:765
escript::SolverBuddy::setInnerTolerance
void setInnerTolerance(double rtol)
Definition: SolverOptions.cpp:605
escript::SO_TARGET_GPU
Definition: SolverOptions.h:108
escript::SO_PRECONDITIONER_RILU
Definition: SolverOptions.h:146
escript::SO_PACKAGE_TRILINOS
Definition: SolverOptions.h:113
escript::SolverBuddy::setTrilinosParameter
void setTrilinosParameter(const std::string &name, const boost::python::object &value)
Definition: SolverOptions.cpp:832
escript::SolverBuddy::adaptInnerTolerance
bool adaptInnerTolerance() const
Definition: SolverOptions.cpp:732
paso
Definition: BiCGStab.cpp:25
escript::SO_PACKAGE_MKL
Definition: SolverOptions.h:111
escript::SO_PRECONDITIONER_JACOBI
Definition: SolverOptions.h:143
escript::SolverBuddy::residual_norm
double residual_norm
Definition: SolverOptions.h:750
escript::SolverBuddy::setLocalPreconditionerOn
void setLocalPreconditionerOn()
Definition: SolverOptions.cpp:783
escript::SO_METHOD_PRES20
Definition: SolverOptions.h:134
paso::NoError
Definition: Paso.h:66
escript::SolverBuddy::getDropStorage
double getDropStorage() const
Definition: SolverOptions.cpp:636
escript::SO_PACKAGE_UMFPACK
Definition: SolverOptions.h:114
escript::SolverBuddy::setLocalPreconditionerOff
void setLocalPreconditionerOff()
Definition: SolverOptions.cpp:788
escript::SO_METHOD_TFQMR
Definition: SolverOptions.h:136
escript::SolverBuddy::converged
bool converged
Definition: SolverOptions.h:751
escript::SO_METHOD_PCG
Definition: SolverOptions.h:133
escript::ValueError
An exception class that signals an invalid argument value.
Definition: EsysException.h:99
escript::SolverBuddy::cum_num_iter
int cum_num_iter
Definition: SolverOptions.h:757
escript::SolverBuddy::getTrilinosParameters
boost::python::dict getTrilinosParameters() const
Definition: SolverOptions.cpp:840
paso::Performance
Definition: performance.h:65
escript::SolverBuddy::getODESolver
SolverOptions getODESolver() const
Definition: SolverOptions.cpp:827
escript::SolverBuddy::cum_net_time
double cum_net_time
Definition: SolverOptions.h:760
escript::SO_METHOD_CHOLEVSKY
Definition: SolverOptions.h:120
escript::SolverBuddy::getRestart
int getRestart() const
Definition: SolverOptions.cpp:520
escript::SolverBuddy::cum_num_inner_iter
int cum_num_inner_iter
Definition: SolverOptions.h:756
escript::SolverBuddy::using_default_solver_method
bool using_default_solver_method
Definition: SolverOptions.h:762
escript::SO_INTERPOLATION_CLASSIC
Definition: SolverOptions.h:154