mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
GenericThresholdPressure: convert data to appropriate Scalar
This commit is contained in:
parent
1113746b7d
commit
c29d60640c
@ -74,8 +74,8 @@ public:
|
||||
*
|
||||
* This is used for the restart capability.
|
||||
*/
|
||||
void setFromRestart(const std::vector<Scalar>& values)
|
||||
{ thpres_ = values; }
|
||||
void setFromRestart(const std::vector<double>& values)
|
||||
{ thpres_.assign(values.begin(), values.end()); }
|
||||
|
||||
//! \brief Returns a fully expanded vector for restart file writing.
|
||||
//! \details Returns the union of explicitly configured entries and defaulted values.
|
||||
|
Loading…
Reference in New Issue
Block a user