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
9d7ddde9
Commit
9d7ddde9
authored
6 years ago
by
Peter W. Draper
Browse files
Options
Downloads
Patches
Plain Diff
Use const for name so that static strings can be passed in C++
parent
a0148917
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/outputlist.c
+1
-1
1 addition, 1 deletion
src/outputlist.c
src/outputlist.h
+1
-1
1 addition, 1 deletion
src/outputlist.h
with
2 additions
and
2 deletions
src/outputlist.c
+
1
−
1
View file @
9d7ddde9
...
...
@@ -208,7 +208,7 @@ void output_list_read_next_time(struct output_list *t, const struct engine *e,
* time)
*/
void
output_list_init
(
struct
output_list
**
list
,
const
struct
engine
*
e
,
char
*
name
,
double
*
delta_time
,
double
*
time_first
)
{
const
char
*
name
,
double
*
delta_time
,
double
*
time_first
)
{
struct
swift_params
*
params
=
e
->
parameter_file
;
/* get cosmo */
...
...
This diff is collapsed.
Click to expand it.
src/outputlist.h
+
1
−
1
View file @
9d7ddde9
...
...
@@ -56,7 +56,7 @@ void output_list_read_file(struct output_list *outputlist, const char *filename,
void
output_list_read_next_time
(
struct
output_list
*
t
,
const
struct
engine
*
e
,
const
char
*
name
,
integertime_t
*
ti_next
);
void
output_list_init
(
struct
output_list
**
list
,
const
struct
engine
*
e
,
char
*
name
,
double
*
delta_time
,
double
*
time_first
);
const
char
*
name
,
double
*
delta_time
,
double
*
time_first
);
void
output_list_print
(
const
struct
output_list
*
outputlist
);
void
output_list_clean
(
struct
output_list
*
outputlist
);
void
output_list_struct_dump
(
struct
output_list
*
list
,
FILE
*
stream
);
...
...
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