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
6360cc9e
Commit
6360cc9e
authored
3 years ago
by
William Roper
Browse files
Options
Downloads
Patches
Plain Diff
debug illegal instruction
parent
1614701e
No related branches found
No related tags found
1 merge request
!1500
Draft: Initial merge request for zoom branch
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
examples/main.c
+4
-0
4 additions, 0 deletions
examples/main.c
with
4 additions
and
0 deletions
examples/main.c
+
4
−
0
View file @
6360cc9e
...
...
@@ -1296,6 +1296,8 @@ int main(int argc, char *argv[]) {
fflush
(
stdout
);
}
message
(
"got here"
);
/* Initialise the external potential properties */
bzero
(
&
potential
,
sizeof
(
struct
external_potential
));
if
(
with_external_gravity
)
...
...
@@ -1315,6 +1317,8 @@ int main(int argc, char *argv[]) {
pm_mesh_init_no_mesh
(
&
mesh
,
s
.
dim
);
}
message
(
"got past mesh"
);
/* Also update the total counts (in case of changes due to replication) */
Nbaryons
=
s
.
nr_parts
+
s
.
nr_sparts
+
s
.
nr_bparts
+
s
.
nr_sinks
;
Nnupart
=
s
.
nr_nuparts
;
...
...
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