mirror of
https://github.com/OPM/opm-simulators.git
synced 2026-10-12 08:54:53 -05:00
add a summary state member in eclBaseVanguard
This commit is contained in:
1 parent
aa87e215d0
commit
8afdf2cdb5
1 file changed
+20
@@ -44,6 +44,8 @@
|
|||||||
#include <opm/parser/eclipse/EclipseState/Grid/EclipseGrid.hpp>
|
#include <opm/parser/eclipse/EclipseState/Grid/EclipseGrid.hpp>
|
||||||
#include <opm/parser/eclipse/EclipseState/Schedule/Schedule.hpp>
|
#include <opm/parser/eclipse/EclipseState/Schedule/Schedule.hpp>
|
||||||
#include <opm/parser/eclipse/EclipseState/SummaryConfig/SummaryConfig.hpp>
|
#include <opm/parser/eclipse/EclipseState/SummaryConfig/SummaryConfig.hpp>
|
||||||
|
#include <opm/parser/eclipse/EclipseState/Schedule/SummaryState.hpp>
|
||||||
|
|
||||||
|
|
||||||
#if HAVE_MPI
|
#if HAVE_MPI
|
||||||
#include <mpi.h>
|
#include <mpi.h>
|
||||||
@@ -379,6 +381,21 @@ public:
|
|||||||
static void setExternalSummaryConfig(Opm::SummaryConfig* summaryConfig)
|
static void setExternalSummaryConfig(Opm::SummaryConfig* summaryConfig)
|
||||||
{ externalEclSummaryConfig_ = summaryConfig; }
|
{ externalEclSummaryConfig_ = summaryConfig; }
|
||||||
|
|
||||||
|
|
||||||
|
/*!
|
||||||
|
* \brief Returns the summary state
|
||||||
|
*
|
||||||
|
* The summary state is a small container object for
|
||||||
|
* computed, ready to use summary values. The values will typically be used by
|
||||||
|
* the UDQ, WTEST and ACTIONX calculations.
|
||||||
|
*/
|
||||||
|
const Opm::SummaryState& summaryState() const
|
||||||
|
{ return summaryState_; }
|
||||||
|
|
||||||
|
Opm::SummaryState& summaryState()
|
||||||
|
{ return summaryState_; }
|
||||||
|
|
||||||
|
|
||||||
/*!
|
/*!
|
||||||
* \brief Returns the name of the case.
|
* \brief Returns the name of the case.
|
||||||
*
|
*
|
||||||
@@ -515,6 +532,9 @@ private:
|
|||||||
|
|
||||||
Opm::Schedule* eclSchedule_;
|
Opm::Schedule* eclSchedule_;
|
||||||
Opm::SummaryConfig* eclSummaryConfig_;
|
Opm::SummaryConfig* eclSummaryConfig_;
|
||||||
|
|
||||||
|
Opm::SummaryState summaryState_;
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
template <class TypeTag>
|
template <class TypeTag>
|
||||||
|
|||||||
Reference in new issue
Block a user