]> https://gitweb.dealii.org/ - dealii.git/commit
Remove a dependency in writing VTU files. 14498/head
authorWolfgang Bangerth <bangerth@colostate.edu>
Tue, 29 Nov 2022 17:20:06 +0000 (10:20 -0700)
committerWolfgang Bangerth <bangerth@colostate.edu>
Tue, 29 Nov 2022 17:20:06 +0000 (10:20 -0700)
commit89cff94a9d025a62a6a72af747af8be3a48fa76b
tree9c716d3cdfa839dff63850899432fdce2f01b413
parent6dd81a23401fac8f21ce795d1655e81ed4cd1c76
Remove a dependency in writing VTU files.

Previously, one of the lambda functions that write parts updated a variable outside
the lambda function that was later checked. This works when running everything
sequentially, but introduces a race condition when we want to run things
in parallel. Move the updating code out of the lambda function, and so
effectively make it 'const' in the sense that it no longer writes into
variables outside of the lambda function.
source/base/data_out_base.cc

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.