Patch: Fix Typographical Errors

Jeffrey oldham at mail.codesourcery.com
Tue Mar 5 16:22:00 UTC 2002


2002-Mar-04  Jeffrey D. Oldham  <oldham at codesourcery.com>

This patch (mostly) fixes typographical errors in comments and other not
executed code.

	* examples/Manual/Sequential/initialize-finalize.cpp (main): Add
	"Hello, Pooma" to the program.
	* src/Domain/Interval.h: Fix typo in comment.
	* src/Engine/MultiPatchEngine.h: Fix typo in PInsist string.
	* src/Engine/RemoteDynamicEngine.h: Fix engine tag in comment.
	Fix comment typos.
	* src/Engine/RemoteEngine.h: Fix typos in comments.
	* src/Tiny/BinaryTensorOp.h: Fix punctuation in comments.
	* src/Tiny/BinaryTinyMatrixOp.h: Likewise.
	* src/Tiny/UnaryTensorOp.h: Likewise.
	* src/Tiny/Vector.h: Fix spelling mistake in comment.
	* src/Tiny/VectorOperators.h: Likewise.
	* src/Tiny/VectorTensor.h: Likewise.
	* src/Tiny/VectorTinyMatrix.h: Likewise.
	* src/Tulip/PatchSizeSyncer.h: Fix punctuation error in comment.
	* src/Tulip/SendReceive.h: Fix spacing of bracket.

Not tested since changes are to comments and non executed code.
Applied to	mainline
Approved by	Mark Mitchell

Thanks,
Jeffrey D. Oldham
oldham at codesourcery.com
-------------- next part --------------
Index: examples/Manual/Sequential/initialize-finalize.cpp
===================================================================
RCS file: /home/pooma/Repository/r2/examples/Manual/Sequential/initialize-finalize.cpp,v
retrieving revision 1.1
diff -c -p -r1.1 initialize-finalize.cpp
*** examples/Manual/Sequential/initialize-finalize.cpp	2002/01/25 03:45:54	1.1
--- examples/Manual/Sequential/initialize-finalize.cpp	2002/03/05 00:10:24
*************** int main(int argc, char *argv[])
*** 6,11 ****
--- 6,13 ----
    // Prepare the Pooma library for execution.
    Pooma::initialize(argc,argv);
  
+   std::cout << "Hello, Pooma." << std::endl;
+ 
    // Tell the Pooma library execution has finished.
    Pooma::finalize();
    return 0;
Index: src/Domain/Interval.h
===================================================================
RCS file: /home/pooma/Repository/r2/src/Domain/Interval.h,v
retrieving revision 1.20
diff -c -p -r1.20 Interval.h
*** src/Domain/Interval.h	2002/01/29 17:56:15	1.20
--- src/Domain/Interval.h	2002/03/05 00:10:25
*************** class Interval : public Domain<Dim, Doma
*** 152,158 ****
    typedef Domain<Dim, DT_t>                     Base_t;
  
  public:
!   // Typedefs from parent class and DoaminTraits
  
    typedef typename Base_t::iterator             iterator;
    typedef typename Base_t::const_iterator       const_iterator;
--- 152,158 ----
    typedef Domain<Dim, DT_t>                     Base_t;
  
  public:
!   // Typedefs from parent class and DomainTraits
  
    typedef typename Base_t::iterator             iterator;
    typedef typename Base_t::const_iterator       const_iterator;
Index: src/Engine/MultiPatchEngine.h
===================================================================
RCS file: /home/pooma/Repository/r2/src/Engine/MultiPatchEngine.h,v
retrieving revision 1.117
diff -c -p -r1.117 MultiPatchEngine.h
*** src/Engine/MultiPatchEngine.h	2001/04/09 21:35:47	1.117
--- src/Engine/MultiPatchEngine.h	2002/03/05 00:10:26
*************** inline void Engine<Dim, T, MultiPatch<La
*** 1433,1439 ****
  dynamicHandler(Observable_t &, const ObserverEvent &, 
                 const WrappedInt<false> &)
  { 
!   PInsist(0,"This patch engine does not support dynamice events!");
  }
  
  
--- 1433,1439 ----
  dynamicHandler(Observable_t &, const ObserverEvent &, 
                 const WrappedInt<false> &)
  { 
!   PInsist(0,"This patch engine does not support dynamic events!");
  }
  
  
Index: src/Engine/RemoteDynamicEngine.h
===================================================================
RCS file: /home/pooma/Repository/r2/src/Engine/RemoteDynamicEngine.h,v
retrieving revision 1.17
diff -c -p -r1.17 RemoteDynamicEngine.h
*** src/Engine/RemoteDynamicEngine.h	2002/01/29 17:56:16	1.17
--- src/Engine/RemoteDynamicEngine.h	2002/03/05 00:10:26
*************** private:
*** 430,436 ****
  
  //////////////////////////////////////////////////////////////////////
  //
! // Inline implementation of the functions for Engine<D, T, Remote<Tag> >
  //
  //////////////////////////////////////////////////////////////////////
  
--- 430,436 ----
  
  //////////////////////////////////////////////////////////////////////
  //
! // Inline implementation of the functions for Engine<D, T, Remote<Dynamic> >
  //
  //////////////////////////////////////////////////////////////////////
  
*************** Engine<1, T, Remote<Dynamic> >::read(con
*** 451,457 ****
  }
  
  //
! // Return the element specified by list of ints..
  //
  
  template <class T>
--- 451,457 ----
  }
  
  //
! // Return the element specified by list of ints.
  //
  
  template <class T>
*************** operator()(const Loc<1> &loc) const
*** 487,493 ****
  }
  
  //
! // Return a reference to the element specified by list of ints..
  //
  
  template <class T>
--- 487,493 ----
  }
  
  //
! // Return a reference to the element specified by list of ints.
  //
  
  template <class T>
Index: src/Engine/RemoteEngine.h
===================================================================
RCS file: /home/pooma/Repository/r2/src/Engine/RemoteEngine.h,v
retrieving revision 1.34
diff -c -p -r1.34 RemoteEngine.h
*** src/Engine/RemoteEngine.h	2001/09/13 20:55:14	1.34
--- src/Engine/RemoteEngine.h	2002/03/05 00:10:27
*************** read(const Loc<Dim> &loc) const
*** 345,351 ****
  }
  
  //
! // Return the element specified by list of ints..
  //
  
  template <int Dim, class T, class Tag>
--- 345,351 ----
  }
  
  //
! // Return the element specified by list of ints.
  //
  
  template <int Dim, class T, class Tag>
*************** private:
*** 1739,1745 ****
    private:
  
      //-------------------------------------------------------------------------
!     // Our container is mutable so we can add to it via const member fucntions.
      // Tags are logically const so this is required.
      
      mutable std::vector<int> contexts_m;
--- 1739,1745 ----
    private:
  
      //-------------------------------------------------------------------------
!     // Our container is mutable so we can add to it via const member functions.
      // Tags are logically const so this is required.
      
      mutable std::vector<int> contexts_m;
Index: src/Tiny/BinaryTensorOp.h
===================================================================
RCS file: /home/pooma/Repository/r2/src/Tiny/BinaryTensorOp.h,v
retrieving revision 1.12
diff -c -p -r1.12 BinaryTensorOp.h
*** src/Tiny/BinaryTensorOp.h	2000/03/07 13:18:12	1.12
--- src/Tiny/BinaryTensorOp.h	2002/03/05 00:10:27
***************
*** 35,41 ****
  
  //-----------------------------------------------------------------------------
  // Overview:
! // An engine class for representing the sum, product etc between two
  // Tensors.  This is used as part of evaluating expressions.
  //-----------------------------------------------------------------------------
  
--- 35,41 ----
  
  //-----------------------------------------------------------------------------
  // Overview:
! // An engine class for representing the sum, product, etc. between two
  // Tensors.  This is used as part of evaluating expressions.
  //-----------------------------------------------------------------------------
  
Index: src/Tiny/BinaryTinyMatrixOp.h
===================================================================
RCS file: /home/pooma/Repository/r2/src/Tiny/BinaryTinyMatrixOp.h,v
retrieving revision 1.3
diff -c -p -r1.3 BinaryTinyMatrixOp.h
*** src/Tiny/BinaryTinyMatrixOp.h	2000/03/07 13:18:12	1.3
--- src/Tiny/BinaryTinyMatrixOp.h	2002/03/05 00:10:27
***************
*** 35,41 ****
  
  //-----------------------------------------------------------------------------
  // Overview:
! // An engine class for representing the sum, product etc between two
  // TinyMatrixs.  This is used as part of evaluating expressions.
  //-----------------------------------------------------------------------------
  
--- 35,41 ----
  
  //-----------------------------------------------------------------------------
  // Overview:
! // An engine class for representing the sum, product, etc. between two
  // TinyMatrixs.  This is used as part of evaluating expressions.
  //-----------------------------------------------------------------------------
  
Index: src/Tiny/UnaryTensorOp.h
===================================================================
RCS file: /home/pooma/Repository/r2/src/Tiny/UnaryTensorOp.h,v
retrieving revision 1.10
diff -c -p -r1.10 UnaryTensorOp.h
*** src/Tiny/UnaryTensorOp.h	2000/03/07 13:18:15	1.10
--- src/Tiny/UnaryTensorOp.h	2002/03/05 00:10:27
***************
*** 36,42 ****
  
  //-----------------------------------------------------------------------------
  // Overview:
! // An engine class for representing the sum, product etc between two
  // Tensors.  This is used as part of evaluating expressions.
  //-----------------------------------------------------------------------------
  
--- 36,42 ----
  
  //-----------------------------------------------------------------------------
  // Overview:
! // An engine class for representing the sum, product, etc. between two
  // Tensors.  This is used as part of evaluating expressions.
  //-----------------------------------------------------------------------------
  
Index: src/Tiny/Vector.h
===================================================================
RCS file: /home/pooma/Repository/r2/src/Tiny/Vector.h,v
retrieving revision 1.27
diff -c -p -r1.27 Vector.h
*** src/Tiny/Vector.h	2001/09/18 05:17:48	1.27
--- src/Tiny/Vector.h	2002/03/05 00:10:27
*************** public:
*** 351,357 ****
      }
  
    // This is only supposed to be used in the IO stuff, which should
!   // make the inline function reverseBytes visable. 
  
    inline void reverseBytes() 
    { 
--- 351,357 ----
      }
  
    // This is only supposed to be used in the IO stuff, which should
!   // make the inline function reverseBytes visible. 
  
    inline void reverseBytes() 
    { 
Index: src/Tiny/VectorOperators.h
===================================================================
RCS file: /home/pooma/Repository/r2/src/Tiny/VectorOperators.h,v
retrieving revision 1.16
diff -c -p -r1.16 VectorOperators.h
*** src/Tiny/VectorOperators.h	2000/03/07 13:18:16	1.16
--- src/Tiny/VectorOperators.h	2002/03/05 00:10:28
***************
*** 36,42 ****
  
  //-----------------------------------------------------------------------------
  // Overview:
! // The various arithemetic operators for vectors are defined here.
  //-----------------------------------------------------------------------------
  
  //-----------------------------------------------------------------------------
--- 36,42 ----
  
  //-----------------------------------------------------------------------------
  // Overview:
! // The various arithmetic operators for vectors are defined here.
  //-----------------------------------------------------------------------------
  
  //-----------------------------------------------------------------------------
Index: src/Tiny/VectorTensor.h
===================================================================
RCS file: /home/pooma/Repository/r2/src/Tiny/VectorTensor.h,v
retrieving revision 1.15
diff -c -p -r1.15 VectorTensor.h
*** src/Tiny/VectorTensor.h	2002/01/29 17:56:16	1.15
--- src/Tiny/VectorTensor.h	2002/03/05 00:10:28
***************
*** 38,44 ****
  
  //-----------------------------------------------------------------------------
  // Overview:
! // Dot products between vectors and tensors, both yeilding vectors.
  // Outer product between vectors, yielding tensor.
  //-----------------------------------------------------------------------------
  
--- 38,44 ----
  
  //-----------------------------------------------------------------------------
  // Overview:
! // Dot products between vectors and tensors, both yielding vectors.
  // Outer product between vectors, yielding tensor.
  //-----------------------------------------------------------------------------
  
Index: src/Tiny/VectorTinyMatrix.h
===================================================================
RCS file: /home/pooma/Repository/r2/src/Tiny/VectorTinyMatrix.h,v
retrieving revision 1.2
diff -c -p -r1.2 VectorTinyMatrix.h
*** src/Tiny/VectorTinyMatrix.h	2000/03/07 13:18:17	1.2
--- src/Tiny/VectorTinyMatrix.h	2002/03/05 00:10:28
***************
*** 39,45 ****
  
  //-----------------------------------------------------------------------------
  // Overview:
! // Dot products between vectors and TinyMatrixs, both yeilding vectors.
  // Outer product between vectors, yielding TinyMatrix.
  //-----------------------------------------------------------------------------
  
--- 39,45 ----
  
  //-----------------------------------------------------------------------------
  // Overview:
! // Dot products between vectors and TinyMatrixs, both yielding vectors.
  // Outer product between vectors, yielding TinyMatrix.
  //-----------------------------------------------------------------------------
  
Index: src/Tulip/PatchSizeSyncer.h
===================================================================
RCS file: /home/pooma/Repository/r2/src/Tulip/PatchSizeSyncer.h,v
retrieving revision 1.3
diff -c -p -r1.3 PatchSizeSyncer.h
*** src/Tulip/PatchSizeSyncer.h	2000/05/30 17:44:06	1.3
--- src/Tulip/PatchSizeSyncer.h	2002/03/05 00:10:28
*************** private:
*** 135,141 ****
    static int tag_s;
  
    // This is the Cheetah stuff. If we don't have Cheetah, this class should
!   // work in serial (its a no-op) without sending any messages. All
    // Cheetah stuff should compile away.
  
  #if POOMA_CHEETAH
--- 135,141 ----
    static int tag_s;
  
    // This is the Cheetah stuff. If we don't have Cheetah, this class should
!   // work in serial (it's a no-op) without sending any messages. All
    // Cheetah stuff should compile away.
  
  #if POOMA_CHEETAH
Index: src/Tulip/SendReceive.h
===================================================================
RCS file: /home/pooma/Repository/r2/src/Tulip/SendReceive.h,v
retrieving revision 1.9
diff -c -p -r1.9 SendReceive.h
*** src/Tulip/SendReceive.h	2001/06/28 19:01:24	1.9
--- src/Tulip/SendReceive.h	2002/03/05 00:10:28
*************** public:
*** 89,95 ****
        toContext_m(toContext),
        tag_m(tag),
        view_m(view)
!  {
      PAssert(toContext >= 0);
     
      hintAffinity(engineFunctor(view_m,
--- 89,95 ----
        toContext_m(toContext),
        tag_m(tag),
        view_m(view)
!   {
      PAssert(toContext >= 0);
     
      hintAffinity(engineFunctor(view_m,


More information about the pooma-dev mailing list