diff --git a/src/BPM/bond_bpm_spring_plastic.cpp b/src/BPM/bond_bpm_spring_plastic.cpp index 1ecc3637d9..07619a8dfc 100644 --- a/src/BPM/bond_bpm_spring_plastic.cpp +++ b/src/BPM/bond_bpm_spring_plastic.cpp @@ -14,6 +14,7 @@ #include "bond_bpm_spring_plastic.h" #include "atom.h" +#include "citeme.h" #include "comm.h" #include "domain.h" #include "error.h" @@ -29,6 +30,18 @@ static constexpr double EPSILON = 1e-10; using namespace LAMMPS_NS; +static const char cite_bpm_plastic[] = + "BPM/spring/plastic bond style: doi:10.1016/j.powtec.2024.120563\n\n" + "@Article{Clemmer2025,\n" + " author = {Clemmer, Joel T. and Lechman, Jeremy B.},\n" + " title = {Onset and impact of plastic deformation in granular compaction},\n" + " journal = {Powder Technology},\n" + " year = 2025,\n" + " volume = 452,\n" + " number = 28,\n" + " pages = {120563}\n" + "}\n\n"; + /* ---------------------------------------------------------------------- */ BondBPMSpringPlastic::BondBPMSpringPlastic(LAMMPS *_lmp) : @@ -45,6 +58,8 @@ BondBPMSpringPlastic::BondBPMSpringPlastic(LAMMPS *_lmp) : single_extra = 2; svector = new double[2]; + + if (lmp->citeme) lmp->citeme->add(cite_bpm_plastic); } /* ---------------------------------------------------------------------- */