openfoam/applications/solvers/multiphase/twoPhaseEulerFoam/interfacialModels/dragModels
Henry Weller 56bfc75949 Rationalize the "pos" function
"pos" now returns 1 if the argument is greater than 0, otherwise it returns 0.
This is consistent with the common mathematical definition of the "pos" function:

https://en.wikipedia.org/wiki/Sign_(mathematics)

However the previous implementation in which 1 was also returned for a 0
argument is useful in many situations so the "pos0" has been added which returns
1 if the argument is greater or equal to 0.  Additionally the "neg0" has been
added which returns 1 if if the argument is less than or equal to 0.
2017-06-22 14:32:18 +01:00
..
dragModel STYLE: use auto and cfind to simplify selector usage (issue #512) 2017-07-03 10:36:03 +02:00
Ergun BUG: Corrected false integer divisions. Fixes #557 2017-08-07 11:53:54 +01:00
Gibilaro BUG: Corrected false integer divisions. Fixes #557 2017-08-07 11:53:54 +01:00
GidaspowErgunWenYu Rationalize the "pos" function 2017-06-22 14:32:18 +01:00
GidaspowSchillerNaumann Rationalize the "pos" function 2017-06-22 14:32:18 +01:00
IshiiZuber Rationalize the "pos" function 2017-06-22 14:32:18 +01:00
Lain Rationalize the "pos" function 2017-06-22 14:32:18 +01:00
SchillerNaumann Rationalize the "pos" function 2017-06-22 14:32:18 +01:00
segregated GeometricField: Renamed internalField() -> primitiveField() and dimensionedInternalField() -> internalField() 2016-04-30 21:40:09 +01:00
SyamlalOBrien Rationalize the "pos" function 2017-06-22 14:32:18 +01:00
TomiyamaAnalytic dimensioned<Type>: Added constructor from name, dimensions and dictionary 2015-07-21 12:57:07 +01:00
TomiyamaCorrelated dimensioned<Type>: Added constructor from name, dimensions and dictionary 2015-07-21 12:57:07 +01:00
WenYu Rationalize the "pos" function 2017-06-22 14:32:18 +01:00