|
[Sponsors] |
July 23, 2010, 13:21 |
compile+discards qualifiers
|
#1 |
Senior Member
Nima Samkhaniani
Join Date: Sep 2009
Location: Tehran, Iran
Posts: 1,267
Blog Entries: 1
Rep Power: 25 |
hi friends
im going to implement a code based on existing code in openFoam, but i faced following error error: passing ‘const Foam::volScalarField’ as ‘this’ argument of ‘void Foam::GeometricField<Type, PatchField, GeoMesh>:perator=(const Foam::GeometricField<Type, PatchField, GeoMesh>&) [with Type = double, PatchField = Foam::fvPatchField, GeoMesh = Foam::volMesh]’ discards qualifiers this error is for this pieces of code, mvCoeff_=mvCoeff; both of variables are volScalarField,whats wrong ? |
|
August 24, 2012, 16:24 |
|
#2 |
New Member
sebastien vilfayeau
Join Date: Feb 2012
Posts: 14
Rep Power: 14 |
I got the same error. And I have found my answer on this website.
http://stackoverflow.com/questions/5...rds-qualifiers hope it'll help someone. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
ATTN ALL: SOLUTON TO UDF COMPILE PROBLEM | Rizwan | Fluent UDF and Scheme Programming | 40 | March 18, 2018 07:05 |
PV3FoamReader compile error.... | PEM_GUY | OpenFOAM Installation | 6 | April 5, 2010 18:22 |
Error compile file udf | czfluent | Fluent UDF and Scheme Programming | 24 | September 26, 2009 14:24 |
Can someone PLEASE document the development version installation | bernd | OpenFOAM Installation | 76 | November 14, 2008 22:51 |
compile the UDF | Li Jingping | FLUENT | 2 | April 14, 2003 22:18 |