Line data Source code
1 : // Copyright (C) 2015 Technische Universitaet Muenchen
2 : // This file is part of the Mamico project. For conditions of distribution
3 : // and use, please see the copyright notice in Mamico's main folder, or at
4 : // www5.in.tum.de/mamico
5 : #ifndef _MOLECULARDYNAMICS_MOLECULARPROPERTIES_H_
6 : #define _MOLECULARDYNAMICS_MOLECULARPROPERTIES_H_
7 :
8 : namespace simplemd {
9 : class MolecularProperties;
10 : }
11 :
12 : /** describes the properties of a Lennard-Jones fluid.
13 : * @author Philipp Neumann
14 : */
15 : class simplemd::MolecularProperties {
16 :
17 : public:
18 : MolecularProperties(const double& mass, const double& epsilon, const double& sigma, const double& cutoffRadius, const double& kB)
19 : : _mass(mass), _epsilon(epsilon), _sigma(sigma), _cutoffRadius(cutoffRadius), _kB(kB) {}
20 8 : ~MolecularProperties() {}
21 :
22 : const double& getMass() const { return _mass; }
23 12 : const double& getEpsilon() const { return _epsilon; }
24 12 : const double& getSigma() const { return _sigma; }
25 12 : const double& getCutOffRadius() const { return _cutoffRadius; }
26 : const double& getKB() const { return _kB; }
27 :
28 : private:
29 : /** mass of a fluid molecule */
30 : double _mass;
31 :
32 : /** epsilon parameter of the LJ-description */
33 : double _epsilon;
34 :
35 : /** sigma parameter of the LJ-description */
36 : double _sigma;
37 :
38 : /** cutoff radius */
39 : double _cutoffRadius;
40 :
41 : /** Boltzmann's constant */
42 : double _kB;
43 : };
44 :
45 : #endif
|