From: Jean-Paul Pelteret Date: Sat, 11 May 2019 19:54:33 +0000 (+0200) Subject: Add ExpressionType template parameter to tensor make_substitution_map() X-Git-Tag: v9.1.0-rc1~53^2~2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4af42702262d0c5a8acf8e33adefec960ab97f81;p=dealii.git Add ExpressionType template parameter to tensor make_substitution_map() --- diff --git a/include/deal.II/differentiation/sd/symengine_tensor_operations.h b/include/deal.II/differentiation/sd/symengine_tensor_operations.h index 1014db2038..0cc417eee3 100644 --- a/include/deal.II/differentiation/sd/symengine_tensor_operations.h +++ b/include/deal.II/differentiation/sd/symengine_tensor_operations.h @@ -509,10 +509,11 @@ namespace Differentiation * @ref make_substitution_map(const Expression &,const ValueType &) * function. */ - template + template types::substitution_map - make_substitution_map(const Tensor &symbol_tensor, - const Tensor & value_tensor); + make_substitution_map( + const Tensor &symbol_tensor, + const Tensor & value_tensor); /** * Return a substitution map that has the entry keys given by the @@ -524,11 +525,11 @@ namespace Differentiation * @ref make_substitution_map(const Expression &,const ValueType &) * function. */ - template + template types::substitution_map make_substitution_map( - const SymmetricTensor &symbol_tensor, - const SymmetricTensor & value_tensor); + const SymmetricTensor &symbol_tensor, + const SymmetricTensor & value_tensor); //@} @@ -1093,10 +1094,11 @@ namespace Differentiation /* ------------------ Symbol substitution map creation ----------------*/ - template + template types::substitution_map - make_substitution_map(const Tensor &symbol_tensor, - const Tensor & value_tensor) + make_substitution_map( + const Tensor &symbol_tensor, + const Tensor & value_tensor) { types::substitution_map substitution_map; add_to_substitution_map(substitution_map, symbol_tensor, value_tensor); @@ -1104,11 +1106,11 @@ namespace Differentiation } - template + template types::substitution_map make_substitution_map( - const SymmetricTensor &symbol_tensor, - const SymmetricTensor & value_tensor) + const SymmetricTensor &symbol_tensor, + const SymmetricTensor & value_tensor) { types::substitution_map substitution_map; add_to_substitution_map(substitution_map, symbol_tensor, value_tensor); @@ -1123,6 +1125,7 @@ namespace Differentiation { template class TensorType> std::vector>