ABACUS develop
Atomic-orbital Based Ab-initio Computation at UStc
|
input parameters used in md More...
#include <md_parameter.h>
Public Attributes | |
int | md_nstep = 10 |
md nstep | |
bool | md_restart = false |
1: restart MD, 0: no restart MD | |
std::string | md_type = "nvt" |
fire, nve, nvt, npt, langevin, msst | |
std::string | md_thermostat = "nhc" |
double | md_dt = 1.0 |
Time increment (hbar/E_hartree) | |
double | md_tfirst = -1.0 |
Temperature (in Hartree, 1 Hartree ~ 3E5 K) | |
double | md_tlast = -1.0 |
Target temperature. | |
int | md_dumpfreq = 1 |
The period to dump MD information. | |
int | md_restartfreq = 5 |
The period to output MD restart information. | |
int | md_seed = -1 |
random seed for MD | |
int | md_prec_level = 0 |
precision level for vc-md | |
int | lj_rule = 2 |
combination rules used to construct the parameter matrix for LJ potential | |
bool | lj_eshift = false |
whether to use energy shift for LJ potential | |
std::vector< double > | lj_rcut = {} |
cutoff radius of LJ potential (\AA) | |
std::vector< double > | lj_epsilon = {} |
the value of epsilon for LJ potential (eV) | |
std::vector< double > | lj_sigma = {} |
the value of sigma for LJ potential (\AA) | |
std::string | pot_file = "graph.pb" |
the filename of potential files for CMD such as DP | |
double | dp_rescaling = 1.0 |
rescaling factor for DP model. Energy, force and stress will be multiplied by this factor. | |
std::vector< double > | dp_fparam = {} |
std::vector< double > | dp_aparam = {} |
int | msst_direction = 2 |
shock direction: 0, 1, 2 | |
double | msst_vel = 0.0 |
shock msst_vel (\AA/fs) | |
double | msst_qmass = 1.0 |
cell mass-like parameter (mass^2/length^4) | |
double | msst_vis = 0.0 |
artificial msst_vis (mass/length/time) | |
double | msst_tscale = 0.01 |
reduction in initial temperature (0~1) | |
std::string | md_pmode = "iso" |
NPT ensemble mode: iso, aniso, tri. | |
std::string | md_pcouple = "none" |
double | md_tfreq = 0.0 |
double | md_pfirst = -1.0 |
Initial pressure. | |
double | md_plast = -1.0 |
Final pressure. | |
double | md_pfreq = 0.0 |
int | md_tchain = 1 |
num of thermostats coupled with particles | |
int | md_pchain = 1 |
num of thermostats coupled with barostat | |
double | md_damp = 1.0 |
Langevin damping parameter (time units) | |
double | md_tolerance = 100.0 |
tolerance for velocity rescaling (K) | |
int | md_nraise = 1 |
parameters used when md_type=nvt | |
bool | dump_force = true |
bool | dump_vel = true |
bool | dump_virial = true |
input parameters used in md
std::vector<double> MD_para::dp_aparam = {} |
The atomic parameter for dp potential. The array can be of size : natoms x dim_aparam. Then all frames are assumed to be provided with the same aparam. dim_aparam. Then all frames and atoms are assumed to be provided with the same aparam.
std::vector<double> MD_para::dp_fparam = {} |
The frame parameter for dp potential. The array can be of size : dim_fparam. Then all frames are assumed to be provided with the same fparam.
double MD_para::dp_rescaling = 1.0 |
rescaling factor for DP model. Energy, force and stress will be multiplied by this factor.
bool MD_para::dump_force = true |
output atomic forces into the file MD_dump or not. liuyu 2023-03-01
bool MD_para::dump_vel = true |
output atomic velocities into the file MD_dump or not. liuyu 2023-03-01
bool MD_para::dump_virial = true |
output lattice virial into the file MD_dump or not. liuyu 2023-03-01
std::vector<double> MD_para::lj_epsilon = {} |
the value of epsilon for LJ potential (eV)
bool MD_para::lj_eshift = false |
whether to use energy shift for LJ potential
std::vector<double> MD_para::lj_rcut = {} |
cutoff radius of LJ potential (\AA)
int MD_para::lj_rule = 2 |
combination rules used to construct the parameter matrix for LJ potential
std::vector<double> MD_para::lj_sigma = {} |
the value of sigma for LJ potential (\AA)
double MD_para::md_damp = 1.0 |
Langevin damping parameter (time units)
double MD_para::md_dt = 1.0 |
Time increment (hbar/E_hartree)
int MD_para::md_dumpfreq = 1 |
The period to dump MD information.
int MD_para::md_nraise = 1 |
parameters used when md_type=nvt
int MD_para::md_nstep = 10 |
md nstep
int MD_para::md_pchain = 1 |
num of thermostats coupled with barostat
std::string MD_para::md_pcouple = "none" |
whether couple different components: xyz, xy, yz, xz, none
double MD_para::md_pfirst = -1.0 |
Initial pressure.
double MD_para::md_pfreq = 0.0 |
Oscillation frequency, used to determine qmass of thermostats coupled with barostat
double MD_para::md_plast = -1.0 |
Final pressure.
std::string MD_para::md_pmode = "iso" |
NPT ensemble mode: iso, aniso, tri.
int MD_para::md_prec_level = 0 |
precision level for vc-md
bool MD_para::md_restart = false |
1: restart MD, 0: no restart MD
int MD_para::md_restartfreq = 5 |
The period to output MD restart information.
int MD_para::md_seed = -1 |
random seed for MD
int MD_para::md_tchain = 1 |
num of thermostats coupled with particles
double MD_para::md_tfirst = -1.0 |
Temperature (in Hartree, 1 Hartree ~ 3E5 K)
double MD_para::md_tfreq = 0.0 |
Oscillation frequency, used to determine qmass of thermostats coupled with particles
std::string MD_para::md_thermostat = "nhc" |
specify the thermostat: nhc, anderson, berendsen, rescaling, rescale_v
double MD_para::md_tlast = -1.0 |
Target temperature.
double MD_para::md_tolerance = 100.0 |
tolerance for velocity rescaling (K)
std::string MD_para::md_type = "nvt" |
fire, nve, nvt, npt, langevin, msst
int MD_para::msst_direction = 2 |
shock direction: 0, 1, 2
double MD_para::msst_qmass = 1.0 |
cell mass-like parameter (mass^2/length^4)
double MD_para::msst_tscale = 0.01 |
reduction in initial temperature (0~1)
double MD_para::msst_vel = 0.0 |
shock msst_vel (\AA/fs)
double MD_para::msst_vis = 0.0 |
artificial msst_vis (mass/length/time)
std::string MD_para::pot_file = "graph.pb" |
the filename of potential files for CMD such as DP