]> https://gitweb.dealii.org/ - dealii.git/commit
Update checks for AD-types.
authorDavid Wells <drwells@email.unc.edu>
Tue, 23 Aug 2022 12:29:10 +0000 (08:29 -0400)
committerDavid Wells <drwells@email.unc.edu>
Mon, 29 Aug 2022 17:49:25 +0000 (13:49 -0400)
commit94476c0bb12f24e4d03428bb49aa0394135e8e88
tree53d2522396789a50d2c6c3709162f1e4efcb448f
parent39e091dbb16337ecc284638cef06671e042d6b70
Update checks for AD-types.

At some point these stopped working and something like

#include <deal.II/lac/vector.h>
#include <deal.II/lac/vector.templates.h>

#include <adolc/adouble.h>

int
main()
{
  using namespace dealii;

  Vector<adouble> vec;
}

managed to compile (but compiling Vector<adouble>::l2_norm() fails).

In practice we don't support any type here which we cannot call std::abs() on,
so lets just switch to a simpler check for these types.
include/deal.II/lac/full_matrix.h
include/deal.II/lac/vector.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.