There was an error fetching the commit references. Please try again later.
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.
Showing
- applications/solvers/multiphase/VoF/setRDeltaT.H 2 additions, 2 deletionsapplications/solvers/multiphase/VoF/setRDeltaT.H
- applications/solvers/multiphase/interFoam/interMixingFoam/alphaEqn.H 2 additions, 2 deletions...s/solvers/multiphase/interFoam/interMixingFoam/alphaEqn.H
- applications/solvers/multiphase/interFoam/interMixingFoam/threePhaseInterfaceProperties/threePhaseInterfaceProperties.C 2 additions, 2 deletions...ePhaseInterfaceProperties/threePhaseInterfaceProperties.C
- applications/solvers/multiphase/interPhaseChangeFoam/phaseChangeTwoPhaseMixtures/Kunz/Kunz.C 1 addition, 1 deletion...erPhaseChangeFoam/phaseChangeTwoPhaseMixtures/Kunz/Kunz.C
- applications/solvers/multiphase/interPhaseChangeFoam/phaseChangeTwoPhaseMixtures/Merkle/Merkle.C 1 addition, 1 deletion...aseChangeFoam/phaseChangeTwoPhaseMixtures/Merkle/Merkle.C
- applications/solvers/multiphase/interPhaseChangeFoam/phaseChangeTwoPhaseMixtures/SchnerrSauer/SchnerrSauer.C 1 addition, 1 deletion...m/phaseChangeTwoPhaseMixtures/SchnerrSauer/SchnerrSauer.C
- applications/solvers/multiphase/multiphaseEulerFoam/interfacialModels/dragModels/GidaspowErgunWenYu/GidaspowErgunWenYu.C 3 additions, 3 deletions...Models/dragModels/GidaspowErgunWenYu/GidaspowErgunWenYu.C
- applications/solvers/multiphase/multiphaseEulerFoam/interfacialModels/dragModels/GidaspowSchillerNaumann/GidaspowSchillerNaumann.C 2 additions, 2 deletions...gModels/GidaspowSchillerNaumann/GidaspowSchillerNaumann.C
- applications/solvers/multiphase/multiphaseEulerFoam/interfacialModels/dragModels/SchillerNaumann/SchillerNaumann.C 2 additions, 2 deletions...facialModels/dragModels/SchillerNaumann/SchillerNaumann.C
- applications/solvers/multiphase/multiphaseEulerFoam/interfacialModels/dragModels/SyamlalOBrien/SyamlalOBrien.C 2 additions, 2 deletions...nterfacialModels/dragModels/SyamlalOBrien/SyamlalOBrien.C
- applications/solvers/multiphase/multiphaseEulerFoam/interfacialModels/dragModels/WenYu/WenYu.C 2 additions, 2 deletions...phaseEulerFoam/interfacialModels/dragModels/WenYu/WenYu.C
- applications/solvers/multiphase/multiphaseEulerFoam/multiphaseSystem/multiphaseSystem.C 2 additions, 1 deletion...e/multiphaseEulerFoam/multiphaseSystem/multiphaseSystem.C
- applications/solvers/multiphase/multiphaseEulerFoam/pEqn.H 2 additions, 2 deletionsapplications/solvers/multiphase/multiphaseEulerFoam/pEqn.H
- applications/solvers/multiphase/multiphaseInterFoam/multiphaseMixture/multiphaseMixture.C 2 additions, 1 deletion...multiphaseInterFoam/multiphaseMixture/multiphaseMixture.C
- applications/solvers/multiphase/reactingEulerFoam/interfacialModels/aspectRatioModels/VakhrushevEfremov/VakhrushevEfremov.C 3 additions, 3 deletions...s/aspectRatioModels/VakhrushevEfremov/VakhrushevEfremov.C
- applications/solvers/multiphase/reactingEulerFoam/interfacialModels/dragModels/GidaspowErgunWenYu/GidaspowErgunWenYu.C 2 additions, 2 deletions...Models/dragModels/GidaspowErgunWenYu/GidaspowErgunWenYu.C
- applications/solvers/multiphase/reactingEulerFoam/interfacialModels/dragModels/GidaspowSchillerNaumann/GidaspowSchillerNaumann.C 2 additions, 2 deletions...gModels/GidaspowSchillerNaumann/GidaspowSchillerNaumann.C
- applications/solvers/multiphase/reactingEulerFoam/interfacialModels/dragModels/IshiiZuber/IshiiZuber.C 3 additions, 3 deletions...Foam/interfacialModels/dragModels/IshiiZuber/IshiiZuber.C
- applications/solvers/multiphase/reactingEulerFoam/interfacialModels/dragModels/Lain/Lain.C 4 additions, 4 deletions...eactingEulerFoam/interfacialModels/dragModels/Lain/Lain.C
- applications/solvers/multiphase/reactingEulerFoam/interfacialModels/dragModels/SchillerNaumann/SchillerNaumann.C 2 additions, 2 deletions...facialModels/dragModels/SchillerNaumann/SchillerNaumann.C
Please register or sign in to comment