double m;
int nratt = 0;
t_atom *a;
- t_param *nb;
std::vector<std::string> files = fflib_search_file_end(ffdir, ".atp", TRUE);
snew(a, 1);
- snew(nb, 1);
- PreprocessingAtomTypes at;
+ PreprocessingAtomTypes at;
for (const auto &filename : files)
{
if (sscanf(buf, "%s%lf", name, &m) == 2)
{
a->m = m;
- at.addType(tab, *a, name, nb, 0, 0);
+ at.addType(tab, *a, name, InteractionType({}, {}), 0, 0);
fprintf(stderr, "\rAtomtype %d", ++nratt);
fflush(stderr);
}