mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
drop serialization from ParallelEclipseState
now done in base class
This commit is contained in:
parent
a7e3a69d8f
commit
10af852d1e
@ -136,25 +136,6 @@ ParallelEclipseState::ParallelEclipseState(const Deck& deck)
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
#if HAVE_MPI
|
|
||||||
void ParallelEclipseState::serializeOp(EclMpiSerializer& serializer)
|
|
||||||
{
|
|
||||||
serializer(m_tables);
|
|
||||||
serializer(m_runspec);
|
|
||||||
serializer(m_eclipseConfig);
|
|
||||||
serializer(m_deckUnitSystem);
|
|
||||||
serializer(m_inputNnc);
|
|
||||||
serializer(m_inputEditNnc);
|
|
||||||
serializer(m_gridDims);
|
|
||||||
serializer(m_simulationConfig);
|
|
||||||
serializer(m_transMult);
|
|
||||||
serializer(m_faults);
|
|
||||||
serializer(m_title);
|
|
||||||
serializer(aquifer_config);
|
|
||||||
}
|
|
||||||
#endif
|
|
||||||
|
|
||||||
|
|
||||||
const FieldPropsManager& ParallelEclipseState::fieldProps() const
|
const FieldPropsManager& ParallelEclipseState::fieldProps() const
|
||||||
{
|
{
|
||||||
if (!m_parProps && Dune::MPIHelper::getCollectiveCommunication().rank() != 0)
|
if (!m_parProps && Dune::MPIHelper::getCollectiveCommunication().rank() != 0)
|
||||||
|
@ -115,12 +115,6 @@ public:
|
|||||||
//! \details Only called on root process
|
//! \details Only called on root process
|
||||||
ParallelEclipseState(const Deck& deck);
|
ParallelEclipseState(const Deck& deck);
|
||||||
|
|
||||||
#if HAVE_MPI
|
|
||||||
//! \brief Perform serialization operation.
|
|
||||||
//! \param serializer The serializer to use
|
|
||||||
void serializeOp(EclMpiSerializer& serializer);
|
|
||||||
#endif
|
|
||||||
|
|
||||||
//! \brief Switch to global field properties.
|
//! \brief Switch to global field properties.
|
||||||
//! \details Called on root process to use the global field properties
|
//! \details Called on root process to use the global field properties
|
||||||
void switchToGlobalProps();
|
void switchToGlobalProps();
|
||||||
|
Loading…
Reference in New Issue
Block a user