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

Restore the union in the DEFAULT_SPH particle definition

parent d908d35f
No related branches found
No related tags found
No related merge requests found
...@@ -56,8 +56,8 @@ ...@@ -56,8 +56,8 @@
/* SPH variant to use */ /* SPH variant to use */
//#define MINIMAL_SPH //#define MINIMAL_SPH
//#define GADGET2_SPH #define GADGET2_SPH
#define DEFAULT_SPH //#define DEFAULT_SPH
/* Gravity properties */ /* Gravity properties */
#define EXTERNAL_POTENTIAL_POINTMASS #define EXTERNAL_POTENTIAL_POINTMASS
......
...@@ -69,7 +69,7 @@ struct part { ...@@ -69,7 +69,7 @@ struct part {
float alpha; float alpha;
/* Store density/force specific stuff. */ /* Store density/force specific stuff. */
// union { union {
struct { struct {
...@@ -105,7 +105,7 @@ struct part { ...@@ -105,7 +105,7 @@ struct part {
float c; float c;
} force; } force;
//}; };
/* Particle mass. */ /* Particle mass. */
float mass; float mass;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment