Skip to content

Commit 63dafb4

Browse files
committed
BUG: shouldnt have so much output
1 parent 1a19756 commit 63dafb4

File tree

1 file changed

+4
-8
lines changed

1 file changed

+4
-8
lines changed

src/grid_match.cpp

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33

44
#include "aether.h"
55

6-
bool grid_match(Grid gGrid,
7-
Grid mGrid,
6+
bool grid_match(Grid gGrid,
7+
Grid mGrid,
88
Quadtree gQuadtree,
99
Quadtree mQuadtree) {
1010

@@ -24,6 +24,7 @@ bool grid_match(Grid gGrid,
2424
for (iZ = mGCs; iZ < mnZ - mGCs; iZ++) {
2525
lon = mGrid.geoLon_scgc(iX, iY, iZ);
2626
lat = mGrid.geoLat_scgc(iX, iY, iZ);
27+
2728
if (gGrid.iGridShape_ == gGrid.iSphere_) {
2829
norms(0) = lon / cPI;
2930
norms(1) = lat / cPI;
@@ -33,14 +34,9 @@ bool grid_match(Grid gGrid,
3334
norms = sphere_to_cube(lon, lat);
3435
iNode = gQuadtree.find_point(norms);
3536
}
36-
std::cout << "lon, lat, node: " << lon*cRtoD << " "
37-
<< lat*cRtoD << " "
38-
<< norms(0) << " "
39-
<< norms(1) << " "
40-
<< norms(2) << " "
41-
<< iNode << "\n";
4237
}
4338
}
4439
}
40+
4541
return true;
4642
}

0 commit comments

Comments
 (0)