Expose internal half-transmissibility through read-only reference.

Useful to initialise the Opm::ImplicitTransport<> solver with gravity
effects.
This commit is contained in:
Bård Skaflestad 2012-02-27 17:29:09 +01:00
parent f4df7aa1bd
commit a0598eae4a

View File

@ -72,6 +72,9 @@ namespace Opm
std::vector<double>& pressure,
std::vector<double>& faceflux);
/// Expose read-only reference to internal half-transmissibility.
const ::std::vector<double>& getHalfTrans() const { return htrans_; }
private:
const UnstructuredGrid& grid_;
const LinearSolverInterface& linsolver_;