Gromacs
2018.8
|
#include <gromacs/ewald/ewald-utils.h>
Class to handle box scaling for Ewald and PME.
At construction contents of inputrec determine whether scaling is necessary as well as the scaling factor used. Later, the scaleBox method can be used to apply the appropriate scaling (if needed) for Ewald-based methods.
Public Member Functions | |
EwaldBoxZScaler (const t_inputrec &ir) | |
Constructor that takes the input record to initialize Ewald box scaling appropriately. | |
void | scaleBox (const matrix box, matrix scaledBox) |
Copy and scale the box for PME. More... | |
|
inline |
Copy and scale the box for PME.
When PME is used with 2D periodicity and two walls, the copy of the box
passed is scaled with the Z scaling factor.
[in] | box | The current box matrix |
[out] | scaledBox | Scaled copy of the box matrix. |