Commit ef3a89c3 authored by incardon's avatar incardon

Add stagered grid test

parent dc3096b2
......@@ -356,6 +356,10 @@ BOOST_AUTO_TEST_CASE( vtk_writer_use_grids)
vtk_g.add(1,g4,offset4,spacing4,d4,cmb2);
vtk_g.write("vtk_grids_st.vtk");
// Check that match
bool test = compare("vtk_grids_st.vtk","vtk_grids_st_test.vtk");
BOOST_REQUIRE_EQUAL(test,true);
}
}
......
# vtk DataFile Version 3.0
grids
ASCII
DATASET POLYDATA
POINTS 768 float
0.050000 0.050000 0.0
0.150000 0.050000 0.0
0.250000 0.050000 0.0
0.350000 0.050000 0.0
0.450000 0.050000 0.0
0.550000 0.050000 0.0
0.650000 0.050000 0.0
0.750000 0.050000 0.0
0.850000 0.050000 0.0
0.950000 0.050000 0.0
1.050000 0.050000 0.0
1.150000 0.050000 0.0
1.250000 0.050000 0.0
1.350000 0.050000 0.0
1.450000 0.050000 0.0
1.550000 0.050000 0.0
0.050000 0.150000 0.0
0.150000 0.150000 0.0
0.250000 0.150000 0.0
0.350000 0.150000 0.0
0.450000 0.150000 0.0
0.550000 0.150000 0.0
0.650000 0.150000 0.0
0.750000 0.150000 0.0
0.850000 0.150000 0.0
0.950000 0.150000 0.0
1.050000 0.150000 0.0
1.150000 0.150000 0.0
1.250000 0.150000 0.0
1.350000 0.150000 0.0
1.450000 0.150000 0.0
1.550000 0.150000 0.0
0.050000 0.250000 0.0
0.150000 0.250000 0.0
0.250000 0.250000 0.0
0.350000 0.250000 0.0
0.450000 0.250000 0.0
0.550000 0.250000 0.0
0.650000 0.250000 0.0
0.750000 0.250000 0.0
0.850000 0.250000 0.0
0.950000 0.250000 0.0
1.050000 0.250000 0.0
1.150000 0.250000 0.0
1.250000 0.250000 0.0
1.350000 0.250000 0.0
1.450000 0.250000 0.0
1.550000 0.250000 0.0
0.050000 0.350000 0.0
0.150000 0.350000 0.0
0.250000 0.350000 0.0
0.350000 0.350000 0.0
0.450000 0.350000 0.0
0.550000 0.350000 0.0
0.650000 0.350000 0.0
0.750000 0.350000 0.0
0.850000 0.350000 0.0
0.950000 0.350000 0.0
1.050000 0.350000 0.0
1.150000 0.350000 0.0
1.250000 0.350000 0.0
1.350000 0.350000 0.0
1.450000 0.350000 0.0
1.550000 0.350000 0.0
0.050000 0.450000 0.0
0.150000 0.450000 0.0
0.250000 0.450000 0.0
0.350000 0.450000 0.0
0.450000 0.450000 0.0
0.550000 0.450000 0.0
0.650000 0.450000 0.0
0.750000 0.450000 0.0
0.850000 0.450000 0.0
0.950000 0.450000 0.0
1.050000 0.450000 0.0
1.150000 0.450000 0.0
1.250000 0.450000 0.0
1.350000 0.450000 0.0
1.450000 0.450000 0.0
1.550000 0.450000 0.0
0.050000 0.550000 0.0
0.150000 0.550000 0.0
0.250000 0.550000 0.0
0.350000 0.550000 0.0
0.450000 0.550000 0.0
0.550000 0.550000 0.0
0.650000 0.550000 0.0
0.750000 0.550000 0.0
0.850000 0.550000 0.0
0.950000 0.550000 0.0
1.050000 0.550000 0.0
1.150000 0.550000 0.0
1.250000 0.550000 0.0
1.350000 0.550000 0.0
1.450000 0.550000 0.0
1.550000 0.550000 0.0
0.050000 0.650000 0.0
0.150000 0.650000 0.0
0.250000 0.650000 0.0
0.350000 0.650000 0.0
0.450000 0.650000 0.0
0.550000 0.650000 0.0
0.650000 0.650000 0.0
0.750000 0.650000 0.0
0.850000 0.650000 0.0
0.950000 0.650000 0.0
1.050000 0.650000 0.0
1.150000 0.650000 0.0
1.250000 0.650000 0.0
1.350000 0.650000 0.0
1.450000 0.650000 0.0
1.550000 0.650000 0.0
0.050000 0.750000 0.0
0.150000 0.750000 0.0
0.250000 0.750000 0.0
0.350000 0.750000 0.0
0.450000 0.750000 0.0
0.550000 0.750000 0.0
0.650000 0.750000 0.0
0.750000 0.750000 0.0
0.850000 0.750000 0.0
0.950000 0.750000 0.0
1.050000 0.750000 0.0
1.150000 0.750000 0.0
1.250000 0.750000 0.0
1.350000 0.750000 0.0
1.450000 0.750000 0.0
1.550000 0.750000 0.0
0.050000 0.850000 0.0
0.150000 0.850000 0.0
0.250000 0.850000 0.0
0.350000 0.850000 0.0
0.450000 0.850000 0.0
0.550000 0.850000 0.0
0.650000 0.850000 0.0
0.750000 0.850000 0.0
0.850000 0.850000 0.0
0.950000 0.850000 0.0
1.050000 0.850000 0.0
1.150000 0.850000 0.0
1.250000 0.850000 0.0
1.350000 0.850000 0.0
1.450000 0.850000 0.0
1.550000 0.850000 0.0
0.050000 0.950000 0.0
0.150000 0.950000 0.0
0.250000 0.950000 0.0
0.350000 0.950000 0.0
0.450000 0.950000 0.0
0.550000 0.950000 0.0
0.650000 0.950000 0.0
0.750000 0.950000 0.0
0.850000 0.950000 0.0
0.950000 0.950000 0.0
1.050000 0.950000 0.0
1.150000 0.950000 0.0
1.250000 0.950000 0.0
1.350000 0.950000 0.0
1.450000 0.950000 0.0
1.550000 0.950000 0.0
0.050000 1.050000 0.0
0.150000 1.050000 0.0
0.250000 1.050000 0.0
0.350000 1.050000 0.0
0.450000 1.050000 0.0
0.550000 1.050000 0.0
0.650000 1.050000 0.0
0.750000 1.050000 0.0
0.850000 1.050000 0.0
0.950000 1.050000 0.0
1.050000 1.050000 0.0
1.150000 1.050000 0.0
1.250000 1.050000 0.0
1.350000 1.050000 0.0
1.450000 1.050000 0.0
1.550000 1.050000 0.0
0.050000 1.150000 0.0
0.150000 1.150000 0.0
0.250000 1.150000 0.0
0.350000 1.150000 0.0
0.450000 1.150000 0.0
0.550000 1.150000 0.0
0.650000 1.150000 0.0
0.750000 1.150000 0.0
0.850000 1.150000 0.0
0.950000 1.150000 0.0
1.050000 1.150000 0.0
1.150000 1.150000 0.0
1.250000 1.150000 0.0
1.350000 1.150000 0.0
1.450000 1.150000 0.0
1.550000 1.150000 0.0
0.050000 1.250000 0.0
0.150000 1.250000 0.0
0.250000 1.250000 0.0
0.350000 1.250000 0.0
0.450000 1.250000 0.0
0.550000 1.250000 0.0
0.650000 1.250000 0.0
0.750000 1.250000 0.0
0.850000 1.250000 0.0
0.950000 1.250000 0.0
1.050000 1.250000 0.0
1.150000 1.250000 0.0
1.250000 1.250000 0.0
1.350000 1.250000 0.0
1.450000 1.250000 0.0
1.550000 1.250000 0.0
0.050000 1.350000 0.0
0.150000 1.350000 0.0
0.250000 1.350000 0.0
0.350000 1.350000 0.0
0.450000 1.350000 0.0
0.550000 1.350000 0.0
0.650000 1.350000 0.0
0.750000 1.350000 0.0
0.850000 1.350000 0.0
0.950000 1.350000 0.0
1.050000 1.350000 0.0
1.150000 1.350000 0.0
1.250000 1.350000 0.0
1.350000 1.350000 0.0
1.450000 1.350000 0.0
1.550000 1.350000 0.0
0.050000 1.450000 0.0
0.150000 1.450000 0.0
0.250000 1.450000 0.0
0.350000 1.450000 0.0
0.450000 1.450000 0.0
0.550000 1.450000 0.0
0.650000 1.450000 0.0
0.750000 1.450000 0.0
0.850000 1.450000 0.0
0.950000 1.450000 0.0
1.050000 1.450000 0.0
1.150000 1.450000 0.0
1.250000 1.450000 0.0
1.350000 1.450000 0.0
1.450000 1.450000 0.0
1.550000 1.450000 0.0
0.050000 1.550000 0.0
0.150000 1.550000 0.0
0.250000 1.550000 0.0
0.350000 1.550000 0.0
0.450000 1.550000 0.0
0.550000 1.550000 0.0
0.650000 1.550000 0.0
0.750000 1.550000 0.0
0.850000 1.550000 0.0
0.950000 1.550000 0.0
1.050000 1.550000 0.0
1.150000 1.550000 0.0
1.250000 1.550000 0.0
1.350000 1.550000 0.0
1.450000 1.550000 0.0
1.550000 1.550000 0.0
5.050000 5.050000 0.0
5.150000 5.050000 0.0
5.250000 5.050000 0.0
5.350000 5.050000 0.0
5.450000 5.050000 0.0
5.550000 5.050000 0.0
5.650000 5.050000 0.0
5.750000 5.050000 0.0
5.850000 5.050000 0.0
5.950000 5.050000 0.0
6.050000 5.050000 0.0
6.150000 5.050000 0.0
6.250000 5.050000 0.0
6.350000 5.050000 0.0
6.450000 5.050000 0.0
6.550000 5.050000 0.0
5.050000 5.150000 0.0
5.150000 5.150000 0.0
5.250000 5.150000 0.0
5.350000 5.150000 0.0
5.450000 5.150000 0.0
5.550000 5.150000 0.0
5.650000 5.150000 0.0
5.750000 5.150000 0.0
5.850000 5.150000 0.0
5.950000 5.150000 0.0
6.050000 5.150000 0.0
6.150000 5.150000 0.0
6.250000 5.150000 0.0
6.350000 5.150000 0.0
6.450000 5.150000 0.0
6.550000 5.150000 0.0
5.050000 5.250000 0.0
5.150000 5.250000 0.0
5.250000 5.250000 0.0
5.350000 5.250000 0.0
5.450000 5.250000 0.0
5.550000 5.250000 0.0
5.650000 5.250000 0.0
5.750000 5.250000 0.0
5.850000 5.250000 0.0
5.950000 5.250000 0.0
6.050000 5.250000 0.0
6.150000 5.250000 0.0
6.250000 5.250000 0.0
6.350000 5.250000 0.0
6.450000 5.250000 0.0
6.550000 5.250000 0.0
5.050000 5.350000 0.0
5.150000 5.350000 0.0
5.250000 5.350000 0.0
5.350000 5.350000 0.0
5.450000 5.350000 0.0
5.550000 5.350000 0.0
5.650000 5.350000 0.0
5.750000 5.350000 0.0
5.850000 5.350000 0.0
5.950000 5.350000 0.0
6.050000 5.350000 0.0
6.150000 5.350000 0.0
6.250000 5.350000 0.0
6.350000 5.350000 0.0
6.450000 5.350000 0.0
6.550000 5.350000 0.0
5.050000 5.450000 0.0
5.150000 5.450000 0.0
5.250000 5.450000 0.0
5.350000 5.450000 0.0
5.450000 5.450000 0.0
5.550000 5.450000 0.0
5.650000 5.450000 0.0
5.750000 5.450000 0.0
5.850000 5.450000 0.0
5.950000 5.450000 0.0
6.050000 5.450000 0.0
6.150000 5.450000 0.0
6.250000 5.450000 0.0
6.350000 5.450000 0.0
6.450000 5.450000 0.0
6.550000 5.450000 0.0
5.050000 5.550000 0.0
5.150000 5.550000 0.0
5.250000 5.550000 0.0
5.350000 5.550000 0.0
5.450000 5.550000 0.0
5.550000 5.550000 0.0
5.650000 5.550000 0.0
5.750000 5.550000 0.0
5.850000 5.550000 0.0
5.950000 5.550000 0.0
6.050000 5.550000 0.0
6.150000 5.550000 0.0
6.250000 5.550000 0.0
6.350000 5.550000 0.0
6.450000 5.550000 0.0
6.550000 5.550000 0.0
5.050000 5.650000 0.0
5.150000 5.650000 0.0
5.250000 5.650000 0.0
5.350000 5.650000 0.0
5.450000 5.650000 0.0
5.550000 5.650000 0.0
5.650000 5.650000 0.0
5.750000 5.650000 0.0
5.850000 5.650000 0.0
5.950000 5.650000 0.0
6.050000 5.650000 0.0
6.150000 5.650000 0.0
6.250000 5.650000 0.0
6.350000 5.650000 0.0
6.450000 5.650000 0.0
6.550000 5.650000 0.0
5.050000 5.750000 0.0
5.150000 5.750000 0.0
5.250000 5.750000 0.0
5.350000 5.750000 0.0
5.450000 5.750000 0.0
5.550000 5.750000 0.0
5.650000 5.750000 0.0
5.750000 5.750000 0.0
5.850000 5.750000 0.0
5.950000 5.750000 0.0
6.050000 5.750000 0.0
6.150000 5.750000 0.0
6.250000 5.750000 0.0
6.350000 5.750000 0.0
6.450000 5.750000 0.0
6.550000 5.750000 0.0
5.050000 5.850000 0.0
5.150000 5.850000 0.0
5.250000 5.850000 0.0
5.350000 5.850000 0.0
5.450000 5.850000 0.0
5.550000 5.850000 0.0
5.650000 5.850000 0.0
5.750000 5.850000 0.0
5.850000 5.850000 0.0
5.950000 5.850000 0.0
6.050000 5.850000 0.0
6.150000 5.850000 0.0
6.250000 5.850000 0.0
6.350000 5.850000 0.0
6.450000 5.850000 0.0
6.550000 5.850000 0.0
5.050000 5.950000 0.0
5.150000 5.950000 0.0
5.250000 5.950000 0.0
5.350000 5.950000 0.0
5.450000 5.950000 0.0
5.550000 5.950000 0.0
5.650000 5.950000 0.0
5.750000 5.950000 0.0
5.850000 5.950000 0.0
5.950000 5.950000 0.0
6.050000 5.950000 0.0
6.150000 5.950000 0.0
6.250000 5.950000 0.0
6.350000 5.950000 0.0
6.450000 5.950000 0.0
6.550000 5.950000 0.0
5.050000 6.050000 0.0
5.150000 6.050000 0.0
5.250000 6.050000 0.0
5.350000 6.050000 0.0
5.450000 6.050000 0.0
5.550000 6.050000 0.0
5.650000 6.050000 0.0
5.750000 6.050000 0.0
5.850000 6.050000 0.0
5.950000 6.050000 0.0
6.050000 6.050000 0.0
6.150000 6.050000 0.0
6.250000 6.050000 0.0
6.350000 6.050000 0.0
6.450000 6.050000 0.0
6.550000 6.050000 0.0
5.050000 6.150000 0.0
5.150000 6.150000 0.0
5.250000 6.150000 0.0
5.350000 6.150000 0.0
5.450000 6.150000 0.0
5.550000 6.150000 0.0
5.650000 6.150000 0.0
5.750000 6.150000 0.0
5.850000 6.150000 0.0
5.950000 6.150000 0.0
6.050000 6.150000 0.0
6.150000 6.150000 0.0
6.250000 6.150000 0.0
6.350000 6.150000 0.0
6.450000 6.150000 0.0
6.550000 6.150000 0.0
5.050000 6.250000 0.0
5.150000 6.250000 0.0
5.250000 6.250000 0.0
5.350000 6.250000 0.0
5.450000 6.250000 0.0
5.550000 6.250000 0.0
5.650000 6.250000 0.0
5.750000 6.250000 0.0
5.850000 6.250000 0.0
5.950000 6.250000 0.0
6.050000 6.250000 0.0
6.150000 6.250000 0.0
6.250000 6.250000 0.0
6.350000 6.250000 0.0
6.450000 6.250000 0.0
6.550000 6.250000 0.0
5.050000 6.350000 0.0
5.150000 6.350000 0.0
5.250000 6.350000 0.0
5.350000 6.350000 0.0
5.450000 6.350000 0.0
5.550000 6.350000 0.0
5.650000 6.350000 0.0
5.750000 6.350000 0.0
5.850000 6.350000 0.0
5.950000 6.350000 0.0
6.050000 6.350000 0.0
6.150000 6.350000 0.0
6.250000 6.350000 0.0
6.350000 6.350000 0.0
6.450000 6.350000 0.0
6.550000 6.350000 0.0
5.050000 6.450000 0.0
5.150000 6.450000 0.0
5.250000 6.450000 0.0
5.350000 6.450000 0.0
5.450000 6.450000 0.0
5.550000 6.450000 0.0
5.650000 6.450000 0.0
5.750000 6.450000 0.0
5.850000 6.450000 0.0
5.950000 6.450000 0.0
6.050000 6.450000 0.0
6.150000 6.450000 0.0
6.250000 6.450000 0.0
6.350000 6.450000 0.0
6.450000 6.450000 0.0
6.550000 6.450000 0.0
5.050000 6.550000 0.0
5.150000 6.550000 0.0
5.250000 6.550000 0.0
5.350000 6.550000 0.0
5.450000 6.550000 0.0
5.550000 6.550000 0.0
5.650000 6.550000 0.0
5.750000 6.550000 0.0
5.850000 6.550000 0.0
5.950000 6.550000 0.0
6.050000 6.550000 0.0
6.150000 6.550000 0.0
6.250000 6.550000 0.0
6.350000 6.550000 0.0
6.450000 6.550000 0.0
6.550000 6.550000 0.0
5.000000 5.000000 0.0
5.100000 5.000000 0.0
5.200000 5.000000 0.0
5.300000 5.000000 0.0
5.400000 5.000000 0.0
5.500000 5.000000 0.0
5.600000 5.000000 0.0
5.700000 5.000000 0.0
5.800000 5.000000 0.0
5.900000 5.000000 0.0
6.000000 5.000000 0.0
6.100000 5.000000 0.0
6.200000 5.000000 0.0
6.300000 5.000000 0.0
6.400000 5.000000 0.0
6.500000 5.000000 0.0
5.000000 5.100000 0.0
5.100000 5.100000 0.0
5.200000 5.100000 0.0
5.300000 5.100000 0.0
5.400000 5.100000 0.0
5.500000 5.100000 0.0
5.600000 5.100000 0.0
5.700000 5.100000 0.0
5.800000 5.100000 0.0
5.900000 5.100000 0.0
6.000000 5.100000 0.0
6.100000 5.100000 0.0
6.200000 5.100000 0.0
6.300000 5.100000 0.0
6.400000 5.100000 0.0
6.500000 5.100000 0.0
5.000000 5.200000 0.0
5.100000 5.200000 0.0
5.200000 5.200000 0.0
5.300000 5.200000 0.0
5.400000 5.200000 0.0
5.500000 5.200000 0.0
5.600000 5.200000 0.0
5.700000 5.200000 0.0
5.800000 5.200000 0.0
5.900000 5.200000 0.0
6.000000 5.200000 0.0
6.100000 5.200000 0.0
6.200000 5.200000 0.0
6.300000 5.200000 0.0
6.400000 5.200000 0.0
6.500000 5.200000 0.0
5.000000 5.300000 0.0
5.100000 5.300000 0.0
5.200000 5.300000 0.0
5.300000 5.300000 0.0
5.400000 5.300000 0.0
5.500000 5.300000 0.0
5.600000 5.300000 0.0
5.700000 5.300000 0.0
5.800000 5.300000 0.0
5.900000 5.300000 0.0
6.000000 5.300000 0.0
6.100000 5.300000 0.0
6.200000 5.300000 0.0
6.300000 5.300000 0.0
6.400000 5.300000 0.0
6.500000 5.300000 0.0
5.000000 5.400000 0.0
5.100000 5.400000 0.0
5.200000 5.400000 0.0
5.300000 5.400000 0.0
5.400000 5.400000 0.0
5.500000 5.400000 0.0
5.600000 5.400000 0.0
5.700000 5.400000 0.0
5.800000 5.400000 0.0
5.900000 5.400000 0.0
6.000000 5.400000 0.0
6.100000 5.400000 0.0
6.200000 5.400000 0.0
6.300000 5.400000 0.0
6.400000 5.400000 0.0
6.500000 5.400000 0.0
5.000000 5.500000 0.0
5.100000 5.500000 0.0
5.200000 5.500000 0.0
5.300000 5.500000 0.0
5.400000 5.500000 0.0
5.500000 5.500000 0.0
5.600000 5.500000 0.0
5.700000 5.500000 0.0
5.800000 5.500000 0.0
5.900000 5.500000 0.0
6.000000 5.500000 0.0
6.100000 5.500000 0.0
6.200000 5.500000 0.0
6.300000 5.500000 0.0
6.400000 5.500000 0.0
6.500000 5.500000 0.0
5.000000 5.600000 0.0
5.100000 5.600000 0.0
5.200000 5.600000 0.0
5.300000 5.600000 0.0
5.400000 5.600000 0.0
5.500000 5.600000 0.0
5.600000 5.600000 0.0
5.700000 5.600000 0.0
5.800000 5.600000 0.0
5.900000 5.600000 0.0
6.000000 5.600000 0.0
6.100000 5.600000 0.0
6.200000 5.600000 0.0
6.300000 5.600000 0.0
6.400000 5.600000 0.0
6.500000 5.600000 0.0
5.000000 5.700000 0.0
5.100000 5.700000 0.0
5.200000 5.700000 0.0
5.300000 5.700000 0.0
5.400000 5.700000 0.0
5.500000 5.700000 0.0
5.600000 5.700000 0.0
5.700000 5.700000 0.0
5.800000 5.700000 0.0
5.900000 5.700000 0.0
6.000000 5.700000 0.0
6.100000 5.700000 0.0
6.200000 5.700000 0.0
6.300000 5.700000 0.0
6.400000 5.700000 0.0
6.500000 5.700000 0.0
5.000000 5.800000 0.0
5.100000 5.800000 0.0
5.200000 5.800000 0.0
5.300000 5.800000 0.0
5.400000 5.800000 0.0
5.500000 5.800000 0.0
5.600000 5.800000 0.0