mirror of
https://github.com/OPM/opm-simulators.git
synced 2026-10-25 07:07:42 -05:00
Removed experimental multi-cell solver code.
Since the Gauss-Seidel approach seems to be both simplest and fastest, all parts dealing with assembling multicell systems have been removed.
This commit is contained in:
1 parent
4fc5770fe2
commit
5578400e72
3 files changed
+17
-140
No files matched your search
@@ -120,9 +120,6 @@ main(int argc, char** argv)
|
||||
}
|
||||
}
|
||||
|
||||
// Linear solver.
|
||||
LinearSolverFactory linsolver(param);
|
||||
|
||||
// Choice of tof solver.
|
||||
bool use_dg = param.getDefault("use_dg", false);
|
||||
bool use_multidim_upwind = false;
|
||||
@@ -166,7 +163,7 @@ main(int argc, char** argv)
|
||||
if (use_dg) {
|
||||
dg_solver->solveTof(&flux[0], &porevol[0], &src[0], tof);
|
||||
} else {
|
||||
Opm::TofReorder tofsolver(grid, linsolver, use_multidim_upwind);
|
||||
Opm::TofReorder tofsolver(grid, use_multidim_upwind);
|
||||
if (compute_tracer) {
|
||||
tofsolver.solveTofTracer(&flux[0], &porevol[0], &src[0], tof, tracer);
|
||||
} else {
|
||||
|
||||
Reference in new issue
Block a user