OpenFOAM-5.x/applications/solvers/multiphase/multiphaseInterFoam/multiphaseMixture
Henry Weller 7bdbab7f4e 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
..
alphaContactAngle Add the OpenFOAM source tree 2014-12-10 22:40:10 +00:00
Make interFoam family: Added run-time selectable LTS support 2015-06-26 18:32:20 +01:00
phase C++11: Replaced the C NULL with the safer C++11 nullptr 2016-08-05 17:19:38 +01:00
multiphaseMixture.C Rationalize the "pos" function 2017-06-22 14:32:18 +01:00
multiphaseMixture.H GeometricField::GeometricBoundaryField -> GeometricField::Boundary 2016-04-28 07:22:02 +01:00