diff --git a/benchmarks/time_forest_partition.cxx b/benchmarks/time_forest_partition.cxx index 33c02c866e..6130830054 100644 --- a/benchmarks/time_forest_partition.cxx +++ b/benchmarks/time_forest_partition.cxx @@ -314,15 +314,17 @@ t8_time_forest_create_cmesh (const char *msh_file, int mesh_dim, if (msh_file != NULL) { if (use_occ) { partition = 0; - t8_global_productionf("The cmesh is not partitioned due to the usage of the curved mesh option. \n" - "Timing will not be comparable to non-curved meshes. \n"); + t8_global_productionf + ("The cmesh is not partitioned due to the usage of the curved mesh option. \n" + "Timing will not be comparable to non-curved meshes. \n"); } else { partition = 1; } /* Create a cmesh from the given mesh files */ cmesh = - t8_cmesh_from_msh_file ((char *) msh_file, partition, comm, mesh_dim, 0, use_occ); + t8_cmesh_from_msh_file ((char *) msh_file, partition, comm, mesh_dim, 0, + use_occ); } else { T8_ASSERT (cmesh_file != NULL); diff --git a/src/t8_geometry/t8_geometry_implementations/t8_geometry_occ.cxx b/src/t8_geometry/t8_geometry_implementations/t8_geometry_occ.cxx index 09910442d1..368ff65e18 100644 --- a/src/t8_geometry/t8_geometry_implementations/t8_geometry_occ.cxx +++ b/src/t8_geometry/t8_geometry_implementations/t8_geometry_occ.cxx @@ -191,7 +191,6 @@ t8_geometry_occ::t8_geom_evaluate_occ_hex (t8_cmesh_t cmesh, active_tree_vertices, ref_coords, out_coords); - int tree_is_linear = 1; const int num_edges = t8_eclass_num_edges[active_tree_class]; const int num_faces = t8_eclass_num_faces[active_tree_class]; double interpolated_coords[3], @@ -214,9 +213,6 @@ t8_geometry_occ::t8_geom_evaluate_occ_hex (t8_cmesh_t cmesh, /* Check if only a surface or a curve is present. Abort if both is true. */ T8_ASSERT (!(edges[i_edge] > 0) != !(edges[i_edge + num_edges] > 0)); - /* tree carries a surface or an edge and is therefore not */ - tree_is_linear = 0; - /* Interpolate coordinates between edge vertices. Due to the indices i_edge of the edges, the edges point in * direction of ref_coord i_edge / 4. Therefore, we can use ref_coords[i_edge / 4] for the interpolation. * 6 -------E3------- 7