GenericCpGridVanguard.hpp
Go to the documentation of this file.
125 static void setExternalLoadBalancer(const std::function<std::vector<int> (const Dune::CpGrid&)>& loadBalancer)
Definition: CollectDataOnIORank.hpp:49 std::vector< std::pair< std::string, bool > > ParallelWellStruct Definition: FlowGenericVanguard.hpp:109 Definition: GenericCpGridVanguard.hpp:79 const CartesianIndexMapper & cartesianIndexMapper() const Returns the object which maps a global element index of the simulation grid to the corresponding elem... void releaseEquilGrid() Indicates that the initial condition has been computed and the memory used by the EQUIL grid can be r... const Dune::CpGrid & equilGrid() const Returns a refefence to the grid which should be used by the EQUIL initialization code. virtual double zoltanPhgEdgeSizeThreshold() const =0 const LevelCartesianIndexMapper levelCartesianIndexMapper() const Returns the object which maps a global element index of the simulation grid to the corresponding elem... std::unique_ptr< Dune::CpGrid > equilGrid_ Definition: GenericCpGridVanguard.hpp:233 virtual double getTransmissibility(unsigned I, unsigned J) const =0 void doCreateGrids_(EclipseState &eclState) const CartesianIndexMapper & equilCartesianIndexMapper() const Returns mapper from compressed to cartesian indices for the EQUIL grid. std::vector< int > cell_part_ Definition: GenericCpGridVanguard.hpp:239 virtual void allocTrans()=0 void doLoadBalance_(const Dune::EdgeWeightMethod edgeWeightsMethod, const bool ownersFirst, const bool addCorners, const int numOverlap, const Dune::PartitionMethod partitionMethod, const bool serialPartitioning, const bool enableDistributedWells, const bool allowSplittingInactiveWells, const double imbalanceTol, const GridView &gridView, const Schedule &schedule, EclipseState &eclState, FlowGenericVanguard::ParallelWellStruct ¶llelWells, const int numJacobiBlocks, const bool enableEclOutput) Distribute the simulation grid over multiple processes. const std::vector< int > & cellPartition() const Definition: GenericCpGridVanguard.hpp:147 GenericCpGridVanguard() const Dune::CpGrid & grid() const Return a reference to the simulation grid. Definition: GenericCpGridVanguard.hpp:99 void distributeFieldProps_(EclipseState &eclState) std::unique_ptr< CartesianIndexMapper > equilCartesianIndexMapper_ Definition: GenericCpGridVanguard.hpp:235 std::unique_ptr< LevelCartesianIndexMapper > levelCartesianIndexMapper_ Definition: GenericCpGridVanguard.hpp:236 static void setExternalLoadBalancer(const std::function< std::vector< int >(const Dune::CpGrid &)> &loadBalancer) Sets a function that returns external load balancing information when passed the grid. Definition: GenericCpGridVanguard.hpp:125 virtual const std::string & metisParams() const =0 Dune::CpGrid & grid() Return a reference to the simulation grid. Definition: GenericCpGridVanguard.hpp:93 typename GridView::template Codim< 0 >::Entity Element Definition: GenericCpGridVanguard.hpp:83 void allocCartMapper() virtual const std::string & zoltanParams() const =0 std::unique_ptr< Dune::CpGrid > grid_ Definition: GenericCpGridVanguard.hpp:232 std::unique_ptr< CartesianIndexMapper > cartesianIndexMapper_ Definition: GenericCpGridVanguard.hpp:234 Scalar computeCellThickness(const Element &element) const void addLgrsUpdateLeafView(const LgrCollection &lgrCollection, const int lgrsSize, Dune::CpGrid &grid) void doFilterConnections_(Schedule &schedule) virtual ~GenericCpGridVanguard()=default Definition: RelpermDiagnostics.hpp:31 Parallel frontend to the EclipseState. Definition: ParallelEclipseState.hpp:152 Definition: GenericCpGridVanguard.hpp:57 MPIPartitionFromFile(const std::filesystem::path &partitionFile) Definition: GenericCpGridVanguard.hpp:59 std::vector< int > operator()(const Dune::CpGrid &grid) const Definition: blackoilboundaryratevector.hh:39 std::optional< std::function< std::vector< int >(const Dune::CpGrid &)> > externalLoadBalancer optional functor returning external load balancing information |