Page MenuHomec4science

pair_tersoff_cuda.h
No OneTemporary

File Metadata

Created
Sun, Nov 10, 16:40

pair_tersoff_cuda.h

/* ----------------------------------------------------------------------
LAMMPS - Large-scale Atomic/Molecular Massively Parallel Simulator
Original Version:
http://lammps.sandia.gov, Sandia National Laboratories
Steve Plimpton, sjplimp@sandia.gov
See the README file in the top-level LAMMPS directory.
-----------------------------------------------------------------------
USER-CUDA Package and associated modifications:
https://sourceforge.net/projects/lammpscuda/
Christian Trott, christian.trott@tu-ilmenau.de
Lars Winterfeld, lars.winterfeld@tu-ilmenau.de
Theoretical Physics II, University of Technology Ilmenau, Germany
See the README file in the USER-CUDA directory.
This software is distributed under the GNU General Public License.
------------------------------------------------------------------------- */
#ifdef PAIR_CLASS
PairStyle(tersoff/cuda,PairTersoffCuda)
#else
#ifndef PAIR_TERSOFF_CUDA_H
#define PAIR_TERSOFF_CUDA_H
#include "pair_tersoff_cuda_cu.h"
#include "pair_tersoff.h"
#include "cuda_data.h"
namespace LAMMPS_NS {
class PairTersoffCuda : public PairTersoff
{
public:
PairTersoffCuda(class LAMMPS *);
void compute(int, int);
void settings(int, char **);
void coeff(int, char **);
void init_list(int, class NeighList *);
void init_style();
void ev_setup(int eflag, int vflag);
protected:
class Cuda *cuda;
void allocate();
bool allocated2;
class CudaNeighList* cuda_neigh_list;
Param_Float* params_f;
Param_Float* cu_params_f;
cCudaData<int, int, xyz >* cu_elem2param;
cCudaData<int, int, x >* cu_map;
bool init;
bool iszbl;
};
}
#endif
#endif

Event Timeline