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
277d8860
Commit
277d8860
authored
6 years ago
by
Folkert Nobels
Browse files
Options
Downloads
Patches
Plain Diff
Remove the space from the starformation
parent
0da962b6
No related branches found
No related tags found
1 merge request
!705
Star formation following Schaye08
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
src/starformation.c
+2
-2
2 additions, 2 deletions
src/starformation.c
src/starformation/none/starformation.h
+1
-2
1 addition, 2 deletions
src/starformation/none/starformation.h
src/starformation/schaye08/starformation.h
+1
-2
1 addition, 2 deletions
src/starformation/schaye08/starformation.h
with
4 additions
and
6 deletions
src/starformation.c
+
2
−
2
View file @
277d8860
...
...
@@ -36,10 +36,10 @@
*/
void
starformation_init
(
struct
swift_params
*
parameter_file
,
const
struct
phys_const
*
phys_const
,
const
struct
unit_system
*
us
,
const
struct
space
*
s
,
const
struct
unit_system
*
us
,
struct
star_formation
*
starform
)
{
starformation_init_backend
(
parameter_file
,
phys_const
,
us
,
s
,
starform
);
starformation_init_backend
(
parameter_file
,
phys_const
,
us
,
starform
);
}
/**
...
...
This diff is collapsed.
Click to expand it.
src/starformation/none/starformation.h
+
1
−
2
View file @
277d8860
...
...
@@ -76,8 +76,7 @@ static void starformation_convert_to_gas(
* */
static
void
starformation_init_backend
(
struct
swift_params
*
parameter_file
,
const
struct
phys_const
*
phys_const
,
const
struct
unit_system
*
us
,
const
struct
space
*
s
,
const
struct
star_formation
*
starform
)
{}
const
struct
unit_system
*
us
,
const
struct
star_formation
*
starform
)
{}
/* @brief Prints the used parameters of the star formation law
*
...
...
This diff is collapsed.
Click to expand it.
src/starformation/schaye08/starformation.h
+
1
−
2
View file @
277d8860
...
...
@@ -175,8 +175,7 @@ static void starformation_convert_to_gas(
* */
static
void
starformation_init_backend
(
struct
swift_params
*
parameter_file
,
const
struct
phys_const
*
phys_const
,
const
struct
unit_system
*
us
,
const
struct
space
*
s
,
const
struct
star_formation
*
starform
)
{
const
struct
unit_system
*
us
,
const
struct
star_formation
*
starform
)
{
/* Default values for the normalization and the power law */
static
const
double
normalization_default
=
2.5e-4
;
...
...
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