9 #include "SystemInterface.h" 10 #include "Simulation.h" 11 #include <simp/species/Species.h> 25 : simulationPtr_(parent.simulationPtr_),
27 moleculeSetsPtr_(parent.moleculeSetsPtr_),
28 boundaryPtr_(parent.boundaryPtr_)
30 , hasBonds_(parent.simulation().nBondType() > 0)
33 , hasAngles_(parent.simulation().nAngleType() > 0)
36 , hasDihedrals_(parent.simulation().nDihedralType() > 0)
39 , hasLinks_(parent.simulation().nLinkType() > 0)
42 , hasExternal_(parent.simulation().hasExternal())
45 , hasTethers_(parent.simulation().hasTether())
int nAtom() const
Get number of atoms per molecule for this Species.
bool isEmpty() const
Is this an empty SystemInterface (i.e., one with no molecules) ?
SystemInterface(System &parent)
Constructor.
A set of interacting Molecules enclosed by a Boundary.
Classes used by all simpatico molecular simulations.
int nAtom() const
Return the total number of atoms in this SystemInterface.
Simulation & simulation() const
Get the parent Simulation by reference.
Utility classes for scientific computation.
virtual ~SystemInterface()
Destructor.
int nMolecule(int speciesId) const
Get the number of molecules of one Species in this SystemInterface.
Single-processor Monte Carlo (MC) and molecular dynamics (MD).
int nSpecies() const
Get the number of Species in this Simulation.
Species & species(int i)
Get a specific Species by reference.