OpenMPCD
|
#include <OpenMPCD/CUDA/Macros.hpp>
#include <OpenMPCD/Vector3D.hpp>
#include <OpenMPCD/CUDA/DeviceCode/ImplementationDetails/NormalMode.hpp>
Go to the source code of this file.
Namespaces | |
OpenMPCD::CUDA | |
Namespace for simulations using CUDA. | |
OpenMPCD::CUDA::DeviceCode | |
Contains CUDA Device code. | |
OpenMPCD::CUDA::DeviceCode::NormalMode | |
Namespace for CUDA Device functionality related to normal modes. | |
Functions | |
template<typename T > | |
const OPENMPCD_CUDA_DEVICE Vector3D< T > | OpenMPCD::CUDA::DeviceCode::NormalMode::computeNormalCoordinate (const unsigned int i, const Vector3D< T > *const vectors, const std::size_t N, const T shift=0) |
Calculates a normal coordinate. More... | |
template<typename T > | |
const OPENMPCD_CUDA_DEVICE Vector3D< T > | OpenMPCD::CUDA::DeviceCode::NormalMode::computeNormalCoordinate (const unsigned int i, const T *const vectors, const std::size_t N, const T shift=0) |
Calculates a normal coordinate. More... | |
template<typename T > | |
OPENMPCD_CUDA_DEVICE void | OpenMPCD::CUDA::DeviceCode::NormalMode::computeNormalCoordinates (const T *const vectors, const std::size_t N, T *const result, const T shift=0) |
Calculates all normal coordinates for the given array of vectors. More... | |
template<typename T > | |
__global__ void | OpenMPCD::CUDA::DeviceCode::NormalMode::computeNormalCoordinates (const unsigned int workUnitOffset, const unsigned int chainLength, const unsigned int chainCount, const T *const positions, T *const normalModeCoordinates, const T shift=0) |
Calculates all normal coordinates for a number of polymer chains stored contiguously in memory. More... | |
Declares functionality in the OpenMPCD::CUDA::DeviceCode::NormalMode
namespace.
Definition in file CUDA/DeviceCode/NormalMode.hpp.