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
084d7d34
Commit
084d7d34
authored
5 years ago
by
Matthieu Schaller
Browse files
Options
Downloads
Patches
Plain Diff
Better ordering of the variables in the default star struct.
parent
1d8758f2
No related branches found
No related tags found
1 merge request
!1036
Quick lyman alpha module
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/stars/Default/stars_part.h
+5
-5
5 additions, 5 deletions
src/stars/Default/stars_part.h
with
5 additions
and
5 deletions
src/stars/Default/stars_part.h
+
5
−
5
View file @
084d7d34
...
@@ -58,9 +58,6 @@ struct spart {
...
@@ -58,9 +58,6 @@ struct spart {
/* Particle cutoff radius. */
/* Particle cutoff radius. */
float
h
;
float
h
;
/*! Particle time bin */
timebin_t
time_bin
;
struct
{
struct
{
/* Number of neighbours. */
/* Number of neighbours. */
...
@@ -73,11 +70,14 @@ struct spart {
...
@@ -73,11 +70,14 @@ struct spart {
/* Not used in the default stars */
/* Not used in the default stars */
union
{
union
{
double
birth_time
;
float
birth_time
;
double
birth_scale_factor
;
float
birth_scale_factor
;
};
};
/*! Particle time bin */
timebin_t
time_bin
;
/*! Feedback structure */
/*! Feedback structure */
struct
feedback_spart_data
feedback_data
;
struct
feedback_spart_data
feedback_data
;
...
...
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