[newfield_revision Patch] Modify Doof2d Benchmark

Jeffrey Oldham oldham at codesourcery.com
Wed Aug 8 23:35:08 UTC 2001


Only one benchmark program uses Fields.  This patch to the
newfield_revision branch revises it to use the new NewField
abstractions.
 
2001-08-08  Jeffrey D. Oldham  <oldham at codesourcery.com>
 
        * Doof2dInP2.h (Doof2dInP2NewField::initialize): Modify centering
        to use new abstraction.

Tested on       sequential Linux using gcc 3.0.1 by compiling Doof2d
Approved by     Stephen Smith
Applied to	newfield_revision branch

Thanks,
Jeffrey D. Oldham
oldham at codesourcery.com
-------------- next part --------------
Index: Doof2dInP2.h
===================================================================
RCS file: /home/pooma/Repository/r2/benchmarks/Doof2d/Doof2dInP2.h,v
retrieving revision 1.38
diff -c -p -r1.38 Doof2dInP2.h
*** Doof2dInP2.h	2000/09/08 23:40:02	1.38
--- Doof2dInP2.h	2001/08/07 20:52:17
*************** public:
*** 67,73 ****
      Interval<2> newDomain(N, N);
  
      DomainLayout<2> layout(newDomain);
!     Vert vert;
      Vector<2> origin(0.0, 0.0);
      Vector<2> spacings(1.0, 1.0);
  
--- 67,73 ----
      Interval<2> newDomain(N, N);
  
      DomainLayout<2> layout(newDomain);
!     Centering<2> vert = canonicalCentering<2>(VertexType, Continuous);
      Vector<2> origin(0.0, 0.0);
      Vector<2> spacings(1.0, 1.0);
  


More information about the pooma-dev mailing list