tensor_type & tensor;
const TableIndices<rank> previous_indices;
- // declare some other classes
- // as friends. make sure to
- // work around bugs in some
- // compilers
+ // Declare some other classes as friends. Make sure to work around bugs
+ // in some compilers:
template <int, int, typename>
friend class dealii::SymmetricTensor;
template <int, int, bool, int, typename>
tensor_type & tensor;
const TableIndices<rank> previous_indices;
- // declare some other classes
- // as friends. make sure to
- // work around bugs in some
- // compilers
+ // Declare some other classes as friends. Make sure to work around bugs
+ // in some compilers:
template <int, int, typename>
friend class dealii::SymmetricTensor;
template <int, int, bool, int, typename>
*/
base_tensor_type data;
- /**
- * Make all other symmetric tensors friends.
- */
+ // Make all other symmetric tensors friends.
template <int, int, typename>
friend class SymmetricTensor;
- /**
- * Make a few more functions friends.
- */
+ // Make a few more functions friends.
template <int dim2, typename Number2>
friend DEAL_II_CONSTEXPR Number2
trace(const SymmetricTensor<2, dim2, Number2> &d);
identity_tensor();
- /**
- * Make a few helper classes friends as well.
- */
+ // Make a few helper classes friends as well.
friend struct internal::SymmetricTensorImplementation::
Inverse<2, dim, Number>;
unroll_recursion(Vector<OtherNumber> &result,
unsigned int & start_index) const;
- /**
- * Allow an arbitrary Tensor to access the underlying values.
- */
+ // Allow an arbitrary Tensor to access the underlying values.
template <int, int, typename>
friend class Tensor;
};
constexpr DEAL_II_CUDA_HOST_DEV
Tensor(const ArrayLike &initializer, std_cxx14::index_sequence<Indices...>);
- /**
- * Allow an arbitrary Tensor to access the underlying values.
- */
+ // Allow an arbitrary Tensor to access the underlying values.
template <int, int, typename>
friend class Tensor;
- /**
- * Point is allowed access to the coordinates. This is supposed to improve
- * speed.
- */
+ // Point is allowed access to the coordinates. This is supposed to improve
+ // speed.
friend class Point<dim, Number>;
};