|
n2p2 - A neural network potential package
|
#include <pair_hdnnp_4g.h>


Public Member Functions | |
| PairHDNNP4G (class LAMMPS *) | |
| virtual | ~PairHDNNP4G () |
| virtual void | compute (int, int) |
| virtual void | settings (int, char **) |
| virtual void | coeff (int, char **) |
| virtual void | init_style () |
| virtual double | init_one (int, int) |
| void | init_list (int, class NeighList *) |
| virtual void | write_restart (FILE *) |
| virtual void | read_restart (FILE *) |
| virtual void | write_restart_settings (FILE *) |
| virtual void | read_restart_settings (FILE *) |
Protected Member Functions | |
| virtual void | allocate () |
| void | transferNeighborList () |
| void | isPeriodic () |
| void | transferCharges () |
| void | handleExtrapolationWarnings () |
| void | deallocateQEq () |
| double | forceLambda_f (const gsl_vector *) |
| void | forceLambda_df (const gsl_vector *, gsl_vector *) |
| void | forceLambda_fdf (const gsl_vector *, double *, gsl_vector *) |
| void | calculateForceLambda () |
| void | calculateElecDerivatives (double *, double **) |
| void | calculateElecForce (double **) |
| void | calculate_kspace_terms () |
| double | screening_f (double) |
| double | screening_df (double) |
Static Protected Member Functions | |
| static double | forceLambda_f_wrap (const gsl_vector *, void *) |
| static void | forceLambda_df_wrap (const gsl_vector *, void *, gsl_vector *) |
| static void | forceLambda_fdf_wrap (const gsl_vector *, void *, double *, gsl_vector *) |
Protected Attributes | |
| class KSpaceHDNNP * | kspacehdnnp |
| int | me |
| int | nprocs |
| bool | periodic |
| bool | showew |
| bool | resetew |
| int | showewsum |
| int | maxew |
| long | numExtrapolationWarningsTotal |
| long | numExtrapolationWarningsSummary |
| double | cflength |
| double | cfenergy |
| double | maxCutoffRadius |
| char * | directory |
| char * | emap |
| class NeighList * | list |
| nnp::InterfaceLammps | interface |
| double * | chi |
| double * | hardness |
| double * | sigmaSqrtPi |
| double ** | gammaSqrt2 |
| double * | dEdQ |
| double * | forceLambda |
| double | grad_tol |
| double | min_tol |
| double | step |
| int | maxit |
| int | minim_init_style |
| const gsl_multimin_fdfminimizer_type * | T |
| gsl_multimin_fdfminimizer * | s |
| gsl_multimin_function_fdf | forceLambda_minimizer |
| double | E_elec |
| double | kcoeff_sum |
| int | nmax |
| int * | type_all |
| int * | type_loc |
| double * | dEdLambda_loc |
| double * | dEdLambda_all |
| double * | qall_loc |
| double * | qall |
| double * | xx |
| double * | xy |
| double * | xz |
| double * | xx_loc |
| double * | xy_loc |
| double * | xz_loc |
| double * | forceLambda_loc |
| double * | forceLambda_all |
| double ** | erfc_val |
| double ** | kcos |
| double ** | ksinx |
| double ** | ksiny |
| double ** | ksinz |
| double * | screening_info |
Friends | |
| class | FixHDNNP |
| class | KSpaceHDNNP |
Definition at line 37 of file pair_hdnnp_4g.h.
| PairHDNNP4G::PairHDNNP4G | ( | class LAMMPS * | lmp | ) |
Definition at line 54 of file pair_hdnnp_4g.cpp.
References cfenergy, cflength, chi, dEdLambda_all, dEdLambda_loc, dEdQ, directory, E_elec, emap, erfc_val, forceLambda, forceLambda_all, forceLambda_loc, gammaSqrt2, grad_tol, hardness, kcoeff_sum, kcos, ksinx, ksiny, ksinz, kspacehdnnp, list, maxCutoffRadius, maxew, maxit, me, min_tol, minim_init_style, nprocs, numExtrapolationWarningsSummary, numExtrapolationWarningsTotal, periodic, qall, qall_loc, resetew, s, screening_info, showew, showewsum, sigmaSqrtPi, step, T, type_all, type_loc, xx, xx_loc, xy, xy_loc, xz, and xz_loc.
Referenced by forceLambda_df_wrap(), forceLambda_f_wrap(), and forceLambda_fdf_wrap().

|
virtual |
Definition at line 114 of file pair_hdnnp_4g.cpp.
|
virtual |
Definition at line 118 of file pair_hdnnp_4g.cpp.
References calculate_kspace_terms(), calculateElecDerivatives(), calculateElecForce(), calculateForceLambda(), dEdLambda_all, dEdLambda_loc, dEdQ, E_elec, erfc_val, forceLambda, forceLambda_all, forceLambda_loc, handleExtrapolationWarnings(), nnp::Mode::HDNNP_2G, nnp::Mode::HDNNP_4G, interface, KSpaceHDNNP, kspacehdnnp, maxew, periodic, qall, qall_loc, showew, showewsum, transferCharges(), transferNeighborList(), type_all, type_loc, xx, xx_loc, xy, xy_loc, xz, and xz_loc.

|
virtual |
Definition at line 251 of file pair_hdnnp_4g.cpp.
References cfenergy, cflength, directory, emap, maxew, numExtrapolationWarningsSummary, numExtrapolationWarningsTotal, resetew, showew, and showewsum.
|
virtual |
Definition at line 346 of file pair_hdnnp_4g.cpp.
References allocate(), and maxCutoffRadius.

|
virtual |
TODO: add nnpType
Definition at line 375 of file pair_hdnnp_4g.cpp.
References cfenergy, cflength, directory, emap, nnp::Mode::HDNNP_4G, interface, isPeriodic(), maxCutoffRadius, maxew, resetew, showew, and showewsum.

|
virtual |
Definition at line 431 of file pair_hdnnp_4g.cpp.
References maxCutoffRadius.
| void PairHDNNP4G::init_list | ( | int | , |
| class NeighList * | ptr ) |
|
virtual |
Definition at line 441 of file pair_hdnnp_4g.cpp.
|
virtual |
Definition at line 450 of file pair_hdnnp_4g.cpp.
|
virtual |
Definition at line 459 of file pair_hdnnp_4g.cpp.
|
virtual |
Definition at line 468 of file pair_hdnnp_4g.cpp.
|
protectedvirtual |
Definition at line 477 of file pair_hdnnp_4g.cpp.
References dEdLambda_all, dEdLambda_loc, dEdQ, forceLambda, forceLambda_all, forceLambda_loc, qall, qall_loc, type_all, type_loc, xx, xx_loc, xy, xy_loc, xz, and xz_loc.
Referenced by coeff().

|
protected |
Definition at line 539 of file pair_hdnnp_4g.cpp.
References interface, list, and maxCutoffRadius.
Referenced by compute().

|
protected |
Definition at line 1341 of file pair_hdnnp_4g.cpp.
References periodic.
Referenced by init_style().

|
protected |
Definition at line 651 of file pair_hdnnp_4g.cpp.
References interface.
Referenced by compute().

|
protected |
Definition at line 559 of file pair_hdnnp_4g.cpp.
References interface, maxew, numExtrapolationWarningsSummary, numExtrapolationWarningsTotal, resetew, showew, and showewsum.
Referenced by compute().

|
protected |
|
protected |
Definition at line 659 of file pair_hdnnp_4g.cpp.
References cflength, dEdQ, erfc_val, gammaSqrt2, hardness, kspacehdnnp, list, periodic, sigmaSqrtPi, and SQR.
Referenced by forceLambda_f_wrap(), and forceLambda_fdf().

|
protected |
Definition at line 762 of file pair_hdnnp_4g.cpp.
References cflength, dEdLambda_all, dEdLambda_loc, dEdQ, erfc_val, gammaSqrt2, hardness, kspacehdnnp, list, periodic, sigmaSqrtPi, and SQR.
Referenced by forceLambda_df_wrap(), and forceLambda_fdf().

|
protected |
Definition at line 860 of file pair_hdnnp_4g.cpp.
References forceLambda_df(), and forceLambda_f().
Referenced by forceLambda_fdf_wrap().


|
staticprotected |
Definition at line 756 of file pair_hdnnp_4g.cpp.
References forceLambda_f(), and PairHDNNP4G().
Referenced by calculateForceLambda().


|
staticprotected |
Definition at line 854 of file pair_hdnnp_4g.cpp.
References forceLambda_df(), and PairHDNNP4G().
Referenced by calculateForceLambda().


|
staticprotected |
Definition at line 867 of file pair_hdnnp_4g.cpp.
References forceLambda_fdf(), and PairHDNNP4G().
Referenced by calculateForceLambda().


|
protected |
Definition at line 873 of file pair_hdnnp_4g.cpp.
References dEdLambda_all, dEdLambda_loc, forceLambda, forceLambda_all, forceLambda_df_wrap(), forceLambda_f_wrap(), forceLambda_fdf_wrap(), forceLambda_loc, forceLambda_minimizer, grad_tol, maxit, min_tol, s, step, and T.
Referenced by compute().


|
protected |
Definition at line 1003 of file pair_hdnnp_4g.cpp.
References cfenergy, cflength, erfc_val, gammaSqrt2, kcoeff_sum, kspacehdnnp, list, periodic, qall, screening_df(), screening_f(), screening_info, SQR, type_all, xx, xy, and xz.
Referenced by compute().


|
protected |
Definition at line 1130 of file pair_hdnnp_4g.cpp.
References cfenergy, cflength, erfc_val, forceLambda, forceLambda_all, gammaSqrt2, interface, kspacehdnnp, list, periodic, qall, SQR, type_all, xx, xy, and xz.
Referenced by compute().

|
protected |
Definition at line 950 of file pair_hdnnp_4g.cpp.
References kcoeff_sum, and kspacehdnnp.
Referenced by compute().

|
protected |
Definition at line 1314 of file pair_hdnnp_4g.cpp.
References screening_info.
Referenced by calculateElecDerivatives().

|
protected |
Definition at line 1329 of file pair_hdnnp_4g.cpp.
References screening_info.
Referenced by calculateElecDerivatives().

|
friend |
|
friend |
Definition at line 39 of file pair_hdnnp_4g.h.
References KSpaceHDNNP.
Referenced by compute(), and KSpaceHDNNP.
|
protected |
Definition at line 58 of file pair_hdnnp_4g.h.
Referenced by calculate_kspace_terms(), calculateElecDerivatives(), calculateElecForce(), compute(), forceLambda_df(), forceLambda_f(), and PairHDNNP4G().
|
protected |
Definition at line 60 of file pair_hdnnp_4g.h.
Referenced by PairHDNNP4G().
|
protected |
Definition at line 60 of file pair_hdnnp_4g.h.
Referenced by PairHDNNP4G().
|
protected |
Definition at line 61 of file pair_hdnnp_4g.h.
Referenced by calculateElecDerivatives(), calculateElecForce(), compute(), forceLambda_df(), forceLambda_f(), isPeriodic(), and PairHDNNP4G().
|
protected |
Definition at line 62 of file pair_hdnnp_4g.h.
Referenced by compute(), handleExtrapolationWarnings(), init_style(), PairHDNNP4G(), and settings().
|
protected |
Definition at line 63 of file pair_hdnnp_4g.h.
Referenced by handleExtrapolationWarnings(), init_style(), PairHDNNP4G(), and settings().
|
protected |
Definition at line 64 of file pair_hdnnp_4g.h.
Referenced by compute(), handleExtrapolationWarnings(), init_style(), PairHDNNP4G(), and settings().
|
protected |
Definition at line 65 of file pair_hdnnp_4g.h.
Referenced by compute(), handleExtrapolationWarnings(), init_style(), PairHDNNP4G(), and settings().
|
protected |
Definition at line 66 of file pair_hdnnp_4g.h.
Referenced by handleExtrapolationWarnings(), PairHDNNP4G(), and settings().
|
protected |
Definition at line 67 of file pair_hdnnp_4g.h.
Referenced by handleExtrapolationWarnings(), PairHDNNP4G(), and settings().
|
protected |
Definition at line 68 of file pair_hdnnp_4g.h.
Referenced by calculateElecDerivatives(), calculateElecForce(), forceLambda_df(), forceLambda_f(), init_style(), PairHDNNP4G(), and settings().
|
protected |
Definition at line 69 of file pair_hdnnp_4g.h.
Referenced by calculateElecDerivatives(), calculateElecForce(), init_style(), PairHDNNP4G(), and settings().
|
protected |
Definition at line 70 of file pair_hdnnp_4g.h.
Referenced by coeff(), init_one(), init_style(), PairHDNNP4G(), and transferNeighborList().
|
protected |
Definition at line 71 of file pair_hdnnp_4g.h.
Referenced by init_style(), PairHDNNP4G(), and settings().
|
protected |
Definition at line 72 of file pair_hdnnp_4g.h.
Referenced by init_style(), PairHDNNP4G(), and settings().
|
protected |
Definition at line 73 of file pair_hdnnp_4g.h.
Referenced by calculateElecDerivatives(), calculateElecForce(), forceLambda_df(), forceLambda_f(), init_list(), PairHDNNP4G(), and transferNeighborList().
|
protected |
Definition at line 75 of file pair_hdnnp_4g.h.
Referenced by calculateElecForce(), compute(), handleExtrapolationWarnings(), init_style(), transferCharges(), and transferNeighborList().
|
protected |
Definition at line 77 of file pair_hdnnp_4g.h.
Referenced by PairHDNNP4G().
|
protected |
Definition at line 77 of file pair_hdnnp_4g.h.
Referenced by forceLambda_df(), forceLambda_f(), and PairHDNNP4G().
|
protected |
Definition at line 77 of file pair_hdnnp_4g.h.
Referenced by forceLambda_df(), forceLambda_f(), and PairHDNNP4G().
|
protected |
Definition at line 77 of file pair_hdnnp_4g.h.
Referenced by calculateElecDerivatives(), calculateElecForce(), forceLambda_df(), forceLambda_f(), and PairHDNNP4G().
|
protected |
Definition at line 78 of file pair_hdnnp_4g.h.
Referenced by allocate(), compute(), forceLambda_df(), forceLambda_f(), and PairHDNNP4G().
|
protected |
Definition at line 78 of file pair_hdnnp_4g.h.
Referenced by allocate(), calculateElecForce(), calculateForceLambda(), compute(), and PairHDNNP4G().
|
protected |
Definition at line 79 of file pair_hdnnp_4g.h.
Referenced by calculateForceLambda(), and PairHDNNP4G().
|
protected |
Definition at line 79 of file pair_hdnnp_4g.h.
Referenced by calculateForceLambda(), and PairHDNNP4G().
|
protected |
Definition at line 79 of file pair_hdnnp_4g.h.
Referenced by calculateForceLambda(), and PairHDNNP4G().
|
protected |
Definition at line 80 of file pair_hdnnp_4g.h.
Referenced by calculateForceLambda(), and PairHDNNP4G().
|
protected |
Definition at line 81 of file pair_hdnnp_4g.h.
Referenced by PairHDNNP4G().
|
protected |
Definition at line 93 of file pair_hdnnp_4g.h.
Referenced by calculateForceLambda(), and PairHDNNP4G().
|
protected |
Definition at line 94 of file pair_hdnnp_4g.h.
Referenced by calculateForceLambda(), and PairHDNNP4G().
|
protected |
Definition at line 96 of file pair_hdnnp_4g.h.
Referenced by calculateForceLambda().
|
protected |
Definition at line 105 of file pair_hdnnp_4g.h.
Referenced by compute(), and PairHDNNP4G().
|
protected |
Definition at line 106 of file pair_hdnnp_4g.h.
Referenced by calculate_kspace_terms(), calculateElecDerivatives(), and PairHDNNP4G().
|
protected |
Definition at line 108 of file pair_hdnnp_4g.h.
|
protected |
Definition at line 110 of file pair_hdnnp_4g.h.
Referenced by allocate(), calculateElecDerivatives(), calculateElecForce(), compute(), and PairHDNNP4G().
|
protected |
Definition at line 110 of file pair_hdnnp_4g.h.
Referenced by allocate(), compute(), and PairHDNNP4G().
|
protected |
Definition at line 111 of file pair_hdnnp_4g.h.
Referenced by allocate(), calculateForceLambda(), compute(), forceLambda_df(), and PairHDNNP4G().
|
protected |
Definition at line 111 of file pair_hdnnp_4g.h.
Referenced by allocate(), calculateForceLambda(), compute(), forceLambda_df(), and PairHDNNP4G().
|
protected |
Definition at line 112 of file pair_hdnnp_4g.h.
Referenced by allocate(), compute(), and PairHDNNP4G().
|
protected |
Definition at line 112 of file pair_hdnnp_4g.h.
Referenced by allocate(), calculateElecDerivatives(), calculateElecForce(), compute(), and PairHDNNP4G().
|
protected |
Definition at line 113 of file pair_hdnnp_4g.h.
Referenced by allocate(), calculateElecDerivatives(), calculateElecForce(), compute(), and PairHDNNP4G().
|
protected |
Definition at line 113 of file pair_hdnnp_4g.h.
Referenced by allocate(), calculateElecDerivatives(), calculateElecForce(), compute(), and PairHDNNP4G().
|
protected |
Definition at line 113 of file pair_hdnnp_4g.h.
Referenced by allocate(), calculateElecDerivatives(), calculateElecForce(), compute(), and PairHDNNP4G().
|
protected |
Definition at line 114 of file pair_hdnnp_4g.h.
Referenced by allocate(), compute(), and PairHDNNP4G().
|
protected |
Definition at line 114 of file pair_hdnnp_4g.h.
Referenced by allocate(), compute(), and PairHDNNP4G().
|
protected |
Definition at line 114 of file pair_hdnnp_4g.h.
Referenced by allocate(), compute(), and PairHDNNP4G().
|
protected |
Definition at line 115 of file pair_hdnnp_4g.h.
Referenced by allocate(), calculateForceLambda(), compute(), and PairHDNNP4G().
|
protected |
Definition at line 115 of file pair_hdnnp_4g.h.
Referenced by allocate(), calculateElecForce(), calculateForceLambda(), compute(), and PairHDNNP4G().
|
protected |
Definition at line 117 of file pair_hdnnp_4g.h.
Referenced by calculateElecDerivatives(), calculateElecForce(), compute(), forceLambda_df(), forceLambda_f(), and PairHDNNP4G().
|
protected |
Definition at line 118 of file pair_hdnnp_4g.h.
Referenced by PairHDNNP4G().
|
protected |
Definition at line 118 of file pair_hdnnp_4g.h.
Referenced by PairHDNNP4G().
|
protected |
Definition at line 118 of file pair_hdnnp_4g.h.
Referenced by PairHDNNP4G().
|
protected |
Definition at line 118 of file pair_hdnnp_4g.h.
Referenced by PairHDNNP4G().
|
protected |
Definition at line 127 of file pair_hdnnp_4g.h.
Referenced by calculateElecDerivatives(), PairHDNNP4G(), screening_df(), and screening_f().