From e50708452a10d57abc3ae82d7d126d3b4d72a75f Mon Sep 17 00:00:00 2001 From: Jonathan Robey Date: Thu, 11 May 2017 18:15:52 -0700 Subject: [PATCH] Attempt to script change to use initlog() --- tests/a-framework/build.cc | 3 +-- tests/a-framework/diff.cc | 3 +-- tests/a-framework/passed.cc | 3 +-- tests/a-framework/run.cc | 3 +-- tests/algorithms/any_data_01.cc | 3 +-- tests/aniso/mesh_3d_21.cc | 3 +-- tests/arpack/arpack_advection_diffusion.cc | 3 +-- tests/arpack/step-36_ar.cc | 3 +-- tests/arpack/step-36_ar_shift.cc | 3 +-- tests/base/aligned_vector_01.cc | 3 +-- tests/base/aligned_vector_02.cc | 3 +-- tests/base/aligned_vector_03.cc | 3 +-- tests/base/aligned_vector_05.cc | 3 +-- tests/base/aligned_vector_move.cc | 3 +-- tests/base/boost_fusion.cc | 3 +-- tests/base/boost_iostreams_01.cc | 3 +-- tests/base/convergence_table_01.cc | 3 +-- tests/base/convergence_table_02.cc | 3 +-- tests/base/convergence_table_03.cc | 3 +-- tests/base/convergence_table_04.cc | 3 +-- tests/base/data_out_base_tecplot_bin.cc | 3 +-- tests/base/data_out_reader_01.cc | 3 +-- tests/base/derivative_form_trivial_copy.cc | 3 +-- tests/base/function_derivative.cc | 3 +-- tests/base/function_parser.cc | 3 +-- tests/base/function_parser_02.cc | 3 +-- tests/base/functions_02.cc | 3 +-- tests/base/functions_03.cc | 3 +-- tests/base/gauss_lobatto.cc | 3 +-- tests/base/generate_normal_random_number_01.cc | 3 +-- tests/base/geometric_utilities_01.cc | 3 +-- tests/base/geometric_utilities_02.cc | 3 +-- tests/base/geometry_info_1.cc | 3 +-- tests/base/geometry_info_2.cc | 3 +-- tests/base/geometry_info_3.cc | 3 +-- tests/base/geometry_info_4.cc | 3 +-- tests/base/geometry_info_5.cc | 3 +-- tests/base/geometry_info_6.cc | 3 +-- tests/base/geometry_info_7.cc | 3 +-- tests/base/geometry_info_8.cc | 3 +-- tests/base/graph_coloring_04.cc | 3 +-- tests/base/index_set_01.cc | 3 +-- tests/base/index_set_02.cc | 3 +-- tests/base/index_set_03.cc | 3 +-- tests/base/index_set_04.cc | 3 +-- tests/base/index_set_05.cc | 3 +-- tests/base/index_set_06.cc | 3 +-- tests/base/index_set_07.cc | 3 +-- tests/base/index_set_08.cc | 3 +-- tests/base/index_set_09.cc | 3 +-- tests/base/index_set_10.cc | 3 +-- tests/base/index_set_11.cc | 3 +-- tests/base/index_set_12.cc | 3 +-- tests/base/index_set_13.cc | 3 +-- tests/base/index_set_14.cc | 3 +-- tests/base/index_set_15.cc | 3 +-- tests/base/index_set_16.cc | 3 +-- tests/base/index_set_17.cc | 3 +-- tests/base/index_set_18.cc | 3 +-- tests/base/index_set_19.cc | 3 +-- tests/base/index_set_20.cc | 3 +-- tests/base/index_set_20_offset.cc | 3 +-- tests/base/index_set_21.cc | 3 +-- tests/base/index_set_22.cc | 3 +-- tests/base/index_set_23.cc | 3 +-- tests/base/index_set_24.cc | 3 +-- tests/base/index_set_25.cc | 3 +-- tests/base/index_set_26.cc | 3 +-- tests/base/index_set_27.cc | 3 +-- tests/base/index_set_28.cc | 3 +-- tests/base/index_set_29.cc | 3 +-- tests/base/index_set_30.cc | 3 +-- tests/base/index_set_iterate_01.cc | 3 +-- tests/base/index_set_iterate_02.cc | 3 +-- tests/base/index_set_readwrite_01.cc | 3 +-- tests/base/index_set_readwrite_02.cc | 3 +-- tests/base/index_set_readwrite_03.cc | 3 +-- tests/base/log_crash_01.cc | 3 +-- tests/base/logtest.cc | 3 +-- tests/base/memory_consumption_01.cc | 3 +-- tests/base/memory_consumption_02.cc | 4 ++-- tests/base/memory_consumption_03.cc | 3 +-- tests/base/mpi_exceptions.cc | 3 +-- tests/base/mutex_01.cc | 3 +-- tests/base/parallel_accumulate.cc | 3 +-- tests/base/parallel_transform_01.cc | 3 +-- tests/base/parallel_transform_02.cc | 3 +-- tests/base/parallel_transform_03.cc | 3 +-- tests/base/patterns_01.cc | 3 +-- tests/base/product_type_01.cc | 3 +-- tests/base/product_type_01_symmetric.cc | 3 +-- tests/base/product_type_02.cc | 3 +-- tests/base/product_type_03.cc | 3 +-- tests/base/product_type_03_symmetric.cc | 3 +-- tests/base/product_type_04.cc | 3 +-- tests/base/product_type_04_symmetric.cc | 3 +-- tests/base/product_type_05.cc | 3 +-- tests/base/qprojector.cc | 3 +-- tests/base/quadrature_chebyshev.cc | 3 +-- tests/base/quadrature_selector.cc | 3 +-- tests/base/quadrature_sorted_test.cc | 3 +-- tests/base/quadrature_test.cc | 3 +-- tests/base/reference.cc | 3 +-- tests/base/replace_in_string_01.cc | 3 +-- tests/base/sacado_product_type_01.cc | 3 +-- tests/base/sacado_product_type_02.cc | 3 +-- tests/base/sacado_product_type_03.cc | 3 +-- tests/base/sacado_product_type_04.cc | 3 +-- tests/base/sacado_product_type_05.cc | 3 +-- tests/base/sacado_product_type_06.cc | 3 +-- tests/base/sacado_product_type_07.cc | 3 +-- tests/base/sacado_product_type_08.cc | 3 +-- tests/base/sacado_product_type_09.cc | 3 +-- tests/base/slice_vector.cc | 3 +-- tests/base/stdcxx1x_vs_stdcxx11.cc | 3 +-- tests/base/symmetric_tensor_trivial_copy.cc | 3 +-- tests/base/table_handler_01.cc | 3 +-- tests/base/table_handler_02.cc | 3 +-- tests/base/table_handler_03.cc | 3 +-- tests/base/table_handler_04.cc | 3 +-- tests/base/table_handler_05.cc | 3 +-- tests/base/table_handler_06.cc | 3 +-- tests/base/table_handler_07.cc | 3 +-- tests/base/table_handler_08.cc | 3 +-- tests/base/table_handler_09.cc | 3 +-- tests/base/table_handler_10.cc | 3 +-- tests/base/table_handler_11.cc | 3 +-- tests/base/table_handler_13.cc | 3 +-- tests/base/table_handler_14.cc | 3 +-- tests/base/table_move.cc | 3 +-- tests/base/task_01.cc | 3 +-- tests/base/task_02.cc | 3 +-- tests/base/task_05.cc | 3 +-- tests/base/task_09.cc | 3 +-- tests/base/task_10.cc | 3 +-- tests/base/task_11.cc | 3 +-- tests/base/tensor_trivial_copy.cc | 3 +-- tests/base/thread_local_storage_01.cc | 3 +-- tests/base/thread_local_storage_02.cc | 3 +-- tests/base/thread_local_storage_03.cc | 3 +-- tests/base/thread_local_storage_04.cc | 3 +-- tests/base/thread_local_storage_05.cc | 3 +-- tests/base/thread_local_storage_06.cc | 3 +-- tests/base/thread_validity_01.cc | 3 +-- tests/base/thread_validity_02.cc | 3 +-- tests/base/thread_validity_03.cc | 3 +-- tests/base/thread_validity_04.cc | 3 +-- tests/base/thread_validity_05.cc | 3 +-- tests/base/thread_validity_08.cc | 3 +-- tests/base/thread_validity_09.cc | 3 +-- tests/base/thread_validity_10.cc | 3 +-- tests/base/thread_validity_11.cc | 3 +-- tests/base/thread_validity_12.cc | 3 +-- tests/base/time_stepping_01.cc | 3 +-- tests/base/time_stepping_02.cc | 3 +-- tests/base/timer.cc | 3 +-- tests/base/unique_ptr_01.cc | 3 +-- tests/base/utilities_01.cc | 3 +-- tests/base/utilities_02.cc | 3 +-- tests/base/utilities_03.cc | 3 +-- tests/base/utilities_04.cc | 3 +-- tests/base/utilities_05.cc | 3 +-- tests/base/utilities_06.cc | 3 +-- tests/base/utilities_07.cc | 3 +-- tests/base/utilities_08.cc | 3 +-- tests/base/utilities_09.cc | 3 +-- tests/base/utilities_10.cc | 3 +-- tests/base/utilities_11.cc | 3 +-- tests/base/utilities_trim.cc | 4 ++-- tests/base/vectorization_01.cc | 3 +-- tests/base/vectorization_02.cc | 3 +-- tests/base/vectorization_03.cc | 3 +-- tests/base/vectorization_04.cc | 3 +-- tests/base/vectorization_05.cc | 3 +-- tests/base/vectorization_06.cc | 3 +-- tests/base/work_stream_01.cc | 3 +-- tests/base/work_stream_02.cc | 3 +-- tests/base/work_stream_04.cc | 3 +-- tests/base/work_stream_05.cc | 3 +-- tests/base/work_stream_05_graph.cc | 3 +-- tests/bits/accessor_equality.cc | 3 +-- tests/bits/anna_1.cc | 3 +-- tests/bits/anna_2.cc | 3 +-- tests/bits/anna_3.cc | 3 +-- tests/bits/anna_4.cc | 3 +-- tests/bits/apply_boundary_values_01.cc | 3 +-- tests/bits/apply_boundary_values_02.cc | 3 +-- tests/bits/apply_boundary_values_03.cc | 3 +-- tests/bits/apply_boundary_values_04.cc | 3 +-- tests/bits/block_matrix_array_01.cc | 3 +-- tests/bits/block_sparse_matrix_1.cc | 3 +-- tests/bits/block_sparse_matrix_2.cc | 3 +-- tests/bits/block_sparse_matrix_iterator_01.cc | 3 +-- tests/bits/block_sparse_matrix_iterator_02.cc | 3 +-- tests/bits/block_sparse_matrix_iterator_04.cc | 3 +-- tests/bits/block_sparse_matrix_iterator_05.cc | 3 +-- tests/bits/block_vector_iterator_01.cc | 3 +-- tests/bits/block_vector_iterator_02.cc | 3 +-- tests/bits/block_vector_vector_01.cc | 3 +-- tests/bits/chunk_sparse_matrix_00.cc | 3 +-- tests/bits/chunk_sparse_matrix_01.cc | 3 +-- tests/bits/chunk_sparse_matrix_01a.cc | 3 +-- tests/bits/chunk_sparse_matrix_02.cc | 3 +-- tests/bits/chunk_sparse_matrix_03.cc | 3 +-- tests/bits/chunk_sparse_matrix_03a.cc | 3 +-- tests/bits/chunk_sparse_matrix_04.cc | 3 +-- tests/bits/chunk_sparse_matrix_05.cc | 3 +-- tests/bits/chunk_sparse_matrix_05a.cc | 3 +-- tests/bits/chunk_sparse_matrix_06.cc | 3 +-- tests/bits/chunk_sparse_matrix_07.cc | 3 +-- tests/bits/chunk_sparse_matrix_08.cc | 3 +-- tests/bits/chunk_sparse_matrix_09.cc | 3 +-- tests/bits/chunk_sparse_matrix_10.cc | 3 +-- tests/bits/chunk_sparse_matrix_11.cc | 3 +-- tests/bits/chunk_sparse_matrix_12.cc | 3 +-- tests/bits/chunk_sparse_matrix_13.cc | 3 +-- tests/bits/chunk_sparse_matrix_14.cc | 3 +-- tests/bits/chunk_sparse_matrix_15.cc | 3 +-- tests/bits/chunk_sparse_matrix_16.cc | 3 +-- tests/bits/chunk_sparse_matrix_iterator_01.cc | 3 +-- tests/bits/chunk_sparse_matrix_iterator_02.cc | 3 +-- tests/bits/chunk_sparse_matrix_iterator_03.cc | 3 +-- tests/bits/chunk_sparse_matrix_iterator_04.cc | 3 +-- tests/bits/chunk_sparse_matrix_iterator_05.cc | 3 +-- tests/bits/chunk_sparse_matrix_iterator_06.cc | 3 +-- tests/bits/chunk_sparse_matrix_iterator_07.cc | 3 +-- tests/bits/chunk_sparse_matrix_iterator_08.cc | 3 +-- tests/bits/chunk_sparse_matrix_iterator_09.cc | 3 +-- tests/bits/chunk_sparse_matrix_iterator_10.cc | 3 +-- tests/bits/chunk_sparse_matrix_iterator_11.cc | 3 +-- tests/bits/chunk_sparse_matrix_iterator_12.cc | 3 +-- tests/bits/chunk_sparse_matrix_iterator_13.cc | 3 +-- tests/bits/chunk_sparse_matrix_vector_01.cc | 3 +-- tests/bits/chunk_sparse_matrix_vector_02.cc | 3 +-- tests/bits/chunk_sparse_matrix_vector_03.cc | 3 +-- tests/bits/chunk_sparse_matrix_vector_04.cc | 3 +-- tests/bits/chunk_sparse_matrix_vector_05.cc | 3 +-- tests/bits/chunk_sparse_matrix_vector_06.cc | 3 +-- tests/bits/chunk_sparse_matrix_vector_07.cc | 3 +-- tests/bits/coarsening_3d.cc | 3 +-- tests/bits/cone_01.cc | 3 +-- tests/bits/cone_02.cc | 3 +-- tests/bits/count_dofs_per_component_hp_01.cc | 3 +-- tests/bits/count_dofs_per_component_hp_02.cc | 3 +-- tests/bits/cylinder.cc | 3 +-- tests/bits/cylinder_01.cc | 3 +-- tests/bits/cylinder_02.cc | 3 +-- tests/bits/cylinder_03.cc | 3 +-- tests/bits/cylinder_04.cc | 3 +-- tests/bits/cylinder_shell_01.cc | 3 +-- tests/bits/cylinder_shell_02.cc | 3 +-- tests/bits/denis_1.cc | 3 +-- tests/bits/distorted_cells_01.cc | 3 +-- tests/bits/distorted_cells_02.cc | 3 +-- tests/bits/distorted_cells_03.cc | 3 +-- tests/bits/distorted_cells_04.cc | 3 +-- tests/bits/distorted_cells_05.cc | 3 +-- tests/bits/distorted_cells_06.cc | 3 +-- tests/bits/distorted_cells_07.cc | 3 +-- tests/bits/fe_field_function_01.cc | 3 +-- tests/bits/fe_field_function_01_vector.cc | 3 +-- tests/bits/fe_field_function_02.cc | 3 +-- tests/bits/fe_field_function_02_vector.cc | 3 +-- tests/bits/fe_field_function_03.cc | 3 +-- tests/bits/fe_field_function_04.cc | 3 +-- tests/bits/fe_field_function_04_vector.cc | 3 +-- tests/bits/fe_field_function_05.cc | 3 +-- tests/bits/fe_field_function_05_vector.cc | 3 +-- tests/bits/fe_field_function_06_vector.cc | 3 +-- tests/bits/fe_field_function_07_vector.cc | 3 +-- tests/bits/fe_field_function_08_vector.cc | 3 +-- tests/bits/fe_q_3d_01.cc | 3 +-- tests/bits/fe_q_constraints.cc | 3 +-- tests/bits/find_cell_1.cc | 3 +-- tests/bits/find_cell_13.cc | 3 +-- tests/bits/find_cell_2.cc | 3 +-- tests/bits/find_cell_3.cc | 3 +-- tests/bits/find_cell_4.cc | 3 +-- tests/bits/find_cell_5.cc | 3 +-- tests/bits/find_cell_6.cc | 3 +-- tests/bits/find_cell_7.cc | 3 +-- tests/bits/find_cell_8.cc | 3 +-- tests/bits/find_cell_9.cc | 3 +-- tests/bits/find_cell_alt_1.cc | 3 +-- tests/bits/find_cell_alt_2.cc | 3 +-- tests/bits/find_cell_alt_3.cc | 3 +-- tests/bits/find_cell_alt_4.cc | 3 +-- tests/bits/find_cell_alt_5.cc | 3 +-- tests/bits/find_cell_alt_6.cc | 3 +-- tests/bits/find_cell_alt_7.cc | 3 +-- tests/bits/find_cells_adjacent_to_vertex_1.cc | 3 +-- tests/bits/find_cells_adjacent_to_vertex_2.cc | 3 +-- tests/bits/find_cells_adjacent_to_vertex_3.cc | 3 +-- tests/bits/find_cells_adjacent_to_vertex_4.cc | 3 +-- tests/bits/find_cells_adjacent_to_vertex_5.cc | 3 +-- tests/bits/find_cells_adjacent_to_vertex_6.cc | 3 +-- tests/bits/find_closest_vertex_1.cc | 3 +-- tests/bits/gerold_1.cc | 3 +-- tests/bits/gerold_2.cc | 3 +-- tests/bits/get_boundary_indicators_1d.cc | 3 +-- tests/bits/get_dof_indices_01.cc | 3 +-- tests/bits/hyper_ball_3d.cc | 3 +-- tests/bits/make_boundary_constraints_01.cc | 3 +-- tests/bits/make_boundary_constraints_02.cc | 3 +-- tests/bits/map_dofs_to_support_points_hp_01.cc | 3 +-- tests/bits/map_dofs_to_support_points_hp_02.cc | 3 +-- tests/bits/max_n_cells_01.cc | 3 +-- tests/bits/max_n_cells_02.cc | 3 +-- tests/bits/nedelec_1.cc | 3 +-- tests/bits/neighboring_cells_at_two_faces.cc | 3 +-- tests/bits/normals_1.cc | 3 +-- tests/bits/normals_2.cc | 3 +-- tests/bits/normals_3.cc | 3 +-- tests/bits/normals_4.cc | 3 +-- tests/bits/oliver_01.cc | 3 +-- tests/bits/parsed_function.cc | 3 +-- tests/bits/periodic_flux_coupling_01.cc | 3 +-- tests/bits/periodicity_01.cc | 3 +-- tests/bits/periodicity_02.cc | 3 +-- tests/bits/periodicity_03.cc | 3 +-- tests/bits/periodicity_04.cc | 3 +-- tests/bits/periodicity_05.cc | 3 +-- tests/bits/point_inside_1.cc | 3 +-- tests/bits/point_inside_2.cc | 3 +-- tests/bits/q_point_sum_1.cc | 3 +-- tests/bits/q_point_sum_2.cc | 3 +-- tests/bits/q_point_sum_3.cc | 3 +-- tests/bits/q_point_sum_4.cc | 3 +-- tests/bits/q_points.cc | 3 +-- tests/bits/refine_and_coarsen_1d.cc | 3 +-- tests/bits/refine_and_coarsen_2d.cc | 3 +-- tests/bits/refine_and_coarsen_3d.cc | 3 +-- tests/bits/refine_and_coarsen_for_active_cell_index.cc | 3 +-- tests/bits/refine_and_coarsen_for_active_cell_index_02.cc | 3 +-- tests/bits/refine_and_coarsen_for_active_cell_index_03.cc | 3 +-- tests/bits/refine_and_coarsen_for_active_cell_index_04.cc | 3 +-- tests/bits/refine_and_coarsen_for_active_cell_index_05.cc | 3 +-- tests/bits/refine_and_coarsen_for_parents.cc | 3 +-- tests/bits/refine_and_coarsen_for_parents_02.cc | 3 +-- tests/bits/refine_and_coarsen_for_parents_03.cc | 3 +-- tests/bits/roy_1.cc | 3 +-- tests/bits/rt_1.cc | 3 +-- tests/bits/rt_2.cc | 3 +-- tests/bits/serialize_dof_handler.cc | 3 +-- tests/bits/serialize_hp_dof_handler.cc | 3 +-- tests/bits/solver_01.cc | 3 +-- tests/bits/sparse_lu_decomposition_1.cc | 3 +-- tests/bits/sparse_matrix_01.cc | 3 +-- tests/bits/sparse_matrix_02.cc | 3 +-- tests/bits/sparse_matrix_03.cc | 3 +-- tests/bits/sparse_matrix_03a.cc | 3 +-- tests/bits/sparse_matrix_04.cc | 3 +-- tests/bits/sparse_matrix_05.cc | 3 +-- tests/bits/sparse_matrix_05a.cc | 3 +-- tests/bits/sparse_matrix_06.cc | 3 +-- tests/bits/sparse_matrix_07.cc | 3 +-- tests/bits/sparse_matrix_08.cc | 3 +-- tests/bits/sparse_matrix_09.cc | 3 +-- tests/bits/sparse_matrix_10.cc | 3 +-- tests/bits/sparse_matrix_add_entries_01.cc | 3 +-- tests/bits/sparse_matrix_add_entries_02.cc | 3 +-- tests/bits/sparse_matrix_add_entries_03.cc | 3 +-- tests/bits/sparse_matrix_add_entries_04.cc | 3 +-- tests/bits/sparse_matrix_add_entries_05.cc | 3 +-- tests/bits/sparse_matrix_add_entries_06.cc | 3 +-- tests/bits/sparse_matrix_iterator_01.cc | 3 +-- tests/bits/sparse_matrix_iterator_02.cc | 3 +-- tests/bits/sparse_matrix_iterator_03.cc | 3 +-- tests/bits/sparse_matrix_iterator_04.cc | 3 +-- tests/bits/sparse_matrix_iterator_05.cc | 3 +-- tests/bits/sparse_matrix_iterator_06.cc | 3 +-- tests/bits/sparse_matrix_iterator_07.cc | 3 +-- tests/bits/sparse_matrix_iterator_08.cc | 3 +-- tests/bits/sparse_matrix_iterator_09.cc | 3 +-- tests/bits/sparse_matrix_iterator_10.cc | 3 +-- tests/bits/sparse_matrix_iterator_11.cc | 3 +-- tests/bits/sparse_matrix_iterator_12.cc | 3 +-- tests/bits/sparse_matrix_iterator_13.cc | 3 +-- tests/bits/sparse_matrix_vector_01.cc | 3 +-- tests/bits/sparse_matrix_vector_02.cc | 3 +-- tests/bits/sparse_matrix_vector_03.cc | 3 +-- tests/bits/sparse_matrix_vector_04.cc | 3 +-- tests/bits/sparse_matrix_vector_05.cc | 3 +-- tests/bits/sparse_matrix_vector_06.cc | 3 +-- tests/bits/sparse_matrix_vector_07.cc | 3 +-- tests/bits/step-4_dg_periodic.cc | 3 +-- tests/bits/step-4_dg_periodic_coupling.cc | 3 +-- tests/bits/tria_crash_01.cc | 3 +-- tests/bits/unit_support_points.cc | 3 +-- tests/bits/unit_support_points_02.cc | 3 +-- tests/bits/volume_1.cc | 3 +-- tests/bits/volume_2.cc | 3 +-- tests/bits/volume_3.cc | 3 +-- tests/bits/volume_4.cc | 3 +-- tests/codim_one/extract_boundary_mesh_07.cc | 3 +-- tests/codim_one/extract_boundary_mesh_08.cc | 3 +-- tests/codim_one/extract_boundary_mesh_09.cc | 3 +-- tests/codim_one/extract_boundary_mesh_10.cc | 3 +-- tests/codim_one/extract_boundary_mesh_11.cc | 3 +-- tests/codim_one/extract_boundary_mesh_12.cc | 3 +-- tests/codim_one/extract_boundary_mesh_13.cc | 3 +-- tests/codim_one/fe_dgq_prolongation_01.cc | 3 +-- tests/codim_one/hanging_nodes_01.cc | 3 +-- tests/codim_one/hanging_nodes_02.cc | 3 +-- tests/codim_one/hanging_nodes_03.cc | 3 +-- tests/codim_one/mapping_01.cc | 3 +-- tests/codim_one/mapping_02.cc | 3 +-- tests/codim_one/mapping_03.cc | 3 +-- tests/codim_one/normal_vectors_01.cc | 3 +-- tests/codim_one/solution_transfer_01.cc | 3 +-- tests/codim_one/transform_01.cc | 3 +-- tests/cuda/cuda_vector_01.cu | 3 +-- tests/cuda/cuda_vector_02.cu | 3 +-- tests/distributed_grids/3d_coarse_grid_02.cc | 3 +-- tests/distributed_grids/count_dofs_per_block_01.cc | 3 +-- tests/distributed_grids/count_dofs_per_component_01.cc | 3 +-- tests/distributed_grids/dof_handler_number_cache.cc | 3 +-- tests/distributed_grids/subdomain_id_01.cc | 3 +-- tests/distributed_grids/update_number_cache_01.cc | 3 +-- tests/dofs/dof_accessor_01.cc | 3 +-- tests/dofs/dof_constraints_01.cc | 3 +-- tests/dofs/dof_constraints_02.cc | 3 +-- tests/dofs/dof_constraints_03.cc | 3 +-- tests/dofs/dof_constraints_04.cc | 3 +-- tests/dofs/dof_constraints_05.cc | 3 +-- tests/dofs/dof_constraints_06.cc | 3 +-- tests/dofs/dof_constraints_07.cc | 3 +-- tests/dofs/dof_constraints_08.cc | 3 +-- tests/dofs/dof_constraints_09.cc | 3 +-- tests/dofs/dof_constraints_10.cc | 3 +-- tests/dofs/dof_constraints_11.cc | 3 +-- tests/dofs/dof_constraints_11_x.cc | 3 +-- tests/dofs/dof_handler_number_cache.cc | 3 +-- tests/dofs/interpolate_boundary_values_01.cc | 3 +-- tests/dofs/interpolate_boundary_values_02.cc | 3 +-- tests/dofs/range_based_for_tria.cc | 3 +-- tests/fe/crash_01.cc | 3 +-- tests/fe/curl_curl_01.cc | 3 +-- tests/fe/face_to_cell_q1_2d.cc | 3 +-- tests/fe/face_to_cell_q2_2d.cc | 3 +-- tests/fe/face_to_cell_q2xq2_2d.cc | 3 +-- tests/fe/face_to_cell_q3_2d.cc | 3 +-- tests/fe/face_to_cell_q3xq4_2d.cc | 3 +-- tests/fe/face_to_cell_q4_2d.cc | 3 +-- tests/fe/fe_data_test.cc | 3 +-- tests/fe/fe_q_01.cc | 3 +-- tests/fe/fe_series_01.cc | 3 +-- tests/fe/fe_series_02.cc | 3 +-- tests/fe/fe_series_03.cc | 3 +-- tests/fe/fe_series_04.cc | 3 +-- tests/fe/fe_series_06.cc | 3 +-- tests/fe/fe_series_07.cc | 3 +-- tests/fe/fe_series_08.cc | 3 +-- tests/fe/fe_tools_test.cc | 3 +-- tests/fe/function.cc | 3 +-- tests/fe/get_dof_association.cc | 3 +-- tests/fe/get_fe_by_name_01.cc | 3 +-- tests/fe/mass_matrix_arbitrary_nodes.cc | 3 +-- tests/fe/nedelec_face_interpolation.cc | 3 +-- tests/fe/nedelec_non_rect_2d.cc | 4 ++-- tests/fe/nedelec_non_rect_face.cc | 4 ++-- tests/fe/non_primitive_1.cc | 3 +-- tests/fe/non_primitive_2.cc | 3 +-- tests/fe/traits.cc | 3 +-- tests/fe/transfer.cc | 3 +-- tests/full_matrix/full_matrix_58.cc | 3 +-- tests/full_matrix/full_matrix_iterator_01.cc | 3 +-- tests/full_matrix/full_matrix_move.cc | 3 +-- tests/full_matrix/full_matrix_vector_01.cc | 3 +-- tests/full_matrix/full_matrix_vector_02.cc | 3 +-- tests/full_matrix/full_matrix_vector_05.cc | 3 +-- tests/full_matrix/full_matrix_vector_06.cc | 3 +-- tests/full_matrix/full_matrix_vector_07.cc | 3 +-- tests/gla/vec_00.cc | 3 +-- tests/gla/vec_01.cc | 3 +-- tests/gla/vec_02.cc | 3 +-- tests/grid/grid_generator_10.cc | 3 +-- tests/grid/grid_in_abaqus_01.cc | 3 +-- tests/grid/grid_in_gmsh_01.cc | 3 +-- tests/grid/mesh_3d_1.cc | 3 +-- tests/grid/mesh_3d_10.cc | 3 +-- tests/grid/mesh_3d_11.cc | 3 +-- tests/grid/mesh_3d_12.cc | 3 +-- tests/grid/mesh_3d_13.cc | 3 +-- tests/grid/mesh_3d_14.cc | 3 +-- tests/grid/mesh_3d_15.cc | 3 +-- tests/grid/mesh_3d_16.cc | 3 +-- tests/grid/mesh_3d_17.cc | 3 +-- tests/grid/mesh_3d_2.cc | 3 +-- tests/grid/mesh_3d_20.cc | 3 +-- tests/grid/mesh_3d_21.cc | 3 +-- tests/grid/mesh_3d_3.cc | 3 +-- tests/grid/mesh_3d_4.cc | 3 +-- tests/grid/mesh_3d_5.cc | 3 +-- tests/grid/mesh_3d_6.cc | 3 +-- tests/grid/mesh_3d_7.cc | 3 +-- tests/grid/mesh_3d_8.cc | 3 +-- tests/grid/mesh_3d_9.cc | 3 +-- tests/grid/periodicity_1d.cc | 3 +-- tests/grid/refine_and_coarsen_01.cc | 3 +-- tests/grid/subcelldata.cc | 3 +-- tests/grid/tria_signals_01.cc | 3 +-- tests/grid/user_data_01.cc | 3 +-- tests/grid/vertex_as_face_01.cc | 3 +-- tests/grid/vertex_as_face_02.cc | 3 +-- tests/grid/vertex_as_face_03.cc | 3 +-- tests/grid/vertex_as_face_04.cc | 3 +-- tests/grid/vertex_as_face_05.cc | 3 +-- tests/grid/vertex_as_face_06.cc | 3 +-- tests/grid/vertex_as_face_07.cc | 3 +-- tests/grid/vertex_as_face_08.cc | 3 +-- tests/grid/vertex_as_face_09.cc | 3 +-- tests/grid/vertex_as_face_10.cc | 3 +-- tests/grid/vertex_as_face_11.cc | 3 +-- tests/grid/vertex_as_face_12.cc | 3 +-- tests/grid/vertex_as_face_13.cc | 3 +-- tests/grid/vertex_connectivity.cc | 3 +-- tests/grid/vertex_iterator.cc | 3 +-- tests/hp/accessor_0.cc | 3 +-- tests/hp/distribute_dofs_linear_time.cc | 3 +-- tests/hp/do_function_derivatives_01.cc | 3 +-- tests/hp/do_function_hessians_01.cc | 3 +-- tests/hp/do_function_laplacians_01.cc | 3 +-- tests/hp/dof_handler_number_cache.cc | 3 +-- tests/hp/face_domination_01.cc | 3 +-- tests/hp/face_domination_02.cc | 3 +-- tests/hp/face_domination_03.cc | 3 +-- tests/hp/fe_nothing_18.cc | 3 +-- tests/hp/fe_nothing_19.cc | 3 +-- tests/hp/n_boundary_dofs.cc | 3 +-- tests/hp/solution_transfer_03.cc | 3 +-- tests/hp/solution_transfer_04.cc | 3 +-- tests/hp/solution_transfer_05.cc | 3 +-- tests/hp/solution_transfer_06.cc | 3 +-- tests/hp/solution_transfer_07.cc | 3 +-- tests/hp/solution_transfer_08.cc | 3 +-- tests/hp/solution_transfer_09.cc | 3 +-- tests/hp/solution_transfer_10.cc | 4 ++-- tests/hp/solution_transfer_13.cc | 3 +-- tests/lac/block_indices.cc | 3 +-- tests/lac/filtered_matrix.cc | 3 +-- tests/lac/la_vector_all_zero.cc | 3 +-- tests/lac/lapack_fill.cc | 3 +-- tests/lac/linear_operator_11.cc | 3 +-- tests/lac/linear_operator_12.cc | 3 +-- tests/lac/linear_operator_12a.cc | 3 +-- tests/lac/pointer_matrix.cc | 3 +-- tests/lac/pointer_matrix_vector.cc | 3 +-- tests/lac/readwritevector_add.cc | 3 +-- tests/lac/readwritevector_assignment.cc | 3 +-- tests/lac/readwritevector_functor.cc | 3 +-- tests/lac/solver_selector_00.cc | 3 +-- tests/lac/vector_memory.cc | 3 +-- tests/lac/vector_type_traits_is_serial_01.cc | 3 +-- tests/lac/vector_type_traits_is_serial_02.cc | 3 +-- tests/lac/vector_type_traits_is_serial_03.cc | 3 +-- tests/manifold/chart_manifold_01.cc | 3 +-- tests/manifold/chart_manifold_01_embedded.cc | 3 +-- tests/manifold/chart_manifold_02.cc | 3 +-- tests/manifold/chart_manifold_02_embedded.cc | 3 +-- tests/manifold/chart_manifold_03.cc | 3 +-- tests/manifold/chart_manifold_03_embedded.cc | 3 +-- tests/manifold/chart_manifold_04.cc | 3 +-- tests/manifold/chart_manifold_04_embedded.cc | 3 +-- tests/manifold/chart_manifold_05.cc | 3 +-- tests/manifold/chart_manifold_05_embedded.cc | 3 +-- tests/manifold/chart_manifold_06.cc | 3 +-- tests/manifold/chart_manifold_06_embedded.cc | 3 +-- tests/manifold/chart_manifold_07.cc | 3 +-- tests/manifold/chart_manifold_08.cc | 3 +-- tests/manifold/cylindrical_manifold_01.cc | 3 +-- tests/manifold/cylindrical_manifold_02.cc | 3 +-- tests/manifold/flat_manifold_01.cc | 3 +-- tests/manifold/flat_manifold_02.cc | 3 +-- tests/manifold/flat_manifold_03.cc | 3 +-- tests/manifold/flat_manifold_04.cc | 3 +-- tests/manifold/flat_manifold_05.cc | 3 +-- tests/manifold/flat_manifold_06.cc | 3 +-- tests/manifold/function_manifold_01.cc | 3 +-- tests/manifold/function_manifold_02.cc | 3 +-- tests/manifold/function_manifold_03.cc | 3 +-- tests/manifold/manifold_id_01.cc | 3 +-- tests/manifold/manifold_id_02.cc | 3 +-- tests/manifold/manifold_id_03.cc | 3 +-- tests/manifold/manifold_id_04.cc | 3 +-- tests/manifold/manifold_id_05.cc | 3 +-- tests/manifold/manifold_id_06.cc | 3 +-- tests/manifold/manifold_id_07.cc | 3 +-- tests/manifold/polar_manifold_01.cc | 3 +-- tests/manifold/polar_manifold_02.cc | 3 +-- tests/manifold/polar_manifold_03.cc | 3 +-- tests/manifold/polar_manifold_04.cc | 3 +-- tests/manifold/projection_manifold_01.cc | 3 +-- tests/manifold/tria_accessor_point_01.cc | 3 +-- tests/manifold/tria_accessor_point_02.cc | 3 +-- tests/mappings/data_out_curved_geometry.cc | 3 +-- tests/mappings/data_out_curved_geometry_3d.cc | 3 +-- tests/mappings/data_out_curved_geometry_no_data.cc | 3 +-- tests/mappings/mapping_cartesian_1.cc | 3 +-- tests/mappings/mapping_project_01.cc | 3 +-- tests/mappings/mapping_q4_3d.cc | 3 +-- tests/mappings/mapping_q_convergence.cc | 3 +-- tests/matrix_free/evaluate_1d_shape.cc | 3 +-- tests/matrix_free/evaluate_1d_shape_evenodd.cc | 3 +-- tests/matrix_free/fe_evaluation_access_1d.cc | 3 +-- tests/matrix_free/laplace_operator_01.cc | 3 +-- tests/matrix_free/laplace_operator_02.cc | 3 +-- tests/matrix_free/mass_operator_01.cc | 3 +-- tests/matrix_free/matrix_vector_10.cc | 3 +-- tests/matrix_free/matrix_vector_11.cc | 3 +-- tests/matrix_free/matrix_vector_12.cc | 3 +-- tests/matrix_free/matrix_vector_13.cc | 3 +-- tests/matrix_free/matrix_vector_18.cc | 3 +-- tests/matrix_free/matrix_vector_19.cc | 3 +-- tests/matrix_free/matrix_vector_20.cc | 3 +-- tests/matrix_free/matrix_vector_21.cc | 3 +-- tests/matrix_free/step-37.cc | 3 +-- tests/matrix_free/step-48.cc | 3 +-- tests/matrix_free/step-48b.cc | 3 +-- tests/matrix_free/step-48c.cc | 3 +-- tests/metis/metis_01.cc | 3 +-- tests/metis/metis_01a.cc | 3 +-- tests/metis/metis_02.cc | 3 +-- tests/metis/metis_03.cc | 3 +-- tests/mpi/blockvec_01.cc | 3 +-- tests/mpi/cell_weights_01.cc | 3 +-- tests/mpi/cell_weights_01_back_and_forth_01.cc | 3 +-- tests/mpi/cell_weights_01_back_and_forth_02.cc | 3 +-- tests/mpi/cell_weights_02.cc | 3 +-- tests/mpi/cell_weights_03.cc | 3 +-- tests/mpi/cell_weights_04.cc | 3 +-- tests/mpi/cell_weights_05.cc | 3 +-- tests/mpi/cell_weights_06.cc | 3 +-- tests/mpi/collective_01.cc | 3 +-- tests/mpi/collective_02.cc | 3 +-- tests/mpi/collective_02_array.cc | 3 +-- tests/mpi/collective_02_array_in_place.cc | 3 +-- tests/mpi/collective_02_dealii_vector.cc | 3 +-- tests/mpi/collective_02_dealii_vector_in_place.cc | 3 +-- tests/mpi/collective_02_vector.cc | 3 +-- tests/mpi/collective_02_vector_in_place.cc | 3 +-- tests/mpi/collective_max.cc | 3 +-- tests/mpi/collective_max_array.cc | 3 +-- tests/mpi/collective_max_array_in_place.cc | 3 +-- tests/mpi/collective_max_vector.cc | 3 +-- tests/mpi/collective_max_vector_in_place.cc | 3 +-- tests/mpi/collective_min.cc | 3 +-- tests/mpi/collective_min_array.cc | 3 +-- tests/mpi/collective_min_array_in_place.cc | 3 +-- tests/mpi/collective_min_vector.cc | 3 +-- tests/mpi/collective_min_vector_in_place.cc | 3 +-- tests/mpi/collective_tensor.cc | 3 +-- tests/mpi/compute_mean_value.cc | 3 +-- tests/mpi/constraint_matrix_condense_01.cc | 3 +-- tests/mpi/constraint_matrix_trilinos_bug.cc | 3 +-- tests/mpi/count_dofs_per_block_01.cc | 3 +-- tests/mpi/count_dofs_per_block_02.cc | 3 +-- tests/mpi/count_dofs_per_component_01.cc | 3 +-- tests/mpi/crash_01.cc | 3 +-- tests/mpi/crash_02.cc | 3 +-- tests/mpi/crash_03.cc | 3 +-- tests/mpi/crash_04.cc | 3 +-- tests/mpi/cuthill_mckee_01.cc | 3 +-- tests/mpi/distribute_flux_sparsity_pattern.cc | 3 +-- tests/mpi/distribute_sp_01.cc | 3 +-- tests/mpi/distribute_sp_02.cc | 3 +-- tests/mpi/dof_handler_number_cache.cc | 3 +-- tests/mpi/extract_boundary_dofs.cc | 3 +-- tests/mpi/extract_constant_modes_01.cc | 3 +-- tests/mpi/extract_constant_modes_02.cc | 3 +-- tests/mpi/extract_locally_active_dofs.cc | 3 +-- tests/mpi/fe_field_function_01.cc | 3 +-- tests/mpi/find_active_cell_around_point_01.cc | 3 +-- tests/mpi/ghost_01.cc | 3 +-- tests/mpi/ghost_02.cc | 3 +-- tests/mpi/ghost_03.cc | 3 +-- tests/mpi/has_hanging_nodes.cc | 3 +-- tests/mpi/integrate_difference.cc | 3 +-- tests/mpi/interpolate_01.cc | 3 +-- tests/mpi/interpolate_02.cc | 3 +-- tests/mpi/interpolate_03.cc | 3 +-- tests/mpi/interpolate_04.cc | 3 +-- tests/mpi/is_locally_owned.cc | 3 +-- tests/mpi/make_zero_boundary_values.cc | 3 +-- tests/mpi/map_dofs_to_support_points.cc | 3 +-- tests/mpi/no_flux_constraints.cc | 3 +-- tests/mpi/no_flux_constraints_02.cc | 3 +-- tests/mpi/no_flux_constraints_03.cc | 3 +-- tests/mpi/normal_flux_constraints.cc | 3 +-- tests/mpi/p4est_2d_coarse_01.cc | 3 +-- tests/mpi/p4est_2d_constraintmatrix_01.cc | 3 +-- tests/mpi/p4est_2d_constraintmatrix_02.cc | 3 +-- tests/mpi/p4est_2d_constraintmatrix_03.cc | 3 +-- tests/mpi/p4est_2d_constraintmatrix_04.cc | 3 +-- tests/mpi/p4est_2d_constraintmatrix_05.cc | 3 +-- tests/mpi/p4est_2d_dofhandler_01.cc | 3 +-- tests/mpi/p4est_2d_dofhandler_02.cc | 3 +-- tests/mpi/p4est_2d_dofhandler_03.cc | 3 +-- tests/mpi/p4est_2d_dofhandler_04.cc | 3 +-- tests/mpi/p4est_2d_dofhandler_05.cc | 3 +-- tests/mpi/p4est_2d_ghost_01.cc | 3 +-- tests/mpi/p4est_2d_ghost_02.cc | 3 +-- tests/mpi/p4est_2d_refine_01.cc | 3 +-- tests/mpi/p4est_2d_refine_03.cc | 3 +-- tests/mpi/p4est_2d_renumber_01.cc | 3 +-- tests/mpi/p4est_2d_renumber_02.cc | 3 +-- tests/mpi/p4est_2d_simple.cc | 3 +-- tests/mpi/p4est_3d_constraintmatrix_01.cc | 3 +-- tests/mpi/p4est_3d_constraintmatrix_02.cc | 3 +-- tests/mpi/p4est_3d_constraintmatrix_03.cc | 3 +-- tests/mpi/p4est_3d_constraintmatrix_04.cc | 3 +-- tests/mpi/p4est_3d_ghost_01.cc | 3 +-- tests/mpi/p4est_3d_refine_01.cc | 3 +-- tests/mpi/p4est_3d_refine_02.cc | 3 +-- tests/mpi/p4est_3d_refine_03.cc | 3 +-- tests/mpi/p4est_3d_refine_04.cc | 3 +-- tests/mpi/p4est_data_out_01.cc | 3 +-- tests/mpi/p4est_get_subdomain_association.cc | 3 +-- tests/mpi/p4est_max_refine.cc | 3 +-- tests/mpi/p4est_save_01.cc | 3 +-- tests/mpi/p4est_save_02.cc | 3 +-- tests/mpi/parallel_block_vector_01.cc | 3 +-- tests/mpi/parallel_block_vector_02.cc | 3 +-- tests/mpi/parallel_block_vector_04.cc | 3 +-- tests/mpi/parallel_partitioner_01.cc | 3 +-- tests/mpi/parallel_partitioner_02.cc | 3 +-- tests/mpi/parallel_partitioner_03.cc | 3 +-- tests/mpi/parallel_partitioner_04.cc | 3 +-- tests/mpi/parallel_vector_01.cc | 3 +-- tests/mpi/parallel_vector_02.cc | 3 +-- tests/mpi/parallel_vector_03.cc | 3 +-- tests/mpi/parallel_vector_04.cc | 3 +-- tests/mpi/parallel_vector_05.cc | 3 +-- tests/mpi/parallel_vector_06.cc | 3 +-- tests/mpi/parallel_vector_07.cc | 3 +-- tests/mpi/parallel_vector_08.cc | 3 +-- tests/mpi/parallel_vector_09.cc | 3 +-- tests/mpi/parallel_vector_10.cc | 3 +-- tests/mpi/parallel_vector_11.cc | 3 +-- tests/mpi/parallel_vector_12.cc | 3 +-- tests/mpi/parallel_vector_13.cc | 3 +-- tests/mpi/parallel_vector_14.cc | 3 +-- tests/mpi/parallel_vector_15.cc | 3 +-- tests/mpi/parallel_vector_16.cc | 3 +-- tests/mpi/parallel_vector_18.cc | 3 +-- tests/mpi/parallel_vector_19.cc | 3 +-- tests/mpi/parallel_vector_20.cc | 3 +-- tests/mpi/parallel_vector_back_interpolate.cc | 3 +-- tests/mpi/parallel_vector_interpolate.cc | 3 +-- tests/mpi/petsc_01.cc | 3 +-- tests/mpi/petsc_02.cc | 3 +-- tests/mpi/petsc_03.cc | 3 +-- tests/mpi/petsc_bug_ghost_vector_01.cc | 3 +-- tests/mpi/petsc_distribute_01.cc | 3 +-- tests/mpi/petsc_distribute_01_block.cc | 3 +-- tests/mpi/petsc_distribute_01_inhomogenous.cc | 3 +-- tests/mpi/petsc_locally_owned_elements.cc | 3 +-- tests/mpi/point_to_point_pattern_01.cc | 3 +-- tests/mpi/refine_and_coarsen_fixed_fraction_01.cc | 3 +-- tests/mpi/refine_and_coarsen_fixed_fraction_02.cc | 3 +-- tests/mpi/refine_and_coarsen_fixed_fraction_03.cc | 3 +-- tests/mpi/refine_and_coarsen_fixed_fraction_04.cc | 3 +-- tests/mpi/refine_and_coarsen_fixed_fraction_05.cc | 3 +-- tests/mpi/refine_and_coarsen_fixed_fraction_06.cc | 3 +-- tests/mpi/refine_and_coarsen_fixed_fraction_07.cc | 3 +-- tests/mpi/refine_and_coarsen_fixed_number_01.cc | 3 +-- tests/mpi/refine_and_coarsen_fixed_number_02.cc | 3 +-- tests/mpi/refine_and_coarsen_fixed_number_03.cc | 3 +-- tests/mpi/refine_and_coarsen_fixed_number_04.cc | 3 +-- tests/mpi/refine_and_coarsen_fixed_number_05.cc | 3 +-- tests/mpi/refine_and_coarsen_fixed_number_06.cc | 3 +-- tests/mpi/refinement_listener_01.cc | 3 +-- tests/mpi/refinement_listener_02.cc | 3 +-- tests/mpi/simple_mpi_01.cc | 3 +-- tests/mpi/solution_transfer_01.cc | 3 +-- tests/mpi/step-40.cc | 3 +-- tests/mpi/step-40_direct_solver.cc | 3 +-- tests/mpi/torus.cc | 3 +-- tests/mpi/tria_copy_triangulation.cc | 3 +-- tests/mpi/trilinos_01.cc | 3 +-- tests/mpi/trilinos_02.cc | 3 +-- tests/mpi/trilinos_bug_5609.cc | 3 +-- tests/mpi/trilinos_compress_bug.cc | 3 +-- tests/mpi/trilinos_distribute_01.cc | 3 +-- tests/mpi/trilinos_distribute_01_block.cc | 3 +-- tests/mpi/trilinos_distribute_01_inhomogenous.cc | 3 +-- tests/mpi/trilinos_distribute_03.cc | 3 +-- tests/mpi/trilinos_distribute_04.cc | 3 +-- tests/mpi/trilinos_ghost_01.cc | 3 +-- tests/mpi/trilinos_ghost_02.cc | 3 +-- tests/mpi/trilinos_ghost_03.cc | 3 +-- tests/mpi/trilinos_ghost_03_linfty.cc | 3 +-- tests/mpi/trilinos_ghost_05.cc | 3 +-- tests/mpi/trilinos_locally_owned_elements_01.cc | 3 +-- tests/mpi/trilinos_matvec_01.cc | 3 +-- tests/mpi/trilinos_matvec_02.cc | 3 +-- tests/mpi/trilinos_matvec_03.cc | 3 +-- tests/mpi/trilinos_sadd_01.cc | 3 +-- tests/mpi/trilinos_sparse_matrix_01.cc | 3 +-- tests/mpi/trilinos_sparse_matrix_03.cc | 3 +-- tests/mpi/trilinos_sparse_matrix_04.cc | 3 +-- tests/mpi/trilinos_sparse_matrix_05.cc | 3 +-- tests/mpi/trilinos_sparse_matrix_mmult_01.cc | 3 +-- tests/mpi/trilinos_sparse_matrix_print_01.cc | 3 +-- tests/mpi/trilinos_vector_ghosts_01.cc | 3 +-- tests/mpi/trilinos_vector_reinit.cc | 3 +-- tests/multigrid/constrained_dofs_03.cc | 3 +-- tests/multigrid/cycles.cc | 3 +-- tests/multigrid/mg_renumbered_02.cc | 4 ++-- tests/multigrid/mg_renumbered_03.cc | 4 ++-- tests/numerics/data_out_stack_03.cc | 3 +-- tests/numerics/derivative_approximation_02.cc | 3 +-- tests/numerics/derivative_approximation_03.cc | 3 +-- tests/numerics/project_parallel_qp_q_01.cc | 4 ++-- tests/numerics/project_parallel_qp_q_02.cc | 4 ++-- tests/numerics/project_parallel_qpmf_q_01.cc | 4 ++-- tests/numerics/project_parallel_qpmf_q_02.cc | 4 ++-- tests/opencascade/closest_point_to_shape.cc | 3 +-- tests/parameter_handler/multiple_parameter_loop_01.cc | 3 +-- tests/parameter_handler/multiple_parameter_loop_02.cc | 3 +-- tests/parameter_handler/parameter_handler_1.cc | 3 +-- tests/parameter_handler/parameter_handler_10.cc | 3 +-- tests/parameter_handler/parameter_handler_11.cc | 3 +-- tests/parameter_handler/parameter_handler_12.cc | 3 +-- tests/parameter_handler/parameter_handler_13.cc | 3 +-- tests/parameter_handler/parameter_handler_13a.cc | 3 +-- tests/parameter_handler/parameter_handler_14.cc | 3 +-- tests/parameter_handler/parameter_handler_15.cc | 3 +-- tests/parameter_handler/parameter_handler_16.cc | 3 +-- tests/parameter_handler/parameter_handler_17.cc | 3 +-- tests/parameter_handler/parameter_handler_18.cc | 3 +-- tests/parameter_handler/parameter_handler_19.cc | 3 +-- tests/parameter_handler/parameter_handler_1_exception.cc | 3 +-- tests/parameter_handler/parameter_handler_1_include.cc | 3 +-- tests/parameter_handler/parameter_handler_1_include_fail.cc | 3 +-- tests/parameter_handler/parameter_handler_1a.cc | 3 +-- tests/parameter_handler/parameter_handler_2.cc | 3 +-- tests/parameter_handler/parameter_handler_20.cc | 3 +-- tests/parameter_handler/parameter_handler_21.cc | 3 +-- tests/parameter_handler/parameter_handler_22_last_line.cc | 3 +-- .../parameter_handler/parameter_handler_2_read_from_string.cc | 3 +-- tests/parameter_handler/parameter_handler_9.cc | 3 +-- tests/parameter_handler/parameter_handler_backslash_01.cc | 3 +-- tests/parameter_handler/parameter_handler_backslash_02.cc | 3 +-- tests/parameter_handler/parameter_handler_backslash_03.cc | 3 +-- tests/parameter_handler/parameter_handler_backslash_04.cc | 3 +-- tests/parameter_handler/parameter_handler_backslash_05.cc | 3 +-- tests/parameter_handler/parameter_handler_backslash_06.cc | 3 +-- tests/parameter_handler/parameter_handler_backslash_07.cc | 3 +-- tests/parameter_handler/parameter_handler_backslash_08.cc | 3 +-- tests/parameter_handler/parameter_handler_dos_endings.cc | 4 ++-- tests/parameter_handler/parameter_handler_exceptions_01.cc | 3 +-- tests/parameter_handler/parameter_handler_exceptions_02.cc | 3 +-- .../parameter_handler/parameter_handler_read_xml_error_01.cc | 3 +-- .../parameter_handler/parameter_handler_read_xml_error_02.cc | 3 +-- .../parameter_handler/parameter_handler_read_xml_error_03.cc | 3 +-- .../parameter_handler/parameter_handler_read_xml_error_04.cc | 3 +-- tests/petsc/01.cc | 3 +-- tests/petsc/02.cc | 3 +-- tests/petsc/04.cc | 3 +-- tests/petsc/05.cc | 3 +-- tests/petsc/06.cc | 3 +-- tests/petsc/07.cc | 3 +-- tests/petsc/08.cc | 3 +-- tests/petsc/09.cc | 3 +-- tests/petsc/10.cc | 3 +-- tests/petsc/11.cc | 3 +-- tests/petsc/12.cc | 3 +-- tests/petsc/13.cc | 3 +-- tests/petsc/17.cc | 3 +-- tests/petsc/18.cc | 3 +-- tests/petsc/19.cc | 3 +-- tests/petsc/20.cc | 3 +-- tests/petsc/21.cc | 3 +-- tests/petsc/22.cc | 3 +-- tests/petsc/23.cc | 3 +-- tests/petsc/24.cc | 3 +-- tests/petsc/26.cc | 3 +-- tests/petsc/27.cc | 3 +-- tests/petsc/28.cc | 3 +-- tests/petsc/29.cc | 3 +-- tests/petsc/30.cc | 3 +-- tests/petsc/31.cc | 3 +-- tests/petsc/32.cc | 3 +-- tests/petsc/33.cc | 3 +-- tests/petsc/34.cc | 3 +-- tests/petsc/35.cc | 3 +-- tests/petsc/36.cc | 3 +-- tests/petsc/37.cc | 3 +-- tests/petsc/38.cc | 3 +-- tests/petsc/39.cc | 3 +-- tests/petsc/40.cc | 3 +-- tests/petsc/41.cc | 3 +-- tests/petsc/42.cc | 3 +-- tests/petsc/43.cc | 3 +-- tests/petsc/44.cc | 3 +-- tests/petsc/45.cc | 3 +-- tests/petsc/46.cc | 3 +-- tests/petsc/47.cc | 3 +-- tests/petsc/48.cc | 3 +-- tests/petsc/49.cc | 3 +-- tests/petsc/50.cc | 3 +-- tests/petsc/51.cc | 3 +-- tests/petsc/52.cc | 3 +-- tests/petsc/55.cc | 3 +-- tests/petsc/56.cc | 3 +-- tests/petsc/57.cc | 3 +-- tests/petsc/58.cc | 3 +-- tests/petsc/59.cc | 3 +-- tests/petsc/60.cc | 3 +-- tests/petsc/61.cc | 3 +-- tests/petsc/62.cc | 3 +-- tests/petsc/63.cc | 3 +-- tests/petsc/64.cc | 3 +-- tests/petsc/65.cc | 3 +-- tests/petsc/66.cc | 3 +-- tests/petsc/67.cc | 3 +-- tests/petsc/68.cc | 3 +-- tests/petsc/69.cc | 3 +-- tests/petsc/70.cc | 3 +-- tests/petsc/block_vector_iterator_01.cc | 3 +-- tests/petsc/block_vector_iterator_02.cc | 3 +-- tests/petsc/copy_to_dealvec.cc | 3 +-- tests/petsc/copy_to_dealvec_block.cc | 3 +-- tests/petsc/deal_solver_01.cc | 3 +-- tests/petsc/deal_solver_02.cc | 3 +-- tests/petsc/deal_solver_03.cc | 3 +-- tests/petsc/different_matrix_preconditioner.cc | 3 +-- tests/petsc/exception_messages.cc | 3 +-- tests/petsc/full_matrix_00.cc | 3 +-- tests/petsc/full_matrix_01.cc | 3 +-- tests/petsc/full_matrix_02.cc | 3 +-- tests/petsc/full_matrix_04.cc | 3 +-- tests/petsc/full_matrix_05.cc | 3 +-- tests/petsc/full_matrix_06.cc | 3 +-- tests/petsc/full_matrix_07.cc | 3 +-- tests/petsc/full_matrix_08.cc | 3 +-- tests/petsc/full_matrix_09.cc | 3 +-- tests/petsc/full_matrix_10.cc | 3 +-- tests/petsc/full_matrix_iterator_01.cc | 3 +-- tests/petsc/full_matrix_vector_01.cc | 3 +-- tests/petsc/full_matrix_vector_02.cc | 3 +-- tests/petsc/full_matrix_vector_03.cc | 3 +-- tests/petsc/full_matrix_vector_04.cc | 3 +-- tests/petsc/full_matrix_vector_05.cc | 3 +-- tests/petsc/full_matrix_vector_06.cc | 3 +-- tests/petsc/full_matrix_vector_07.cc | 3 +-- tests/petsc/parallel_sparse_matrix_01.cc | 3 +-- tests/petsc/slowness_01.cc | 3 +-- tests/petsc/slowness_02.cc | 3 +-- tests/petsc/slowness_03.cc | 3 +-- tests/petsc/slowness_04.cc | 3 +-- tests/petsc/solver_03.cc | 3 +-- tests/petsc/solver_03_mf.cc | 3 +-- tests/petsc/solver_03_precondition_boomeramg.cc | 3 +-- tests/petsc/solver_03_precondition_boomeramg_symmetric.cc | 3 +-- tests/petsc/solver_03_precondition_eisenstat.cc | 3 +-- tests/petsc/solver_03_precondition_icc.cc | 3 +-- tests/petsc/solver_03_precondition_ilu.cc | 3 +-- tests/petsc/solver_03_precondition_lu.cc | 3 +-- tests/petsc/solver_03_precondition_parasails.cc | 3 +-- tests/petsc/solver_03_precondition_sor.cc | 3 +-- tests/petsc/solver_03_precondition_ssor.cc | 3 +-- tests/petsc/solver_04.cc | 3 +-- tests/petsc/solver_05.cc | 3 +-- tests/petsc/solver_06.cc | 3 +-- tests/petsc/solver_07.cc | 3 +-- tests/petsc/solver_08.cc | 3 +-- tests/petsc/solver_09.cc | 3 +-- tests/petsc/solver_10.cc | 3 +-- tests/petsc/solver_12.cc | 3 +-- tests/petsc/solver_13.cc | 3 +-- tests/petsc/sparse_direct_mumps.cc | 3 +-- tests/petsc/sparse_matrix_01.cc | 3 +-- tests/petsc/sparse_matrix_02.cc | 3 +-- tests/petsc/sparse_matrix_iterator_01.cc | 3 +-- tests/petsc/sparse_matrix_iterator_02.cc | 3 +-- tests/petsc/sparse_matrix_vector_01.cc | 3 +-- tests/petsc/sparse_matrix_vector_02.cc | 3 +-- tests/petsc/sparse_matrix_vector_03.cc | 3 +-- tests/petsc/sparse_matrix_vector_04.cc | 3 +-- tests/petsc/sparse_matrix_vector_05.cc | 3 +-- tests/petsc/sparse_matrix_vector_06.cc | 3 +-- tests/petsc/sparse_matrix_vector_07.cc | 3 +-- tests/petsc/vector_assign_01.cc | 3 +-- tests/petsc/vector_assign_02.cc | 3 +-- tests/petsc/vector_equality_1.cc | 3 +-- tests/petsc/vector_equality_2.cc | 3 +-- tests/petsc/vector_equality_3.cc | 3 +-- tests/petsc/vector_equality_4.cc | 3 +-- tests/petsc_complex/01.cc | 3 +-- tests/petsc_complex/02.cc | 3 +-- tests/petsc_complex/04.cc | 3 +-- tests/petsc_complex/05.cc | 3 +-- tests/petsc_complex/06.cc | 3 +-- tests/petsc_complex/07.cc | 3 +-- tests/petsc_complex/08.cc | 3 +-- tests/petsc_complex/09.cc | 3 +-- tests/petsc_complex/10.cc | 3 +-- tests/petsc_complex/11.cc | 3 +-- tests/petsc_complex/12.cc | 3 +-- tests/petsc_complex/13.cc | 3 +-- tests/petsc_complex/17.cc | 3 +-- tests/petsc_complex/18.cc | 3 +-- tests/petsc_complex/19.cc | 3 +-- tests/petsc_complex/20.cc | 3 +-- tests/petsc_complex/fe_get_function_values.cc | 3 +-- tests/petsc_complex/parallel_sparse_matrix_01.cc | 3 +-- tests/petsc_complex/solver_real_03.cc | 3 +-- tests/petsc_complex/solver_real_03_mf.cc | 3 +-- tests/petsc_complex/solver_real_04.cc | 3 +-- tests/petsc_complex/sparse_matrix_01.cc | 3 +-- tests/petsc_complex/vector_02.cc | 3 +-- tests/petsc_complex/vector_assign_01.cc | 3 +-- tests/quick_tests/arpack.cc | 4 ++-- tests/quick_tests/umfpack.cc | 4 ++-- tests/slepc/solve_01.cc | 3 +-- tests/slepc/solve_04.cc | 3 +-- tests/sparsity/dynamic_sparsity_pattern_01.cc | 3 +-- tests/sparsity/dynamic_sparsity_pattern_02.cc | 3 +-- tests/sparsity/dynamic_sparsity_pattern_03.cc | 3 +-- tests/sparsity/dynamic_sparsity_pattern_04.cc | 3 +-- tests/sparsity/dynamic_sparsity_pattern_05.cc | 3 +-- tests/sparsity/dynamic_sparsity_pattern_07.cc | 3 +-- tests/sparsity/dynamic_sparsity_pattern_08.cc | 3 +-- tests/sparsity/dynamic_sparsity_pattern_09.cc | 3 +-- tests/sparsity/dynamic_sparsity_pattern_iterator_01.cc | 3 +-- tests/sparsity/dynamic_sparsity_pattern_iterator_02.cc | 3 +-- tests/sparsity/dynamic_sparsity_pattern_iterator_03.cc | 3 +-- tests/sparsity/dynamic_sparsity_pattern_iterator_04.cc | 3 +-- tests/sparsity/dynamic_sparsity_pattern_iterator_05.cc | 3 +-- tests/sparsity/dynamic_sparsity_pattern_iterator_06.cc | 3 +-- tests/sparsity/sparsity_pattern_08.cc | 3 +-- tests/sparsity/sparsity_pattern_iterator_01.cc | 3 +-- tests/trilinos/01.cc | 3 +-- tests/trilinos/02.cc | 3 +-- tests/trilinos/03a.cc | 3 +-- tests/trilinos/03b.cc | 3 +-- tests/trilinos/04.cc | 3 +-- tests/trilinos/05.cc | 3 +-- tests/trilinos/06.cc | 3 +-- tests/trilinos/07.cc | 3 +-- tests/trilinos/08.cc | 3 +-- tests/trilinos/09.cc | 3 +-- tests/trilinos/10.cc | 3 +-- tests/trilinos/11.cc | 3 +-- tests/trilinos/12.cc | 3 +-- tests/trilinos/13.cc | 3 +-- tests/trilinos/14.cc | 3 +-- tests/trilinos/15.cc | 3 +-- tests/trilinos/16.cc | 3 +-- tests/trilinos/17.cc | 3 +-- tests/trilinos/18.cc | 3 +-- tests/trilinos/19.cc | 3 +-- tests/trilinos/20.cc | 3 +-- tests/trilinos/21.cc | 3 +-- tests/trilinos/22.cc | 3 +-- tests/trilinos/23.cc | 3 +-- tests/trilinos/24.cc | 3 +-- tests/trilinos/26.cc | 3 +-- tests/trilinos/27.cc | 3 +-- tests/trilinos/28.cc | 3 +-- tests/trilinos/29.cc | 3 +-- tests/trilinos/30.cc | 3 +-- tests/trilinos/31.cc | 3 +-- tests/trilinos/32.cc | 3 +-- tests/trilinos/33.cc | 3 +-- tests/trilinos/34.cc | 3 +-- tests/trilinos/35.cc | 3 +-- tests/trilinos/36.cc | 3 +-- tests/trilinos/37.cc | 3 +-- tests/trilinos/38.cc | 3 +-- tests/trilinos/39.cc | 3 +-- tests/trilinos/40.cc | 3 +-- tests/trilinos/41.cc | 3 +-- tests/trilinos/42.cc | 3 +-- tests/trilinos/45.cc | 3 +-- tests/trilinos/46.cc | 3 +-- tests/trilinos/49.cc | 3 +-- tests/trilinos/49a.cc | 3 +-- tests/trilinos/49b.cc | 3 +-- tests/trilinos/50.cc | 3 +-- tests/trilinos/51.cc | 3 +-- tests/trilinos/52.cc | 3 +-- tests/trilinos/53.cc | 3 +-- tests/trilinos/54.cc | 3 +-- tests/trilinos/55.cc | 3 +-- tests/trilinos/56.cc | 3 +-- tests/trilinos/57.cc | 3 +-- tests/trilinos/58.cc | 3 +-- tests/trilinos/60.cc | 3 +-- tests/trilinos/61.cc | 3 +-- tests/trilinos/62.cc | 3 +-- tests/trilinos/63.cc | 3 +-- tests/trilinos/64.cc | 3 +-- tests/trilinos/66.cc | 3 +-- tests/trilinos/67.cc | 3 +-- tests/trilinos/68.cc | 3 +-- tests/trilinos/69.cc | 3 +-- tests/trilinos/70.cc | 3 +-- tests/trilinos/add_matrices_01.cc | 3 +-- tests/trilinos/add_matrices_02.cc | 3 +-- tests/trilinos/add_matrices_03.cc | 3 +-- tests/trilinos/add_matrices_04.cc | 3 +-- tests/trilinos/add_matrices_05.cc | 3 +-- tests/trilinos/add_matrices_06.cc | 3 +-- tests/trilinos/block_sparse_matrix_add_01.cc | 3 +-- tests/trilinos/block_sparse_matrix_set_01.cc | 3 +-- tests/trilinos/block_sparse_matrix_vector_01.cc | 3 +-- tests/trilinos/block_sparse_matrix_vector_02.cc | 3 +-- tests/trilinos/block_sparse_matrix_vector_03.cc | 3 +-- tests/trilinos/block_sparse_matrix_vector_04.cc | 3 +-- tests/trilinos/block_vector_iterator_01.cc | 3 +-- tests/trilinos/block_vector_iterator_02.cc | 3 +-- tests/trilinos/copy_to_dealvec.cc | 3 +-- tests/trilinos/copy_to_dealvec_block.cc | 3 +-- tests/trilinos/deal_solver_02.cc | 3 +-- tests/trilinos/deal_solver_06.cc | 3 +-- tests/trilinos/direct_solver.cc | 3 +-- tests/trilinos/direct_solver_2.cc | 3 +-- tests/trilinos/elide_zeros.cc | 3 +-- tests/trilinos/epetra_vector_01.cc | 3 +-- tests/trilinos/epetra_vector_02.cc | 3 +-- tests/trilinos/epetra_vector_03.cc | 3 +-- tests/trilinos/index_set_01.cc | 3 +-- tests/trilinos/parallel_sparse_matrix_01.cc | 3 +-- tests/trilinos/precondition.cc | 3 +-- tests/trilinos/precondition_amg_dgp.cc | 3 +-- tests/trilinos/precondition_amg_smoother.cc | 3 +-- tests/trilinos/precondition_muelu_dgp.cc | 3 +-- tests/trilinos/precondition_muelu_q_iso_q1.cc | 3 +-- tests/trilinos/precondition_muelu_smoother.cc | 3 +-- tests/trilinos/precondition_q_iso_q1.cc | 3 +-- tests/trilinos/readwritevector.cc | 3 +-- tests/trilinos/slowness_01.cc | 3 +-- tests/trilinos/slowness_02.cc | 3 +-- tests/trilinos/slowness_03.cc | 3 +-- tests/trilinos/slowness_04.cc | 3 +-- tests/trilinos/sparse_matrix_01.cc | 3 +-- tests/trilinos/sparse_matrix_02.cc | 3 +-- tests/trilinos/sparse_matrix_03.cc | 3 +-- tests/trilinos/sparse_matrix_04.cc | 3 +-- tests/trilinos/sparse_matrix_05.cc | 3 +-- tests/trilinos/sparse_matrix_07.cc | 3 +-- tests/trilinos/sparse_matrix_07_rectangle.cc | 3 +-- tests/trilinos/sparse_matrix_add_01.cc | 3 +-- tests/trilinos/sparse_matrix_add_02.cc | 3 +-- tests/trilinos/sparse_matrix_copy_from_01.cc | 3 +-- tests/trilinos/sparse_matrix_iterator.cc | 3 +-- tests/trilinos/sparse_matrix_iterator_01.cc | 3 +-- tests/trilinos/sparse_matrix_set_01.cc | 3 +-- tests/trilinos/sparse_matrix_set_02.cc | 3 +-- tests/trilinos/sparse_matrix_vector_01.cc | 3 +-- tests/trilinos/sparse_matrix_vector_02.cc | 3 +-- tests/trilinos/sparse_matrix_vector_03.cc | 3 +-- tests/trilinos/sparse_matrix_vector_04.cc | 3 +-- tests/trilinos/sparse_matrix_vector_05.cc | 3 +-- tests/trilinos/sparse_matrix_vector_06.cc | 3 +-- tests/trilinos/sparse_matrix_vector_07.cc | 3 +-- tests/trilinos/sparse_matrix_vector_08.cc | 3 +-- tests/trilinos/sparse_matrix_vector_09.cc | 3 +-- tests/trilinos/sparse_matrix_vector_10.cc | 3 +-- tests/trilinos/sparse_matrix_vector_11.cc | 3 +-- tests/trilinos/trilinos_64_bit_crash_01.cc | 3 +-- tests/trilinos/trilinos_sparse_matrix_iterator_01.cc | 3 +-- tests/trilinos/trilinos_sparse_matrix_iterator_02.cc | 3 +-- tests/trilinos/trilinos_sparse_matrix_iterator_03.cc | 3 +-- tests/trilinos/trilinos_sparse_matrix_iterator_04.cc | 3 +-- tests/trilinos/trilinos_sparse_matrix_iterator_05.cc | 3 +-- tests/trilinos/trilinos_sparse_matrix_iterator_06.cc | 3 +-- tests/trilinos/trilinos_sparse_matrix_iterator_07.cc | 3 +-- tests/trilinos/trilinos_sparse_matrix_iterator_08.cc | 3 +-- tests/trilinos/trilinos_sparse_matrix_iterator_09.cc | 3 +-- tests/trilinos/trilinos_sparse_matrix_iterator_10.cc | 3 +-- tests/trilinos/trilinos_sparse_matrix_iterator_11.cc | 3 +-- tests/trilinos/trilinos_sparse_matrix_iterator_12.cc | 3 +-- tests/trilinos/trilinos_sparsity_pattern_01.cc | 3 +-- tests/trilinos/trilinos_sparsity_pattern_iterators_01.cc | 3 +-- tests/trilinos/trilinos_sparsity_pattern_iterators_02.cc | 3 +-- tests/trilinos/vector_assign_01.cc | 3 +-- tests/trilinos/vector_assign_02.cc | 3 +-- tests/trilinos/vector_equality_1.cc | 3 +-- tests/trilinos/vector_equality_2.cc | 3 +-- tests/trilinos/vector_equality_3.cc | 3 +-- tests/trilinos/vector_equality_4.cc | 3 +-- tests/trilinos/vector_reinit.cc | 3 +-- tests/trilinos/vector_swap_01.cc | 3 +-- tests/umfpack/umfpack_01.cc | 3 +-- tests/umfpack/umfpack_02.cc | 3 +-- tests/umfpack/umfpack_03.cc | 3 +-- tests/umfpack/umfpack_04.cc | 3 +-- tests/umfpack/umfpack_05.cc | 3 +-- tests/umfpack/umfpack_06.cc | 3 +-- tests/umfpack/umfpack_07.cc | 3 +-- tests/umfpack/umfpack_08.cc | 3 +-- tests/umfpack/umfpack_09.cc | 3 +-- tests/umfpack/umfpack_10.cc | 3 +-- tests/umfpack/umfpack_11.cc | 3 +-- tests/vector/complex_vector_11.cc | 3 +-- tests/vector/complex_vector_12.cc | 3 +-- tests/vector/complex_vector_13.cc | 3 +-- tests/vector/complex_vector_14.cc | 3 +-- tests/vector/complex_vector_15.cc | 3 +-- tests/vector/complex_vector_16.cc | 3 +-- tests/vector/complex_vector_17.cc | 3 +-- tests/vector/complex_vector_18.cc | 3 +-- tests/vector/complex_vector_19.cc | 3 +-- tests/vector/complex_vector_20.cc | 3 +-- tests/vector/complex_vector_21.cc | 3 +-- tests/vector/complex_vector_21_negative.cc | 3 +-- tests/vector/complex_vector_22.cc | 3 +-- tests/vector/complex_vector_23.cc | 3 +-- tests/vector/complex_vector_24.cc | 3 +-- tests/vector/complex_vector_25.cc | 3 +-- tests/vector/complex_vector_26.cc | 3 +-- tests/vector/complex_vector_27.cc | 3 +-- tests/vector/complex_vector_28.cc | 3 +-- tests/vector/complex_vector_29.cc | 3 +-- tests/vector/complex_vector_30.cc | 3 +-- tests/vector/complex_vector_31.cc | 3 +-- tests/vector/complex_vector_32.cc | 3 +-- tests/vector/complex_vector_33.cc | 3 +-- tests/vector/complex_vector_34.cc | 3 +-- tests/vector/complex_vector_35.cc | 3 +-- tests/vector/complex_vector_36.cc | 3 +-- tests/vector/complex_vector_37.cc | 3 +-- tests/vector/complex_vector_38.cc | 3 +-- tests/vector/complex_vector_39.cc | 3 +-- tests/vector/complex_vector_40.cc | 3 +-- tests/vector/complex_vector_41.cc | 3 +-- tests/vector/complex_vector_42.cc | 3 +-- tests/vector/complex_vector_43.cc | 3 +-- tests/vector/complex_vector_44.cc | 3 +-- tests/vector/complex_vector_45.cc | 3 +-- tests/vector/complex_vector_46.cc | 3 +-- tests/vector/complex_vector_47.cc | 3 +-- tests/vector/complex_vector_48.cc | 3 +-- tests/vector/complex_vector_49.cc | 3 +-- tests/vector/complex_vector_equality_1.cc | 3 +-- tests/vector/complex_vector_equality_2.cc | 3 +-- tests/vector/complex_vector_equality_3.cc | 3 +-- tests/vector/complex_vector_equality_4.cc | 3 +-- tests/vector/complex_vector_equality_5.cc | 3 +-- tests/vector/complex_vector_equality_6.cc | 3 +-- tests/vector/complex_vector_equality_7.cc | 3 +-- tests/vector/complex_vector_equality_8.cc | 3 +-- tests/vector/complex_vector_vector_01.cc | 3 +-- tests/vector/vector_11.cc | 3 +-- tests/vector/vector_12.cc | 3 +-- tests/vector/vector_13.cc | 3 +-- tests/vector/vector_14.cc | 3 +-- tests/vector/vector_15.cc | 3 +-- tests/vector/vector_16.cc | 3 +-- tests/vector/vector_17.cc | 3 +-- tests/vector/vector_18.cc | 3 +-- tests/vector/vector_19.cc | 3 +-- tests/vector/vector_20.cc | 3 +-- tests/vector/vector_21.cc | 3 +-- tests/vector/vector_21_negative.cc | 3 +-- tests/vector/vector_22.cc | 3 +-- tests/vector/vector_23.cc | 3 +-- tests/vector/vector_24.cc | 3 +-- tests/vector/vector_26.cc | 3 +-- tests/vector/vector_27.cc | 3 +-- tests/vector/vector_28.cc | 3 +-- tests/vector/vector_29.cc | 3 +-- tests/vector/vector_30.cc | 3 +-- tests/vector/vector_31.cc | 3 +-- tests/vector/vector_32.cc | 3 +-- tests/vector/vector_33.cc | 3 +-- tests/vector/vector_34.cc | 3 +-- tests/vector/vector_35.cc | 3 +-- tests/vector/vector_36.cc | 3 +-- tests/vector/vector_37.cc | 3 +-- tests/vector/vector_38.cc | 3 +-- tests/vector/vector_39.cc | 3 +-- tests/vector/vector_40.cc | 3 +-- tests/vector/vector_41.cc | 3 +-- tests/vector/vector_42.cc | 3 +-- tests/vector/vector_43.cc | 3 +-- tests/vector/vector_44.cc | 3 +-- tests/vector/vector_45.cc | 3 +-- tests/vector/vector_46.cc | 3 +-- tests/vector/vector_47.cc | 3 +-- tests/vector/vector_48.cc | 3 +-- tests/vector/vector_49.cc | 3 +-- tests/vector/vector_57.cc | 3 +-- tests/vector/vector_equality_1.cc | 3 +-- tests/vector/vector_equality_2.cc | 3 +-- tests/vector/vector_equality_3.cc | 3 +-- tests/vector/vector_equality_4.cc | 3 +-- tests/vector/vector_equality_5.cc | 3 +-- tests/vector/vector_equality_6.cc | 3 +-- tests/vector/vector_equality_7.cc | 3 +-- tests/vector/vector_equality_8.cc | 3 +-- tests/vector/vector_vector_01.cc | 3 +-- 1296 files changed, 1310 insertions(+), 2592 deletions(-) diff --git a/tests/a-framework/build.cc b/tests/a-framework/build.cc index 30088fd67e..e4e8e891d2 100644 --- a/tests/a-framework/build.cc +++ b/tests/a-framework/build.cc @@ -25,8 +25,7 @@ int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); compile error; diff --git a/tests/a-framework/diff.cc b/tests/a-framework/diff.cc index 1cecfccd9a..357e30b7db 100644 --- a/tests/a-framework/diff.cc +++ b/tests/a-framework/diff.cc @@ -26,8 +26,7 @@ int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog << "FAIL!" << std::endl; } diff --git a/tests/a-framework/passed.cc b/tests/a-framework/passed.cc index 4dec8b9094..8350b27560 100644 --- a/tests/a-framework/passed.cc +++ b/tests/a-framework/passed.cc @@ -24,8 +24,7 @@ int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog << "OK" << std::endl; } diff --git a/tests/a-framework/run.cc b/tests/a-framework/run.cc index 2f5359d88f..ab497aeb49 100644 --- a/tests/a-framework/run.cc +++ b/tests/a-framework/run.cc @@ -26,8 +26,7 @@ int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); std::abort (); diff --git a/tests/algorithms/any_data_01.cc b/tests/algorithms/any_data_01.cc index 1c73bce3cb..ec1c9e283c 100644 --- a/tests/algorithms/any_data_01.cc +++ b/tests/algorithms/any_data_01.cc @@ -94,8 +94,7 @@ int main() { deal_II_exceptions::disable_abort_on_exception(); - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); AnyData data; fill(data); diff --git a/tests/aniso/mesh_3d_21.cc b/tests/aniso/mesh_3d_21.cc index 2124ac25cb..041e65177a 100644 --- a/tests/aniso/mesh_3d_21.cc +++ b/tests/aniso/mesh_3d_21.cc @@ -180,8 +180,7 @@ void check2 (Triangulation<3> &orig_tria) int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); { diff --git a/tests/arpack/arpack_advection_diffusion.cc b/tests/arpack/arpack_advection_diffusion.cc index c08966e7cb..46e56d42b8 100644 --- a/tests/arpack/arpack_advection_diffusion.cc +++ b/tests/arpack/arpack_advection_diffusion.cc @@ -318,8 +318,7 @@ int main (int argc, char **argv) { using namespace dealii; - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); diff --git a/tests/arpack/step-36_ar.cc b/tests/arpack/step-36_ar.cc index 2f0480e6e0..63c481da39 100644 --- a/tests/arpack/step-36_ar.cc +++ b/tests/arpack/step-36_ar.cc @@ -331,8 +331,7 @@ int main (int argc, char **argv) using namespace dealii; using namespace Step36; - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); diff --git a/tests/arpack/step-36_ar_shift.cc b/tests/arpack/step-36_ar_shift.cc index 5d87148ff1..8391933685 100644 --- a/tests/arpack/step-36_ar_shift.cc +++ b/tests/arpack/step-36_ar_shift.cc @@ -334,8 +334,7 @@ int main (int argc, char **argv) using namespace dealii; using namespace Step36; - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); diff --git a/tests/base/aligned_vector_01.cc b/tests/base/aligned_vector_01.cc index f058acaa03..42f46e463d 100644 --- a/tests/base/aligned_vector_01.cc +++ b/tests/base/aligned_vector_01.cc @@ -91,8 +91,7 @@ void test () int main() { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); test (); diff --git a/tests/base/aligned_vector_02.cc b/tests/base/aligned_vector_02.cc index 6f496987a8..26544c1c65 100644 --- a/tests/base/aligned_vector_02.cc +++ b/tests/base/aligned_vector_02.cc @@ -89,8 +89,7 @@ void test () int main() { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); test (); diff --git a/tests/base/aligned_vector_03.cc b/tests/base/aligned_vector_03.cc index 8c1ae0e778..a587d88f17 100644 --- a/tests/base/aligned_vector_03.cc +++ b/tests/base/aligned_vector_03.cc @@ -93,8 +93,7 @@ void test () int main() { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); test (); diff --git a/tests/base/aligned_vector_05.cc b/tests/base/aligned_vector_05.cc index ad15105a26..903db0d0b8 100644 --- a/tests/base/aligned_vector_05.cc +++ b/tests/base/aligned_vector_05.cc @@ -61,8 +61,7 @@ void test () int main() { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); test (); diff --git a/tests/base/aligned_vector_move.cc b/tests/base/aligned_vector_move.cc index b573443dfe..bc07de0fb7 100644 --- a/tests/base/aligned_vector_move.cc +++ b/tests/base/aligned_vector_move.cc @@ -59,8 +59,7 @@ void test() int main() { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); test (); diff --git a/tests/base/boost_fusion.cc b/tests/base/boost_fusion.cc index a12f187edf..4c351e1ca1 100644 --- a/tests/base/boost_fusion.cc +++ b/tests/base/boost_fusion.cc @@ -29,8 +29,7 @@ int main() { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); deallog << boost::math::erf (0.5) << std::endl; diff --git a/tests/base/boost_iostreams_01.cc b/tests/base/boost_iostreams_01.cc index bae81f1577..ac0e6c601b 100644 --- a/tests/base/boost_iostreams_01.cc +++ b/tests/base/boost_iostreams_01.cc @@ -53,8 +53,7 @@ void test () int main() { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); test (); diff --git a/tests/base/convergence_table_01.cc b/tests/base/convergence_table_01.cc index 5f6404ed69..0f61840a19 100644 --- a/tests/base/convergence_table_01.cc +++ b/tests/base/convergence_table_01.cc @@ -30,8 +30,7 @@ int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); ConvergenceTable table; diff --git a/tests/base/convergence_table_02.cc b/tests/base/convergence_table_02.cc index eb2869af31..da22b7b8dc 100644 --- a/tests/base/convergence_table_02.cc +++ b/tests/base/convergence_table_02.cc @@ -29,8 +29,7 @@ int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); ConvergenceTable table; diff --git a/tests/base/convergence_table_03.cc b/tests/base/convergence_table_03.cc index 95cde3acea..7779e3d7cc 100644 --- a/tests/base/convergence_table_03.cc +++ b/tests/base/convergence_table_03.cc @@ -30,8 +30,7 @@ int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); ConvergenceTable table; diff --git a/tests/base/convergence_table_04.cc b/tests/base/convergence_table_04.cc index 187f1ba91e..8bdc985b36 100644 --- a/tests/base/convergence_table_04.cc +++ b/tests/base/convergence_table_04.cc @@ -34,8 +34,7 @@ int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); ConvergenceTable table_1; diff --git a/tests/base/data_out_base_tecplot_bin.cc b/tests/base/data_out_base_tecplot_bin.cc index 24156a65be..83a25f1efc 100644 --- a/tests/base/data_out_base_tecplot_bin.cc +++ b/tests/base/data_out_base_tecplot_bin.cc @@ -66,8 +66,7 @@ void check_all() int main() { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); check_all<1,1>(); check_all<1,2>(); check_all<2,2>(); diff --git a/tests/base/data_out_reader_01.cc b/tests/base/data_out_reader_01.cc index 838df2411c..09c30aa069 100644 --- a/tests/base/data_out_reader_01.cc +++ b/tests/base/data_out_reader_01.cc @@ -74,8 +74,7 @@ void check() int main() { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); check<1,1>(); check<1,2>(); diff --git a/tests/base/derivative_form_trivial_copy.cc b/tests/base/derivative_form_trivial_copy.cc index 09b4e2242f..a6147f0b63 100644 --- a/tests/base/derivative_form_trivial_copy.cc +++ b/tests/base/derivative_form_trivial_copy.cc @@ -47,8 +47,7 @@ void test() int main() { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog << std::boolalpha; deallog << "testing float" diff --git a/tests/base/function_derivative.cc b/tests/base/function_derivative.cc index 7995bced6a..2b10618fb0 100644 --- a/tests/base/function_derivative.cc +++ b/tests/base/function_derivative.cc @@ -158,8 +158,7 @@ check_sine(unsigned int nquad) int main() { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); check_sine<2>(3); diff --git a/tests/base/function_parser.cc b/tests/base/function_parser.cc index 179a390bea..43e1103e60 100644 --- a/tests/base/function_parser.cc +++ b/tests/base/function_parser.cc @@ -30,8 +30,7 @@ int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); // Define some constants that will be used by the function parser diff --git a/tests/base/function_parser_02.cc b/tests/base/function_parser_02.cc index db394c7b0d..94753ac0f0 100644 --- a/tests/base/function_parser_02.cc +++ b/tests/base/function_parser_02.cc @@ -32,8 +32,7 @@ int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); diff --git a/tests/base/functions_02.cc b/tests/base/functions_02.cc index 14e1213c93..a0c1ed9e21 100644 --- a/tests/base/functions_02.cc +++ b/tests/base/functions_02.cc @@ -168,8 +168,7 @@ void check_laplacian_list(const Function &f) int main() { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); if (true) diff --git a/tests/base/functions_03.cc b/tests/base/functions_03.cc index 6fb237d829..be16f3bdbd 100644 --- a/tests/base/functions_03.cc +++ b/tests/base/functions_03.cc @@ -139,8 +139,7 @@ void check_laplacian_list (const Function &f) int main() { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); deallog << "Functions PillowFunction" << std::endl; diff --git a/tests/base/gauss_lobatto.cc b/tests/base/gauss_lobatto.cc index 85f35edd0f..0aa27db52e 100644 --- a/tests/base/gauss_lobatto.cc +++ b/tests/base/gauss_lobatto.cc @@ -27,8 +27,7 @@ int main() { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); for (unsigned int n=2; n<20; ++n) diff --git a/tests/base/generate_normal_random_number_01.cc b/tests/base/generate_normal_random_number_01.cc index c99ff8b6ec..e47001cf7f 100644 --- a/tests/base/generate_normal_random_number_01.cc +++ b/tests/base/generate_normal_random_number_01.cc @@ -54,8 +54,7 @@ std::pair test () int main() { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); // create 4 threads, run the test function on them diff --git a/tests/base/geometric_utilities_01.cc b/tests/base/geometric_utilities_01.cc index d53035e79c..5bc943b58a 100644 --- a/tests/base/geometric_utilities_01.cc +++ b/tests/base/geometric_utilities_01.cc @@ -110,8 +110,7 @@ void test3d() int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); test<2> (); diff --git a/tests/base/geometric_utilities_02.cc b/tests/base/geometric_utilities_02.cc index 3b4fe5fcb3..a33ef9b2bb 100644 --- a/tests/base/geometric_utilities_02.cc +++ b/tests/base/geometric_utilities_02.cc @@ -58,8 +58,7 @@ void test () int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); test<3> (); diff --git a/tests/base/geometry_info_1.cc b/tests/base/geometry_info_1.cc index acadd4fee7..bd2e63c073 100644 --- a/tests/base/geometry_info_1.cc +++ b/tests/base/geometry_info_1.cc @@ -89,8 +89,7 @@ void test () int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); test<1> (); diff --git a/tests/base/geometry_info_2.cc b/tests/base/geometry_info_2.cc index 9344a7de13..eae510c006 100644 --- a/tests/base/geometry_info_2.cc +++ b/tests/base/geometry_info_2.cc @@ -111,8 +111,7 @@ void test () int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); deallog.push("1d"); diff --git a/tests/base/geometry_info_3.cc b/tests/base/geometry_info_3.cc index b8639ace34..3807b9f815 100644 --- a/tests/base/geometry_info_3.cc +++ b/tests/base/geometry_info_3.cc @@ -52,8 +52,7 @@ void test () int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); test<1> (); diff --git a/tests/base/geometry_info_4.cc b/tests/base/geometry_info_4.cc index 30103bb5f8..872ca3bd9a 100644 --- a/tests/base/geometry_info_4.cc +++ b/tests/base/geometry_info_4.cc @@ -72,8 +72,7 @@ void test () int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); test<1> (); diff --git a/tests/base/geometry_info_5.cc b/tests/base/geometry_info_5.cc index 582912b3a6..574cb3a890 100644 --- a/tests/base/geometry_info_5.cc +++ b/tests/base/geometry_info_5.cc @@ -73,8 +73,7 @@ void test () int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); test<1> (); diff --git a/tests/base/geometry_info_6.cc b/tests/base/geometry_info_6.cc index 78fd16f01c..a5c7bbec36 100644 --- a/tests/base/geometry_info_6.cc +++ b/tests/base/geometry_info_6.cc @@ -136,8 +136,7 @@ void test () int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); test<1> (); diff --git a/tests/base/geometry_info_7.cc b/tests/base/geometry_info_7.cc index 668d232c14..e21e2f1192 100644 --- a/tests/base/geometry_info_7.cc +++ b/tests/base/geometry_info_7.cc @@ -191,8 +191,7 @@ void test () int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); test<2> (); diff --git a/tests/base/geometry_info_8.cc b/tests/base/geometry_info_8.cc index d13553d84e..8d9573bb1d 100644 --- a/tests/base/geometry_info_8.cc +++ b/tests/base/geometry_info_8.cc @@ -93,8 +93,7 @@ void test_lines() int main() { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); deallog << std::endl << "GeometryInfo::face_to_cell_vertices:" << std::endl; diff --git a/tests/base/graph_coloring_04.cc b/tests/base/graph_coloring_04.cc index 6b4d4dc067..bbfd3b56fd 100644 --- a/tests/base/graph_coloring_04.cc +++ b/tests/base/graph_coloring_04.cc @@ -97,8 +97,7 @@ void check () int main (int argc, char *argv[]) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); check<2> (); diff --git a/tests/base/index_set_01.cc b/tests/base/index_set_01.cc index 9c3fd39362..3c74e60dc8 100644 --- a/tests/base/index_set_01.cc +++ b/tests/base/index_set_01.cc @@ -45,8 +45,7 @@ void test () int main() { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); test (); diff --git a/tests/base/index_set_02.cc b/tests/base/index_set_02.cc index e24c0d0884..8c64ed8f7a 100644 --- a/tests/base/index_set_02.cc +++ b/tests/base/index_set_02.cc @@ -54,8 +54,7 @@ void test () int main() { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); test (); diff --git a/tests/base/index_set_03.cc b/tests/base/index_set_03.cc index 84c4388ece..ad5e6602de 100644 --- a/tests/base/index_set_03.cc +++ b/tests/base/index_set_03.cc @@ -49,8 +49,7 @@ void test () int main() { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); test (); diff --git a/tests/base/index_set_04.cc b/tests/base/index_set_04.cc index 755df3e814..b0fa131a7a 100644 --- a/tests/base/index_set_04.cc +++ b/tests/base/index_set_04.cc @@ -53,8 +53,7 @@ void test () int main() { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); test (); diff --git a/tests/base/index_set_05.cc b/tests/base/index_set_05.cc index d851d2bc30..632009543e 100644 --- a/tests/base/index_set_05.cc +++ b/tests/base/index_set_05.cc @@ -51,8 +51,7 @@ void test () int main() { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); test (); diff --git a/tests/base/index_set_06.cc b/tests/base/index_set_06.cc index 7e44e576c9..8495f09376 100644 --- a/tests/base/index_set_06.cc +++ b/tests/base/index_set_06.cc @@ -51,8 +51,7 @@ void test () int main() { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); test (); diff --git a/tests/base/index_set_07.cc b/tests/base/index_set_07.cc index 7bb56d6261..c2443d5194 100644 --- a/tests/base/index_set_07.cc +++ b/tests/base/index_set_07.cc @@ -54,8 +54,7 @@ void test () int main() { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); test (); diff --git a/tests/base/index_set_08.cc b/tests/base/index_set_08.cc index 4f262f70f1..5453ffc75c 100644 --- a/tests/base/index_set_08.cc +++ b/tests/base/index_set_08.cc @@ -56,8 +56,7 @@ void test () int main() { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); test (); diff --git a/tests/base/index_set_09.cc b/tests/base/index_set_09.cc index 56467dc6c5..1879528085 100644 --- a/tests/base/index_set_09.cc +++ b/tests/base/index_set_09.cc @@ -46,8 +46,7 @@ void test () int main() { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); test (); diff --git a/tests/base/index_set_10.cc b/tests/base/index_set_10.cc index 65732af5a2..d6e01f8e50 100644 --- a/tests/base/index_set_10.cc +++ b/tests/base/index_set_10.cc @@ -60,8 +60,7 @@ void test () int main() { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); test (); diff --git a/tests/base/index_set_11.cc b/tests/base/index_set_11.cc index 7fd0b16153..cc214f0234 100644 --- a/tests/base/index_set_11.cc +++ b/tests/base/index_set_11.cc @@ -65,8 +65,7 @@ void test () int main() { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); test (); diff --git a/tests/base/index_set_12.cc b/tests/base/index_set_12.cc index 1fc8ab10d8..61f4212669 100644 --- a/tests/base/index_set_12.cc +++ b/tests/base/index_set_12.cc @@ -60,8 +60,7 @@ void test () int main() { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); test (); diff --git a/tests/base/index_set_13.cc b/tests/base/index_set_13.cc index 62f0618298..daba868d3b 100644 --- a/tests/base/index_set_13.cc +++ b/tests/base/index_set_13.cc @@ -66,8 +66,7 @@ void test () int main() { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); test (); diff --git a/tests/base/index_set_14.cc b/tests/base/index_set_14.cc index f5cddbf924..692837db46 100644 --- a/tests/base/index_set_14.cc +++ b/tests/base/index_set_14.cc @@ -73,8 +73,7 @@ void test () int main() { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); test (); diff --git a/tests/base/index_set_15.cc b/tests/base/index_set_15.cc index 4b2aa0893e..e73f121d81 100644 --- a/tests/base/index_set_15.cc +++ b/tests/base/index_set_15.cc @@ -79,8 +79,7 @@ void test () int main() { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); test (); diff --git a/tests/base/index_set_16.cc b/tests/base/index_set_16.cc index bd0affe49c..a1187ffc52 100644 --- a/tests/base/index_set_16.cc +++ b/tests/base/index_set_16.cc @@ -63,8 +63,7 @@ void test () int main() { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); test (); diff --git a/tests/base/index_set_17.cc b/tests/base/index_set_17.cc index 65f9170ec3..e8997612a7 100644 --- a/tests/base/index_set_17.cc +++ b/tests/base/index_set_17.cc @@ -53,8 +53,7 @@ void test () int main() { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); test (); diff --git a/tests/base/index_set_18.cc b/tests/base/index_set_18.cc index 1a1e227690..232f881018 100644 --- a/tests/base/index_set_18.cc +++ b/tests/base/index_set_18.cc @@ -53,8 +53,7 @@ void test () int main() { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); test (); diff --git a/tests/base/index_set_19.cc b/tests/base/index_set_19.cc index 7e57df6107..fe290717b8 100644 --- a/tests/base/index_set_19.cc +++ b/tests/base/index_set_19.cc @@ -58,8 +58,7 @@ void test () int main() { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); test (); diff --git a/tests/base/index_set_20.cc b/tests/base/index_set_20.cc index 33e9c3d492..37857cb051 100644 --- a/tests/base/index_set_20.cc +++ b/tests/base/index_set_20.cc @@ -99,8 +99,7 @@ void test() int main() { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); test (); diff --git a/tests/base/index_set_20_offset.cc b/tests/base/index_set_20_offset.cc index d78be9d6fe..567af2344a 100644 --- a/tests/base/index_set_20_offset.cc +++ b/tests/base/index_set_20_offset.cc @@ -88,8 +88,7 @@ void test() int main() { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); test (); diff --git a/tests/base/index_set_21.cc b/tests/base/index_set_21.cc index 0bd848893a..b935d210f8 100644 --- a/tests/base/index_set_21.cc +++ b/tests/base/index_set_21.cc @@ -56,8 +56,7 @@ void test () int main() { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); test (); diff --git a/tests/base/index_set_22.cc b/tests/base/index_set_22.cc index ef3eae20ee..b344324c4d 100644 --- a/tests/base/index_set_22.cc +++ b/tests/base/index_set_22.cc @@ -54,8 +54,7 @@ void test () int main() { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); test (); diff --git a/tests/base/index_set_23.cc b/tests/base/index_set_23.cc index 4dee18406e..af347e6c37 100644 --- a/tests/base/index_set_23.cc +++ b/tests/base/index_set_23.cc @@ -45,8 +45,7 @@ void test () int main() { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); test (); diff --git a/tests/base/index_set_24.cc b/tests/base/index_set_24.cc index 2ccac70de4..e1ba2164c3 100644 --- a/tests/base/index_set_24.cc +++ b/tests/base/index_set_24.cc @@ -23,8 +23,7 @@ int main() { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); IndexSet is1(100); is1.add_range(0, 10); diff --git a/tests/base/index_set_25.cc b/tests/base/index_set_25.cc index 11cbca8f14..2f04f4ab9f 100644 --- a/tests/base/index_set_25.cc +++ b/tests/base/index_set_25.cc @@ -23,8 +23,7 @@ int main() { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); IndexSet is1(10); is1.add_range(0, 2); diff --git a/tests/base/index_set_26.cc b/tests/base/index_set_26.cc index bd47f535d4..2ecbde6660 100644 --- a/tests/base/index_set_26.cc +++ b/tests/base/index_set_26.cc @@ -23,8 +23,7 @@ int main() { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); IndexSet is1(10); is1.add_range(0, 2); diff --git a/tests/base/index_set_27.cc b/tests/base/index_set_27.cc index 5733cf123c..80583c64f2 100644 --- a/tests/base/index_set_27.cc +++ b/tests/base/index_set_27.cc @@ -23,8 +23,7 @@ int main() { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); const unsigned int size = 100; diff --git a/tests/base/index_set_28.cc b/tests/base/index_set_28.cc index 190e8c9fea..e9665ecf60 100644 --- a/tests/base/index_set_28.cc +++ b/tests/base/index_set_28.cc @@ -71,8 +71,7 @@ void test () int main() { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); test (); diff --git a/tests/base/index_set_29.cc b/tests/base/index_set_29.cc index b5a293fa11..405249e2a3 100644 --- a/tests/base/index_set_29.cc +++ b/tests/base/index_set_29.cc @@ -71,8 +71,7 @@ void test () int main() { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); test (); diff --git a/tests/base/index_set_30.cc b/tests/base/index_set_30.cc index ebe9748c20..089297a2f4 100644 --- a/tests/base/index_set_30.cc +++ b/tests/base/index_set_30.cc @@ -43,8 +43,7 @@ void test () int main() { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); test (); diff --git a/tests/base/index_set_iterate_01.cc b/tests/base/index_set_iterate_01.cc index 52050f5c20..20bb695df9 100644 --- a/tests/base/index_set_iterate_01.cc +++ b/tests/base/index_set_iterate_01.cc @@ -157,8 +157,7 @@ void test() int main() { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); test (); diff --git a/tests/base/index_set_iterate_02.cc b/tests/base/index_set_iterate_02.cc index a50ce64335..513a56a024 100644 --- a/tests/base/index_set_iterate_02.cc +++ b/tests/base/index_set_iterate_02.cc @@ -65,8 +65,7 @@ void test() int main() { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); test (); diff --git a/tests/base/index_set_readwrite_01.cc b/tests/base/index_set_readwrite_01.cc index 9734a87335..34b041e4e9 100644 --- a/tests/base/index_set_readwrite_01.cc +++ b/tests/base/index_set_readwrite_01.cc @@ -60,8 +60,7 @@ void test () int main() { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); test (); diff --git a/tests/base/index_set_readwrite_02.cc b/tests/base/index_set_readwrite_02.cc index adf99f44d6..cc392bc63a 100644 --- a/tests/base/index_set_readwrite_02.cc +++ b/tests/base/index_set_readwrite_02.cc @@ -63,8 +63,7 @@ void test () int main() { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); test (); diff --git a/tests/base/index_set_readwrite_03.cc b/tests/base/index_set_readwrite_03.cc index cfc378b7f8..f04d43b659 100644 --- a/tests/base/index_set_readwrite_03.cc +++ b/tests/base/index_set_readwrite_03.cc @@ -57,8 +57,7 @@ void test () int main() { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); test (); diff --git a/tests/base/log_crash_01.cc b/tests/base/log_crash_01.cc index d600af78f6..141da82332 100644 --- a/tests/base/log_crash_01.cc +++ b/tests/base/log_crash_01.cc @@ -31,8 +31,7 @@ int main() try { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog << "OK" << std::endl; deallog << "no newline here!"; } diff --git a/tests/base/logtest.cc b/tests/base/logtest.cc index 599e9893b7..2a5771f698 100644 --- a/tests/base/logtest.cc +++ b/tests/base/logtest.cc @@ -28,8 +28,7 @@ int main() { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); deallog << "Test" << std::endl; diff --git a/tests/base/memory_consumption_01.cc b/tests/base/memory_consumption_01.cc index ef4b48a2e3..ef49eb2c3e 100644 --- a/tests/base/memory_consumption_01.cc +++ b/tests/base/memory_consumption_01.cc @@ -396,8 +396,7 @@ int main() { deal_II_exceptions::disable_abort_on_exception(); - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); Step6<1>().run(); diff --git a/tests/base/memory_consumption_02.cc b/tests/base/memory_consumption_02.cc index be0ae3e6f1..b85187110d 100644 --- a/tests/base/memory_consumption_02.cc +++ b/tests/base/memory_consumption_02.cc @@ -1,5 +1,6 @@ // Test the sizes of fundamental types, their pointers, and vectors comprised // of either. +#include "../tests.h" #include #include #include @@ -52,8 +53,7 @@ struct EqualityWithSizeofTest int main() { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); // do not test value type (just pointers) with void EqualityWithSizeofTest a; diff --git a/tests/base/memory_consumption_03.cc b/tests/base/memory_consumption_03.cc index eb8a5a3a7a..e37e494ac3 100644 --- a/tests/base/memory_consumption_03.cc +++ b/tests/base/memory_consumption_03.cc @@ -26,8 +26,7 @@ int main() { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); typedef std::array, 3> IntArray; deallog << dealii::MemoryConsumption::memory_consumption(IntArray()) << std::endl; diff --git a/tests/base/mpi_exceptions.cc b/tests/base/mpi_exceptions.cc index 61c1895ff0..deb44afdec 100644 --- a/tests/base/mpi_exceptions.cc +++ b/tests/base/mpi_exceptions.cc @@ -29,8 +29,7 @@ int main (int argc, char **argv) { Utilities::MPI::MPI_InitFinalize mpi_initialization(argc, argv, 1); - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); std::vector mpi_error_codes; diff --git a/tests/base/mutex_01.cc b/tests/base/mutex_01.cc index f2c5eb80ae..ae3ed63836 100644 --- a/tests/base/mutex_01.cc +++ b/tests/base/mutex_01.cc @@ -39,8 +39,7 @@ void test () int main() { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); #ifdef DEAL_II_WITH_THREADS diff --git a/tests/base/parallel_accumulate.cc b/tests/base/parallel_accumulate.cc index bc97f6bcae..e11d2da8fd 100644 --- a/tests/base/parallel_accumulate.cc +++ b/tests/base/parallel_accumulate.cc @@ -35,8 +35,7 @@ int sum (const int begin, int main() { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); const int N = 10000; diff --git a/tests/base/parallel_transform_01.cc b/tests/base/parallel_transform_01.cc index cd1e129332..33a2802567 100644 --- a/tests/base/parallel_transform_01.cc +++ b/tests/base/parallel_transform_01.cc @@ -28,8 +28,7 @@ int main() { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); const unsigned int N=10000; diff --git a/tests/base/parallel_transform_02.cc b/tests/base/parallel_transform_02.cc index c3c06f68ba..52a66c412a 100644 --- a/tests/base/parallel_transform_02.cc +++ b/tests/base/parallel_transform_02.cc @@ -28,8 +28,7 @@ int main() { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); const unsigned int N=10000; diff --git a/tests/base/parallel_transform_03.cc b/tests/base/parallel_transform_03.cc index 105012135d..e245be3197 100644 --- a/tests/base/parallel_transform_03.cc +++ b/tests/base/parallel_transform_03.cc @@ -28,8 +28,7 @@ int main() { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); const unsigned int N=10000; diff --git a/tests/base/patterns_01.cc b/tests/base/patterns_01.cc index c1575847bb..d19d686625 100644 --- a/tests/base/patterns_01.cc +++ b/tests/base/patterns_01.cc @@ -21,8 +21,7 @@ int main() { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); // create a pattern and let it diff --git a/tests/base/product_type_01.cc b/tests/base/product_type_01.cc index 8eb24794d0..31cde4835f 100644 --- a/tests/base/product_type_01.cc +++ b/tests/base/product_type_01.cc @@ -40,8 +40,7 @@ void check() int main() { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); // check product of scalars diff --git a/tests/base/product_type_01_symmetric.cc b/tests/base/product_type_01_symmetric.cc index 87832b9c38..527a26e7e7 100644 --- a/tests/base/product_type_01_symmetric.cc +++ b/tests/base/product_type_01_symmetric.cc @@ -40,8 +40,7 @@ void check() int main() { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); // check product with SymmetricTensor<2,dim> diff --git a/tests/base/product_type_02.cc b/tests/base/product_type_02.cc index 0cefce7b6f..efda624a2c 100644 --- a/tests/base/product_type_02.cc +++ b/tests/base/product_type_02.cc @@ -41,8 +41,7 @@ void check() int main() { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); // check product of scalars diff --git a/tests/base/product_type_03.cc b/tests/base/product_type_03.cc index 3e7918744a..3d6cb01f25 100644 --- a/tests/base/product_type_03.cc +++ b/tests/base/product_type_03.cc @@ -41,8 +41,7 @@ void check() int main() { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); // check product of scalars diff --git a/tests/base/product_type_03_symmetric.cc b/tests/base/product_type_03_symmetric.cc index d3938a1741..41bf7675d5 100644 --- a/tests/base/product_type_03_symmetric.cc +++ b/tests/base/product_type_03_symmetric.cc @@ -40,8 +40,7 @@ void check() int main() { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); // check product of scalars diff --git a/tests/base/product_type_04.cc b/tests/base/product_type_04.cc index 2489b6a4dc..9ffe4a9c05 100644 --- a/tests/base/product_type_04.cc +++ b/tests/base/product_type_04.cc @@ -32,8 +32,7 @@ int main() { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); // try it for a rank-1 tensor diff --git a/tests/base/product_type_04_symmetric.cc b/tests/base/product_type_04_symmetric.cc index 5e4edd3bd8..1643096a4a 100644 --- a/tests/base/product_type_04_symmetric.cc +++ b/tests/base/product_type_04_symmetric.cc @@ -32,8 +32,7 @@ int main() { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); { diff --git a/tests/base/product_type_05.cc b/tests/base/product_type_05.cc index e4263e6294..e8fbc0059b 100644 --- a/tests/base/product_type_05.cc +++ b/tests/base/product_type_05.cc @@ -42,8 +42,7 @@ void check() int main() { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); check(); diff --git a/tests/base/qprojector.cc b/tests/base/qprojector.cc index 0554ec0a83..035e1b3894 100644 --- a/tests/base/qprojector.cc +++ b/tests/base/qprojector.cc @@ -176,8 +176,7 @@ void check(Quadrature<1> &q) int main() { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog << std::setprecision(2); deallog.threshold_double(1.e-10); diff --git a/tests/base/quadrature_chebyshev.cc b/tests/base/quadrature_chebyshev.cc index 24878cb185..8beef1adbf 100644 --- a/tests/base/quadrature_chebyshev.cc +++ b/tests/base/quadrature_chebyshev.cc @@ -75,8 +75,7 @@ int main() exact_monomials[31] = 0.3170611116013786; - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); deallog << std::setprecision(8); diff --git a/tests/base/quadrature_selector.cc b/tests/base/quadrature_selector.cc index 088a1cbcee..c34148e5a7 100644 --- a/tests/base/quadrature_selector.cc +++ b/tests/base/quadrature_selector.cc @@ -43,8 +43,7 @@ void check (const std::string &name, int main() { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); check ("gauss", 2, QGauss<1>(2)); diff --git a/tests/base/quadrature_sorted_test.cc b/tests/base/quadrature_sorted_test.cc index da6b0b9c22..aa6f20662f 100644 --- a/tests/base/quadrature_sorted_test.cc +++ b/tests/base/quadrature_sorted_test.cc @@ -204,8 +204,7 @@ check_quadratures (const std::vector*> &quadratures) int main() { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); std::vector *> q1; diff --git a/tests/base/quadrature_test.cc b/tests/base/quadrature_test.cc index 8f9b93f0a9..a62e7d6872 100644 --- a/tests/base/quadrature_test.cc +++ b/tests/base/quadrature_test.cc @@ -193,8 +193,7 @@ check_faces (const std::vector*>& quadratures, const bool sub) int main() { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); std::vector *> q1; diff --git a/tests/base/reference.cc b/tests/base/reference.cc index 44ab015106..5abacd499d 100644 --- a/tests/base/reference.cc +++ b/tests/base/reference.cc @@ -61,8 +61,7 @@ int main() { deal_II_exceptions::disable_abort_on_exception(); - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/base/replace_in_string_01.cc b/tests/base/replace_in_string_01.cc index e0c424d31c..8dd256ce53 100644 --- a/tests/base/replace_in_string_01.cc +++ b/tests/base/replace_in_string_01.cc @@ -57,8 +57,7 @@ void test () int main() { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); test (); diff --git a/tests/base/sacado_product_type_01.cc b/tests/base/sacado_product_type_01.cc index 9de912f5c4..7b29e7b905 100644 --- a/tests/base/sacado_product_type_01.cc +++ b/tests/base/sacado_product_type_01.cc @@ -38,8 +38,7 @@ void check() int main() { typedef Sacado::Fad::DFad Sdouble; - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); diff --git a/tests/base/sacado_product_type_02.cc b/tests/base/sacado_product_type_02.cc index d1a46ab932..d4690d95a8 100644 --- a/tests/base/sacado_product_type_02.cc +++ b/tests/base/sacado_product_type_02.cc @@ -39,8 +39,7 @@ int main() { typedef Sacado::Fad::DFad Sdouble; typedef Sacado::Fad::DFad SSdouble; - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); diff --git a/tests/base/sacado_product_type_03.cc b/tests/base/sacado_product_type_03.cc index 78c62d9331..b9f1e5a5af 100644 --- a/tests/base/sacado_product_type_03.cc +++ b/tests/base/sacado_product_type_03.cc @@ -39,8 +39,7 @@ int main() { typedef Sacado::Fad::DFad Sdouble; typedef Sacado::Fad::DFad SSdouble; - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); diff --git a/tests/base/sacado_product_type_04.cc b/tests/base/sacado_product_type_04.cc index 09a6adf0b7..bd80e49f6a 100644 --- a/tests/base/sacado_product_type_04.cc +++ b/tests/base/sacado_product_type_04.cc @@ -39,8 +39,7 @@ int main() { typedef Sacado::Fad::DFad Sdouble; typedef Sacado::Fad::DFad SSdouble; - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); diff --git a/tests/base/sacado_product_type_05.cc b/tests/base/sacado_product_type_05.cc index b46e843b4e..bc05850389 100644 --- a/tests/base/sacado_product_type_05.cc +++ b/tests/base/sacado_product_type_05.cc @@ -39,8 +39,7 @@ int main() { typedef Sacado::Fad::DFad Sdouble; typedef Sacado::Fad::DFad SSdouble; - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); diff --git a/tests/base/sacado_product_type_06.cc b/tests/base/sacado_product_type_06.cc index 25ccb8b139..5a73458b8d 100644 --- a/tests/base/sacado_product_type_06.cc +++ b/tests/base/sacado_product_type_06.cc @@ -28,8 +28,7 @@ int main() { typedef Sacado::Fad::DFad Sdouble; - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); diff --git a/tests/base/sacado_product_type_07.cc b/tests/base/sacado_product_type_07.cc index c860cd3403..50ba89ef09 100644 --- a/tests/base/sacado_product_type_07.cc +++ b/tests/base/sacado_product_type_07.cc @@ -29,8 +29,7 @@ int main() { typedef Sacado::Fad::DFad Sdouble; typedef Sacado::Fad::DFad SSdouble; - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); diff --git a/tests/base/sacado_product_type_08.cc b/tests/base/sacado_product_type_08.cc index 32d2bb6bc3..5813fe2055 100644 --- a/tests/base/sacado_product_type_08.cc +++ b/tests/base/sacado_product_type_08.cc @@ -28,8 +28,7 @@ int main() { typedef Sacado::Fad::DFad Sdouble; - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); diff --git a/tests/base/sacado_product_type_09.cc b/tests/base/sacado_product_type_09.cc index b509ff6ffc..6b2b07c52b 100644 --- a/tests/base/sacado_product_type_09.cc +++ b/tests/base/sacado_product_type_09.cc @@ -29,8 +29,7 @@ int main() { typedef Sacado::Fad::DFad Sdouble; typedef Sacado::Fad::DFad SSdouble; - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); diff --git a/tests/base/slice_vector.cc b/tests/base/slice_vector.cc index d10ff7d70b..c94591ae01 100644 --- a/tests/base/slice_vector.cc +++ b/tests/base/slice_vector.cc @@ -36,8 +36,7 @@ int main() { deal_II_exceptions::disable_abort_on_exception(); - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); std::vector v(7); diff --git a/tests/base/stdcxx1x_vs_stdcxx11.cc b/tests/base/stdcxx1x_vs_stdcxx11.cc index 7460169bd7..ca910efb79 100644 --- a/tests/base/stdcxx1x_vs_stdcxx11.cc +++ b/tests/base/stdcxx1x_vs_stdcxx11.cc @@ -32,8 +32,7 @@ int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); std_cxx1x::shared_ptr p; diff --git a/tests/base/symmetric_tensor_trivial_copy.cc b/tests/base/symmetric_tensor_trivial_copy.cc index 1f0027202a..ae45a48405 100644 --- a/tests/base/symmetric_tensor_trivial_copy.cc +++ b/tests/base/symmetric_tensor_trivial_copy.cc @@ -54,8 +54,7 @@ void test() int main() { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog << std::boolalpha; deallog << "testing float" diff --git a/tests/base/table_handler_01.cc b/tests/base/table_handler_01.cc index 82c90339de..86339afc60 100644 --- a/tests/base/table_handler_01.cc +++ b/tests/base/table_handler_01.cc @@ -29,8 +29,7 @@ int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); TableHandler table; diff --git a/tests/base/table_handler_02.cc b/tests/base/table_handler_02.cc index f1f157bb05..30fa4f2e2e 100644 --- a/tests/base/table_handler_02.cc +++ b/tests/base/table_handler_02.cc @@ -30,8 +30,7 @@ int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); TableHandler table; diff --git a/tests/base/table_handler_03.cc b/tests/base/table_handler_03.cc index eebd3e9228..644d979615 100644 --- a/tests/base/table_handler_03.cc +++ b/tests/base/table_handler_03.cc @@ -31,8 +31,7 @@ int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); TableHandler table; diff --git a/tests/base/table_handler_04.cc b/tests/base/table_handler_04.cc index 36528bd21b..4e7ad72670 100644 --- a/tests/base/table_handler_04.cc +++ b/tests/base/table_handler_04.cc @@ -30,8 +30,7 @@ int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); TableHandler table; diff --git a/tests/base/table_handler_05.cc b/tests/base/table_handler_05.cc index 6841923fae..9de233f1b0 100644 --- a/tests/base/table_handler_05.cc +++ b/tests/base/table_handler_05.cc @@ -31,8 +31,7 @@ int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); TableHandler table; diff --git a/tests/base/table_handler_06.cc b/tests/base/table_handler_06.cc index d5e81a4243..d729c750a6 100644 --- a/tests/base/table_handler_06.cc +++ b/tests/base/table_handler_06.cc @@ -30,8 +30,7 @@ int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); TableHandler table; diff --git a/tests/base/table_handler_07.cc b/tests/base/table_handler_07.cc index bd9a94775f..7739f83396 100644 --- a/tests/base/table_handler_07.cc +++ b/tests/base/table_handler_07.cc @@ -30,8 +30,7 @@ int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); /* Like in _06 */ diff --git a/tests/base/table_handler_08.cc b/tests/base/table_handler_08.cc index e58b1d3fbf..2f43d10301 100644 --- a/tests/base/table_handler_08.cc +++ b/tests/base/table_handler_08.cc @@ -31,8 +31,7 @@ int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); /* Like in _06 */ diff --git a/tests/base/table_handler_09.cc b/tests/base/table_handler_09.cc index c684317774..5937ed8374 100644 --- a/tests/base/table_handler_09.cc +++ b/tests/base/table_handler_09.cc @@ -30,8 +30,7 @@ int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); TableHandler table; diff --git a/tests/base/table_handler_10.cc b/tests/base/table_handler_10.cc index c4d1432270..74305b821c 100644 --- a/tests/base/table_handler_10.cc +++ b/tests/base/table_handler_10.cc @@ -30,8 +30,7 @@ int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); TableHandler table; diff --git a/tests/base/table_handler_11.cc b/tests/base/table_handler_11.cc index 9e147bbb0b..3c7c045520 100644 --- a/tests/base/table_handler_11.cc +++ b/tests/base/table_handler_11.cc @@ -30,8 +30,7 @@ int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); TableHandler table; diff --git a/tests/base/table_handler_13.cc b/tests/base/table_handler_13.cc index c0617e8a82..8d6c226bad 100644 --- a/tests/base/table_handler_13.cc +++ b/tests/base/table_handler_13.cc @@ -30,8 +30,7 @@ int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); TableHandler table; diff --git a/tests/base/table_handler_14.cc b/tests/base/table_handler_14.cc index 9b8380944f..1f71fedd4b 100644 --- a/tests/base/table_handler_14.cc +++ b/tests/base/table_handler_14.cc @@ -30,8 +30,7 @@ int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); TableHandler table; diff --git a/tests/base/table_move.cc b/tests/base/table_move.cc index 13fec59609..7c866f7d80 100644 --- a/tests/base/table_move.cc +++ b/tests/base/table_move.cc @@ -22,8 +22,7 @@ int main() { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.0e-10); const unsigned int entries[] = {1, 2, 3, 4, 5, 6}; diff --git a/tests/base/task_01.cc b/tests/base/task_01.cc index d60e929ff0..8ebfdda694 100644 --- a/tests/base/task_01.cc +++ b/tests/base/task_01.cc @@ -35,8 +35,7 @@ void test () int main() { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); Threads::Task<> t = Threads::new_task (test); diff --git a/tests/base/task_02.cc b/tests/base/task_02.cc index f9eac008c1..f61bff50b1 100644 --- a/tests/base/task_02.cc +++ b/tests/base/task_02.cc @@ -35,8 +35,7 @@ int test () int main() { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); Threads::Task t = Threads::new_task (test); diff --git a/tests/base/task_05.cc b/tests/base/task_05.cc index 10bd66f550..5f49661b66 100644 --- a/tests/base/task_05.cc +++ b/tests/base/task_05.cc @@ -44,8 +44,7 @@ int test (int i) int main() { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); Threads::Task tasks[] = diff --git a/tests/base/task_09.cc b/tests/base/task_09.cc index d764518c94..45f5604cd8 100644 --- a/tests/base/task_09.cc +++ b/tests/base/task_09.cc @@ -61,8 +61,7 @@ void outer () int main() { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); for (unsigned int i=0; i t; diff --git a/tests/base/task_11.cc b/tests/base/task_11.cc index ebd4d4072a..5bd5c62f8b 100644 --- a/tests/base/task_11.cc +++ b/tests/base/task_11.cc @@ -69,8 +69,7 @@ void test() int main() { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); const unsigned int n = testing_max_num_threads(); diff --git a/tests/base/tensor_trivial_copy.cc b/tests/base/tensor_trivial_copy.cc index 0cc106d873..6cdc86d36b 100644 --- a/tests/base/tensor_trivial_copy.cc +++ b/tests/base/tensor_trivial_copy.cc @@ -71,8 +71,7 @@ void test() int main() { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog << std::boolalpha; deallog << "testing float" diff --git a/tests/base/thread_local_storage_01.cc b/tests/base/thread_local_storage_01.cc index 017af3acc3..8fdccba76d 100644 --- a/tests/base/thread_local_storage_01.cc +++ b/tests/base/thread_local_storage_01.cc @@ -103,8 +103,7 @@ void test () int main() { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); test (); diff --git a/tests/base/thread_local_storage_02.cc b/tests/base/thread_local_storage_02.cc index d57e520426..c5ddec11b7 100644 --- a/tests/base/thread_local_storage_02.cc +++ b/tests/base/thread_local_storage_02.cc @@ -119,8 +119,7 @@ void test () int main() { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); test (); diff --git a/tests/base/thread_local_storage_03.cc b/tests/base/thread_local_storage_03.cc index 6dc603df54..c3d247d2b7 100644 --- a/tests/base/thread_local_storage_03.cc +++ b/tests/base/thread_local_storage_03.cc @@ -59,8 +59,7 @@ void test () int main() { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); test (); diff --git a/tests/base/thread_local_storage_04.cc b/tests/base/thread_local_storage_04.cc index 39b9703f17..0a04256ba7 100644 --- a/tests/base/thread_local_storage_04.cc +++ b/tests/base/thread_local_storage_04.cc @@ -71,8 +71,7 @@ void test () int main() { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); test (); diff --git a/tests/base/thread_local_storage_05.cc b/tests/base/thread_local_storage_05.cc index 185baa6227..25886ab52e 100644 --- a/tests/base/thread_local_storage_05.cc +++ b/tests/base/thread_local_storage_05.cc @@ -99,8 +99,7 @@ void test () int main() { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); test (); diff --git a/tests/base/thread_local_storage_06.cc b/tests/base/thread_local_storage_06.cc index 7eed3a6b3a..48e234fe61 100644 --- a/tests/base/thread_local_storage_06.cc +++ b/tests/base/thread_local_storage_06.cc @@ -110,8 +110,7 @@ void test () int main() { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); test (); diff --git a/tests/base/thread_validity_01.cc b/tests/base/thread_validity_01.cc index 6d3c93f690..762947f26f 100644 --- a/tests/base/thread_validity_01.cc +++ b/tests/base/thread_validity_01.cc @@ -52,8 +52,7 @@ void test () int main() { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); test (); diff --git a/tests/base/thread_validity_02.cc b/tests/base/thread_validity_02.cc index 7cd010e40e..12bd5ff864 100644 --- a/tests/base/thread_validity_02.cc +++ b/tests/base/thread_validity_02.cc @@ -56,8 +56,7 @@ void test () int main() { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); test (); diff --git a/tests/base/thread_validity_03.cc b/tests/base/thread_validity_03.cc index b69f8690f1..898af36257 100644 --- a/tests/base/thread_validity_03.cc +++ b/tests/base/thread_validity_03.cc @@ -57,8 +57,7 @@ void test () int main() { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); test (); diff --git a/tests/base/thread_validity_04.cc b/tests/base/thread_validity_04.cc index 9d8f6ea7a5..a2d5cee05b 100644 --- a/tests/base/thread_validity_04.cc +++ b/tests/base/thread_validity_04.cc @@ -58,8 +58,7 @@ void test () int main() { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); test (); diff --git a/tests/base/thread_validity_05.cc b/tests/base/thread_validity_05.cc index f114de806b..6dbf5d5983 100644 --- a/tests/base/thread_validity_05.cc +++ b/tests/base/thread_validity_05.cc @@ -90,8 +90,7 @@ void test2 () int main() { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); test1 (); diff --git a/tests/base/thread_validity_08.cc b/tests/base/thread_validity_08.cc index 8cdbfcd2bf..478665b9a9 100644 --- a/tests/base/thread_validity_08.cc +++ b/tests/base/thread_validity_08.cc @@ -44,8 +44,7 @@ void worker () int main() { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); mutex.acquire (); diff --git a/tests/base/thread_validity_09.cc b/tests/base/thread_validity_09.cc index e21fa0c049..4892a8cdcb 100644 --- a/tests/base/thread_validity_09.cc +++ b/tests/base/thread_validity_09.cc @@ -50,8 +50,7 @@ int worker () int main() { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); mutex.acquire (); diff --git a/tests/base/thread_validity_10.cc b/tests/base/thread_validity_10.cc index 51cfe87465..3f06e11093 100644 --- a/tests/base/thread_validity_10.cc +++ b/tests/base/thread_validity_10.cc @@ -39,8 +39,7 @@ int worker () int main() { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); Threads::Thread t; diff --git a/tests/base/thread_validity_11.cc b/tests/base/thread_validity_11.cc index 4c79921bed..beb73542fe 100644 --- a/tests/base/thread_validity_11.cc +++ b/tests/base/thread_validity_11.cc @@ -44,8 +44,7 @@ void test () int main() { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); test (); diff --git a/tests/base/thread_validity_12.cc b/tests/base/thread_validity_12.cc index 1e696cfa91..6cf60c2cc4 100644 --- a/tests/base/thread_validity_12.cc +++ b/tests/base/thread_validity_12.cc @@ -43,8 +43,7 @@ void test () int main() { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); test (); diff --git a/tests/base/time_stepping_01.cc b/tests/base/time_stepping_01.cc index 85ee21317d..fa7cbe68b5 100644 --- a/tests/base/time_stepping_01.cc +++ b/tests/base/time_stepping_01.cc @@ -176,8 +176,7 @@ void test2(TimeStepping::EmbeddedExplicitRungeKutta > &solver, int main() { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); deallog<<"Forward Euler"< > &solver, int main() { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); TimeStepping::EmbeddedExplicitRungeKutta > he(TimeStepping::HEUN_EULER); diff --git a/tests/base/timer.cc b/tests/base/timer.cc index 11f329d95b..768f36a61d 100644 --- a/tests/base/timer.cc +++ b/tests/base/timer.cc @@ -58,8 +58,7 @@ void burn (unsigned int n) int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); Timer t1,t2; diff --git a/tests/base/unique_ptr_01.cc b/tests/base/unique_ptr_01.cc index ea890453ba..f993b544df 100644 --- a/tests/base/unique_ptr_01.cc +++ b/tests/base/unique_ptr_01.cc @@ -45,8 +45,7 @@ struct X int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); // test with plain new/delete diff --git a/tests/base/utilities_01.cc b/tests/base/utilities_01.cc index 62501fb5f9..4f68b3afba 100644 --- a/tests/base/utilities_01.cc +++ b/tests/base/utilities_01.cc @@ -76,8 +76,7 @@ void test () int main() { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); test (); diff --git a/tests/base/utilities_02.cc b/tests/base/utilities_02.cc index 873949615f..5ae1d5a689 100644 --- a/tests/base/utilities_02.cc +++ b/tests/base/utilities_02.cc @@ -40,8 +40,7 @@ void test () int main() { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); test<1> (); diff --git a/tests/base/utilities_03.cc b/tests/base/utilities_03.cc index e58737ad74..b2cd46fd9b 100644 --- a/tests/base/utilities_03.cc +++ b/tests/base/utilities_03.cc @@ -44,8 +44,7 @@ void test () int main() { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); test (); diff --git a/tests/base/utilities_04.cc b/tests/base/utilities_04.cc index a7da8894f9..d21522bce0 100644 --- a/tests/base/utilities_04.cc +++ b/tests/base/utilities_04.cc @@ -86,8 +86,7 @@ void test () int main() { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); test (); diff --git a/tests/base/utilities_05.cc b/tests/base/utilities_05.cc index fd4c6003e2..9160244137 100644 --- a/tests/base/utilities_05.cc +++ b/tests/base/utilities_05.cc @@ -60,8 +60,7 @@ void test () int main() { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); test (); diff --git a/tests/base/utilities_06.cc b/tests/base/utilities_06.cc index 01283f43df..57f529cdfc 100644 --- a/tests/base/utilities_06.cc +++ b/tests/base/utilities_06.cc @@ -51,8 +51,7 @@ void verify (const std::string &s) int main() { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); verify ("abc"); diff --git a/tests/base/utilities_07.cc b/tests/base/utilities_07.cc index e169725efa..7375af03f9 100644 --- a/tests/base/utilities_07.cc +++ b/tests/base/utilities_07.cc @@ -51,8 +51,7 @@ void verify (const std::string &s) int main() { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); verify ("abc"); diff --git a/tests/base/utilities_08.cc b/tests/base/utilities_08.cc index b766801e8c..b0a242ef5e 100644 --- a/tests/base/utilities_08.cc +++ b/tests/base/utilities_08.cc @@ -44,8 +44,7 @@ void test () int main() { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); test (); diff --git a/tests/base/utilities_09.cc b/tests/base/utilities_09.cc index 6d7366b5b3..2970b2cb83 100644 --- a/tests/base/utilities_09.cc +++ b/tests/base/utilities_09.cc @@ -54,8 +54,7 @@ void test () int main() { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); test (); diff --git a/tests/base/utilities_10.cc b/tests/base/utilities_10.cc index 8b6ec765e2..0629342eed 100644 --- a/tests/base/utilities_10.cc +++ b/tests/base/utilities_10.cc @@ -67,8 +67,7 @@ void test () int main() { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); test (); diff --git a/tests/base/utilities_11.cc b/tests/base/utilities_11.cc index 3c3fd942bd..8333d8873b 100644 --- a/tests/base/utilities_11.cc +++ b/tests/base/utilities_11.cc @@ -66,8 +66,7 @@ void test () int main() { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.depth_console(0); deallog.threshold_double(1.e-10); diff --git a/tests/base/utilities_trim.cc b/tests/base/utilities_trim.cc index 6679996de7..e9c0b30c93 100644 --- a/tests/base/utilities_trim.cc +++ b/tests/base/utilities_trim.cc @@ -17,6 +17,7 @@ // test Utilities::trim. Note that deallog does not like being given '\n's in // the middle of strings, so the output file is almost empty. +#include "../tests.h" #include #include @@ -49,8 +50,7 @@ void test () int main() { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); test (); diff --git a/tests/base/vectorization_01.cc b/tests/base/vectorization_01.cc index 7857d9afa2..9e000b8cc5 100644 --- a/tests/base/vectorization_01.cc +++ b/tests/base/vectorization_01.cc @@ -150,8 +150,7 @@ void test () int main() { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); deallog.push("double"); diff --git a/tests/base/vectorization_02.cc b/tests/base/vectorization_02.cc index 3e485b58da..eb311dba04 100644 --- a/tests/base/vectorization_02.cc +++ b/tests/base/vectorization_02.cc @@ -111,8 +111,7 @@ void test () int main() { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); test (); diff --git a/tests/base/vectorization_03.cc b/tests/base/vectorization_03.cc index f1f2e7e262..7d79819e7a 100644 --- a/tests/base/vectorization_03.cc +++ b/tests/base/vectorization_03.cc @@ -92,8 +92,7 @@ void test() int main (int argc, char **argv) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog << std::setprecision(4); deallog.threshold_double(1.e-10); diff --git a/tests/base/vectorization_04.cc b/tests/base/vectorization_04.cc index f099c4f190..30bbcc2456 100644 --- a/tests/base/vectorization_04.cc +++ b/tests/base/vectorization_04.cc @@ -66,8 +66,7 @@ void test () int main() { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); deallog.push("double"); diff --git a/tests/base/vectorization_05.cc b/tests/base/vectorization_05.cc index dd867563ea..c836f8e935 100644 --- a/tests/base/vectorization_05.cc +++ b/tests/base/vectorization_05.cc @@ -94,8 +94,7 @@ void test () int main() { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); deallog.push("double"); diff --git a/tests/base/vectorization_06.cc b/tests/base/vectorization_06.cc index dec85a9477..01afa97f60 100644 --- a/tests/base/vectorization_06.cc +++ b/tests/base/vectorization_06.cc @@ -123,8 +123,7 @@ void test () int main() { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); deallog.push("double"); diff --git a/tests/base/work_stream_01.cc b/tests/base/work_stream_01.cc index 34c92a02ad..45aeaba088 100644 --- a/tests/base/work_stream_01.cc +++ b/tests/base/work_stream_01.cc @@ -68,8 +68,7 @@ void test () int main() { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); test (); diff --git a/tests/base/work_stream_02.cc b/tests/base/work_stream_02.cc index 24f9a04877..09e0de2fcb 100644 --- a/tests/base/work_stream_02.cc +++ b/tests/base/work_stream_02.cc @@ -64,8 +64,7 @@ void test () int main() { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); test (); diff --git a/tests/base/work_stream_04.cc b/tests/base/work_stream_04.cc index 71f520f575..a86927f04f 100644 --- a/tests/base/work_stream_04.cc +++ b/tests/base/work_stream_04.cc @@ -66,8 +66,7 @@ void test () int main() { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); test (); diff --git a/tests/base/work_stream_05.cc b/tests/base/work_stream_05.cc index 4a20a90c16..40ccead940 100644 --- a/tests/base/work_stream_05.cc +++ b/tests/base/work_stream_05.cc @@ -89,8 +89,7 @@ void test () int main() { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); test (); diff --git a/tests/base/work_stream_05_graph.cc b/tests/base/work_stream_05_graph.cc index 7bf54ba68b..c84919a2a4 100644 --- a/tests/base/work_stream_05_graph.cc +++ b/tests/base/work_stream_05_graph.cc @@ -105,8 +105,7 @@ void test () int main() { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); test (); diff --git a/tests/bits/accessor_equality.cc b/tests/bits/accessor_equality.cc index 78fa94c66f..ef2b2d1006 100644 --- a/tests/bits/accessor_equality.cc +++ b/tests/bits/accessor_equality.cc @@ -107,8 +107,7 @@ int main () { deal_II_exceptions::disable_abort_on_exception(); - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); test<1> (); test<2> (); diff --git a/tests/bits/anna_1.cc b/tests/bits/anna_1.cc index 222dcf64a7..e54dbd9a6c 100644 --- a/tests/bits/anna_1.cc +++ b/tests/bits/anna_1.cc @@ -156,8 +156,7 @@ void SystemTest::run () int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); SystemTest<2>().run(); diff --git a/tests/bits/anna_2.cc b/tests/bits/anna_2.cc index 964dc7a6e2..43c589dc05 100644 --- a/tests/bits/anna_2.cc +++ b/tests/bits/anna_2.cc @@ -160,8 +160,7 @@ void SystemTest::run () int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); SystemTest<2>().run(); diff --git a/tests/bits/anna_3.cc b/tests/bits/anna_3.cc index 4f39babf50..025c0ea77a 100644 --- a/tests/bits/anna_3.cc +++ b/tests/bits/anna_3.cc @@ -129,8 +129,7 @@ void SystemTest::run () int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); SystemTest<2>().run(); diff --git a/tests/bits/anna_4.cc b/tests/bits/anna_4.cc index 1889dc42b5..ae1cfd1730 100644 --- a/tests/bits/anna_4.cc +++ b/tests/bits/anna_4.cc @@ -245,8 +245,7 @@ void FindBug::run () int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); FindBug<2>().run (); diff --git a/tests/bits/apply_boundary_values_01.cc b/tests/bits/apply_boundary_values_01.cc index dedf5fb43e..ee780ef969 100644 --- a/tests/bits/apply_boundary_values_01.cc +++ b/tests/bits/apply_boundary_values_01.cc @@ -144,8 +144,7 @@ void test () int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/bits/apply_boundary_values_02.cc b/tests/bits/apply_boundary_values_02.cc index 7bcc8a1469..f91b8264bb 100644 --- a/tests/bits/apply_boundary_values_02.cc +++ b/tests/bits/apply_boundary_values_02.cc @@ -144,8 +144,7 @@ void test () int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/bits/apply_boundary_values_03.cc b/tests/bits/apply_boundary_values_03.cc index 4ffd659623..0a104fa1ab 100644 --- a/tests/bits/apply_boundary_values_03.cc +++ b/tests/bits/apply_boundary_values_03.cc @@ -126,8 +126,7 @@ void test () int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/bits/apply_boundary_values_04.cc b/tests/bits/apply_boundary_values_04.cc index 57957c8e22..5ea720bd21 100644 --- a/tests/bits/apply_boundary_values_04.cc +++ b/tests/bits/apply_boundary_values_04.cc @@ -126,8 +126,7 @@ void test () int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/bits/block_matrix_array_01.cc b/tests/bits/block_matrix_array_01.cc index 513b10edfb..77dc881920 100644 --- a/tests/bits/block_matrix_array_01.cc +++ b/tests/bits/block_matrix_array_01.cc @@ -28,8 +28,7 @@ int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); FullMatrix A1(4,4); diff --git a/tests/bits/block_sparse_matrix_1.cc b/tests/bits/block_sparse_matrix_1.cc index 455982cfcf..083c09e4fa 100644 --- a/tests/bits/block_sparse_matrix_1.cc +++ b/tests/bits/block_sparse_matrix_1.cc @@ -54,8 +54,7 @@ int main() { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); Triangulation<2> tria; diff --git a/tests/bits/block_sparse_matrix_2.cc b/tests/bits/block_sparse_matrix_2.cc index 51dcb5a727..857934e2f1 100644 --- a/tests/bits/block_sparse_matrix_2.cc +++ b/tests/bits/block_sparse_matrix_2.cc @@ -34,8 +34,7 @@ int main() { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); Triangulation<2> tria; diff --git a/tests/bits/block_sparse_matrix_iterator_01.cc b/tests/bits/block_sparse_matrix_iterator_01.cc index d315961ea8..ba98314a99 100644 --- a/tests/bits/block_sparse_matrix_iterator_01.cc +++ b/tests/bits/block_sparse_matrix_iterator_01.cc @@ -96,8 +96,7 @@ void test () int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/bits/block_sparse_matrix_iterator_02.cc b/tests/bits/block_sparse_matrix_iterator_02.cc index c70f44b2c8..773dc47aee 100644 --- a/tests/bits/block_sparse_matrix_iterator_02.cc +++ b/tests/bits/block_sparse_matrix_iterator_02.cc @@ -91,8 +91,7 @@ void test () int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/bits/block_sparse_matrix_iterator_04.cc b/tests/bits/block_sparse_matrix_iterator_04.cc index 81233709f4..cb2e15da99 100644 --- a/tests/bits/block_sparse_matrix_iterator_04.cc +++ b/tests/bits/block_sparse_matrix_iterator_04.cc @@ -55,8 +55,7 @@ void test () int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/bits/block_sparse_matrix_iterator_05.cc b/tests/bits/block_sparse_matrix_iterator_05.cc index d5ec2d1b78..4cb1928506 100644 --- a/tests/bits/block_sparse_matrix_iterator_05.cc +++ b/tests/bits/block_sparse_matrix_iterator_05.cc @@ -73,8 +73,7 @@ void test () int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/bits/block_vector_iterator_01.cc b/tests/bits/block_vector_iterator_01.cc index 85f4a1b13d..4fec0cddbd 100644 --- a/tests/bits/block_vector_iterator_01.cc +++ b/tests/bits/block_vector_iterator_01.cc @@ -80,8 +80,7 @@ void test () int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/bits/block_vector_iterator_02.cc b/tests/bits/block_vector_iterator_02.cc index 0f536826be..9010d92964 100644 --- a/tests/bits/block_vector_iterator_02.cc +++ b/tests/bits/block_vector_iterator_02.cc @@ -74,8 +74,7 @@ void test () int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/bits/block_vector_vector_01.cc b/tests/bits/block_vector_vector_01.cc index de0a41b083..636ab60f4e 100644 --- a/tests/bits/block_vector_vector_01.cc +++ b/tests/bits/block_vector_vector_01.cc @@ -42,8 +42,7 @@ void test (BlockVector &v) int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/bits/chunk_sparse_matrix_00.cc b/tests/bits/chunk_sparse_matrix_00.cc index c5241b95e7..fe4388965d 100644 --- a/tests/bits/chunk_sparse_matrix_00.cc +++ b/tests/bits/chunk_sparse_matrix_00.cc @@ -58,8 +58,7 @@ void test (const unsigned int chunk_size) int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/bits/chunk_sparse_matrix_01.cc b/tests/bits/chunk_sparse_matrix_01.cc index 5bcb0f944b..5f97cd21f7 100644 --- a/tests/bits/chunk_sparse_matrix_01.cc +++ b/tests/bits/chunk_sparse_matrix_01.cc @@ -61,8 +61,7 @@ void test (const unsigned int chunk_size) int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/bits/chunk_sparse_matrix_01a.cc b/tests/bits/chunk_sparse_matrix_01a.cc index 773844e4c9..7c1966fe77 100644 --- a/tests/bits/chunk_sparse_matrix_01a.cc +++ b/tests/bits/chunk_sparse_matrix_01a.cc @@ -87,8 +87,7 @@ void test (const unsigned int chunk_size) int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/bits/chunk_sparse_matrix_02.cc b/tests/bits/chunk_sparse_matrix_02.cc index d40d54fa4c..b168a63918 100644 --- a/tests/bits/chunk_sparse_matrix_02.cc +++ b/tests/bits/chunk_sparse_matrix_02.cc @@ -60,8 +60,7 @@ void test (const unsigned int chunk_size) int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/bits/chunk_sparse_matrix_03.cc b/tests/bits/chunk_sparse_matrix_03.cc index b1591f7754..27519201e0 100644 --- a/tests/bits/chunk_sparse_matrix_03.cc +++ b/tests/bits/chunk_sparse_matrix_03.cc @@ -67,8 +67,7 @@ void test (const unsigned int chunk_size) int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/bits/chunk_sparse_matrix_03a.cc b/tests/bits/chunk_sparse_matrix_03a.cc index e90f2118f6..607c315e65 100644 --- a/tests/bits/chunk_sparse_matrix_03a.cc +++ b/tests/bits/chunk_sparse_matrix_03a.cc @@ -71,8 +71,7 @@ void test (const unsigned int chunk_size) int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/bits/chunk_sparse_matrix_04.cc b/tests/bits/chunk_sparse_matrix_04.cc index cba39a96c5..9f2ee40a7b 100644 --- a/tests/bits/chunk_sparse_matrix_04.cc +++ b/tests/bits/chunk_sparse_matrix_04.cc @@ -43,8 +43,7 @@ void test (const unsigned int chunk_size) int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/bits/chunk_sparse_matrix_05.cc b/tests/bits/chunk_sparse_matrix_05.cc index add68b4dad..40f5d7b8fc 100644 --- a/tests/bits/chunk_sparse_matrix_05.cc +++ b/tests/bits/chunk_sparse_matrix_05.cc @@ -72,8 +72,7 @@ void test (const unsigned int chunk_size) int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/bits/chunk_sparse_matrix_05a.cc b/tests/bits/chunk_sparse_matrix_05a.cc index dca983a7e7..f618640ffd 100644 --- a/tests/bits/chunk_sparse_matrix_05a.cc +++ b/tests/bits/chunk_sparse_matrix_05a.cc @@ -67,8 +67,7 @@ void test (const unsigned int chunk_size) int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/bits/chunk_sparse_matrix_06.cc b/tests/bits/chunk_sparse_matrix_06.cc index 9a5cb3488a..d642f1b851 100644 --- a/tests/bits/chunk_sparse_matrix_06.cc +++ b/tests/bits/chunk_sparse_matrix_06.cc @@ -52,8 +52,7 @@ void test (const unsigned int chunk_size) int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/bits/chunk_sparse_matrix_07.cc b/tests/bits/chunk_sparse_matrix_07.cc index 06e34607d9..d6ab1e9698 100644 --- a/tests/bits/chunk_sparse_matrix_07.cc +++ b/tests/bits/chunk_sparse_matrix_07.cc @@ -52,8 +52,7 @@ void test (const unsigned int chunk_size) int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/bits/chunk_sparse_matrix_08.cc b/tests/bits/chunk_sparse_matrix_08.cc index 7daa70400d..f1354d0b88 100644 --- a/tests/bits/chunk_sparse_matrix_08.cc +++ b/tests/bits/chunk_sparse_matrix_08.cc @@ -57,8 +57,7 @@ void test (const unsigned int chunk_size) int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/bits/chunk_sparse_matrix_09.cc b/tests/bits/chunk_sparse_matrix_09.cc index f66b916d5a..b40e5c4cac 100644 --- a/tests/bits/chunk_sparse_matrix_09.cc +++ b/tests/bits/chunk_sparse_matrix_09.cc @@ -63,8 +63,7 @@ void test (const unsigned int chunk_size) int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/bits/chunk_sparse_matrix_10.cc b/tests/bits/chunk_sparse_matrix_10.cc index fb2d6b5550..1118461a7f 100644 --- a/tests/bits/chunk_sparse_matrix_10.cc +++ b/tests/bits/chunk_sparse_matrix_10.cc @@ -63,8 +63,7 @@ void test (const unsigned int chunk_size) int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/bits/chunk_sparse_matrix_11.cc b/tests/bits/chunk_sparse_matrix_11.cc index ea13e2d938..5a2ba6c686 100644 --- a/tests/bits/chunk_sparse_matrix_11.cc +++ b/tests/bits/chunk_sparse_matrix_11.cc @@ -64,8 +64,7 @@ void test (const unsigned int chunk_size) int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/bits/chunk_sparse_matrix_12.cc b/tests/bits/chunk_sparse_matrix_12.cc index c042851225..add96bddb6 100644 --- a/tests/bits/chunk_sparse_matrix_12.cc +++ b/tests/bits/chunk_sparse_matrix_12.cc @@ -64,8 +64,7 @@ void test (const unsigned int chunk_size) int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/bits/chunk_sparse_matrix_13.cc b/tests/bits/chunk_sparse_matrix_13.cc index 3c161ac15a..40e1d1e33d 100644 --- a/tests/bits/chunk_sparse_matrix_13.cc +++ b/tests/bits/chunk_sparse_matrix_13.cc @@ -64,8 +64,7 @@ void test (const unsigned int chunk_size) int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/bits/chunk_sparse_matrix_14.cc b/tests/bits/chunk_sparse_matrix_14.cc index 90b37584fb..74e77c7e87 100644 --- a/tests/bits/chunk_sparse_matrix_14.cc +++ b/tests/bits/chunk_sparse_matrix_14.cc @@ -65,8 +65,7 @@ void test (const unsigned int chunk_size) int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/bits/chunk_sparse_matrix_15.cc b/tests/bits/chunk_sparse_matrix_15.cc index 408ac798fe..50e5754b62 100644 --- a/tests/bits/chunk_sparse_matrix_15.cc +++ b/tests/bits/chunk_sparse_matrix_15.cc @@ -71,8 +71,7 @@ void test (const unsigned int chunk_size) int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/bits/chunk_sparse_matrix_16.cc b/tests/bits/chunk_sparse_matrix_16.cc index 0e6f67d139..db6bd84fe0 100644 --- a/tests/bits/chunk_sparse_matrix_16.cc +++ b/tests/bits/chunk_sparse_matrix_16.cc @@ -74,8 +74,7 @@ void test (const unsigned int chunk_size) int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/bits/chunk_sparse_matrix_iterator_01.cc b/tests/bits/chunk_sparse_matrix_iterator_01.cc index 705e01fa14..c6c984d513 100644 --- a/tests/bits/chunk_sparse_matrix_iterator_01.cc +++ b/tests/bits/chunk_sparse_matrix_iterator_01.cc @@ -48,8 +48,7 @@ void test (const unsigned int chunk_size) int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/bits/chunk_sparse_matrix_iterator_02.cc b/tests/bits/chunk_sparse_matrix_iterator_02.cc index 0c54a4c5e1..d4eab885a7 100644 --- a/tests/bits/chunk_sparse_matrix_iterator_02.cc +++ b/tests/bits/chunk_sparse_matrix_iterator_02.cc @@ -67,8 +67,7 @@ void test (const unsigned int chunk_size) int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/bits/chunk_sparse_matrix_iterator_03.cc b/tests/bits/chunk_sparse_matrix_iterator_03.cc index a353aee4eb..535f05f1e9 100644 --- a/tests/bits/chunk_sparse_matrix_iterator_03.cc +++ b/tests/bits/chunk_sparse_matrix_iterator_03.cc @@ -67,8 +67,7 @@ void test (const unsigned int chunk_size) int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/bits/chunk_sparse_matrix_iterator_04.cc b/tests/bits/chunk_sparse_matrix_iterator_04.cc index 64a394857a..3701a821c3 100644 --- a/tests/bits/chunk_sparse_matrix_iterator_04.cc +++ b/tests/bits/chunk_sparse_matrix_iterator_04.cc @@ -59,8 +59,7 @@ void test (const unsigned int chunk_size) int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/bits/chunk_sparse_matrix_iterator_05.cc b/tests/bits/chunk_sparse_matrix_iterator_05.cc index 45868d008b..d47586dc7f 100644 --- a/tests/bits/chunk_sparse_matrix_iterator_05.cc +++ b/tests/bits/chunk_sparse_matrix_iterator_05.cc @@ -66,8 +66,7 @@ void test (const unsigned int chunk_size) int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/bits/chunk_sparse_matrix_iterator_06.cc b/tests/bits/chunk_sparse_matrix_iterator_06.cc index a9ec10e8af..f187b2a437 100644 --- a/tests/bits/chunk_sparse_matrix_iterator_06.cc +++ b/tests/bits/chunk_sparse_matrix_iterator_06.cc @@ -73,8 +73,7 @@ void test (const unsigned int chunk_size) int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/bits/chunk_sparse_matrix_iterator_07.cc b/tests/bits/chunk_sparse_matrix_iterator_07.cc index 4823393147..eef7c11d8e 100644 --- a/tests/bits/chunk_sparse_matrix_iterator_07.cc +++ b/tests/bits/chunk_sparse_matrix_iterator_07.cc @@ -73,8 +73,7 @@ void test (const unsigned int chunk_size) int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/bits/chunk_sparse_matrix_iterator_08.cc b/tests/bits/chunk_sparse_matrix_iterator_08.cc index 39feae2270..74cbe60d62 100644 --- a/tests/bits/chunk_sparse_matrix_iterator_08.cc +++ b/tests/bits/chunk_sparse_matrix_iterator_08.cc @@ -73,8 +73,7 @@ void test (const unsigned int chunk_size) int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/bits/chunk_sparse_matrix_iterator_09.cc b/tests/bits/chunk_sparse_matrix_iterator_09.cc index 8c04a9db9c..4f9200cc3b 100644 --- a/tests/bits/chunk_sparse_matrix_iterator_09.cc +++ b/tests/bits/chunk_sparse_matrix_iterator_09.cc @@ -49,8 +49,7 @@ void test (const unsigned int chunk_size) int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/bits/chunk_sparse_matrix_iterator_10.cc b/tests/bits/chunk_sparse_matrix_iterator_10.cc index 5e1b12574c..ce5643963a 100644 --- a/tests/bits/chunk_sparse_matrix_iterator_10.cc +++ b/tests/bits/chunk_sparse_matrix_iterator_10.cc @@ -51,8 +51,7 @@ void test (const unsigned int chunk_size) int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/bits/chunk_sparse_matrix_iterator_11.cc b/tests/bits/chunk_sparse_matrix_iterator_11.cc index d938d01d7a..eb06049a6d 100644 --- a/tests/bits/chunk_sparse_matrix_iterator_11.cc +++ b/tests/bits/chunk_sparse_matrix_iterator_11.cc @@ -61,8 +61,7 @@ void test (const unsigned int chunk_size) int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/bits/chunk_sparse_matrix_iterator_12.cc b/tests/bits/chunk_sparse_matrix_iterator_12.cc index 0bbefa4a06..1e8c4156c0 100644 --- a/tests/bits/chunk_sparse_matrix_iterator_12.cc +++ b/tests/bits/chunk_sparse_matrix_iterator_12.cc @@ -60,8 +60,7 @@ void test (const unsigned int chunk_size) int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/bits/chunk_sparse_matrix_iterator_13.cc b/tests/bits/chunk_sparse_matrix_iterator_13.cc index 224798edda..2044dbd0a2 100644 --- a/tests/bits/chunk_sparse_matrix_iterator_13.cc +++ b/tests/bits/chunk_sparse_matrix_iterator_13.cc @@ -81,8 +81,7 @@ void test (const unsigned int chunk_size) int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/bits/chunk_sparse_matrix_vector_01.cc b/tests/bits/chunk_sparse_matrix_vector_01.cc index d8834511af..e95dee2aee 100644 --- a/tests/bits/chunk_sparse_matrix_vector_01.cc +++ b/tests/bits/chunk_sparse_matrix_vector_01.cc @@ -70,8 +70,7 @@ void test (const unsigned int chunk_size, int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/bits/chunk_sparse_matrix_vector_02.cc b/tests/bits/chunk_sparse_matrix_vector_02.cc index f9541cec5c..5b7c2b4942 100644 --- a/tests/bits/chunk_sparse_matrix_vector_02.cc +++ b/tests/bits/chunk_sparse_matrix_vector_02.cc @@ -70,8 +70,7 @@ void test (const unsigned int chunk_size, int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/bits/chunk_sparse_matrix_vector_03.cc b/tests/bits/chunk_sparse_matrix_vector_03.cc index b0c28e1e18..77e476cf3b 100644 --- a/tests/bits/chunk_sparse_matrix_vector_03.cc +++ b/tests/bits/chunk_sparse_matrix_vector_03.cc @@ -73,8 +73,7 @@ void test (const unsigned int chunk_size, int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/bits/chunk_sparse_matrix_vector_04.cc b/tests/bits/chunk_sparse_matrix_vector_04.cc index 65333d5c3b..ea6d8502f0 100644 --- a/tests/bits/chunk_sparse_matrix_vector_04.cc +++ b/tests/bits/chunk_sparse_matrix_vector_04.cc @@ -73,8 +73,7 @@ void test (const unsigned int chunk_size, int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/bits/chunk_sparse_matrix_vector_05.cc b/tests/bits/chunk_sparse_matrix_vector_05.cc index bb59d65e83..e9d8ab23b3 100644 --- a/tests/bits/chunk_sparse_matrix_vector_05.cc +++ b/tests/bits/chunk_sparse_matrix_vector_05.cc @@ -76,8 +76,7 @@ void test (const unsigned int chunk_size, int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/bits/chunk_sparse_matrix_vector_06.cc b/tests/bits/chunk_sparse_matrix_vector_06.cc index dacc0e552d..762ece7e6a 100644 --- a/tests/bits/chunk_sparse_matrix_vector_06.cc +++ b/tests/bits/chunk_sparse_matrix_vector_06.cc @@ -68,8 +68,7 @@ void test (const unsigned int chunk_size, int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/bits/chunk_sparse_matrix_vector_07.cc b/tests/bits/chunk_sparse_matrix_vector_07.cc index bfc2e3e779..14fa5e4130 100644 --- a/tests/bits/chunk_sparse_matrix_vector_07.cc +++ b/tests/bits/chunk_sparse_matrix_vector_07.cc @@ -78,8 +78,7 @@ void test (const unsigned int chunk_size, int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/bits/coarsening_3d.cc b/tests/bits/coarsening_3d.cc index 921763dfc4..e98049b70f 100644 --- a/tests/bits/coarsening_3d.cc +++ b/tests/bits/coarsening_3d.cc @@ -33,8 +33,7 @@ int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); Triangulation<3> coarse_grid; diff --git a/tests/bits/cone_01.cc b/tests/bits/cone_01.cc index 42161f5501..0d64007bdc 100644 --- a/tests/bits/cone_01.cc +++ b/tests/bits/cone_01.cc @@ -55,8 +55,7 @@ void check () int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); check<2> (); diff --git a/tests/bits/cone_02.cc b/tests/bits/cone_02.cc index 218fc3d2ee..dae2b4333d 100644 --- a/tests/bits/cone_02.cc +++ b/tests/bits/cone_02.cc @@ -59,8 +59,7 @@ void check () int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); check<2> (); diff --git a/tests/bits/count_dofs_per_component_hp_01.cc b/tests/bits/count_dofs_per_component_hp_01.cc index e4ad029161..1253af623e 100644 --- a/tests/bits/count_dofs_per_component_hp_01.cc +++ b/tests/bits/count_dofs_per_component_hp_01.cc @@ -74,8 +74,7 @@ void test () int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); test<1> (); diff --git a/tests/bits/count_dofs_per_component_hp_02.cc b/tests/bits/count_dofs_per_component_hp_02.cc index 776edf1a36..25ce26392f 100644 --- a/tests/bits/count_dofs_per_component_hp_02.cc +++ b/tests/bits/count_dofs_per_component_hp_02.cc @@ -75,8 +75,7 @@ void test () int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); test<1> (); diff --git a/tests/bits/cylinder.cc b/tests/bits/cylinder.cc index 4991a8e222..61291fc7ca 100644 --- a/tests/bits/cylinder.cc +++ b/tests/bits/cylinder.cc @@ -33,8 +33,7 @@ int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); deallog << std::setprecision (2); diff --git a/tests/bits/cylinder_01.cc b/tests/bits/cylinder_01.cc index 353b78155b..60c235c543 100644 --- a/tests/bits/cylinder_01.cc +++ b/tests/bits/cylinder_01.cc @@ -54,8 +54,7 @@ void check () int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); check<2> (); diff --git a/tests/bits/cylinder_02.cc b/tests/bits/cylinder_02.cc index e187db7a82..8802b0616f 100644 --- a/tests/bits/cylinder_02.cc +++ b/tests/bits/cylinder_02.cc @@ -67,8 +67,7 @@ void check () int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); check<2> (); diff --git a/tests/bits/cylinder_03.cc b/tests/bits/cylinder_03.cc index 9c6926813a..4aad96220b 100644 --- a/tests/bits/cylinder_03.cc +++ b/tests/bits/cylinder_03.cc @@ -64,8 +64,7 @@ void check () int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); check<3> (); diff --git a/tests/bits/cylinder_04.cc b/tests/bits/cylinder_04.cc index 4f0c72a72d..506899274b 100644 --- a/tests/bits/cylinder_04.cc +++ b/tests/bits/cylinder_04.cc @@ -70,8 +70,7 @@ void check () int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); check<3> (); diff --git a/tests/bits/cylinder_shell_01.cc b/tests/bits/cylinder_shell_01.cc index 69bfba36cf..9315c6a944 100644 --- a/tests/bits/cylinder_shell_01.cc +++ b/tests/bits/cylinder_shell_01.cc @@ -31,8 +31,7 @@ int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); deallog << std::setprecision (2); diff --git a/tests/bits/cylinder_shell_02.cc b/tests/bits/cylinder_shell_02.cc index c0eb65afcb..8b225900a6 100644 --- a/tests/bits/cylinder_shell_02.cc +++ b/tests/bits/cylinder_shell_02.cc @@ -36,8 +36,7 @@ int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); deallog << std::setprecision (2); diff --git a/tests/bits/denis_1.cc b/tests/bits/denis_1.cc index 084ddc63df..a1fa758c76 100644 --- a/tests/bits/denis_1.cc +++ b/tests/bits/denis_1.cc @@ -58,8 +58,7 @@ public: int main() { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); deallog << std::setprecision (2); deallog << std::fixed; diff --git a/tests/bits/distorted_cells_01.cc b/tests/bits/distorted_cells_01.cc index 156efea8d5..9d5ddf60b6 100644 --- a/tests/bits/distorted_cells_01.cc +++ b/tests/bits/distorted_cells_01.cc @@ -88,8 +88,7 @@ void check (const unsigned int testcase) int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); for (unsigned int testcase=1; testcase<=2; ++testcase) diff --git a/tests/bits/distorted_cells_02.cc b/tests/bits/distorted_cells_02.cc index 72aaa69774..8727e3fb7e 100644 --- a/tests/bits/distorted_cells_02.cc +++ b/tests/bits/distorted_cells_02.cc @@ -69,8 +69,7 @@ void check () int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); check<2> (); diff --git a/tests/bits/distorted_cells_03.cc b/tests/bits/distorted_cells_03.cc index df6b58439a..8fd55d7368 100644 --- a/tests/bits/distorted_cells_03.cc +++ b/tests/bits/distorted_cells_03.cc @@ -122,8 +122,7 @@ void check () int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); check<2> (); diff --git a/tests/bits/distorted_cells_04.cc b/tests/bits/distorted_cells_04.cc index 76d53da561..92a1aa2e69 100644 --- a/tests/bits/distorted_cells_04.cc +++ b/tests/bits/distorted_cells_04.cc @@ -148,8 +148,7 @@ void check () int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-8); check<2> (); diff --git a/tests/bits/distorted_cells_05.cc b/tests/bits/distorted_cells_05.cc index 78cf465eb9..d560da5abc 100644 --- a/tests/bits/distorted_cells_05.cc +++ b/tests/bits/distorted_cells_05.cc @@ -150,8 +150,7 @@ void check () int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-8); check<2> (); diff --git a/tests/bits/distorted_cells_06.cc b/tests/bits/distorted_cells_06.cc index 94195ffc06..02344fe125 100644 --- a/tests/bits/distorted_cells_06.cc +++ b/tests/bits/distorted_cells_06.cc @@ -117,8 +117,7 @@ void check () int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); check<3> (); diff --git a/tests/bits/distorted_cells_07.cc b/tests/bits/distorted_cells_07.cc index 86ba0c98cb..bd2a4563ff 100644 --- a/tests/bits/distorted_cells_07.cc +++ b/tests/bits/distorted_cells_07.cc @@ -94,8 +94,7 @@ int main () { deal_II_exceptions::disable_abort_on_exception(); - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); // only twisted cells for FEValues (pinched cells are OK on Gauss points) diff --git a/tests/bits/fe_field_function_01.cc b/tests/bits/fe_field_function_01.cc index 63a9d0311e..f89d086e21 100644 --- a/tests/bits/fe_field_function_01.cc +++ b/tests/bits/fe_field_function_01.cc @@ -86,8 +86,7 @@ void test() int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); test<1>(); test<2>(); diff --git a/tests/bits/fe_field_function_01_vector.cc b/tests/bits/fe_field_function_01_vector.cc index f99d45f8b4..91b463d8b3 100644 --- a/tests/bits/fe_field_function_01_vector.cc +++ b/tests/bits/fe_field_function_01_vector.cc @@ -101,8 +101,7 @@ void test() int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); test<1>(); test<2>(); diff --git a/tests/bits/fe_field_function_02.cc b/tests/bits/fe_field_function_02.cc index 32dff76200..89dcab6b08 100644 --- a/tests/bits/fe_field_function_02.cc +++ b/tests/bits/fe_field_function_02.cc @@ -84,8 +84,7 @@ void test() int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); test<1>(); test<2>(); diff --git a/tests/bits/fe_field_function_02_vector.cc b/tests/bits/fe_field_function_02_vector.cc index a693b57f23..0843591e24 100644 --- a/tests/bits/fe_field_function_02_vector.cc +++ b/tests/bits/fe_field_function_02_vector.cc @@ -100,8 +100,7 @@ void test() int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); test<1>(); test<2>(); diff --git a/tests/bits/fe_field_function_03.cc b/tests/bits/fe_field_function_03.cc index 106dff6709..b68767c610 100644 --- a/tests/bits/fe_field_function_03.cc +++ b/tests/bits/fe_field_function_03.cc @@ -79,8 +79,7 @@ void test() int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); test<1>(); test<2>(); diff --git a/tests/bits/fe_field_function_04.cc b/tests/bits/fe_field_function_04.cc index 587ea800ea..cfc81b9622 100644 --- a/tests/bits/fe_field_function_04.cc +++ b/tests/bits/fe_field_function_04.cc @@ -99,8 +99,7 @@ void test() int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); test<2>(); diff --git a/tests/bits/fe_field_function_04_vector.cc b/tests/bits/fe_field_function_04_vector.cc index a994460238..fed0179a4e 100644 --- a/tests/bits/fe_field_function_04_vector.cc +++ b/tests/bits/fe_field_function_04_vector.cc @@ -107,8 +107,7 @@ void test() int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); test<2>(); diff --git a/tests/bits/fe_field_function_05.cc b/tests/bits/fe_field_function_05.cc index 594613606c..57d01d0a3c 100644 --- a/tests/bits/fe_field_function_05.cc +++ b/tests/bits/fe_field_function_05.cc @@ -108,8 +108,7 @@ void test() int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); test<2>(); diff --git a/tests/bits/fe_field_function_05_vector.cc b/tests/bits/fe_field_function_05_vector.cc index 67fcbb1f56..11bf4d24de 100644 --- a/tests/bits/fe_field_function_05_vector.cc +++ b/tests/bits/fe_field_function_05_vector.cc @@ -119,8 +119,7 @@ void test() int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); test<2>(); diff --git a/tests/bits/fe_field_function_06_vector.cc b/tests/bits/fe_field_function_06_vector.cc index fd8d74214d..287589f2ad 100644 --- a/tests/bits/fe_field_function_06_vector.cc +++ b/tests/bits/fe_field_function_06_vector.cc @@ -117,8 +117,7 @@ void test() int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); test<2>(); diff --git a/tests/bits/fe_field_function_07_vector.cc b/tests/bits/fe_field_function_07_vector.cc index 9e92a0597e..3fb40176f4 100644 --- a/tests/bits/fe_field_function_07_vector.cc +++ b/tests/bits/fe_field_function_07_vector.cc @@ -127,8 +127,7 @@ void test() int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); test<2>(); diff --git a/tests/bits/fe_field_function_08_vector.cc b/tests/bits/fe_field_function_08_vector.cc index a63c808af8..aab8bc5e4e 100644 --- a/tests/bits/fe_field_function_08_vector.cc +++ b/tests/bits/fe_field_function_08_vector.cc @@ -126,8 +126,7 @@ void test() int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); test<2>(); diff --git a/tests/bits/fe_q_3d_01.cc b/tests/bits/fe_q_3d_01.cc index a1be9ad3f3..296926e60a 100644 --- a/tests/bits/fe_q_3d_01.cc +++ b/tests/bits/fe_q_3d_01.cc @@ -118,8 +118,7 @@ void check () int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); check (); diff --git a/tests/bits/fe_q_constraints.cc b/tests/bits/fe_q_constraints.cc index 73adb36eb5..57e7465bd2 100644 --- a/tests/bits/fe_q_constraints.cc +++ b/tests/bits/fe_q_constraints.cc @@ -239,8 +239,7 @@ void TestFEQConstraints::run () int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); unsigned int ref_level[] = {4,3,2}; diff --git a/tests/bits/find_cell_1.cc b/tests/bits/find_cell_1.cc index 6eeff2da77..7e6232f63c 100644 --- a/tests/bits/find_cell_1.cc +++ b/tests/bits/find_cell_1.cc @@ -51,8 +51,7 @@ void check (Triangulation<2> &tria) int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); { diff --git a/tests/bits/find_cell_13.cc b/tests/bits/find_cell_13.cc index 8623684295..5766f6cb1f 100644 --- a/tests/bits/find_cell_13.cc +++ b/tests/bits/find_cell_13.cc @@ -94,8 +94,7 @@ void check (Triangulation<2> &tria) int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); { diff --git a/tests/bits/find_cell_2.cc b/tests/bits/find_cell_2.cc index 9ac77b19f2..efe719d4a4 100644 --- a/tests/bits/find_cell_2.cc +++ b/tests/bits/find_cell_2.cc @@ -50,8 +50,7 @@ void check (Triangulation<3> &tria) int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); { diff --git a/tests/bits/find_cell_3.cc b/tests/bits/find_cell_3.cc index 601e3f8006..8a0a1830ab 100644 --- a/tests/bits/find_cell_3.cc +++ b/tests/bits/find_cell_3.cc @@ -50,8 +50,7 @@ void check (Triangulation<3> &tria) int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); { diff --git a/tests/bits/find_cell_4.cc b/tests/bits/find_cell_4.cc index 6d2ca56540..cfb5d413f9 100644 --- a/tests/bits/find_cell_4.cc +++ b/tests/bits/find_cell_4.cc @@ -63,8 +63,7 @@ void check (Triangulation<3> &tria) int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/bits/find_cell_5.cc b/tests/bits/find_cell_5.cc index bb5a0c23e1..0d900e0bd4 100644 --- a/tests/bits/find_cell_5.cc +++ b/tests/bits/find_cell_5.cc @@ -67,8 +67,7 @@ void check (Triangulation<3> &tria) int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/bits/find_cell_6.cc b/tests/bits/find_cell_6.cc index f2b6619274..a8fe39021a 100644 --- a/tests/bits/find_cell_6.cc +++ b/tests/bits/find_cell_6.cc @@ -97,8 +97,7 @@ void check1 () int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/bits/find_cell_7.cc b/tests/bits/find_cell_7.cc index 977d408cd9..51f4885146 100644 --- a/tests/bits/find_cell_7.cc +++ b/tests/bits/find_cell_7.cc @@ -87,8 +87,7 @@ void check2 () int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/bits/find_cell_8.cc b/tests/bits/find_cell_8.cc index c6d842c992..e245b992df 100644 --- a/tests/bits/find_cell_8.cc +++ b/tests/bits/find_cell_8.cc @@ -90,8 +90,7 @@ void check (Triangulation<2> &tria) int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); { diff --git a/tests/bits/find_cell_9.cc b/tests/bits/find_cell_9.cc index 346a553b8a..e5a9b8623a 100644 --- a/tests/bits/find_cell_9.cc +++ b/tests/bits/find_cell_9.cc @@ -93,8 +93,7 @@ void check (Triangulation<2> &tria) int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); { diff --git a/tests/bits/find_cell_alt_1.cc b/tests/bits/find_cell_alt_1.cc index 6ee1b17ec8..12d7c78944 100644 --- a/tests/bits/find_cell_alt_1.cc +++ b/tests/bits/find_cell_alt_1.cc @@ -57,8 +57,7 @@ void check (Triangulation<2> &tria) int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); { diff --git a/tests/bits/find_cell_alt_2.cc b/tests/bits/find_cell_alt_2.cc index 1ba626579d..dd2bac6fbf 100644 --- a/tests/bits/find_cell_alt_2.cc +++ b/tests/bits/find_cell_alt_2.cc @@ -56,8 +56,7 @@ void check (Triangulation<3> &tria) int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); { diff --git a/tests/bits/find_cell_alt_3.cc b/tests/bits/find_cell_alt_3.cc index e302b0dd68..2ccc407a0d 100644 --- a/tests/bits/find_cell_alt_3.cc +++ b/tests/bits/find_cell_alt_3.cc @@ -55,8 +55,7 @@ void check (Triangulation<3> &tria) int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); { diff --git a/tests/bits/find_cell_alt_4.cc b/tests/bits/find_cell_alt_4.cc index c62fd8763d..d69378eeac 100644 --- a/tests/bits/find_cell_alt_4.cc +++ b/tests/bits/find_cell_alt_4.cc @@ -57,8 +57,7 @@ void check (Triangulation<3> &tria) int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/bits/find_cell_alt_5.cc b/tests/bits/find_cell_alt_5.cc index 17b75b6e01..7dcc40b921 100644 --- a/tests/bits/find_cell_alt_5.cc +++ b/tests/bits/find_cell_alt_5.cc @@ -53,8 +53,7 @@ void check (Triangulation<3> &tria) int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/bits/find_cell_alt_6.cc b/tests/bits/find_cell_alt_6.cc index c57ff7b2db..16c319c71c 100644 --- a/tests/bits/find_cell_alt_6.cc +++ b/tests/bits/find_cell_alt_6.cc @@ -64,8 +64,7 @@ void check (Triangulation<2> &tria) int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/bits/find_cell_alt_7.cc b/tests/bits/find_cell_alt_7.cc index 6025c8c144..da19e4f2e8 100644 --- a/tests/bits/find_cell_alt_7.cc +++ b/tests/bits/find_cell_alt_7.cc @@ -64,8 +64,7 @@ void check (Triangulation<2> &tria) int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog << std::scientific; deallog.precision(8); diff --git a/tests/bits/find_cells_adjacent_to_vertex_1.cc b/tests/bits/find_cells_adjacent_to_vertex_1.cc index 362966701e..4f0d26aae8 100644 --- a/tests/bits/find_cells_adjacent_to_vertex_1.cc +++ b/tests/bits/find_cells_adjacent_to_vertex_1.cc @@ -63,8 +63,7 @@ void check (Triangulation<2> &tria) int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/bits/find_cells_adjacent_to_vertex_2.cc b/tests/bits/find_cells_adjacent_to_vertex_2.cc index 5f681b80f2..8014eb9558 100644 --- a/tests/bits/find_cells_adjacent_to_vertex_2.cc +++ b/tests/bits/find_cells_adjacent_to_vertex_2.cc @@ -48,8 +48,7 @@ void check (Triangulation<3> &tria) int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/bits/find_cells_adjacent_to_vertex_3.cc b/tests/bits/find_cells_adjacent_to_vertex_3.cc index 8e41769fb7..dfe5b3ddae 100644 --- a/tests/bits/find_cells_adjacent_to_vertex_3.cc +++ b/tests/bits/find_cells_adjacent_to_vertex_3.cc @@ -50,8 +50,7 @@ void check (Triangulation<2> &tria) int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/bits/find_cells_adjacent_to_vertex_4.cc b/tests/bits/find_cells_adjacent_to_vertex_4.cc index 7bb4e95583..c52695cdb3 100644 --- a/tests/bits/find_cells_adjacent_to_vertex_4.cc +++ b/tests/bits/find_cells_adjacent_to_vertex_4.cc @@ -50,8 +50,7 @@ void check (Triangulation<2> &tria) int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/bits/find_cells_adjacent_to_vertex_5.cc b/tests/bits/find_cells_adjacent_to_vertex_5.cc index 3c68eee04a..b755db60c3 100644 --- a/tests/bits/find_cells_adjacent_to_vertex_5.cc +++ b/tests/bits/find_cells_adjacent_to_vertex_5.cc @@ -49,8 +49,7 @@ void check (Triangulation<3> &tria) int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/bits/find_cells_adjacent_to_vertex_6.cc b/tests/bits/find_cells_adjacent_to_vertex_6.cc index b3ab29b51d..c8ebd36e7a 100644 --- a/tests/bits/find_cells_adjacent_to_vertex_6.cc +++ b/tests/bits/find_cells_adjacent_to_vertex_6.cc @@ -54,8 +54,7 @@ void check (Triangulation<3> &tria) int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/bits/find_closest_vertex_1.cc b/tests/bits/find_closest_vertex_1.cc index e6816a7c12..f657e1c5fe 100644 --- a/tests/bits/find_closest_vertex_1.cc +++ b/tests/bits/find_closest_vertex_1.cc @@ -45,8 +45,7 @@ void check (Triangulation<3> &tria) int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/bits/gerold_1.cc b/tests/bits/gerold_1.cc index e56a39ef4f..eb0c06205c 100644 --- a/tests/bits/gerold_1.cc +++ b/tests/bits/gerold_1.cc @@ -107,8 +107,7 @@ void LaplaceProblem::run () int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/bits/gerold_2.cc b/tests/bits/gerold_2.cc index 21044dba54..17622450d5 100644 --- a/tests/bits/gerold_2.cc +++ b/tests/bits/gerold_2.cc @@ -69,8 +69,7 @@ void LaplaceProblem::run () int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/bits/get_boundary_indicators_1d.cc b/tests/bits/get_boundary_indicators_1d.cc index 609ed4b572..9e49b5539f 100644 --- a/tests/bits/get_boundary_indicators_1d.cc +++ b/tests/bits/get_boundary_indicators_1d.cc @@ -24,8 +24,7 @@ int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); Triangulation<1> triangulation; GridGenerator::hyper_cube (triangulation, -1, 1); diff --git a/tests/bits/get_dof_indices_01.cc b/tests/bits/get_dof_indices_01.cc index 506d12ac79..fdbf93eee8 100644 --- a/tests/bits/get_dof_indices_01.cc +++ b/tests/bits/get_dof_indices_01.cc @@ -89,8 +89,7 @@ void test () int main () { deal_II_exceptions::disable_abort_on_exception(); - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); test<1>(); diff --git a/tests/bits/hyper_ball_3d.cc b/tests/bits/hyper_ball_3d.cc index 47baa6ea86..96aab6823f 100644 --- a/tests/bits/hyper_ball_3d.cc +++ b/tests/bits/hyper_ball_3d.cc @@ -35,8 +35,7 @@ int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); deallog << std::setprecision (2); diff --git a/tests/bits/make_boundary_constraints_01.cc b/tests/bits/make_boundary_constraints_01.cc index 7fd4d59f4f..c21928dcc1 100644 --- a/tests/bits/make_boundary_constraints_01.cc +++ b/tests/bits/make_boundary_constraints_01.cc @@ -143,8 +143,7 @@ void test () int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/bits/make_boundary_constraints_02.cc b/tests/bits/make_boundary_constraints_02.cc index c38cedac40..333d723149 100644 --- a/tests/bits/make_boundary_constraints_02.cc +++ b/tests/bits/make_boundary_constraints_02.cc @@ -153,8 +153,7 @@ void test () int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/bits/map_dofs_to_support_points_hp_01.cc b/tests/bits/map_dofs_to_support_points_hp_01.cc index bf2b734f33..bff9c27fcd 100644 --- a/tests/bits/map_dofs_to_support_points_hp_01.cc +++ b/tests/bits/map_dofs_to_support_points_hp_01.cc @@ -84,8 +84,7 @@ void test () int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); test<1> (); diff --git a/tests/bits/map_dofs_to_support_points_hp_02.cc b/tests/bits/map_dofs_to_support_points_hp_02.cc index e345a01319..bebd9694fc 100644 --- a/tests/bits/map_dofs_to_support_points_hp_02.cc +++ b/tests/bits/map_dofs_to_support_points_hp_02.cc @@ -77,8 +77,7 @@ void test () int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); test<1> (); diff --git a/tests/bits/max_n_cells_01.cc b/tests/bits/max_n_cells_01.cc index 4d6e7bba13..5d91041729 100644 --- a/tests/bits/max_n_cells_01.cc +++ b/tests/bits/max_n_cells_01.cc @@ -59,8 +59,7 @@ void test () int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); test<1> (); test<2> (); diff --git a/tests/bits/max_n_cells_02.cc b/tests/bits/max_n_cells_02.cc index 4d3b7ed3f5..de6cf879ce 100644 --- a/tests/bits/max_n_cells_02.cc +++ b/tests/bits/max_n_cells_02.cc @@ -63,8 +63,7 @@ void test () int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); test<1> (); test<2> (); diff --git a/tests/bits/nedelec_1.cc b/tests/bits/nedelec_1.cc index 4c6e704fe1..e90799d817 100644 --- a/tests/bits/nedelec_1.cc +++ b/tests/bits/nedelec_1.cc @@ -55,8 +55,7 @@ void test () int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); test<2> (); diff --git a/tests/bits/neighboring_cells_at_two_faces.cc b/tests/bits/neighboring_cells_at_two_faces.cc index 76ec371430..dedf8df082 100644 --- a/tests/bits/neighboring_cells_at_two_faces.cc +++ b/tests/bits/neighboring_cells_at_two_faces.cc @@ -100,8 +100,7 @@ void check_neighbors (const Triangulation<2> &tria) int main() { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); Triangulation<2> tria; diff --git a/tests/bits/normals_1.cc b/tests/bits/normals_1.cc index 0ee9afdaad..dea9bc655c 100644 --- a/tests/bits/normals_1.cc +++ b/tests/bits/normals_1.cc @@ -91,8 +91,7 @@ void check (const Triangulation &tria) int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); { diff --git a/tests/bits/normals_2.cc b/tests/bits/normals_2.cc index 8e7278e64a..52477d1625 100644 --- a/tests/bits/normals_2.cc +++ b/tests/bits/normals_2.cc @@ -101,8 +101,7 @@ void check (const Triangulation &tria, int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); { diff --git a/tests/bits/normals_3.cc b/tests/bits/normals_3.cc index e637c51db2..ce012806ec 100644 --- a/tests/bits/normals_3.cc +++ b/tests/bits/normals_3.cc @@ -96,8 +96,7 @@ void check (const Triangulation &tria) int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); { diff --git a/tests/bits/normals_4.cc b/tests/bits/normals_4.cc index 7363445915..6d2011af20 100644 --- a/tests/bits/normals_4.cc +++ b/tests/bits/normals_4.cc @@ -96,8 +96,7 @@ void check (const Triangulation &tria) int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); { diff --git a/tests/bits/oliver_01.cc b/tests/bits/oliver_01.cc index 96747136cd..8bac2d9ac1 100644 --- a/tests/bits/oliver_01.cc +++ b/tests/bits/oliver_01.cc @@ -29,8 +29,7 @@ int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); // this test only needs to compile, not run diff --git a/tests/bits/parsed_function.cc b/tests/bits/parsed_function.cc index 6c10cc0d47..12f7e3014c 100644 --- a/tests/bits/parsed_function.cc +++ b/tests/bits/parsed_function.cc @@ -95,8 +95,7 @@ void Test() int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); Test<1>(); diff --git a/tests/bits/periodic_flux_coupling_01.cc b/tests/bits/periodic_flux_coupling_01.cc index 4573283548..070ffdd445 100644 --- a/tests/bits/periodic_flux_coupling_01.cc +++ b/tests/bits/periodic_flux_coupling_01.cc @@ -129,8 +129,7 @@ void MakeFlux::run() int main (int argc, char **argv) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/bits/periodicity_01.cc b/tests/bits/periodicity_01.cc index ffd80c3ae7..df722919db 100644 --- a/tests/bits/periodicity_01.cc +++ b/tests/bits/periodicity_01.cc @@ -65,8 +65,7 @@ void test () int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); test<2>(); diff --git a/tests/bits/periodicity_02.cc b/tests/bits/periodicity_02.cc index 2e79c7f12e..7065510a45 100644 --- a/tests/bits/periodicity_02.cc +++ b/tests/bits/periodicity_02.cc @@ -70,8 +70,7 @@ void test () int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); test<2>(); diff --git a/tests/bits/periodicity_03.cc b/tests/bits/periodicity_03.cc index 53ffcfd7fc..f079481fe7 100644 --- a/tests/bits/periodicity_03.cc +++ b/tests/bits/periodicity_03.cc @@ -72,8 +72,7 @@ void test () int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); test<2>(); diff --git a/tests/bits/periodicity_04.cc b/tests/bits/periodicity_04.cc index bbff4dcc11..f7ee580bd4 100644 --- a/tests/bits/periodicity_04.cc +++ b/tests/bits/periodicity_04.cc @@ -80,8 +80,7 @@ void test () int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); test<2>(); diff --git a/tests/bits/periodicity_05.cc b/tests/bits/periodicity_05.cc index 393af49932..c383d1bd0b 100644 --- a/tests/bits/periodicity_05.cc +++ b/tests/bits/periodicity_05.cc @@ -158,8 +158,7 @@ void Deal2PeriodicBug::makeGrid() int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); Deal2PeriodicBug Deal2Bug; diff --git a/tests/bits/point_inside_1.cc b/tests/bits/point_inside_1.cc index 6ed2be7daf..c87d146699 100644 --- a/tests/bits/point_inside_1.cc +++ b/tests/bits/point_inside_1.cc @@ -74,8 +74,7 @@ void check () int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); check<2> (); diff --git a/tests/bits/point_inside_2.cc b/tests/bits/point_inside_2.cc index 260cd6c1f2..bd75884ef4 100644 --- a/tests/bits/point_inside_2.cc +++ b/tests/bits/point_inside_2.cc @@ -90,8 +90,7 @@ void check () int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); check<2> (); diff --git a/tests/bits/q_point_sum_1.cc b/tests/bits/q_point_sum_1.cc index 2a6134aa83..2fbd69c7ad 100644 --- a/tests/bits/q_point_sum_1.cc +++ b/tests/bits/q_point_sum_1.cc @@ -91,8 +91,7 @@ void check (const Triangulation &tria) int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); { diff --git a/tests/bits/q_point_sum_2.cc b/tests/bits/q_point_sum_2.cc index cd04a09afa..99590b2c50 100644 --- a/tests/bits/q_point_sum_2.cc +++ b/tests/bits/q_point_sum_2.cc @@ -99,8 +99,7 @@ void check (const Triangulation &tria, int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); { diff --git a/tests/bits/q_point_sum_3.cc b/tests/bits/q_point_sum_3.cc index 8bd71ecf41..2c538cff8d 100644 --- a/tests/bits/q_point_sum_3.cc +++ b/tests/bits/q_point_sum_3.cc @@ -98,8 +98,7 @@ void check (const Triangulation &tria) int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); { diff --git a/tests/bits/q_point_sum_4.cc b/tests/bits/q_point_sum_4.cc index c6bcfdac51..c5bb955791 100644 --- a/tests/bits/q_point_sum_4.cc +++ b/tests/bits/q_point_sum_4.cc @@ -98,8 +98,7 @@ void check (const Triangulation &tria) int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); { diff --git a/tests/bits/q_points.cc b/tests/bits/q_points.cc index 8f2b45cfb6..395638cdec 100644 --- a/tests/bits/q_points.cc +++ b/tests/bits/q_points.cc @@ -125,8 +125,7 @@ void check (Triangulation<3> &tria) int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); Triangulation<3> coarse_grid; diff --git a/tests/bits/refine_and_coarsen_1d.cc b/tests/bits/refine_and_coarsen_1d.cc index 26c1ad187d..ac8cd3eca0 100644 --- a/tests/bits/refine_and_coarsen_1d.cc +++ b/tests/bits/refine_and_coarsen_1d.cc @@ -80,8 +80,7 @@ void check () int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); check<1> (); diff --git a/tests/bits/refine_and_coarsen_2d.cc b/tests/bits/refine_and_coarsen_2d.cc index 68c2384b5d..09cc9b23e9 100644 --- a/tests/bits/refine_and_coarsen_2d.cc +++ b/tests/bits/refine_and_coarsen_2d.cc @@ -80,8 +80,7 @@ void check () int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); check<2> (); diff --git a/tests/bits/refine_and_coarsen_3d.cc b/tests/bits/refine_and_coarsen_3d.cc index 76a530141a..08e1de4e21 100644 --- a/tests/bits/refine_and_coarsen_3d.cc +++ b/tests/bits/refine_and_coarsen_3d.cc @@ -82,8 +82,7 @@ void check () int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); check<3> (); diff --git a/tests/bits/refine_and_coarsen_for_active_cell_index.cc b/tests/bits/refine_and_coarsen_for_active_cell_index.cc index 6b3c3174a9..c9dfdee72e 100644 --- a/tests/bits/refine_and_coarsen_for_active_cell_index.cc +++ b/tests/bits/refine_and_coarsen_for_active_cell_index.cc @@ -114,8 +114,7 @@ void check () int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); check<1> (); diff --git a/tests/bits/refine_and_coarsen_for_active_cell_index_02.cc b/tests/bits/refine_and_coarsen_for_active_cell_index_02.cc index 31887feb39..f2f6655be9 100644 --- a/tests/bits/refine_and_coarsen_for_active_cell_index_02.cc +++ b/tests/bits/refine_and_coarsen_for_active_cell_index_02.cc @@ -118,8 +118,7 @@ void check () int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); check<1> (); diff --git a/tests/bits/refine_and_coarsen_for_active_cell_index_03.cc b/tests/bits/refine_and_coarsen_for_active_cell_index_03.cc index ac1145e2f7..38d98a869e 100644 --- a/tests/bits/refine_and_coarsen_for_active_cell_index_03.cc +++ b/tests/bits/refine_and_coarsen_for_active_cell_index_03.cc @@ -117,8 +117,7 @@ void check () int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); check<1> (); diff --git a/tests/bits/refine_and_coarsen_for_active_cell_index_04.cc b/tests/bits/refine_and_coarsen_for_active_cell_index_04.cc index 178c4fdae9..f9a0bbdfec 100644 --- a/tests/bits/refine_and_coarsen_for_active_cell_index_04.cc +++ b/tests/bits/refine_and_coarsen_for_active_cell_index_04.cc @@ -130,8 +130,7 @@ void check () int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); check<1> (); diff --git a/tests/bits/refine_and_coarsen_for_active_cell_index_05.cc b/tests/bits/refine_and_coarsen_for_active_cell_index_05.cc index c02a4e5bc3..9a46729994 100644 --- a/tests/bits/refine_and_coarsen_for_active_cell_index_05.cc +++ b/tests/bits/refine_and_coarsen_for_active_cell_index_05.cc @@ -161,8 +161,7 @@ void check () int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); check<1> (); diff --git a/tests/bits/refine_and_coarsen_for_parents.cc b/tests/bits/refine_and_coarsen_for_parents.cc index b332e15eb3..930fa3a444 100644 --- a/tests/bits/refine_and_coarsen_for_parents.cc +++ b/tests/bits/refine_and_coarsen_for_parents.cc @@ -115,8 +115,7 @@ void check () int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); check<1> (); diff --git a/tests/bits/refine_and_coarsen_for_parents_02.cc b/tests/bits/refine_and_coarsen_for_parents_02.cc index 4c3954901e..00cacc2015 100644 --- a/tests/bits/refine_and_coarsen_for_parents_02.cc +++ b/tests/bits/refine_and_coarsen_for_parents_02.cc @@ -116,8 +116,7 @@ void check () int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); check<1> (); diff --git a/tests/bits/refine_and_coarsen_for_parents_03.cc b/tests/bits/refine_and_coarsen_for_parents_03.cc index 78561064ba..a0fe3c764e 100644 --- a/tests/bits/refine_and_coarsen_for_parents_03.cc +++ b/tests/bits/refine_and_coarsen_for_parents_03.cc @@ -115,8 +115,7 @@ void check () int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); check<1> (); diff --git a/tests/bits/roy_1.cc b/tests/bits/roy_1.cc index df014749ae..3516aa55ca 100644 --- a/tests/bits/roy_1.cc +++ b/tests/bits/roy_1.cc @@ -75,8 +75,7 @@ void check () int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); // check<1> (); diff --git a/tests/bits/rt_1.cc b/tests/bits/rt_1.cc index 622501e3b6..be41825107 100644 --- a/tests/bits/rt_1.cc +++ b/tests/bits/rt_1.cc @@ -60,8 +60,7 @@ void test (const unsigned int degree, int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); for (unsigned int degree=0; degree<3; ++degree) diff --git a/tests/bits/rt_2.cc b/tests/bits/rt_2.cc index af61feed68..033c084d9e 100644 --- a/tests/bits/rt_2.cc +++ b/tests/bits/rt_2.cc @@ -134,8 +134,7 @@ void evaluate_normal (DoFHandler<2> &dof_handler, int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); Triangulation<2> tria_test; diff --git a/tests/bits/serialize_dof_handler.cc b/tests/bits/serialize_dof_handler.cc index 92b9956c80..3c65db5afe 100644 --- a/tests/bits/serialize_dof_handler.cc +++ b/tests/bits/serialize_dof_handler.cc @@ -36,8 +36,7 @@ int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); Triangulation<2> triangulation; diff --git a/tests/bits/serialize_hp_dof_handler.cc b/tests/bits/serialize_hp_dof_handler.cc index e26bc11668..cc0fb56e93 100644 --- a/tests/bits/serialize_hp_dof_handler.cc +++ b/tests/bits/serialize_hp_dof_handler.cc @@ -37,8 +37,7 @@ int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); Triangulation<2> triangulation; diff --git a/tests/bits/solver_01.cc b/tests/bits/solver_01.cc index 4b1a2a9ab0..7c29e6a99f 100644 --- a/tests/bits/solver_01.cc +++ b/tests/bits/solver_01.cc @@ -9695,8 +9695,7 @@ void test () int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); test (); diff --git a/tests/bits/sparse_lu_decomposition_1.cc b/tests/bits/sparse_lu_decomposition_1.cc index d64b717141..7016f716b2 100644 --- a/tests/bits/sparse_lu_decomposition_1.cc +++ b/tests/bits/sparse_lu_decomposition_1.cc @@ -32,8 +32,7 @@ int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); SmartPointer > sparse_decomp; diff --git a/tests/bits/sparse_matrix_01.cc b/tests/bits/sparse_matrix_01.cc index 8b33bb3e09..8c73fe3f71 100644 --- a/tests/bits/sparse_matrix_01.cc +++ b/tests/bits/sparse_matrix_01.cc @@ -61,8 +61,7 @@ void test () int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/bits/sparse_matrix_02.cc b/tests/bits/sparse_matrix_02.cc index 6b611ebb54..80effbac12 100644 --- a/tests/bits/sparse_matrix_02.cc +++ b/tests/bits/sparse_matrix_02.cc @@ -60,8 +60,7 @@ void test () int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/bits/sparse_matrix_03.cc b/tests/bits/sparse_matrix_03.cc index b09ab95e1e..509e057c7e 100644 --- a/tests/bits/sparse_matrix_03.cc +++ b/tests/bits/sparse_matrix_03.cc @@ -67,8 +67,7 @@ void test () int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/bits/sparse_matrix_03a.cc b/tests/bits/sparse_matrix_03a.cc index 3b74314904..9a9399f436 100644 --- a/tests/bits/sparse_matrix_03a.cc +++ b/tests/bits/sparse_matrix_03a.cc @@ -71,8 +71,7 @@ void test () int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/bits/sparse_matrix_04.cc b/tests/bits/sparse_matrix_04.cc index f84dd82b7f..78814b5a40 100644 --- a/tests/bits/sparse_matrix_04.cc +++ b/tests/bits/sparse_matrix_04.cc @@ -43,8 +43,7 @@ void test () int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/bits/sparse_matrix_05.cc b/tests/bits/sparse_matrix_05.cc index bd7ab10556..e07faae1be 100644 --- a/tests/bits/sparse_matrix_05.cc +++ b/tests/bits/sparse_matrix_05.cc @@ -64,8 +64,7 @@ void test () int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/bits/sparse_matrix_05a.cc b/tests/bits/sparse_matrix_05a.cc index 0d3261f03d..db58817019 100644 --- a/tests/bits/sparse_matrix_05a.cc +++ b/tests/bits/sparse_matrix_05a.cc @@ -58,8 +58,7 @@ void test () int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/bits/sparse_matrix_06.cc b/tests/bits/sparse_matrix_06.cc index 97663f3e03..647fa38766 100644 --- a/tests/bits/sparse_matrix_06.cc +++ b/tests/bits/sparse_matrix_06.cc @@ -52,8 +52,7 @@ void test () int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/bits/sparse_matrix_07.cc b/tests/bits/sparse_matrix_07.cc index df3925840f..0a8a6a41a0 100644 --- a/tests/bits/sparse_matrix_07.cc +++ b/tests/bits/sparse_matrix_07.cc @@ -52,8 +52,7 @@ void test () int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/bits/sparse_matrix_08.cc b/tests/bits/sparse_matrix_08.cc index 52f9938c2b..b8d7961d54 100644 --- a/tests/bits/sparse_matrix_08.cc +++ b/tests/bits/sparse_matrix_08.cc @@ -57,8 +57,7 @@ void test () int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/bits/sparse_matrix_09.cc b/tests/bits/sparse_matrix_09.cc index 3f77df44fd..a54a6839da 100644 --- a/tests/bits/sparse_matrix_09.cc +++ b/tests/bits/sparse_matrix_09.cc @@ -63,8 +63,7 @@ void test () int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/bits/sparse_matrix_10.cc b/tests/bits/sparse_matrix_10.cc index 6d23b0c67e..583b2cf46b 100644 --- a/tests/bits/sparse_matrix_10.cc +++ b/tests/bits/sparse_matrix_10.cc @@ -63,8 +63,7 @@ void test () int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/bits/sparse_matrix_add_entries_01.cc b/tests/bits/sparse_matrix_add_entries_01.cc index 94aa48dc54..ec07006180 100644 --- a/tests/bits/sparse_matrix_add_entries_01.cc +++ b/tests/bits/sparse_matrix_add_entries_01.cc @@ -100,8 +100,7 @@ int main () { deal_II_exceptions::disable_abort_on_exception(); - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/bits/sparse_matrix_add_entries_02.cc b/tests/bits/sparse_matrix_add_entries_02.cc index 4fe8ce65a9..1d32dd1b2d 100644 --- a/tests/bits/sparse_matrix_add_entries_02.cc +++ b/tests/bits/sparse_matrix_add_entries_02.cc @@ -75,8 +75,7 @@ void test () int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/bits/sparse_matrix_add_entries_03.cc b/tests/bits/sparse_matrix_add_entries_03.cc index cb7d7fd336..0dbc0ff3cd 100644 --- a/tests/bits/sparse_matrix_add_entries_03.cc +++ b/tests/bits/sparse_matrix_add_entries_03.cc @@ -76,8 +76,7 @@ void test () int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/bits/sparse_matrix_add_entries_04.cc b/tests/bits/sparse_matrix_add_entries_04.cc index de1251c1a5..b2ed3fa31f 100644 --- a/tests/bits/sparse_matrix_add_entries_04.cc +++ b/tests/bits/sparse_matrix_add_entries_04.cc @@ -74,8 +74,7 @@ void test () int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/bits/sparse_matrix_add_entries_05.cc b/tests/bits/sparse_matrix_add_entries_05.cc index 6bc1dae7a0..bc71564ef3 100644 --- a/tests/bits/sparse_matrix_add_entries_05.cc +++ b/tests/bits/sparse_matrix_add_entries_05.cc @@ -74,8 +74,7 @@ void test () int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/bits/sparse_matrix_add_entries_06.cc b/tests/bits/sparse_matrix_add_entries_06.cc index 0998549ea7..15577e4558 100644 --- a/tests/bits/sparse_matrix_add_entries_06.cc +++ b/tests/bits/sparse_matrix_add_entries_06.cc @@ -79,8 +79,7 @@ void test () int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/bits/sparse_matrix_iterator_01.cc b/tests/bits/sparse_matrix_iterator_01.cc index 037ba07143..bf09ce893f 100644 --- a/tests/bits/sparse_matrix_iterator_01.cc +++ b/tests/bits/sparse_matrix_iterator_01.cc @@ -48,8 +48,7 @@ void test () int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/bits/sparse_matrix_iterator_02.cc b/tests/bits/sparse_matrix_iterator_02.cc index 7d7a14354e..dda517e9a6 100644 --- a/tests/bits/sparse_matrix_iterator_02.cc +++ b/tests/bits/sparse_matrix_iterator_02.cc @@ -59,8 +59,7 @@ void test () int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/bits/sparse_matrix_iterator_03.cc b/tests/bits/sparse_matrix_iterator_03.cc index a7c4dbf400..f49143978d 100644 --- a/tests/bits/sparse_matrix_iterator_03.cc +++ b/tests/bits/sparse_matrix_iterator_03.cc @@ -59,8 +59,7 @@ void test () int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/bits/sparse_matrix_iterator_04.cc b/tests/bits/sparse_matrix_iterator_04.cc index 6f7eaaacf7..0ae3f94158 100644 --- a/tests/bits/sparse_matrix_iterator_04.cc +++ b/tests/bits/sparse_matrix_iterator_04.cc @@ -58,8 +58,7 @@ void test () int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/bits/sparse_matrix_iterator_05.cc b/tests/bits/sparse_matrix_iterator_05.cc index 1a1623f42a..17e106fc27 100644 --- a/tests/bits/sparse_matrix_iterator_05.cc +++ b/tests/bits/sparse_matrix_iterator_05.cc @@ -65,8 +65,7 @@ void test () int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/bits/sparse_matrix_iterator_06.cc b/tests/bits/sparse_matrix_iterator_06.cc index ac944806da..938537bfdd 100644 --- a/tests/bits/sparse_matrix_iterator_06.cc +++ b/tests/bits/sparse_matrix_iterator_06.cc @@ -65,8 +65,7 @@ void test () int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/bits/sparse_matrix_iterator_07.cc b/tests/bits/sparse_matrix_iterator_07.cc index 5b63cf50de..4b6c9f34ec 100644 --- a/tests/bits/sparse_matrix_iterator_07.cc +++ b/tests/bits/sparse_matrix_iterator_07.cc @@ -65,8 +65,7 @@ void test () int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/bits/sparse_matrix_iterator_08.cc b/tests/bits/sparse_matrix_iterator_08.cc index 221ccfccf0..c270408588 100644 --- a/tests/bits/sparse_matrix_iterator_08.cc +++ b/tests/bits/sparse_matrix_iterator_08.cc @@ -65,8 +65,7 @@ void test () int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/bits/sparse_matrix_iterator_09.cc b/tests/bits/sparse_matrix_iterator_09.cc index ef20bc0085..2b4ff02061 100644 --- a/tests/bits/sparse_matrix_iterator_09.cc +++ b/tests/bits/sparse_matrix_iterator_09.cc @@ -49,8 +49,7 @@ void test () int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/bits/sparse_matrix_iterator_10.cc b/tests/bits/sparse_matrix_iterator_10.cc index da71221578..3d88e9236a 100644 --- a/tests/bits/sparse_matrix_iterator_10.cc +++ b/tests/bits/sparse_matrix_iterator_10.cc @@ -51,8 +51,7 @@ void test () int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/bits/sparse_matrix_iterator_11.cc b/tests/bits/sparse_matrix_iterator_11.cc index bba98d06fd..71b2ec816c 100644 --- a/tests/bits/sparse_matrix_iterator_11.cc +++ b/tests/bits/sparse_matrix_iterator_11.cc @@ -59,8 +59,7 @@ void test () int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/bits/sparse_matrix_iterator_12.cc b/tests/bits/sparse_matrix_iterator_12.cc index 35cb0d3891..48eb3270bc 100644 --- a/tests/bits/sparse_matrix_iterator_12.cc +++ b/tests/bits/sparse_matrix_iterator_12.cc @@ -59,8 +59,7 @@ void test () int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/bits/sparse_matrix_iterator_13.cc b/tests/bits/sparse_matrix_iterator_13.cc index be412590c0..e04d06f016 100644 --- a/tests/bits/sparse_matrix_iterator_13.cc +++ b/tests/bits/sparse_matrix_iterator_13.cc @@ -74,8 +74,7 @@ void test () int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/bits/sparse_matrix_vector_01.cc b/tests/bits/sparse_matrix_vector_01.cc index 0bfdcc4dac..7d9d3fbca1 100644 --- a/tests/bits/sparse_matrix_vector_01.cc +++ b/tests/bits/sparse_matrix_vector_01.cc @@ -69,8 +69,7 @@ void test (Vector &v, int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/bits/sparse_matrix_vector_02.cc b/tests/bits/sparse_matrix_vector_02.cc index ff3fa96d72..3d5c2372e2 100644 --- a/tests/bits/sparse_matrix_vector_02.cc +++ b/tests/bits/sparse_matrix_vector_02.cc @@ -69,8 +69,7 @@ void test (Vector &v, int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/bits/sparse_matrix_vector_03.cc b/tests/bits/sparse_matrix_vector_03.cc index fa0897bbde..8f6653a8fc 100644 --- a/tests/bits/sparse_matrix_vector_03.cc +++ b/tests/bits/sparse_matrix_vector_03.cc @@ -72,8 +72,7 @@ void test (Vector &v, int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/bits/sparse_matrix_vector_04.cc b/tests/bits/sparse_matrix_vector_04.cc index ce542a4a1f..7691957264 100644 --- a/tests/bits/sparse_matrix_vector_04.cc +++ b/tests/bits/sparse_matrix_vector_04.cc @@ -72,8 +72,7 @@ void test (Vector &v, int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/bits/sparse_matrix_vector_05.cc b/tests/bits/sparse_matrix_vector_05.cc index 26d4b63a46..74890ba7d0 100644 --- a/tests/bits/sparse_matrix_vector_05.cc +++ b/tests/bits/sparse_matrix_vector_05.cc @@ -75,8 +75,7 @@ void test (Vector &v, int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/bits/sparse_matrix_vector_06.cc b/tests/bits/sparse_matrix_vector_06.cc index 743e90c949..5019ab608e 100644 --- a/tests/bits/sparse_matrix_vector_06.cc +++ b/tests/bits/sparse_matrix_vector_06.cc @@ -67,8 +67,7 @@ void test (Vector &v) int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/bits/sparse_matrix_vector_07.cc b/tests/bits/sparse_matrix_vector_07.cc index e1c712891c..14c24d1464 100644 --- a/tests/bits/sparse_matrix_vector_07.cc +++ b/tests/bits/sparse_matrix_vector_07.cc @@ -77,8 +77,7 @@ void test (Vector &v, int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/bits/step-4_dg_periodic.cc b/tests/bits/step-4_dg_periodic.cc index 6df5fe7da9..dc87ad30fd 100644 --- a/tests/bits/step-4_dg_periodic.cc +++ b/tests/bits/step-4_dg_periodic.cc @@ -286,8 +286,7 @@ void Step4::run() int main (int argc, char **argv) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/bits/step-4_dg_periodic_coupling.cc b/tests/bits/step-4_dg_periodic_coupling.cc index 4fda388007..8b18b3c5ae 100644 --- a/tests/bits/step-4_dg_periodic_coupling.cc +++ b/tests/bits/step-4_dg_periodic_coupling.cc @@ -294,8 +294,7 @@ void Step4::run() int main (int argc, char **argv) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/bits/tria_crash_01.cc b/tests/bits/tria_crash_01.cc index b80dc2d7a3..5d7471988f 100644 --- a/tests/bits/tria_crash_01.cc +++ b/tests/bits/tria_crash_01.cc @@ -39,8 +39,7 @@ bool predicate (const Point<3> &p, int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); const unsigned int dim=3; Triangulation tria; diff --git a/tests/bits/unit_support_points.cc b/tests/bits/unit_support_points.cc index 292b57151c..852c5d2d6a 100644 --- a/tests/bits/unit_support_points.cc +++ b/tests/bits/unit_support_points.cc @@ -147,8 +147,7 @@ void check () int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); check<1> (); diff --git a/tests/bits/unit_support_points_02.cc b/tests/bits/unit_support_points_02.cc index 3d8ba9f6ca..638d9fa20d 100644 --- a/tests/bits/unit_support_points_02.cc +++ b/tests/bits/unit_support_points_02.cc @@ -60,8 +60,7 @@ void check () int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); check<2> (); diff --git a/tests/bits/volume_1.cc b/tests/bits/volume_1.cc index 447dc8a0c6..5b2b472ca9 100644 --- a/tests/bits/volume_1.cc +++ b/tests/bits/volume_1.cc @@ -98,8 +98,7 @@ void check (const Triangulation &tria) int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); { diff --git a/tests/bits/volume_2.cc b/tests/bits/volume_2.cc index c135513826..baca0725e3 100644 --- a/tests/bits/volume_2.cc +++ b/tests/bits/volume_2.cc @@ -108,8 +108,7 @@ void check (const Triangulation &tria, int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); { diff --git a/tests/bits/volume_3.cc b/tests/bits/volume_3.cc index 5b65810f04..d92133fa30 100644 --- a/tests/bits/volume_3.cc +++ b/tests/bits/volume_3.cc @@ -104,8 +104,7 @@ void check (const Triangulation &tria) int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); { diff --git a/tests/bits/volume_4.cc b/tests/bits/volume_4.cc index f675f16912..7048c7c9ce 100644 --- a/tests/bits/volume_4.cc +++ b/tests/bits/volume_4.cc @@ -104,8 +104,7 @@ void check (const Triangulation &tria) int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); { diff --git a/tests/codim_one/extract_boundary_mesh_07.cc b/tests/codim_one/extract_boundary_mesh_07.cc index e8cef9d691..14a40daa9a 100644 --- a/tests/codim_one/extract_boundary_mesh_07.cc +++ b/tests/codim_one/extract_boundary_mesh_07.cc @@ -107,8 +107,7 @@ namespace Step38 int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); { using namespace dealii; diff --git a/tests/codim_one/extract_boundary_mesh_08.cc b/tests/codim_one/extract_boundary_mesh_08.cc index 7034cdfe63..ec3a16aa15 100644 --- a/tests/codim_one/extract_boundary_mesh_08.cc +++ b/tests/codim_one/extract_boundary_mesh_08.cc @@ -46,8 +46,7 @@ void test() int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); test(); } diff --git a/tests/codim_one/extract_boundary_mesh_09.cc b/tests/codim_one/extract_boundary_mesh_09.cc index 3583aa8cfe..8f4de8024b 100644 --- a/tests/codim_one/extract_boundary_mesh_09.cc +++ b/tests/codim_one/extract_boundary_mesh_09.cc @@ -106,8 +106,7 @@ void test() int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); test(); } diff --git a/tests/codim_one/extract_boundary_mesh_10.cc b/tests/codim_one/extract_boundary_mesh_10.cc index e2d59166e7..159b0344e5 100644 --- a/tests/codim_one/extract_boundary_mesh_10.cc +++ b/tests/codim_one/extract_boundary_mesh_10.cc @@ -66,8 +66,7 @@ void test() int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); test(); } diff --git a/tests/codim_one/extract_boundary_mesh_11.cc b/tests/codim_one/extract_boundary_mesh_11.cc index a196f1aef1..a850b9024d 100644 --- a/tests/codim_one/extract_boundary_mesh_11.cc +++ b/tests/codim_one/extract_boundary_mesh_11.cc @@ -71,8 +71,7 @@ void test() int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); test(); } diff --git a/tests/codim_one/extract_boundary_mesh_12.cc b/tests/codim_one/extract_boundary_mesh_12.cc index 7a6f2ea5e1..7ad69aa08c 100644 --- a/tests/codim_one/extract_boundary_mesh_12.cc +++ b/tests/codim_one/extract_boundary_mesh_12.cc @@ -60,8 +60,7 @@ void test() int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.depth_console(0); test(); diff --git a/tests/codim_one/extract_boundary_mesh_13.cc b/tests/codim_one/extract_boundary_mesh_13.cc index 47fef50c0f..cc62ef8ac9 100644 --- a/tests/codim_one/extract_boundary_mesh_13.cc +++ b/tests/codim_one/extract_boundary_mesh_13.cc @@ -72,8 +72,7 @@ void test() int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); test(); } diff --git a/tests/codim_one/fe_dgq_prolongation_01.cc b/tests/codim_one/fe_dgq_prolongation_01.cc index 8162d69bb1..5100eaa3fe 100644 --- a/tests/codim_one/fe_dgq_prolongation_01.cc +++ b/tests/codim_one/fe_dgq_prolongation_01.cc @@ -28,8 +28,7 @@ using namespace dealii; int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); const unsigned int spacedim = 2; const unsigned int dim = spacedim-1; diff --git a/tests/codim_one/hanging_nodes_01.cc b/tests/codim_one/hanging_nodes_01.cc index 93af22c5ec..e2821fa8a1 100644 --- a/tests/codim_one/hanging_nodes_01.cc +++ b/tests/codim_one/hanging_nodes_01.cc @@ -35,8 +35,7 @@ int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); const unsigned int spacedim = 3; const unsigned int dim = spacedim-1; diff --git a/tests/codim_one/hanging_nodes_02.cc b/tests/codim_one/hanging_nodes_02.cc index 53b2a67866..bae3fc0db6 100644 --- a/tests/codim_one/hanging_nodes_02.cc +++ b/tests/codim_one/hanging_nodes_02.cc @@ -35,8 +35,7 @@ int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); const unsigned int spacedim = 3; const unsigned int dim = spacedim-1; diff --git a/tests/codim_one/hanging_nodes_03.cc b/tests/codim_one/hanging_nodes_03.cc index 427885e89e..dc24c19563 100644 --- a/tests/codim_one/hanging_nodes_03.cc +++ b/tests/codim_one/hanging_nodes_03.cc @@ -29,8 +29,7 @@ int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); const unsigned int spacedim = 3; const unsigned int dim = spacedim-1; diff --git a/tests/codim_one/mapping_01.cc b/tests/codim_one/mapping_01.cc index 4c2d2608aa..23f8239f51 100644 --- a/tests/codim_one/mapping_01.cc +++ b/tests/codim_one/mapping_01.cc @@ -75,8 +75,7 @@ void test () int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); test<2> (); test<3> (); diff --git a/tests/codim_one/mapping_02.cc b/tests/codim_one/mapping_02.cc index 8f0e73d757..89e6f80235 100644 --- a/tests/codim_one/mapping_02.cc +++ b/tests/codim_one/mapping_02.cc @@ -72,8 +72,7 @@ void test () int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); test<2> (); test<3> (); diff --git a/tests/codim_one/mapping_03.cc b/tests/codim_one/mapping_03.cc index 89d68fe2fc..90c030650f 100644 --- a/tests/codim_one/mapping_03.cc +++ b/tests/codim_one/mapping_03.cc @@ -59,8 +59,7 @@ void test (unsigned int degree) int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); test<2> (1); test<2> (2); diff --git a/tests/codim_one/normal_vectors_01.cc b/tests/codim_one/normal_vectors_01.cc index 6d23412345..3d2ab4cbb8 100644 --- a/tests/codim_one/normal_vectors_01.cc +++ b/tests/codim_one/normal_vectors_01.cc @@ -75,8 +75,7 @@ void test () int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); // test<2> (); test<3> (); diff --git a/tests/codim_one/solution_transfer_01.cc b/tests/codim_one/solution_transfer_01.cc index ec6b2a1381..2b8472c557 100644 --- a/tests/codim_one/solution_transfer_01.cc +++ b/tests/codim_one/solution_transfer_01.cc @@ -50,8 +50,7 @@ using namespace dealii; int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); const unsigned int spacedim = 2; const unsigned int dim = spacedim-1; diff --git a/tests/codim_one/transform_01.cc b/tests/codim_one/transform_01.cc index a9fc956db2..5ceb162132 100644 --- a/tests/codim_one/transform_01.cc +++ b/tests/codim_one/transform_01.cc @@ -53,8 +53,7 @@ void save_mesh(const Triangulation &tria) int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); Triangulation<2,3> triangulation; diff --git a/tests/cuda/cuda_vector_01.cu b/tests/cuda/cuda_vector_01.cu index 2632adc84a..2a241ad519 100644 --- a/tests/cuda/cuda_vector_01.cu +++ b/tests/cuda/cuda_vector_01.cu @@ -107,8 +107,7 @@ void test() int main(int argc, char **argv) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.depth_console(0); deallog.threshold_double(1.e-10); diff --git a/tests/cuda/cuda_vector_02.cu b/tests/cuda/cuda_vector_02.cu index dcb0f16c36..abc3dfb972 100644 --- a/tests/cuda/cuda_vector_02.cu +++ b/tests/cuda/cuda_vector_02.cu @@ -102,8 +102,7 @@ void test() int main(int argc, char **argv) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.depth_console(0); deallog.threshold_double(1.e-10); diff --git a/tests/distributed_grids/3d_coarse_grid_02.cc b/tests/distributed_grids/3d_coarse_grid_02.cc index a6998e420a..05fa88684a 100644 --- a/tests/distributed_grids/3d_coarse_grid_02.cc +++ b/tests/distributed_grids/3d_coarse_grid_02.cc @@ -54,8 +54,7 @@ int main(int argc, char *argv[]) { Utilities::MPI::MPI_InitFinalize mpi_initialization (argc, argv, 1); - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); deallog.push("3d"); diff --git a/tests/distributed_grids/count_dofs_per_block_01.cc b/tests/distributed_grids/count_dofs_per_block_01.cc index 7b4b959ad3..efde0b7d24 100644 --- a/tests/distributed_grids/count_dofs_per_block_01.cc +++ b/tests/distributed_grids/count_dofs_per_block_01.cc @@ -118,8 +118,7 @@ int main(int argc, char *argv[]) unsigned int myid = Utilities::MPI::this_mpi_process (MPI_COMM_WORLD); if (myid == 0) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); deallog.push("2d"); diff --git a/tests/distributed_grids/count_dofs_per_component_01.cc b/tests/distributed_grids/count_dofs_per_component_01.cc index 1f39f5b91a..fab83eaf97 100644 --- a/tests/distributed_grids/count_dofs_per_component_01.cc +++ b/tests/distributed_grids/count_dofs_per_component_01.cc @@ -84,8 +84,7 @@ int main(int argc, char *argv[]) unsigned int myid = Utilities::MPI::this_mpi_process (MPI_COMM_WORLD); if (myid == 0) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); deallog.push("2d"); diff --git a/tests/distributed_grids/dof_handler_number_cache.cc b/tests/distributed_grids/dof_handler_number_cache.cc index 9b01504780..1db11648e8 100644 --- a/tests/distributed_grids/dof_handler_number_cache.cc +++ b/tests/distributed_grids/dof_handler_number_cache.cc @@ -120,8 +120,7 @@ int main(int argc, char *argv[]) unsigned int myid = Utilities::MPI::this_mpi_process (MPI_COMM_WORLD); if (myid == 0) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); deallog.push("2d"); diff --git a/tests/distributed_grids/subdomain_id_01.cc b/tests/distributed_grids/subdomain_id_01.cc index d604665ab1..eccc8dc52f 100644 --- a/tests/distributed_grids/subdomain_id_01.cc +++ b/tests/distributed_grids/subdomain_id_01.cc @@ -64,8 +64,7 @@ int main (int argc, char *argv[]) deal_II_exceptions::disable_abort_on_exception(); Utilities::MPI::MPI_InitFinalize mpi_initialization (argc, argv, 1); - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); Triangulation<2> tria; diff --git a/tests/distributed_grids/update_number_cache_01.cc b/tests/distributed_grids/update_number_cache_01.cc index ba42cd8bb5..5e9dfd923c 100644 --- a/tests/distributed_grids/update_number_cache_01.cc +++ b/tests/distributed_grids/update_number_cache_01.cc @@ -51,8 +51,7 @@ int main(int argc, char *argv[]) { Utilities::MPI::MPI_InitFinalize mpi_initialization (argc, argv, 1); - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); deallog.push("2d"); diff --git a/tests/dofs/dof_accessor_01.cc b/tests/dofs/dof_accessor_01.cc index 8d8ca59ec6..9dd53f2922 100644 --- a/tests/dofs/dof_accessor_01.cc +++ b/tests/dofs/dof_accessor_01.cc @@ -66,8 +66,7 @@ void test () int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); test<1> (); test<2> (); diff --git a/tests/dofs/dof_constraints_01.cc b/tests/dofs/dof_constraints_01.cc index 2b25282534..790cead890 100644 --- a/tests/dofs/dof_constraints_01.cc +++ b/tests/dofs/dof_constraints_01.cc @@ -129,8 +129,7 @@ void test () int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/dofs/dof_constraints_02.cc b/tests/dofs/dof_constraints_02.cc index 434ce60bbc..6df057895d 100644 --- a/tests/dofs/dof_constraints_02.cc +++ b/tests/dofs/dof_constraints_02.cc @@ -120,8 +120,7 @@ void test () int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/dofs/dof_constraints_03.cc b/tests/dofs/dof_constraints_03.cc index 2b8dc8c0ae..7f9121402d 100644 --- a/tests/dofs/dof_constraints_03.cc +++ b/tests/dofs/dof_constraints_03.cc @@ -107,8 +107,7 @@ void test () int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/dofs/dof_constraints_04.cc b/tests/dofs/dof_constraints_04.cc index a167a77ba0..df8c187f4b 100644 --- a/tests/dofs/dof_constraints_04.cc +++ b/tests/dofs/dof_constraints_04.cc @@ -85,8 +85,7 @@ void test () int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/dofs/dof_constraints_05.cc b/tests/dofs/dof_constraints_05.cc index a1313c43bf..fdf0ac069e 100644 --- a/tests/dofs/dof_constraints_05.cc +++ b/tests/dofs/dof_constraints_05.cc @@ -95,8 +95,7 @@ void test () int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/dofs/dof_constraints_06.cc b/tests/dofs/dof_constraints_06.cc index 716b0409fd..bb27c232b1 100644 --- a/tests/dofs/dof_constraints_06.cc +++ b/tests/dofs/dof_constraints_06.cc @@ -79,8 +79,7 @@ void test () int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/dofs/dof_constraints_07.cc b/tests/dofs/dof_constraints_07.cc index d724b99ac7..d64de3d36f 100644 --- a/tests/dofs/dof_constraints_07.cc +++ b/tests/dofs/dof_constraints_07.cc @@ -99,8 +99,7 @@ void test () int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/dofs/dof_constraints_08.cc b/tests/dofs/dof_constraints_08.cc index 5c92eef4b9..00a1979add 100644 --- a/tests/dofs/dof_constraints_08.cc +++ b/tests/dofs/dof_constraints_08.cc @@ -89,8 +89,7 @@ void test () int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/dofs/dof_constraints_09.cc b/tests/dofs/dof_constraints_09.cc index f5f7815b63..e838ad5f52 100644 --- a/tests/dofs/dof_constraints_09.cc +++ b/tests/dofs/dof_constraints_09.cc @@ -116,8 +116,7 @@ void test () int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/dofs/dof_constraints_10.cc b/tests/dofs/dof_constraints_10.cc index 2f644327ff..f5f38679c4 100644 --- a/tests/dofs/dof_constraints_10.cc +++ b/tests/dofs/dof_constraints_10.cc @@ -82,8 +82,7 @@ void test () int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/dofs/dof_constraints_11.cc b/tests/dofs/dof_constraints_11.cc index ac78b7335a..3f45913bdb 100644 --- a/tests/dofs/dof_constraints_11.cc +++ b/tests/dofs/dof_constraints_11.cc @@ -94,8 +94,7 @@ void test () int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/dofs/dof_constraints_11_x.cc b/tests/dofs/dof_constraints_11_x.cc index 221276f200..bfa5177dfd 100644 --- a/tests/dofs/dof_constraints_11_x.cc +++ b/tests/dofs/dof_constraints_11_x.cc @@ -92,8 +92,7 @@ void test () int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/dofs/dof_handler_number_cache.cc b/tests/dofs/dof_handler_number_cache.cc index 9700590f50..ca10c3343a 100644 --- a/tests/dofs/dof_handler_number_cache.cc +++ b/tests/dofs/dof_handler_number_cache.cc @@ -106,8 +106,7 @@ void test() int main() { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); deallog.push("1d"); diff --git a/tests/dofs/interpolate_boundary_values_01.cc b/tests/dofs/interpolate_boundary_values_01.cc index e1ee6498cb..d240e82974 100644 --- a/tests/dofs/interpolate_boundary_values_01.cc +++ b/tests/dofs/interpolate_boundary_values_01.cc @@ -206,8 +206,7 @@ void FindBug::run () int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); FindBug<2>().run (); diff --git a/tests/dofs/interpolate_boundary_values_02.cc b/tests/dofs/interpolate_boundary_values_02.cc index 699708a5f4..0052560f6d 100644 --- a/tests/dofs/interpolate_boundary_values_02.cc +++ b/tests/dofs/interpolate_boundary_values_02.cc @@ -76,8 +76,7 @@ void test () int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); test<1>(); diff --git a/tests/dofs/range_based_for_tria.cc b/tests/dofs/range_based_for_tria.cc index 369c65f8e5..862272b8f9 100644 --- a/tests/dofs/range_based_for_tria.cc +++ b/tests/dofs/range_based_for_tria.cc @@ -75,8 +75,7 @@ int main() { deal_II_exceptions::disable_abort_on_exception(); - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); check<2>(); diff --git a/tests/fe/crash_01.cc b/tests/fe/crash_01.cc index 4db1f8162a..edabc37755 100644 --- a/tests/fe/crash_01.cc +++ b/tests/fe/crash_01.cc @@ -78,8 +78,7 @@ void test(FiniteElement &fe) int main() { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog << std::setprecision(7); deallog.threshold_double(1.e-10); diff --git a/tests/fe/curl_curl_01.cc b/tests/fe/curl_curl_01.cc index a2a58965d4..95d214df30 100644 --- a/tests/fe/curl_curl_01.cc +++ b/tests/fe/curl_curl_01.cc @@ -401,8 +401,7 @@ void MaxwellProblem::run () int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); MaxwellProblem<2> maxwell(4); maxwell.run (); diff --git a/tests/fe/face_to_cell_q1_2d.cc b/tests/fe/face_to_cell_q1_2d.cc index 46a493b4e2..cf65911659 100644 --- a/tests/fe/face_to_cell_q1_2d.cc +++ b/tests/fe/face_to_cell_q1_2d.cc @@ -52,8 +52,7 @@ void test() int main() { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); test<2>(); diff --git a/tests/fe/face_to_cell_q2_2d.cc b/tests/fe/face_to_cell_q2_2d.cc index d87a196c83..a25b438fd0 100644 --- a/tests/fe/face_to_cell_q2_2d.cc +++ b/tests/fe/face_to_cell_q2_2d.cc @@ -52,8 +52,7 @@ void test() int main() { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); test<2>(); diff --git a/tests/fe/face_to_cell_q2xq2_2d.cc b/tests/fe/face_to_cell_q2xq2_2d.cc index ccbed140e8..50d2f250be 100644 --- a/tests/fe/face_to_cell_q2xq2_2d.cc +++ b/tests/fe/face_to_cell_q2xq2_2d.cc @@ -54,8 +54,7 @@ void test() int main() { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); test<2>(); diff --git a/tests/fe/face_to_cell_q3_2d.cc b/tests/fe/face_to_cell_q3_2d.cc index 99c595e522..18a39863b2 100644 --- a/tests/fe/face_to_cell_q3_2d.cc +++ b/tests/fe/face_to_cell_q3_2d.cc @@ -52,8 +52,7 @@ void test() int main() { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); test<2>(); diff --git a/tests/fe/face_to_cell_q3xq4_2d.cc b/tests/fe/face_to_cell_q3xq4_2d.cc index e5dadf1a88..7d2169e302 100644 --- a/tests/fe/face_to_cell_q3xq4_2d.cc +++ b/tests/fe/face_to_cell_q3xq4_2d.cc @@ -54,8 +54,7 @@ void test() int main() { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); test<2>(); diff --git a/tests/fe/face_to_cell_q4_2d.cc b/tests/fe/face_to_cell_q4_2d.cc index fa1baaead7..941b7b8dc5 100644 --- a/tests/fe/face_to_cell_q4_2d.cc +++ b/tests/fe/face_to_cell_q4_2d.cc @@ -52,8 +52,7 @@ void test() int main() { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); test<2>(); diff --git a/tests/fe/fe_data_test.cc b/tests/fe/fe_data_test.cc index c121b63d6a..ad3b589b27 100644 --- a/tests/fe/fe_data_test.cc +++ b/tests/fe/fe_data_test.cc @@ -278,8 +278,7 @@ void test_fe_datas() int main() { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); // deallog.log_execution_time(true); // deallog.log_time_differences(true); diff --git a/tests/fe/fe_q_01.cc b/tests/fe/fe_q_01.cc index 36ca49142d..b450383353 100644 --- a/tests/fe/fe_q_01.cc +++ b/tests/fe/fe_q_01.cc @@ -25,8 +25,7 @@ int main() { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deal_II_exceptions::disable_abort_on_exception(); try { diff --git a/tests/fe/fe_series_01.cc b/tests/fe/fe_series_01.cc index 35854f018a..d7a33d4cd5 100644 --- a/tests/fe/fe_series_01.cc +++ b/tests/fe/fe_series_01.cc @@ -90,8 +90,7 @@ void test_1d () int main() { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); test_1d(); diff --git a/tests/fe/fe_series_02.cc b/tests/fe/fe_series_02.cc index 7821c31f81..4b6ede6f90 100644 --- a/tests/fe/fe_series_02.cc +++ b/tests/fe/fe_series_02.cc @@ -148,8 +148,7 @@ int main () { const int dim = 1; - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); { diff --git a/tests/fe/fe_series_03.cc b/tests/fe/fe_series_03.cc index d5b30b8193..899f799334 100644 --- a/tests/fe/fe_series_03.cc +++ b/tests/fe/fe_series_03.cc @@ -51,8 +51,7 @@ void test2d (const VectorTools::NormType norm) int main() { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); deallog << "L2_norm" << std::endl; diff --git a/tests/fe/fe_series_04.cc b/tests/fe/fe_series_04.cc index 9480045a54..3a6cec13e0 100644 --- a/tests/fe/fe_series_04.cc +++ b/tests/fe/fe_series_04.cc @@ -191,8 +191,7 @@ int main () { const int dim = 1; - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1e-8); test_legendre_orthonormal(3); diff --git a/tests/fe/fe_series_06.cc b/tests/fe/fe_series_06.cc index dcb0ea307b..4f53750425 100644 --- a/tests/fe/fe_series_06.cc +++ b/tests/fe/fe_series_06.cc @@ -70,8 +70,7 @@ void test_2d () int main() { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); test_2d(); diff --git a/tests/fe/fe_series_07.cc b/tests/fe/fe_series_07.cc index 8ef6c0b8f6..3fc985e742 100644 --- a/tests/fe/fe_series_07.cc +++ b/tests/fe/fe_series_07.cc @@ -55,8 +55,7 @@ void test2d (const VectorTools::NormType norm) int main() { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); deallog << "L2_norm" << std::endl; diff --git a/tests/fe/fe_series_08.cc b/tests/fe/fe_series_08.cc index b225909077..6708fdd5ae 100644 --- a/tests/fe/fe_series_08.cc +++ b/tests/fe/fe_series_08.cc @@ -52,8 +52,7 @@ void test () int main() { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); test(); diff --git a/tests/fe/fe_tools_test.cc b/tests/fe/fe_tools_test.cc index c85f300d25..ae178631e8 100644 --- a/tests/fe/fe_tools_test.cc +++ b/tests/fe/fe_tools_test.cc @@ -191,8 +191,7 @@ void test(const Triangulation &tria, int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); Triangulation<2> tria; diff --git a/tests/fe/function.cc b/tests/fe/function.cc index a35caceb51..6eeb31c0db 100644 --- a/tests/fe/function.cc +++ b/tests/fe/function.cc @@ -97,8 +97,7 @@ void test_vectors() int main() { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); test_vectors<2>(); diff --git a/tests/fe/get_dof_association.cc b/tests/fe/get_dof_association.cc index ba35d07681..614d0033da 100644 --- a/tests/fe/get_dof_association.cc +++ b/tests/fe/get_dof_association.cc @@ -54,8 +54,7 @@ void test (const FiniteElement &fe) int main() { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); test(FE_Q<1>(2)); diff --git a/tests/fe/get_fe_by_name_01.cc b/tests/fe/get_fe_by_name_01.cc index e8a8478d8c..0b3fc99b9a 100644 --- a/tests/fe/get_fe_by_name_01.cc +++ b/tests/fe/get_fe_by_name_01.cc @@ -60,8 +60,7 @@ public: int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); diff --git a/tests/fe/mass_matrix_arbitrary_nodes.cc b/tests/fe/mass_matrix_arbitrary_nodes.cc index 856d4d603a..eb71896bf0 100644 --- a/tests/fe/mass_matrix_arbitrary_nodes.cc +++ b/tests/fe/mass_matrix_arbitrary_nodes.cc @@ -80,8 +80,7 @@ void check () int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); check<1> (); diff --git a/tests/fe/nedelec_face_interpolation.cc b/tests/fe/nedelec_face_interpolation.cc index ada313f11d..e35354c0ed 100644 --- a/tests/fe/nedelec_face_interpolation.cc +++ b/tests/fe/nedelec_face_interpolation.cc @@ -95,8 +95,7 @@ void test (unsigned p1, unsigned p2) int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); test<3>(0, 1); test<3>(1, 2); diff --git a/tests/fe/nedelec_non_rect_2d.cc b/tests/fe/nedelec_non_rect_2d.cc index 4a3de947be..4413b500d1 100644 --- a/tests/fe/nedelec_non_rect_2d.cc +++ b/tests/fe/nedelec_non_rect_2d.cc @@ -33,6 +33,7 @@ // The domain is a distorted quad after 1 refinement. The distortion is // performed by GridTools::distort_random. +#include "../tests.h" #include #include @@ -307,8 +308,7 @@ int main () { const unsigned int dim(2); - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); for (unsigned int p=0; p<3; ++p) { diff --git a/tests/fe/nedelec_non_rect_face.cc b/tests/fe/nedelec_non_rect_face.cc index 383294538c..d4dfa3ed8c 100644 --- a/tests/fe/nedelec_non_rect_face.cc +++ b/tests/fe/nedelec_non_rect_face.cc @@ -36,6 +36,7 @@ // // The domain is a distorted cube which will contain non-rectangular faces. +#include "../tests.h" #include #include #include @@ -458,8 +459,7 @@ int main () { using namespace Maxwell; - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); for (unsigned int p=0; p<3; ++p) { diff --git a/tests/fe/non_primitive_1.cc b/tests/fe/non_primitive_1.cc index 2a175ef2dc..14ef6efc03 100644 --- a/tests/fe/non_primitive_1.cc +++ b/tests/fe/non_primitive_1.cc @@ -336,8 +336,7 @@ test () int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); test<1> (); diff --git a/tests/fe/non_primitive_2.cc b/tests/fe/non_primitive_2.cc index fe4f3848ac..3d53a5f7dc 100644 --- a/tests/fe/non_primitive_2.cc +++ b/tests/fe/non_primitive_2.cc @@ -258,8 +258,7 @@ test (const unsigned int p) int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); deallog << "Degree 0: " << std::endl; test<2> (0); diff --git a/tests/fe/traits.cc b/tests/fe/traits.cc index 7f3bb6e29a..2b4994576f 100644 --- a/tests/fe/traits.cc +++ b/tests/fe/traits.cc @@ -121,8 +121,7 @@ void check () int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); check<1> (); diff --git a/tests/fe/transfer.cc b/tests/fe/transfer.cc index ab3e70df15..8a1ca9b3a3 100644 --- a/tests/fe/transfer.cc +++ b/tests/fe/transfer.cc @@ -74,8 +74,7 @@ print_matrix(Triangulation &tr, int main() { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog << std::setprecision(7); deallog.threshold_double(1.e-10); diff --git a/tests/full_matrix/full_matrix_58.cc b/tests/full_matrix/full_matrix_58.cc index fa460d2a82..0140756e11 100644 --- a/tests/full_matrix/full_matrix_58.cc +++ b/tests/full_matrix/full_matrix_58.cc @@ -27,8 +27,7 @@ int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); const unsigned int N = 4; diff --git a/tests/full_matrix/full_matrix_iterator_01.cc b/tests/full_matrix/full_matrix_iterator_01.cc index 545d6c73d4..58f5a9ffb8 100644 --- a/tests/full_matrix/full_matrix_iterator_01.cc +++ b/tests/full_matrix/full_matrix_iterator_01.cc @@ -49,8 +49,7 @@ void test () int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/full_matrix/full_matrix_move.cc b/tests/full_matrix/full_matrix_move.cc index b1b3dda8d8..caba55412f 100644 --- a/tests/full_matrix/full_matrix_move.cc +++ b/tests/full_matrix/full_matrix_move.cc @@ -22,8 +22,7 @@ int main() { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.0e-10); size_t m = 2, n = 3; diff --git a/tests/full_matrix/full_matrix_vector_01.cc b/tests/full_matrix/full_matrix_vector_01.cc index ec8f32185f..cb02bb3cb0 100644 --- a/tests/full_matrix/full_matrix_vector_01.cc +++ b/tests/full_matrix/full_matrix_vector_01.cc @@ -59,8 +59,7 @@ void test (Vector &v, int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/full_matrix/full_matrix_vector_02.cc b/tests/full_matrix/full_matrix_vector_02.cc index 8aa67f313c..eba9edbc40 100644 --- a/tests/full_matrix/full_matrix_vector_02.cc +++ b/tests/full_matrix/full_matrix_vector_02.cc @@ -60,8 +60,7 @@ void test (Vector &v, int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/full_matrix/full_matrix_vector_05.cc b/tests/full_matrix/full_matrix_vector_05.cc index 066ea07a19..8503456832 100644 --- a/tests/full_matrix/full_matrix_vector_05.cc +++ b/tests/full_matrix/full_matrix_vector_05.cc @@ -66,8 +66,7 @@ void test (Vector &v, int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/full_matrix/full_matrix_vector_06.cc b/tests/full_matrix/full_matrix_vector_06.cc index 1a6718081c..8dd01e9176 100644 --- a/tests/full_matrix/full_matrix_vector_06.cc +++ b/tests/full_matrix/full_matrix_vector_06.cc @@ -58,8 +58,7 @@ void test (Vector &v) int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/full_matrix/full_matrix_vector_07.cc b/tests/full_matrix/full_matrix_vector_07.cc index 766129c2e1..83eb15f0f3 100644 --- a/tests/full_matrix/full_matrix_vector_07.cc +++ b/tests/full_matrix/full_matrix_vector_07.cc @@ -68,8 +68,7 @@ void test (Vector &v, int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/gla/vec_00.cc b/tests/gla/vec_00.cc index bbb12a9a39..f3bdf036f1 100644 --- a/tests/gla/vec_00.cc +++ b/tests/gla/vec_00.cc @@ -88,8 +88,7 @@ int main (int argc, char **argv) if (myid == 0) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog << std::setprecision(4); deallog.threshold_double(1.e-10); diff --git a/tests/gla/vec_01.cc b/tests/gla/vec_01.cc index 76d80dc630..67f55d7f4e 100644 --- a/tests/gla/vec_01.cc +++ b/tests/gla/vec_01.cc @@ -93,8 +93,7 @@ int main (int argc, char **argv) if (myid == 0) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog << std::setprecision(4); deallog.threshold_double(1.e-10); diff --git a/tests/gla/vec_02.cc b/tests/gla/vec_02.cc index 704a1ca94e..ddf625828b 100644 --- a/tests/gla/vec_02.cc +++ b/tests/gla/vec_02.cc @@ -105,8 +105,7 @@ int main (int argc, char **argv) if (myid == 0) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog << std::setprecision(4); deallog.threshold_double(1.e-10); diff --git a/tests/grid/grid_generator_10.cc b/tests/grid/grid_generator_10.cc index 24abd6a64d..af65d14b84 100644 --- a/tests/grid/grid_generator_10.cc +++ b/tests/grid/grid_generator_10.cc @@ -125,8 +125,7 @@ void check_grid() int main() { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.depth_console(0); deallog.threshold_double(1.e-10); diff --git a/tests/grid/grid_in_abaqus_01.cc b/tests/grid/grid_in_abaqus_01.cc index 9771b7632c..a2866eb1d2 100644 --- a/tests/grid/grid_in_abaqus_01.cc +++ b/tests/grid/grid_in_abaqus_01.cc @@ -52,8 +52,7 @@ void abaqus_grid (const char *name) int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/grid/grid_in_gmsh_01.cc b/tests/grid/grid_in_gmsh_01.cc index 170d4fd765..fb40bef82c 100644 --- a/tests/grid/grid_in_gmsh_01.cc +++ b/tests/grid/grid_in_gmsh_01.cc @@ -52,8 +52,7 @@ void gmsh_grid (const char *name) int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/grid/mesh_3d_1.cc b/tests/grid/mesh_3d_1.cc index faad1cc4c3..f635d39167 100644 --- a/tests/grid/mesh_3d_1.cc +++ b/tests/grid/mesh_3d_1.cc @@ -37,8 +37,7 @@ int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); Triangulation<3> coarse_grid; diff --git a/tests/grid/mesh_3d_10.cc b/tests/grid/mesh_3d_10.cc index cacb974090..c9bc694f12 100644 --- a/tests/grid/mesh_3d_10.cc +++ b/tests/grid/mesh_3d_10.cc @@ -81,8 +81,7 @@ void check (Triangulation<3> &tria) int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); { diff --git a/tests/grid/mesh_3d_11.cc b/tests/grid/mesh_3d_11.cc index a4161aba55..a5d88e59cf 100644 --- a/tests/grid/mesh_3d_11.cc +++ b/tests/grid/mesh_3d_11.cc @@ -93,8 +93,7 @@ void check (Triangulation<3> &tria) int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); { diff --git a/tests/grid/mesh_3d_12.cc b/tests/grid/mesh_3d_12.cc index 49d50d993e..72c0b1ae89 100644 --- a/tests/grid/mesh_3d_12.cc +++ b/tests/grid/mesh_3d_12.cc @@ -87,8 +87,7 @@ void check (Triangulation<3> &tria) int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); deallog << std::setprecision(5); diff --git a/tests/grid/mesh_3d_13.cc b/tests/grid/mesh_3d_13.cc index 3001a9b552..08f75d2b54 100644 --- a/tests/grid/mesh_3d_13.cc +++ b/tests/grid/mesh_3d_13.cc @@ -108,8 +108,7 @@ void check (Triangulation<3> &tria) int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); { diff --git a/tests/grid/mesh_3d_14.cc b/tests/grid/mesh_3d_14.cc index f4f6d2bdd3..39005f041a 100644 --- a/tests/grid/mesh_3d_14.cc +++ b/tests/grid/mesh_3d_14.cc @@ -122,8 +122,7 @@ void check (Triangulation<3> &tria) int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); { diff --git a/tests/grid/mesh_3d_15.cc b/tests/grid/mesh_3d_15.cc index 76f90c4afe..47f901f5b7 100644 --- a/tests/grid/mesh_3d_15.cc +++ b/tests/grid/mesh_3d_15.cc @@ -119,8 +119,7 @@ void check (Triangulation<3> &tria) int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); { diff --git a/tests/grid/mesh_3d_16.cc b/tests/grid/mesh_3d_16.cc index 8b7f724e52..6b85776580 100644 --- a/tests/grid/mesh_3d_16.cc +++ b/tests/grid/mesh_3d_16.cc @@ -93,8 +93,7 @@ void check (Triangulation<3> &tria) int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); { diff --git a/tests/grid/mesh_3d_17.cc b/tests/grid/mesh_3d_17.cc index f1bebde065..e7d92a8f44 100644 --- a/tests/grid/mesh_3d_17.cc +++ b/tests/grid/mesh_3d_17.cc @@ -130,8 +130,7 @@ void check (Triangulation<3> &tria) int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); Triangulation<3> coarse_grid; diff --git a/tests/grid/mesh_3d_2.cc b/tests/grid/mesh_3d_2.cc index 8097f5791e..20c897f9f6 100644 --- a/tests/grid/mesh_3d_2.cc +++ b/tests/grid/mesh_3d_2.cc @@ -37,8 +37,7 @@ int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); Triangulation<3> coarse_grid; diff --git a/tests/grid/mesh_3d_20.cc b/tests/grid/mesh_3d_20.cc index 9e672c684e..f846b0bb1d 100644 --- a/tests/grid/mesh_3d_20.cc +++ b/tests/grid/mesh_3d_20.cc @@ -121,8 +121,7 @@ void check (Triangulation<3> &tria) int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); { diff --git a/tests/grid/mesh_3d_21.cc b/tests/grid/mesh_3d_21.cc index 882238f7e5..3219518331 100644 --- a/tests/grid/mesh_3d_21.cc +++ b/tests/grid/mesh_3d_21.cc @@ -119,8 +119,7 @@ void check (Triangulation<3> &tria) int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); { diff --git a/tests/grid/mesh_3d_3.cc b/tests/grid/mesh_3d_3.cc index 67b1b1b4ac..53b11d97b1 100644 --- a/tests/grid/mesh_3d_3.cc +++ b/tests/grid/mesh_3d_3.cc @@ -36,8 +36,7 @@ int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); Triangulation<3> coarse_grid; diff --git a/tests/grid/mesh_3d_4.cc b/tests/grid/mesh_3d_4.cc index 2d68b2af98..352af7903e 100644 --- a/tests/grid/mesh_3d_4.cc +++ b/tests/grid/mesh_3d_4.cc @@ -80,8 +80,7 @@ void check (Triangulation<3> &tria) int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); { diff --git a/tests/grid/mesh_3d_5.cc b/tests/grid/mesh_3d_5.cc index d86b5f6711..c550d1fadd 100644 --- a/tests/grid/mesh_3d_5.cc +++ b/tests/grid/mesh_3d_5.cc @@ -77,8 +77,7 @@ void check (Triangulation<3> &tria) int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); { diff --git a/tests/grid/mesh_3d_6.cc b/tests/grid/mesh_3d_6.cc index 2b402ff10b..188eb3662d 100644 --- a/tests/grid/mesh_3d_6.cc +++ b/tests/grid/mesh_3d_6.cc @@ -111,8 +111,7 @@ void check (Triangulation<3> &tria) int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); { diff --git a/tests/grid/mesh_3d_7.cc b/tests/grid/mesh_3d_7.cc index 8c81c6ff1d..630a6ad04e 100644 --- a/tests/grid/mesh_3d_7.cc +++ b/tests/grid/mesh_3d_7.cc @@ -120,8 +120,7 @@ void check (Triangulation<3> &tria) int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); { diff --git a/tests/grid/mesh_3d_8.cc b/tests/grid/mesh_3d_8.cc index 5a07c41fd4..e656fdebc9 100644 --- a/tests/grid/mesh_3d_8.cc +++ b/tests/grid/mesh_3d_8.cc @@ -78,8 +78,7 @@ void check (Triangulation<3> &tria) int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); { diff --git a/tests/grid/mesh_3d_9.cc b/tests/grid/mesh_3d_9.cc index cb23635b4f..9fe78e1984 100644 --- a/tests/grid/mesh_3d_9.cc +++ b/tests/grid/mesh_3d_9.cc @@ -79,8 +79,7 @@ void check (Triangulation<3> &tria) int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); { diff --git a/tests/grid/periodicity_1d.cc b/tests/grid/periodicity_1d.cc index 017f12c51d..523e0beff0 100644 --- a/tests/grid/periodicity_1d.cc +++ b/tests/grid/periodicity_1d.cc @@ -59,8 +59,7 @@ void check() int main() { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); check<1>(); diff --git a/tests/grid/refine_and_coarsen_01.cc b/tests/grid/refine_and_coarsen_01.cc index efe8312ff9..28aff487d9 100644 --- a/tests/grid/refine_and_coarsen_01.cc +++ b/tests/grid/refine_and_coarsen_01.cc @@ -62,8 +62,7 @@ void check () int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); check<1> (); diff --git a/tests/grid/subcelldata.cc b/tests/grid/subcelldata.cc index 3cc330ab9c..bc7ec0ce78 100644 --- a/tests/grid/subcelldata.cc +++ b/tests/grid/subcelldata.cc @@ -110,8 +110,7 @@ void test() int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); test<2>(); test<3>(); diff --git a/tests/grid/tria_signals_01.cc b/tests/grid/tria_signals_01.cc index 56c828a522..44d61efc4d 100644 --- a/tests/grid/tria_signals_01.cc +++ b/tests/grid/tria_signals_01.cc @@ -154,8 +154,7 @@ void test() int main(int argc, char *argv[]) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); { diff --git a/tests/grid/user_data_01.cc b/tests/grid/user_data_01.cc index 263b38b4ad..b18520f2ec 100644 --- a/tests/grid/user_data_01.cc +++ b/tests/grid/user_data_01.cc @@ -288,8 +288,7 @@ int main() { deal_II_exceptions::disable_abort_on_exception(); - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); check<2>(); diff --git a/tests/grid/vertex_as_face_01.cc b/tests/grid/vertex_as_face_01.cc index 4f6d87d770..8c2a30735f 100644 --- a/tests/grid/vertex_as_face_01.cc +++ b/tests/grid/vertex_as_face_01.cc @@ -53,8 +53,7 @@ void test () int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); test<1> (); test<2> (); diff --git a/tests/grid/vertex_as_face_02.cc b/tests/grid/vertex_as_face_02.cc index 53f512be0c..1cd9c427ce 100644 --- a/tests/grid/vertex_as_face_02.cc +++ b/tests/grid/vertex_as_face_02.cc @@ -53,8 +53,7 @@ void test () int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); test<1> (); test<2> (); diff --git a/tests/grid/vertex_as_face_03.cc b/tests/grid/vertex_as_face_03.cc index 8faa9df785..78f97f7f1d 100644 --- a/tests/grid/vertex_as_face_03.cc +++ b/tests/grid/vertex_as_face_03.cc @@ -53,8 +53,7 @@ void test () int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); test<1> (); test<2> (); diff --git a/tests/grid/vertex_as_face_04.cc b/tests/grid/vertex_as_face_04.cc index 0419bdc066..08624d1a53 100644 --- a/tests/grid/vertex_as_face_04.cc +++ b/tests/grid/vertex_as_face_04.cc @@ -53,8 +53,7 @@ void test () int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); test<1> (); test<2> (); diff --git a/tests/grid/vertex_as_face_05.cc b/tests/grid/vertex_as_face_05.cc index 6c6b127e62..007d5f8f69 100644 --- a/tests/grid/vertex_as_face_05.cc +++ b/tests/grid/vertex_as_face_05.cc @@ -64,8 +64,7 @@ void test () int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); test<1> (); test<2> (); diff --git a/tests/grid/vertex_as_face_06.cc b/tests/grid/vertex_as_face_06.cc index c0a10c07d8..d5e4be539a 100644 --- a/tests/grid/vertex_as_face_06.cc +++ b/tests/grid/vertex_as_face_06.cc @@ -74,8 +74,7 @@ void test () int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); test<1> (); test<2> (); diff --git a/tests/grid/vertex_as_face_07.cc b/tests/grid/vertex_as_face_07.cc index 355f435888..f6da483687 100644 --- a/tests/grid/vertex_as_face_07.cc +++ b/tests/grid/vertex_as_face_07.cc @@ -115,8 +115,7 @@ void test () int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); test<1> (); test<2> (); diff --git a/tests/grid/vertex_as_face_08.cc b/tests/grid/vertex_as_face_08.cc index 47eca72d53..853e2cb59c 100644 --- a/tests/grid/vertex_as_face_08.cc +++ b/tests/grid/vertex_as_face_08.cc @@ -45,8 +45,7 @@ void test () int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); test<1> (); test<2> (); diff --git a/tests/grid/vertex_as_face_09.cc b/tests/grid/vertex_as_face_09.cc index ce673e5625..99c191e095 100644 --- a/tests/grid/vertex_as_face_09.cc +++ b/tests/grid/vertex_as_face_09.cc @@ -47,8 +47,7 @@ void test () int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); test (); diff --git a/tests/grid/vertex_as_face_10.cc b/tests/grid/vertex_as_face_10.cc index 27805f3ee2..ff08cb1c7d 100644 --- a/tests/grid/vertex_as_face_10.cc +++ b/tests/grid/vertex_as_face_10.cc @@ -47,8 +47,7 @@ void test () int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); test<1> (); test<2> (); diff --git a/tests/grid/vertex_as_face_11.cc b/tests/grid/vertex_as_face_11.cc index 1a7b2375a3..b97c02c9ed 100644 --- a/tests/grid/vertex_as_face_11.cc +++ b/tests/grid/vertex_as_face_11.cc @@ -44,8 +44,7 @@ void test () int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); test<1> (); test<2> (); diff --git a/tests/grid/vertex_as_face_12.cc b/tests/grid/vertex_as_face_12.cc index 0fdc05c7ad..be46f43bc9 100644 --- a/tests/grid/vertex_as_face_12.cc +++ b/tests/grid/vertex_as_face_12.cc @@ -43,8 +43,7 @@ void test () int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); test<1> (); test<2> (); diff --git a/tests/grid/vertex_as_face_13.cc b/tests/grid/vertex_as_face_13.cc index d7b365a614..84d888ddea 100644 --- a/tests/grid/vertex_as_face_13.cc +++ b/tests/grid/vertex_as_face_13.cc @@ -44,8 +44,7 @@ void test () int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); test<1> (); test<2> (); diff --git a/tests/grid/vertex_connectivity.cc b/tests/grid/vertex_connectivity.cc index 68c30b2aa6..58103bff71 100644 --- a/tests/grid/vertex_connectivity.cc +++ b/tests/grid/vertex_connectivity.cc @@ -46,8 +46,7 @@ void test() int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); test<1>(); diff --git a/tests/grid/vertex_iterator.cc b/tests/grid/vertex_iterator.cc index 4ef56295ba..e5a51fad36 100644 --- a/tests/grid/vertex_iterator.cc +++ b/tests/grid/vertex_iterator.cc @@ -60,8 +60,7 @@ void test () int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); test (); diff --git a/tests/hp/accessor_0.cc b/tests/hp/accessor_0.cc index 623cae7d9b..2e10007657 100644 --- a/tests/hp/accessor_0.cc +++ b/tests/hp/accessor_0.cc @@ -28,8 +28,7 @@ int main() { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog << std::boolalpha; using namespace dealii; diff --git a/tests/hp/distribute_dofs_linear_time.cc b/tests/hp/distribute_dofs_linear_time.cc index e6dd90f9fd..b526d6747c 100644 --- a/tests/hp/distribute_dofs_linear_time.cc +++ b/tests/hp/distribute_dofs_linear_time.cc @@ -201,8 +201,7 @@ void QuadraticTimeCircle::run() int main(int argc, char **argv) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); static const int dim = 2; static const unsigned int n_cycles = 6; diff --git a/tests/hp/do_function_derivatives_01.cc b/tests/hp/do_function_derivatives_01.cc index a3ba621731..1befcafc7e 100644 --- a/tests/hp/do_function_derivatives_01.cc +++ b/tests/hp/do_function_derivatives_01.cc @@ -47,8 +47,7 @@ using namespace dealii; int main() { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); Triangulation<2> triangulation; diff --git a/tests/hp/do_function_hessians_01.cc b/tests/hp/do_function_hessians_01.cc index 0505ab31d7..d918e1cb7c 100644 --- a/tests/hp/do_function_hessians_01.cc +++ b/tests/hp/do_function_hessians_01.cc @@ -47,8 +47,7 @@ using namespace dealii; int main() { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); Triangulation<2> triangulation; diff --git a/tests/hp/do_function_laplacians_01.cc b/tests/hp/do_function_laplacians_01.cc index a08f7a6839..389aa0f81e 100644 --- a/tests/hp/do_function_laplacians_01.cc +++ b/tests/hp/do_function_laplacians_01.cc @@ -47,8 +47,7 @@ using namespace dealii; int main() { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); Triangulation<2> triangulation; diff --git a/tests/hp/dof_handler_number_cache.cc b/tests/hp/dof_handler_number_cache.cc index 9c501621cf..01345a4556 100644 --- a/tests/hp/dof_handler_number_cache.cc +++ b/tests/hp/dof_handler_number_cache.cc @@ -116,8 +116,7 @@ void test() int main() { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); deallog.push("1d"); diff --git a/tests/hp/face_domination_01.cc b/tests/hp/face_domination_01.cc index cb6f52b9ff..9d66eeec53 100644 --- a/tests/hp/face_domination_01.cc +++ b/tests/hp/face_domination_01.cc @@ -54,8 +54,7 @@ void print_dofs (const hp::DoFHandler<2>::active_cell_iterator &cell) int main() { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); Triangulation triangulation; diff --git a/tests/hp/face_domination_02.cc b/tests/hp/face_domination_02.cc index 4f7e87801d..8c76dfc42f 100644 --- a/tests/hp/face_domination_02.cc +++ b/tests/hp/face_domination_02.cc @@ -56,8 +56,7 @@ void print_dofs (const hp::DoFHandler<2>::active_cell_iterator &cell) int main() { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); Triangulation triangulation; diff --git a/tests/hp/face_domination_03.cc b/tests/hp/face_domination_03.cc index 584b4ee695..6ec1111e8f 100644 --- a/tests/hp/face_domination_03.cc +++ b/tests/hp/face_domination_03.cc @@ -99,8 +99,7 @@ void MixedFECollection::run () int main() { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); MixedFECollection<2> mixed_FECollection_problem; diff --git a/tests/hp/fe_nothing_18.cc b/tests/hp/fe_nothing_18.cc index ead53cc602..833949aa99 100644 --- a/tests/hp/fe_nothing_18.cc +++ b/tests/hp/fe_nothing_18.cc @@ -372,8 +372,7 @@ void ElasticProblem::run () int main() { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); ElasticProblem <2> elastic_problem; diff --git a/tests/hp/fe_nothing_19.cc b/tests/hp/fe_nothing_19.cc index 80748ec060..63177442a2 100644 --- a/tests/hp/fe_nothing_19.cc +++ b/tests/hp/fe_nothing_19.cc @@ -66,8 +66,7 @@ void test() int main() { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); test<1>(); diff --git a/tests/hp/n_boundary_dofs.cc b/tests/hp/n_boundary_dofs.cc index 9a341637c0..88164c484d 100644 --- a/tests/hp/n_boundary_dofs.cc +++ b/tests/hp/n_boundary_dofs.cc @@ -66,8 +66,7 @@ void test() int main() { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); deallog.push("1d"); diff --git a/tests/hp/solution_transfer_03.cc b/tests/hp/solution_transfer_03.cc index 0f4cfb9683..568ac2cc1b 100644 --- a/tests/hp/solution_transfer_03.cc +++ b/tests/hp/solution_transfer_03.cc @@ -46,8 +46,7 @@ int main() { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); Triangulation<2> triangulation; diff --git a/tests/hp/solution_transfer_04.cc b/tests/hp/solution_transfer_04.cc index 1e4af1b3ca..24d76ad917 100644 --- a/tests/hp/solution_transfer_04.cc +++ b/tests/hp/solution_transfer_04.cc @@ -47,8 +47,7 @@ using namespace dealii; int main() { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); Triangulation<2> triangulation; diff --git a/tests/hp/solution_transfer_05.cc b/tests/hp/solution_transfer_05.cc index 206c15cb1e..84bc6df20e 100644 --- a/tests/hp/solution_transfer_05.cc +++ b/tests/hp/solution_transfer_05.cc @@ -47,8 +47,7 @@ using namespace dealii; int main() { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); Triangulation<2> triangulation; diff --git a/tests/hp/solution_transfer_06.cc b/tests/hp/solution_transfer_06.cc index f11865b34b..6bf3e3f263 100644 --- a/tests/hp/solution_transfer_06.cc +++ b/tests/hp/solution_transfer_06.cc @@ -95,8 +95,7 @@ void test () int main() { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); test<1> (); diff --git a/tests/hp/solution_transfer_07.cc b/tests/hp/solution_transfer_07.cc index 88c6f432ec..60abe9a84c 100644 --- a/tests/hp/solution_transfer_07.cc +++ b/tests/hp/solution_transfer_07.cc @@ -95,8 +95,7 @@ void test () int main() { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); test<1> (); diff --git a/tests/hp/solution_transfer_08.cc b/tests/hp/solution_transfer_08.cc index 7bf6decefd..7999d542f1 100644 --- a/tests/hp/solution_transfer_08.cc +++ b/tests/hp/solution_transfer_08.cc @@ -95,8 +95,7 @@ void test () int main() { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); test<1> (); diff --git a/tests/hp/solution_transfer_09.cc b/tests/hp/solution_transfer_09.cc index 05f0eed6d4..c8e4b5aa77 100644 --- a/tests/hp/solution_transfer_09.cc +++ b/tests/hp/solution_transfer_09.cc @@ -93,8 +93,7 @@ void test () int main() { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); test<1> (); diff --git a/tests/hp/solution_transfer_10.cc b/tests/hp/solution_transfer_10.cc index 544179eba1..4a336c886f 100644 --- a/tests/hp/solution_transfer_10.cc +++ b/tests/hp/solution_transfer_10.cc @@ -16,6 +16,7 @@ // A test by Krzysztof Bzowski that verifies something in SolutionTransfer // that didn't work for a few days +#include "../tests.h" #include #include @@ -40,8 +41,7 @@ using namespace dealii; int main() { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); Triangulation<2> triangulation(Triangulation<2>::none); diff --git a/tests/hp/solution_transfer_13.cc b/tests/hp/solution_transfer_13.cc index dd3309df1b..bcf43b40e6 100644 --- a/tests/hp/solution_transfer_13.cc +++ b/tests/hp/solution_transfer_13.cc @@ -49,8 +49,7 @@ using namespace dealii; int main() { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); Triangulation<2> triangulation(Triangulation<2>::none); diff --git a/tests/lac/block_indices.cc b/tests/lac/block_indices.cc index dbdde1923a..f68ff3538e 100644 --- a/tests/lac/block_indices.cc +++ b/tests/lac/block_indices.cc @@ -55,8 +55,7 @@ void test (const BlockIndices &idx) int main() { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); BlockIndices bi0; deallog << "empty: " << bi0 << std::endl; diff --git a/tests/lac/filtered_matrix.cc b/tests/lac/filtered_matrix.cc index ffbb8655d1..1115012d6b 100644 --- a/tests/lac/filtered_matrix.cc +++ b/tests/lac/filtered_matrix.cc @@ -82,8 +82,7 @@ void test (const FilteredMatrix &M) int main() { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); PreconditionIdentity identity; FilteredMatrix > f; diff --git a/tests/lac/la_vector_all_zero.cc b/tests/lac/la_vector_all_zero.cc index 8f9acdd058..86a8c5b98e 100644 --- a/tests/lac/la_vector_all_zero.cc +++ b/tests/lac/la_vector_all_zero.cc @@ -33,8 +33,7 @@ void check_all_zero() int main() { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); check_all_zero(); check_all_zero(); diff --git a/tests/lac/lapack_fill.cc b/tests/lac/lapack_fill.cc index b688a27674..01a267a72d 100644 --- a/tests/lac/lapack_fill.cc +++ b/tests/lac/lapack_fill.cc @@ -26,8 +26,7 @@ int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); // matrix sizes const unsigned int m = 3; diff --git a/tests/lac/linear_operator_11.cc b/tests/lac/linear_operator_11.cc index ac3803c764..070cd0dc4f 100644 --- a/tests/lac/linear_operator_11.cc +++ b/tests/lac/linear_operator_11.cc @@ -269,8 +269,7 @@ void Step4::run() int main (int argc, char **argv) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); Utilities::MPI::MPI_InitFinalize mpi_initialization (argc, argv, testing_max_num_threads()); diff --git a/tests/lac/linear_operator_12.cc b/tests/lac/linear_operator_12.cc index 3a8393121d..a422915df2 100644 --- a/tests/lac/linear_operator_12.cc +++ b/tests/lac/linear_operator_12.cc @@ -350,8 +350,7 @@ void Step4::run() int main (int argc, char **argv) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); Utilities::MPI::MPI_InitFinalize mpi_initialization (argc, argv, testing_max_num_threads()); diff --git a/tests/lac/linear_operator_12a.cc b/tests/lac/linear_operator_12a.cc index 756900ddea..4f7f2ec97b 100644 --- a/tests/lac/linear_operator_12a.cc +++ b/tests/lac/linear_operator_12a.cc @@ -351,8 +351,7 @@ void Step4::run() int main (int argc, char **argv) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); Utilities::MPI::MPI_InitFinalize mpi_initialization (argc, argv, testing_max_num_threads()); diff --git a/tests/lac/pointer_matrix.cc b/tests/lac/pointer_matrix.cc index 63d015dd13..ed795f5611 100644 --- a/tests/lac/pointer_matrix.cc +++ b/tests/lac/pointer_matrix.cc @@ -26,8 +26,7 @@ int main() { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); FullMatrix A(5,5); unsigned int k=0; diff --git a/tests/lac/pointer_matrix_vector.cc b/tests/lac/pointer_matrix_vector.cc index 7a938399a8..05232d5ddd 100644 --- a/tests/lac/pointer_matrix_vector.cc +++ b/tests/lac/pointer_matrix_vector.cc @@ -25,8 +25,7 @@ int main() { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); Vector u(5); Vector v(5); diff --git a/tests/lac/readwritevector_add.cc b/tests/lac/readwritevector_add.cc index be52267a3d..6d620f2eff 100644 --- a/tests/lac/readwritevector_add.cc +++ b/tests/lac/readwritevector_add.cc @@ -75,8 +75,7 @@ void test() int main() { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); test(); return 0; diff --git a/tests/lac/readwritevector_assignment.cc b/tests/lac/readwritevector_assignment.cc index 148439c6f1..0d27e08bc9 100644 --- a/tests/lac/readwritevector_assignment.cc +++ b/tests/lac/readwritevector_assignment.cc @@ -59,8 +59,7 @@ void test() int main() { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); test(); return 0; diff --git a/tests/lac/readwritevector_functor.cc b/tests/lac/readwritevector_functor.cc index 5c33474ea4..2c75ed97b3 100644 --- a/tests/lac/readwritevector_functor.cc +++ b/tests/lac/readwritevector_functor.cc @@ -47,8 +47,7 @@ void test() int main() { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); test(); return 0; diff --git a/tests/lac/solver_selector_00.cc b/tests/lac/solver_selector_00.cc index 96f4b2c8b6..fc7ddeb50a 100644 --- a/tests/lac/solver_selector_00.cc +++ b/tests/lac/solver_selector_00.cc @@ -29,8 +29,7 @@ DEAL_II_NAMESPACE_CLOSE int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); deallog << "OK" << std::endl; diff --git a/tests/lac/vector_memory.cc b/tests/lac/vector_memory.cc index a75528d398..5774106e43 100644 --- a/tests/lac/vector_memory.cc +++ b/tests/lac/vector_memory.cc @@ -71,8 +71,7 @@ test_stat() int main() { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); deal_II_exceptions::disable_abort_on_exception(); diff --git a/tests/lac/vector_type_traits_is_serial_01.cc b/tests/lac/vector_type_traits_is_serial_01.cc index a8686521a7..b71b42ce00 100644 --- a/tests/lac/vector_type_traits_is_serial_01.cc +++ b/tests/lac/vector_type_traits_is_serial_01.cc @@ -94,8 +94,7 @@ void test () int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); try { diff --git a/tests/lac/vector_type_traits_is_serial_02.cc b/tests/lac/vector_type_traits_is_serial_02.cc index e263ef94d4..fb14933a04 100644 --- a/tests/lac/vector_type_traits_is_serial_02.cc +++ b/tests/lac/vector_type_traits_is_serial_02.cc @@ -55,8 +55,7 @@ void test () int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); try { diff --git a/tests/lac/vector_type_traits_is_serial_03.cc b/tests/lac/vector_type_traits_is_serial_03.cc index 704b8d1317..da148d14d2 100644 --- a/tests/lac/vector_type_traits_is_serial_03.cc +++ b/tests/lac/vector_type_traits_is_serial_03.cc @@ -44,8 +44,7 @@ void test () int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); try { diff --git a/tests/manifold/chart_manifold_01.cc b/tests/manifold/chart_manifold_01.cc index 8d9359f258..0181f85871 100644 --- a/tests/manifold/chart_manifold_01.cc +++ b/tests/manifold/chart_manifold_01.cc @@ -93,8 +93,7 @@ void test(unsigned int ref=1) int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); test<1,1>(); diff --git a/tests/manifold/chart_manifold_01_embedded.cc b/tests/manifold/chart_manifold_01_embedded.cc index d7090a5b7c..fd2adbb1fb 100644 --- a/tests/manifold/chart_manifold_01_embedded.cc +++ b/tests/manifold/chart_manifold_01_embedded.cc @@ -101,8 +101,7 @@ void test(unsigned int ref=1) int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); test<1,1>(); diff --git a/tests/manifold/chart_manifold_02.cc b/tests/manifold/chart_manifold_02.cc index 50bc97025b..3449f20e0f 100644 --- a/tests/manifold/chart_manifold_02.cc +++ b/tests/manifold/chart_manifold_02.cc @@ -102,8 +102,7 @@ void test(unsigned int ref=1) int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); test<2,2>(); diff --git a/tests/manifold/chart_manifold_02_embedded.cc b/tests/manifold/chart_manifold_02_embedded.cc index af18b37931..994056916f 100644 --- a/tests/manifold/chart_manifold_02_embedded.cc +++ b/tests/manifold/chart_manifold_02_embedded.cc @@ -110,8 +110,7 @@ void test(unsigned int ref=1) int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); test<2,2>(); diff --git a/tests/manifold/chart_manifold_03.cc b/tests/manifold/chart_manifold_03.cc index 31c35e91b6..c6f3aadab7 100644 --- a/tests/manifold/chart_manifold_03.cc +++ b/tests/manifold/chart_manifold_03.cc @@ -127,8 +127,7 @@ void test(unsigned int ref=1) int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-8); test<1,1>(); diff --git a/tests/manifold/chart_manifold_03_embedded.cc b/tests/manifold/chart_manifold_03_embedded.cc index a1c4bd2b9d..5a88f4a103 100644 --- a/tests/manifold/chart_manifold_03_embedded.cc +++ b/tests/manifold/chart_manifold_03_embedded.cc @@ -135,8 +135,7 @@ void test(unsigned int ref=1) int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-8); test<1,1>(); diff --git a/tests/manifold/chart_manifold_04.cc b/tests/manifold/chart_manifold_04.cc index bcc69a32e7..08b13fe30b 100644 --- a/tests/manifold/chart_manifold_04.cc +++ b/tests/manifold/chart_manifold_04.cc @@ -120,8 +120,7 @@ void test(unsigned int ref, const MappingQ &mapping) int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); test<2,2>(2, MappingQ<2>(4, false)); diff --git a/tests/manifold/chart_manifold_04_embedded.cc b/tests/manifold/chart_manifold_04_embedded.cc index ac8e55ece3..5bf6d7cc61 100644 --- a/tests/manifold/chart_manifold_04_embedded.cc +++ b/tests/manifold/chart_manifold_04_embedded.cc @@ -128,8 +128,7 @@ void test(unsigned int ref, const MappingQ &mapping) int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); test<2,2>(2, MappingQ<2>(4, false)); diff --git a/tests/manifold/chart_manifold_05.cc b/tests/manifold/chart_manifold_05.cc index 4e6f86e248..b3047d9d85 100644 --- a/tests/manifold/chart_manifold_05.cc +++ b/tests/manifold/chart_manifold_05.cc @@ -75,8 +75,7 @@ void test() int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); test<1,1>(); diff --git a/tests/manifold/chart_manifold_05_embedded.cc b/tests/manifold/chart_manifold_05_embedded.cc index a208dd2440..a1e71f6c85 100644 --- a/tests/manifold/chart_manifold_05_embedded.cc +++ b/tests/manifold/chart_manifold_05_embedded.cc @@ -83,8 +83,7 @@ void test() int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); test<1,1>(); diff --git a/tests/manifold/chart_manifold_06.cc b/tests/manifold/chart_manifold_06.cc index 487dfabde8..4beaf0d5fb 100644 --- a/tests/manifold/chart_manifold_06.cc +++ b/tests/manifold/chart_manifold_06.cc @@ -89,8 +89,7 @@ void test() int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); test<1,1>(); diff --git a/tests/manifold/chart_manifold_06_embedded.cc b/tests/manifold/chart_manifold_06_embedded.cc index 62f9ef60d7..3377946d8f 100644 --- a/tests/manifold/chart_manifold_06_embedded.cc +++ b/tests/manifold/chart_manifold_06_embedded.cc @@ -94,8 +94,7 @@ void test() int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); test<1,1>(); diff --git a/tests/manifold/chart_manifold_07.cc b/tests/manifold/chart_manifold_07.cc index e6738cec8c..c28df4c484 100644 --- a/tests/manifold/chart_manifold_07.cc +++ b/tests/manifold/chart_manifold_07.cc @@ -153,8 +153,7 @@ void test() int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); test(); diff --git a/tests/manifold/chart_manifold_08.cc b/tests/manifold/chart_manifold_08.cc index 3d0ca03838..b7ff0de213 100644 --- a/tests/manifold/chart_manifold_08.cc +++ b/tests/manifold/chart_manifold_08.cc @@ -128,8 +128,7 @@ void test() int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); test(); diff --git a/tests/manifold/cylindrical_manifold_01.cc b/tests/manifold/cylindrical_manifold_01.cc index 2e057bc34e..08940e43c0 100644 --- a/tests/manifold/cylindrical_manifold_01.cc +++ b/tests/manifold/cylindrical_manifold_01.cc @@ -51,8 +51,7 @@ void test(unsigned int ref=1) int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); test<3,3>(); diff --git a/tests/manifold/cylindrical_manifold_02.cc b/tests/manifold/cylindrical_manifold_02.cc index 13802737ac..8467eac8e3 100644 --- a/tests/manifold/cylindrical_manifold_02.cc +++ b/tests/manifold/cylindrical_manifold_02.cc @@ -52,8 +52,7 @@ void test(unsigned int ref=1) int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); test<3,3>(); diff --git a/tests/manifold/flat_manifold_01.cc b/tests/manifold/flat_manifold_01.cc index 3fec3ac22a..bb6de64b8d 100644 --- a/tests/manifold/flat_manifold_01.cc +++ b/tests/manifold/flat_manifold_01.cc @@ -57,8 +57,7 @@ void test(unsigned int ref=1) int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); test<1,1>(); diff --git a/tests/manifold/flat_manifold_02.cc b/tests/manifold/flat_manifold_02.cc index bc71bf3c31..423a419f35 100644 --- a/tests/manifold/flat_manifold_02.cc +++ b/tests/manifold/flat_manifold_02.cc @@ -62,8 +62,7 @@ void test(unsigned int ref=1) int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); test<2,2>(); diff --git a/tests/manifold/flat_manifold_03.cc b/tests/manifold/flat_manifold_03.cc index b87354fded..864d9681cd 100644 --- a/tests/manifold/flat_manifold_03.cc +++ b/tests/manifold/flat_manifold_03.cc @@ -86,8 +86,7 @@ void test(unsigned int ref=1) int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-8); test<1,1>(); diff --git a/tests/manifold/flat_manifold_04.cc b/tests/manifold/flat_manifold_04.cc index 379b2f38a8..455a50f4cc 100644 --- a/tests/manifold/flat_manifold_04.cc +++ b/tests/manifold/flat_manifold_04.cc @@ -84,8 +84,7 @@ void test(unsigned int ref, const MappingQ &mapping) int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); test<2,2>(2, MappingQ<2>(4, false)); diff --git a/tests/manifold/flat_manifold_05.cc b/tests/manifold/flat_manifold_05.cc index 254560fec2..dd1d87912d 100644 --- a/tests/manifold/flat_manifold_05.cc +++ b/tests/manifold/flat_manifold_05.cc @@ -42,8 +42,7 @@ void test() int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); test<1,1>(); diff --git a/tests/manifold/flat_manifold_06.cc b/tests/manifold/flat_manifold_06.cc index 770552420c..1cc9dcc92f 100644 --- a/tests/manifold/flat_manifold_06.cc +++ b/tests/manifold/flat_manifold_06.cc @@ -47,8 +47,7 @@ void test() int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); test<1,1>(); diff --git a/tests/manifold/function_manifold_01.cc b/tests/manifold/function_manifold_01.cc index f4c2228f08..73cbfe8497 100644 --- a/tests/manifold/function_manifold_01.cc +++ b/tests/manifold/function_manifold_01.cc @@ -70,8 +70,7 @@ void test(unsigned int ref=1) int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); diff --git a/tests/manifold/function_manifold_02.cc b/tests/manifold/function_manifold_02.cc index 6776926c18..954c54cdcc 100644 --- a/tests/manifold/function_manifold_02.cc +++ b/tests/manifold/function_manifold_02.cc @@ -70,8 +70,7 @@ void test(unsigned int ref=1) int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); diff --git a/tests/manifold/function_manifold_03.cc b/tests/manifold/function_manifold_03.cc index fec28e9334..ea5e791bbc 100644 --- a/tests/manifold/function_manifold_03.cc +++ b/tests/manifold/function_manifold_03.cc @@ -82,8 +82,7 @@ void test(unsigned int ref=1) int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); diff --git a/tests/manifold/manifold_id_01.cc b/tests/manifold/manifold_id_01.cc index 33dce61ece..77f109f9eb 100644 --- a/tests/manifold/manifold_id_01.cc +++ b/tests/manifold/manifold_id_01.cc @@ -52,8 +52,7 @@ void test(unsigned int ref=1) int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); test<1,1>(); diff --git a/tests/manifold/manifold_id_02.cc b/tests/manifold/manifold_id_02.cc index 425706a9d6..7b23bd50d9 100644 --- a/tests/manifold/manifold_id_02.cc +++ b/tests/manifold/manifold_id_02.cc @@ -60,8 +60,7 @@ void test(unsigned int ref=1) int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); test<1,1>(); diff --git a/tests/manifold/manifold_id_03.cc b/tests/manifold/manifold_id_03.cc index 713daa3f58..e1526c850d 100644 --- a/tests/manifold/manifold_id_03.cc +++ b/tests/manifold/manifold_id_03.cc @@ -59,8 +59,7 @@ void test(unsigned int ref=1) int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); test<1,1>(); diff --git a/tests/manifold/manifold_id_04.cc b/tests/manifold/manifold_id_04.cc index 75dcd3b52b..636fab4298 100644 --- a/tests/manifold/manifold_id_04.cc +++ b/tests/manifold/manifold_id_04.cc @@ -58,8 +58,7 @@ void test(unsigned int ref=1) int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); test<1,1>(); diff --git a/tests/manifold/manifold_id_05.cc b/tests/manifold/manifold_id_05.cc index e24032cad7..a7326ded7a 100644 --- a/tests/manifold/manifold_id_05.cc +++ b/tests/manifold/manifold_id_05.cc @@ -61,8 +61,7 @@ void test(unsigned int ref=1) int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); test<1,1>(); diff --git a/tests/manifold/manifold_id_06.cc b/tests/manifold/manifold_id_06.cc index d52427c453..02d64ea674 100644 --- a/tests/manifold/manifold_id_06.cc +++ b/tests/manifold/manifold_id_06.cc @@ -62,8 +62,7 @@ void test(unsigned int ref=1) int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); test<1,1>(); diff --git a/tests/manifold/manifold_id_07.cc b/tests/manifold/manifold_id_07.cc index 8e018ea052..084797088d 100644 --- a/tests/manifold/manifold_id_07.cc +++ b/tests/manifold/manifold_id_07.cc @@ -64,8 +64,7 @@ void test(unsigned int ref=1) int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); test<1,1>(); diff --git a/tests/manifold/polar_manifold_01.cc b/tests/manifold/polar_manifold_01.cc index d0b67c57fc..bdaad0aa2a 100644 --- a/tests/manifold/polar_manifold_01.cc +++ b/tests/manifold/polar_manifold_01.cc @@ -61,8 +61,7 @@ void test(unsigned int ref=1) int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); test<2,2>(); diff --git a/tests/manifold/polar_manifold_02.cc b/tests/manifold/polar_manifold_02.cc index 0f022b135b..c8678a3e90 100644 --- a/tests/manifold/polar_manifold_02.cc +++ b/tests/manifold/polar_manifold_02.cc @@ -60,8 +60,7 @@ void test(unsigned int ref=1) int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); test<2,2>(); diff --git a/tests/manifold/polar_manifold_03.cc b/tests/manifold/polar_manifold_03.cc index 387430205f..87580ad0aa 100644 --- a/tests/manifold/polar_manifold_03.cc +++ b/tests/manifold/polar_manifold_03.cc @@ -78,8 +78,7 @@ void test(unsigned int ref=1) int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); test<2,2>(); diff --git a/tests/manifold/polar_manifold_04.cc b/tests/manifold/polar_manifold_04.cc index 477cd7f86d..b9dcfffc16 100644 --- a/tests/manifold/polar_manifold_04.cc +++ b/tests/manifold/polar_manifold_04.cc @@ -63,8 +63,7 @@ void test(unsigned int ref=1) int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); test<1,2>(); diff --git a/tests/manifold/projection_manifold_01.cc b/tests/manifold/projection_manifold_01.cc index 6572874ceb..876fd723cd 100644 --- a/tests/manifold/projection_manifold_01.cc +++ b/tests/manifold/projection_manifold_01.cc @@ -65,8 +65,7 @@ void test(unsigned int ref=1) int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); test<1,1>(); diff --git a/tests/manifold/tria_accessor_point_01.cc b/tests/manifold/tria_accessor_point_01.cc index 8c035854fc..a0d8c84ee2 100644 --- a/tests/manifold/tria_accessor_point_01.cc +++ b/tests/manifold/tria_accessor_point_01.cc @@ -57,8 +57,7 @@ void test(unsigned int ref=1) int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); test<2,2>(); diff --git a/tests/manifold/tria_accessor_point_02.cc b/tests/manifold/tria_accessor_point_02.cc index 925364be5a..cdaa7e4b1f 100644 --- a/tests/manifold/tria_accessor_point_02.cc +++ b/tests/manifold/tria_accessor_point_02.cc @@ -57,8 +57,7 @@ void test(unsigned int ref=1) int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); test<2,2>(); diff --git a/tests/mappings/data_out_curved_geometry.cc b/tests/mappings/data_out_curved_geometry.cc index bac68f10fd..d89e006291 100644 --- a/tests/mappings/data_out_curved_geometry.cc +++ b/tests/mappings/data_out_curved_geometry.cc @@ -46,8 +46,7 @@ int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); const Point<2> center (0,0); diff --git a/tests/mappings/data_out_curved_geometry_3d.cc b/tests/mappings/data_out_curved_geometry_3d.cc index f60aa03119..3a33642d5b 100644 --- a/tests/mappings/data_out_curved_geometry_3d.cc +++ b/tests/mappings/data_out_curved_geometry_3d.cc @@ -41,8 +41,7 @@ int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); const CylindricalManifold<3> boundary_description; diff --git a/tests/mappings/data_out_curved_geometry_no_data.cc b/tests/mappings/data_out_curved_geometry_no_data.cc index f7106e082a..e9910823d4 100644 --- a/tests/mappings/data_out_curved_geometry_no_data.cc +++ b/tests/mappings/data_out_curved_geometry_no_data.cc @@ -46,8 +46,7 @@ int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); const Point<2> center (0,0); diff --git a/tests/mappings/mapping_cartesian_1.cc b/tests/mappings/mapping_cartesian_1.cc index 393f8d54b8..066ca0eec4 100644 --- a/tests/mappings/mapping_cartesian_1.cc +++ b/tests/mappings/mapping_cartesian_1.cc @@ -56,8 +56,7 @@ void check (const Triangulation &tria) int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); { diff --git a/tests/mappings/mapping_project_01.cc b/tests/mappings/mapping_project_01.cc index d6dd3a131f..8d3da92439 100644 --- a/tests/mappings/mapping_project_01.cc +++ b/tests/mappings/mapping_project_01.cc @@ -114,8 +114,7 @@ void dim3_parallelepiped_grid () int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.precision(3); dim2_grid (); diff --git a/tests/mappings/mapping_q4_3d.cc b/tests/mappings/mapping_q4_3d.cc index 8dfcdc6202..1262120608 100644 --- a/tests/mappings/mapping_q4_3d.cc +++ b/tests/mappings/mapping_q4_3d.cc @@ -36,8 +36,7 @@ int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); Triangulation<3> coarse_grid; diff --git a/tests/mappings/mapping_q_convergence.cc b/tests/mappings/mapping_q_convergence.cc index 2ba98f4244..751e690743 100644 --- a/tests/mappings/mapping_q_convergence.cc +++ b/tests/mappings/mapping_q_convergence.cc @@ -241,8 +241,7 @@ void test(const FiniteElement &fe) int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog << std::setprecision (5); deallog.depth_console (0); diff --git a/tests/matrix_free/evaluate_1d_shape.cc b/tests/matrix_free/evaluate_1d_shape.cc index 00444f80be..a2c28f3a40 100644 --- a/tests/matrix_free/evaluate_1d_shape.cc +++ b/tests/matrix_free/evaluate_1d_shape.cc @@ -106,8 +106,7 @@ void test() int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1e-14); deallog.push("values"); diff --git a/tests/matrix_free/evaluate_1d_shape_evenodd.cc b/tests/matrix_free/evaluate_1d_shape_evenodd.cc index 9abff7aa8e..a388515361 100644 --- a/tests/matrix_free/evaluate_1d_shape_evenodd.cc +++ b/tests/matrix_free/evaluate_1d_shape_evenodd.cc @@ -121,8 +121,7 @@ void test() int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1e-14); deallog.push("values"); diff --git a/tests/matrix_free/fe_evaluation_access_1d.cc b/tests/matrix_free/fe_evaluation_access_1d.cc index 516348f087..4a6b2b3312 100644 --- a/tests/matrix_free/fe_evaluation_access_1d.cc +++ b/tests/matrix_free/fe_evaluation_access_1d.cc @@ -24,8 +24,7 @@ int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); FEEvaluationAccess<1,1,double> *test; // didn't compile before diff --git a/tests/matrix_free/laplace_operator_01.cc b/tests/matrix_free/laplace_operator_01.cc index 31f50b068b..1eb9662ca4 100644 --- a/tests/matrix_free/laplace_operator_01.cc +++ b/tests/matrix_free/laplace_operator_01.cc @@ -192,8 +192,7 @@ int main (int argc, char **argv) if (myid == 0) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog << std::setprecision(4); deallog.threshold_double(1.e-10); diff --git a/tests/matrix_free/laplace_operator_02.cc b/tests/matrix_free/laplace_operator_02.cc index 0f8b6a8843..f57cd926a7 100644 --- a/tests/matrix_free/laplace_operator_02.cc +++ b/tests/matrix_free/laplace_operator_02.cc @@ -256,8 +256,7 @@ int main (int argc, char **argv) if (myid == 0) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog << std::setprecision(4); deallog.threshold_double(1.e-10); diff --git a/tests/matrix_free/mass_operator_01.cc b/tests/matrix_free/mass_operator_01.cc index 0612dac126..d60ffd8cb4 100644 --- a/tests/matrix_free/mass_operator_01.cc +++ b/tests/matrix_free/mass_operator_01.cc @@ -201,8 +201,7 @@ int main (int argc, char **argv) if (myid == 0) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog << std::setprecision(4); deallog.threshold_double(1.e-10); diff --git a/tests/matrix_free/matrix_vector_10.cc b/tests/matrix_free/matrix_vector_10.cc index 8c0c6dea32..735dc82bfe 100644 --- a/tests/matrix_free/matrix_vector_10.cc +++ b/tests/matrix_free/matrix_vector_10.cc @@ -204,8 +204,7 @@ int main (int argc, char **argv) if (myid == 0) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog << std::setprecision(4); deallog.threshold_double(1.e-10); diff --git a/tests/matrix_free/matrix_vector_11.cc b/tests/matrix_free/matrix_vector_11.cc index cbef46fece..069cef20ab 100644 --- a/tests/matrix_free/matrix_vector_11.cc +++ b/tests/matrix_free/matrix_vector_11.cc @@ -177,8 +177,7 @@ int main (int argc, char **argv) if (myid == 0) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog << std::setprecision(4); deallog.threshold_double(1.e-10); diff --git a/tests/matrix_free/matrix_vector_12.cc b/tests/matrix_free/matrix_vector_12.cc index b1a912287d..05ccefbb21 100644 --- a/tests/matrix_free/matrix_vector_12.cc +++ b/tests/matrix_free/matrix_vector_12.cc @@ -268,8 +268,7 @@ int main (int argc, char **argv) if (myid == 0) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog << std::setprecision(4); deallog.threshold_double(1.e-10); diff --git a/tests/matrix_free/matrix_vector_13.cc b/tests/matrix_free/matrix_vector_13.cc index 88c5c63300..ba3e91813e 100644 --- a/tests/matrix_free/matrix_vector_13.cc +++ b/tests/matrix_free/matrix_vector_13.cc @@ -270,8 +270,7 @@ int main (int argc, char **argv) if (myid == 0) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog << std::setprecision(4); deallog.threshold_double(1.e-10); diff --git a/tests/matrix_free/matrix_vector_18.cc b/tests/matrix_free/matrix_vector_18.cc index 399890c9d5..cb9d26e810 100644 --- a/tests/matrix_free/matrix_vector_18.cc +++ b/tests/matrix_free/matrix_vector_18.cc @@ -240,8 +240,7 @@ void test () int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog << std::setprecision (3); diff --git a/tests/matrix_free/matrix_vector_19.cc b/tests/matrix_free/matrix_vector_19.cc index 2b4975c2c1..03d3018a3e 100644 --- a/tests/matrix_free/matrix_vector_19.cc +++ b/tests/matrix_free/matrix_vector_19.cc @@ -194,8 +194,7 @@ int main (int argc, char **argv) if (myid == 0) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog << std::setprecision(4); deallog.threshold_double(1.e-10); diff --git a/tests/matrix_free/matrix_vector_20.cc b/tests/matrix_free/matrix_vector_20.cc index 7fe8d4bd44..6060d6a684 100644 --- a/tests/matrix_free/matrix_vector_20.cc +++ b/tests/matrix_free/matrix_vector_20.cc @@ -262,8 +262,7 @@ void test () int main (int argc, char **argv) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog << std::setprecision(4); deallog.depth_console(0); deallog.threshold_double(1.e-10); diff --git a/tests/matrix_free/matrix_vector_21.cc b/tests/matrix_free/matrix_vector_21.cc index 1e843e2bab..9bbbf82506 100644 --- a/tests/matrix_free/matrix_vector_21.cc +++ b/tests/matrix_free/matrix_vector_21.cc @@ -253,8 +253,7 @@ void test () int main (int argc, char **argv) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog << std::setprecision(4); deallog.depth_console(0); deallog.threshold_double(1.e-10); diff --git a/tests/matrix_free/step-37.cc b/tests/matrix_free/step-37.cc index 14347b08fc..962c4f1161 100644 --- a/tests/matrix_free/step-37.cc +++ b/tests/matrix_free/step-37.cc @@ -637,8 +637,7 @@ namespace Step37 int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog << std::setprecision (3); deallog.threshold_double(1e-10); diff --git a/tests/matrix_free/step-48.cc b/tests/matrix_free/step-48.cc index 11a30b0321..0985f3e063 100644 --- a/tests/matrix_free/step-48.cc +++ b/tests/matrix_free/step-48.cc @@ -396,8 +396,7 @@ int main (int argc, char **argv) if (myid == 0) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog << std::setprecision(4); deallog.threshold_double(1.e-10); diff --git a/tests/matrix_free/step-48b.cc b/tests/matrix_free/step-48b.cc index c5bcc1119e..2638971cfc 100644 --- a/tests/matrix_free/step-48b.cc +++ b/tests/matrix_free/step-48b.cc @@ -350,8 +350,7 @@ namespace Step48 int main (int argc, char **argv) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog << std::setprecision(4); deallog.threshold_double(1.e-10); diff --git a/tests/matrix_free/step-48c.cc b/tests/matrix_free/step-48c.cc index d9c344c238..be1ee6ad07 100644 --- a/tests/matrix_free/step-48c.cc +++ b/tests/matrix_free/step-48c.cc @@ -367,8 +367,7 @@ int main (int argc, char **argv) if (myid == 0) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog << std::setprecision(4); deallog.threshold_double(1.e-10); diff --git a/tests/metis/metis_01.cc b/tests/metis/metis_01.cc index 1185eced40..39ac3e96d8 100644 --- a/tests/metis/metis_01.cc +++ b/tests/metis/metis_01.cc @@ -58,8 +58,7 @@ void test () int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/metis/metis_01a.cc b/tests/metis/metis_01a.cc index 90c3ed2859..9ba7cc1d1e 100644 --- a/tests/metis/metis_01a.cc +++ b/tests/metis/metis_01a.cc @@ -130,8 +130,7 @@ void test () int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/metis/metis_02.cc b/tests/metis/metis_02.cc index eb99694866..f92c036976 100644 --- a/tests/metis/metis_02.cc +++ b/tests/metis/metis_02.cc @@ -88,8 +88,7 @@ void test () int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/metis/metis_03.cc b/tests/metis/metis_03.cc index 6e3390e524..98a02a754e 100644 --- a/tests/metis/metis_03.cc +++ b/tests/metis/metis_03.cc @@ -83,8 +83,7 @@ void test () int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/mpi/blockvec_01.cc b/tests/mpi/blockvec_01.cc index 48611ba496..3dcc783b60 100644 --- a/tests/mpi/blockvec_01.cc +++ b/tests/mpi/blockvec_01.cc @@ -107,8 +107,7 @@ int main (int argc, char **argv) if (myid == 0) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog << std::setprecision(4); deallog.threshold_double(1.e-10); diff --git a/tests/mpi/cell_weights_01.cc b/tests/mpi/cell_weights_01.cc index 24119b5f8c..f24945893d 100644 --- a/tests/mpi/cell_weights_01.cc +++ b/tests/mpi/cell_weights_01.cc @@ -69,8 +69,7 @@ int main(int argc, char *argv[]) if (myid == 0) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); deallog.push("2d"); diff --git a/tests/mpi/cell_weights_01_back_and_forth_01.cc b/tests/mpi/cell_weights_01_back_and_forth_01.cc index c9b3837573..0746275ee5 100644 --- a/tests/mpi/cell_weights_01_back_and_forth_01.cc +++ b/tests/mpi/cell_weights_01_back_and_forth_01.cc @@ -101,8 +101,7 @@ int main(int argc, char *argv[]) if (myid == 0) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); deallog.push("2d"); diff --git a/tests/mpi/cell_weights_01_back_and_forth_02.cc b/tests/mpi/cell_weights_01_back_and_forth_02.cc index 5b67a4120b..40e43b07f9 100644 --- a/tests/mpi/cell_weights_01_back_and_forth_02.cc +++ b/tests/mpi/cell_weights_01_back_and_forth_02.cc @@ -87,8 +87,7 @@ int main(int argc, char *argv[]) if (myid == 0) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); deallog.push("2d"); diff --git a/tests/mpi/cell_weights_02.cc b/tests/mpi/cell_weights_02.cc index 56615175ae..810de1b0bd 100644 --- a/tests/mpi/cell_weights_02.cc +++ b/tests/mpi/cell_weights_02.cc @@ -75,8 +75,7 @@ int main(int argc, char *argv[]) if (myid == 0) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); deallog.push("2d"); diff --git a/tests/mpi/cell_weights_03.cc b/tests/mpi/cell_weights_03.cc index 0b144b01c5..3cc22d4940 100644 --- a/tests/mpi/cell_weights_03.cc +++ b/tests/mpi/cell_weights_03.cc @@ -104,8 +104,7 @@ int main(int argc, char *argv[]) if (myid == 0) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); deallog.push("2d"); diff --git a/tests/mpi/cell_weights_04.cc b/tests/mpi/cell_weights_04.cc index c038d25360..baea133563 100644 --- a/tests/mpi/cell_weights_04.cc +++ b/tests/mpi/cell_weights_04.cc @@ -99,8 +99,7 @@ int main(int argc, char *argv[]) if (myid == 0) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); deallog.push("2d"); diff --git a/tests/mpi/cell_weights_05.cc b/tests/mpi/cell_weights_05.cc index 03441155a3..62c99ca05b 100644 --- a/tests/mpi/cell_weights_05.cc +++ b/tests/mpi/cell_weights_05.cc @@ -118,8 +118,7 @@ int main(int argc, char *argv[]) if (myid == 0) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); deallog.push("2d"); diff --git a/tests/mpi/cell_weights_06.cc b/tests/mpi/cell_weights_06.cc index 8c482d6b32..40ddbb47b3 100644 --- a/tests/mpi/cell_weights_06.cc +++ b/tests/mpi/cell_weights_06.cc @@ -117,8 +117,7 @@ int main(int argc, char *argv[]) if (myid == 0) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); deallog.push("2d"); diff --git a/tests/mpi/collective_01.cc b/tests/mpi/collective_01.cc index 4ecc8fd884..82def4d476 100644 --- a/tests/mpi/collective_01.cc +++ b/tests/mpi/collective_01.cc @@ -91,8 +91,7 @@ int main(int argc, char *argv[]) if (Utilities::MPI::this_mpi_process (MPI_COMM_WORLD) == 0) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); deallog.push("mpi"); diff --git a/tests/mpi/collective_02.cc b/tests/mpi/collective_02.cc index 9263f83325..e529faecf5 100644 --- a/tests/mpi/collective_02.cc +++ b/tests/mpi/collective_02.cc @@ -67,8 +67,7 @@ int main(int argc, char *argv[]) if (Utilities::MPI::this_mpi_process (MPI_COMM_WORLD) == 0) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); deallog.push("mpi"); diff --git a/tests/mpi/collective_02_array.cc b/tests/mpi/collective_02_array.cc index 377c0084ec..5188eb9c4a 100644 --- a/tests/mpi/collective_02_array.cc +++ b/tests/mpi/collective_02_array.cc @@ -53,8 +53,7 @@ int main(int argc, char *argv[]) if (Utilities::MPI::this_mpi_process (MPI_COMM_WORLD) == 0) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); deallog.push("mpi"); diff --git a/tests/mpi/collective_02_array_in_place.cc b/tests/mpi/collective_02_array_in_place.cc index a00fad88c5..fdc6fc881e 100644 --- a/tests/mpi/collective_02_array_in_place.cc +++ b/tests/mpi/collective_02_array_in_place.cc @@ -52,8 +52,7 @@ int main(int argc, char *argv[]) if (Utilities::MPI::this_mpi_process (MPI_COMM_WORLD) == 0) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); deallog.push("mpi"); diff --git a/tests/mpi/collective_02_dealii_vector.cc b/tests/mpi/collective_02_dealii_vector.cc index 56185b53a8..1b079e1e20 100644 --- a/tests/mpi/collective_02_dealii_vector.cc +++ b/tests/mpi/collective_02_dealii_vector.cc @@ -74,8 +74,7 @@ int main(int argc, char *argv[]) if (Utilities::MPI::this_mpi_process (MPI_COMM_WORLD) == 0) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); deallog.push("mpi"); diff --git a/tests/mpi/collective_02_dealii_vector_in_place.cc b/tests/mpi/collective_02_dealii_vector_in_place.cc index 5f3ead106e..ff12f657c1 100644 --- a/tests/mpi/collective_02_dealii_vector_in_place.cc +++ b/tests/mpi/collective_02_dealii_vector_in_place.cc @@ -72,8 +72,7 @@ int main(int argc, char *argv[]) if (Utilities::MPI::this_mpi_process (MPI_COMM_WORLD) == 0) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); deallog.push("mpi"); diff --git a/tests/mpi/collective_02_vector.cc b/tests/mpi/collective_02_vector.cc index 53b2b3831b..b65af4d344 100644 --- a/tests/mpi/collective_02_vector.cc +++ b/tests/mpi/collective_02_vector.cc @@ -54,8 +54,7 @@ int main(int argc, char *argv[]) if (Utilities::MPI::this_mpi_process (MPI_COMM_WORLD) == 0) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); deallog.push("mpi"); diff --git a/tests/mpi/collective_02_vector_in_place.cc b/tests/mpi/collective_02_vector_in_place.cc index a3c7650fc9..3c18df10ce 100644 --- a/tests/mpi/collective_02_vector_in_place.cc +++ b/tests/mpi/collective_02_vector_in_place.cc @@ -53,8 +53,7 @@ int main(int argc, char *argv[]) if (Utilities::MPI::this_mpi_process (MPI_COMM_WORLD) == 0) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); deallog.push("mpi"); diff --git a/tests/mpi/collective_max.cc b/tests/mpi/collective_max.cc index 666a817e3e..a5eb1eb035 100644 --- a/tests/mpi/collective_max.cc +++ b/tests/mpi/collective_max.cc @@ -67,8 +67,7 @@ int main(int argc, char *argv[]) if (Utilities::MPI::this_mpi_process (MPI_COMM_WORLD) == 0) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); deallog.push("mpi"); diff --git a/tests/mpi/collective_max_array.cc b/tests/mpi/collective_max_array.cc index 245afd3d6c..df16229ae6 100644 --- a/tests/mpi/collective_max_array.cc +++ b/tests/mpi/collective_max_array.cc @@ -53,8 +53,7 @@ int main(int argc, char *argv[]) if (Utilities::MPI::this_mpi_process (MPI_COMM_WORLD) == 0) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); deallog.push("mpi"); diff --git a/tests/mpi/collective_max_array_in_place.cc b/tests/mpi/collective_max_array_in_place.cc index 71796965a5..24adb1883a 100644 --- a/tests/mpi/collective_max_array_in_place.cc +++ b/tests/mpi/collective_max_array_in_place.cc @@ -52,8 +52,7 @@ int main(int argc, char *argv[]) if (Utilities::MPI::this_mpi_process (MPI_COMM_WORLD) == 0) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); deallog.push("mpi"); diff --git a/tests/mpi/collective_max_vector.cc b/tests/mpi/collective_max_vector.cc index c8f52894c3..f2fe374766 100644 --- a/tests/mpi/collective_max_vector.cc +++ b/tests/mpi/collective_max_vector.cc @@ -54,8 +54,7 @@ int main(int argc, char *argv[]) if (Utilities::MPI::this_mpi_process (MPI_COMM_WORLD) == 0) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); deallog.push("mpi"); diff --git a/tests/mpi/collective_max_vector_in_place.cc b/tests/mpi/collective_max_vector_in_place.cc index 4e4d1dc4b0..84e6f5984f 100644 --- a/tests/mpi/collective_max_vector_in_place.cc +++ b/tests/mpi/collective_max_vector_in_place.cc @@ -53,8 +53,7 @@ int main(int argc, char *argv[]) if (Utilities::MPI::this_mpi_process (MPI_COMM_WORLD) == 0) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); deallog.push("mpi"); diff --git a/tests/mpi/collective_min.cc b/tests/mpi/collective_min.cc index 8ea3e88341..607f4a57d1 100644 --- a/tests/mpi/collective_min.cc +++ b/tests/mpi/collective_min.cc @@ -67,8 +67,7 @@ int main(int argc, char *argv[]) if (Utilities::MPI::this_mpi_process (MPI_COMM_WORLD) == 0) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); deallog.push("mpi"); diff --git a/tests/mpi/collective_min_array.cc b/tests/mpi/collective_min_array.cc index 308fffff16..36bbe7d40e 100644 --- a/tests/mpi/collective_min_array.cc +++ b/tests/mpi/collective_min_array.cc @@ -53,8 +53,7 @@ int main(int argc, char *argv[]) if (Utilities::MPI::this_mpi_process (MPI_COMM_WORLD) == 0) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); deallog.push("mpi"); diff --git a/tests/mpi/collective_min_array_in_place.cc b/tests/mpi/collective_min_array_in_place.cc index 647d950198..f5af9d2148 100644 --- a/tests/mpi/collective_min_array_in_place.cc +++ b/tests/mpi/collective_min_array_in_place.cc @@ -52,8 +52,7 @@ int main(int argc, char *argv[]) if (Utilities::MPI::this_mpi_process (MPI_COMM_WORLD) == 0) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); deallog.push("mpi"); diff --git a/tests/mpi/collective_min_vector.cc b/tests/mpi/collective_min_vector.cc index 7d2f20f57f..4f023a6e8a 100644 --- a/tests/mpi/collective_min_vector.cc +++ b/tests/mpi/collective_min_vector.cc @@ -54,8 +54,7 @@ int main(int argc, char *argv[]) if (Utilities::MPI::this_mpi_process (MPI_COMM_WORLD) == 0) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); deallog.push("mpi"); diff --git a/tests/mpi/collective_min_vector_in_place.cc b/tests/mpi/collective_min_vector_in_place.cc index 67d9fbccc6..aee7f4187e 100644 --- a/tests/mpi/collective_min_vector_in_place.cc +++ b/tests/mpi/collective_min_vector_in_place.cc @@ -53,8 +53,7 @@ int main(int argc, char *argv[]) if (Utilities::MPI::this_mpi_process (MPI_COMM_WORLD) == 0) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); deallog.push("mpi"); diff --git a/tests/mpi/collective_tensor.cc b/tests/mpi/collective_tensor.cc index 37b5ea8cbe..8c2c27c548 100644 --- a/tests/mpi/collective_tensor.cc +++ b/tests/mpi/collective_tensor.cc @@ -106,8 +106,7 @@ int main(int argc, char *argv[]) if (Utilities::MPI::this_mpi_process (MPI_COMM_WORLD) == 0) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); deallog.push("mpi"); diff --git a/tests/mpi/compute_mean_value.cc b/tests/mpi/compute_mean_value.cc index 7df71bad66..43140d4b4d 100644 --- a/tests/mpi/compute_mean_value.cc +++ b/tests/mpi/compute_mean_value.cc @@ -99,8 +99,7 @@ int main(int argc, char *argv[]) if (myid == 0) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); deallog.push("2d"); diff --git a/tests/mpi/constraint_matrix_condense_01.cc b/tests/mpi/constraint_matrix_condense_01.cc index 0d021cf84c..d417add086 100644 --- a/tests/mpi/constraint_matrix_condense_01.cc +++ b/tests/mpi/constraint_matrix_condense_01.cc @@ -85,8 +85,7 @@ int main(int argc, char *argv[]) if (myid == 0) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog << std::setprecision(4); deallog.threshold_double(1.e-10); diff --git a/tests/mpi/constraint_matrix_trilinos_bug.cc b/tests/mpi/constraint_matrix_trilinos_bug.cc index 2268663512..6ddd7ed03d 100644 --- a/tests/mpi/constraint_matrix_trilinos_bug.cc +++ b/tests/mpi/constraint_matrix_trilinos_bug.cc @@ -150,8 +150,7 @@ int main(int argc, char *argv[]) if (myid == 0) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); deallog.push("2d"); diff --git a/tests/mpi/count_dofs_per_block_01.cc b/tests/mpi/count_dofs_per_block_01.cc index ab555165c6..d786583e54 100644 --- a/tests/mpi/count_dofs_per_block_01.cc +++ b/tests/mpi/count_dofs_per_block_01.cc @@ -70,8 +70,7 @@ int main(int argc, char *argv[]) unsigned int myid = Utilities::MPI::this_mpi_process (MPI_COMM_WORLD); if (myid == 0) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); deallog.push("2d"); diff --git a/tests/mpi/count_dofs_per_block_02.cc b/tests/mpi/count_dofs_per_block_02.cc index 7dc82b3a85..ac01afd2df 100644 --- a/tests/mpi/count_dofs_per_block_02.cc +++ b/tests/mpi/count_dofs_per_block_02.cc @@ -113,8 +113,7 @@ int main(int argc, char *argv[]) unsigned int myid = Utilities::MPI::this_mpi_process (MPI_COMM_WORLD); if (myid == 0) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); deallog.push("2d"); diff --git a/tests/mpi/count_dofs_per_component_01.cc b/tests/mpi/count_dofs_per_component_01.cc index 9c55456b28..d92b185710 100644 --- a/tests/mpi/count_dofs_per_component_01.cc +++ b/tests/mpi/count_dofs_per_component_01.cc @@ -79,8 +79,7 @@ int main(int argc, char *argv[]) unsigned int myid = Utilities::MPI::this_mpi_process (MPI_COMM_WORLD); if (myid == 0) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); deallog.push("2d"); diff --git a/tests/mpi/crash_01.cc b/tests/mpi/crash_01.cc index ddc9d7962b..8d85d9f7bf 100644 --- a/tests/mpi/crash_01.cc +++ b/tests/mpi/crash_01.cc @@ -65,8 +65,7 @@ int main(int argc, char *argv[]) unsigned int myid = Utilities::MPI::this_mpi_process (MPI_COMM_WORLD); if (myid == 0) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); deallog.push("2d"); diff --git a/tests/mpi/crash_02.cc b/tests/mpi/crash_02.cc index f4a1bce4a9..91913dab8e 100644 --- a/tests/mpi/crash_02.cc +++ b/tests/mpi/crash_02.cc @@ -60,8 +60,7 @@ int main(int argc, char *argv[]) unsigned int myid = Utilities::MPI::this_mpi_process (MPI_COMM_WORLD); if (myid == 0) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); deallog.push("2d"); diff --git a/tests/mpi/crash_03.cc b/tests/mpi/crash_03.cc index dbdf7a0a49..a7434a8487 100644 --- a/tests/mpi/crash_03.cc +++ b/tests/mpi/crash_03.cc @@ -90,8 +90,7 @@ int main(int argc, char *argv[]) unsigned int myid = Utilities::MPI::this_mpi_process (MPI_COMM_WORLD); if (myid == 0) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); deallog.push("2d"); diff --git a/tests/mpi/crash_04.cc b/tests/mpi/crash_04.cc index f57cff9d16..5e813f0a21 100644 --- a/tests/mpi/crash_04.cc +++ b/tests/mpi/crash_04.cc @@ -116,8 +116,7 @@ int main(int argc, char *argv[]) unsigned int myid = Utilities::MPI::this_mpi_process (MPI_COMM_WORLD); if (myid == 0) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); deallog.push("2d"); diff --git a/tests/mpi/cuthill_mckee_01.cc b/tests/mpi/cuthill_mckee_01.cc index ba1a4e6963..ab83a2a315 100644 --- a/tests/mpi/cuthill_mckee_01.cc +++ b/tests/mpi/cuthill_mckee_01.cc @@ -50,8 +50,7 @@ int main(int argc, char *argv[]) deallog.push(Utilities::int_to_string(myid)); if (myid == 0) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); deallog.push("2d"); diff --git a/tests/mpi/distribute_flux_sparsity_pattern.cc b/tests/mpi/distribute_flux_sparsity_pattern.cc index ec85cfaba6..45519d5cb3 100644 --- a/tests/mpi/distribute_flux_sparsity_pattern.cc +++ b/tests/mpi/distribute_flux_sparsity_pattern.cc @@ -311,8 +311,7 @@ namespace LinearAdvectionTest int main(int argc, char **argv) { using namespace dealii; - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); Utilities::MPI::MPI_InitFinalize mpi_initialization diff --git a/tests/mpi/distribute_sp_01.cc b/tests/mpi/distribute_sp_01.cc index 8ddb3d6cf5..5a7cabd0fb 100644 --- a/tests/mpi/distribute_sp_01.cc +++ b/tests/mpi/distribute_sp_01.cc @@ -105,8 +105,7 @@ int main(int argc, char *argv[]) if (Utilities::MPI::this_mpi_process (MPI_COMM_WORLD) == 0) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); deallog.push("mpi"); diff --git a/tests/mpi/distribute_sp_02.cc b/tests/mpi/distribute_sp_02.cc index 0685f5fd25..c5abafd581 100644 --- a/tests/mpi/distribute_sp_02.cc +++ b/tests/mpi/distribute_sp_02.cc @@ -165,8 +165,7 @@ int main(int argc, char *argv[]) if (Utilities::MPI::this_mpi_process (MPI_COMM_WORLD) == 0) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); deallog.push("mpi"); diff --git a/tests/mpi/dof_handler_number_cache.cc b/tests/mpi/dof_handler_number_cache.cc index 49036dedfa..808bb5ad00 100644 --- a/tests/mpi/dof_handler_number_cache.cc +++ b/tests/mpi/dof_handler_number_cache.cc @@ -138,8 +138,7 @@ int main(int argc, char *argv[]) unsigned int myid = Utilities::MPI::this_mpi_process (MPI_COMM_WORLD); if (myid == 0) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); deallog.push("2d"); diff --git a/tests/mpi/extract_boundary_dofs.cc b/tests/mpi/extract_boundary_dofs.cc index 0719df7489..c745ee65a1 100644 --- a/tests/mpi/extract_boundary_dofs.cc +++ b/tests/mpi/extract_boundary_dofs.cc @@ -67,8 +67,7 @@ int main(int argc, char *argv[]) if (myid == 0) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); deallog.push("2d"); diff --git a/tests/mpi/extract_constant_modes_01.cc b/tests/mpi/extract_constant_modes_01.cc index 7b38fb5a1b..3ee85fc528 100644 --- a/tests/mpi/extract_constant_modes_01.cc +++ b/tests/mpi/extract_constant_modes_01.cc @@ -108,8 +108,7 @@ int main(int argc, char *argv[]) if (myid == 0) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); deallog.push("2d"); diff --git a/tests/mpi/extract_constant_modes_02.cc b/tests/mpi/extract_constant_modes_02.cc index 3740248180..dde7814394 100644 --- a/tests/mpi/extract_constant_modes_02.cc +++ b/tests/mpi/extract_constant_modes_02.cc @@ -84,8 +84,7 @@ int main(int argc, char *argv[]) if (myid == 0) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); deallog.push("2d"); diff --git a/tests/mpi/extract_locally_active_dofs.cc b/tests/mpi/extract_locally_active_dofs.cc index 7da64ab4e5..c5575293e7 100644 --- a/tests/mpi/extract_locally_active_dofs.cc +++ b/tests/mpi/extract_locally_active_dofs.cc @@ -86,8 +86,7 @@ int main(int argc, char *argv[]) if (myid == 0) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); deallog.push("2d"); diff --git a/tests/mpi/fe_field_function_01.cc b/tests/mpi/fe_field_function_01.cc index 8df8170292..9845fcd1e3 100644 --- a/tests/mpi/fe_field_function_01.cc +++ b/tests/mpi/fe_field_function_01.cc @@ -129,8 +129,7 @@ int main(int argc, char *argv[]) if (myid == 0) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); deallog.push("2d"); diff --git a/tests/mpi/find_active_cell_around_point_01.cc b/tests/mpi/find_active_cell_around_point_01.cc index e0cae4a4e2..ab4b714a35 100644 --- a/tests/mpi/find_active_cell_around_point_01.cc +++ b/tests/mpi/find_active_cell_around_point_01.cc @@ -88,8 +88,7 @@ int main(int argc, char *argv[]) if (myid == 0) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); deallog.push("2d"); diff --git a/tests/mpi/ghost_01.cc b/tests/mpi/ghost_01.cc index 0f09c0c0e9..ee70908ad0 100644 --- a/tests/mpi/ghost_01.cc +++ b/tests/mpi/ghost_01.cc @@ -88,8 +88,7 @@ int main (int argc, char **argv) if (myid == 0) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog << std::setprecision(4); deallog.threshold_double(1.e-10); diff --git a/tests/mpi/ghost_02.cc b/tests/mpi/ghost_02.cc index 725591e5e2..765bbc45d3 100644 --- a/tests/mpi/ghost_02.cc +++ b/tests/mpi/ghost_02.cc @@ -103,8 +103,7 @@ int main (int argc, char **argv) if (myid == 0) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog << std::setprecision(4); deallog.threshold_double(1.e-10); diff --git a/tests/mpi/ghost_03.cc b/tests/mpi/ghost_03.cc index eb40b6197b..b649d3d85e 100644 --- a/tests/mpi/ghost_03.cc +++ b/tests/mpi/ghost_03.cc @@ -99,8 +99,7 @@ int main (int argc, char **argv) if (myid == 0) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog << std::setprecision(4); deallog.threshold_double(1.e-10); diff --git a/tests/mpi/has_hanging_nodes.cc b/tests/mpi/has_hanging_nodes.cc index 2792cf1ab8..14d87ab431 100644 --- a/tests/mpi/has_hanging_nodes.cc +++ b/tests/mpi/has_hanging_nodes.cc @@ -139,8 +139,7 @@ void test_int(const unsigned int n_global = 0, int main (int argc, char *argv[]) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); Utilities::MPI::MPI_InitFinalize mpi_initialization (argc, argv, testing_max_num_threads()); diff --git a/tests/mpi/integrate_difference.cc b/tests/mpi/integrate_difference.cc index 4e6434b0fc..67eab07ddf 100644 --- a/tests/mpi/integrate_difference.cc +++ b/tests/mpi/integrate_difference.cc @@ -115,8 +115,7 @@ int main(int argc, char *argv[]) if (myid == 0) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); deallog.push("2d"); diff --git a/tests/mpi/interpolate_01.cc b/tests/mpi/interpolate_01.cc index 4f5d70d1fc..d0a9050166 100644 --- a/tests/mpi/interpolate_01.cc +++ b/tests/mpi/interpolate_01.cc @@ -95,8 +95,7 @@ int main(int argc, char *argv[]) if (myid == 0) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); deallog.push("2d"); diff --git a/tests/mpi/interpolate_02.cc b/tests/mpi/interpolate_02.cc index d97507bd30..6be2dd05aa 100644 --- a/tests/mpi/interpolate_02.cc +++ b/tests/mpi/interpolate_02.cc @@ -86,8 +86,7 @@ int main(int argc, char *argv[]) if (myid == 0) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); deallog.push("2d"); diff --git a/tests/mpi/interpolate_03.cc b/tests/mpi/interpolate_03.cc index 19540480b2..c201526d3d 100644 --- a/tests/mpi/interpolate_03.cc +++ b/tests/mpi/interpolate_03.cc @@ -92,8 +92,7 @@ int main(int argc, char *argv[]) if (myid == 0) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); deallog.push("2d"); diff --git a/tests/mpi/interpolate_04.cc b/tests/mpi/interpolate_04.cc index ad66e7d363..1daefe95c3 100644 --- a/tests/mpi/interpolate_04.cc +++ b/tests/mpi/interpolate_04.cc @@ -99,8 +99,7 @@ int main(int argc, char *argv[]) if (myid == 0) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); deallog.push("2d"); diff --git a/tests/mpi/is_locally_owned.cc b/tests/mpi/is_locally_owned.cc index 804596e4d5..1e9f363d5d 100644 --- a/tests/mpi/is_locally_owned.cc +++ b/tests/mpi/is_locally_owned.cc @@ -92,8 +92,7 @@ int main(int argc, char *argv[]) if (myid == 0) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); deallog.push("2d"); diff --git a/tests/mpi/make_zero_boundary_values.cc b/tests/mpi/make_zero_boundary_values.cc index b68c72d308..19e296c4b8 100644 --- a/tests/mpi/make_zero_boundary_values.cc +++ b/tests/mpi/make_zero_boundary_values.cc @@ -73,8 +73,7 @@ int main(int argc, char *argv[]) if (myid == 0) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); deallog.push("2d"); diff --git a/tests/mpi/map_dofs_to_support_points.cc b/tests/mpi/map_dofs_to_support_points.cc index b1fa897a3e..7f34f124bd 100644 --- a/tests/mpi/map_dofs_to_support_points.cc +++ b/tests/mpi/map_dofs_to_support_points.cc @@ -89,8 +89,7 @@ int main(int argc, char *argv[]) if (myid == 0) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); deallog.push("2d"); diff --git a/tests/mpi/no_flux_constraints.cc b/tests/mpi/no_flux_constraints.cc index f78778a2da..f31371cdf8 100644 --- a/tests/mpi/no_flux_constraints.cc +++ b/tests/mpi/no_flux_constraints.cc @@ -178,8 +178,7 @@ int main(int argc, char *argv[]) if (myid == 0) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); deallog.push("3d"); diff --git a/tests/mpi/no_flux_constraints_02.cc b/tests/mpi/no_flux_constraints_02.cc index 391e8d6996..101aad39e1 100644 --- a/tests/mpi/no_flux_constraints_02.cc +++ b/tests/mpi/no_flux_constraints_02.cc @@ -215,8 +215,7 @@ int main(int argc, char *argv[]) if (myid == 0) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); deallog.push("3d"); diff --git a/tests/mpi/no_flux_constraints_03.cc b/tests/mpi/no_flux_constraints_03.cc index fee5961627..bd441ca19b 100644 --- a/tests/mpi/no_flux_constraints_03.cc +++ b/tests/mpi/no_flux_constraints_03.cc @@ -190,8 +190,7 @@ int main(int argc, char *argv[]) if (myid == 0) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); deallog.push("3d"); diff --git a/tests/mpi/normal_flux_constraints.cc b/tests/mpi/normal_flux_constraints.cc index b3351e50b6..633bd35c7c 100644 --- a/tests/mpi/normal_flux_constraints.cc +++ b/tests/mpi/normal_flux_constraints.cc @@ -177,8 +177,7 @@ int main(int argc, char *argv[]) if (myid == 0) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); deallog.push("3d"); diff --git a/tests/mpi/p4est_2d_coarse_01.cc b/tests/mpi/p4est_2d_coarse_01.cc index 2815b5510e..a89c85ed38 100644 --- a/tests/mpi/p4est_2d_coarse_01.cc +++ b/tests/mpi/p4est_2d_coarse_01.cc @@ -100,8 +100,7 @@ int main(int argc, char *argv[]) if (myid == 0) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); deallog.push("2d"); diff --git a/tests/mpi/p4est_2d_constraintmatrix_01.cc b/tests/mpi/p4est_2d_constraintmatrix_01.cc index d45c3f0381..465813ef07 100644 --- a/tests/mpi/p4est_2d_constraintmatrix_01.cc +++ b/tests/mpi/p4est_2d_constraintmatrix_01.cc @@ -102,8 +102,7 @@ int main(int argc, char *argv[]) if (myid == 0) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); deallog.push("2d"); diff --git a/tests/mpi/p4est_2d_constraintmatrix_02.cc b/tests/mpi/p4est_2d_constraintmatrix_02.cc index 7b293cf4b1..d5e68c540f 100644 --- a/tests/mpi/p4est_2d_constraintmatrix_02.cc +++ b/tests/mpi/p4est_2d_constraintmatrix_02.cc @@ -102,8 +102,7 @@ int main(int argc, char *argv[]) if (myid == 0) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); deallog.push("2d"); diff --git a/tests/mpi/p4est_2d_constraintmatrix_03.cc b/tests/mpi/p4est_2d_constraintmatrix_03.cc index c9f7c72771..7f518d7502 100644 --- a/tests/mpi/p4est_2d_constraintmatrix_03.cc +++ b/tests/mpi/p4est_2d_constraintmatrix_03.cc @@ -232,8 +232,7 @@ int main(int argc, char *argv[]) if (myid == 0) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); deallog.push("2d"); diff --git a/tests/mpi/p4est_2d_constraintmatrix_04.cc b/tests/mpi/p4est_2d_constraintmatrix_04.cc index d72e8aea3d..e88bd0d2ab 100644 --- a/tests/mpi/p4est_2d_constraintmatrix_04.cc +++ b/tests/mpi/p4est_2d_constraintmatrix_04.cc @@ -327,8 +327,7 @@ int main(int argc, char *argv[]) if (myid == 0) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); deallog.push("2d"); diff --git a/tests/mpi/p4est_2d_constraintmatrix_05.cc b/tests/mpi/p4est_2d_constraintmatrix_05.cc index 511870a1a1..b62ed09cb3 100644 --- a/tests/mpi/p4est_2d_constraintmatrix_05.cc +++ b/tests/mpi/p4est_2d_constraintmatrix_05.cc @@ -106,8 +106,7 @@ int main(int argc, char *argv[]) if (myid == 0) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); deallog.push("2d"); diff --git a/tests/mpi/p4est_2d_dofhandler_01.cc b/tests/mpi/p4est_2d_dofhandler_01.cc index 6a65c56660..e308232936 100644 --- a/tests/mpi/p4est_2d_dofhandler_01.cc +++ b/tests/mpi/p4est_2d_dofhandler_01.cc @@ -93,8 +93,7 @@ int main(int argc, char *argv[]) if (myid == 0) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); deallog.push("2d"); diff --git a/tests/mpi/p4est_2d_dofhandler_02.cc b/tests/mpi/p4est_2d_dofhandler_02.cc index ad6a2a8843..5d62bacb6f 100644 --- a/tests/mpi/p4est_2d_dofhandler_02.cc +++ b/tests/mpi/p4est_2d_dofhandler_02.cc @@ -106,8 +106,7 @@ int main(int argc, char *argv[]) if (myid == 0) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); deallog.push("2d"); diff --git a/tests/mpi/p4est_2d_dofhandler_03.cc b/tests/mpi/p4est_2d_dofhandler_03.cc index 674ecc916b..02334a7b1a 100644 --- a/tests/mpi/p4est_2d_dofhandler_03.cc +++ b/tests/mpi/p4est_2d_dofhandler_03.cc @@ -125,8 +125,7 @@ int main(int argc, char *argv[]) if (myid == 0) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); deallog.push("2d"); diff --git a/tests/mpi/p4est_2d_dofhandler_04.cc b/tests/mpi/p4est_2d_dofhandler_04.cc index ebf8f1cf04..8911bfd12d 100644 --- a/tests/mpi/p4est_2d_dofhandler_04.cc +++ b/tests/mpi/p4est_2d_dofhandler_04.cc @@ -135,8 +135,7 @@ int main(int argc, char *argv[]) if (myid == 0) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); deallog.push("2d"); diff --git a/tests/mpi/p4est_2d_dofhandler_05.cc b/tests/mpi/p4est_2d_dofhandler_05.cc index 0ce8d32c3c..e8d716c508 100644 --- a/tests/mpi/p4est_2d_dofhandler_05.cc +++ b/tests/mpi/p4est_2d_dofhandler_05.cc @@ -73,8 +73,7 @@ int main(int argc, char *argv[]) if (myid == 0) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); deallog.push("2d"); diff --git a/tests/mpi/p4est_2d_ghost_01.cc b/tests/mpi/p4est_2d_ghost_01.cc index a0efb9294a..d3c3ad2cff 100644 --- a/tests/mpi/p4est_2d_ghost_01.cc +++ b/tests/mpi/p4est_2d_ghost_01.cc @@ -120,8 +120,7 @@ int main(int argc, char *argv[]) if (myid == 0) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); deallog.push("2d"); diff --git a/tests/mpi/p4est_2d_ghost_02.cc b/tests/mpi/p4est_2d_ghost_02.cc index b3bc511126..4c0402db1b 100644 --- a/tests/mpi/p4est_2d_ghost_02.cc +++ b/tests/mpi/p4est_2d_ghost_02.cc @@ -122,8 +122,7 @@ int main(int argc, char *argv[]) if (myid == 0) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); deallog.push("2d"); diff --git a/tests/mpi/p4est_2d_refine_01.cc b/tests/mpi/p4est_2d_refine_01.cc index 677bbb7302..b6683d6c1e 100644 --- a/tests/mpi/p4est_2d_refine_01.cc +++ b/tests/mpi/p4est_2d_refine_01.cc @@ -86,8 +86,7 @@ int main(int argc, char *argv[]) if (myid == 0) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); deallog.push("2d"); diff --git a/tests/mpi/p4est_2d_refine_03.cc b/tests/mpi/p4est_2d_refine_03.cc index cd4f909cdb..e5787f45bf 100644 --- a/tests/mpi/p4est_2d_refine_03.cc +++ b/tests/mpi/p4est_2d_refine_03.cc @@ -97,8 +97,7 @@ int main(int argc, char *argv[]) if (myid == 0) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); deallog.push("2d"); diff --git a/tests/mpi/p4est_2d_renumber_01.cc b/tests/mpi/p4est_2d_renumber_01.cc index 7d1d2fbf5b..b28c7f68bd 100644 --- a/tests/mpi/p4est_2d_renumber_01.cc +++ b/tests/mpi/p4est_2d_renumber_01.cc @@ -126,8 +126,7 @@ int main(int argc, char *argv[]) if (myid == 0) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); deallog.push("2d"); diff --git a/tests/mpi/p4est_2d_renumber_02.cc b/tests/mpi/p4est_2d_renumber_02.cc index 1e69dfb3aa..132f3dbbb1 100644 --- a/tests/mpi/p4est_2d_renumber_02.cc +++ b/tests/mpi/p4est_2d_renumber_02.cc @@ -122,8 +122,7 @@ int main(int argc, char *argv[]) if (myid == 0) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); deallog.push("2d"); diff --git a/tests/mpi/p4est_2d_simple.cc b/tests/mpi/p4est_2d_simple.cc index 83c04c23de..3fb66c0bb9 100644 --- a/tests/mpi/p4est_2d_simple.cc +++ b/tests/mpi/p4est_2d_simple.cc @@ -87,8 +87,7 @@ int main(int argc, char *argv[]) if (myid == 0) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); deallog.push("2d"); diff --git a/tests/mpi/p4est_3d_constraintmatrix_01.cc b/tests/mpi/p4est_3d_constraintmatrix_01.cc index 8f29923e04..4755167a35 100644 --- a/tests/mpi/p4est_3d_constraintmatrix_01.cc +++ b/tests/mpi/p4est_3d_constraintmatrix_01.cc @@ -112,8 +112,7 @@ int main(int argc, char *argv[]) if (myid == 0) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); deallog.push("3d"); diff --git a/tests/mpi/p4est_3d_constraintmatrix_02.cc b/tests/mpi/p4est_3d_constraintmatrix_02.cc index 8115593388..e3843f8b24 100644 --- a/tests/mpi/p4est_3d_constraintmatrix_02.cc +++ b/tests/mpi/p4est_3d_constraintmatrix_02.cc @@ -140,8 +140,7 @@ int main(int argc, char *argv[]) if (myid == 0) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); deallog.push("2d"); diff --git a/tests/mpi/p4est_3d_constraintmatrix_03.cc b/tests/mpi/p4est_3d_constraintmatrix_03.cc index 0392005f1d..f16044e0da 100644 --- a/tests/mpi/p4est_3d_constraintmatrix_03.cc +++ b/tests/mpi/p4est_3d_constraintmatrix_03.cc @@ -323,8 +323,7 @@ int main(int argc, char *argv[]) if (myid == 0) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); deallog.push("3d"); diff --git a/tests/mpi/p4est_3d_constraintmatrix_04.cc b/tests/mpi/p4est_3d_constraintmatrix_04.cc index 0dfaf94fd8..30d33cba60 100644 --- a/tests/mpi/p4est_3d_constraintmatrix_04.cc +++ b/tests/mpi/p4est_3d_constraintmatrix_04.cc @@ -100,8 +100,7 @@ int main(int argc, char **argv) if (myid == 0) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); deallog.push("3d"); diff --git a/tests/mpi/p4est_3d_ghost_01.cc b/tests/mpi/p4est_3d_ghost_01.cc index acecad8001..6e63dcff8c 100644 --- a/tests/mpi/p4est_3d_ghost_01.cc +++ b/tests/mpi/p4est_3d_ghost_01.cc @@ -134,8 +134,7 @@ int main(int argc, char *argv[]) if (myid == 0) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); deallog.push("3d"); diff --git a/tests/mpi/p4est_3d_refine_01.cc b/tests/mpi/p4est_3d_refine_01.cc index f47fd8d10b..e897814000 100644 --- a/tests/mpi/p4est_3d_refine_01.cc +++ b/tests/mpi/p4est_3d_refine_01.cc @@ -126,8 +126,7 @@ int main(int argc, char *argv[]) if (myid == 0) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); deallog.push("3d"); diff --git a/tests/mpi/p4est_3d_refine_02.cc b/tests/mpi/p4est_3d_refine_02.cc index 9f7b5a0f19..8f94846add 100644 --- a/tests/mpi/p4est_3d_refine_02.cc +++ b/tests/mpi/p4est_3d_refine_02.cc @@ -87,8 +87,7 @@ int main(int argc, char *argv[]) if (myid == 0) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); deallog.push("3d"); diff --git a/tests/mpi/p4est_3d_refine_03.cc b/tests/mpi/p4est_3d_refine_03.cc index 241bef8716..9da268da24 100644 --- a/tests/mpi/p4est_3d_refine_03.cc +++ b/tests/mpi/p4est_3d_refine_03.cc @@ -84,8 +84,7 @@ int main(int argc, char *argv[]) if (myid == 0) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); deallog.push("3d"); diff --git a/tests/mpi/p4est_3d_refine_04.cc b/tests/mpi/p4est_3d_refine_04.cc index 62e29c0bda..d1c0b8d43e 100644 --- a/tests/mpi/p4est_3d_refine_04.cc +++ b/tests/mpi/p4est_3d_refine_04.cc @@ -124,8 +124,7 @@ int main(int argc, char *argv[]) if (myid == 0) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); deallog.push("3d"); diff --git a/tests/mpi/p4est_data_out_01.cc b/tests/mpi/p4est_data_out_01.cc index ed7d6f20f9..f1992ca8ac 100644 --- a/tests/mpi/p4est_data_out_01.cc +++ b/tests/mpi/p4est_data_out_01.cc @@ -90,8 +90,7 @@ int main(int argc, char *argv[]) if (myid == 0) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); deallog.push("2d"); diff --git a/tests/mpi/p4est_get_subdomain_association.cc b/tests/mpi/p4est_get_subdomain_association.cc index 1663ad9b7e..a8622dbd98 100644 --- a/tests/mpi/p4est_get_subdomain_association.cc +++ b/tests/mpi/p4est_get_subdomain_association.cc @@ -85,8 +85,7 @@ int main(int argc, char *argv[]) if (myid == 1) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); deallog.push("2d"); diff --git a/tests/mpi/p4est_max_refine.cc b/tests/mpi/p4est_max_refine.cc index 7dda8643a2..bf4e14c9d6 100644 --- a/tests/mpi/p4est_max_refine.cc +++ b/tests/mpi/p4est_max_refine.cc @@ -86,8 +86,7 @@ int main(int argc, char *argv[]) if (myid == 0) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.depth_file(3); deallog.threshold_double(1.e-10); diff --git a/tests/mpi/p4est_save_01.cc b/tests/mpi/p4est_save_01.cc index 431e1e31ca..af4f861911 100644 --- a/tests/mpi/p4est_save_01.cc +++ b/tests/mpi/p4est_save_01.cc @@ -113,8 +113,7 @@ int main(int argc, char *argv[]) if (myid == 0) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); deallog.push("2d"); diff --git a/tests/mpi/p4est_save_02.cc b/tests/mpi/p4est_save_02.cc index d95a5c178d..b492582e7e 100644 --- a/tests/mpi/p4est_save_02.cc +++ b/tests/mpi/p4est_save_02.cc @@ -168,8 +168,7 @@ int main(int argc, char *argv[]) if (myid == 0) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); deallog.push("2d"); diff --git a/tests/mpi/parallel_block_vector_01.cc b/tests/mpi/parallel_block_vector_01.cc index 00cc373846..d68f9efd17 100644 --- a/tests/mpi/parallel_block_vector_01.cc +++ b/tests/mpi/parallel_block_vector_01.cc @@ -167,8 +167,7 @@ int main (int argc, char **argv) if (myid == 0) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog << std::setprecision(4); deallog.threshold_double(1.e-10); diff --git a/tests/mpi/parallel_block_vector_02.cc b/tests/mpi/parallel_block_vector_02.cc index 8d9a623661..6b81685861 100644 --- a/tests/mpi/parallel_block_vector_02.cc +++ b/tests/mpi/parallel_block_vector_02.cc @@ -162,8 +162,7 @@ int main (int argc, char **argv) if (myid == 0) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog << std::setprecision(4); deallog.threshold_double(1.e-10); diff --git a/tests/mpi/parallel_block_vector_04.cc b/tests/mpi/parallel_block_vector_04.cc index d6eb2f5f20..1e64e9c813 100644 --- a/tests/mpi/parallel_block_vector_04.cc +++ b/tests/mpi/parallel_block_vector_04.cc @@ -187,8 +187,7 @@ int main (int argc, char **argv) if (myid == 0) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog << std::setprecision(4); deallog.threshold_double(1.e-10); diff --git a/tests/mpi/parallel_partitioner_01.cc b/tests/mpi/parallel_partitioner_01.cc index a45242d8d1..8826225d94 100644 --- a/tests/mpi/parallel_partitioner_01.cc +++ b/tests/mpi/parallel_partitioner_01.cc @@ -126,8 +126,7 @@ int main (int argc, char **argv) if (myid == 0) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog << std::setprecision(4); deallog.threshold_double(1.e-10); diff --git a/tests/mpi/parallel_partitioner_02.cc b/tests/mpi/parallel_partitioner_02.cc index 171b4c1a45..a48477196e 100644 --- a/tests/mpi/parallel_partitioner_02.cc +++ b/tests/mpi/parallel_partitioner_02.cc @@ -99,8 +99,7 @@ int main (int argc, char **argv) if (myid == 0) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog << std::setprecision(4); deallog.threshold_double(1.e-10); diff --git a/tests/mpi/parallel_partitioner_03.cc b/tests/mpi/parallel_partitioner_03.cc index b6e77dcf62..235f3b3962 100644 --- a/tests/mpi/parallel_partitioner_03.cc +++ b/tests/mpi/parallel_partitioner_03.cc @@ -104,8 +104,7 @@ int main (int argc, char **argv) if (myid == 0) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog << std::setprecision(4); deallog.threshold_double(1.e-10); diff --git a/tests/mpi/parallel_partitioner_04.cc b/tests/mpi/parallel_partitioner_04.cc index 2c4919fc16..e3cd08df83 100644 --- a/tests/mpi/parallel_partitioner_04.cc +++ b/tests/mpi/parallel_partitioner_04.cc @@ -96,8 +96,7 @@ int main (int argc, char **argv) if (myid == 0) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog << std::setprecision(4); deallog.threshold_double(1.e-10); diff --git a/tests/mpi/parallel_vector_01.cc b/tests/mpi/parallel_vector_01.cc index 97c64b0c6f..f517281dd4 100644 --- a/tests/mpi/parallel_vector_01.cc +++ b/tests/mpi/parallel_vector_01.cc @@ -76,8 +76,7 @@ int main (int argc, char **argv) if (myid == 0) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog << std::setprecision(4); deallog.threshold_double(1.e-10); diff --git a/tests/mpi/parallel_vector_02.cc b/tests/mpi/parallel_vector_02.cc index 75c4bc7c73..5c555a0c13 100644 --- a/tests/mpi/parallel_vector_02.cc +++ b/tests/mpi/parallel_vector_02.cc @@ -87,8 +87,7 @@ int main (int argc, char **argv) if (myid == 0) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog << std::setprecision(4); deallog.threshold_double(1.e-10); diff --git a/tests/mpi/parallel_vector_03.cc b/tests/mpi/parallel_vector_03.cc index 6fe96dc512..22a6f8c04c 100644 --- a/tests/mpi/parallel_vector_03.cc +++ b/tests/mpi/parallel_vector_03.cc @@ -88,8 +88,7 @@ int main (int argc, char **argv) if (myid == 0) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog << std::setprecision(4); deallog.threshold_double(1.e-10); diff --git a/tests/mpi/parallel_vector_04.cc b/tests/mpi/parallel_vector_04.cc index 29a1ae48c5..2fe5817faf 100644 --- a/tests/mpi/parallel_vector_04.cc +++ b/tests/mpi/parallel_vector_04.cc @@ -110,8 +110,7 @@ int main (int argc, char **argv) if (myid == 0) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog << std::setprecision(4); deallog.threshold_double(1.e-10); diff --git a/tests/mpi/parallel_vector_05.cc b/tests/mpi/parallel_vector_05.cc index b255f1e89e..20c34dded5 100644 --- a/tests/mpi/parallel_vector_05.cc +++ b/tests/mpi/parallel_vector_05.cc @@ -79,8 +79,7 @@ int main (int argc, char **argv) if (myid == 0) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog << std::setprecision(4); deallog.threshold_double(1.e-10); diff --git a/tests/mpi/parallel_vector_06.cc b/tests/mpi/parallel_vector_06.cc index 8bfe1e9dc6..b0f6696966 100644 --- a/tests/mpi/parallel_vector_06.cc +++ b/tests/mpi/parallel_vector_06.cc @@ -154,8 +154,7 @@ int main (int argc, char **argv) if (myid == 0) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog << std::setprecision(4); deallog.threshold_double(1.e-10); diff --git a/tests/mpi/parallel_vector_07.cc b/tests/mpi/parallel_vector_07.cc index 4ab5ceb3b4..a95091f44a 100644 --- a/tests/mpi/parallel_vector_07.cc +++ b/tests/mpi/parallel_vector_07.cc @@ -104,8 +104,7 @@ int main (int argc, char **argv) if (myid == 0) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog << std::setprecision(4); deallog.threshold_double(1.e-10); diff --git a/tests/mpi/parallel_vector_08.cc b/tests/mpi/parallel_vector_08.cc index 69cda8363e..ed3c520732 100644 --- a/tests/mpi/parallel_vector_08.cc +++ b/tests/mpi/parallel_vector_08.cc @@ -141,8 +141,7 @@ int main (int argc, char **argv) if (myid == 0) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog << std::setprecision(4); deallog.threshold_double(1.e-10); diff --git a/tests/mpi/parallel_vector_09.cc b/tests/mpi/parallel_vector_09.cc index dc0fad2072..a61fc48ddf 100644 --- a/tests/mpi/parallel_vector_09.cc +++ b/tests/mpi/parallel_vector_09.cc @@ -125,8 +125,7 @@ int main (int argc, char **argv) if (myid == 0) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog << std::setprecision(4); deallog.threshold_double(1.e-10); diff --git a/tests/mpi/parallel_vector_10.cc b/tests/mpi/parallel_vector_10.cc index 5fe468bd0e..af4e6ab0c5 100644 --- a/tests/mpi/parallel_vector_10.cc +++ b/tests/mpi/parallel_vector_10.cc @@ -77,8 +77,7 @@ int main (int argc, char **argv) if (myid == 0) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog << std::setprecision(4); deallog.threshold_double(1.e-10); diff --git a/tests/mpi/parallel_vector_11.cc b/tests/mpi/parallel_vector_11.cc index 93cba9b303..c12c9ee510 100644 --- a/tests/mpi/parallel_vector_11.cc +++ b/tests/mpi/parallel_vector_11.cc @@ -174,8 +174,7 @@ int main (int argc, char **argv) if (myid == 0) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog << std::setprecision(4); deallog.threshold_double(1.e-10); diff --git a/tests/mpi/parallel_vector_12.cc b/tests/mpi/parallel_vector_12.cc index f00a4b9956..6c078fd403 100644 --- a/tests/mpi/parallel_vector_12.cc +++ b/tests/mpi/parallel_vector_12.cc @@ -178,8 +178,7 @@ int main (int argc, char **argv) if (myid == 0) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog << std::setprecision(4); deallog.threshold_double(1.e-10); diff --git a/tests/mpi/parallel_vector_13.cc b/tests/mpi/parallel_vector_13.cc index 397a2c23e2..d434824c7f 100644 --- a/tests/mpi/parallel_vector_13.cc +++ b/tests/mpi/parallel_vector_13.cc @@ -101,8 +101,7 @@ int main (int argc, char **argv) if (myid == 0) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog << std::setprecision(4); deallog.threshold_double(1.e-10); diff --git a/tests/mpi/parallel_vector_14.cc b/tests/mpi/parallel_vector_14.cc index 2ce3dcf381..e4bd319a8e 100644 --- a/tests/mpi/parallel_vector_14.cc +++ b/tests/mpi/parallel_vector_14.cc @@ -130,8 +130,7 @@ int main (int argc, char **argv) if (myid == 0) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog << std::setprecision(4); deallog.threshold_double(1.e-10); diff --git a/tests/mpi/parallel_vector_15.cc b/tests/mpi/parallel_vector_15.cc index 12c9753c24..86d45a37ff 100644 --- a/tests/mpi/parallel_vector_15.cc +++ b/tests/mpi/parallel_vector_15.cc @@ -103,8 +103,7 @@ int main (int argc, char **argv) if (myid == 0) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog << std::setprecision(4); deallog.threshold_double(1.e-10); diff --git a/tests/mpi/parallel_vector_16.cc b/tests/mpi/parallel_vector_16.cc index 712f359c52..67c5752b9c 100644 --- a/tests/mpi/parallel_vector_16.cc +++ b/tests/mpi/parallel_vector_16.cc @@ -93,8 +93,7 @@ int main (int argc, char **argv) if (myid == 0) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog << std::setprecision(12); deallog.threshold_double(1.e-10); diff --git a/tests/mpi/parallel_vector_18.cc b/tests/mpi/parallel_vector_18.cc index c9c3f88414..481f743f1d 100644 --- a/tests/mpi/parallel_vector_18.cc +++ b/tests/mpi/parallel_vector_18.cc @@ -81,8 +81,7 @@ int main (int argc, char **argv) if (myid == 0) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog << std::setprecision(4); deallog.threshold_double(1.e-10); diff --git a/tests/mpi/parallel_vector_19.cc b/tests/mpi/parallel_vector_19.cc index 19fed87c2c..5fb5b586fb 100644 --- a/tests/mpi/parallel_vector_19.cc +++ b/tests/mpi/parallel_vector_19.cc @@ -83,8 +83,7 @@ int main (int argc, char **argv) if (myid == 0) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog << std::setprecision(4); deallog.threshold_double(1.e-10); diff --git a/tests/mpi/parallel_vector_20.cc b/tests/mpi/parallel_vector_20.cc index fe2a8bdeca..cce0c28ec1 100644 --- a/tests/mpi/parallel_vector_20.cc +++ b/tests/mpi/parallel_vector_20.cc @@ -71,8 +71,7 @@ int main (int argc, char **argv) if (myid == 0) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog << std::setprecision(4); deallog.threshold_double(1.e-10); diff --git a/tests/mpi/parallel_vector_back_interpolate.cc b/tests/mpi/parallel_vector_back_interpolate.cc index 166f778bc5..f5fee75bac 100644 --- a/tests/mpi/parallel_vector_back_interpolate.cc +++ b/tests/mpi/parallel_vector_back_interpolate.cc @@ -84,8 +84,7 @@ int main (int argc, char **argv) if (myid == 0) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog << std::setprecision(4); deallog.threshold_double(1.e-10); diff --git a/tests/mpi/parallel_vector_interpolate.cc b/tests/mpi/parallel_vector_interpolate.cc index 51adaf3c90..d48704f612 100644 --- a/tests/mpi/parallel_vector_interpolate.cc +++ b/tests/mpi/parallel_vector_interpolate.cc @@ -83,8 +83,7 @@ int main (int argc, char **argv) if (myid == 0) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog << std::setprecision(4); deallog.threshold_double(1.e-10); diff --git a/tests/mpi/petsc_01.cc b/tests/mpi/petsc_01.cc index 94b9602e28..4a7e260a5f 100644 --- a/tests/mpi/petsc_01.cc +++ b/tests/mpi/petsc_01.cc @@ -87,8 +87,7 @@ int main(int argc, char *argv[]) if (Utilities::MPI::this_mpi_process (MPI_COMM_WORLD) == 0) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); test(); diff --git a/tests/mpi/petsc_02.cc b/tests/mpi/petsc_02.cc index fe015761f8..4a76f0ed55 100644 --- a/tests/mpi/petsc_02.cc +++ b/tests/mpi/petsc_02.cc @@ -66,8 +66,7 @@ int main(int argc, char *argv[]) if (Utilities::MPI::this_mpi_process (MPI_COMM_WORLD) == 0) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); test(); diff --git a/tests/mpi/petsc_03.cc b/tests/mpi/petsc_03.cc index eabe97372d..9a184fd235 100644 --- a/tests/mpi/petsc_03.cc +++ b/tests/mpi/petsc_03.cc @@ -61,8 +61,7 @@ int main(int argc, char *argv[]) if (Utilities::MPI::this_mpi_process (MPI_COMM_WORLD) == 0) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); test(); diff --git a/tests/mpi/petsc_bug_ghost_vector_01.cc b/tests/mpi/petsc_bug_ghost_vector_01.cc index 80002224d6..a4c1d7e1a3 100644 --- a/tests/mpi/petsc_bug_ghost_vector_01.cc +++ b/tests/mpi/petsc_bug_ghost_vector_01.cc @@ -247,8 +247,7 @@ int main(int argc, char *argv[]) if (Utilities::MPI::this_mpi_process (MPI_COMM_WORLD) == 0) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); test(); diff --git a/tests/mpi/petsc_distribute_01.cc b/tests/mpi/petsc_distribute_01.cc index 79620f85fa..4e9f34ec70 100644 --- a/tests/mpi/petsc_distribute_01.cc +++ b/tests/mpi/petsc_distribute_01.cc @@ -153,8 +153,7 @@ int main(int argc, char *argv[]) if (myid == 0) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); test(); diff --git a/tests/mpi/petsc_distribute_01_block.cc b/tests/mpi/petsc_distribute_01_block.cc index 5960473187..7630239336 100644 --- a/tests/mpi/petsc_distribute_01_block.cc +++ b/tests/mpi/petsc_distribute_01_block.cc @@ -187,8 +187,7 @@ int main(int argc, char *argv[]) if (myid == 0) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); test(); diff --git a/tests/mpi/petsc_distribute_01_inhomogenous.cc b/tests/mpi/petsc_distribute_01_inhomogenous.cc index 1d670d0c4f..97c9f6f2ea 100644 --- a/tests/mpi/petsc_distribute_01_inhomogenous.cc +++ b/tests/mpi/petsc_distribute_01_inhomogenous.cc @@ -147,8 +147,7 @@ int main(int argc, char *argv[]) if (myid == 0) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); test(); diff --git a/tests/mpi/petsc_locally_owned_elements.cc b/tests/mpi/petsc_locally_owned_elements.cc index 446634b1cd..b308805af8 100644 --- a/tests/mpi/petsc_locally_owned_elements.cc +++ b/tests/mpi/petsc_locally_owned_elements.cc @@ -71,8 +71,7 @@ int main(int argc, char *argv[]) if (myid == 0) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); test(); diff --git a/tests/mpi/point_to_point_pattern_01.cc b/tests/mpi/point_to_point_pattern_01.cc index fecb94209e..2ad20358eb 100644 --- a/tests/mpi/point_to_point_pattern_01.cc +++ b/tests/mpi/point_to_point_pattern_01.cc @@ -112,8 +112,7 @@ int main(int argc, char *argv[]) if (Utilities::MPI::this_mpi_process (MPI_COMM_WORLD) == 0) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); deallog.push("mpi"); diff --git a/tests/mpi/refine_and_coarsen_fixed_fraction_01.cc b/tests/mpi/refine_and_coarsen_fixed_fraction_01.cc index 9ba705351e..794906c0f5 100644 --- a/tests/mpi/refine_and_coarsen_fixed_fraction_01.cc +++ b/tests/mpi/refine_and_coarsen_fixed_fraction_01.cc @@ -136,8 +136,7 @@ int main(int argc, char *argv[]) if (myid == 0) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); test(); diff --git a/tests/mpi/refine_and_coarsen_fixed_fraction_02.cc b/tests/mpi/refine_and_coarsen_fixed_fraction_02.cc index 5b3315fc85..a79fd3d2f2 100644 --- a/tests/mpi/refine_and_coarsen_fixed_fraction_02.cc +++ b/tests/mpi/refine_and_coarsen_fixed_fraction_02.cc @@ -146,8 +146,7 @@ int main(int argc, char *argv[]) if (myid == 0) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); test(); diff --git a/tests/mpi/refine_and_coarsen_fixed_fraction_03.cc b/tests/mpi/refine_and_coarsen_fixed_fraction_03.cc index 9ce17dfd08..4df7c790d3 100644 --- a/tests/mpi/refine_and_coarsen_fixed_fraction_03.cc +++ b/tests/mpi/refine_and_coarsen_fixed_fraction_03.cc @@ -125,8 +125,7 @@ int main(int argc, char *argv[]) if (myid == 0) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); test(); diff --git a/tests/mpi/refine_and_coarsen_fixed_fraction_04.cc b/tests/mpi/refine_and_coarsen_fixed_fraction_04.cc index ef0cffac42..248f1d4368 100644 --- a/tests/mpi/refine_and_coarsen_fixed_fraction_04.cc +++ b/tests/mpi/refine_and_coarsen_fixed_fraction_04.cc @@ -143,8 +143,7 @@ int main(int argc, char *argv[]) if (myid == 0) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); test(); diff --git a/tests/mpi/refine_and_coarsen_fixed_fraction_05.cc b/tests/mpi/refine_and_coarsen_fixed_fraction_05.cc index 512569507d..df91dccd89 100644 --- a/tests/mpi/refine_and_coarsen_fixed_fraction_05.cc +++ b/tests/mpi/refine_and_coarsen_fixed_fraction_05.cc @@ -140,8 +140,7 @@ int main(int argc, char *argv[]) if (myid == 0) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); test(); diff --git a/tests/mpi/refine_and_coarsen_fixed_fraction_06.cc b/tests/mpi/refine_and_coarsen_fixed_fraction_06.cc index 4a318385c5..095e49540d 100644 --- a/tests/mpi/refine_and_coarsen_fixed_fraction_06.cc +++ b/tests/mpi/refine_and_coarsen_fixed_fraction_06.cc @@ -159,8 +159,7 @@ int main(int argc, char *argv[]) if (myid == 0) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); test(); diff --git a/tests/mpi/refine_and_coarsen_fixed_fraction_07.cc b/tests/mpi/refine_and_coarsen_fixed_fraction_07.cc index 3dd09d11e0..fd3a1075bc 100644 --- a/tests/mpi/refine_and_coarsen_fixed_fraction_07.cc +++ b/tests/mpi/refine_and_coarsen_fixed_fraction_07.cc @@ -208,8 +208,7 @@ int main(int argc, char *argv[]) if (myid == 0) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); test(); diff --git a/tests/mpi/refine_and_coarsen_fixed_number_01.cc b/tests/mpi/refine_and_coarsen_fixed_number_01.cc index b018280bce..08a01ab14d 100644 --- a/tests/mpi/refine_and_coarsen_fixed_number_01.cc +++ b/tests/mpi/refine_and_coarsen_fixed_number_01.cc @@ -124,8 +124,7 @@ int main(int argc, char *argv[]) if (myid == 0) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); test(); diff --git a/tests/mpi/refine_and_coarsen_fixed_number_02.cc b/tests/mpi/refine_and_coarsen_fixed_number_02.cc index 434fc29f29..e517f4fa6b 100644 --- a/tests/mpi/refine_and_coarsen_fixed_number_02.cc +++ b/tests/mpi/refine_and_coarsen_fixed_number_02.cc @@ -125,8 +125,7 @@ int main(int argc, char *argv[]) if (myid == 0) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); test(); diff --git a/tests/mpi/refine_and_coarsen_fixed_number_03.cc b/tests/mpi/refine_and_coarsen_fixed_number_03.cc index c3daacd0dd..73417b876b 100644 --- a/tests/mpi/refine_and_coarsen_fixed_number_03.cc +++ b/tests/mpi/refine_and_coarsen_fixed_number_03.cc @@ -114,8 +114,7 @@ int main(int argc, char *argv[]) if (myid == 0) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); test(); diff --git a/tests/mpi/refine_and_coarsen_fixed_number_04.cc b/tests/mpi/refine_and_coarsen_fixed_number_04.cc index cd309c1a24..0e556dd4e8 100644 --- a/tests/mpi/refine_and_coarsen_fixed_number_04.cc +++ b/tests/mpi/refine_and_coarsen_fixed_number_04.cc @@ -143,8 +143,7 @@ int main(int argc, char *argv[]) if (myid == 0) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); test(); diff --git a/tests/mpi/refine_and_coarsen_fixed_number_05.cc b/tests/mpi/refine_and_coarsen_fixed_number_05.cc index a28bd01b23..ec0f2e3e3d 100644 --- a/tests/mpi/refine_and_coarsen_fixed_number_05.cc +++ b/tests/mpi/refine_and_coarsen_fixed_number_05.cc @@ -140,8 +140,7 @@ int main(int argc, char *argv[]) if (myid == 0) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); test(); diff --git a/tests/mpi/refine_and_coarsen_fixed_number_06.cc b/tests/mpi/refine_and_coarsen_fixed_number_06.cc index ac1e31e405..95ee2d455d 100644 --- a/tests/mpi/refine_and_coarsen_fixed_number_06.cc +++ b/tests/mpi/refine_and_coarsen_fixed_number_06.cc @@ -74,8 +74,7 @@ int main(int argc, char *argv[]) if (Utilities::MPI::this_mpi_process (MPI_COMM_WORLD) == 0) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); test<2>(); diff --git a/tests/mpi/refinement_listener_01.cc b/tests/mpi/refinement_listener_01.cc index c559ac7a40..879d757c6d 100644 --- a/tests/mpi/refinement_listener_01.cc +++ b/tests/mpi/refinement_listener_01.cc @@ -94,8 +94,7 @@ int main(int argc, char *argv[]) if (myid == 0) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); test(); diff --git a/tests/mpi/refinement_listener_02.cc b/tests/mpi/refinement_listener_02.cc index 71d15ec48c..1586da0c24 100644 --- a/tests/mpi/refinement_listener_02.cc +++ b/tests/mpi/refinement_listener_02.cc @@ -97,8 +97,7 @@ int main(int argc, char *argv[]) if (myid == 0) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); test(); diff --git a/tests/mpi/simple_mpi_01.cc b/tests/mpi/simple_mpi_01.cc index c2d5101f40..917c924637 100644 --- a/tests/mpi/simple_mpi_01.cc +++ b/tests/mpi/simple_mpi_01.cc @@ -69,8 +69,7 @@ int main(int argc, char *argv[]) if (Utilities::MPI::this_mpi_process (MPI_COMM_WORLD) == 0) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); deallog.push("mpi"); diff --git a/tests/mpi/solution_transfer_01.cc b/tests/mpi/solution_transfer_01.cc index 357359bc9f..5ba7f62436 100644 --- a/tests/mpi/solution_transfer_01.cc +++ b/tests/mpi/solution_transfer_01.cc @@ -111,8 +111,7 @@ int main(int argc, char *argv[]) if (myid == 0) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); deallog.push("2d"); diff --git a/tests/mpi/step-40.cc b/tests/mpi/step-40.cc index de3ab2e72e..d871001673 100644 --- a/tests/mpi/step-40.cc +++ b/tests/mpi/step-40.cc @@ -380,8 +380,7 @@ int main(int argc, char *argv[]) if (Utilities::MPI::this_mpi_process (MPI_COMM_WORLD) == 0) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); deallog.push("mpi"); diff --git a/tests/mpi/step-40_direct_solver.cc b/tests/mpi/step-40_direct_solver.cc index 50a5749bc6..068a9f18cc 100644 --- a/tests/mpi/step-40_direct_solver.cc +++ b/tests/mpi/step-40_direct_solver.cc @@ -365,8 +365,7 @@ int main(int argc, char *argv[]) if (Utilities::MPI::this_mpi_process (MPI_COMM_WORLD) == 0) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); deallog.push("mpi"); diff --git a/tests/mpi/torus.cc b/tests/mpi/torus.cc index a8995bf92d..b0c72b50e5 100644 --- a/tests/mpi/torus.cc +++ b/tests/mpi/torus.cc @@ -72,8 +72,7 @@ int main(int argc, char *argv[]) if (Utilities::MPI::this_mpi_process (MPI_COMM_WORLD) == 0) { - static std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); } diff --git a/tests/mpi/tria_copy_triangulation.cc b/tests/mpi/tria_copy_triangulation.cc index 34fbfb0b10..d98e55cba6 100644 --- a/tests/mpi/tria_copy_triangulation.cc +++ b/tests/mpi/tria_copy_triangulation.cc @@ -125,8 +125,7 @@ int main(int argc, char *argv[]) if (myid == 0) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); deallog.push("2d"); diff --git a/tests/mpi/trilinos_01.cc b/tests/mpi/trilinos_01.cc index b2949720cd..0fbbdecb08 100644 --- a/tests/mpi/trilinos_01.cc +++ b/tests/mpi/trilinos_01.cc @@ -93,8 +93,7 @@ int main (int argc, char **argv) if (myid == 0) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog << std::setprecision(4); deallog.threshold_double(1.e-10); diff --git a/tests/mpi/trilinos_02.cc b/tests/mpi/trilinos_02.cc index 048cca5701..5ec4c56196 100644 --- a/tests/mpi/trilinos_02.cc +++ b/tests/mpi/trilinos_02.cc @@ -90,8 +90,7 @@ int main (int argc, char **argv) if (myid == 0) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog << std::setprecision(4); deallog.threshold_double(1.e-10); diff --git a/tests/mpi/trilinos_bug_5609.cc b/tests/mpi/trilinos_bug_5609.cc index 99817b8491..a132b63936 100644 --- a/tests/mpi/trilinos_bug_5609.cc +++ b/tests/mpi/trilinos_bug_5609.cc @@ -75,8 +75,7 @@ int main (int argc, char **argv) if (myid == 0) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog << std::setprecision(4); deallog.threshold_double(1.e-10); diff --git a/tests/mpi/trilinos_compress_bug.cc b/tests/mpi/trilinos_compress_bug.cc index fbf8700db4..50ede848bd 100644 --- a/tests/mpi/trilinos_compress_bug.cc +++ b/tests/mpi/trilinos_compress_bug.cc @@ -99,8 +99,7 @@ int main (int argc, char **argv) if (myid == 0) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog << std::setprecision(4); deallog.threshold_double(1.e-10); diff --git a/tests/mpi/trilinos_distribute_01.cc b/tests/mpi/trilinos_distribute_01.cc index e08deca01a..41d3ffa338 100644 --- a/tests/mpi/trilinos_distribute_01.cc +++ b/tests/mpi/trilinos_distribute_01.cc @@ -158,8 +158,7 @@ int main(int argc, char *argv[]) if (myid == 0) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); test(); diff --git a/tests/mpi/trilinos_distribute_01_block.cc b/tests/mpi/trilinos_distribute_01_block.cc index 63729a4a5e..196788af68 100644 --- a/tests/mpi/trilinos_distribute_01_block.cc +++ b/tests/mpi/trilinos_distribute_01_block.cc @@ -191,8 +191,7 @@ int main(int argc, char *argv[]) if (myid == 0) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); test(); diff --git a/tests/mpi/trilinos_distribute_01_inhomogenous.cc b/tests/mpi/trilinos_distribute_01_inhomogenous.cc index 57fa3c6437..b978e748f8 100644 --- a/tests/mpi/trilinos_distribute_01_inhomogenous.cc +++ b/tests/mpi/trilinos_distribute_01_inhomogenous.cc @@ -152,8 +152,7 @@ int main(int argc, char *argv[]) if (myid == 0) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); test(); diff --git a/tests/mpi/trilinos_distribute_03.cc b/tests/mpi/trilinos_distribute_03.cc index 671b258ac8..eac4321583 100644 --- a/tests/mpi/trilinos_distribute_03.cc +++ b/tests/mpi/trilinos_distribute_03.cc @@ -66,8 +66,7 @@ int main(int argc, char *argv[]) if (myid == 0) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); test(); diff --git a/tests/mpi/trilinos_distribute_04.cc b/tests/mpi/trilinos_distribute_04.cc index 1a45cef194..442cb1d038 100644 --- a/tests/mpi/trilinos_distribute_04.cc +++ b/tests/mpi/trilinos_distribute_04.cc @@ -128,8 +128,7 @@ int main(int argc, char *argv[]) if (myid == 0) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); test<2>(); diff --git a/tests/mpi/trilinos_ghost_01.cc b/tests/mpi/trilinos_ghost_01.cc index 02e29e12ee..8a70f83041 100644 --- a/tests/mpi/trilinos_ghost_01.cc +++ b/tests/mpi/trilinos_ghost_01.cc @@ -84,8 +84,7 @@ int main (int argc, char **argv) if (myid == 0) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog << std::setprecision(4); deallog.threshold_double(1.e-10); diff --git a/tests/mpi/trilinos_ghost_02.cc b/tests/mpi/trilinos_ghost_02.cc index 9597b48193..6008b8c0e0 100644 --- a/tests/mpi/trilinos_ghost_02.cc +++ b/tests/mpi/trilinos_ghost_02.cc @@ -75,8 +75,7 @@ int main (int argc, char **argv) if (myid == 0) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog << std::setprecision(4); deallog.threshold_double(1.e-10); diff --git a/tests/mpi/trilinos_ghost_03.cc b/tests/mpi/trilinos_ghost_03.cc index 4e3bd79c24..f3dc5cb656 100644 --- a/tests/mpi/trilinos_ghost_03.cc +++ b/tests/mpi/trilinos_ghost_03.cc @@ -91,8 +91,7 @@ int main (int argc, char **argv) if (myid == 0) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog << std::setprecision(4); deallog.threshold_double(1.e-10); diff --git a/tests/mpi/trilinos_ghost_03_linfty.cc b/tests/mpi/trilinos_ghost_03_linfty.cc index d507b506f9..08731f1a6b 100644 --- a/tests/mpi/trilinos_ghost_03_linfty.cc +++ b/tests/mpi/trilinos_ghost_03_linfty.cc @@ -90,8 +90,7 @@ int main (int argc, char **argv) if (myid == 0) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog << std::setprecision(4); deallog.threshold_double(1.e-10); diff --git a/tests/mpi/trilinos_ghost_05.cc b/tests/mpi/trilinos_ghost_05.cc index 4b7fddc92b..098b616ddb 100644 --- a/tests/mpi/trilinos_ghost_05.cc +++ b/tests/mpi/trilinos_ghost_05.cc @@ -89,8 +89,7 @@ int main (int argc, char **argv) if (myid == 0) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog << std::setprecision(4); deallog.threshold_double(1.e-10); diff --git a/tests/mpi/trilinos_locally_owned_elements_01.cc b/tests/mpi/trilinos_locally_owned_elements_01.cc index 3ee1f6bbfb..c8880d0379 100644 --- a/tests/mpi/trilinos_locally_owned_elements_01.cc +++ b/tests/mpi/trilinos_locally_owned_elements_01.cc @@ -75,8 +75,7 @@ int main(int argc, char *argv[]) if (myid == 0) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); test<2>(); diff --git a/tests/mpi/trilinos_matvec_01.cc b/tests/mpi/trilinos_matvec_01.cc index 73cacb0950..51805d3d43 100644 --- a/tests/mpi/trilinos_matvec_01.cc +++ b/tests/mpi/trilinos_matvec_01.cc @@ -129,8 +129,7 @@ int main (int argc, char **argv) if (myid == 0) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog << std::setprecision(4); deallog.threshold_double(1.e-10); diff --git a/tests/mpi/trilinos_matvec_02.cc b/tests/mpi/trilinos_matvec_02.cc index da16d1751f..d3da5fc9fc 100644 --- a/tests/mpi/trilinos_matvec_02.cc +++ b/tests/mpi/trilinos_matvec_02.cc @@ -129,8 +129,7 @@ int main (int argc, char **argv) if (myid == 0) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog << std::setprecision(4); deallog.threshold_double(1.e-10); diff --git a/tests/mpi/trilinos_matvec_03.cc b/tests/mpi/trilinos_matvec_03.cc index df03a80532..9fd937a6ba 100644 --- a/tests/mpi/trilinos_matvec_03.cc +++ b/tests/mpi/trilinos_matvec_03.cc @@ -151,8 +151,7 @@ int main (int argc, char **argv) if (myid == 0) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog << std::setprecision(4); deallog.threshold_double(1.e-10); diff --git a/tests/mpi/trilinos_sadd_01.cc b/tests/mpi/trilinos_sadd_01.cc index a6ef8787ee..7acad6b0c5 100644 --- a/tests/mpi/trilinos_sadd_01.cc +++ b/tests/mpi/trilinos_sadd_01.cc @@ -91,8 +91,7 @@ int main (int argc, char **argv) if (myid == 0) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog << std::setprecision(4); deallog.threshold_double(1.e-10); diff --git a/tests/mpi/trilinos_sparse_matrix_01.cc b/tests/mpi/trilinos_sparse_matrix_01.cc index 919ff1f253..0e68e911bf 100644 --- a/tests/mpi/trilinos_sparse_matrix_01.cc +++ b/tests/mpi/trilinos_sparse_matrix_01.cc @@ -124,8 +124,7 @@ int main (int argc, char **argv) if (myid == 0) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog << std::setprecision(4); deallog.threshold_double(1.e-10); diff --git a/tests/mpi/trilinos_sparse_matrix_03.cc b/tests/mpi/trilinos_sparse_matrix_03.cc index d8dea29108..7021c181f4 100644 --- a/tests/mpi/trilinos_sparse_matrix_03.cc +++ b/tests/mpi/trilinos_sparse_matrix_03.cc @@ -216,8 +216,7 @@ int main (int argc, char **argv) if (myid == 0) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog << std::setprecision(4); deallog.threshold_double(1.e-10); diff --git a/tests/mpi/trilinos_sparse_matrix_04.cc b/tests/mpi/trilinos_sparse_matrix_04.cc index cd86996156..7508fa2482 100644 --- a/tests/mpi/trilinos_sparse_matrix_04.cc +++ b/tests/mpi/trilinos_sparse_matrix_04.cc @@ -127,8 +127,7 @@ int main (int argc, char **argv) if (myid == 0) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog << std::setprecision(4); deallog.threshold_double(1.e-10); diff --git a/tests/mpi/trilinos_sparse_matrix_05.cc b/tests/mpi/trilinos_sparse_matrix_05.cc index 2f30c62826..67df09f0f7 100644 --- a/tests/mpi/trilinos_sparse_matrix_05.cc +++ b/tests/mpi/trilinos_sparse_matrix_05.cc @@ -132,8 +132,7 @@ int main (int argc, char **argv) if (myid == 0) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog << std::setprecision(4); deallog.threshold_double(1.e-10); diff --git a/tests/mpi/trilinos_sparse_matrix_mmult_01.cc b/tests/mpi/trilinos_sparse_matrix_mmult_01.cc index ce883e952c..d5c2dbd913 100644 --- a/tests/mpi/trilinos_sparse_matrix_mmult_01.cc +++ b/tests/mpi/trilinos_sparse_matrix_mmult_01.cc @@ -157,8 +157,7 @@ int main (int argc, char **argv) { if (myid == 0) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog << std::setprecision(4); deallog.threshold_double(1.e-10); diff --git a/tests/mpi/trilinos_sparse_matrix_print_01.cc b/tests/mpi/trilinos_sparse_matrix_print_01.cc index df02573959..97c9bcff44 100644 --- a/tests/mpi/trilinos_sparse_matrix_print_01.cc +++ b/tests/mpi/trilinos_sparse_matrix_print_01.cc @@ -93,8 +93,7 @@ int main (int argc, char **argv) // in parallel if ((n_procs == 1) || (myid == 1)) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog << std::setprecision(4); deallog.threshold_double(1.e-10); diff --git a/tests/mpi/trilinos_vector_ghosts_01.cc b/tests/mpi/trilinos_vector_ghosts_01.cc index 44de709518..35542e0c5b 100644 --- a/tests/mpi/trilinos_vector_ghosts_01.cc +++ b/tests/mpi/trilinos_vector_ghosts_01.cc @@ -74,8 +74,7 @@ int main(int argc, char *argv[]) if (myid == 0) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); test (); } else diff --git a/tests/mpi/trilinos_vector_reinit.cc b/tests/mpi/trilinos_vector_reinit.cc index 2dc31b9e11..8ba0a2e0fb 100644 --- a/tests/mpi/trilinos_vector_reinit.cc +++ b/tests/mpi/trilinos_vector_reinit.cc @@ -68,8 +68,7 @@ int main (int argc, char **argv) if (myid == 0) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog << std::setprecision(4); deallog.threshold_double(1.e-10); diff --git a/tests/multigrid/constrained_dofs_03.cc b/tests/multigrid/constrained_dofs_03.cc index 31e0784658..6cbcfc99aa 100644 --- a/tests/multigrid/constrained_dofs_03.cc +++ b/tests/multigrid/constrained_dofs_03.cc @@ -109,8 +109,7 @@ void check() int main(int argc, char *argv[]) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); check<2> (); check<3> (); diff --git a/tests/multigrid/cycles.cc b/tests/multigrid/cycles.cc index 9f0476b78b..843d183d53 100644 --- a/tests/multigrid/cycles.cc +++ b/tests/multigrid/cycles.cc @@ -90,8 +90,7 @@ void test_cycles(unsigned int minlevel, unsigned int maxlevel) int main() { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); test_cycles (0,4); diff --git a/tests/multigrid/mg_renumbered_02.cc b/tests/multigrid/mg_renumbered_02.cc index 8bfa465c8c..94793369e3 100644 --- a/tests/multigrid/mg_renumbered_02.cc +++ b/tests/multigrid/mg_renumbered_02.cc @@ -13,6 +13,7 @@ // // --------------------------------------------------------------------- +#include "../tests.h" #include #include #include @@ -357,8 +358,7 @@ void LaplaceProblem::run () int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); LaplaceProblem<2> laplace_problem_2d(1); diff --git a/tests/multigrid/mg_renumbered_03.cc b/tests/multigrid/mg_renumbered_03.cc index b7495cfe57..8ae2bdd5a1 100644 --- a/tests/multigrid/mg_renumbered_03.cc +++ b/tests/multigrid/mg_renumbered_03.cc @@ -13,6 +13,7 @@ // // --------------------------------------------------------------------- +#include "../tests.h" #include #include #include @@ -423,8 +424,7 @@ void LaplaceProblem::run () int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); LaplaceProblem<2> laplace_problem_2d(1); diff --git a/tests/numerics/data_out_stack_03.cc b/tests/numerics/data_out_stack_03.cc index a1076c0379..ed5986331a 100644 --- a/tests/numerics/data_out_stack_03.cc +++ b/tests/numerics/data_out_stack_03.cc @@ -68,8 +68,7 @@ void run () int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); run<1> (); diff --git a/tests/numerics/derivative_approximation_02.cc b/tests/numerics/derivative_approximation_02.cc index 2f7fd97000..46e6a918a0 100644 --- a/tests/numerics/derivative_approximation_02.cc +++ b/tests/numerics/derivative_approximation_02.cc @@ -244,8 +244,7 @@ void derivatives() int main() { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); deallog<<"------------ 2D ------------"<(); diff --git a/tests/numerics/project_parallel_qp_q_02.cc b/tests/numerics/project_parallel_qp_q_02.cc index 230793a99f..7669424652 100644 --- a/tests/numerics/project_parallel_qp_q_02.cc +++ b/tests/numerics/project_parallel_qp_q_02.cc @@ -17,6 +17,7 @@ // check VectorTools::project_parallel() of quadrature data for // FE_Q on a mesh with hanging nodes. +#include "../tests.h" #include "project_parallel_qp_common.h" namespace LA @@ -35,8 +36,7 @@ int main(int argc, char *argv[]) { Utilities::MPI::MPI_InitFinalize mpi_initialization (argc, argv, 1); - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); test<2>(); diff --git a/tests/numerics/project_parallel_qpmf_q_01.cc b/tests/numerics/project_parallel_qpmf_q_01.cc index 3979347037..96cb90d1a4 100644 --- a/tests/numerics/project_parallel_qpmf_q_01.cc +++ b/tests/numerics/project_parallel_qpmf_q_01.cc @@ -18,6 +18,7 @@ // FE_Q on a mesh without hanging nodes. +#include "../tests.h" #include "project_parallel_qpmf_common.h" template @@ -33,8 +34,7 @@ int main(int argc, char *argv[]) Utilities::MPI::MPI_InitFinalize mpi_initialization (argc, argv, numbers::invalid_unsigned_int); - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); test<2>(); diff --git a/tests/numerics/project_parallel_qpmf_q_02.cc b/tests/numerics/project_parallel_qpmf_q_02.cc index 577098070c..9edadf9d21 100644 --- a/tests/numerics/project_parallel_qpmf_q_02.cc +++ b/tests/numerics/project_parallel_qpmf_q_02.cc @@ -17,6 +17,7 @@ // check VectorTools::project_parallel() for matrix-free quadrature data for // FE_Q on a mesh with hanging nodes. +#include "../tests.h" #include "project_parallel_qpmf_common.h" template @@ -32,8 +33,7 @@ int main(int argc, char *argv[]) Utilities::MPI::MPI_InitFinalize mpi_initialization (argc, argv, numbers::invalid_unsigned_int); - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); test<2>(); diff --git a/tests/opencascade/closest_point_to_shape.cc b/tests/opencascade/closest_point_to_shape.cc index 9b63ab01ca..5a92b79604 100644 --- a/tests/opencascade/closest_point_to_shape.cc +++ b/tests/opencascade/closest_point_to_shape.cc @@ -36,8 +36,7 @@ using namespace OpenCASCADE; int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); // A unit circle gp_Dir z_axis(0.,0.,1.); diff --git a/tests/parameter_handler/multiple_parameter_loop_01.cc b/tests/parameter_handler/multiple_parameter_loop_01.cc index 5f73d2c390..af593fb4ec 100644 --- a/tests/parameter_handler/multiple_parameter_loop_01.cc +++ b/tests/parameter_handler/multiple_parameter_loop_01.cc @@ -80,8 +80,7 @@ void check () int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); check (); diff --git a/tests/parameter_handler/multiple_parameter_loop_02.cc b/tests/parameter_handler/multiple_parameter_loop_02.cc index 2fbda8771e..69eecd156a 100644 --- a/tests/parameter_handler/multiple_parameter_loop_02.cc +++ b/tests/parameter_handler/multiple_parameter_loop_02.cc @@ -80,8 +80,7 @@ void check (const char *p) int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); check (SOURCE_DIR "/prm/multiple_parameter_loop_02.prm"); diff --git a/tests/parameter_handler/parameter_handler_1.cc b/tests/parameter_handler/parameter_handler_1.cc index 4dbcda412e..55b393657c 100644 --- a/tests/parameter_handler/parameter_handler_1.cc +++ b/tests/parameter_handler/parameter_handler_1.cc @@ -37,8 +37,7 @@ void check (const char *p) int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); check (SOURCE_DIR "/prm/parameter_handler_1.prm"); diff --git a/tests/parameter_handler/parameter_handler_10.cc b/tests/parameter_handler/parameter_handler_10.cc index e4787ac085..1d280b3030 100644 --- a/tests/parameter_handler/parameter_handler_10.cc +++ b/tests/parameter_handler/parameter_handler_10.cc @@ -47,8 +47,7 @@ void check (const char *p) int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); check (SOURCE_DIR "/prm/parameter_handler_10.prm"); diff --git a/tests/parameter_handler/parameter_handler_11.cc b/tests/parameter_handler/parameter_handler_11.cc index 760730e687..4adf729c81 100644 --- a/tests/parameter_handler/parameter_handler_11.cc +++ b/tests/parameter_handler/parameter_handler_11.cc @@ -47,8 +47,7 @@ void check (const char *p) int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); check (SOURCE_DIR "/prm/parameter_handler_11.prm"); diff --git a/tests/parameter_handler/parameter_handler_12.cc b/tests/parameter_handler/parameter_handler_12.cc index ee5ba84a5a..fa77d6ca40 100644 --- a/tests/parameter_handler/parameter_handler_12.cc +++ b/tests/parameter_handler/parameter_handler_12.cc @@ -42,8 +42,7 @@ void check () int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); check (); diff --git a/tests/parameter_handler/parameter_handler_13.cc b/tests/parameter_handler/parameter_handler_13.cc index 116084b678..982867e4df 100644 --- a/tests/parameter_handler/parameter_handler_13.cc +++ b/tests/parameter_handler/parameter_handler_13.cc @@ -49,8 +49,7 @@ void check (const char *p) int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); check (SOURCE_DIR "/prm/parameter_handler_13.prm"); diff --git a/tests/parameter_handler/parameter_handler_13a.cc b/tests/parameter_handler/parameter_handler_13a.cc index 8c24a851ec..a34d916e47 100644 --- a/tests/parameter_handler/parameter_handler_13a.cc +++ b/tests/parameter_handler/parameter_handler_13a.cc @@ -39,8 +39,7 @@ void check (const char *p) int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); check (SOURCE_DIR "/prm/parameter_handler_13a.prm"); diff --git a/tests/parameter_handler/parameter_handler_14.cc b/tests/parameter_handler/parameter_handler_14.cc index ee99026255..267c6ffa6b 100644 --- a/tests/parameter_handler/parameter_handler_14.cc +++ b/tests/parameter_handler/parameter_handler_14.cc @@ -53,8 +53,7 @@ void check () int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); check (); diff --git a/tests/parameter_handler/parameter_handler_15.cc b/tests/parameter_handler/parameter_handler_15.cc index e12be8baeb..72edcbea0d 100644 --- a/tests/parameter_handler/parameter_handler_15.cc +++ b/tests/parameter_handler/parameter_handler_15.cc @@ -59,8 +59,7 @@ void test(std::string content) int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); test ("subsection bar\nend"); diff --git a/tests/parameter_handler/parameter_handler_16.cc b/tests/parameter_handler/parameter_handler_16.cc index f5438cd9e7..2a6e0ed3f8 100644 --- a/tests/parameter_handler/parameter_handler_16.cc +++ b/tests/parameter_handler/parameter_handler_16.cc @@ -47,8 +47,7 @@ void test () int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); test (); diff --git a/tests/parameter_handler/parameter_handler_17.cc b/tests/parameter_handler/parameter_handler_17.cc index f9b1fdb068..464dbada00 100644 --- a/tests/parameter_handler/parameter_handler_17.cc +++ b/tests/parameter_handler/parameter_handler_17.cc @@ -62,8 +62,7 @@ void check () int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); check (); diff --git a/tests/parameter_handler/parameter_handler_18.cc b/tests/parameter_handler/parameter_handler_18.cc index 09be4a9e15..541d054ce5 100644 --- a/tests/parameter_handler/parameter_handler_18.cc +++ b/tests/parameter_handler/parameter_handler_18.cc @@ -43,8 +43,7 @@ void test () int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); test (); diff --git a/tests/parameter_handler/parameter_handler_19.cc b/tests/parameter_handler/parameter_handler_19.cc index 556c8cb8b0..02dc2ebf29 100644 --- a/tests/parameter_handler/parameter_handler_19.cc +++ b/tests/parameter_handler/parameter_handler_19.cc @@ -108,8 +108,7 @@ int main () { deal_II_exceptions::disable_abort_on_exception(); - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); check (); diff --git a/tests/parameter_handler/parameter_handler_1_exception.cc b/tests/parameter_handler/parameter_handler_1_exception.cc index 68987ec6ad..2c8a61f179 100644 --- a/tests/parameter_handler/parameter_handler_1_exception.cc +++ b/tests/parameter_handler/parameter_handler_1_exception.cc @@ -46,8 +46,7 @@ void check (const char *p) int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); check (SOURCE_DIR "/prm/parameter_handler_1_exception.prm"); diff --git a/tests/parameter_handler/parameter_handler_1_include.cc b/tests/parameter_handler/parameter_handler_1_include.cc index a1816d3b9c..575dffbef9 100644 --- a/tests/parameter_handler/parameter_handler_1_include.cc +++ b/tests/parameter_handler/parameter_handler_1_include.cc @@ -37,8 +37,7 @@ void check (const char *p) int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); // go into the source dir to read files there. this diff --git a/tests/parameter_handler/parameter_handler_1_include_fail.cc b/tests/parameter_handler/parameter_handler_1_include_fail.cc index 5455966975..37dcd92f08 100644 --- a/tests/parameter_handler/parameter_handler_1_include_fail.cc +++ b/tests/parameter_handler/parameter_handler_1_include_fail.cc @@ -48,8 +48,7 @@ void check (const char *p) int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); // go into the source dir to read files there. this diff --git a/tests/parameter_handler/parameter_handler_1a.cc b/tests/parameter_handler/parameter_handler_1a.cc index 3a1fc9f275..5d96cf7209 100644 --- a/tests/parameter_handler/parameter_handler_1a.cc +++ b/tests/parameter_handler/parameter_handler_1a.cc @@ -38,8 +38,7 @@ void check (const char *p) int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); check (SOURCE_DIR "/prm/parameter_handler_1a.prm"); diff --git a/tests/parameter_handler/parameter_handler_2.cc b/tests/parameter_handler/parameter_handler_2.cc index f89b1bfae5..6e5bf083c9 100644 --- a/tests/parameter_handler/parameter_handler_2.cc +++ b/tests/parameter_handler/parameter_handler_2.cc @@ -26,8 +26,7 @@ int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); ParameterHandler prm; diff --git a/tests/parameter_handler/parameter_handler_20.cc b/tests/parameter_handler/parameter_handler_20.cc index dc5195e22f..ad9c784d4c 100644 --- a/tests/parameter_handler/parameter_handler_20.cc +++ b/tests/parameter_handler/parameter_handler_20.cc @@ -52,8 +52,7 @@ void check (const char *content) int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); check ("subsection bar\nend #comment is okay"); diff --git a/tests/parameter_handler/parameter_handler_21.cc b/tests/parameter_handler/parameter_handler_21.cc index 74c98b94c1..9206fcc139 100644 --- a/tests/parameter_handler/parameter_handler_21.cc +++ b/tests/parameter_handler/parameter_handler_21.cc @@ -62,8 +62,7 @@ void test() int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); test(); diff --git a/tests/parameter_handler/parameter_handler_22_last_line.cc b/tests/parameter_handler/parameter_handler_22_last_line.cc index fefe4e359d..05eb5e97e5 100644 --- a/tests/parameter_handler/parameter_handler_22_last_line.cc +++ b/tests/parameter_handler/parameter_handler_22_last_line.cc @@ -41,8 +41,7 @@ void check (const char *p, std::string last_line) int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); // go into the source dir to read files there. this diff --git a/tests/parameter_handler/parameter_handler_2_read_from_string.cc b/tests/parameter_handler/parameter_handler_2_read_from_string.cc index 28320110bd..a89f46efaa 100644 --- a/tests/parameter_handler/parameter_handler_2_read_from_string.cc +++ b/tests/parameter_handler/parameter_handler_2_read_from_string.cc @@ -25,8 +25,7 @@ int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); ParameterHandler prm; diff --git a/tests/parameter_handler/parameter_handler_9.cc b/tests/parameter_handler/parameter_handler_9.cc index 35607cb694..161de1381d 100644 --- a/tests/parameter_handler/parameter_handler_9.cc +++ b/tests/parameter_handler/parameter_handler_9.cc @@ -28,8 +28,7 @@ int main () { try { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); ParameterHandler prm; diff --git a/tests/parameter_handler/parameter_handler_backslash_01.cc b/tests/parameter_handler/parameter_handler_backslash_01.cc index f09a96b6bc..9e7cb2d9be 100644 --- a/tests/parameter_handler/parameter_handler_backslash_01.cc +++ b/tests/parameter_handler/parameter_handler_backslash_01.cc @@ -32,8 +32,7 @@ int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); for (unsigned int i = 0; i < 2; ++i) diff --git a/tests/parameter_handler/parameter_handler_backslash_02.cc b/tests/parameter_handler/parameter_handler_backslash_02.cc index aea69d994d..b77b41c469 100644 --- a/tests/parameter_handler/parameter_handler_backslash_02.cc +++ b/tests/parameter_handler/parameter_handler_backslash_02.cc @@ -34,8 +34,7 @@ int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); for (unsigned int i = 0; i < 2; ++i) diff --git a/tests/parameter_handler/parameter_handler_backslash_03.cc b/tests/parameter_handler/parameter_handler_backslash_03.cc index 0b2922ae3a..a3cfbfd0eb 100644 --- a/tests/parameter_handler/parameter_handler_backslash_03.cc +++ b/tests/parameter_handler/parameter_handler_backslash_03.cc @@ -34,8 +34,7 @@ int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); for (unsigned int i = 0; i < 2; ++i) diff --git a/tests/parameter_handler/parameter_handler_backslash_04.cc b/tests/parameter_handler/parameter_handler_backslash_04.cc index 7361ce6fad..ac697825eb 100644 --- a/tests/parameter_handler/parameter_handler_backslash_04.cc +++ b/tests/parameter_handler/parameter_handler_backslash_04.cc @@ -28,8 +28,7 @@ int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); for (unsigned int i = 0; i < 2; ++i) diff --git a/tests/parameter_handler/parameter_handler_backslash_05.cc b/tests/parameter_handler/parameter_handler_backslash_05.cc index 253d098b84..bf754c3a01 100644 --- a/tests/parameter_handler/parameter_handler_backslash_05.cc +++ b/tests/parameter_handler/parameter_handler_backslash_05.cc @@ -33,8 +33,7 @@ int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); for (unsigned int i = 0; i < 2; ++i) diff --git a/tests/parameter_handler/parameter_handler_backslash_06.cc b/tests/parameter_handler/parameter_handler_backslash_06.cc index 342332723c..1eb189e696 100644 --- a/tests/parameter_handler/parameter_handler_backslash_06.cc +++ b/tests/parameter_handler/parameter_handler_backslash_06.cc @@ -27,8 +27,7 @@ int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); for (unsigned int i = 0; i < 2; ++i) diff --git a/tests/parameter_handler/parameter_handler_backslash_07.cc b/tests/parameter_handler/parameter_handler_backslash_07.cc index 6afa951e5f..da84787464 100644 --- a/tests/parameter_handler/parameter_handler_backslash_07.cc +++ b/tests/parameter_handler/parameter_handler_backslash_07.cc @@ -34,8 +34,7 @@ int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); for (unsigned int i = 0; i < 2; ++i) diff --git a/tests/parameter_handler/parameter_handler_backslash_08.cc b/tests/parameter_handler/parameter_handler_backslash_08.cc index 8f017158ee..6ab8ff33cb 100644 --- a/tests/parameter_handler/parameter_handler_backslash_08.cc +++ b/tests/parameter_handler/parameter_handler_backslash_08.cc @@ -27,8 +27,7 @@ int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); for (unsigned int i = 0; i < 2; ++i) diff --git a/tests/parameter_handler/parameter_handler_dos_endings.cc b/tests/parameter_handler/parameter_handler_dos_endings.cc index f960bfed0a..b0a86d35ce 100644 --- a/tests/parameter_handler/parameter_handler_dos_endings.cc +++ b/tests/parameter_handler/parameter_handler_dos_endings.cc @@ -16,6 +16,7 @@ // ParameterHandler could not handle files with DOS line endings. +#include "../tests.h" #include #include #include @@ -54,8 +55,7 @@ void test () int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.depth_console(0); deallog.threshold_double(1.e-10); diff --git a/tests/parameter_handler/parameter_handler_exceptions_01.cc b/tests/parameter_handler/parameter_handler_exceptions_01.cc index 14ec9299c9..7089342dd9 100644 --- a/tests/parameter_handler/parameter_handler_exceptions_01.cc +++ b/tests/parameter_handler/parameter_handler_exceptions_01.cc @@ -69,8 +69,7 @@ void check (const char *p) int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); check (SOURCE_DIR "/prm/parameter_handler_1.prm"); diff --git a/tests/parameter_handler/parameter_handler_exceptions_02.cc b/tests/parameter_handler/parameter_handler_exceptions_02.cc index 120fc3239b..8a100fcd15 100644 --- a/tests/parameter_handler/parameter_handler_exceptions_02.cc +++ b/tests/parameter_handler/parameter_handler_exceptions_02.cc @@ -78,8 +78,7 @@ void check (const char *p) int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); check (SOURCE_DIR "/prm/parameter_handler_1.prm"); diff --git a/tests/parameter_handler/parameter_handler_read_xml_error_01.cc b/tests/parameter_handler/parameter_handler_read_xml_error_01.cc index be71a075cd..c6a64da81c 100644 --- a/tests/parameter_handler/parameter_handler_read_xml_error_01.cc +++ b/tests/parameter_handler/parameter_handler_read_xml_error_01.cc @@ -26,8 +26,7 @@ int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); ParameterHandler prm; diff --git a/tests/parameter_handler/parameter_handler_read_xml_error_02.cc b/tests/parameter_handler/parameter_handler_read_xml_error_02.cc index 2dbe7874d3..625497978d 100644 --- a/tests/parameter_handler/parameter_handler_read_xml_error_02.cc +++ b/tests/parameter_handler/parameter_handler_read_xml_error_02.cc @@ -26,8 +26,7 @@ int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); ParameterHandler prm; diff --git a/tests/parameter_handler/parameter_handler_read_xml_error_03.cc b/tests/parameter_handler/parameter_handler_read_xml_error_03.cc index 6e4ab73ab4..7d35bb06a1 100644 --- a/tests/parameter_handler/parameter_handler_read_xml_error_03.cc +++ b/tests/parameter_handler/parameter_handler_read_xml_error_03.cc @@ -26,8 +26,7 @@ int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); ParameterHandler prm; diff --git a/tests/parameter_handler/parameter_handler_read_xml_error_04.cc b/tests/parameter_handler/parameter_handler_read_xml_error_04.cc index f2f965779e..e145ea2ba0 100644 --- a/tests/parameter_handler/parameter_handler_read_xml_error_04.cc +++ b/tests/parameter_handler/parameter_handler_read_xml_error_04.cc @@ -26,8 +26,7 @@ int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); ParameterHandler prm; diff --git a/tests/petsc/01.cc b/tests/petsc/01.cc index 2443a8f41d..57d9a2ea77 100644 --- a/tests/petsc/01.cc +++ b/tests/petsc/01.cc @@ -55,8 +55,7 @@ void test (PETScWrappers::SparseMatrix &m) int main (int argc,char **argv) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/petsc/02.cc b/tests/petsc/02.cc index ff382d36cd..40c21ceaef 100644 --- a/tests/petsc/02.cc +++ b/tests/petsc/02.cc @@ -55,8 +55,7 @@ void test (PETScWrappers::SparseMatrix &m) int main (int argc,char **argv) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/petsc/04.cc b/tests/petsc/04.cc index 9e2704f50d..d604fe3da7 100644 --- a/tests/petsc/04.cc +++ b/tests/petsc/04.cc @@ -35,8 +35,7 @@ void test (PETScWrappers::SparseMatrix &m) int main (int argc,char **argv) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/petsc/05.cc b/tests/petsc/05.cc index 78db99bec7..54e581b1a2 100644 --- a/tests/petsc/05.cc +++ b/tests/petsc/05.cc @@ -50,8 +50,7 @@ void test (PETScWrappers::SparseMatrix &m) int main (int argc,char **argv) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/petsc/06.cc b/tests/petsc/06.cc index fc2074091b..f6791d2fec 100644 --- a/tests/petsc/06.cc +++ b/tests/petsc/06.cc @@ -46,8 +46,7 @@ void test (PETScWrappers::SparseMatrix &m) int main (int argc,char **argv) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/petsc/07.cc b/tests/petsc/07.cc index 8e42a80329..3f4864c0bf 100644 --- a/tests/petsc/07.cc +++ b/tests/petsc/07.cc @@ -46,8 +46,7 @@ void test (PETScWrappers::SparseMatrix &m) int main (int argc,char **argv) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/petsc/08.cc b/tests/petsc/08.cc index 83066296e3..56671d0adf 100644 --- a/tests/petsc/08.cc +++ b/tests/petsc/08.cc @@ -51,8 +51,7 @@ void test (PETScWrappers::SparseMatrix &m) int main (int argc,char **argv) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/petsc/09.cc b/tests/petsc/09.cc index 34277c7ca0..27b5f47814 100644 --- a/tests/petsc/09.cc +++ b/tests/petsc/09.cc @@ -58,8 +58,7 @@ void test (PETScWrappers::SparseMatrix &m) int main (int argc,char **argv) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/petsc/10.cc b/tests/petsc/10.cc index 62a48664ba..58be28ca73 100644 --- a/tests/petsc/10.cc +++ b/tests/petsc/10.cc @@ -58,8 +58,7 @@ void test (PETScWrappers::SparseMatrix &m) int main (int argc,char **argv) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/petsc/11.cc b/tests/petsc/11.cc index 0c2cd26880..cef6ea3397 100644 --- a/tests/petsc/11.cc +++ b/tests/petsc/11.cc @@ -40,8 +40,7 @@ void test (PETScWrappers::MPI::Vector &v) int main (int argc,char **argv) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/petsc/12.cc b/tests/petsc/12.cc index 7565aad3d3..e3e6dbca23 100644 --- a/tests/petsc/12.cc +++ b/tests/petsc/12.cc @@ -53,8 +53,7 @@ void test (PETScWrappers::MPI::Vector &v) int main (int argc,char **argv) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/petsc/13.cc b/tests/petsc/13.cc index cdde6e90e7..70949b0647 100644 --- a/tests/petsc/13.cc +++ b/tests/petsc/13.cc @@ -53,8 +53,7 @@ void test (PETScWrappers::MPI::Vector &v) int main (int argc,char **argv) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/petsc/17.cc b/tests/petsc/17.cc index 9c922f0ee7..15533988cf 100644 --- a/tests/petsc/17.cc +++ b/tests/petsc/17.cc @@ -45,8 +45,7 @@ void test (PETScWrappers::MPI::Vector &v) int main (int argc,char **argv) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/petsc/18.cc b/tests/petsc/18.cc index f4761fb8a0..a493b89719 100644 --- a/tests/petsc/18.cc +++ b/tests/petsc/18.cc @@ -46,8 +46,7 @@ void test (PETScWrappers::MPI::Vector &v) int main (int argc,char **argv) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/petsc/19.cc b/tests/petsc/19.cc index cab88f5e01..47f88ee484 100644 --- a/tests/petsc/19.cc +++ b/tests/petsc/19.cc @@ -45,8 +45,7 @@ void test (PETScWrappers::MPI::Vector &v) int main (int argc,char **argv) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/petsc/20.cc b/tests/petsc/20.cc index d29fe6ac3d..f25bcc3a85 100644 --- a/tests/petsc/20.cc +++ b/tests/petsc/20.cc @@ -54,8 +54,7 @@ void test (PETScWrappers::MPI::Vector &v) int main (int argc,char **argv) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/petsc/21.cc b/tests/petsc/21.cc index 4074dc89c6..68a6da83e8 100644 --- a/tests/petsc/21.cc +++ b/tests/petsc/21.cc @@ -54,8 +54,7 @@ void test (PETScWrappers::MPI::Vector &v) int main (int argc,char **argv) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/petsc/22.cc b/tests/petsc/22.cc index ec8fdbdf33..f2060551b9 100644 --- a/tests/petsc/22.cc +++ b/tests/petsc/22.cc @@ -48,8 +48,7 @@ void test (PETScWrappers::MPI::Vector &v, int main (int argc,char **argv) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/petsc/23.cc b/tests/petsc/23.cc index e294517ad8..76b24590e6 100644 --- a/tests/petsc/23.cc +++ b/tests/petsc/23.cc @@ -55,8 +55,7 @@ void test (PETScWrappers::MPI::Vector &v, int main (int argc,char **argv) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/petsc/24.cc b/tests/petsc/24.cc index 7c87402ec4..c13500b12e 100644 --- a/tests/petsc/24.cc +++ b/tests/petsc/24.cc @@ -48,8 +48,7 @@ void test (PETScWrappers::MPI::Vector &v) int main (int argc,char **argv) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/petsc/26.cc b/tests/petsc/26.cc index cc8e8d07c6..d29b071512 100644 --- a/tests/petsc/26.cc +++ b/tests/petsc/26.cc @@ -45,8 +45,7 @@ void test (PETScWrappers::MPI::Vector &v) int main (int argc,char **argv) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/petsc/27.cc b/tests/petsc/27.cc index 75f8b0cfef..a0fab3e387 100644 --- a/tests/petsc/27.cc +++ b/tests/petsc/27.cc @@ -50,8 +50,7 @@ void test (PETScWrappers::MPI::Vector &v) int main (int argc,char **argv) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/petsc/28.cc b/tests/petsc/28.cc index c6302a8d92..b0b0d51239 100644 --- a/tests/petsc/28.cc +++ b/tests/petsc/28.cc @@ -52,8 +52,7 @@ void test (PETScWrappers::MPI::Vector &v) int main (int argc,char **argv) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/petsc/29.cc b/tests/petsc/29.cc index 94c7f77e66..6633dd4d6f 100644 --- a/tests/petsc/29.cc +++ b/tests/petsc/29.cc @@ -37,8 +37,7 @@ void test (PETScWrappers::MPI::Vector &v) int main (int argc,char **argv) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/petsc/30.cc b/tests/petsc/30.cc index 10ce6e0df1..2b59905c6d 100644 --- a/tests/petsc/30.cc +++ b/tests/petsc/30.cc @@ -45,8 +45,7 @@ void test (PETScWrappers::MPI::Vector &v) int main (int argc,char **argv) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/petsc/31.cc b/tests/petsc/31.cc index 0bc07d56c3..16b7f2476e 100644 --- a/tests/petsc/31.cc +++ b/tests/petsc/31.cc @@ -47,8 +47,7 @@ void test (PETScWrappers::MPI::Vector &v) int main (int argc,char **argv) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/petsc/32.cc b/tests/petsc/32.cc index 296f347255..6f8d99ed37 100644 --- a/tests/petsc/32.cc +++ b/tests/petsc/32.cc @@ -47,8 +47,7 @@ void test (PETScWrappers::MPI::Vector &v) int main (int argc,char **argv) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/petsc/33.cc b/tests/petsc/33.cc index 90e81ae0c8..17db71c68f 100644 --- a/tests/petsc/33.cc +++ b/tests/petsc/33.cc @@ -48,8 +48,7 @@ void test (PETScWrappers::MPI::Vector &v) int main (int argc,char **argv) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/petsc/34.cc b/tests/petsc/34.cc index 79f0c1a868..f91a961c68 100644 --- a/tests/petsc/34.cc +++ b/tests/petsc/34.cc @@ -48,8 +48,7 @@ void test (PETScWrappers::MPI::Vector &v) int main (int argc,char **argv) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/petsc/35.cc b/tests/petsc/35.cc index a50dc8be88..50c052cc63 100644 --- a/tests/petsc/35.cc +++ b/tests/petsc/35.cc @@ -64,8 +64,7 @@ void test (PETScWrappers::MPI::Vector &v, int main (int argc,char **argv) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/petsc/36.cc b/tests/petsc/36.cc index 93a67ab596..917bfa19b7 100644 --- a/tests/petsc/36.cc +++ b/tests/petsc/36.cc @@ -64,8 +64,7 @@ void test (PETScWrappers::MPI::Vector &v, int main (int argc,char **argv) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/petsc/37.cc b/tests/petsc/37.cc index d5529e4810..cd8c7dcc19 100644 --- a/tests/petsc/37.cc +++ b/tests/petsc/37.cc @@ -44,8 +44,7 @@ void test (PETScWrappers::MPI::Vector &v) int main (int argc,char **argv) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/petsc/38.cc b/tests/petsc/38.cc index acd5d1e071..0439cab5f6 100644 --- a/tests/petsc/38.cc +++ b/tests/petsc/38.cc @@ -52,8 +52,7 @@ void test (PETScWrappers::MPI::Vector &v, int main (int argc,char **argv) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/petsc/39.cc b/tests/petsc/39.cc index fda36a2992..3fa8318203 100644 --- a/tests/petsc/39.cc +++ b/tests/petsc/39.cc @@ -52,8 +52,7 @@ void test (PETScWrappers::MPI::Vector &v, int main (int argc,char **argv) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/petsc/40.cc b/tests/petsc/40.cc index c65eef6644..bac0c7b457 100644 --- a/tests/petsc/40.cc +++ b/tests/petsc/40.cc @@ -56,8 +56,7 @@ void test (PETScWrappers::MPI::Vector &v, int main (int argc,char **argv) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/petsc/41.cc b/tests/petsc/41.cc index 73e9329e24..673242498f 100644 --- a/tests/petsc/41.cc +++ b/tests/petsc/41.cc @@ -52,8 +52,7 @@ void test (PETScWrappers::MPI::Vector &v, int main (int argc,char **argv) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/petsc/42.cc b/tests/petsc/42.cc index 966747a129..424b21cf52 100644 --- a/tests/petsc/42.cc +++ b/tests/petsc/42.cc @@ -52,8 +52,7 @@ void test (PETScWrappers::MPI::Vector &v, int main (int argc,char **argv) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/petsc/43.cc b/tests/petsc/43.cc index 620d860f97..b4c5b734d0 100644 --- a/tests/petsc/43.cc +++ b/tests/petsc/43.cc @@ -56,8 +56,7 @@ void test (PETScWrappers::MPI::Vector &v, int main (int argc,char **argv) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/petsc/44.cc b/tests/petsc/44.cc index 5cf533ca4d..9f4b819315 100644 --- a/tests/petsc/44.cc +++ b/tests/petsc/44.cc @@ -60,8 +60,7 @@ void test (PETScWrappers::MPI::Vector &v, int main (int argc,char **argv) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/petsc/45.cc b/tests/petsc/45.cc index ccb785a8c3..258e958e8a 100644 --- a/tests/petsc/45.cc +++ b/tests/petsc/45.cc @@ -52,8 +52,7 @@ void test (PETScWrappers::MPI::Vector &v, int main (int argc,char **argv) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/petsc/46.cc b/tests/petsc/46.cc index 953f69f11c..196dd9e02b 100644 --- a/tests/petsc/46.cc +++ b/tests/petsc/46.cc @@ -52,8 +52,7 @@ void test (PETScWrappers::MPI::Vector &v, int main (int argc,char **argv) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/petsc/47.cc b/tests/petsc/47.cc index acd43a6b13..6d7823f2bb 100644 --- a/tests/petsc/47.cc +++ b/tests/petsc/47.cc @@ -56,8 +56,7 @@ void test (PETScWrappers::MPI::Vector &v, int main (int argc,char **argv) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/petsc/48.cc b/tests/petsc/48.cc index 472e7dc388..3afa82b72a 100644 --- a/tests/petsc/48.cc +++ b/tests/petsc/48.cc @@ -58,8 +58,7 @@ void test (PETScWrappers::MPI::Vector &v, int main (int argc,char **argv) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/petsc/49.cc b/tests/petsc/49.cc index dee8762f4c..fdb6bd4f89 100644 --- a/tests/petsc/49.cc +++ b/tests/petsc/49.cc @@ -49,8 +49,7 @@ void test (PETScWrappers::MPI::Vector &v) int main (int argc,char **argv) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/petsc/50.cc b/tests/petsc/50.cc index 7ff2956568..84df79c7d0 100644 --- a/tests/petsc/50.cc +++ b/tests/petsc/50.cc @@ -65,8 +65,7 @@ void test (PETScWrappers::MPI::Vector &v) int main (int argc,char **argv) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/petsc/51.cc b/tests/petsc/51.cc index fea6331ad7..0666f834c3 100644 --- a/tests/petsc/51.cc +++ b/tests/petsc/51.cc @@ -49,8 +49,7 @@ void test (PETScWrappers::MPI::Vector &v) int main (int argc,char **argv) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/petsc/52.cc b/tests/petsc/52.cc index bcc46f196a..f2bbf07b77 100644 --- a/tests/petsc/52.cc +++ b/tests/petsc/52.cc @@ -56,8 +56,7 @@ void test (PETScWrappers::SparseMatrix &m) int main (int argc,char **argv) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/petsc/55.cc b/tests/petsc/55.cc index e02e8ea8ff..9f6cfa317b 100644 --- a/tests/petsc/55.cc +++ b/tests/petsc/55.cc @@ -55,8 +55,7 @@ void test (PETScWrappers::MPI::Vector &v) int main (int argc,char **argv) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/petsc/56.cc b/tests/petsc/56.cc index 22d0806e08..bc3109978e 100644 --- a/tests/petsc/56.cc +++ b/tests/petsc/56.cc @@ -55,8 +55,7 @@ void test (PETScWrappers::MPI::Vector &v) int main (int argc,char **argv) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/petsc/57.cc b/tests/petsc/57.cc index 81bed3d3ae..65b619f826 100644 --- a/tests/petsc/57.cc +++ b/tests/petsc/57.cc @@ -53,8 +53,7 @@ void test (PETScWrappers::MPI::Vector &v) int main (int argc,char **argv) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/petsc/58.cc b/tests/petsc/58.cc index c1b8a09943..72f4298847 100644 --- a/tests/petsc/58.cc +++ b/tests/petsc/58.cc @@ -55,8 +55,7 @@ void test (PETScWrappers::MPI::Vector &v) int main (int argc,char **argv) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/petsc/59.cc b/tests/petsc/59.cc index 551d65c529..4b476a55a5 100644 --- a/tests/petsc/59.cc +++ b/tests/petsc/59.cc @@ -58,8 +58,7 @@ void test (PETScWrappers::MPI::Vector &v) int main (int argc,char **argv) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/petsc/60.cc b/tests/petsc/60.cc index 84f341d718..3f16fb893b 100644 --- a/tests/petsc/60.cc +++ b/tests/petsc/60.cc @@ -57,8 +57,7 @@ void test (PETScWrappers::MPI::Vector &v) int main (int argc,char **argv) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/petsc/61.cc b/tests/petsc/61.cc index 879ffabf4a..13151c1364 100644 --- a/tests/petsc/61.cc +++ b/tests/petsc/61.cc @@ -62,8 +62,7 @@ void test (PETScWrappers::MPI::Vector &v) int main (int argc,char **argv) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/petsc/62.cc b/tests/petsc/62.cc index efdc466d66..4b968cd62e 100644 --- a/tests/petsc/62.cc +++ b/tests/petsc/62.cc @@ -43,8 +43,7 @@ void test (PETScWrappers::MatrixBase &m) int main (int argc,char **argv) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/petsc/63.cc b/tests/petsc/63.cc index 0b23b1ab54..d46db561dc 100644 --- a/tests/petsc/63.cc +++ b/tests/petsc/63.cc @@ -41,8 +41,7 @@ void test (PETScWrappers::MatrixBase &m) int main (int argc,char **argv) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/petsc/64.cc b/tests/petsc/64.cc index 254c092156..0e0eea128e 100644 --- a/tests/petsc/64.cc +++ b/tests/petsc/64.cc @@ -46,8 +46,7 @@ void test (MatrixType &m) int main (int argc,char **argv) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/petsc/65.cc b/tests/petsc/65.cc index 5690477c2f..0d2cc978b4 100644 --- a/tests/petsc/65.cc +++ b/tests/petsc/65.cc @@ -40,8 +40,7 @@ void test () int main (int argc,char **argv) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/petsc/66.cc b/tests/petsc/66.cc index 760d270bd4..fa117faf28 100644 --- a/tests/petsc/66.cc +++ b/tests/petsc/66.cc @@ -97,8 +97,7 @@ void test (PETScWrappers::MatrixBase &m) int main (int argc,char **argv) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/petsc/67.cc b/tests/petsc/67.cc index ee7f7954ac..bc06fbf912 100644 --- a/tests/petsc/67.cc +++ b/tests/petsc/67.cc @@ -105,8 +105,7 @@ void test (PETScWrappers::MatrixBase &m) int main (int argc,char **argv) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/petsc/68.cc b/tests/petsc/68.cc index 03044de460..976cdaa72b 100644 --- a/tests/petsc/68.cc +++ b/tests/petsc/68.cc @@ -101,8 +101,7 @@ void test (PETScWrappers::MatrixBase &m) int main (int argc,char **argv) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/petsc/69.cc b/tests/petsc/69.cc index fc7d6216c8..2d22dd40c6 100644 --- a/tests/petsc/69.cc +++ b/tests/petsc/69.cc @@ -109,8 +109,7 @@ void test (PETScWrappers::MatrixBase &m) int main (int argc,char **argv) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/petsc/70.cc b/tests/petsc/70.cc index f321b9601d..b5f7b54cb7 100644 --- a/tests/petsc/70.cc +++ b/tests/petsc/70.cc @@ -25,8 +25,7 @@ int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); if (typeid(PetscScalar)==typeid(double)) diff --git a/tests/petsc/block_vector_iterator_01.cc b/tests/petsc/block_vector_iterator_01.cc index 1dd6735c94..94eff392ec 100644 --- a/tests/petsc/block_vector_iterator_01.cc +++ b/tests/petsc/block_vector_iterator_01.cc @@ -80,8 +80,7 @@ void test () int main (int argc,char **argv) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/petsc/block_vector_iterator_02.cc b/tests/petsc/block_vector_iterator_02.cc index c97f634852..17918baf6a 100644 --- a/tests/petsc/block_vector_iterator_02.cc +++ b/tests/petsc/block_vector_iterator_02.cc @@ -74,8 +74,7 @@ void test () int main (int argc,char **argv) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/petsc/copy_to_dealvec.cc b/tests/petsc/copy_to_dealvec.cc index 85deb06bb5..cc6521a704 100644 --- a/tests/petsc/copy_to_dealvec.cc +++ b/tests/petsc/copy_to_dealvec.cc @@ -105,8 +105,7 @@ int main (int argc, char **argv) if (myid == 0) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog << std::setprecision(4); deallog.threshold_double(1.e-10); diff --git a/tests/petsc/copy_to_dealvec_block.cc b/tests/petsc/copy_to_dealvec_block.cc index d9885d8a6e..a38e711338 100644 --- a/tests/petsc/copy_to_dealvec_block.cc +++ b/tests/petsc/copy_to_dealvec_block.cc @@ -124,8 +124,7 @@ int main (int argc, char **argv) if (myid == 0) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog << std::setprecision(4); deallog.threshold_double(1.e-10); diff --git a/tests/petsc/deal_solver_01.cc b/tests/petsc/deal_solver_01.cc index 6adf8cbfff..988f1b4e3e 100644 --- a/tests/petsc/deal_solver_01.cc +++ b/tests/petsc/deal_solver_01.cc @@ -66,8 +66,7 @@ check_solve(SolverType &solver, int main(int argc, char **argv) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog << std::setprecision(4); deallog.threshold_double(1.e-10); diff --git a/tests/petsc/deal_solver_02.cc b/tests/petsc/deal_solver_02.cc index 542fcec35d..26052bf986 100644 --- a/tests/petsc/deal_solver_02.cc +++ b/tests/petsc/deal_solver_02.cc @@ -67,8 +67,7 @@ check_solve(SolverType &solver, int main(int argc, char **argv) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog << std::setprecision(4); deallog.threshold_double(1.e-10); diff --git a/tests/petsc/deal_solver_03.cc b/tests/petsc/deal_solver_03.cc index cf3d39054d..ac76462285 100644 --- a/tests/petsc/deal_solver_03.cc +++ b/tests/petsc/deal_solver_03.cc @@ -68,8 +68,7 @@ check_solve(SolverType &solver, int main(int argc, char **argv) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog << std::setprecision(4); deallog.threshold_double(1.e-10); diff --git a/tests/petsc/different_matrix_preconditioner.cc b/tests/petsc/different_matrix_preconditioner.cc index 2ee3dc5b14..7463ff81dc 100644 --- a/tests/petsc/different_matrix_preconditioner.cc +++ b/tests/petsc/different_matrix_preconditioner.cc @@ -40,8 +40,7 @@ using namespace dealii; int main(int argc, char **argv) { dealii::Utilities::MPI::MPI_InitFinalize mpi_initialization(argc, argv, 1); - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-6); // create stiffness and mass matrix templates diff --git a/tests/petsc/exception_messages.cc b/tests/petsc/exception_messages.cc index 3dd689108c..cf55c64cc5 100644 --- a/tests/petsc/exception_messages.cc +++ b/tests/petsc/exception_messages.cc @@ -31,8 +31,7 @@ int main (int argc, char **argv) { Utilities::MPI::MPI_InitFinalize mpi_initialization(argc, argv, 1); - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); std::vector petsc_error_codes; diff --git a/tests/petsc/full_matrix_00.cc b/tests/petsc/full_matrix_00.cc index bfcfc6db29..c4795dc960 100644 --- a/tests/petsc/full_matrix_00.cc +++ b/tests/petsc/full_matrix_00.cc @@ -79,8 +79,7 @@ void test (PETScWrappers::FullMatrix &m) int main (int argc,char **argv) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/petsc/full_matrix_01.cc b/tests/petsc/full_matrix_01.cc index 01e1337fe3..4d06cb7069 100644 --- a/tests/petsc/full_matrix_01.cc +++ b/tests/petsc/full_matrix_01.cc @@ -55,8 +55,7 @@ void test (PETScWrappers::FullMatrix &m) int main (int argc,char **argv) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/petsc/full_matrix_02.cc b/tests/petsc/full_matrix_02.cc index 111dd52211..2b4a4fadbb 100644 --- a/tests/petsc/full_matrix_02.cc +++ b/tests/petsc/full_matrix_02.cc @@ -55,8 +55,7 @@ void test (PETScWrappers::FullMatrix &m) int main (int argc,char **argv) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/petsc/full_matrix_04.cc b/tests/petsc/full_matrix_04.cc index e1cb59e13b..f3ec5cc65b 100644 --- a/tests/petsc/full_matrix_04.cc +++ b/tests/petsc/full_matrix_04.cc @@ -35,8 +35,7 @@ void test (PETScWrappers::FullMatrix &m) int main (int argc,char **argv) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/petsc/full_matrix_05.cc b/tests/petsc/full_matrix_05.cc index c050e53865..c9d3cd4745 100644 --- a/tests/petsc/full_matrix_05.cc +++ b/tests/petsc/full_matrix_05.cc @@ -51,8 +51,7 @@ void test (PETScWrappers::FullMatrix &m) int main (int argc,char **argv) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/petsc/full_matrix_06.cc b/tests/petsc/full_matrix_06.cc index 0bd975ad48..fd8d7fdcce 100644 --- a/tests/petsc/full_matrix_06.cc +++ b/tests/petsc/full_matrix_06.cc @@ -46,8 +46,7 @@ void test (PETScWrappers::FullMatrix &m) int main (int argc,char **argv) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/petsc/full_matrix_07.cc b/tests/petsc/full_matrix_07.cc index b9de7b731d..bb94a910ff 100644 --- a/tests/petsc/full_matrix_07.cc +++ b/tests/petsc/full_matrix_07.cc @@ -46,8 +46,7 @@ void test (PETScWrappers::FullMatrix &m) int main (int argc,char **argv) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/petsc/full_matrix_08.cc b/tests/petsc/full_matrix_08.cc index ded7fc3e7c..151a176413 100644 --- a/tests/petsc/full_matrix_08.cc +++ b/tests/petsc/full_matrix_08.cc @@ -51,8 +51,7 @@ void test (PETScWrappers::FullMatrix &m) int main (int argc,char **argv) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/petsc/full_matrix_09.cc b/tests/petsc/full_matrix_09.cc index 2e7fab9aff..d2ea4f33ac 100644 --- a/tests/petsc/full_matrix_09.cc +++ b/tests/petsc/full_matrix_09.cc @@ -58,8 +58,7 @@ void test (PETScWrappers::FullMatrix &m) int main (int argc,char **argv) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/petsc/full_matrix_10.cc b/tests/petsc/full_matrix_10.cc index 67c8a165f9..2f3a4bbffc 100644 --- a/tests/petsc/full_matrix_10.cc +++ b/tests/petsc/full_matrix_10.cc @@ -58,8 +58,7 @@ void test (PETScWrappers::FullMatrix &m) int main (int argc,char **argv) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/petsc/full_matrix_iterator_01.cc b/tests/petsc/full_matrix_iterator_01.cc index ba93ffd7b9..46e2aa4a86 100644 --- a/tests/petsc/full_matrix_iterator_01.cc +++ b/tests/petsc/full_matrix_iterator_01.cc @@ -44,8 +44,7 @@ void test () int main (int argc,char **argv) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/petsc/full_matrix_vector_01.cc b/tests/petsc/full_matrix_vector_01.cc index ae53be91c2..5465667c57 100644 --- a/tests/petsc/full_matrix_vector_01.cc +++ b/tests/petsc/full_matrix_vector_01.cc @@ -60,8 +60,7 @@ void test (PETScWrappers::MPI::Vector &v, int main (int argc, char **argv) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/petsc/full_matrix_vector_02.cc b/tests/petsc/full_matrix_vector_02.cc index 5ba10e528d..d79b987045 100644 --- a/tests/petsc/full_matrix_vector_02.cc +++ b/tests/petsc/full_matrix_vector_02.cc @@ -60,8 +60,7 @@ void test (PETScWrappers::MPI::Vector &v, int main (int argc, char **argv) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/petsc/full_matrix_vector_03.cc b/tests/petsc/full_matrix_vector_03.cc index d7965b19bf..65497ff987 100644 --- a/tests/petsc/full_matrix_vector_03.cc +++ b/tests/petsc/full_matrix_vector_03.cc @@ -64,8 +64,7 @@ void test (PETScWrappers::MPI::Vector &v, int main (int argc, char **argv) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/petsc/full_matrix_vector_04.cc b/tests/petsc/full_matrix_vector_04.cc index 3418fb4fc5..889e9ff51b 100644 --- a/tests/petsc/full_matrix_vector_04.cc +++ b/tests/petsc/full_matrix_vector_04.cc @@ -64,8 +64,7 @@ void test (PETScWrappers::MPI::Vector &v, int main (int argc, char **argv) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/petsc/full_matrix_vector_05.cc b/tests/petsc/full_matrix_vector_05.cc index ee98e3f99a..bee36aa003 100644 --- a/tests/petsc/full_matrix_vector_05.cc +++ b/tests/petsc/full_matrix_vector_05.cc @@ -67,8 +67,7 @@ void test (PETScWrappers::MPI::Vector &v, int main (int argc, char **argv) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/petsc/full_matrix_vector_06.cc b/tests/petsc/full_matrix_vector_06.cc index 7af80e469a..180e05e568 100644 --- a/tests/petsc/full_matrix_vector_06.cc +++ b/tests/petsc/full_matrix_vector_06.cc @@ -59,8 +59,7 @@ void test (PETScWrappers::MPI::Vector &v) int main (int argc, char **argv) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/petsc/full_matrix_vector_07.cc b/tests/petsc/full_matrix_vector_07.cc index 967abb8e64..d584baa36b 100644 --- a/tests/petsc/full_matrix_vector_07.cc +++ b/tests/petsc/full_matrix_vector_07.cc @@ -69,8 +69,7 @@ void test (PETScWrappers::MPI::Vector &v, int main (int argc, char **argv) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/petsc/parallel_sparse_matrix_01.cc b/tests/petsc/parallel_sparse_matrix_01.cc index 7152b364fc..92421ffeed 100644 --- a/tests/petsc/parallel_sparse_matrix_01.cc +++ b/tests/petsc/parallel_sparse_matrix_01.cc @@ -120,8 +120,7 @@ void test () int main (int argc,char **argv) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/petsc/slowness_01.cc b/tests/petsc/slowness_01.cc index 949b3387a7..19dd539bb0 100644 --- a/tests/petsc/slowness_01.cc +++ b/tests/petsc/slowness_01.cc @@ -109,8 +109,7 @@ void test () int main (int argc,char **argv) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); try { diff --git a/tests/petsc/slowness_02.cc b/tests/petsc/slowness_02.cc index 1e561d07ea..0468d0491b 100644 --- a/tests/petsc/slowness_02.cc +++ b/tests/petsc/slowness_02.cc @@ -83,8 +83,7 @@ void test () int main (int argc,char **argv) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); try { diff --git a/tests/petsc/slowness_03.cc b/tests/petsc/slowness_03.cc index a176fd70ac..579838aeef 100644 --- a/tests/petsc/slowness_03.cc +++ b/tests/petsc/slowness_03.cc @@ -83,8 +83,7 @@ void test () int main (int argc,char **argv) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); try { diff --git a/tests/petsc/slowness_04.cc b/tests/petsc/slowness_04.cc index a0a77cb913..05febfc03f 100644 --- a/tests/petsc/slowness_04.cc +++ b/tests/petsc/slowness_04.cc @@ -114,8 +114,7 @@ void test () int main (int argc,char **argv) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); try { diff --git a/tests/petsc/solver_03.cc b/tests/petsc/solver_03.cc index b8c95eded8..ca0cdc1a09 100644 --- a/tests/petsc/solver_03.cc +++ b/tests/petsc/solver_03.cc @@ -61,8 +61,7 @@ check_solve(SolverType &solver, int main(int argc, char **argv) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog << std::setprecision(4); deallog.threshold_double(1.e-10); diff --git a/tests/petsc/solver_03_mf.cc b/tests/petsc/solver_03_mf.cc index acaad95256..6d0ea169f0 100644 --- a/tests/petsc/solver_03_mf.cc +++ b/tests/petsc/solver_03_mf.cc @@ -62,8 +62,7 @@ check_solve(SolverType &solver, int main(int argc, char **argv) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog << std::setprecision(4); deallog.threshold_double(1.e-10); diff --git a/tests/petsc/solver_03_precondition_boomeramg.cc b/tests/petsc/solver_03_precondition_boomeramg.cc index b9002f6af7..b3402712d1 100644 --- a/tests/petsc/solver_03_precondition_boomeramg.cc +++ b/tests/petsc/solver_03_precondition_boomeramg.cc @@ -62,8 +62,7 @@ check_solve(SolverType &solver, int main(int argc, char **argv) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog << std::setprecision(4); deallog.threshold_double(1.e-10); diff --git a/tests/petsc/solver_03_precondition_boomeramg_symmetric.cc b/tests/petsc/solver_03_precondition_boomeramg_symmetric.cc index 4fd859f533..51c9e77422 100644 --- a/tests/petsc/solver_03_precondition_boomeramg_symmetric.cc +++ b/tests/petsc/solver_03_precondition_boomeramg_symmetric.cc @@ -63,8 +63,7 @@ check_solve(SolverType &solver, int main(int argc, char **argv) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog << std::setprecision(4); deallog.threshold_double(1.e-10); diff --git a/tests/petsc/solver_03_precondition_eisenstat.cc b/tests/petsc/solver_03_precondition_eisenstat.cc index 7b3fb5c2bf..ea59ec3423 100644 --- a/tests/petsc/solver_03_precondition_eisenstat.cc +++ b/tests/petsc/solver_03_precondition_eisenstat.cc @@ -61,8 +61,7 @@ check_solve(SolverType &solver, int main(int argc, char **argv) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog << std::setprecision(4); deallog.threshold_double(1.e-10); diff --git a/tests/petsc/solver_03_precondition_icc.cc b/tests/petsc/solver_03_precondition_icc.cc index 90454d6791..b1de5b810c 100644 --- a/tests/petsc/solver_03_precondition_icc.cc +++ b/tests/petsc/solver_03_precondition_icc.cc @@ -61,8 +61,7 @@ check_solve(SolverType &solver, int main(int argc, char **argv) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog << std::setprecision(4); deallog.threshold_double(1.e-10); diff --git a/tests/petsc/solver_03_precondition_ilu.cc b/tests/petsc/solver_03_precondition_ilu.cc index a88f91a59a..faf8d63d80 100644 --- a/tests/petsc/solver_03_precondition_ilu.cc +++ b/tests/petsc/solver_03_precondition_ilu.cc @@ -61,8 +61,7 @@ check_solve(SolverType &solver, int main(int argc, char **argv) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog << std::setprecision(4); deallog.threshold_double(1.e-10); diff --git a/tests/petsc/solver_03_precondition_lu.cc b/tests/petsc/solver_03_precondition_lu.cc index 65f14b6a9d..628b3a911e 100644 --- a/tests/petsc/solver_03_precondition_lu.cc +++ b/tests/petsc/solver_03_precondition_lu.cc @@ -68,8 +68,7 @@ check_solve(SolverType &solver, int main(int argc, char **argv) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog << std::setprecision(4); deallog.threshold_double(1.e-10); diff --git a/tests/petsc/solver_03_precondition_parasails.cc b/tests/petsc/solver_03_precondition_parasails.cc index 87b7c5f245..3e99f147e2 100644 --- a/tests/petsc/solver_03_precondition_parasails.cc +++ b/tests/petsc/solver_03_precondition_parasails.cc @@ -61,8 +61,7 @@ check_solve(SolverType &solver, int main(int argc, char **argv) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog << std::setprecision(4); deallog.threshold_double(1.e-10); diff --git a/tests/petsc/solver_03_precondition_sor.cc b/tests/petsc/solver_03_precondition_sor.cc index 843d599dd8..2b42ca3679 100644 --- a/tests/petsc/solver_03_precondition_sor.cc +++ b/tests/petsc/solver_03_precondition_sor.cc @@ -61,8 +61,7 @@ check_solve(SolverType &solver, int main(int argc, char **argv) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog << std::setprecision(4); deallog.threshold_double(1.e-10); diff --git a/tests/petsc/solver_03_precondition_ssor.cc b/tests/petsc/solver_03_precondition_ssor.cc index 5b67535996..70c88ab39b 100644 --- a/tests/petsc/solver_03_precondition_ssor.cc +++ b/tests/petsc/solver_03_precondition_ssor.cc @@ -61,8 +61,7 @@ check_solve(SolverType &solver, int main(int argc, char **argv) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog << std::setprecision(4); deallog.threshold_double(1.e-10); diff --git a/tests/petsc/solver_04.cc b/tests/petsc/solver_04.cc index 5e380e855a..c0e15d2c79 100644 --- a/tests/petsc/solver_04.cc +++ b/tests/petsc/solver_04.cc @@ -61,8 +61,7 @@ check_solve(SolverType &solver, int main(int argc, char **argv) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog << std::setprecision(4); deallog.threshold_double(1.e-10); diff --git a/tests/petsc/solver_05.cc b/tests/petsc/solver_05.cc index a643de0d31..329eb8bf76 100644 --- a/tests/petsc/solver_05.cc +++ b/tests/petsc/solver_05.cc @@ -61,8 +61,7 @@ check_solve(SolverType &solver, int main(int argc, char **argv) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog << std::setprecision(4); deallog.threshold_double(1.e-10); diff --git a/tests/petsc/solver_06.cc b/tests/petsc/solver_06.cc index f885cb6ae9..757c6f4cfa 100644 --- a/tests/petsc/solver_06.cc +++ b/tests/petsc/solver_06.cc @@ -64,8 +64,7 @@ check_solve(SolverType &solver, int main(int argc, char **argv) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog << std::setprecision(4); deallog.threshold_double(1.e-10); diff --git a/tests/petsc/solver_07.cc b/tests/petsc/solver_07.cc index ee69eaa066..d8ac25cf28 100644 --- a/tests/petsc/solver_07.cc +++ b/tests/petsc/solver_07.cc @@ -61,8 +61,7 @@ check_solve(SolverType &solver, int main(int argc, char **argv) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog << std::setprecision(4); deallog.threshold_double(1.e-10); diff --git a/tests/petsc/solver_08.cc b/tests/petsc/solver_08.cc index 2ccc0e3025..67fae993d5 100644 --- a/tests/petsc/solver_08.cc +++ b/tests/petsc/solver_08.cc @@ -61,8 +61,7 @@ check_solve(SolverType &solver, int main(int argc, char **argv) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog << std::setprecision(4); deallog.threshold_double(1.e-10); diff --git a/tests/petsc/solver_09.cc b/tests/petsc/solver_09.cc index ce88c68740..094a2256bd 100644 --- a/tests/petsc/solver_09.cc +++ b/tests/petsc/solver_09.cc @@ -65,8 +65,7 @@ check_solve(SolverType &solver, int main(int argc, char **argv) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog << std::setprecision(4); deallog.threshold_double(1.e-10); diff --git a/tests/petsc/solver_10.cc b/tests/petsc/solver_10.cc index 977c01375b..2e438591bd 100644 --- a/tests/petsc/solver_10.cc +++ b/tests/petsc/solver_10.cc @@ -61,8 +61,7 @@ check_solve(SolverType &solver, int main(int argc, char **argv) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog << std::setprecision(4); deallog.threshold_double(1.e-10); diff --git a/tests/petsc/solver_12.cc b/tests/petsc/solver_12.cc index a560ff74f7..99965ee9d6 100644 --- a/tests/petsc/solver_12.cc +++ b/tests/petsc/solver_12.cc @@ -54,8 +54,7 @@ check_solve(SolverType &solver, int main(int argc, char **argv) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog << std::setprecision(4); deallog.threshold_double(1.e-10); diff --git a/tests/petsc/solver_13.cc b/tests/petsc/solver_13.cc index 947417fab6..dd6e419ade 100644 --- a/tests/petsc/solver_13.cc +++ b/tests/petsc/solver_13.cc @@ -51,8 +51,7 @@ check_solve(SolverType &solver, int main(int argc, char **argv) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog << std::setprecision(4); deallog.threshold_double(1.e-10); diff --git a/tests/petsc/sparse_direct_mumps.cc b/tests/petsc/sparse_direct_mumps.cc index 1db9f23a55..e8c77e9ae6 100644 --- a/tests/petsc/sparse_direct_mumps.cc +++ b/tests/petsc/sparse_direct_mumps.cc @@ -35,8 +35,7 @@ int main(int argc, char **argv) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog << std::setprecision(4); deallog.threshold_double(1.e-10); diff --git a/tests/petsc/sparse_matrix_01.cc b/tests/petsc/sparse_matrix_01.cc index e291496a86..5d9d45b409 100644 --- a/tests/petsc/sparse_matrix_01.cc +++ b/tests/petsc/sparse_matrix_01.cc @@ -70,8 +70,7 @@ void test () int main (int argc, char **argv) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); Utilities::MPI::MPI_InitFinalize mpi_initialization (argc, argv, 1); diff --git a/tests/petsc/sparse_matrix_02.cc b/tests/petsc/sparse_matrix_02.cc index 4b36f9939e..04198d835c 100644 --- a/tests/petsc/sparse_matrix_02.cc +++ b/tests/petsc/sparse_matrix_02.cc @@ -62,8 +62,7 @@ void test () int main (int argc, char **argv) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/petsc/sparse_matrix_iterator_01.cc b/tests/petsc/sparse_matrix_iterator_01.cc index 4467c674b1..bf4c7567f4 100644 --- a/tests/petsc/sparse_matrix_iterator_01.cc +++ b/tests/petsc/sparse_matrix_iterator_01.cc @@ -44,8 +44,7 @@ void test () int main (int argc,char **argv) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/petsc/sparse_matrix_iterator_02.cc b/tests/petsc/sparse_matrix_iterator_02.cc index 307ac32b19..5d89d1dec0 100644 --- a/tests/petsc/sparse_matrix_iterator_02.cc +++ b/tests/petsc/sparse_matrix_iterator_02.cc @@ -53,8 +53,7 @@ void test () int main (int argc,char **argv) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/petsc/sparse_matrix_vector_01.cc b/tests/petsc/sparse_matrix_vector_01.cc index 64e4843099..366f2d9b90 100644 --- a/tests/petsc/sparse_matrix_vector_01.cc +++ b/tests/petsc/sparse_matrix_vector_01.cc @@ -60,8 +60,7 @@ void test (PETScWrappers::MPI::Vector &v, int main (int argc, char **argv) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/petsc/sparse_matrix_vector_02.cc b/tests/petsc/sparse_matrix_vector_02.cc index 85f15916ce..54f650ad92 100644 --- a/tests/petsc/sparse_matrix_vector_02.cc +++ b/tests/petsc/sparse_matrix_vector_02.cc @@ -60,8 +60,7 @@ void test (PETScWrappers::MPI::Vector &v, int main (int argc, char **argv) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/petsc/sparse_matrix_vector_03.cc b/tests/petsc/sparse_matrix_vector_03.cc index 5b1e8fbfee..121d05c5ee 100644 --- a/tests/petsc/sparse_matrix_vector_03.cc +++ b/tests/petsc/sparse_matrix_vector_03.cc @@ -64,8 +64,7 @@ void test (PETScWrappers::MPI::Vector &v, int main (int argc, char **argv) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/petsc/sparse_matrix_vector_04.cc b/tests/petsc/sparse_matrix_vector_04.cc index cb36393483..34ee9f19e2 100644 --- a/tests/petsc/sparse_matrix_vector_04.cc +++ b/tests/petsc/sparse_matrix_vector_04.cc @@ -64,8 +64,7 @@ void test (PETScWrappers::MPI::Vector &v, int main (int argc, char **argv) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/petsc/sparse_matrix_vector_05.cc b/tests/petsc/sparse_matrix_vector_05.cc index a3a283612d..8d3569b5ea 100644 --- a/tests/petsc/sparse_matrix_vector_05.cc +++ b/tests/petsc/sparse_matrix_vector_05.cc @@ -67,8 +67,7 @@ void test (PETScWrappers::MPI::Vector &v, int main (int argc, char **argv) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/petsc/sparse_matrix_vector_06.cc b/tests/petsc/sparse_matrix_vector_06.cc index d7816eb361..6c3de43f8e 100644 --- a/tests/petsc/sparse_matrix_vector_06.cc +++ b/tests/petsc/sparse_matrix_vector_06.cc @@ -59,8 +59,7 @@ void test (PETScWrappers::MPI::Vector &v) int main (int argc, char **argv) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/petsc/sparse_matrix_vector_07.cc b/tests/petsc/sparse_matrix_vector_07.cc index 1a9856ae47..02f9b3b7d2 100644 --- a/tests/petsc/sparse_matrix_vector_07.cc +++ b/tests/petsc/sparse_matrix_vector_07.cc @@ -69,8 +69,7 @@ void test (PETScWrappers::MPI::Vector &v, int main (int argc, char **argv) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/petsc/vector_assign_01.cc b/tests/petsc/vector_assign_01.cc index 7a085939fc..00eccbeaec 100644 --- a/tests/petsc/vector_assign_01.cc +++ b/tests/petsc/vector_assign_01.cc @@ -51,8 +51,7 @@ void test (PETScWrappers::MPI::Vector &v, int main (int argc, char **argv) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/petsc/vector_assign_02.cc b/tests/petsc/vector_assign_02.cc index dc5a9719ae..f5caace5fe 100644 --- a/tests/petsc/vector_assign_02.cc +++ b/tests/petsc/vector_assign_02.cc @@ -50,8 +50,7 @@ void test (PETScWrappers::MPI::Vector &v, int main (int argc, char **argv) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/petsc/vector_equality_1.cc b/tests/petsc/vector_equality_1.cc index 624e38cce7..9399dce47e 100644 --- a/tests/petsc/vector_equality_1.cc +++ b/tests/petsc/vector_equality_1.cc @@ -46,8 +46,7 @@ void test (PETScWrappers::MPI::Vector &v, int main (int argc, char **argv) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/petsc/vector_equality_2.cc b/tests/petsc/vector_equality_2.cc index ad10dfff9a..87ef84c130 100644 --- a/tests/petsc/vector_equality_2.cc +++ b/tests/petsc/vector_equality_2.cc @@ -50,8 +50,7 @@ void test (PETScWrappers::MPI::Vector &v, int main (int argc, char **argv) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/petsc/vector_equality_3.cc b/tests/petsc/vector_equality_3.cc index 86077fb962..ced2772848 100644 --- a/tests/petsc/vector_equality_3.cc +++ b/tests/petsc/vector_equality_3.cc @@ -46,8 +46,7 @@ void test (PETScWrappers::MPI::Vector &v, int main (int argc, char **argv) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/petsc/vector_equality_4.cc b/tests/petsc/vector_equality_4.cc index 492d4f83ff..4953c10bba 100644 --- a/tests/petsc/vector_equality_4.cc +++ b/tests/petsc/vector_equality_4.cc @@ -50,8 +50,7 @@ void test (PETScWrappers::MPI::Vector &v, int main (int argc, char **argv) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/petsc_complex/01.cc b/tests/petsc_complex/01.cc index 6a7bbf3443..61c6c1064c 100644 --- a/tests/petsc_complex/01.cc +++ b/tests/petsc_complex/01.cc @@ -53,8 +53,7 @@ void test (PETScWrappers::SparseMatrix &m) int main (int argc,char **argv) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.depth_console(0); deallog.threshold_double(1.e-10); diff --git a/tests/petsc_complex/02.cc b/tests/petsc_complex/02.cc index 255155da5e..c777177fd1 100644 --- a/tests/petsc_complex/02.cc +++ b/tests/petsc_complex/02.cc @@ -54,8 +54,7 @@ void test (PETScWrappers::SparseMatrix &m) int main (int argc,char **argv) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.depth_console(0); deallog.threshold_double(1.e-10); diff --git a/tests/petsc_complex/04.cc b/tests/petsc_complex/04.cc index b15489e5a5..653efe8a9c 100644 --- a/tests/petsc_complex/04.cc +++ b/tests/petsc_complex/04.cc @@ -33,8 +33,7 @@ void test (PETScWrappers::SparseMatrix &m) int main (int argc,char **argv) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.depth_console(0); deallog.threshold_double(1.e-10); diff --git a/tests/petsc_complex/05.cc b/tests/petsc_complex/05.cc index 83ab077738..c0cfd1cbc5 100644 --- a/tests/petsc_complex/05.cc +++ b/tests/petsc_complex/05.cc @@ -47,8 +47,7 @@ void test (PETScWrappers::SparseMatrix &m) int main (int argc,char **argv) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.depth_console(0); deallog.threshold_double(1.e-10); diff --git a/tests/petsc_complex/06.cc b/tests/petsc_complex/06.cc index 6a58a3227b..73825f4ce2 100644 --- a/tests/petsc_complex/06.cc +++ b/tests/petsc_complex/06.cc @@ -42,8 +42,7 @@ void test (PETScWrappers::SparseMatrix &m) int main (int argc,char **argv) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.depth_console(0); deallog.threshold_double(1.e-10); diff --git a/tests/petsc_complex/07.cc b/tests/petsc_complex/07.cc index cc2265bea5..304e8e36f5 100644 --- a/tests/petsc_complex/07.cc +++ b/tests/petsc_complex/07.cc @@ -43,8 +43,7 @@ void test (PETScWrappers::SparseMatrix &m) int main (int argc,char **argv) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.depth_console(0); deallog.threshold_double(1.e-10); diff --git a/tests/petsc_complex/08.cc b/tests/petsc_complex/08.cc index bcfdb4f884..968be664ad 100644 --- a/tests/petsc_complex/08.cc +++ b/tests/petsc_complex/08.cc @@ -49,8 +49,7 @@ void test (PETScWrappers::SparseMatrix &m) int main (int argc,char **argv) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.depth_console(0); deallog.threshold_double(1.e-10); diff --git a/tests/petsc_complex/09.cc b/tests/petsc_complex/09.cc index 6756f1d4ef..e44960f8b5 100644 --- a/tests/petsc_complex/09.cc +++ b/tests/petsc_complex/09.cc @@ -57,8 +57,7 @@ void test (PETScWrappers::SparseMatrix &m) int main (int argc,char **argv) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.depth_console(0); deallog.threshold_double(1.e-10); diff --git a/tests/petsc_complex/10.cc b/tests/petsc_complex/10.cc index 9ab7150cc2..9278a6eb54 100644 --- a/tests/petsc_complex/10.cc +++ b/tests/petsc_complex/10.cc @@ -56,8 +56,7 @@ void test (PETScWrappers::SparseMatrix &m) int main (int argc,char **argv) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.depth_console(0); deallog.threshold_double(1.e-10); diff --git a/tests/petsc_complex/11.cc b/tests/petsc_complex/11.cc index a34cb64170..4ea45858bc 100644 --- a/tests/petsc_complex/11.cc +++ b/tests/petsc_complex/11.cc @@ -39,8 +39,7 @@ void test (PETScWrappers::MPI::Vector &v) int main (int argc,char **argv) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.depth_console(0); deallog.threshold_double(1.e-10); diff --git a/tests/petsc_complex/12.cc b/tests/petsc_complex/12.cc index 4f660f5859..c3f57442b8 100644 --- a/tests/petsc_complex/12.cc +++ b/tests/petsc_complex/12.cc @@ -56,8 +56,7 @@ void test (PETScWrappers::MPI::Vector &v) int main (int argc,char **argv) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.depth_console(0); deallog.threshold_double(1.e-10); diff --git a/tests/petsc_complex/13.cc b/tests/petsc_complex/13.cc index 69fdc2fc09..6d593cea04 100644 --- a/tests/petsc_complex/13.cc +++ b/tests/petsc_complex/13.cc @@ -51,8 +51,7 @@ void test (PETScWrappers::MPI::Vector &v) int main (int argc,char **argv) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.depth_console(0); deallog.threshold_double(1.e-10); diff --git a/tests/petsc_complex/17.cc b/tests/petsc_complex/17.cc index dba4c2e523..a10e00701e 100644 --- a/tests/petsc_complex/17.cc +++ b/tests/petsc_complex/17.cc @@ -49,8 +49,7 @@ void test (PETScWrappers::MPI::Vector &v) int main (int argc,char **argv) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.depth_console(0); deallog.threshold_double(1.e-10); diff --git a/tests/petsc_complex/18.cc b/tests/petsc_complex/18.cc index 73931dc364..5ab1064c18 100644 --- a/tests/petsc_complex/18.cc +++ b/tests/petsc_complex/18.cc @@ -50,8 +50,7 @@ void test (PETScWrappers::MPI::Vector &v) int main (int argc,char **argv) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.depth_console(0); deallog.threshold_double(1.e-10); diff --git a/tests/petsc_complex/19.cc b/tests/petsc_complex/19.cc index 082d7fb567..6f23dc62e9 100644 --- a/tests/petsc_complex/19.cc +++ b/tests/petsc_complex/19.cc @@ -46,8 +46,7 @@ void test (PETScWrappers::MPI::Vector &v) int main (int argc,char **argv) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.depth_console(0); deallog.threshold_double(1.e-10); diff --git a/tests/petsc_complex/20.cc b/tests/petsc_complex/20.cc index 0082418787..23a9559f03 100644 --- a/tests/petsc_complex/20.cc +++ b/tests/petsc_complex/20.cc @@ -57,8 +57,7 @@ void test (PETScWrappers::MPI::Vector &v, int main (int argc,char **argv) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.depth_console(0); deallog.threshold_double(1.e-10); diff --git a/tests/petsc_complex/fe_get_function_values.cc b/tests/petsc_complex/fe_get_function_values.cc index b3081b998b..078193fbc3 100644 --- a/tests/petsc_complex/fe_get_function_values.cc +++ b/tests/petsc_complex/fe_get_function_values.cc @@ -164,8 +164,7 @@ void test () int main (int argc, char *argv[]) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.depth_console(0); deallog.threshold_double(1.e-10); diff --git a/tests/petsc_complex/parallel_sparse_matrix_01.cc b/tests/petsc_complex/parallel_sparse_matrix_01.cc index 52cca9918f..b58ed172d9 100644 --- a/tests/petsc_complex/parallel_sparse_matrix_01.cc +++ b/tests/petsc_complex/parallel_sparse_matrix_01.cc @@ -191,8 +191,7 @@ void test (const unsigned int poly_degree = 1) int main (int argc, char *argv[]) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/petsc_complex/solver_real_03.cc b/tests/petsc_complex/solver_real_03.cc index ba5fac2e85..fcf16fd39b 100644 --- a/tests/petsc_complex/solver_real_03.cc +++ b/tests/petsc_complex/solver_real_03.cc @@ -58,8 +58,7 @@ check_solve( SOLVER &solver, const MATRIX &A, int main(int argc, char **argv) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog << std::setprecision(4); deallog.depth_console(0); deallog.threshold_double(1.e-10); diff --git a/tests/petsc_complex/solver_real_03_mf.cc b/tests/petsc_complex/solver_real_03_mf.cc index 72ae42e3f4..c6d50c0e65 100644 --- a/tests/petsc_complex/solver_real_03_mf.cc +++ b/tests/petsc_complex/solver_real_03_mf.cc @@ -71,8 +71,7 @@ check_solve( SOLVER &solver, const MATRIX &A, int main(int argc, char **argv) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog << std::setprecision(4); deallog.depth_console(0); deallog.threshold_double(1.e-10); diff --git a/tests/petsc_complex/solver_real_04.cc b/tests/petsc_complex/solver_real_04.cc index 4040f017e5..9eaeb36744 100644 --- a/tests/petsc_complex/solver_real_04.cc +++ b/tests/petsc_complex/solver_real_04.cc @@ -58,8 +58,7 @@ check_solve( SOLVER &solver, const MATRIX &A, int main(int argc, char **argv) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog << std::setprecision(4); deallog.depth_console(0); deallog.threshold_double(1.e-10); diff --git a/tests/petsc_complex/sparse_matrix_01.cc b/tests/petsc_complex/sparse_matrix_01.cc index e88671259a..97fc9274f7 100644 --- a/tests/petsc_complex/sparse_matrix_01.cc +++ b/tests/petsc_complex/sparse_matrix_01.cc @@ -69,8 +69,7 @@ void test () int main (int argc, char **argv) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.depth_console(0); deallog.threshold_double(1.e-10); diff --git a/tests/petsc_complex/vector_02.cc b/tests/petsc_complex/vector_02.cc index 91327212a3..048cc2e83a 100644 --- a/tests/petsc_complex/vector_02.cc +++ b/tests/petsc_complex/vector_02.cc @@ -68,8 +68,7 @@ void test () int main (int argc, char **argv) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.depth_console(0); deallog.threshold_double(1.e-10); diff --git a/tests/petsc_complex/vector_assign_01.cc b/tests/petsc_complex/vector_assign_01.cc index 2df049d4b5..09c16445e6 100644 --- a/tests/petsc_complex/vector_assign_01.cc +++ b/tests/petsc_complex/vector_assign_01.cc @@ -43,8 +43,7 @@ void test (PETScWrappers::MPI::Vector &v, int main (int argc, char **argv) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.depth_console(0); deallog.threshold_double(1.e-10); diff --git a/tests/quick_tests/arpack.cc b/tests/quick_tests/arpack.cc index 4232cb363b..6a4f061cc1 100644 --- a/tests/quick_tests/arpack.cc +++ b/tests/quick_tests/arpack.cc @@ -16,6 +16,7 @@ // test Arpack by calculating eigenvalues of Laplace matrix. +#include "../tests.h" #include #include #include @@ -123,8 +124,7 @@ void test () int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-9); test<2> (); diff --git a/tests/quick_tests/umfpack.cc b/tests/quick_tests/umfpack.cc index 5ff2df38a6..b9c3b6632a 100644 --- a/tests/quick_tests/umfpack.cc +++ b/tests/quick_tests/umfpack.cc @@ -18,6 +18,7 @@ // test the umfpack sparse direct solver on a mass matrix. // test of the transpose as well +#include "../tests.h" #include #include #include @@ -113,8 +114,7 @@ void test (bool transpose = false) int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-9); test<2> (); diff --git a/tests/slepc/solve_01.cc b/tests/slepc/solve_01.cc index 75d5fcc589..4168712627 100644 --- a/tests/slepc/solve_01.cc +++ b/tests/slepc/solve_01.cc @@ -84,8 +84,7 @@ check_solve( SolverType &solver, int main(int argc, char **argv) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog << std::setprecision(7); deallog.threshold_double(1.e-10); diff --git a/tests/slepc/solve_04.cc b/tests/slepc/solve_04.cc index 03c27a416a..5d2964b1f5 100644 --- a/tests/slepc/solve_04.cc +++ b/tests/slepc/solve_04.cc @@ -116,8 +116,7 @@ check_solve( SolverType &solver, int main(int argc, char **argv) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog << std::setprecision(6); deallog.threshold_double(1.e-10); diff --git a/tests/sparsity/dynamic_sparsity_pattern_01.cc b/tests/sparsity/dynamic_sparsity_pattern_01.cc index 5ade2c7829..b9167db6f7 100644 --- a/tests/sparsity/dynamic_sparsity_pattern_01.cc +++ b/tests/sparsity/dynamic_sparsity_pattern_01.cc @@ -46,8 +46,7 @@ void test () int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); test (); diff --git a/tests/sparsity/dynamic_sparsity_pattern_02.cc b/tests/sparsity/dynamic_sparsity_pattern_02.cc index 69bc23215d..68591e2613 100644 --- a/tests/sparsity/dynamic_sparsity_pattern_02.cc +++ b/tests/sparsity/dynamic_sparsity_pattern_02.cc @@ -43,8 +43,7 @@ void test () int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); test (); diff --git a/tests/sparsity/dynamic_sparsity_pattern_03.cc b/tests/sparsity/dynamic_sparsity_pattern_03.cc index 28aaf3009b..30592ebeaf 100644 --- a/tests/sparsity/dynamic_sparsity_pattern_03.cc +++ b/tests/sparsity/dynamic_sparsity_pattern_03.cc @@ -55,8 +55,7 @@ void test () int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); test (); diff --git a/tests/sparsity/dynamic_sparsity_pattern_04.cc b/tests/sparsity/dynamic_sparsity_pattern_04.cc index 9d904d49ff..6e2a550fcb 100644 --- a/tests/sparsity/dynamic_sparsity_pattern_04.cc +++ b/tests/sparsity/dynamic_sparsity_pattern_04.cc @@ -44,8 +44,7 @@ void test () int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); test (); diff --git a/tests/sparsity/dynamic_sparsity_pattern_05.cc b/tests/sparsity/dynamic_sparsity_pattern_05.cc index c08d1684f5..61711ab49b 100644 --- a/tests/sparsity/dynamic_sparsity_pattern_05.cc +++ b/tests/sparsity/dynamic_sparsity_pattern_05.cc @@ -45,8 +45,7 @@ void test () int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); test (); diff --git a/tests/sparsity/dynamic_sparsity_pattern_07.cc b/tests/sparsity/dynamic_sparsity_pattern_07.cc index d5aa6af5f7..8df75ae80f 100644 --- a/tests/sparsity/dynamic_sparsity_pattern_07.cc +++ b/tests/sparsity/dynamic_sparsity_pattern_07.cc @@ -48,8 +48,7 @@ void test () int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); test (); diff --git a/tests/sparsity/dynamic_sparsity_pattern_08.cc b/tests/sparsity/dynamic_sparsity_pattern_08.cc index 06b04c786a..c74d3298e7 100644 --- a/tests/sparsity/dynamic_sparsity_pattern_08.cc +++ b/tests/sparsity/dynamic_sparsity_pattern_08.cc @@ -43,8 +43,7 @@ void test () int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); test (); diff --git a/tests/sparsity/dynamic_sparsity_pattern_09.cc b/tests/sparsity/dynamic_sparsity_pattern_09.cc index e80e6e903f..36a5c566bf 100644 --- a/tests/sparsity/dynamic_sparsity_pattern_09.cc +++ b/tests/sparsity/dynamic_sparsity_pattern_09.cc @@ -40,8 +40,7 @@ void test () int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); test (); diff --git a/tests/sparsity/dynamic_sparsity_pattern_iterator_01.cc b/tests/sparsity/dynamic_sparsity_pattern_iterator_01.cc index f839df7aec..4a50599d92 100644 --- a/tests/sparsity/dynamic_sparsity_pattern_iterator_01.cc +++ b/tests/sparsity/dynamic_sparsity_pattern_iterator_01.cc @@ -43,8 +43,7 @@ void test () int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/sparsity/dynamic_sparsity_pattern_iterator_02.cc b/tests/sparsity/dynamic_sparsity_pattern_iterator_02.cc index 65ef854941..904a41ddbb 100644 --- a/tests/sparsity/dynamic_sparsity_pattern_iterator_02.cc +++ b/tests/sparsity/dynamic_sparsity_pattern_iterator_02.cc @@ -46,8 +46,7 @@ void test () int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/sparsity/dynamic_sparsity_pattern_iterator_03.cc b/tests/sparsity/dynamic_sparsity_pattern_iterator_03.cc index 9bcc66886b..6ff34d5d7d 100644 --- a/tests/sparsity/dynamic_sparsity_pattern_iterator_03.cc +++ b/tests/sparsity/dynamic_sparsity_pattern_iterator_03.cc @@ -51,8 +51,7 @@ void test () int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/sparsity/dynamic_sparsity_pattern_iterator_04.cc b/tests/sparsity/dynamic_sparsity_pattern_iterator_04.cc index ede49c517c..5b0f85ac59 100644 --- a/tests/sparsity/dynamic_sparsity_pattern_iterator_04.cc +++ b/tests/sparsity/dynamic_sparsity_pattern_iterator_04.cc @@ -101,8 +101,7 @@ void test () int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/sparsity/dynamic_sparsity_pattern_iterator_05.cc b/tests/sparsity/dynamic_sparsity_pattern_iterator_05.cc index be0d566da5..37d161f934 100644 --- a/tests/sparsity/dynamic_sparsity_pattern_iterator_05.cc +++ b/tests/sparsity/dynamic_sparsity_pattern_iterator_05.cc @@ -48,8 +48,7 @@ void test (bool empty, bool large_gap) int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/sparsity/dynamic_sparsity_pattern_iterator_06.cc b/tests/sparsity/dynamic_sparsity_pattern_iterator_06.cc index e4e5b288eb..4a0020f789 100644 --- a/tests/sparsity/dynamic_sparsity_pattern_iterator_06.cc +++ b/tests/sparsity/dynamic_sparsity_pattern_iterator_06.cc @@ -47,8 +47,7 @@ void test (bool have_set) int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/sparsity/sparsity_pattern_08.cc b/tests/sparsity/sparsity_pattern_08.cc index a6380ec0f8..2b267def51 100644 --- a/tests/sparsity/sparsity_pattern_08.cc +++ b/tests/sparsity/sparsity_pattern_08.cc @@ -45,8 +45,7 @@ void test () int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); test (); diff --git a/tests/sparsity/sparsity_pattern_iterator_01.cc b/tests/sparsity/sparsity_pattern_iterator_01.cc index 577b0b97ce..34157237b6 100644 --- a/tests/sparsity/sparsity_pattern_iterator_01.cc +++ b/tests/sparsity/sparsity_pattern_iterator_01.cc @@ -43,8 +43,7 @@ void test () int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/trilinos/01.cc b/tests/trilinos/01.cc index 8893ef9bc5..4997fda0f5 100644 --- a/tests/trilinos/01.cc +++ b/tests/trilinos/01.cc @@ -55,8 +55,7 @@ void test (TrilinosWrappers::SparseMatrix &m) int main (int argc,char **argv) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); Utilities::MPI::MPI_InitFinalize mpi_initialization (argc, argv, testing_max_num_threads()); diff --git a/tests/trilinos/02.cc b/tests/trilinos/02.cc index 18c756dbb7..6afb45be47 100644 --- a/tests/trilinos/02.cc +++ b/tests/trilinos/02.cc @@ -61,8 +61,7 @@ void test (TrilinosWrappers::SparseMatrix &m) int main (int argc,char **argv) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); Utilities::MPI::MPI_InitFinalize mpi_initialization (argc, argv, testing_max_num_threads()); diff --git a/tests/trilinos/03a.cc b/tests/trilinos/03a.cc index b32bcff3a8..e7101ef792 100644 --- a/tests/trilinos/03a.cc +++ b/tests/trilinos/03a.cc @@ -65,8 +65,7 @@ void test (TrilinosWrappers::SparseMatrix &m) int main (int argc,char **argv) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); Utilities::MPI::MPI_InitFinalize mpi_initialization (argc, argv, testing_max_num_threads()); diff --git a/tests/trilinos/03b.cc b/tests/trilinos/03b.cc index e61686ef3a..2bc548d58f 100644 --- a/tests/trilinos/03b.cc +++ b/tests/trilinos/03b.cc @@ -72,8 +72,7 @@ void test (TrilinosWrappers::SparseMatrix &m) int main (int argc,char **argv) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); Utilities::MPI::MPI_InitFinalize mpi_initialization (argc, argv, testing_max_num_threads()); diff --git a/tests/trilinos/04.cc b/tests/trilinos/04.cc index d38fbb38ac..7c2da52b59 100644 --- a/tests/trilinos/04.cc +++ b/tests/trilinos/04.cc @@ -36,8 +36,7 @@ void test (TrilinosWrappers::SparseMatrix &m) int main (int argc,char **argv) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); Utilities::MPI::MPI_InitFinalize mpi_initialization (argc, argv, testing_max_num_threads()); diff --git a/tests/trilinos/05.cc b/tests/trilinos/05.cc index 8036744a38..08069806eb 100644 --- a/tests/trilinos/05.cc +++ b/tests/trilinos/05.cc @@ -51,8 +51,7 @@ void test (TrilinosWrappers::SparseMatrix &m) int main (int argc,char **argv) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); Utilities::MPI::MPI_InitFinalize mpi_initialization (argc, argv, testing_max_num_threads()); diff --git a/tests/trilinos/06.cc b/tests/trilinos/06.cc index 10afc497c6..035a8feafe 100644 --- a/tests/trilinos/06.cc +++ b/tests/trilinos/06.cc @@ -47,8 +47,7 @@ void test (TrilinosWrappers::SparseMatrix &m) int main (int argc,char **argv) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); Utilities::MPI::MPI_InitFinalize mpi_initialization (argc, argv, testing_max_num_threads()); diff --git a/tests/trilinos/07.cc b/tests/trilinos/07.cc index 8747290b89..29ec72f199 100644 --- a/tests/trilinos/07.cc +++ b/tests/trilinos/07.cc @@ -47,8 +47,7 @@ void test (TrilinosWrappers::SparseMatrix &m) int main (int argc,char **argv) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); Utilities::MPI::MPI_InitFinalize mpi_initialization (argc, argv, testing_max_num_threads()); diff --git a/tests/trilinos/08.cc b/tests/trilinos/08.cc index 8970109ff6..a3800dee10 100644 --- a/tests/trilinos/08.cc +++ b/tests/trilinos/08.cc @@ -52,8 +52,7 @@ void test (TrilinosWrappers::SparseMatrix &m) int main (int argc,char **argv) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); Utilities::MPI::MPI_InitFinalize mpi_initialization (argc, argv, testing_max_num_threads()); diff --git a/tests/trilinos/09.cc b/tests/trilinos/09.cc index d0d27f762d..bb44645732 100644 --- a/tests/trilinos/09.cc +++ b/tests/trilinos/09.cc @@ -58,8 +58,7 @@ void test (TrilinosWrappers::SparseMatrix &m) int main (int argc,char **argv) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); Utilities::MPI::MPI_InitFinalize mpi_initialization (argc, argv, testing_max_num_threads()); diff --git a/tests/trilinos/10.cc b/tests/trilinos/10.cc index 0a980e8810..3d1aba0c58 100644 --- a/tests/trilinos/10.cc +++ b/tests/trilinos/10.cc @@ -58,8 +58,7 @@ void test (TrilinosWrappers::SparseMatrix &m) int main (int argc,char **argv) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); Utilities::MPI::MPI_InitFinalize mpi_initialization (argc, argv, testing_max_num_threads()); diff --git a/tests/trilinos/11.cc b/tests/trilinos/11.cc index 2b6fc244a4..a8bf37b9c1 100644 --- a/tests/trilinos/11.cc +++ b/tests/trilinos/11.cc @@ -41,8 +41,7 @@ void test (TrilinosWrappers::Vector &v) int main (int argc,char **argv) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); Utilities::MPI::MPI_InitFinalize mpi_initialization (argc, argv, testing_max_num_threads()); diff --git a/tests/trilinos/12.cc b/tests/trilinos/12.cc index bdc829011e..f4f56424a9 100644 --- a/tests/trilinos/12.cc +++ b/tests/trilinos/12.cc @@ -54,8 +54,7 @@ void test (TrilinosWrappers::Vector &v) int main (int argc,char **argv) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); Utilities::MPI::MPI_InitFinalize mpi_initialization (argc, argv, testing_max_num_threads()); diff --git a/tests/trilinos/13.cc b/tests/trilinos/13.cc index 6bf65b5ee6..c67271f1f0 100644 --- a/tests/trilinos/13.cc +++ b/tests/trilinos/13.cc @@ -54,8 +54,7 @@ void test (TrilinosWrappers::Vector &v) int main (int argc,char **argv) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); Utilities::MPI::MPI_InitFinalize mpi_initialization (argc, argv, testing_max_num_threads()); diff --git a/tests/trilinos/14.cc b/tests/trilinos/14.cc index a29e3e93be..ed55416c16 100644 --- a/tests/trilinos/14.cc +++ b/tests/trilinos/14.cc @@ -73,8 +73,7 @@ void test (TrilinosWrappers::Vector &v) int main (int argc,char **argv) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); Utilities::MPI::MPI_InitFinalize mpi_initialization (argc, argv, testing_max_num_threads()); diff --git a/tests/trilinos/15.cc b/tests/trilinos/15.cc index 940f492eca..4a4af660c3 100644 --- a/tests/trilinos/15.cc +++ b/tests/trilinos/15.cc @@ -72,8 +72,7 @@ void test (TrilinosWrappers::Vector &v) int main (int argc,char **argv) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); Utilities::MPI::MPI_InitFinalize mpi_initialization (argc, argv, testing_max_num_threads()); diff --git a/tests/trilinos/16.cc b/tests/trilinos/16.cc index 238aa92e9e..ce9e8d8b02 100644 --- a/tests/trilinos/16.cc +++ b/tests/trilinos/16.cc @@ -73,8 +73,7 @@ void test (TrilinosWrappers::Vector &v) int main (int argc,char **argv) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); Utilities::MPI::MPI_InitFinalize mpi_initialization (argc, argv, testing_max_num_threads()); diff --git a/tests/trilinos/17.cc b/tests/trilinos/17.cc index 03007ee4c4..96840665b1 100644 --- a/tests/trilinos/17.cc +++ b/tests/trilinos/17.cc @@ -46,8 +46,7 @@ void test (TrilinosWrappers::Vector &v) int main (int argc,char **argv) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); Utilities::MPI::MPI_InitFinalize mpi_initialization (argc, argv, testing_max_num_threads()); diff --git a/tests/trilinos/18.cc b/tests/trilinos/18.cc index eddf0c3229..f0d607827b 100644 --- a/tests/trilinos/18.cc +++ b/tests/trilinos/18.cc @@ -47,8 +47,7 @@ void test (TrilinosWrappers::Vector &v) int main (int argc,char **argv) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); Utilities::MPI::MPI_InitFinalize mpi_initialization (argc, argv, testing_max_num_threads()); diff --git a/tests/trilinos/19.cc b/tests/trilinos/19.cc index 620adf865d..62d9ff5a6d 100644 --- a/tests/trilinos/19.cc +++ b/tests/trilinos/19.cc @@ -46,8 +46,7 @@ void test (TrilinosWrappers::Vector &v) int main (int argc,char **argv) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); Utilities::MPI::MPI_InitFinalize mpi_initialization (argc, argv, testing_max_num_threads()); diff --git a/tests/trilinos/20.cc b/tests/trilinos/20.cc index 70dd6c6456..f15a95b959 100644 --- a/tests/trilinos/20.cc +++ b/tests/trilinos/20.cc @@ -55,8 +55,7 @@ void test (TrilinosWrappers::Vector &v) int main (int argc,char **argv) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); Utilities::MPI::MPI_InitFinalize mpi_initialization (argc, argv, testing_max_num_threads()); diff --git a/tests/trilinos/21.cc b/tests/trilinos/21.cc index e3e1d69250..7e8be18411 100644 --- a/tests/trilinos/21.cc +++ b/tests/trilinos/21.cc @@ -55,8 +55,7 @@ void test (TrilinosWrappers::Vector &v) int main (int argc,char **argv) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); Utilities::MPI::MPI_InitFinalize mpi_initialization (argc, argv, testing_max_num_threads()); diff --git a/tests/trilinos/22.cc b/tests/trilinos/22.cc index c2602f4111..24da75142d 100644 --- a/tests/trilinos/22.cc +++ b/tests/trilinos/22.cc @@ -49,8 +49,7 @@ void test (TrilinosWrappers::Vector &v, int main (int argc,char **argv) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); Utilities::MPI::MPI_InitFinalize mpi_initialization (argc, argv, testing_max_num_threads()); diff --git a/tests/trilinos/23.cc b/tests/trilinos/23.cc index 8bbfcaf943..9487dce78c 100644 --- a/tests/trilinos/23.cc +++ b/tests/trilinos/23.cc @@ -56,8 +56,7 @@ void test (TrilinosWrappers::Vector &v, int main (int argc,char **argv) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); Utilities::MPI::MPI_InitFinalize mpi_initialization (argc, argv, testing_max_num_threads()); diff --git a/tests/trilinos/24.cc b/tests/trilinos/24.cc index 4a1fc3659b..d5f14221d6 100644 --- a/tests/trilinos/24.cc +++ b/tests/trilinos/24.cc @@ -49,8 +49,7 @@ void test (TrilinosWrappers::Vector &v) int main (int argc,char **argv) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); Utilities::MPI::MPI_InitFinalize mpi_initialization (argc, argv, testing_max_num_threads()); diff --git a/tests/trilinos/26.cc b/tests/trilinos/26.cc index 9cf9acb560..d3c4bbc5c1 100644 --- a/tests/trilinos/26.cc +++ b/tests/trilinos/26.cc @@ -46,8 +46,7 @@ void test (TrilinosWrappers::Vector &v) int main (int argc,char **argv) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); Utilities::MPI::MPI_InitFinalize mpi_initialization (argc, argv, testing_max_num_threads()); diff --git a/tests/trilinos/27.cc b/tests/trilinos/27.cc index 414197fe55..254027f346 100644 --- a/tests/trilinos/27.cc +++ b/tests/trilinos/27.cc @@ -52,8 +52,7 @@ void test (TrilinosWrappers::Vector &v) int main (int argc,char **argv) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); Utilities::MPI::MPI_InitFinalize mpi_initialization (argc, argv, testing_max_num_threads()); diff --git a/tests/trilinos/28.cc b/tests/trilinos/28.cc index 2fcf5feac4..4d10d3bba8 100644 --- a/tests/trilinos/28.cc +++ b/tests/trilinos/28.cc @@ -54,8 +54,7 @@ void test (TrilinosWrappers::Vector &v) int main (int argc,char **argv) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); Utilities::MPI::MPI_InitFinalize mpi_initialization (argc, argv, testing_max_num_threads()); diff --git a/tests/trilinos/29.cc b/tests/trilinos/29.cc index 31a9a7b281..31429f3fde 100644 --- a/tests/trilinos/29.cc +++ b/tests/trilinos/29.cc @@ -38,8 +38,7 @@ void test (TrilinosWrappers::Vector &v) int main (int argc,char **argv) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); Utilities::MPI::MPI_InitFinalize mpi_initialization (argc, argv, testing_max_num_threads()); diff --git a/tests/trilinos/30.cc b/tests/trilinos/30.cc index bc11b46186..3ae217e9b4 100644 --- a/tests/trilinos/30.cc +++ b/tests/trilinos/30.cc @@ -46,8 +46,7 @@ void test (TrilinosWrappers::Vector &v) int main (int argc,char **argv) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); Utilities::MPI::MPI_InitFinalize mpi_initialization (argc, argv, testing_max_num_threads()); diff --git a/tests/trilinos/31.cc b/tests/trilinos/31.cc index 35e767abbe..e383de79ec 100644 --- a/tests/trilinos/31.cc +++ b/tests/trilinos/31.cc @@ -48,8 +48,7 @@ void test (TrilinosWrappers::Vector &v) int main (int argc,char **argv) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); Utilities::MPI::MPI_InitFinalize mpi_initialization (argc, argv, testing_max_num_threads()); diff --git a/tests/trilinos/32.cc b/tests/trilinos/32.cc index dd720c444b..5aeb53f405 100644 --- a/tests/trilinos/32.cc +++ b/tests/trilinos/32.cc @@ -48,8 +48,7 @@ void test (TrilinosWrappers::Vector &v) int main (int argc,char **argv) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); Utilities::MPI::MPI_InitFinalize mpi_initialization (argc, argv, testing_max_num_threads()); diff --git a/tests/trilinos/33.cc b/tests/trilinos/33.cc index 971b32a9be..6a169ce6d2 100644 --- a/tests/trilinos/33.cc +++ b/tests/trilinos/33.cc @@ -49,8 +49,7 @@ void test (TrilinosWrappers::Vector &v) int main (int argc,char **argv) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); Utilities::MPI::MPI_InitFinalize mpi_initialization (argc, argv, testing_max_num_threads()); diff --git a/tests/trilinos/34.cc b/tests/trilinos/34.cc index 46e0e1f152..3f433ed4fe 100644 --- a/tests/trilinos/34.cc +++ b/tests/trilinos/34.cc @@ -49,8 +49,7 @@ void test (TrilinosWrappers::Vector &v) int main (int argc,char **argv) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); Utilities::MPI::MPI_InitFinalize mpi_initialization (argc, argv, testing_max_num_threads()); diff --git a/tests/trilinos/35.cc b/tests/trilinos/35.cc index ebfa518a15..6e4cc255cb 100644 --- a/tests/trilinos/35.cc +++ b/tests/trilinos/35.cc @@ -65,8 +65,7 @@ void test (TrilinosWrappers::Vector &v, int main (int argc,char **argv) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); Utilities::MPI::MPI_InitFinalize mpi_initialization (argc, argv, testing_max_num_threads()); diff --git a/tests/trilinos/36.cc b/tests/trilinos/36.cc index 3ca2e2f634..db82fc84cc 100644 --- a/tests/trilinos/36.cc +++ b/tests/trilinos/36.cc @@ -65,8 +65,7 @@ void test (TrilinosWrappers::Vector &v, int main (int argc,char **argv) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); Utilities::MPI::MPI_InitFinalize mpi_initialization (argc, argv, testing_max_num_threads()); diff --git a/tests/trilinos/37.cc b/tests/trilinos/37.cc index 1e0d1ed9e1..ae9d42f267 100644 --- a/tests/trilinos/37.cc +++ b/tests/trilinos/37.cc @@ -45,8 +45,7 @@ void test (TrilinosWrappers::Vector &v) int main (int argc,char **argv) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); Utilities::MPI::MPI_InitFinalize mpi_initialization (argc, argv, testing_max_num_threads()); diff --git a/tests/trilinos/38.cc b/tests/trilinos/38.cc index 777cd31071..af2e2c8f88 100644 --- a/tests/trilinos/38.cc +++ b/tests/trilinos/38.cc @@ -53,8 +53,7 @@ void test (TrilinosWrappers::Vector &v, int main (int argc,char **argv) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); Utilities::MPI::MPI_InitFinalize mpi_initialization (argc, argv, testing_max_num_threads()); diff --git a/tests/trilinos/39.cc b/tests/trilinos/39.cc index cae40a51eb..6ddfa5fba0 100644 --- a/tests/trilinos/39.cc +++ b/tests/trilinos/39.cc @@ -53,8 +53,7 @@ void test (TrilinosWrappers::Vector &v, int main (int argc,char **argv) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); Utilities::MPI::MPI_InitFinalize mpi_initialization (argc, argv, testing_max_num_threads()); diff --git a/tests/trilinos/40.cc b/tests/trilinos/40.cc index 4f37f92591..2411e7123c 100644 --- a/tests/trilinos/40.cc +++ b/tests/trilinos/40.cc @@ -57,8 +57,7 @@ void test (TrilinosWrappers::Vector &v, int main (int argc,char **argv) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); Utilities::MPI::MPI_InitFinalize mpi_initialization (argc, argv, testing_max_num_threads()); diff --git a/tests/trilinos/41.cc b/tests/trilinos/41.cc index 435dd7cdb1..61fe0bf0c9 100644 --- a/tests/trilinos/41.cc +++ b/tests/trilinos/41.cc @@ -53,8 +53,7 @@ void test (TrilinosWrappers::Vector &v, int main (int argc,char **argv) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); Utilities::MPI::MPI_InitFinalize mpi_initialization (argc, argv, testing_max_num_threads()); diff --git a/tests/trilinos/42.cc b/tests/trilinos/42.cc index bfc50975da..f5563da025 100644 --- a/tests/trilinos/42.cc +++ b/tests/trilinos/42.cc @@ -53,8 +53,7 @@ void test (TrilinosWrappers::Vector &v, int main (int argc,char **argv) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); Utilities::MPI::MPI_InitFinalize mpi_initialization (argc, argv, testing_max_num_threads()); diff --git a/tests/trilinos/45.cc b/tests/trilinos/45.cc index b78fcdd00e..bcef70fdbb 100644 --- a/tests/trilinos/45.cc +++ b/tests/trilinos/45.cc @@ -53,8 +53,7 @@ void test (TrilinosWrappers::Vector &v, int main (int argc,char **argv) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); Utilities::MPI::MPI_InitFinalize mpi_initialization (argc, argv, testing_max_num_threads()); diff --git a/tests/trilinos/46.cc b/tests/trilinos/46.cc index 85cff86f09..9ab6aa8c43 100644 --- a/tests/trilinos/46.cc +++ b/tests/trilinos/46.cc @@ -53,8 +53,7 @@ void test (TrilinosWrappers::Vector &v, int main (int argc,char **argv) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); Utilities::MPI::MPI_InitFinalize mpi_initialization (argc, argv, testing_max_num_threads()); diff --git a/tests/trilinos/49.cc b/tests/trilinos/49.cc index b4a0e2ca32..c69d98baba 100644 --- a/tests/trilinos/49.cc +++ b/tests/trilinos/49.cc @@ -50,8 +50,7 @@ void test (TrilinosWrappers::Vector &v) int main (int argc,char **argv) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); Utilities::MPI::MPI_InitFinalize mpi_initialization (argc, argv, testing_max_num_threads()); diff --git a/tests/trilinos/49a.cc b/tests/trilinos/49a.cc index 433417dfe9..ce900b2548 100644 --- a/tests/trilinos/49a.cc +++ b/tests/trilinos/49a.cc @@ -65,8 +65,7 @@ void test (TrilinosWrappers::BlockVector &v) int main (int argc,char **argv) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); Utilities::MPI::MPI_InitFinalize mpi_initialization (argc, argv, testing_max_num_threads()); diff --git a/tests/trilinos/49b.cc b/tests/trilinos/49b.cc index a88abebc33..46ffb64944 100644 --- a/tests/trilinos/49b.cc +++ b/tests/trilinos/49b.cc @@ -66,8 +66,7 @@ void test (TrilinosWrappers::MPI::BlockVector &v) int main (int argc,char **argv) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); Utilities::MPI::MPI_InitFinalize mpi_initialization (argc, argv, testing_max_num_threads()); diff --git a/tests/trilinos/50.cc b/tests/trilinos/50.cc index 9dfbb7094e..c17868d7b9 100644 --- a/tests/trilinos/50.cc +++ b/tests/trilinos/50.cc @@ -66,8 +66,7 @@ void test (TrilinosWrappers::Vector &v) int main (int argc,char **argv) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); Utilities::MPI::MPI_InitFinalize mpi_initialization (argc, argv, testing_max_num_threads()); diff --git a/tests/trilinos/51.cc b/tests/trilinos/51.cc index e2f8fcfc61..ae458a1245 100644 --- a/tests/trilinos/51.cc +++ b/tests/trilinos/51.cc @@ -51,8 +51,7 @@ void test (TrilinosWrappers::Vector &v) int main (int argc,char **argv) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); Utilities::MPI::MPI_InitFinalize mpi_initialization (argc, argv, testing_max_num_threads()); diff --git a/tests/trilinos/52.cc b/tests/trilinos/52.cc index 64c3d58e5b..6b305b17c3 100644 --- a/tests/trilinos/52.cc +++ b/tests/trilinos/52.cc @@ -56,8 +56,7 @@ void test (TrilinosWrappers::SparseMatrix &m) int main (int argc,char **argv) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); Utilities::MPI::MPI_InitFinalize mpi_initialization (argc, argv, testing_max_num_threads()); diff --git a/tests/trilinos/53.cc b/tests/trilinos/53.cc index 184fd1f362..a8968e2c6f 100644 --- a/tests/trilinos/53.cc +++ b/tests/trilinos/53.cc @@ -57,8 +57,7 @@ void test (TrilinosWrappers::Vector &v) int main (int argc,char **argv) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); Utilities::MPI::MPI_InitFinalize mpi_initialization (argc, argv, testing_max_num_threads()); diff --git a/tests/trilinos/54.cc b/tests/trilinos/54.cc index 47d01b3d62..e446f4765e 100644 --- a/tests/trilinos/54.cc +++ b/tests/trilinos/54.cc @@ -57,8 +57,7 @@ void test (TrilinosWrappers::Vector &v) int main (int argc,char **argv) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); Utilities::MPI::MPI_InitFinalize mpi_initialization (argc, argv, testing_max_num_threads()); diff --git a/tests/trilinos/55.cc b/tests/trilinos/55.cc index 2f4ce06a7c..23e2e29db4 100644 --- a/tests/trilinos/55.cc +++ b/tests/trilinos/55.cc @@ -56,8 +56,7 @@ void test (TrilinosWrappers::Vector &v) int main (int argc,char **argv) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); Utilities::MPI::MPI_InitFinalize mpi_initialization (argc, argv, testing_max_num_threads()); diff --git a/tests/trilinos/56.cc b/tests/trilinos/56.cc index da2adbcdb3..39b6804625 100644 --- a/tests/trilinos/56.cc +++ b/tests/trilinos/56.cc @@ -56,8 +56,7 @@ void test (TrilinosWrappers::Vector &v) int main (int argc,char **argv) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); Utilities::MPI::MPI_InitFinalize mpi_initialization (argc, argv, testing_max_num_threads()); diff --git a/tests/trilinos/57.cc b/tests/trilinos/57.cc index bbcc85f01c..ca5d484581 100644 --- a/tests/trilinos/57.cc +++ b/tests/trilinos/57.cc @@ -54,8 +54,7 @@ void test (TrilinosWrappers::Vector &v) int main (int argc,char **argv) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); Utilities::MPI::MPI_InitFinalize mpi_initialization (argc, argv, testing_max_num_threads()); diff --git a/tests/trilinos/58.cc b/tests/trilinos/58.cc index cd1f84c369..0c88b1df2f 100644 --- a/tests/trilinos/58.cc +++ b/tests/trilinos/58.cc @@ -56,8 +56,7 @@ void test (TrilinosWrappers::Vector &v) int main (int argc,char **argv) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); Utilities::MPI::MPI_InitFinalize mpi_initialization (argc, argv, testing_max_num_threads()); diff --git a/tests/trilinos/60.cc b/tests/trilinos/60.cc index 100efa7c12..8d768da1ac 100644 --- a/tests/trilinos/60.cc +++ b/tests/trilinos/60.cc @@ -58,8 +58,7 @@ void test (TrilinosWrappers::Vector &v) int main (int argc,char **argv) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); Utilities::MPI::MPI_InitFinalize mpi_initialization (argc, argv, testing_max_num_threads()); diff --git a/tests/trilinos/61.cc b/tests/trilinos/61.cc index a3fc39bd2a..e33b3dd04d 100644 --- a/tests/trilinos/61.cc +++ b/tests/trilinos/61.cc @@ -65,8 +65,7 @@ void test (TrilinosWrappers::Vector &v) int main (int argc,char **argv) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); Utilities::MPI::MPI_InitFinalize mpi_initialization (argc, argv, testing_max_num_threads()); diff --git a/tests/trilinos/62.cc b/tests/trilinos/62.cc index 73702fb1dc..7c67b17131 100644 --- a/tests/trilinos/62.cc +++ b/tests/trilinos/62.cc @@ -44,8 +44,7 @@ void test (TrilinosWrappers::SparseMatrix &m) int main (int argc,char **argv) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); Utilities::MPI::MPI_InitFinalize mpi_initialization (argc, argv, testing_max_num_threads()); diff --git a/tests/trilinos/63.cc b/tests/trilinos/63.cc index 4622ae8843..55f8e49151 100644 --- a/tests/trilinos/63.cc +++ b/tests/trilinos/63.cc @@ -42,8 +42,7 @@ void test (TrilinosWrappers::SparseMatrix &m) int main (int argc,char **argv) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); Utilities::MPI::MPI_InitFinalize mpi_initialization (argc, argv, testing_max_num_threads()); diff --git a/tests/trilinos/64.cc b/tests/trilinos/64.cc index 60cd002793..4e32ab6fe3 100644 --- a/tests/trilinos/64.cc +++ b/tests/trilinos/64.cc @@ -47,8 +47,7 @@ void test (MatrixType &m) int main (int argc,char **argv) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); Utilities::MPI::MPI_InitFinalize mpi_initialization (argc, argv, testing_max_num_threads()); diff --git a/tests/trilinos/66.cc b/tests/trilinos/66.cc index 74b1f315de..e97dde4f75 100644 --- a/tests/trilinos/66.cc +++ b/tests/trilinos/66.cc @@ -98,8 +98,7 @@ void test (TrilinosWrappers::SparseMatrix &m) int main (int argc,char **argv) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); Utilities::MPI::MPI_InitFinalize mpi_initialization (argc, argv, testing_max_num_threads()); diff --git a/tests/trilinos/67.cc b/tests/trilinos/67.cc index da9f84c1dc..ac11498f37 100644 --- a/tests/trilinos/67.cc +++ b/tests/trilinos/67.cc @@ -104,8 +104,7 @@ void test (TrilinosWrappers::SparseMatrix &m) int main (int argc,char **argv) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); Utilities::MPI::MPI_InitFinalize mpi_initialization (argc, argv, testing_max_num_threads()); diff --git a/tests/trilinos/68.cc b/tests/trilinos/68.cc index 63dd994c41..2fa14f0f81 100644 --- a/tests/trilinos/68.cc +++ b/tests/trilinos/68.cc @@ -102,8 +102,7 @@ void test (TrilinosWrappers::SparseMatrix &m) int main (int argc,char **argv) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); Utilities::MPI::MPI_InitFinalize mpi_initialization (argc, argv, testing_max_num_threads()); diff --git a/tests/trilinos/69.cc b/tests/trilinos/69.cc index 0124f1458e..c00fa4ccc0 100644 --- a/tests/trilinos/69.cc +++ b/tests/trilinos/69.cc @@ -108,8 +108,7 @@ void test (TrilinosWrappers::SparseMatrix &m) int main (int argc,char **argv) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); Utilities::MPI::MPI_InitFinalize mpi_initialization (argc, argv, testing_max_num_threads()); diff --git a/tests/trilinos/70.cc b/tests/trilinos/70.cc index ce495d7d66..1db1a63665 100644 --- a/tests/trilinos/70.cc +++ b/tests/trilinos/70.cc @@ -26,8 +26,7 @@ int main (int argc, char **argv) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); Utilities::MPI::MPI_InitFinalize mpi_initialization (argc, argv, testing_max_num_threads()); diff --git a/tests/trilinos/add_matrices_01.cc b/tests/trilinos/add_matrices_01.cc index 897792e993..dc7e7984f9 100644 --- a/tests/trilinos/add_matrices_01.cc +++ b/tests/trilinos/add_matrices_01.cc @@ -94,8 +94,7 @@ void test () int main (int argc,char **argv) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); Utilities::MPI::MPI_InitFinalize mpi_initialization (argc, argv, testing_max_num_threads()); diff --git a/tests/trilinos/add_matrices_02.cc b/tests/trilinos/add_matrices_02.cc index b2d4d9b98d..b5b185b00d 100644 --- a/tests/trilinos/add_matrices_02.cc +++ b/tests/trilinos/add_matrices_02.cc @@ -86,8 +86,7 @@ void test () int main (int argc,char **argv) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); Utilities::MPI::MPI_InitFinalize mpi_initialization (argc, argv, testing_max_num_threads()); diff --git a/tests/trilinos/add_matrices_03.cc b/tests/trilinos/add_matrices_03.cc index e07b1886ff..df20503f5f 100644 --- a/tests/trilinos/add_matrices_03.cc +++ b/tests/trilinos/add_matrices_03.cc @@ -89,8 +89,7 @@ void test () int main (int argc,char **argv) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); Utilities::MPI::MPI_InitFinalize mpi_initialization (argc, argv, testing_max_num_threads()); diff --git a/tests/trilinos/add_matrices_04.cc b/tests/trilinos/add_matrices_04.cc index 2e2d55f372..a96ebd3453 100644 --- a/tests/trilinos/add_matrices_04.cc +++ b/tests/trilinos/add_matrices_04.cc @@ -63,8 +63,7 @@ void test (TrilinosWrappers::SparseMatrix &m) int main (int argc,char **argv) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); Utilities::MPI::MPI_InitFinalize mpi_initialization (argc, argv, testing_max_num_threads()); diff --git a/tests/trilinos/add_matrices_05.cc b/tests/trilinos/add_matrices_05.cc index 79748e00a1..95ed66727e 100644 --- a/tests/trilinos/add_matrices_05.cc +++ b/tests/trilinos/add_matrices_05.cc @@ -68,8 +68,7 @@ void test (TrilinosWrappers::SparseMatrix &m) int main (int argc,char **argv) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); Utilities::MPI::MPI_InitFinalize mpi_initialization (argc, argv, testing_max_num_threads()); diff --git a/tests/trilinos/add_matrices_06.cc b/tests/trilinos/add_matrices_06.cc index b42676bff8..fdc68dff0e 100644 --- a/tests/trilinos/add_matrices_06.cc +++ b/tests/trilinos/add_matrices_06.cc @@ -81,8 +81,7 @@ void test (TrilinosWrappers::SparseMatrix &m) int main (int argc,char **argv) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); Utilities::MPI::MPI_InitFinalize mpi_initialization (argc, argv, testing_max_num_threads()); diff --git a/tests/trilinos/block_sparse_matrix_add_01.cc b/tests/trilinos/block_sparse_matrix_add_01.cc index 2b744689c7..12a34f1ef2 100644 --- a/tests/trilinos/block_sparse_matrix_add_01.cc +++ b/tests/trilinos/block_sparse_matrix_add_01.cc @@ -129,8 +129,7 @@ void test () int main (int argc,char **argv) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); Utilities::MPI::MPI_InitFinalize mpi_initialization (argc, argv, testing_max_num_threads()); diff --git a/tests/trilinos/block_sparse_matrix_set_01.cc b/tests/trilinos/block_sparse_matrix_set_01.cc index 393c3f93b6..a214ec70eb 100644 --- a/tests/trilinos/block_sparse_matrix_set_01.cc +++ b/tests/trilinos/block_sparse_matrix_set_01.cc @@ -130,8 +130,7 @@ void test () int main (int argc,char **argv) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); Utilities::MPI::MPI_InitFinalize mpi_initialization (argc, argv, testing_max_num_threads()); diff --git a/tests/trilinos/block_sparse_matrix_vector_01.cc b/tests/trilinos/block_sparse_matrix_vector_01.cc index 641d29f5df..98a16afbe2 100644 --- a/tests/trilinos/block_sparse_matrix_vector_01.cc +++ b/tests/trilinos/block_sparse_matrix_vector_01.cc @@ -90,8 +90,7 @@ void test (const unsigned int size_1, const unsigned int size_2) int main (int argc, char **argv) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); Utilities::MPI::MPI_InitFinalize mpi_initialization (argc, argv, testing_max_num_threads()); diff --git a/tests/trilinos/block_sparse_matrix_vector_02.cc b/tests/trilinos/block_sparse_matrix_vector_02.cc index d50b71c24d..1b0bb8c323 100644 --- a/tests/trilinos/block_sparse_matrix_vector_02.cc +++ b/tests/trilinos/block_sparse_matrix_vector_02.cc @@ -84,8 +84,7 @@ void test (const unsigned int size_1, const unsigned int size_2) int main (int argc, char **argv) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); Utilities::MPI::MPI_InitFinalize mpi_initialization (argc, argv, testing_max_num_threads()); diff --git a/tests/trilinos/block_sparse_matrix_vector_03.cc b/tests/trilinos/block_sparse_matrix_vector_03.cc index 9c1370511b..c19327071b 100644 --- a/tests/trilinos/block_sparse_matrix_vector_03.cc +++ b/tests/trilinos/block_sparse_matrix_vector_03.cc @@ -84,8 +84,7 @@ void test (const unsigned int size_1, const unsigned int size_2) int main (int argc, char **argv) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); Utilities::MPI::MPI_InitFinalize mpi_initialization (argc, argv, testing_max_num_threads()); diff --git a/tests/trilinos/block_sparse_matrix_vector_04.cc b/tests/trilinos/block_sparse_matrix_vector_04.cc index e912143599..947976a155 100644 --- a/tests/trilinos/block_sparse_matrix_vector_04.cc +++ b/tests/trilinos/block_sparse_matrix_vector_04.cc @@ -76,8 +76,7 @@ void test (const unsigned int size_1, const unsigned int size_2) int main (int argc, char **argv) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); Utilities::MPI::MPI_InitFinalize mpi_initialization (argc, argv, testing_max_num_threads()); diff --git a/tests/trilinos/block_vector_iterator_01.cc b/tests/trilinos/block_vector_iterator_01.cc index 10b63cd7cf..ab6df9df88 100644 --- a/tests/trilinos/block_vector_iterator_01.cc +++ b/tests/trilinos/block_vector_iterator_01.cc @@ -86,8 +86,7 @@ void test () int main (int argc,char **argv) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); Utilities::MPI::MPI_InitFinalize mpi_initialization (argc, argv, testing_max_num_threads()); diff --git a/tests/trilinos/block_vector_iterator_02.cc b/tests/trilinos/block_vector_iterator_02.cc index 1ff7545eac..d0946311e5 100644 --- a/tests/trilinos/block_vector_iterator_02.cc +++ b/tests/trilinos/block_vector_iterator_02.cc @@ -80,8 +80,7 @@ void test () int main (int argc,char **argv) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); Utilities::MPI::MPI_InitFinalize mpi_initialization (argc, argv, testing_max_num_threads()); diff --git a/tests/trilinos/copy_to_dealvec.cc b/tests/trilinos/copy_to_dealvec.cc index 282dc7830b..f80122aafe 100644 --- a/tests/trilinos/copy_to_dealvec.cc +++ b/tests/trilinos/copy_to_dealvec.cc @@ -106,8 +106,7 @@ int main (int argc, char **argv) if (myid == 0) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog << std::setprecision(4); deallog.threshold_double(1.e-10); diff --git a/tests/trilinos/copy_to_dealvec_block.cc b/tests/trilinos/copy_to_dealvec_block.cc index 54ddcf9df2..b439e37bb3 100644 --- a/tests/trilinos/copy_to_dealvec_block.cc +++ b/tests/trilinos/copy_to_dealvec_block.cc @@ -122,8 +122,7 @@ int main (int argc, char **argv) if (myid == 0) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog << std::setprecision(4); deallog.threshold_double(1.e-10); diff --git a/tests/trilinos/deal_solver_02.cc b/tests/trilinos/deal_solver_02.cc index 5c563aafcf..9edd4bdf18 100644 --- a/tests/trilinos/deal_solver_02.cc +++ b/tests/trilinos/deal_solver_02.cc @@ -68,8 +68,7 @@ check_solve (SolverType &solver, int main(int argc, char **argv) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog << std::setprecision(4); deallog.threshold_double(1.e-10); diff --git a/tests/trilinos/deal_solver_06.cc b/tests/trilinos/deal_solver_06.cc index 6d6a959825..4515aecd31 100644 --- a/tests/trilinos/deal_solver_06.cc +++ b/tests/trilinos/deal_solver_06.cc @@ -66,8 +66,7 @@ check_solve (SolverType &solver, int main(int argc, char **argv) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog << std::setprecision(4); deallog.threshold_double(1.e-10); diff --git a/tests/trilinos/direct_solver.cc b/tests/trilinos/direct_solver.cc index b39a78df2e..7a91be0db1 100644 --- a/tests/trilinos/direct_solver.cc +++ b/tests/trilinos/direct_solver.cc @@ -292,8 +292,7 @@ void Step4::run() int main (int argc, char **argv) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); Utilities::MPI::MPI_InitFinalize mpi_initialization (argc, argv, testing_max_num_threads()); diff --git a/tests/trilinos/direct_solver_2.cc b/tests/trilinos/direct_solver_2.cc index 5def08b015..a37cbf7bec 100644 --- a/tests/trilinos/direct_solver_2.cc +++ b/tests/trilinos/direct_solver_2.cc @@ -380,8 +380,7 @@ void Step4::run() int main (int argc, char **argv) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); Utilities::MPI::MPI_InitFinalize mpi_initialization (argc, argv, testing_max_num_threads()); diff --git a/tests/trilinos/elide_zeros.cc b/tests/trilinos/elide_zeros.cc index 9db2ee4e80..ba4c09dcdb 100644 --- a/tests/trilinos/elide_zeros.cc +++ b/tests/trilinos/elide_zeros.cc @@ -305,8 +305,7 @@ namespace LinearAdvectionTest int main(int argc, char **argv) { using namespace dealii; - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); Utilities::MPI::MPI_InitFinalize mpi_initialization(argc, argv, 1); diff --git a/tests/trilinos/epetra_vector_01.cc b/tests/trilinos/epetra_vector_01.cc index b4a751ae13..cb60fef6db 100644 --- a/tests/trilinos/epetra_vector_01.cc +++ b/tests/trilinos/epetra_vector_01.cc @@ -203,8 +203,7 @@ void test() int main(int argc, char **argv) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.depth_console(0); deallog.threshold_double(1.e-10); diff --git a/tests/trilinos/epetra_vector_02.cc b/tests/trilinos/epetra_vector_02.cc index 4ca1bde240..e02682c891 100644 --- a/tests/trilinos/epetra_vector_02.cc +++ b/tests/trilinos/epetra_vector_02.cc @@ -190,8 +190,7 @@ void test() int main(int argc, char **argv) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.depth_console(0); deallog.threshold_double(1.e-10); diff --git a/tests/trilinos/epetra_vector_03.cc b/tests/trilinos/epetra_vector_03.cc index b829e7e051..b8b25e86a2 100644 --- a/tests/trilinos/epetra_vector_03.cc +++ b/tests/trilinos/epetra_vector_03.cc @@ -48,8 +48,7 @@ void test() int main(int argc, char **argv) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.depth_console(0); deallog.threshold_double(1.e-10); diff --git a/tests/trilinos/index_set_01.cc b/tests/trilinos/index_set_01.cc index 574f3995a0..c9c433013d 100644 --- a/tests/trilinos/index_set_01.cc +++ b/tests/trilinos/index_set_01.cc @@ -55,8 +55,7 @@ void test () int main (int argc,char **argv) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); Utilities::MPI::MPI_InitFinalize mpi_initialization (argc, argv, testing_max_num_threads()); diff --git a/tests/trilinos/parallel_sparse_matrix_01.cc b/tests/trilinos/parallel_sparse_matrix_01.cc index b246f8388b..7bf49622bc 100644 --- a/tests/trilinos/parallel_sparse_matrix_01.cc +++ b/tests/trilinos/parallel_sparse_matrix_01.cc @@ -106,8 +106,7 @@ void test () int main (int argc,char **argv) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); Utilities::MPI::MPI_InitFinalize mpi_initialization (argc, argv, testing_max_num_threads()); diff --git a/tests/trilinos/precondition.cc b/tests/trilinos/precondition.cc index d8e59e2eb5..c730f7959e 100644 --- a/tests/trilinos/precondition.cc +++ b/tests/trilinos/precondition.cc @@ -379,8 +379,7 @@ void Step4::run() int main (int argc, char **argv) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-5); Utilities::MPI::MPI_InitFinalize mpi_initialization (argc, argv, 1); diff --git a/tests/trilinos/precondition_amg_dgp.cc b/tests/trilinos/precondition_amg_dgp.cc index 49e9099763..580a5229a8 100644 --- a/tests/trilinos/precondition_amg_dgp.cc +++ b/tests/trilinos/precondition_amg_dgp.cc @@ -213,8 +213,7 @@ void Step4::run() int main (int argc, char **argv) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); Utilities::MPI::MPI_InitFinalize mpi_initialization (argc, argv, testing_max_num_threads()); diff --git a/tests/trilinos/precondition_amg_smoother.cc b/tests/trilinos/precondition_amg_smoother.cc index e73d7a33c3..70263e6944 100644 --- a/tests/trilinos/precondition_amg_smoother.cc +++ b/tests/trilinos/precondition_amg_smoother.cc @@ -261,8 +261,7 @@ void Step4::run() int main (int argc, char **argv) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); Utilities::MPI::MPI_InitFinalize mpi_initialization (argc, argv, testing_max_num_threads()); diff --git a/tests/trilinos/precondition_muelu_dgp.cc b/tests/trilinos/precondition_muelu_dgp.cc index e351372e15..3c801a8ffc 100644 --- a/tests/trilinos/precondition_muelu_dgp.cc +++ b/tests/trilinos/precondition_muelu_dgp.cc @@ -216,8 +216,7 @@ void Step4::run() int main (int argc, char **argv) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); Utilities::MPI::MPI_InitFinalize mpi_initialization (argc, argv, testing_max_num_threads()); diff --git a/tests/trilinos/precondition_muelu_q_iso_q1.cc b/tests/trilinos/precondition_muelu_q_iso_q1.cc index d80bc7aab1..fa44f8bd2c 100644 --- a/tests/trilinos/precondition_muelu_q_iso_q1.cc +++ b/tests/trilinos/precondition_muelu_q_iso_q1.cc @@ -319,8 +319,7 @@ void Step4::run() int main (int argc, char **argv) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); Utilities::MPI::MPI_InitFinalize mpi_initialization (argc, argv, testing_max_num_threads()); diff --git a/tests/trilinos/precondition_muelu_smoother.cc b/tests/trilinos/precondition_muelu_smoother.cc index 12c29a7ea7..6fc6b4cbda 100644 --- a/tests/trilinos/precondition_muelu_smoother.cc +++ b/tests/trilinos/precondition_muelu_smoother.cc @@ -261,8 +261,7 @@ void Step4::run() int main (int argc, char **argv) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); Utilities::MPI::MPI_InitFinalize mpi_initialization (argc, argv, testing_max_num_threads()); diff --git a/tests/trilinos/precondition_q_iso_q1.cc b/tests/trilinos/precondition_q_iso_q1.cc index d49746093a..0529623b58 100644 --- a/tests/trilinos/precondition_q_iso_q1.cc +++ b/tests/trilinos/precondition_q_iso_q1.cc @@ -315,8 +315,7 @@ void Step4::run() int main (int argc, char **argv) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); Utilities::MPI::MPI_InitFinalize mpi_initialization (argc, argv, testing_max_num_threads()); diff --git a/tests/trilinos/readwritevector.cc b/tests/trilinos/readwritevector.cc index 238d977e58..7edea977d5 100644 --- a/tests/trilinos/readwritevector.cc +++ b/tests/trilinos/readwritevector.cc @@ -110,8 +110,7 @@ void test() int main (int argc, char **argv) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); Utilities::MPI::MPI_InitFinalize mpi_initialization (argc, argv, testing_max_num_threads()); diff --git a/tests/trilinos/slowness_01.cc b/tests/trilinos/slowness_01.cc index a6b0ba4b1c..62d24f5b8a 100644 --- a/tests/trilinos/slowness_01.cc +++ b/tests/trilinos/slowness_01.cc @@ -110,8 +110,7 @@ void test () int main (int argc,char **argv) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); Utilities::MPI::MPI_InitFinalize mpi_initialization (argc, argv, testing_max_num_threads()); diff --git a/tests/trilinos/slowness_02.cc b/tests/trilinos/slowness_02.cc index b07475608e..b5a56e784c 100644 --- a/tests/trilinos/slowness_02.cc +++ b/tests/trilinos/slowness_02.cc @@ -84,8 +84,7 @@ void test () int main (int argc,char **argv) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); Utilities::MPI::MPI_InitFinalize mpi_initialization (argc, argv, testing_max_num_threads()); diff --git a/tests/trilinos/slowness_03.cc b/tests/trilinos/slowness_03.cc index ad9c4bd873..6bc8cfdc54 100644 --- a/tests/trilinos/slowness_03.cc +++ b/tests/trilinos/slowness_03.cc @@ -82,8 +82,7 @@ void test () int main (int argc,char **argv) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); Utilities::MPI::MPI_InitFinalize mpi_initialization (argc, argv, testing_max_num_threads()); diff --git a/tests/trilinos/slowness_04.cc b/tests/trilinos/slowness_04.cc index a5fe682ff7..d32ed1eea3 100644 --- a/tests/trilinos/slowness_04.cc +++ b/tests/trilinos/slowness_04.cc @@ -113,8 +113,7 @@ void test () int main (int argc,char **argv) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); Utilities::MPI::MPI_InitFinalize mpi_initialization (argc, argv, testing_max_num_threads()); diff --git a/tests/trilinos/sparse_matrix_01.cc b/tests/trilinos/sparse_matrix_01.cc index 304fefeab3..a58ee4aa82 100644 --- a/tests/trilinos/sparse_matrix_01.cc +++ b/tests/trilinos/sparse_matrix_01.cc @@ -32,8 +32,7 @@ int main (int argc,char **argv) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); Utilities::MPI::MPI_InitFinalize mpi_initialization (argc, argv, testing_max_num_threads()); diff --git a/tests/trilinos/sparse_matrix_02.cc b/tests/trilinos/sparse_matrix_02.cc index e539a60ca6..d24c428b5b 100644 --- a/tests/trilinos/sparse_matrix_02.cc +++ b/tests/trilinos/sparse_matrix_02.cc @@ -31,8 +31,7 @@ int main (int argc,char **argv) { Utilities::MPI::MPI_InitFinalize mpi_initialization (argc, argv, testing_max_num_threads()); - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); SparsityPattern sparsity (5,5,5); diff --git a/tests/trilinos/sparse_matrix_03.cc b/tests/trilinos/sparse_matrix_03.cc index b3cab73816..b308292f85 100644 --- a/tests/trilinos/sparse_matrix_03.cc +++ b/tests/trilinos/sparse_matrix_03.cc @@ -31,8 +31,7 @@ int main (int argc,char **argv) { Utilities::MPI::MPI_InitFinalize mpi_initialization (argc, argv, testing_max_num_threads()); - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); SparsityPattern sparsity (5,5,5); diff --git a/tests/trilinos/sparse_matrix_04.cc b/tests/trilinos/sparse_matrix_04.cc index 111c2292ec..eb75ca928e 100644 --- a/tests/trilinos/sparse_matrix_04.cc +++ b/tests/trilinos/sparse_matrix_04.cc @@ -31,8 +31,7 @@ int main (int argc,char **argv) { Utilities::MPI::MPI_InitFinalize mpi_initialization (argc, argv, testing_max_num_threads()); - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); SparsityPattern sparsity (5,5,5); diff --git a/tests/trilinos/sparse_matrix_05.cc b/tests/trilinos/sparse_matrix_05.cc index e81f1d6def..e854445fcf 100644 --- a/tests/trilinos/sparse_matrix_05.cc +++ b/tests/trilinos/sparse_matrix_05.cc @@ -31,8 +31,7 @@ int main (int argc,char **argv) { Utilities::MPI::MPI_InitFinalize mpi_initialization (argc, argv, testing_max_num_threads()); - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); SparsityPattern sparsity (5,5,5); diff --git a/tests/trilinos/sparse_matrix_07.cc b/tests/trilinos/sparse_matrix_07.cc index bec926a354..ad16c38ca5 100644 --- a/tests/trilinos/sparse_matrix_07.cc +++ b/tests/trilinos/sparse_matrix_07.cc @@ -31,8 +31,7 @@ int main (int argc,char **argv) { Utilities::MPI::MPI_InitFinalize mpi_initialization (argc, argv, testing_max_num_threads()); - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); SparsityPattern sparsity (5,5,5); diff --git a/tests/trilinos/sparse_matrix_07_rectangle.cc b/tests/trilinos/sparse_matrix_07_rectangle.cc index 5b6fa17507..fd6816d467 100644 --- a/tests/trilinos/sparse_matrix_07_rectangle.cc +++ b/tests/trilinos/sparse_matrix_07_rectangle.cc @@ -31,8 +31,7 @@ int main (int argc,char **argv) { Utilities::MPI::MPI_InitFinalize mpi_initialization (argc, argv, testing_max_num_threads()); - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); SparsityPattern sparsity (4,5,5); diff --git a/tests/trilinos/sparse_matrix_add_01.cc b/tests/trilinos/sparse_matrix_add_01.cc index f6e16c0513..c894d8bafa 100644 --- a/tests/trilinos/sparse_matrix_add_01.cc +++ b/tests/trilinos/sparse_matrix_add_01.cc @@ -89,8 +89,7 @@ void test (TrilinosWrappers::SparseMatrix &m) int main (int argc,char **argv) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); Utilities::MPI::MPI_InitFinalize mpi_initialization (argc, argv, testing_max_num_threads()); diff --git a/tests/trilinos/sparse_matrix_add_02.cc b/tests/trilinos/sparse_matrix_add_02.cc index 915b173441..10beb96f9f 100644 --- a/tests/trilinos/sparse_matrix_add_02.cc +++ b/tests/trilinos/sparse_matrix_add_02.cc @@ -89,8 +89,7 @@ void test (TrilinosWrappers::SparseMatrix &m) int main (int argc,char **argv) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); Utilities::MPI::MPI_InitFinalize mpi_initialization (argc, argv, testing_max_num_threads()); diff --git a/tests/trilinos/sparse_matrix_copy_from_01.cc b/tests/trilinos/sparse_matrix_copy_from_01.cc index f5b3dbde60..fbba7829e6 100644 --- a/tests/trilinos/sparse_matrix_copy_from_01.cc +++ b/tests/trilinos/sparse_matrix_copy_from_01.cc @@ -30,8 +30,7 @@ int main (int argc,char **argv) { Utilities::MPI::MPI_InitFinalize mpi_initialization (argc, argv, testing_max_num_threads()); - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); SparsityPattern sparsity (5,5,5); diff --git a/tests/trilinos/sparse_matrix_iterator.cc b/tests/trilinos/sparse_matrix_iterator.cc index 1aebb25a03..605b20eae2 100644 --- a/tests/trilinos/sparse_matrix_iterator.cc +++ b/tests/trilinos/sparse_matrix_iterator.cc @@ -21,8 +21,7 @@ int main(int argc, char **argv) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); Utilities::MPI::MPI_InitFinalize mpi_initialization (argc, argv, testing_max_num_threads()); diff --git a/tests/trilinos/sparse_matrix_iterator_01.cc b/tests/trilinos/sparse_matrix_iterator_01.cc index 2f6b099f9b..9d73b00840 100644 --- a/tests/trilinos/sparse_matrix_iterator_01.cc +++ b/tests/trilinos/sparse_matrix_iterator_01.cc @@ -45,8 +45,7 @@ void test () int main (int argc,char **argv) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); Utilities::MPI::MPI_InitFinalize mpi_initialization (argc, argv, testing_max_num_threads()); diff --git a/tests/trilinos/sparse_matrix_set_01.cc b/tests/trilinos/sparse_matrix_set_01.cc index 7e5c3e3c94..2e68f15aad 100644 --- a/tests/trilinos/sparse_matrix_set_01.cc +++ b/tests/trilinos/sparse_matrix_set_01.cc @@ -85,8 +85,7 @@ void test (TrilinosWrappers::SparseMatrix &m) int main (int argc,char **argv) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); Utilities::MPI::MPI_InitFinalize mpi_initialization (argc, argv, testing_max_num_threads()); diff --git a/tests/trilinos/sparse_matrix_set_02.cc b/tests/trilinos/sparse_matrix_set_02.cc index 01dd2e8f3e..6c3097807d 100644 --- a/tests/trilinos/sparse_matrix_set_02.cc +++ b/tests/trilinos/sparse_matrix_set_02.cc @@ -86,8 +86,7 @@ void test (TrilinosWrappers::SparseMatrix &m) int main (int argc,char **argv) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); Utilities::MPI::MPI_InitFinalize mpi_initialization (argc, argv, testing_max_num_threads()); diff --git a/tests/trilinos/sparse_matrix_vector_01.cc b/tests/trilinos/sparse_matrix_vector_01.cc index cb222d0874..329e701914 100644 --- a/tests/trilinos/sparse_matrix_vector_01.cc +++ b/tests/trilinos/sparse_matrix_vector_01.cc @@ -62,8 +62,7 @@ void test (TrilinosWrappers::Vector &v, int main (int argc, char **argv) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); Utilities::MPI::MPI_InitFinalize mpi_initialization (argc, argv, testing_max_num_threads()); diff --git a/tests/trilinos/sparse_matrix_vector_02.cc b/tests/trilinos/sparse_matrix_vector_02.cc index cc962553e0..8f5c6e3372 100644 --- a/tests/trilinos/sparse_matrix_vector_02.cc +++ b/tests/trilinos/sparse_matrix_vector_02.cc @@ -62,8 +62,7 @@ void test (TrilinosWrappers::Vector &v, int main (int argc, char **argv) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); Utilities::MPI::MPI_InitFinalize mpi_initialization (argc, argv, testing_max_num_threads()); diff --git a/tests/trilinos/sparse_matrix_vector_03.cc b/tests/trilinos/sparse_matrix_vector_03.cc index b8c3704b4c..9533819d64 100644 --- a/tests/trilinos/sparse_matrix_vector_03.cc +++ b/tests/trilinos/sparse_matrix_vector_03.cc @@ -65,8 +65,7 @@ void test (TrilinosWrappers::Vector &v, int main (int argc, char **argv) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); Utilities::MPI::MPI_InitFinalize mpi_initialization (argc, argv, testing_max_num_threads()); diff --git a/tests/trilinos/sparse_matrix_vector_04.cc b/tests/trilinos/sparse_matrix_vector_04.cc index fe77fd3217..75a82306cf 100644 --- a/tests/trilinos/sparse_matrix_vector_04.cc +++ b/tests/trilinos/sparse_matrix_vector_04.cc @@ -64,8 +64,7 @@ void test (TrilinosWrappers::Vector &v, int main (int argc, char **argv) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); Utilities::MPI::MPI_InitFinalize mpi_initialization (argc, argv, testing_max_num_threads()); diff --git a/tests/trilinos/sparse_matrix_vector_05.cc b/tests/trilinos/sparse_matrix_vector_05.cc index cf3f866a7b..5ca217881b 100644 --- a/tests/trilinos/sparse_matrix_vector_05.cc +++ b/tests/trilinos/sparse_matrix_vector_05.cc @@ -68,8 +68,7 @@ void test (TrilinosWrappers::Vector &v, int main (int argc, char **argv) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); Utilities::MPI::MPI_InitFinalize mpi_initialization (argc, argv, testing_max_num_threads()); diff --git a/tests/trilinos/sparse_matrix_vector_06.cc b/tests/trilinos/sparse_matrix_vector_06.cc index 295a793ce8..449516795a 100644 --- a/tests/trilinos/sparse_matrix_vector_06.cc +++ b/tests/trilinos/sparse_matrix_vector_06.cc @@ -60,8 +60,7 @@ void test (TrilinosWrappers::Vector &v) int main (int argc, char **argv) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); Utilities::MPI::MPI_InitFinalize mpi_initialization (argc, argv, testing_max_num_threads()); diff --git a/tests/trilinos/sparse_matrix_vector_07.cc b/tests/trilinos/sparse_matrix_vector_07.cc index 441eeb5c8d..37d9c4849d 100644 --- a/tests/trilinos/sparse_matrix_vector_07.cc +++ b/tests/trilinos/sparse_matrix_vector_07.cc @@ -70,8 +70,7 @@ void test (TrilinosWrappers::Vector &v, int main (int argc, char **argv) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); Utilities::MPI::MPI_InitFinalize mpi_initialization (argc, argv, testing_max_num_threads()); diff --git a/tests/trilinos/sparse_matrix_vector_08.cc b/tests/trilinos/sparse_matrix_vector_08.cc index ae3138eaf5..ef97278ab7 100644 --- a/tests/trilinos/sparse_matrix_vector_08.cc +++ b/tests/trilinos/sparse_matrix_vector_08.cc @@ -68,8 +68,7 @@ void test (Vector &v, int main (int argc, char **argv) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); Utilities::MPI::MPI_InitFinalize mpi_initialization (argc, argv, testing_max_num_threads()); diff --git a/tests/trilinos/sparse_matrix_vector_09.cc b/tests/trilinos/sparse_matrix_vector_09.cc index 58dc15e405..a25d4d54d7 100644 --- a/tests/trilinos/sparse_matrix_vector_09.cc +++ b/tests/trilinos/sparse_matrix_vector_09.cc @@ -68,8 +68,7 @@ void test (Vector &v, int main (int argc, char **argv) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); Utilities::MPI::MPI_InitFinalize mpi_initialization (argc, argv, testing_max_num_threads()); diff --git a/tests/trilinos/sparse_matrix_vector_10.cc b/tests/trilinos/sparse_matrix_vector_10.cc index 74b81ebb60..8ff49eb275 100644 --- a/tests/trilinos/sparse_matrix_vector_10.cc +++ b/tests/trilinos/sparse_matrix_vector_10.cc @@ -69,8 +69,7 @@ void test (LinearAlgebra::distributed::Vector &v, int main (int argc, char **argv) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); Utilities::MPI::MPI_InitFinalize mpi_initialization (argc, argv, testing_max_num_threads()); diff --git a/tests/trilinos/sparse_matrix_vector_11.cc b/tests/trilinos/sparse_matrix_vector_11.cc index 58151741d2..1c288a0dce 100644 --- a/tests/trilinos/sparse_matrix_vector_11.cc +++ b/tests/trilinos/sparse_matrix_vector_11.cc @@ -68,8 +68,7 @@ void test (LinearAlgebra::distributed::Vector &v, int main (int argc, char **argv) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); Utilities::MPI::MPI_InitFinalize mpi_initialization (argc, argv, testing_max_num_threads()); diff --git a/tests/trilinos/trilinos_64_bit_crash_01.cc b/tests/trilinos/trilinos_64_bit_crash_01.cc index 575b68a9b1..e7f754ff1b 100644 --- a/tests/trilinos/trilinos_64_bit_crash_01.cc +++ b/tests/trilinos/trilinos_64_bit_crash_01.cc @@ -50,8 +50,7 @@ void test () int main(int argc, char **argv) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog << std::setprecision(4); deallog.threshold_double(1.e-10); diff --git a/tests/trilinos/trilinos_sparse_matrix_iterator_01.cc b/tests/trilinos/trilinos_sparse_matrix_iterator_01.cc index 7f3343ed16..8469fa3eaa 100644 --- a/tests/trilinos/trilinos_sparse_matrix_iterator_01.cc +++ b/tests/trilinos/trilinos_sparse_matrix_iterator_01.cc @@ -49,8 +49,7 @@ void test () int main (int argc, char **argv) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); Utilities::MPI::MPI_InitFinalize mpi_initialization (argc, argv, testing_max_num_threads()); diff --git a/tests/trilinos/trilinos_sparse_matrix_iterator_02.cc b/tests/trilinos/trilinos_sparse_matrix_iterator_02.cc index f91b0aba76..1e429ddd77 100644 --- a/tests/trilinos/trilinos_sparse_matrix_iterator_02.cc +++ b/tests/trilinos/trilinos_sparse_matrix_iterator_02.cc @@ -60,8 +60,7 @@ void test () int main (int argc, char **argv) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); Utilities::MPI::MPI_InitFinalize mpi_initialization (argc, argv, testing_max_num_threads()); diff --git a/tests/trilinos/trilinos_sparse_matrix_iterator_03.cc b/tests/trilinos/trilinos_sparse_matrix_iterator_03.cc index 6d59f4a345..77ef6b6c0e 100644 --- a/tests/trilinos/trilinos_sparse_matrix_iterator_03.cc +++ b/tests/trilinos/trilinos_sparse_matrix_iterator_03.cc @@ -60,8 +60,7 @@ void test () int main (int argc, char **argv) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); Utilities::MPI::MPI_InitFinalize mpi_initialization (argc, argv, testing_max_num_threads()); diff --git a/tests/trilinos/trilinos_sparse_matrix_iterator_04.cc b/tests/trilinos/trilinos_sparse_matrix_iterator_04.cc index 7fcd0f22f4..ea3b443a51 100644 --- a/tests/trilinos/trilinos_sparse_matrix_iterator_04.cc +++ b/tests/trilinos/trilinos_sparse_matrix_iterator_04.cc @@ -59,8 +59,7 @@ void test () int main (int argc, char **argv) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); Utilities::MPI::MPI_InitFinalize mpi_initialization (argc, argv, testing_max_num_threads()); diff --git a/tests/trilinos/trilinos_sparse_matrix_iterator_05.cc b/tests/trilinos/trilinos_sparse_matrix_iterator_05.cc index 457a5b6f0d..22223aa7e9 100644 --- a/tests/trilinos/trilinos_sparse_matrix_iterator_05.cc +++ b/tests/trilinos/trilinos_sparse_matrix_iterator_05.cc @@ -66,8 +66,7 @@ void test () int main (int argc, char **argv) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); Utilities::MPI::MPI_InitFinalize mpi_initialization (argc, argv, testing_max_num_threads()); diff --git a/tests/trilinos/trilinos_sparse_matrix_iterator_06.cc b/tests/trilinos/trilinos_sparse_matrix_iterator_06.cc index c008bbc0c7..9f84a4f9ee 100644 --- a/tests/trilinos/trilinos_sparse_matrix_iterator_06.cc +++ b/tests/trilinos/trilinos_sparse_matrix_iterator_06.cc @@ -66,8 +66,7 @@ void test () int main (int argc, char **argv) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); Utilities::MPI::MPI_InitFinalize mpi_initialization (argc, argv, testing_max_num_threads()); diff --git a/tests/trilinos/trilinos_sparse_matrix_iterator_07.cc b/tests/trilinos/trilinos_sparse_matrix_iterator_07.cc index 99bb85a03e..4054efd556 100644 --- a/tests/trilinos/trilinos_sparse_matrix_iterator_07.cc +++ b/tests/trilinos/trilinos_sparse_matrix_iterator_07.cc @@ -66,8 +66,7 @@ void test () int main (int argc, char **argv) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); Utilities::MPI::MPI_InitFinalize mpi_initialization (argc, argv, testing_max_num_threads()); diff --git a/tests/trilinos/trilinos_sparse_matrix_iterator_08.cc b/tests/trilinos/trilinos_sparse_matrix_iterator_08.cc index eb07911864..c3bcce9e86 100644 --- a/tests/trilinos/trilinos_sparse_matrix_iterator_08.cc +++ b/tests/trilinos/trilinos_sparse_matrix_iterator_08.cc @@ -66,8 +66,7 @@ void test () int main (int argc, char **argv) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); Utilities::MPI::MPI_InitFinalize mpi_initialization (argc, argv, testing_max_num_threads()); diff --git a/tests/trilinos/trilinos_sparse_matrix_iterator_09.cc b/tests/trilinos/trilinos_sparse_matrix_iterator_09.cc index a84b7a6a6f..02b2f4001b 100644 --- a/tests/trilinos/trilinos_sparse_matrix_iterator_09.cc +++ b/tests/trilinos/trilinos_sparse_matrix_iterator_09.cc @@ -50,8 +50,7 @@ void test () int main (int argc, char **argv) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); Utilities::MPI::MPI_InitFinalize mpi_initialization (argc, argv, testing_max_num_threads()); diff --git a/tests/trilinos/trilinos_sparse_matrix_iterator_10.cc b/tests/trilinos/trilinos_sparse_matrix_iterator_10.cc index cd11aa2c6b..3354125063 100644 --- a/tests/trilinos/trilinos_sparse_matrix_iterator_10.cc +++ b/tests/trilinos/trilinos_sparse_matrix_iterator_10.cc @@ -52,8 +52,7 @@ void test () int main (int argc, char **argv) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); Utilities::MPI::MPI_InitFinalize mpi_initialization (argc, argv, testing_max_num_threads()); diff --git a/tests/trilinos/trilinos_sparse_matrix_iterator_11.cc b/tests/trilinos/trilinos_sparse_matrix_iterator_11.cc index 8fbc601732..199bf60e55 100644 --- a/tests/trilinos/trilinos_sparse_matrix_iterator_11.cc +++ b/tests/trilinos/trilinos_sparse_matrix_iterator_11.cc @@ -60,8 +60,7 @@ void test () int main (int argc, char **argv) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); Utilities::MPI::MPI_InitFinalize mpi_initialization (argc, argv, testing_max_num_threads()); diff --git a/tests/trilinos/trilinos_sparse_matrix_iterator_12.cc b/tests/trilinos/trilinos_sparse_matrix_iterator_12.cc index 726727d5b9..62404c9de5 100644 --- a/tests/trilinos/trilinos_sparse_matrix_iterator_12.cc +++ b/tests/trilinos/trilinos_sparse_matrix_iterator_12.cc @@ -60,8 +60,7 @@ void test () int main (int argc, char **argv) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); Utilities::MPI::MPI_InitFinalize mpi_initialization (argc, argv, testing_max_num_threads()); diff --git a/tests/trilinos/trilinos_sparsity_pattern_01.cc b/tests/trilinos/trilinos_sparsity_pattern_01.cc index 65fc79d20c..7aa36ecf18 100644 --- a/tests/trilinos/trilinos_sparsity_pattern_01.cc +++ b/tests/trilinos/trilinos_sparsity_pattern_01.cc @@ -71,8 +71,7 @@ void test () int main (int argc, char **argv) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); Utilities::MPI::MPI_InitFinalize mpi_initialization (argc, argv, testing_max_num_threads()); diff --git a/tests/trilinos/trilinos_sparsity_pattern_iterators_01.cc b/tests/trilinos/trilinos_sparsity_pattern_iterators_01.cc index 34d32d25c6..d7eaf1803e 100644 --- a/tests/trilinos/trilinos_sparsity_pattern_iterators_01.cc +++ b/tests/trilinos/trilinos_sparsity_pattern_iterators_01.cc @@ -57,8 +57,7 @@ void test () int main (int argc, char **argv) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); Utilities::MPI::MPI_InitFinalize mpi_initialization (argc, argv, testing_max_num_threads()); diff --git a/tests/trilinos/trilinos_sparsity_pattern_iterators_02.cc b/tests/trilinos/trilinos_sparsity_pattern_iterators_02.cc index 9a4e12b6b1..e6ee3a0781 100644 --- a/tests/trilinos/trilinos_sparsity_pattern_iterators_02.cc +++ b/tests/trilinos/trilinos_sparsity_pattern_iterators_02.cc @@ -81,8 +81,7 @@ void test () int main (int argc, char **argv) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); Utilities::MPI::MPI_InitFinalize mpi_initialization (argc, argv, testing_max_num_threads()); diff --git a/tests/trilinos/vector_assign_01.cc b/tests/trilinos/vector_assign_01.cc index 7ad06b816e..3f061145ef 100644 --- a/tests/trilinos/vector_assign_01.cc +++ b/tests/trilinos/vector_assign_01.cc @@ -52,8 +52,7 @@ void test (TrilinosWrappers::Vector &v, int main (int argc, char **argv) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); Utilities::MPI::MPI_InitFinalize mpi_initialization (argc, argv, testing_max_num_threads()); diff --git a/tests/trilinos/vector_assign_02.cc b/tests/trilinos/vector_assign_02.cc index 7409afa47a..b0dc75b319 100644 --- a/tests/trilinos/vector_assign_02.cc +++ b/tests/trilinos/vector_assign_02.cc @@ -51,8 +51,7 @@ void test (TrilinosWrappers::Vector &v, int main (int argc, char **argv) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); Utilities::MPI::MPI_InitFinalize mpi_initialization (argc, argv, testing_max_num_threads()); diff --git a/tests/trilinos/vector_equality_1.cc b/tests/trilinos/vector_equality_1.cc index 2dda42d42f..0f1aa135e3 100644 --- a/tests/trilinos/vector_equality_1.cc +++ b/tests/trilinos/vector_equality_1.cc @@ -47,8 +47,7 @@ void test (TrilinosWrappers::Vector &v, int main (int argc, char **argv) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); Utilities::MPI::MPI_InitFinalize mpi_initialization (argc, argv, testing_max_num_threads()); diff --git a/tests/trilinos/vector_equality_2.cc b/tests/trilinos/vector_equality_2.cc index 230e723d64..c695d9a456 100644 --- a/tests/trilinos/vector_equality_2.cc +++ b/tests/trilinos/vector_equality_2.cc @@ -49,8 +49,7 @@ void test (TrilinosWrappers::Vector &v, int main (int argc, char **argv) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); Utilities::MPI::MPI_InitFinalize mpi_initialization (argc, argv, testing_max_num_threads()); diff --git a/tests/trilinos/vector_equality_3.cc b/tests/trilinos/vector_equality_3.cc index 2449fb7995..467cf03760 100644 --- a/tests/trilinos/vector_equality_3.cc +++ b/tests/trilinos/vector_equality_3.cc @@ -47,8 +47,7 @@ void test (TrilinosWrappers::Vector &v, int main (int argc, char **argv) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); Utilities::MPI::MPI_InitFinalize mpi_initialization (argc, argv, testing_max_num_threads()); diff --git a/tests/trilinos/vector_equality_4.cc b/tests/trilinos/vector_equality_4.cc index 65cbb17ffe..f94d59f6d0 100644 --- a/tests/trilinos/vector_equality_4.cc +++ b/tests/trilinos/vector_equality_4.cc @@ -49,8 +49,7 @@ void test (TrilinosWrappers::Vector &v, int main (int argc, char **argv) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); Utilities::MPI::MPI_InitFinalize mpi_initialization (argc, argv, testing_max_num_threads()); diff --git a/tests/trilinos/vector_reinit.cc b/tests/trilinos/vector_reinit.cc index 178c58eeb1..3d8e4bd41d 100644 --- a/tests/trilinos/vector_reinit.cc +++ b/tests/trilinos/vector_reinit.cc @@ -65,8 +65,7 @@ void test () int main (int argc, char *argv[]) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.depth_console(0); deallog.threshold_double(1.e-10); diff --git a/tests/trilinos/vector_swap_01.cc b/tests/trilinos/vector_swap_01.cc index 1b4f1e512c..c95f8cc7f7 100644 --- a/tests/trilinos/vector_swap_01.cc +++ b/tests/trilinos/vector_swap_01.cc @@ -69,8 +69,7 @@ void test () int main (int argc, char **argv) { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); Utilities::MPI::MPI_InitFinalize mpi_initialization (argc, argv, testing_max_num_threads()); diff --git a/tests/umfpack/umfpack_01.cc b/tests/umfpack/umfpack_01.cc index e8b52cfefa..b4a30385d4 100644 --- a/tests/umfpack/umfpack_01.cc +++ b/tests/umfpack/umfpack_01.cc @@ -111,8 +111,7 @@ void test (bool transpose = false) int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-9); test<1> (); diff --git a/tests/umfpack/umfpack_02.cc b/tests/umfpack/umfpack_02.cc index 95bdca3740..d12f11b6a9 100644 --- a/tests/umfpack/umfpack_02.cc +++ b/tests/umfpack/umfpack_02.cc @@ -116,8 +116,7 @@ void test (bool transpose = false) int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-9); test<1> (); diff --git a/tests/umfpack/umfpack_03.cc b/tests/umfpack/umfpack_03.cc index 942539d7cb..9eb54c7336 100644 --- a/tests/umfpack/umfpack_03.cc +++ b/tests/umfpack/umfpack_03.cc @@ -128,8 +128,7 @@ void test (bool transpose = false) int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-8); test<1> (); diff --git a/tests/umfpack/umfpack_04.cc b/tests/umfpack/umfpack_04.cc index c021d41306..1ba79207af 100644 --- a/tests/umfpack/umfpack_04.cc +++ b/tests/umfpack/umfpack_04.cc @@ -258,8 +258,7 @@ void test () int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); test<1> (); diff --git a/tests/umfpack/umfpack_05.cc b/tests/umfpack/umfpack_05.cc index 568f007e78..4099cca127 100644 --- a/tests/umfpack/umfpack_05.cc +++ b/tests/umfpack/umfpack_05.cc @@ -68,8 +68,7 @@ void test () int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); test (); diff --git a/tests/umfpack/umfpack_06.cc b/tests/umfpack/umfpack_06.cc index a998b9df5b..dea75e0850 100644 --- a/tests/umfpack/umfpack_06.cc +++ b/tests/umfpack/umfpack_06.cc @@ -72,8 +72,7 @@ void test () int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); test (); diff --git a/tests/umfpack/umfpack_07.cc b/tests/umfpack/umfpack_07.cc index 465cfabc27..349a90aeb4 100644 --- a/tests/umfpack/umfpack_07.cc +++ b/tests/umfpack/umfpack_07.cc @@ -125,8 +125,7 @@ void test () int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-9); test<1> (); diff --git a/tests/umfpack/umfpack_08.cc b/tests/umfpack/umfpack_08.cc index b00efcd0a8..7bf8074507 100644 --- a/tests/umfpack/umfpack_08.cc +++ b/tests/umfpack/umfpack_08.cc @@ -162,8 +162,7 @@ void test () int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-8); test<1> (); diff --git a/tests/umfpack/umfpack_09.cc b/tests/umfpack/umfpack_09.cc index 37c097b0d0..46091ff8a0 100644 --- a/tests/umfpack/umfpack_09.cc +++ b/tests/umfpack/umfpack_09.cc @@ -162,8 +162,7 @@ void test () int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-8); test<1> (); diff --git a/tests/umfpack/umfpack_10.cc b/tests/umfpack/umfpack_10.cc index 33cc71622b..4c7939bd73 100644 --- a/tests/umfpack/umfpack_10.cc +++ b/tests/umfpack/umfpack_10.cc @@ -130,8 +130,7 @@ void test () int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-8); test<1> (); diff --git a/tests/umfpack/umfpack_11.cc b/tests/umfpack/umfpack_11.cc index 2c2edee8fc..59524b4683 100644 --- a/tests/umfpack/umfpack_11.cc +++ b/tests/umfpack/umfpack_11.cc @@ -160,8 +160,7 @@ void test () int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-8); test<1> (); diff --git a/tests/vector/complex_vector_11.cc b/tests/vector/complex_vector_11.cc index bde2e67b7d..5d05a670c0 100644 --- a/tests/vector/complex_vector_11.cc +++ b/tests/vector/complex_vector_11.cc @@ -40,8 +40,7 @@ void test (Vector > &v) int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/vector/complex_vector_12.cc b/tests/vector/complex_vector_12.cc index 97226d7357..d6ab1a2fc1 100644 --- a/tests/vector/complex_vector_12.cc +++ b/tests/vector/complex_vector_12.cc @@ -53,8 +53,7 @@ void test (Vector > &v) int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/vector/complex_vector_13.cc b/tests/vector/complex_vector_13.cc index 4e6072d9b9..b7cdbbd757 100644 --- a/tests/vector/complex_vector_13.cc +++ b/tests/vector/complex_vector_13.cc @@ -53,8 +53,7 @@ void test (Vector > &v) int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/vector/complex_vector_14.cc b/tests/vector/complex_vector_14.cc index 5f732edcec..781993981f 100644 --- a/tests/vector/complex_vector_14.cc +++ b/tests/vector/complex_vector_14.cc @@ -59,8 +59,7 @@ void test (Vector > &v) int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/vector/complex_vector_15.cc b/tests/vector/complex_vector_15.cc index 07b4688e07..ffd78d1c30 100644 --- a/tests/vector/complex_vector_15.cc +++ b/tests/vector/complex_vector_15.cc @@ -56,8 +56,7 @@ void test (Vector > &v) int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/vector/complex_vector_16.cc b/tests/vector/complex_vector_16.cc index 55878a7e70..184a51809e 100644 --- a/tests/vector/complex_vector_16.cc +++ b/tests/vector/complex_vector_16.cc @@ -58,8 +58,7 @@ void test (Vector > &v) int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/vector/complex_vector_17.cc b/tests/vector/complex_vector_17.cc index 3ac3875225..50776fb731 100644 --- a/tests/vector/complex_vector_17.cc +++ b/tests/vector/complex_vector_17.cc @@ -45,8 +45,7 @@ void test (Vector > &v) int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/vector/complex_vector_18.cc b/tests/vector/complex_vector_18.cc index 05cc288890..0edc922461 100644 --- a/tests/vector/complex_vector_18.cc +++ b/tests/vector/complex_vector_18.cc @@ -46,8 +46,7 @@ void test (Vector > &v) int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/vector/complex_vector_19.cc b/tests/vector/complex_vector_19.cc index 270b579fd5..dcfda9b742 100644 --- a/tests/vector/complex_vector_19.cc +++ b/tests/vector/complex_vector_19.cc @@ -46,8 +46,7 @@ void test (Vector > &v) int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/vector/complex_vector_20.cc b/tests/vector/complex_vector_20.cc index 8690edb379..f7d4f443bb 100644 --- a/tests/vector/complex_vector_20.cc +++ b/tests/vector/complex_vector_20.cc @@ -54,8 +54,7 @@ void test (Vector > &v) int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/vector/complex_vector_21.cc b/tests/vector/complex_vector_21.cc index 1a4e8e2e50..a337910f0e 100644 --- a/tests/vector/complex_vector_21.cc +++ b/tests/vector/complex_vector_21.cc @@ -54,8 +54,7 @@ void test (Vector > &v) int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/vector/complex_vector_21_negative.cc b/tests/vector/complex_vector_21_negative.cc index 483dd2375d..79a59dcab9 100644 --- a/tests/vector/complex_vector_21_negative.cc +++ b/tests/vector/complex_vector_21_negative.cc @@ -56,8 +56,7 @@ void test (Vector > &v) int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/vector/complex_vector_22.cc b/tests/vector/complex_vector_22.cc index bb8310fdaa..9fe7f5a7f3 100644 --- a/tests/vector/complex_vector_22.cc +++ b/tests/vector/complex_vector_22.cc @@ -48,8 +48,7 @@ void test (Vector > &v, int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/vector/complex_vector_23.cc b/tests/vector/complex_vector_23.cc index 54635fdce1..46955ea820 100644 --- a/tests/vector/complex_vector_23.cc +++ b/tests/vector/complex_vector_23.cc @@ -62,8 +62,7 @@ void test (Vector > &v, int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/vector/complex_vector_24.cc b/tests/vector/complex_vector_24.cc index 9d95792957..c36f542b86 100644 --- a/tests/vector/complex_vector_24.cc +++ b/tests/vector/complex_vector_24.cc @@ -48,8 +48,7 @@ void test (Vector > &v) int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/vector/complex_vector_25.cc b/tests/vector/complex_vector_25.cc index 789a32b3d5..1db3fe515c 100644 --- a/tests/vector/complex_vector_25.cc +++ b/tests/vector/complex_vector_25.cc @@ -44,8 +44,7 @@ void test (Vector > &v) int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/vector/complex_vector_26.cc b/tests/vector/complex_vector_26.cc index c67bdadf63..fe092965a8 100644 --- a/tests/vector/complex_vector_26.cc +++ b/tests/vector/complex_vector_26.cc @@ -43,8 +43,7 @@ void test (Vector > &v) int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/vector/complex_vector_27.cc b/tests/vector/complex_vector_27.cc index 5dc105dd14..ecfcec9386 100644 --- a/tests/vector/complex_vector_27.cc +++ b/tests/vector/complex_vector_27.cc @@ -50,8 +50,7 @@ void test (Vector > &v) int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/vector/complex_vector_28.cc b/tests/vector/complex_vector_28.cc index 605e331821..48b622442d 100644 --- a/tests/vector/complex_vector_28.cc +++ b/tests/vector/complex_vector_28.cc @@ -52,8 +52,7 @@ void test (Vector > &v) int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/vector/complex_vector_29.cc b/tests/vector/complex_vector_29.cc index 89d2448127..8784411b38 100644 --- a/tests/vector/complex_vector_29.cc +++ b/tests/vector/complex_vector_29.cc @@ -37,8 +37,7 @@ void test (Vector > &v) int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/vector/complex_vector_30.cc b/tests/vector/complex_vector_30.cc index 9db35bd64a..6067a9cdfe 100644 --- a/tests/vector/complex_vector_30.cc +++ b/tests/vector/complex_vector_30.cc @@ -45,8 +45,7 @@ void test (Vector > &v) int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/vector/complex_vector_31.cc b/tests/vector/complex_vector_31.cc index 5eb0a0afa5..109dbc120d 100644 --- a/tests/vector/complex_vector_31.cc +++ b/tests/vector/complex_vector_31.cc @@ -47,8 +47,7 @@ void test (Vector > &v) int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/vector/complex_vector_32.cc b/tests/vector/complex_vector_32.cc index 8c75de12de..90e9aea9e3 100644 --- a/tests/vector/complex_vector_32.cc +++ b/tests/vector/complex_vector_32.cc @@ -47,8 +47,7 @@ void test (Vector > &v) int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/vector/complex_vector_33.cc b/tests/vector/complex_vector_33.cc index 5dbf2f71dd..0f067150b5 100644 --- a/tests/vector/complex_vector_33.cc +++ b/tests/vector/complex_vector_33.cc @@ -48,8 +48,7 @@ void test (Vector > &v) int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/vector/complex_vector_34.cc b/tests/vector/complex_vector_34.cc index 6390376153..01f9b6b38c 100644 --- a/tests/vector/complex_vector_34.cc +++ b/tests/vector/complex_vector_34.cc @@ -46,8 +46,7 @@ void test (Vector > &v) int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/vector/complex_vector_35.cc b/tests/vector/complex_vector_35.cc index 324696488e..fb54dfa6be 100644 --- a/tests/vector/complex_vector_35.cc +++ b/tests/vector/complex_vector_35.cc @@ -66,8 +66,7 @@ void test (Vector > &v, int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/vector/complex_vector_36.cc b/tests/vector/complex_vector_36.cc index 2eb58dced4..8852fca0c0 100644 --- a/tests/vector/complex_vector_36.cc +++ b/tests/vector/complex_vector_36.cc @@ -66,8 +66,7 @@ void test (Vector > &v, int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/vector/complex_vector_37.cc b/tests/vector/complex_vector_37.cc index f2b200d519..dad48fbf1d 100644 --- a/tests/vector/complex_vector_37.cc +++ b/tests/vector/complex_vector_37.cc @@ -45,8 +45,7 @@ void test (Vector > &v) int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/vector/complex_vector_38.cc b/tests/vector/complex_vector_38.cc index 769e7a01e6..acf68d2562 100644 --- a/tests/vector/complex_vector_38.cc +++ b/tests/vector/complex_vector_38.cc @@ -54,8 +54,7 @@ void test (Vector > &v, int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/vector/complex_vector_39.cc b/tests/vector/complex_vector_39.cc index 8faf9ea853..90d0f338f8 100644 --- a/tests/vector/complex_vector_39.cc +++ b/tests/vector/complex_vector_39.cc @@ -54,8 +54,7 @@ void test (Vector > &v, int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/vector/complex_vector_40.cc b/tests/vector/complex_vector_40.cc index 540d7efcf2..55b147021c 100644 --- a/tests/vector/complex_vector_40.cc +++ b/tests/vector/complex_vector_40.cc @@ -57,8 +57,7 @@ void test (Vector > &v, int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/vector/complex_vector_41.cc b/tests/vector/complex_vector_41.cc index 2c375a0e94..0ee5bb0f86 100644 --- a/tests/vector/complex_vector_41.cc +++ b/tests/vector/complex_vector_41.cc @@ -54,8 +54,7 @@ void test (Vector > &v, int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/vector/complex_vector_42.cc b/tests/vector/complex_vector_42.cc index 5cfdc420dd..27262ba1a3 100644 --- a/tests/vector/complex_vector_42.cc +++ b/tests/vector/complex_vector_42.cc @@ -54,8 +54,7 @@ void test (Vector > &v, int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/vector/complex_vector_43.cc b/tests/vector/complex_vector_43.cc index 8e372afb2b..3079fd0bac 100644 --- a/tests/vector/complex_vector_43.cc +++ b/tests/vector/complex_vector_43.cc @@ -57,8 +57,7 @@ void test (Vector > &v, int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/vector/complex_vector_44.cc b/tests/vector/complex_vector_44.cc index 982aefb3c0..d7837de2b9 100644 --- a/tests/vector/complex_vector_44.cc +++ b/tests/vector/complex_vector_44.cc @@ -65,8 +65,7 @@ void test (Vector > &v, int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/vector/complex_vector_45.cc b/tests/vector/complex_vector_45.cc index a47cb0ec04..537cb4b980 100644 --- a/tests/vector/complex_vector_45.cc +++ b/tests/vector/complex_vector_45.cc @@ -52,8 +52,7 @@ void test (Vector > &v, int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/vector/complex_vector_46.cc b/tests/vector/complex_vector_46.cc index 18b7d14b28..17ad0144ff 100644 --- a/tests/vector/complex_vector_46.cc +++ b/tests/vector/complex_vector_46.cc @@ -54,8 +54,7 @@ void test (Vector > &v, int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/vector/complex_vector_47.cc b/tests/vector/complex_vector_47.cc index 25cb5deacb..08fb34407d 100644 --- a/tests/vector/complex_vector_47.cc +++ b/tests/vector/complex_vector_47.cc @@ -58,8 +58,7 @@ void test (Vector > &v, int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/vector/complex_vector_48.cc b/tests/vector/complex_vector_48.cc index f4ab003120..b811b1527f 100644 --- a/tests/vector/complex_vector_48.cc +++ b/tests/vector/complex_vector_48.cc @@ -61,8 +61,7 @@ void test (Vector > &v, int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/vector/complex_vector_49.cc b/tests/vector/complex_vector_49.cc index cb029e2f08..bb84ef95f9 100644 --- a/tests/vector/complex_vector_49.cc +++ b/tests/vector/complex_vector_49.cc @@ -50,8 +50,7 @@ void test (Vector > &v) int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/vector/complex_vector_equality_1.cc b/tests/vector/complex_vector_equality_1.cc index b50ce928f3..bd7370ca90 100644 --- a/tests/vector/complex_vector_equality_1.cc +++ b/tests/vector/complex_vector_equality_1.cc @@ -46,8 +46,7 @@ void test (Vector > &v, int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/vector/complex_vector_equality_2.cc b/tests/vector/complex_vector_equality_2.cc index 0c86465937..e90f175663 100644 --- a/tests/vector/complex_vector_equality_2.cc +++ b/tests/vector/complex_vector_equality_2.cc @@ -48,8 +48,7 @@ void test (Vector > &v, int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/vector/complex_vector_equality_3.cc b/tests/vector/complex_vector_equality_3.cc index 88c6cda4c3..62971716c8 100644 --- a/tests/vector/complex_vector_equality_3.cc +++ b/tests/vector/complex_vector_equality_3.cc @@ -46,8 +46,7 @@ void test (Vector > &v, int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/vector/complex_vector_equality_4.cc b/tests/vector/complex_vector_equality_4.cc index daec9afd39..39a39526c0 100644 --- a/tests/vector/complex_vector_equality_4.cc +++ b/tests/vector/complex_vector_equality_4.cc @@ -48,8 +48,7 @@ void test (Vector > &v, int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/vector/complex_vector_equality_5.cc b/tests/vector/complex_vector_equality_5.cc index eb8ce7cb69..c7de8675ca 100644 --- a/tests/vector/complex_vector_equality_5.cc +++ b/tests/vector/complex_vector_equality_5.cc @@ -47,8 +47,7 @@ void test (Vector > &v, int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/vector/complex_vector_equality_6.cc b/tests/vector/complex_vector_equality_6.cc index efe6a2d93f..f8871d24eb 100644 --- a/tests/vector/complex_vector_equality_6.cc +++ b/tests/vector/complex_vector_equality_6.cc @@ -49,8 +49,7 @@ void test (Vector > &v, int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/vector/complex_vector_equality_7.cc b/tests/vector/complex_vector_equality_7.cc index 13365de29c..8441179899 100644 --- a/tests/vector/complex_vector_equality_7.cc +++ b/tests/vector/complex_vector_equality_7.cc @@ -47,8 +47,7 @@ void test (Vector > &v, int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/vector/complex_vector_equality_8.cc b/tests/vector/complex_vector_equality_8.cc index 25c655327e..6d4d38fea3 100644 --- a/tests/vector/complex_vector_equality_8.cc +++ b/tests/vector/complex_vector_equality_8.cc @@ -49,8 +49,7 @@ void test (Vector > &v, int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/vector/complex_vector_vector_01.cc b/tests/vector/complex_vector_vector_01.cc index 2078b9ca00..7bd3f8098d 100644 --- a/tests/vector/complex_vector_vector_01.cc +++ b/tests/vector/complex_vector_vector_01.cc @@ -41,8 +41,7 @@ void test (Vector > &v) int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/vector/vector_11.cc b/tests/vector/vector_11.cc index 07212c0b09..fa8f9b2b5c 100644 --- a/tests/vector/vector_11.cc +++ b/tests/vector/vector_11.cc @@ -40,8 +40,7 @@ void test (Vector &v) int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/vector/vector_12.cc b/tests/vector/vector_12.cc index 3f84e073aa..6b2ced9d60 100644 --- a/tests/vector/vector_12.cc +++ b/tests/vector/vector_12.cc @@ -53,8 +53,7 @@ void test (Vector &v) int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/vector/vector_13.cc b/tests/vector/vector_13.cc index bad4a60799..fcc005663e 100644 --- a/tests/vector/vector_13.cc +++ b/tests/vector/vector_13.cc @@ -53,8 +53,7 @@ void test (Vector &v) int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/vector/vector_14.cc b/tests/vector/vector_14.cc index 0575551bd2..26240b5d86 100644 --- a/tests/vector/vector_14.cc +++ b/tests/vector/vector_14.cc @@ -59,8 +59,7 @@ void test (Vector &v) int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/vector/vector_15.cc b/tests/vector/vector_15.cc index d55b815f72..548837def5 100644 --- a/tests/vector/vector_15.cc +++ b/tests/vector/vector_15.cc @@ -56,8 +56,7 @@ void test (Vector &v) int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/vector/vector_16.cc b/tests/vector/vector_16.cc index d099349631..3d9ad8a450 100644 --- a/tests/vector/vector_16.cc +++ b/tests/vector/vector_16.cc @@ -58,8 +58,7 @@ void test (Vector &v) int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/vector/vector_17.cc b/tests/vector/vector_17.cc index fc441bb847..6a667f9a06 100644 --- a/tests/vector/vector_17.cc +++ b/tests/vector/vector_17.cc @@ -45,8 +45,7 @@ void test (Vector &v) int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/vector/vector_18.cc b/tests/vector/vector_18.cc index 2d64f9e5f7..52aad5b6dc 100644 --- a/tests/vector/vector_18.cc +++ b/tests/vector/vector_18.cc @@ -45,8 +45,7 @@ void test (Vector &v) int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/vector/vector_19.cc b/tests/vector/vector_19.cc index e1e5e19a34..d5a50be862 100644 --- a/tests/vector/vector_19.cc +++ b/tests/vector/vector_19.cc @@ -45,8 +45,7 @@ void test (Vector &v) int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/vector/vector_20.cc b/tests/vector/vector_20.cc index 29e4e536d6..4c098593ac 100644 --- a/tests/vector/vector_20.cc +++ b/tests/vector/vector_20.cc @@ -54,8 +54,7 @@ void test (Vector &v) int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/vector/vector_21.cc b/tests/vector/vector_21.cc index 30e1efbd0d..054a39521d 100644 --- a/tests/vector/vector_21.cc +++ b/tests/vector/vector_21.cc @@ -54,8 +54,7 @@ void test (Vector &v) int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/vector/vector_21_negative.cc b/tests/vector/vector_21_negative.cc index b74a728dbb..0ad1d5af34 100644 --- a/tests/vector/vector_21_negative.cc +++ b/tests/vector/vector_21_negative.cc @@ -56,8 +56,7 @@ void test (Vector &v) int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/vector/vector_22.cc b/tests/vector/vector_22.cc index c88af45094..4eb09fa5a8 100644 --- a/tests/vector/vector_22.cc +++ b/tests/vector/vector_22.cc @@ -48,8 +48,7 @@ void test (Vector &v, int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/vector/vector_23.cc b/tests/vector/vector_23.cc index 2a194325a5..2e0a59026d 100644 --- a/tests/vector/vector_23.cc +++ b/tests/vector/vector_23.cc @@ -55,8 +55,7 @@ void test (Vector &v, int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/vector/vector_24.cc b/tests/vector/vector_24.cc index 2877dc9764..ac8fc36bdb 100644 --- a/tests/vector/vector_24.cc +++ b/tests/vector/vector_24.cc @@ -48,8 +48,7 @@ void test (Vector &v) int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/vector/vector_26.cc b/tests/vector/vector_26.cc index c57204efef..b1ff54dedb 100644 --- a/tests/vector/vector_26.cc +++ b/tests/vector/vector_26.cc @@ -43,8 +43,7 @@ void test (Vector &v) int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/vector/vector_27.cc b/tests/vector/vector_27.cc index 7bb5156ce6..6f26e3d8e0 100644 --- a/tests/vector/vector_27.cc +++ b/tests/vector/vector_27.cc @@ -49,8 +49,7 @@ void test (Vector &v) int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/vector/vector_28.cc b/tests/vector/vector_28.cc index f6ec9e883e..100cac05b4 100644 --- a/tests/vector/vector_28.cc +++ b/tests/vector/vector_28.cc @@ -51,8 +51,7 @@ void test (Vector &v) int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/vector/vector_29.cc b/tests/vector/vector_29.cc index fd358d715c..7f94da2da7 100644 --- a/tests/vector/vector_29.cc +++ b/tests/vector/vector_29.cc @@ -37,8 +37,7 @@ void test (Vector &v) int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/vector/vector_30.cc b/tests/vector/vector_30.cc index 79f7520176..6e864f502e 100644 --- a/tests/vector/vector_30.cc +++ b/tests/vector/vector_30.cc @@ -45,8 +45,7 @@ void test (Vector &v) int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/vector/vector_31.cc b/tests/vector/vector_31.cc index 5ed4252f39..cf41cd7eb6 100644 --- a/tests/vector/vector_31.cc +++ b/tests/vector/vector_31.cc @@ -46,8 +46,7 @@ void test (Vector &v) int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/vector/vector_32.cc b/tests/vector/vector_32.cc index 4f638834f4..155cba7b12 100644 --- a/tests/vector/vector_32.cc +++ b/tests/vector/vector_32.cc @@ -46,8 +46,7 @@ void test (Vector &v) int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/vector/vector_33.cc b/tests/vector/vector_33.cc index 6b0088c307..c72f838b79 100644 --- a/tests/vector/vector_33.cc +++ b/tests/vector/vector_33.cc @@ -47,8 +47,7 @@ void test (Vector &v) int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/vector/vector_34.cc b/tests/vector/vector_34.cc index a9cc01df9a..6696716fb5 100644 --- a/tests/vector/vector_34.cc +++ b/tests/vector/vector_34.cc @@ -48,8 +48,7 @@ void test (Vector &v) int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/vector/vector_35.cc b/tests/vector/vector_35.cc index 914f38492a..393bef14d1 100644 --- a/tests/vector/vector_35.cc +++ b/tests/vector/vector_35.cc @@ -64,8 +64,7 @@ void test (Vector &v, int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/vector/vector_36.cc b/tests/vector/vector_36.cc index a5a45c36b1..473065d58c 100644 --- a/tests/vector/vector_36.cc +++ b/tests/vector/vector_36.cc @@ -64,8 +64,7 @@ void test (Vector &v, int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/vector/vector_37.cc b/tests/vector/vector_37.cc index 63bdc9e991..39db0ee9bb 100644 --- a/tests/vector/vector_37.cc +++ b/tests/vector/vector_37.cc @@ -44,8 +44,7 @@ void test (Vector &v) int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/vector/vector_38.cc b/tests/vector/vector_38.cc index 4f9c0a3ea8..28ad1c24e4 100644 --- a/tests/vector/vector_38.cc +++ b/tests/vector/vector_38.cc @@ -52,8 +52,7 @@ void test (Vector &v, int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/vector/vector_39.cc b/tests/vector/vector_39.cc index b3525debb3..d104abfe81 100644 --- a/tests/vector/vector_39.cc +++ b/tests/vector/vector_39.cc @@ -52,8 +52,7 @@ void test (Vector &v, int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/vector/vector_40.cc b/tests/vector/vector_40.cc index 9d5a28effa..ac8ddb949b 100644 --- a/tests/vector/vector_40.cc +++ b/tests/vector/vector_40.cc @@ -56,8 +56,7 @@ void test (Vector &v, int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/vector/vector_41.cc b/tests/vector/vector_41.cc index dfec3252ec..4b962731a5 100644 --- a/tests/vector/vector_41.cc +++ b/tests/vector/vector_41.cc @@ -52,8 +52,7 @@ void test (Vector &v, int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/vector/vector_42.cc b/tests/vector/vector_42.cc index 9428e059bb..92a94cbe90 100644 --- a/tests/vector/vector_42.cc +++ b/tests/vector/vector_42.cc @@ -52,8 +52,7 @@ void test (Vector &v, int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/vector/vector_43.cc b/tests/vector/vector_43.cc index 12bc89c9df..dc9f2d1811 100644 --- a/tests/vector/vector_43.cc +++ b/tests/vector/vector_43.cc @@ -56,8 +56,7 @@ void test (Vector &v, int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/vector/vector_44.cc b/tests/vector/vector_44.cc index 03a712b9c5..33f6fd0990 100644 --- a/tests/vector/vector_44.cc +++ b/tests/vector/vector_44.cc @@ -60,8 +60,7 @@ void test (Vector &v, int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/vector/vector_45.cc b/tests/vector/vector_45.cc index 9ce60f0251..7e3005fae5 100644 --- a/tests/vector/vector_45.cc +++ b/tests/vector/vector_45.cc @@ -52,8 +52,7 @@ void test (Vector &v, int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/vector/vector_46.cc b/tests/vector/vector_46.cc index d537bbbb0b..0b4a18da4e 100644 --- a/tests/vector/vector_46.cc +++ b/tests/vector/vector_46.cc @@ -52,8 +52,7 @@ void test (Vector &v, int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/vector/vector_47.cc b/tests/vector/vector_47.cc index e3c9e396f8..8a71ccf439 100644 --- a/tests/vector/vector_47.cc +++ b/tests/vector/vector_47.cc @@ -56,8 +56,7 @@ void test (Vector &v, int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/vector/vector_48.cc b/tests/vector/vector_48.cc index ac33d6d9f3..927430a6ba 100644 --- a/tests/vector/vector_48.cc +++ b/tests/vector/vector_48.cc @@ -57,8 +57,7 @@ void test (Vector &v, int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/vector/vector_49.cc b/tests/vector/vector_49.cc index 5db0c701e2..bb0a9e5788 100644 --- a/tests/vector/vector_49.cc +++ b/tests/vector/vector_49.cc @@ -49,8 +49,7 @@ void test (Vector &v) int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/vector/vector_57.cc b/tests/vector/vector_57.cc index 99e4145ec6..5e5f43c3a9 100644 --- a/tests/vector/vector_57.cc +++ b/tests/vector/vector_57.cc @@ -53,8 +53,7 @@ void test (Vector &v) int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/vector/vector_equality_1.cc b/tests/vector/vector_equality_1.cc index 5fffa0404e..f10ba47cdc 100644 --- a/tests/vector/vector_equality_1.cc +++ b/tests/vector/vector_equality_1.cc @@ -46,8 +46,7 @@ void test (Vector &v, int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/vector/vector_equality_2.cc b/tests/vector/vector_equality_2.cc index 7d58e17c17..aac7950061 100644 --- a/tests/vector/vector_equality_2.cc +++ b/tests/vector/vector_equality_2.cc @@ -48,8 +48,7 @@ void test (Vector &v, int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/vector/vector_equality_3.cc b/tests/vector/vector_equality_3.cc index da766d40f8..cad9c7c3fd 100644 --- a/tests/vector/vector_equality_3.cc +++ b/tests/vector/vector_equality_3.cc @@ -46,8 +46,7 @@ void test (Vector &v, int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/vector/vector_equality_4.cc b/tests/vector/vector_equality_4.cc index beef48a3d2..6d917daed5 100644 --- a/tests/vector/vector_equality_4.cc +++ b/tests/vector/vector_equality_4.cc @@ -48,8 +48,7 @@ void test (Vector &v, int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/vector/vector_equality_5.cc b/tests/vector/vector_equality_5.cc index 007598a42b..db4671d7ea 100644 --- a/tests/vector/vector_equality_5.cc +++ b/tests/vector/vector_equality_5.cc @@ -47,8 +47,7 @@ void test (Vector &v, int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/vector/vector_equality_6.cc b/tests/vector/vector_equality_6.cc index e7eed2acf8..56c87dfc86 100644 --- a/tests/vector/vector_equality_6.cc +++ b/tests/vector/vector_equality_6.cc @@ -49,8 +49,7 @@ void test (Vector &v, int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/vector/vector_equality_7.cc b/tests/vector/vector_equality_7.cc index d066ae0db3..ed2c19577b 100644 --- a/tests/vector/vector_equality_7.cc +++ b/tests/vector/vector_equality_7.cc @@ -47,8 +47,7 @@ void test (Vector &v, int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/vector/vector_equality_8.cc b/tests/vector/vector_equality_8.cc index 710625517e..12fb023dfd 100644 --- a/tests/vector/vector_equality_8.cc +++ b/tests/vector/vector_equality_8.cc @@ -49,8 +49,7 @@ void test (Vector &v, int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try diff --git a/tests/vector/vector_vector_01.cc b/tests/vector/vector_vector_01.cc index f364595998..0f20e6f3ff 100644 --- a/tests/vector/vector_vector_01.cc +++ b/tests/vector/vector_vector_01.cc @@ -41,8 +41,7 @@ void test (Vector &v) int main () { - std::ofstream logfile("output"); - deallog.attach(logfile); + initlog(); deallog.threshold_double(1.e-10); try -- 2.39.5