SimulatorUtilities.hpp File Reference
#include <opm/common/ErrorMacros.hpp>
#include <dune/common/version.hh>
#include <dune/common/fvector.hh>
#include <dune/grid/io/file/vtk/vtkwriter.hh>
#include <vector>
#include <fstream>
#include <algorithm>
#include <iterator>
Include dependency graph for SimulatorUtilities.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 GridInterface , class FlowSol >
void Opm::estimateCellVelocity (std::vector< typename GridInterface::Vector > &cell_velocity, const GridInterface &ginterf, const FlowSol &flow_solution)
 Estimates a scalar cell velocity from outgoing fluxes. More...
 
template<class GridInterface >
void Opm::estimateCellVelocitySimpleInterface (std::vector< typename GridInterface::Vector > &cell_velocity, const GridInterface &grid, const std::vector< double > &face_flux)
 Estimates a scalar cell velocity from face fluxes. More...
 
template<class GridInterface , class FlowSol >
void Opm::estimateCellVelocity (std::vector< typename GridInterface::Vector > &cell_velocity, const GridInterface &ginterf, const FlowSol &flow_solution, const std::vector< int > &partition, const int my_partition)
 Estimates a scalar cell velocity from outgoing fluxes. More...
 
template<class ReservoirProperty >
void Opm::computePhaseVelocities (std::vector< Dune::FieldVector< double, 3 > > &phase_velocity_water, std::vector< Dune::FieldVector< double, 3 > > &phase_velocity_oil, const ReservoirProperty &res_prop, const std::vector< double > &saturation, const std::vector< Dune::FieldVector< double, 3 > > &cell_velocity)
 
template<class GridInterface , class FlowSol >
void Opm::getCellPressure (std::vector< double > &cell_pressure, const GridInterface &ginterf, const FlowSol &flow_solution)
 
template<class GridInterface , class FlowSol >
void Opm::getCellPressure (std::vector< double > &cell_pressure, const GridInterface &ginterf, const FlowSol &flow_solution, const std::vector< int > &partition, const int my_partition)
 
template<class ReservoirProperties >
void Opm::computeCapPressure (std::vector< double > &cap_pressure, const ReservoirProperties &rp, const std::vector< double > &sat)
 Computes the capillary pressure in each cell from the cell saturations. More...
 
template<class GridInterface , class ReservoirProperties , class FlowSol >
void Opm::writeVtkOutput (const GridInterface &ginterf, const ReservoirProperties &rp, const FlowSol &flowsol, const std::vector< double > &saturation, const std::string &filename)
 
void Opm::writeField (const std::vector< double > &field, const std::string &filename)