mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Transmissibility::applyNtg_: simplify by passing FaceInfo struct
and make it static
This commit is contained in:
@@ -268,10 +268,9 @@ protected:
|
||||
unsigned cartElemIdx,
|
||||
const TransMult& transMult) const;
|
||||
|
||||
void applyNtg_(Scalar& trans,
|
||||
unsigned faceIdx,
|
||||
unsigned elemIdx,
|
||||
const std::vector<double>& ntg) const;
|
||||
static void applyNtg_(Scalar& trans,
|
||||
const FaceInfo& face,
|
||||
const std::vector<double>& ntg);
|
||||
|
||||
std::vector<DimMatrix> permeability_;
|
||||
std::vector<Scalar> porosity_;
|
||||
|
||||
Reference in New Issue
Block a user