* @ref make_substitution_map(const Expression &,const ValueType &)
* function.
*/
- template <int rank, int dim, typename ValueType>
+ template <int rank, int dim, typename ExpressionType, typename ValueType>
types::substitution_map
- make_substitution_map(const Tensor<rank, dim, Expression> &symbol_tensor,
- const Tensor<rank, dim, ValueType> & value_tensor);
+ make_substitution_map(
+ const Tensor<rank, dim, ExpressionType> &symbol_tensor,
+ const Tensor<rank, dim, ValueType> & value_tensor);
/**
* Return a substitution map that has the entry keys given by the
* @ref make_substitution_map(const Expression &,const ValueType &)
* function.
*/
- template <int rank, int dim, typename ValueType>
+ template <int rank, int dim, typename ExpressionType, typename ValueType>
types::substitution_map
make_substitution_map(
- const SymmetricTensor<rank, dim, Expression> &symbol_tensor,
- const SymmetricTensor<rank, dim, ValueType> & value_tensor);
+ const SymmetricTensor<rank, dim, ExpressionType> &symbol_tensor,
+ const SymmetricTensor<rank, dim, ValueType> & value_tensor);
//@}
/* ------------------ Symbol substitution map creation ----------------*/
- template <int rank, int dim, typename ValueType>
+ template <int rank, int dim, typename ExpressionType, typename ValueType>
types::substitution_map
- make_substitution_map(const Tensor<rank, dim, Expression> &symbol_tensor,
- const Tensor<rank, dim, ValueType> & value_tensor)
+ make_substitution_map(
+ const Tensor<rank, dim, ExpressionType> &symbol_tensor,
+ const Tensor<rank, dim, ValueType> & value_tensor)
{
types::substitution_map substitution_map;
add_to_substitution_map(substitution_map, symbol_tensor, value_tensor);
}
- template <int rank, int dim, typename ValueType>
+ template <int rank, int dim, typename ExpressionType, typename ValueType>
types::substitution_map
make_substitution_map(
- const SymmetricTensor<rank, dim, Expression> &symbol_tensor,
- const SymmetricTensor<rank, dim, ValueType> & value_tensor)
+ const SymmetricTensor<rank, dim, ExpressionType> &symbol_tensor,
+ const SymmetricTensor<rank, dim, ValueType> & value_tensor)
{
types::substitution_map substitution_map;
add_to_substitution_map(substitution_map, symbol_tensor, value_tensor);
{
template <int rank,
int dim,
+ typename ExpressionType,
typename ValueType,
template <int, int, typename> class TensorType>
std::vector<std::pair<ExpressionType, ValueType>>