BlackoilModelBase_impl.hpp File Reference
#include <opm/autodiff/BlackoilModelBase.hpp>
#include <opm/autodiff/AutoDiffBlock.hpp>
#include <opm/autodiff/AutoDiffHelpers.hpp>
#include <opm/autodiff/GridHelpers.hpp>
#include <opm/autodiff/BlackoilPropsAdInterface.hpp>
#include <opm/autodiff/GeoProps.hpp>
#include <opm/autodiff/WellDensitySegmented.hpp>
#include <opm/autodiff/VFPProperties.hpp>
#include <opm/autodiff/VFPProdProperties.hpp>
#include <opm/autodiff/VFPInjProperties.hpp>
#include <opm/core/grid.h>
#include <opm/core/linalg/LinearSolverInterface.hpp>
#include <opm/core/linalg/ParallelIstlInformation.hpp>
#include <opm/core/props/rock/RockCompressibility.hpp>
#include <opm/common/ErrorMacros.hpp>
#include <opm/common/Exceptions.hpp>
#include <opm/core/utility/Units.hpp>
#include <opm/core/well_controls.h>
#include <opm/core/utility/parameters/ParameterGroup.hpp>
#include <opm/parser/eclipse/EclipseState/EclipseState.hpp>
#include <cassert>
#include <cmath>
#include <iostream>
#include <iomanip>
#include <limits>
#include <vector>
Include dependency graph for BlackoilModelBase_impl.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 Opm
 
 Opm::detail
 

Macros

#define OPM_AD_DUMP(foo)
 
#define OPM_AD_DUMPVAL(foo)
 
#define OPM_AD_DISKVAL(foo)
 

Typedefs

typedef AutoDiffBlock< double > Opm::ADB
 
typedef ADB::V Opm::V
 
typedef ADB::M Opm::M
 
typedef Eigen::Array< double,
Eigen::Dynamic, Eigen::Dynamic,
Eigen::RowMajor > 
Opm::DataBlock
 

Functions

std::vector< int > Opm::detail::buildAllCells (const int nc)
 
template<class PU >
std::vector< bool > Opm::detail::activePhases (const PU &pu)
 
template<class PU >
std::vector< int > Opm::detail::active2Canonical (const PU &pu)
 
double Opm::detail::getGravity (const double *g, const int dim)
 
double Opm::detail::rateToCompare (const std::vector< double > &well_phase_flow_rate, const int well, const int num_phases, const double *distr)
 
bool Opm::detail::constraintBroken (const std::vector< double > &bhp, const std::vector< double > &thp, const std::vector< double > &well_phase_flow_rate, const int well, const int num_phases, const WellType &well_type, const WellControls *wc, const int ctrl_index)
 
double Opm::detail::computeHydrostaticCorrection (const Wells &wells, const int w, double vfp_ref_depth, const ADB::V &well_perforation_densities, const double gravity)
 
ADB::V Opm::detail::computeHydrostaticCorrection (const Wells &wells, const ADB::V vfp_ref_depth, const ADB::V &well_perforation_densities, const double gravity)
 
double Opm::detail::infinityNorm (const ADB &a, const boost::any &pinfo=boost::any())
 Compute the L-infinity norm of a vector This function is not suitable to compute on the well equations. More...
 
double Opm::detail::infinityNormWell (const ADB &a, const boost::any &pinfo)
 Compute the L-infinity norm of a vector representing a well equation. More...
 

Macro Definition Documentation

#define OPM_AD_DISKVAL (   foo)
Value:
do { \
std::ofstream os(#foo); \
os.precision(16); \
os << foo.value() << std::endl; \
} while (0)
#define OPM_AD_DUMP (   foo)
Value:
do { \
std::cout << "==========================================\n" \
<< #foo ":\n" \
<< collapseJacs(foo) << std::endl; \
} while (0)
void collapseJacs(const AutoDiffBlock< double > &x, Matrix &jacobian)
Returns the input expression, but with all Jacobians collapsed to one.
Definition: AutoDiffHelpers.hpp:446
#define OPM_AD_DUMPVAL (   foo)
Value:
do { \
std::cout << "==========================================\n" \
<< #foo ":\n" \
<< foo.value() << std::endl; \
} while (0)