Change default for pair_modify neigh/trim
This commit is contained in:
@ -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;
|
||||||
|
|||||||
@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user