Unverified Commit 47689b4a authored by Axel Kohlmeyer's avatar Axel Kohlmeyer
Browse files

make include files independent of previously included headers. include them...

make include files independent of previously included headers. include them first in implementation files.

this is to be compliant with upcoming definition of include file policy
parent 52e17554
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -54,8 +54,8 @@
   Designed for use with the kim-api-2.0.2 (and newer) package
------------------------------------------------------------------------- */

#include <cstring>
#include "fix_store_kim.h"
#include <cstring>
extern "C" {
#include "KIM_SimulatorModel.h"
}
+0 −1
Original line number Diff line number Diff line
@@ -63,7 +63,6 @@ FixStyle(STORE/KIM,FixStoreKIM)
#ifndef LMP_FIX_STORE_KIM_H
#define LMP_FIX_STORE_KIM_H

#include <cstdio>
#include "fix.h"

namespace LAMMPS_NS {
+1 −1
Original line number Diff line number Diff line
@@ -55,11 +55,11 @@
   Designed for use with the kim-api-2.1.0 (and newer) package
------------------------------------------------------------------------- */

#include "kim_init.h"
#include <cstring>
#include <string>
#include <sstream>
#include <iomanip>
#include "kim_init.h"
#include "error.h"
#include "atom.h"
#include "comm.h"
+1 −0
Original line number Diff line number Diff line
@@ -65,6 +65,7 @@ CommandStyle(kim_init,KimInit)
#define LMP_KIM_INIT_H

#include "pointers.h"
#include <string>

namespace LAMMPS_NS {

+1 −1
Original line number Diff line number Diff line
@@ -55,10 +55,10 @@
   Designed for use with the kim-api-2.1.0 (and newer) package
------------------------------------------------------------------------- */

#include "kim_interactions.h"
#include <cstring>
#include <string>
#include <sstream>
#include "kim_interactions.h"
#include "error.h"
#include "atom.h"
#include "comm.h"
Loading