1 #ifndef __PARAMETERS_LINEAR_SOLVER_H__ 2 #define __PARAMETERS_LINEAR_SOLVER_H__ 4 #include <deal.II/base/parameter_handler.h> 6 #include "parameters.h" double ilut_drop
Threshold to drop terms close to zero.
Parameters related to the linear solver.
static void declare_parameters(dealii::ParameterHandler &prm)
Declares the possible variables and sets the defaults.
LinearSolverEnum
Types of linear solvers available.
double ilut_atol
Add ilu_rtol to diagonal for more diagonal dominance.
Files for the baseline physics.
int newton_max_iterations
Maximum number of Newton iterations (for Jacobian-free Newton-Krylov)
int restart_number
Number of iterations before restarting GMRES.
double linear_residual
Tolerance for linear residual.
LinearSolverEnum linear_solver_type
direct or gmres.
double ilut_rtol
Multiplies diagonal by ilut_rtol for more diagonal dominance.
int max_iterations
Maximum number of linear iteration.
void parse_parameters(dealii::ParameterHandler &prm)
Parses input file and sets the variables.
int ilut_fill
ILU fill-in.
double perturbation_magnitude
Small perturbation magnitude for Jacobian-free methods.
double newton_residual
Tolerance for Newton iteration residual (for Jacobian-free Newton-Krylov)
OutputEnum linear_solver_output
Can either be verbose or quiet.