Collects necessary output values and pass them to Damaris server processes.
More...
#include <DamarisWriter.hpp>
|
const TransmissibilityType & | globalTrans () const |
|
unsigned int | gridEquilIdxToGridIdx (unsigned int elemIndex) const |
|
void | doWriteOutput (const int reportStepNum, const bool isSubStep, data::Solution &&localCellData, data::Wells &&localWellData, data::GroupAndNetworkValues &&localGroupAndNetworkData, data::Aquifers &&localAquiferData, WellTestState &&localWTestState, const Action::State &actionState, const UDQState &udqState, const SummaryState &summaryState, const std::vector< GetPropType< TypeTag, Properties::Scalar > > &thresholdPressure, GetPropType< TypeTag, Properties::Scalar > curTime, GetPropType< TypeTag, Properties::Scalar > nextStepSize, bool doublePrecision, bool isFlowsn, std::array< FlowsData< double >, 3 > &&flowsn, bool isFloresn, std::array< FlowsData< double >, 3 > &&floresn) |
|
void | evalSummary (int reportStepNum, GetPropType< TypeTag, Properties::Scalar > curTime, const data::Wells &localWellData, const data::WellBlockAveragePressures &localWBPData, const data::GroupAndNetworkValues &localGroupAndNetworkData, const std::map< int, data::AquiferData > &localAquiferData, const std::map< std::pair< std::string, int >, double > &blockData, const std::map< std::string, double > &miscSummaryData, const std::map< std::string, std::vector< double > > ®ionData, const Inplace &inplace, const Inplace &initialInPlace, const InterRegFlowMap &interRegFlows, SummaryState &summaryState, UDQState &udqState) |
|
template<class TypeTag>
class Opm::DamarisWriter< TypeTag > Collects necessary output values and pass them to Damaris server processes.
Currently only passing through PRESSURE, GLOBAL_CELL_INDEX and MPI_RANK information. This class now passes through the 3D mesh information to Damaris to enable in situ visualization via Paraview or Ascent. And developed so that variables specified through the Eclipse input deck will be available to Damaris.
◆ DamarisWriter()
References Opm::EclGenericWriter< GetPropType< TypeTag, Properties::Grid >, GetPropType< TypeTag, Properties::EquilGrid >, GetPropType< TypeTag, Properties::GridView >, GetPropType< TypeTag, Properties::ElementMapper >, GetPropType< TypeTag, Properties::Scalar > >::collectOnIORank_, Opm::eclBroadcast(), and Opm::EclGenericWriter< GetPropType< TypeTag, Properties::Grid >, GetPropType< TypeTag, Properties::EquilGrid >, GetPropType< TypeTag, Properties::GridView >, GetPropType< TypeTag, Properties::ElementMapper >, GetPropType< TypeTag, Properties::Scalar > >::eclIO_.
◆ collectOnIORank()
◆ doWriteOutput()
void Opm::EclGenericWriter< GetPropType< TypeTag, Properties::Grid > , GetPropType< TypeTag, Properties::EquilGrid > , GetPropType< TypeTag, Properties::GridView > , GetPropType< TypeTag, Properties::ElementMapper > , GetPropType< TypeTag, Properties::Scalar > >::doWriteOutput |
( |
const int |
reportStepNum, |
|
|
const bool |
isSubStep, |
|
|
data::Solution && |
localCellData, |
|
|
data::Wells && |
localWellData, |
|
|
data::GroupAndNetworkValues && |
localGroupAndNetworkData, |
|
|
data::Aquifers && |
localAquiferData, |
|
|
WellTestState && |
localWTestState, |
|
|
const Action::State & |
actionState, |
|
|
const UDQState & |
udqState, |
|
|
const SummaryState & |
summaryState, |
|
|
const std::vector< GetPropType< TypeTag, Properties::Scalar > > & |
thresholdPressure, |
|
|
GetPropType< TypeTag, Properties::Scalar > |
curTime, |
|
|
GetPropType< TypeTag, Properties::Scalar > |
nextStepSize, |
|
|
bool |
doublePrecision, |
|
|
bool |
isFlowsn, |
|
|
std::array< FlowsData< double >, 3 > && |
flowsn, |
|
|
bool |
isFloresn, |
|
|
std::array< FlowsData< double >, 3 > && |
floresn |
|
) |
| |
|
protectedinherited |
◆ eclIO()
const EclipseIO & Opm::EclGenericWriter< GetPropType< TypeTag, Properties::Grid > , GetPropType< TypeTag, Properties::EquilGrid > , GetPropType< TypeTag, Properties::GridView > , GetPropType< TypeTag, Properties::ElementMapper > , GetPropType< TypeTag, Properties::Scalar > >::eclIO |
|
inherited |
◆ evalSummary()
void Opm::EclGenericWriter< GetPropType< TypeTag, Properties::Grid > , GetPropType< TypeTag, Properties::EquilGrid > , GetPropType< TypeTag, Properties::GridView > , GetPropType< TypeTag, Properties::ElementMapper > , GetPropType< TypeTag, Properties::Scalar > >::evalSummary |
( |
int |
reportStepNum, |
|
|
GetPropType< TypeTag, Properties::Scalar > |
curTime, |
|
|
const data::Wells & |
localWellData, |
|
|
const data::WellBlockAveragePressures & |
localWBPData, |
|
|
const data::GroupAndNetworkValues & |
localGroupAndNetworkData, |
|
|
const std::map< int, data::AquiferData > & |
localAquiferData, |
|
|
const std::map< std::pair< std::string, int >, double > & |
blockData, |
|
|
const std::map< std::string, double > & |
miscSummaryData, |
|
|
const std::map< std::string, std::vector< double > > & |
regionData, |
|
|
const Inplace & |
inplace, |
|
|
const Inplace & |
initialInPlace, |
|
|
const InterRegFlowMap & |
interRegFlows, |
|
|
SummaryState & |
summaryState, |
|
|
UDQState & |
udqState |
|
) |
| |
|
protectedinherited |
◆ getOutputNnc()
const std::vector< NNCdata > & Opm::EclGenericWriter< GetPropType< TypeTag, Properties::Grid > , GetPropType< TypeTag, Properties::EquilGrid > , GetPropType< TypeTag, Properties::GridView > , GetPropType< TypeTag, Properties::ElementMapper > , GetPropType< TypeTag, Properties::Scalar > >::getOutputNnc |
( |
| ) |
const |
|
inlineinherited |
◆ globalTrans()
const EclGenericWriter< GetPropType< TypeTag, Properties::Grid > , GetPropType< TypeTag, Properties::EquilGrid > , GetPropType< TypeTag, Properties::GridView > , GetPropType< TypeTag, Properties::ElementMapper > , GetPropType< TypeTag, Properties::Scalar > >::TransmissibilityType & Opm::EclGenericWriter< GetPropType< TypeTag, Properties::Grid > , GetPropType< TypeTag, Properties::EquilGrid > , GetPropType< TypeTag, Properties::GridView > , GetPropType< TypeTag, Properties::ElementMapper > , GetPropType< TypeTag, Properties::Scalar > >::globalTrans |
|
protectedinherited |
◆ gridEquilIdxToGridIdx()
unsigned int Opm::EclGenericWriter< GetPropType< TypeTag, Properties::Grid > , GetPropType< TypeTag, Properties::EquilGrid > , GetPropType< TypeTag, Properties::GridView > , GetPropType< TypeTag, Properties::ElementMapper > , GetPropType< TypeTag, Properties::Scalar > >::gridEquilIdxToGridIdx |
( |
unsigned int |
elemIndex | ) |
const |
|
protectedinherited |
◆ registerParameters()
◆ setSimulationReport()
void Opm::EclGenericWriter< GetPropType< TypeTag, Properties::Grid > , GetPropType< TypeTag, Properties::EquilGrid > , GetPropType< TypeTag, Properties::GridView > , GetPropType< TypeTag, Properties::ElementMapper > , GetPropType< TypeTag, Properties::Scalar > >::setSimulationReport |
( |
const SimulatorReport & |
report | ) |
|
|
inlineinherited |
◆ setSubStepReport()
void Opm::EclGenericWriter< GetPropType< TypeTag, Properties::Grid > , GetPropType< TypeTag, Properties::EquilGrid > , GetPropType< TypeTag, Properties::GridView > , GetPropType< TypeTag, Properties::ElementMapper > , GetPropType< TypeTag, Properties::Scalar > >::setSubStepReport |
( |
const SimulatorReportSingle & |
report | ) |
|
|
inlineinherited |
◆ setTransmissibilities()
void Opm::EclGenericWriter< GetPropType< TypeTag, Properties::Grid > , GetPropType< TypeTag, Properties::EquilGrid > , GetPropType< TypeTag, Properties::GridView > , GetPropType< TypeTag, Properties::ElementMapper > , GetPropType< TypeTag, Properties::Scalar > >::setTransmissibilities |
( |
const TransmissibilityType * |
globalTrans | ) |
|
|
inlineinherited |
◆ writeInit()
void Opm::EclGenericWriter< GetPropType< TypeTag, Properties::Grid > , GetPropType< TypeTag, Properties::EquilGrid > , GetPropType< TypeTag, Properties::GridView > , GetPropType< TypeTag, Properties::ElementMapper > , GetPropType< TypeTag, Properties::Scalar > >::writeInit |
( |
const std::function< unsigned int(unsigned int)> & |
map | ) |
|
|
inherited |
◆ writeOutput()
template<class TypeTag >
void Opm::DamarisWriter< TypeTag >::writeOutput |
( |
data::Solution & |
localCellData, |
|
|
bool |
isSubStep |
|
) |
| |
|
inline |
◆ cartMapper_
const Dune::CartesianIndexMapper<GetPropType< TypeTag, Properties::Grid > >& Opm::EclGenericWriter< GetPropType< TypeTag, Properties::Grid > , GetPropType< TypeTag, Properties::EquilGrid > , GetPropType< TypeTag, Properties::GridView > , GetPropType< TypeTag, Properties::ElementMapper > , GetPropType< TypeTag, Properties::Scalar > >::cartMapper_ |
|
protectedinherited |
◆ collectOnIORank_
◆ eclIO_
std::unique_ptr<EclipseIO> Opm::EclGenericWriter< GetPropType< TypeTag, Properties::Grid > , GetPropType< TypeTag, Properties::EquilGrid > , GetPropType< TypeTag, Properties::GridView > , GetPropType< TypeTag, Properties::ElementMapper > , GetPropType< TypeTag, Properties::Scalar > >::eclIO_ |
|
protectedinherited |
◆ eclState_
const EclipseState& Opm::EclGenericWriter< GetPropType< TypeTag, Properties::Grid > , GetPropType< TypeTag, Properties::EquilGrid > , GetPropType< TypeTag, Properties::GridView > , GetPropType< TypeTag, Properties::ElementMapper > , GetPropType< TypeTag, Properties::Scalar > >::eclState_ |
|
protectedinherited |
◆ equilCartMapper_
const Dune::CartesianIndexMapper<GetPropType< TypeTag, Properties::EquilGrid > >* Opm::EclGenericWriter< GetPropType< TypeTag, Properties::Grid > , GetPropType< TypeTag, Properties::EquilGrid > , GetPropType< TypeTag, Properties::GridView > , GetPropType< TypeTag, Properties::ElementMapper > , GetPropType< TypeTag, Properties::Scalar > >::equilCartMapper_ |
|
protectedinherited |
◆ equilGrid_
const GetPropType< TypeTag, Properties::EquilGrid > * Opm::EclGenericWriter< GetPropType< TypeTag, Properties::Grid > , GetPropType< TypeTag, Properties::EquilGrid > , GetPropType< TypeTag, Properties::GridView > , GetPropType< TypeTag, Properties::ElementMapper > , GetPropType< TypeTag, Properties::Scalar > >::equilGrid_ |
|
protectedinherited |
◆ globalTrans_
◆ grid_
const GetPropType< TypeTag, Properties::Grid > & Opm::EclGenericWriter< GetPropType< TypeTag, Properties::Grid > , GetPropType< TypeTag, Properties::EquilGrid > , GetPropType< TypeTag, Properties::GridView > , GetPropType< TypeTag, Properties::ElementMapper > , GetPropType< TypeTag, Properties::Scalar > >::grid_ |
|
protectedinherited |
◆ gridView_
const GetPropType< TypeTag, Properties::GridView > & Opm::EclGenericWriter< GetPropType< TypeTag, Properties::Grid > , GetPropType< TypeTag, Properties::EquilGrid > , GetPropType< TypeTag, Properties::GridView > , GetPropType< TypeTag, Properties::ElementMapper > , GetPropType< TypeTag, Properties::Scalar > >::gridView_ |
|
protectedinherited |
◆ outputNnc_
std::vector<NNCdata> Opm::EclGenericWriter< GetPropType< TypeTag, Properties::Grid > , GetPropType< TypeTag, Properties::EquilGrid > , GetPropType< TypeTag, Properties::GridView > , GetPropType< TypeTag, Properties::ElementMapper > , GetPropType< TypeTag, Properties::Scalar > >::outputNnc_ |
|
mutableprotectedinherited |
◆ restartTimeStepSize_
GetPropType< TypeTag, Properties::Scalar > Opm::EclGenericWriter< GetPropType< TypeTag, Properties::Grid > , GetPropType< TypeTag, Properties::EquilGrid > , GetPropType< TypeTag, Properties::GridView > , GetPropType< TypeTag, Properties::ElementMapper > , GetPropType< TypeTag, Properties::Scalar > >::restartTimeStepSize_ |
|
protectedinherited |
◆ schedule_
const Schedule& Opm::EclGenericWriter< GetPropType< TypeTag, Properties::Grid > , GetPropType< TypeTag, Properties::EquilGrid > , GetPropType< TypeTag, Properties::GridView > , GetPropType< TypeTag, Properties::ElementMapper > , GetPropType< TypeTag, Properties::Scalar > >::schedule_ |
|
protectedinherited |
◆ simulation_report_
SimulatorReport Opm::EclGenericWriter< GetPropType< TypeTag, Properties::Grid > , GetPropType< TypeTag, Properties::EquilGrid > , GetPropType< TypeTag, Properties::GridView > , GetPropType< TypeTag, Properties::ElementMapper > , GetPropType< TypeTag, Properties::Scalar > >::simulation_report_ |
|
protectedinherited |
◆ sub_step_report_
◆ taskletRunner_
std::unique_ptr<TaskletRunner> Opm::EclGenericWriter< GetPropType< TypeTag, Properties::Grid > , GetPropType< TypeTag, Properties::EquilGrid > , GetPropType< TypeTag, Properties::GridView > , GetPropType< TypeTag, Properties::ElementMapper > , GetPropType< TypeTag, Properties::Scalar > >::taskletRunner_ |
|
protectedinherited |
The documentation for this class was generated from the following file:
|