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:62 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 doLoadBalance_(const Dune::EdgeWeightMethod edgeWeightsMethod, const bool ownersFirst, const bool serialPartitioning, const bool enableDistributedWells, const double zoltanImbalanceTol, const GridView &gridView, const Schedule &schedule, EclipseState &eclState, FlowGenericVanguard::ParallelWellStruct ¶llelWells, const int numJacobiBlocks) Distribute the simulation grid over multiple processes. 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:208 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:213 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:210 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 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:207 void addLgrsUpdateLeafView(const LgrCollection &lgrCollection, const int lgrsSize) std::unique_ptr< CartesianIndexMapper > cartesianIndexMapper_ Definition: GenericCpGridVanguard.hpp:209 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: BlackoilPhases.hpp:27 std::optional< std::function< std::vector< int >(const Dune::CpGrid &)> > externalLoadBalancer optional functor returning external load balancing information |