CFD Online Discussion Forums

CFD Online Discussion Forums (
-   OpenFOAM Bugs (
-   -   Error in documentation (

schmidt_d October 26, 2007 13:53

Version OF 1.4.1 The Programm
Version OF 1.4.1
The Programmers Guide in the Operations Exclusive to Scalars table lists the definition of the neg function as less than or equal to:

s <= 0

when the code is strictly less than (from Scalar.H)

inline Scalar neg(const Scalar s)
return (s < 0)? 1: 0;

There is no problem with the code, but the documentation should be changed.


All times are GMT -4. The time now is 17:25.