Commit 0dd9426f authored by Matthieu Schaller's avatar Matthieu Schaller
Browse files

Restore the union in the DEFAULT_SPH particle definition

parent d908d35f
......@@ -56,8 +56,8 @@
/* SPH variant to use */
//#define MINIMAL_SPH
//#define GADGET2_SPH
#define DEFAULT_SPH
#define GADGET2_SPH
//#define DEFAULT_SPH
/* Gravity properties */
#define EXTERNAL_POTENTIAL_POINTMASS
......
......@@ -69,7 +69,7 @@ struct part {
float alpha;
/* Store density/force specific stuff. */
// union {
union {
struct {
......@@ -105,7 +105,7 @@ struct part {
float c;
} force;
//};
};
/* Particle mass. */
float mass;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment