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: floquation
Forum: OpenFOAM Programming & Development December 13, 2014, 13:10
Replies: 4
Views: 1,534
Posted By floquation
I'm not 100% sure what you are asking. But I...

I'm not 100% sure what you are asking. But I think you are asking the following:

Ultimately, the pEqnComp1 object is a tmp<fvScalarMatrix>.
Thanks to how OpenFOAM implemented 'operator...
Forum: OpenFOAM Programming & Development December 12, 2014, 07:31
Replies: 4
Views: 1,534
Posted By floquation
The answer is "operator overloading". More...

The answer is "operator overloading". More specifically "overloading the conversion operator".

The 'tmp' class is OpenFOAM's version of a "smart pointer" (a pointer which cleans up after itself)....
Showing results 1 to 2 of 2

 
Forum Jump

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