Gromacs  2023.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Enumerations | Functions
com.h File Reference
#include <algorithm>
#include <memory>
#include "gromacs/math/vec.h"
#include "gromacs/utility/arrayref.h"
#include "pbcenums.h"
+ Include dependency graph for com.h:
+ This graph shows which files directly or indirectly include this file:


Helper methods to place particle COM in boxes.

Paul Bauer


enum  gmx::COMShiftType : int { Residue, Molecule, Count }
 How COM shifting should be applied.


void gmx::shiftAtoms (const RVec &shift, ArrayRef< RVec > x)
 Shift all coordinates. More...
void gmx::placeCoordinatesWithCOMInBox (const PbcType &pbcType, UnitCellType unitCellType, CenteringType centerType, const matrix box, ArrayRef< RVec > x, const gmx_mtop_t &mtop, COMShiftType comShiftType)
 Moves collection of atoms along the center of mass into a box. More...