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: marupio
Forum: OpenFOAM Programming & Development April 26, 2012, 12:20
Replies: 5
Views: 1,475
Posted By marupio
I see, it's a template, and it changes behaviour...

I see, it's a template, and it changes behaviour depending on which type is used. You can accomplish this with template specialization. You can define different implementations of the same...
Forum: OpenFOAM Programming & Development April 26, 2012, 10:43
Replies: 5
Views: 1,475
Posted By marupio
Not sure I understand the problem. Do you...

Not sure I understand the problem.

Do you actually have two types defined? Or, are they both RhoTypes, one of which has dimensions defined, and the other does not?

Instead of a*rho/dimRho, you...
Showing results 1 to 2 of 2

 
Forum Jump

All times are GMT -4. The time now is 13:53.