Main Page Namespace List Class Hierarchy Alphabetical List Compound List File List Namespace Members Compound Members File Members Related Pages

CUDASpatialSearch.h File Reference

CUDA kernels that build data structures for spatial sorting, hashing, and searching, used by QuickSurf, MDFF, etc. More...

Go to the source code of this file.


Defines

#define GRID_CELL_EMPTY 0xffffffff

Functions

int vmd_cuda_build_density_atom_grid (int natoms, const float4 *xyzr_d, const float4 *color_d, float4 *sorted_xyzr_d, float4 *sorted_color_d, unsigned int *atomIndex_d, unsigned int *atomHash_d, uint2 *cellStartEnd_d, int3 volsz, float invgridspacing)
int vmd_cuda_build_density_atom_grid (int natoms, const float4 *xyzr_d, float4 *&sorted_xyzr_d, uint2 *&cellStartEnd_d, int3 volsz, float invgridspacing)

Detailed Description

CUDA kernels that build data structures for spatial sorting, hashing, and searching, used by QuickSurf, MDFF, etc.

Definition in file CUDASpatialSearch.h.


Define Documentation

#define GRID_CELL_EMPTY 0xffffffff

Definition at line 22 of file CUDASpatialSearch.h.


Function Documentation

int vmd_cuda_build_density_atom_grid ( int natoms,
const float4 * xyzr_d,
float4 *& sorted_xyzr_d,
uint2 *& cellStartEnd_d,
int3 volsz,
float invgridspacing
)

Definition at line 290 of file CUDASpatialSearch.cu.

Referenced by CUDAQuickSurf::calc_surf, and vmd_cuda_build_accel.

int vmd_cuda_build_density_atom_grid ( int natoms,
const float4 * xyzr_d,
const float4 * color_d,
float4 * sorted_xyzr_d,
float4 * sorted_color_d,
unsigned int * atomIndex_d,
unsigned int * atomHash_d,
uint2 * cellStartEnd_d,
int3 volsz,
float invgridspacing
)


Generated on Tue Nov 18 02:48:31 2025 for VMD (current) by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002

AltStyle によって変換されたページ (->オリジナル) /