![]() |
Blitz Support : |
From: Faheem Mitha (faheem_at_[hidden])
Date: 2005-05-30 21:33:50
On Mon, 30 May 2005, Faheem Mitha wrote:
> Also, I was very disappointed to discover that stencils do not accept
scalar
> values. This is a *major* usability problem. At least for me, this means I
> won't be able to use stencils, since working around this in my context would
> be so difficult as to be next to impossible.
>
> I could not find much discussion about this, but in examples/cfd.cpp, I read:
>
> * - Stencil objects can't take scalar arguments, so all the scalars
> * have to be globals. Big ugh. There is a fix for this,
> * but it hasn't been implemented yet.
>
> Apparently it still has not been implemented, since I get errors like
> " error: `const double' is not a class, struct, or union type" when I try to
> pass values as an argument.
>
> Are there any plans to fix this, and what was the fix referred to?
I came across what appears to be a workaround,
http://www.oonumerics.org/MailArchives/blitz-support/2004/06/1128.php
Is this the best one can do?
Faheem.