GenericCpGridVanguard.hpp
Go to the documentation of this file.
123 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:101 Definition: GenericCpGridVanguard.hpp:78 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. std::unique_ptr< Dune::CpGrid > equilGrid_ Definition: GenericCpGridVanguard.hpp:214 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:219 virtual void allocTrans()=0 const std::vector< int > & cellPartition() const Definition: GenericCpGridVanguard.hpp:139 GenericCpGridVanguard() const Dune::CpGrid & grid() const Return a reference to the simulation grid. Definition: GenericCpGridVanguard.hpp:97 void distributeFieldProps_(EclipseState &eclState) std::unique_ptr< CartesianIndexMapper > equilCartesianIndexMapper_ Definition: GenericCpGridVanguard.hpp:216 void doLoadBalance_(const Dune::EdgeWeightMethod edgeWeightsMethod, const bool ownersFirst, const Dune::PartitionMethod partitionMethod, const bool serialPartitioning, const bool enableDistributedWells, const double imbalanceTol, const GridView &gridView, const Schedule &schedule, EclipseState &eclState, FlowGenericVanguard::ParallelWellStruct ¶llelWells, const int numJacobiBlocks) Distribute the simulation grid over multiple processes. 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:123 virtual const std::string & metisParams() const =0 Dune::CpGrid & grid() Return a reference to the simulation grid. Definition: GenericCpGridVanguard.hpp:91 typename GridView::template Codim< 0 >::Entity Element Definition: GenericCpGridVanguard.hpp:81 void allocCartMapper() virtual const std::string & zoltanParams() const =0 std::unique_ptr< Dune::CpGrid > grid_ Definition: GenericCpGridVanguard.hpp:213 void addLgrsUpdateLeafView(const LgrCollection &lgrCollection, const int lgrsSize) std::unique_ptr< CartesianIndexMapper > cartesianIndexMapper_ Definition: GenericCpGridVanguard.hpp:215 Scalar computeCellThickness(const Element &element) const void doFilterConnections_(Schedule &schedule) virtual ~GenericCpGridVanguard()=default Parallel frontend to the EclipseState. Definition: ParallelEclipseState.hpp:147 Definition: GenericCpGridVanguard.hpp:56 MPIPartitionFromFile(const std::filesystem::path &partitionFile) Definition: GenericCpGridVanguard.hpp:58 std::vector< int > operator()(const Dune::CpGrid &grid) const Definition: blackoilboundaryratevector.hh:37 std::optional< std::function< std::vector< int >(const Dune::CpGrid &)> > externalLoadBalancer optional functor returning external load balancing information |