Multi Resolution Molecular Dynamics 0.4.0
Multi Resolution Molecular Dynamics
Loading...
Searching...
No Matches
Atoms.hpp File Reference
#include <Cabana_Core.hpp>
#include "cmake.hpp"
#include "constants.hpp"
#include "datatypes.hpp"

Go to the source code of this file.

Classes

class  mrmd::data::impl::GeneralAtoms< DEVICE_TYPE, DEVICE >
 Data structure for storing information about atoms on the host and the device. More...

Namespaces

namespace  mrmd
 Top-level namespace of MRMD.
namespace  mrmd::data
 All fundamental data containers used in MRMD.
namespace  mrmd::data::impl
 Implementation of the particle containers, parameterized over the memory space.

Typedefs

using mrmd::data::HostAtoms = impl::GeneralAtoms<HostType, false>
 atoms with memory allocated on host
using mrmd::data::DeviceAtoms = impl::GeneralAtoms<DeviceType, true>
 atoms with memory allocated on device
using mrmd::data::Atoms = DeviceAtoms

Functions

template<class DEVICE_TYPE_A, bool DEVICE_A, class DEVICE_TYPE_B, bool DEVICE_B>
void mrmd::data::deep_copy (impl::GeneralAtoms< DEVICE_TYPE_A, DEVICE_A > &dst, const impl::GeneralAtoms< DEVICE_TYPE_B, DEVICE_B > &src)