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(hybrid/overlay,PairHybridOverlay); 17 // clang-format on 18 #else 19 20 #ifndef LMP_PAIR_HYBRID_OVERLAY_H 21 #define LMP_PAIR_HYBRID_OVERLAY_H 22 23 #include "pair_hybrid.h" 24 25 namespace LAMMPS_NS { 26 27 class PairHybridOverlay : public PairHybrid { 28 public: 29 PairHybridOverlay(class LAMMPS *); ~PairHybridOverlay()30 virtual ~PairHybridOverlay() {} 31 void coeff(int, char **); 32 33 void init_svector(); 34 void copy_svector(int, int); 35 }; 36 37 } // namespace LAMMPS_NS 38 39 #endif 40 #endif 41 42 /* ERROR/WARNING messages: 43 44 E: Incorrect args for pair coefficients 45 46 Self-explanatory. Check the input script or data file. 47 48 E: Pair coeff for hybrid has invalid style 49 50 Style in pair coeff must have been listed in pair_style command. 51 52 */ 53