mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Transmissibility::computeHalfTrans_: use return value instead of out-param
and make it static
This commit is contained in:
@@ -251,11 +251,10 @@ protected:
|
||||
|
||||
void extractDispersion_();
|
||||
|
||||
void computeHalfTrans_(Scalar& halfTrans,
|
||||
const DimVector& areaNormal,
|
||||
int faceIdx, // in the reference element that contains the intersection
|
||||
const DimVector& distance,
|
||||
const DimMatrix& perm) const;
|
||||
static Scalar computeHalfTrans_(const DimVector& areaNormal,
|
||||
int faceIdx, // in the reference element that contains the intersection
|
||||
const DimVector& distance,
|
||||
const DimMatrix& perm);
|
||||
|
||||
void computeHalfDiffusivity_(Scalar& halfDiff,
|
||||
const DimVector& areaNormal,
|
||||
|
||||
Reference in New Issue
Block a user