what does the function min() do???
Somewhere in the source Code of a turbulence model I found something which I dont understand. Unfortunately the understanding of this line is crucial to what I am doing. The line I am talking about is
Code:
P[faceCelli] *=
Code:
inline retType min(const type1 s1, const type2 s2) \ Thank you very much! |
Hi,
min(a,b) returns the smallest value between a and b. SMALL stands for a small finite value, in this case it is used to avoid a possible division by 0. |
All times are GMT -4. The time now is 14:07. |