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

CUDAQuickSurf Class Reference

#include <CUDAQuickSurf.h>

List of all members.

Public Methods

 CUDAQuickSurf (void)
int free_bufs (void)
int check_bufs (long int natoms, int colorperatom, int gx, int gy, int gz)
int alloc_bufs (long int natoms, int colorperatom, int gx, int gy, int gz)
int get_chunk_bufs (int testexisting, long int natoms, int colorperatom, int gx, int gy, int gz, int &cx, int &cy, int &cz, int &sx, int &sy, int &sz)
int calc_surf (long int natoms, const float *xyzr, const float *colors, int colorperatom, float *origin, int *numvoxels, float maxrad, float radscale, float gridspacing, float isovalue, float gausslim, VMDDisplayList *cmdList)
 ~CUDAQuickSurf (void)


Constructor & Destructor Documentation

CUDAQuickSurf::CUDAQuickSurf void   
 

Definition at line 1106 of file CUDAQuickSurf.cu.

CUDAQuickSurf::~CUDAQuickSurf void   
 

Definition at line 1112 of file CUDAQuickSurf.cu.

References free_bufs, and qsurf_gpuhandle::mc.


Member Function Documentation

int CUDAQuickSurf::alloc_bufs long int    natoms,
int    colorperatom,
int    gx,
int    gy,
int    gz
 

Definition at line 1209 of file CUDAQuickSurf.cu.

References qsurf_gpuhandle::atomHash_d, qsurf_gpuhandle::atomIndex_d, qsurf_gpuhandle::c3f_d, qsurf_gpuhandle::cellStartEnd_d, check_bufs, qsurf_gpuhandle::color_d, qsurf_gpuhandle::colorperatom, qsurf_gpuhandle::devdensity, qsurf_gpuhandle::devvoltexmap, free_bufs, qsurf_gpuhandle::gx, qsurf_gpuhandle::gy, qsurf_gpuhandle::gz, CUDAMarchingCubes::MemUsageMC, qsurf_gpuhandle::n3f_d, qsurf_gpuhandle::natoms, qsurf_gpuhandle::safety, qsurf_gpuhandle::sorted_color_d, qsurf_gpuhandle::sorted_xyzr_d, qsurf_gpuhandle::v3f_d, and qsurf_gpuhandle::xyzr_d.

Referenced by get_chunk_bufs.

int CUDAQuickSurf::calc_surf long int    natoms,
const float *    xyzr,
const float *    colors,
int    colorperatom,
float *    origin,
int *    numvoxels,
float    maxrad,
float    radscale,
float    gridspacing,
float    isovalue,
float    gausslim,
VMDDisplayList   cmdList
 

Definition at line 1356 of file CUDAQuickSurf.cu.

References qsurf_gpuhandle::atomHash_d, qsurf_gpuhandle::atomIndex_d, qsurf_gpuhandle::c3f_d, qsurf_gpuhandle::cellStartEnd_d, qsurf_gpuhandle::color_d, CUDAMarchingCubes::computeIsosurface, qsurf_gpuhandle::devdensity, qsurf_gpuhandle::devvoltexmap, free_bufs, GBLOCKSZX, GBLOCKSZY, GBLOCKSZZ, get_chunk_bufs, CUDAMarchingCubes::GetMaxGridSize, CUDAMarchingCubes::GetVertexCount, GTEXBLOCKSZZ, GTEXUNROLL, GUNROLL, CUDAMarchingCubes::Initialize, qsurf_gpuhandle::mc, qsurf_gpuhandle::n3f_d, qsurf_gpuhandle::natoms, NULL, qsurf_gpuhandle::safety, CUDAMarchingCubes::SetIsovalue, CUDAMarchingCubes::SetSubVolume, CUDAMarchingCubes::SetVolumeData, qsurf_gpuhandle::sorted_color_d, qsurf_gpuhandle::sorted_xyzr_d, qsurf_gpuhandle::v3f_d, vmd_cuda_build_density_atom_grid, wkf_timer_create, wkf_timer_destroy, wkf_timer_start, wkf_timer_stop, wkf_timer_time, wkf_timer_timenow, wkf_timerhandle, and qsurf_gpuhandle::xyzr_d.

Referenced by QuickSurf::calc_surf.

int CUDAQuickSurf::check_bufs long int    natoms,
int    colorperatom,
int    gx,
int    gy,
int    gz
 

Definition at line 1191 of file CUDAQuickSurf.cu.

References qsurf_gpuhandle::colorperatom, qsurf_gpuhandle::gx, qsurf_gpuhandle::gy, qsurf_gpuhandle::gz, and qsurf_gpuhandle::natoms.

Referenced by alloc_bufs, and get_chunk_bufs.

int CUDAQuickSurf::free_bufs void   
 

Definition at line 1125 of file CUDAQuickSurf.cu.

References qsurf_gpuhandle::atomHash_d, qsurf_gpuhandle::atomIndex_d, qsurf_gpuhandle::c3f_d, qsurf_gpuhandle::cellStartEnd_d, qsurf_gpuhandle::color_d, qsurf_gpuhandle::colorperatom, qsurf_gpuhandle::devdensity, qsurf_gpuhandle::devvoltexmap, qsurf_gpuhandle::gx, qsurf_gpuhandle::gy, qsurf_gpuhandle::gz, qsurf_gpuhandle::n3f_d, qsurf_gpuhandle::natoms, NULL, qsurf_gpuhandle::safety, qsurf_gpuhandle::sorted_color_d, qsurf_gpuhandle::sorted_xyzr_d, qsurf_gpuhandle::v3f_d, and qsurf_gpuhandle::xyzr_d.

Referenced by alloc_bufs, calc_surf, and ~CUDAQuickSurf.

int CUDAQuickSurf::get_chunk_bufs int    testexisting,
long int    natoms,
int    colorperatom,
int    gx,
int    gy,
int    gz,
int &    cx,
int &    cy,
int &    cz,
int &    sx,
int &    sy,
int &    sz
 

Definition at line 1272 of file CUDAQuickSurf.cu.

References alloc_bufs, check_bufs, GBLOCKSZX, GBLOCKSZY, GBLOCKSZZ, GTEXBLOCKSZZ, GTEXUNROLL, and GUNROLL.

Referenced by calc_surf.


The documentation for this class was generated from the following files:
Generated on Sat May 26 01:49:09 2012 for VMD (current) by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002