This commit is contained in:
Eisuke Kawashima
2020-03-14 12:38:28 +09:00
parent fa7085be07
commit 649a8cc01a
401 changed files with 617 additions and 617 deletions

View File

@ -328,7 +328,7 @@ StressCauchyBorn::StressCauchyBorn(fstream &fileId, CbData &cb)
if (line.size() && line[0]=="pair_coeff") break;
}
if (line[0] != "pair_coeff" || line.size() != 3) {
throw(ATC_Error("lj/cut needs 2 coefficents"));
throw(ATC_Error("lj/cut needs 2 coefficients"));
}
delete potential_;
potential_ = new CbLjCut(str2dbl(line[1]), str2dbl(line[2]), rc);
@ -341,7 +341,7 @@ StressCauchyBorn::StressCauchyBorn(fstream &fileId, CbData &cb)
if (line.size() && line[0]=="pair_coeff") break;
}
if (line[0] != "pair_coeff" || line.size() != 3) {
throw(ATC_Error("lj/smooth/linear needs 2 coefficents"));
throw(ATC_Error("lj/smooth/linear needs 2 coefficients"));
}
delete potential_;
potential_ = new CbLjSmoothLinear(str2dbl(line[1]), str2dbl(line[2]), rc);