|
[Sponsors] |
November 24, 2010, 04:53 |
In the header file of 'polyMesh'
|
#1 |
New Member
Sang Bong Lee
Join Date: Nov 2009
Posts: 5
Rep Power: 17 |
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.. |
|
November 24, 2010, 19:57 |
|
#2 |
New Member
Sang Bong Lee
Join Date: Nov 2009
Posts: 5
Rep Power: 17 |
Now, it works!
|
|
|
|
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 |