mirror of
https://github.com/OPM/opm-simulators.git
synced 2026-09-05 04:40:19 -05:00
Determine index of pressure from model used.
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.
This commit is contained in:
@@ -25,8 +25,7 @@
|
||||
"solver": "bicgstab"
|
||||
},
|
||||
"verbosity": "11",
|
||||
"weights_filename" : "weight_cpr.txt",
|
||||
"pressure_var_index" : "1"
|
||||
"weights_filename" : "weight_cpr.txt"
|
||||
},
|
||||
"verbosity": "10",
|
||||
"solver": "bicgstab"
|
||||
|
||||
Reference in New Issue
Block a user