revert changes requested by @akohlmey
This commit is contained in:
@ -611,8 +611,6 @@ FixBondReact::FixBondReact(LAMMPS *lmp, int narg, char **arg) :
|
|||||||
|
|
||||||
FixBondReact::~FixBondReact()
|
FixBondReact::~FixBondReact()
|
||||||
{
|
{
|
||||||
if (copymode) return; // needed for KOKKOS [alphataubio,2024/08]
|
|
||||||
|
|
||||||
for (int i = 0; i < narrhenius; i++) {
|
for (int i = 0; i < narrhenius; i++) {
|
||||||
delete rrhandom[i];
|
delete rrhandom[i];
|
||||||
}
|
}
|
||||||
|
|||||||
@ -11,6 +11,10 @@
|
|||||||
See the README file in the top-level LAMMPS directory.
|
See the README file in the top-level LAMMPS directory.
|
||||||
------------------------------------------------------------------------- */
|
------------------------------------------------------------------------- */
|
||||||
|
|
||||||
|
/* ----------------------------------------------------------------------
|
||||||
|
Contributing Author: Jacob Gissinger (jgissing@stevens.edu)
|
||||||
|
------------------------------------------------------------------------- */
|
||||||
|
|
||||||
#ifdef FIX_CLASS
|
#ifdef FIX_CLASS
|
||||||
// clang-format off
|
// clang-format off
|
||||||
FixStyle(bond/react,FixBondReact);
|
FixStyle(bond/react,FixBondReact);
|
||||||
@ -51,7 +55,7 @@ class FixBondReact : public Fix {
|
|||||||
double compute_vector(int) override;
|
double compute_vector(int) override;
|
||||||
double memory_usage() override;
|
double memory_usage() override;
|
||||||
|
|
||||||
protected:
|
private:
|
||||||
int newton_bond;
|
int newton_bond;
|
||||||
int nreacts;
|
int nreacts;
|
||||||
int *nevery;
|
int *nevery;
|
||||||
|
|||||||
Reference in New Issue
Block a user