]> https://gitweb.dealii.org/ - dealii.git/commit
Break postprocessing the velocity out of the function that computes errors.
authorWolfgang Bangerth <bangerth@colostate.edu>
Mon, 2 Dec 2019 22:57:30 +0000 (15:57 -0700)
committerWolfgang Bangerth <bangerth@colostate.edu>
Mon, 2 Dec 2019 22:58:04 +0000 (15:58 -0700)
commit8b510e828e4c6b05294ca7a9375c2d285df6cc33
treefa723ddbfbe2f241440055ebb1a178f84f45e68d
parentc9024081366391f9aa11310cea5719be74901420
Break postprocessing the velocity out of the function that computes errors.

The step-61 program now has a separate function
'compute_postprocessed_velocity' that computes the velocity field as
a postprocessing step after computing the pressure variable. The
resulting velocity field is used in both computing errors and when
creating graphical output.

There is really no functional change, it just rearranges the code
and makes it a bit simpler to read. The only functional simplification
is that we don't compute the velocity at quadrature points from shape
function times coefficient, but use FEValues::get_function_values()
instead.
examples/step-61/step-61.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.