Simpatico  v1.10
tools/chemistry/Atom.h
1 #ifndef TOOLS_ATOM_H
2 #define TOOLS_ATOM_H
3 
4 /*
5 * Simpatico - Simulation Package for Polymeric and Molecular Liquids
6 *
7 * Copyright 2010 - 2017, The Regents of the University of Minnesota
8 * Distributed under the terms of the GNU General Public License.
9 */
10 
11 #include <util/space/Vector.h> // members
12 
13 namespace Tools
14 {
15 
16  using namespace Util;
17 
23  struct Atom
24  {
25 
26  public:
27 
30 
33 
35  int typeId;
36 
38  int id;
39 
41  int speciesId;
42 
44  int moleculeId;
45 
47  int atomId;
48 
49  /*
50  * The speciesId, moleculeId and atomId indices are not contained
51  * in all configuration file formats, and are thus optional.
52  */
53 
54  };
55 
56 }
57 #endif
Vector velocity
Atom velocity.
A Vector is a Cartesian vector.
Definition: Vector.h:75
int speciesId
Index for species of parent molecule.
int id
Unique global index (tag)
int typeId
Atom type index.
Utility classes for scientific computation.
Definition: accumulators.mod:1
Single-processor classes for pre- and post-processing MD trajectories.
int atomId
Index of atom within its molecule.
A point particle in an MD simulation.
Vector position
Atom position.
int moleculeId
Index of molecule with its species.