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 /* ---------------------------------------------------------------------- 15 Contributing author: Axel Kohlmeyer (Temple U) 16 ------------------------------------------------------------------------- */ 17 18 #ifdef DIHEDRAL_CLASS 19 // clang-format off 20 DihedralStyle(table/omp,DihedralTableOMP); 21 // clang-format on 22 #else 23 24 #ifndef LMP_DIHEDRAL_TABLE_OMP_H 25 #define LMP_DIHEDRAL_TABLE_OMP_H 26 27 #include "dihedral_table.h" 28 #include "thr_omp.h" 29 30 namespace LAMMPS_NS { 31 32 class DihedralTableOMP : public DihedralTable, public ThrOMP { 33 34 public: 35 DihedralTableOMP(class LAMMPS *lmp); 36 virtual void compute(int, int); 37 38 private: 39 template <int EVFLAG, int EFLAG, int NEWTON_BOND> 40 void eval(int ifrom, int ito, ThrData *const thr); 41 }; 42 43 } // namespace LAMMPS_NS 44 45 #endif 46 #endif 47