GridPartitioning.hpp
Go to the documentation of this file.
A class calculating and representing all connections of wells. Definition: WellConnections.hpp:51 std::tuple< std::vector< int >, std::vector< std::pair< std::string, bool > >, std::vector< std::tuple< int, int, char > >, std::vector< std::tuple< int, int, char, int > >, WellConnections > vanillaPartitionGridOnRoot(const CpGrid &grid, const std::vector< cpgrid::OpmWellType > *wells, const double *transmissibilities, bool allowDistributedWells) Creates a vanilla partitioning without a real loadbalancer. std::tuple< std::vector< int >, std::vector< std::pair< std::string, bool > >, std::vector< std::tuple< int, int, char > >, std::vector< std::tuple< int, int, char, int > >, WellConnections > createZoltanListsFromParts(const CpGrid &grid, const std::vector< cpgrid::OpmWellType > *wells, const double *transmissibilities, const std::vector< int > &parts, bool allowDistributedWells) Creates lists as Zoltan would return for vanilla / user specified partitioning. The namespace Dune is the main namespace for all Dune code. Definition: common/CartesianIndexMapper.hpp:10 void partition(const CpGrid &grid, const std::array< int, 3 > &initial_split, int &num_part, std::vector< int > &cell_part, bool recursive=false, bool ensureConnectivity=true) void addOverlapLayer(const CpGrid &grid, const std::vector< int > &cell_part, std::vector< std::set< int > > &cell_overlap, int mypart, int overlapLayers, bool all=false) Adds a layer of overlap cells to a partitioning. Definition: GridPartitioning.hpp:57 bool operator()(const std::pair< int, int > &o, const std::pair< int, int > &v) Definition: GridPartitioning.hpp:58 |