Skip to content

Commit ad1a941

Browse files
committed
Phi-grid definition changed to match temperature map interpolation assumptions.
1 parent a66b6fc commit ad1a941

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

xpsi/cellmesh/global_mesh.pyx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ def construct_closed_cellMesh(size_t numThreads,
122122
cdef double delta_phi
123123

124124
delta_phi = _2pi / (<double>sqrt_numCell)
125-
phi = np.linspace(_2pi - 0.5 * delta_phi, 0.5 * delta_phi, sqrt_numCell)
125+
phi = np.linspace(-M_PI + 0.5 * delta_phi, M_PI - 0.5 * delta_phi, sqrt_numCell)
126126

127127
for i in range(numCellsCompute, sqrt_numCell):
128128
cellColatitudes[i] = _pi - cellColatitudes[sqrt_numCell - i - 1]

0 commit comments

Comments
 (0)