mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Ensure serialization of the solution object also with dune-fem.
This commit is contained in:
@@ -1899,8 +1899,13 @@ public:
|
||||
template<class Serializer>
|
||||
void serializeOp(Serializer& serializer)
|
||||
{
|
||||
for (auto& sol : solution_)
|
||||
for (auto& sol : solution_) {
|
||||
#if HAVE_DUNE_FEM
|
||||
serializer(sol->blockVector());
|
||||
#else
|
||||
serializer(*sol);
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
||||
bool operator==(const FvBaseDiscretization& rhs) const
|
||||
|
||||
Reference in New Issue
Block a user