OpenFOAM-5.x/applications/solvers/multiphase/reactingEulerFoam/phaseSystems/PhaseSystems
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
..
HeatAndMassTransferPhaseSystem Made all template declarations consistent using 'class' rather than 'typename' 2016-03-22 15:02:55 +00:00
HeatTransferPhaseSystem C++11: Replaced the C NULL with the safer C++11 nullptr 2016-08-05 17:19:38 +01:00
InterfaceCompositionPhaseChangePhaseSystem Updated headers 2016-04-30 21:53:19 +01:00
MomentumTransferPhaseSystem vector::zero -> Zero 2016-04-16 18:34:41 +01:00
ThermalPhaseChangePhaseSystem Rationalize the "pos" function 2017-06-22 14:32:18 +01:00