ls1-MarDyn
ls1-MarDyn molecular dynamics code
VelocityAssignerBase.h
1#ifndef SRC_UTILS_GENERATOR_VELOCITYASSIGNERBASE_H_
2#define SRC_UTILS_GENERATOR_VELOCITYASSIGNERBASE_H_
3
4#include "molecules/Molecule.h"
5
9public:
10 VelocityAssignerBase(double T = 0) : _T(T) {}
11 virtual ~~VelocityAssignerBase(){}
12 void setTemperature(double T) { _T = T; }
13 double T() { return _T; }
14 virtual void assignVelocity(Molecule *molecule) = 0;
15private:
16 double _T;
17};
18
19#endif // SRC_UTILS_GENERATOR_VELOCITYASSIGNERBASE_H_
FullMolecule modeled as LJ sphere with point polarities.
Definition: FullMolecule.h:18
Definition: VelocityAssignerBase.h:8