#include <lj_forcefield.h>
|
| | LJ (const std::string &output_dir, std::ofstream &running_log) |
| void | initialize (BaseCell &cell, const Input_para &inp) override |
| void | compute (BaseCell &cell, double &energy, ModuleBase::matrix &force, ModuleBase::matrix &stress) override |
| double | get_search_radius () const |
| | neighbour search radius derived from the largest cutoff
|
| const ModuleBase::matrix & | get_lj_rcut () const |
| | per-type-pair cutoff radii
|
| const ModuleBase::matrix & | get_lj_c6 () const |
| | per-type-pair c6 coefficients
|
| const ModuleBase::matrix & | get_lj_c12 () const |
| | per-type-pair c12 coefficients
|
| const ModuleBase::matrix & | get_en_shift () const |
| | per-type-pair energy shift at the cutoff
|
| void | rcut_search_radius_for_testing (const int &ntype, const std::vector< double > &rcut) |
| void | set_c6_c12_for_testing (const int &ntype, const int &rule, const std::vector< double > &epsilon, const std::vector< double > &sigma) |
| void | cal_en_shift_for_testing (const int &ntype, const bool &is_shift) |
| virtual | ~ForceField () |
◆ LJ()
| ModuleMD::LJ::LJ |
( |
const std::string & | output_dir, |
|
|
std::ofstream & | running_log ) |
◆ cal_en_shift()
| void ModuleMD::LJ::cal_en_shift |
( |
const int & | ntype, |
|
|
const bool & | is_shift ) |
|
private |
◆ cal_en_shift_for_testing()
| void ModuleMD::LJ::cal_en_shift_for_testing |
( |
const int & | ntype, |
|
|
const bool & | is_shift ) |
|
inline |
◆ compute()
◆ get_en_shift()
per-type-pair energy shift at the cutoff
◆ get_lj_c12()
per-type-pair c12 coefficients
◆ get_lj_c6()
per-type-pair c6 coefficients
◆ get_lj_rcut()
per-type-pair cutoff radii
◆ get_search_radius()
| double ModuleMD::LJ::get_search_radius |
( |
| ) |
const |
|
inline |
neighbour search radius derived from the largest cutoff
◆ initialize()
◆ LJ_energy()
| double ModuleMD::LJ::LJ_energy |
( |
const double & | d, |
|
|
const int & | i, |
|
|
const int & | j ) const |
|
private |
◆ LJ_force()
◆ rcut_search_radius()
| void ModuleMD::LJ::rcut_search_radius |
( |
const int & | ntype, |
|
|
const std::vector< double > & | rcut ) |
|
private |
◆ rcut_search_radius_for_testing()
| void ModuleMD::LJ::rcut_search_radius_for_testing |
( |
const int & | ntype, |
|
|
const std::vector< double > & | rcut ) |
|
inline |
◆ set_c6_c12()
| void ModuleMD::LJ::set_c6_c12 |
( |
const int & | ntype, |
|
|
const int & | rule, |
|
|
const std::vector< double > & | epsilon, |
|
|
const std::vector< double > & | sigma ) |
|
private |
◆ set_c6_c12_for_testing()
| void ModuleMD::LJ::set_c6_c12_for_testing |
( |
const int & | ntype, |
|
|
const int & | rule, |
|
|
const std::vector< double > & | epsilon, |
|
|
const std::vector< double > & | sigma ) |
|
inline |
◆ en_shift
◆ lj_c12
◆ lj_c6
◆ lj_rcut
◆ output_dir_
| std::string ModuleMD::LJ::output_dir_ |
|
private |
◆ running_log_
| std::ofstream& ModuleMD::LJ::running_log_ |
|
private |
◆ search_radius
| double ModuleMD::LJ::search_radius = -1.0 |
|
private |
The documentation for this class was generated from the following files:
- /home/runner/work/abacus-develop/abacus-develop/source/source_md/module_lj/lj_forcefield.h
- /home/runner/work/abacus-develop/abacus-develop/source/source_md/module_lj/lj_forcefield.cpp