replace C-style include files with their C++ equivalents

This commit is contained in:
Axel Kohlmeyer
2018-04-27 17:41:04 -04:00
parent d5ec76290b
commit e4071d7f46
1309 changed files with 3075 additions and 3098 deletions

View File

@ -15,7 +15,7 @@
Contributing authors: Amalie Frischknecht and Ahmed Ismail (SNL)
------------------------------------------------------------------------- */
#include <math.h>
#include <cmath>
#include "pppm_tip4p.h"
#include "atom.h"
#include "domain.h"
@ -73,7 +73,7 @@ void PPPMTIP4P::particle_map()
double **x = atom->x;
int nlocal = atom->nlocal;
if (!ISFINITE(boxlo[0]) || !ISFINITE(boxlo[1]) || !ISFINITE(boxlo[2]))
if (!std::isfinite(boxlo[0]) || !std::isfinite(boxlo[1]) || !std::isfinite(boxlo[2]))
error->one(FLERR,"Non-numeric box dimensions - simulation unstable");
int flag = 0;