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 // NOTE: this file is *supposed* to be included multiple times
15 
16 #ifdef LMP_OPENMP
17 
18 // true interface to OPENMP
19 
20 // provide a DomainOMP class with some overrides for Domain
21 #include "domain.h"
22 
23 #ifndef LMP_DOMAIN_OMP_H
24 #define LMP_DOMAIN_OMP_H
25 
26 namespace LAMMPS_NS {
27 
28 class DomainOMP : public Domain {
29  public:
DomainOMP(class LAMMPS * lmp)30   DomainOMP(class LAMMPS *lmp) : Domain(lmp) {}
~DomainOMP()31   virtual ~DomainOMP() {}
32 
33   // multi-threaded versions
34   virtual void pbc();
35   virtual void lamda2x(int);
lamda2x(double * lamda,double * x)36   virtual void lamda2x(double *lamda, double *x) { Domain::lamda2x(lamda, x); }
37   virtual void x2lamda(int);
x2lamda(double * x,double * lamda)38   virtual void x2lamda(double *x, double *lamda) { Domain::x2lamda(x, lamda); }
39 };
40 }    // namespace LAMMPS_NS
41 
42 #endif /* LMP_DOMAIN_OMP_H */
43 
44 #endif /* !LMP_OPENMP */
45