Skip to content

Commit

Permalink
Fix offsets
Browse files Browse the repository at this point in the history
  • Loading branch information
nezix committed Jun 6, 2024
1 parent 89c3b80 commit e814b3d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions CudaSurf.cu
Original file line number Diff line number Diff line change
Expand Up @@ -564,9 +564,9 @@ std::vector<MeshData> computeSlicedSES(float3 positions[], float radii[], unsign

// Grid is a cube
float3 originGridNeighbor = {
minVal.x - maxAtomRad - 2 * probeRadius,
minVal.y - maxAtomRad - 2 * probeRadius,
minVal.z - maxAtomRad - 2 * probeRadius};
minVal.x - maxAtomRad - probeRadius,
minVal.y - maxAtomRad - probeRadius,
minVal.z - maxAtomRad - probeRadius};

int gridNeighborSize = (int)ceil(maxDist / gridResolutionNeighbor);

Expand Down

0 comments on commit e814b3d

Please sign in to comment.