File: reax_defs.h

package info (click to toggle)
lammps 0~20181211.gitad1b1897d%2Bdfsg1-2
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 318,860 kB
  • sloc: cpp: 729,569; python: 40,508; xml: 14,919; fortran: 12,142; ansic: 7,454; sh: 5,565; perl: 4,105; f90: 2,700; makefile: 2,117; objc: 238; lisp: 163; tcl: 61; csh: 16; awk: 14
file content (70 lines) | stat: -rw-r--r-- 3,564 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
#define PORTABLECOMMENTFLAG
#ifndef PORTABLECOMMENTFLAG
// This is just a way to have portable comments 
// for both C++ and FORTRAN preprocessing.
 /* ///:EOH~                                                                 */
 /*                                                                          */
 /* This file contains array dimension parameters for all the main           */
 /* ReaxFF data structures, some of which need to be directly accessed       */
 /* by Grasp C++ functions. If they are set too small, the calculation       */
 /* will run out of allocated memory. If they are set too big, the machine   */
 /* will not be able to allocate enough memory.                              */
 /*                                                                          */
 
 /*     NNEIGHMAXDEF =   Max number of neighbors / NATDEF                    */
 /*     NATDEF =         Max number of atoms                                 */
 /*     NATTOTDEF =      Max number of global atoms                          */
 /*     NSORTDEF =       Max number of atom types                            */
 /*     MBONDDEF =       Max number of bonds connected to one atom           */
 /*     NAVIBDEF =       for 2nd derivatives                                 */
 /*     NBOTYMDEF =      Max number of bond types                            */
 /*     NVATYMDEF =      Max number of valency angle types                   */
 /*     NTOTYMDEF =      Max number of torsion angle types                   */
 /*     NHBTYMDEF =      Max number of hydrogen bond types                   */
 /*     NODMTYMDEF =     Max number of off-diagonal Morse types              */
 /*     NBOALLMAXDEF =   Max number of all bonds                             */
 /*     NBOMAXDEF =      Max number of bonds                                 */
 /*     NHBMAXDEF =      Max number of  hydrogen bonds                       */
 /*     NVAMAXDEF =      Max number of valency angles                        */
 /*     NOPMAXDEF =      Max number of out of plane angles                   */
 /*     NTOMAXDEF =      Max number of torsion angles                        */
 /*     NPAMAXDEF =      Max number of general parameters in force field     */
 /*     NMOLMAXDEF =     Max number of molecules in system                   */
 /*     NMOLSETDEF =     Max number of molecules in training set             */
 /*     MRESTRADEF =     Max number of restraints                            */
 /*     MTREGDEF =       Max number of temperature regimes                   */
 /*     MTZONEDEF =      Max number of temperature zones                     */
 /*     MVREGDEF =       Max number of volume regimes                        */
 /*     MVZONEDEF =      Max number of volume zones                          */
 /*     MEREGDEF =       Max number of electric field regimes                */
 /*     MEZONEDEF =      Max number of electric field zones                  */
#endif

#define NNEIGHMAXDEF 120
#define NATDEF 40000
#define NATTOTDEF 39744
#define NSORTDEF 20
#define MBONDDEF 20
#define NAVIBDEF 50
#define NBOTYMDEF 200
#define NVATYMDEF 200
#define NTOTYMDEF 200
#define NHBTYMDEF 200
#define NODMTYMDEF 20
#define NBOALLMAXDEF 180000
#define NBOMAXDEF 90000
#define NHBMAXDEF 400000
#define NVAMAXDEF 300000
#define NOPMAXDEF 00010
#define NTOMAXDEF 65000
#define NPAMAXDEF 50
#define NMOLMAXDEF 2000
#define NMOLSETDEF 1500
#define MRESTRADEF 100
#define MTREGDEF 100
#define MTZONEDEF 5
#define MVREGDEF 100
#define MVZONEDEF 6
#define MEREGDEF 100
#define MEZONEDEF 3