freepooma-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Missing ::layout() const in certain Engines


From: Richard Guenther
Subject: Missing ::layout() const in certain Engines
Date: Thu, 24 Oct 2002 13:51:32 +0200 (CEST)

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 <address@hidden>
WWW: http://www.tat.physik.uni-tuebingen.de/~rguenth/
The GLAME Project: http://www.glame.de/

reply via email to

[Prev in Thread] Current Thread [Next in Thread]