int
main()
{
- std::string logname = "output";
- std::ofstream logfile(logname.c_str());
- deallog.attach(logfile);
+ initlog();
test();
}
int
main()
{
- std::string logname = "output";
- std::ofstream logfile(logname.c_str());
- deallog.attach(logfile);
+ initlog();
test<2>();
}
int
main()
{
- std::string logname = "output";
- std::ofstream logfile(logname.c_str());
- deallog.attach(logfile);
+ initlog();
FullMatrix<double> matrix(2);
matrix(0, 0) = 0.;
{
try
{
- std::ofstream logfile("output");
+ initlog();
deallog << std::setprecision(2);
- deallog.attach(logfile);
ImposeBC<2>().run();
ImposeBC<3>().run();
int
main()
{
- std::ofstream logfile("output");
- deallog.attach(logfile);
+ initlog();
// build test-case trias
int
main()
{
- std::ofstream logfile("output");
- deallog.attach(logfile);
+ initlog();
Triangulation<2> tria;
GridGenerator::hyper_cube(tria, 0, 1);
int
main()
{
- std::ofstream logfile("output");
- logfile << std::setprecision(2);
+ initlog();
deallog << std::setprecision(2);
- deallog.attach(logfile);
check<1>();
check<2>();
int
main()
{
- std::ofstream logfile("output");
- logfile << std::setprecision(2);
+ initlog();
deallog << std::setprecision(2);
- deallog.attach(logfile);
check<2>();
check<3>();
int
main()
{
- std::ofstream logfile("output");
+ initlog();
deallog << std::setprecision(4);
- deallog.attach(logfile);
GrowingVectorMemory<> mem;
SolverControl control(100, 1.e-3);
int
main()
{
- std::ofstream logfile("output");
+ initlog();
deallog << std::setprecision(4);
- deallog.attach(logfile);
GrowingVectorMemory<> mem;
SolverControl control(100, 1.e-3);
{
deal_II_exceptions::disable_abort_on_exception();
- std::ofstream logfile("output");
+ initlog();
deallog << std::setprecision(4) << std::fixed;
- deallog.attach(logfile);
test();
int
main()
{
- std::ofstream logfile("output");
- deallog << std::setprecision(2);
- deallog << std::fixed;
- deallog.attach(logfile);
+ initlog();
+ deallog << std::setprecision(2) << std::fixed;
deallog.push("1d");
check<1>();
int
main()
{
- std::ofstream logfile("output");
- deallog << std::setprecision(2);
- deallog << std::fixed;
- deallog.attach(logfile);
+ initlog();
+ deallog << std::setprecision(2) << std::fixed;
deallog.push("1d");
check<1>();
int
main()
{
- std::ofstream logfile("output");
- deallog << std::setprecision(2);
- deallog << std::fixed;
- deallog.attach(logfile);
+ initlog();
+ deallog << std::setprecision(2) << std::fixed;
check<3>();
}
{
try
{
- std::ofstream logfile("output");
+ initlog();
deallog << std::setprecision(6);
- deallog.attach(logfile);
check<1>();
check<2>();
{
try
{
- std::ofstream logfile("output");
+ initlog();
deallog << std::setprecision(6);
- deallog.attach(logfile);
check<1>();
check<2>();
{
try
{
- std::ofstream logfile("output");
+ initlog();
deallog << std::setprecision(2);
- deallog.attach(logfile);
CHECK_ALL(Q, 1);
CHECK_ALL(Q, 2);
{
try
{
- std::ofstream logfile("output");
+ initlog();
deallog << std::setprecision(2);
- deallog.attach(logfile);
CHECK_ALL(Q, 1);
CHECK_ALL(Q, 2);
{
try
{
- std::ofstream logfile("output");
+ initlog();
deallog << std::setprecision(2);
- deallog.attach(logfile);
CHECK_ALL(Q, 1);
CHECK_ALL(Q, 2);
{
try
{
- std::ofstream logfile("output");
+ initlog();
deallog << std::setprecision(8);
- deallog.attach(logfile);
deallog.depth_console(0);
CHECK_ALL(Q, 1, Q, 1);
int
main()
{
- std::ofstream logfile("output");
- deallog << std::setprecision(3);
- deallog << std::fixed;
- deallog.attach(logfile);
+ initlog();
+ deallog << std::setprecision(3) << std::fixed;
// The general idea behind the
// layout of this function is as
int
main()
{
- std::ofstream logfile("output");
+ initlog();
deallog << std::setprecision(4);
- deallog.attach(logfile);
deallog.push("1d");
check<1>();
int
main()
{
- std::ofstream logfile("output");
+ initlog();
deallog << std::setprecision(4);
- deallog.attach(logfile);
deallog.push("1d");
check<1>();
int
main()
{
- std::ofstream logfile("output");
+ initlog();
deallog << std::setprecision(4);
- deallog.attach(logfile);
deallog.push("1d");
check<1>();
int
main()
{
- std::ofstream logfile("output");
+ initlog();
deallog << std::setprecision(4);
- deallog.attach(logfile);
deallog.push("1d");
check<1>();
int
main()
{
- std::ofstream logfile("output");
+ initlog();
deallog << std::setprecision(4);
- deallog.attach(logfile);
deallog.push("1d");
check<1>();
int
main()
{
- std::ofstream logfile("output");
+ initlog();
deallog << std::setprecision(4);
- deallog.attach(logfile);
deallog.push("1d");
check<1>();
int
main()
{
- std::ofstream logfile("output");
+ initlog();
deallog << std::setprecision(4);
- deallog.attach(logfile);
deallog.push("1d");
check<1>();
int
main()
{
- std::ofstream logfile("output");
+ initlog();
deallog << std::setprecision(4);
- deallog.attach(logfile);
deallog.push("1d");
check<1>();
int
main()
{
- std::ofstream logfile("output");
+ initlog();
deallog << std::setprecision(4);
- deallog.attach(logfile);
deallog.push("1d");
check<1>();
int
main()
{
- std::ofstream logfile("output");
+ initlog();
deallog << std::setprecision(4);
- deallog.attach(logfile);
deallog.push("1d");
check<1>();
int
main()
{
- std::ofstream logfile("output");
- deallog.attach(logfile);
+ initlog();
deallog << " 1D solution transfer" << std::endl;
transfer<1>(logfile);
int
main()
{
- ofstream logfile("output");
- deallog.attach(logfile);
+ initlog();
// Extract the boundary of 3/4 of a sphere
{
int
main()
{
- ofstream logfile("output");
- deallog.attach(logfile);
+ initlog();
test();
}
int
main()
{
- ofstream logfile("output");
- deallog.attach(logfile);
+ initlog();
test();
}
int
main()
{
- ofstream logfile("output");
- deallog.attach(logfile);
+ initlog();
test<1>();
test<2>();
int
main()
{
- ofstream logfile("output");
- deallog.attach(logfile);
+ initlog();
{
// Extract the whole boundary of a hyper-cube
int
main()
{
- ofstream logfile("output");
- deallog.attach(logfile);
+ initlog();
{
int
main()
{
- ofstream logfile("output");
- deallog.attach(logfile);
+ initlog();
{
int
main()
{
- ofstream logfile("output");
- deallog.attach(logfile);
+ initlog();
{
int
main()
{
- ofstream logfile("output");
- deallog.attach(logfile);
+ initlog();
{
int
main()
{
- ofstream logfile("output");
- deallog.attach(logfile);
+ initlog();
test();
}
int
main()
{
- ofstream logfile("output");
- deallog.attach(logfile);
+ initlog();
test();
}
int
main(int argc, char **argv)
{
- std::ofstream logfile("output");
+ initlog();
deallog << std::setprecision(2);
- logfile << std::setprecision(2);
- deallog.attach(logfile);
check<2>();
int
main()
{
- std::ofstream logfile("output");
- deallog.attach(logfile);
+ initlog();
deallog << std::setprecision(4);
logfile << std::setprecision(4);
{
try
{
- std::ofstream logfile("output");
+ initlog();
deallog << std::setprecision(8);
- logfile << std::setprecision(8);
- deallog.attach(logfile);
test<1>();
test<2>();
{
try
{
- std::ofstream logfile("output");
+ initlog();
deallog << std::setprecision(2);
- logfile << std::setprecision(2);
- deallog.attach(logfile);
test<1>();
test<2>();
{
try
{
- std::ofstream logfile("output");
+ initlog();
deallog << std::setprecision(2);
- logfile << std::setprecision(2);
- deallog.attach(logfile);
test<1>();
test<2>();
{
try
{
- std::ofstream logfile("output");
+ initlog();
deallog << std::setprecision(2);
- logfile << std::setprecision(2);
- deallog.attach(logfile);
test<1>();
test<2>();
{
try
{
- std::ofstream logfile("output");
+ initlog();
deallog << std::setprecision(2);
- logfile << std::setprecision(2);
- deallog.attach(logfile);
test<1>();
test<2>();
int
main()
{
- std::ofstream logfile("output");
- deallog << std::setprecision(2);
- deallog << std::fixed;
- deallog.attach(logfile);
+ initlog();
+ deallog << std::setprecision(2) << std::fixed;
deallog.push("1d");
check<1>();
int
main()
{
- std::ofstream logfile("output");
- deallog << std::setprecision(2);
- deallog << std::fixed;
- deallog.attach(logfile);
+ initlog();
+ deallog << std::setprecision(2) << std::fixed;
deallog.push("1d");
check<1>();
int
main()
{
- std::ofstream logfile("output");
- deallog << std::setprecision(2);
- deallog << std::fixed;
- deallog.attach(logfile);
+ initlog();
+ deallog << std::setprecision(2) << std::fixed;
deallog.push("1d");
check<1>();
int
main()
{
- std::ofstream logfile("output");
- deallog << std::setprecision(2);
- deallog << std::fixed;
- deallog.attach(logfile);
+ initlog();
+ deallog << std::setprecision(2) << std::fixed;
deallog.push("1d");
check<1>();
int
main()
{
- std::ofstream logfile("output");
- deallog << std::setprecision(2);
- deallog << std::fixed;
- deallog.attach(logfile);
+ initlog();
+ deallog << std::setprecision(2) << std::fixed;
check<2>();
}
int
main()
{
- std::ofstream logfile("output");
- deallog << std::setprecision(2);
- deallog << std::fixed;
- deallog.attach(logfile);
+ initlog();
+ deallog << std::setprecision(2) << std::fixed;
deallog.push("1d");
check<1>();
int
main()
{
- std::ofstream logfile("output");
- deallog << std::setprecision(2);
- deallog << std::fixed;
- deallog.attach(logfile);
+ initlog();
+ deallog << std::setprecision(2) << std::fixed;
deallog.push("1d");
check<1>();
int
main()
{
- std::ofstream logfile("output");
- deallog << std::setprecision(2);
- deallog << std::fixed;
- deallog.attach(logfile);
+ initlog();
+ deallog << std::setprecision(2) << std::fixed;
deallog.push("1d");
check<1>();
int
main()
{
- std::ofstream logfile("output");
- deallog << std::setprecision(2);
- deallog << std::fixed;
- deallog.attach(logfile);
+ initlog();
+ deallog << std::setprecision(2) << std::fixed;
deallog.push("1d");
check<1>();
int
main()
{
- std::ofstream logfile("output");
- deallog << std::setprecision(2);
- deallog << std::fixed;
- deallog.attach(logfile);
+ initlog();
+ deallog << std::setprecision(2) << std::fixed;
deallog.push("1d");
check<1>();
int
main()
{
- std::ofstream logfile("output");
- deallog << std::setprecision(2);
- deallog << std::fixed;
- deallog.attach(logfile);
+ initlog();
+ deallog << std::setprecision(2) << std::fixed;
deallog.push("1d");
check<1>();
{
try
{
- std::ofstream logfile("output");
- logfile << std::setprecision(2);
+ initlog();
deallog << std::setprecision(2);
- deallog.attach(logfile);
check_this();
return 0;
int
main()
{
- std::ofstream logfile("output");
- deallog << std::setprecision(2);
- deallog << std::fixed;
- deallog.attach(logfile);
+ initlog();
+ deallog << std::setprecision(2) << std::fixed;
deallog.push("2d");
check<2>();
int
main()
{
- std::ofstream logfile("output");
- deallog << std::setprecision(2);
- deallog << std::fixed;
- deallog.attach(logfile);
+ initlog();
+ deallog << std::setprecision(2) << std::fixed;
deallog.push("2d");
check<2>();
int
main()
{
- std::ofstream logfile("output");
- deallog << std::setprecision(2);
- deallog << std::fixed;
- deallog.attach(logfile);
+ initlog();
+ deallog << std::setprecision(2) << std::fixed;
deallog.push("2d");
check<2>();
int
main()
{
- std::ofstream logfile("output");
- deallog << std::setprecision(2);
- deallog << std::fixed;
- deallog.attach(logfile);
+ initlog();
+ deallog << std::setprecision(2) << std::fixed;
deallog.push("2d");
check<2>();
int
main()
{
- std::ofstream logfile("output");
- deallog << std::setprecision(2);
- deallog << std::fixed;
- deallog.attach(logfile);
+ initlog();
+ deallog << std::setprecision(2) << std::fixed;
deallog.push("2d");
check<2>();
int
main()
{
- std::ofstream logfile("output");
- deallog << std::setprecision(2);
- deallog << std::fixed;
- deallog.attach(logfile);
+ initlog();
+ deallog << std::setprecision(2) << std::fixed;
deallog.push("2d");
check<2>();
int
main()
{
- std::ofstream logfile("output");
- deallog << std::setprecision(2);
- deallog << std::fixed;
- deallog.attach(logfile);
+ initlog();
+ deallog << std::setprecision(2) << std::fixed;
deallog.push("2d");
check<2>();
int
main()
{
- std::ofstream logfile("output");
- deallog << std::setprecision(2);
- deallog << std::fixed;
- deallog.attach(logfile);
+ initlog();
+ deallog << std::setprecision(2) << std::fixed;
deallog.push("2d");
check<2>();
int
main()
{
- std::ofstream logfile("output");
- deallog << std::setprecision(2);
- deallog << std::fixed;
- deallog.attach(logfile);
+ initlog();
+ deallog << std::setprecision(2) << std::fixed;
deallog.push("2d");
check<2>();
int
main()
{
- std::ofstream logfile("output");
- deallog << std::setprecision(2);
- deallog << std::fixed;
- deallog.attach(logfile);
+ initlog();
+ deallog << std::setprecision(2) << std::fixed;
deallog.push("2d");
check<2>();
int
main()
{
- std::ofstream logfile("output");
- deallog << std::setprecision(2);
- deallog << std::fixed;
- deallog.attach(logfile);
+ initlog();
+ deallog << std::setprecision(2) << std::fixed;
deallog.push("2d");
check<2>();
int
main()
{
- std::ofstream logfile("output");
- deallog << std::setprecision(2);
- deallog << std::fixed;
- deallog.attach(logfile);
+ initlog();
+ deallog << std::setprecision(2) << std::fixed;
deallog.push("2d");
check<2>();
int
main()
{
- std::ofstream logfile("output");
- deallog << std::setprecision(2);
- deallog << std::fixed;
- deallog.attach(logfile);
+ initlog();
+ deallog << std::setprecision(2) << std::fixed;
deallog.push("2d");
check<2>();
int
main()
{
- std::ofstream logfile("output");
- deallog << std::setprecision(2);
- deallog << std::fixed;
- deallog.attach(logfile);
+ initlog();
+ deallog << std::setprecision(2) << std::fixed;
deallog.push("2d");
check<2>();
int
main()
{
- std::ofstream logfile("output");
+ initlog();
deallog << std::setprecision(3);
- deallog.attach(logfile);
-
test<1>();
test<2>();
test<3>();
int
main()
{
- std::ofstream logfile("output");
+ initlog();
deallog << std::setprecision(3);
- deallog.attach(logfile);
-
test<1>();
test<2>();
test<3>();
int
main()
{
- std::ofstream logfile("output");
+ initlog();
deallog << std::setprecision(3);
- deallog.attach(logfile);
-
test<1>();
test<2>();
test<3>();
int
main()
{
- std::ofstream logfile("output");
+ initlog();
deallog << std::setprecision(3);
- deallog.attach(logfile);
-
test<1>();
test<2>();
test<3>();
int
main()
{
- std::ofstream logfile("output");
+ initlog();
deallog << std::setprecision(3);
- deallog.attach(logfile);
-
test<1>();
test<2>();
test<3>();
int
main()
{
- std::ofstream logfile("output");
+ initlog();
deallog << std::setprecision(3);
- deallog.attach(logfile);
-
test<1>();
test<2>();
test<3>();
int
main()
{
- std::ofstream logfile("output");
+ initlog();
deallog << std::setprecision(3);
- deallog.attach(logfile);
-
test<1>();
test<2>();
test<3>();
int
main()
{
- std::ofstream logfile("output");
+ initlog();
deallog << std::setprecision(3);
- deallog.attach(logfile);
-
test<1>();
test<2>();
test<3>();
int
main()
{
- std::ofstream logfile("output");
+ initlog();
deallog << std::setprecision(3);
- deallog.attach(logfile);
-
test<1>();
test<2>();
test<3>();
int
main()
{
- std::ofstream logfile("output");
+ initlog();
deallog << std::setprecision(2);
- deallog.attach(logfile);
-
const unsigned int dim = 2;
Triangulation<dim> tria;
GridGenerator::hyper_cube(tria);
int
main()
{
- std::ofstream logfile("output");
+ initlog();
deallog << std::setprecision(3);
- deallog.attach(logfile);
-
Step6<2> laplace_problem_2d;
laplace_problem_2d.run();
}
int
main()
{
- std::ofstream logfile("output");
- deallog << std::setprecision(2);
- deallog << std::fixed;
- deallog.attach(logfile);
+ initlog();
+ deallog << std::setprecision(2) << std::fixed;
deallog.push("1d");
check<1>();
int
main()
{
- std::ofstream logfile("output");
- deallog << std::setprecision(2);
- deallog << std::fixed;
- deallog.attach(logfile);
+ initlog();
+ deallog << std::setprecision(2) << std::fixed;
deallog.push("1d");
check<1>();
int
main()
{
- std::ofstream logfile("output");
- deallog << std::setprecision(2);
- deallog << std::fixed;
- deallog.attach(logfile);
+ initlog();
+ deallog << std::setprecision(2) << std::fixed;
deallog.push("1d");
check<1>();
int
main()
{
- std::ofstream logfile("output");
- deallog << std::setprecision(2);
- deallog << std::fixed;
- deallog.attach(logfile);
+ initlog();
+ deallog << std::setprecision(2) << std::fixed;
deallog.push("1d");
check<1>();
int
main()
{
- std::ofstream logfile("output");
- deallog << std::setprecision(2);
- deallog << std::fixed;
- deallog.attach(logfile);
+ initlog();
+ deallog << std::setprecision(2) << std::fixed;
deallog.push("1d");
check<1>();
int
main()
{
- std::ofstream logfile("output");
- deallog << std::setprecision(2);
- deallog << std::fixed;
- deallog.attach(logfile);
+ initlog();
+ deallog << std::setprecision(2) << std::fixed;
deallog.push("1d");
check<1>();
int
main()
{
- std::ofstream logfile("output");
- logfile.precision(2);
-
- deallog.attach(logfile);
+ initlog();
+ deallog << std::setprecision(2);
// test<1> ();
test<2>();
int
main()
{
- std::ofstream logfile("output");
- deallog.attach(logfile);
+ initlog();
deallog << "dim=2:" << std::endl;
for (unsigned int degree = 0; degree < 2; ++degree)
int
main()
{
- std::ofstream logfile("output");
+ initlog();
deallog << std::setprecision(4);
- deallog.attach(logfile);
-
test();
}
{
deal_II_exceptions::disable_abort_on_exception();
- std::ofstream logfile("output");
+ initlog();
deallog << std::setprecision(4);
- deallog.attach(logfile);
-
test();
}
int
main()
{
- std::ofstream logfile("output");
+ initlog();
deallog << std::setprecision(4);
- deallog.attach(logfile);
-
test();
}
int
main()
{
- std::ofstream logfile("output");
+ initlog();
deallog << std::setprecision(4);
- deallog.attach(logfile);
-
test();
}
int
main()
{
- std::ofstream logfile("output");
+ initlog();
deallog << std::setprecision(4);
- deallog.attach(logfile);
-
test();
}
int
main()
{
- std::ofstream logfile("output");
+ initlog();
deallog << std::setprecision(4);
- deallog.attach(logfile);
-
test();
}
{
deal_II_exceptions::disable_abort_on_exception();
- std::ofstream logfile("output");
+ initlog();
deallog << std::setprecision(4);
- deallog.attach(logfile);
-
test();
}
int
main()
{
- std::ofstream logfile("output");
+ initlog();
deallog << std::setprecision(4);
- deallog.attach(logfile);
-
test();
}
int
main()
{
- std::ofstream logfile("output");
+ initlog();
deallog << std::setprecision(4);
- deallog.attach(logfile);
-
test();
}
int
main()
{
- std::ofstream logfile("output");
+ initlog();
deallog << std::setprecision(4);
- deallog.attach(logfile);
-
test();
}
int
main()
{
- std::ofstream logfile("output");
+ initlog();
deallog << std::setprecision(4);
- deallog.attach(logfile);
-
test();
}
int
main()
{
- std::ofstream logfile("output");
+ initlog();
deallog << std::setprecision(4);
- deallog.attach(logfile);
-
test<2>();
test<3>();
}
int
main()
{
- std::ofstream logfile("output");
+ initlog();
deallog << std::setprecision(4);
- deallog.attach(logfile);
-
test<2>();
test<3>();
}
int
main()
{
- std::ofstream logfile("output");
+ initlog();
deallog << std::setprecision(4);
- deallog.attach(logfile);
-
test<2>();
test<3>();
}
int
main()
{
- std::ofstream logfile("output");
+ initlog();
deallog << std::setprecision(4);
- deallog.attach(logfile);
-
test<2>();
test<3>();
}
int
main()
{
- std::ofstream logfile("output");
+ initlog();
deallog << std::setprecision(4);
- deallog.attach(logfile);
-
test<2>();
test<3>();
}
int
main()
{
- std::ofstream logfile("output");
+ initlog();
deallog << std::setprecision(4);
- deallog.attach(logfile);
-
test<2>();
test<3>();
}
int
main()
{
- std::ofstream logfile("output");
+ initlog();
deallog << std::setprecision(4);
- deallog.attach(logfile);
-
test<2>();
// test<3>();
}
int
main()
{
- std::ofstream logfile("output");
+ initlog();
deallog << std::setprecision(4);
- deallog.attach(logfile);
-
test<2>();
// test<3>();
}
int
main()
{
- std::ofstream logfile("output");
+ initlog();
deallog << std::setprecision(4);
- deallog.attach(logfile);
-
test<2>();
// test<3>();
}
int
main()
{
- std::ofstream logfile("output");
+ initlog();
deallog << std::setprecision(4);
- deallog.attach(logfile);
-
test<2>();
// test<3>();
}
int
main()
{
- std::ofstream logfile("output");
+ initlog();
deallog << std::setprecision(4);
- deallog.attach(logfile);
-
test<2>();
test<3>();
}
int
main()
{
- std::ofstream logfile("output");
+ initlog();
deallog << std::setprecision(4);
- deallog.attach(logfile);
-
test<2>();
test<3>();
}
int
main()
{
- std::ofstream logfile("output");
+ initlog();
deallog << std::setprecision(4);
- deallog.attach(logfile);
-
test<2>();
test<3>();
}
int
main()
{
- std::ofstream logfile("output");
+ initlog();
deallog << std::setprecision(4);
- deallog.attach(logfile);
-
test<2>();
test<3>();
}
int
main()
{
- std::ofstream logfile("output");
+ initlog();
deallog << std::setprecision(4);
- deallog.attach(logfile);
-
test<2>();
test<3>();
}
int
main()
{
- std::ofstream logfile("output");
+ initlog();
deallog << std::setprecision(4);
- deallog.attach(logfile);
-
test<2>();
test<3>();
}
int
main()
{
- std::ofstream logfile("output");
+ initlog();
deallog << std::setprecision(4);
- deallog.attach(logfile);
-
test<2>();
// test<3>();
}
int
main()
{
- std::ofstream logfile("output");
+ initlog();
deallog << std::setprecision(4);
- deallog.attach(logfile);
-
test<2>();
// test<3>();
}
int
main()
{
- std::ofstream logfile("output");
+ initlog();
deallog << std::setprecision(4);
- deallog.attach(logfile);
-
test<2>();
// test<3>();
}
int
main()
{
- std::ofstream logfile("output");
+ initlog();
deallog << std::setprecision(4);
- deallog.attach(logfile);
-
test<2>();
// test<3>();
}
int
main()
{
- std::ofstream logfile("output");
+ initlog();
deallog << std::setprecision(4);
- deallog.attach(logfile);
-
test<2>();
test<3>();
}
int
main()
{
- std::ofstream logfile("output");
+ initlog();
deallog << std::setprecision(4);
- deallog.attach(logfile);
-
test<2>();
test<3>();
}
int
main()
{
- std::ofstream logfile("output");
+ initlog();
deallog << std::setprecision(4);
- deallog.attach(logfile);
-
test<2>();
test<3>();
}
int
main()
{
- std::ofstream logfile("output");
+ initlog();
deallog << std::setprecision(4);
- deallog.attach(logfile);
-
test<2>();
test<3>();
}
int
main()
{
- std::ofstream logfile("output");
+ initlog();
deallog << std::setprecision(4);
- deallog.attach(logfile);
-
test<2>();
test<3>();
}
int
main()
{
- std::ofstream logfile("output");
+ initlog();
deallog << std::setprecision(4);
- deallog.attach(logfile);
-
test<2>();
test<3>();
}
int
main()
{
- std::ofstream logfile("output");
+ initlog();
deallog << std::setprecision(4);
- deallog.attach(logfile);
-
test<2>();
// test<3>();
}
int
main()
{
- std::ofstream logfile("output");
+ initlog();
deallog << std::setprecision(4);
- deallog.attach(logfile);
-
test<2>();
// test<3>();
}
int
main()
{
- std::ofstream logfile("output");
+ initlog();
deallog << std::setprecision(4);
- deallog.attach(logfile);
-
test<2>();
// test<3>();
}
int
main()
{
- std::ofstream logfile("output");
+ initlog();
deallog << std::setprecision(4);
- deallog.attach(logfile);
-
test<2>();
// test<3>();
}
int
main()
{
- std::ofstream logfile("output");
- deallog << std::setprecision(2);
- deallog << std::fixed;
- deallog.attach(logfile);
+ initlog();
+ deallog << std::setprecision(2) << std::fixed;
check<FE_Q>(1, 4);
check1<FE_Q_Hierarchical>(1, 4);
int
main()
{
- std::ofstream logfile("output");
+ initlog();
deallog << std::setprecision(4);
- deallog.attach(logfile);
-
test();
}
{
deal_II_exceptions::disable_abort_on_exception();
- std::ofstream logfile("output");
+ initlog();
deallog << std::setprecision(4);
- deallog.attach(logfile);
-
test();
}
int
main()
{
- std::ofstream logfile("output");
+ initlog();
deallog << std::setprecision(4);
- deallog.attach(logfile);
-
test();
}
int
main()
{
- std::ofstream logfile("output");
+ initlog();
deallog << std::setprecision(4);
- deallog.attach(logfile);
-
test();
}
int
main()
{
- std::ofstream logfile("output");
+ initlog();
deallog << std::setprecision(4);
- deallog.attach(logfile);
-
test();
}
{
deal_II_exceptions::disable_abort_on_exception();
- std::ofstream logfile("output");
+ initlog();
deallog << std::setprecision(4);
- deallog.attach(logfile);
-
test();
}
{
deal_II_exceptions::disable_abort_on_exception();
- std::ofstream logfile("output");
+ initlog();
deallog << std::setprecision(4);
- deallog.attach(logfile);
-
test();
}
int
main()
{
- std::ofstream logfile("output");
+ initlog();
deallog << std::setprecision(4);
- deallog.attach(logfile);
-
test();
}
int
main()
{
- std::ofstream logfile("output");
+ initlog();
deallog << std::setprecision(4);
- deallog.attach(logfile);
-
test();
}
int
main()
{
- std::ofstream logfile("output");
+ initlog();
deallog << std::setprecision(4);
- deallog.attach(logfile);
-
test();
}
int
main()
{
- std::ofstream logfile("output");
+ initlog();
deallog << std::setprecision(4);
- deallog.attach(logfile);
-
test();
}
int
main()
{
- std::ofstream logfile("output");
+ initlog();
deallog << std::setprecision(4);
- deallog.attach(logfile);
-
test();
}
int
main()
{
- std::ofstream logfile("output");
+ initlog();
deallog << std::setprecision(4);
- deallog.attach(logfile);
-
test();
}
{
deal_II_exceptions::disable_abort_on_exception();
- std::ofstream logfile("output");
+ initlog();
deallog << std::setprecision(4);
- deallog.attach(logfile);
-
test();
}
int
main()
{
- std::ofstream logfile("output");
- deallog << std::setprecision(8);
- deallog << std::fixed;
- deallog.attach(logfile);
+ initlog();
+ deallog << std::setprecision(8) << std::fixed;
deallog.push("1d");
plot_FE_Q_shape_functions<1>();
int
main()
{
- std::ofstream logfile("output");
- deallog << std::setprecision(8);
- deallog << std::fixed;
- deallog.attach(logfile);
+ initlog();
+ deallog << std::setprecision(8) << std::fixed;
deallog.push("1d");
plot_FE_Bernstein_shape_functions<1>();
int
main()
{
- std::ofstream logfile("output");
- deallog << std::setprecision(8);
- deallog << std::fixed;
- deallog.attach(logfile);
+ initlog();
+ deallog << std::setprecision(8) << std::fixed;
deallog.push("2d");
plot_FE_Q_shape_functions<2>();
int
main()
{
- std::ofstream logfile("output");
- deallog.attach(logfile);
+ initlog();
test<1>();
test<2>();
int
main()
{
- std::ofstream logfile("output");
+ initlog();
deallog << std::setprecision(3);
- deallog.attach(logfile);
-
test_hyper_cube<2>(1e-6);
deallog << "done..." << std::endl;
int
main()
{
- std::ofstream logfile("output");
+ initlog();
deallog << std::setprecision(3);
- deallog.attach(logfile);
-
test_hyper_cube<2>(1e-6);
test_hyper_cube<3>(1e-6);
}
int
main()
{
- std::ofstream logfile("output");
+ initlog();
deallog << std::setprecision(8);
- deallog.attach(logfile);
-
test_hyper_ball<2>(1e-6);
test_hyper_ball<3>(1e-6);
int
main()
{
- std::ofstream logfile("output");
+ initlog();
deallog << std::setprecision(8);
- deallog.attach(logfile);
-
test_hyper_ball<2>(1e-6);
test_hyper_ball<3>(1e-6);
int
main()
{
- std::ofstream logfile("output");
+ initlog();
deallog << std::setprecision(8);
- deallog.attach(logfile);
-
test_hyper_ball<2>(1e-6);
test_hyper_ball<3>(1e-6);
int
main()
{
- std::ofstream logfile("output");
+ initlog();
deallog << std::setprecision(8);
- deallog.attach(logfile);
-
test_hyper_ball<2>(1e-6);
test_hyper_ball<3>(1e-6);
int
main(int argc, char **argv)
{
- std::ofstream logfile("output");
- deallog << std::setprecision(4);
- deallog << std::fixed;
- deallog.attach(logfile);
+ initlog();
+ deallog << std::setprecision(4) << std::fixed;
deallog.depth_console(0);
try
int
main(int argc, char **argv)
{
- std::ofstream logfile("output");
- deallog << std::setprecision(4);
- deallog << std::fixed;
- deallog.attach(logfile);
+ initlog();
+ deallog << std::setprecision(4) << std::fixed;
deallog.depth_console(0);
int
main(int argc, char **argv)
{
- std::ofstream logfile("output");
- deallog << std::setprecision(4);
- deallog << std::fixed;
- deallog.attach(logfile);
+ initlog();
+ deallog << std::setprecision(4) << std::fixed;
deallog.depth_console(0);
try
int
main(int argc, char **argv)
{
- std::ofstream logfile("output");
- deallog << std::setprecision(4);
- deallog << std::fixed;
- deallog.attach(logfile);
+ initlog();
+ deallog << std::setprecision(4) << std::fixed;
deallog.depth_console(0);
try
int
main(int argc, char **argv)
{
- std::ofstream logfile("output");
- deallog << std::setprecision(4);
- deallog << std::fixed;
- deallog.attach(logfile);
+ initlog();
+ deallog << std::setprecision(4) << std::fixed;
deallog.depth_console(0);
int
main(int argc, char **argv)
{
- std::ofstream logfile("output");
- deallog << std::setprecision(4);
- deallog << std::fixed;
- deallog.attach(logfile);
+ initlog();
+ deallog << std::setprecision(4) << std::fixed;
deallog.depth_console(0);
try
int
main(int argc, char **argv)
{
- std::ofstream logfile("output");
- deallog << std::setprecision(4);
- deallog << std::fixed;
- deallog.attach(logfile);
+ initlog();
+ deallog << std::setprecision(4) << std::fixed;
deallog.depth_console(0);
int
main(int argc, char **argv)
{
- std::ofstream logfile("output");
- deallog << std::setprecision(4);
- deallog << std::fixed;
- deallog.attach(logfile);
+ initlog();
+ deallog << std::setprecision(4) << std::fixed;
deallog.depth_console(0);
int
main(int argc, char **argv)
{
- std::ofstream logfile("output");
- deallog << std::setprecision(4);
- deallog << std::fixed;
- deallog.attach(logfile);
+ initlog();
+ deallog << std::setprecision(4) << std::fixed;
deallog.depth_console(0);
int
main(int argc, char **argv)
{
- std::ofstream logfile("output");
- deallog << std::setprecision(4);
- deallog << std::fixed;
- deallog.attach(logfile);
+ initlog();
+ deallog << std::setprecision(4) << std::fixed;
deallog.depth_console(0);
int
main(int argc, char **argv)
{
- std::ofstream logfile("output");
- deallog << std::setprecision(4);
- deallog << std::fixed;
- deallog.attach(logfile);
+ initlog();
+ deallog << std::setprecision(4) << std::fixed;
deallog.depth_console(0);
int
main()
{
- std::ofstream logfile("output");
+ initlog();
deallog << std::setprecision(8);
- deallog.attach(logfile);
-
test_hyper_ball<2>(1e-6);
test_hyper_ball<3>(1e-6);
int
main()
{
- std::ofstream logfile("output");
+ initlog();
deallog << std::setprecision(8);
- deallog.attach(logfile);
-
test_hyper_ball<2>(1e-6);
test_hyper_ball<3>(1e-6);
int
main()
{
- std::ofstream logfile("output");
+ initlog();
deallog << std::setprecision(8);
- deallog.attach(logfile);
-
test_hyper_ball<2>(1e-6);
test_hyper_ball<3>(1e-6);
int
main(int argc, char **argv)
{
- std::ofstream logfile("output");
- deallog << std::setprecision(4);
- deallog << std::fixed;
- deallog.attach(logfile);
+ initlog();
+ deallog << std::setprecision(4) << std::fixed;
deallog.depth_console(0);
int
main()
{
- std::ofstream logfile("output");
- deallog << std::setprecision(7);
- deallog << std::fixed;
- deallog.attach(logfile);
+ initlog();
+ deallog << std::setprecision(7) << std::fixed;
const static unsigned dim = 2;
unsigned order = 1;
int
main()
{
- std::ofstream logfile("output");
- deallog << std::setprecision(7);
- deallog << std::fixed;
- deallog.attach(logfile);
+ initlog();
+ deallog << std::setprecision(7) << std::fixed;
const static unsigned dim = 3;
unsigned order = 1;
int
main()
{
- std::ofstream logfile("output");
+ initlog();
deallog << std::setprecision(8);
- deallog.attach(logfile);
-
test_hyper_ball<2>(1e-6);
test_hyper_ball<3>(1e-6);
int
main()
{
- std::ofstream logfile("output");
+ initlog();
deallog << std::setprecision(8);
- deallog.attach(logfile);
-
test_hyper_ball<2>(1e-6);
test_hyper_ball<3>(1e-6);
int
main()
{
- std::ofstream logfile("output");
+ initlog();
deallog << std::setprecision(8);
- deallog.attach(logfile);
-
test_hyper_ball<2>(1e-6);
test_hyper_ball<3>(1e-6);
int
main()
{
- std::ofstream logfile("output");
+ initlog();
deallog << std::setprecision(8);
- deallog.attach(logfile);
-
test_hyper_ball<2>(1e-6);
test_hyper_ball<3>(1e-6);
int
main()
{
- std::ofstream logfile("output");
+ initlog();
deallog << std::setprecision(3);
- deallog.attach(logfile);
-
test_hyper_cube<2>(1e-6);
test_hyper_cube<3>(1e-6);
int
main()
{
- std::ofstream logfile("output");
+ initlog();
deallog << std::setprecision(3);
- deallog.attach(logfile);
-
test_hyper_cube<2>(1e-6);
test_hyper_cube<3>(1e-6);
int
main()
{
- std::ofstream logfile("output");
+ initlog();
deallog << std::setprecision(8);
- deallog.attach(logfile);
-
test_hyper_ball<2>(1e-6);
test_hyper_ball<3>(1e-6);
int
main()
{
- std::ofstream logfile("output");
- deallog.attach(logfile);
+ initlog();
test_projection<1>(logfile);
test_projection<2>(logfile);
int
main()
{
- std::ofstream logfile("output");
- deallog.attach(logfile);
+ initlog();
// These names are all correct.
test_fe<1>("FE_Q(1)");
int
main()
{
- std::ofstream logfile("output");
+ initlog();
deallog << std::setprecision(2);
- deallog.attach(logfile);
-
{
std::vector<FEValuesExtractors::Scalar> x;
x.push_back(FEValuesExtractors::Scalar(42));
static const int dim = 2;
- std::ofstream logfile("output");
+ initlog();
deallog << std::setprecision(10);
- deallog.attach(logfile);
for (unsigned int n_global_refines = 3; n_global_refines < 6;
++n_global_refines)
{
int
main()
{
- std::ofstream logfile("output");
+ initlog();
deallog << std::setprecision(8) << std::fixed;
- deallog.attach(logfile);
test<2>();
test<3>();
int
main()
{
- std::ofstream logfile("output");
+ initlog();
deallog << std::setprecision(2);
- deallog.attach(logfile);
-
test_hyper_sphere<2>();
test_hyper_sphere<3>();
}
int
main()
{
- std::ofstream logfile("output");
+ initlog();
deallog << std::setprecision(2);
- deallog.attach(logfile);
-
test_hyper_sphere<2>();
test_hyper_sphere<3>();
}
int
main()
{
- std::ofstream logfile("output");
+ initlog();
deallog << std::setprecision(2);
- deallog.attach(logfile);
-
test_hyper_sphere<2>();
test_hyper_sphere<3>();
}
int
main()
{
- std::ofstream logfile("output");
+ initlog();
deallog << std::setprecision(2);
- deallog.attach(logfile);
-
test_hyper_sphere<2>();
test_hyper_sphere<3>();
}
int
main()
{
- std::ofstream logfile("output");
+ initlog();
deallog << std::setprecision(3);
- deallog.attach(logfile);
-
test_hyper_sphere<2>();
test_hyper_sphere<3>();
}
int
main()
{
- std::ofstream logfile("output");
+ initlog();
deallog << std::setprecision(3);
- deallog.attach(logfile);
-
test_hyper_sphere<2>();
test_hyper_sphere<3>();
}
int
main()
{
- std::ofstream logfile("output");
+ initlog();
deallog << std::setprecision(3);
- deallog.attach(logfile);
-
test_hyper_sphere<2>();
test_hyper_sphere<3>();
}
int
main()
{
- std::ofstream logfile("output");
+ initlog();
deallog << std::setprecision(3);
- deallog.attach(logfile);
-
test_hyper_sphere<2>();
test_hyper_sphere<3>();
}
int
main()
{
- std::ofstream logfile("output");
+ initlog();
deallog << std::setprecision(3);
- deallog.attach(logfile);
-
test_hyper_sphere<2>();
test_hyper_sphere<3>();
}
int
main()
{
- std::ofstream logfile("output");
+ initlog();
deallog << std::setprecision(3);
- deallog.attach(logfile);
-
test_hyper_sphere<2>();
test_hyper_sphere<3>();
}
int
main()
{
- std::ofstream logfile("output");
+ initlog();
deallog << std::setprecision(3);
- deallog.attach(logfile);
-
test_hyper_sphere<2>();
test_hyper_sphere<3>();
}
int
main()
{
- std::ofstream logfile("output");
+ initlog();
deallog << std::setprecision(3);
- deallog.attach(logfile);
-
test_hyper_sphere<2>();
test_hyper_sphere<3>();
}
int
main()
{
- std::ofstream logfile("output");
+ initlog();
deallog << std::setprecision(3);
- deallog.attach(logfile);
-
test_hyper_sphere<2>();
test_hyper_sphere<3>();
}
int
main()
{
- std::ofstream logfile("output");
+ initlog();
deallog << std::setprecision(3);
- deallog.attach(logfile);
-
test_hyper_sphere<2>();
test_hyper_sphere<3>();
}
int
main()
{
- std::ofstream logfile("output");
+ initlog();
deallog << std::setprecision(3);
- deallog.attach(logfile);
-
test_hyper_sphere<2>();
test_hyper_sphere<3>();
}
int
main()
{
- std::ofstream logfile("output");
+ initlog();
deallog << std::setprecision(3);
- deallog.attach(logfile);
-
test_hyper_sphere<2>();
test_hyper_sphere<3>();
}
int
main()
{
- std::ofstream logfile("output");
+ initlog();
deallog << std::setprecision(3);
- deallog.attach(logfile);
-
test_hyper_sphere<2>();
test_hyper_sphere<3>();
}
int
main()
{
- std::ofstream logfile("output");
+ initlog();
deallog << std::setprecision(3);
- deallog.attach(logfile);
-
test_hyper_sphere<2>();
test_hyper_sphere<3>();
}
int
main()
{
- std::ofstream logfile("output");
+ initlog();
deallog << std::setprecision(3);
- deallog.attach(logfile);
-
test_hyper_sphere<2>();
test_hyper_sphere<3>();
}
int
main()
{
- std::ofstream logfile("output");
+ initlog();
deallog << std::setprecision(3);
- deallog.attach(logfile);
-
test_hyper_sphere<2>();
test_hyper_sphere<3>();
}
int
main()
{
- std::ofstream logfile("output");
+ initlog();
deallog << std::setprecision(3);
- deallog.attach(logfile);
-
test_hyper_sphere<2>();
test_hyper_sphere<3>();
}
int
main()
{
- std::ofstream logfile("output");
+ initlog();
deallog << std::setprecision(3);
- deallog.attach(logfile);
-
test_hyper_sphere<2>();
test_hyper_sphere<3>();
}
int
main()
{
- std::ofstream logfile("output");
+ initlog();
deallog << std::setprecision(3);
- deallog.attach(logfile);
-
MixedElastoPlasticity<3> elasto_plasticity(1);
elasto_plasticity.run();
}
int
main()
{
- std::ofstream logfile("output");
+ initlog();
deallog << std::setprecision(3);
- deallog.attach(logfile);
-
MixedElastoPlasticity<3> elasto_plasticity(1);
elasto_plasticity.run();
}
int
main()
{
- std::ofstream logfile("output");
+ initlog();
deallog << std::setprecision(3);
- deallog.attach(logfile);
-
MixedElastoPlasticity<3> elasto_plasticity(1);
elasto_plasticity.run();
int
main()
{
- std::ofstream logfile("output");
+ initlog();
deallog << std::setprecision(3);
- deallog.attach(logfile);
-
test_hyper_sphere<2>();
test_hyper_sphere<3>();
}
int
main()
{
- std::ofstream logfile("output");
+ initlog();
deallog << std::setprecision(3);
- deallog.attach(logfile);
-
test_hyper_sphere<2>();
test_hyper_sphere<3>();
}
int
main()
{
- std::ofstream logfile("output");
+ initlog();
deallog << std::setprecision(3);
- deallog.attach(logfile);
-
test_hyper_sphere<2>();
test_hyper_sphere<3>();
}
int
main()
{
- std::ofstream logfile("output");
+ initlog();
deallog << std::setprecision(3);
- deallog.attach(logfile);
-
test_hyper_sphere<2>();
test_hyper_sphere<3>();
}
int
main()
{
- std::ofstream logfile("output");
+ initlog();
deallog << std::setprecision(3);
- deallog.attach(logfile);
-
test_hyper_cube<1>();
test_hyper_cube<2>();
test_hyper_cube<3>();
int
main()
{
- std::ofstream logfile("output");
+ initlog();
deallog << std::setprecision(3);
- deallog.attach(logfile);
-
test_hyper_cube<1>();
test_hyper_cube<2>();
test_hyper_cube<3>();
int
main()
{
- std::ofstream logfile("output");
+ initlog();
deallog << std::setprecision(3);
- deallog.attach(logfile);
-
test_hyper_cube<1>();
test_hyper_cube<2>();
test_hyper_cube<3>();
int
main()
{
- std::ofstream logfile("output");
+ initlog();
deallog << std::setprecision(3);
- deallog.attach(logfile);
-
test_hyper_cube<2>();
test_hyper_cube<3>();
}
int
main()
{
- std::ofstream logfile("output");
+ initlog();
deallog << std::setprecision(3);
- deallog.attach(logfile);
-
test_hyper_cube<2>();
test_hyper_cube<3>();
}
int
main()
{
- std::ofstream logfile("output");
+ initlog();
deallog << std::setprecision(3);
- deallog.attach(logfile);
-
test_hyper_cube<2>();
}
int
main()
{
- std::ofstream logfile("output");
+ initlog();
deallog << std::setprecision(3);
- deallog.attach(logfile);
-
test_hyper_cube<2>();
}
int
main()
{
- std::ofstream logfile("output");
+ initlog();
deallog << std::setprecision(3);
- deallog.attach(logfile);
-
test_hyper_sphere<2>();
test_hyper_sphere<3>();
}
{
deal_II_exceptions::disable_abort_on_exception();
- std::ofstream logfile("output");
+ initlog();
deallog << std::setprecision(2);
- deallog.attach(logfile);
-
test<1>();
test<2>();
test<3>();
{
deal_II_exceptions::disable_abort_on_exception();
- std::ofstream logfile("output");
+ initlog();
deallog << std::setprecision(2);
- deallog.attach(logfile);
-
test<1>();
test<2>();
test<3>();
{
deal_II_exceptions::disable_abort_on_exception();
- std::ofstream logfile("output");
+ initlog();
deallog << std::setprecision(2);
- deallog.attach(logfile);
-
test<1>();
test<2>();
test<3>();
{
deal_II_exceptions::disable_abort_on_exception();
- std::ofstream logfile("output");
+ initlog();
deallog << std::setprecision(2);
- deallog.attach(logfile);
-
test<1>();
test<2>();
test<3>();
int
main()
{
- std::ofstream logfile("output");
+ initlog();
deallog << std::setprecision(3);
- deallog.attach(logfile);
-
check();
}
int
main()
{
- std::ofstream logfile("output");
- deallog.attach(logfile);
+ initlog();
{
Q1WedgeFunction<2, 0, 2> w20;
int
main()
{
- std::ofstream logfile("output");
- deallog.attach(logfile);
+ initlog();
Q1WedgeFunction<1, 1> w1;
check(w1, 1);
int
main()
{
- std::ofstream logfile("output");
- deallog.attach(logfile);
+ initlog();
Q1WedgeFunction<1, 1> w1;
check_q_bubbles(w1, 1);
int
main()
{
- std::ofstream logfile("output");
- deallog.attach(logfile);
+ initlog();
Q1WedgeFunction<1, 1> w1;
check_q_dg0(w1, 1);
int
main()
{
- std::ofstream logfile("output");
- deallog.attach(logfile);
+ initlog();
Q1WedgeFunction<1, 1> w1;
check(w1, 1);
{
deal_II_exceptions::disable_abort_on_exception();
- std::ofstream logfile("output");
+ initlog();
deallog << std::setprecision(3);
- deallog.attach(logfile);
-
test<1>();
test<2>();
test<3>();
int
main()
{
- std::ofstream logfile("output");
- deallog.attach(logfile);
+ initlog();
// Q1WedgeFunction<1,1,2> w1;
// check1(w1,1,2);
int
main()
{
- std::ofstream logfile("output");
- deallog.attach(logfile);
+ initlog();
// Q1WedgeFunction<1,1,2> w1;
// check1(w1,1,2);
int
main()
{
- std::ofstream logfile("output");
- deallog.attach(logfile);
+ initlog();
Q1WedgeFunction<1, 1, 2> w1;
check1(w1, 1, 2);
int
main()
{
- std::ofstream logfile("output");
+ initlog();
deallog << std::setprecision(8) << std::fixed;
- deallog.attach(logfile);
test<2>();
test<3>();
int
main()
{
- std::ofstream logfile("output");
+ initlog();
deallog << std::setprecision(8) << std::fixed;
- deallog.attach(logfile);
test<2>();
test<3>();
int
main()
{
- std::ofstream logfile("output");
+ initlog();
deallog << std::setprecision(8) << std::fixed;
- deallog.attach(logfile);
test<2>();
test<3>();
int
main()
{
- std::ofstream logfile("output");
+ initlog();
deallog << std::setprecision(8) << std::fixed;
- deallog.attach(logfile);
test<2>();
test<3>();
int
main()
{
- std::ofstream logfile("output");
- deallog << std::setprecision(5);
- deallog << std::fixed;
- deallog.attach(logfile);
+ initlog();
+ deallog << std::setprecision(5) << std::fixed;
deallog.depth_console(0);
check<2>();
int
main()
{
- std::ofstream logfile("output");
- deallog << std::setprecision(5);
- deallog << std::fixed;
- deallog.attach(logfile);
+ initlog();
+ deallog << std::setprecision(5) << std::fixed;
deallog.depth_console(0);
check<2>();
int
main()
{
- std::ofstream logfile("output");
- deallog << std::setprecision(5);
- deallog << std::fixed;
- deallog.attach(logfile);
+ initlog();
+ deallog << std::setprecision(5) << std::fixed;
deallog.depth_console(0);
check<2>();
int
main()
{
- std::ofstream logfile("output");
- deallog << std::setprecision(5);
- deallog << std::fixed;
- deallog.attach(logfile);
+ initlog();
+ deallog << std::setprecision(5) << std::fixed;
deallog.depth_console(0);
check<2>();
int
main()
{
- std::ofstream logfile("output");
- deallog << std::setprecision(5);
- deallog << std::fixed;
- deallog.attach(logfile);
+ initlog();
+ deallog << std::setprecision(5) << std::fixed;
deallog.depth_console(0);
check<2>();
int
main()
{
- std::ofstream logfile("output");
- deallog << std::setprecision(5);
- deallog << std::fixed;
- deallog.attach(logfile);
+ initlog();
+ deallog << std::setprecision(5) << std::fixed;
deallog.depth_console(0);
check<2>();
int
main()
{
- std::ofstream logfile("output");
- deallog << std::setprecision(5);
- deallog << std::fixed;
- deallog.attach(logfile);
+ initlog();
+ deallog << std::setprecision(5) << std::fixed;
deallog.depth_console(0);
check<2>();
int
main()
{
- std::ofstream logfile("output");
- deallog << std::setprecision(5);
- deallog << std::fixed;
- deallog.attach(logfile);
+ initlog();
+ deallog << std::setprecision(5) << std::fixed;
deallog.depth_console(0);
check<2>();
int
main()
{
- std::ofstream logfile("output");
+ initlog();
deallog << std::setprecision(2);
- deallog.attach(logfile);
-
test_hyper_sphere<2>();
test_hyper_sphere<3>();
}
int
main()
{
- std::ofstream logfile("output");
+ initlog();
deallog << std::setprecision(2);
- deallog.attach(logfile);
-
test_hyper_sphere<2>();
test_hyper_sphere<3>();
}
int
main()
{
- std::ofstream logfile("output");
- deallog.attach(logfile);
+ initlog();
test<2>(0);
test<2>(1);
int
main()
{
- std::ofstream logfile("output");
- deallog.attach(logfile);
+ initlog();
FE_RaviartThomasNodal<2> e20(0);
check_support_points(e20);
int
main()
{
- std::ofstream logfile("output");
+ initlog();
deallog << std::setprecision(4);
- deallog.attach(logfile);
GrowingVectorMemory<> mem;
SolverControl control(100, 1.e-3);
int
main()
{
- std::ofstream logfile("output");
+ initlog();
deallog << std::setprecision(4);
- deallog.attach(logfile);
SparsityPattern sparsity_pattern(4, 4);
sparsity_pattern.compress();
int
main()
{
- std::ofstream logfile("output");
+ initlog();
deallog << std::setprecision(2);
- deallog.attach(logfile);
-
// vector of solution vectors
std::vector<std::vector<double>> solutions;
int
main()
{
- std::ofstream logfile("output");
+ initlog();
deallog << std::setprecision(2);
- deallog.attach(logfile);
// assemble a 2x2 block identity
int
main()
{
- std::ofstream logfile("output");
- logfile.setf(std::ios::fixed);
- deallog << std::setprecision(3);
- deallog.attach(logfile);
+ initlog();
+ deallog << std::setprecision(3) << std::fixed;
try
{
int
main()
{
- std::ofstream logfile("output");
- logfile.setf(std::ios::fixed);
- deallog << std::setprecision(3);
- deallog.attach(logfile);
+ initlog();
+ deallog << std::setprecision(3) << std::fixed;
try
{
int
main()
{
- std::ofstream logfile("output");
- logfile.setf(std::ios::fixed);
- deallog << std::setprecision(3);
- deallog.attach(logfile);
+ initlog();
+ deallog << std::setprecision(3) << std::fixed;
try
{
int
main()
{
- std::ofstream logfile("output");
- logfile.setf(std::ios::fixed);
- deallog << std::setprecision(3);
- deallog.attach(logfile);
+ initlog();
+ deallog << std::setprecision(3) << std::fixed;
try
{
int
main()
{
- std::ofstream logfile("output");
- logfile.precision(2);
-
- deallog.attach(logfile);
+ initlog();
+ deallog << std::setprecision(2);
test();
int
main()
{
- std::ofstream logfile("output");
- logfile.precision(2);
-
- deallog.attach(logfile);
+ initlog();
+ deallog << std::setprecision(2);
test();
int
main()
{
- std::ofstream logfile("output");
- logfile.precision(2);
-
- deallog.attach(logfile);
+ initlog();
+ deallog << std::setprecision(2);
test();
int
main()
{
- std::ofstream logfile("output");
- logfile.precision(2);
-
- deallog.attach(logfile);
+ initlog();
+ deallog << std::setprecision(2);
test();
int
main()
{
- std::ofstream logfile("output");
- logfile.precision(2);
-
- deallog.attach(logfile);
+ initlog();
+ deallog << std::setprecision(2);
test();
int
main()
{
- std::ofstream logfile("output");
- logfile.precision(2);
-
- deallog.attach(logfile);
+ initlog();
+ deallog << std::setprecision(2);
AffineConstraints<double> constraints;
unsigned int IDs[] = {1, 2, 3, 5, 8, 13, 21};
int
main()
{
- std::ofstream logfile("output");
- logfile.precision(2);
-
- deallog.attach(logfile);
+ initlog();
+ deallog << std::setprecision(2);
test();
int
main()
{
- std::ofstream logfile("output");
+ initlog();
deallog << std::setprecision(2);
- deallog.attach(logfile);
-
test();
deallog << "OK" << std::endl;
int
main()
{
- std::ofstream logfile("output");
- logfile.precision(2);
-
- deallog.attach(logfile);
+ initlog();
+ deallog << std::setprecision(2);
test();
int
main()
{
- std::ofstream logfile("output");
- logfile.setf(std::ios::fixed);
- deallog << std::setprecision(3);
- deallog.attach(logfile);
+ initlog();
+ deallog << std::setprecision(3) << std::fixed;
SparseMatrixEZ<double> ez(5, 4);
ez.set(0, 0, 2.);
int
main()
{
- std::ofstream logfile("output");
- deallog << std::setprecision(2);
- deallog << std::fixed;
- deallog.attach(logfile);
+ initlog();
+ deallog << std::setprecision(2) << std::fixed;
deallog.push("1d");
check<1>();
int
main()
{
- std::ofstream logfile("output");
+ initlog();
deallog << std::setprecision(10);
- deallog.attach(logfile);
deallog.push("double");
test<double>(0);
int
main()
{
- std::ofstream logfile("output");
+ initlog();
deallog << std::setprecision(4);
- deallog.attach(logfile);
deallog.push("double");
test<double>();
int
main()
{
- std::ofstream logfile("output");
+ initlog();
deallog << std::setprecision(3);
- deallog.attach(logfile);
deallog.push("double");
test<double>(0);
int
main()
{
- std::ofstream logfile("output");
+ initlog();
deallog << std::setprecision(3);
- deallog.attach(logfile);
deallog.push("double");
test<double>();
int
main()
{
- std::ofstream logfile("output");
+ initlog();
deallog << std::setprecision(3);
- deallog.attach(logfile);
deallog.push("double");
test<double>();
int
main()
{
- std::ofstream logfile("output");
+ initlog();
deallog << std::setprecision(3);
- deallog.attach(logfile);
FullMatrix<double> A(4, 3, &rect[0][0]);
Householder<double> H(A);
int
main()
{
- std::ofstream logfile("output");
- logfile.setf(std::ios::fixed);
- deallog << std::setprecision(0);
- deallog.attach(logfile);
+ initlog();
+ deallog << std::setprecision(0) << std::fixed;
check_vmult<double>();
check_vmult<float>();
int
main()
{
- std::ofstream logfile("output");
- logfile.setf(std::ios::fixed);
- deallog << std::setprecision(0);
- deallog.attach(logfile);
+ initlog();
+ deallog << std::setprecision(0) << std::fixed;
check_vmult<double>();
check_vmult<float>();
int
main()
{
- std::ofstream logfile("output");
- logfile.setf(std::ios::fixed);
- deallog << std::setprecision(0);
- deallog.attach(logfile);
+ initlog();
+ deallog << std::setprecision(0) << std::fixed;
check_vmult<double>();
check_vmult<float>();
int
main()
{
- std::ofstream logfile("output");
- logfile.setf(std::ios::fixed);
- deallog << std::setprecision(0);
- deallog.attach(logfile);
+ initlog();
+ deallog << std::setprecision(0) << std::fixed;
check_vmult<double>();
check_vmult<float>();
int
main()
{
- std::ofstream logfile("output");
- logfile.setf(std::ios::fixed);
- deallog << std::setprecision(0);
- deallog.attach(logfile);
+ initlog();
+ deallog << std::setprecision(0) << std::fixed;
check_vmult<double>();
check_vmult<float>();
int
main()
{
- std::ofstream logfile("output");
- logfile.setf(std::ios::fixed);
- deallog << std::setprecision(0);
- deallog.attach(logfile);
+ initlog();
+ deallog << std::setprecision(0) << std::fixed;
check_vmult<double>();
check_vmult<float>();
int
main()
{
- std::ofstream logfile("output");
- logfile.setf(std::ios::fixed);
- deallog << std::setprecision(3);
- deallog.attach(logfile);
+ initlog();
+ deallog << std::setprecision(3) << std::fixed;
SparseMatrixEZ<double> ez(5, 4);
ez.set(0, 0, 2.);
int
main()
{
- std::ofstream logfile("output");
- logfile.setf(std::ios::fixed);
- deallog << std::setprecision(3);
- deallog.attach(logfile);
+ initlog();
+ deallog << std::setprecision(3) << std::fixed;
SparseMatrixEZ<double> ez(5, 4);
ez.set(0, 0, 2.);
int
main()
{
- std::ofstream logfile("output");
- logfile.setf(std::ios::fixed);
- deallog << std::setprecision(3);
- deallog.attach(logfile);
+ initlog();
+ deallog << std::setprecision(3) << std::fixed;
SparseMatrixEZ<double> ez(5, 4);
ez.set(0, 0, 2.);
int
main()
{
- std::ofstream logfile("output");
- logfile.setf(std::ios::fixed);
- deallog << std::setprecision(3);
- deallog.attach(logfile);
+ initlog();
+ deallog << std::setprecision(3) << std::fixed;
SparseMatrixEZ<double> ez(5, 4);
ez.set(0, 0, 2.);
int
main()
{
- std::ofstream logfile("output");
- logfile.setf(std::ios::fixed);
- deallog << std::setprecision(3);
- deallog.attach(logfile);
+ initlog();
+ deallog << std::setprecision(3) << std::fixed;
SparseMatrixEZ<double> ez(5, 4);
ez.set(0, 0, 2.);
int
main()
{
- std::ofstream logfile("output");
- logfile.setf(std::ios::fixed);
- deallog << std::setprecision(3);
- deallog.attach(logfile);
+ initlog();
+ deallog << std::setprecision(3) << std::fixed;
SparseMatrixEZ<double> ez(5, 4);
ez.set(0, 0, 2.);
int
main()
{
- std::ofstream logfile("output");
+ initlog();
deallog << std::setprecision(4);
- deallog.attach(logfile);
test<SolverGMRES<Vector<double>>>();
test<SolverCG<Vector<double>>>();
int
main(int argc, char **argv)
{
- std::ofstream logfile("output");
- logfile.precision(4);
- deallog.attach(logfile);
+ initlog();
+ deallog << std::setprecision(4);
{
const unsigned int size = 32;
int
main(int argc, char **argv)
{
- std::ofstream logfile("output");
- logfile.precision(4);
- deallog.attach(logfile);
+ initlog();
+ deallog << std::setprecision(4);
{
int
main(int argc, char **argv)
{
- std::ofstream logfile("output");
- logfile.precision(4);
- deallog.attach(logfile);
+ initlog();
+ deallog << std::setprecision(4);
{
int
main(int argc, char **argv)
{
- std::ofstream logfile("output");
- logfile.precision(4);
- deallog.attach(logfile);
+ initlog();
+ deallog << std::setprecision(4);
{
const unsigned int size = 32;
int
main(int argc, char **argv)
{
- std::ofstream logfile("output");
- logfile.precision(4);
- deallog.attach(logfile);
+ initlog();
+ deallog << std::setprecision(4);
{
ConsecutiveControl solver_control(12345, 1.e-3, 3, false, false);
int
main(int argc, char **argv)
{
- std::ofstream logfile("output");
- logfile.precision(4);
- deallog.attach(logfile);
+ initlog();
+ deallog << std::setprecision(4);
{
ConsecutiveControl solver_control(12345, 1.e-3, 3, true, true);
int
main()
{
- std::ofstream logfile("output");
+ initlog();
deallog << std::setprecision(4);
- deallog.attach(logfile);
unsigned int size = 37;
unsigned int dim = (size - 1) * (size - 1);
int
main()
{
- std::ofstream logfile("output");
+ initlog();
deallog << std::setprecision(4);
- deallog.attach(logfile);
SolverControl solver_control(100, 1.e-3);
int
main()
{
- std::ofstream logfile("output");
- logfile << std::setprecision(3);
+ initlog();
deallog << std::setprecision(3);
- deallog.attach(logfile);
const unsigned int size = 5;
const unsigned int row_length = 3;
int
main()
{
- std::ofstream logfile("output");
+ initlog();
deallog << std::setprecision(6);
- deallog.attach(logfile);
deallog << "No scaling:" << std::endl;
// no scaling:
int
main()
{
- std::ofstream logfile("output");
+ initlog();
deallog << std::setprecision(6);
- deallog.attach(logfile);
deallog << "Residuals:" << std::endl;
// g==0
int
main()
{
- std::ofstream logfile("output");
+ initlog();
deallog << std::setprecision(6);
- deallog.attach(logfile);
deallog << "Residuals:" << std::endl;
// check all combinations with real solutions: |f| > |g|
int
main()
{
- std::ofstream logfile("output");
+ initlog();
deallog << std::setprecision(2);
- deallog.attach(logfile);
check_norms<float>();
check_norms<double>();
if (Utilities::MPI::this_mpi_process(MPI_COMM_WORLD) == 0)
{
- std::ofstream logfile("output");
+ initlog();
deallog << std::setprecision(4);
- logfile << std::setprecision(4);
- deallog.attach(logfile);
test1<2>(true);
test1<2>(false);
if (Utilities::MPI::this_mpi_process(MPI_COMM_WORLD) == 0)
{
- std::ofstream logfile("output");
+ initlog();
deallog << std::setprecision(4);
- logfile << std::setprecision(4);
- deallog.attach(logfile);
test1<2>(true);
test1<2>(false);
if (myid == 0)
{
- std::ofstream logfile("output");
- deallog.attach(logfile);
+ initlog();
deallog.push("2d");
test<2>();
if (myid == 0)
{
- std::ofstream logfile("output");
- deallog.attach(logfile);
+ initlog();
deallog << std::setprecision(4);
test();
if (myid == 0)
{
- std::ofstream logfile("output");
- deallog.attach(logfile);
+ initlog();
deallog << std::setprecision(4);
test();
if (myid == 0)
{
- std::ofstream logfile("output");
- deallog.attach(logfile);
+ initlog();
test(max_n_cell_ratio);
}
if (myid == 0)
{
- std::ofstream logfile("output");
- deallog.attach(logfile);
+ initlog();
deallog.push("2d");
test<2>();
if (myid == 0)
{
- std::ofstream logfile("output");
- deallog.attach(logfile);
+ initlog();
deallog.push("2d");
test<2>();
if (myid == 0)
{
- std::ofstream logfile("output");
- deallog.attach(logfile);
+ initlog();
deallog.push("2d");
test<2>();
if (myid == 0)
{
- std::ofstream logfile("output");
- deallog.attach(logfile);
+ initlog();
deallog.push("2d");
test<2>();
if (Utilities::MPI::this_mpi_process(MPI_COMM_WORLD) == 0)
{
- static std::ofstream logfile("output");
- deallog.attach(logfile);
+ static initlog();
}
parallel::distributed::Triangulation<2, 3> triangulation(
int
main()
{
- std::ofstream logfile("output");
+ initlog();
deallog << std::setprecision(3);
- deallog.attach(logfile);
check<2>();
check<3>();
int
main()
{
- std::ofstream logfile("output");
+ initlog();
deallog << std::setprecision(3);
- deallog.attach(logfile);
check<1>();
check<2>();
int
main()
{
- std::ofstream logfile("output");
+ initlog();
deallog << std::setprecision(4);
- deallog.attach(logfile);
// check_simple (FESystem<2>(FE_Q<2>(1), 2));
check_simple(FESystem<2>(FE_Q<2>(1), 4));
int
main()
{
- std::ofstream logfile("output");
+ initlog();
deallog << std::setprecision(4);
- deallog.attach(logfile);
// check_simple (FESystem<2>(FE_Q<2>(1), 2));
check_simple(FESystem<2>(FE_Q<2>(1), 4));
int
main()
{
- std::ofstream logfile("output");
+ initlog();
deallog << std::setprecision(3);
- deallog.attach(logfile);
check();
}
int
main()
{
- std::ofstream logfile("output");
+ initlog();
deallog << std::setprecision(4);
- deallog.attach(logfile);
try
{
int
main(int argc, char **argv)
{
- std::ofstream logfile("output");
+ initlog();
deallog << std::setprecision(4);
- deallog.attach(logfile);
Utilities::MPI::MPI_InitFinalize mpi(argc, argv, 1);
int
main(int argc, char **argv)
{
- std::ofstream logfile("output");
+ initlog();
deallog << std::setprecision(4);
- deallog.attach(logfile);
Utilities::MPI::MPI_InitFinalize mpi(argc, argv, 1);
int
main(int argc, char **argv)
{
- std::ofstream logfile("output");
+ initlog();
deallog << std::setprecision(4);
- deallog.attach(logfile);
Utilities::MPI::MPI_InitFinalize mpi(argc, argv, 1);
int
main()
{
- std::ofstream logfile("output");
+ initlog();
deallog << std::setprecision(4);
- deallog.attach(logfile);
try
{
int
main()
{
- std::ofstream logfile("output");
+ initlog();
deallog << std::setprecision(4);
- deallog.attach(logfile);
try
{
int
main()
{
- std::ofstream logfile("output");
+ initlog();
deallog << std::setprecision(10);
- deallog.attach(logfile);
check_simple(FE_DGP<2>(0));
check_simple(FE_DGP<2>(1));
int
main()
{
- std::ofstream logfile("output");
+ initlog();
deallog << std::setprecision(10);
- deallog.attach(logfile);
check_simple(FE_DGP<2>(0));
check_simple(FE_DGP<2>(1));
int
main()
{
- std::ofstream logfile("output");
+ initlog();
deallog << std::setprecision(4);
- deallog.attach(logfile);
// check_simple (FESystem<2>(FE_Q<2>(1), 2));
check_simple(FESystem<2>(FE_Q<2>(1), 4));
int
main()
{
- std::ofstream logfile("output");
+ initlog();
deallog << std::setprecision(3);
- deallog.attach(logfile);
std::vector<double> factors;
int
main()
{
- std::ofstream logfile("output");
+ initlog();
deallog << std::setprecision(3);
- deallog.attach(logfile);
FE_DGQ<2> q0(0);
FE_DGQ<2> q1(1);
int
main()
{
- std::ofstream logfile("output");
+ initlog();
deallog << std::setprecision(3);
- deallog.attach(logfile);
std::vector<double> factors;
int
main()
{
- std::ofstream logfile("output");
+ initlog();
deallog << std::setprecision(3);
- deallog.attach(logfile);
std::vector<unsigned int> v1(4);
std::vector<unsigned int> v2(4);
int
main()
{
- std::ofstream logfile("output");
+ initlog();
deallog << std::setprecision(4);
- deallog.attach(logfile);
// TODO: do in 1d
check(FESystem<2>(FE_Q<2>(1), 2));
int
main()
{
- std::ofstream logfile("output");
+ initlog();
deallog << std::setprecision(4);
- deallog.attach(logfile);
// TODO: do in 1d
check(FESystem<2>(FE_Q<2>(1), 2));
int
main()
{
- std::ofstream logfile("output");
+ initlog();
deallog << std::setprecision(4);
- deallog.attach(logfile);
// TODO: do in 1d
check(FESystem<2>(FE_Q<2>(1), 2));
int
main()
{
- std::ofstream logfile("output");
+ initlog();
deallog << std::setprecision(4);
- deallog.attach(logfile);
// TODO: do in 1d
check(FESystem<2>(FE_Q<2>(1), 3));
int
main()
{
- std::ofstream logfile("output");
+ initlog();
deallog << std::setprecision(4);
- deallog.attach(logfile);
// TODO: do in 1d
check(FESystem<2>(FE_Q<2>(1), 5), 0);
int
main()
{
- std::ofstream logfile("output");
+ initlog();
deallog << std::setprecision(4);
- deallog.attach(logfile);
// TODO: do in 1d
check(FESystem<2>(FE_Q<2>(1), 2));
int
main()
{
- std::ofstream logfile("output");
+ initlog();
deallog << std::setprecision(4);
- deallog.attach(logfile);
// TODO: do in 1d
check(FESystem<2>(FE_Q<2>(1), 2));
int
main()
{
- std::ofstream logfile("output");
+ initlog();
deallog << std::setprecision(4);
- deallog.attach(logfile);
// TODO: do in 1d
check(FESystem<2>(FE_Q<2>(1), 2));
int
main()
{
- std::ofstream logfile("output");
+ initlog();
deallog << std::setprecision(4);
- deallog.attach(logfile);
// TODO: do in 1d
check(FESystem<2>(FE_Q<2>(1), 2));
int
main()
{
- std::ofstream logfile("output");
+ initlog();
deallog << std::setprecision(4);
- deallog.attach(logfile);
// TODO: do in 1d
check(FESystem<2>(FE_Q<2>(1), 2));
int
main()
{
- std::ofstream logfile("output");
+ initlog();
deallog << std::setprecision(4);
- deallog.attach(logfile);
// TODO: do in 1d
check(FESystem<2>(FE_Q<2>(1), 2));
int
main()
{
- std::ofstream logfile("output");
+ initlog();
deallog << std::setprecision(4);
- deallog.attach(logfile);
// TODO: do in 1d
check(FESystem<2>(FE_Q<2>(1), 3));
int
main()
{
- std::ofstream logfile("output");
+ initlog();
deallog << std::setprecision(4);
- deallog.attach(logfile);
// TODO: do in 1d
check(FESystem<2>(FE_Q<2>(1), 3));
int
main()
{
- std::ofstream logfile("output");
+ initlog();
deallog << std::setprecision(4);
- deallog.attach(logfile);
// TODO: do in 1d
check(FESystem<2>(FE_Q<2>(1), 5), 0);
int
main()
{
- std::ofstream logfile("output");
- deallog.attach(logfile);
+ initlog();
// The circle passing through the
// vertices of the unit square
int
main()
{
- std::ofstream logfile("output");
- deallog.attach(logfile);
+ initlog();
TopoDS_Shape sh = read_IGES(SOURCE_DIR "/iges_files/goteborg.iges");
std::vector<TopoDS_Face> faces;
int
main()
{
- std::ofstream logfile("output");
- deallog.attach(logfile);
+ initlog();
TopoDS_Shape sh = read_IGES(SOURCE_DIR "/iges_files/goteborg.iges");
std::vector<TopoDS_Compound> compounds;
int
main()
{
- std::ofstream logfile("output");
- deallog.attach(logfile);
+ initlog();
// The curve passing through the vertices of the unit square.
std::vector<Point<3>> vertices;
int
main()
{
- std::ofstream logfile("output");
- deallog.attach(logfile);
+ initlog();
TopoDS_Shape sh = read_STEP(SOURCE_DIR "/step_files/goteborg.step");
std::vector<TopoDS_Face> faces;
int
main()
{
- std::ofstream logfile("output");
- deallog.attach(logfile);
+ initlog();
TopoDS_Shape sh = read_STEP(SOURCE_DIR "/step_files/goteborg.step");
std::vector<TopoDS_Compound> compounds;
int
main()
{
- std::ofstream logfile("output");
+ initlog();
deallog << std::setprecision(5);
- deallog.attach(logfile);
test<double>();
}
int
main()
{
- std::ofstream logfile("output");
+ initlog();
deallog << std::setprecision(5);
- deallog.attach(logfile);
test<double>();
}
int
main()
{
- std::ofstream logfile("output");
+ initlog();
deallog << std::setprecision(5);
- deallog.attach(logfile);
test<double>();
}
int
main()
{
- std::ofstream logfile("output");
+ initlog();
deallog << std::setprecision(5);
- deallog.attach(logfile);
test<double>();
}
int
main(int argc, char **argv)
{
- std::ofstream logfile("output");
- logfile.precision(4);
- deallog.attach(logfile);
+ initlog();
+ deallog << std::setprecision(4);
Utilities::MPI::MPI_InitFinalize mpi_initialization(argc, argv, 1);
{
int
main(int argc, char **argv)
{
- std::ofstream logfile("output");
- logfile.precision(4);
- deallog.attach(logfile);
+ initlog();
+ deallog << std::setprecision(4);
Utilities::MPI::MPI_InitFinalize mpi_initialization(argc, argv, 1);
{
int
main(int argc, char **argv)
{
- std::ofstream logfile("output");
- deallog.attach(logfile);
+ initlog();
try
{
int
main()
{
- std::ofstream logfile("output");
+ initlog();
deallog << std::setprecision(3);
- deallog.attach(logfile);
test_kinematic_tensors<2>();
test_kinematic_tensors<3>();
int
main()
{
- std::ofstream logfile("output");
+ initlog();
deallog << std::setprecision(3);
- deallog.attach(logfile);
const int dim = 3;
int
main()
{
- std::ofstream logfile("output");
+ initlog();
deallog << std::setprecision(3);
- deallog.attach(logfile);
test_standard_tensors<2>();
test_standard_tensors<3>();
int
main(int argc, char **argv)
{
- std::ofstream logfile("output");
+ initlog();
deallog << std::setprecision(3);
- deallog.attach(logfile);
try
{
int
main(int argc, char **argv)
{
- std::ofstream logfile("output");
+ initlog();
deallog << std::setprecision(3);
- deallog.attach(logfile);
try
{
int
main(int argc, char **argv)
{
- std::ofstream logfile("output");
+ initlog();
deallog << std::setprecision(3);
- deallog.attach(logfile);
Utilities::MPI::MPI_InitFinalize mpi_initialization(
argc, argv, testing_max_num_threads());
int
main(int argc, char **argv)
{
- std::ofstream logfile("output");
+ initlog();
deallog << std::setprecision(3);
- deallog.attach(logfile);
Utilities::MPI::MPI_InitFinalize mpi_initialization(
argc, argv, testing_max_num_threads());
int
main(int argc, char **argv)
{
- std::ofstream logfile("output");
+ initlog();
deallog << std::setprecision(3);
- deallog.attach(logfile);
Utilities::MPI::MPI_InitFinalize mpi_initialization(
argc, argv, testing_max_num_threads());
int
main()
{
- std::ofstream logfile("output");
+ initlog();
deallog << std::setprecision(3);
- deallog.attach(logfile);
const double deg_to_rad = numbers::PI / 180.0;
int
main()
{
- std::string logname = "output";
- std::ofstream logfile(logname.c_str());
- deallog.attach(logfile);
+ initlog();
check<1>();
}
int
main()
{
- std::ofstream logfile("output");
- logfile.setf(std::ios::fixed);
- deallog << std::setprecision(2);
- deallog.attach(logfile);
+ initlog();
+ deallog << std::setprecision(2) << std::fixed;
BlockDynamicSparsityPattern csp(2, 2);
csp.block(0, 0).reinit(2, 2);
int
main()
{
- std::ofstream logfile("output");
- logfile.setf(std::ios::fixed);
- deallog << std::setprecision(2);
- deallog.attach(logfile);
+ initlog();
+ deallog << std::setprecision(2) << std::fixed;
IndexSet a(5);
IndexSet b(3);
int
main()
{
- std::ofstream logfile("output");
- logfile.setf(std::ios::fixed);
- deallog << std::setprecision(2);
- deallog.attach(logfile);
+ initlog();
+ deallog << std::setprecision(2) << std::fixed;
BlockSparsityPattern sparsity;
std::vector<types::global_dof_index> row_blocks(4);
int
main()
{
- std::ofstream logfile("output");
- logfile.setf(std::ios::fixed);
- deallog << std::setprecision(2);
- deallog.attach(logfile);
+ initlog();
+ deallog << std::setprecision(2) << std::fixed;
std::vector<types::global_dof_index> row_blocks(4);
row_blocks[0] = 4;
int
main()
{
- std::ofstream logfile("output");
- logfile.setf(std::ios::fixed);
- deallog << std::setprecision(3);
- deallog.attach(logfile);
+ initlog();
+ deallog << std::setprecision(3) << std::fixed;
const unsigned int chunk_sizes[] = {1, 2, 4, 5, 7};
for (unsigned int i = 0; i < sizeof(chunk_sizes) / sizeof(chunk_sizes[0]);
int
main()
{
- std::ofstream logfile("output");
- logfile.setf(std::ios::fixed);
- deallog << std::setprecision(3);
- deallog.attach(logfile);
+ initlog();
+ deallog << std::setprecision(3) << std::fixed;
const unsigned int chunk_sizes[] = {1, 2, 4, 5, 7};
for (unsigned int i = 0; i < sizeof(chunk_sizes) / sizeof(chunk_sizes[0]);
int
main()
{
- std::ofstream logfile("output");
- logfile.setf(std::ios::fixed);
- deallog << std::setprecision(3);
- deallog.attach(logfile);
+ initlog();
+ deallog << std::setprecision(3) << std::fixed;
const unsigned int chunk_sizes[] = {1, 2, 4, 5, 7};
for (unsigned int i = 0; i < sizeof(chunk_sizes) / sizeof(chunk_sizes[0]);
int
main()
{
- std::ofstream logfile("output");
- logfile.setf(std::ios::fixed);
- deallog << std::setprecision(3);
- deallog.attach(logfile);
+ initlog();
+ deallog << std::setprecision(3) << std::fixed;
const unsigned int chunk_sizes[] = {1, 2, 4, 5, 7};
for (unsigned int i = 0; i < sizeof(chunk_sizes) / sizeof(chunk_sizes[0]);
int
main()
{
- std::ofstream logfile("output");
- logfile.setf(std::ios::fixed);
- deallog << std::setprecision(3);
- deallog.attach(logfile);
+ initlog();
+ deallog << std::setprecision(3) << std::fixed;
const unsigned int chunk_sizes[] = {1, 2, 4, 5, 7};
for (unsigned int i = 0; i < sizeof(chunk_sizes) / sizeof(chunk_sizes[0]);
int
main()
{
- std::ofstream logfile("output");
- logfile.setf(std::ios::fixed);
- deallog << std::setprecision(3);
- deallog.attach(logfile);
+ initlog();
+ deallog << std::setprecision(3) << std::fixed;
const unsigned int chunk_sizes[] = {1, 2, 4, 5, 7};
for (unsigned int i = 0; i < sizeof(chunk_sizes) / sizeof(chunk_sizes[0]);
int
main()
{
- std::ofstream logfile("output");
- logfile.setf(std::ios::fixed);
- deallog << std::setprecision(3);
- deallog.attach(logfile);
+ initlog();
+ deallog << std::setprecision(3) << std::fixed;
const unsigned int chunk_sizes[] = {1, 2, 4, 5, 7};
for (unsigned int i = 0; i < sizeof(chunk_sizes) / sizeof(chunk_sizes[0]);
int
main()
{
- std::ofstream logfile("output");
- logfile.setf(std::ios::fixed);
- deallog << std::setprecision(3);
- deallog.attach(logfile);
+ initlog();
+ deallog << std::setprecision(3) << std::fixed;
const unsigned int chunk_sizes[] = {1, 2, 4, 5, 7};
for (unsigned int i = 0; i < sizeof(chunk_sizes) / sizeof(chunk_sizes[0]);
int
main()
{
- std::ofstream logfile("output");
- logfile.setf(std::ios::fixed);
- deallog << std::setprecision(3);
- deallog.attach(logfile);
+ initlog();
+ deallog << std::setprecision(3) << std::fixed;
const unsigned int chunk_sizes[] = {1, 2, 4, 5, 7};
for (unsigned int i = 0; i < sizeof(chunk_sizes) / sizeof(chunk_sizes[0]);
int
main()
{
- std::ofstream logfile("output");
- logfile.setf(std::ios::fixed);
- deallog << std::setprecision(3);
- deallog.attach(logfile);
+ initlog();
+ deallog << std::setprecision(3) << std::fixed;
const unsigned int chunk_sizes[] = {1, 2, 4, 5, 7};
for (unsigned int i = 0; i < sizeof(chunk_sizes) / sizeof(chunk_sizes[0]);
int
main()
{
- std::ofstream logfile("output");
- logfile.setf(std::ios::fixed);
- deallog << std::setprecision(3);
- deallog.attach(logfile);
+ initlog();
+ deallog << std::setprecision(3) << std::fixed;
matrix_position<DynamicSparsityPattern>();
}
int
main()
{
- std::ofstream logfile("output");
- logfile.setf(std::ios::fixed);
- deallog << std::setprecision(3);
- deallog.attach(logfile);
+ initlog();
+ deallog << std::setprecision(3) << std::fixed;
block_read_write<DynamicSparsityPattern>();
}
int
main()
{
- std::ofstream logfile("output");
- logfile.setf(std::ios::fixed);
- deallog << std::setprecision(3);
- deallog.attach(logfile);
+ initlog();
+ deallog << std::setprecision(3) << std::fixed;
row_length<DynamicSparsityPattern>();
}
int
main()
{
- std::ofstream logfile("output");
- logfile.setf(std::ios::fixed);
- deallog << std::setprecision(3);
- deallog.attach(logfile);
+ initlog();
+ deallog << std::setprecision(3) << std::fixed;
print_gnuplot<DynamicSparsityPattern>();
}
int
main()
{
- std::ofstream logfile("output");
- logfile.setf(std::ios::fixed);
- deallog << std::setprecision(3);
- deallog.attach(logfile);
+ initlog();
+ deallog << std::setprecision(3) << std::fixed;
print<DynamicSparsityPattern>();
}
int
main()
{
- std::ofstream logfile("output");
- logfile.setf(std::ios::fixed);
- deallog << std::setprecision(3);
- deallog.attach(logfile);
+ initlog();
+ deallog << std::setprecision(3) << std::fixed;
copy_with_offdiagonals_1<DynamicSparsityPattern>();
}
int
main()
{
- std::ofstream logfile("output");
- logfile.setf(std::ios::fixed);
- deallog << std::setprecision(3);
- deallog.attach(logfile);
+ initlog();
+ deallog << std::setprecision(3) << std::fixed;
copy_with_offdiagonals_2<DynamicSparsityPattern>();
}
int
main()
{
- std::ofstream logfile("output");
- logfile.setf(std::ios::fixed);
- deallog << std::setprecision(3);
- deallog.attach(logfile);
+ initlog();
+ deallog << std::setprecision(3) << std::fixed;
test_index_set<DynamicSparsityPattern>(true);
}
int
main()
{
- std::ofstream logfile("output");
- logfile.setf(std::ios::fixed);
- deallog << std::setprecision(3);
- deallog.attach(logfile);
+ initlog();
+ deallog << std::setprecision(3) << std::fixed;
test_index_set<DynamicSparsityPattern>(false);
}
int
main()
{
- std::ofstream logfile("output");
- logfile.setf(std::ios::fixed);
- deallog << std::setprecision(3);
- deallog.attach(logfile);
+ initlog();
+ deallog << std::setprecision(3) << std::fixed;
// generate usual sparsity pattern
const unsigned int N = 15;
int
main()
{
- std::ofstream logfile("output");
- logfile.setf(std::ios::fixed);
- deallog << std::setprecision(3);
- deallog.attach(logfile);
+ initlog();
+ deallog << std::setprecision(3) << std::fixed;
row_length<SparsityPattern>();
}
int
main()
{
- std::ofstream logfile("output");
- logfile.setf(std::ios::fixed);
- deallog << std::setprecision(3);
- deallog.attach(logfile);
+ initlog();
+ deallog << std::setprecision(3) << std::fixed;
print_gnuplot<SparsityPattern>();
}
int
main()
{
- std::ofstream logfile("output");
- logfile.setf(std::ios::fixed);
- deallog << std::setprecision(3);
- deallog.attach(logfile);
+ initlog();
+ deallog << std::setprecision(3) << std::fixed;
print<SparsityPattern>();
}
int
main()
{
- std::ofstream logfile("output");
- logfile.setf(std::ios::fixed);
- deallog << std::setprecision(3);
- deallog.attach(logfile);
+ initlog();
+ deallog << std::setprecision(3) << std::fixed;
copy_with_offdiagonals_1<SparsityPattern>();
}
int
main()
{
- std::ofstream logfile("output");
- logfile.setf(std::ios::fixed);
- deallog << std::setprecision(3);
- deallog.attach(logfile);
+ initlog();
+ deallog << std::setprecision(3) << std::fixed;
copy_with_offdiagonals_2<SparsityPattern>();
}
int
main()
{
- std::ofstream logfile("output");
- logfile.setf(std::ios::fixed);
- deallog << std::setprecision(3);
- deallog.attach(logfile);
+ initlog();
+ deallog << std::setprecision(3) << std::fixed;
copy_from_1<SparsityPattern>();
}
int
main()
{
- std::ofstream logfile("output");
- logfile.setf(std::ios::fixed);
- deallog << std::setprecision(3);
- deallog.attach(logfile);
+ initlog();
+ deallog << std::setprecision(3) << std::fixed;
copy_from_2<SparsityPattern, DynamicSparsityPattern>();
}
int
main()
{
- std::ofstream logfile("output");
- logfile.setf(std::ios::fixed);
- deallog << std::setprecision(3);
- deallog.attach(logfile);
+ initlog();
+ deallog << std::setprecision(3) << std::fixed;
copy_from_4<SparsityPattern>();
}
int
main()
{
- std::ofstream logfile("output");
- logfile.setf(std::ios::fixed);
- deallog << std::setprecision(3);
- deallog.attach(logfile);
+ initlog();
+ deallog << std::setprecision(3) << std::fixed;
matrix_position<SparsityPattern>();
}
int
main()
{
- std::ofstream logfile("output");
- logfile.setf(std::ios::fixed);
- deallog << std::setprecision(3);
- deallog.attach(logfile);
+ initlog();
+ deallog << std::setprecision(3) << std::fixed;
block_read_write<SparsityPattern>();
}
int
main()
{
- std::ofstream logfile("output");
- logfile.setf(std::ios::fixed);
- deallog << std::setprecision(3);
- deallog.attach(logfile);
+ initlog();
+ deallog << std::setprecision(3) << std::fixed;
global_index<SparsityPattern>();
}
int
main()
{
- std::ofstream logfile("output");
- logfile.setf(std::ios::fixed);
- deallog << std::setprecision(3);
- deallog.attach(logfile);
+ initlog();
+ deallog << std::setprecision(3) << std::fixed;
DynamicSparsityPattern dsp(2);
dsp.add(0, 1);
int
main()
{
- std::ofstream logfile("output");
- logfile.setf(std::ios::fixed);
- deallog << std::setprecision(3);
- deallog.attach(logfile);
+ initlog();
+ deallog << std::setprecision(3) << std::fixed;
DynamicSparsityPattern csp(10, 0);
int
main()
{
- std::ofstream logfile("output");
- logfile.setf(std::ios::fixed);
- deallog << std::setprecision(3);
- deallog.attach(logfile);
+ initlog();
+ deallog << std::setprecision(3) << std::fixed;
DynamicSparsityPattern csp(10000000, 100);
csp.add(9999999, 1);
int
main()
{
- std::ofstream logfile("output");
- logfile.setf(std::ios::fixed);
- deallog << std::setprecision(3);
- deallog.attach(logfile);
+ initlog();
+ deallog << std::setprecision(3) << std::fixed;
DynamicSparsityPattern dsp(4, 4);
for (unsigned int i = 0; i < 4; ++i)
int
main()
{
- std::ofstream logfile("output");
- logfile.setf(std::ios::fixed);
- deallog << std::setprecision(3);
- deallog.attach(logfile);
+ initlog();
+ deallog << std::setprecision(3) << std::fixed;
DynamicSparsityPattern dsp(8, 8);
for (unsigned int i = 0; i < 8; ++i)
int
main()
{
- std::ofstream logfile("output");
+ initlog();
deallog << std::setprecision(3);
- deallog.attach(logfile);
SymmetricTensor<2, 2> t;
t[0][0] = 1;
int
main()
{
- std::ofstream logfile("output");
+ initlog();
deallog << std::setprecision(3);
- deallog.attach(logfile);
SymmetricTensor<2, 3> t;
t[0][0] = 1;
int
main()
{
- std::ofstream logfile("output");
+ initlog();
deallog << std::setprecision(3);
- deallog.attach(logfile);
SymmetricTensor<4, 2> t;
t[0][0][0][0] = 1;
int
main()
{
- std::ofstream logfile("output");
+ initlog();
deallog << std::setprecision(3);
- deallog.attach(logfile);
SymmetricTensor<4, 3> t;
t[0][0][0][0] = 1;
int
main()
{
- std::ofstream logfile("output");
+ initlog();
deallog << std::setprecision(3);
- deallog.attach(logfile);
test<2>();
test<3>();
int
main()
{
- std::ofstream logfile("output");
+ initlog();
deallog << std::setprecision(3);
- deallog.attach(logfile);
test<2>();
test<3>();
int
main()
{
- std::ofstream logfile("output");
+ initlog();
deallog << std::setprecision(3);
- deallog.attach(logfile);
test<2>();
test<3>();
int
main()
{
- std::ofstream logfile("output");
+ initlog();
deallog << std::setprecision(3);
- deallog.attach(logfile);
test<2>();
test<3>();
int
main()
{
- std::ofstream logfile("output");
+ initlog();
deallog << std::setprecision(3);
- deallog.attach(logfile);
test<2>();
test<3>();
int
main()
{
- std::ofstream logfile("output");
+ initlog();
deallog << std::setprecision(3);
- deallog.attach(logfile);
test<1>();
test<2>();
int
main()
{
- std::ofstream logfile("output");
+ initlog();
deallog << std::setprecision(3);
- deallog.attach(logfile);
test<1>();
test<2>();
int
main()
{
- std::ofstream logfile("output");
+ initlog();
deallog << std::setprecision(3);
- deallog.attach(logfile);
test<1>();
test<2>();
int
main()
{
- std::ofstream logfile("output");
+ initlog();
deallog << std::setprecision(3);
- deallog.attach(logfile);
test<1>();
test<2>();
int
main()
{
- std::ofstream logfile("output");
+ initlog();
deallog << std::setprecision(3);
- deallog.attach(logfile);
test<1>();
test<2>();
int
main()
{
- std::ofstream logfile("output");
+ initlog();
deallog << std::setprecision(3);
- deallog.attach(logfile);
test<1>();
test<2>();
int
main()
{
- std::ofstream logfile("output");
+ initlog();
deallog << std::setprecision(3);
- deallog.attach(logfile);
test<1>();
test<2>();
int
main()
{
- std::ofstream logfile("output");
+ initlog();
deallog << std::setprecision(3);
- deallog.attach(logfile);
test<1>();
test<2>();
int
main()
{
- std::ofstream logfile("output");
+ initlog();
deallog << std::setprecision(3);
- deallog.attach(logfile);
test<1>();
test<2>();
int
main()
{
- std::ofstream logfile("output");
+ initlog();
deallog << std::setprecision(3);
- deallog.attach(logfile);
test<1>();
test<2>();
int
main()
{
- std::ofstream logfile("output");
+ initlog();
deallog << std::setprecision(3);
- deallog.attach(logfile);
const unsigned int dim = 3;
SymmetricTensor<2, dim> t;
int
main()
{
- std::ofstream logfile("output");
+ initlog();
deallog << std::setprecision(3);
- deallog.attach(logfile);
const unsigned int dim = 3;
SymmetricTensor<4, dim> t;
int
main()
{
- std::ofstream logfile("output");
+ initlog();
deallog << std::setprecision(3);
- deallog.attach(logfile);
{
const unsigned int dim = 2;
int
main()
{
- std::ofstream logfile("output");
+ initlog();
deallog << std::setprecision(3);
- deallog.attach(logfile);
{
SymmetricTensor<2, 1> t;
int
main()
{
- std::ofstream logfile("output");
+ initlog();
deallog << std::setprecision(3);
- deallog.attach(logfile);
check<1>();
check<2>();
int
main()
{
- std::ofstream logfile("output");
+ initlog();
deallog << std::setprecision(3);
- deallog.attach(logfile);
check<3>();
int
main()
{
- std::ofstream logfile("output");
+ initlog();
deallog << std::setprecision(3);
- deallog.attach(logfile);
check<1>();
check<2>();
int
main()
{
- std::ofstream logfile("output");
+ initlog();
deallog << std::setprecision(3);
- deallog.attach(logfile);
test<1>();
test<2>();
int
main()
{
- std::ofstream logfile("output");
+ initlog();
deallog << std::setprecision(3);
- deallog.attach(logfile);
test<3>();
test<5>();
int
main()
{
- std::ofstream logfile("output");
+ initlog();
deallog << std::setprecision(3);
- deallog.attach(logfile);
test<3>();
test<5>();
int
main()
{
- std::ofstream logfile("output");
+ initlog();
deallog << std::setprecision(3);
- deallog.attach(logfile);
deallog << "check rank 2 tensors" << std::endl;
check_2<1>();
int
main()
{
- std::ofstream logfile("output");
+ initlog();
deallog << std::setprecision(3);
- deallog.attach(logfile);
deallog << "check rank 2 tensors" << std::endl;
check<2, 1>();
int
main()
{
- std::ofstream logfile("output");
+ initlog();
deallog << std::setprecision(3);
- deallog.attach(logfile);
deallog << "check rank 2 tensors" << std::endl;
check<2, 1>();
int
main()
{
- std::ofstream logfile("output");
+ initlog();
deallog << std::setprecision(3);
- deallog.attach(logfile);
deallog << "checking rank 2 tensors" << std::endl;
check<2, 1>();
int
main()
{
- std::ofstream logfile("output");
+ initlog();
deallog << std::setprecision(5);
- deallog.attach(logfile);
deallog << "Symmetric Tensor dim 1" << std::endl;
SymmetricTensor<2, 1> t1;
int
main()
{
- std::ofstream logfile("output");
+ initlog();
deallog << std::setprecision(5);
- deallog.attach(logfile);
test_fixed_rank<2>();
test_fixed_rank<3>();
int
main()
{
- std::ofstream logfile("output");
+ initlog();
deallog << std::setprecision(5);
- deallog.attach(logfile);
const int dim = 3;
Tensor<1, dim> v1;
int
main()
{
- std::ofstream logfile("output");
+ initlog();
deallog << std::setprecision(5);
- deallog.attach(logfile);
const int dim = 3;
SymmetricTensor<2, dim, VectorizedArray<float>> s1;
int
main()
{
- std::ofstream logfile("output");
+ initlog();
deallog << std::setprecision(3);
- deallog.attach(logfile);
double a[3][3] = {{1, 2, 3}, {3, 4, 5}, {6, 7, 8}};
double b[3][3] = {{25, 31, 37}, {45, 57, 69}, {75, 96, 117}};
int
main()
{
- std::ofstream logfile("output");
+ initlog();
deallog << std::setprecision(3);
- deallog.attach(logfile);
double a[3][3] = {{1, 2, 3}, {3, 4, 5}, {6, 7, 8}};
int
main()
{
- std::ofstream logfile("output");
+ initlog();
deallog << std::setprecision(3);
- deallog.attach(logfile);
double a[3] = {1, 2, 3};
int
main()
{
- std::ofstream logfile("output");
+ initlog();
deallog << std::setprecision(3);
- deallog.attach(logfile);
double a[3][3] = {{1, 2, 3}, {3, 4, 5}, {6, 7, 8}};
int
main()
{
- std::string logname = "output";
- std::ofstream logfile(logname.c_str());
- deallog.attach(logfile);
- deallog << std::setprecision(3);
+ initlog() deallog << std::setprecision(3);
double a[3][3] = {{1, 2, 3}, {3, 4, 5}, {6, 7, 8}};
int
main()
{
- std::ofstream logfile("output");
+ initlog();
deallog << std::setprecision(3);
- deallog.attach(logfile);
test_tensor<1>();
test_tensor<2>();
int
main()
{
- std::string logname = "output";
- std::ofstream logfile(logname.c_str());
- deallog.attach(logfile);
+ initlog();
test_constant<2>();
test_constant<3>();
int
main()
{
- std::string logname = "output";
- std::ofstream logfile(logname.c_str());
- deallog.attach(logfile);
- deallog << std::setprecision(3);
+ initlog() deallog << std::setprecision(3);
test_select<2>(1., 1.);
test_select<3>(1., 1.);
int
main()
{
- std::ofstream logfile("output");
+ initlog();
deallog << std::setprecision(3);
- deallog.attach(logfile);
check<1>();
check<2>();
int
main()
{
- std::ofstream logfile("output");
+ initlog();
deallog << std::setprecision(3);
- deallog.attach(logfile);
check<1>();
check<2>();
int
main()
{
- std::ofstream logfile("output");
+ initlog();
deallog << std::setprecision(3);
- deallog.attach(logfile);
test_tensor<1>();
test_tensor<2>();
int
main()
{
- std::ofstream logfile("output");
+ initlog();
deallog << std::setprecision(5);
- deallog.attach(logfile);
deallog << "Tensor dim 1" << std::endl;
Tensor<2, 1> t1;
int
main()
{
- std::ofstream logfile("output");
+ initlog();
deallog << std::setprecision(3);
- deallog.attach(logfile);
double a_double[3][3][2] = {{{1, -1}, {2, 0}, {3, 0}},
{{3, 0}, {4, 0}, {5, 0}},
int
main()
{
- std::ofstream logfile("output");
+ initlog();
deallog << std::setprecision(3);
- deallog.attach(logfile);
deallog << "First test" << std::endl;
int
main()
{
- std::ofstream logfile("output");
+ initlog();
deallog << std::setprecision(3);
- deallog.attach(logfile);
float a[3][3] = {{1, 2, 3}, {3, 4, 5}, {6, 7, 8}};
float b[3][3] = {{25, 31, 37}, {45, 57, 69}, {75, 96, 117}};
int
main()
{
- std::ofstream logfile("output");
+ initlog();
deallog << std::setprecision(3);
- deallog.attach(logfile);
float a[3][3] = {{1, 2, 3}, {3, 4, 5}, {6, 7, 8}};
float b[3] = {25, 31, 37};
int
main(int argc, char **argv)
{
- std::ofstream logfile("output");
- logfile.precision(4);
- deallog.attach(logfile);
+ initlog();
+ deallog << std::setprecision(4);
Utilities::MPI::MPI_InitFinalize mpi_initialization(
argc, argv, testing_max_num_threads());
int
main(int argc, char **argv)
{
- std::ofstream logfile("output");
- logfile.precision(2);
- deallog.attach(logfile);
+ initlog();
+ deallog << std::setprecision(2);
Utilities::MPI::MPI_InitFinalize mpi_initialization(
argc, argv, testing_max_num_threads());
int
main(int argc, char **argv)
{
- std::ofstream logfile("output");
- logfile.precision(4);
- deallog.attach(logfile);
+ initlog();
+ deallog << std::setprecision(4);
Utilities::MPI::MPI_InitFinalize mpi_initialization(
argc, argv, testing_max_num_threads());
int
main(int argc, char **argv)
{
- std::ofstream logfile("output");
- logfile.precision(4);
- deallog.attach(logfile);
+ initlog();
+ deallog << std::setprecision(4);
Utilities::MPI::MPI_InitFinalize mpi_initialization(
argc, argv, testing_max_num_threads());
Utilities::MPI::MPI_InitFinalize mpi_initialization(
argc, argv, testing_max_num_threads());
- std::ofstream logfile("output");
+ initlog();
deallog << std::setprecision(10);
- deallog.attach(logfile);
check_simple(FE_DGP<2>(0));
check_simple(FE_DGP<2>(1));
int
main(int argc, char **argv)
{
- std::ofstream logfile("output");
- logfile.precision(4);
- deallog.attach(logfile);
+ initlog();
+ deallog << std::setprecision(4);
Utilities::MPI::MPI_InitFinalize mpi_initialization(
argc, argv, testing_max_num_threads());
int
main(int argc, char **argv)
{
- std::ofstream logfile("output");
- logfile.precision(4);
- deallog.attach(logfile);
+ initlog();
+ deallog << std::setprecision(4);
Utilities::MPI::MPI_InitFinalize mpi_initialization(
argc, argv, testing_max_num_threads());
int
main(int argc, char **argv)
{
- std::ofstream logfile("output");
- logfile.precision(4);
- deallog.attach(logfile);
+ initlog();
+ deallog << std::setprecision(4);
Utilities::MPI::MPI_InitFinalize mpi_initialization(
argc, argv, testing_max_num_threads());
int
main(int argc, char **argv)
{
- std::ofstream logfile("output");
- logfile.precision(4);
- deallog.attach(logfile);
+ initlog();
+ deallog << std::setprecision(4);
Utilities::MPI::MPI_InitFinalize mpi_initialization(
argc, argv, testing_max_num_threads());
int
main(int argc, char **argv)
{
- std::ofstream logfile("output");
- logfile.precision(4);
- deallog.attach(logfile);
+ initlog();
+ deallog << std::setprecision(4);
Utilities::MPI::MPI_InitFinalize mpi_initialization(
argc, argv, testing_max_num_threads());
int
main(int argc, char **argv)
{
- std::ofstream logfile("output");
- logfile.precision(4);
- deallog.attach(logfile);
+ initlog();
+ deallog << std::setprecision(4);
Utilities::MPI::MPI_InitFinalize mpi_initialization(
argc, argv, testing_max_num_threads());
int
main(int argc, char **argv)
{
- std::ofstream logfile("output");
- logfile.precision(4);
- deallog.attach(logfile);
+ initlog();
+ deallog << std::setprecision(4);
Utilities::MPI::MPI_InitFinalize mpi_initialization(
argc, argv, testing_max_num_threads());
int
main(int argc, char **argv)
{
- std::ofstream logfile("output");
- logfile.precision(4);
- deallog.attach(logfile);
+ initlog();
+ deallog << std::setprecision(4);
Utilities::MPI::MPI_InitFinalize mpi_initialization(
argc, argv, testing_max_num_threads());
if (Utilities::MPI::this_mpi_process(MPI_COMM_WORLD) == 0)
{
- std::ofstream logfile("output");
- deallog.attach(logfile);
+ initlog();
test();
}
{
Utilities::MPI::MPI_InitFinalize mpi_initialization(
argc, argv, testing_max_num_threads());
- std::ofstream logfile("output");
- logfile.setf(std::ios::fixed);
- deallog << std::setprecision(3);
- deallog.attach(logfile);
+ initlog();
+ deallog << std::setprecision(3) << std::fixed;
row_length();
}
{
Utilities::MPI::MPI_InitFinalize mpi_initialization(
argc, argv, testing_max_num_threads());
- std::ofstream logfile("output");
- logfile.setf(std::ios::fixed);
- deallog << std::setprecision(3);
- deallog.attach(logfile);
+ initlog();
+ deallog << std::setprecision(3) << std::fixed;
print_gnuplot();
}
Utilities::MPI::MPI_InitFinalize mpi_initialization(
argc, argv, testing_max_num_threads());
- std::ofstream logfile("output");
- logfile.setf(std::ios::fixed);
- deallog << std::setprecision(3);
- deallog.attach(logfile);
+ initlog();
+ deallog << std::setprecision(3) << std::fixed;
print();
}
int
main(int argc, char **argv)
{
- std::ofstream logfile("output");
- deallog.attach(logfile);
+ initlog();
Utilities::MPI::MPI_InitFinalize mpi_initialization(
argc, argv, testing_max_num_threads());
if (Utilities::MPI::this_mpi_process(MPI_COMM_WORLD) == 0)
{
- std::ofstream logfile("output");
- deallog.attach(logfile);
+ initlog();
test();
}
if (Utilities::MPI::this_mpi_process(MPI_COMM_WORLD) == 0)
{
- std::ofstream logfile("output");
- deallog.attach(logfile);
+ initlog();
test();
}