CellGPU
0.8.0
GPU-accelerated simulations of cells
|
#include <cuda_runtime.h>
#include "curand_kernel.h"
#include "cellListGPU.cuh"
#include "voronoiQuadraticEnergy.cuh"
#include "indexer.h"
#include "gpubox.h"
#include "functions.h"
#include <iostream>
#include <stdio.h>
#include "Matrix.h"
Functions | |
__global__ void | gpu_sum_forces_kernel (const Dscalar2 *__restrict__ d_forceSets, Dscalar2 *__restrict__ d_forces, const int *__restrict__ d_nn, int N, Index2D n_idx) |
__global__ void | gpu_sum_forces_with_exclusions_kernel (const Dscalar2 *__restrict__ d_forceSets, Dscalar2 *__restrict__ d_forces, Dscalar2 *__restrict__ d_external_forces, const int *__restrict__ d_exes, const int *__restrict__ d_nn, int N, Index2D n_idx) |
__global__ void | gpu_force_sets_kernel (const Dscalar2 *__restrict__ d_points, const Dscalar2 *__restrict__ d_AP, const Dscalar2 *__restrict__ d_APpref, const int2 *__restrict__ d_delSets, const int *__restrict__ d_delOther, const Dscalar2 *__restrict__ d_vc, const Dscalar4 *__restrict__ d_vln, Dscalar2 *__restrict__ d_forceSets, const int2 *__restrict__ d_nidx, Dscalar KA, Dscalar KP, int computations, Index2D n_idx, gpubox Box) |
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... | |