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: alexeym
Forum: OpenFOAM Programming & Development May 16, 2014, 16:56
Replies: 3
Views: 1,705
Posted By alexeym
Well, if you return value from function, you...

Well,

if you return value from function, you don't need to pass return value as a parameter to the function. If you'd like to do it FORTRAN style, it's your choice. I mean instead of

...
Forum: OpenFOAM Programming & Development May 16, 2014, 13:10
Replies: 3
Views: 1,705
Posted By alexeym
Hi, as in fact you don't need a copy of...

Hi,

as in fact you don't need a copy of PtrList, you can pass constant reference to the function, i.e.


double fugacidade(const double& T, const PtrList<dimensionedScalar>& Tc, const...
Showing results 1 to 2 of 2

 
Forum Jump

All times are GMT -4. The time now is 10:33.