Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F110773095
fix_nve_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
Mon, Apr 28, 01:23
Size
1 KB
Mime Type
text/x-c
Expires
Wed, Apr 30, 01:23 (1 d, 23 h)
Engine
blob
Format
Raw Data
Handle
25841337
Attached To
rLAMMPS lammps
fix_nve_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 FIX_CLASS
FixStyle(nve/cuda,FixNVECuda)
#else
#ifndef LMP_FIX_NVE_CUDA_H
#define LMP_FIX_NVE_CUDA_H
#include "fix.h"
#include "cuda_precision.h"
namespace LAMMPS_NS {
class FixNVECuda : public Fix
{
public:
FixNVECuda(class LAMMPS *, int, char **);
int setmask();
virtual void init();
virtual void initial_integrate(int);
virtual void final_integrate();
void initial_integrate_respa(int, int, int);
void final_integrate_respa(int, int);
void reset_dt();
X_FLOAT triggerneighsq;
protected:
class Cuda *cuda;
double dtv, dtf;
double *step_respa;
int mass_require;
};
}
#endif
#endif
Event Timeline
Log In to Comment