/*
* This file is part of the GROMACS molecular simulation package.
*
- * Copyright (c) 2014,2015,2016, by the GROMACS development team, led by
+ * Copyright (c) 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.
"IMD_PAUSE",
"IMD_TRATE",
"IMD_IOERROR",
- NULL
+ nullptr
};
/*! \brief Initializes the IMD private data. */
static t_gmx_IMD_setup* imd_create(int imdatoms, int nstimddef, int imdport)
{
- t_gmx_IMD_setup *IMDsetup = NULL;
+ t_gmx_IMD_setup *IMDsetup = nullptr;
snew(IMDsetup, 1);
/* then we reset the IMD step to its default, and reset the connection boolean */
IMDsetup->nstimd_new = IMDsetup->nstimd_def;
- IMDsetup->clientsocket = NULL;
+ IMDsetup->clientsocket = nullptr;
IMDsetup->bConnected = FALSE;
}
fprintf(stdout, "%s For a log of the IMD pull forces explicitly specify '-if' on the command line.\n"
"%s (Not possible with energy minimization.)\n", IMDstr, IMDstr);
- return NULL;
+ return nullptr;
}
#endif