20#ifndef _MDCORE_SOURCE_TFPOTENTIAL_CUDA_H_
21#define _MDCORE_SOURCE_TFPOTENTIAL_CUDA_H_
26#include "tfParticle_cuda.h"
117 if(this->nr_pots == 0 && this->nr_dpds)
120 for(
int i = 0; i < this->nr_pots; i++)
121 this->data_pots[i].finalize();
Tissue Forge GPU acceleration on CUDA-supporting devices.
Definition tfAngleConfig.h:26
TissueForge::Potential toCUDADevice(const TissueForge::Potential &p)
Loads a potential onto a CUDA device.
Definition tfDPDPotential.h:36
A Potential object is a compiled interpolation of a given function. The Universe applies potentials t...
Definition tfPotential.h:213
Definition tfPotential_cuda.h:75
uint32_t flags
Definition tfPotential_cuda.h:77
Definition tfPotential_cuda.h:46
float4 alpha
Definition tfPotential_cuda.h:57
int n
Definition tfPotential_cuda.h:60
float3 offset
Definition tfPotential_cuda.h:54
uint32_t flags
Definition tfPotential_cuda.h:48
float * c
Definition tfPotential_cuda.h:63
Definition tfPotential_cuda.h:93