// now the actual test
DataOut<dim> data_out;
data_out.attach_dof_handler(dof_handler);
- std::vector<std::string> names (dim, "displacement");
- data_out.add_data_vector(displacements,names);
+ data_out.add_data_vector(displacements, "displacement");
// output with all cells curved
data_out.build_patches(euler,1,DataOut<dim>::curved_inner_cells);
#
# For a description of the GNUPLOT format see the GNUPLOT manual.
#
-# <x> <y> <displacement> <displacement>
+# <x> <y> <displacement_0> <displacement_1>
-2.000 -2.000 -1.000 -1.000
2.000 -2.000 1.000 -1.000
#
# For a description of the GNUPLOT format see the GNUPLOT manual.
#
-# <x> <y> <z> <displacement> <displacement> <displacement>
+# <x> <y> <z> <displacement_0> <displacement_1> <displacement_2>
-2.000 -2.000 -2.000 -1.000 -1.000 -1.000
2.000 -2.000 -2.000 1.000 -1.000 -1.000
// now the actual test
DataOut<dim> data_out;
data_out.attach_dof_handler(dof_handler);
- std::vector<std::string> names (dim, "displacement");
- data_out.add_data_vector(displacements,names);
+ data_out.add_data_vector(displacements, "displacement");
// output with all cells curved
data_out.build_patches(euler,1,DataOut<dim>::curved_inner_cells);
#
# For a description of the GNUPLOT format see the GNUPLOT manual.
#
-# <x> <y> <displacement> <displacement>
+# <x> <y> <displacement_0> <displacement_1>
-2.000 -2.000 -1.000 -1.000
2.000 -2.000 1.000 -1.000
#
# For a description of the GNUPLOT format see the GNUPLOT manual.
#
-# <x> <y> <z> <displacement> <displacement> <displacement>
+# <x> <y> <z> <displacement_0> <displacement_1> <displacement_2>
-2.000 -2.000 -2.000 -1.000 -1.000 -1.000
2.000 -2.000 -2.000 1.000 -1.000 -1.000
// now the actual test
DataOut<dim> data_out;
data_out.attach_dof_handler(dof_handler);
- std::vector<std::string> names (dim, "displacement");
- data_out.add_data_vector(displacements,names);
+ data_out.add_data_vector(displacements, "displacement");
// output with all cells curved
data_out.build_patches(euler,1,DataOut<dim>::curved_inner_cells);
#
# For a description of the GNUPLOT format see the GNUPLOT manual.
#
-# <x> <y> <displacement> <displacement>
+# <x> <y> <displacement_0> <displacement_1>
-0.5000 -0.5000 0.5000 0.5000
1.500 -1.500 0.5000 -0.5000
#
# For a description of the GNUPLOT format see the GNUPLOT manual.
#
-# <x> <y> <z> <displacement> <displacement> <displacement>
+# <x> <y> <z> <displacement_0> <displacement_1> <displacement_2>
-0.5000 -0.5000 -0.5000 0.5000 0.5000 0.5000
1.500 -1.500 -1.500 0.5000 -0.5000 -0.5000
// now the actual test
DataOut<dim> data_out;
data_out.attach_dof_handler(dof_handler);
- std::vector<std::string> names (dim, "displacement");
- data_out.add_data_vector(displacements,names);
+ data_out.add_data_vector(displacements, "displacement");
// output with all cells curved
data_out.build_patches(euler,5,DataOut<dim>::curved_inner_cells);
#
# For a description of the GNUPLOT format see the GNUPLOT manual.
#
-# <x> <y> <displacement> <displacement>
+# <x> <y> <displacement_0> <displacement_1>
-3.000 -3.000 -2.000 -2.000
-1.800 -2.360 -1.200 -1.360
-0.6000 -2.040 -0.4000 -1.040
#
# For a description of the GNUPLOT format see the GNUPLOT manual.
#
-# <x> <y> <z> <displacement> <displacement> <displacement>
+# <x> <y> <z> <displacement_0> <displacement_1> <displacement_2>
-4.000 -4.000 -4.000 -3.000 -3.000 -3.000
-2.400 -3.360 -3.360 -1.800 -2.360 -2.360