WellHelpers.hpp File Reference
#include <dune/istl/bcrsmatrix.hh>
#include <dune/common/dynmatrix.hh>
#include <array>
Include dependency graph for WellHelpers.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  Opm::wellhelpers::ParallelStandardWellB< Scalar >
 A wrapper around the B matrix for distributed wells. More...
 

Namespaces

namespace  Opm
 
namespace  Opm::wellhelpers
 

Functions

double Opm::wellhelpers::computeHydrostaticCorrection (const double well_ref_depth, const double vfp_ref_depth, const double rho, const double gravity)
 
template<typename Scalar , typename Comm >
void Opm::wellhelpers::sumDistributedWellEntries (Dune::DynamicMatrix< Scalar > &mat, Dune::DynamicVector< Scalar > &vec, const Comm &comm)
 Sums entries of the diagonal Matrix for distributed wells. More...
 
template<class DenseMatrix >
DenseMatrix Opm::wellhelpers::transposeDenseDynMatrix (const DenseMatrix &M)
 
bool Opm::wellhelpers::rateControlWithZeroProdTarget (const WellProductionControls &controls, WellProducerCMode mode)
 Helper to check whether the well is under zero production rate control. More...
 
bool Opm::wellhelpers::rateControlWithZeroInjTarget (const WellInjectionControls &controls, WellInjectorCMode mode)
 Helper to check whether the well is under zero injection rate control. More...