|
[Sponsors] |
February 19, 2009, 02:07 |
Hello,
With the help of Ber
|
#1 |
New Member
Peter Johnston
Join Date: Mar 2009
Location: Brisbane, Queensland, Australia
Posts: 25
Rep Power: 17 |
Hello,
With the help of Bernhard, we tracked down a bug in GeometricScalarField.C in relation to the pow function. Line 157 reads: dimensionedScalar("1", 1.0, gsf2.dimensions()) but should read dimensionedScalar("1", gsf2.dimensions(), 1.0) The same comments apply to lines 186 and 217. Regards, Peter |
|
February 19, 2009, 02:59 |
Thank you very much for the bu
|
#2 |
Senior Member
Join Date: Mar 2009
Posts: 854
Rep Power: 22 |
Thank you very much for the bug report. This error is a legacy from when I changed the order of the constructor arguments to make dimensionedType more consistent with the rest of the code. I will push the corrected version to 1.5.x shortly.
H |
|
December 11, 2010, 14:35 |
|
#3 |
Member
Daniel
Join Date: Jul 2010
Location: California
Posts: 39
Rep Power: 15 |
Hi I am having trouble with the pow function with volScalarField as an argument. Would this be a related problem?
Thanks |
|
|
|