CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Programming & Development

working with label

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 15, 2012, 13:09
Default working with label
  #1
Senior Member
 
Mahdi Hosseinali
Join Date: Apr 2009
Location: NB, Canada
Posts: 273
Rep Power: 18
anishtain4 is on a distinguished road
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
anishtain4 is offline   Reply With Quote

Old   June 17, 2012, 15:56
Default
  #2
Senior Member
 
David Gaden
Join Date: Apr 2009
Location: Winnipeg, Canada
Posts: 437
Rep Power: 21
marupio is on a distinguished road
A label is an integer. label(0) means long(0) for most systems.
__________________
~~~
Follow me on twitter @DavidGaden
marupio is offline   Reply With Quote

Old   June 20, 2012, 15:14
Default
  #3
Senior Member
 
Mahdi Hosseinali
Join Date: Apr 2009
Location: NB, Canada
Posts: 273
Rep Power: 18
anishtain4 is on a distinguished road
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?
anishtain4 is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
[blockMesh] Internal walls of zero thickness anger OpenFOAM Meshing & Mesh Conversion 23 February 6, 2020 18:25
DPM parallel is not working but serial is working johnwinter FLUENT 1 March 27, 2012 02:01
Got a question on finding the boundary value with a known boundary face label frankyux OpenFOAM 1 September 14, 2011 14:26
Help required on working of Micro-oven aero CFX 4 January 19, 2007 08:21
Help required on working of Woven aero FLUENT 0 January 16, 2007 06:25


All times are GMT -4. The time now is 07:09.