OpenMPCD
Namespaces | Functions
CUDA/MPCFluid/DeviceCode/Base.hpp File Reference
#include <OpenMPCD/Types.hpp>
Include dependency graph for CUDA/MPCFluid/DeviceCode/Base.hpp:

Go to the source code of this file.

Namespaces

 OpenMPCD::CUDA
 Namespace for simulations using CUDA.
 
 OpenMPCD::CUDA::MPCFluid
 Namespace for MPC Fluid classes.
 
 OpenMPCD::CUDA::MPCFluid::DeviceCode
 Contains CUDA Device code.
 

Functions

void OpenMPCD::CUDA::MPCFluid::DeviceCode::setMPCParticleCountSymbol (const unsigned int count)
 Sets the symbol mpcParticleCount. More...
 
__global__ void OpenMPCD::CUDA::MPCFluid::DeviceCode::computeLogicalEntityCentersOfMass (const unsigned int workUnitOffset, const MPCParticlePositionType *const positions, const unsigned int numberOfLogicalEntities, const unsigned int particlesPerLogicalEntity, MPCParticlePositionType *const output)
 Computes the center of mass of logical entities, where each logical entity has a common number of constituent particles, each having the same mass. More...
 

Detailed Description

Defines CUDA Device code for OpenMPCD::CUDA::MPCFluid::Base

Definition in file CUDA/MPCFluid/DeviceCode/Base.hpp.