Simpatico
v1.10
|
An interface to an McSystem.
Definition at line 30 of file McSystemInterface.h.
#include <McSystemInterface.h>
Public Member Functions | |
McSystemInterface (McSystem &mcSystem) | |
Constructor. More... | |
virtual | ~McSystemInterface () |
Destructor. More... | |
![]() | |
SystemInterface (System &parent) | |
Constructor. More... | |
virtual | ~SystemInterface () |
Destructor. More... | |
System & | system () const |
Get the parent System by reference. More... | |
Protected Member Functions | |
McPairPotential & | pairPotential () const |
Get the McPairPotential. 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... | |
![]() | |
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::McSystemInterface::McSystemInterface | ( | McSystem & | mcSystem | ) |
Constructor.
mcSystem | parent McSystem |
Definition at line 21 of file McSystemInterface.cpp.
References McMd::McSystem::anglePotential(), McMd::McSystem::bondPotential(), McMd::McSystem::dihedralPotential(), McMd::McSystem::externalPotential(), McMd::SystemInterface::hasAngles(), McMd::SystemInterface::hasBonds(), McMd::SystemInterface::hasDihedrals(), McMd::SystemInterface::hasExternal(), and McMd::McSystem::pairPotential().
|
virtual |
Destructor.
Definition at line 67 of file McSystemInterface.cpp.
|
inlineprotected |
Get the McPairPotential.
Definition at line 114 of file McSystemInterface.h.
|
inlineprotected |
Get the BondPotential.
Definition at line 122 of file McSystemInterface.h.
|
inlineprotected |
Get the AnglePotential.
Definition at line 130 of file McSystemInterface.h.
|
inlineprotected |
Get the DihedralPotential.
Definition at line 138 of file McSystemInterface.h.
|
inlineprotected |
Get the ExternalPotential.
Definition at line 146 of file McSystemInterface.h.