OpenMPCD
Classes | Functions
RemotelyStoredVector.hpp File Reference
#include <OpenMPCD/CUDA/Macros.hpp>
#include <OpenMPCD/Exceptions.hpp>
#include <OpenMPCD/Types.hpp>
#include <OpenMPCD/Vector3D.hpp>
#include <boost/static_assert.hpp>
#include <boost/type_traits/add_const.hpp>
#include <boost/type_traits/remove_const.hpp>
#include <cmath>
Include dependency graph for RemotelyStoredVector.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  OpenMPCD::RemotelyStoredVector< T, D >
 Represents a vector whose data is stored elsewhere. More...
 

Functions

template<typename L , typename R >
const OPENMPCD_CUDA_HOST_AND_DEVICE Vector3D< L > & OpenMPCD::operator+= (Vector3D< L > &lhs, const RemotelyStoredVector< R, 3 > &rhs)
 Addition-and-assignment operator. More...
 

Detailed Description

Defines the OpenMPCD::RemotelyStoredVector class.

Definition in file RemotelyStoredVector.hpp.

Function Documentation

◆ operator+=()

template<typename L , typename R >
const OPENMPCD_CUDA_HOST_AND_DEVICE Vector3D<L>& OpenMPCD::operator+= ( Vector3D< L > &  lhs,
const RemotelyStoredVector< R, 3 > &  rhs 
)

Addition-and-assignment operator.

Template Parameters
LThe numeric type of the left-hand-side.
RThe numeric type of the left-hand-side.
Parameters
[in]lhsThe left-hand-side.
[in]rhsThe right-hand-side.

Definition at line 472 of file RemotelyStoredVector.hpp.