OpenMPCD
include
OpenMPCD
CUDA
MPCFluid
Instrumentation
FourierTransformedVelocity
Instrumentation/FourierTransformedVelocity/Triplets.hpp
Go to the documentation of this file.
1
/**
2
* @file
3
* Defines the OpenMPCD::CUDA::MPCFluid::Instrumentation::FourierTransformedVelocity::Triplets class.
4
*/
5
6
#ifndef OPENMPCD_CUDA_MPCFLUID_INSTRUMENTATION_FOURIERTRANSFORMEDVELOCITY_TRIPLETS_HPP
7
#define OPENMPCD_CUDA_MPCFLUID_INSTRUMENTATION_FOURIERTRANSFORMEDVELOCITY_TRIPLETS_HPP
8
9
#include <
OpenMPCD/CUDA/MPCFluid/Instrumentation/FourierTransformedVelocity/Base.hpp
>
10
#include <
OpenMPCD/CUDA/MPCFluid/Simple.hpp
>
11
12
namespace
OpenMPCD
13
{
14
namespace
CUDA
15
{
16
namespace
MPCFluid
17
{
18
namespace
Instrumentation
19
{
20
namespace
FourierTransformedVelocity
21
{
22
/**
23
* Class for measurements of Fourier-transformed velocities in MPC fluids that consist of triplets of particles.
24
*
25
* The particles that belong to one triplet are assumed to be adjacent to each other in memory.
26
* E.g. triplet 0 consists of particles 0 and 1 and 2, triplet 1 of particles 3 and 4 and 5, etc.
27
*/
28
class
Triplets
:
public
Base
29
{
30
public
:
31
/**
32
* The constructor.
33
* @param[in] sim The simulation instance.
34
* @param[in] devMemMgr The Device memory manager.
35
* @param[in] mpcFluid_ The MPC fluid to measure.
36
*/
37
Triplets
(
const
Simulation
*
const
sim,
DeviceMemoryManager
* devMemMgr,
const
MPCFluid::Base
*
const
mpcFluid_);
38
39
private
:
40
Triplets
(
const
Simple
&);
///< The copy constructor.
41
42
public
:
43
/**
44
* The destructor.
45
*/
46
virtual
~Triplets
()
47
{
48
}
49
50
public
:
51
/**
52
* Performs measurements.
53
*/
54
virtual
void
measure
();
55
};
//class Triplets
56
}
//namespace FourierTransformedVelocity
57
}
//namespace Instrumentation
58
}
//namespace MPCFluid
59
}
//namespace CUDA
60
}
//namespace OpenMPCD
61
62
#endif
Base.hpp
OpenMPCD::CUDA::MPCFluid::Base
Base class for MPC fluids.
Definition:
CUDA/MPCFluid/Base.hpp:40
OpenMPCD::CUDA::MPCFluid::Instrumentation::FourierTransformedVelocity::Triplets::~Triplets
virtual ~Triplets()
The destructor.
Definition:
Instrumentation/FourierTransformedVelocity/Triplets.hpp:46
OpenMPCD::CUDA::MPCFluid::Instrumentation::FourierTransformedVelocity::Triplets::measure
virtual void measure()
Performs measurements.
OpenMPCD::CUDA::DeviceMemoryManager
Class for managing memory on the CUDA Device.
Definition:
DeviceMemoryManager.hpp:21
OpenMPCD::CUDA::MPCFluid::Instrumentation::FourierTransformedVelocity::Triplets
Class for measurements of Fourier-transformed velocities in MPC fluids that consist of triplets of pa...
Definition:
Instrumentation/FourierTransformedVelocity/Triplets.hpp:28
OpenMPCD::CUDA::Simulation
MPCD simulation with Molecular Dynamics on CUDA-capable GPUs.
Definition:
CUDA/Simulation.hpp:48
OpenMPCD::CUDA::MPCFluid::Instrumentation::FourierTransformedVelocity::Base
Base class for measurements of Fourier-transformed velocities in MPC fluids.
Definition:
CUDA/MPCFluid/Instrumentation/FourierTransformedVelocity/Base.hpp:40
OpenMPCD::CUDA::MPCFluid::Instrumentation::FourierTransformedVelocity::Triplets::Triplets
Triplets(const Simulation *const sim, DeviceMemoryManager *devMemMgr, const MPCFluid::Base *const mpcFluid_)
The constructor.
OpenMPCD::CUDA::MPCFluid::Instrumentation::FourierTransformedVelocity::Simple
Class for measurements of Fourier-transformed velocities in simple MPC fluids.
Definition:
Instrumentation/FourierTransformedVelocity/Simple.hpp:25
Simple.hpp
Generated by
1.8.17