The RigidCLL library
RigidCLL.cpp File ReferenceImplementation of the RigidCLL algorihm. More... #include "RigidCLL.h" #include <iostream> #include <fstream> #include <stdlib.h> #include <math.h> #include <limits>
Include dependency graph for RigidCLL.cpp:
Go to the source code of this file.
Detailed DescriptionImplementation of the RigidCLL algorihtm described in
Definition in file RigidCLL.cpp. Define Documentation
When defining the grid, we use the bounding box in a given configuration and we enlarge it with a given margin. This margin is the one given in this constant and it is measured in bounding boxes. It is symmetrically applied to the two extremes of the bounding box along each axes. If the bounding box along a given axis is [1,4] then the grid is defined in the range:
where 3 is the size of the bounding box (3=4-1). This extension of the bounding box is usually enough, but if a molecule moves al lot it might not be sufficient. In this case RigidCLL would fail, this margin should be enlarged, and the library recompiled.
Definition at line 39 of file RigidCLL.cpp. Referenced by RigidCLL::WarmUp().
Value used to identify invalid unsigned integers. Definition at line 46 of file RigidCLL.cpp. Referenced by RigidCLL::AddAtom(), CellInfo::CellInfo(), RigidCLL::CLLInteractions(), RigidCLL::EndRigid(), RigidCLL::Interactions(), RigidCLL::NewRigid(), CellInfo::Reset(), and RigidCLL::WarmUp().
Macro used to declare an error. After printing the error, the execution is interrupted. Definition at line 55 of file RigidCLL.cpp. Referenced by RigidCLL::ActivateInteraction(), RigidCLL::AddAtom(), RigidCLL::AddFixedAtom(), AtomInfo::AtomInfo(), RigidCLL::BruteForceInteractions(), RigidCLL::BruteForceStericClash(), RigidCLL::CLLInteractions(), RigidCLL::CLLStericClash(), RigidCLL::DeactivateInteraction(), RigidCLL::EndRigid(), RigidCLL::GetBBSize(), RigidCLL::Interactions(), RigidCLL::NewRigid(), RigidCLL::SetCutOff(), RigidCLL::StericClash(), and RigidCLL::WarmUp().
A very large number. We assume all atom coordinates are always below this value. Definition at line 62 of file RigidCLL.cpp. Referenced by RigidCLL::WarmUp().
Distance between two atoms computed for each of the 3 dimensions. This is used when computing the (squared) distance between two atoms. Definition at line 70 of file RigidCLL.cpp. Referenced by RigidCLL::BruteForceInteractions(), RigidCLL::BruteForceStericClash(), RigidCLL::CLLInteractions(), AtomInfo::distance(), and RigidCLL::Interactions(). Function Documentation
Prints the information stored in the atom. Definition at line 113 of file RigidCLL.cpp. References AtomInfo::cp, AtomInfo::id, AtomInfo::op, and AtomInfo::rID.
Prints the information stored in the atom pair. Definition at line 151 of file RigidCLL.cpp. References AtomPair::a1, AtomPair::a2, AtomPair::d2, AtomPair::r1, and AtomPair::r2. |
Follow us!