Commit Graph

13 Commits

Author SHA1 Message Date
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
bc1f2fa97e STYLE: use auto and cfind to simplify selector usage (issue #512) 2017-07-03 10:36:03 +02:00
bb67ccd37d ENH: Cleaned up hash table item found checks 2017-05-19 11:15:35 +01:00
e2ef006b91 applications: Update ...ErrorIn -> ...ErrorInFunction
Avoids the clutter and maintenance effort associated with providing the
function signature string.
2015-11-10 17:53:31 +00:00
8628ef2fea Corrected capitalization of Doxygen documentation comments 2015-02-14 13:10:15 +00:00
2d2ad386a6 Updated support for clang-3.1 2012-06-06 17:45:18 +01:00
c2041f9dba multiphase: completed phase renaming 2012-03-01 18:22:59 +00:00
2491f257b1 Corrected line lengths 2012-02-29 16:39:53 +00:00
0b1bcbb753 Remove non-ASCII characters 2012-01-19 16:27:23 +00:00
d7fcc07675 compressibleTwoPhaseEulerFoam, multiphaseEulerFoam: correct drag coeff boundary field 2011-12-29 14:01:02 +00:00
a5eaa2bafd multiphaseEulerFoam: Change the specification of the residual drag and smooth the drag phase-fraction pre-factor
* The residual drag is now specified in terms of a residual phase-fraction and slip-velocity.
* The drag phase-fraction pre-factor is smoothed so that the computational molecule matches that
  of the transport terms.
2011-12-05 10:17:15 +00:00
a5ba2cc9cd multiphaseEulerFoam: Work in progress 2011-10-26 14:30:06 +01:00
2c335d360b multiphaseEulerFoam: new solver
including two simple tutorial cases
2011-09-05 19:06:38 +01:00