OpenMPCD
Instrumentation/Simple.hpp
Go to the documentation of this file.
1 /**
2  * @file
3  * Defines the OpenMPCD::CUDA::MPCFluid::Instrumentation::Simple class.
4  */
5 
6 #ifndef OPENMPCD_CUDA_MPCFLUID_INSTRUMENTATION_SIMPLE_HPP
7 #define OPENMPCD_CUDA_MPCFLUID_INSTRUMENTATION_SIMPLE_HPP
8 
12 
13 #include <complex>
14 #include <deque>
15 #include <vector>
16 
17 namespace OpenMPCD
18 {
19 namespace CUDA
20 {
21 namespace MPCFluid
22 {
23 namespace Instrumentation
24 {
25 /**
26  * Instrumentation for simple MPC fluids consisting of independent particles.
27  */
28 class Simple : 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  Simple(
38  const Simulation* const sim, DeviceMemoryManager* const devMemMgr,
39  const MPCFluid::Simple* const mpcFluid_);
40 
41  /**
42  * The destructor.
43  */
44  virtual ~Simple();
45 
46  protected:
47  virtual void measureSpecific();
48 
49  virtual void saveSpecific(const std::string& rundir) const;
50 }; //class Simple
51 } //namespace Instrumentation
52 } //namespace MPCFluid
53 } //namespace CUDA
54 } //namespace OpenMPCD
55 
56 #endif
OpenMPCD::CUDA::MPCFluid::Instrumentation::Simple::Simple
Simple(const Simulation *const sim, DeviceMemoryManager *const devMemMgr, const MPCFluid::Simple *const mpcFluid_)
The constructor.
OpenMPCD::CUDA::DeviceMemoryManager
Class for managing memory on the CUDA Device.
Definition: DeviceMemoryManager.hpp:21
OpenMPCD::CUDA::MPCFluid::Instrumentation::Simple::measureSpecific
virtual void measureSpecific()
Performs measurements specific to the fluid type.
OpenMPCD::CUDA::MPCFluid::Instrumentation::Simple
Instrumentation for simple MPC fluids consisting of independent particles.
Definition: Instrumentation/Simple.hpp:28
OpenMPCD::CUDA::MPCFluid::Instrumentation::Simple::~Simple
virtual ~Simple()
The destructor.
OpenMPCD::CUDA::MPCFluid::Instrumentation::Simple::saveSpecific
virtual void saveSpecific(const std::string &rundir) const
Saves measurements specific to the fluid type.
OpenMPCD::CUDA::Simulation
MPCD simulation with Molecular Dynamics on CUDA-capable GPUs.
Definition: CUDA/Simulation.hpp:48
Simulation.hpp
OpenMPCD::CUDA::MPCFluid::Instrumentation::Base
Base class for MPC fluids instrumentation.
Definition: CUDA/MPCFluid/Instrumentation/Base.hpp:34
OpenMPCD::CUDA::MPCFluid::Simple
Fluid consisting of independent particles.
Definition: Simple.hpp:20
Base.hpp
Simple.hpp