]> https://gitweb.dealii.org/ - dealii.git/commit
lac: add number template parameter to affine_constraints.cc and refactor
authorMatthias Maier <tamiko@43-1.org>
Thu, 24 May 2018 20:56:34 +0000 (15:56 -0500)
committerMatthias Maier <tamiko@43-1.org>
Wed, 6 Jun 2018 15:19:38 +0000 (10:19 -0500)
commitb212f2374abfe4ab435b0e9ad95dc970b8787dce
tree0793d3d06dcb03f7e28065f442c073a2bbb946ef
parente942082d443b3aa62214ecc3fe74a93b705c72a7
lac: add number template parameter to affine_constraints.cc and refactor

 - Add support for std::complex in internal data structures

 - Refactor special instantiations into .inst.in file.

 - Workaround: add two static_cast<number>(...) to resolve an ambiguity
   when a containerized std::complex is multiplied with another
   std::complex.

 - replace standard comparator for sorting a vector of std::pair with a
   lexicographic ordering where the second component is compared with
   std::abs.

 - templatify and simplify internal data structures

 - simplify internal scratch data (only supports one uniform number type
   now)
cmake/config/template-arguments.in
include/deal.II/lac/affine_constraints.h
include/deal.II/lac/affine_constraints.templates.h
source/lac/affine_constraints.cc
source/lac/affine_constraints.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.