// $Id$
// Version: $Name$
//
-// Copyright (C) 2009, 2010 by the deal.II authors
+// Copyright (C) 2009, 2010, 2011 by the deal.II authors
//
// This file is subject to QPL and may not be distributed
// without copyright and license information. Please refer
int main ()
{
- std::string logname = JobIdentifier::base_name(__FILE__) + std::string("/output");
- std::ofstream logfile(logname.c_str());
- deallog.attach(logfile);
- deallog.depth_console(0);
-
+ initlog(__FILE__);
+
FE_Q<2> q21(1);
FE_Q<2> q22(2);
FESystem<2> s2(q21, 3, q22, 2);
// $Id$
// Version: $Name$
//
-// Copyright (C) 2000, 2001, 2003, 2004, 2005, 2007, 2010 by the deal.II authors
+// Copyright (C) 2000, 2001, 2003, 2004, 2005, 2007, 2010, 2011 by the deal.II authors
//
// This file is subject to QPL and may not be distributed
// without copyright and license information. Please refer
int main ()
{
- std::ofstream logfile ("boundaries/output");
+ initlog(__FILE__);
deallog << std::setprecision (2);
deallog << std::fixed;
- deallog.attach(logfile);
- deallog.depth_console (0);
deallog.push ("1d");
check<1> ();
int main()
{
- std::ofstream logfile ("cell_similarity_crash_01/output");
+ initlog(__FILE__);
deallog << std::setprecision (4);
-
- deallog.attach(logfile);
- deallog.depth_console (0);
deallog.threshold_double(1.e-7);
test<1>();
int main()
{
- std::ofstream logfile ("cell_similarity_crash_02/output");
+ initlog(__FILE__);
deallog << std::setprecision (4);
-
- deallog.attach(logfile);
- deallog.depth_console (0);
deallog.threshold_double(1.e-7);
test<1>();
// $Id$
// Version: $Name$
//
-// Copyright (C) 2008 by the deal.II authors
+// Copyright (C) 2008, 2011 by the deal.II authors
//
// This file is subject to QPL and may not be distributed
// without copyright and license information. Please refer
template<int dim>
-void test(std::ostream& /*out*/)
+void test()
{
Triangulation<dim> triangulation (Triangulation<dim>::limit_level_difference_at_vertices);
int main()
{
- std::ofstream logfile("coarsening_02/output");
- deallog.attach(logfile);
- deallog.depth_console(0);
+ initlog(__FILE__);
deallog.threshold_double(1.e-10);
deallog.push("2d");
- test<2>(logfile);
+ test<2>();
deallog.pop();
deallog.push("3d");
- test<3>(logfile);
+ test<3>();
deallog.pop();
}
// $Id$
// Version: $Name$
//
-// Copyright (C) 2008 by the deal.II authors
+// Copyright (C) 2008, 2011 by the deal.II authors
//
// This file is subject to QPL and may not be distributed
// without copyright and license information. Please refer
template<int dim>
-void test(std::ostream& /*out*/)
+void test()
{
Triangulation<dim> triangulation (Triangulation<dim>::limit_level_difference_at_vertices);
int main()
{
- std::ofstream logfile("coarsening_02_1d/output");
- deallog.attach(logfile);
- deallog.depth_console(0);
+ initlog(__FILE__);
deallog.threshold_double(1.e-10);
deallog.push("1d");
- test<1>(logfile);
+ test<1>();
deallog.pop();
}
// $Id$
// Version: $Name$
//
-// Copyright (C) 2008 by the deal.II authors
+// Copyright (C) 2008, 2011 by the deal.II authors
//
// This file is subject to QPL and may not be distributed
// without copyright and license information. Please refer
template<int dim>
-void test(std::ostream& /*out*/)
+void test()
{
Triangulation<dim> triangulation (Triangulation<dim>::limit_level_difference_at_vertices);
int main()
{
- std::ofstream logfile("coarsening_03/output");
- deallog.attach(logfile);
- deallog.depth_console(0);
+ initlog(__FILE__);
deallog.threshold_double(1.e-10);
deallog.push("1d");
- test<1>(logfile);
+ test<1>();
deallog.pop();
deallog.push("2d");
- test<2>(logfile);
+ test<2>();
deallog.pop();
deallog.push("3d");
- test<3>(logfile);
+ test<3>();
deallog.pop();
}
// $Id$
// Version: $Name$
//
-// Copyright (C) 2005, 2006, 2007, 2008 by the deal.II authors
+// Copyright (C) 2005, 2006, 2007, 2008, 2011 by the deal.II authors
//
// This file is subject to QPL and may not be distributed
// without copyright and license information. Please refer
int main ()
{
- std::ofstream logfile("constraint_graph/output");
- logfile << std::setprecision(2);
+ initlog(__FILE__);
deallog << std::setprecision(2);
- deallog.attach(logfile);
- deallog.depth_console(0);
deallog.threshold_double(1.e-10);
test<3> ();