freepooma-devel
[Top][All Lists]
Advanced

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

Re: [Freepooma-devel] [PATCH] Fix Field/Array mixed expressions


From: Richard Guenther
Subject: Re: [Freepooma-devel] [PATCH] Fix Field/Array mixed expressions
Date: Thu, 21 Apr 2005 16:36:10 +0200 (CEST)

On Thu, 21 Apr 2005, Roman Krylov wrote:

> I found that even with this patch mixed arrays and fields operations are
> impossible:
> I have 'tmp = rho/tmp;' where tmp is Array<3,double> and rho is a
> Field<...>and it yields:

Sure - it only helps for some cases.  It's not possible to do it
in general without implicitly instantiating all combination of
types for these classes.  The bug is that we have Array _and_ Field
at all.  Instead we should have a more modular Array (or Field)
which can optionally provide meshes and relations (and multiple
centerings/materials through custom engines).

Richard.

--
Richard Guenther <richard dot guenther at uni-tuebingen dot de>
WWW: http://www.tat.physik.uni-tuebingen.de/~rguenth/





reply via email to

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