From: hartmann Date: Mon, 22 Jan 2001 12:30:03 +0000 (+0000) Subject: Include test of the quadrature points (dim==1) being sorted in ascending order. X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7900271b89003c2bb882cc8b22eeed89e8ca319a;p=dealii-svn.git Include test of the quadrature points (dim==1) being sorted in ascending order. git-svn-id: https://svn.dealii.org/trunk@3753 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/tests/base/quadrature_test.cc b/tests/base/quadrature_test.cc index 402d048b8c..526a270a37 100644 --- a/tests/base/quadrature_test.cc +++ b/tests/base/quadrature_test.cc @@ -2,7 +2,7 @@ // $Id$ // Version: $Name$ // -// Copyright (C) 1998, 1999, 2000 by the deal.II authors +// Copyright (C) 1998, 1999, 2000, 2001 by the deal.II authors // // This file is subject to QPL and may not be distributed // without copyright and license information. Please refer @@ -85,6 +85,20 @@ check_cells (vector*>& quadratures) // deallog << " (Int " << quadrature_int << ',' << exact_int << ")"; deallog << " is exact for polynomials of degree " << i-1 << endl; + if (dim==1) + { + // check the ordering of + // the quadrature points + bool in_order=true; + for (unsigned int x=1; x