~ubuntu-branches/debian/sid/lammps/sid

« back to all changes in this revision

Viewing changes to src/USER-INTEL/verlet_intel.h

  • Committer: Package Import Robot
  • Author(s): Anton Gladky
  • Date: 2015-04-29 23:44:49 UTC
  • mfrom: (5.1.3 experimental)
  • Revision ID: package-import@ubuntu.com-20150429234449-mbhy9utku6hp6oq8
Tags: 0~20150313.gitfa668e1-1
Upload into unstable.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/* -*- c++ -*- ----------------------------------------------------------
 
2
   LAMMPS - Large-scale Atomic/Molecular Massively Parallel Simulator
 
3
   http://lammps.sandia.gov, 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 INTEGRATE_CLASS
 
15
 
 
16
IntegrateStyle(verlet/intel,VerletIntel)
 
17
 
 
18
#else
 
19
 
 
20
#ifndef LMP_VERLET_INTEL_H
 
21
#define LMP_VERLET_INTEL_H
 
22
 
 
23
#include "integrate.h"
 
24
#ifdef LMP_INTEL_OFFLOAD
 
25
#include "fix_intel.h"
 
26
#endif
 
27
 
 
28
namespace LAMMPS_NS {
 
29
 
 
30
class VerletIntel : public Integrate {
 
31
 public:
 
32
  VerletIntel(class LAMMPS *, int, char **);
 
33
  virtual ~VerletIntel() {}
 
34
  virtual void init();
 
35
  virtual void setup();
 
36
  virtual void setup_minimal(int);
 
37
  virtual void run(int);
 
38
  void cleanup();
 
39
 
 
40
 protected:
 
41
  int triclinic;                    // 0 if domain is orthog, 1 if triclinic
 
42
  int torqueflag,extraflag;
 
43
 
 
44
  virtual void force_clear();
 
45
  #ifdef _LMP_INTEL_OFFLOAD
 
46
  FixIntel *fix_intel;
 
47
  int sync_mode;
 
48
  #endif
 
49
};
 
50
 
 
51
}
 
52
 
 
53
#endif
 
54
#endif
 
55
 
 
56
/* ERROR/WARNING messages:
 
57
 
 
58
W: No fixes defined, atoms won't move
 
59
 
 
60
If you are not using a fix like nve, nvt, npt then atom velocities and
 
61
coordinates will not be updated during timestepping.
 
62
 
 
63
E: Cannot currently get per-atom virials with intel package.
 
64
 
 
65
The Intel package does not yet support per-atom virial calculation.
 
66
 
 
67
*/