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:
Markus Blatt
2021-06-10 16:19:18 +02:00
parent ed131190eb
commit db0f19ba88
12 changed files with 160 additions and 93 deletions
+1 -2
View File
@@ -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"