[pooma-dev] shrink() and FieldEngine.NoGeometry.h Compilation

Jeffrey Oldham oldham at codesourcery.com
Fri May 4 16:25:04 UTC 2001


On Fri, May 04, 2001 at 09:05:37AM -0700, Jeffrey Oldham wrote:
> 
> Do you agree this is a problem?  Is the attached patch acceptable?  (I
> am experiencing compilation problems so I have not tested the patch.)

I fixed the patch so it compiles.

Thanks,
Jeffrey D. Oldham
oldham at codesourcery.com
-------------- next part --------------
Index: FieldEngine.NoGeometry.h
===================================================================
RCS file: /home/pooma/Repository/r2/src/NewField/FieldEngine/FieldEngine.NoGeometry.h,v
retrieving revision 1.4
diff -c -p -r1.4 FieldEngine.NoGeometry.h
*** FieldEngine.NoGeometry.h	2001/04/10 23:13:25	1.4
--- FieldEngine.NoGeometry.h	2001/05/04 16:23:48
*************** public:
*** 254,267 ****
    // This field-engine always has vert-centering and the total domain is
    // given by the engine.
          
!   inline const Domain_t &physicalCellDomain() const
      {
!       return shrink(physicalDomain(), 1);
      }
          
    inline Domain_t totalCellDomain() const
      {
!       return shrink(engine_m.domain(), 1);
      }
  
    Domain_t physicalDomain() const
--- 254,267 ----
    // This field-engine always has vert-centering and the total domain is
    // given by the engine.
          
!   inline const Domain_t physicalCellDomain() const
      {
!       return shrink(physicalDomain(), GuardLayers<Dim>(1));
      }
          
    inline Domain_t totalCellDomain() const
      {
!       return shrink(engine_m.domain(), GuardLayers<Dim>(1));
      }
  
    Domain_t physicalDomain() const


More information about the pooma-dev mailing list