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 3 of 3
Search took 0.00 seconds.
Search: Posts Made By: Santiago
Forum: OpenFOAM Programming & Development August 2, 2022, 10:49
Replies: 5
Views: 1,024
Posted By Santiago
Don't want to be acid but the rest of the...

Don't want to be acid but the rest of the questions refer to basic C/C++ (scopes, lifetime, what is memory) so ill refer you to "accelerated c++" for details.
Forum: OpenFOAM Programming & Development August 2, 2022, 10:44
Replies: 5
Views: 1,024
Posted By Santiago
ref() is a construct in new versions of FOAM: it...

ref() is a construct in new versions of FOAM: it returns a reference of what is inside the tmp, so you don't have to de-reference the tmp everytime you do operations on it. Earlier versions of FOAM...
Forum: OpenFOAM Programming & Development August 2, 2022, 10:31
Replies: 5
Views: 1,024
Posted By Santiago
tmp<> is an pre-STL version of a pointer Handle...

tmp<> is an pre-STL version of a pointer Handle or weak_ptr<>. Is a means of moving (as opposed to copying) data across function calls while avoiding registering said data in the time selection...
Showing results 1 to 3 of 3

 
Forum Jump

All times are GMT -4. The time now is 09:25.