From: Jean-Paul Pelteret Date: Sat, 11 May 2019 18:04:52 +0000 (+0200) Subject: Rename some internal functions X-Git-Tag: v9.1.0-rc1~35^2~2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ad5b4e87fd55903ae2e2e486cc499fa3a4c4595f;p=dealii.git Rename some internal functions --- diff --git a/include/deal.II/differentiation/sd/symengine_tensor_operations.h b/include/deal.II/differentiation/sd/symengine_tensor_operations.h index ba6aa92e25..1d56eb3ef0 100644 --- a/include/deal.II/differentiation/sd/symengine_tensor_operations.h +++ b/include/deal.II/differentiation/sd/symengine_tensor_operations.h @@ -1298,7 +1298,7 @@ namespace Differentiation typename ValueType, template class TensorType> std::vector> - tensor_substitution_map( + make_tensor_entries_for_substitution_map( const TensorType &symbol_tensor, const TensorType & value_tensor) { @@ -1317,7 +1317,7 @@ namespace Differentiation template std::vector> - tensor_substitution_map( + make_tensor_entries_for_substitution_map( const Tensor<0, dim, ExpressionType> &symbol_tensor, const Tensor<0, dim, ValueType> & value_tensor) { @@ -1329,7 +1329,7 @@ namespace Differentiation template std::vector> - tensor_substitution_map( + make_tensor_entries_for_substitution_map( const SymmetricTensor<4, dim, ExpressionType> &symbol_tensor, const SymmetricTensor<4, dim, ValueType> & value_tensor) { @@ -1364,7 +1364,8 @@ namespace Differentiation { add_to_substitution_map( substitution_map, - internal::tensor_substitution_map(symbol_tensor, value_tensor)); + internal::make_tensor_entries_for_substitution_map(symbol_tensor, + value_tensor)); } @@ -1381,7 +1382,8 @@ namespace Differentiation { add_to_substitution_map( substitution_map, - internal::tensor_substitution_map(symbol_tensor, value_tensor)); + internal::make_tensor_entries_for_substitution_map(symbol_tensor, + value_tensor)); } @@ -1394,7 +1396,7 @@ namespace Differentiation int dim, template class TensorType> TensorType - tensor_substitute( + substitute_tensor( const TensorType &expression_tensor, const types::substitution_map & substitution_map) { @@ -1412,7 +1414,7 @@ namespace Differentiation template Tensor<0, dim, Expression> - tensor_substitute(const Tensor<0, dim, Expression> &expression_tensor, + substitute_tensor(const Tensor<0, dim, Expression> &expression_tensor, const types::substitution_map & substitution_map) { const Expression &expression = expression_tensor; @@ -1422,7 +1424,7 @@ namespace Differentiation template SymmetricTensor<4, dim, Expression> - tensor_substitute( + substitute_tensor( const SymmetricTensor<4, dim, Expression> &expression_tensor, const types::substitution_map & substitution_map) { @@ -1448,7 +1450,7 @@ namespace Differentiation int dim, template class TensorType> TensorType - tensor_substitute_evaluate( + substitute_and_evaluate_tensor( const TensorType &expression_tensor, const types::substitution_map & substitution_map) { @@ -1467,7 +1469,7 @@ namespace Differentiation template Tensor<0, dim, ValueType> - tensor_substitute_evaluate( + substitute_and_evaluate_tensor( const Tensor<0, dim, Expression> &expression_tensor, const types::substitution_map & substitution_map) { @@ -1478,7 +1480,7 @@ namespace Differentiation template SymmetricTensor<4, dim, ValueType> - tensor_substitute_evaluate( + substitute_and_evaluate_tensor( const SymmetricTensor<4, dim, Expression> &expression_tensor, const types::substitution_map & substitution_map) { @@ -1506,7 +1508,7 @@ namespace Differentiation substitute(const Tensor &expression_tensor, const types::substitution_map & substitution_map) { - return internal::tensor_substitute(expression_tensor, substitution_map); + return internal::substitute_tensor(expression_tensor, substitution_map); } @@ -1515,7 +1517,7 @@ namespace Differentiation substitute(const SymmetricTensor &expression_tensor, const types::substitution_map & substitution_map) { - return internal::tensor_substitute(expression_tensor, substitution_map); + return internal::substitute_tensor(expression_tensor, substitution_map); } @@ -1525,8 +1527,8 @@ namespace Differentiation const Tensor &expression_tensor, const types::substitution_map & substitution_map) { - return internal::tensor_substitute_evaluate(expression_tensor, - substitution_map); + return internal::substitute_and_evaluate_tensor( + expression_tensor, substitution_map); } @@ -1536,8 +1538,8 @@ namespace Differentiation const SymmetricTensor &expression_tensor, const types::substitution_map & substitution_map) { - return internal::tensor_substitute_evaluate(expression_tensor, - substitution_map); + return internal::substitute_and_evaluate_tensor( + expression_tensor, substitution_map); }