Skip to content

Commit

Permalink
Merge pull request #14112 from tjhei/format_comment
Browse files Browse the repository at this point in the history
reformat comment block
  • Loading branch information
bangerth committed Jul 7, 2022
2 parents ac1c1af + 74d131b commit 900dc61
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions source/base/data_out_base.cc
Original file line number Diff line number Diff line change
Expand Up @@ -8606,13 +8606,13 @@ DataOutBase::write_hdf5_parallel(
"Serial HDF5 output on multiple processes is not yet supported."));
# endif

// Verify that there are indeed patches to be written out. most of the times,
// people just forget to call build_patches when there are no patches, so a
// warning is in order. That said, the assertion is disabled if we run with
// more than one MPI rank,
// since then it can happen that, on coarse meshes, a processor simply has
// no cells it actually owns, and in that case it is legit if there are no
// patches.
// Verify that there are indeed patches to be written out. most of
// the times, people just forget to call build_patches when there
// are no patches, so a warning is in order. That said, the
// assertion is disabled if we run with more than one MPI rank,
// since then it can happen that, on coarse meshes, a processor
// simply has no cells it actually owns, and in that case it is
// legit if there are no patches.
Assert((patches.size() > 0) || (n_ranks > 1), ExcNoPatches());

// The HDF5 routines perform a bunch of collective calls that expect all
Expand Down

0 comments on commit 900dc61

Please sign in to comment.