commit ba905bf6f206e074d65e670d172b7e581091ac7b
parent 1a9704100f015b10444862cb22456228f2d7e2fb
Author: Vincent Forest <vincent.forest@meso-star.com>
Date: Tue, 8 Oct 2019 14:41:06 +0200
Fix the generation of the helical_pipe mesh
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/schiff_mesh.c b/src/schiff_mesh.c
@@ -446,7 +446,7 @@ schiff_mesh_helical_pipe_create_vertices
goto error;
}
- c = pitch / 2*PI;
+ c = pitch / (2*PI);
phi_max = height * 2*PI / pitch;
step_helicoid = phi_max / (double)nsteps_helicoid;
step_circle = 2*PI / (double)nsteps_circle;