Tinker9 70bd052 (Thu Nov 9 12:11:35 2023 -0800)
Loading...
Searching...
No Matches
atom.h
1#pragma once
2#include "ff/precision.h"
3#include "tool/rcman.h"
4#include <fstream>
5
6namespace tinker {
9
10void nData(RcOp);
13
17
21void copyPosToXyz(bool refreshNBList);
22
30void bounds();
31
32//====================================================================//
33// //
34// Global Variables //
35// //
36//====================================================================//
37
39TINKER_EXTERN int n;
41
48
63static_assert(sizeof(pos_prec) >= sizeof(real), "Type pos_prec cannot be shorter than type real.");
64
65TINKER_EXTERN double* mass;
66TINKER_EXTERN double* massinv;
67
69}
#define TINKER_EXTERN
Definition: macro.h:108
real * trajz
Coordinates of all the trajectory frames.
void massData(RcOp)
double * mass
Atomic mass.
void copyPosToXyz()
int trajn
Number of atoms.
pos_prec * ypos
Definition: atom.h:62
real * z
Current coordinates used in energy evaluation and neighbor lists.
int padded_n
real * x
Number of the trajectory frames.
real * trajx
Coordinates of all the trajectory frames.
void bounds()
pos_prec * zpos
Definition: atom.h:62
int n
Number of atoms padded by WARP_SIZE.
real * y
Current coordinates used in energy evaluation and neighbor lists.
void nData(RcOp)
real * trajy
Coordinates of all the trajectory frames.
void xyzData(RcOp)
double * massinv
Inversed atomic mass.
pos_prec * xpos
mixed pos_prec
Floating-point type for coordinates.
Definition: precision.h:93
float real
Definition: precision.h:80
ResourceOperation
Definition: rcman.h:46
Definition: testrt.h:9