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
SWIFT
SWIFTsim
Commits
feedfd83
Commit
feedfd83
authored
Feb 10, 2020
by
Matthieu Schaller
Browse files
Compilation fixes for Intel compile
parent
a186289d
Changes
1
Show whitespace changes
Inline
Side-by-side
src/mesh_gravity.c
View file @
feedfd83
...
@@ -72,7 +72,7 @@ __attribute__((always_inline, const)) INLINE static int row_major_id_periodic(
...
@@ -72,7 +72,7 @@ __attribute__((always_inline, const)) INLINE static int row_major_id_periodic(
* @param dz Second CIC coefficient along z
* @param dz Second CIC coefficient along z
*/
*/
__attribute__
((
always_inline
,
const
))
INLINE
static
double
CIC_get
(
__attribute__
((
always_inline
,
const
))
INLINE
static
double
CIC_get
(
const
double
mesh
[
6
][
6
][
6
],
const
int
i
,
const
int
j
,
const
int
k
,
double
mesh
[
6
][
6
][
6
],
const
int
i
,
const
int
j
,
const
int
k
,
const
double
tx
,
const
double
ty
,
const
double
tz
,
const
double
dx
,
const
double
tx
,
const
double
ty
,
const
double
tz
,
const
double
dx
,
const
double
dy
,
const
double
dz
)
{
const
double
dy
,
const
double
dz
)
{
...
...
Write
Preview
Supports
Markdown
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