Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
lammps
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
multiscale
lammps
Commits
eb850c53
Commit
eb850c53
authored
6 years ago
by
Axel Kohlmeyer
Browse files
Options
Downloads
Patches
Plain Diff
silence compiler warning about unused static function in shared include file
parent
a2ec8d3f
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
src/USER-CGSDK/lj_sdk_common.h
+2
-0
2 additions, 0 deletions
src/USER-CGSDK/lj_sdk_common.h
src/USER-CGSDK/pair_lj_sdk.cpp
+1
-0
1 addition, 0 deletions
src/USER-CGSDK/pair_lj_sdk.cpp
src/USER-CGSDK/pair_lj_sdk_coul_long.cpp
+1
-0
1 addition, 0 deletions
src/USER-CGSDK/pair_lj_sdk_coul_long.cpp
with
4 additions
and
0 deletions
src/USER-CGSDK/lj_sdk_common.h
+
2
−
0
View file @
eb850c53
...
...
@@ -27,6 +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)
static
int
find_lj_type
(
const
char
*
label
,
const
char
*
const
*
const
list
)
{
for
(
int
i
=
0
;
i
<
NUM_LJ_TYPES
;
++
i
)
...
...
@@ -34,6 +35,7 @@ namespace LJSDKParms {
return
LJ_NOT_SET
;
}
#endif
static
const
char
*
const
lj_type_list
[]
=
{
"none"
,
"lj9_6"
,
"lj12_4"
,
"lj12_6"
};
static
const
double
lj_prefact
[]
=
{
0.0
,
6.75
,
2.59807621135332
,
4.0
};
...
...
This diff is collapsed.
Click to expand it.
src/USER-CGSDK/pair_lj_sdk.cpp
+
1
−
0
View file @
eb850c53
...
...
@@ -33,6 +33,7 @@
#include
"memory.h"
#include
"error.h"
#define LMP_NEED_FIND_SDK_LJ_TYPE 1
#include
"lj_sdk_common.h"
using
namespace
LAMMPS_NS
;
...
...
This diff is collapsed.
Click to expand it.
src/USER-CGSDK/pair_lj_sdk_coul_long.cpp
+
1
−
0
View file @
eb850c53
...
...
@@ -34,6 +34,7 @@
#include
"memory.h"
#include
"error.h"
#define LMP_NEED_FIND_SDK_LJ_TYPE 1
#include
"lj_sdk_common.h"
using
namespace
LAMMPS_NS
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment