mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Fixed comments to gravity term in darcyfluxmodule
This commit is contained in:
parent
4dedbeee19
commit
171a03e802
@ -386,10 +386,10 @@ protected:
|
||||
|
||||
Opm::Valgrind::CheckDefined(pStatIn);
|
||||
// compute the hydrostatic gradient between the control volume and face integration
|
||||
// point (this gradient exhibitis the same direction as the vector between the
|
||||
// point. This gradient exhibitis the same direction as the vector between the
|
||||
// control volume center and face integration point (-distVecIn / absDist) and the
|
||||
// length: -pStaticInterior) / absDist. Note that the two negatives become + and the
|
||||
// 1 / (absDist * absDist) -> absDistSquared.
|
||||
// length of the vector is -pStaticIn / absDist. Note that the two negatives become
|
||||
// + and the 1 / (absDist * absDist) -> absDistSquared.
|
||||
EvalDimVector f(distVecIn);
|
||||
f *= pStatIn / absDistSquared;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user