mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Undo changes to NewtonIterationsBlackoilInterleaved.
This commit is contained in:
parent
9e3d360b5b
commit
9be05f4206
@ -207,7 +207,7 @@ namespace Opm
|
||||
*/
|
||||
template<typename Scalar> struct PointOneOp {
|
||||
EIGEN_EMPTY_STRUCT_CTOR(PointOneOp)
|
||||
Scalar operator()(const Scalar&, const Scalar&) const { return 0.1; }
|
||||
Scalar operator()(const Scalar& a, const Scalar& b) const { return 0.1; }
|
||||
};
|
||||
}
|
||||
|
||||
@ -234,7 +234,6 @@ namespace Opm
|
||||
assert(size == row_major.cols());
|
||||
|
||||
// Create ISTL matrix with interleaved rows and columns (block structured).
|
||||
{
|
||||
assert(np == 3);
|
||||
istlA.setSize(row_major.rows(), row_major.cols(), row_major.nonZeros());
|
||||
istlA.setBuildMode(Mat::row_wise);
|
||||
@ -254,7 +253,6 @@ namespace Opm
|
||||
istlA[row][col] = 0.0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Go through all jacobians, and insert in correct spot
|
||||
|
Loading…
Reference in New Issue
Block a user