the code difference
I have get stuck in a problem about a simple code.
I defined a function
when I tried to call the function:
what's the difference between the two forms?
As far as I understand the first one calls operator() on sh. The second one calls operator() on the return value of sh(). What's your intention?
the change of version
Thank you for your reply.
The reason why I was wondering is the change of version.
There is a same solver, chemistry.sh()() in openfoam 1.7, but combustion->sh() in openfoam 2.0,2.1
I was wondering whether the different forms express the same meanings or not.
|All times are GMT -4. The time now is 00:50.|