Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F90393393
pair_lj_class2_coul_cut_cuda.h
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Fri, Nov 1, 06:49
Size
1 KB
Mime Type
text/x-c
Expires
Sun, Nov 3, 06:49 (2 d)
Engine
blob
Format
Raw Data
Handle
22027341
Attached To
rLAMMPS lammps
pair_lj_class2_coul_cut_cuda.h
View Options
/* ----------------------------------------------------------------------
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
(
lj
/
class2
/
coul
/
cut
/
cuda
,
PairLJClass2CoulCutCuda
)
#else
#ifndef LMP_PAIR_LJ_CLASS2_COUL_CUT_CUDA_H
#define LMP_PAIR_LJ_CLASS2_COUL_CUT_CUDA_H
#include "pair_lj_class2_coul_cut.h"
namespace
LAMMPS_NS
{
class
PairLJClass2CoulCutCuda
:
public
PairLJClass2CoulCut
{
public:
PairLJClass2CoulCutCuda
(
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
;
};
}
#endif
#endif
Event Timeline
Log In to Comment