mirror of
https://github.com/OPM/opm-simulators.git
synced 2024-12-22 15:33:29 -06:00
Set Hypre AMG parameters to Jutul default
This commit is contained in:
parent
10f7a85532
commit
84193fa53d
@ -58,13 +58,14 @@ public:
|
||||
HYPRE_BoomerAMGCreate(&solver_);
|
||||
|
||||
// Set some default parameters
|
||||
HYPRE_BoomerAMGSetPrintLevel(solver_, 0); // Reduce output
|
||||
HYPRE_BoomerAMGSetOldDefault(solver_); // Falgout coarsening with modified classical interpolation
|
||||
HYPRE_BoomerAMGSetRelaxType(solver_, 3); // G-S/Jacobi hybrid relaxation
|
||||
HYPRE_BoomerAMGSetRelaxOrder(solver_, 1); // Uses C/F relaxation
|
||||
HYPRE_BoomerAMGSetNumSweeps(solver_, 1); // Sweeps on each level
|
||||
HYPRE_BoomerAMGSetMaxLevels(solver_, 20); // Maximum number of levels
|
||||
HYPRE_BoomerAMGSetTol(solver_, 1e-7); // Convergence tolerance
|
||||
HYPRE_BoomerAMGSetPrintLevel(solver_, 0); // Reduce output
|
||||
HYPRE_BoomerAMGSetCoarsenType(solver_, 10); // HMIS coarsening
|
||||
HYPRE_BoomerAMGSetStrongThreshold(solver_, 0.5); // Strength threshold for 3D
|
||||
HYPRE_BoomerAMGSetAggNumLevels(solver_, 1); // Aggressive coarsening on first level
|
||||
HYPRE_BoomerAMGSetAggTruncFactor(solver_, 0.3); // Remove weak connections
|
||||
HYPRE_BoomerAMGSetInterpType(solver_, 6); // ext+i interpolation
|
||||
HYPRE_BoomerAMGSetMaxLevels(solver_, 15); // Maximum number of levels
|
||||
HYPRE_BoomerAMGSetTol(solver_, 0.1); // Convergence tolerance
|
||||
|
||||
|
||||
// Create the vectors
|
||||
|
Loading…
Reference in New Issue
Block a user