CFD Online Discussion Forums

CFD Online Discussion Forums (
-   OpenFOAM Programming & Development (
-   -   working with label (

anishtain4 June 15, 2012 13: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 15:56

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

anishtain4 June 20, 2012 15: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 02:41.