1 /* -*- c++ -*- ---------------------------------------------------------- 2 LAMMPS - Large-scale Atomic/Molecular Massively Parallel Simulator 3 https://www.lammps.org/, Sandia National Laboratories 4 Steve Plimpton, sjplimp@sandia.gov 5 6 Copyright (2003) Sandia Corporation. Under the terms of Contract 7 DE-AC04-94AL85000 with Sandia Corporation, the U.S. Government retains 8 certain rights in this software. This software is distributed under 9 the GNU General Public License. 10 11 See the README file in the top-level LAMMPS directory. 12 ------------------------------------------------------------------------- */ 13 14 #ifdef PAIR_CLASS 15 // clang-format off 16 PairStyle(gran/hooke,PairGranHooke); 17 // clang-format on 18 #else 19 20 #ifndef LMP_PAIR_GRAN_HOOKE_H 21 #define LMP_PAIR_GRAN_HOOKE_H 22 23 #include "pair_gran_hooke_history.h" 24 25 namespace LAMMPS_NS { 26 27 class PairGranHooke : public PairGranHookeHistory { 28 public: 29 PairGranHooke(class LAMMPS *); 30 virtual void compute(int, int); 31 double single(int, int, int, int, double, double, double, double &); 32 }; 33 34 } // namespace LAMMPS_NS 35 36 #endif 37 #endif 38