Missing ::layout() const in certain Engines
Richard Guenther
rguenth at tat.physik.uni-tuebingen.de
Thu Oct 24 11:51:32 UTC 2002
Hi!
Is there something why f.i. Engine< .. IndexFunction .. > or
Engine< .. ApplyFieldStencil<> .. > dont have a ::layout() const
method? This prevents me from f.e. writing
a(I) = stencil1(stencil2(b))(I);
(doesnt compile, complains about missing ::layout()). If I just add
inline DomainLayout<Dim> layout() const { return DomainLayout<Dim>(domain_m); }
to src/Field/DiffOps/FieldStencil.h::Engine<Dim, T, ApplyFieldStencil<Functor, Expression> >
this compiles and seems to work as expected (need to do a formal testcase,
though).
Any hints to something I'm missing?
Richard.
--
Richard Guenther <richard.guenther at uni-tuebingen.de>
WWW: http://www.tat.physik.uni-tuebingen.de/~rguenth/
The GLAME Project: http://www.glame.de/
More information about the pooma-dev
mailing list