Commit 03654b2b authored by Axel Kohlmeyer's avatar Axel Kohlmeyer
Browse files

rename define to better fit LAMMPS' logic

parent eb850c53
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -27,7 +27,7 @@ namespace LJSDKParms {
  // LJ type flags. list of supported LJ exponent combinations
  enum {LJ_NOT_SET=0, LJ9_6, LJ12_4, LJ12_6, NUM_LJ_TYPES};

#if defined(LMP_NEED_FIND_SDK_LJ_TYPE)
#if defined(LMP_NEED_SDK_FIND_LJ_TYPE)
  static int find_lj_type(const char *label,
                          const char * const * const list) {
    for (int i=0; i < NUM_LJ_TYPES; ++i)
+1 −1
Original line number Diff line number Diff line
@@ -33,7 +33,7 @@
#include "memory.h"
#include "error.h"

#define LMP_NEED_FIND_SDK_LJ_TYPE 1
#define LMP_NEED_SDK_FIND_LJ_TYPE 1
#include "lj_sdk_common.h"

using namespace LAMMPS_NS;
+1 −1
Original line number Diff line number Diff line
@@ -34,7 +34,7 @@
#include "memory.h"
#include "error.h"

#define LMP_NEED_FIND_SDK_LJ_TYPE 1
#define LMP_NEED_SDK_FIND_LJ_TYPE 1
#include "lj_sdk_common.h"

using namespace LAMMPS_NS;