int main ()
{
- initlog(__FILE__);
+ initlog();
{
FE_Q<2> fe(1);
{
int main ()
{
- initlog (__FILE__);
+ initlog();
deallog.threshold_double (1.e-10);
Triangulation<3> tria_ref;
int
main()
{
- initlog (__FILE__);
+ initlog();
deallog.threshold_double (1.e-10);
run (true, false, false);
}
int
main()
{
- initlog (__FILE__);
+ initlog();
deallog.threshold_double (1.e-10);
run (false, false, true);
}
int
main()
{
- initlog (__FILE__);
+ initlog();
deallog.threshold_double (1.e-10);
run (false, true, false);
}
int
main()
{
- initlog (__FILE__);
+ initlog();
deallog.threshold_double (1.e-10);
run (false, true, true);
}
int
main()
{
- initlog(__FILE__);
+ initlog();
deallog.threshold_double(1.e-10);
run (false, false, false);
}
int
main()
{
- initlog (__FILE__);
+ initlog();
deallog.threshold_double (1.e-10);
run (true, false, true);
}
int
main()
{
- initlog (__FILE__);
+ initlog();
deallog.threshold_double (1.e-10);
run (true, true, false);
}
int
main()
{
- initlog (__FILE__);
+ initlog();
deallog.threshold_double (1.e-10);
run (true, true, true);
}
int
main()
{
- initlog(__FILE__);
+ initlog();
deallog.threshold_double(1.e-10);
CHECK_ALL(BDM, 1, 2);
int
main()
{
- initlog(__FILE__);
+ initlog();
deallog.threshold_double(1.e-10);
CHECK_ALL(DGP,0,2);
int
main()
{
- initlog(__FILE__);
+ initlog();
deallog.threshold_double(1.e-10);
CHECK_ALL(DGQ,0,2);
int
main()
{
- initlog(__FILE__);
+ initlog();
deallog.threshold_double(1.e-10);
CHECK_ALL(Nedelec, 0, 2);
int
main()
{
- initlog(__FILE__);
+ initlog();
deallog.threshold_double(1.e-10);
CHECK_ALL(Q,1,2);
int
main()
{
- initlog(__FILE__);
+ initlog();
deallog.threshold_double(1.e-10);
CHECK_ALL(Q_DG0,1,2);
int
main()
{
- initlog(__FILE__);
+ initlog();
deallog.threshold_double(1.e-10);
CHECK_ALL(Q_Hierarchical,1,2);
int
main()
{
- initlog(__FILE__);
+ initlog();
deallog.threshold_double(1.e-10);
CHECK_ALL(Q_iso_Q1,1,2);
int
main()
{
- initlog(__FILE__);
+ initlog();
deallog.threshold_double(1.e-10);
CHECK_ALL(RaviartThomas, 0, 2);
int
main()
{
- initlog(__FILE__);
+ initlog();
deallog.threshold_double(1.e-10);
CHECK_SYS1(FE_Q<2>(1),3,2);
int
main()
{
- initlog(__FILE__);
+ initlog();
deallog.threshold_double(1.e-10);
CHECK_SYS1(FE_DGQ<2>(2),2,2);
int
main()
{
- initlog(__FILE__);
+ initlog();
deallog.threshold_double(1.e-10);
CHECK_SYS2(FE_Q<2>(1),3,FE_DGQ<2>(2),2,2);
int
main()
{
- initlog(__FILE__);
+ initlog();
deallog.threshold_double(1.e-10);
CHECK_SYS3(FE_DGQ<2>(2),2,FE_DGQ<2>(2),2,FE_Q<2>(3),3,2);
int
main()
{
- initlog(__FILE__);
+ initlog();
deallog.threshold_double(1.e-10);
CHECK_SYS3((FESystem<2>(FE_Q<2>(1),3)), 3,
int
main()
{
- initlog(__FILE__);
+ initlog();
deallog.threshold_double(1.e-10);
CHECK_SYS3(FE_DGQ<2>(3), 1,
int
main()
{
- initlog(__FILE__);
+ initlog();
deallog.threshold_double(1.e-10);
CHECK_SYS2 (FE_DGQ<2>(3), 1,
int
main()
{
- initlog(__FILE__);
+ initlog();
deallog.threshold_double(1.e-10);
CHECK_SYS3(FE_Nedelec<2>(0), 1,
int
main()
{
- initlog(__FILE__);
+ initlog();
deallog.threshold_double(1.e-10);
CHECK_SYS2 (FE_DGQ<2>(3), 1,
int
main()
{
- initlog(__FILE__);
+ initlog();
deallog.threshold_double(1.e-10);
CHECK_SYS3(FE_Nedelec<2>(1), 1,
// test FE_Q_DG0 (modified step-22)
-
#include "../tests.h"
#include <deal.II/base/quadrature_lib.h>
#include <deal.II/base/logstream.h>
using namespace dealii;
using namespace Step22;
- initlog(__FILE__);
+ initlog();
deallog.depth_file (1);
int
main()
{
- initlog(__FILE__);
+ initlog();
deallog.threshold_double(1.e-10);
CHECK_ALL(BDM, 1, 2);
int
main()
{
- initlog(__FILE__);
+ initlog();
deallog.threshold_double(1.e-10);
CHECK_ALL(DGP,0,2);
int
main()
{
- initlog(__FILE__);
+ initlog();
deallog.threshold_double(1.e-10);
CHECK_ALL(DGQ,0,2);
int
main()
{
- initlog(__FILE__);
+ initlog();
deallog.threshold_double(1.e-10);
CHECK_ALL(Nedelec, 0, 2);
int
main()
{
- initlog(__FILE__);
+ initlog();
deallog.threshold_double(1.e-10);
CHECK_ALL(Q,1,2);
int
main()
{
- initlog(__FILE__);
+ initlog();
deallog.threshold_double(1.e-10);
CHECK_ALL(Q_DG0,1,2);
int
main()
{
- initlog(__FILE__);
+ initlog();
deallog.threshold_double(1.e-10);
CHECK_ALL(Q_Hierarchical,1,2);
int
main()
{
- initlog(__FILE__);
+ initlog();
deallog.threshold_double(1.e-10);
CHECK_ALL(Q_iso_Q1,1,2);
int
main()
{
- initlog(__FILE__);
+ initlog();
deallog.threshold_double(1.e-10);
CHECK_ALL(RaviartThomas, 0, 2);
int
main()
{
- initlog(__FILE__);
+ initlog();
deallog.threshold_double(1.e-10);
CHECK_SYS1(FE_Q<2>(1),3,2);
int
main()
{
- initlog(__FILE__);
+ initlog();
deallog.threshold_double(1.e-10);
CHECK_SYS1(FE_DGQ<2>(2),2,2);
int
main()
{
- initlog(__FILE__);
+ initlog();
deallog.threshold_double(1.e-10);
CHECK_SYS2(FE_Q<2>(1),3,FE_DGQ<2>(2),2,2);
int
main()
{
- initlog(__FILE__);
+ initlog();
deallog.threshold_double(1.e-10);
CHECK_SYS3(FE_DGQ<2>(2),2,FE_DGQ<2>(2),2,FE_Q<2>(3),3,2);
int
main()
{
- initlog(__FILE__);
+ initlog();
deallog.threshold_double(1.e-10);
CHECK_SYS3((FESystem<2>(FE_Q<2>(1),3)), 3,
int
main()
{
- initlog(__FILE__);
+ initlog();
deallog.threshold_double(1.e-10);
CHECK_SYS3(FE_DGQ<2>(3), 1,
int
main()
{
- initlog(__FILE__);
+ initlog();
deallog.threshold_double(1.e-10);
CHECK_SYS2 (FE_DGQ<2>(3), 1,
int
main()
{
- initlog(__FILE__);
+ initlog();
deallog.threshold_double(1.e-10);
CHECK_SYS3(FE_Nedelec<2>(0), 1,
int
main()
{
- initlog(__FILE__);
+ initlog();
deallog.threshold_double(1.e-10);
CHECK_SYS2 (FE_DGQ<2>(3), 1,
int
main()
{
- initlog(__FILE__);
+ initlog();
deallog.threshold_double(1.e-10);
CHECK_SYS3(FE_Nedelec<2>(1), 1,
int
main()
{
- initlog(__FILE__);
+ initlog();
deallog.threshold_double(1.e-10);
CHECK_ALL(BDM, 1, 2);
int
main()
{
- initlog(__FILE__);
+ initlog();
deallog.threshold_double(1.e-10);
CHECK_ALL(Nedelec, 0, 2);
int
main()
{
- initlog(__FILE__);
+ initlog();
deallog.threshold_double(1.e-10);
CHECK_ALL(Q,1,2);
int
main()
{
- initlog(__FILE__);
+ initlog();
deallog.threshold_double(1.e-10);
CHECK_ALL(Q_DG0,1,2);
int
main()
{
- initlog(__FILE__);
+ initlog();
deallog.threshold_double(1.e-10);
CHECK_ALL(Q_Hierarchical,1,2);
int
main()
{
- initlog(__FILE__);
+ initlog();
deallog.threshold_double(1.e-10);
CHECK_ALL(Q_iso_Q1,1,2);
int
main()
{
- initlog(__FILE__);
+ initlog();
deallog.threshold_double(1.e-10);
CHECK_ALL(Q_DG0,1,2);
int
main()
{
- initlog(__FILE__);
+ initlog();
deallog.threshold_double(1.e-10);
CHECK_ALL(RaviartThomas, 0, 2);
int
main()
{
- initlog(__FILE__);
+ initlog();
deallog.threshold_double(1.e-10);
CHECK_SYS1(FE_Q<2>(1),3,2);
int
main()
{
- initlog(__FILE__);
+ initlog();
deallog.threshold_double(1.e-10);
CHECK_SYS1(FE_DGQ<2>(2),2,2);
int
main()
{
- initlog(__FILE__);
+ initlog();
deallog.threshold_double(1.e-10);
CHECK_SYS2(FE_Q<2>(1),3,FE_DGQ<2>(2),2,2);
int
main()
{
- initlog(__FILE__);
+ initlog();
deallog.threshold_double(1.e-10);
CHECK_SYS3(FE_DGQ<2>(2),2,FE_DGQ<2>(2),2,FE_Q<2>(3),3,2);
int
main()
{
- initlog(__FILE__);
+ initlog();
deallog.threshold_double(1.e-10);
CHECK_SYS3((FESystem<2>(FE_Q<2>(1),3)), 3,
int
main()
{
- initlog(__FILE__);
+ initlog();
deallog.threshold_double(1.e-10);
CHECK_SYS3(FE_DGQ<2>(3), 1,
int
main()
{
- initlog(__FILE__);
+ initlog();
deallog.threshold_double(1.e-10);
CHECK_SYS2 (FE_DGQ<2>(3), 1,
int
main()
{
- initlog(__FILE__);
+ initlog();
deallog.threshold_double(1.e-10);
CHECK_SYS3(FE_Nedelec<2>(0), 1,
int
main()
{
- initlog(__FILE__);
+ initlog();
deallog.threshold_double(1.e-10);
CHECK_SYS2 (FE_DGQ<2>(3), 1,
int
main()
{
- initlog(__FILE__);
+ initlog();
deallog.threshold_double(1.e-10);
CHECK_SYS3(FE_Nedelec<2>(1), 1,
// Function for initialize deallog. Normally, it should be called at
// the beginning of main() like
//
-// initlog(__FILE__);
+// initlog();
//
// This will open the correct output file, divert log output there and
// switch off screen output. If screen output is desired, provide the
inline
void
-initlog(const char *filename, bool console=false)
+initlog(bool console=false)
{
- deallogname = JobIdentifier::base_name(filename) + std::string("/output");
+ deallogname = "/output";
deallogfile.open(deallogname.c_str());
deallog.attach(deallogfile);
if (!console)