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

Functions

__global__ void avm_force_sets_kernel (int *d_vertexCellNeighbors, Dscalar2 *d_voroCur, Dscalar4 *d_voroLastNext, Dscalar2 *d_AreaPerimeter, Dscalar2 *d_AreaPerimeterPreferences, Dscalar2 *d_vertexForceSets, int nForceSets, Dscalar KA, Dscalar KP)
 
__global__ void avm_sum_force_sets_kernel (Dscalar2 *d_vertexForceSets, Dscalar2 *d_vertexForces, int N)
 
bool gpu_avm_force_sets (int *d_vertexCellNeighbors, Dscalar2 *d_voroCur, Dscalar4 *d_voroLastNext, Dscalar2 *d_AreaPerimeter, Dscalar2 *d_AreaPerimeterPreferences, Dscalar2 *d_vertexForceSets, int nForceSets, Dscalar KA, Dscalar KP)
 Call the kernel to calculate force sets.
 
bool gpu_avm_sum_force_sets (Dscalar2 *d_vertexForceSets, Dscalar2 *d_vertexForces, int Nvertices)
 Call the kernel to sum up the force sets to get net force on each vertex.
 

Detailed Description

Defines kernel callers and kernels for GPU calculations of vertex model parts