WellConnections.hpp File Reference
#include <set>
#include <unordered_set>
#include <vector>
#include <functional>
#include <opm/grid/utility/platform_dependent/disable_warnings.h>
#include "mpi.h"
#include <opm/grid/utility/platform_dependent/reenable_warnings.h>
#include <dune/common/parallel/communication.hh>
#include <opm/grid/CpGrid.hpp>
#include <opm/grid/utility/OpmWellType.hpp>
Include dependency graph for WellConnections.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  Dune::cpgrid::WellConnections
 A class calculating and representing all connections of wells. More...
 

Namespaces

namespace  Dune
 The namespace Dune is the main namespace for all Dune code.
 
namespace  Dune::cpgrid
 

Functions

std::vector< std::vector< int > > Dune::cpgrid::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. More...
 
std::vector< std::vector< int > > Dune::cpgrid::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. More...
 
std::vector< std::pair< std::string, bool > > Dune::cpgrid::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. More...