]> https://gitweb.dealii.org/ - dealii.git/commit
fix FEFieldFunction in parallel
authorTimo Heister <timo.heister@gmail.com>
Mon, 6 Jun 2016 15:44:56 +0000 (16:44 +0100)
committerTimo Heister <timo.heister@gmail.com>
Tue, 7 Jun 2016 12:31:38 +0000 (13:31 +0100)
commit19898c76c1cf69f1bf9949ce511f773de4300f45
treeba20f42db6bf1f30ae8933bb6b1aa3ff690a902e
parentfaf4fc55e12c43a2f7f6c4462cbcd24d1d9a81ac
fix FEFieldFunction in parallel

This fixes ExcPointNotAvailableHere() thrown from several places inside
FEFieldFunction, because we assert that the cell is locally owned. This
is not true, because we can happen to look at a ghost cell. Of course it
is totally fine to evaluate function values on ghost cells if we have a
ghosted solution vector.
Triggering all code paths in the test is somewhat tricky, because we
need find_active_cell_around_point to return a ghost cell.
include/deal.II/numerics/fe_field_function.templates.h
tests/mpi/fe_field_function_02.cc [new file with mode: 0644]
tests/mpi/fe_field_function_02.with_trilinos=true.mpirun=3.output [new file with mode: 0644]

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.