escript
Revision_
|
#include <Options.h>
paso::Options::Options | ( | ) | [inline] |
References setDefaults().
index_t paso::Options::getPackage | ( | index_t | solver, |
index_t | package, | ||
bool | symmetry, | ||
Esys_MPIInfo * | mpi_info | ||
) | [static] |
References Esys_setError(), PASO_DEFAULT, PASO_DIRECT, PASO_MKL, PASO_PASO, PASO_PASTIX, PASO_TRILINOS, PASO_UMFPACK, Esys_MPIInfo::size, and VALUE_ERROR.
Referenced by paso::SystemMatrix::getSystemMatrixTypeId().
index_t paso::Options::getSolver | ( | index_t | solver, |
index_t | package, | ||
bool | symmetry, | ||
Esys_MPIInfo * | mpi_info | ||
) | [static] |
returns the solver to be used with given combination
References Esys_setError(), PASO_BICGSTAB, PASO_CHOLEVSKY, PASO_DEFAULT, PASO_DIRECT, PASO_GMRES, PASO_MINRES, PASO_MKL, PASO_NONLINEAR_GMRES, PASO_PASO, PASO_PCG, PASO_PRES20, PASO_TFQMR, PASO_TRILINOS, PASO_UMFPACK, and VALUE_ERROR.
Referenced by paso::Solver().
const char * paso::Options::name | ( | index_t | key | ) | [static] |
References PASO_AGGREGATION_COARSENING, PASO_AMG, PASO_AMLI, PASO_BACKWARD_EULER, PASO_BICGSTAB, PASO_BOOMERAMG, PASO_CGS, PASO_CHOLEVSKY, PASO_CIJP_COARSENING, PASO_CIJP_FIXED_RANDOM_COARSENING, PASO_CR, PASO_CRANK_NICOLSON, PASO_DEFAULT, PASO_DEFAULT_REORDERING, PASO_DIRECT, PASO_FALGOUT_COARSENING, PASO_GAUSS_SEIDEL, PASO_GMRES, PASO_HMIS_COARSENING, PASO_ILU0, PASO_ILUT, PASO_ITERATIVE, PASO_JACOBI, PASO_LINEAR_CRANK_NICOLSON, PASO_LUMPING, PASO_MINIMUM_FILL_IN, PASO_MINRES, PASO_MKL, PASO_NESTED_DISSECTION, PASO_NO_PRECONDITIONER, PASO_NO_REORDERING, PASO_NONLINEAR_GMRES, PASO_PASO, PASO_PASTIX, PASO_PCG, PASO_PMIS_COARSENING, PASO_PRES20, PASO_REC_ILU, PASO_RILU, PASO_RUGE_STUEBEN_COARSENING, PASO_STANDARD_COARSENING, PASO_SUPER_LU, PASO_TFQMR, PASO_TRILINOS, PASO_UMFPACK, and PASO_YAIR_SHAPIRA_COARSENING.
Referenced by show().
void paso::Options::setDefaults | ( | ) |
sets the default values for solver options
References absolute_tolerance, accept_failed_convergence, adapt_inner_tolerance, coarse_level_sparsity, coarse_matrix_refinements, coarsening_matrix_time, coarsening_method, coarsening_selection_time, coarsening_threshold, converged, cycle_type, diagonal_dominance_threshold, drop_storage, drop_tolerance, inner_iter_max, inner_tolerance, interpolation_method, iter_max, level_max, method, min_coarse_matrix_size, min_coarse_sparsity, net_time, num_coarse_unknowns, num_inner_iter, num_iter, num_level, ode_solver, PASO_DEFAULT, PASO_DIRECT_INTERPOLATION, PASO_GS, PASO_JACOBI, PASO_LINEAR_CRANK_NICOLSON, PASO_NO_REORDERING, post_sweeps, pre_sweeps, preconditioner, preconditioner_size, refinements, relaxation_factor, reordering, residual_norm, restart, set_up_time, smoother, sweeps, symmetric, time, time_step_backtracking_used, tolerance, truncation, use_local_preconditioner, usePanel, and verbose.
Referenced by paso::SystemMatrixAdapter::escriptToPasoOptions(), and Options().
void paso::Options::show | ( | ) | const |
prints current option values
References absolute_tolerance, accept_failed_convergence, adapt_inner_tolerance, coarse_matrix_refinements, coarsening_method, coarsening_threshold, cycle_type, drop_storage, drop_tolerance, inner_iter_max, inner_tolerance, iter_max, level_max, method, min_coarse_sparsity, name(), ode_solver, package, post_sweeps, pre_sweeps, preconditioner, refinements, relaxation_factor, reordering, restart, sweeps, symmetric, tolerance, truncation, use_local_preconditioner, and verbose.
void paso::Options::showDiagnostics | ( | ) | const |
prints diagnostic data
References coarsening_matrix_time, coarsening_selection_time, converged, net_time, num_inner_iter, num_iter, num_level, preconditioner_size, residual_norm, set_up_time, time, and time_step_backtracking_used.
Referenced by paso::SystemMatrixAdapter::escriptToPasoOptions(), setDefaults(), show(), and paso::solve().
Referenced by paso::SystemMatrixAdapter::escriptToPasoOptions(), setDefaults(), show(), and paso::Solver_NewtonGMRES().
Referenced by paso::Preconditioner_AMG_Root_alloc(), and setDefaults().
Referenced by setDefaults(), and showDiagnostics().
Referenced by paso::Preconditioner_AMG_alloc(), paso::Preconditioner_LocalAMG_alloc(), setDefaults(), and showDiagnostics().
Referenced by setDefaults(), showDiagnostics(), paso::solve(), and paso::Solver().
Referenced by paso::Preconditioner_BoomerAMG_alloc(), setDefaults(), and show().
double paso::Options::drop_storage |
Referenced by paso::SystemMatrixAdapter::escriptToPasoOptions(), setDefaults(), and show().
Referenced by paso::SystemMatrixAdapter::escriptToPasoOptions(), setDefaults(), and show().
Referenced by paso::SystemMatrixAdapter::escriptToPasoOptions(), setDefaults(), show(), and paso::Solver_NewtonGMRES().
Referenced by paso::SystemMatrixAdapter::escriptToPasoOptions(), setDefaults(), show(), and paso::Solver_NewtonGMRES().
Referenced by paso::SystemMatrixAdapter::escriptToPasoOptions(), setDefaults(), show(), and paso::Solver().
double paso::Options::net_time |
Referenced by setDefaults(), showDiagnostics(), and paso::Solver().
Referenced by paso::Preconditioner_AMG_Root_alloc(), and setDefaults().
Referenced by setDefaults(), showDiagnostics(), and paso::Solver().
Referenced by setDefaults(), showDiagnostics(), paso::solve(), paso::TransportProblem::solve(), paso::Solver(), and paso::FCT_Solver::updateNL().
Referenced by paso::Preconditioner_AMG_Root_alloc(), setDefaults(), showDiagnostics(), and paso::Solver().
Referenced by paso::SystemMatrixAdapter::escriptToPasoOptions(), and show().
Referenced by setDefaults(), and showDiagnostics().
Referenced by paso::SystemMatrixAdapter::escriptToPasoOptions(), setDefaults(), show(), and paso::solve().
Referenced by paso::SystemMatrixAdapter::escriptToPasoOptions(), setDefaults(), and show().
double paso::Options::residual_norm |
Referenced by setDefaults(), showDiagnostics(), paso::solve(), and paso::Solver().
Referenced by paso::SystemMatrixAdapter::escriptToPasoOptions(), setDefaults(), show(), and paso::Solver().
double paso::Options::set_up_time |
Referenced by setDefaults(), showDiagnostics(), paso::solve(), and paso::Solver().
Referenced by paso::SystemMatrixAdapter::escriptToPasoOptions(), setDefaults(), show(), and paso::Solver().
double paso::Options::time |
Referenced by setDefaults(), showDiagnostics(), paso::solve(), and paso::Solver().
Referenced by setDefaults(), showDiagnostics(), and paso::TransportProblem::solve().
double paso::Options::tolerance |
Referenced by paso::SystemMatrixAdapter::escriptToPasoOptions(), setDefaults(), show(), and paso::Solver().
Referenced by paso::SystemMatrixAdapter::escriptToPasoOptions(), paso::FCT_Solver::initialize(), paso::Preconditioner_alloc(), paso::Preconditioner_AMG_alloc(), paso::Preconditioner_AMG_Root_alloc(), paso::Preconditioner_BoomerAMG_alloc(), paso::Preconditioner_LocalAMG_alloc(), setDefaults(), show(), paso::solve(), paso::TransportProblem::solve(), paso::Solver(), paso::Solver_NewtonGMRES(), paso::FCT_Solver::updateLCN(), and paso::FCT_Solver::updateNL().