Patch: Remove Non-Existent 'Index' From Comments

Jeffrey Oldham oldham at codesourcery.com
Mon Jan 14 09:47:34 UTC 2002


2002-Jan-14  Jeffrey D. Oldham  <oldham at codesourcery.com>

	These changes remove mentions of the non-existent 'Index' type
	from comments.
	
	* Grid.h: Remove 'Index' from introductory comment.
	* Interval.h: Likewise.
	* Loc.h: Likewise.
	* NewDomain.h: Remove forward declaration for 'Index'.
	  Remove 'Index' from NewDomain'N' comment.
	* Range.h: Remove 'Index' from introductory comment.

Applied to      mainline
Not tested      since only comments were changed.
Approved by     Stephen Smith

Thanks,
Jeffrey D. Oldham
oldham at codesourcery.com
-------------- next part --------------
Index: Grid.h
===================================================================
RCS file: /home/pooma/Repository/r2/src/Domain/Grid.h,v
retrieving revision 1.12
diff -c -p -r1.12 Grid.h
*** Grid.h	2001/04/27 22:58:09	1.12
--- Grid.h	2002/01/11 22:46:43
***************
*** 76,84 ****
  // Grid<N> is a domain representing a set of N numeric sequences, one
  // for each dimension N.  The sequences are lists of ascending or descending
  // numbers, but without any fixed stride - the list for each dimension is
! // an IndirectionList<int>.  It does not have any concept of loop variables,
! // however, like Index does, so it cannot be used in any kind of tensor-like
! // expression.
  //
  // You can construct a Grid object using other domain objects.
  // The constructors accept up to 7 domain objects of various types.
--- 76,82 ----
  // Grid<N> is a domain representing a set of N numeric sequences, one
  // for each dimension N.  The sequences are lists of ascending or descending
  // numbers, but without any fixed stride - the list for each dimension is
! // an IndirectionList<int>.
  //
  // You can construct a Grid object using other domain objects.
  // The constructors accept up to 7 domain objects of various types.
Index: Interval.h
===================================================================
RCS file: /home/pooma/Repository/r2/src/Domain/Interval.h,v
retrieving revision 1.18
diff -c -p -r1.18 Interval.h
*** Interval.h	2001/04/27 22:58:13	1.18
--- Interval.h	2002/01/11 22:46:43
***************
*** 70,78 ****
  //
  // Interval<N> is a domain representing a set of N numeric sequences, one
  // for each dimension N.  The sequences have endpoints [a,b], and a
! // hard-coded stride of +1. It does not have any concept of loop variables,
! // however, like Index does, so it cannot be used in any kind of tensor-like
! // expression.
  //
  // You can construct an Interval object using other domain objects.
  // The constructors accept up to 7 domain objects of various types.
--- 70,76 ----
  //
  // Interval<N> is a domain representing a set of N numeric sequences, one
  // for each dimension N.  The sequences have endpoints [a,b], and a
! // hard-coded stride of +1.
  //
  // You can construct an Interval object using other domain objects.
  // The constructors accept up to 7 domain objects of various types.
Index: Loc.h
===================================================================
RCS file: /home/pooma/Repository/r2/src/Domain/Loc.h,v
retrieving revision 1.24
diff -c -p -r1.24 Loc.h
*** Loc.h	2001/04/13 02:12:59	1.24
--- Loc.h	2002/01/11 22:46:43
***************
*** 73,81 ****
  // Loc<N> is a domain representing a single N-dimensional point.  It has
  // a stride of one, endpoints which are the same, and a single element.
  // Otherwise, it acts very much like all other domain objects such as Range
! // or Interval.  It does not have any concept of loop variables, however,
! // like Index does, so it cannot be used in any kind of tensor-like
! // expression.
  //
  // You can construct a Loc object using other Loc objects or integers.
  // The constructor for Loc accepts up to 7 domain objects of various types.
--- 73,79 ----
  // Loc<N> is a domain representing a single N-dimensional point.  It has
  // a stride of one, endpoints which are the same, and a single element.
  // Otherwise, it acts very much like all other domain objects such as Range
! // or Interval.
  //
  // You can construct a Loc object using other Loc objects or integers.
  // The constructor for Loc accepts up to 7 domain objects of various types.
Index: NewDomain.h
===================================================================
RCS file: /home/pooma/Repository/r2/src/Domain/NewDomain.h,v
retrieving revision 1.30
diff -c -p -r1.30 NewDomain.h
*** NewDomain.h	2001/04/13 02:12:59	1.30
--- NewDomain.h	2002/01/11 22:46:44
*************** template<int Dim>               class Lo
*** 70,76 ****
  template<int Dim>               class Interval;
  template<int Dim>               class Range;
  template<int Dim>               class Grid;
- template<int Dim>               class Index;
  template<int Dim>               class AllDomain;
  template<int Dim>               class LeftDomain;
  template<int Dim>               class RightDomain;
--- 70,75 ----
*************** struct CombineSliceDomain {
*** 337,343 ****
  //      a lower-dimensional subdomain of the complete domain.  Specifying
  //      a Loc or int for one or more of the dimensions in the operator() will
  //      result in that dimension being "sliced out", so that the total dim
! //      of the slice = sum of dimensions of Interval, Range, Index objects
  //      - sum dimensions of Loc and int objects.  If slice rules are used,
  //      and any Loc or int objects are being combined in, the resulting
  //      domain object will be a SliceDomain subclass (e.g., SliceInterval,
--- 336,342 ----
  //      a lower-dimensional subdomain of the complete domain.  Specifying
  //      a Loc or int for one or more of the dimensions in the operator() will
  //      result in that dimension being "sliced out", so that the total dim
! //      of the slice = sum of dimensions of Interval, Range objects
  //      - sum dimensions of Loc and int objects.  If slice rules are used,
  //      and any Loc or int objects are being combined in, the resulting
  //      domain object will be a SliceDomain subclass (e.g., SliceInterval,
Index: Range.h
===================================================================
RCS file: /home/pooma/Repository/r2/src/Domain/Range.h,v
retrieving revision 1.19
diff -c -p -r1.19 Range.h
*** Range.h	2001/04/27 22:58:17	1.19
--- Range.h	2002/01/11 22:46:44
*************** void fillRangeScalar(Range<Dim> &r, cons
*** 76,84 ****
  //
  // Range<N> is a domain representing a set of N numeric sequences, one
  // for each dimension N.  The sequences have endpoints [a,b], with a stride
! // s. It does not have any concept of loop variables,
! // however, like Index does, so it cannot be used in any kind of tensor-like
! // expression.
  //
  // You can construct a Range object using other domain objects.
  // The constructors accept up to 7 domain objects of various types.
--- 76,82 ----
  //
  // Range<N> is a domain representing a set of N numeric sequences, one
  // for each dimension N.  The sequences have endpoints [a,b], with a stride
! // s.
  //
  // You can construct a Range object using other domain objects.
  // The constructors accept up to 7 domain objects of various types.


More information about the pooma-dev mailing list