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

Functions

bool gpu_shift_momentum (Dscalar2 *velocities, Dscalar *masses, Dscalar2 pShift, int N)
 shift the velocities to get the target linear momentum More...
 

Detailed Description

This file provides an interface to cuda calls for setting the total linear momentum of the system