1
/* ----------------------------------------------------------------------
2
LAMMPS - Large-scale Atomic/Molecular Massively Parallel Simulator
3
http://lammps.sandia.gov, Sandia National Laboratories
4
Steve Plimpton, sjplimp@sandia.gov
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.
11
See the README file in the top-level LAMMPS directory.
12
------------------------------------------------------------------------- */
16
PairStyle(dipole/cut/gpu,PairDipoleCutGPU)
20
#ifndef LMP_PAIR_DIPOLE_CUT_GPU_H
21
#define LMP_PAIR_DIPOLE_CUT_GPU_H
23
#include "pair_dipole_cut.h"
27
class PairDipoleCutGPU : public PairDipoleCut {
29
PairDipoleCutGPU(LAMMPS *lmp);
31
void cpu_compute(int, int, int, int, int *, int *, int **);
32
void compute(int, int);
34
double memory_usage();
36
enum { GPU_FORCE, GPU_NEIGH, GPU_HYB_NEIGH };
48
/* ERROR/WARNING messages:
50
E: Insufficient memory on accelerator
52
There is insufficient memory on one of the devices specified for the gpu
55
E: Pair dipole/cut/gpu requires atom attributes q, mu, torque
57
The atom style defined does not have this attribute.
59
E: Cannot use newton pair with dipole/cut/gpu pair style