Skip to content

Commit

Permalink
feature partitioning: use preferred order of transfer and unpack in demo
Browse files Browse the repository at this point in the history
  • Loading branch information
hannesbrandt committed Aug 8, 2024
1 parent f63af68 commit fe4ba75
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions applications/demo/2d/partitioning/partitioning.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -361,7 +361,7 @@ main (int argc, char **argv)
fclaw_global_productionf
("Starting partitioning with skip_local = %d,"
" partition_for_coarsening = %d and"
"skip_refined being enabled to late.\n",
" skip_refined being enabled to late.\n",
domain->p.skip_local,
wrap->params.partition_for_coarsening);
fclaw2d_domain_set_partitioning (domain, 0, 1, 1);
Expand All @@ -382,11 +382,11 @@ main (int argc, char **argv)
num_patches_packed,
refined_domain->local_num_patches);

fclaw2d_domain_iterate_unpack (partitioned_domain, p,
unpack_patch_data, NULL);
fclaw2d_domain_iterate_transfer (refined_domain,
partitioned_domain,
transfer_patch_data, NULL);
fclaw2d_domain_iterate_unpack (partitioned_domain, p,
unpack_patch_data, NULL);
fclaw2d_domain_partition_free (p);

/* output patch data if required */
Expand Down

0 comments on commit fe4ba75

Please sign in to comment.