]> https://gitweb.dealii.org/ - dealii.git/commit
Make the Tensor class more compatible with generic numbers.
authorJean-Paul Pelteret <jppelteret@gmail.com>
Sat, 12 Aug 2017 07:08:47 +0000 (01:08 -0600)
committerJean-Paul Pelteret <jppelteret@gmail.com>
Tue, 15 Aug 2017 15:03:48 +0000 (09:03 -0600)
commit13af5c499daea7ed65c9a94631b6881242fb1523
treead1caf0015728b8616af9050d264150802f7ea27
parentacfa8a551a46f780ab69ffa2e67cbada71a08e35
Make the Tensor class more compatible with generic numbers.

All stored number initialisation is explicitly performed, and their
values are set to a safe default. Scalar values are passed by reference
instead of by copy, preventing expensive and unnecessary overhead for AD
numbers due to the creation of a temporary.
include/deal.II/base/tensor.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.