CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Bugs (http://www.cfd-online.com/Forums/openfoam-bugs/)
-   -   Error in documentation (http://www.cfd-online.com/Forums/openfoam-bugs/62533-error-documentation.html)

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.

Thanks,
David


All times are GMT -4. The time now is 11:53.