Re: [PATCH] Use StencilEngine in FieldStencil
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] Use StencilEngine in FieldStencil



Richard Guenther wrote:

This patch drops nearly all special-casing for FieldStencil in that it uses the StencilEngine implemented in Engine/Stencil.h. The StencilEngine needs to be able to default construct itself and assign to itself for Fields, though. Thus this capability is added until maybe the FieldEngine is fixed.

Tested with the two only FieldStencil tests and the two other Array Stencil tests.

A follow up patch could move the Array specific parts of Engine/Stencil.h to Array/ArrayStencil.h if desired.

Ok?

Richard.


2004Jul19  Richard Guenther <richard.guenther@xxxxxxxxxxxxxxxx>

    * src/Field/DiffOps/FieldStencil.h: rip out all
         ApplyFieldStencil engine stuff.
    src/Engine/Stencil.h: prepare StencilEngine being used
    by FieldStencilSimple.

Yes, this patch is a good simplification.

--
Jeffrey D. Oldham
oldham@xxxxxxxxxxxxxxxx