};
-/**
- * A namespace for iterators for TransposeTable. TransposeTable is unique in
- * that it stores entries in column-major order.
- *
- * @warning The classes defined in this namespace have been deprecated in
- * favor of the more general versions in MatrixTableIterators. Use those
- * instead.
- */
-namespace TransposeTableIterators
-{
- template <typename T, bool Constness>
- using AccessorBase DEAL_II_DEPRECATED = MatrixTableIterators::AccessorBase<
- TransposeTable<T>,
- Constness,
- MatrixTableIterators::Storage::column_major>;
-
- template <typename T, bool Constness>
- using Accessor DEAL_II_DEPRECATED =
- MatrixTableIterators::Accessor<TransposeTable<T>,
- Constness,
- MatrixTableIterators::Storage::column_major>;
-
- template <typename T, bool Constness>
- using Iterator DEAL_II_DEPRECATED =
- MatrixTableIterators::Iterator<TransposeTable<T>,
- Constness,
- MatrixTableIterators::Storage::column_major>;
-} // namespace TransposeTableIterators
-
-
/**
* A class representing a transpose two-dimensional table, i.e. a matrix of
* objects (not necessarily only numbers) in column first numbering (FORTRAN
{
TransposeTable<double> table(2, 2);
- TransposeTableIterators::Accessor<double, true> a3(&table, 2);
- TransposeTableIterators::Accessor<double, false> a4(&table, 2);
- deallog
- << "Accessors refer to the same entry: "
- << (&(TransposeTableIterators::Accessor<double, true>(a4).value()) ==
- &(a3.value()))
- << std::endl;
+ MatrixTableIterators::Accessor<TransposeTable<double>,
+ true,
+ MatrixTableIterators::Storage::column_major>
+ a3(&table, 2);
+ MatrixTableIterators::Accessor<TransposeTable<double>,
+ false,
+ MatrixTableIterators::Storage::column_major>
+ a4(&table, 2);
+ deallog << "Accessors refer to the same entry: "
+ << (&(MatrixTableIterators::Accessor<
+ TransposeTable<double>,
+ true,
+ MatrixTableIterators::Storage::column_major>(a4)
+ .value()) == &(a3.value()))
+ << std::endl;
}
// test a non-empty rectangular table