miscUtilities_impl.hpp File Reference
Include dependency graph for miscUtilities_impl.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 Opm
 

Functions

template<class CC , class FC , class FC1 , class CV >
void Opm::estimateCellVelocity (int number_of_cells, int number_of_faces, FC begin_face_centroids, FC1 face_cells, CC begin_cell_centroids, CV begin_cell_volumes, int dimension, const std::vector< double > &face_flux, std::vector< double > &cell_velocity)
 Estimates a scalar cell velocity from face fluxes. More...
 
template<class T >
void Opm::computePorevolume (int number_of_cells, T begin_cell_volume, const double *porosity, std::vector< double > &porevol)
 Computes pore volume of all cells in a grid. More...
 
template<class T >
void Opm::computePorevolume (int number_of_cells, T begin_cell_volume, const double *porosity, const RockCompressibility &rock_comp, const std::vector< double > &pressure, std::vector< double > &porevol)
 Computes pore volume of all cells in a grid, with rock compressibility effects. More...
 
template<class T >
void Opm::computeWDP (const Wells &wells, int number_of_cells, T begin_cell_centroids, const std::vector< double > &saturations, const double *densities, const double gravity, const bool per_grid_cell, std::vector< double > &wdp)