]> https://gitweb.dealii.org/ - dealii.git/commit
Tensor<rank,dim,Number> is now constexpr 8064/head
authorReza Rastak <rastak@stanford.edu>
Wed, 8 May 2019 02:05:33 +0000 (19:05 -0700)
committerReza Rastak <rastak@stanford.edu>
Mon, 8 Jul 2019 16:31:15 +0000 (09:31 -0700)
commit220513e8cf84acb1e682bdacbf02d2f6a8f74bf3
tree27c7264c247a59852541ee649e114d0cd5e53e3a
parent3f7d351aeba98e098bd8300e1e42342c9de68ccd
Tensor<rank,dim,Number> is now constexpr

CONSEXPR macro added to Tensor<rank,dim,Number> functions. New constructors added to VectorizedArray<Number>

Tensor free functions all made constexpr

constexpr added to tensor_accessors.h

default initialization for VectorizedArray<Number>

constexpr feature added to Tensor<rank,dim,Number> class

adding DEAL_II_ALWAYS_INLINE back to functions in tensor_accessors.h

Add assignement operator ans default constructor back

Apply suggestions from code review

Typos fixed

Co-Authored-By: Daniel Arndt <arndtd@ornl.gov>
Indentation

Improve check_01_cxx_features.cmake

Fix changelog entry

static constexpr converted to back static const for VectorizedArray

one more constexpr tensor test

test failure fixed

added DEAL_II_CONSTEXPR to three more functions

removed member initialization in VectorizedArray

Avoid warning

constructor added to VectorizedArray<Number>

reverted the changes in vectorization.h

asserting VectorizedArray is POD
cmake/checks/check_01_cxx_features.cmake
doc/news/changes/minor/20190526RezaRastak [new file with mode: 0644]
include/deal.II/base/config.h.in
include/deal.II/base/tensor.h
include/deal.II/base/tensor_accessors.h
source/base/vectorization.cc
tests/base/vectorization_07.cc [deleted file]
tests/base/vectorization_07.output [deleted file]
tests/tensors/constexpr_tensor.cc [new file with mode: 0644]
tests/tensors/constexpr_tensor.output [new file with mode: 0644]

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.