// abf_01.cc,v 1.3 2003/06/09 16:00:38 wolf Exp
// Version:
//
-// Copyright (C) 2003, 2005, 2006 by the deal.II authors
+// Copyright (C) 2003, 2005, 2006, 2008 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 (int /*argc*/, char **/*argv*/)
{
std::ofstream logfile ("abf_01/output");
- logfile.precision (PRECISION);
- logfile.setf(std::ios::fixed);
+ deallog << std::setprecision(PRECISION);
+ deallog << std::fixed;
+ logfile << std::setprecision(PRECISION);
+ logfile << std::fixed;
deallog.attach(logfile);
deallog.depth_console(0);
deallog.threshold_double(1.e-10);
main()
{
std::ofstream logfile ("check_derivatives/output");
- logfile.precision (2);
- logfile.setf(std::ios::fixed);
+ deallog << std::setprecision(2);
+ deallog << std::fixed;
deallog.attach(logfile);
deallog.depth_console(0);
main()
{
std::ofstream logfile ("copy_01/output");
- logfile.precision (PRECISION);
- logfile.setf(std::ios::fixed);
+ deallog << std::setprecision(PRECISION);
+ deallog << std::fixed;
deallog.attach(logfile);
deallog.depth_console(0);
deallog.threshold_double(1.e-10);
// deformed_projection.h,v 1.3 2003/06/09 16:00:38 wolf Exp
// Version:
//
-// Copyright (C) 2003, 2005, 2006, 2007 by the deal.II authors
+// Copyright (C) 2003, 2005, 2006, 2007, 2008 by the deal.II authors
//
// This file is subject to QPL and may not be distributed
// without copyright and license information. Please refer
std::ofstream logfile (logname);
logfile.precision (PRECISION);
logfile.setf(std::ios::fixed);
+ deallog << std::setprecision(PRECISION);
+ deallog << std::fixed;
deallog.attach(logfile);
deallog.depth_console(0);
deallog.threshold_double(1.e-10);
main()
{
std::ofstream logfile ("derivatives/output");
- logfile.precision (2);
- logfile.setf(std::ios::fixed);
+ deallog << std::setprecision(2);
+ deallog << std::fixed;
deallog.attach(logfile);
deallog.depth_console(0);
main()
{
std::ofstream logfile ("derivatives_face/output");
- logfile.precision (2);
- logfile.setf(std::ios::fixed);
+ deallog << std::setprecision(2);
+ deallog << std::fixed;
deallog.attach(logfile);
deallog.depth_console(0);
main()
{
std::ofstream logfile ("dgp_monomial_1/output");
- logfile.precision (PRECISION);
- logfile.setf(std::ios::fixed);
+ deallog << std::setprecision(PRECISION);
+ deallog << std::fixed;
deallog.attach(logfile);
deallog.depth_console(0);
deallog.threshold_double(1.e-10);
main()
{
std::ofstream logfile ("dgp_monomial_2/output");
- logfile.precision (PRECISION);
- logfile.setf(std::ios::fixed);
+ deallog << std::setprecision(PRECISION);
+ deallog << std::fixed;
deallog.attach(logfile);
deallog.depth_console(0);
deallog.threshold_double(1.e-10);
main()
{
std::ofstream logfile ("dgq_1/output");
- logfile.precision (PRECISION);
- logfile.setf(std::ios::fixed);
+ deallog << std::setprecision(PRECISION);
+ deallog << std::fixed;
deallog.attach(logfile);
deallog.depth_console(0);
deallog.threshold_double(1.e-10);
// $Id: injection_common.cc 12732 2006-03-28 23:15:45Z wolf $
// Version: $Name$
//
-// Copyright (C) 2006, 2007 by the deal.II authors
+// Copyright (C) 2006, 2007, 2008 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(logname);
- logfile.precision (3);
+ deallog << std::setprecision (3);
deallog.attach(logfile);
deallog.depth_console(0);
// mapping.cc,v 1.19 2004/01/30 09:56:19 hartmann Exp
-// Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006 Ralf Hartmann
+// Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006, 2008 Ralf Hartmann
//
// Shows the shape functions implemented and computes the area of cells.
#include <fe/fe.h>
#include <vector>
#include <fstream>
+#include <iomanip>
#include <string>
-
#include <sstream>
#define PRECISION 2
int main()
{
std::ofstream logfile ("mapping/output");
- logfile.precision (PRECISION);
+ deallog << std::setprecision(PRECISION);
deallog.attach(logfile);
deallog.depth_console(0);
deallog.threshold_double(1.e-10);
// mapping_c1.cc,v 1.5 2003/04/09 15:49:55 wolf Exp
-// Copyright (C) 2001, 2003, 2005 Wolfgang Bangerth
+// Copyright (C) 2001, 2003, 2005, 2008 Wolfgang Bangerth
//
// Test the continuity of normal vectors at vertices, and thus the
// C1-ness of the C1-mapping
#include <algorithm>
#include <fstream>
+#include <iomanip>
#define PRECISION 2
int main ()
{
std::ofstream logfile ("mapping_c1/output");
- logfile.setf(std::ios::fixed);
- logfile.precision (PRECISION);
+ deallog << std::fixed;
+ deallog << std::setprecision(PRECISION) << std::fixed;
deallog.attach(logfile);
deallog.depth_console(0);
deallog.threshold_double(1.e-10);
main()
{
std::ofstream logfile ("mapping_q1_eulerian/output");
- logfile.precision (2);
- logfile.setf(std::ios::fixed);
+ deallog << std::setprecision(2);
+ deallog << std::fixed;
deallog.attach(logfile);
deallog.depth_console(0);
deallog.threshold_double(1.e-10);
int main ()
{
std::ofstream logfile ("mapping_q_eulerian/output");
- logfile.precision (2);
- logfile.setf(std::ios::fixed);
+ deallog << std::setprecision(2);
+ deallog << std::fixed;
deallog.attach(logfile);
deallog.depth_console(0);
deallog.threshold_double(1.e-10);
main()
{
std::ofstream logfile ("nedelec/output");
- logfile.precision (PRECISION);
- logfile.setf(std::ios::fixed);
+ deallog << std::setprecision(PRECISION);
+ deallog << std::fixed;
deallog.attach(logfile);
deallog.depth_console(0);
deallog.threshold_double(1.e-10);
main()
{
std::ofstream logfile ("nedelec_2/output");
- logfile.precision (PRECISION);
- logfile.setf(std::ios::fixed);
+ deallog << std::setprecision(PRECISION);
+ deallog << std::fixed;
deallog.attach(logfile);
deallog.depth_console(0);
deallog.threshold_double(1.e-10);
main()
{
std::ofstream logfile ("nedelec_3/output");
- logfile.precision (PRECISION);
- logfile.setf(std::ios::fixed);
+ deallog << std::setprecision(PRECISION);
+ deallog << std::fixed;
deallog.attach(logfile);
deallog.depth_console(0);
deallog.threshold_double(1.e-10);
int main ()
{
- logfile.precision (2);
- logfile.setf(std::ios::fixed);
+ deallog << std::setprecision(2);
+ deallog << std::fixed;
deallog.attach(logfile);
deallog.depth_console (0);
main()
{
std::ofstream logfile ("q_1/output");
- logfile.precision (PRECISION);
- logfile.setf(std::ios::fixed);
+ deallog << std::setprecision(PRECISION);
+ deallog << std::fixed;
deallog.attach(logfile);
deallog.depth_console(0);
deallog.threshold_double(1.e-10);
main()
{
std::ofstream logfile ("q_2/output");
- logfile.precision (PRECISION);
- logfile.setf(std::ios::fixed);
+ deallog << std::setprecision(PRECISION);
+ deallog << std::fixed;
deallog.attach(logfile);
deallog.depth_console(0);
deallog.threshold_double(1.e-10);
main()
{
std::ofstream logfile ("q_3/output");
- logfile.precision (PRECISION);
- logfile.setf(std::ios::fixed);
+ deallog << std::setprecision(PRECISION);
+ deallog << std::fixed;
deallog.attach(logfile);
deallog.depth_console(0);
deallog.threshold_double(1.e-10);
main()
{
std::ofstream logfile ("q_4/output");
- logfile.precision (PRECISION);
- logfile.setf(std::ios::fixed);
+ deallog << std::setprecision(PRECISION);
+ deallog << std::fixed;
deallog.attach(logfile);
deallog.depth_console(0);
deallog.threshold_double(1.e-10);
main()
{
std::ofstream logfile ("rt_1/output");
- logfile.precision (PRECISION);
- logfile.setf(std::ios::fixed);
+ deallog << std::setprecision(PRECISION);
+ deallog << std::fixed;
deallog.attach(logfile);
deallog.depth_console(0);
deallog.threshold_double(1.e-10);
int
main()
{
- logfile.precision (PRECISION);
- logfile.setf(std::ios::fixed);
+ deallog << std::setprecision(PRECISION);
+ deallog << std::fixed;
deallog.attach(logfile);
deallog.depth_console(0);
deallog.threshold_double(1.e-10);
int
main()
{
- logfile.precision (PRECISION);
- logfile.setf(std::ios::fixed);
+ deallog << std::setprecision(PRECISION);
+ deallog << std::fixed;
deallog.attach(logfile);
deallog.depth_console(0);
deallog.threshold_double(1.e-10);
int
main()
{
- logfile.precision (PRECISION);
- logfile.setf(std::ios::fixed);
+ deallog << std::setprecision(PRECISION);
+ deallog << std::fixed;
deallog.attach(logfile);
deallog.depth_console(0);
deallog.threshold_double(1.e-10);
int
main()
{
- logfile.precision (PRECISION);
- logfile.setf(std::ios::fixed);
+ deallog << std::setprecision(PRECISION);
+ deallog << std::fixed;
deallog.attach(logfile);
deallog.depth_console(0);
deallog.threshold_double(1.e-10);
int
main()
{
- logfile.precision (PRECISION);
- logfile.setf(std::ios::fixed);
+ deallog << std::setprecision(PRECISION);
+ deallog << std::fixed;
deallog.attach(logfile);
deallog.depth_console(0);
deallog.threshold_double(1.e-10);
int
main()
{
- logfile.precision (PRECISION);
- logfile.setf(std::ios::fixed);
+ deallog << std::setprecision(PRECISION);
+ deallog << std::fixed;
deallog.attach(logfile);
deallog.depth_console(0);
deallog.threshold_double(1.e-10);
main()
{
std::ofstream logfile ("rt_2/output");
- logfile.precision (PRECISION);
- logfile.setf(std::ios::fixed);
+ deallog << std::setprecision(PRECISION);
+ deallog << std::fixed;
deallog.attach(logfile);
deallog.depth_console(0);
deallog.threshold_double(1.e-10);
main()
{
std::ofstream logfile ("rt_3/output");
- logfile.precision (PRECISION);
- logfile.setf(std::ios::fixed);
+ deallog << std::setprecision(PRECISION);
+ deallog << std::fixed;
deallog.attach(logfile);
deallog.depth_console(0);
deallog.threshold_double(1.e-10);
main()
{
std::ofstream logfile ("rt_5/output");
- logfile.precision (PRECISION);
- logfile.setf(std::ios::fixed);
+ deallog << std::setprecision(PRECISION);
+ deallog << std::fixed;
deallog.attach(logfile);
deallog.depth_console(0);
deallog.threshold_double(1.e-10);
main()
{
std::ofstream logfile ("rt_7/output");
- logfile.precision (PRECISION);
- logfile.setf(std::ios::fixed);
+ deallog << std::setprecision(PRECISION);
+ deallog << std::fixed;
deallog.attach(logfile);
deallog.depth_console(0);
deallog.threshold_double(1.e-10);
int
main()
{
- logfile.precision (PRECISION);
- logfile.setf(std::ios::fixed);
+ deallog << std::setprecision(PRECISION);
+ deallog << std::fixed;
deallog.attach(logfile);
deallog.depth_console(0);
deallog.threshold_double(1.e-10);
int
main()
{
- logfile.precision (PRECISION);
- logfile.setf(std::ios::fixed);
+ deallog << std::setprecision(PRECISION);
+ deallog << std::fixed;
deallog.attach(logfile);
deallog.depth_console(0);
deallog.threshold_double(1.e-10);
// rt_approximation_01.cc,v 1.3 2003/06/09 16:00:38 wolf Exp
// Version:
//
-// Copyright (C) 2003, 2005, 2006, 2007 by the deal.II authors
+// Copyright (C) 2003, 2005, 2006, 2007, 2008 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 ()
{
- logfile.precision (PRECISION);
- logfile.setf(std::ios::fixed);
+ deallog << std::setprecision(PRECISION);
+ deallog << std::fixed;
+ logfile << std::setprecision(PRECISION);
+ logfile << std::fixed;
deallog.attach(logfile);
deallog.depth_console(0);
deallog.threshold_double(1.e-10);
int main (int /*argc*/, char **/*argv*/)
{
- logfile.precision (PRECISION);
- logfile.setf(std::ios::fixed);
+ deallog << std::setprecision(PRECISION);
+ deallog << std::fixed;
deallog.attach(logfile);
deallog.depth_console(0);
deallog.threshold_double(1.e-10);
// rtn_2.cc,v 1.3 2003/06/09 16:00:38 wolf Exp
// Version:
//
-// Copyright (C) 2003, 2005, 2006 by the deal.II authors
+// Copyright (C) 2003, 2005, 2006, 2008 by the deal.II authors
//
// This file is subject to QPL and may not be distributed
// without copyright and license information. Please refer
main()
{
std::ofstream logfile ("rtn_2/output");
- logfile.precision (PRECISION);
- logfile.setf(std::ios::fixed);
+ deallog << std::setprecision(PRECISION) << std::fixed;
deallog.attach(logfile);
deallog.depth_console(0);
deallog.threshold_double(1.e-10);
main()
{
std::ofstream logfile ("rtn_3/output");
- logfile.precision (PRECISION);
- logfile.setf(std::ios::fixed);
+ deallog << std::setprecision(PRECISION);
+ deallog << std::fixed;
deallog.attach(logfile);
deallog.depth_console(0);
deallog.threshold_double(1.e-10);
main()
{
std::ofstream logfile ("shapes/output");
- logfile.precision (PRECISION);
- logfile.setf(std::ios::fixed);
+ deallog << std::setprecision(PRECISION) << std::fixed;
deallog.attach(logfile);
deallog.depth_console(0);
deallog.threshold_double(1.e-10);
main()
{
std::ofstream logfile ("system_1/output");
- logfile.precision (PRECISION);
- logfile.setf(std::ios::fixed);
+ deallog << std::setprecision(PRECISION);
+ deallog << std::fixed;
deallog.attach(logfile);
deallog.depth_console(0);
deallog.threshold_double(1.e-10);
main()
{
std::ofstream logfile ("system_index/output");
- logfile.precision (PRECISION);
- logfile.setf(std::ios::fixed);
+ deallog << std::setprecision(PRECISION);
+ deallog << std::fixed;
deallog.attach(logfile);
deallog.depth_console(0);
deallog.threshold_double(1.e-10);
{
std::ofstream logfile("transfer/output");
deallog.attach(logfile);
- logfile.precision(3);
+ deallog << std::setprecision(3);
deallog.depth_console(0);
deallog.threshold_double(1.e-10);
main()
{
std::ofstream logfile ("up_and_down/output");
- logfile.precision (PRECISION);
- logfile.setf(std::ios::fixed);
+ deallog << std::setprecision(PRECISION);
+ deallog << std::fixed;
deallog.attach(logfile);
deallog.depth_console(0);
deallog.threshold_double(1.e-10);