Changeset 7c2f6b for molecuilder/src/atom.hpp
- Timestamp:
- Oct 12, 2009, 10:30:02 AM (16 years ago)
- Children:
- ff9879
- Parents:
- 104cf4
- File:
-
- 1 edited
-
molecuilder/src/atom.hpp (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
molecuilder/src/atom.hpp
r104cf4 r7c2f6b 21 21 #include <vector> 22 22 23 #include <gsl/gsl_randist.h> 24 23 25 #include "tesselation.hpp" 24 26 … … 26 28 27 29 class bond; 30 class config; 28 31 class element; 29 32 class ForceMatrix; … … 80 83 bool Compare(const atom &ptr); 81 84 85 // trajectory stuff 86 void ResizeTrajectory(int MaxSteps); 87 void CopyStepOnStep(int dest, int src); 88 void VelocityVerletUpdate(int MDSteps, config *configuration, ForceMatrix *Force); 89 void SumUpKineticEnergy( int Step, double *TotalMass, Vector *TotalVelocity ); 90 82 91 double DistanceToVector(Vector &origin); 83 92 double DistanceSquaredToVector(Vector &origin); 84 93 94 bool IsInParallelepiped(Vector offset, double *parallelepiped); 95 96 // constraint potential and dynamics stuff 85 97 void AddKineticToTemperature(double *temperature, int step) const; 86 98 void EvaluateConstrainedForce(int startstep, int endstep, atom **PermutationMap, ForceMatrix *Force); 99 void CorrectVelocity(double *ActualTemp, int Step, Vector *CoGVelocity); 87 100 88 bool IsInParallelepiped(Vector offset, double *parallelepiped); 101 // thermostats 102 void Thermostat_Woodcock(double ScaleTempFactor, int Step, double *ekin); 103 void Thermostat_Gaussian_init(int Step, double *G, double *E); 104 void Thermostat_Gaussian_least_constraint(int Step, double G_over_E, double *ekin, config *configuration); 105 void Thermostat_Langevin(int Step, gsl_rng * r, double *ekin, config *configuration); 106 void Thermostat_Berendsen(int Step, double ScaleTempFactor, double *ekin, config *configuration); 107 void Thermostat_NoseHoover_init(int Step, double *delta_alpha); 108 void Thermostat_NoseHoover_scale(int Step, double *ekin, config *configuration); 109 89 110 90 111 ostream & operator << (ostream &ost);
Note:
See TracChangeset
for help on using the changeset viewer.
