*
* Copyright (c) 1991-2000, University of Groningen, The Netherlands.
* Copyright (c) 2001-2004, The GROMACS development team.
- * Copyright (c) 2013,2014,2015,2016, by the GROMACS development team, led by
+ * Copyright (c) 2013,2014,2015,2016,2017, by the GROMACS development team, led by
* Mark Abraham, David van der Spoel, Berk Hess, and Erik Lindahl,
* and including many others, as listed in the AUTHORS file in the
* top-level source directory and at http://www.gromacs.org.
};
int i, j, natoms, isize;
t_trxstatus *status;
- int *index = NULL, *index_all;
+ int *index = nullptr, *index_all;
char *grpname;
real angle, trans;
rvec *x, *v, *xout, *vout;
#define NFILE asize(fnm)
if (!parse_common_args(&argc, argv, 0, NFILE, fnm, asize(pa), pa,
- asize(desc), desc, 0, NULL, &oenv))
+ asize(desc), desc, 0, nullptr, &oenv))
{
return 0;
}
t_topology *top;
snew(top, 1);
- read_tps_conf(opt2fn("-f", NFILE, fnm), top, NULL, &x, &v, box, FALSE);
+ read_tps_conf(opt2fn("-f", NFILE, fnm), top, nullptr, &x, &v, box, FALSE);
t_atoms &atoms = top->atoms;
- if (atoms.pdbinfo == NULL)
+ if (atoms.pdbinfo == nullptr)
{
snew(atoms.pdbinfo, atoms.nr);
}
atoms.resinfo[atoms.atom[j].resind].chainid = label;
}
- write_trx(status, atoms.nr, index_all, &atoms, i, angle, box, xout, vout, NULL);
+ write_trx(status, atoms.nr, index_all, &atoms, i, angle, box, xout, vout, nullptr);
}
close_trx(status);