Change default for pair_modify neigh/trim

This commit is contained in:
Stan Gerald Moore
2023-01-27 14:28:40 -07:00
parent a31af4f46e
commit 69e7dd9fd6
2 changed files with 4 additions and 2 deletions

View File

@ -97,7 +97,7 @@ Pair::Pair(LAMMPS *lmp) : Pointers(lmp)
tabinner_disp = sqrt(2.0); tabinner_disp = sqrt(2.0);
ftable = nullptr; ftable = nullptr;
fdisptable = nullptr; fdisptable = nullptr;
trim_flag = 1; trim_flag = 0;
allocated = 0; allocated = 0;
suffix_flag = Suffix::NONE; suffix_flag = Suffix::NONE;

View File

@ -23,7 +23,9 @@ using namespace LAMMPS_NS;
/* ---------------------------------------------------------------------- */ /* ---------------------------------------------------------------------- */
PairHybridOverlay::PairHybridOverlay(LAMMPS *lmp) : PairHybrid(lmp) {} PairHybridOverlay::PairHybridOverlay(LAMMPS *lmp) : PairHybrid(lmp) {
trim_flag = 1;
}
/* ---------------------------------------------------------------------- /* ----------------------------------------------------------------------
set coeffs for one or more type pairs set coeffs for one or more type pairs