]> https://gitweb.dealii.org/ - dealii.git/commit
disable MGTransferPrebuilt without Trilinos 3828/head
authorTimo Heister <timo.heister@gmail.com>
Wed, 18 Jan 2017 22:56:52 +0000 (17:56 -0500)
committerTimo Heister <timo.heister@gmail.com>
Sat, 21 Jan 2017 19:40:49 +0000 (14:40 -0500)
commit9949562661ab93b5d8c61acc78473cfd30f953a2
tree4af3f4d32d6b964c5accd2f485b8e252e932716d
parent20e5cfff5a0d0bca715f4cc62e9329097e637ad6
disable MGTransferPrebuilt without Trilinos

Do not allow MGTransferPrebuilt to work with distributed::Vector if we
don't have Trilinos. This used to compile and crash at runtime because
we wrongly created serial matrices.
This also fixes the tests/multigrid/transfer_prebuilt_04 error message:
An error occurred in line <361> of file
</mnt/data/testsuite/dealii/source/lac/dynamic_sparsity_pattern.cc> in
function
    bool
dealii::DynamicSparsityPattern::exists(dealii::DynamicSparsityPattern::size_type,
dealii::DynamicSparsityPattern::size_type) const
The violated condition was:
    rowset.size()==0 || rowset.is_element(i)
include/deal.II/multigrid/mg_transfer.h
tests/multigrid/transfer_prebuilt_04.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.