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

Search Results

Register Blogs Community New Posts Updated Threads Search

Showing results 1 to 2 of 2
Search took 0.00 seconds.
Search: Posts Made By: gschaider
Forum: OpenFOAM Programming & Development May 30, 2011, 07:06
Replies: 4
Views: 1,677
Posted By gschaider
That "only" gives you back a const reference so...

That "only" gives you back a const reference so officially you can't modify the field. There is a workaround ... but you havn't got this from me and don't ask further .... google for const_cast
Forum: OpenFOAM Programming & Development May 27, 2011, 05:28
Replies: 4
Views: 1,677
Posted By gschaider
Not legally. The only way involves "#define class...

Not legally. The only way involves "#define class struct","#define private protected" before the include and most of the time that doesn't work.

So rewrite the model or make a bug-report...
Showing results 1 to 2 of 2

 
Forum Jump

All times are GMT -4. The time now is 21:06.