]> https://gitweb.dealii.org/ - dealii.git/commit
MatrixFree: Templatify reinit functions
authorMatthias Maier <tamiko@43-1.org>
Mon, 28 May 2018 00:25:06 +0000 (19:25 -0500)
committerMatthias Maier <tamiko@43-1.org>
Wed, 6 Jun 2018 15:19:38 +0000 (10:19 -0500)
commit2be4e4b02f80f3a34fa2d930a589e9a3e95ce1eb
tree1251633b5f5ec2fba9c8a1cb7e54ce5956104724
parent43df51cf855d23d4a74720081c3415734a2453f5
MatrixFree: Templatify reinit functions

Unfortunately, we have a bit of a clashing ideology here:

 - The MatrixFree container is motivated by the old ConstraintMatrix
   object. Meaning it expects constraints to be expressed in double.

 - AffineConstraints<number>, however, should be matched with the
   underlying number type. And the rest of the library now assumes that
   this is the case (in particular project_matrix_free and variants...)

In order to facilitate both approaches, we have to slab another "number"
template aorund the reinit functions. That's a bit unfortunate but
cannot be avoided. :-/
include/deal.II/matrix_free/matrix_free.h
include/deal.II/matrix_free/matrix_free.templates.h
source/matrix_free/matrix_free.inst.in

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.