| 5 |
|
#include "Thermo.hpp" |
| 6 |
|
#include "ExtendedSystem.hpp" |
| 7 |
|
|
| 8 |
< |
ExtendedSystem::ExtendedSystem( SimInfo &info ) { |
| 8 |
> |
ExtendedSystem::ExtendedSystem( SimInfo* the_entry_plug ) { |
| 9 |
|
|
| 10 |
|
// get what information we need from the SimInfo object |
| 11 |
|
|
| 12 |
< |
entry_plug = &info; |
| 12 |
> |
entry_plug = the_entry_plug; |
| 13 |
|
nAtoms = entry_plug->n_atoms; |
| 14 |
|
atoms = entry_plug->atoms; |
| 15 |
|
nMols = entry_plug->n_mol; |
| 33 |
|
// amu*Ang^2*fs^-2/K |
| 34 |
|
DirectionalAtom* dAtom; |
| 35 |
|
|
| 36 |
– |
|
| 36 |
|
ke_temp = ke * e_convert; |
| 37 |
|
NkBT = (double)ndf * kB * targetTemp; |
| 38 |
|
|