typename ValueType,
template <int, int, typename> class TensorType>
std::vector<std::pair<ExpressionType, ValueType>>
- tensor_substitution_map(
+ make_tensor_entries_for_substitution_map(
const TensorType<rank, dim, ExpressionType> &symbol_tensor,
const TensorType<rank, dim, ValueType> & value_tensor)
{
template <int dim, typename ExpressionType, typename ValueType>
std::vector<std::pair<ExpressionType, ValueType>>
- tensor_substitution_map(
+ make_tensor_entries_for_substitution_map(
const Tensor<0, dim, ExpressionType> &symbol_tensor,
const Tensor<0, dim, ValueType> & value_tensor)
{
template <int dim, typename ExpressionType, typename ValueType>
std::vector<std::pair<ExpressionType, ValueType>>
- tensor_substitution_map(
+ make_tensor_entries_for_substitution_map(
const SymmetricTensor<4, dim, ExpressionType> &symbol_tensor,
const SymmetricTensor<4, dim, ValueType> & value_tensor)
{
{
add_to_substitution_map<ignore_invalid_symbols>(
substitution_map,
- internal::tensor_substitution_map(symbol_tensor, value_tensor));
+ internal::make_tensor_entries_for_substitution_map(symbol_tensor,
+ value_tensor));
}
{
add_to_substitution_map<ignore_invalid_symbols>(
substitution_map,
- internal::tensor_substitution_map(symbol_tensor, value_tensor));
+ internal::make_tensor_entries_for_substitution_map(symbol_tensor,
+ value_tensor));
}
int dim,
template <int, int, typename> class TensorType>
TensorType<rank, dim, Expression>
- tensor_substitute(
+ substitute_tensor(
const TensorType<rank, dim, Expression> &expression_tensor,
const types::substitution_map & substitution_map)
{
template <int dim>
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;
template <int dim>
SymmetricTensor<4, dim, Expression>
- tensor_substitute(
+ substitute_tensor(
const SymmetricTensor<4, dim, Expression> &expression_tensor,
const types::substitution_map & substitution_map)
{
int dim,
template <int, int, typename> class TensorType>
TensorType<rank, dim, ValueType>
- tensor_substitute_evaluate(
+ substitute_and_evaluate_tensor(
const TensorType<rank, dim, Expression> &expression_tensor,
const types::substitution_map & substitution_map)
{
template <typename ValueType, int dim>
Tensor<0, dim, ValueType>
- tensor_substitute_evaluate(
+ substitute_and_evaluate_tensor(
const Tensor<0, dim, Expression> &expression_tensor,
const types::substitution_map & substitution_map)
{
template <typename ValueType, int dim>
SymmetricTensor<4, dim, ValueType>
- tensor_substitute_evaluate(
+ substitute_and_evaluate_tensor(
const SymmetricTensor<4, dim, Expression> &expression_tensor,
const types::substitution_map & substitution_map)
{
substitute(const Tensor<rank, dim, Expression> &expression_tensor,
const types::substitution_map & substitution_map)
{
- return internal::tensor_substitute(expression_tensor, substitution_map);
+ return internal::substitute_tensor(expression_tensor, substitution_map);
}
substitute(const SymmetricTensor<rank, dim, Expression> &expression_tensor,
const types::substitution_map & substitution_map)
{
- return internal::tensor_substitute(expression_tensor, substitution_map);
+ return internal::substitute_tensor(expression_tensor, substitution_map);
}
const Tensor<rank, dim, Expression> &expression_tensor,
const types::substitution_map & substitution_map)
{
- return internal::tensor_substitute_evaluate<ValueType>(expression_tensor,
- substitution_map);
+ return internal::substitute_and_evaluate_tensor<ValueType>(
+ expression_tensor, substitution_map);
}
const SymmetricTensor<rank, dim, Expression> &expression_tensor,
const types::substitution_map & substitution_map)
{
- return internal::tensor_substitute_evaluate<ValueType>(expression_tensor,
- substitution_map);
+ return internal::substitute_and_evaluate_tensor<ValueType>(
+ expression_tensor, substitution_map);
}