mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Add method PerfData::empty()
This commit is contained in:
@@ -49,6 +49,10 @@ std::size_t PerfData::size() const {
|
||||
return this->pressure.size();
|
||||
}
|
||||
|
||||
bool PerfData::empty() const {
|
||||
return this->pressure.empty();
|
||||
}
|
||||
|
||||
bool PerfData::try_assign(const PerfData& other) {
|
||||
if (this->size() != other.size())
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user