OpenMPCD
Instrumentation/FourierTransformedVelocity/Doublets.hpp
Go to the documentation of this file.
1 /**
2  * @file
3  * Defines the OpenMPCD::CUDA::MPCFluid::Instrumentation::FourierTransformedVelocity::Doublets class.
4  */
5 
6 #ifndef OPENMPCD_CUDA_MPCFLUID_INSTRUMENTATION_FOURIERTRANSFORMEDVELOCITY_DOUBLETS_HPP
7 #define OPENMPCD_CUDA_MPCFLUID_INSTRUMENTATION_FOURIERTRANSFORMEDVELOCITY_DOUBLETS_HPP
8 
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 doublets of particles.
24  *
25  * The particles that belong to one doublet are assumed to be adjacent to each other in memory.
26  * E.g. doublet 0 consists of particles 0 and 1, doublet 1 of particles 2 and 3, etc.
27  */
28 class Doublets : 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  Doublets(const Simulation* const sim, DeviceMemoryManager* devMemMgr, const MPCFluid::Base* const mpcFluid_);
38 
39  private:
40  Doublets(const Simple&); ///< The copy constructor.
41 
42  public:
43  /**
44  * The destructor.
45  */
46  virtual ~Doublets()
47  {
48  }
49 
50  public:
51  /**
52  * Performs measurements.
53  */
54  virtual void measure();
55 }; //class Doublets
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::DeviceMemoryManager
Class for managing memory on the CUDA Device.
Definition: DeviceMemoryManager.hpp:21
OpenMPCD::CUDA::Simulation
MPCD simulation with Molecular Dynamics on CUDA-capable GPUs.
Definition: CUDA/Simulation.hpp:48
OpenMPCD::CUDA::MPCFluid::Instrumentation::FourierTransformedVelocity::Doublets
Class for measurements of Fourier-transformed velocities in MPC fluids that consist of doublets of pa...
Definition: Instrumentation/FourierTransformedVelocity/Doublets.hpp:28
OpenMPCD::CUDA::MPCFluid::Instrumentation::FourierTransformedVelocity::Doublets::measure
virtual void measure()
Performs measurements.
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::Simple
Class for measurements of Fourier-transformed velocities in simple MPC fluids.
Definition: Instrumentation/FourierTransformedVelocity/Simple.hpp:25
OpenMPCD::CUDA::MPCFluid::Instrumentation::FourierTransformedVelocity::Doublets::Doublets
Doublets(const Simulation *const sim, DeviceMemoryManager *devMemMgr, const MPCFluid::Base *const mpcFluid_)
The constructor.
OpenMPCD::CUDA::MPCFluid::Instrumentation::FourierTransformedVelocity::Doublets::~Doublets
virtual ~Doublets()
The destructor.
Definition: Instrumentation/FourierTransformedVelocity/Doublets.hpp:46
Simple.hpp