freepooma-devel
[Top][All Lists]
Advanced

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

RFA: Permit NoGeometry Fields to Instantiate


From: Jeffrey Oldham
Subject: RFA: Permit NoGeometry Fields to Instantiate
Date: Mon, 14 May 2001 12:42:49 -0700
User-agent: Mutt/1.2.5i

OK to commit?

These changes with my two previous proposed patches permit compiling
this program:

    #include "Pooma/NewFields.h"

    #define T1 NoGeometry<(int)3>
    #define T2 int
    #define T3 CompressibleBrick
    #define T4 Interval<(int)3>
    template class Field<T1,T2,T3>;
    template class View1<Field<T1,T2,T3>,T4>;

This program adds the "class Field" line to what Dave Nystrom
originally requested.  This reflects circular references in the
definition of View1.

Please carefully check the patch to see if its semantics match those
you believe they should.

2001-05-14  Jeffrey D. Oldham  <address@hidden>

        * NewField/FieldEngine/FieldEngine.NoGeometry.h
        (FieldEngine<NoGeometry<Dim>, T, EngineTag>): Add a default
        constructor.
        (FieldEngine<NoGeometry<Dim>, T, EngineTag>)::physicalDomain): New
        function.
        (FieldEngine<NoGeometry<Dim>, T, EngineTag>)::totalDomain):
        Likewise.

Tested on       sequential Linux gcc 3.0 by compiling Pooma library
Approved by     ???you???

Thanks,
Jeffrey D. Oldham
address@hidden

Attachment: May14.patch
Description: Text document


reply via email to

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