CellGPU  0.8.0
GPU-accelerated simulations of cells
Macros | Functions
Simple2DCell.cuh File Reference
#include "std_include.h"
#include <cuda_runtime.h>
#include "gpubox.h"
Include dependency graph for Simple2DCell.cuh:
This graph shows which files directly or indirectly include this file:

Functions

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_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_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

A file providing an interface to the relevant cuda calls for the Simple2DCell class