mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Merge pull request #2453 from akva2/eclstate_serialize
drop serialization from ParallelEclipseState
This commit is contained in:
commit
21dc2620fd
@ -195,25 +195,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)
|
||||||
|
@ -131,12 +131,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