mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
properly create state.temperature in the FullyImplicitCompressiblePolymerSolver class
This commit is contained in:
@@ -440,6 +440,10 @@ namespace {
|
||||
int nextvar = 0;
|
||||
state.pressure = vars[ nextvar++ ];
|
||||
|
||||
// Temperature. (this is always a constant so far)
|
||||
const V T = Eigen::Map<const V>(& x.temperature()[0], nc, 1);
|
||||
state.temperature = ADB::constant(T);
|
||||
|
||||
// Saturation.
|
||||
const std::vector<int>& bpat = vars[0].blockPattern();
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user