openfoam/applications/solvers/multiphase/interPhaseChangeFoam/phaseChangeTwoPhaseMixtures
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
..
Kunz Rationalize the "pos" function 2017-06-22 14:32:18 +01:00
Make interPhaseChangeDyMFoam: New dynamic-mesh version of interPhaseChangeFoam 2013-07-17 11:26:14 +01:00
Merkle Rationalize the "pos" function 2017-06-22 14:32:18 +01:00
phaseChangeTwoPhaseMixture STYLE: use auto and cfind to simplify selector usage (issue #512) 2017-07-03 10:36:03 +02:00
SchnerrSauer Rationalize the "pos" function 2017-06-22 14:32:18 +01:00