|
From: | James Crotinger |
Subject: | RE: [pooma-dev] Cooperation between FieldStencil and Range? |
Date: | Tue, 3 Sep 2002 10:09:20 -0600 |
We went around and around on adding this sort of functionality to Array. We wanted Array to be as lean and fast as possible, but the functionality is nice to have. I wasn't sure where we ended up.
For periodic BCs, one possibility would be to implement a new MP engine that basically handles the boundaries as "internal" guards (which is really what they are in a periodic system).
Jim
> -----Original Message-----
> From: Norbert Nemec [mailto:address@hidden]
> Sent: Tuesday, September 03, 2002 9:46 AM
> To: 'address@hidden'
> Subject: Re: [pooma-dev] Cooperation between FieldStencil and Range?
>
>
> Actually, I would love to forget about the whole "Field"
> stuff altogether, since I do not need that whole overhead of
> geometry information.
>
> Only reason I switched to field instead of array is that I
> need periodic boundary conditions and I would really love to
> use the mechanisms built into field instead of doing all the
> copying by hand.
>
> Why is it, that automatic boundary conditions are not part of
> Array, even though the concept is completely independant from
> geometry information?
>
>
> On Tue, Sep 03, 2002 at 09:14:15AM -0600, James Crotinger wrote:
> > The problem is that one can not, in general, deduce geometry
> > information on a red-black type subgrid from the information on the
> > underlying grid. Thus only Interval views of a Field yield a Field
> > with geometry information. RB type calculations can be done
> on arrays,
> > so you might want to change some of the calculations to be
> > array-centric.
> >
> > Jim
> >
> > > -----Original Message-----
> > > From: Norbert Nemec [mailto:address@hidden]
> > > Sent: Tuesday, September 03, 2002 9:02 AM
> > > To: address@hidden
> > > Subject: [pooma-dev] Cooperation between FieldStencil and Range?
> > >
> > >
> > > Hi there,
> > >
> > > it seems like FieldStencil does not work together with
> > > Range<N> domains? Is there a deep reason to that? I tried to
> > > look into the matter, but the problem definitely seems to be
> > > more than just a few specializations missing. The whole
> > > Engine<Dim, T, ApplyFieldStencil<Functor, _expression_> > has
> > > Interval<Dim> hardcoded.
> > >
> > > I need to do red-black updates on a field using a
> > > FieldStencil and I really have no idea how I should do that now.
> > >
> > > Ciao,
> > > Nobbi
> > >
> > > --
> > > -- _____________________________________Norbert "Nobbi" Nemec
> > > -- Hindenburgstr. 44 ... D-91054 Erlangen ... Germany
> > > -- eMail: <address@hidden> Tel: +49-(0)-9131-204180
> > >
>
> --
> -- _____________________________________Norbert "Nobbi" Nemec
> -- Hindenburgstr. 44 ... D-91054 Erlangen ... Germany
> -- eMail: <address@hidden> Tel: +49-(0)-9131-204180
>
[Prev in Thread] | Current Thread | [Next in Thread] |