20#ifndef OPM_ASPINPARTITION_HEADER_INCLUDED
21#define OPM_ASPINPARTITION_HEADER_INCLUDED
35 const std::vector<Well>& wells,
36 const std::string& method,
37 const int num_local_domains,
38 const double partition_imbalance);
46std::pair<std::vector<int>,
int>
partitionCellsSimple(
const int num_cells,
const int num_domains);
52 const std::vector<Well>& wells,
53 const int num_domains,
54 const double domain_imbalance);
This file contains a set of helper functions used by VFPProd / VFPInj.
Definition BlackoilPhases.hpp:27
std::pair< std::vector< int >, int > partitionCellsFromFile(const std::string &filename, const int num_cells)
Read a partitioning from file, assumed to contain one number per cell, its partition number.
Definition partitionCells.cpp:104
std::pair< std::vector< int >, int > partitionCellsSimple(const int num_cells, const int num_domains)
Trivially simple partitioner assigning partitions en bloc, consecutively by cell index.
Definition partitionCells.cpp:122
std::pair< std::vector< int >, int > partitionCells(const Grid &grid, const std::vector< Well > &wells, const std::string &method, const int num_local_domains, const double partition_imbalance)
Partitions the grid using the specified method.
Definition partitionCells.cpp:77
std::pair< std::vector< int >, int > partitionCellsZoltan(const Grid &grid, const std::vector< Well > &wells, const int num_domains, const double domain_imbalance)
Partitions the grid using the Zoltan graph partitioner.
Definition partitionCells.cpp:142