From: Wolfgang Bangerth Date: Thu, 26 Feb 2004 23:01:06 +0000 (+0000) Subject: Add test. X-Git-Tag: v8.0.0~15728 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=478afcf49ee3ecdcf0ac11b9c25270dc262e07ea;p=dealii.git Add test. git-svn-id: https://svn.dealii.org/trunk@8584 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/tests/bits/petsc_51.cc b/tests/bits/petsc_51.cc new file mode 100644 index 0000000000..8cbf78dbbf --- /dev/null +++ b/tests/bits/petsc_51.cc @@ -0,0 +1,86 @@ +//---------------------------- petsc_51.cc --------------------------- +// $Id$ +// Version: $Name$ +// +// Copyright (C) 2004 by the deal.II authors +// +// This file is subject to QPL and may not be distributed +// without copyright and license information. Please refer +// to the file deal.II/doc/license.html for the text and +// further information on this license. +// +//---------------------------- petsc_51.cc --------------------------- + + +// check copy constructor petsc_wrapper::Vector::Vector(Vector) + +#include "../tests.h" +#include +#include +#include +#include + + +void test (PETScWrappers::Vector &v) +{ + // set some entries of the vector + for (unsigned int i=0; i