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

Functions

bool gpu_force_sets (Dscalar2 *d_points, Dscalar2 *d_AP, Dscalar2 *d_APpref, int2 *d_delSets, int *d_detOther, Dscalar2 *d_vc, Dscalar4 *d_vln, Dscalar2 *d_forceSets, int2 *d_nidx, Dscalar KA, Dscalar KP, int NeighIdxNum, Index2D &n_idx, gpubox &Box)
 Compute the contribution to the net force on vertex i from each of i's voronoi vertices. More...
 
bool gpu_sum_force_sets (Dscalar2 *d_forceSets, Dscalar2 *d_forces, int *d_nn, int N, Index2D &n_idx)
 Add up the force contributions to get the net force on each particle. More...
 
bool gpu_sum_force_sets_with_exclusions (Dscalar2 *d_forceSets, Dscalar2 *d_forces, Dscalar2 *d_external_forces, int *d_exes, int *d_nn, int N, Index2D &n_idx)
 Add up the force constributions, but in the condidtion where some exclusions exist. More...
 

Detailed Description

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