tpxv_MTS, /**< Added multiple time stepping */
tpxv_RemovedConstantAcceleration, /**< Removed support for constant acceleration NEMD. */
tpxv_TransformationPullCoord, /**< Support for transformation pull coordinates */
+ tpxv_SoftcoreGapsys, /**< Added gapsys softcore function */
tpxv_Count /**< the total number of tpxv versions */
};
{
fepvals->edHdLPrintEnergy = FreeEnergyPrintEnergy::No;
}
+ if (file_version >= tpxv_SoftcoreGapsys)
+ {
+ serializer->doInt(reinterpret_cast<int*>(&fepvals->softcoreFunction));
+ }
+ else
+ {
+ fepvals->softcoreFunction = SoftcoreType::Beutler;
+ }
/* handle lambda_neighbors */
if ((file_version >= 83 && file_version < 90) || file_version >= 92)