|
Simpatico
v1.10
|
An interface to an MdSystem.
Definition at line 30 of file MdSystemInterface.h.
#include <MdSystemInterface.h>
Public Member Functions | |
| MdSystemInterface (MdSystem &mdSystem) | |
| Constructor. More... | |
| virtual | ~MdSystemInterface () |
| Destructor. More... | |
Public Member Functions inherited from McMd::SystemInterface | |
| SystemInterface (System &parent) | |
| Constructor. More... | |
| virtual | ~SystemInterface () |
| Destructor. More... | |
| System & | system () const |
| Get the parent System by reference. More... | |
Protected Member Functions | |
| MdPairPotential & | pairPotential () const |
| Get the MdPairPotential. More... | |
| BondPotential & | bondPotential () const |
| Get the BondPotential. More... | |
| AnglePotential & | anglePotential () const |
| Get the AnglePotential. More... | |
| DihedralPotential & | dihedralPotential () const |
| Get the DihedralPotential. More... | |
| ExternalPotential & | externalPotential () const |
| Get the ExternalPotential. More... | |
Protected Member Functions inherited from McMd::SystemInterface | |
| Boundary & | boundary () const |
| Get the Boundary by reference. More... | |
| Simulation & | simulation () const |
| Get the parent Simulation by reference. More... | |
| int | nMolecule (int speciesId) const |
| Get the number of molecules of one Species in this SystemInterface. More... | |
| int | nAtom () const |
| Return the total number of atoms in this SystemInterface. More... | |
| bool | isEmpty () const |
| Is this an empty SystemInterface (i.e., one with no molecules) ? More... | |
| void | begin (int speciesId, System::MoleculeIterator &iterator) |
| Initialize an iterator for molecules of one species in this SystemInterface. More... | |
| void | begin (int speciesId, System::ConstMoleculeIterator &iterator) const |
| Initialize a const iterator for molecules of one species in this SystemInterface. More... | |
| bool | hasBonds () const |
| Does a bond potential exist? More... | |
| bool | hasAngles () const |
| Does an angle potential exist? More... | |
| bool | hasDihedrals () const |
| Does a dihedral potential exist? More... | |
| bool | hasLinks () const |
| Does a link potential exist? More... | |
| bool | hasExternal () const |
| Does an external potential exist? More... | |
| McMd::MdSystemInterface::MdSystemInterface | ( | MdSystem & | mdSystem | ) |
Constructor.
| mdSystem | parent MdSystem |
Definition at line 21 of file MdSystemInterface.cpp.
References McMd::MdSystem::anglePotential(), McMd::MdSystem::bondPotential(), McMd::MdSystem::dihedralPotential(), McMd::MdSystem::externalPotential(), McMd::SystemInterface::hasAngles(), McMd::SystemInterface::hasBonds(), McMd::SystemInterface::hasDihedrals(), McMd::SystemInterface::hasExternal(), and McMd::MdSystem::pairPotential().
|
virtual |
Destructor.
Definition at line 67 of file MdSystemInterface.cpp.
|
inlineprotected |
Get the MdPairPotential.
Definition at line 114 of file MdSystemInterface.h.
|
inlineprotected |
Get the BondPotential.
Definition at line 122 of file MdSystemInterface.h.
|
inlineprotected |
Get the AnglePotential.
Definition at line 130 of file MdSystemInterface.h.
|
inlineprotected |
Get the DihedralPotential.
Definition at line 138 of file MdSystemInterface.h.
|
inlineprotected |
Get the ExternalPotential.
Definition at line 146 of file MdSystemInterface.h.
1.8.11