|
EclGenericWriter.hpp
Go to the documentation of this file.
73 using TransmissibilityType = Transmissibility<Grid,GridView,ElementMapper,CartesianIndexMapper,Scalar>;
180 // nnc.cell1 (NNCG in *.EGRID) Cartesian index of cell1 in the main grid where the cell belongs to.
181 // nnc.cell2 (NNCL in *.EGRID) Level/Local Cartesian index of cell2 in the refined level grid where the cell belongs to.
183 mutable std::vector<std::vector<NNCdata>> outputNncGlobalLocal_; // here GLOBAL refers to level 0 grid, local to any LGR (refined grid)
185 // Amalgamated NNCs: nncs between different LGRs. For example, nested refinement or neighboring LGRs.
188 // nnc.cell2 (NNA2 in *.EGRID) Level/Local Cartesian index of cell2 (in its level grid: level2, with level2 > level1).
204 std::vector<std::vector<NNCdata>> exportNncStructure_(const std::vector<std::unordered_map<int,int>>& levelCartToLevelCompressed,
251 std::vector<std::unordered_map<int,int>> createCartesianToActiveMaps_(const Opm::LevelCartesianIndexMapper<EquilGrid>& levelCartMapp) const;
259 std::function<std::array<int,3>(int)> computeLevelCartDimensions_(const Opm::LevelCartesianIndexMapper<EquilGrid>& levelCartMapp,
267 std::function<int(int, int)> computeLevelCartIdx_(const Opm::LevelCartesianIndexMapper<EquilGrid>& levelCartMapp,
Definition: CollectDataOnIORank.hpp:49 Definition: CollectDataOnIORank.hpp:56 Definition: EclGenericWriter.hpp:69 std::vector< std::vector< NNCdata > > outputNnc_ Definition: EclGenericWriter.hpp:177 void setSubStepReport(const SimulatorReportSingle &report) Definition: EclGenericWriter.hpp:96 void setSimulationReport(const SimulatorReport &report) Definition: EclGenericWriter.hpp:100 std::vector< std::vector< NNCdata > > outputNncGlobalLocal_ Definition: EclGenericWriter.hpp:183 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< Scalar > &thresholdPressure, Scalar curTime, Scalar nextStepSize, bool doublePrecision, bool isFlowsn, std::array< FlowsData< double >, 3 > &&flowsn, bool isFloresn, std::array< FlowsData< double >, 3 > &&floresn) Definition: EclGenericWriter_impl.hpp:894 std::unique_ptr< std::vector< data::Solution > > outputTrans_ Definition: EclGenericWriter.hpp:192 unsigned int gridEquilIdxToGridIdx(unsigned int elemIndex) const CollectDataOnIORankType collectOnIORank_ Definition: EclGenericWriter.hpp:157 SimulatorReport simulation_report_ Definition: EclGenericWriter.hpp:170 void setTransmissibilities(const TransmissibilityType *globalTrans) Definition: EclGenericWriter.hpp:91 SimulatorReportSingle sub_step_report_ Definition: EclGenericWriter.hpp:169 void extractOutputTransAndNNC(const std::function< unsigned int(unsigned int)> &map) Definition: EclGenericWriter_impl.hpp:286 Scalar restartTimeStepSize_ Definition: EclGenericWriter.hpp:164 void evalSummary(int reportStepNum, 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, const data::ReservoirCouplingGroupRates *rcGroupRates=nullptr) Definition: EclGenericWriter_impl.hpp:1002 std::vector< std::vector< std::vector< NNCdata > > > outputAmalgamatedNnc_ Definition: EclGenericWriter.hpp:190 std::unique_ptr< TaskletRunner > taskletRunner_ Definition: EclGenericWriter.hpp:163 const Dune::CartesianIndexMapper< Grid > & cartMapper_ Definition: EclGenericWriter.hpp:166 EclGenericWriter(const Schedule &schedule, const EclipseState &eclState, const SummaryConfig &summaryConfig, const Grid &grid, const EquilGrid *equilGrid, const GridView &gridView, const Dune::CartesianIndexMapper< Grid > &cartMapper, const Dune::CartesianIndexMapper< EquilGrid > *equilCartMapper, bool enableAsyncOutput, bool enableEsmry) Definition: EclGenericWriter_impl.hpp:214 const EclipseIO & eclIO() const Definition: EclGenericWriter_impl.hpp:260 const std::vector< std::vector< NNCdata > > & getOutputNnc() const Definition: EclGenericWriter.hpp:105 const CollectDataOnIORankType & collectOnIORank() const Definition: EclGenericWriter.hpp:110 const TransmissibilityType * globalTrans_ Definition: EclGenericWriter.hpp:165 const TransmissibilityType & globalTrans() const Definition: EclGenericWriter_impl.hpp:1086 std::unique_ptr< EclipseIO > eclIO_ Definition: EclGenericWriter.hpp:162 const Dune::CartesianIndexMapper< EquilGrid > * equilCartMapper_ Definition: EclGenericWriter.hpp:167 Inter-region flow accumulation maps for all region definition arrays. Definition: InterRegFlows.hpp:179 Definition: EclGenericWriter.hpp:52 Definition: Transmissibility.hpp:54 Definition: blackoilbioeffectsmodules.hh:45 Definition: SimulatorReport.hpp:122 A struct for returning timing data from a simulator to its caller. Definition: SimulatorReport.hpp:34 Provides a mechanism to dispatch work to separate threads. |