summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/revocap-refiner/delete_getIndices.patch
blob: 7a70f354bf773f090929861429ec1557523c1d14 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
--- spack-src/Geometry/kmbBucket.h.org	2020-05-28 11:42:08.438970353 +0900
+++ spack-src/Geometry/kmbBucket.h	2020-05-28 11:43:55.449496013 +0900
@@ -348,12 +348,6 @@
 
 		int getIndex() const{ return it->first; };
 
-		void getIndices(int &i,int &j,int &k) const{
-			i = it->first / (ynum*znum);
-			j = (it->first - i*ynum*znum) / znum;
-			k = it->first - i*ynum*znum - j*znum;
-		};
-
 		iterator& operator++(void){ ++it; return *this; };
 
 		iterator  operator++(int n){
@@ -391,12 +385,6 @@
 
 		int getIndex() const{ return it->first; };
 
-		void getIndices(int &i,int &j,int &k) const{
-			i = it->first / (ynum*znum);
-			j = (it->first - i*ynum*znum) / znum;
-			k = it->first - i*ynum*znum - j*znum;
-		};
-
 		const_iterator& operator++(void){ ++it; return *this; };
 
 		const_iterator operator++(int n){