ls1-MarDyn
ls1-MarDyn molecular dynamics code
src
utils
generator
VelocityAssignerBase.h
1
#ifndef SRC_UTILS_GENERATOR_VELOCITYASSIGNERBASE_H_
2
#define SRC_UTILS_GENERATOR_VELOCITYASSIGNERBASE_H_
3
4
#include "molecules/Molecule.h"
5
8
class
VelocityAssignerBase
{
9
public
:
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;
15
private
:
16
double
_T;
17
};
18
19
#endif
// SRC_UTILS_GENERATOR_VELOCITYASSIGNERBASE_H_
FullMolecule
FullMolecule modeled as LJ sphere with point polarities.
Definition:
FullMolecule.h:18
VelocityAssignerBase
Definition:
VelocityAssignerBase.h:8
Generated on Thu Oct 21 2021 02:54:37 for ls1-MarDyn by
1.9.2