CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM

In the header file of 'polyMesh'

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   November 24, 2010, 04:53
Default In the header file of 'polyMesh'
  #1
New Member
 
Sang Bong Lee
Join Date: Nov 2009
Posts: 5
Rep Power: 7
sblee1977 is on a distinguished road
Hi..
I have a simple question..
I want to add a labelIOList type in the header file of polyMesh (polyMesh.H) as following: "labelIOList example_label;"
And "examle_label" will be initialized in the polyMesh.C similarly to "neighbour_" or "owner_".

When compiled, an error is displayed like this :
no matching function for call to 'Foam::IOList<int>::IOList()'
note:candidates are: Foam:IOList<T>~~~

My question is why the error is shown in the definition of "labelIOList example_label" whereas both "labelIOList neighbour_" and "labelIOList owner_" are well defined..

I am looking forward to your kind reply because I am beginner of C++ and OpenFOAM.. Thank you in advance..
sblee1977 is offline   Reply With Quote

Old   November 24, 2010, 19:57
Default
  #2
New Member
 
Sang Bong Lee
Join Date: Nov 2009
Posts: 5
Rep Power: 7
sblee1977 is on a distinguished road
Now, it works!
sblee1977 is offline   Reply With Quote

Reply

Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
openfoam 1.6 on debian etch romant OpenFOAM Installation 9 May 6, 2010 02:26
Problem installing on Ubuntu 9.10 -> 'Cannot open : No such file or directory' mfiandor OpenFOAM Installation 2 January 25, 2010 10:50
Compiling gmshFoam with OpenFOAM-1.5 BlGene Open Source Meshers: Gmsh, Netgen, CGNS, ... 10 August 6, 2009 04:26
Statically Compiling OpenFOAM Issues herzfeldd OpenFOAM Installation 21 January 6, 2009 10:38
DecomposePar links against liblamso0 with OpenMPI jens_klostermann OpenFOAM Bugs 11 June 28, 2007 17:51


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