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 FIX_CLASS 15 // clang-format off 16 FixStyle(planeforce,FixPlaneForce); 17 // clang-format on 18 #else 19 20 #ifndef LMP_FIX_PLANEFORCE_H 21 #define LMP_FIX_PLANEFORCE_H 22 23 #include "fix.h" 24 25 namespace LAMMPS_NS { 26 27 class FixPlaneForce : public Fix { 28 public: 29 FixPlaneForce(class LAMMPS *, int, char **); 30 int setmask(); 31 void setup(int); 32 void min_setup(int); 33 void post_force(int); 34 void post_force_respa(int, int, int); 35 void min_post_force(int); 36 37 private: 38 double xdir, ydir, zdir; 39 }; 40 41 } // namespace LAMMPS_NS 42 43 #endif 44 #endif 45 46 /* ERROR/WARNING messages: 47 48 E: Illegal ... command 49 50 Self-explanatory. Check the input script syntax and compare to the 51 documentation for the command. You can use -echo screen as a 52 command-line option when running LAMMPS to see the offending line. 53 54 */ 55