From 8d9d481ea81566d34c0944fe1eefa0d28cf3cdfa Mon Sep 17 00:00:00 2001 From: Timo Heister Date: Sat, 3 Nov 2012 04:02:58 +0000 Subject: [PATCH] add LinearAlgebraDummy git-svn-id: https://svn.dealii.org/branches/branch_unify_linear_algebra@27334 0785d39b-7218-0410-832d-ea1e28bc413d --- .../deal.II/lac/abstract_linear_algebra.h | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/deal.II/include/deal.II/lac/abstract_linear_algebra.h b/deal.II/include/deal.II/lac/abstract_linear_algebra.h index 14712efff7..77470be79c 100644 --- a/deal.II/include/deal.II/lac/abstract_linear_algebra.h +++ b/deal.II/include/deal.II/lac/abstract_linear_algebra.h @@ -32,6 +32,23 @@ namespace LinearAlgebraDealII } +// Dummy class. This used to check your program +// to make sure it is compatible with all +// linear algebra classes. In other words, +// this is the minimal interface. +// TODO: should we move this into tests/ only? +namespace LinearAlgebraDummy +{ + class Vector {void compress();}; + class BlockVector {void compress();}; + + class SparseMatrix { void compress();}; + + class PreconditionSSOR {}; + +} + + DEAL_II_NAMESPACE_CLOSE -- 2.39.5