mirror of
https://github.com/OPM/opm-simulators.git
synced 2024-11-22 09:16:27 -06:00
db0f19ba88
Previously, the user had to specify it in the json file read from the FlexibleSolver or 1 was used. Unfortunately, the index depends on the model used and it seem rather opaque to a user what that index is. With this commit we determine the pressure index from the model.
33 lines
827 B
JSON
33 lines
827 B
JSON
{
|
|
"tol": "0.5",
|
|
"maxiter": "20",
|
|
"preconditioner": {
|
|
"type": "cpr",
|
|
"finesmoother": {
|
|
"type": "ILU0",
|
|
"relaxation": "1.0"
|
|
},
|
|
"coarsesolver": {
|
|
"tol": "0.5",
|
|
"maxiter": "20",
|
|
"preconditioner": {
|
|
"type": "amg",
|
|
"maxlevel": "5",
|
|
"coarsenTarget": "1000",
|
|
"smoother": "ILU0",
|
|
"alpha": "0.2",
|
|
"beta": "0.0001",
|
|
"verbosity": "0",
|
|
"iterations": "1",
|
|
"relaxation": "1"
|
|
},
|
|
"verbosity": "0",
|
|
"solver": "bicgstab"
|
|
},
|
|
"verbosity": "11",
|
|
"weights_filename" : "weight_cpr.txt"
|
|
},
|
|
"verbosity": "10",
|
|
"solver": "bicgstab"
|
|
}
|