WellConnections.hpp
Go to the documentation of this file.
A class calculating and representing all connections of wells. Definition: WellConnections.hpp:51 const_iterator begin() const Get a begin iterator. Definition: WellConnections.hpp:98 WellConnections(const std::vector< OpmWellType > &wells, const std::array< int, 3 > &cartesianSize, const std::vector< int > &cartesian_to_compressed) Constructor. const std::set< int > & operator[](std::size_t i) const Access all connections of a well. Definition: WellConnections.hpp:92 const_iterator end() const Get the end iterator. Definition: WellConnections.hpp:104 void init(const std::vector< OpmWellType > &wells, const std::array< int, 3 > &cartesianSize, const std::vector< int > &cartesian_to_compressed) Initialze the data of the container. WellConnections(const std::vector< OpmWellType > &wells, const Dune::CpGrid &cpGrid) Constructor. WellConnections()=default const_iterator iterator The iterator type (always const). Definition: WellConnections.hpp:58 std::vector< std::set< int > >::const_iterator const_iterator The const iterator type. Definition: WellConnections.hpp:55 std::size_t size() const \breif Get the number of wells Definition: WellConnections.hpp:110 std::vector< std::vector< int > > postProcessPartitioningForWells(std::vector< int > &parts, std::function< int(int)> gid, const std::vector< OpmWellType > &wells, const WellConnections &well_connections, const std::vector< std::set< int > > &wellGraph, std::vector< std::tuple< int, int, char > > &exportList, std::vector< std::tuple< int, int, char, int > > &importList, const Communication< MPI_Comm > &cc) Computes wells assigned to processes. std::vector< std::vector< int > > perforatingWellIndicesOnProc(const std::vector< int > &parts, const std::vector< Dune::cpgrid::OpmWellType > &wells, const CpGrid &cpgrid) Determines the wells that have perforate cells for each process. std::vector< std::pair< std::string, bool > > computeParallelWells(const std::vector< std::vector< int > > &wells_on_proc, const std::vector< OpmWellType > &wells, const Communication< MPI_Comm > &cc, int root) Computes whether wells are perforating cells on this process. The namespace Dune is the main namespace for all Dune code. Definition: common/CartesianIndexMapper.hpp:10 |