CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Programming & Development (http://www.cfd-online.com/Forums/openfoam-programming-development/)
-   -   working with label (http://www.cfd-online.com/Forums/openfoam-programming-development/103281-working-label.html)

anishtain4 June 15, 2012 14:09

working with label
 
from doxygen I understand that label is enumerated token, but in line 41 of tubGen.C there is label(0), what does it mean? it's not a class to have a constructor

marupio June 17, 2012 16:56

A label is an integer. label(0) means long(0) for most systems.

anishtain4 June 20, 2012 16:14

I'm afraid 0 is being fed to it as a seed. What I thought it might be mean is label=0, but what you are saying is related to the type of long. Are you sure of it?


All times are GMT -4. The time now is 15:52.