Tinker9 70bd052 (Thu Nov 9 12:11:35 2023 -0800)
Loading...
Searching...
No Matches
molecule.h
1#pragma once
2#include "ff/precision.h"
3#include "tool/rcman.h"
4
5namespace tinker {
8
11{
12 int nmol;
13 int (*imol)[2];
14 int* kmol;
15 int* molecule;
16 double totmass;
17 double* molmass;
18};
19
21struct Group
22{
23 int ngrp;
24 int* kgrp;
25 int* grplist;
26 int (*igrp)[2];
27 double* grpmass;
29};
30
34
35//====================================================================//
36// //
37// Global Variables //
38// //
39//====================================================================//
40
41const int couple_maxn12 = 8;
46
48}
#define TINKER_EXTERN
Definition: macro.h:108
double * molmass
Molecular weight for each molecule in the system.
Definition: molecule.h:17
real * wgrp
Weight for each set of group-group interactions.
Definition: molecule.h:28
double totmass
Total weight of all the molecules in the system.
Definition: molecule.h:16
int * molecule
Number of the molecule to which each atom belongs.
Definition: molecule.h:15
int * kgrp
Contiguous list of the atoms in each group.
Definition: molecule.h:24
int nmol
Total number of separate molecules in the system.
Definition: molecule.h:12
double * grpmass
Total mass of all the atoms in each group.
Definition: molecule.h:27
int(* imol)[2]
First and last atom of each molecule in the list.
Definition: molecule.h:13
int(* igrp)[2]
First and last atom of each group in the list.
Definition: molecule.h:26
int * grplist
Number of the group to which each atom belongs.
Definition: molecule.h:25
int ngrp
Total number of atom groups in the system.
Definition: molecule.h:23
int * kmol
Contiguous list of the atoms in each molecule.
Definition: molecule.h:14
Molecule molecule
int(* couple_i12)[couple_maxn12]
int * couple_n12
void coupleData(RcOp)
Group grp
void moleculeData(RcOp)
const int couple_maxn12
Definition: molecule.h:41
void groupData(RcOp)
Partitioning of system into atom groups.
Definition: molecule.h:22
Individual molecules in current system.
Definition: molecule.h:11
float real
Definition: precision.h:80
ResourceOperation
Definition: rcman.h:46
Definition: testrt.h:9