Revert "Re-introduced tempoary fix for singular matrix."

Seems not to be needed any more ...
This reverts commit bb12bdd1fd.
This commit is contained in:
osae 2014-08-08 16:10:03 +02:00
parent 4ce61b7c7c
commit 3ff807edc4

View File

@ -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);