mirror of
https://github.com/OPM/opm-simulators.git
synced 2026-10-12 17:02:02 -05:00
properly create state.temperature in the FullyImplicitCompressiblePolymerSolver class
This commit is contained in:
1 parent
db86c367d5
commit
7c3020822a
1 file changed
+4
@@ -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