Commit e2d41d8d authored by Cristian Lalescu's avatar Cristian Lalescu
Browse files

fixes initialization order of variables

parent 8afdb1f2
Pipeline #94896 passed with stages
in 37 minutes and 51 seconds
......@@ -82,7 +82,13 @@ class p2p_ghost_collisions
std::vector <partsize_t> collision_pairs_global;
public:
p2p_ghost_collisions(): current_particle_shape(SPHERE), cylinder_width(1.0), cylinder_length(1.0), disk_width(1.0), isActive(true), synchronisation(false) {}
p2p_ghost_collisions():
isActive(true),
synchronisation(false),
cylinder_width(1.0),
cylinder_length(1.0),
disk_width(1.0),
current_particle_shape(SPHERE) {}
void copy_from_p2p_ghost_collisions(const p2p_ghost_collisions<real_number, partsize_t>& src)
......
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