From: bangerth Date: Thu, 23 Oct 2008 03:39:13 +0000 (+0000) Subject: Fix a few references to non-existent classes. X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=626eec87ecd7e7d1fa98a668cc6b779f7a01d496;p=dealii-svn.git Fix a few references to non-existent classes. git-svn-id: https://svn.dealii.org/trunk@17314 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/tests/trilinos/64.cc b/tests/trilinos/64.cc index 0538ad0eb9..df2236546a 100644 --- a/tests/trilinos/64.cc +++ b/tests/trilinos/64.cc @@ -19,7 +19,7 @@ #include "../tests.h" #include -#include +#include #include #include @@ -59,14 +59,14 @@ int main (int argc,char **argv) test (v1); // check - // TrilinosWrappers::MPI::SparseMatrix + // TrilinosWrappers::SparseMatrix MPI_Comm mpi_communicator (MPI_COMM_WORLD); int n_jobs=1; MPI_Comm_size (mpi_communicator, &n_jobs); const unsigned int n_mpi_processes=static_cast(n_jobs); Assert(n_dofs%n_mpi_processes==0, ExcInternalError()); const unsigned int n_local_dofs=n_dofs/n_mpi_processes; - TrilinosWrappers::MPI::SparseMatrix + TrilinosWrappers::SparseMatrix v2 (mpi_communicator, n_dofs, n_dofs, n_local_dofs, n_local_dofs, 5); test (v2); } diff --git a/tests/trilinos/65.cc b/tests/trilinos/65.cc index 428b6553f5..5b264213bb 100644 --- a/tests/trilinos/65.cc +++ b/tests/trilinos/65.cc @@ -16,7 +16,7 @@ #include "../tests.h" -#include +#include #include #include diff --git a/tests/trilinos/parallel_sparse_matrix_01.cc b/tests/trilinos/parallel_sparse_matrix_01.cc index 5aebe92d71..9f3f3cda0e 100644 --- a/tests/trilinos/parallel_sparse_matrix_01.cc +++ b/tests/trilinos/parallel_sparse_matrix_01.cc @@ -1,4 +1,4 @@ -//---------------------------- trilinos_parallel_sparse_matrix_01.cc --------------------------- +//---------------------------- trilinos_sparse_matrix_01.cc --------------------------- // $Id$ // Version: $Name$ // @@ -9,10 +9,10 @@ // to the file deal.II/doc/license.html for the text and // further information on this license. // -//---------------------------- trilinos_parallel_sparse_matrix_01.cc --------------------------- +//---------------------------- trilinos_sparse_matrix_01.cc --------------------------- -// TrilinosWrappers::MPI::SparseMatrix::reinit(CompressedSparsityPattern) should +// TrilinosWrappers::SparseMatrix::reinit(CompressedSparsityPattern) should // create a matrix that, when filled with elements that match the sparsity // pattern, doesn't require any more memory allocation any more. This is // tricky to get right, though, and took a while until it worked. @@ -24,7 +24,7 @@ // malloc calls have been performed #include "../tests.h" -#include +#include #include #include #include @@ -95,7 +95,7 @@ void test () // now create a matrix with this sparsity // pattern - TrilinosWrappers::MPI::SparseMatrix m; + TrilinosWrappers::SparseMatrix m; m.reinit (MPI_COMM_WORLD, csp, local_rows_per_process, local_rows_per_process, get_this_mpi_process()); @@ -115,7 +115,7 @@ void test () int main (int argc,char **argv) { - std::ofstream logfile("parallel_sparse_matrix_01/output"); + std::ofstream logfile("sparse_matrix_01/output"); deallog.attach(logfile); deallog.depth_console(0); deallog.threshold_double(1.e-10); diff --git a/tests/trilinos/slowness_03.cc b/tests/trilinos/slowness_03.cc index 4d4a42e436..8ed90df490 100644 --- a/tests/trilinos/slowness_03.cc +++ b/tests/trilinos/slowness_03.cc @@ -21,8 +21,8 @@ #include "../tests.h" #include -#include -#include +#include +#include #include #include @@ -32,7 +32,7 @@ void test () const unsigned int N = 200; // build the sparse matrix - TrilinosWrappers::MPI::SparseMatrix matrix (PETSC_COMM_WORLD, + TrilinosWrappers::SparseMatrix matrix (PETSC_COMM_WORLD, N*N, N*N, N*N, N*N, 5); diff --git a/tests/trilinos/slowness_04.cc b/tests/trilinos/slowness_04.cc index 1638c844c9..f4def4cc4b 100644 --- a/tests/trilinos/slowness_04.cc +++ b/tests/trilinos/slowness_04.cc @@ -27,8 +27,8 @@ #include "../tests.h" #include -#include -#include +#include +#include #include #include @@ -60,7 +60,7 @@ void test () } // build the sparse matrix - TrilinosWrappers::MPI::SparseMatrix matrix (PETSC_COMM_WORLD, + TrilinosWrappers::SparseMatrix matrix (PETSC_COMM_WORLD, N*N, N*N, N*N, N*N, 5);