From 59f2d0aa2582ee73d65be1094a1213cb27db4fcc Mon Sep 17 00:00:00 2001 From: sjplimp Date: Fri, 4 Jan 2008 01:32:18 +0000 Subject: [PATCH] git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@1298 f3b2605a-c512-4ea7-a41b-209d697bcdaa --- src/pair_coul_debye.cpp | 12 ------------ src/pair_coul_debye.h | 1 - 2 files changed, 13 deletions(-) diff --git a/src/pair_coul_debye.cpp b/src/pair_coul_debye.cpp index 75d1186719..8c25b96a9b 100644 --- a/src/pair_coul_debye.cpp +++ b/src/pair_coul_debye.cpp @@ -35,18 +35,6 @@ PairCoulDebye::PairCoulDebye(LAMMPS *lmp) : PairCoulCut(lmp) {} /* ---------------------------------------------------------------------- */ -PairCoulDebye::~PairCoulDebye() -{ - if (allocated) { - memory->destroy_2d_int_array(setflag); - memory->destroy_2d_double_array(cutsq); - - memory->destroy_2d_double_array(cut); - } -} - -/* ---------------------------------------------------------------------- */ - void PairCoulDebye::compute(int eflag, int vflag) { int i,j,ii,jj,inum,jnum,itype,jtype; diff --git a/src/pair_coul_debye.h b/src/pair_coul_debye.h index 970571969b..7a1a8d5c17 100644 --- a/src/pair_coul_debye.h +++ b/src/pair_coul_debye.h @@ -21,7 +21,6 @@ namespace LAMMPS_NS { class PairCoulDebye : public PairCoulCut { public: PairCoulDebye(class LAMMPS *); - ~PairCoulDebye(); void compute(int, int); void settings(int, char **); void write_restart_settings(FILE *);