
#include <GenericTopology.h>
Inheritance diagram for ProtoMol::GenericTopology:

Public Member Functions | |
| GenericTopology () | |
| GenericTopology (Real c, const ExclusionType &e) | |
| virtual | ~GenericTopology () |
| virtual Real | getVolume (const Vector3DBlock &positions) const=0 |
| virtual Real | getVolume () const=0 |
| virtual void | rescaleVolume (Real fac)=0 |
| virtual void | uncacheCellList ()=0 |
| virtual std::vector< Parameter > | getDefaults (const Vector3DBlock &positions) const=0 |
| virtual void | getBoundingbox (const Vector3DBlock &positions, Vector3D &min, Vector3D &max) const=0 |
| virtual void | getBoundaryConditionsBox (Vector3D &min, Vector3D &max) const=0 |
| virtual Vector3D | minimalDifference (const Vector3D &c1, const Vector3D &c2) const=0 |
| virtual Vector3D | minimalPosition (const Vector3D &c) const=0 |
| virtual bool | checkMoleculePairDistances (const Vector3DBlock &positions) const=0 |
| virtual void | minimalImage (Vector3DBlock &positions)=0 |
| virtual std::string | print (const Vector3DBlock *positions=NULL) const=0 |
| GenericTopology * | make (std::string &errMsg, const std::vector< Value > &values) const |
| virtual std::string | getScope () const |
Static Public Member Functions | |
| const std::string & | getKeyword () |
Public Attributes | |
| std::vector< Atom > | atoms |
| std::vector< AtomType > | atomTypes |
| std::vector< Bond > | bonds |
| std::vector< Angle > | angles |
| std::vector< Torsion > | dihedrals |
| std::vector< Torsion > | impropers |
| std::vector< Molecule > | molecules |
| ExclusionTable | exclusions |
| ExclusionType | exclude |
| LennardJonesParameterTable | lennardJonesParameters |
| Real | coulombScalingFactor |
| Real | time |
| Vector3D | min |
| Vector3D | max |
| BankLennardJonesParameterTable | isgLJParms |
| std::vector< int > | iSGNumMols |
| int | degreesOfFreedom |
| std::vector< Bond::Constraint > | bondRattleShakeConstraints |
| bool | minimalMolecularDistances |
Static Public Attributes | |
| const std::string | scope |
| const std::string | keyword |
Private Member Functions | |
| virtual GenericTopology * | doMake (std::string &errMsg, std::vector< Value > values) const=0 |
There are a couple of service depending on Topology<class BC, class CM>, which are passed through such one can access them, but one may consider the price of calling virtual methods.
The design was motived by these facts:
|
|
|
|
||||||||||||
|
|
|
|
|
|
|
checks whether the plain distances between all atoms on each molecule are the same as with applying the boundary conditions. If true, there is no molecule, which is wrapped around. Implemented in ProtoMol::SemiGenericTopology< TBoundaryConditions >. |
|
||||||||||||
|
Implemented in ProtoMol::Topology< TBoundaryConditions, TCellManager >. |
|
||||||||||||
|
returns the bounding box of the boundary conditions
Implemented in ProtoMol::SemiGenericTopology< TBoundaryConditions >. |
|
||||||||||||||||
|
computes the minimal bounding box of the positions taking into account of the boundary conditions
Implemented in ProtoMol::SemiGenericTopology< TBoundaryConditions >. |
|
|
Sets default parameters basaed on particle positions for cell manager and bounary conditions.
Implemented in ProtoMol::SemiGenericTopology< TBoundaryConditions >. |
|
|
|
|
|
Implements ProtoMol::Makeable. |
|
|
Volume by boundary conditions.
Implemented in ProtoMol::SemiGenericTopology< TBoundaryConditions >. |
|
|
Actual volume of the simulation box or the particles.
Implemented in ProtoMol::SemiGenericTopology< TBoundaryConditions >. |
|
||||||||||||
|
|
|
||||||||||||
|
Perform a minimal-image subtraction.
Implemented in ProtoMol::SemiGenericTopology< TBoundaryConditions >. |
|
|
translates all positions of a each molecule such that the plain distances between them yields and that the center of mass is inside the minimal image/basis cell. It may not work for molecules which are bigger then half of the simulation cell. Implemented in ProtoMol::SemiGenericTopology< TBoundaryConditions >. |
|
|
Find the position in the basis/original cell/image.
Implemented in ProtoMol::SemiGenericTopology< TBoundaryConditions >. |
|
|
Implemented in ProtoMol::Topology< TBoundaryConditions, TCellManager >. |
|
|
rescales the volume of the system cell/minimal image
Implemented in ProtoMol::SemiGenericTopology< TBoundaryConditions >. |
|
|
Tags the cell list as out of date.
Implemented in ProtoMol::Topology< TBoundaryConditions, TCellManager >. |
|
|
|
|
|
|
|
|
|
|
|
list of bond constraints (RATTLE/SHAKE)
|
|
|
|
|
|
coulomb scaling factor for modified 1-4 exclusions
|
|
|
the number of degrees of freedom in the system this number is needed to make sure we are properly computing the temperature the number of degrees of freedom is = 3 * (# of atoms) - (# of constraints) |
|
|
|
|
|
type of exclusion on intra-molecular interactions
|
|
|
look-up table of exclusions
|
|
|
|
|
|
a bank of LennardJonesParameterTables needed only for iSGMD
|
|
|
the # of molecules of each component
|
|
|
|
|
|
Lennard-Jones table for all atoms.
|
|
|
|
|
|
|
|
|
if the distances on the same molecule are minimal regardless boundary conditions
|
|
|
|
|
|
|
|
|
the actual time of the system, intended to by modified/incremented by an Observer (Modfier*)
|