OpenMPCD
Namespaces | Functions
CUDA/DeviceCode/ImplementationDetails/NormalMode.hpp File Reference
#include <OpenMPCD/Utility/MathematicalFunctions.hpp>
#include <OpenMPCD/OPENMPCD_DEBUG_ASSERT.hpp>
#include <OpenMPCD/RemotelyStoredVector.hpp>
#include <boost/static_assert.hpp>
#include <boost/type_traits/is_floating_point.hpp>
Include dependency graph for CUDA/DeviceCode/ImplementationDetails/NormalMode.hpp:
This graph shows which files directly or indirectly include this file:

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...
 

Detailed Description

Implements functionality in the OpenMPCD::CUDA::DeviceCode::NormalMode namespace.

Definition in file CUDA/DeviceCode/ImplementationDetails/NormalMode.hpp.