tpxv_RestrictedBendingAndCombinedAngleTorsionPotentials, /**< potentials for supporting coarse-grained force fields */
tpxv_InteractiveMolecularDynamics, /**< interactive molecular dynamics (IMD) */
tpxv_RemoveObsoleteParameters1, /**< remove optimize_fft, dihre_fc, nstcheckpoint */
- tpxv_PullCoordTypeGeom /**< add pull type and geometry per group and flat-bottom */
+ tpxv_PullCoordTypeGeom, /**< add pull type and geometry per group and flat-bottom */
+ tpxv_PullGeomDirRel /**< add pull geometry direction-relative */
};
/*! \brief Version number of the file format written to run input
*
* When developing a feature branch that needs to change the run input
* file format, change tpx_tag instead. */
-static const int tpx_version = tpxv_PullCoordTypeGeom;
+static const int tpx_version = tpxv_PullGeomDirRel;
/* This number should only be increased when you edit the TOPOLOGY section
{
gmx_fio_do_int(fio, pcrd->eType);
gmx_fio_do_int(fio, pcrd->eGeom);
+ if (pcrd->eGeom == epullgDIRRELATIVE)
+ {
+ gmx_fio_do_int(fio, pcrd->group[2]);
+ gmx_fio_do_int(fio, pcrd->group[3]);
+ }
gmx_fio_do_ivec(fio, pcrd->dim);
}
else