mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
add isSerializing member to eclmpiserializer
sometimes it is necessary to know in user code
This commit is contained in:
parent
6ce41ba87b
commit
13639cdace
@ -164,6 +164,11 @@ public:
|
||||
return m_position;
|
||||
}
|
||||
|
||||
bool isSerializing() const
|
||||
{
|
||||
return m_op != Operation::UNPACK;
|
||||
}
|
||||
|
||||
protected:
|
||||
template<class T>
|
||||
struct is_pair {
|
||||
|
Loading…
Reference in New Issue
Block a user