diff --git a/src/fix_ave_spatial.cpp b/src/fix_ave_spatial.cpp deleted file mode 100644 index ef9e04a373..0000000000 --- a/src/fix_ave_spatial.cpp +++ /dev/null @@ -1,40 +0,0 @@ -/* ---------------------------------------------------------------------- - LAMMPS - Large-scale Atomic/Molecular Massively Parallel Simulator - http://lammps.sandia.gov, Sandia National Laboratories - Steve Plimpton, sjplimp@sandia.gov - - Copyright (2003) Sandia Corporation. Under the terms of Contract - DE-AC04-94AL85000 with Sandia Corporation, the U.S. Government retains - certain rights in this software. This software is distributed under - the GNU General Public License. - - See the README file in the top-level LAMMPS directory. -------------------------------------------------------------------------- */ - -#include "fix_ave_spatial.h" -#include "comm.h" -#include "error.h" - -using namespace LAMMPS_NS; - -/* ---------------------------------------------------------------------- */ - -FixAveSpatial::FixAveSpatial(LAMMPS *lmp, int narg, char **arg) : - Fix(lmp, narg, arg) -{ - const char *message = "\n" - "NOTE: The fix ave/spatial command has been replaced by the\n" - "more general fix ave/chunk and compute chunk/atom commands.\n" - "All ave/spatial functionality is available in the new commands.\n" - "These ave/spatial keywords & options are part of fix ave/chunk:\n" - " Nevery, Nrepeat, Nfreq, input values, norm, ave, file, overwrite, title123\n" - "These ave/spatial keywords & options for binning are part of compute chunk/atom:\n" - " dim, origin, delta, region, bound, discard, units\n\n"; - - if (comm->me == 0) { - if (screen) fprintf(screen,message); - if (logfile) fprintf(logfile,message); - } - - error->all(FLERR,"The fix ave/spatial command has been removed from LAMMPS"); -} diff --git a/src/fix_ave_spatial.h b/src/fix_ave_spatial.h deleted file mode 100644 index de592cbc95..0000000000 --- a/src/fix_ave_spatial.h +++ /dev/null @@ -1,49 +0,0 @@ -/* -*- c++ -*- ---------------------------------------------------------- - LAMMPS - Large-scale Atomic/Molecular Massively Parallel Simulator - http://lammps.sandia.gov, Sandia National Laboratories - Steve Plimpton, sjplimp@sandia.gov - - Copyright (2003) Sandia Corporation. Under the terms of Contract - DE-AC04-94AL85000 with Sandia Corporation, the U.S. Government retains - certain rights in this software. This software is distributed under - the GNU General Public License. - - See the README file in the top-level LAMMPS directory. -------------------------------------------------------------------------- */ - -#ifdef FIX_CLASS - -FixStyle(ave/spatial,FixAveSpatial) - -#else - -#ifndef LMP_FIX_AVE_SPATIAL_H -#define LMP_FIX_AVE_SPATIAL_H - -#include -#include "fix.h" - -namespace LAMMPS_NS { - -class FixAveSpatial : public Fix { - public: - FixAveSpatial(class LAMMPS *, int, char **); - ~FixAveSpatial() {} - int setmask() {} - void init() {} -}; - -} - -#endif -#endif - -/* ERROR/WARNING messages: - -E: The fix ave/spatial command has been removed from LAMMPS - -It has been replaced by the more flexible fix ave/chunk and compute -chunk/atom commands. All the fix ave/spatial keywords and options are -available in those two newer commands. - -*/