Simpatico  v1.10
Activate.h
1 #ifndef MCMD_ACTIVATE_H
2 #define MCMD_ACTIVATE_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 namespace McMd
12 {
13 
14  class Atom;
15  class Molecule;
16 
41  class Activate
42  {
43 
44  public:
45 
51  static void deactivate(Atom& atom);
52 
58  static void reactivate(Atom& atom);
59 
68  static void activate(Molecule& molecule);
69 
70  };
71 
72 }
73 #endif
Static member functions to de-active and re-active atoms.
Definition: Activate.h:41
static void activate(Molecule &molecule)
Activate all atoms and groups in one molecule.
Definition: Activate.cpp:126
static void reactivate(Atom &atom)
Re-activate a temporarily de-activated atom and update groups.
Definition: Activate.cpp:77
A point particle within a Molecule.
Single-processor Monte Carlo (MC) and molecular dynamics (MD).
A physical molecule (a set of covalently bonded Atoms).
static void deactivate(Atom &atom)
Temporarily de-activate one atom and update associated groups.
Definition: Activate.cpp:31