Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
argo
Applications
LAMMPS
Commits
03654b2b
Commit
03654b2b
authored
Aug 28, 2018
by
Axel Kohlmeyer
Browse files
rename define to better fit LAMMPS' logic
parent
eb850c53
Changes
3
Show whitespace changes
Inline
Side-by-side
src/USER-CGSDK/lj_sdk_common.h
View file @
03654b2b
...
...
@@ -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
)
...
...
src/USER-CGSDK/pair_lj_sdk.cpp
View file @
03654b2b
...
...
@@ -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
;
...
...
src/USER-CGSDK/pair_lj_sdk_coul_long.cpp
View file @
03654b2b
...
...
@@ -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
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment