NAMD
ComputeGridForceCUDAKernel.h
Go to the documentation of this file.
1
#ifndef GRIDFORCEKERNEL_H
2
#define GRIDFORCEKERNEL_H
3
4
#include "
Lattice.h
"
5
#include "
CudaUtils.h
"
6
#include "
CudaRecord.h
"
7
#include "
GridforceGridCUDAKernel.h
"
8
#ifdef NODEGROUP_FORCE_REGISTER
9
void
computeGridForce(
10
const
int
doEnergy,
11
const
int
doVirial,
12
const
GridforceGridCUDA& d_grid,
13
const
Lattice
lat,
14
const
double
* d_pos_x,
15
const
double
* d_pos_y,
16
const
double
* d_pos_z,
17
const
char3* d_transform,
18
const
int
* gridForcedAtomIdxArr,
19
const
int
* gridForcedAtomIdxMap,
20
const
float
* d_gridded_charge,
21
const
float
* d_gridded_scale,
22
double
* f_normal_x,
23
double
* f_normal_y,
24
double
* f_normal_z,
25
double3* h_extForce,
26
double3* d_extForce,
27
double
* h_extEnergy,
28
double
* d_extEnergy,
29
cudaTensor
* d_virial,
30
cudaTensor
* h_virial,
31
const
int
numGriddedAtoms,
32
unsigned
int
* d_tbcatomic,
33
cudaStream_t stream
34
35
);
36
37
38
#endif // NODEGROUP_FORCE_REGISTER
39
#endif // RESTRAINTSKERNEL_H
GridforceGridCUDAKernel.h
CudaUtils.h
cudaTensor
Definition:
CudaUtils.h:75
Lattice.h
Lattice
Definition:
Lattice.h:17
CudaRecord.h
Generated by
1.8.14