Skip to content

Commit

Permalink
feature hanging-corners: memset to zero in mesh_params_init
Browse files Browse the repository at this point in the history
  • Loading branch information
hannesbrandt committed Dec 11, 2023
1 parent 51bcd94 commit 2697854
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/p4est_mesh.c
Original file line number Diff line number Diff line change
Expand Up @@ -1215,6 +1215,8 @@ p4est_mesh_memory_used (p4est_mesh_t * mesh)
void
p4est_mesh_params_init (p4est_mesh_params_t * params)
{
memset (params, 0, sizeof (p4est_mesh_params_t));

params->compute_level_lists = 0;
params->compute_tree_index = 0;
params->btype = P4EST_CONNECT_FACE;
Expand Down

0 comments on commit 2697854

Please sign in to comment.