diff --git a/src/pair_smatb.cpp b/src/pair_smatb.cpp index 244194183d..cda65837c8 100644 --- a/src/pair_smatb.cpp +++ b/src/pair_smatb.cpp @@ -82,7 +82,7 @@ void PairSMATB::compute(int eflag, int vflag) double dijsq, dij; double espo, aexpp, qsiexpq, eb_i, Fb, Fr; double polyval, polyval2, polyval3, polyval4, polyval5; - //sets up the flags for energy caclulations + //sets up the flags for energy calculations if (eflag || vflag) { ev_setup(eflag, vflag); eng_vdwl = 0; diff --git a/src/pair_smatb.h b/src/pair_smatb.h index fc4f1f2a9b..d87546ecd1 100644 --- a/src/pair_smatb.h +++ b/src/pair_smatb.h @@ -49,7 +49,7 @@ class PairSMATB : public Pair { virtual void allocate(); // allocated size of per-atom arrays int nmax; - //allocated to store up caclulation values + //allocated to store up calculation values double *on_eb{nullptr}; // interaction radius, user-given double **r0{nullptr}; diff --git a/src/pair_smatb_single.cpp b/src/pair_smatb_single.cpp index 92e55916df..f7910b076a 100644 --- a/src/pair_smatb_single.cpp +++ b/src/pair_smatb_single.cpp @@ -66,7 +66,7 @@ void PairSMATBSingle::compute(int eflag, int vflag) double dijsq, dij; double espo, aexpp, qsiexpq, eb_i, Fb, Fr; double polyval, polyval2, polyval3, polyval4, polyval5; - //sets up the flags for energy caclulations + //sets up the flags for energy calculations if (eflag || vflag) { ev_setup(eflag, vflag); eng_vdwl = 0; diff --git a/src/pair_smatb_single.h b/src/pair_smatb_single.h index 4b8fcf70e5..8d31a7d047 100644 --- a/src/pair_smatb_single.h +++ b/src/pair_smatb_single.h @@ -49,7 +49,7 @@ class PairSMATBSingle : public Pair { virtual void allocate(); // allocated size of per-atom arrays int nmax; - //allocated to store up caclulation values + //allocated to store up calculation values double *on_eb{nullptr}; // interaction radius, user-given double r0;