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
Branches
Tags
1 merge request!1036Quick lyman alpha module
......@@ -58,9 +58,6 @@ struct spart {
/* Particle cutoff radius. */
float h;
/*! Particle time bin */
timebin_t time_bin;
struct {
/* Number of neighbours. */
......@@ -73,11 +70,14 @@ struct spart {
/* Not used in the default stars */
union {
double birth_time;
float birth_time;
double birth_scale_factor;
float birth_scale_factor;
};
/*! Particle time bin */
timebin_t time_bin;
/*! Feedback structure */
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