]> https://gitweb.dealii.org/ - dealii.git/commit
Avoid setting the templated 'Number' to '0' (double) in trace(Tensor<2,dim,Number>). 123/head
authorMartin Kronbichler <kronbichler.martin@gmail.com>
Mon, 1 Sep 2014 20:10:58 +0000 (22:10 +0200)
committerMartin Kronbichler <kronbichler.martin@gmail.com>
Tue, 2 Sep 2014 05:07:45 +0000 (07:07 +0200)
commitd5fd2325fe159f3e03489674a2e6bf8c950654c7
tree0c57040b4fbb821419bcd2add2a5cbd5dbb3f8ba
parent5c3456b89a4ca3afb02aa42df74b439a663adb10
Avoid setting the templated 'Number' to '0' (double) in trace(Tensor<2,dim,Number>).

Enables using trace also with e.g. Tensor<2,dim,VectorizedArray<double> >.
include/deal.II/base/symmetric_tensor.h
include/deal.II/base/tensor.h
tests/matrix_free/matrix_vector_stokes.cc
tests/matrix_free/matrix_vector_stokes_noflux.cc

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.