// $Id$
// Version: $Name$
//
-// Copyright (C) 1998, 1999, 2000, 2001 by the deal.II authors
+// Copyright (C) 1998, 1999, 2000, 2001, 2002 by the deal.II authors
//
// This file is subject to QPL and may not be distributed
// without copyright and license information. Please refer
//
//-----------------------------------------------------------------------
+
+// when linking with the object file generated from this file, calling
+// aborts() will not abort the program, but simply resume
+// operation. while usually useless, this is used in the test to
+// generate the output of a triggered assertion without aborting the
+// program. we do this, since we sometimes want to test that some code
+// actually generates an assertion, which would otherwise be
+// impossible
+
extern "C"
void abort()
{}
// $Id$
// Version: $Name$
//
-// Copyright (C) 2000, 2001 by the deal.II authors
+// Copyright (C) 2000, 2001, 2002 by the deal.II authors
//
// This file is subject to QPL and may not be distributed
// without copyright and license information. Please refer
//
//---------------------------- polynomial_test.cc ---------------------------
-#include <iostream>
+// test the class that generates derivatives of function objects by
+// finite differencing
-#include <cmath>
#include <base/point.h>
#include <base/auto_derivative_function.h>
#include <base/logstream.h>
#include <lac/vector.h>
+#include <iostream>
+#include <cmath>
+
template <int dim>
class AutoSinExp: public AutoDerivativeFunction<dim>
//---------------------------- logtest.cc ---------------------------
+// some tests for the logstream class, writing output, pushing and
+// popping levels, etc
+
+
#include <base/logstream.h>
#include <fstream>
#include <iostream>
//
//-----------------------------------------------------------------------------
+// just output a lot of information about various classes implementing
+// 1d-polynomials, to make sure that all changes we make to these classes
+// do not change the results of these classes.
+
+
#include <iostream>
#include <fstream>
#include <cmath>
//
//---------------------------- polynomial_test.cc ---------------------------
+
+// just output a lot of information about various classes implementing
+// polynomials, to make sure that all changes we make to these classes
+// do not change the results of these classes.
+
+
#include <iostream>
#include <fstream>
#include <cmath>
// $Id$
// Version: $Name$
//
-// Copyright (C) 1998, 1999, 2000, 2001 by the deal.II authors
+// Copyright (C) 1998, 1999, 2000, 2001, 2002 by the deal.II authors
//
// This file is subject to QPL and may not be distributed
// without copyright and license information. Please refer
//---------------------------- quadrature_test.cc ---------------------------
+// check accuracy of various quadrature formulas by using them to
+// integrate polynomials of increasing degree, and finding the degree
+// until which they integrate exactly
+
+
#include <iostream>
#include <fstream>
deallog.pop();
// delete objects again to avoid
- // messages about memory leaks
+ // messages about memory leaks when
+ // using purify or other memory
+ // checkers
for (unsigned int i=0; i<q1.size(); ++i)
delete q1[i];
for (unsigned int i=0; i<q2.size(); ++i)