CellGPU  0.8.0
GPU-accelerated simulations of cells
Macros | Functions
Simple2DCell.cu File Reference
#include <cuda_runtime.h>
#include "curand_kernel.h"
#include "Simple2DCell.cuh"
Include dependency graph for Simple2DCell.cu:

Functions

__global__ void gpu_move_degrees_of_freedom_kernel (Dscalar2 *d_points, Dscalar2 *d_disp, int N, gpubox Box)
 
__global__ void gpu_move_degrees_of_freedom_kernel (Dscalar2 *d_points, Dscalar2 *d_disp, Dscalar scale, int N, gpubox Box)
 
__global__ void gpu_set_integer_array_kernel (int *d_array, int value, int N)
 
bool gpu_move_degrees_of_freedom (Dscalar2 *d_points, Dscalar2 *d_disp, Dscalar scale, int N, gpubox &Box)
 The same as the above, but scale the displacements by a scalar (i.e., x[i] += scale*disp[i]. More...
 
bool gpu_move_degrees_of_freedom (Dscalar2 *d_points, Dscalar2 *d_disp, int N, gpubox &Box)
 Move degrees of freedom according to a set of displacements, and put them back in the unit cell. More...
 
bool gpu_set_integer_array (int *d_array, int value, int N)
 A utility function; set all copmonents of an integer array to value. More...
 

Detailed Description

Defines kernel callers and kernels for GPU calculations of simple 2D cell models