mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
fixed rest of review comments
This commit is contained in:
parent
83e7bbb140
commit
e5c76f6eb2
@ -436,9 +436,9 @@ private:
|
|||||||
MatrixBlock bMat(0.0);
|
MatrixBlock bMat(0.0);
|
||||||
ADVectorBlock adres(0.0);
|
ADVectorBlock adres(0.0);
|
||||||
const IntensiveQuantities* intQuantsInP = model_().cachedIntensiveQuantities(globI, /*timeIdx*/ 0);
|
const IntensiveQuantities* intQuantsInP = model_().cachedIntensiveQuantities(globI, /*timeIdx*/ 0);
|
||||||
// if (intQuantsInP == nullptr) {
|
if (intQuantsInP == nullptr) {
|
||||||
// throw std::logic_error("Missing updated intensive quantities for cell " + std::to_string(globI));
|
throw std::logic_error("Missing updated intensive quantities for cell " + std::to_string(globI));
|
||||||
// }
|
}
|
||||||
const IntensiveQuantities& intQuantsIn = *intQuantsInP;
|
const IntensiveQuantities& intQuantsIn = *intQuantsInP;
|
||||||
|
|
||||||
// Flux term.
|
// Flux term.
|
||||||
|
Loading…
Reference in New Issue
Block a user