]> https://gitweb.dealii.org/ - dealii.git/commit
Add a couple of static asserts to SolutionTransfer.
authorWolfgang Bangerth <bangerth@colostate.edu>
Mon, 19 Jun 2017 11:58:14 +0000 (05:58 -0600)
committerWolfgang Bangerth <bangerth@colostate.edu>
Mon, 19 Jun 2017 11:58:14 +0000 (05:58 -0600)
commitf1bf0e8269360153ce9072e9b85f1fdf705199c7
treefd69024256345e226c8d73ef46e79a0e934f82a7
parenta8fe721a9645956ebc5064aa330a59bb8ce70f8a
Add a couple of static asserts to SolutionTransfer.

This class (in both of its incarnations) takes both a dimension and a DoFHandler
as template argument. The dimension of the DoFHandler better match the explicitly
given dimension. The added static_assert checks that and prevents instantiation
of the class if that is not the case.
include/deal.II/distributed/solution_transfer.h
include/deal.II/numerics/solution_transfer.h

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.