some more include file cleanup.
include cstdlib where functions like atoi() are used remove unneeded include statements from headers
This commit is contained in:
@ -15,6 +15,7 @@
|
|||||||
Contributing author: Richard Berger and Axel Kohlmeyer (Temple U)
|
Contributing author: Richard Berger and Axel Kohlmeyer (Temple U)
|
||||||
------------------------------------------------------------------------- */
|
------------------------------------------------------------------------- */
|
||||||
|
|
||||||
|
#include <cstdlib>
|
||||||
#include <Python.h>
|
#include <Python.h>
|
||||||
#include "lmppython.h"
|
#include "lmppython.h"
|
||||||
#include "force.h"
|
#include "force.h"
|
||||||
|
|||||||
@ -3,7 +3,6 @@
|
|||||||
|
|
||||||
#include "memory.h"
|
#include "memory.h"
|
||||||
#include <cmath>
|
#include <cmath>
|
||||||
#include <cstdlib>
|
|
||||||
|
|
||||||
#define maxelt 5
|
#define maxelt 5
|
||||||
|
|
||||||
|
|||||||
@ -12,7 +12,8 @@
|
|||||||
------------------------------------------------------------------------- */
|
------------------------------------------------------------------------- */
|
||||||
|
|
||||||
#include <mpi.h>
|
#include <mpi.h>
|
||||||
#include <string.h>
|
#include <cstring>
|
||||||
|
#include <cstdlib>
|
||||||
#include "compute_reduce_chunk.h"
|
#include "compute_reduce_chunk.h"
|
||||||
#include "atom.h"
|
#include "atom.h"
|
||||||
#include "update.h"
|
#include "update.h"
|
||||||
|
|||||||
@ -11,6 +11,7 @@
|
|||||||
See the README file in the top-level LAMMPS directory.
|
See the README file in the top-level LAMMPS directory.
|
||||||
------------------------------------------------------------------------- */
|
------------------------------------------------------------------------- */
|
||||||
|
|
||||||
|
#include <cstdlib>
|
||||||
#include <cstring>
|
#include <cstring>
|
||||||
#include "fix_vector.h"
|
#include "fix_vector.h"
|
||||||
#include "update.h"
|
#include "update.h"
|
||||||
|
|||||||
@ -13,6 +13,7 @@
|
|||||||
|
|
||||||
#include <mpi.h>
|
#include <mpi.h>
|
||||||
#include <cstring>
|
#include <cstring>
|
||||||
|
#include <cstdlib>
|
||||||
#include <cctype>
|
#include <cctype>
|
||||||
#include <map>
|
#include <map>
|
||||||
#include <string>
|
#include <string>
|
||||||
|
|||||||
@ -26,6 +26,7 @@
|
|||||||
#include "region.h"
|
#include "region.h"
|
||||||
#include "modify.h"
|
#include "modify.h"
|
||||||
#include "compute.h"
|
#include "compute.h"
|
||||||
|
#include "input.h"
|
||||||
#include "fix.h"
|
#include "fix.h"
|
||||||
#include "fix_store.h"
|
#include "fix_store.h"
|
||||||
#include "force.h"
|
#include "force.h"
|
||||||
|
|||||||
Reference in New Issue
Block a user