static const char *tpx_tag = TPX_TAG_RELEASE;
/* This number should be increased whenever the file format changes! */
-static const int tpx_version = 90;
+static const int tpx_version = 91;
/* This number should only be increased when you edit the TOPOLOGY section
* or the HEADER of the tpx format.
if (file_version >= 67) {
gmx_fio_do_real(fio,ir->rlistlong);
}
- gmx_fio_do_int(fio,ir->coulombtype);
+ if(file_version >= 82 && file_version != 90)
+ {
+ gmx_fio_do_int(fio,ir->nstcalclr);
+ }
+ else
+ {
+ /* Calculate at NS steps */
+ ir->nstcalclr = ir->nstlist;
+ }
+ gmx_fio_do_int(fio,ir->coulombtype);
if (file_version < 32 && ir->coulombtype == eelRF)
ir->coulombtype = eelRF_NEC;
if (file_version >= 81)