setting cntatmstressflag = 1 for true pariwise styles

This commit is contained in:
Donatas Surblys
2019-11-12 00:02:50 +09:00
parent 0a64dff132
commit 7db3d7b5c0
25 changed files with 35 additions and 5 deletions

View File

@ -35,6 +35,7 @@ PairLJClass2::PairLJClass2(LAMMPS *lmp) : Pair(lmp)
{
respa_enable = 1;
writedata = 1;
cntratmstressflag = 1;
}
/* ---------------------------------------------------------------------- */

View File

@ -33,6 +33,7 @@ using namespace MathConst;
PairLJClass2CoulCut::PairLJClass2CoulCut(LAMMPS *lmp) : Pair(lmp)
{
writedata = 1;
cntratmstressflag = 1;
}
/* ---------------------------------------------------------------------- */

View File

@ -40,6 +40,7 @@ PairPython::PairPython(LAMMPS *lmp) : Pair(lmp) {
one_coeff = 1;
reinitflag = 0;
cut_global = 0.0;
cntratmstressflag = 1;
py_potential = NULL;
skip_types = NULL;

View File

@ -32,7 +32,9 @@ using namespace LAMMPS_NS;
/* ---------------------------------------------------------------------- */
PairCoulCutSoft::PairCoulCutSoft(LAMMPS *lmp) : Pair(lmp) {}
PairCoulCutSoft::PairCoulCutSoft(LAMMPS *lmp) : Pair(lmp) {
cntratmstressflag = 1;
}
/* ---------------------------------------------------------------------- */

View File

@ -33,6 +33,7 @@ using namespace MathConst;
PairLJClass2CoulCutSoft::PairLJClass2CoulCutSoft(LAMMPS *lmp) : Pair(lmp)
{
writedata = 1;
cntratmstressflag = 1;
}
/* ---------------------------------------------------------------------- */

View File

@ -32,6 +32,7 @@ using namespace MathConst;
PairLJClass2Soft::PairLJClass2Soft(LAMMPS *lmp) : Pair(lmp)
{
writedata = 1;
cntratmstressflag = 1;
}
/* ---------------------------------------------------------------------- */

View File

@ -37,6 +37,7 @@ using namespace MathConst;
PairLJCutCoulCutSoft::PairLJCutCoulCutSoft(LAMMPS *lmp) : Pair(lmp)
{
writedata = 1;
cntratmstressflag = 1;
}
/* ---------------------------------------------------------------------- */

View File

@ -43,6 +43,7 @@ PairLJCutSoft::PairLJCutSoft(LAMMPS *lmp) : Pair(lmp)
respa_enable = 1;
writedata = 1;
allocated = 0;
cntratmstressflag = 1;
}
/* ---------------------------------------------------------------------- */

View File

@ -32,7 +32,9 @@ using namespace MathSpecial;
/* ---------------------------------------------------------------------- */
PairBeck::PairBeck(LAMMPS *lmp) : Pair(lmp) {}
PairBeck::PairBeck(LAMMPS *lmp) : Pair(lmp) {
cntratmstressflag = 1;
}
/* ---------------------------------------------------------------------- */

View File

@ -32,6 +32,7 @@ using namespace MathConst;
PairBuck::PairBuck(LAMMPS *lmp) : Pair(lmp)
{
writedata = 1;
cntratmstressflag = 1;
}
/* ---------------------------------------------------------------------- */

View File

@ -36,6 +36,7 @@ using namespace MathConst;
PairBuckCoulCut::PairBuckCoulCut(LAMMPS *lmp) : Pair(lmp)
{
writedata = 1;
cntratmstressflag = 1;
}
/* ---------------------------------------------------------------------- */

View File

@ -28,7 +28,9 @@ using namespace LAMMPS_NS;
/* ---------------------------------------------------------------------- */
PairCoulCut::PairCoulCut(LAMMPS *lmp) : Pair(lmp) {}
PairCoulCut::PairCoulCut(LAMMPS *lmp) : Pair(lmp) {
cntratmstressflag = 1;
}
/* ---------------------------------------------------------------------- */

View File

@ -43,7 +43,9 @@ using namespace MathConst;
/* ---------------------------------------------------------------------- */
PairCoulDSF::PairCoulDSF(LAMMPS *lmp) : Pair(lmp) {}
PairCoulDSF::PairCoulDSF(LAMMPS *lmp) : Pair(lmp) {
cntratmstressflag = 1;
}
/* ---------------------------------------------------------------------- */

View File

@ -36,6 +36,7 @@ using namespace MathConst;
PairCoulWolf::PairCoulWolf(LAMMPS *lmp) : Pair(lmp)
{
single_enable = 0; // NOTE: single() method below is not yet correct
cntratmstressflag = 1;
}
/* ---------------------------------------------------------------------- */

View File

@ -32,7 +32,9 @@ using namespace PairLJCubicConstants;
/* ---------------------------------------------------------------------- */
PairLJCubic::PairLJCubic(LAMMPS *lmp) : Pair(lmp) {}
PairLJCubic::PairLJCubic(LAMMPS *lmp) : Pair(lmp) {
cntratmstressflag = 1;
}
/* ---------------------------------------------------------------------- */

View File

@ -41,6 +41,7 @@ PairLJCut::PairLJCut(LAMMPS *lmp) : Pair(lmp)
{
respa_enable = 1;
writedata = 1;
cntratmstressflag = 1;
}
/* ---------------------------------------------------------------------- */

View File

@ -33,6 +33,7 @@ using namespace MathConst;
PairLJCutCoulCut::PairLJCutCoulCut(LAMMPS *lmp) : Pair(lmp)
{
writedata = 1;
cntratmstressflag = 1;
}
/* ---------------------------------------------------------------------- */

View File

@ -46,6 +46,7 @@ using namespace MathConst;
PairLJCutCoulDSF::PairLJCutCoulDSF(LAMMPS *lmp) : Pair(lmp)
{
single_enable = 0;
cntratmstressflag = 1;
}
/* ---------------------------------------------------------------------- */

View File

@ -37,6 +37,7 @@ PairLJCutCoulWolf::PairLJCutCoulWolf(LAMMPS *lmp) : Pair(lmp)
{
single_enable = 0;
writedata = 1;
cntratmstressflag = 1;
}
/* ---------------------------------------------------------------------- */

View File

@ -32,6 +32,7 @@ using namespace MathConst;
PairLJExpand::PairLJExpand(LAMMPS *lmp) : Pair(lmp)
{
writedata = 1;
cntratmstressflag = 1;
}
/* ---------------------------------------------------------------------- */

View File

@ -34,6 +34,7 @@ using namespace LAMMPS_NS;
PairLJGromacsCoulGromacs::PairLJGromacsCoulGromacs(LAMMPS *lmp) : Pair(lmp)
{
writedata = 1;
cntratmstressflag = 1;
}
/* ---------------------------------------------------------------------- */

View File

@ -33,6 +33,7 @@ using namespace LAMMPS_NS;
PairLJSmooth::PairLJSmooth(LAMMPS *lmp) : Pair(lmp)
{
writedata = 1;
cntratmstressflag = 1;
}
/* ---------------------------------------------------------------------- */

View File

@ -32,6 +32,7 @@ using namespace LAMMPS_NS;
PairLJSmoothLinear::PairLJSmoothLinear(LAMMPS *lmp) : Pair(lmp) {
single_hessian_enable = 1;
cntratmstressflag = 1;
}
/* ---------------------------------------------------------------------- */

View File

@ -30,6 +30,7 @@ using namespace LAMMPS_NS;
PairMorse::PairMorse(LAMMPS *lmp) : Pair(lmp)
{
writedata = 1;
cntratmstressflag = 1;
}
/* ---------------------------------------------------------------------- */

View File

@ -36,6 +36,7 @@ using namespace LAMMPS_NS;
PairUFM::PairUFM(LAMMPS *lmp) : Pair(lmp)
{
writedata = 1;
cntratmstressflag = 1;
}
/* ---------------------------------------------------------------------- */