From: Jean-Paul Pelteret Date: Sat, 11 May 2019 20:18:35 +0000 (+0200) Subject: Document some template parameters of SD functions for tensors X-Git-Tag: v9.1.0-rc1~53^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F8103%2Fhead;p=dealii.git Document some template parameters of SD functions for tensors --- diff --git a/include/deal.II/differentiation/sd/symengine_tensor_operations.h b/include/deal.II/differentiation/sd/symengine_tensor_operations.h index 0cc417eee3..69dd596a8f 100644 --- a/include/deal.II/differentiation/sd/symengine_tensor_operations.h +++ b/include/deal.II/differentiation/sd/symengine_tensor_operations.h @@ -508,6 +508,17 @@ namespace Differentiation * using this function. For more details on this, see the other * @ref make_substitution_map(const Expression &,const ValueType &) * function. + * + * @tparam ExpressionType A type that represents a symbolic expression. + * The Differentiation::SD::Expression class is often suitable for + * this purpose, although if the @p ValueType is not supported + * by this class then a user-defined @p ExpressionType should be + * used. + * @tparam ValueType A type that corresponds to the @p value that the + * @p symbol is to represent. Although it is typically + * arithmetic in nature, it may also represent another symbolic + * expression type or be a special type that a user-defined + * @p ExpressionType can be constructed from. */ template types::substitution_map @@ -524,6 +535,17 @@ namespace Differentiation * using this function. For more details on this, see the other * @ref make_substitution_map(const Expression &,const ValueType &) * function. + * + * @tparam ExpressionType A type that represents a symbolic expression. + * The Differentiation::SD::Expression class is often suitable for + * this purpose, although if the @p ValueType is not supported + * by this class then a user-defined @p ExpressionType should be + * used. + * @tparam ValueType A type that corresponds to the @p value that the + * @p symbol is to represent. Although it is typically + * arithmetic in nature, it may also represent another symbolic + * expression type or be a special type that a user-defined + * @p ExpressionType can be constructed from. */ template types::substitution_map @@ -552,6 +574,17 @@ namespace Differentiation * @ref add_to_substitution_map(types::substitution_map &,const * Expression &,const Expression &) function for a detailed * discussion on the role of this template argument. + * + * @tparam ExpressionType A type that represents a symbolic expression. + * The Differentiation::SD::Expression class is often suitable for + * this purpose, although if the @p ValueType is not supported + * by this class then a user-defined @p ExpressionType should be + * used. + * @tparam ValueType A type that corresponds to the @p value that the + * @p symbol is to represent. Although it is typically + * arithmetic in nature, it may also represent another symbolic + * expression type or be a special type that a user-defined + * @p ExpressionType can be constructed from. */ template