CpGridVanguard.hpp
Go to the documentation of this file.
103 using TransmissibilityType = Transmissibility<Grid, GridView, ElementMapper, CartesianIndexMapper, Scalar>;
132 throw std::runtime_error("Input specifies energy while simulator has disabled it, try xxx_energy");
136 throw std::runtime_error("Input specifies no energy while simulator has energy, try run without _energy");
142 throw std::runtime_error("Input specifies diffusion while simulator has disabled it, try xxx_diffusion");
This file ensures that flow can be compiled in the presence of dune-fem. Declares the properties required by the black oil model. Definition: CollectDataOnIORank.hpp:49 const GridView & gridView() const Returns a reference to the grid view to be used. Definition: basevanguard.hh:69 Helper class for grid instantiation of ECL file-format using problems. Definition: CpGridVanguard.hpp:90 GetPropType< TypeTag, Properties::Indices > Indices Definition: CpGridVanguard.hpp:105 void releaseGlobalTransmissibilities() Free the memory occupied by the global transmissibility object. Definition: CpGridVanguard.hpp:204 const std::string & zoltanParams() const override Definition: CpGridVanguard.hpp:298 const TransmissibilityType & globalTransmissibility() const Definition: CpGridVanguard.hpp:209 static constexpr int dimensionworld Definition: CpGridVanguard.hpp:104 static constexpr bool waterEnabled Definition: CpGridVanguard.hpp:106 CpGridVanguard(Simulator &simulator) Definition: CpGridVanguard.hpp:113 unsigned int gridIdxToEquilGridIdx(unsigned int elemIndex) const Definition: CpGridVanguard.hpp:251 GetPropType< TypeTag, Properties::EquilGrid > EquilGrid Definition: CpGridVanguard.hpp:101 unsigned int gridEquilIdxToGridIdx(unsigned int elemIndex) const Definition: CpGridVanguard.hpp:247 const std::string & metisParams() const override Definition: CpGridVanguard.hpp:302 std::function< std::array< double, dimensionworld >(int)> cellCentroids() const Get function to query cell centroids for a distributed grid. Definition: CpGridVanguard.hpp:262 std::unique_ptr< TransmissibilityType > globalTrans_ Definition: CpGridVanguard.hpp:318 void loadBalance() Distribute the simulation grid over multiple processes. Definition: CpGridVanguard.hpp:220 Transmissibility< Grid, GridView, ElementMapper, CartesianIndexMapper, Scalar > TransmissibilityType Definition: CpGridVanguard.hpp:103 const std::vector< int > & globalCell() Definition: CpGridVanguard.hpp:267 double getTransmissibility(unsigned I, unsigned J) const override Definition: CpGridVanguard.hpp:292 Helper class for grid instantiation of ECL file-format using problems. Definition: FlowBaseVanguard.hpp:83 void updateCartesianToCompressedMapping_() Definition: FlowBaseVanguard.hpp:350 void updateCellThickness_() Definition: FlowBaseVanguard.hpp:395 void updateCellDepths_() Definition: FlowBaseVanguard.hpp:372 void callImplementationInit() Definition: FlowBaseVanguard.hpp:338 std::function< std::array< double, dimensionworld >(int)> cellCentroids_(const CartMapper &cartMapper, const bool &isCpGrid) const Get function to query cell centroids for a distributed grid. Definition: FlowBaseVanguard.hpp:318 int numJacobiBlocks() const Number of blocks in the Block-Jacobi preconditioner. Definition: FlowGenericVanguard.hpp:239 const Schedule & schedule() const Return a reference to the object that managages the ECL schedule. Definition: FlowGenericVanguard.hpp:168 std::string zoltanParams_ Definition: FlowGenericVanguard.hpp:356 bool serialPartitioning() const Parameter that decides if partitioning for parallel runs should be performed on a single process only... Definition: FlowGenericVanguard.hpp:264 ParallelWellStruct parallelWells_ Information about wells in parallel. Definition: FlowGenericVanguard.hpp:391 bool enableDistributedWells() const Whether perforations of a well might be distributed. Definition: FlowGenericVanguard.hpp:289 const EclipseState & eclState() const Return a reference to the internalized ECL deck. Definition: FlowGenericVanguard.hpp:159 double imbalanceTol() const Parameter that sets the imbalance tolarance, depending on the chosen partition method. Definition: FlowGenericVanguard.hpp:270 const std::string & externalPartitionFile() const Definition: FlowGenericVanguard.hpp:280 bool ownersFirst() const Parameter that decide if cells owned by rank are ordered before ghost cells. Definition: FlowGenericVanguard.hpp:251 Dune::EdgeWeightMethod edgeWeightsMethod() const Parameter deciding the edge-weight strategy of the load balancer. Definition: FlowGenericVanguard.hpp:233 Dune::PartitionMethod partitionMethod() const Parameter deciding which partition method to use. Definition: FlowGenericVanguard.hpp:258 std::string metisParams_ Definition: FlowGenericVanguard.hpp:358 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 doCreateGrids_(EclipseState &eclState) void distributeFieldProps_(EclipseState &eclState) void doLoadBalance_(const Dune::EdgeWeightMethod edgeWeightsMethod, const bool ownersFirst, const Dune::PartitionMethod partitionMethod, const bool serialPartitioning, const bool enableDistributedWells, const double imbalanceTol, const GetPropType< TypeTag, Properties::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 Dune::CpGrid & grid() Return a reference to the simulation grid. Definition: GenericCpGridVanguard.hpp:91 void doFilterConnections_(Schedule &schedule) Definition: Transmissibility.hpp:54 Definition: GenericCpGridVanguard.hpp:56 Defines the common properties required by the porous medium multi-phase models. Definition: blackoilmodel.hh:72 Definition: blackoilboundaryratevector.hh:37 typename Properties::Detail::GetPropImpl< TypeTag, Property >::type::type GetPropType get the type alias defined in the property (equivalent to old macro GET_PROP_TYPE(.... Definition: propertysystem.hh:235 GetPropType< TypeTag, Properties::Grid > type Definition: CpGridVanguard.hpp:71 Definition: FlowBaseVanguard.hpp:69 Dune::CpGrid type Definition: CpGridVanguard.hpp:67 Definition: CpGridVanguard.hpp:55 std::tuple< FlowBaseVanguard > InheritsFrom Definition: CpGridVanguard.hpp:56 Property which provides a Vanguard (manages grids) Definition: basicproperties.hh:96 |