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

In the header file of 'polyMesh'

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread 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: 17
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: 17
sblee1977 is on a distinguished road
Now, it works!
sblee1977 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
openfoam 1.6 on debian etch romant OpenFOAM Installation 9 May 6, 2010 03:26
Problem installing on Ubuntu 9.10 -> 'Cannot open : No such file or directory' mfiandor OpenFOAM Installation 2 January 25, 2010 10:50
[Gmsh] Compiling gmshFoam with OpenFOAM-1.5 BlGene OpenFOAM Meshing & Mesh Conversion 10 August 6, 2009 05: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 18:51


All times are GMT -4. The time now is 22:48.