@@ -71,33 +71,33 @@ class Nose_Hoover : public MD_base
7171 const static int nys = 7 ; // /< the number of scale evolution operator
7272 double w[nys]; // /< scale evolution operator
7373
74- int tdof; // /< particle degree of freedom
75- double t_target; // /< target temperature
76- double * mass_eta; // /< mass of thermostats coupled with particles
77- double * eta; // /< position of thermostats coupled with particles
78- double * v_eta; // /< velocity of thermostats coupled with particles
79- double * g_eta; // /< acceleration of thermostats coupled with particles
74+ int tdof; // /< particle degree of freedom
75+ double t_target= 0.0 ; // /< target temperature
76+ double * mass_eta; // /< mass of thermostats coupled with particles
77+ double * eta; // /< position of thermostats coupled with particles
78+ double * v_eta; // /< velocity of thermostats coupled with particles
79+ double * g_eta; // /< acceleration of thermostats coupled with particles
8080
81- int npt_flag; // /< whether NPT ensemble
82- double mass_omega[6 ]; // /< mass of lattice component
83- double v_omega[6 ]; // /< velocity of lattice component
84- double pstart[6 ]; // /< initial stress components
85- double pstop[6 ]; // /< final stress components
86- double pfreq[6 ]; // /< Oscillation frequency, used to determine qmass of thermostats coupled with barostat
87- int pflag[6 ]; // /< control stress components
88- int pdim; // /< pdim = pflag[0] + pflag[1] + pflag[2], number of barostatted dims
89- double p_target[6 ]; // /< target stress components
90- double p_hydro; // /< target hydrostatic target pressure
91- double p_current[6 ]; // /< current stress after coupled
92- double * mass_peta; // /< mass of thermostats coupled with barostat
93- double * peta; // /< position of thermostats coupled with barostat
94- double * v_peta; // /< velocity of thermostats coupled with barostat
95- double * g_peta; // /< acceleration of thermostats coupled with barostat
96- double mtk_term; // /< mtk correction
97- double md_tfreq; // /< Oscillation frequency, used to determine qmass of thermostats coupled with particles
98- double md_pfirst; // /< Initial pressure
99- double md_plast; // /< Final pressure
100- double md_pfreq; // /< Oscillation frequency, used to determine qmass of thermostats coupled with barostat
81+ int npt_flag; // /< whether NPT ensemble
82+ double mass_omega[6 ]; // /< mass of lattice component
83+ double v_omega[6 ]; // /< velocity of lattice component
84+ double pstart[6 ]; // /< initial stress components
85+ double pstop[6 ]; // /< final stress components
86+ double pfreq[6 ]; // /< Oscillation frequency, used to determine qmass of thermostats coupled with barostat
87+ int pflag[6 ]; // /< control stress components
88+ int pdim; // /< pdim = pflag[0] + pflag[1] + pflag[2], number of barostatted dims
89+ double p_target[6 ]; // /< target stress components
90+ double p_hydro = 0.0 ; // /< target hydrostatic target pressure
91+ double p_current[6 ] = { 0.0 }; // /< current stress after coupled
92+ double * mass_peta; // /< mass of thermostats coupled with barostat
93+ double * peta; // /< position of thermostats coupled with barostat
94+ double * v_peta; // /< velocity of thermostats coupled with barostat
95+ double * g_peta; // /< acceleration of thermostats coupled with barostat
96+ double mtk_term= 0 ; // /< mtk correction
97+ double md_tfreq; // /< Oscillation frequency, used to determine qmass of thermostats coupled with particles
98+ double md_pfirst; // /< Initial pressure
99+ double md_plast; // /< Final pressure
100+ double md_pfreq; // /< Oscillation frequency, used to determine qmass of thermostats coupled with barostat
101101};
102102
103103#endif
0 commit comments