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

Search Results

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

Showing results 1 to 3 of 3
Search took 0.00 seconds.
Search: Posts Made By: gschaider
Forum: OpenFOAM March 20, 2012, 08:58
Replies: 7
Views: 2,298
Posted By gschaider
Usually if you only get a const-reference it is...

Usually if you only get a const-reference it is because the designer of the class doesn't think it is a good idea. If you disagree google for const_cast

My last answer (about const_cast) was meant...
Forum: OpenFOAM March 20, 2012, 07:40
Replies: 7
Views: 2,298
Posted By gschaider
You want a reference but you're creating a copy

You want a reference but you're creating a copy
Forum: OpenFOAM October 19, 2009, 11:34
Replies: 7
Views: 2,298
Posted By gschaider
What might help you is ...

What might help you is

mesh.lookupObject<volScalarField>("omega")

Have a look at Doxygen to find out what that actually does
Showing results 1 to 3 of 3

 
Forum Jump

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