Skip to content
GitLab
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
980a2ec5
Commit
980a2ec5
authored
Mar 01, 2018
by
Matthieu Schaller
Browse files
Merge branch 'cosmology' of gitlab.cosma.dur.ac.uk:swift/swiftsim into cosmology
parents
8532b39d
32077428
Changes
1
Hide whitespace changes
Inline
Side-by-side
examples/main.c
View file @
980a2ec5
...
...
@@ -126,6 +126,7 @@ int main(int argc, char *argv[]) {
* scope. */
struct
chemistry_data
chemistry
;
struct
cooling_function_data
cooling_func
;
struct
cosmology
cosmo
;
struct
external_potential
potential
;
struct
gpart
*
gparts
=
NULL
;
struct
gravity_props
gravity_properties
;
...
...
@@ -601,7 +602,6 @@ int main(int argc, char *argv[]) {
}
/* Initialise the cosmology */
struct
cosmology
cosmo
;
if
(
with_cosmology
)
cosmology_init
(
params
,
&
us
,
&
prog_const
,
&
cosmo
);
else
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment