|
EclGenericWriter.hpp
Go to the documentation of this file.
80 using TransmissibilityType = Transmissibility<Grid,GridView,ElementMapper,CartesianIndexMapper,Scalar>;
216 // nnc.cell1 (NNCG in *.EGRID) Cartesian index of cell1 in the main grid where the cell belongs to.
217 // nnc.cell2 (NNCL in *.EGRID) Level/Local Cartesian index of cell2 in the refined level grid where the cell belongs to.
219 mutable std::vector<std::vector<NNCdata>> outputNncGlobalLocal_; // here GLOBAL refers to level 0 grid, local to any LGR (refined grid)
221 // Amalgamated NNCs: nncs between different LGRs. For example, nested refinement or neighboring LGRs.
224 // nnc.cell2 (NNA2 in *.EGRID) Level/Local Cartesian index of cell2 (in its level grid: level2, with level2 > level1).
240 std::vector<std::vector<NNCdata>> exportNncStructure_(const std::vector<std::unordered_map<int,int>>& levelCartToLevelCompressed,
287 std::vector<std::unordered_map<int,int>> createCartesianToActiveMaps_(const Opm::LevelCartesianIndexMapper<EquilGrid>& levelCartMapp) const;
295 std::function<std::array<int,3>(int)> computeLevelCartDimensions_(const Opm::LevelCartesianIndexMapper<EquilGrid>& levelCartMapp,
303 std::function<int(int, int)> computeLevelCartIdx_(const Opm::LevelCartesianIndexMapper<EquilGrid>& levelCartMapp,
Definition: CollectDataOnIORank.hpp:50 Definition: CollectDataOnIORank.hpp:57 Definition: EclGenericWriter.hpp:76 std::vector< std::vector< NNCdata > > outputNnc_ Definition: EclGenericWriter.hpp:213 void setSubStepReport(const SimulatorReportSingle &report) Definition: EclGenericWriter.hpp:112 void setSimulationReport(const SimulatorReport &report) Definition: EclGenericWriter.hpp:116 double gatheredOrGlobalTrans_(const std::array< int, N > &key, unsigned c1, unsigned c2) const Definition: EclGenericWriter_impl.hpp:1167 std::vector< std::vector< NNCdata > > outputNncGlobalLocal_ Definition: EclGenericWriter.hpp:219 std::unique_ptr< std::vector< data::Solution > > outputTrans_ Definition: EclGenericWriter.hpp:228 unsigned int gridEquilIdxToGridIdx(unsigned int elemIndex) const void setGatheredLgrTrans(std::optional< GatheredLgrOutputTrans > gatheredTrans) Definition: EclGenericWriter.hpp:107 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::tuple< std::string, int, int >, double > &lgrBlockData, const std::map< std::string, double > &miscSummaryData, const std::map< std::string, std::vector< double > > ®ionData, const data::RegionVariableMapping ®VarMap, const RegionVariableCollection ®Vars, const Inplace &inplace, const Inplace *initialInPlace, const InterRegFlowMap &interRegFlows, SummaryState &summaryState, UDQState &udqState, const data::ReservoirCouplingGroupRates *rcGroupRates=nullptr) Definition: EclGenericWriter_impl.hpp:1058 CollectDataOnIORankType collectOnIORank_ Definition: EclGenericWriter.hpp:192 SimulatorReport simulation_report_ Definition: EclGenericWriter.hpp:206 void setTransmissibilities(const TransmissibilityType *globalTrans) Definition: EclGenericWriter.hpp:98 SimulatorReportSingle sub_step_report_ Definition: EclGenericWriter.hpp:205 void extractOutputTransAndNNC(const std::function< unsigned int(unsigned int)> &map) Definition: EclGenericWriter_impl.hpp:313 Scalar restartTimeStepSize_ Definition: EclGenericWriter.hpp:199 std::vector< std::vector< std::vector< NNCdata > > > outputAmalgamatedNnc_ Definition: EclGenericWriter.hpp:226 std::unique_ptr< TaskletRunner > taskletRunner_ Definition: EclGenericWriter.hpp:198 const double * findGatheredTrans_(const std::array< int, N > &key) const Definition: EclGenericWriter_impl.hpp:1148 std::optional< GatheredLgrOutputTrans > gatheredLgrTrans_ Definition: EclGenericWriter.hpp:201 const Dune::CartesianIndexMapper< Grid > & cartMapper_ Definition: EclGenericWriter.hpp:202 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:227 const EclipseIO & eclIO() const Definition: EclGenericWriter_impl.hpp:273 const std::vector< std::vector< NNCdata > > & getOutputNnc() const Definition: EclGenericWriter.hpp:121 const CollectDataOnIORankType & collectOnIORank() const Definition: EclGenericWriter.hpp:126 const TransmissibilityType * globalTrans_ Definition: EclGenericWriter.hpp:200 const TransmissibilityType & globalTrans() const Definition: EclGenericWriter_impl.hpp:1190 std::unique_ptr< EclipseIO > eclIO_ Definition: EclGenericWriter.hpp:197 const Dune::CartesianIndexMapper< EquilGrid > * equilCartMapper_ Definition: EclGenericWriter.hpp:203 void doWriteOutput(const int reportStepNum, const std::optional< int > timeStepNum, const bool isSubStep, const bool forcedSimulationFinished, 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:948 Inter-region flow accumulation maps for all region definition arrays. Definition: InterRegFlows.hpp:179 Definition: EclGenericWriter.hpp:54 Definition: Transmissibility.hpp:55 Definition: ActionHandler.hpp:34 Definition: BioeffectsContainer.hpp:33 Definition: blackoilbioeffectsmodules.hh:45 Definition: SimulatorReport.hpp:202 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. |