Enums | |
enum | PairListAlgorithmType { HASH_GRID, BRUTE_FORCE } |
The type of algorithm used to calculate the pair list. More... | |
Functions | |
BALL_EXPORT Size | calculateNonBondedAtomPairs (ForceField::PairVector &pair_vector, const AtomVector &atom_vector, const SimpleBox3 &box, double distance, bool periodic_boundary_enabled, PairListAlgorithmType type) throw (Exception::OutOfMemory) |
Create a pair vector for non-bonded interactions. | |
BALL_EXPORT Size | sortNonBondedAtomPairsAfterSelection (ForceField::PairVector &pair_vector) |
Sort the pair list. | |
BALL_EXPORT Size | addNonOverlappingMolecules (System &system, const HashGrid3< const Atom * > &solute_grid, const System &solvent, const SimpleBox3 &box, double distance) |
Merge the non-overlapping molecules of a system into another system. | |
BALL_EXPORT void | adaptWaterBox (System &system, const SimpleBox3 &box) |
Adapt periodic water (or general solvent) boxes to our periodic boundary definition. | |
BALL_EXPORT void | calculateMinimumImage (Vector3 &distance, const Vector3 &period) |
Compute the minimum image. | |
template<typename TorsionType, typename AtomIteratorType> | |
Size | computeTorsions (const AtomIteratorType &start, const AtomIteratorType &end, std::vector< TorsionType > &torsions, bool use_selection=false) |
Compute all torsions in a given set of molecules. |
|
The type of algorithm used to calculate the pair list.
|
|
Adapt periodic water (or general solvent) boxes to our periodic boundary definition. Periodic water boxes created by different programs might contain molecules which have their center of gravity outside of the box because of a different defintion of the periodic boundary. This function adapts such boxes to our definition by simply translating such molecules to the opposite boundary wall such that their center of gravity lies in the box afterwards.
|
|
Merge the non-overlapping molecules of a system into another system.
Fills
|
|
Create a pair vector for non-bonded interactions.
Calculates a vector of atom pairs whose distance is smaller than
|
|
Compute all torsions in a given set of molecules.
|
|
Sort the pair list. The atom pairs in the list ar sorted in such a way, that those atom pairs where at least one of the atoms is selected are at the beginning of the list. The number of such pairs is returned. Running time is linear in the length of the list.
|