Gromacs
2025-dev-20241002-88a4191
|
Functions | |
IVec | closestIntegerPoint (const RVec &coordinate) |
rounds real-valued coordinate to the closest integer values | |
IVec | rangeBeginWithinLattice (const IVec &index, const IVec &range) |
Substracts a range from a three-dimensional integer coordinate and ensures the resulting coordinate is within a lattice. More... | |
IVec | rangeEndWithinLattice (const IVec &index, const dynamicExtents3D &extents, const IVec &range) |
Adds a range from a three-dimensional integer coordinate and ensures the resulting coordinate is within a lattice. More... | |
IVec gmx::anonymous_namespace{gausstransform.cpp}::rangeBeginWithinLattice | ( | const IVec & | index, |
const IVec & | range | ||
) |
Substracts a range from a three-dimensional integer coordinate and ensures the resulting coordinate is within a lattice.
[in] | index | point in lattice |
[in] | range | to be shifted |
IVec gmx::anonymous_namespace{gausstransform.cpp}::rangeEndWithinLattice | ( | const IVec & | index, |
const dynamicExtents3D & | extents, | ||
const IVec & | range | ||
) |
Adds a range from a three-dimensional integer coordinate and ensures the resulting coordinate is within a lattice.
[in] | index | point in lattice |
[in] | extents | extent of the lattice |
[in] | range | to be shifted |