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 std::optional< int > timeStepNum, 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 std::optional< int > |
timeStepNum, |
|
|
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()
◆ 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 |
◆ extractOutputTransAndNNC()
◆ getOutputNnc()
◆ 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()
◆ registerParameters()
◆ setSimulationReport()
◆ setSubStepReport()
◆ setTransmissibilities()
◆ writeInit()
◆ 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_
◆ eclState_
◆ 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_
|
mutableprotectedinherited |
◆ outputTrans_
|
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_
◆ simulation_report_
◆ sub_step_report_
◆ taskletRunner_
The documentation for this class was generated from the following file:
|