Skip to content
Snippets Groups Projects
Commit 084d7d34 authored by Matthieu Schaller's avatar Matthieu Schaller
Browse files

Better ordering of the variables in the default star struct.

parent 1d8758f2
No related branches found
No related tags found
1 merge request!1036Quick lyman alpha module
...@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment