Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
SWIFTsim
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor 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
SWIFT
SWIFTsim
Commits
3d90132f
Commit
3d90132f
authored
9 years ago
by
Pedro Gonnet
Browse files
Options
Downloads
Patches
Plain Diff
the offset in the part array should be a size_t.
parent
12479cbf
No related branches found
No related tags found
2 merge requests
!136
Master
,
!117
Engine exchange strays
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/engine.c
+1
-1
1 addition, 1 deletion
src/engine.c
src/engine.h
+1
-1
1 addition, 1 deletion
src/engine.h
with
2 additions
and
2 deletions
src/engine.c
+
1
−
1
View file @
3d90132f
...
...
@@ -604,7 +604,7 @@ void engine_exchange_cells(struct engine *e) {
* @return The number of arrived parts copied to parts and xparts.
*/
int
engine_exchange_strays
(
struct
engine
*
e
,
in
t
offset
,
int
*
ind
,
size_t
N
)
{
int
engine_exchange_strays
(
struct
engine
*
e
,
size_
t
offset
,
int
*
ind
,
size_t
N
)
{
#ifdef WITH_MPI
...
...
This diff is collapsed.
Click to expand it.
src/engine.h
+
1
−
1
View file @
3d90132f
...
...
@@ -182,7 +182,7 @@ void engine_init_particles(struct engine *e);
void
engine_step
(
struct
engine
*
e
);
void
engine_maketasks
(
struct
engine
*
e
);
void
engine_split
(
struct
engine
*
e
,
struct
partition
*
initial_partition
);
int
engine_exchange_strays
(
struct
engine
*
e
,
in
t
offset
,
int
*
ind
,
size_t
N
);
int
engine_exchange_strays
(
struct
engine
*
e
,
size_
t
offset
,
int
*
ind
,
size_t
N
);
void
engine_rebuild
(
struct
engine
*
e
);
void
engine_repartition
(
struct
engine
*
e
);
void
engine_makeproxies
(
struct
engine
*
e
);
...
...
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