Gromacs  2024.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Functions
com.cpp File Reference
#include "gmxpre.h"
#include "gromacs/pbcutil/com.h"
#include <algorithm>
#include <vector>
#include "gromacs/pbcutil/pbc.h"
#include "gromacs/topology/mtop_util.h"
#include "gromacs/topology/topology.h"
#include "gromacs/utility/range.h"
+ Include dependency graph for com.cpp:

Functions

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...