git-svn-id: https://svn.dealii.org/branches/branch_port_the_testsuite@30847
0785d39b-7218-0410-832d-
ea1e28bc413d
GridIn<dim> gi;
gi.attach_triangulation (tr);
- gi.read ("../bits/step-5/circle-grid.inp");
+ gi.read (SOURCE_DIR "../bits/step-5/circle-grid.inp");
write_vtk(tr, "1");
}
template<int dim>
void test(const char *filename)
{
- deallog.push (filename);
+ const char * p = strrchr(filename,'/');
+ deallog.push (p);
parallel::distributed::Triangulation<dim> tr(MPI_COMM_WORLD);
GridIn<dim> gi;
gi.attach_triangulation (tr);
- std::ifstream in ("../bits/gerold_1.inp");
+ std::ifstream in (SOURCE_DIR "../bits/gerold_1.inp");
gi.read_ucd (in);
write_vtk(tr, "1");
GridIn<dim> gi;
gi.attach_triangulation (tr);
- gi.read ("../bits/two_cubes.inp");
+ gi.read (SOURCE_DIR "../bits/two_cubes.inp");
write_vtk(tr, "1");
}
In the beginning the Universe was created. This has made a lot of
people very angry and has been widely regarded as a bad move.
Douglas Adams