mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-01-02 12:36:54 -06:00
Revert "Re-introduced tempoary fix for singular matrix."
Seems not to be needed any more ...
This reverts commit bb12bdd1fd
.
This commit is contained in:
parent
4ce61b7c7c
commit
3ff807edc4
@ -233,18 +233,6 @@ namespace {
|
||||
|
||||
std::vector<std::vector<double>> residual_history;
|
||||
|
||||
|
||||
// do a zero update once to switch to the right primary
|
||||
// variables. this is a bit hacky, but it is by far the
|
||||
// easiest thing to do...
|
||||
int numCells = Opm::AutoDiffGrid::numCells(grid_);
|
||||
int numPhases = x.numPhases();
|
||||
int numWells = xw.basicWellState().bhp().size();
|
||||
int numDofs = numPhases * (numCells + numWells) + numWells;
|
||||
V zero = V::Zero(numDofs);
|
||||
updateState(zero, x, xw);
|
||||
|
||||
|
||||
assemble(pvdt, x, xw);
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user