|
OpenMD 3.2
Molecular Dynamics in the Open
|
Public Member Functions | |
| SelectionManager (SimInfo *info) | |
| void | addSelection (StuntDouble *sd) |
| void | addSelection (Bond *b) |
| void | addSelection (Bend *b) |
| void | addSelection (Torsion *t) |
| void | addSelection (Inversion *i) |
| void | addSelection (Molecule *m) |
| void | addSelectionSet (const SelectionSet &bs) |
| void | addBondSelectionSet (const SelectionSet &bs) |
| void | addBendSelectionSet (const SelectionSet &bs) |
| void | addTorsionSelectionSet (const SelectionSet &bs) |
| void | addInversionSelectionSet (const SelectionSet &bs) |
| void | addMoleculeSelectionSet (const SelectionSet &bs) |
| bool | isEmpty () |
| void | setSelectionSet (const SelectionSet &bs) |
| void | setBondSelectionSet (const SelectionSet &bs) |
| void | setBendSelectionSet (const SelectionSet &bs) |
| void | setTorsionSelectionSet (const SelectionSet &bs) |
| void | setInversionSelectionSet (const SelectionSet &bs) |
| void | setMoleculeSelectionSet (const SelectionSet &bs) |
| std::vector< int > | getSelectionCounts () |
| int | getSelectionCount () |
| int | getBondSelectionCount () |
| int | getBendSelectionCount () |
| int | getTorsionSelectionCount () |
| int | getInversionSelectionCount () |
| int | getMoleculeSelectionCount () |
| SelectionSet | getSelectionSet () |
| void | setSelection (StuntDouble *sd) |
| void | setSelection (Bond *b) |
| void | setSelection (Bend *b) |
| void | setSelection (Torsion *t) |
| void | setSelection (Inversion *i) |
| void | setSelection (Molecule *m) |
| void | toggleSelection (StuntDouble *sd) |
| void | toggleSelection (Bond *b) |
| void | toggleSelection (Bend *b) |
| void | toggleSelection (Torsion *t) |
| void | toggleSelection (Inversion *i) |
| void | toggleSelection (Molecule *m) |
| void | toggleSelection () |
| void | selectAll () |
| void | clearSelection () |
| SelectionManager | replaceRigidBodiesWithAtoms () const |
| SelectionManager | removeAtomsInRigidBodies () const |
| void | clearSelection (StuntDouble *sd) |
| void | clearSelection (Bond *b) |
| void | clearSelection (Bend *b) |
| void | clearSelection (Torsion *t) |
| void | clearSelection (Inversion *i) |
| void | clearSelection (Molecule *m) |
| bool | isGlobalIDSelected (int globalIndex) |
| bool | isSelected (StuntDouble *sd) |
| bool | isSelected (Bond *b) |
| bool | isSelected (Bend *b) |
| bool | isSelected (Torsion *t) |
| bool | isSelected (Inversion *i) |
| bool | isSelected (Molecule *m) |
| StuntDouble * | beginSelected (int &i) |
| Finds the first selected StuntDouble in the selection. | |
| StuntDouble * | nextSelected (int &i) |
| Finds the next selected StuntDouble in the selection. | |
| StuntDouble * | beginUnselected (int &i) |
| Finds the first unselected StuntDouble. | |
| StuntDouble * | nextUnselected (int &i) |
| Finds the next unselected StuntDouble. | |
| Bond * | beginSelectedBond (int &i) |
| Finds the first selected Bond in the selection. | |
| Bond * | nextSelectedBond (int &i) |
| Finds the next selected Bond in the selection. | |
| Bond * | beginUnselectedBond (int &i) |
| Finds the first unselected Bond. | |
| Bond * | nextUnselectedBond (int &i) |
| Finds the next unselected Bond. | |
| Bend * | beginSelectedBend (int &i) |
| Finds the first selected Bend in the selection. | |
| Bend * | nextSelectedBend (int &i) |
| Finds the next selected Bend in the selection. | |
| Bend * | beginUnselectedBend (int &i) |
| Finds the first unselected Bend. | |
| Bend * | nextUnselectedBend (int &i) |
| Finds the next unselected Bend. | |
| Torsion * | beginSelectedTorsion (int &i) |
| Finds the first selected Torsion in the selection. | |
| Torsion * | nextSelectedTorsion (int &i) |
| Finds the next selected Torsion in the selection. | |
| Torsion * | beginUnselectedTorsion (int &i) |
| Finds the first unselected Torsion. | |
| Torsion * | nextUnselectedTorsion (int &i) |
| Finds the next unselected Torsion. | |
| Inversion * | beginSelectedInversion (int &i) |
| Finds the first selected Inversion in the selection. | |
| Inversion * | nextSelectedInversion (int &i) |
| Finds the next selected Inversion in the selection. | |
| Inversion * | beginUnselectedInversion (int &i) |
| Finds the first unselected Inversion. | |
| Inversion * | nextUnselectedInversion (int &i) |
| Finds the next unselected Inversion. | |
| Molecule * | beginSelectedMolecule (int &i) |
| Finds the first selected Molecule in the selection. | |
| Molecule * | nextSelectedMolecule (int &i) |
| Finds the next selected Molecule in the selection. | |
| Molecule * | beginUnselectedMolecule (int &i) |
| Finds the first unselected Molecule. | |
| Molecule * | nextUnselectedMolecule (int &i) |
| Finds the next unselected Molecule. | |
| Molecule * | nthSelectedMolecule (int &n) |
| Finds the n^th selected Molecule in the selection. | |
| AtomTypeSet | getSelectedAtomTypes () |
| getSelectedAtomTypes | |
| MoleculeStampSet | getSelectedMoleculeStamps () |
| SelectionManager & | operator&= (const SelectionManager &sman) |
| SelectionManager & | operator|= (const SelectionManager &sman) |
| SelectionManager & | operator^= (const SelectionManager &sman) |
| SelectionManager & | operator-= (const SelectionManager &sman) |
Friends | |
| SelectionManager | operator| (const SelectionManager &sman1, const SelectionManager &sman2) |
| SelectionManager | operator& (const SelectionManager &sman1, const SelectionManager &sman2) |
| SelectionManager | operator^ (const SelectionManager &sman1, const SelectionManager &sman2) |
| SelectionManager | operator- (const SelectionManager &sman1, const SelectionManager &sman2) |
Definition at line 62 of file SelectionManager.hpp.
| OpenMD::SelectionManager::SelectionManager | ( | SimInfo * | info | ) |
Definition at line 57 of file SelectionManager.cpp.
|
inline |
Definition at line 91 of file SelectionManager.hpp.
|
inline |
Definition at line 88 of file SelectionManager.hpp.
|
inline |
Definition at line 97 of file SelectionManager.hpp.
|
inline |
Definition at line 100 of file SelectionManager.hpp.
|
inline |
Definition at line 72 of file SelectionManager.hpp.
|
inline |
Definition at line 69 of file SelectionManager.hpp.
|
inline |
Definition at line 78 of file SelectionManager.hpp.
|
inline |
Definition at line 81 of file SelectionManager.hpp.
|
inline |
Definition at line 66 of file SelectionManager.hpp.
|
inline |
Definition at line 75 of file SelectionManager.hpp.
|
inline |
Definition at line 85 of file SelectionManager.hpp.
|
inline |
Definition at line 94 of file SelectionManager.hpp.
| StuntDouble * OpenMD::SelectionManager::beginSelected | ( | int & | i | ) |
Finds the first selected StuntDouble in the selection.
In parallel, this is the first selected StuntDouble that is the responsibility of the local processor, not the first StuntDouble in the global selection.
| i | iterator used to keep track of the selection |
Definition at line 121 of file SelectionManager.cpp.
References beginSelected(), and OpenMD::STUNTDOUBLE.
Referenced by beginSelected().
| Bend * OpenMD::SelectionManager::beginSelectedBend | ( | int & | i | ) |
Finds the first selected Bend in the selection.
In parallel, this is the first selected Bend that is the responsibility of the local processor, not the first Bend in the global selection.
| i | iterator used to keep track of the selection |
Definition at line 257 of file SelectionManager.cpp.
References beginSelectedBend(), and OpenMD::BEND.
Referenced by beginSelectedBend().
| Bond * OpenMD::SelectionManager::beginSelectedBond | ( | int & | i | ) |
Finds the first selected Bond in the selection.
In parallel, this is the first selected Bond that is the responsibility of the local processor, not the first Bond in the global selection.
| i | iterator used to keep track of the selection |
Definition at line 189 of file SelectionManager.cpp.
References beginSelectedBond(), and OpenMD::BOND.
Referenced by beginSelectedBond().
| Inversion * OpenMD::SelectionManager::beginSelectedInversion | ( | int & | i | ) |
Finds the first selected Inversion in the selection.
In parallel, this is the first selected Inversion that is the responsibility of the local processor, not the first Inversion in the global selection.
| i | iterator used to keep track of the selection |
Definition at line 393 of file SelectionManager.cpp.
References beginSelectedInversion(), and OpenMD::INVERSION.
Referenced by beginSelectedInversion().
| Molecule * OpenMD::SelectionManager::beginSelectedMolecule | ( | int & | i | ) |
Finds the first selected Molecule in the selection.
In parallel, this is the first selected Molecule that is the responsibility of the local processor, not the first Molecule in the global selection.
| i | iterator used to keep track of the selection |
Definition at line 461 of file SelectionManager.cpp.
References beginSelectedMolecule(), and OpenMD::MOLECULE.
Referenced by beginSelectedMolecule().
| Torsion * OpenMD::SelectionManager::beginSelectedTorsion | ( | int & | i | ) |
Finds the first selected Torsion in the selection.
In parallel, this is the first selected Torsion that is the responsibility of the local processor, not the first Torsion in the global selection.
| i | iterator used to keep track of the selection |
Definition at line 325 of file SelectionManager.cpp.
References beginSelectedTorsion(), and OpenMD::TORSION.
Referenced by beginSelectedTorsion().
| StuntDouble * OpenMD::SelectionManager::beginUnselected | ( | int & | i | ) |
Finds the first unselected StuntDouble.
In parallel, this is the first unselected StuntDouble that is the responsibility of the local processor, not the first StuntDouble in the global unselected pool.
| i | iterator used to keep track of the selection |
Definition at line 155 of file SelectionManager.cpp.
References beginUnselected(), and OpenMD::STUNTDOUBLE.
Referenced by beginUnselected().
| Bend * OpenMD::SelectionManager::beginUnselectedBend | ( | int & | i | ) |
Finds the first unselected Bend.
In parallel, this is the first unselected Bend that is the responsibility of the local processor, not the first Bend in the global unselected pool.
| i | iterator used to keep track of the selection |
Definition at line 291 of file SelectionManager.cpp.
References beginUnselectedBend(), and OpenMD::BEND.
Referenced by beginUnselectedBend().
| Bond * OpenMD::SelectionManager::beginUnselectedBond | ( | int & | i | ) |
Finds the first unselected Bond.
In parallel, this is the first unselected Bond that is the responsibility of the local processor, not the first Bond in the global unselected pool.
| i | iterator used to keep track of the selection |
Definition at line 223 of file SelectionManager.cpp.
References beginUnselectedBond(), and OpenMD::BOND.
Referenced by beginUnselectedBond().
| Inversion * OpenMD::SelectionManager::beginUnselectedInversion | ( | int & | i | ) |
Finds the first unselected Inversion.
In parallel, this is the first unselected Inversion that is the responsibility of the local processor, not the first Inversion in the global unselected pool.
| i | iterator used to keep track of the selection |
Definition at line 427 of file SelectionManager.cpp.
References beginUnselectedInversion(), and OpenMD::INVERSION.
Referenced by beginUnselectedInversion().
| Molecule * OpenMD::SelectionManager::beginUnselectedMolecule | ( | int & | i | ) |
Finds the first unselected Molecule.
In parallel, this is the first unselected Molecule that is the responsibility of the local processor, not the first Molecule in the global unselected pool.
| i | iterator used to keep track of the selection |
Definition at line 495 of file SelectionManager.cpp.
References beginUnselectedMolecule(), and OpenMD::MOLECULE.
Referenced by beginUnselectedMolecule().
| Torsion * OpenMD::SelectionManager::beginUnselectedTorsion | ( | int & | i | ) |
Finds the first unselected Torsion.
In parallel, this is the first unselected Torsion that is the responsibility of the local processor, not the first Torsion in the global unselected pool.
| i | iterator used to keep track of the selection |
Definition at line 359 of file SelectionManager.cpp.
References beginUnselectedTorsion(), and OpenMD::TORSION.
Referenced by beginUnselectedTorsion().
|
inline |
Definition at line 221 of file SelectionManager.hpp.
|
inline |
Definition at line 235 of file SelectionManager.hpp.
|
inline |
Definition at line 232 of file SelectionManager.hpp.
|
inline |
Definition at line 241 of file SelectionManager.hpp.
|
inline |
Definition at line 244 of file SelectionManager.hpp.
|
inline |
Definition at line 229 of file SelectionManager.hpp.
|
inline |
Definition at line 238 of file SelectionManager.hpp.
|
inline |
Definition at line 144 of file SelectionManager.hpp.
|
inline |
Definition at line 143 of file SelectionManager.hpp.
|
inline |
Definition at line 146 of file SelectionManager.hpp.
|
inline |
Definition at line 149 of file SelectionManager.hpp.
| AtomTypeSet OpenMD::SelectionManager::getSelectedAtomTypes | ( | ) |
getSelectedAtomTypes
Returns an STL set of AtomType* that are actually selected. Must query all processors to assemble this information.
Definition at line 550 of file SelectionManager.cpp.
References OpenMD::Atom::getAtomType(), OpenMD::ForceField::getAtomType(), getSelectedAtomTypes(), and OpenMD::STUNTDOUBLE.
Referenced by getSelectedAtomTypes().
| MoleculeStampSet OpenMD::SelectionManager::getSelectedMoleculeStamps | ( | ) |
Definition at line 626 of file SelectionManager.cpp.
|
inline |
Definition at line 142 of file SelectionManager.hpp.
|
inline |
Definition at line 134 of file SelectionManager.hpp.
|
inline |
Definition at line 152 of file SelectionManager.hpp.
|
inline |
Definition at line 145 of file SelectionManager.hpp.
|
inline |
Definition at line 104 of file SelectionManager.hpp.
|
inline |
Definition at line 248 of file SelectionManager.hpp.
|
inline |
Definition at line 255 of file SelectionManager.hpp.
|
inline |
Definition at line 254 of file SelectionManager.hpp.
|
inline |
Definition at line 259 of file SelectionManager.hpp.
|
inline |
Definition at line 262 of file SelectionManager.hpp.
|
inline |
Definition at line 251 of file SelectionManager.hpp.
|
inline |
Definition at line 256 of file SelectionManager.hpp.
| StuntDouble * OpenMD::SelectionManager::nextSelected | ( | int & | i | ) |
Finds the next selected StuntDouble in the selection.
In parallel, this is the next selected StuntDouble that is the responsibility of the local processor, not the next StuntDouble in the global selection.
| i | iterator used to keep track of the selection |
Definition at line 138 of file SelectionManager.cpp.
References nextSelected(), and OpenMD::STUNTDOUBLE.
Referenced by nextSelected().
| Bend * OpenMD::SelectionManager::nextSelectedBend | ( | int & | i | ) |
Finds the next selected Bend in the selection.
In parallel, this is the next selected Bend that is the responsibility of the local processor, not the next Bend in the global selection.
| i | iterator used to keep track of the selection |
Definition at line 274 of file SelectionManager.cpp.
References OpenMD::BEND, and nextSelectedBend().
Referenced by nextSelectedBend().
| Bond * OpenMD::SelectionManager::nextSelectedBond | ( | int & | i | ) |
Finds the next selected Bond in the selection.
In parallel, this is the next selected Bond that is the responsibility of the local processor, not the next Bond in the global selection.
| i | iterator used to keep track of the selection |
Definition at line 206 of file SelectionManager.cpp.
References OpenMD::BOND, and nextSelectedBond().
Referenced by nextSelectedBond().
| Inversion * OpenMD::SelectionManager::nextSelectedInversion | ( | int & | i | ) |
Finds the next selected Inversion in the selection.
In parallel, this is the next selected Inversion that is the responsibility of the local processor, not the next Inversion in the global selection.
| i | iterator used to keep track of the selection |
Definition at line 410 of file SelectionManager.cpp.
References OpenMD::INVERSION, and nextSelectedInversion().
Referenced by nextSelectedInversion().
| Molecule * OpenMD::SelectionManager::nextSelectedMolecule | ( | int & | i | ) |
Finds the next selected Molecule in the selection.
In parallel, this is the next selected Molecule that is the responsibility of the local processor, not the next Molecule in the global selection.
| i | iterator used to keep track of the selection |
Definition at line 478 of file SelectionManager.cpp.
References OpenMD::MOLECULE, and nextSelectedMolecule().
Referenced by nextSelectedMolecule().
| Torsion * OpenMD::SelectionManager::nextSelectedTorsion | ( | int & | i | ) |
Finds the next selected Torsion in the selection.
In parallel, this is the next selected Torsion that is the responsibility of the local processor, not the next Torsion in the global selection.
| i | iterator used to keep track of the selection |
Definition at line 342 of file SelectionManager.cpp.
References nextSelectedTorsion(), and OpenMD::TORSION.
Referenced by nextSelectedTorsion().
| StuntDouble * OpenMD::SelectionManager::nextUnselected | ( | int & | i | ) |
Finds the next unselected StuntDouble.
In parallel, this is the next unselected StuntDouble that is the responsibility of the local processor, not the next StuntDouble in the global unselected pool.
| i | iterator used to keep track of the selection |
Definition at line 172 of file SelectionManager.cpp.
References nextUnselected(), and OpenMD::STUNTDOUBLE.
Referenced by nextUnselected().
| Bend * OpenMD::SelectionManager::nextUnselectedBend | ( | int & | i | ) |
Finds the next unselected Bend.
In parallel, this is the next unselected Bend that is the responsibility of the local processor, not the next Bend in the global unselected pool.
| i | iterator used to keep track of the selection |
Definition at line 308 of file SelectionManager.cpp.
References OpenMD::BEND, and nextUnselectedBend().
Referenced by nextUnselectedBend().
| Bond * OpenMD::SelectionManager::nextUnselectedBond | ( | int & | i | ) |
Finds the next unselected Bond.
In parallel, this is the next unselected Bond that is the responsibility of the local processor, not the next Bond in the global unselected pool.
| i | iterator used to keep track of the selection |
Definition at line 240 of file SelectionManager.cpp.
References OpenMD::BOND, and nextUnselectedBond().
Referenced by nextUnselectedBond().
| Inversion * OpenMD::SelectionManager::nextUnselectedInversion | ( | int & | i | ) |
Finds the next unselected Inversion.
In parallel, this is the next unselected Inversion that is the responsibility of the local processor, not the next Inversion in the global unselected pool.
| i | iterator used to keep track of the selection |
Definition at line 444 of file SelectionManager.cpp.
References OpenMD::INVERSION, and nextUnselectedInversion().
Referenced by nextUnselectedInversion().
| Molecule * OpenMD::SelectionManager::nextUnselectedMolecule | ( | int & | i | ) |
Finds the next unselected Molecule.
In parallel, this is the next unselected Molecule that is the responsibility of the local processor, not the next Molecule in the global unselected pool.
| i | iterator used to keep track of the selection |
Definition at line 512 of file SelectionManager.cpp.
References OpenMD::MOLECULE, and nextUnselectedMolecule().
Referenced by nextUnselectedMolecule().
| Torsion * OpenMD::SelectionManager::nextUnselectedTorsion | ( | int & | i | ) |
Finds the next unselected Torsion.
In parallel, this is the next unselected Torsion that is the responsibility of the local processor, not the next Torsion in the global unselected pool.
| i | iterator used to keep track of the selection |
Definition at line 376 of file SelectionManager.cpp.
References nextUnselectedTorsion(), and OpenMD::TORSION.
Referenced by nextUnselectedTorsion().
| Molecule * OpenMD::SelectionManager::nthSelectedMolecule | ( | int & | n | ) |
Finds the n^th selected Molecule in the selection.
In parallel, if this molecule is not the responsibility of the local processor, a NULL is returned.
| n | which molecule in the selection set to find |
Definition at line 529 of file SelectionManager.cpp.
References OpenMD::MOLECULE, and nthSelectedMolecule().
Referenced by nthSelectedMolecule().
|
inline |
Definition at line 498 of file SelectionManager.hpp.
|
inline |
Definition at line 516 of file SelectionManager.hpp.
|
inline |
Definition at line 510 of file SelectionManager.hpp.
|
inline |
Definition at line 504 of file SelectionManager.hpp.
| SelectionManager OpenMD::SelectionManager::removeAtomsInRigidBodies | ( | ) | const |
Definition at line 719 of file SelectionManager.cpp.
| SelectionManager OpenMD::SelectionManager::replaceRigidBodiesWithAtoms | ( | ) | const |
Definition at line 686 of file SelectionManager.cpp.
|
inline |
Definition at line 216 of file SelectionManager.hpp.
|
inline |
Definition at line 121 of file SelectionManager.hpp.
|
inline |
Definition at line 118 of file SelectionManager.hpp.
|
inline |
Definition at line 127 of file SelectionManager.hpp.
|
inline |
Definition at line 130 of file SelectionManager.hpp.
|
inline |
Definition at line 175 of file SelectionManager.hpp.
|
inline |
Definition at line 171 of file SelectionManager.hpp.
|
inline |
Definition at line 183 of file SelectionManager.hpp.
|
inline |
Definition at line 187 of file SelectionManager.hpp.
|
inline |
Definition at line 167 of file SelectionManager.hpp.
|
inline |
Definition at line 179 of file SelectionManager.hpp.
|
inline |
Definition at line 110 of file SelectionManager.hpp.
|
inline |
Definition at line 124 of file SelectionManager.hpp.
|
inline |
Definition at line 211 of file SelectionManager.hpp.
|
inline |
Definition at line 198 of file SelectionManager.hpp.
|
inline |
Definition at line 195 of file SelectionManager.hpp.
|
inline |
Definition at line 204 of file SelectionManager.hpp.
|
inline |
Definition at line 207 of file SelectionManager.hpp.
|
inline |
Definition at line 192 of file SelectionManager.hpp.
|
inline |
Definition at line 201 of file SelectionManager.hpp.
|
friend |
Definition at line 752 of file SelectionManager.cpp.
|
friend |
Definition at line 766 of file SelectionManager.cpp.
|
friend |
Definition at line 759 of file SelectionManager.cpp.
|
friend |
Definition at line 745 of file SelectionManager.cpp.