Commit Graph
4 Commits
Author SHA1 Message Date
jakobtorben 31ad614423 Normalize preconditioner type strings to lowercase 2025-08-08 13:06:16 +02:00
Markus Blatt db0f19ba88 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.
2021-06-10 16:19:18 +02:00
Atgeirr Flø Rasmussen 866db1c66d Revise json file for test after changing expected structure. 2019-06-03 11:42:30 +02:00
Halvor Møll Nilsen ec498086a6 Add flexible solver and preconditioner infrastructure.
Also use it in flow_blackoil_dunecpr.cpp. Adds new command-line parameter,
--linear-solver-configuration-json-file, to read linear solver config from
JSON-format file at runtime.
2019-06-03 11:42:30 +02:00