File tree Expand file tree Collapse file tree 1 file changed +4
-8
lines changed Expand file tree Collapse file tree 1 file changed +4
-8
lines changed Original file line number Diff line number Diff line change 3
3
4
4
#include " aether.h"
5
5
6
- bool grid_match (Grid gGrid ,
7
- Grid mGrid ,
6
+ bool grid_match (Grid gGrid ,
7
+ Grid mGrid ,
8
8
Quadtree gQuadtree ,
9
9
Quadtree mQuadtree ) {
10
10
@@ -24,6 +24,7 @@ bool grid_match(Grid gGrid,
24
24
for (iZ = mGCs ; iZ < mnZ - mGCs ; iZ++) {
25
25
lon = mGrid .geoLon_scgc (iX, iY, iZ);
26
26
lat = mGrid .geoLat_scgc (iX, iY, iZ);
27
+
27
28
if (gGrid .iGridShape_ == gGrid .iSphere_ ) {
28
29
norms (0 ) = lon / cPI;
29
30
norms (1 ) = lat / cPI;
@@ -33,14 +34,9 @@ bool grid_match(Grid gGrid,
33
34
norms = sphere_to_cube (lon, lat);
34
35
iNode = gQuadtree .find_point (norms);
35
36
}
36
- std::cout << " lon, lat, node: " << lon*cRtoD << " "
37
- << lat*cRtoD << " "
38
- << norms (0 ) << " "
39
- << norms (1 ) << " "
40
- << norms (2 ) << " "
41
- << iNode << " \n " ;
42
37
}
43
38
}
44
39
}
40
+
45
41
return true ;
46
42
}
You can’t perform that action at this time.
0 commit comments