18 #include "axom/fmt.hpp"
174 return "NewtonLineSearch";
176 return "TrustRegion";
178 return "KINFullStep";
180 return "KINBacktrackingLineSearch";
184 return "PetscNewton";
186 return "PetscNewtonBacktracking";
188 return "PetscNewtonCriticalPoint";
190 return "PetscTrustRegion";
286 return "JACOBI_ROWSUM";
288 return "JACOBI_ROWMAX";
339 return "HypreJacobi";
341 return "HypreL1Jacobi";
343 return "HypreGaussSeidel";
411 WHEN_INDEFINITE_OR_BOUNDARY,
456 namespace axom::fmt {
Accelerator functionality.
LinearSolver
Linear solution method indicator.
DirichletEnforcementMethod
this enum describes which way to enforce the time-varying constraint u(t) == U(t)
NonlinearSolver
Nonlinear solver method indicator.
@ PetscNewtonBacktracking
@ PetscNewtonCriticalPoint
@ KINBacktrackingLineSearch
AMGXSolver
Solver types supported by AMGX.
std::string linearName(const LinearSolver &s)
Convert linear solver enums to their string names.
std::map< std::string, LinearSolver > linearSolverMap
string->value matching for optionally entering options as string in command line
std::map< std::string, Preconditioner > preconditionerMap
string->value matching for optionally entering options as string in command line
std::string petscPCName(const PetscPCType &s)
Convert Petsc preconditioner enums to their string names.
Preconditioner
The type of preconditioner to be used.
PetscPCType
Preconditioner types supported by PETSc.
std::map< std::string, NonlinearSolver > nonlinearSolverMap
string->value matching for optionally entering options as string in command line
std::string preconditionerName(Preconditioner p)
Convert preconditioner enums to their string names.
std::string nonlinearName(const NonlinearSolver &s)
Convert nonlinear linear solver enums to their string names.
SubSpaceOptions
Enumerated options for when to use trust-region subspace solver.
TimestepMethod
Timestep method of a solver.
std::ostream & operator<<(std::ostream &out, DoF dof)
stream output for DoF
Stores the information required to configure a NVIDIA AMGX preconditioner.
AMGXSolver smoother
The smoother algorithm.
AMGXSolver solver
The solver algorithm.
bool verbose
Whether to display statistics from AMGX.
Parameters for an iterative linear solution scheme.
AMGXOptions amgx_options
AMGX Options, used for Preconditioner::AMGX.
Preconditioner preconditioner
PreconditionerOptions selection.
LinearSolver linear_solver
Linear solver selection.
double relative_tol
Relative tolerance.
int preconditioner_print_level
Debugging print level for the preconditioner.
PetscPCType petsc_preconditioner
PETSc preconditioner type.
int max_iterations
Maximum number of iterations.
int print_level
Debugging print level for the linear solver.
double absolute_tol
Absolute tolerance.
Nonlinear solution scheme parameters.
double trust_region_scaling
Scaling for the initial trust region size.
int print_level
Debug print level.
bool force_monolithic
Should the gradient be converted to a monolithic matrix.
SubSpaceOptions subspace_option
Option for how when the subspace solver should be utilized within trust-region solver.
double relative_tol
Relative tolerance.
NonlinearSolver nonlin_solver
Nonlinear solver selection.
int min_iterations
Minimum number of iterations.
double absolute_tol
Absolute tolerance.
int num_leftmost
Number of extra leftmost eigenvector to be stored between solves.
int max_line_search_iterations
Maximum line search cutbacks.
int max_iterations
Maximum number of iterations.
A timestep and boundary condition enforcement method for a dynamic solver.
TimestepMethod timestepper
The timestepping method to be applied.
DirichletEnforcementMethod enforcement_method
The essential boundary enforcement method to use.