From: Matthias Maier Date: Mon, 31 Aug 2015 01:31:40 +0000 (-0500) Subject: Testsuite: Also adjust location in disctributed_grids and mpi X-Git-Tag: v8.4.0-rc2~514^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cfa8d8fb720a9f9d83adc492a034c25b39f26115;p=dealii.git Testsuite: Also adjust location in disctributed_grids and mpi We have a small number of tests under distributed_grids/ and mpi/ that read in external grids from deal.II/ (which is now removed). Update those references to the new location "../grid/grid_in*". --- diff --git a/tests/distributed_grids/2d_coarse_grid_02.cc b/tests/distributed_grids/2d_coarse_grid_02.cc index 7d0b8751d7..32743e0e0c 100644 --- a/tests/distributed_grids/2d_coarse_grid_02.cc +++ b/tests/distributed_grids/2d_coarse_grid_02.cc @@ -38,7 +38,7 @@ void test(std::ostream & /*out*/) GridIn gi; gi.attach_triangulation (tr); - std::ifstream in (SOURCE_DIR "/../deal.II/grid_in_02/2d.xda"); + std::ifstream in (SOURCE_DIR "/../grid/grid_in_02/2d.xda"); try { gi.read_xda (in); diff --git a/tests/distributed_grids/2d_coarse_grid_03.cc b/tests/distributed_grids/2d_coarse_grid_03.cc index d1e08f9ea8..f73d4ac0d5 100644 --- a/tests/distributed_grids/2d_coarse_grid_03.cc +++ b/tests/distributed_grids/2d_coarse_grid_03.cc @@ -36,7 +36,7 @@ void test(std::ostream & /*out*/) GridIn gi; gi.attach_triangulation (tr); - std::ifstream in (SOURCE_DIR "/../deal.II/grid_in/2d.inp"); + std::ifstream in (SOURCE_DIR "/../grid/grid_in/2d.inp"); gi.read_ucd (in); write_vtk(tr, "1"); diff --git a/tests/distributed_grids/2d_coarsening_03.cc b/tests/distributed_grids/2d_coarsening_03.cc index 1ce1811457..df7fbbfaed 100644 --- a/tests/distributed_grids/2d_coarsening_03.cc +++ b/tests/distributed_grids/2d_coarsening_03.cc @@ -43,7 +43,7 @@ void test(std::ostream & /*out*/) { GridIn gi; gi.attach_triangulation (tr); - std::ifstream in (SOURCE_DIR "/../deal.II/grid_in_02/2d.xda"); + std::ifstream in (SOURCE_DIR "/../grid/grid_in_02/2d.xda"); try { gi.read_xda (in); @@ -60,7 +60,7 @@ void test(std::ostream & /*out*/) { GridIn gi; gi.attach_triangulation (tr2); - std::ifstream in (SOURCE_DIR "/../deal.II/grid_in_02/2d.xda"); + std::ifstream in (SOURCE_DIR "/../grid/grid_in_02/2d.xda"); try { gi.read_xda (in); diff --git a/tests/distributed_grids/2d_refinement_03.cc b/tests/distributed_grids/2d_refinement_03.cc index 719b02b6cf..3ed03a6425 100644 --- a/tests/distributed_grids/2d_refinement_03.cc +++ b/tests/distributed_grids/2d_refinement_03.cc @@ -43,7 +43,7 @@ void test(std::ostream & /*out*/) { GridIn gi; gi.attach_triangulation (tr); - std::ifstream in (SOURCE_DIR "/../deal.II/grid_in_02/2d.xda"); + std::ifstream in (SOURCE_DIR "/../grid/grid_in_02/2d.xda"); try { gi.read_xda (in); @@ -60,7 +60,7 @@ void test(std::ostream & /*out*/) { GridIn gi; gi.attach_triangulation (tr2); - std::ifstream in (SOURCE_DIR "/../deal.II/grid_in_02/2d.xda"); + std::ifstream in (SOURCE_DIR "/../grid/grid_in_02/2d.xda"); try { gi.read_xda (in); diff --git a/tests/distributed_grids/3d_coarse_grid_02.cc b/tests/distributed_grids/3d_coarse_grid_02.cc index 3a56eaf6d7..67cc78b628 100644 --- a/tests/distributed_grids/3d_coarse_grid_02.cc +++ b/tests/distributed_grids/3d_coarse_grid_02.cc @@ -61,16 +61,16 @@ int main(int argc, char *argv[]) deallog.push("3d"); - test<3> (SOURCE_DIR "/../deal.II/grid_in_3d/1.in"); - test<3> (SOURCE_DIR "/../deal.II/grid_in_3d/2.in"); - test<3> (SOURCE_DIR "/../deal.II/grid_in_3d/3.in"); - test<3> (SOURCE_DIR "/../deal.II/grid_in_3d/4.in"); - - test<3> (SOURCE_DIR "/../deal.II/grid_in_3d/evil_0.in"); - test<3> (SOURCE_DIR "/../deal.II/grid_in_3d/evil_1.in"); - test<3> (SOURCE_DIR "/../deal.II/grid_in_3d/evil_2.in"); - test<3> (SOURCE_DIR "/../deal.II/grid_in_3d/evil_3.in"); - test<3> (SOURCE_DIR "/../deal.II/grid_in_3d/evil_4.in"); + test<3> (SOURCE_DIR "/../grid/grid_in_3d/1.in"); + test<3> (SOURCE_DIR "/../grid/grid_in_3d/2.in"); + test<3> (SOURCE_DIR "/../grid/grid_in_3d/3.in"); + test<3> (SOURCE_DIR "/../grid/grid_in_3d/4.in"); + + test<3> (SOURCE_DIR "/../grid/grid_in_3d/evil_0.in"); + test<3> (SOURCE_DIR "/../grid/grid_in_3d/evil_1.in"); + test<3> (SOURCE_DIR "/../grid/grid_in_3d/evil_2.in"); + test<3> (SOURCE_DIR "/../grid/grid_in_3d/evil_3.in"); + test<3> (SOURCE_DIR "/../grid/grid_in_3d/evil_4.in"); deallog.pop(); diff --git a/tests/distributed_grids/3d_coarse_grid_06.cc b/tests/distributed_grids/3d_coarse_grid_06.cc index c5b4c50bd0..c806e75f46 100644 --- a/tests/distributed_grids/3d_coarse_grid_06.cc +++ b/tests/distributed_grids/3d_coarse_grid_06.cc @@ -36,7 +36,7 @@ void test(std::ostream & /*out*/) GridIn gi; gi.attach_triangulation (tr); - gi.read (SOURCE_DIR "/../deal.II/grid_in_3d_02/747.ucd"); + gi.read (SOURCE_DIR "/../grid/grid_in_3d_02/747.ucd"); deallog << "Checksum: " << tr.get_checksum () diff --git a/tests/distributed_grids/3d_coarsening_03.cc b/tests/distributed_grids/3d_coarsening_03.cc index 20dd79066c..126a2d5c5c 100644 --- a/tests/distributed_grids/3d_coarsening_03.cc +++ b/tests/distributed_grids/3d_coarsening_03.cc @@ -43,7 +43,7 @@ void test(std::ostream & /*out*/) { GridIn gi; gi.attach_triangulation (tr); - std::ifstream in (SOURCE_DIR "/../deal.II/grid_in_3d/4.in"); + std::ifstream in (SOURCE_DIR "/../grid/grid_in_3d/4.in"); gi.read_xda (in); //tr.refine_global (1); } @@ -51,7 +51,7 @@ void test(std::ostream & /*out*/) { GridIn gi; gi.attach_triangulation (tr2); - std::ifstream in (SOURCE_DIR "/../deal.II/grid_in_3d/4.in"); + std::ifstream in (SOURCE_DIR "/../grid/grid_in_3d/4.in"); gi.read_xda (in); //tr2.refine_global (1); } diff --git a/tests/distributed_grids/3d_coarsening_04.cc b/tests/distributed_grids/3d_coarsening_04.cc index 810e3dcb52..184c2ce628 100644 --- a/tests/distributed_grids/3d_coarsening_04.cc +++ b/tests/distributed_grids/3d_coarsening_04.cc @@ -43,7 +43,7 @@ void test(std::ostream & /*out*/) { GridIn gi; gi.attach_triangulation (tr); - std::ifstream in (SOURCE_DIR "/../deal.II/grid_in_3d_02/747.ucd"); + std::ifstream in (SOURCE_DIR "/../grid/grid_in_3d_02/747.ucd"); gi.read (in); //tr.refine_global (1); } @@ -51,7 +51,7 @@ void test(std::ostream & /*out*/) { GridIn gi; gi.attach_triangulation (tr2); - std::ifstream in (SOURCE_DIR "/../deal.II/grid_in_3d_02/747.ucd"); + std::ifstream in (SOURCE_DIR "/../grid/grid_in_3d_02/747.ucd"); gi.read (in); //tr2.refine_global (1); } diff --git a/tests/distributed_grids/3d_refinement_03.cc b/tests/distributed_grids/3d_refinement_03.cc index 1613aa02f9..ec8855c2b7 100644 --- a/tests/distributed_grids/3d_refinement_03.cc +++ b/tests/distributed_grids/3d_refinement_03.cc @@ -43,14 +43,14 @@ void test(std::ostream & /*out*/) { GridIn gi; gi.attach_triangulation (tr); - std::ifstream in (SOURCE_DIR "/../deal.II/grid_in_3d/4.in"); + std::ifstream in (SOURCE_DIR "/../grid/grid_in_3d/4.in"); gi.read_xda (in); } { GridIn gi; gi.attach_triangulation (tr2); - std::ifstream in (SOURCE_DIR "/../deal.II/grid_in_3d/4.in"); + std::ifstream in (SOURCE_DIR "/../grid/grid_in_3d/4.in"); gi.read_xda (in); } diff --git a/tests/distributed_grids/3d_refinement_08.cc b/tests/distributed_grids/3d_refinement_08.cc index 5a32c11832..8f48c7b8c8 100644 --- a/tests/distributed_grids/3d_refinement_08.cc +++ b/tests/distributed_grids/3d_refinement_08.cc @@ -43,14 +43,14 @@ void test(std::ostream & /*out*/) { GridIn gi; gi.attach_triangulation (tr); - std::ifstream in (SOURCE_DIR "/../deal.II/grid_in_3d_02/747.ucd"); + std::ifstream in (SOURCE_DIR "/../grid/grid_in_3d_02/747.ucd"); gi.read (in); } { GridIn gi; gi.attach_triangulation (tr2); - std::ifstream in (SOURCE_DIR "/../deal.II/grid_in_3d_02/747.ucd"); + std::ifstream in (SOURCE_DIR "/../grid/grid_in_3d_02/747.ucd"); gi.read (in); } diff --git a/tests/mpi/p4est_2d_coarse_01.cc b/tests/mpi/p4est_2d_coarse_01.cc index 3dff6398b6..87951cb3aa 100644 --- a/tests/mpi/p4est_2d_coarse_01.cc +++ b/tests/mpi/p4est_2d_coarse_01.cc @@ -44,7 +44,7 @@ void test() parallel::distributed::Triangulation tr(MPI_COMM_WORLD); GridIn gi; gi.attach_triangulation (tr); - std::ifstream in (SOURCE_DIR "/../deal.II/grid_in_02/2d.xda"); + std::ifstream in (SOURCE_DIR "/../grid/grid_in_02/2d.xda"); try { gi.read_xda (in);