]> https://gitweb.dealii.org/ - dealii.git/commit
make_flux_sparsity_pattern with flux couplings on a subset of the faces 9407/head
authorSimon Sticko <simon@sticko.se>
Tue, 14 Jan 2020 10:29:15 +0000 (11:29 +0100)
committerSimon Sticko <simon@sticko.se>
Wed, 29 Jan 2020 08:11:33 +0000 (09:11 +0100)
commitc337e9dc44f8026b3b54a6882e66d783cfd5cfb3
treecdb670330d36691d4826552b2268cbdbfd8353e7
parentc1d6723b63c9f2c4abc66131a78d9dcc897557cd
make_flux_sparsity_pattern with flux couplings on a subset of the faces

Add an optional std::function input parameter to
make_flux_sparsity_pattern which describe over which faces there should
be flux couplings in the created sparsity pattern.

internal::make_flux_sparsity_pattern has one implementation for a
generic DoFHandlerType and a specialization for hp::DoFHandler. To
circument a bug where MSVC can't deduce which of these internal
functions should be called, change DoFHandlerType to
dealii::DoFHandler in the generic function.

To avoid another bug where MSVC can't construct a templated class,
call one of the overloaded versions of make_flux_sparsity_pattern with
always_couple_on_faces (even if this is already the default value).
doc/news/changes/minor/20200128SimonSticko [new file with mode: 0644]
include/deal.II/dofs/dof_tools.h
source/dofs/dof_tools_sparsity.cc
source/dofs/dof_tools_sparsity.inst.in
tests/dofs/dof_tools_25.cc [new file with mode: 0644]
tests/dofs/dof_tools_25.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.