|
EclGenericWriter.hpp
Go to the documentation of this file.
71 using TransmissibilityType = Transmissibility<Grid,GridView,ElementMapper,CartesianIndexMapper,Scalar>;
177 // nnc.cell1 (NNCG in *.EGRID) Cartesian index of cell1 in the main grid where the cell belongs to.
178 // nnc.cell2 (NNCL in *.EGRID) Level/Local Cartesian index of cell2 in the refined level grid where the cell belongs to.
180 mutable std::vector<std::vector<NNCdata>> outputNncGlobalLocal_; // here GLOBAL refers to level 0 grid, local to any LGR (refined grid)
182 // Amalgamated NNCs: nncs between different LGRs. For example, nested refinement or neighboring LGRs.
185 // nnc.cell2 (NNA2 in *.EGRID) Level/Local Cartesian index of cell2 (in its level grid: level2, with level2 > level1).
201 std::vector<std::vector<NNCdata>> exportNncStructure_(const std::vector<std::unordered_map<int,int>>& levelCartToLevelCompressed,
248 std::vector<std::unordered_map<int,int>> createCartesianToActiveMaps_(const Opm::LevelCartesianIndexMapper<EquilGrid>& levelCartMapp) const;
256 std::function<std::array<int,3>(int)> computeLevelCartDimensions_(const Opm::LevelCartesianIndexMapper<EquilGrid>& levelCartMapp,
264 std::function<int(int, int)> computeLevelCartIdx_(const Opm::LevelCartesianIndexMapper<EquilGrid>& levelCartMapp,
Definition: CollectDataOnIORank.hpp:49 Definition: CollectDataOnIORank.hpp:56 Definition: EclGenericWriter.hpp:67 std::vector< std::vector< NNCdata > > outputNnc_ Definition: EclGenericWriter.hpp:174 void setSubStepReport(const SimulatorReportSingle &report) Definition: EclGenericWriter.hpp:94 void setSimulationReport(const SimulatorReport &report) Definition: EclGenericWriter.hpp:98 std::vector< std::vector< NNCdata > > outputNncGlobalLocal_ Definition: EclGenericWriter.hpp:180 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:836 std::unique_ptr< std::vector< data::Solution > > outputTrans_ Definition: EclGenericWriter.hpp:189 unsigned int gridEquilIdxToGridIdx(unsigned int elemIndex) const CollectDataOnIORankType collectOnIORank_ Definition: EclGenericWriter.hpp:154 SimulatorReport simulation_report_ Definition: EclGenericWriter.hpp:167 void setTransmissibilities(const TransmissibilityType *globalTrans) Definition: EclGenericWriter.hpp:89 SimulatorReportSingle sub_step_report_ Definition: EclGenericWriter.hpp:166 void extractOutputTransAndNNC(const std::function< unsigned int(unsigned int)> &map) Definition: EclGenericWriter_impl.hpp:286 Scalar restartTimeStepSize_ Definition: EclGenericWriter.hpp:161 std::vector< std::vector< std::vector< NNCdata > > > outputAmalgamatedNnc_ Definition: EclGenericWriter.hpp:187 std::unique_ptr< TaskletRunner > taskletRunner_ Definition: EclGenericWriter.hpp:160 const Dune::CartesianIndexMapper< Grid > & cartMapper_ Definition: EclGenericWriter.hpp:163 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:103 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) Definition: EclGenericWriter_impl.hpp:944 const CollectDataOnIORankType & collectOnIORank() const Definition: EclGenericWriter.hpp:108 const TransmissibilityType * globalTrans_ Definition: EclGenericWriter.hpp:162 const TransmissibilityType & globalTrans() const Definition: EclGenericWriter_impl.hpp:1026 std::unique_ptr< EclipseIO > eclIO_ Definition: EclGenericWriter.hpp:159 const Dune::CartesianIndexMapper< EquilGrid > * equilCartMapper_ Definition: EclGenericWriter.hpp:164 Inter-region flow accumulation maps for all region definition arrays. Definition: InterRegFlows.hpp:179 Definition: EclGenericWriter.hpp:50 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. |