]> https://gitweb.dealii.org/ - dealii.git/commitdiff
clang-format: run indent-all 15903/head
authorMatthias Maier <tamiko@43-1.org>
Wed, 23 Aug 2023 18:29:59 +0000 (13:29 -0500)
committerMatthias Maier <tamiko@43-1.org>
Wed, 23 Aug 2023 18:29:59 +0000 (13:29 -0500)
1609 files changed:
contrib/python-bindings/include/mapping_wrapper.h
contrib/python-bindings/include/tria_accessor_wrapper.h
contrib/python-bindings/include/triangulation_wrapper.h
contrib/python-bindings/source/mapping_wrapper.cc
contrib/python-bindings/source/tria_accessor_wrapper.cc
contrib/python-bindings/source/triangulation_wrapper.cc
examples/step-12/step-12.cc
examples/step-12b/step-12b.cc
examples/step-13/step-13.cc
examples/step-14/step-14.cc
examples/step-15/step-15.cc
examples/step-16/step-16.cc
examples/step-16b/step-16b.cc
examples/step-17/step-17.cc
examples/step-18/step-18.cc
examples/step-19/step-19.cc
examples/step-2/step-2.cc
examples/step-20/step-20.cc
examples/step-21/step-21.cc
examples/step-22/step-22.cc
examples/step-23/step-23.cc
examples/step-25/step-25.cc
examples/step-26/step-26.cc
examples/step-27/step-27.cc
examples/step-28/step-28.cc
examples/step-29/step-29.cc
examples/step-30/step-30.cc
examples/step-31/step-31.cc
examples/step-32/step-32.cc
examples/step-33/step-33.cc
examples/step-35/step-35.cc
examples/step-37/step-37.cc
examples/step-38/step-38.cc
examples/step-39/step-39.cc
examples/step-4/step-4.cc
examples/step-41/step-41.cc
examples/step-42/step-42.cc
examples/step-43/step-43.cc
examples/step-44/step-44.cc
examples/step-45/step-45.cc
examples/step-46/step-46.cc
examples/step-47/step-47.cc
examples/step-48/step-48.cc
examples/step-49/step-49.cc
examples/step-50/step-50.cc
examples/step-51/step-51.cc
examples/step-54/step-54.cc
examples/step-55/step-55.cc
examples/step-56/step-56.cc
examples/step-57/step-57.cc
examples/step-58/step-58.cc
examples/step-59/step-59.cc
examples/step-61/step-61.cc
examples/step-62/step-62.cc
examples/step-63/step-63.cc
examples/step-64/step-64.cc
examples/step-66/step-66.cc
examples/step-67/step-67.cc
examples/step-68/step-68.cc
examples/step-69/step-69.cc
examples/step-7/step-7.cc
examples/step-71/step-71.cc
examples/step-72/step-72.cc
examples/step-74/step-74.cc
examples/step-75/step-75.cc
examples/step-76/step-76.cc
examples/step-77/step-77.cc
examples/step-78/step-78.cc
examples/step-79/step-79.cc
examples/step-8/step-8.cc
examples/step-81/step-81.cc
examples/step-82/step-82.cc
examples/step-85/step-85.cc
examples/step-9/step-9.cc
include/deal.II/algorithms/any_data.h
include/deal.II/algorithms/general_data_storage.h
include/deal.II/algorithms/theta_timestepping.templates.h
include/deal.II/base/aligned_vector.h
include/deal.II/base/array_view.h
include/deal.II/base/auto_derivative_function.h
include/deal.II/base/bounding_box_data_out.h
include/deal.II/base/cuda.h
include/deal.II/base/data_out_base.h
include/deal.II/base/derivative_form.h
include/deal.II/base/exceptions.h
include/deal.II/base/flow_function.h
include/deal.II/base/function.h
include/deal.II/base/function.templates.h
include/deal.II/base/function_bessel.h
include/deal.II/base/function_cspline.h
include/deal.II/base/function_derivative.h
include/deal.II/base/function_lib.h
include/deal.II/base/function_parser.h
include/deal.II/base/function_restriction.h
include/deal.II/base/function_signed_distance.h
include/deal.II/base/function_spherical.h
include/deal.II/base/function_tools.h
include/deal.II/base/geometry_info.h
include/deal.II/base/graph_coloring.h
include/deal.II/base/hdf5.h
include/deal.II/base/incremental_function.h
include/deal.II/base/index_set.h
include/deal.II/base/iterator_range.h
include/deal.II/base/linear_index_iterator.h
include/deal.II/base/logstream.h
include/deal.II/base/memory_space_data.h
include/deal.II/base/mpi.h
include/deal.II/base/mpi.templates.h
include/deal.II/base/mpi_compute_index_owner_internal.h
include/deal.II/base/mpi_consensus_algorithms.h
include/deal.II/base/mpi_large_count.h
include/deal.II/base/mpi_noncontiguous_partitioner.h
include/deal.II/base/mpi_noncontiguous_partitioner.templates.h
include/deal.II/base/mpi_remote_point_evaluation.h
include/deal.II/base/mu_parser_internal.h
include/deal.II/base/mutable_bind.h
include/deal.II/base/numbers.h
include/deal.II/base/parallel.h
include/deal.II/base/parameter_acceptor.h
include/deal.II/base/parameter_handler.h
include/deal.II/base/parsed_convergence_table.h
include/deal.II/base/parsed_function.h
include/deal.II/base/partitioner.h
include/deal.II/base/partitioner.templates.h
include/deal.II/base/path_search.h
include/deal.II/base/patterns.h
include/deal.II/base/point.h
include/deal.II/base/polynomial.h
include/deal.II/base/polynomial_space.h
include/deal.II/base/polynomials_abf.h
include/deal.II/base/polynomials_adini.h
include/deal.II/base/polynomials_barycentric.h
include/deal.II/base/polynomials_bdm.h
include/deal.II/base/polynomials_bernardi_raugel.h
include/deal.II/base/polynomials_nedelec.h
include/deal.II/base/polynomials_piecewise.h
include/deal.II/base/polynomials_pyramid.h
include/deal.II/base/polynomials_rannacher_turek.h
include/deal.II/base/polynomials_raviart_thomas.h
include/deal.II/base/polynomials_rt_bubbles.h
include/deal.II/base/polynomials_wedge.h
include/deal.II/base/qprojector.h
include/deal.II/base/quadrature.h
include/deal.II/base/quadrature_lib.h
include/deal.II/base/quadrature_point_data.h
include/deal.II/base/scalar_polynomials_base.h
include/deal.II/base/subscriptor.h
include/deal.II/base/symbolic_function.h
include/deal.II/base/symbolic_function.templates.h
include/deal.II/base/symmetric_tensor.h
include/deal.II/base/symmetric_tensor.templates.h
include/deal.II/base/table.h
include/deal.II/base/table_handler.h
include/deal.II/base/template_constraints.h
include/deal.II/base/tensor.h
include/deal.II/base/tensor_accessors.h
include/deal.II/base/tensor_function.h
include/deal.II/base/tensor_function.templates.h
include/deal.II/base/tensor_function_parser.h
include/deal.II/base/tensor_polynomials_base.h
include/deal.II/base/tensor_product_polynomials.h
include/deal.II/base/tensor_product_polynomials_bubbles.h
include/deal.II/base/tensor_product_polynomials_const.h
include/deal.II/base/thread_local_storage.h
include/deal.II/base/thread_management.h
include/deal.II/base/time_stepping.h
include/deal.II/base/time_stepping.templates.h
include/deal.II/base/timer.h
include/deal.II/base/utilities.h
include/deal.II/base/vectorization.h
include/deal.II/base/work_stream.h
include/deal.II/cgal/intersections.h
include/deal.II/cgal/surface_mesh.h
include/deal.II/cgal/triangulation.h
include/deal.II/cgal/utilities.h
include/deal.II/differentiation/ad/ad_drivers.h
include/deal.II/differentiation/ad/ad_helpers.h
include/deal.II/differentiation/ad/sacado_number_types.h
include/deal.II/differentiation/sd/symengine_number_types.h
include/deal.II/differentiation/sd/symengine_number_visitor_internal.h
include/deal.II/differentiation/sd/symengine_optimizer.h
include/deal.II/differentiation/sd/symengine_scalar_operations.h
include/deal.II/differentiation/sd/symengine_tensor_operations.h
include/deal.II/differentiation/sd/symengine_utilities.h
include/deal.II/distributed/cell_data_transfer.h
include/deal.II/distributed/cell_data_transfer.templates.h
include/deal.II/distributed/cell_weights.h
include/deal.II/distributed/field_transfer.h
include/deal.II/distributed/fully_distributed_tria.h
include/deal.II/distributed/grid_refinement.h
include/deal.II/distributed/p4est_wrappers.h
include/deal.II/distributed/shared_tria.h
include/deal.II/distributed/solution_transfer.h
include/deal.II/distributed/tria.h
include/deal.II/dofs/dof_accessor.h
include/deal.II/dofs/dof_accessor.templates.h
include/deal.II/dofs/dof_renumbering.h
include/deal.II/dofs/dof_tools.h
include/deal.II/dofs/number_cache.h
include/deal.II/fe/fe.h
include/deal.II/fe/fe_abf.h
include/deal.II/fe/fe_bdm.h
include/deal.II/fe/fe_bernardi_raugel.h
include/deal.II/fe/fe_bernstein.h
include/deal.II/fe/fe_dgp.h
include/deal.II/fe/fe_dgp_monomial.h
include/deal.II/fe/fe_dgp_nonparametric.h
include/deal.II/fe/fe_dgq.h
include/deal.II/fe/fe_enriched.h
include/deal.II/fe/fe_face.h
include/deal.II/fe/fe_interface_values.h
include/deal.II/fe/fe_nedelec.h
include/deal.II/fe/fe_nedelec_sz.h
include/deal.II/fe/fe_nothing.h
include/deal.II/fe/fe_p1nc.h
include/deal.II/fe/fe_poly.h
include/deal.II/fe/fe_poly.templates.h
include/deal.II/fe/fe_poly_face.h
include/deal.II/fe/fe_poly_face.templates.h
include/deal.II/fe/fe_poly_tensor.h
include/deal.II/fe/fe_pyramid_p.h
include/deal.II/fe/fe_q.h
include/deal.II/fe/fe_q_base.h
include/deal.II/fe/fe_q_bubbles.h
include/deal.II/fe/fe_q_dg0.h
include/deal.II/fe/fe_q_hierarchical.h
include/deal.II/fe/fe_q_iso_q1.h
include/deal.II/fe/fe_rannacher_turek.h
include/deal.II/fe/fe_raviart_thomas.h
include/deal.II/fe/fe_rt_bubbles.h
include/deal.II/fe/fe_series.h
include/deal.II/fe/fe_simplex_p.h
include/deal.II/fe/fe_system.h
include/deal.II/fe/fe_tools.h
include/deal.II/fe/fe_tools.templates.h
include/deal.II/fe/fe_tools_extrapolate.templates.h
include/deal.II/fe/fe_tools_interpolate.templates.h
include/deal.II/fe/fe_trace.h
include/deal.II/fe/fe_values.h
include/deal.II/fe/fe_values_base.h
include/deal.II/fe/fe_values_views.h
include/deal.II/fe/fe_values_views_internal.h
include/deal.II/fe/fe_wedge_p.h
include/deal.II/fe/mapping.h
include/deal.II/fe/mapping_c1.h
include/deal.II/fe/mapping_cartesian.h
include/deal.II/fe/mapping_fe.h
include/deal.II/fe/mapping_fe_field.h
include/deal.II/fe/mapping_manifold.h
include/deal.II/fe/mapping_q.h
include/deal.II/fe/mapping_q1_eulerian.h
include/deal.II/fe/mapping_q_cache.h
include/deal.II/fe/mapping_q_eulerian.h
include/deal.II/fe/mapping_q_internal.h
include/deal.II/gmsh/utilities.h
include/deal.II/grid/cell_id.h
include/deal.II/grid/cell_id_translator.h
include/deal.II/grid/connectivity.h
include/deal.II/grid/filtered_iterator.h
include/deal.II/grid/grid_generator.h
include/deal.II/grid/grid_in.h
include/deal.II/grid/grid_out.h
include/deal.II/grid/grid_refinement.h
include/deal.II/grid/grid_tools.h
include/deal.II/grid/grid_tools_cache.h
include/deal.II/grid/manifold.h
include/deal.II/grid/manifold_lib.h
include/deal.II/grid/persistent_tria.h
include/deal.II/grid/reference_cell.h
include/deal.II/grid/tensor_product_manifold.h
include/deal.II/grid/tria.h
include/deal.II/grid/tria_accessor.h
include/deal.II/grid/tria_accessor.templates.h
include/deal.II/grid/tria_description.h
include/deal.II/grid/tria_faces.h
include/deal.II/grid/tria_iterator.h
include/deal.II/grid/tria_iterator.templates.h
include/deal.II/grid/tria_objects.h
include/deal.II/hp/fe_values.h
include/deal.II/hp/refinement.h
include/deal.II/integrators/advection.h
include/deal.II/integrators/divergence.h
include/deal.II/integrators/elasticity.h
include/deal.II/integrators/grad_div.h
include/deal.II/integrators/l2.h
include/deal.II/integrators/laplace.h
include/deal.II/integrators/maxwell.h
include/deal.II/integrators/patches.h
include/deal.II/lac/affine_constraints.h
include/deal.II/lac/affine_constraints.templates.h
include/deal.II/lac/arpack_solver.h
include/deal.II/lac/blas_extension_templates.h
include/deal.II/lac/block_linear_operator.h
include/deal.II/lac/block_matrix_base.h
include/deal.II/lac/block_sparse_matrix.h
include/deal.II/lac/block_sparse_matrix.templates.h
include/deal.II/lac/block_sparse_matrix_ez.h
include/deal.II/lac/block_sparsity_pattern.h
include/deal.II/lac/block_vector.h
include/deal.II/lac/block_vector.templates.h
include/deal.II/lac/block_vector_base.h
include/deal.II/lac/chunk_sparse_matrix.h
include/deal.II/lac/chunk_sparse_matrix.templates.h
include/deal.II/lac/constrained_linear_operator.h
include/deal.II/lac/cuda_kernels.h
include/deal.II/lac/cuda_kernels.templates.h
include/deal.II/lac/cuda_precondition.h
include/deal.II/lac/cuda_solver_direct.h
include/deal.II/lac/cuda_sparse_matrix.h
include/deal.II/lac/cuda_vector.h
include/deal.II/lac/diagonal_matrix.h
include/deal.II/lac/dynamic_sparsity_pattern.h
include/deal.II/lac/eigen.h
include/deal.II/lac/full_matrix.h
include/deal.II/lac/full_matrix.templates.h
include/deal.II/lac/ginkgo_solver.h
include/deal.II/lac/householder.h
include/deal.II/lac/la_parallel_block_vector.h
include/deal.II/lac/la_parallel_block_vector.templates.h
include/deal.II/lac/la_parallel_vector.h
include/deal.II/lac/la_parallel_vector.templates.h
include/deal.II/lac/lapack_full_matrix.h
include/deal.II/lac/lapack_templates.h
include/deal.II/lac/linear_operator.h
include/deal.II/lac/matrix_block.h
include/deal.II/lac/matrix_iterator.h
include/deal.II/lac/matrix_out.h
include/deal.II/lac/packaged_operation.h
include/deal.II/lac/parpack_solver.h
include/deal.II/lac/petsc_block_sparse_matrix.h
include/deal.II/lac/petsc_block_vector.h
include/deal.II/lac/petsc_communication_pattern.h
include/deal.II/lac/petsc_compatibility.h
include/deal.II/lac/petsc_matrix_base.h
include/deal.II/lac/petsc_precondition.h
include/deal.II/lac/petsc_snes.h
include/deal.II/lac/petsc_snes.templates.h
include/deal.II/lac/petsc_solver.h
include/deal.II/lac/petsc_sparse_matrix.h
include/deal.II/lac/petsc_ts.h
include/deal.II/lac/petsc_ts.templates.h
include/deal.II/lac/petsc_vector.h
include/deal.II/lac/petsc_vector_base.h
include/deal.II/lac/precondition.h
include/deal.II/lac/precondition_block.h
include/deal.II/lac/precondition_block.templates.h
include/deal.II/lac/precondition_block_base.h
include/deal.II/lac/precondition_selector.h
include/deal.II/lac/qr.h
include/deal.II/lac/read_write_vector.h
include/deal.II/lac/read_write_vector.templates.h
include/deal.II/lac/relaxation_block.h
include/deal.II/lac/relaxation_block.templates.h
include/deal.II/lac/scalapack.h
include/deal.II/lac/scalapack.templates.h
include/deal.II/lac/schur_complement.h
include/deal.II/lac/slepc_solver.h
include/deal.II/lac/solver.h
include/deal.II/lac/solver_bicgstab.h
include/deal.II/lac/solver_cg.h
include/deal.II/lac/solver_fire.h
include/deal.II/lac/solver_gmres.h
include/deal.II/lac/solver_idr.h
include/deal.II/lac/solver_minres.h
include/deal.II/lac/solver_qmrs.h
include/deal.II/lac/solver_relaxation.h
include/deal.II/lac/solver_richardson.h
include/deal.II/lac/solver_selector.h
include/deal.II/lac/sparse_decomposition.h
include/deal.II/lac/sparse_decomposition.templates.h
include/deal.II/lac/sparse_direct.h
include/deal.II/lac/sparse_ilu.h
include/deal.II/lac/sparse_ilu.templates.h
include/deal.II/lac/sparse_matrix.h
include/deal.II/lac/sparse_matrix.templates.h
include/deal.II/lac/sparse_matrix_ez.h
include/deal.II/lac/sparse_matrix_ez.templates.h
include/deal.II/lac/sparse_matrix_tools.h
include/deal.II/lac/sparse_mic.h
include/deal.II/lac/sparse_mic.templates.h
include/deal.II/lac/sparse_vanka.h
include/deal.II/lac/sparse_vanka.templates.h
include/deal.II/lac/sparsity_pattern.h
include/deal.II/lac/sparsity_pattern_base.h
include/deal.II/lac/sparsity_tools.h
include/deal.II/lac/tensor_product_matrix.h
include/deal.II/lac/tensor_product_matrix.templates.h
include/deal.II/lac/tridiagonal_matrix.h
include/deal.II/lac/trilinos_block_sparse_matrix.h
include/deal.II/lac/trilinos_epetra_vector.h
include/deal.II/lac/trilinos_index_access.h
include/deal.II/lac/trilinos_linear_operator.h
include/deal.II/lac/trilinos_parallel_block_vector.h
include/deal.II/lac/trilinos_precondition.h
include/deal.II/lac/trilinos_solver.h
include/deal.II/lac/trilinos_sparse_matrix.h
include/deal.II/lac/trilinos_sparsity_pattern.h
include/deal.II/lac/trilinos_tpetra_vector.h
include/deal.II/lac/trilinos_tpetra_vector.templates.h
include/deal.II/lac/trilinos_vector.h
include/deal.II/lac/utilities.h
include/deal.II/lac/vector.h
include/deal.II/lac/vector.templates.h
include/deal.II/lac/vector_element_access.h
include/deal.II/lac/vector_operations_internal.h
include/deal.II/matrix_free/constraint_info.h
include/deal.II/matrix_free/cuda_fe_evaluation.h
include/deal.II/matrix_free/cuda_hanging_nodes_internal.h
include/deal.II/matrix_free/cuda_matrix_free.h
include/deal.II/matrix_free/cuda_matrix_free.templates.h
include/deal.II/matrix_free/cuda_tensor_product_kernels.h
include/deal.II/matrix_free/dof_info.h
include/deal.II/matrix_free/dof_info.templates.h
include/deal.II/matrix_free/evaluation_kernels.h
include/deal.II/matrix_free/evaluation_kernels_hanging_nodes.h
include/deal.II/matrix_free/evaluation_selector.h
include/deal.II/matrix_free/evaluation_template_face_factory.templates.h
include/deal.II/matrix_free/evaluation_template_factory.h
include/deal.II/matrix_free/evaluation_template_factory.templates.h
include/deal.II/matrix_free/evaluation_template_factory_hanging_nodes.templates.h
include/deal.II/matrix_free/face_setup_internal.h
include/deal.II/matrix_free/fe_evaluation.h
include/deal.II/matrix_free/fe_evaluation_data.h
include/deal.II/matrix_free/fe_point_evaluation.h
include/deal.II/matrix_free/hanging_nodes_internal.h
include/deal.II/matrix_free/mapping_data_on_the_fly.h
include/deal.II/matrix_free/mapping_info.h
include/deal.II/matrix_free/mapping_info.templates.h
include/deal.II/matrix_free/mapping_info_storage.h
include/deal.II/matrix_free/mapping_info_storage.templates.h
include/deal.II/matrix_free/matrix_free.h
include/deal.II/matrix_free/matrix_free.templates.h
include/deal.II/matrix_free/operators.h
include/deal.II/matrix_free/shape_info.h
include/deal.II/matrix_free/shape_info.templates.h
include/deal.II/matrix_free/task_info.h
include/deal.II/matrix_free/tensor_product_kernels.h
include/deal.II/matrix_free/tools.h
include/deal.II/matrix_free/type_traits.h
include/deal.II/matrix_free/vector_access_internal.h
include/deal.II/matrix_free/vector_data_exchange.h
include/deal.II/meshworker/assembler.h
include/deal.II/meshworker/copy_data.h
include/deal.II/meshworker/integration_info.h
include/deal.II/meshworker/loop.h
include/deal.II/meshworker/mesh_loop.h
include/deal.II/meshworker/scratch_data.h
include/deal.II/meshworker/simple.h
include/deal.II/meshworker/vector_selector.h
include/deal.II/meshworker/vector_selector.templates.h
include/deal.II/multigrid/mg_base.h
include/deal.II/multigrid/mg_block_smoother.h
include/deal.II/multigrid/mg_coarse.h
include/deal.II/multigrid/mg_constrained_dofs.h
include/deal.II/multigrid/mg_matrix.h
include/deal.II/multigrid/mg_smoother.h
include/deal.II/multigrid/mg_tools.h
include/deal.II/multigrid/mg_transfer.h
include/deal.II/multigrid/mg_transfer.templates.h
include/deal.II/multigrid/mg_transfer_block.h
include/deal.II/multigrid/mg_transfer_block.templates.h
include/deal.II/multigrid/mg_transfer_component.h
include/deal.II/multigrid/mg_transfer_component.templates.h
include/deal.II/multigrid/mg_transfer_global_coarsening.h
include/deal.II/multigrid/mg_transfer_global_coarsening.templates.h
include/deal.II/multigrid/mg_transfer_internal.h
include/deal.II/multigrid/mg_transfer_matrix_free.h
include/deal.II/multigrid/mg_transfer_matrix_free.templates.h
include/deal.II/multigrid/multigrid.h
include/deal.II/non_matching/coupling.h
include/deal.II/non_matching/fe_immersed_values.h
include/deal.II/non_matching/fe_values.h
include/deal.II/non_matching/immersed_surface_quadrature.h
include/deal.II/non_matching/mapping_info.h
include/deal.II/non_matching/mesh_classifier.h
include/deal.II/non_matching/quadrature_generator.h
include/deal.II/numerics/adaptation_strategies.h
include/deal.II/numerics/cell_data_transfer.templates.h
include/deal.II/numerics/data_out.h
include/deal.II/numerics/data_out_dof_data.h
include/deal.II/numerics/data_out_dof_data.templates.h
include/deal.II/numerics/data_out_faces.h
include/deal.II/numerics/data_out_resample.h
include/deal.II/numerics/data_out_rotation.h
include/deal.II/numerics/data_out_stack.h
include/deal.II/numerics/derivative_approximation.h
include/deal.II/numerics/dof_print_solver_step.h
include/deal.II/numerics/error_estimator.h
include/deal.II/numerics/error_estimator.templates.h
include/deal.II/numerics/fe_field_function.h
include/deal.II/numerics/fe_field_function.templates.h
include/deal.II/numerics/histogram.h
include/deal.II/numerics/matrix_creator.h
include/deal.II/numerics/matrix_creator.templates.h
include/deal.II/numerics/matrix_tools.h
include/deal.II/numerics/nonlinear.h
include/deal.II/numerics/point_value_history.h
include/deal.II/numerics/rtree.h
include/deal.II/numerics/smoothness_estimator.h
include/deal.II/numerics/solution_transfer.h
include/deal.II/numerics/tensor_product_matrix_creator.h
include/deal.II/numerics/time_dependent.h
include/deal.II/numerics/vector_tools_boundary.h
include/deal.II/numerics/vector_tools_boundary.templates.h
include/deal.II/numerics/vector_tools_common.h
include/deal.II/numerics/vector_tools_constraints.h
include/deal.II/numerics/vector_tools_constraints.templates.h
include/deal.II/numerics/vector_tools_evaluate.h
include/deal.II/numerics/vector_tools_integrate_difference.h
include/deal.II/numerics/vector_tools_integrate_difference.templates.h
include/deal.II/numerics/vector_tools_interpolate.h
include/deal.II/numerics/vector_tools_interpolate.templates.h
include/deal.II/numerics/vector_tools_mean_value.h
include/deal.II/numerics/vector_tools_mean_value.templates.h
include/deal.II/numerics/vector_tools_point_gradient.h
include/deal.II/numerics/vector_tools_point_gradient.templates.h
include/deal.II/numerics/vector_tools_point_value.h
include/deal.II/numerics/vector_tools_point_value.templates.h
include/deal.II/numerics/vector_tools_project.h
include/deal.II/numerics/vector_tools_project.templates.h
include/deal.II/numerics/vector_tools_rhs.h
include/deal.II/numerics/vector_tools_rhs.templates.h
include/deal.II/opencascade/manifold_lib.h
include/deal.II/opencascade/utilities.h
include/deal.II/optimization/line_minimization.h
include/deal.II/optimization/rol/vector_adaptor.h
include/deal.II/optimization/solver_bfgs.h
include/deal.II/particles/generators.h
include/deal.II/particles/particle.h
include/deal.II/particles/particle_accessor.h
include/deal.II/particles/particle_handler.h
include/deal.II/particles/particle_iterator.h
include/deal.II/particles/utilities.h
include/deal.II/physics/notation.h
include/deal.II/physics/transformations.h
include/deal.II/sundials/arkode.h
include/deal.II/sundials/ida.h
include/deal.II/sundials/n_vector.templates.h
include/deal.II/sundials/sunlinsol_wrapper.h
include/deal.II/sundials/utilities.h
include/deal.II/trilinos/nox.h
include/deal.II/trilinos/nox.templates.h
source/arborx/access_traits.inst.in
source/base/auto_derivative_function.cc
source/base/data_out_base.cc
source/base/data_out_base.inst.in
source/base/flow_function.cc
source/base/function_derivative.cc
source/base/function_lib.cc
source/base/function_lib_cutoff.cc
source/base/function_parser.cc
source/base/function_restriction.cc
source/base/function_signed_distance.cc
source/base/function_spherical.cc
source/base/function_tools.cc
source/base/graph_coloring.cc
source/base/hdf5.cc
source/base/incremental_function.cc
source/base/index_set.cc
source/base/logstream.cc
source/base/mpi.cc
source/base/mpi.inst.in
source/base/mpi_compute_index_owner_internal.cc
source/base/mpi_noncontiguous_partitioner.inst.in
source/base/mpi_remote_point_evaluation.cc
source/base/mu_parser_internal.cc
source/base/parameter_acceptor.cc
source/base/parameter_handler.cc
source/base/parsed_convergence_table.cc
source/base/parsed_function.cc
source/base/path_search.cc
source/base/patterns.cc
source/base/polynomial.cc
source/base/polynomial_space.cc
source/base/polynomials_abf.cc
source/base/polynomials_adini.cc
source/base/polynomials_barycentric.cc
source/base/polynomials_bdm.cc
source/base/polynomials_bernardi_raugel.cc
source/base/polynomials_nedelec.cc
source/base/polynomials_piecewise.cc
source/base/polynomials_pyramid.cc
source/base/polynomials_rannacher_turek.cc
source/base/polynomials_raviart_thomas.cc
source/base/polynomials_rt_bubbles.cc
source/base/polynomials_wedge.cc
source/base/qprojector.cc
source/base/quadrature.cc
source/base/quadrature_lib.cc
source/base/subscriptor.cc
source/base/tensor_function_parser.cc
source/base/tensor_product_polynomials.cc
source/base/tensor_product_polynomials_bubbles.cc
source/base/tensor_product_polynomials_const.cc
source/base/timer.cc
source/base/utilities.cc
source/cgal/intersections.cc
source/cgal/intersections.inst.in
source/cgal/surface_mesh.cc
source/cgal/surface_mesh.inst.in
source/differentiation/ad/ad_drivers.cc
source/differentiation/ad/ad_helpers.cc
source/differentiation/sd/symengine_number_types.cc
source/differentiation/sd/symengine_optimizer.cc
source/differentiation/sd/symengine_scalar_operations.cc
source/differentiation/sd/symengine_tensor_operations.cc
source/differentiation/sd/symengine_tensor_operations.inst.in
source/distributed/cell_weights.cc
source/distributed/field_transfer.cc
source/distributed/fully_distributed_tria.cc
source/distributed/grid_refinement.cc
source/distributed/p4est_wrappers.cc
source/distributed/repartitioning_policy_tools.cc
source/distributed/shared_tria.cc
source/distributed/solution_transfer.cc
source/distributed/tria.cc
source/dofs/block_info.cc
source/dofs/dof_accessor_get.cc
source/dofs/dof_accessor_set.cc
source/dofs/dof_handler.cc
source/dofs/dof_handler_policy.cc
source/dofs/dof_renumbering.cc
source/dofs/dof_tools.cc
source/dofs/dof_tools.inst.in
source/dofs/dof_tools_constraints.cc
source/dofs/dof_tools_sparsity.cc
source/dofs/dof_tools_sparsity.inst.in
source/fe/fe.cc
source/fe/fe_abf.cc
source/fe/fe_bdm.cc
source/fe/fe_bernardi_raugel.cc
source/fe/fe_bernstein.cc
source/fe/fe_data.cc
source/fe/fe_dgp.cc
source/fe/fe_dgp_monomial.cc
source/fe/fe_dgp_nonparametric.cc
source/fe/fe_dgq.cc
source/fe/fe_enriched.cc
source/fe/fe_enriched.inst.in
source/fe/fe_face.cc
source/fe/fe_nedelec.cc
source/fe/fe_nedelec_sz.cc
source/fe/fe_p1nc.cc
source/fe/fe_poly_tensor.cc
source/fe/fe_pyramid_p.cc
source/fe/fe_q.cc
source/fe/fe_q_base.cc
source/fe/fe_q_bubbles.cc
source/fe/fe_q_dg0.cc
source/fe/fe_q_hierarchical.cc
source/fe/fe_q_iso_q1.cc
source/fe/fe_rannacher_turek.cc
source/fe/fe_raviart_thomas.cc
source/fe/fe_raviart_thomas_nodal.cc
source/fe/fe_rt_bubbles.cc
source/fe/fe_series_fourier.cc
source/fe/fe_series_legendre.cc
source/fe/fe_simplex_p.cc
source/fe/fe_system.cc
source/fe/fe_tools.inst.in
source/fe/fe_trace.cc
source/fe/fe_values.cc
source/fe/fe_values_base.cc
source/fe/fe_values_views.cc
source/fe/fe_values_views_internal.cc
source/fe/fe_wedge_p.cc
source/fe/mapping.cc
source/fe/mapping.inst.in
source/fe/mapping_c1.cc
source/fe/mapping_cartesian.cc
source/fe/mapping_fe.cc
source/fe/mapping_fe_field.cc
source/fe/mapping_manifold.cc
source/fe/mapping_q.cc
source/fe/mapping_q1_eulerian.cc
source/fe/mapping_q_cache.cc
source/fe/mapping_q_cache.inst.in
source/fe/mapping_q_eulerian.cc
source/gmsh/utilities.cc
source/gmsh/utilities.inst.in
source/grid/cell_id.cc
source/grid/grid_generator.cc
source/grid/grid_generator.inst.in
source/grid/grid_generator_cgal.cc
source/grid/grid_generator_from_name.cc
source/grid/grid_generator_pipe_junction.cc
source/grid/grid_in.cc
source/grid/grid_out.cc
source/grid/grid_refinement.cc
source/grid/grid_tools.cc
source/grid/grid_tools.inst.in
source/grid/grid_tools_cache.cc
source/grid/grid_tools_dof_handlers.cc
source/grid/grid_tools_nontemplates.cc
source/grid/manifold.cc
source/grid/manifold_lib.cc
source/grid/reference_cell.cc
source/grid/reference_cell.inst.in
source/grid/tria.cc
source/grid/tria_description.cc
source/grid/tria_description.inst.in
source/hp/fe_collection.cc
source/hp/fe_values.cc
source/hp/refinement.cc
source/lac/affine_constraints.cc
source/lac/block_sparsity_pattern.cc
source/lac/cuda_kernels.cc
source/lac/cuda_precondition.cc
source/lac/cuda_solver_direct.cc
source/lac/cuda_sparse_matrix.cc
source/lac/cuda_vector.cc
source/lac/dynamic_sparsity_pattern.cc
source/lac/exceptions.cc
source/lac/ginkgo_solver.cc
source/lac/la_parallel_vector.cc
source/lac/lapack_full_matrix.cc
source/lac/petsc_communication_pattern.cc
source/lac/petsc_communication_pattern.inst.in
source/lac/petsc_matrix_base.cc
source/lac/petsc_matrix_free.cc
source/lac/petsc_parallel_block_sparse_matrix.cc
source/lac/petsc_parallel_sparse_matrix.cc
source/lac/petsc_parallel_vector.cc
source/lac/petsc_precondition.cc
source/lac/petsc_solver.cc
source/lac/petsc_sparse_matrix.cc
source/lac/petsc_vector_base.cc
source/lac/qr.cc
source/lac/scalapack.cc
source/lac/slepc_solver.cc
source/lac/solver_control.cc
source/lac/sparse_direct.cc
source/lac/sparse_vanka.cc
source/lac/sparsity_pattern.cc
source/lac/sparsity_tools.cc
source/lac/tensor_product_matrix.inst.in
source/lac/tridiagonal_matrix.cc
source/lac/trilinos_block_sparse_matrix.cc
source/lac/trilinos_block_vector.cc
source/lac/trilinos_epetra_vector.cc
source/lac/trilinos_precondition.cc
source/lac/trilinos_precondition_ml.cc
source/lac/trilinos_precondition_muelu.cc
source/lac/trilinos_solver.cc
source/lac/trilinos_sparse_matrix.cc
source/lac/trilinos_sparsity_pattern.cc
source/lac/trilinos_vector.cc
source/lac/utilities.cc
source/lac/vector.inst.in
source/matrix_free/dof_info.cc
source/matrix_free/task_info.cc
source/matrix_free/vector_data_exchange.cc
source/meshworker/scratch_data.cc
source/multigrid/mg_base.cc
source/multigrid/mg_level_global_transfer.cc
source/multigrid/mg_tools.cc
source/multigrid/mg_tools.inst.in
source/multigrid/mg_transfer_block.cc
source/multigrid/mg_transfer_component.cc
source/multigrid/mg_transfer_internal.cc
source/multigrid/mg_transfer_matrix_free.cc
source/multigrid/mg_transfer_prebuilt.cc
source/multigrid/multigrid.cc
source/non_matching/coupling.cc
source/non_matching/coupling.inst.in
source/non_matching/fe_immersed_values.cc
source/non_matching/fe_values.cc
source/non_matching/immersed_surface_quadrature.cc
source/non_matching/mesh_classifier.cc
source/non_matching/quadrature_generator.cc
source/numerics/data_out.cc
source/numerics/data_out_faces.cc
source/numerics/data_out_resample.cc
source/numerics/data_out_rotation.cc
source/numerics/data_out_stack.cc
source/numerics/data_postprocessor.cc
source/numerics/derivative_approximation.cc
source/numerics/derivative_approximation.inst.in
source/numerics/error_estimator_1d.cc
source/numerics/histogram.cc
source/numerics/matrix_creator.inst.in
source/numerics/matrix_tools.cc
source/numerics/matrix_tools.inst.in
source/numerics/matrix_tools_once.cc
source/numerics/point_value_history.cc
source/numerics/smoothness_estimator.cc
source/numerics/solution_transfer.cc
source/numerics/time_dependent.cc
source/numerics/vector_tools_constraints.inst.in
source/numerics/vector_tools_mean_value.inst.in
source/opencascade/manifold_lib.cc
source/opencascade/utilities.cc
source/opencascade/utilities.inst.in
source/particles/data_out.cc
source/particles/generators.cc
source/particles/generators.inst.in
source/particles/particle.cc
source/particles/particle_handler.cc
source/particles/utilities.cc
source/particles/utilities.inst.in
source/sundials/arkode.cc
source/sundials/ida.cc
source/sundials/n_vector.inst.in
source/sundials/sunlinsol_wrapper.cc
tests/ad_common_tests/helper_scalar_coupled_2_components_06.h
tests/ad_common_tests/helper_scalar_coupled_2_components_06a.h
tests/ad_common_tests/helper_scalar_coupled_2_components_07.h
tests/ad_common_tests/helper_scalar_coupled_3_components_01.h
tests/ad_common_tests/helper_scalar_coupled_3_components_01_tapeless_only.h
tests/ad_common_tests/helper_scalar_coupled_4_components_01.h
tests/ad_common_tests/step-44-helper_res_lin_01.h
tests/ad_common_tests/step-44-helper_scalar_01.h
tests/ad_common_tests/step-44-helper_var_form_01.h
tests/ad_common_tests/step-44-helper_vector_01.h
tests/ad_common_tests/symmetric_tensor_functions_04.h
tests/adolc/basic_function_gradient_hessian_taped.cc
tests/adolc/basic_functions_jacobian_taped.cc
tests/adolc/step-44.cc
tests/algorithms/any_data_01.cc
tests/aniso/fe_tools.cc
tests/arpack/parpack_advection_diffusion_petsc.cc
tests/arpack/step-36_parpack.cc
tests/base/anisotropic_1.cc
tests/base/anisotropic_2.cc
tests/base/auto_derivative_function.cc
tests/base/bounding_box_data_out_02.cc
tests/base/bounding_box_data_out_03.cc
tests/base/cell_data_storage_01.cc
tests/base/cell_data_storage_03.cc
tests/base/function_derivative.cc
tests/base/function_parser_04.cc
tests/base/function_signed_distance_01.cc
tests/base/function_signed_distance_02.cc
tests/base/functions.h
tests/base/functions_04.cc
tests/base/functions_09.cc
tests/base/functions_cspline.cc
tests/base/functions_cspline_02.cc
tests/base/functions_singularity.cc
tests/base/hdf5_03.cc
tests/base/hdf5_04.cc
tests/base/hdf5_05.cc
tests/base/polynomial_lagrange.cc
tests/base/polynomial_lagrange_order.cc
tests/base/quadrature_chebyshev.cc
tests/base/quadrature_check_tensor_product.cc
tests/base/quadrature_point_data.cc
tests/base/quadrature_point_data_02.cc
tests/base/quadrature_point_data_03.cc
tests/base/quadrature_point_data_04.cc
tests/base/quadrature_selector.cc
tests/base/quadrature_sorted_test.cc
tests/base/quadrature_test.cc
tests/base/time_stepping_01.cc
tests/base/time_stepping_02.cc
tests/base/timer_07.cc
tests/base/unsubscribe_subscriptor.cc
tests/base/unsubscribe_subscriptor_01.cc
tests/bits/anna_4.cc
tests/bits/christian_1.cc
tests/bits/chunk_sparse_matrix_vector_07.cc
tests/bits/deal_solver_04.cc
tests/bits/deal_solver_05.cc
tests/bits/fe_tools_common.h
tests/bits/fe_tools_cpfqpm_05.cc
tests/bits/joa_1.cc
tests/bits/neighboring_cells_at_two_faces.cc
tests/bits/periodicity_06.cc
tests/bits/periodicity_07.cc
tests/bits/point_gradient_01.cc
tests/bits/point_gradient_02.cc
tests/bits/point_gradient_hp_01.cc
tests/bits/point_gradient_hp_02.cc
tests/bits/point_value_03.cc
tests/bits/q_points.cc
tests/bits/step-12.cc
tests/bits/step-13.cc
tests/bits/step-14.cc
tests/bits/step-4_dg_periodic.cc
tests/bits/step-4_dg_periodic_coupling.cc
tests/bits/step-5.cc
tests/bits/step-51.cc
tests/bits/step-51p.cc
tests/bits/step-6-racoptimize-2.cc
tests/bits/step-6-racoptimize.cc
tests/bits/step-6.cc
tests/bits/step-8.cc
tests/codim_one/bem_integration.cc
tests/codim_one/error_estimator_01.cc
tests/codim_one/error_estimator_02.cc
tests/codim_one/extract_boundary_mesh_01.cc
tests/cuda/cuda_evaluate_1d_shape.cc
tests/cuda/cuda_evaluate_2d_shape.cc
tests/cuda/solver_02.cc
tests/cuda/sparse_matrix_01.cc
tests/data_out/data_out_01.cc
tests/data_out/data_out_02.cc
tests/data_out/data_out_03.cc
tests/data_out/data_out_04.cc
tests/data_out/data_out_05.cc
tests/data_out/data_out_06.cc
tests/data_out/data_out_07.cc
tests/data_out/data_out_08_set_cell_selection_01.cc
tests/data_out/data_out_12.cc
tests/data_out/data_out_13.cc
tests/data_out/data_out_base.cc
tests/data_out/data_out_base_dx.cc
tests/data_out/data_out_base_eps.cc
tests/data_out/data_out_base_gnuplot.cc
tests/data_out/data_out_base_gnuplot_02.cc
tests/data_out/data_out_base_gnuplot_labels_02.cc
tests/data_out/data_out_base_povray.cc
tests/data_out/data_out_common.h
tests/data_out/data_out_complex_postprocessor_01.cc
tests/data_out/data_out_complex_postprocessor_02.cc
tests/data_out/data_out_complex_postprocessor_03.cc
tests/data_out/data_out_curved_cells.cc
tests/data_out/data_out_faces_01.cc
tests/data_out/data_out_faces_02.cc
tests/data_out/data_out_faces_03.cc
tests/data_out/data_out_faces_04.cc
tests/data_out/data_out_faces_05.cc
tests/data_out/data_out_postprocessor_tensor_01.cc
tests/data_out/data_out_postprocessor_tensor_02.cc
tests/data_out/data_out_rotation_01.cc
tests/data_out/data_out_rotation_02.cc
tests/data_out/data_out_rotation_03.cc
tests/data_out/data_out_rotation_04.cc
tests/data_out/data_out_rotation_05.cc
tests/data_out/data_out_stack_01.cc
tests/data_out/data_out_stack_02.cc
tests/distributed_grids/2d_refinement_10.cc
tests/distributed_grids/3d_refinement_12.cc
tests/distributed_grids/coarse_grid_common.h
tests/dofs/block_list.h
tests/dofs/block_list_parallel_01.cc
tests/dofs/block_relaxation_01.cc
tests/dofs/dof_renumbering.cc
tests/dofs/dof_renumbering_02.cc
tests/dofs/dof_renumbering_03.cc
tests/dofs/dof_renumbering_04.cc
tests/dofs/dof_renumbering_05.cc
tests/dofs/dof_renumbering_06.cc
tests/dofs/dof_renumbering_07.cc
tests/dofs/dof_renumbering_08.cc
tests/dofs/dof_renumbering_zorder_01.cc
tests/dofs/dof_renumbering_zorder_02.cc
tests/dofs/dof_test.cc
tests/dofs/dof_tools_21_b.cc
tests/dofs/dof_tools_21_c.cc
tests/dofs/locally_relevant_dofs_per_subdomain_01.cc
tests/dofs/locally_relevant_dofs_per_subdomain_01_hp.cc
tests/dofs/range_based_for_step-6.cc
tests/fe/abf_01.cc
tests/fe/abf_02.cc
tests/fe/br_approximation_01.cc
tests/fe/curl_curl_01.cc
tests/fe/deformed_projection.h
tests/fe/derivatives.cc
tests/fe/derivatives_bernstein.cc
tests/fe/derivatives_face.cc
tests/fe/fe_conformity_test.h
tests/fe/fe_enriched_color_05.cc
tests/fe/fe_enriched_color_06.cc
tests/fe/fe_enriched_color_07.cc
tests/fe/fe_enriched_compare_to_fe_system.cc
tests/fe/fe_enriched_compare_to_fe_system_2.cc
tests/fe/fe_enriched_step-36.cc
tests/fe/fe_enriched_step-36b.cc
tests/fe/fe_face_orientation_nedelec.h
tests/fe/fe_face_orientation_nedelec_0.cc
tests/fe/fe_face_values_1d.cc
tests/fe/fe_nedelec_sz_non_rect_2d.cc
tests/fe/fe_nedelec_sz_non_rect_face.cc
tests/fe/fe_project_2d.cc
tests/fe/fe_project_3d.cc
tests/fe/fe_q_dg0.cc
tests/fe/fe_series_06.cc
tests/fe/fe_system_from_list.cc
tests/fe/fe_tools.cc
tests/fe/fe_tools_test.cc
tests/fe/fe_values_view_02.cc
tests/fe/fe_values_view_04.cc
tests/fe/fe_values_view_30.cc
tests/fe/fe_values_view_get_function_from_local_dof_values_01.cc
tests/fe/fe_values_view_get_function_from_local_dof_values_02.cc
tests/fe/interpolate_common.h
tests/fe/nedelec_2.cc
tests/fe/nedelec_non_rect_2d.cc
tests/fe/nedelec_non_rect_face.cc
tests/fe/nedelec_projection_01.cc
tests/fe/non_primitive_1.cc
tests/fe/non_primitive_2.cc
tests/fe/rt_approximation_01.cc
tests/fe/rt_normal_02.cc
tests/fe/shapes.h
tests/fe/shapes_bernstein.cc
tests/fe/transfer.cc
tests/feinterface/fe_interface_view_01.cc
tests/feinterface/fe_interface_view_02.cc
tests/feinterface/fe_interface_view_get_function_from_local_dof_values_01.cc
tests/feinterface/fe_interface_view_get_function_from_local_dof_values_02.cc
tests/feinterface/step-12.cc
tests/feinterface/stokes.cc
tests/fullydistributed_grids/repartitioning_03.cc
tests/gla/gla.h
tests/grid/cell_id_08.cc
tests/grid/closest_point.cc
tests/grid/compute_point_locations_try_all_02.cc
tests/grid/enclosing_sphere_01.cc
tests/grid/find_all_active_cells_around_point_01.cc
tests/grid/find_all_active_cells_around_point_01_b.cc
tests/grid/find_all_active_cells_around_point_02.cc
tests/grid/find_all_active_cells_around_point_03.cc
tests/grid/find_all_active_cells_around_point_04.cc
tests/grid/grid_generator_marching_cube_algorithm_01.cc
tests/grid/grid_in_gmsh_02.cc
tests/grid/grid_in_gmsh_03.cc
tests/grid/grid_in_gmsh_04.cc
tests/grid/grid_out_per_processor_vtu_01.cc
tests/grid/grid_out_per_processor_vtu_02.cc
tests/grid/grid_test.cc
tests/grid/grid_tools.cc
tests/grid/grid_tools_05.cc
tests/grid/grid_tools_06.cc
tests/grid/grid_tools_07.cc
tests/grid/grid_tools_active_cell_layer_within_distance_02.cc
tests/grid/grid_tools_aspect_ratio.cc
tests/grid/grid_tools_cache_04.cc
tests/grid/line_coarsening_3d.cc
tests/grid/mesh_3d.h
tests/grid/refine_and_coarsen_fixed_number_03.cc
tests/grid/refinement_listener_02.cc
tests/grid/refinement_listener_03.cc
tests/hp/crash_06.cc
tests/hp/dominated_future_fe_on_children_01.cc
tests/hp/fe_nothing_18.cc
tests/hp/fe_nothing_dominates.h
tests/hp/field_transfer_05.cc
tests/hp/hp_constraints_common.h
tests/hp/hp_constraints_common_no_support.h
tests/hp/hp_constraints_neither_dominate_01.cc
tests/hp/hp_constraints_neither_dominate_02.cc
tests/hp/hp_q_hierarchical_constraints.cc
tests/hp/laplace.h
tests/hp/matrices.cc
tests/hp/matrices_hp.cc
tests/hp/solution_transfer_15.cc
tests/hp/step-12.cc
tests/hp/step-13.cc
tests/hp/step-5.cc
tests/hp/step-6.cc
tests/hp/step-8.cc
tests/integrators/assembler_simple_mgmatrix_04.cc
tests/integrators/assembler_simple_system_inhom_01.cc
tests/integrators/cells_and_faces_01.cc
tests/integrators/cochain_01.cc
tests/integrators/functional_01.cc
tests/integrators/mesh_worker_01.cc
tests/integrators/mesh_worker_02.cc
tests/integrators/mesh_worker_03.cc
tests/integrators/mesh_worker_1d_dg.cc
tests/integrators/mesh_worker_matrix_01.cc
tests/lac/complex_block_vector.cc
tests/lac/constraints.cc
tests/lac/constraints_make_consistent_in_parallel_01.cc
tests/lac/gmres_eigenvalues.cc
tests/lac/inhomogeneous_constraints_vector.cc
tests/lac/linear_operator_08.cc
tests/lac/linear_operator_10.cc
tests/lac/linear_operator_10a.cc
tests/lac/linear_operator_13.cc
tests/lac/linear_operator_14.cc
tests/lac/parallel_vector_04.cc
tests/lac/precondition_chebyshev_07.cc
tests/lac/precondition_relaxation_01.cc
tests/lac/qr_10.cc
tests/lac/schur_complement_01.cc
tests/lac/schur_complement_03.cc
tests/lac/solver.cc
tests/lac/solver_cg_interleave_01.cc
tests/lac/solver_cg_interleave_02.cc
tests/lac/solver_control_01.cc
tests/lac/solver_control_02.cc
tests/lac/solver_control_03.cc
tests/lac/solver_control_04.cc
tests/lac/solver_gmres_01.cc
tests/lac/solver_memorytest.cc
tests/lac/solver_monitor.cc
tests/lac/solver_monitor_disconnect.cc
tests/lac/solver_relaxation_01.cc
tests/lac/solver_relaxation_02.cc
tests/lac/solver_relaxation_03.cc
tests/lac/solver_relaxation_04.cc
tests/lac/solver_signals.cc
tests/lac/sparse_matrices.cc
tests/lac/sparse_matrix_tools_01.cc
tests/lac/tensor_product_matrix.h
tests/lac/tensor_product_matrix_vectorized_01.cc
tests/lac/tensor_product_matrix_vectorized_02.cc
tests/lac/tensor_product_matrix_vectorized_03.cc
tests/lac/tensor_product_matrix_vectorized_04.cc
tests/lac/utilities_03.cc
tests/lac/vector_memory.cc
tests/lac/vector_memory_01.cc
tests/lac/vector_memory_02.cc
tests/lapack/solver_cg.cc
tests/manifold/chart_manifold_10.cc
tests/manifold/elliptical_manifold_01.cc
tests/manifold/elliptical_manifold_02.cc
tests/manifold/spherical_manifold_13.cc
tests/manifold/transfinite_manifold_07.cc
tests/manifold/tria_boundary_id_01.cc
tests/mappings/fe_face_values_1d_mapping_cartesian.cc
tests/mappings/fe_face_values_1d_mapping_q2.cc
tests/mappings/mapping.cc
tests/mappings/mapping_fe_field_08.cc
tests/mappings/mapping_get_vertices_on_face.cc
tests/mappings/mapping_q_cache_05.cc
tests/mappings/mapping_q_cache_06.cc
tests/mappings/mapping_q_eulerian_09.cc
tests/mappings/mapping_q_manifold_01.cc
tests/mappings/mapping_q_mixed_manifolds_01.cc
tests/mappings/mapping_q_mixed_manifolds_02.cc
tests/matrix_free/advect_1d.cc
tests/matrix_free/advect_1d_deprecated.cc
tests/matrix_free/advect_1d_system.cc
tests/matrix_free/advect_1d_vectorization_mask.cc
tests/matrix_free/assemble_matrix_03.cc
tests/matrix_free/coefficient_eval_device.cc
tests/matrix_free/compare_faces_by_cells.cc
tests/matrix_free/compute_diagonal_02.cc
tests/matrix_free/compute_diagonal_util.h
tests/matrix_free/copy_feevaluation.cc
tests/matrix_free/dg_pbc_01.cc
tests/matrix_free/dof_info_01.cc
tests/matrix_free/dof_info_02.cc
tests/matrix_free/element_birth_and_death_01.cc
tests/matrix_free/estimate_condition_number_mass.cc
tests/matrix_free/faces_value_optimization.cc
tests/matrix_free/faces_value_optimization_02.cc
tests/matrix_free/faces_value_optimization_03.cc
tests/matrix_free/get_functions_common.h
tests/matrix_free/get_functions_faces.cc
tests/matrix_free/get_functions_multife.cc
tests/matrix_free/get_functions_multife2.cc
tests/matrix_free/get_functions_notempl.cc
tests/matrix_free/get_functions_rect.cc
tests/matrix_free/get_functions_variants.cc
tests/matrix_free/get_functions_variants_gl.cc
tests/matrix_free/get_values_plain.cc
tests/matrix_free/hanging_node_kernels_01.cc
tests/matrix_free/integrate_functions.cc
tests/matrix_free/integrate_functions_hessians.cc
tests/matrix_free/integrate_functions_multife.cc
tests/matrix_free/integrate_functions_multife2.cc
tests/matrix_free/interpolate_functions_common.h
tests/matrix_free/inverse_mass_01.cc
tests/matrix_free/inverse_mass_02.cc
tests/matrix_free/inverse_mass_03.cc
tests/matrix_free/inverse_mass_05.cc
tests/matrix_free/inverse_mass_06.cc
tests/matrix_free/inverse_mass_07.cc
tests/matrix_free/inverse_mass_08.cc
tests/matrix_free/inverse_mass_09.cc
tests/matrix_free/inverse_mass_10.cc
tests/matrix_free/inverse_mass_11.cc
tests/matrix_free/loop_boundary.cc
tests/matrix_free/loop_boundary_02.cc
tests/matrix_free/matrix_free_device_initialize_vector.cc
tests/matrix_free/matrix_free_device_multiple_objects.cc
tests/matrix_free/matrix_free_device_no_index_initialize.cc
tests/matrix_free/matrix_vector_12.cc
tests/matrix_free/matrix_vector_13.cc
tests/matrix_free/matrix_vector_15.cc
tests/matrix_free/matrix_vector_16.cc
tests/matrix_free/matrix_vector_18.cc
tests/matrix_free/matrix_vector_20.cc
tests/matrix_free/matrix_vector_21.cc
tests/matrix_free/matrix_vector_22.cc
tests/matrix_free/matrix_vector_23.cc
tests/matrix_free/matrix_vector_blocks.cc
tests/matrix_free/matrix_vector_common.h
tests/matrix_free/matrix_vector_curl.cc
tests/matrix_free/matrix_vector_device_common.h
tests/matrix_free/matrix_vector_device_mf.h
tests/matrix_free/matrix_vector_div.cc
tests/matrix_free/matrix_vector_faces_25.cc
tests/matrix_free/matrix_vector_faces_33.cc
tests/matrix_free/matrix_vector_faces_34.cc
tests/matrix_free/matrix_vector_faces_35.cc
tests/matrix_free/matrix_vector_faces_common.h
tests/matrix_free/matrix_vector_hessians_cells.cc
tests/matrix_free/matrix_vector_hessians_faces.cc
tests/matrix_free/matrix_vector_hessians_general_cells.cc
tests/matrix_free/matrix_vector_hessians_general_faces.cc
tests/matrix_free/matrix_vector_hp.cc
tests/matrix_free/matrix_vector_hp_no_template.cc
tests/matrix_free/matrix_vector_hp_parallel_01.cc
tests/matrix_free/matrix_vector_mf.h
tests/matrix_free/matrix_vector_rt_common.h
tests/matrix_free/matrix_vector_rt_face_common.h
tests/matrix_free/matrix_vector_stokes.cc
tests/matrix_free/matrix_vector_stokes_base.cc
tests/matrix_free/matrix_vector_stokes_flux.cc
tests/matrix_free/matrix_vector_stokes_no_vectorization.cc
tests/matrix_free/matrix_vector_stokes_noflux.cc
tests/matrix_free/matrix_vector_stokes_noflux2.cc
tests/matrix_free/matrix_vector_stokes_notempl.cc
tests/matrix_free/matrix_vector_stokes_onedof.cc
tests/matrix_free/matrix_vector_stokes_qdg0.cc
tests/matrix_free/matrix_vector_stokes_qdg0b.cc
tests/matrix_free/multigrid_dg_periodic.cc
tests/matrix_free/multigrid_dg_sip_01.cc
tests/matrix_free/multigrid_dg_sip_02.cc
tests/matrix_free/no_index_initialize.cc
tests/matrix_free/parallel_multigrid.cc
tests/matrix_free/parallel_multigrid_02.cc
tests/matrix_free/parallel_multigrid_adaptive_01.cc
tests/matrix_free/parallel_multigrid_adaptive_02.cc
tests/matrix_free/parallel_multigrid_adaptive_03.cc
tests/matrix_free/parallel_multigrid_adaptive_04.cc
tests/matrix_free/parallel_multigrid_adaptive_05.cc
tests/matrix_free/parallel_multigrid_adaptive_06.cc
tests/matrix_free/parallel_multigrid_adaptive_06ref.cc
tests/matrix_free/parallel_multigrid_adaptive_07.cc
tests/matrix_free/parallel_multigrid_adaptive_08.cc
tests/matrix_free/parallel_multigrid_fullydistributed.cc
tests/matrix_free/parallel_multigrid_interleave.cc
tests/matrix_free/parallel_multigrid_interleave_renumber.cc
tests/matrix_free/parallel_multigrid_mf.cc
tests/matrix_free/parallel_multigrid_mf_02.cc
tests/matrix_free/partitioner_01.cc
tests/matrix_free/pbc_orientation_01.cc
tests/matrix_free/pbc_orientation_02.cc
tests/matrix_free/poisson_dg_hp.cc
tests/matrix_free/pre_and_post_loops_01.cc
tests/matrix_free/pre_and_post_loops_02.cc
tests/matrix_free/pre_and_post_loops_03.cc
tests/matrix_free/pre_and_post_loops_04.cc
tests/matrix_free/pre_and_post_loops_05.cc
tests/matrix_free/pre_and_post_loops_06.cc
tests/matrix_free/pre_and_post_loops_07.cc
tests/matrix_free/pre_and_post_loops_08.cc
tests/matrix_free/shape_info_inverse.cc
tests/matrix_free/solver_cg_interleave.cc
tests/matrix_free/step-37-inhomogeneous-1.cc
tests/matrix_free/step-37.cc
tests/matrix_free/step-48.cc
tests/matrix_free/step-48b.cc
tests/matrix_free/step-48c.cc
tests/matrix_free/stokes_computation.cc
tests/matrix_free/thread_correctness_hp.cc
tests/meshworker/codim_01.cc
tests/meshworker/mesh_loop_02.cc
tests/meshworker/mesh_loop_03.cc
tests/meshworker/mesh_loop_04.cc
tests/meshworker/mesh_loop_05.cc
tests/meshworker/mesh_loop_06.cc
tests/meshworker/mesh_loop_07.cc
tests/meshworker/mesh_loop_08.cc
tests/meshworker/mesh_loop_09a.cc
tests/meshworker/mesh_loop_09b.cc
tests/meshworker/mesh_loop_gmg_01.cc
tests/meshworker/mesh_loop_mpi_01.cc
tests/meshworker/scratch_data_01.cc
tests/meshworker/scratch_data_01_hp.cc
tests/meshworker/scratch_data_03.cc
tests/meshworker/scratch_data_03_hp.cc
tests/meshworker/scratch_data_04.cc
tests/meshworker/scratch_data_05.cc
tests/meshworker/scratch_data_06.cc
tests/meshworker/scratch_data_07.cc
tests/meshworker/scratch_data_08.cc
tests/meshworker/step-11-mesh_loop.cc
tests/meshworker/step-50-mesh_loop.cc
tests/mpi/attach_data_01.cc
tests/mpi/attach_data_02.cc
tests/mpi/codim_01.cc
tests/mpi/distribute_flux_sparsity_pattern.cc
tests/mpi/fe_tools_extrapolate_01.cc
tests/mpi/fe_tools_extrapolate_02.cc
tests/mpi/fe_tools_extrapolate_03.cc
tests/mpi/fe_tools_extrapolate_04.cc
tests/mpi/fe_tools_extrapolate_05.cc
tests/mpi/fe_tools_extrapolate_06.cc
tests/mpi/fe_tools_extrapolate_common.h
tests/mpi/flux_edge_01.cc
tests/mpi/has_hanging_nodes.cc
tests/mpi/interpolate_to_different_mesh_01.cc
tests/mpi/mesh_worker_01.cc
tests/mpi/mesh_worker_02.cc
tests/mpi/mesh_worker_03.cc
tests/mpi/mesh_worker_04.cc
tests/mpi/mesh_worker_05.cc
tests/mpi/mesh_worker_matrix_01.cc
tests/mpi/muelu_periodicity.cc
tests/mpi/multigrid_adaptive.cc
tests/mpi/multigrid_uniform.cc
tests/mpi/p4est_2d_constraintmatrix_04.cc
tests/mpi/p4est_3d_constraintmatrix_03.cc
tests/mpi/p4est_save_05.cc
tests/mpi/p4est_save_07.cc
tests/mpi/periodicity_02.cc
tests/mpi/periodicity_03.cc
tests/mpi/periodicity_04.cc
tests/mpi/petsc_01.cc
tests/mpi/petsc_02.cc
tests/mpi/petsc_03.cc
tests/mpi/project_bv_div_conf.cc
tests/mpi/refine_and_coarsen_fixed_number_06.cc
tests/mpi/refine_and_coarsen_fixed_number_08.cc
tests/mpi/renumber_cuthill_mckee.cc
tests/mpi/renumber_cuthill_mckee_02.cc
tests/mpi/repartition_02.cc
tests/mpi/simple_mpi_01.cc
tests/mpi/solution_transfer_03.cc
tests/mpi/step-39-block.cc
tests/mpi/step-39.cc
tests/multigrid-global-coarsening/mg_transfer_util.h
tests/multigrid-global-coarsening/multigrid_dg_periodic.cc
tests/multigrid-global-coarsening/multigrid_dg_sip_01.cc
tests/multigrid-global-coarsening/multigrid_dg_sip_02.cc
tests/multigrid-global-coarsening/multigrid_util.h
tests/multigrid-global-coarsening/non_nested_transfer_01.cc
tests/multigrid-global-coarsening/non_nested_transfer_02.cc
tests/multigrid-global-coarsening/non_nested_transfer_03.cc
tests/multigrid-global-coarsening/non_nested_transfer_04.cc
tests/multigrid-global-coarsening/parallel_multigrid.cc
tests/multigrid-global-coarsening/parallel_multigrid_02.cc
tests/multigrid-global-coarsening/parallel_multigrid_adaptive_01.cc
tests/multigrid-global-coarsening/parallel_multigrid_adaptive_02.cc
tests/multigrid-global-coarsening/parallel_multigrid_adaptive_03.cc
tests/multigrid-global-coarsening/parallel_multigrid_adaptive_04.cc
tests/multigrid-global-coarsening/parallel_multigrid_adaptive_05.cc
tests/multigrid-global-coarsening/parallel_multigrid_adaptive_06.cc
tests/multigrid-global-coarsening/parallel_multigrid_adaptive_06ref.cc
tests/multigrid-global-coarsening/parallel_multigrid_adaptive_07.cc
tests/multigrid-global-coarsening/parallel_multigrid_adaptive_08.cc
tests/multigrid-global-coarsening/parallel_multigrid_fullydistributed.cc
tests/multigrid-global-coarsening/parallel_multigrid_interleave.cc
tests/multigrid-global-coarsening/parallel_multigrid_interleave_renumber.cc
tests/multigrid-global-coarsening/parallel_multigrid_mf.cc
tests/multigrid-global-coarsening/parallel_multigrid_mf_02.cc
tests/multigrid-global-coarsening/step-37-inhomogeneous-1.cc
tests/multigrid-global-coarsening/stokes_computation.cc
tests/multigrid/constrained_dofs_02.cc
tests/multigrid/events_01.cc
tests/multigrid/mg_coarse_01.cc
tests/multigrid/mg_output_dirichlet.cc
tests/multigrid/mg_output_neumann.cc
tests/multigrid/mg_renumbered_01.cc
tests/multigrid/mg_renumbered_02.cc
tests/multigrid/mg_renumbered_03.cc
tests/multigrid/step-16-02.cc
tests/multigrid/step-16-03.cc
tests/multigrid/step-16-04.cc
tests/multigrid/step-16-05.cc
tests/multigrid/step-16-06.cc
tests/multigrid/step-16-07.cc
tests/multigrid/step-16-08.cc
tests/multigrid/step-16-50-mpi-linear-operator.cc
tests/multigrid/step-16-50-mpi-smoother.cc
tests/multigrid/step-16-50-mpi.cc
tests/multigrid/step-16-50-serial.cc
tests/multigrid/step-16-bdry1.cc
tests/multigrid/step-16.cc
tests/multigrid/step-39-02.cc
tests/multigrid/step-39-02a.cc
tests/multigrid/step-39-03.cc
tests/multigrid/step-39.cc
tests/multigrid/step-50_01.cc
tests/multigrid/step-50_02.cc
tests/multigrid/transfer_01.cc
tests/multigrid/transfer_02.cc
tests/multigrid/transfer_03.cc
tests/multigrid/transfer_block.cc
tests/multigrid/transfer_block_select.cc
tests/multigrid/transfer_compare_01.cc
tests/multigrid/transfer_system_01.cc
tests/multigrid/transfer_system_02.cc
tests/multigrid/transfer_system_03.cc
tests/multigrid/transfer_system_04.cc
tests/multigrid/transfer_system_adaptive_01.cc
tests/multigrid/transfer_system_adaptive_02.cc
tests/multigrid/transfer_system_adaptive_03.cc
tests/multigrid/transfer_system_adaptive_04.cc
tests/multigrid/transfer_system_adaptive_05.cc
tests/multigrid/transfer_system_adaptive_06.cc
tests/multigrid/transfer_system_adaptive_07.cc
tests/multigrid/transfer_system_adaptive_08.cc
tests/multithreading/bench_01.cc
tests/multithreading/taskflow.h
tests/multithreading/work_stream_03.cc
tests/multithreading/work_stream_03_graph.cc
tests/non_matching/fe_immersed_surface_values.cc
tests/non_matching/immersed_surface_quadrature.cc
tests/non_matching/mapping_info.cc
tests/non_matching/mesh_classifier.cc
tests/non_matching/quadrature_generator.cc
tests/non_matching/root_finder.cc
tests/non_matching/step-70.cc
tests/numerics/assemble_matrix_parallel_01.cc
tests/numerics/assemble_matrix_parallel_02.cc
tests/numerics/assemble_matrix_parallel_03.cc
tests/numerics/assemble_matrix_parallel_04.cc
tests/numerics/create_mass_matrix_constraints_02b.cc
tests/numerics/derivatives.cc
tests/numerics/error_estimator_02.cc
tests/numerics/error_estimator_02_complex.cc
tests/numerics/generalized_interpolation.h
tests/numerics/no_flux_10.cc
tests/numerics/no_flux_17.cc
tests/numerics/no_flux_18.cc
tests/numerics/nonlinear_solver_selector_01.cc
tests/numerics/nonlinear_solver_selector_03.cc
tests/numerics/normal_flux_inhom_01.cc
tests/numerics/point_value_history_02.cc
tests/numerics/point_value_history_03.cc
tests/numerics/project_boundary_rt_01.cc
tests/numerics/project_bv_curl_conf_02.cc
tests/numerics/project_bv_curl_conf_04.cc
tests/numerics/project_bv_div_conf_03.cc
tests/numerics/project_parallel_common.h
tests/numerics/project_parallel_qp_common.h
tests/numerics/project_parallel_qpmf_common.h
tests/numerics/smoothness_estimator_02.cc
tests/numerics/tangential_flux_inhom_01.cc
tests/opencascade/manifold_clone_01.cc
tests/opencascade/step_create.cc
tests/opencascade/step_write.cc
tests/optimization/bfgs_03.cc
tests/optimization/bfgs_04.cc
tests/optimization/bfgs_05.cc
tests/optimization/bfgs_05b.cc
tests/optimization/step-44.h
tests/parameter_handler/parameter_handler_23.cc
tests/parameter_handler/patterns_10.cc
tests/particles/data_out_02.cc
tests/particles/data_out_03.cc
tests/particles/data_out_04.cc
tests/particles/particle_04.cc
tests/particles/particle_06.cc
tests/particles/particle_handler_05.cc
tests/particles/particle_handler_08.cc
tests/particles/particle_handler_15.cc
tests/particles/particle_handler_16.cc
tests/particles/particle_handler_17.cc
tests/particles/particle_handler_refinement_outside_cell.cc
tests/particles/particle_handler_sort_01.cc
tests/particles/step-19.cc
tests/particles/step-68.cc
tests/performance/instrumentation_step_22.cc
tests/performance/timing_matrix_free_kokkos.cc
tests/performance/timing_mg_glob_coarsen.cc
tests/performance/timing_navier_stokes.cc
tests/performance/timing_step_22.cc
tests/performance/timing_step_37.cc
tests/performance/timing_step_68.cc
tests/petsc/assemble_matrix_parallel_01.cc
tests/petsc/petsc_mf_testmatrix.h
tests/petsc/petsc_snes_00.cc
tests/petsc/petsc_snes_01.cc
tests/petsc/petsc_snes_07.cc
tests/petsc/petsc_ts_00.cc
tests/petsc/petsc_ts_02.cc
tests/petsc/petsc_ts_03.cc
tests/petsc/petsc_ts_04.cc
tests/petsc/petsc_ts_05.cc
tests/petsc/solver_03_mf.cc
tests/petsc/step-67-with-petsc-ts.cc
tests/petsc/step-77-snes.cc
tests/petsc_complex/solver_real_03.cc
tests/petsc_complex/solver_real_03_mf.cc
tests/petsc_complex/solver_real_04.cc
tests/physics/step-18-rotation_matrix.cc
tests/physics/step-18.cc
tests/physics/step-44-dgp_monomial.cc
tests/physics/step-44-standard_tensors-material_push_forward.cc
tests/physics/step-44-standard_tensors-spatial.cc
tests/physics/step-44.cc
tests/physics/transformations-rotations_01.cc
tests/quick_tests/adolc.cc
tests/quick_tests/cuda.cc
tests/quick_tests/sundials-ida.cc
tests/remote_point_evaluation/convert_intersections_to_rpe_data_01.cc
tests/remote_point_evaluation/convert_intersections_to_rpe_data_02.cc
tests/remote_point_evaluation/convert_intersections_to_rpe_data_03.cc
tests/remote_point_evaluation/convert_intersections_to_rpe_data_04.cc
tests/remote_point_evaluation/distributed_compute_intersection_locations_01.cc
tests/remote_point_evaluation/distributed_compute_intersection_locations_02.cc
tests/remote_point_evaluation/distributed_compute_intersection_locations_03.cc
tests/remote_point_evaluation/distributed_compute_intersection_locations_04.cc
tests/remote_point_evaluation/mapping_04.cc
tests/remote_point_evaluation/remote_point_evaluation_01.cc
tests/remote_point_evaluation/remote_point_evaluation_02.cc
tests/remote_point_evaluation/remote_point_evaluation_03.cc
tests/remote_point_evaluation/search_adjacent_cells.cc
tests/remote_point_evaluation/setup_rpe_with_intersections_01.cc
tests/remote_point_evaluation/setup_rpe_with_intersections_02.cc
tests/remote_point_evaluation/setup_rpe_with_intersections_03.cc
tests/remote_point_evaluation/setup_rpe_with_intersections_04.cc
tests/remote_point_evaluation/vector_tools_evaluate_at_points_01.cc
tests/remote_point_evaluation/vector_tools_evaluate_at_points_02.cc
tests/remote_point_evaluation/vector_tools_evaluate_at_points_03.cc
tests/remote_point_evaluation/vector_tools_evaluate_at_points_04.cc
tests/remote_point_evaluation/vector_tools_evaluate_at_points_05.cc
tests/remote_point_evaluation/vector_tools_evaluate_at_points_07.cc
tests/sacado/ad_number_traits_01.cc
tests/sacado/basic_01.cc
tests/sacado/basic_01a.cc
tests/sacado/basic_01b.cc
tests/sacado/basic_02.cc
tests/sacado/basic_02a.cc
tests/sacado/basic_02b.cc
tests/sacado/sacado_product_type_04.cc
tests/serialization/particle_handler_01.cc
tests/serialization/particle_handler_02.cc
tests/serialization/particle_handler_03.cc
tests/serialization/pointer_03.cc
tests/serialization/pointer_05.cc
tests/sharedtria/tria_01.cc
tests/sharedtria/tria_02.cc
tests/sharedtria/tria_multigrid_01.cc
tests/sharedtria/tria_zorder_01.cc
tests/simplex/barycentric_01.cc
tests/simplex/cell_measure_01.cc
tests/simplex/data_out_write_vtk_04.cc
tests/simplex/face_scaling.cc
tests/simplex/hanging_nodes.h
tests/simplex/matrix_free_01.cc
tests/simplex/matrix_free_02.cc
tests/simplex/matrix_free_03.cc
tests/simplex/matrix_free_04.cc
tests/simplex/matrix_free_face_integral_01.cc
tests/simplex/orientation_03.cc
tests/simplex/poisson_01.cc
tests/simplex/poisson_02.cc
tests/simplex/refinement_03.cc
tests/simplex/simplex_grids.h
tests/simplex/simplex_project_cg.cc
tests/simplex/simplex_project_dg.cc
tests/simplex/step-07.cc
tests/simplex/step-08.cc
tests/simplex/step-12.cc
tests/simplex/step-12a.cc
tests/simplex/step-12b.cc
tests/simplex/step-12c.cc
tests/simplex/step-17.cc
tests/simplex/step-18.cc
tests/simplex/step-20.cc
tests/simplex/step-31.cc
tests/simplex/step-38.cc
tests/simplex/step-55.cc
tests/simplex/step-67.cc
tests/simplex/step-68.cc
tests/simplex/step-74.cc
tests/simplex/write_mesh_per_processor_as_vtu_01.cc
tests/slepc/solve_01.cc
tests/slepc/solve_04.cc
tests/sparsity/flux_sparsity_pattern_visiting_once.cc
tests/sparsity/sparsity_pattern_base_01.cc
tests/sparsity/sparsity_pattern_common.h
tests/sundials/arkode_04.cc
tests/sundials/arkode_06.cc
tests/sundials/arkode_07.cc
tests/sundials/arkode_08.cc
tests/sundials/arkode_10.cc
tests/sundials/arkode_11.cc
tests/sundials/ida_01.cc
tests/sundials/ida_02.cc
tests/sundials/ida_03.cc
tests/sundials/ida_04.cc
tests/sundials/ida_05.cc
tests/sundials/kinsol_04_new_interface.cc
tests/sundials/kinsol_05_new_interface.cc
tests/sundials/kinsol_06.cc
tests/sundials/kinsol_07.cc
tests/sundials/kinsol_08.cc
tests/sundials/step-77.cc
tests/symengine/basic_03.cc
tests/symengine/cse_04.cc
tests/symengine/sd_common_tests/batch_optimizer_07.h
tests/symengine/sd_common_tests/cse_03.h
tests/symengine/sd_common_tests/step-44-sd-quadrature_level.h
tests/symengine/sd_common_tests/utilities.h
tests/symengine/symengine_tensor_operations_03.cc
tests/tensors/constexpr_symmetric_tensor.cc
tests/tensors/constexpr_tensor.cc
tests/tensors/symmetric_tensor_37.cc
tests/trilinos/amg_nondeterministic_01.cc
tests/trilinos/assemble_matrix_parallel_01.cc
tests/trilinos/assemble_matrix_parallel_02.cc
tests/trilinos/assemble_matrix_parallel_03.cc
tests/trilinos/assemble_matrix_parallel_04.cc
tests/trilinos/assemble_matrix_parallel_05.cc
tests/trilinos/assemble_matrix_parallel_06.cc
tests/trilinos/assemble_matrix_parallel_07.cc
tests/trilinos/elide_zeros.cc
tests/trilinos/index_set_02.cc
tests/trilinos/mg_transfer_prebuilt_01.cc
tests/trilinos/nox_solver_01.cc
tests/trilinos/nox_solver_03.cc
tests/trilinos/nox_solver_04.cc
tests/trilinos/precondition_amg_dgp_01.cc
tests/trilinos/precondition_amg_dgp_03.cc
tests/trilinos/precondition_muelu_dgp.cc
tests/trilinos/step-77-with-nox.cc
tests/umfpack/umfpack_04.cc

index 3a6bea4714715bb7d8259ed7230fbd6050a1a84c..52c2ee2aa8a5580485f07355795fcc380b95dfdd 100644 (file)
@@ -67,7 +67,7 @@ namespace python
     PointWrapper
     project_real_point_to_unit_point_on_face(CellAccessorWrapper &cell,
                                              const unsigned int   face_no,
-                                             PointWrapper &       point);
+                                             PointWrapper        &point);
 
     /**
      * Get the underlying mapping.
index 410134ed1c4d1897c4bed489f38e04624ae498ec..c81e060cb3337c7484c50f15654a20baba93b55e 100644 (file)
@@ -38,7 +38,7 @@ namespace python
     /**
      * Constructor.
      */
-    TriaAccessorWrapper(void *    tria_accessor,
+    TriaAccessorWrapper(void     *tria_accessor,
                         const int structdim,
                         const int dim,
                         const int spacedim);
index 6be5b44fe69cac5dd472b123d9ace9d1d0a5e6e9..995aeb170b406ce04426962032e48d37b584257d 100644 (file)
@@ -145,8 +145,8 @@ namespace python
      */
     void
     generate_subdivided_hyper_rectangle(boost::python::list &repetitions,
-                                        PointWrapper &       p1,
-                                        PointWrapper &       p2,
+                                        PointWrapper        &p1,
+                                        PointWrapper        &p2,
                                         const bool           colorize = false);
 
     /**
@@ -159,8 +159,8 @@ namespace python
      */
     void
     generate_subdivided_steps_hyper_rectangle(boost::python::list &step_sizes,
-                                              PointWrapper &       p1,
-                                              PointWrapper &       p2,
+                                              PointWrapper        &p1,
+                                              PointWrapper        &p2,
                                               const bool colorize = false);
 
     /**
@@ -174,7 +174,7 @@ namespace python
     void
     generate_subdivided_material_hyper_rectangle(
       boost::python::list &spacing,
-      PointWrapper &       p,
+      PointWrapper        &p,
       boost::python::list &material_id,
       const bool           colorize = false);
 
@@ -260,7 +260,7 @@ namespace python
     /*! @copydoc GridGenerator::hyper_shell
      */
     void
-    generate_hyper_shell(PointWrapper center,
+    generate_hyper_shell(PointWrapper  &center,
                          const double   inner_radius,
                          const double   outer_radius,
                          const unsigned n_cells  = 0,
@@ -287,7 +287,7 @@ namespace python
      */
     void
     replicate_triangulation(TriangulationWrapper &tria_in,
-                            boost::python::list extents);
+                            boost::python::list  &extents);
 
     /*! @copydoc GridGenerator::flatten_triangulation
      */
@@ -319,7 +319,7 @@ namespace python
     /*! @copydoc GridTools::find_active_cell_around_point
      */
     CellAccessorWrapper
-    find_active_cell_around_point(PointWrapper &  p,
+    find_active_cell_around_point(PointWrapper   &p,
                                   MappingQWrapper mapping = MappingQWrapper());
 
     /*! @copydoc GridTools::find_cells_adjacent_to_vertex
@@ -384,7 +384,7 @@ namespace python
     /*! @copydoc GridTools::compute_aspect_ratio_of_cells
      */
     boost::python::list
-    compute_aspect_ratio_of_cells(const MappingQWrapper &  mapping,
+    compute_aspect_ratio_of_cells(const MappingQWrapper   &mapping,
                                   const QuadratureWrapper &quadrature);
 
     /**
index 3c0946841385ba6970482981df457c1f13015e6d..5e7dd18f293d397895e744e118adae2cfaf47752 100644 (file)
@@ -91,7 +91,7 @@ namespace python
     project_real_point_to_unit_point_on_face(void *mapping_ptr,
                                              void *cell_accessor_ptr,
                                              const unsigned int face_no,
-                                             void *             point_ptr)
+                                             void              *point_ptr)
     {
       const MappingQ<dim, spacedim> *mapping =
         static_cast<const MappingQ<dim, spacedim> *>(mapping_ptr);
@@ -218,7 +218,7 @@ namespace python
 
   PointWrapper
   MappingQWrapper::transform_unit_to_real_cell(CellAccessorWrapper &cell,
-                                               PointWrapper &       p)
+                                               PointWrapper        &p)
   {
     AssertThrow(
       dim == p.get_dim(),
@@ -243,7 +243,7 @@ namespace python
 
   PointWrapper
   MappingQWrapper::transform_real_to_unit_cell(CellAccessorWrapper &cell,
-                                               PointWrapper &       p)
+                                               PointWrapper        &p)
   {
     AssertThrow(
       spacedim == p.get_dim(),
@@ -270,7 +270,7 @@ namespace python
   MappingQWrapper::project_real_point_to_unit_point_on_face(
     CellAccessorWrapper &cell,
     const unsigned int   face_no,
-    PointWrapper &       p)
+    PointWrapper        &p)
   {
     AssertThrow(
       spacedim == p.get_dim(),
index 37c442e13c096bcece653dc3f78b4ce804cf5dce..2d11854974f239a436123c94497b311d38866f40 100644 (file)
@@ -211,7 +211,7 @@ namespace python
                   ExcMessage("Wrong structdim-dim-spacedim combination."));
   }
 
-  TriaAccessorWrapper::TriaAccessorWrapper(void *    tria_accessor,
+  TriaAccessorWrapper::TriaAccessorWrapper(void     *tria_accessor,
                                            const int structdim,
                                            const int dim,
                                            const int spacedim)
index 5eb2bb611e41cc0e9736f64d77458cb699630458..e802415a7c9991d682180083d05c4869922185bc 100644 (file)
@@ -39,7 +39,7 @@ namespace python
     void
     create_triangulation(const boost::python::list &vertices_list,
                          const boost::python::list &cells_vertices,
-                         void *                     triangulation)
+                         void                      *triangulation)
     {
       Triangulation<dim, spacedim> *tria =
         static_cast<Triangulation<dim, spacedim> *>(triangulation);
@@ -77,7 +77,7 @@ namespace python
     generate_hyper_cube(const double left,
                         const double right,
                         const bool   colorize,
-                        void *       triangulation)
+                        void        *triangulation)
     {
       Triangulation<dim, spacedim> *tria =
         static_cast<Triangulation<dim, spacedim> *>(triangulation);
@@ -90,7 +90,7 @@ namespace python
     template <int dim>
     void
     generate_simplex(std::vector<PointWrapper> &wrapped_points,
-                     void *                     triangulation)
+                     void                      *triangulation)
     {
       // Cast the PointWrapper objects to Point<dim>
       std::vector<Point<dim>> points(dim + 1);
@@ -111,7 +111,7 @@ namespace python
     generate_subdivided_hyper_cube(const unsigned int repetitions,
                                    const double       left,
                                    const double       right,
-                                   void *             triangulation)
+                                   void              *triangulation)
     {
       Triangulation<dim, spacedim> *tria =
         static_cast<Triangulation<dim, spacedim> *>(triangulation);
@@ -126,7 +126,7 @@ namespace python
     generate_hyper_rectangle(PointWrapper &p1,
                              PointWrapper &p2,
                              const bool    colorize,
-                             void *        triangulation)
+                             void         *triangulation)
     {
       AssertThrow(
         p1.get_dim() == dim,
@@ -154,7 +154,7 @@ namespace python
                                               const double       L,
                                               const unsigned int repetitions,
                                               const bool         colorize,
-                                              void *             triangulation)
+                                              void              *triangulation)
     {
       Triangulation<dim> *tria =
         static_cast<Triangulation<dim> *>(triangulation);
@@ -169,10 +169,10 @@ namespace python
     void
     generate_subdivided_hyper_rectangle(
       const std::vector<unsigned int> &repetitions,
-      PointWrapper &                   p1,
-      PointWrapper &                   p2,
+      PointWrapper                    &p1,
+      PointWrapper                    &p2,
       const bool                       colorize,
-      void *                           triangulation)
+      void                            *triangulation)
     {
       AssertThrow(
         p1.get_dim() == dim,
@@ -199,10 +199,10 @@ namespace python
     void
     generate_subdivided_steps_hyper_rectangle(
       const std::vector<std::vector<double>> &step_sizes,
-      PointWrapper &                          p1,
-      PointWrapper &                          p2,
+      PointWrapper                           &p1,
+      PointWrapper                           &p2,
       const bool                              colorize,
-      void *                                  triangulation)
+      void                                   *triangulation)
     {
       AssertThrow(
         p1.get_dim() == dim,
@@ -229,10 +229,10 @@ namespace python
     void
     generate_subdivided_material_hyper_rectangle(
       const std::vector<std::vector<double>> &spacing,
-      PointWrapper &                          p,
-      const Table<dim, types::material_id> &  material_ids,
+      PointWrapper                           &p,
+      const Table<dim, types::material_id>   &material_ids,
       const bool                              colorize,
-      void *                                  triangulation)
+      void                                   *triangulation)
     {
       AssertThrow(
         p.get_dim() == dim,
@@ -265,7 +265,7 @@ namespace python
     void
     generate_general_cell(std::vector<PointWrapper> &wrapped_points,
                           const bool                 colorize,
-                          void *                     triangulation)
+                          void                      *triangulation)
     {
       // Cast the PointWrapper objects to Point<dim>
       const unsigned int      size = wrapped_points.size();
@@ -286,7 +286,7 @@ namespace python
     void
     generate_parallelogram(std::vector<PointWrapper> &wrapped_points,
                            const bool                 colorize,
-                           void *                     triangulation)
+                           void                      *triangulation)
     {
       // Cast the PointWrapper objects to Point<dim>
       Point<dim> points[dim];
@@ -306,7 +306,7 @@ namespace python
     void
     generate_parallelepiped(std::vector<PointWrapper> &wrapped_points,
                             const bool                 colorize,
-                            void *                     triangulation)
+                            void                      *triangulation)
     {
       // Cast the PointWrapper objects to Point<dim>
       Point<dim> points[dim];
@@ -328,7 +328,7 @@ namespace python
       unsigned int               n_subdivisions,
       std::vector<PointWrapper> &wrapped_points,
       const bool                 colorize,
-      void *                     triangulation)
+      void                      *triangulation)
     {
       // Cast the PointWrapper objects to Point<dim>
       Point<dim> points[dim];
@@ -353,7 +353,7 @@ namespace python
       std::vector<unsigned int> &n_subdivisions,
       std::vector<PointWrapper> &wrapped_points,
       const bool                 colorize,
-      void *                     triangulation)
+      void                      *triangulation)
     {
       // Cast the PointWrapper objects to Point<dim>
       Point<dim>   points[dim];
@@ -382,7 +382,7 @@ namespace python
                                  const double right,
                                  const double thickness,
                                  const bool   colorize,
-                                 void *       triangulation)
+                                 void        *triangulation)
     {
       Triangulation<dim> *tria =
         static_cast<Triangulation<dim> *>(triangulation);
@@ -397,7 +397,7 @@ namespace python
     void
     generate_hyper_ball(PointWrapper &center,
                         const double  radius,
-                        void *        triangulation)
+                        void         *triangulation)
     {
       // Cast the PointWrapper object to Point<dim>
       Point<dim> center_point =
@@ -415,7 +415,7 @@ namespace python
     void
     generate_hyper_sphere(PointWrapper &center,
                           const double  radius,
-                          void *        triangulation)
+                          void         *triangulation)
     {
       // Cast the PointWrapper object to Point<dim>
       Point<spacedim> center_point =
@@ -430,12 +430,12 @@ namespace python
 
     template <int dim>
     void
-    generate_hyper_shell(PointWrapper center,
+    generate_hyper_shell(PointWrapper  &center,
                          const double   inner_radius,
                          const double   outer_radius,
                          const unsigned n_cells,
                          bool           colorize,
-                         void *         triangulation)
+                         void          *triangulation)
     {
       // Cast the PointWrapper object to Point<dim>
       Point<dim> center_point =
@@ -453,7 +453,7 @@ namespace python
     void
     generate_quarter_hyper_ball(PointWrapper &center,
                                 const double  radius,
-                                void *        triangulation)
+                                void         *triangulation)
     {
       // Cast the PointWrapper object to Point<dim>
       Point<dim> center_point =
@@ -471,7 +471,7 @@ namespace python
     void
     generate_half_hyper_ball(PointWrapper &center,
                              const double  radius,
-                             void *        triangulation)
+                             void         *triangulation)
     {
       // Cast the PointWrapper object to Point<dim>
       Point<dim> center_point =
@@ -515,7 +515,7 @@ namespace python
     template <int dim, int spacedim>
     void
     merge_triangulations(boost::python::list &triangulations,
-                         void *               triangulation,
+                         void                *triangulation,
                          const double         duplicated_vertex_tolerance,
                          const bool           copy_manifold_ids)
     {
@@ -557,7 +557,7 @@ namespace python
 
     template <int dim, int spacedim>
     void
-    convert_hypercube_to_simplex_mesh(void *                triangulation,
+    convert_hypercube_to_simplex_mesh(void                 *triangulation,
                                       TriangulationWrapper &tria_out)
     {
       Triangulation<dim, spacedim> *tria =
@@ -572,9 +572,9 @@ namespace python
 
     template <int dim, int spacedim>
     void
-    replicate_triangulation(TriangulationWrapper &     tria_in,
+    replicate_triangulation(TriangulationWrapper      &tria_in,
                             const boost::python::list &extents,
-                            void *                     tria_out)
+                            void                      *tria_out)
     {
       Triangulation<dim, spacedim> *replicated_triangulation =
         static_cast<Triangulation<dim, spacedim> *>(tria_out);
@@ -598,7 +598,7 @@ namespace python
     void
     distort_random(const double factor,
                    const bool   keep_boundary,
-                   void *       triangulation)
+                   void        *triangulation)
     {
       Triangulation<dim, spacedim> *tria =
         static_cast<Triangulation<dim, spacedim> *>(triangulation);
@@ -640,9 +640,9 @@ namespace python
 
     template <int dim, int spacedim>
     std::pair<int, int>
-    find_active_cell_around_point(PointWrapper &   p,
+    find_active_cell_around_point(PointWrapper    &p,
                                   MappingQWrapper &mapping_wrapper,
-                                  void *           triangulation)
+                                  void            *triangulation)
     {
       Triangulation<dim, spacedim> *tria =
         static_cast<Triangulation<dim, spacedim> *>(triangulation);
@@ -671,8 +671,8 @@ namespace python
     template <int dim, int spacedim>
     boost::python::list
     compute_aspect_ratio_of_cells(
-      const MappingQWrapper &     mapping_wrapper,
-      const QuadratureWrapper &   quadrature_wrapper,
+      const MappingQWrapper      &mapping_wrapper,
+      const QuadratureWrapper    &quadrature_wrapper,
       const TriangulationWrapper &triangulation_wrapper)
     {
       const Triangulation<dim, spacedim> *tria =
@@ -783,7 +783,7 @@ namespace python
     void
     write(const std::string &filename,
           const std::string &format,
-          const void *       triangulation)
+          const void        *triangulation)
     {
       const Triangulation<dim, spacedim> *tria =
         static_cast<const Triangulation<dim, spacedim> *>(triangulation);
@@ -824,7 +824,7 @@ namespace python
     void
     read(const std::string &filename,
          const std::string &format,
-         void *             triangulation)
+         void              *triangulation)
     {
       Triangulation<dim, spacedim> *tria =
         static_cast<Triangulation<dim, spacedim> *>(triangulation);
@@ -1046,8 +1046,8 @@ namespace python
   void
   TriangulationWrapper::generate_subdivided_hyper_rectangle(
     boost::python::list &repetition_list,
-    PointWrapper &       p1,
-    PointWrapper &       p2,
+    PointWrapper        &p1,
+    PointWrapper        &p2,
     const bool           colorize)
   {
     AssertThrow(
@@ -1076,8 +1076,8 @@ namespace python
   void
   TriangulationWrapper::generate_subdivided_steps_hyper_rectangle(
     boost::python::list &step_sizes_list,
-    PointWrapper &       p1,
-    PointWrapper &       p2,
+    PointWrapper        &p1,
+    PointWrapper        &p2,
     const bool           colorize)
   {
     AssertThrow(
@@ -1112,7 +1112,7 @@ namespace python
   void
   TriangulationWrapper::generate_subdivided_material_hyper_rectangle(
     boost::python::list &spacing_list,
-    PointWrapper &       p,
+    PointWrapper        &p,
     boost::python::list &material_id_list,
     const bool           colorize)
   {
@@ -1375,7 +1375,7 @@ namespace python
 
 
   void
-  TriangulationWrapper::generate_hyper_shell(PointWrapper center,
+  TriangulationWrapper::generate_hyper_shell(PointWrapper  &center,
                                              const double   inner_radius,
                                              const double   outer_radius,
                                              const unsigned n_cells,
@@ -1604,7 +1604,7 @@ namespace python
   void
   TriangulationWrapper::replicate_triangulation(
     TriangulationWrapper &triangulation_in,
-    boost::python::list extents)
+    boost::python::list  &extents)
   {
     AssertThrow(
       boost::python::len(extents) == dim,
@@ -1661,7 +1661,7 @@ namespace python
 
 
   CellAccessorWrapper
-  TriangulationWrapper::find_active_cell_around_point(PointWrapper &  p,
+  TriangulationWrapper::find_active_cell_around_point(PointWrapper   &p,
                                                       MappingQWrapper mapping)
   {
     std::pair<int, int> level_index_pair;
@@ -1704,7 +1704,7 @@ namespace python
 
   boost::python::list
   TriangulationWrapper::compute_aspect_ratio_of_cells(
-    const MappingQWrapper &  mapping,
+    const MappingQWrapper   &mapping,
     const QuadratureWrapper &quadrature)
   {
     if ((dim == 2) && (spacedim == 2))
index 796bf858edf8ede1e04fef06d4f0e6eaa2320390..82b56297a8737e44d95f1baf0dd113d4c1efd09b 100644 (file)
@@ -82,7 +82,7 @@ namespace Step12
   public:
     BoundaryValues() = default;
     virtual void value_list(const std::vector<Point<dim>> &points,
-                            std::vector<double> &          values,
+                            std::vector<double>           &values,
                             const unsigned int component = 0) const override;
   };
 
@@ -93,7 +93,7 @@ namespace Step12
   // scheme.
   template <int dim>
   void BoundaryValues<dim>::value_list(const std::vector<Point<dim>> &points,
-                                       std::vector<double> &          values,
+                                       std::vector<double>           &values,
                                        const unsigned int component) const
   {
     (void)component;
@@ -142,9 +142,9 @@ namespace Step12
   template <int dim>
   struct ScratchData
   {
-    ScratchData(const Mapping<dim> &       mapping,
-                const FiniteElement<dim> fe,
-                const Quadrature<dim> &    quadrature,
+    ScratchData(const Mapping<dim>        &mapping,
+                const FiniteElement<dim>  &fe,
+                const Quadrature<dim>     &quadrature,
                 const Quadrature<dim - 1> &quadrature_face,
                 const UpdateFlags          update_flags = update_values |
                                                  update_gradients |
@@ -301,9 +301,9 @@ namespace Step12
     const BoundaryValues<dim> boundary_function;
 
     // This is the function that will be executed for each cell.
-    const auto cell_worker = [&](const Iterator &  cell,
+    const auto cell_worker = [&](const Iterator   &cell,
                                  ScratchData<dim> &scratch_data,
-                                 CopyData &        copy_data) {
+                                 CopyData         &copy_data) {
       const unsigned int n_dofs =
         scratch_data.fe_values.get_fe().n_dofs_per_cell();
       copy_data.reinit(cell, n_dofs);
@@ -311,7 +311,7 @@ namespace Step12
 
       const auto &q_points = scratch_data.fe_values.get_quadrature_points();
 
-      const FEValues<dim> &      fe_v = scratch_data.fe_values;
+      const FEValues<dim>       &fe_v = scratch_data.fe_values;
       const std::vector<double> &JxW  = fe_v.get_JxW_values();
 
       // We solve a homogeneous equation, thus no right hand side shows up in
@@ -334,10 +334,10 @@ namespace Step12
     // This is the function called for boundary faces and consists of a normal
     // integration using FEFaceValues. New is the logic to decide if the term
     // goes into the system matrix (outflow) or the right-hand side (inflow).
-    const auto boundary_worker = [&](const Iterator &    cell,
+    const auto boundary_worker = [&](const Iterator     &cell,
                                      const unsigned int &face_no,
-                                     ScratchData<dim> &  scratch_data,
-                                     CopyData &          copy_data) {
+                                     ScratchData<dim>   &scratch_data,
+                                     CopyData           &copy_data) {
       scratch_data.fe_interface_values.reinit(cell, face_no);
       const FEFaceValuesBase<dim> &fe_face =
         scratch_data.fe_interface_values.get_fe_face_values(0);
@@ -345,7 +345,7 @@ namespace Step12
       const auto &q_points = fe_face.get_quadrature_points();
 
       const unsigned int n_facet_dofs = fe_face.get_fe().n_dofs_per_cell();
-      const std::vector<double> &        JxW     = fe_face.get_JxW_values();
+      const std::vector<double>         &JxW     = fe_face.get_JxW_values();
       const std::vector<Tensor<1, dim>> &normals = fe_face.get_normal_vectors();
 
       std::vector<double> g(q_points.size());
@@ -377,14 +377,14 @@ namespace Step12
     // This is the function called on interior faces. The arguments specify
     // cells, face and subface indices (for adaptive refinement). We just pass
     // them along to the reinit() function of FEInterfaceValues.
-    const auto face_worker = [&](const Iterator &    cell,
+    const auto face_worker = [&](const Iterator     &cell,
                                  const unsigned int &f,
                                  const unsigned int &sf,
-                                 const Iterator &    ncell,
+                                 const Iterator     &ncell,
                                  const unsigned int &nf,
                                  const unsigned int &nsf,
-                                 ScratchData<dim> &  scratch_data,
-                                 CopyData &          copy_data) {
+                                 ScratchData<dim>   &scratch_data,
+                                 CopyData           &copy_data) {
       FEInterfaceValues<dim> &fe_iv = scratch_data.fe_interface_values;
       fe_iv.reinit(cell, f, sf, ncell, nf, nsf);
       const auto &q_points = fe_iv.get_quadrature_points();
@@ -397,7 +397,7 @@ namespace Step12
 
       copy_data_face.cell_matrix.reinit(n_dofs, n_dofs);
 
-      const std::vector<double> &        JxW     = fe_iv.get_JxW_values();
+      const std::vector<double>         &JxW     = fe_iv.get_JxW_values();
       const std::vector<Tensor<1, dim>> &normals = fe_iv.get_normal_vectors();
 
       for (unsigned int qpoint = 0; qpoint < q_points.size(); ++qpoint)
index 83a04626498b03dffb6ba0c2f75331149b837014..57446a6c14fee99e2e2b60fbd0e04ee44fd40c47 100644 (file)
@@ -87,7 +87,7 @@ namespace Step12
   public:
     BoundaryValues() = default;
     virtual void value_list(const std::vector<Point<dim>> &points,
-                            std::vector<double> &          values,
+                            std::vector<double>           &values,
                             const unsigned int component = 0) const override;
   };
 
@@ -98,7 +98,7 @@ namespace Step12
   // scheme.
   template <int dim>
   void BoundaryValues<dim>::value_list(const std::vector<Point<dim>> &points,
-                                       std::vector<double> &          values,
+                                       std::vector<double>           &values,
                                        const unsigned int component) const
   {
     (void)component;
@@ -205,8 +205,8 @@ namespace Step12
     // bound.
     static void integrate_cell_term(DoFInfo &dinfo, CellInfo &info);
     static void integrate_boundary_term(DoFInfo &dinfo, CellInfo &info);
-    static void integrate_face_term(DoFInfo dinfo1,
-                                    DoFInfo dinfo2,
+    static void integrate_face_term(DoFInfo  &dinfo1,
+                                    DoFInfo  &dinfo2,
                                     CellInfo &info1,
                                     CellInfo &info2);
   };
@@ -331,14 +331,14 @@ namespace Step12
   // just above. They compute the local contributions to the system matrix and
   // right hand side on cells and faces.
   template <int dim>
-  void AdvectionProblem<dim>::integrate_cell_term(DoFInfo dinfo,
+  void AdvectionProblem<dim>::integrate_cell_term(DoFInfo  &dinfo,
                                                   CellInfo &info)
   {
     // First, let us retrieve some of the objects used here from @p info. Note
     // that these objects can handle much more complex structures, thus the
     // access here looks more complicated than might seem necessary.
-    const FEValuesBase<dim> &  fe_values    = info.fe_values();
-    FullMatrix<double> &       local_matrix = dinfo.matrix(0).matrix;
+    const FEValuesBase<dim>   &fe_values    = info.fe_values();
+    FullMatrix<double>        &local_matrix = dinfo.matrix(0).matrix;
     const std::vector<double> &JxW          = fe_values.get_JxW_values();
 
     // With these objects, we continue local integration like always. First, we
@@ -364,14 +364,14 @@ namespace Step12
   // base class for both FEFaceValues and FESubfaceValues, in order to get
   // access to normal vectors.
   template <int dim>
-  void AdvectionProblem<dim>::integrate_boundary_term(DoFInfo dinfo,
+  void AdvectionProblem<dim>::integrate_boundary_term(DoFInfo  &dinfo,
                                                       CellInfo &info)
   {
     const FEValuesBase<dim> &fe_face_values = info.fe_values();
-    FullMatrix<double> &     local_matrix   = dinfo.matrix(0).matrix;
-    Vector<double> &         local_vector   = dinfo.vector(0).block(0);
+    FullMatrix<double>      &local_matrix   = dinfo.matrix(0).matrix;
+    Vector<double>          &local_vector   = dinfo.vector(0).block(0);
 
-    const std::vector<double> &        JxW = fe_face_values.get_JxW_values();
+    const std::vector<double>         &JxW = fe_face_values.get_JxW_values();
     const std::vector<Tensor<1, dim>> &normals =
       fe_face_values.get_normal_vectors();
 
@@ -405,8 +405,8 @@ namespace Step12
   // two info objects, one for each cell adjacent to the face and we assemble
   // four matrices, one for each cell and two for coupling back and forth.
   template <int dim>
-  void AdvectionProblem<dim>::integrate_face_term(DoFInfo dinfo1,
-                                                  DoFInfo dinfo2,
+  void AdvectionProblem<dim>::integrate_face_term(DoFInfo  &dinfo1,
+                                                  DoFInfo  &dinfo2,
                                                   CellInfo &info1,
                                                   CellInfo &info2)
   {
@@ -436,7 +436,7 @@ namespace Step12
     // hand side vectors. Fortunately, the interface terms only involve the
     // solution and the right hand side does not receive any contributions.
 
-    const std::vector<double> &        JxW = fe_face_values.get_JxW_values();
+    const std::vector<double>         &JxW = fe_face_values.get_JxW_values();
     const std::vector<Tensor<1, dim>> &normals =
       fe_face_values.get_normal_vectors();
 
index f85fb16107909b4d9397c212d7393460a8c9b7bb..5072b397750fe3e5df403c46a0111c76a01f2794 100644 (file)
@@ -121,7 +121,7 @@ namespace Step13
       void set_refinement_cycle(const unsigned int refinement_cycle);
 
       virtual void operator()(const DoFHandler<dim> &dof_handler,
-                              const Vector<double> solution) const = 0;
+                              const Vector<double>  &solution) const = 0;
 
     protected:
       unsigned int refinement_cycle;
@@ -167,10 +167,10 @@ namespace Step13
     {
     public:
       PointValueEvaluation(const Point<dim> &evaluation_point,
-                           TableHandler &    results_table);
+                           TableHandler     &results_table);
 
       virtual void operator()(const DoFHandler<dim> &dof_handler,
-                              const Vector<double> solution) const override;
+                              const Vector<double>  &solution) const override;
 
       DeclException1(
         ExcEvaluationPointNotFound,
@@ -180,7 +180,7 @@ namespace Step13
 
     private:
       const Point<dim> evaluation_point;
-      TableHandler &   results_table;
+      TableHandler    &results_table;
     };
 
 
@@ -189,7 +189,7 @@ namespace Step13
     template <int dim>
     PointValueEvaluation<dim>::PointValueEvaluation(
       const Point<dim> &evaluation_point,
-      TableHandler &    results_table)
+      TableHandler     &results_table)
       : evaluation_point(evaluation_point)
       , results_table(results_table)
     {}
@@ -201,7 +201,7 @@ namespace Step13
     template <int dim>
     void
     PointValueEvaluation<dim>::operator()(const DoFHandler<dim> &dof_handler,
-                                          const Vector<double> solution) const
+                                          const Vector<double>  &solution) const
     {
       // First allocate a variable that will hold the point value. Initialize
       // it with a value that is clearly bogus, so that if we fail to set it
@@ -354,11 +354,11 @@ namespace Step13
     class SolutionOutput : public EvaluationBase<dim>
     {
     public:
-      SolutionOutput(const std::string &             output_name_base,
+      SolutionOutput(const std::string              &output_name_base,
                      const DataOutBase::OutputFormat output_format);
 
       virtual void operator()(const DoFHandler<dim> &dof_handler,
-                              const Vector<double> solution) const override;
+                              const Vector<double>  &solution) const override;
 
     private:
       const std::string               output_name_base;
@@ -368,7 +368,7 @@ namespace Step13
 
     template <int dim>
     SolutionOutput<dim>::SolutionOutput(
-      const std::string &             output_name_base,
+      const std::string              &output_name_base,
       const DataOutBase::OutputFormat output_format)
       : output_name_base(output_name_base)
       , output_format(output_format)
@@ -393,7 +393,7 @@ namespace Step13
     // there).
     template <int dim>
     void SolutionOutput<dim>::operator()(const DoFHandler<dim> &dof_handler,
-                                         const Vector<double> solution) const
+                                         const Vector<double>  &solution) const
     {
       DataOut<dim> data_out;
       data_out.attach_dof_handler(dof_handler);
@@ -554,10 +554,10 @@ namespace Step13
     class Solver : public virtual Base<dim>
     {
     public:
-      Solver(Triangulation<dim> &      triangulation,
+      Solver(Triangulation<dim>       &triangulation,
              const FiniteElement<dim> &fe,
-             const Quadrature<dim> &   quadrature,
-             const Function<dim> &     boundary_values);
+             const Quadrature<dim>    &quadrature,
+             const Function<dim>      &boundary_values);
       virtual ~Solver() override;
 
       virtual void solve_problem() override;
@@ -614,7 +614,7 @@ namespace Step13
       struct AssemblyScratchData
       {
         AssemblyScratchData(const FiniteElement<dim> &fe,
-                            const Quadrature<dim> &   quadrature);
+                            const Quadrature<dim>    &quadrature);
         AssemblyScratchData(const AssemblyScratchData &scratch_data);
 
         FEValues<dim> fe_values;
@@ -630,11 +630,11 @@ namespace Step13
 
       void local_assemble_matrix(
         const typename DoFHandler<dim>::active_cell_iterator &cell,
-        AssemblyScratchData &                                 scratch_data,
-        AssemblyCopyData &                                    copy_data) const;
+        AssemblyScratchData                                  &scratch_data,
+        AssemblyCopyData                                     &copy_data) const;
 
       void copy_local_to_global(const AssemblyCopyData &copy_data,
-                                LinearSystem &          linear_system) const;
+                                LinearSystem           &linear_system) const;
     };
 
 
@@ -646,10 +646,10 @@ namespace Step13
     // does not already generate a finite element numbering (we only ask for
     // that in the <code>solve_problem</code> function).
     template <int dim>
-    Solver<dim>::Solver(Triangulation<dim> &      triangulation,
+    Solver<dim>::Solver(Triangulation<dim>       &triangulation,
                         const FiniteElement<dim> &fe,
-                        const Quadrature<dim> &   quadrature,
-                        const Function<dim> &     boundary_values)
+                        const Quadrature<dim>    &quadrature,
+                        const Function<dim>      &boundary_values)
       : Base<dim>(triangulation)
       , fe(&fe)
       , quadrature(&quadrature)
@@ -735,7 +735,7 @@ namespace Step13
       auto worker =
         [this](const typename DoFHandler<dim>::active_cell_iterator &cell,
                AssemblyScratchData &scratch_data,
-               AssemblyCopyData &   copy_data) {
+               AssemblyCopyData    &copy_data) {
           this->local_assemble_matrix(cell, scratch_data, copy_data);
         };
 
@@ -851,7 +851,7 @@ namespace Step13
     template <int dim>
     Solver<dim>::AssemblyScratchData::AssemblyScratchData(
       const FiniteElement<dim> &fe,
-      const Quadrature<dim> &   quadrature)
+      const Quadrature<dim>    &quadrature)
       : fe_values(fe, quadrature, update_gradients | update_JxW_values)
     {}
 
@@ -868,8 +868,8 @@ namespace Step13
     template <int dim>
     void Solver<dim>::local_assemble_matrix(
       const typename DoFHandler<dim>::active_cell_iterator &cell,
-      AssemblyScratchData &                                 scratch_data,
-      AssemblyCopyData &                                    copy_data) const
+      AssemblyScratchData                                  &scratch_data,
+      AssemblyCopyData                                     &copy_data) const
     {
       const unsigned int dofs_per_cell = fe->n_dofs_per_cell();
       const unsigned int n_q_points    = quadrature->size();
@@ -1009,11 +1009,11 @@ namespace Step13
     class PrimalSolver : public Solver<dim>
     {
     public:
-      PrimalSolver(Triangulation<dim> &      triangulation,
+      PrimalSolver(Triangulation<dim>       &triangulation,
                    const FiniteElement<dim> &fe,
-                   const Quadrature<dim> &   quadrature,
-                   const Function<dim> &     rhs_function,
-                   const Function<dim> &     boundary_values);
+                   const Quadrature<dim>    &quadrature,
+                   const Function<dim>      &rhs_function,
+                   const Function<dim>      &boundary_values);
 
     protected:
       const SmartPointer<const Function<dim>> rhs_function;
@@ -1024,11 +1024,11 @@ namespace Step13
     // The constructor of this class basically does what it is announced to do
     // above...
     template <int dim>
-    PrimalSolver<dim>::PrimalSolver(Triangulation<dim> &      triangulation,
+    PrimalSolver<dim>::PrimalSolver(Triangulation<dim>       &triangulation,
                                     const FiniteElement<dim> &fe,
-                                    const Quadrature<dim> &   quadrature,
-                                    const Function<dim> &     rhs_function,
-                                    const Function<dim> &     boundary_values)
+                                    const Quadrature<dim>    &quadrature,
+                                    const Function<dim>      &rhs_function,
+                                    const Function<dim>      &boundary_values)
       : Base<dim>(triangulation)
       , Solver<dim>(triangulation, fe, quadrature, boundary_values)
       , rhs_function(&rhs_function)
@@ -1097,11 +1097,11 @@ namespace Step13
     class RefinementGlobal : public PrimalSolver<dim>
     {
     public:
-      RefinementGlobal(Triangulation<dim> &      coarse_grid,
+      RefinementGlobal(Triangulation<dim>       &coarse_grid,
                        const FiniteElement<dim> &fe,
-                       const Quadrature<dim> &   quadrature,
-                       const Function<dim> &     rhs_function,
-                       const Function<dim> &     boundary_values);
+                       const Quadrature<dim>    &quadrature,
+                       const Function<dim>      &rhs_function,
+                       const Function<dim>      &boundary_values);
 
       virtual void refine_grid() override;
     };
@@ -1110,11 +1110,11 @@ namespace Step13
 
     template <int dim>
     RefinementGlobal<dim>::RefinementGlobal(
-      Triangulation<dim> &      coarse_grid,
+      Triangulation<dim>       &coarse_grid,
       const FiniteElement<dim> &fe,
-      const Quadrature<dim> &   quadrature,
-      const Function<dim> &     rhs_function,
-      const Function<dim> &     boundary_values)
+      const Quadrature<dim>    &quadrature,
+      const Function<dim>      &rhs_function,
+      const Function<dim>      &boundary_values)
       : Base<dim>(coarse_grid)
       , PrimalSolver<dim>(coarse_grid,
                           fe,
@@ -1147,11 +1147,11 @@ namespace Step13
     class RefinementKelly : public PrimalSolver<dim>
     {
     public:
-      RefinementKelly(Triangulation<dim> &      coarse_grid,
+      RefinementKelly(Triangulation<dim>       &coarse_grid,
                       const FiniteElement<dim> &fe,
-                      const Quadrature<dim> &   quadrature,
-                      const Function<dim> &     rhs_function,
-                      const Function<dim> &     boundary_values);
+                      const Quadrature<dim>    &quadrature,
+                      const Function<dim>      &rhs_function,
+                      const Function<dim>      &boundary_values);
 
       virtual void refine_grid() override;
     };
@@ -1159,9 +1159,9 @@ namespace Step13
 
 
     template <int dim>
-    RefinementKelly<dim>::RefinementKelly(Triangulation<dim> &      coarse_grid,
+    RefinementKelly<dim>::RefinementKelly(Triangulation<dim>       &coarse_grid,
                                           const FiniteElement<dim> &fe,
-                                          const Quadrature<dim> &   quadrature,
+                                          const Quadrature<dim>    &quadrature,
                                           const Function<dim> &rhs_function,
                                           const Function<dim> &boundary_values)
       : Base<dim>(coarse_grid)
@@ -1214,13 +1214,13 @@ namespace Step13
   class Solution : public Function<dim>
   {
   public:
-    virtual double value(const Point<dim> p,
+    virtual double value(const Point<dim>  &p,
                          const unsigned int component) const override;
   };
 
 
   template <int dim>
-  double Solution<dim>::value(const Point<dim> p,
+  double Solution<dim>::value(const Point<dim>  &p,
                               const unsigned int component) const
   {
     (void)component;
@@ -1238,13 +1238,13 @@ namespace Step13
   class RightHandSide : public Function<dim>
   {
   public:
-    virtual double value(const Point<dim> p,
+    virtual double value(const Point<dim>  &p,
                          const unsigned int component) const override;
   };
 
 
   template <int dim>
-  double RightHandSide<dim>::value(const Point<dim> p,
+  double RightHandSide<dim>::value(const Point<dim>  &p,
                                    const unsigned int component) const
   {
     (void)component;
@@ -1281,7 +1281,7 @@ namespace Step13
   // intermittent mesh refinement:
   template <int dim>
   void run_simulation(
-    LaplaceSolver::Base<dim> &                          solver,
+    LaplaceSolver::Base<dim>                           &solver,
     const std::list<Evaluation::EvaluationBase<dim> *> &postprocessor_list)
   {
     // We will give an indicator of the step we are presently computing, in
index 5df33680d3da4ed586557f26b7fa6ac8aca03e3d..234e365430c19f4fe4bf09c601622bbc2ed13933 100644 (file)
@@ -79,7 +79,7 @@ namespace Step14
       void set_refinement_cycle(const unsigned int refinement_cycle);
 
       virtual void operator()(const DoFHandler<dim> &dof_handler,
-                              const Vector<double> solution) const = 0;
+                              const Vector<double>  &solution) const = 0;
 
     protected:
       unsigned int refinement_cycle;
@@ -102,7 +102,7 @@ namespace Step14
       PointValueEvaluation(const Point<dim> &evaluation_point);
 
       virtual void operator()(const DoFHandler<dim> &dof_handler,
-                              const Vector<double> solution) const override;
+                              const Vector<double>  &solution) const override;
 
       DeclException1(
         ExcEvaluationPointNotFound,
@@ -126,7 +126,7 @@ namespace Step14
     template <int dim>
     void
     PointValueEvaluation<dim>::operator()(const DoFHandler<dim> &dof_handler,
-                                          const Vector<double> solution) const
+                                          const Vector<double>  &solution) const
     {
       double point_value = 1e20;
 
@@ -170,7 +170,7 @@ namespace Step14
       PointXDerivativeEvaluation(const Point<dim> &evaluation_point);
 
       virtual void operator()(const DoFHandler<dim> &dof_handler,
-                              const Vector<double> solution) const;
+                              const Vector<double>  &solution) const;
 
       DeclException1(
         ExcEvaluationPointNotFound,
@@ -195,7 +195,7 @@ namespace Step14
     template <int dim>
     void PointXDerivativeEvaluation<dim>::operator()(
       const DoFHandler<dim> &dof_handler,
-      const Vector<double> solution) const
+      const Vector<double>  &solution) const
     {
       // This time initialize the return value with something useful, since we
       // will have to add up a number of contributions and take the mean value
@@ -301,7 +301,7 @@ namespace Step14
       GridOutput(const std::string &output_name_base);
 
       virtual void operator()(const DoFHandler<dim> &dof_handler,
-                              const Vector<double> solution) const override;
+                              const Vector<double>  &solution) const override;
 
     private:
       const std::string output_name_base;
@@ -387,11 +387,11 @@ namespace Step14
     class Solver : public virtual Base<dim>
     {
     public:
-      Solver(Triangulation<dim> &       triangulation,
-             const FiniteElement<dim> fe,
-             const Quadrature<dim> &    quadrature,
+      Solver(Triangulation<dim>        &triangulation,
+             const FiniteElement<dim>  &fe,
+             const Quadrature<dim>     &quadrature,
              const Quadrature<dim - 1> &face_quadrature,
-             const Function<dim> &      boundary_values);
+             const Function<dim>       &boundary_values);
       virtual ~Solver() override;
 
       virtual void solve_problem() override;
@@ -432,7 +432,7 @@ namespace Step14
       struct AssemblyScratchData
       {
         AssemblyScratchData(const FiniteElement<dim> &fe,
-                            const Quadrature<dim> &   quadrature);
+                            const Quadrature<dim>    &quadrature);
         AssemblyScratchData(const AssemblyScratchData &scratch_data);
 
         FEValues<dim> fe_values;
@@ -449,22 +449,22 @@ namespace Step14
 
       void local_assemble_matrix(
         const typename DoFHandler<dim>::active_cell_iterator &cell,
-        AssemblyScratchData &                                 scratch_data,
-        AssemblyCopyData &                                    copy_data) const;
+        AssemblyScratchData                                  &scratch_data,
+        AssemblyCopyData                                     &copy_data) const;
 
 
       void copy_local_to_global(const AssemblyCopyData &copy_data,
-                                LinearSystem &          linear_system) const;
+                                LinearSystem           &linear_system) const;
     };
 
 
 
     template <int dim>
-    Solver<dim>::Solver(Triangulation<dim> &       triangulation,
-                        const FiniteElement<dim> fe,
-                        const Quadrature<dim> &    quadrature,
+    Solver<dim>::Solver(Triangulation<dim>        &triangulation,
+                        const FiniteElement<dim>  &fe,
+                        const Quadrature<dim>     &quadrature,
                         const Quadrature<dim - 1> &face_quadrature,
-                        const Function<dim> &      boundary_values)
+                        const Function<dim>       &boundary_values)
       : Base<dim>(triangulation)
       , fe(&fe)
       , quadrature(&quadrature)
@@ -519,7 +519,7 @@ namespace Step14
       auto worker =
         [this](const typename DoFHandler<dim>::active_cell_iterator &cell,
                AssemblyScratchData &scratch_data,
-               AssemblyCopyData &   copy_data) {
+               AssemblyCopyData    &copy_data) {
           this->local_assemble_matrix(cell, scratch_data, copy_data);
         };
 
@@ -554,7 +554,7 @@ namespace Step14
     template <int dim>
     Solver<dim>::AssemblyScratchData::AssemblyScratchData(
       const FiniteElement<dim> &fe,
-      const Quadrature<dim> &   quadrature)
+      const Quadrature<dim>    &quadrature)
       : fe_values(fe, quadrature, update_gradients | update_JxW_values)
     {}
 
@@ -571,8 +571,8 @@ namespace Step14
     template <int dim>
     void Solver<dim>::local_assemble_matrix(
       const typename DoFHandler<dim>::active_cell_iterator &cell,
-      AssemblyScratchData &                                 scratch_data,
-      AssemblyCopyData &                                    copy_data) const
+      AssemblyScratchData                                  &scratch_data,
+      AssemblyCopyData                                     &copy_data) const
     {
       const unsigned int dofs_per_cell = fe->n_dofs_per_cell();
       const unsigned int n_q_points    = quadrature->size();
@@ -702,12 +702,12 @@ namespace Step14
     class PrimalSolver : public Solver<dim>
     {
     public:
-      PrimalSolver(Triangulation<dim> &       triangulation,
-                   const FiniteElement<dim> fe,
-                   const Quadrature<dim> &    quadrature,
+      PrimalSolver(Triangulation<dim>        &triangulation,
+                   const FiniteElement<dim>  &fe,
+                   const Quadrature<dim>     &quadrature,
                    const Quadrature<dim - 1> &face_quadrature,
-                   const Function<dim> &      rhs_function,
-                   const Function<dim> &      boundary_values);
+                   const Function<dim>       &rhs_function,
+                   const Function<dim>       &boundary_values);
 
       virtual void output_solution() const override;
 
@@ -718,12 +718,12 @@ namespace Step14
 
 
     template <int dim>
-    PrimalSolver<dim>::PrimalSolver(Triangulation<dim> &       triangulation,
-                                    const FiniteElement<dim> fe,
-                                    const Quadrature<dim> &    quadrature,
+    PrimalSolver<dim>::PrimalSolver(Triangulation<dim>        &triangulation,
+                                    const FiniteElement<dim>  &fe,
+                                    const Quadrature<dim>     &quadrature,
                                     const Quadrature<dim - 1> &face_quadrature,
-                                    const Function<dim> &      rhs_function,
-                                    const Function<dim> &      boundary_values)
+                                    const Function<dim>       &rhs_function,
+                                    const Function<dim>       &boundary_values)
       : Base<dim>(triangulation)
       , Solver<dim>(triangulation,
                     fe,
@@ -795,12 +795,12 @@ namespace Step14
     class RefinementGlobal : public PrimalSolver<dim>
     {
     public:
-      RefinementGlobal(Triangulation<dim> &       coarse_grid,
-                       const FiniteElement<dim> fe,
-                       const Quadrature<dim> &    quadrature,
+      RefinementGlobal(Triangulation<dim>        &coarse_grid,
+                       const FiniteElement<dim>  &fe,
+                       const Quadrature<dim>     &quadrature,
                        const Quadrature<dim - 1> &face_quadrature,
-                       const Function<dim> &      rhs_function,
-                       const Function<dim> &      boundary_values);
+                       const Function<dim>       &rhs_function,
+                       const Function<dim>       &boundary_values);
 
       virtual void refine_grid() override;
     };
@@ -809,12 +809,12 @@ namespace Step14
 
     template <int dim>
     RefinementGlobal<dim>::RefinementGlobal(
-      Triangulation<dim> &       coarse_grid,
-      const FiniteElement<dim> fe,
-      const Quadrature<dim> &    quadrature,
+      Triangulation<dim>        &coarse_grid,
+      const FiniteElement<dim>  &fe,
+      const Quadrature<dim>     &quadrature,
       const Quadrature<dim - 1> &face_quadrature,
-      const Function<dim> &      rhs_function,
-      const Function<dim> &      boundary_values)
+      const Function<dim>       &rhs_function,
+      const Function<dim>       &boundary_values)
       : Base<dim>(coarse_grid)
       , PrimalSolver<dim>(coarse_grid,
                           fe,
@@ -838,12 +838,12 @@ namespace Step14
     class RefinementKelly : public PrimalSolver<dim>
     {
     public:
-      RefinementKelly(Triangulation<dim> &       coarse_grid,
-                      const FiniteElement<dim> fe,
-                      const Quadrature<dim> &    quadrature,
+      RefinementKelly(Triangulation<dim>        &coarse_grid,
+                      const FiniteElement<dim>  &fe,
+                      const Quadrature<dim>     &quadrature,
                       const Quadrature<dim - 1> &face_quadrature,
-                      const Function<dim> &      rhs_function,
-                      const Function<dim> &      boundary_values);
+                      const Function<dim>       &rhs_function,
+                      const Function<dim>       &boundary_values);
 
       virtual void refine_grid() override;
     };
@@ -852,12 +852,12 @@ namespace Step14
 
     template <int dim>
     RefinementKelly<dim>::RefinementKelly(
-      Triangulation<dim> &       coarse_grid,
-      const FiniteElement<dim> fe,
-      const Quadrature<dim> &    quadrature,
+      Triangulation<dim>        &coarse_grid,
+      const FiniteElement<dim>  &fe,
+      const Quadrature<dim>     &quadrature,
       const Quadrature<dim - 1> &face_quadrature,
-      const Function<dim> &      rhs_function,
-      const Function<dim> &      boundary_values)
+      const Function<dim>       &rhs_function,
+      const Function<dim>       &boundary_values)
       : Base<dim>(coarse_grid)
       , PrimalSolver<dim>(coarse_grid,
                           fe,
@@ -905,13 +905,13 @@ namespace Step14
     class RefinementWeightedKelly : public PrimalSolver<dim>
     {
     public:
-      RefinementWeightedKelly(Triangulation<dim> &       coarse_grid,
-                              const FiniteElement<dim> fe,
-                              const Quadrature<dim> &    quadrature,
+      RefinementWeightedKelly(Triangulation<dim>        &coarse_grid,
+                              const FiniteElement<dim>  &fe,
+                              const Quadrature<dim>     &quadrature,
                               const Quadrature<dim - 1> &face_quadrature,
-                              const Function<dim> &      rhs_function,
-                              const Function<dim> &      boundary_values,
-                              const Function<dim> &      weighting_function);
+                              const Function<dim>       &rhs_function,
+                              const Function<dim>       &boundary_values,
+                              const Function<dim>       &weighting_function);
 
       virtual void refine_grid() override;
 
@@ -923,13 +923,13 @@ namespace Step14
 
     template <int dim>
     RefinementWeightedKelly<dim>::RefinementWeightedKelly(
-      Triangulation<dim> &       coarse_grid,
-      const FiniteElement<dim> fe,
-      const Quadrature<dim> &    quadrature,
+      Triangulation<dim>        &coarse_grid,
+      const FiniteElement<dim>  &fe,
+      const Quadrature<dim>     &quadrature,
       const Quadrature<dim - 1> &face_quadrature,
-      const Function<dim> &      rhs_function,
-      const Function<dim> &      boundary_values,
-      const Function<dim> &      weighting_function)
+      const Function<dim>       &rhs_function,
+      const Function<dim>       &boundary_values,
+      const Function<dim>       &weighting_function)
       : Base<dim>(coarse_grid)
       , PrimalSolver<dim>(coarse_grid,
                           fe,
@@ -1130,7 +1130,7 @@ namespace Step14
       class BoundaryValues : public Function<dim>
       {
       public:
-        virtual double value(const Point<dim> p,
+        virtual double value(const Point<dim>  &p,
                              const unsigned int component) const;
       };
 
@@ -1138,7 +1138,7 @@ namespace Step14
       class RightHandSide : public Function<dim>
       {
       public:
-        virtual double value(const Point<dim> p,
+        virtual double value(const Point<dim>  &p,
                              const unsigned int component) const;
       };
 
@@ -1390,7 +1390,7 @@ namespace Step14
     {
     public:
       virtual void assemble_rhs(const DoFHandler<dim> &dof_handler,
-                                Vector<double> &       rhs) const = 0;
+                                Vector<double>        &rhs) const = 0;
     };
 
 
@@ -1408,7 +1408,7 @@ namespace Step14
       PointValueEvaluation(const Point<dim> &evaluation_point);
 
       virtual void assemble_rhs(const DoFHandler<dim> &dof_handler,
-                                Vector<double> &       rhs) const override;
+                                Vector<double>        &rhs) const override;
 
       DeclException1(
         ExcEvaluationPointNotFound,
@@ -1444,7 +1444,7 @@ namespace Step14
     template <int dim>
     void
     PointValueEvaluation<dim>::assemble_rhs(const DoFHandler<dim> &dof_handler,
-                                            Vector<double> &       rhs) const
+                                            Vector<double>        &rhs) const
     {
       // So, first set everything to zeros...
       rhs.reinit(dof_handler.n_dofs());
@@ -1482,7 +1482,7 @@ namespace Step14
       PointXDerivativeEvaluation(const Point<dim> &evaluation_point);
 
       virtual void assemble_rhs(const DoFHandler<dim> &dof_handler,
-                                Vector<double> &       rhs) const;
+                                Vector<double>        &rhs) const;
 
       DeclException1(
         ExcEvaluationPointNotFound,
@@ -1522,7 +1522,7 @@ namespace Step14
     template <int dim>
     void PointXDerivativeEvaluation<dim>::assemble_rhs(
       const DoFHandler<dim> &dof_handler,
-      Vector<double> &       rhs) const
+      Vector<double>        &rhs) const
     {
       // Again, first set all entries to zero:
       rhs.reinit(dof_handler.n_dofs());
@@ -1620,10 +1620,10 @@ namespace Step14
     {
     public:
       DualSolver(
-        Triangulation<dim> &                           triangulation,
-        const FiniteElement<dim> &                     fe,
-        const Quadrature<dim> &                        quadrature,
-        const Quadrature<dim - 1> &                    face_quadrature,
+        Triangulation<dim>                            &triangulation,
+        const FiniteElement<dim>                      &fe,
+        const Quadrature<dim>                         &quadrature,
+        const Quadrature<dim - 1>                     &face_quadrature,
         const DualFunctional::DualFunctionalBase<dim> &dual_functional);
 
     protected:
@@ -1639,10 +1639,10 @@ namespace Step14
 
     template <int dim>
     DualSolver<dim>::DualSolver(
-      Triangulation<dim> &                           triangulation,
-      const FiniteElement<dim> &                     fe,
-      const Quadrature<dim> &                        quadrature,
-      const Quadrature<dim - 1> &                    face_quadrature,
+      Triangulation<dim>                            &triangulation,
+      const FiniteElement<dim>                      &fe,
+      const Quadrature<dim>                         &quadrature,
+      const Quadrature<dim - 1>                     &face_quadrature,
       const DualFunctional::DualFunctionalBase<dim> &dual_functional)
       : Base<dim>(triangulation)
       , Solver<dim>(triangulation,
@@ -1677,13 +1677,13 @@ namespace Step14
     {
     public:
       WeightedResidual(
-        Triangulation<dim> &                           coarse_grid,
-        const FiniteElement<dim> &                     primal_fe,
-        const FiniteElement<dim> &                     dual_fe,
-        const Quadrature<dim> &                        quadrature,
-        const Quadrature<dim - 1> &                    face_quadrature,
-        const Function<dim> &                          rhs_function,
-        const Function<dim> &                          boundary_values,
+        Triangulation<dim>                            &coarse_grid,
+        const FiniteElement<dim>                      &primal_fe,
+        const FiniteElement<dim>                      &dual_fe,
+        const Quadrature<dim>                         &quadrature,
+        const Quadrature<dim - 1>                     &face_quadrature,
+        const Function<dim>                           &rhs_function,
+        const Function<dim>                           &boundary_values,
         const DualFunctional::DualFunctionalBase<dim> &dual_functional);
 
       virtual void solve_problem() override;
@@ -1768,8 +1768,8 @@ namespace Step14
         std::vector<double> dual_weights;
         std::vector<double> cell_laplacians;
         CellData(const FiniteElement<dim> &fe,
-                 const Quadrature<dim> &   quadrature,
-                 const Function<dim> &     right_hand_side);
+                 const Quadrature<dim>    &quadrature,
+                 const Function<dim>      &right_hand_side);
         CellData(const CellData &cell_data);
       };
 
@@ -1783,7 +1783,7 @@ namespace Step14
         std::vector<double>                  dual_weights;
         typename std::vector<Tensor<1, dim>> cell_grads;
         typename std::vector<Tensor<1, dim>> neighbor_grads;
-        FaceData(const FiniteElement<dim> fe,
+        FaceData(const FiniteElement<dim>  &fe,
                  const Quadrature<dim - 1> &face_quadrature);
         FaceData(const FaceData &face_data);
       };
@@ -1791,12 +1791,12 @@ namespace Step14
       struct WeightedResidualScratchData
       {
         WeightedResidualScratchData(
-          const FiniteElement<dim> primal_fe,
-          const Quadrature<dim> &    primal_quadrature,
+          const FiniteElement<dim>  &primal_fe,
+          const Quadrature<dim>     &primal_quadrature,
           const Quadrature<dim - 1> &primal_face_quadrature,
-          const Function<dim> &      rhs_function,
-          const Vector<double> &     primal_solution,
-          const Vector<double> &     dual_weights);
+          const Function<dim>       &rhs_function,
+          const Vector<double>      &primal_solution,
+          const Vector<double>      &dual_weights);
 
         WeightedResidualScratchData(
           const WeightedResidualScratchData &scratch_data);
@@ -1824,10 +1824,10 @@ namespace Step14
       // every cell:
       void estimate_error(Vector<float> &error_indicators) const;
 
-      void estimate_on_one_cell(const active_cell_iterator cell,
+      void estimate_on_one_cell(const active_cell_iterator  &cell,
                                 WeightedResidualScratchData &scratch_data,
-                                WeightedResidualCopyData &   copy_data,
-                                Vector<float> &              error_indicators,
+                                WeightedResidualCopyData    &copy_data,
+                                Vector<float>               &error_indicators,
                                 FaceIntegrals &face_integrals) const;
 
       // Then we have functions that do the actual integration of the error
@@ -1835,22 +1835,22 @@ namespace Step14
       // interiors, on those faces that have no hanging nodes, and on those
       // faces with hanging nodes, respectively:
       void integrate_over_cell(const active_cell_iterator &cell,
-                               const Vector<double> &      primal_solution,
-                               const Vector<double> &      dual_weights,
-                               CellData &                  cell_data,
+                               const Vector<double>       &primal_solution,
+                               const Vector<double>       &dual_weights,
+                               CellData                   &cell_data,
                                Vector<float> &error_indicators) const;
 
       void integrate_over_regular_face(const active_cell_iterator &cell,
                                        const unsigned int          face_no,
                                        const Vector<double> &primal_solution,
                                        const Vector<double> &dual_weights,
-                                       FaceData &            face_data,
+                                       FaceData             &face_data,
                                        FaceIntegrals &face_integrals) const;
       void integrate_over_irregular_face(const active_cell_iterator &cell,
                                          const unsigned int          face_no,
                                          const Vector<double> &primal_solution,
                                          const Vector<double> &dual_weights,
-                                         FaceData &            face_data,
+                                         FaceData             &face_data,
                                          FaceIntegrals &face_integrals) const;
     };
 
@@ -1864,8 +1864,8 @@ namespace Step14
     template <int dim>
     WeightedResidual<dim>::CellData::CellData(
       const FiniteElement<dim> &fe,
-      const Quadrature<dim> &   quadrature,
-      const Function<dim> &     right_hand_side)
+      const Quadrature<dim>    &quadrature,
+      const Function<dim>      &right_hand_side)
       : fe_values(fe,
                   quadrature,
                   update_values | update_hessians | update_quadrature_points |
@@ -1896,7 +1896,7 @@ namespace Step14
 
     template <int dim>
     WeightedResidual<dim>::FaceData::FaceData(
-      const FiniteElement<dim> fe,
+      const FiniteElement<dim>  &fe,
       const Quadrature<dim - 1> &face_quadrature)
       : fe_face_values_cell(fe,
                             face_quadrature,
@@ -1944,12 +1944,12 @@ namespace Step14
     template <int dim>
     WeightedResidual<dim>::WeightedResidualScratchData::
       WeightedResidualScratchData(
-        const FiniteElement<dim> primal_fe,
-        const Quadrature<dim> &    primal_quadrature,
+        const FiniteElement<dim>  &primal_fe,
+        const Quadrature<dim>     &primal_quadrature,
         const Quadrature<dim - 1> &primal_face_quadrature,
-        const Function<dim> &      rhs_function,
-        const Vector<double> &     primal_solution,
-        const Vector<double> &     dual_weights)
+        const Function<dim>       &rhs_function,
+        const Vector<double>      &primal_solution,
+        const Vector<double>      &dual_weights)
       : cell_data(primal_fe, primal_quadrature, rhs_function)
       , face_data(primal_fe, primal_face_quadrature)
       , primal_solution(primal_solution)
@@ -1970,13 +1970,13 @@ namespace Step14
 
     template <int dim>
     WeightedResidual<dim>::WeightedResidual(
-      Triangulation<dim> &                           coarse_grid,
-      const FiniteElement<dim> &                     primal_fe,
-      const FiniteElement<dim> &                     dual_fe,
-      const Quadrature<dim> &                        quadrature,
-      const Quadrature<dim - 1> &                    face_quadrature,
-      const Function<dim> &                          rhs_function,
-      const Function<dim> &                          bv,
+      Triangulation<dim>                            &coarse_grid,
+      const FiniteElement<dim>                      &primal_fe,
+      const FiniteElement<dim>                      &dual_fe,
+      const Quadrature<dim>                         &quadrature,
+      const Quadrature<dim - 1>                     &face_quadrature,
+      const Function<dim>                           &rhs_function,
+      const Function<dim>                           &bv,
       const DualFunctional::DualFunctionalBase<dim> &dual_functional)
       : Base<dim>(coarse_grid)
       , PrimalSolver<dim>(coarse_grid,
@@ -2196,9 +2196,9 @@ namespace Step14
 
       auto worker = [this,
                      &error_indicators,
-                     &face_integrals](const active_cell_iterator cell,
+                     &face_integrals](const active_cell_iterator  &cell,
                                       WeightedResidualScratchData &scratch_data,
-                                      WeightedResidualCopyData &   copy_data) {
+                                      WeightedResidualCopyData    &copy_data) {
         this->estimate_on_one_cell(
           cell, scratch_data, copy_data, error_indicators, face_integrals);
       };
@@ -2254,11 +2254,11 @@ namespace Step14
     // configured to use multithreading. Here it goes:
     template <int dim>
     void WeightedResidual<dim>::estimate_on_one_cell(
-      const active_cell_iterator cell,
+      const active_cell_iterator  &cell,
       WeightedResidualScratchData &scratch_data,
-      WeightedResidualCopyData &   copy_data,
-      Vector<float> &              error_indicators,
-      FaceIntegrals &              face_integrals) const
+      WeightedResidualCopyData    &copy_data,
+      Vector<float>               &error_indicators,
+      FaceIntegrals               &face_integrals) const
     {
       // Because of WorkStream, estimate_on_one_cell requires a CopyData object
       // even if it is no used. The next line silences a warning about this
@@ -2347,10 +2347,10 @@ namespace Step14
     template <int dim>
     void WeightedResidual<dim>::integrate_over_cell(
       const active_cell_iterator &cell,
-      const Vector<double> &      primal_solution,
-      const Vector<double> &      dual_weights,
-      CellData &                  cell_data,
-      Vector<float> &             error_indicators) const
+      const Vector<double>       &primal_solution,
+      const Vector<double>       &dual_weights,
+      CellData                   &cell_data,
+      Vector<float>              &error_indicators) const
     {
       // The tasks to be done are what appears natural from looking at the
       // error estimation formula: first get the right hand side and Laplacian
@@ -2387,10 +2387,10 @@ namespace Step14
     void WeightedResidual<dim>::integrate_over_regular_face(
       const active_cell_iterator &cell,
       const unsigned int          face_no,
-      const Vector<double> &      primal_solution,
-      const Vector<double> &      dual_weights,
-      FaceData &                  face_data,
-      FaceIntegrals &             face_integrals) const
+      const Vector<double>       &primal_solution,
+      const Vector<double>       &dual_weights,
+      FaceData                   &face_data,
+      FaceIntegrals              &face_integrals) const
     {
       const unsigned int n_q_points =
         face_data.fe_face_values_cell.n_quadrature_points;
@@ -2475,10 +2475,10 @@ namespace Step14
     void WeightedResidual<dim>::integrate_over_irregular_face(
       const active_cell_iterator &cell,
       const unsigned int          face_no,
-      const Vector<double> &      primal_solution,
-      const Vector<double> &      dual_weights,
-      FaceData &                  face_data,
-      FaceIntegrals &             face_integrals) const
+      const Vector<double>       &primal_solution,
+      const Vector<double>       &dual_weights,
+      FaceData                   &face_data,
+      FaceIntegrals              &face_integrals) const
     {
       // First again two abbreviations, and some consistency checks whether
       // the function is called only on faces for which it is supposed to be
index 819a63d392d875447cb5fe929a29fa8e7557aef3..060c8fd1d950d4dfa7aa6ec233e1d5f7ca38fa73 100644 (file)
@@ -136,7 +136,7 @@ namespace Step15
   class BoundaryValues : public Function<dim>
   {
   public:
-    virtual double value(const Point<dim> p,
+    virtual double value(const Point<dim>  &p,
                          const unsigned int component = 0) const override;
   };
 
index c8e997415c23e4444953a98e2305006b01af42eb..2002e66b56175e3d076c5d85c557918795f0b4ec 100644 (file)
@@ -90,7 +90,7 @@ namespace Step16
   template <int dim>
   struct ScratchData
   {
-    ScratchData(const Mapping<dim> &      mapping,
+    ScratchData(const Mapping<dim>       &mapping,
                 const FiniteElement<dim> &fe,
                 const unsigned int        quadrature_degree,
                 const UpdateFlags         update_flags)
@@ -143,9 +143,9 @@ namespace Step16
 
   private:
     template <class Iterator>
-    void cell_worker(const Iterator &  cell,
+    void cell_worker(const Iterator   &cell,
                      ScratchData<dim> &scratch_data,
-                     CopyData &        copy_data);
+                     CopyData         &copy_data);
 
     void setup_system();
     void assemble_system();
@@ -329,9 +329,9 @@ namespace Step16
   // assemble_multigrid() even though it is not used.
   template <int dim>
   template <class Iterator>
-  void LaplaceProblem<dim>::cell_worker(const Iterator &  cell,
+  void LaplaceProblem<dim>::cell_worker(const Iterator   &cell,
                                         ScratchData<dim> &scratch_data,
-                                        CopyData &        copy_data)
+                                        CopyData         &copy_data)
   {
     FEValues<dim> &fe_values = scratch_data.fe_values;
     fe_values.reinit(cell);
@@ -379,8 +379,8 @@ namespace Step16
 
     auto cell_worker =
       [&](const typename DoFHandler<dim>::active_cell_iterator &cell,
-          ScratchData<dim> &                                    scratch_data,
-          CopyData &                                            copy_data) {
+          ScratchData<dim>                                     &scratch_data,
+          CopyData                                             &copy_data) {
         this->cell_worker(cell, scratch_data, copy_data);
       };
 
@@ -445,8 +445,8 @@ namespace Step16
 
     auto cell_worker =
       [&](const typename DoFHandler<dim>::level_cell_iterator &cell,
-          ScratchData<dim> &                                   scratch_data,
-          CopyData &                                           copy_data) {
+          ScratchData<dim>                                    &scratch_data,
+          CopyData                                            &copy_data) {
         this->cell_worker(cell, scratch_data, copy_data);
       };
 
index d2ad576f6ccb7334b90cc148e74ea2099912a037..858a5391200376dcfd0b59f148cb2aaeebef6949 100644 (file)
@@ -102,7 +102,7 @@ namespace Step16
   {
   public:
     LaplaceIntegrator();
-    virtual void cell(MeshWorker::DoFInfo<dim> &        dinfo,
+    virtual void cell(MeshWorker::DoFInfo<dim>         &dinfo,
                       MeshWorker::IntegrationInfo<dim> &info) const override;
   };
 
@@ -142,7 +142,7 @@ namespace Step16
   // information into block zero of vector zero.
   template <int dim>
   void
-  LaplaceIntegrator<dim>::cell(MeshWorker::DoFInfo<dim> &        dinfo,
+  LaplaceIntegrator<dim>::cell(MeshWorker::DoFInfo<dim>         &dinfo,
                                MeshWorker::IntegrationInfo<dim> &info) const
   {
     AssertDimension(dinfo.n_matrices(), 1);
index 970f28c5e925b4eb4792f73488907a1ddf930449..06ac293ec0630aa467c9c27ecbd25366fcd9d587 100644 (file)
@@ -182,7 +182,7 @@ namespace Step17
   {
   public:
     virtual void vector_value(const Point<dim> &p,
-                              Vector<double> &  values) const override
+                              Vector<double>   &values) const override
     {
       AssertDimension(values.size(), dim);
       Assert(dim >= 2, ExcInternalError());
@@ -205,7 +205,7 @@ namespace Step17
 
     virtual void
     vector_value_list(const std::vector<Point<dim>> &points,
-                      std::vector<Vector<double>> &  value_list) const override
+                      std::vector<Vector<double>>   &value_list) const override
     {
       const unsigned int n_points = points.size();
 
index 973b104bb15b82ae8ae2b3e1e81c645ab806553d..60e1acb5af16afb18fc35c7ed73c2ef92c13cf5a 100644 (file)
@@ -541,11 +541,11 @@ namespace Step18
     BodyForce();
 
     virtual void vector_value(const Point<dim> &p,
-                              Vector<double> &  values) const override;
+                              Vector<double>   &values) const override;
 
     virtual void
     vector_value_list(const std::vector<Point<dim>> &points,
-                      std::vector<Vector<double>> &  value_list) const override;
+                      std::vector<Vector<double>>   &value_list) const override;
   };
 
 
@@ -573,7 +573,7 @@ namespace Step18
   template <int dim>
   void BodyForce<dim>::vector_value_list(
     const std::vector<Point<dim>> &points,
-    std::vector<Vector<double>> &  value_list) const
+    std::vector<Vector<double>>   &value_list) const
   {
     const unsigned int n_points = points.size();
 
@@ -620,11 +620,11 @@ namespace Step18
                               const double present_timestep);
 
     virtual void vector_value(const Point<dim> &p,
-                              Vector<double> &  values) const override;
+                              Vector<double>   &values) const override;
 
     virtual void
     vector_value_list(const std::vector<Point<dim>> &points,
-                      std::vector<Vector<double>> &  value_list) const override;
+                      std::vector<Vector<double>>   &value_list) const override;
 
   private:
     const double velocity;
@@ -660,7 +660,7 @@ namespace Step18
   template <int dim>
   void IncrementalBoundaryValues<dim>::vector_value_list(
     const std::vector<Point<dim>> &points,
-    std::vector<Vector<double>> &  value_list) const
+    std::vector<Vector<double>>   &value_list) const
   {
     const unsigned int n_points = points.size();
 
index 3a5e062e13dee616480999fa442ecaafff4b75f0..e9d7bd59e861501e8274e8f70edae2dcf8bc2722 100644 (file)
@@ -137,7 +137,7 @@ namespace Step19
     void create_particles();
     void move_particles();
     void track_lost_particle(
-      const typename Particles::ParticleIterator<dim> &        particle,
+      const typename Particles::ParticleIterator<dim>         &particle,
       const typename Triangulation<dim>::active_cell_iterator &cell);
 
 
@@ -210,7 +210,7 @@ namespace Step19
     , time(0, 1e-4)
   {
     particle_handler.signals.particle_lost.connect(
-      [this](const typename Particles::ParticleIterator<dim> &        particle,
+      [this](const typename Particles::ParticleIterator<dim>         &particle,
              const typename Triangulation<dim>::active_cell_iterator &cell) {
         this->track_lost_particle(particle, cell);
       });
@@ -753,7 +753,7 @@ namespace Step19
   // the hole and increment a counter.
   template <int dim>
   void CathodeRaySimulator<dim>::track_lost_particle(
-    const typename Particles::ParticleIterator<dim> &        particle,
+    const typename Particles::ParticleIterator<dim>         &particle,
     const typename Triangulation<dim>::active_cell_iterator &cell)
   {
     ++n_recently_lost_particles;
index 5fa3aacfde0ca19d9c683f5d6877c13a267be1b6..0ad704ae3a28a9dbb0a5354996453a9d501e2b5f 100644 (file)
@@ -131,7 +131,7 @@ void make_grid(Triangulation<2> &triangulation)
 // gnuplot program that we will use for visualization in the results
 // section.
 void write_dof_locations(const DoFHandler<2> &dof_handler,
-                         const std::string &  filename)
+                         const std::string   &filename)
 {
   std::map<types::global_dof_index, Point<2>> dof_location_map =
     DoFTools::map_dofs_to_support_points(MappingQ1<2>(), dof_handler);
index 7676c1eeca9c445b93d0f094fdc2c9675ad0c68f..119d14318588b449d1f3ed1bc24ea4c567c3cc41 100644 (file)
@@ -136,7 +136,7 @@ namespace Step20
         : Function<dim>(1)
       {}
 
-      virtual double value(const Point<dim> p,
+      virtual double value(const Point<dim>  &p,
                            const unsigned int component = 0) const override;
     };
 
@@ -150,7 +150,7 @@ namespace Step20
         : Function<dim>(1)
       {}
 
-      virtual double value(const Point<dim> p,
+      virtual double value(const Point<dim>  &p,
                            const unsigned int component = 0) const override;
     };
 
@@ -164,7 +164,7 @@ namespace Step20
       {}
 
       virtual void vector_value(const Point<dim> &p,
-                                Vector<double> &  value) const override;
+                                Vector<double>   &value) const override;
     };
 
 
@@ -193,7 +193,7 @@ namespace Step20
 
     template <int dim>
     void ExactSolution<dim>::vector_value(const Point<dim> &p,
-                                          Vector<double> &  values) const
+                                          Vector<double>   &values) const
     {
       AssertDimension(values.size(), dim + 1);
 
@@ -241,7 +241,7 @@ namespace Step20
 
       virtual void
       value_list(const std::vector<Point<dim>> &points,
-                 std::vector<Tensor<2, dim>> &  values) const override;
+                 std::vector<Tensor<2, dim>>   &values) const override;
     };
 
 
@@ -274,7 +274,7 @@ namespace Step20
     // necessary in debug mode.)
     template <int dim>
     void KInverse<dim>::value_list(const std::vector<Point<dim>> &points,
-                                   std::vector<Tensor<2, dim>> &  values) const
+                                   std::vector<Tensor<2, dim>>   &values) const
     {
       (void)points;
       AssertDimension(points.size(), values.size());
index 59de4bec66bcaae2026c61f099aa9886b761bf4d..52ccc5a364b2fb4cb1413a8cc5ae200a9ad6d0ba 100644 (file)
@@ -224,14 +224,14 @@ namespace Step21
       : Function<dim>(dim + 2)
     {}
 
-    virtual double value(const Point<dim> p,
+    virtual double value(const Point<dim>  &p,
                          const unsigned int component = 0) const override
     {
       return Functions::ZeroFunction<dim>(dim + 2).value(p, component);
     }
 
     virtual void vector_value(const Point<dim> &p,
-                              Vector<double> &  values) const override
+                              Vector<double>   &values) const override
     {
       Functions::ZeroFunction<dim>(dim + 2).vector_value(p, values);
     }
@@ -265,7 +265,7 @@ namespace Step21
 
       virtual void
       value_list(const std::vector<Point<dim>> &points,
-                 std::vector<Tensor<2, dim>> &  values) const override
+                 std::vector<Tensor<2, dim>>   &values) const override
       {
         AssertDimension(points.size(), values.size());
 
@@ -333,7 +333,7 @@ namespace Step21
 
       virtual void
       value_list(const std::vector<Point<dim>> &points,
-                 std::vector<Tensor<2, dim>> &  values) const override
+                 std::vector<Tensor<2, dim>>   &values) const override
       {
         AssertDimension(points.size(), values.size());
 
@@ -374,8 +374,8 @@ namespace Step21
 
 
     template <int dim>
-    std::vector<Point<dim>>
-      KInverse<dim>::centers = KInverse<dim>::get_centers();
+    std::vector<Point<dim>> KInverse<dim>::centers =
+      KInverse<dim>::get_centers();
   } // namespace RandomMedium
 
 
@@ -440,7 +440,7 @@ namespace Step21
   class SchurComplement : public Subscriptor
   {
   public:
-    SchurComplement(const BlockSparseMatrix<double> &          A,
+    SchurComplement(const BlockSparseMatrix<double>           &A,
                     const InverseMatrix<SparseMatrix<double>> &Minv)
       : system_matrix(&A)
       , m_inverse(&Minv)
index 022fbb9bfb3d2829513b881831d756dcb45200ce..59776ddec5d8cd2164163b01b2c533d8e56bf049 100644 (file)
@@ -186,16 +186,16 @@ namespace Step22
       : Function<dim>(dim + 1)
     {}
 
-    virtual double value(const Point<dim> p,
+    virtual double value(const Point<dim>  &p,
                          const unsigned int component = 0) const override;
 
     virtual void vector_value(const Point<dim> &p,
-                              Vector<double> &  value) const override;
+                              Vector<double>   &value) const override;
   };
 
 
   template <int dim>
-  double BoundaryValues<dim>::value(const Point<dim> p,
+  double BoundaryValues<dim>::value(const Point<dim>  &p,
                                     const unsigned int component) const
   {
     Assert(component < this->n_components,
@@ -217,7 +217,7 @@ namespace Step22
 
   template <int dim>
   void BoundaryValues<dim>::vector_value(const Point<dim> &p,
-                                         Vector<double> &  values) const
+                                         Vector<double>   &values) const
   {
     for (unsigned int c = 0; c < this->n_components; ++c)
       values(c) = BoundaryValues<dim>::value(p, c);
@@ -286,7 +286,7 @@ namespace Step22
   class InverseMatrix : public Subscriptor
   {
   public:
-    InverseMatrix(const MatrixType &        m,
+    InverseMatrix(const MatrixType         &m,
                   const PreconditionerType &preconditioner);
 
     void vmult(Vector<double> &dst, const Vector<double> &src) const;
@@ -299,7 +299,7 @@ namespace Step22
 
   template <class MatrixType, class PreconditionerType>
   InverseMatrix<MatrixType, PreconditionerType>::InverseMatrix(
-    const MatrixType &        m,
+    const MatrixType         &m,
     const PreconditionerType &preconditioner)
     : matrix(&m)
     , preconditioner(&preconditioner)
@@ -318,7 +318,7 @@ namespace Step22
   // tolerance, either.
   template <class MatrixType, class PreconditionerType>
   void InverseMatrix<MatrixType, PreconditionerType>::vmult(
-    Vector<double> &      dst,
+    Vector<double>       &dst,
     const Vector<double> &src) const
   {
     SolverControl            solver_control(src.size(), 1e-6 * src.l2_norm());
@@ -374,7 +374,7 @@ namespace Step22
 
   template <class PreconditionerType>
   void
-  SchurComplement<PreconditionerType>::vmult(Vector<double> &      dst,
+  SchurComplement<PreconditionerType>::vmult(Vector<double>       &dst,
                                              const Vector<double> &src) const
   {
     system_matrix->block(0, 1).vmult(tmp1, src);
index 76ca6c169d1cf3599df08e40c74d0fb45e5ed5ca..ad50d0cd6617a6e0825780968c814a0c6a43b1e1 100644 (file)
@@ -206,7 +206,7 @@ namespace Step23
   class BoundaryValuesU : public Function<dim>
   {
   public:
-    virtual double value(const Point<dim> p,
+    virtual double value(const Point<dim>  &p,
                          const unsigned int component = 0) const override
     {
       (void)component;
@@ -226,7 +226,7 @@ namespace Step23
   class BoundaryValuesV : public Function<dim>
   {
   public:
-    virtual double value(const Point<dim> p,
+    virtual double value(const Point<dim>  &p,
                          const unsigned int component = 0) const override
     {
       (void)component;
index d2cf93bb36fb6b9fd7b8c866a31413978683cede..92db5829bf178f8ac4cec0638524d1132f995760 100644 (file)
@@ -106,7 +106,7 @@ namespace Step25
     void         assemble_system();
     void         compute_nl_term(const Vector<double> &old_data,
                                  const Vector<double> &new_data,
-                                 Vector<double> &      nl_term) const;
+                                 Vector<double>       &nl_term) const;
     void         compute_nl_matrix(const Vector<double> &old_data,
                                    const Vector<double> &new_data,
                                    SparseMatrix<double> &nl_matrix) const;
@@ -223,7 +223,7 @@ namespace Step25
       : Function<dim>(n_components, time)
     {}
 
-    virtual double value(const Point<dim> p,
+    virtual double value(const Point<dim>  &p,
                          const unsigned int component = 0) const override
     {
       return ExactSolution<dim>(1, this->get_time()).value(p, component);
index 238bcdb360efaec389c19d195c7f93184305d914..6d82db26d7d30f5252d1e46c4eb73157249cd0dd 100644 (file)
@@ -128,7 +128,7 @@ namespace Step26
       , period(0.2)
     {}
 
-    virtual double value(const Point<dim> p,
+    virtual double value(const Point<dim>  &p,
                          const unsigned int component = 0) const override;
 
   private:
@@ -138,7 +138,7 @@ namespace Step26
 
 
   template <int dim>
-  double RightHandSide<dim>::value(const Point<dim> p,
+  double RightHandSide<dim>::value(const Point<dim>  &p,
                                    const unsigned int component) const
   {
     (void)component;
@@ -173,7 +173,7 @@ namespace Step26
   class BoundaryValues : public Function<dim>
   {
   public:
-    virtual double value(const Point<dim> p,
+    virtual double value(const Point<dim>  &p,
                          const unsigned int component = 0) const override;
   };
 
index b253c4850f133e72a6b6f2d8f5863eb77f5b13b9..c7f39af256490052a37d909f1ea14b03c0c601fd 100644 (file)
@@ -127,7 +127,7 @@ namespace Step27
   class RightHandSide : public Function<dim>
   {
   public:
-    virtual double value(const Point<dim> p,
+    virtual double value(const Point<dim>  &p,
                          const unsigned int component) const override;
   };
 
index 49065123f353cb95812c27ce47cd1e7e08c4e81b..079d275bf9e0619b6603ab98ec30c077206adfae 100644 (file)
@@ -412,7 +412,7 @@ namespace Step28
     // DoF handler member variables private, and do not have to grant external
     // use to it, enhancing encapsulation:
     EnergyGroup(const unsigned int        group,
-                const MaterialData &      material_data,
+                const MaterialData       &material_data,
                 const Triangulation<dim> &coarse_grid,
                 const FiniteElement<dim> &fe);
 
@@ -515,10 +515,10 @@ namespace Step28
     // coarser of the two cells to the finer one:
   private:
     void assemble_cross_group_rhs_recursive(
-      const EnergyGroup<dim> &                       g_prime,
+      const EnergyGroup<dim>                        &g_prime,
       const typename DoFHandler<dim>::cell_iterator &cell_g,
       const typename DoFHandler<dim>::cell_iterator &cell_g_prime,
-      const FullMatrix<double> &                     prolongation_matrix);
+      const FullMatrix<double>                      &prolongation_matrix);
   };
 
 
@@ -531,7 +531,7 @@ namespace Step28
   // members, thereby enabling us to make these data members private.
   template <int dim>
   EnergyGroup<dim>::EnergyGroup(const unsigned int        group,
-                                const MaterialData &      material_data,
+                                const MaterialData       &material_data,
                                 const Triangulation<dim> &coarse_grid,
                                 const FiniteElement<dim> &fe)
     : group(group)
@@ -835,10 +835,10 @@ namespace Step28
   // active. These two cases will be discussed below:
   template <int dim>
   void EnergyGroup<dim>::assemble_cross_group_rhs_recursive(
-    const EnergyGroup<dim> &                       g_prime,
+    const EnergyGroup<dim>                        &g_prime,
     const typename DoFHandler<dim>::cell_iterator &cell_g,
     const typename DoFHandler<dim>::cell_iterator &cell_g_prime,
-    const FullMatrix<double> &                     prolongation_matrix)
+    const FullMatrix<double>                      &prolongation_matrix)
   {
     // The first case is that both cells are no further refined. In that case,
     // we can assemble the relevant terms (see the introduction). This
@@ -1194,7 +1194,7 @@ namespace Step28
     // describing the material parameters for the number of energy groups
     // requested in the input file, and (iii) the finite element to be used by
     // all energy groups:
-    const Parameters parameters;
+    const Parameters  &parameters;
     const MaterialData material_data;
     FE_Q<dim>          fe;
 
index ef4d7a46b37794f4fb246f2ff6d31f0ec6b897bb..130bd2d8fd4a2c2bc81a0cb142613177cc8c0ab9 100644 (file)
@@ -110,7 +110,7 @@ namespace Step29
 
     virtual void
     vector_value_list(const std::vector<Point<dim>> &points,
-                      std::vector<Vector<double>> &  value_list) const override
+                      std::vector<Vector<double>>   &value_list) const override
     {
       AssertDimension(value_list.size(), points.size());
 
@@ -323,7 +323,7 @@ namespace Step29
   template <int dim>
   void ComputeIntensity<dim>::evaluate_vector_field(
     const DataPostprocessorInputs::Vector<dim> &inputs,
-    std::vector<Vector<double>> &               computed_quantities) const
+    std::vector<Vector<double>>                &computed_quantities) const
   {
     AssertDimension(computed_quantities.size(), inputs.solution_values.size());
 
index ba7b5ae9968a41adf1ae2620c97278e15a55deb1..fd2e0fcb9f8dc24b1f40a81602118f47b7abfca9 100644 (file)
@@ -59,7 +59,7 @@ namespace Step30
   {
   public:
     virtual void value_list(const std::vector<Point<dim>> &points,
-                            std::vector<double> &          values,
+                            std::vector<double>           &values,
                             const unsigned int /*component*/ = 0) const override
     {
       (void)points;
@@ -75,7 +75,7 @@ namespace Step30
   {
   public:
     virtual void value_list(const std::vector<Point<dim>> &points,
-                            std::vector<double> &          values,
+                            std::vector<double>           &values,
                             const unsigned int /*component*/ = 0) const override
     {
       AssertDimension(values.size(), points.size());
@@ -106,7 +106,7 @@ namespace Step30
     // of a cell. On the other hand, the solution $u(x,y)$ is exactly the same
     // as before.
     void value_list(const std::vector<Point<dim>> &points,
-                    std::vector<Point<dim>> &      values) const
+                    std::vector<Point<dim>>       &values) const
     {
       AssertDimension(values.size(), points.size());
 
@@ -139,19 +139,19 @@ namespace Step30
     DGTransportEquation();
 
     void assemble_cell_term(const FEValues<dim> &fe_v,
-                            FullMatrix<double> ui_vi_matrix,
-                            Vector<double> &     cell_vector) const;
+                            FullMatrix<double>  &ui_vi_matrix,
+                            Vector<double>      &cell_vector) const;
 
     void assemble_boundary_term(const FEFaceValues<dim> &fe_v,
-                                FullMatrix<double> &     ui_vi_matrix,
-                                Vector<double> &         cell_vector) const;
+                                FullMatrix<double>      &ui_vi_matrix,
+                                Vector<double>          &cell_vector) const;
 
     void assemble_face_term(const FEFaceValuesBase<dim> &fe_v,
                             const FEFaceValuesBase<dim> &fe_v_neighbor,
-                            FullMatrix<double> &         ui_vi_matrix,
-                            FullMatrix<double> &         ue_vi_matrix,
-                            FullMatrix<double> &         ui_ve_matrix,
-                            FullMatrix<double> &         ue_ve_matrix) const;
+                            FullMatrix<double>          &ui_vi_matrix,
+                            FullMatrix<double>          &ue_vi_matrix,
+                            FullMatrix<double>          &ui_ve_matrix,
+                            FullMatrix<double>          &ue_ve_matrix) const;
 
   private:
     const Beta<dim>           beta_function;
@@ -182,8 +182,8 @@ namespace Step30
   template <int dim>
   void DGTransportEquation<dim>::assemble_cell_term(
     const FEValues<dim> &fe_v,
-    FullMatrix<double> ui_vi_matrix,
-    Vector<double> &     cell_vector) const
+    FullMatrix<double>  &ui_vi_matrix,
+    Vector<double>      &cell_vector) const
   {
     const std::vector<double> &JxW = fe_v.get_JxW_values();
 
@@ -209,10 +209,10 @@ namespace Step30
   template <int dim>
   void DGTransportEquation<dim>::assemble_boundary_term(
     const FEFaceValues<dim> &fe_v,
-    FullMatrix<double> &     ui_vi_matrix,
-    Vector<double> &         cell_vector) const
+    FullMatrix<double>      &ui_vi_matrix,
+    Vector<double>          &cell_vector) const
   {
-    const std::vector<double> &        JxW     = fe_v.get_JxW_values();
+    const std::vector<double>         &JxW     = fe_v.get_JxW_values();
     const std::vector<Tensor<1, dim>> &normals = fe_v.get_normal_vectors();
 
     std::vector<Point<dim>> beta(fe_v.n_quadrature_points);
@@ -241,12 +241,12 @@ namespace Step30
   void DGTransportEquation<dim>::assemble_face_term(
     const FEFaceValuesBase<dim> &fe_v,
     const FEFaceValuesBase<dim> &fe_v_neighbor,
-    FullMatrix<double> &         ui_vi_matrix,
-    FullMatrix<double> &         ue_vi_matrix,
-    FullMatrix<double> &         ui_ve_matrix,
-    FullMatrix<double> &         ue_ve_matrix) const
+    FullMatrix<double>          &ui_vi_matrix,
+    FullMatrix<double>          &ue_vi_matrix,
+    FullMatrix<double>          &ui_ve_matrix,
+    FullMatrix<double>          &ue_ve_matrix) const
   {
-    const std::vector<double> &        JxW     = fe_v.get_JxW_values();
+    const std::vector<double>         &JxW     = fe_v.get_JxW_values();
     const std::vector<Tensor<1, dim>> &normals = fe_v.get_normal_vectors();
 
     std::vector<Point<dim>> beta(fe_v.n_quadrature_points);
index 5c97bf0db8bcf29275f24736d54bb23ea59c9f11..4b01b57787519f50a97ecb87f1ef95a660f24b43 100644 (file)
@@ -137,7 +137,7 @@ namespace Step31
       }
 
       virtual void vector_value(const Point<dim> &p,
-                                Vector<double> &  value) const override
+                                Vector<double>   &value) const override
       {
         for (unsigned int c = 0; c < this->n_components; ++c)
           value(c) = TemperatureInitialValues<dim>::value(p, c);
@@ -154,7 +154,7 @@ namespace Step31
         : Function<dim>(1)
       {}
 
-      virtual double value(const Point<dim> p,
+      virtual double value(const Point<dim>  &p,
                            const unsigned int component = 0) const override
       {
         (void)component;
@@ -177,7 +177,7 @@ namespace Step31
       }
 
       virtual void vector_value(const Point<dim> &p,
-                                Vector<double> &  value) const override
+                                Vector<double>   &value) const override
       {
         for (unsigned int c = 0; c < this->n_components; ++c)
           value(c) = TemperatureRightHandSide<dim>::value(p, c);
@@ -241,7 +241,7 @@ namespace Step31
     class InverseMatrix : public Subscriptor
     {
     public:
-      InverseMatrix(const MatrixType &        m,
+      InverseMatrix(const MatrixType         &m,
                     const PreconditionerType &preconditioner);
 
 
@@ -250,13 +250,13 @@ namespace Step31
 
     private:
       const SmartPointer<const MatrixType> matrix;
-      const PreconditionerType &           preconditioner;
+      const PreconditionerType            &preconditioner;
     };
 
 
     template <class MatrixType, class PreconditionerType>
     InverseMatrix<MatrixType, PreconditionerType>::InverseMatrix(
-      const MatrixType &        m,
+      const MatrixType         &m,
       const PreconditionerType &preconditioner)
       : matrix(&m)
       , preconditioner(preconditioner)
@@ -267,7 +267,7 @@ namespace Step31
     template <class MatrixType, class PreconditionerType>
     template <typename VectorType>
     void InverseMatrix<MatrixType, PreconditionerType>::vmult(
-      VectorType &      dst,
+      VectorType       &dst,
       const VectorType &src) const
     {
       SolverControl        solver_control(src.size(), 1e-7 * src.l2_norm());
@@ -345,9 +345,9 @@ namespace Step31
         const TrilinosWrappers::BlockSparseMatrix &S,
         const InverseMatrix<TrilinosWrappers::SparseMatrix,
                             PreconditionerTypeMp> &Mpinv,
-        const PreconditionerTypeA &                Apreconditioner);
+        const PreconditionerTypeA                 &Apreconditioner);
 
-      void vmult(TrilinosWrappers::MPI::BlockVector &      dst,
+      void vmult(TrilinosWrappers::MPI::BlockVector       &dst,
                  const TrilinosWrappers::MPI::BlockVector &src) const;
 
     private:
@@ -378,7 +378,7 @@ namespace Step31
         const TrilinosWrappers::BlockSparseMatrix &S,
         const InverseMatrix<TrilinosWrappers::SparseMatrix,
                             PreconditionerTypeMp> &Mpinv,
-        const PreconditionerTypeA &                Apreconditioner)
+        const PreconditionerTypeA                 &Apreconditioner)
       : stokes_matrix(&S)
       , m_inverse(&Mpinv)
       , a_preconditioner(Apreconditioner)
@@ -404,7 +404,7 @@ namespace Step31
     template <class PreconditionerTypeA, class PreconditionerTypeMp>
     void
     BlockSchurPreconditioner<PreconditionerTypeA, PreconditionerTypeMp>::vmult(
-      TrilinosWrappers::MPI::BlockVector &      dst,
+      TrilinosWrappers::MPI::BlockVector       &dst,
       const TrilinosWrappers::MPI::BlockVector &src) const
     {
       a_preconditioner.vmult(dst.block(0), src.block(0));
@@ -460,15 +460,15 @@ namespace Step31
     void                      refine_mesh(const unsigned int max_grid_level);
 
     double compute_viscosity(
-      const std::vector<double> &        old_temperature,
-      const std::vector<double> &        old_old_temperature,
+      const std::vector<double>         &old_temperature,
+      const std::vector<double>         &old_old_temperature,
       const std::vector<Tensor<1, dim>> &old_temperature_grads,
       const std::vector<Tensor<1, dim>> &old_old_temperature_grads,
-      const std::vector<double> &        old_temperature_laplacians,
-      const std::vector<double> &        old_old_temperature_laplacians,
+      const std::vector<double>         &old_temperature_laplacians,
+      const std::vector<double>         &old_old_temperature_laplacians,
       const std::vector<Tensor<1, dim>> &old_velocity_values,
       const std::vector<Tensor<1, dim>> &old_old_velocity_values,
-      const std::vector<double> &        gamma_values,
+      const std::vector<double>         &gamma_values,
       const double                       global_u_infty,
       const double                       global_T_variation,
       const double                       cell_diameter) const;
@@ -743,15 +743,15 @@ namespace Step31
   // discussed in the introduction:
   template <int dim>
   double BoussinesqFlowProblem<dim>::compute_viscosity(
-    const std::vector<double> &        old_temperature,
-    const std::vector<double> &        old_old_temperature,
+    const std::vector<double>         &old_temperature,
+    const std::vector<double>         &old_old_temperature,
     const std::vector<Tensor<1, dim>> &old_temperature_grads,
     const std::vector<Tensor<1, dim>> &old_old_temperature_grads,
-    const std::vector<double> &        old_temperature_laplacians,
-    const std::vector<double> &        old_old_temperature_laplacians,
+    const std::vector<double>         &old_temperature_laplacians,
+    const std::vector<double>         &old_old_temperature_laplacians,
     const std::vector<Tensor<1, dim>> &old_velocity_values,
     const std::vector<Tensor<1, dim>> &old_old_velocity_values,
-    const std::vector<double> &        gamma_values,
+    const std::vector<double>         &gamma_values,
     const double                       global_u_infty,
     const double                       global_T_variation,
     const double                       cell_diameter) const
index b9cf7b7d5f2b40596f3c558ec8a6a2623c492881..44297b050210c9284365e4615cf2651521ce8c4a 100644 (file)
@@ -152,11 +152,11 @@ namespace Step32
         : Function<dim>(1)
       {}
 
-      virtual double value(const Point<dim> p,
+      virtual double value(const Point<dim>  &p,
                            const unsigned int component = 0) const override;
 
       virtual void vector_value(const Point<dim> &p,
-                                Vector<double> &  value) const override;
+                                Vector<double>   &value) const override;
     };
 
 
@@ -181,7 +181,7 @@ namespace Step32
     template <int dim>
     void
     TemperatureInitialValues<dim>::vector_value(const Point<dim> &p,
-                                                Vector<double> &  values) const
+                                                Vector<double>   &values) const
     {
       for (unsigned int c = 0; c < this->n_components; ++c)
         values(c) = TemperatureInitialValues<dim>::value(p, c);
@@ -234,7 +234,7 @@ namespace Step32
       BlockSchurPreconditioner(const TrilinosWrappers::BlockSparseMatrix &S,
                                const TrilinosWrappers::BlockSparseMatrix &Spre,
                                const PreconditionerTypeMp &Mppreconditioner,
-                               const PreconditionerTypeA Apreconditioner,
+                               const PreconditionerTypeA  &Apreconditioner,
                                const bool                  do_solve_A)
         : stokes_matrix(&S)
         , stokes_preconditioner_matrix(&Spre)
@@ -243,7 +243,7 @@ namespace Step32
         , do_solve_A(do_solve_A)
       {}
 
-      void vmult(TrilinosWrappers::MPI::BlockVector &      dst,
+      void vmult(TrilinosWrappers::MPI::BlockVector       &dst,
                  const TrilinosWrappers::MPI::BlockVector &src) const
       {
         TrilinosWrappers::MPI::Vector utmp(src.block(0));
@@ -286,7 +286,7 @@ namespace Step32
       const SmartPointer<const TrilinosWrappers::BlockSparseMatrix>
                                   stokes_preconditioner_matrix;
       const PreconditionerTypeMp &mp_preconditioner;
-      const PreconditionerTypeA a_preconditioner;
+      const PreconditionerTypeA  &a_preconditioner;
       const bool                  do_solve_A;
     };
   } // namespace LinearSolvers
@@ -343,8 +343,8 @@ namespace Step32
       struct StokesPreconditioner
       {
         StokesPreconditioner(const FiniteElement<dim> &stokes_fe,
-                             const Quadrature<dim> &   stokes_quadrature,
-                             const Mapping<dim> &      mapping,
+                             const Quadrature<dim>    &stokes_quadrature,
+                             const Mapping<dim>       &mapping,
                              const UpdateFlags         update_flags);
 
         StokesPreconditioner(const StokesPreconditioner &data);
@@ -359,8 +359,8 @@ namespace Step32
       template <int dim>
       StokesPreconditioner<dim>::StokesPreconditioner(
         const FiniteElement<dim> &stokes_fe,
-        const Quadrature<dim> &   stokes_quadrature,
-        const Mapping<dim> &      mapping,
+        const Quadrature<dim>    &stokes_quadrature,
+        const Mapping<dim>       &mapping,
         const UpdateFlags         update_flags)
         : stokes_fe_values(mapping, stokes_fe, stokes_quadrature, update_flags)
         , grad_phi_u(stokes_fe.n_dofs_per_cell())
@@ -396,8 +396,8 @@ namespace Step32
       struct StokesSystem : public StokesPreconditioner<dim>
       {
         StokesSystem(const FiniteElement<dim> &stokes_fe,
-                     const Mapping<dim> &      mapping,
-                     const Quadrature<dim> &   stokes_quadrature,
+                     const Mapping<dim>       &mapping,
+                     const Quadrature<dim>    &stokes_quadrature,
                      const UpdateFlags         stokes_update_flags,
                      const FiniteElement<dim> &temperature_fe,
                      const UpdateFlags         temperature_update_flags);
@@ -418,8 +418,8 @@ namespace Step32
       template <int dim>
       StokesSystem<dim>::StokesSystem(
         const FiniteElement<dim> &stokes_fe,
-        const Mapping<dim> &      mapping,
-        const Quadrature<dim> &   stokes_quadrature,
+        const Mapping<dim>       &mapping,
+        const Quadrature<dim>    &stokes_quadrature,
         const UpdateFlags         stokes_update_flags,
         const FiniteElement<dim> &temperature_fe,
         const UpdateFlags         temperature_update_flags)
@@ -460,8 +460,8 @@ namespace Step32
       struct TemperatureMatrix
       {
         TemperatureMatrix(const FiniteElement<dim> &temperature_fe,
-                          const Mapping<dim> &      mapping,
-                          const Quadrature<dim> &   temperature_quadrature);
+                          const Mapping<dim>       &mapping,
+                          const Quadrature<dim>    &temperature_quadrature);
 
         TemperatureMatrix(const TemperatureMatrix &data);
 
@@ -476,8 +476,8 @@ namespace Step32
       template <int dim>
       TemperatureMatrix<dim>::TemperatureMatrix(
         const FiniteElement<dim> &temperature_fe,
-        const Mapping<dim> &      mapping,
-        const Quadrature<dim> &   temperature_quadrature)
+        const Mapping<dim>       &mapping,
+        const Quadrature<dim>    &temperature_quadrature)
         : temperature_fe_values(mapping,
                                 temperature_fe,
                                 temperature_quadrature,
@@ -516,8 +516,8 @@ namespace Step32
       {
         TemperatureRHS(const FiniteElement<dim> &temperature_fe,
                        const FiniteElement<dim> &stokes_fe,
-                       const Mapping<dim> &      mapping,
-                       const Quadrature<dim> &   quadrature);
+                       const Mapping<dim>       &mapping,
+                       const Quadrature<dim>    &quadrature);
 
         TemperatureRHS(const TemperatureRHS &data);
 
@@ -547,8 +547,8 @@ namespace Step32
       TemperatureRHS<dim>::TemperatureRHS(
         const FiniteElement<dim> &temperature_fe,
         const FiniteElement<dim> &stokes_fe,
-        const Mapping<dim> &      mapping,
-        const Quadrature<dim> &   quadrature)
+        const Mapping<dim>       &mapping,
+        const Quadrature<dim>    &quadrature)
         : temperature_fe_values(mapping,
                                 temperature_fe,
                                 quadrature,
@@ -747,12 +747,12 @@ namespace Step32
     void                      refine_mesh(const unsigned int max_grid_level);
 
     double compute_viscosity(
-      const std::vector<double> &        old_temperature,
-      const std::vector<double> &        old_old_temperature,
+      const std::vector<double>         &old_temperature,
+      const std::vector<double>         &old_old_temperature,
       const std::vector<Tensor<1, dim>> &old_temperature_grads,
       const std::vector<Tensor<1, dim>> &old_old_temperature_grads,
-      const std::vector<double> &        old_temperature_laplacians,
-      const std::vector<double> &        old_old_temperature_laplacians,
+      const std::vector<double>         &old_temperature_laplacians,
+      const std::vector<double>         &old_old_temperature_laplacians,
       const std::vector<Tensor<1, dim>> &old_velocity_values,
       const std::vector<Tensor<1, dim>> &old_old_velocity_values,
       const std::vector<SymmetricTensor<2, dim>> &old_strain_rates,
@@ -916,8 +916,8 @@ namespace Step32
     // in this program. The following eight functions do exactly this:
     void local_assemble_stokes_preconditioner(
       const typename DoFHandler<dim>::active_cell_iterator &cell,
-      Assembly::Scratch::StokesPreconditioner<dim> &        scratch,
-      Assembly::CopyData::StokesPreconditioner<dim> &       data);
+      Assembly::Scratch::StokesPreconditioner<dim>         &scratch,
+      Assembly::CopyData::StokesPreconditioner<dim>        &data);
 
     void copy_local_to_global_stokes_preconditioner(
       const Assembly::CopyData::StokesPreconditioner<dim> &data);
@@ -925,8 +925,8 @@ namespace Step32
 
     void local_assemble_stokes_system(
       const typename DoFHandler<dim>::active_cell_iterator &cell,
-      Assembly::Scratch::StokesSystem<dim> &                scratch,
-      Assembly::CopyData::StokesSystem<dim> &               data);
+      Assembly::Scratch::StokesSystem<dim>                 &scratch,
+      Assembly::CopyData::StokesSystem<dim>                &data);
 
     void copy_local_to_global_stokes_system(
       const Assembly::CopyData::StokesSystem<dim> &data);
@@ -934,8 +934,8 @@ namespace Step32
 
     void local_assemble_temperature_matrix(
       const typename DoFHandler<dim>::active_cell_iterator &cell,
-      Assembly::Scratch::TemperatureMatrix<dim> &           scratch,
-      Assembly::CopyData::TemperatureMatrix<dim> &          data);
+      Assembly::Scratch::TemperatureMatrix<dim>            &scratch,
+      Assembly::CopyData::TemperatureMatrix<dim>           &data);
 
     void copy_local_to_global_temperature_matrix(
       const Assembly::CopyData::TemperatureMatrix<dim> &data);
@@ -947,8 +947,8 @@ namespace Step32
       const double                    global_max_velocity,
       const double                    global_entropy_variation,
       const typename DoFHandler<dim>::active_cell_iterator &cell,
-      Assembly::Scratch::TemperatureRHS<dim> &              scratch,
-      Assembly::CopyData::TemperatureRHS<dim> &             data);
+      Assembly::Scratch::TemperatureRHS<dim>               &scratch,
+      Assembly::CopyData::TemperatureRHS<dim>              &data);
 
     void copy_local_to_global_temperature_rhs(
       const Assembly::CopyData::TemperatureRHS<dim> &data);
@@ -1529,14 +1529,14 @@ namespace Step32
   // updated formulation of the viscosity if $\alpha=2$ is chosen:
   template <int dim>
   double BoussinesqFlowProblem<dim>::compute_viscosity(
-    const std::vector<double> &                 old_temperature,
-    const std::vector<double> &                 old_old_temperature,
-    const std::vector<Tensor<1, dim>> &         old_temperature_grads,
-    const std::vector<Tensor<1, dim>> &         old_old_temperature_grads,
-    const std::vector<double> &                 old_temperature_laplacians,
-    const std::vector<double> &                 old_old_temperature_laplacians,
-    const std::vector<Tensor<1, dim>> &         old_velocity_values,
-    const std::vector<Tensor<1, dim>> &         old_old_velocity_values,
+    const std::vector<double>                  &old_temperature,
+    const std::vector<double>                  &old_old_temperature,
+    const std::vector<Tensor<1, dim>>          &old_temperature_grads,
+    const std::vector<Tensor<1, dim>>          &old_old_temperature_grads,
+    const std::vector<double>                  &old_temperature_laplacians,
+    const std::vector<double>                  &old_old_temperature_laplacians,
+    const std::vector<Tensor<1, dim>>          &old_velocity_values,
+    const std::vector<Tensor<1, dim>>          &old_old_velocity_values,
     const std::vector<SymmetricTensor<2, dim>> &old_strain_rates,
     const std::vector<SymmetricTensor<2, dim>> &old_old_strain_rates,
     const double                                global_u_infty,
@@ -2007,8 +2007,8 @@ namespace Step32
   template <int dim>
   void BoussinesqFlowProblem<dim>::local_assemble_stokes_preconditioner(
     const typename DoFHandler<dim>::active_cell_iterator &cell,
-    Assembly::Scratch::StokesPreconditioner<dim> &        scratch,
-    Assembly::CopyData::StokesPreconditioner<dim> &       data)
+    Assembly::Scratch::StokesPreconditioner<dim>         &scratch,
+    Assembly::CopyData::StokesPreconditioner<dim>        &data)
   {
     const unsigned int dofs_per_cell = stokes_fe.n_dofs_per_cell();
     const unsigned int n_q_points =
@@ -2115,8 +2115,8 @@ namespace Step32
 
     auto worker =
       [this](const typename DoFHandler<dim>::active_cell_iterator &cell,
-             Assembly::Scratch::StokesPreconditioner<dim> &        scratch,
-             Assembly::CopyData::StokesPreconditioner<dim> &       data) {
+             Assembly::Scratch::StokesPreconditioner<dim>         &scratch,
+             Assembly::CopyData::StokesPreconditioner<dim>        &data) {
         this->local_assemble_stokes_preconditioner(cell, scratch, data);
       };
 
@@ -2203,8 +2203,8 @@ namespace Step32
   template <int dim>
   void BoussinesqFlowProblem<dim>::local_assemble_stokes_system(
     const typename DoFHandler<dim>::active_cell_iterator &cell,
-    Assembly::Scratch::StokesSystem<dim> &                scratch,
-    Assembly::CopyData::StokesSystem<dim> &               data)
+    Assembly::Scratch::StokesSystem<dim>                 &scratch,
+    Assembly::CopyData::StokesSystem<dim>                &data)
   {
     const unsigned int dofs_per_cell =
       scratch.stokes_fe_values.get_fe().n_dofs_per_cell();
@@ -2310,8 +2310,8 @@ namespace Step32
                  stokes_dof_handler.begin_active()),
       CellFilter(IteratorFilters::LocallyOwnedCell(), stokes_dof_handler.end()),
       [this](const typename DoFHandler<dim>::active_cell_iterator &cell,
-             Assembly::Scratch::StokesSystem<dim> &                scratch,
-             Assembly::CopyData::StokesSystem<dim> &               data) {
+             Assembly::Scratch::StokesSystem<dim>                 &scratch,
+             Assembly::CopyData::StokesSystem<dim>                &data) {
         this->local_assemble_stokes_system(cell, scratch, data);
       },
       [this](const Assembly::CopyData::StokesSystem<dim> &data) {
@@ -2350,8 +2350,8 @@ namespace Step32
   template <int dim>
   void BoussinesqFlowProblem<dim>::local_assemble_temperature_matrix(
     const typename DoFHandler<dim>::active_cell_iterator &cell,
-    Assembly::Scratch::TemperatureMatrix<dim> &           scratch,
-    Assembly::CopyData::TemperatureMatrix<dim> &          data)
+    Assembly::Scratch::TemperatureMatrix<dim>            &scratch,
+    Assembly::CopyData::TemperatureMatrix<dim>           &data)
   {
     const unsigned int dofs_per_cell =
       scratch.temperature_fe_values.get_fe().n_dofs_per_cell();
@@ -2424,8 +2424,8 @@ namespace Step32
       CellFilter(IteratorFilters::LocallyOwnedCell(),
                  temperature_dof_handler.end()),
       [this](const typename DoFHandler<dim>::active_cell_iterator &cell,
-             Assembly::Scratch::TemperatureMatrix<dim> &           scratch,
-             Assembly::CopyData::TemperatureMatrix<dim> &          data) {
+             Assembly::Scratch::TemperatureMatrix<dim>            &scratch,
+             Assembly::CopyData::TemperatureMatrix<dim>           &data) {
         this->local_assemble_temperature_matrix(cell, scratch, data);
       },
       [this](const Assembly::CopyData::TemperatureMatrix<dim> &data) {
@@ -2465,8 +2465,8 @@ namespace Step32
     const double                    global_max_velocity,
     const double                    global_entropy_variation,
     const typename DoFHandler<dim>::active_cell_iterator &cell,
-    Assembly::Scratch::TemperatureRHS<dim> &              scratch,
-    Assembly::CopyData::TemperatureRHS<dim> &             data)
+    Assembly::Scratch::TemperatureRHS<dim>               &scratch,
+    Assembly::CopyData::TemperatureRHS<dim>              &data)
   {
     const bool use_bdf2_scheme = (timestep_number != 0);
 
@@ -2688,8 +2688,8 @@ namespace Step32
     auto worker =
       [this, global_T_range, maximal_velocity, global_entropy_variation](
         const typename DoFHandler<dim>::active_cell_iterator &cell,
-        Assembly::Scratch::TemperatureRHS<dim> &              scratch,
-        Assembly::CopyData::TemperatureRHS<dim> &             data) {
+        Assembly::Scratch::TemperatureRHS<dim>               &scratch,
+        Assembly::CopyData::TemperatureRHS<dim>              &data) {
         this->local_assemble_temperature_rhs(global_T_range,
                                              maximal_velocity,
                                              global_entropy_variation,
@@ -3054,7 +3054,7 @@ namespace Step32
   template <int dim>
   void BoussinesqFlowProblem<dim>::Postprocessor::evaluate_vector_field(
     const DataPostprocessorInputs::Vector<dim> &inputs,
-    std::vector<Vector<double>> &               computed_quantities) const
+    std::vector<Vector<double>>                &computed_quantities) const
   {
     const unsigned int n_evaluation_points = inputs.solution_values.size();
     Assert(inputs.solution_gradients.size() == n_evaluation_points,
index 2d0b7ab60db29c3ffb0c4e5c67dba461ab618982..80f85e3b3bf018715e4384d183fce349505c3709 100644 (file)
@@ -207,7 +207,7 @@ namespace Step33
     static void compute_flux_matrix(const InputVector &W,
                                     ndarray<typename InputVector::value_type,
                                             EulerEquations<dim>::n_components,
-                                            dim> &     flux)
+                                            dim>      &flux)
     {
       // First compute the pressure that appears in the flux matrix, and then
       // compute the first <code>dim</code> columns of the matrix that
@@ -244,9 +244,9 @@ namespace Step33
     // $\alpha$. It's form has also been given already in the introduction:
     template <typename InputVector>
     static void numerical_normal_flux(
-      const Tensor<1, dim> &                                      normal,
-      const InputVector &                                         Wplus,
-      const InputVector &                                         Wminus,
+      const Tensor<1, dim>                                       &normal,
+      const InputVector                                          &Wplus,
+      const InputVector                                          &Wminus,
       const double                                                alpha,
       std::array<typename InputVector::value_type, n_components> &normal_flux)
     {
@@ -280,7 +280,7 @@ namespace Step33
     // 2d. This naturally leads to the following function:
     template <typename InputVector>
     static void compute_forcing_vector(
-      const InputVector &                                         W,
+      const InputVector                                          &W,
       std::array<typename InputVector::value_type, n_components> &forcing)
     {
       const double gravity = -1.0;
@@ -354,10 +354,10 @@ namespace Step33
     template <typename DataVector>
     static void
     compute_Wminus(const std::array<BoundaryKind, n_components> &boundary_kind,
-                   const Tensor<1, dim> &                        normal_vector,
-                   const DataVector &                            Wplus,
+                   const Tensor<1, dim>                         &normal_vector,
+                   const DataVector                             &Wplus,
                    const Vector<double> &boundary_values,
-                   const DataVector &    Wminus)
+                   const DataVector     &Wminus)
     {
       for (unsigned int c = 0; c < n_components; ++c)
         switch (boundary_kind[c])
@@ -441,9 +441,9 @@ namespace Step33
     // indicators, but this one does, and it is easy to compute:
     static void
     compute_refinement_indicators(const DoFHandler<dim> &dof_handler,
-                                  const Mapping<dim> &   mapping,
-                                  const Vector<double> solution,
-                                  Vector<double> &       refinement_indicators)
+                                  const Mapping<dim>    &mapping,
+                                  const Vector<double>  &solution,
+                                  Vector<double>        &refinement_indicators)
     {
       const unsigned int dofs_per_cell = dof_handler.get_fe().n_dofs_per_cell();
       std::vector<unsigned int> dofs(dofs_per_cell);
@@ -557,7 +557,7 @@ namespace Step33
   template <int dim>
   void EulerEquations<dim>::Postprocessor::evaluate_vector_field(
     const DataPostprocessorInputs::Vector<dim> &inputs,
-    std::vector<Vector<double>> &               computed_quantities) const
+    std::vector<Vector<double>>                &computed_quantities) const
   {
     // At the beginning of the function, let us make sure that all variables
     // have the correct sizes, so that we can access individual vector
@@ -1298,12 +1298,12 @@ namespace Step33
     void setup_system();
 
     void assemble_system();
-    void assemble_cell_term(const FEValues<dim> &                       fe_v,
+    void assemble_cell_term(const FEValues<dim>                        &fe_v,
                             const std::vector<types::global_dof_index> &dofs);
     void assemble_face_term(
       const unsigned int                          face_no,
-      const FEFaceValuesBase<dim> &               fe_v,
-      const FEFaceValuesBase<dim> &               fe_v_neighbor,
+      const FEFaceValuesBase<dim>                &fe_v,
+      const FEFaceValuesBase<dim>                &fe_v_neighbor,
       const std::vector<types::global_dof_index> &dofs,
       const std::vector<types::global_dof_index> &dofs_neighbor,
       const bool                                  external_face,
@@ -1674,7 +1674,7 @@ namespace Step33
   // residual:
   template <int dim>
   void ConservationLaw<dim>::assemble_cell_term(
-    const FEValues<dim> &                       fe_v,
+    const FEValues<dim>                        &fe_v,
     const std::vector<types::global_dof_index> &dof_indices)
   {
     const unsigned int dofs_per_cell = fe_v.dofs_per_cell;
@@ -1904,8 +1904,8 @@ namespace Step33
   template <int dim>
   void ConservationLaw<dim>::assemble_face_term(
     const unsigned int                          face_no,
-    const FEFaceValuesBase<dim> &               fe_v,
-    const FEFaceValuesBase<dim> &               fe_v_neighbor,
+    const FEFaceValuesBase<dim>                &fe_v,
+    const FEFaceValuesBase<dim>                &fe_v_neighbor,
     const std::vector<types::global_dof_index> &dof_indices,
     const std::vector<types::global_dof_index> &dof_indices_neighbor,
     const bool                                  external_face,
index c2981564f527464e44dc4863356aff66671bc7d1..374dfff568891aa3cfb9c577fcfa7bcc087d64b7 100644 (file)
@@ -331,11 +331,11 @@ namespace Step35
     public:
       Velocity(const double initial_time = 0.0);
 
-      virtual double value(const Point<dim> p,
+      virtual double value(const Point<dim>  &p,
                            const unsigned int component = 0) const override;
 
       virtual void value_list(const std::vector<Point<dim>> &points,
-                              std::vector<double> &          values,
+                              std::vector<double>           &values,
                               const unsigned int component = 0) const override;
     };
 
@@ -348,7 +348,7 @@ namespace Step35
 
     template <int dim>
     void Velocity<dim>::value_list(const std::vector<Point<dim>> &points,
-                                   std::vector<double> &          values,
+                                   std::vector<double>           &values,
                                    const unsigned int) const
     {
       const unsigned int n_points = points.size();
@@ -379,11 +379,11 @@ namespace Step35
     public:
       Pressure(const double initial_time = 0.0);
 
-      virtual double value(const Point<dim> p,
+      virtual double value(const Point<dim>  &p,
                            const unsigned int component = 0) const override;
 
       virtual void value_list(const std::vector<Point<dim>> &points,
-                              std::vector<double> &          values,
+                              std::vector<double>           &values,
                               const unsigned int component = 0) const override;
     };
 
@@ -394,7 +394,7 @@ namespace Step35
 
 
     template <int dim>
-    double Pressure<dim>::value(const Point<dim> p,
+    double Pressure<dim>::value(const Point<dim>  &p,
                                 const unsigned int component) const
     {
       (void)component;
@@ -404,7 +404,7 @@ namespace Step35
 
     template <int dim>
     void Pressure<dim>::value_list(const std::vector<Point<dim>> &points,
-                                   std::vector<double> &          values,
+                                   std::vector<double>           &values,
                                    const unsigned int component) const
     {
       (void)component;
@@ -579,8 +579,8 @@ namespace Step35
       unsigned int  nqp;
       FEValues<dim> fe_val_vel;
       FEValues<dim> fe_val_pres;
-      InitGradScratchData(const FE_Q<dim> &  fe_v,
-                          const FE_Q<dim> &  fe_p,
+      InitGradScratchData(const FE_Q<dim>   &fe_v,
+                          const FE_Q<dim>   &fe_p,
                           const QGauss<dim> &quad,
                           const UpdateFlags  flags_v,
                           const UpdateFlags  flags_p)
@@ -599,7 +599,7 @@ namespace Step35
       {}
     };
 
-    void assemble_one_cell_of_gradient(const IteratorPair SI,
+    void assemble_one_cell_of_gradient(const IteratorPair  &SI,
                                        InitGradScratchData &scratch,
                                        InitGradPerTaskData &data);
 
@@ -627,7 +627,7 @@ namespace Step35
       std::vector<Tensor<1, dim>> grad_u_star;
       std::vector<double>         u_star_tmp;
       FEValues<dim>               fe_val;
-      AdvectionScratchData(const FE_Q<dim> &  fe,
+      AdvectionScratchData(const FE_Q<dim>   &fe,
                            const QGauss<dim> &quad,
                            const UpdateFlags  flags)
         : nqp(quad.size())
@@ -652,8 +652,8 @@ namespace Step35
 
     void assemble_one_cell_of_advection(
       const typename DoFHandler<dim>::active_cell_iterator &cell,
-      AdvectionScratchData &                                scratch,
-      AdvectionPerTaskData &                                data);
+      AdvectionScratchData                                 &scratch,
+      AdvectionPerTaskData                                 &data);
 
     void copy_advection_local_to_global(const AdvectionPerTaskData &data);
 
@@ -907,7 +907,7 @@ namespace Step35
 
   template <int dim>
   void NavierStokesProjection<dim>::assemble_one_cell_of_gradient(
-    const IteratorPair SI,
+    const IteratorPair  &SI,
     InitGradScratchData &scratch,
     InitGradPerTaskData &data)
   {
@@ -1148,8 +1148,8 @@ namespace Step35
   template <int dim>
   void NavierStokesProjection<dim>::assemble_one_cell_of_advection(
     const typename DoFHandler<dim>::active_cell_iterator &cell,
-    AdvectionScratchData &                                scratch,
-    AdvectionPerTaskData &                                data)
+    AdvectionScratchData                                 &scratch,
+    AdvectionPerTaskData                                 &data)
   {
     scratch.fe_val.reinit(cell);
     cell->get_dof_indices(data.local_dof_indices);
index 03eb0b1cdd93795936473e1a459d41535f9bb336..e9bd5a3aa0718f17242a1d9cd81faaa7432df25a 100644 (file)
@@ -87,7 +87,7 @@ namespace Step37
   class Coefficient : public Function<dim>
   {
   public:
-    virtual double value(const Point<dim> p,
+    virtual double value(const Point<dim>  &p,
                          const unsigned int component = 0) const override;
 
     template <typename number>
@@ -128,7 +128,7 @@ namespace Step37
 
 
   template <int dim>
-  double Coefficient<dim>::value(const Point<dim> p,
+  double Coefficient<dim>::value(const Point<dim>  &p,
                                  const unsigned int component) const
   {
     return value<double>(p, component);
@@ -228,19 +228,19 @@ namespace Step37
 
   private:
     virtual void apply_add(
-      LinearAlgebra::distributed::Vector<number> &      dst,
+      LinearAlgebra::distributed::Vector<number>       &dst,
       const LinearAlgebra::distributed::Vector<number> &src) const override;
 
     void
-    local_apply(const MatrixFree<dim, number> &                   data,
-                LinearAlgebra::distributed::Vector<number> &      dst,
+    local_apply(const MatrixFree<dim, number>                    &data,
+                LinearAlgebra::distributed::Vector<number>       &dst,
                 const LinearAlgebra::distributed::Vector<number> &src,
                 const std::pair<unsigned int, unsigned int> &cell_range) const;
 
     void local_compute_diagonal(
-      const MatrixFree<dim, number> &              data,
-      LinearAlgebra::distributed::Vector<number> dst,
-      const unsigned int &                         dummy,
+      const MatrixFree<dim, number>               &data,
+      LinearAlgebra::distributed::Vector<number>  &dst,
+      const unsigned int                          &dummy,
       const std::pair<unsigned int, unsigned int> &cell_range) const;
 
     Table<2, VectorizedArray<number>> coefficient;
@@ -390,10 +390,10 @@ namespace Step37
   // degrees of freedom).  </ol>
   template <int dim, int fe_degree, typename number>
   void LaplaceOperator<dim, fe_degree, number>::local_apply(
-    const MatrixFree<dim, number> &                   data,
-    LinearAlgebra::distributed::Vector<number> &      dst,
+    const MatrixFree<dim, number>                    &data,
+    LinearAlgebra::distributed::Vector<number>       &dst,
     const LinearAlgebra::distributed::Vector<number> &src,
-    const std::pair<unsigned int, unsigned int> &     cell_range) const
+    const std::pair<unsigned int, unsigned int>      &cell_range) const
   {
     FEEvaluation<dim, fe_degree, fe_degree + 1, 1, number> phi(data);
 
@@ -492,7 +492,7 @@ namespace Step37
   // entry of vmult() functions, so no information gets lost.
   template <int dim, int fe_degree, typename number>
   void LaplaceOperator<dim, fe_degree, number>::apply_add(
-    LinearAlgebra::distributed::Vector<number> &      dst,
+    LinearAlgebra::distributed::Vector<number>       &dst,
     const LinearAlgebra::distributed::Vector<number> &src) const
   {
     this->data->cell_loop(&LaplaceOperator::local_apply, this, dst, src);
@@ -611,7 +611,7 @@ namespace Step37
   // level matrices where no hanging node constraints appear.
   template <int dim, int fe_degree, typename number>
   void LaplaceOperator<dim, fe_degree, number>::local_compute_diagonal(
-    const MatrixFree<dim, number> &             data,
+    const MatrixFree<dim, number>              &data,
     LinearAlgebra::distributed::Vector<number> &dst,
     const unsigned int &,
     const std::pair<unsigned int, unsigned int> &cell_range) const
index 8f6121e1f6fd65893eade3b2c4c3aa4807eb8db3..20905ef4aa48f26a87661ba9ed9e4896b692ada7 100644 (file)
@@ -141,11 +141,11 @@ namespace Step38
   class Solution : public Function<dim>
   {
   public:
-    virtual double value(const Point<dim> p,
+    virtual double value(const Point<dim>  &p,
                          const unsigned int component = 0) const override;
 
     virtual Tensor<1, dim>
-    gradient(const Point<dim> p,
+    gradient(const Point<dim>  &p,
              const unsigned int component = 0) const override;
   };
 
@@ -198,7 +198,7 @@ namespace Step38
   class RightHandSide : public Function<dim>
   {
   public:
-    virtual double value(const Point<dim> p,
+    virtual double value(const Point<dim>  &p,
                          const unsigned int component = 0) const override;
   };
 
index 7822054c125fff3e2fb9b44a42a9556cdef8d339..beecfc2e28577a54aa4248795d53b8df97586224 100644 (file)
@@ -96,13 +96,13 @@ namespace Step39
   class MatrixIntegrator : public MeshWorker::LocalIntegrator<dim>
   {
   public:
-    void cell(MeshWorker::DoFInfo<dim> &                 dinfo,
+    void cell(MeshWorker::DoFInfo<dim>                  &dinfo,
               typename MeshWorker::IntegrationInfo<dim> &info) const override;
     void
-         boundary(MeshWorker::DoFInfo<dim> &                 dinfo,
+         boundary(MeshWorker::DoFInfo<dim>                  &dinfo,
                   typename MeshWorker::IntegrationInfo<dim> &info) const override;
-    void face(MeshWorker::DoFInfo<dim> &                 dinfo1,
-              MeshWorker::DoFInfo<dim> &                 dinfo2,
+    void face(MeshWorker::DoFInfo<dim>                  &dinfo1,
+              MeshWorker::DoFInfo<dim>                  &dinfo2,
               typename MeshWorker::IntegrationInfo<dim> &info1,
               typename MeshWorker::IntegrationInfo<dim> &info2) const override;
   };
@@ -119,7 +119,7 @@ namespace Step39
   // LocalIntegrators::Laplace::compute_penalty() and we use this below.
   template <int dim>
   void MatrixIntegrator<dim>::cell(
-    MeshWorker::DoFInfo<dim> &                 dinfo,
+    MeshWorker::DoFInfo<dim>                  &dinfo,
     typename MeshWorker::IntegrationInfo<dim> &info) const
   {
     LocalIntegrators::Laplace::cell_matrix(dinfo.matrix(0, false).matrix,
@@ -129,7 +129,7 @@ namespace Step39
 
   template <int dim>
   void MatrixIntegrator<dim>::boundary(
-    MeshWorker::DoFInfo<dim> &                 dinfo,
+    MeshWorker::DoFInfo<dim>                  &dinfo,
     typename MeshWorker::IntegrationInfo<dim> &info) const
   {
     const unsigned int degree = info.fe_values(0).get_fe().tensor_degree();
@@ -142,8 +142,8 @@ namespace Step39
   // Interior faces use the interior penalty method
   template <int dim>
   void MatrixIntegrator<dim>::face(
-    MeshWorker::DoFInfo<dim> &                 dinfo1,
-    MeshWorker::DoFInfo<dim> &                 dinfo2,
+    MeshWorker::DoFInfo<dim>                  &dinfo1,
+    MeshWorker::DoFInfo<dim>                  &dinfo2,
     typename MeshWorker::IntegrationInfo<dim> &info1,
     typename MeshWorker::IntegrationInfo<dim> &info2) const
   {
@@ -166,13 +166,13 @@ namespace Step39
   class RHSIntegrator : public MeshWorker::LocalIntegrator<dim>
   {
   public:
-    void cell(MeshWorker::DoFInfo<dim> &                 dinfo,
+    void cell(MeshWorker::DoFInfo<dim>                  &dinfo,
               typename MeshWorker::IntegrationInfo<dim> &info) const override;
     void
-         boundary(MeshWorker::DoFInfo<dim> &                 dinfo,
+         boundary(MeshWorker::DoFInfo<dim>                  &dinfo,
                   typename MeshWorker::IntegrationInfo<dim> &info) const override;
-    void face(MeshWorker::DoFInfo<dim> &                 dinfo1,
-              MeshWorker::DoFInfo<dim> &                 dinfo2,
+    void face(MeshWorker::DoFInfo<dim>                  &dinfo1,
+              MeshWorker::DoFInfo<dim>                  &dinfo2,
               typename MeshWorker::IntegrationInfo<dim> &info1,
               typename MeshWorker::IntegrationInfo<dim> &info2) const override;
   };
@@ -187,11 +187,11 @@ namespace Step39
 
   template <int dim>
   void RHSIntegrator<dim>::boundary(
-    MeshWorker::DoFInfo<dim> &                 dinfo,
+    MeshWorker::DoFInfo<dim>                  &dinfo,
     typename MeshWorker::IntegrationInfo<dim> &info) const
   {
     const FEValuesBase<dim> &fe           = info.fe_values();
-    Vector<double> &         local_vector = dinfo.vector(0).block(0);
+    Vector<double>          &local_vector = dinfo.vector(0).block(0);
 
     std::vector<double> boundary_values(fe.n_quadrature_points);
     exact_solution.value_list(fe.get_quadrature_points(), boundary_values);
@@ -225,13 +225,13 @@ namespace Step39
   class Estimator : public MeshWorker::LocalIntegrator<dim>
   {
   public:
-    void cell(MeshWorker::DoFInfo<dim> &                 dinfo,
+    void cell(MeshWorker::DoFInfo<dim>                  &dinfo,
               typename MeshWorker::IntegrationInfo<dim> &info) const override;
     void
-         boundary(MeshWorker::DoFInfo<dim> &                 dinfo,
+         boundary(MeshWorker::DoFInfo<dim>                  &dinfo,
                   typename MeshWorker::IntegrationInfo<dim> &info) const override;
-    void face(MeshWorker::DoFInfo<dim> &                 dinfo1,
-              MeshWorker::DoFInfo<dim> &                 dinfo2,
+    void face(MeshWorker::DoFInfo<dim>                  &dinfo1,
+              MeshWorker::DoFInfo<dim>                  &dinfo2,
               typename MeshWorker::IntegrationInfo<dim> &info1,
               typename MeshWorker::IntegrationInfo<dim> &info2) const override;
   };
@@ -241,7 +241,7 @@ namespace Step39
   // the right hand side is zero.
   template <int dim>
   void
-  Estimator<dim>::cell(MeshWorker::DoFInfo<dim> &                 dinfo,
+  Estimator<dim>::cell(MeshWorker::DoFInfo<dim>                  &dinfo,
                        typename MeshWorker::IntegrationInfo<dim> &info) const
   {
     const FEValuesBase<dim> &fe = info.fe_values();
@@ -260,7 +260,7 @@ namespace Step39
   // the correct boundary condition.
   template <int dim>
   void Estimator<dim>::boundary(
-    MeshWorker::DoFInfo<dim> &                 dinfo,
+    MeshWorker::DoFInfo<dim>                  &dinfo,
     typename MeshWorker::IntegrationInfo<dim> &info) const
   {
     const FEValuesBase<dim> &fe = info.fe_values();
@@ -287,14 +287,14 @@ namespace Step39
   // solution and its normal derivative, weighted appropriately.
   template <int dim>
   void
-  Estimator<dim>::face(MeshWorker::DoFInfo<dim> &                 dinfo1,
-                       MeshWorker::DoFInfo<dim> &                 dinfo2,
+  Estimator<dim>::face(MeshWorker::DoFInfo<dim>                  &dinfo1,
+                       MeshWorker::DoFInfo<dim>                  &dinfo2,
                        typename MeshWorker::IntegrationInfo<dim> &info1,
                        typename MeshWorker::IntegrationInfo<dim> &info2) const
   {
-    const FEValuesBase<dim> &          fe   = info1.fe_values();
-    const std::vector<double> &        uh1  = info1.values[0][0];
-    const std::vector<double> &        uh2  = info2.values[0][0];
+    const FEValuesBase<dim>           &fe   = info1.fe_values();
+    const std::vector<double>         &uh1  = info1.values[0][0];
+    const std::vector<double>         &uh2  = info2.values[0][0];
     const std::vector<Tensor<1, dim>> &Duh1 = info1.gradients[0][0];
     const std::vector<Tensor<1, dim>> &Duh2 = info2.gradients[0][0];
 
@@ -335,13 +335,13 @@ namespace Step39
   class ErrorIntegrator : public MeshWorker::LocalIntegrator<dim>
   {
   public:
-    void cell(MeshWorker::DoFInfo<dim> &                 dinfo,
+    void cell(MeshWorker::DoFInfo<dim>                  &dinfo,
               typename MeshWorker::IntegrationInfo<dim> &info) const override;
     void
-         boundary(MeshWorker::DoFInfo<dim> &                 dinfo,
+         boundary(MeshWorker::DoFInfo<dim>                  &dinfo,
                   typename MeshWorker::IntegrationInfo<dim> &info) const override;
-    void face(MeshWorker::DoFInfo<dim> &                 dinfo1,
-              MeshWorker::DoFInfo<dim> &                 dinfo2,
+    void face(MeshWorker::DoFInfo<dim>                  &dinfo1,
+              MeshWorker::DoFInfo<dim>                  &dinfo2,
               typename MeshWorker::IntegrationInfo<dim> &info1,
               typename MeshWorker::IntegrationInfo<dim> &info2) const override;
   };
@@ -360,10 +360,10 @@ namespace Step39
   // on cells.
   template <int dim>
   void ErrorIntegrator<dim>::cell(
-    MeshWorker::DoFInfo<dim> &                 dinfo,
+    MeshWorker::DoFInfo<dim>                  &dinfo,
     typename MeshWorker::IntegrationInfo<dim> &info) const
   {
-    const FEValuesBase<dim> &   fe = info.fe_values();
+    const FEValuesBase<dim>    &fe = info.fe_values();
     std::vector<Tensor<1, dim>> exact_gradients(fe.n_quadrature_points);
     std::vector<double>         exact_values(fe.n_quadrature_points);
 
@@ -371,7 +371,7 @@ namespace Step39
     exact_solution.value_list(fe.get_quadrature_points(), exact_values);
 
     const std::vector<Tensor<1, dim>> &Duh = info.gradients[0][0];
-    const std::vector<double> &        uh  = info.values[0][0];
+    const std::vector<double>         &uh  = info.values[0][0];
 
     for (unsigned k = 0; k < fe.n_quadrature_points; ++k)
       {
@@ -392,7 +392,7 @@ namespace Step39
 
   template <int dim>
   void ErrorIntegrator<dim>::boundary(
-    MeshWorker::DoFInfo<dim> &                 dinfo,
+    MeshWorker::DoFInfo<dim>                  &dinfo,
     typename MeshWorker::IntegrationInfo<dim> &info) const
   {
     const FEValuesBase<dim> &fe = info.fe_values();
@@ -417,12 +417,12 @@ namespace Step39
 
   template <int dim>
   void ErrorIntegrator<dim>::face(
-    MeshWorker::DoFInfo<dim> &                 dinfo1,
-    MeshWorker::DoFInfo<dim> &                 dinfo2,
+    MeshWorker::DoFInfo<dim>                  &dinfo1,
+    MeshWorker::DoFInfo<dim>                  &dinfo2,
     typename MeshWorker::IntegrationInfo<dim> &info1,
     typename MeshWorker::IntegrationInfo<dim> &info2) const
   {
-    const FEValuesBase<dim> &  fe  = info1.fe_values();
+    const FEValuesBase<dim>   &fe  = info1.fe_values();
     const std::vector<double> &uh1 = info1.values[0][0];
     const std::vector<double> &uh2 = info2.values[0][0];
 
index 2e651db8e705b10efc35996827a745b0a4893d08..665a4c3df61b6dd720a1e62885ecad142eedc797 100644 (file)
@@ -125,7 +125,7 @@ template <int dim>
 class RightHandSide : public Function<dim>
 {
 public:
-  virtual double value(const Point<dim> p,
+  virtual double value(const Point<dim>  &p,
                        const unsigned int component = 0) const override;
 };
 
@@ -135,7 +135,7 @@ template <int dim>
 class BoundaryValues : public Function<dim>
 {
 public:
-  virtual double value(const Point<dim> p,
+  virtual double value(const Point<dim>  &p,
                        const unsigned int component = 0) const override;
 };
 
index 48b77b83128d4471da6a2516f30b8cda7f782869..e84726485b1c27ecafa208bb89b62e2ae4e4f69b 100644 (file)
@@ -152,7 +152,7 @@ namespace Step41
   class Obstacle : public Function<dim>
   {
   public:
-    virtual double value(const Point<dim> p,
+    virtual double value(const Point<dim>  &p,
                          const unsigned int component = 0) const override
     {
       (void)component;
index e6b437ce3673859b102fd684d985fc44e2dae586..8ce2def015ad14ecc3346039f4d1673ed37bcb62 100644 (file)
@@ -114,12 +114,12 @@ namespace Step42
 
     bool get_stress_strain_tensor(
       const SymmetricTensor<2, dim> &strain_tensor,
-      SymmetricTensor<4, dim> &      stress_strain_tensor) const;
+      SymmetricTensor<4, dim>       &stress_strain_tensor) const;
 
     void get_linearized_stress_strain_tensors(
       const SymmetricTensor<2, dim> &strain_tensor,
-      SymmetricTensor<4, dim> &      stress_strain_tensor_linearized,
-      SymmetricTensor<4, dim> &      stress_strain_tensor) const;
+      SymmetricTensor<4, dim>       &stress_strain_tensor_linearized,
+      SymmetricTensor<4, dim>       &stress_strain_tensor) const;
 
   private:
     const double kappa;
@@ -193,7 +193,7 @@ namespace Step42
   template <int dim>
   bool ConstitutiveLaw<dim>::get_stress_strain_tensor(
     const SymmetricTensor<2, dim> &strain_tensor,
-    SymmetricTensor<4, dim> &      stress_strain_tensor) const
+    SymmetricTensor<4, dim>       &stress_strain_tensor) const
   {
     Assert(dim == 3, ExcNotImplemented());
 
@@ -232,8 +232,8 @@ namespace Step42
   template <int dim>
   void ConstitutiveLaw<dim>::get_linearized_stress_strain_tensors(
     const SymmetricTensor<2, dim> &strain_tensor,
-    SymmetricTensor<4, dim> &      stress_strain_tensor_linearized,
-    SymmetricTensor<4, dim> &      stress_strain_tensor) const
+    SymmetricTensor<4, dim>       &stress_strain_tensor_linearized,
+    SymmetricTensor<4, dim>       &stress_strain_tensor) const
   {
     Assert(dim == 3, ExcNotImplemented());
 
@@ -276,11 +276,11 @@ namespace Step42
     public:
       BoundaryForce();
 
-      virtual double value(const Point<dim> p,
+      virtual double value(const Point<dim>  &p,
                            const unsigned int component = 0) const override;
 
       virtual void vector_value(const Point<dim> &p,
-                                Vector<double> &  values) const override;
+                                Vector<double>   &values) const override;
     };
 
     template <int dim>
@@ -298,7 +298,7 @@ namespace Step42
 
     template <int dim>
     void BoundaryForce<dim>::vector_value(const Point<dim> &p,
-                                          Vector<double> &  values) const
+                                          Vector<double>   &values) const
     {
       for (unsigned int c = 0; c < this->n_components; ++c)
         values(c) = BoundaryForce<dim>::value(p, c);
@@ -312,7 +312,7 @@ namespace Step42
     public:
       BoundaryValues();
 
-      virtual double value(const Point<dim> p,
+      virtual double value(const Point<dim>  &p,
                            const unsigned int component = 0) const override;
     };
 
@@ -349,11 +349,11 @@ namespace Step42
     public:
       SphereObstacle(const double z_surface);
 
-      virtual double value(const Point<dim> p,
+      virtual double value(const Point<dim>  &p,
                            const unsigned int component = 0) const override;
 
       virtual void vector_value(const Point<dim> &p,
-                                Vector<double> &  values) const override;
+                                Vector<double>   &values) const override;
 
     private:
       const double z_surface;
@@ -368,7 +368,7 @@ namespace Step42
 
 
     template <int dim>
-    double SphereObstacle<dim>::value(const Point<dim> p,
+    double SphereObstacle<dim>::value(const Point<dim>  &p,
                                       const unsigned int component) const
     {
       if (component == 0)
@@ -393,7 +393,7 @@ namespace Step42
 
     template <int dim>
     void SphereObstacle<dim>::vector_value(const Point<dim> &p,
-                                           Vector<double> &  values) const
+                                           Vector<double>   &values) const
     {
       for (unsigned int c = 0; c < this->n_components; ++c)
         values(c) = SphereObstacle<dim>::value(p, c);
@@ -524,11 +524,11 @@ namespace Step42
     public:
       ChineseObstacle(const std::string &filename, const double z_surface);
 
-      virtual double value(const Point<dim> p,
+      virtual double value(const Point<dim>  &p,
                            const unsigned int component = 0) const override;
 
       virtual void vector_value(const Point<dim> &p,
-                                Vector<double> &  values) const override;
+                                Vector<double>   &values) const override;
 
     private:
       const BitmapFile<dim> input_obstacle;
@@ -546,7 +546,7 @@ namespace Step42
 
 
     template <int dim>
-    double ChineseObstacle<dim>::value(const Point<dim> p,
+    double ChineseObstacle<dim>::value(const Point<dim>  &p,
                                        const unsigned int component) const
     {
       if (component == 0)
@@ -566,7 +566,7 @@ namespace Step42
 
     template <int dim>
     void ChineseObstacle<dim>::vector_value(const Point<dim> &p,
-                                            Vector<double> &  values) const
+                                            Vector<double>   &values) const
     {
       for (unsigned int c = 0; c < this->n_components; ++c)
         values(c) = ChineseObstacle<dim>::value(p, c);
index f805288e7355911202edbd485a6ae207fb95e889..32294220f9d8b49d6fd986efc39d930a2018f844 100644 (file)
@@ -87,7 +87,7 @@ namespace Step43
       : Function<dim>(1)
     {}
 
-    virtual double value(const Point<dim> p,
+    virtual double value(const Point<dim>  &p,
                          const unsigned int component = 0) const override;
   };
 
@@ -109,7 +109,7 @@ namespace Step43
       : Function<dim>(1)
     {}
 
-    virtual double value(const Point<dim> p,
+    virtual double value(const Point<dim>  &p,
                          const unsigned int component = 0) const override;
   };
 
@@ -135,11 +135,11 @@ namespace Step43
       : Function<dim>(1)
     {}
 
-    virtual double value(const Point<dim> p,
+    virtual double value(const Point<dim>  &p,
                          const unsigned int component = 0) const override;
 
     virtual void vector_value(const Point<dim> &p,
-                              Vector<double> &  value) const override;
+                              Vector<double>   &value) const override;
   };
 
 
@@ -177,13 +177,13 @@ namespace Step43
 
       virtual void
       value_list(const std::vector<Point<dim>> &points,
-                 std::vector<Tensor<2, dim>> &  values) const override;
+                 std::vector<Tensor<2, dim>>   &values) const override;
     };
 
 
     template <int dim>
     void KInverse<dim>::value_list(const std::vector<Point<dim>> &points,
-                                   std::vector<Tensor<2, dim>> &  values) const
+                                   std::vector<Tensor<2, dim>>   &values) const
     {
       AssertDimension(points.size(), values.size());
 
@@ -218,7 +218,7 @@ namespace Step43
 
       virtual void
       value_list(const std::vector<Point<dim>> &points,
-                 std::vector<Tensor<2, dim>> &  values) const override;
+                 std::vector<Tensor<2, dim>>   &values) const override;
 
     private:
       static std::vector<Point<dim>> centers;
@@ -243,7 +243,7 @@ namespace Step43
 
     template <int dim>
     void KInverse<dim>::value_list(const std::vector<Point<dim>> &points,
-                                   std::vector<Tensor<2, dim>> &  values) const
+                                   std::vector<Tensor<2, dim>>   &values) const
     {
       AssertDimension(points.size(), values.size());
 
@@ -324,7 +324,7 @@ namespace Step43
     class InverseMatrix : public Subscriptor
     {
     public:
-      InverseMatrix(const MatrixType &        m,
+      InverseMatrix(const MatrixType         &m,
                     const PreconditionerType &preconditioner);
 
 
@@ -333,13 +333,13 @@ namespace Step43
 
     private:
       const SmartPointer<const MatrixType> matrix;
-      const PreconditionerType &           preconditioner;
+      const PreconditionerType            &preconditioner;
     };
 
 
     template <class MatrixType, class PreconditionerType>
     InverseMatrix<MatrixType, PreconditionerType>::InverseMatrix(
-      const MatrixType &        m,
+      const MatrixType         &m,
       const PreconditionerType &preconditioner)
       : matrix(&m)
       , preconditioner(preconditioner)
@@ -350,7 +350,7 @@ namespace Step43
     template <class MatrixType, class PreconditionerType>
     template <typename VectorType>
     void InverseMatrix<MatrixType, PreconditionerType>::vmult(
-      VectorType &      dst,
+      VectorType       &dst,
       const VectorType &src) const
     {
       SolverControl        solver_control(src.size(), 1e-7 * src.l2_norm());
@@ -376,9 +376,9 @@ namespace Step43
         const TrilinosWrappers::BlockSparseMatrix &S,
         const InverseMatrix<TrilinosWrappers::SparseMatrix,
                             PreconditionerTypeMp> &Mpinv,
-        const PreconditionerTypeA &                Apreconditioner);
+        const PreconditionerTypeA                 &Apreconditioner);
 
-      void vmult(TrilinosWrappers::MPI::BlockVector &      dst,
+      void vmult(TrilinosWrappers::MPI::BlockVector       &dst,
                  const TrilinosWrappers::MPI::BlockVector &src) const;
 
     private:
@@ -400,7 +400,7 @@ namespace Step43
         const TrilinosWrappers::BlockSparseMatrix &S,
         const InverseMatrix<TrilinosWrappers::SparseMatrix,
                             PreconditionerTypeMp> &Mpinv,
-        const PreconditionerTypeA &                Apreconditioner)
+        const PreconditionerTypeA                 &Apreconditioner)
       : darcy_matrix(&S)
       , m_inverse(&Mpinv)
       , a_preconditioner(Apreconditioner)
@@ -411,7 +411,7 @@ namespace Step43
     template <class PreconditionerTypeA, class PreconditionerTypeMp>
     void
     BlockSchurPreconditioner<PreconditionerTypeA, PreconditionerTypeMp>::vmult(
-      TrilinosWrappers::MPI::BlockVector &      dst,
+      TrilinosWrappers::MPI::BlockVector       &dst,
       const TrilinosWrappers::MPI::BlockVector &src) const
     {
       a_preconditioner.vmult(dst.block(0), src.block(0));
@@ -466,14 +466,14 @@ namespace Step43
     void assemble_saturation_matrix();
     void assemble_saturation_rhs();
     void assemble_saturation_rhs_cell_term(
-      const FEValues<dim> &                       saturation_fe_values,
-      const FEValues<dim> &                       darcy_fe_values,
+      const FEValues<dim>                        &saturation_fe_values,
+      const FEValues<dim>                        &darcy_fe_values,
       const double                                global_max_u_F_prime,
       const double                                global_S_variation,
       const std::vector<types::global_dof_index> &local_dof_indices);
     void assemble_saturation_rhs_boundary_term(
-      const FEFaceValues<dim> &                   saturation_fe_face_values,
-      const FEFaceValues<dim> &                   darcy_fe_face_values,
+      const FEFaceValues<dim>                    &saturation_fe_face_values,
+      const FEFaceValues<dim>                    &darcy_fe_face_values,
       const std::vector<types::global_dof_index> &local_dof_indices);
     void solve();
     void refine_mesh(const unsigned int min_grid_level,
@@ -487,8 +487,8 @@ namespace Step43
     bool   determine_whether_to_solve_for_pressure_and_velocity() const;
     void   project_back_saturation();
     double compute_viscosity(
-      const std::vector<double> &        old_saturation,
-      const std::vector<double> &        old_old_saturation,
+      const std::vector<double>         &old_saturation,
+      const std::vector<double>         &old_old_saturation,
       const std::vector<Tensor<1, dim>> &old_saturation_grads,
       const std::vector<Tensor<1, dim>> &old_old_saturation_grads,
       const std::vector<Vector<double>> &present_darcy_values,
@@ -1318,8 +1318,8 @@ namespace Step43
   // global vector with position specified in local_dof_indices.
   template <int dim>
   void TwoPhaseFlowProblem<dim>::assemble_saturation_rhs_cell_term(
-    const FEValues<dim> &                       saturation_fe_values,
-    const FEValues<dim> &                       darcy_fe_values,
+    const FEValues<dim>                        &saturation_fe_values,
+    const FEValues<dim>                        &darcy_fe_values,
     const double                                global_max_u_F_prime,
     const double                                global_S_variation,
     const std::vector<types::global_dof_index> &local_dof_indices)
@@ -1395,8 +1395,8 @@ namespace Step43
   // from giving more descriptions about that.
   template <int dim>
   void TwoPhaseFlowProblem<dim>::assemble_saturation_rhs_boundary_term(
-    const FEFaceValues<dim> &                   saturation_fe_face_values,
-    const FEFaceValues<dim> &                   darcy_fe_face_values,
+    const FEFaceValues<dim>                    &saturation_fe_face_values,
+    const FEFaceValues<dim>                    &darcy_fe_face_values,
     const std::vector<types::global_dof_index> &local_dof_indices)
   {
     const unsigned int dofs_per_cell = saturation_fe_face_values.dofs_per_cell;
@@ -2051,8 +2051,8 @@ namespace Step43
   // need to be adjusted accordingly.
   template <int dim>
   double TwoPhaseFlowProblem<dim>::compute_viscosity(
-    const std::vector<double> &        old_saturation,
-    const std::vector<double> &        old_old_saturation,
+    const std::vector<double>         &old_saturation,
+    const std::vector<double>         &old_old_saturation,
     const std::vector<Tensor<1, dim>> &old_saturation_grads,
     const std::vector<Tensor<1, dim>> &old_old_saturation_grads,
     const std::vector<Vector<double>> &present_darcy_values,
index 63e65f996f1dba0452b89dd774fe5f67cf40242a..c4f061ee20d1364acdd84d49967630b3f1f75fa5 100644 (file)
@@ -853,16 +853,16 @@ namespace Step44
 
     void assemble_system_one_cell(
       const typename DoFHandler<dim>::active_cell_iterator &cell,
-      ScratchData_ASM &                                     scratch,
-      PerTaskData_ASM &                                     data) const;
+      ScratchData_ASM                                      &scratch,
+      PerTaskData_ASM                                      &data) const;
 
     // And similar to perform global static condensation:
     void assemble_sc();
 
     void assemble_sc_one_cell(
       const typename DoFHandler<dim>::active_cell_iterator &cell,
-      ScratchData_SC &                                      scratch,
-      PerTaskData_SC &                                      data);
+      ScratchData_SC                                       &scratch,
+      PerTaskData_SC                                       &data);
 
     void copy_local_to_global_sc(const PerTaskData_SC &data);
 
@@ -875,8 +875,8 @@ namespace Step44
 
     void update_qph_incremental_one_cell(
       const typename DoFHandler<dim>::active_cell_iterator &cell,
-      ScratchData_UQPH &                                    scratch,
-      PerTaskData_UQPH &                                    data);
+      ScratchData_UQPH                                     &scratch,
+      PerTaskData_UQPH                                     &data);
 
     void copy_local_to_global_UQPH(const PerTaskData_UQPH & /*data*/)
     {}
@@ -1007,7 +1007,7 @@ namespace Step44
     void get_error_residual(Errors &error_residual);
 
     void get_error_update(const BlockVector<double> &newton_update,
-                          Errors &                   error_update);
+                          Errors                    &error_update);
 
     std::pair<double, double> get_error_dilation() const;
 
@@ -1182,9 +1182,9 @@ namespace Step44
     std::vector<std::vector<SymmetricTensor<2, dim>>> symm_grad_Nx;
 
     ScratchData_ASM(const FiniteElement<dim> &fe_cell,
-                    const QGauss<dim> &       qf_cell,
+                    const QGauss<dim>        &qf_cell,
                     const UpdateFlags         uf_cell,
-                    const QGauss<dim - 1> &   qf_face,
+                    const QGauss<dim - 1>    &qf_face,
                     const UpdateFlags         uf_face)
       : fe_values(fe_cell, qf_cell, uf_cell)
       , fe_face_values(fe_cell, qf_face, uf_face)
@@ -1328,8 +1328,8 @@ namespace Step44
 
     FEValues<dim> fe_values;
 
-    ScratchData_UQPH(const FiniteElement<dim> fe_cell,
-                     const QGauss<dim> &        qf_cell,
+    ScratchData_UQPH(const FiniteElement<dim>  &fe_cell,
+                     const QGauss<dim>         &qf_cell,
                      const UpdateFlags          uf_cell,
                      const BlockVector<double> &solution_total)
       : solution_total(solution_total)
@@ -1602,7 +1602,7 @@ namespace Step44
   template <int dim>
   void Solid<dim>::update_qph_incremental_one_cell(
     const typename DoFHandler<dim>::active_cell_iterator &cell,
-    ScratchData_UQPH &                                    scratch,
+    ScratchData_UQPH                                     &scratch,
     PerTaskData_UQPH & /*data*/)
   {
     const std::vector<std::shared_ptr<PointHistory<dim>>> lqph =
@@ -1902,7 +1902,7 @@ namespace Step44
   // Determine the true Newton update error for the problem
   template <int dim>
   void Solid<dim>::get_error_update(const BlockVector<double> &newton_update,
-                                    Errors &                   error_update)
+                                    Errors                    &error_update)
   {
     BlockVector<double> error_ud(dofs_per_block);
     for (unsigned int i = 0; i < dof_handler.n_dofs(); ++i)
@@ -1963,8 +1963,8 @@ namespace Step44
     WorkStream::run(
       dof_handler.active_cell_iterators(),
       [this](const typename DoFHandler<dim>::active_cell_iterator &cell,
-             ScratchData_ASM &                                     scratch,
-             PerTaskData_ASM &                                     data) {
+             ScratchData_ASM                                      &scratch,
+             PerTaskData_ASM                                      &data) {
         this->assemble_system_one_cell(cell, scratch, data);
       },
       [this](const PerTaskData_ASM &data) {
@@ -1991,8 +1991,8 @@ namespace Step44
   template <int dim>
   void Solid<dim>::assemble_system_one_cell(
     const typename DoFHandler<dim>::active_cell_iterator &cell,
-    ScratchData_ASM &                                     scratch,
-    PerTaskData_ASM &                                     data) const
+    ScratchData_ASM                                      &scratch,
+    PerTaskData_ASM                                      &data) const
   {
     data.reset();
     scratch.reset();
@@ -2063,7 +2063,7 @@ namespace Step44
 
         // Next we define some aliases to make the assembly process easier to
         // follow.
-        const std::vector<double> &                 N = scratch.Nx[q_point];
+        const std::vector<double>                  &N = scratch.Nx[q_point];
         const std::vector<SymmetricTensor<2, dim>> &symm_grad_Nx =
           scratch.symm_grad_Nx[q_point];
         const std::vector<Tensor<2, dim>> &grad_Nx = scratch.grad_Nx[q_point];
@@ -2476,8 +2476,8 @@ namespace Step44
   template <int dim>
   void Solid<dim>::assemble_sc_one_cell(
     const typename DoFHandler<dim>::active_cell_iterator &cell,
-    ScratchData_SC &                                      scratch,
-    PerTaskData_SC &                                      data)
+    ScratchData_SC                                       &scratch,
+    PerTaskData_SC                                       &data)
   {
     data.reset();
     scratch.reset();
index ed01fff61bb3e2eb54066544acf2576372851680..cbc7bda9072c5994cc22d191034bf31e27bf639a 100644 (file)
@@ -118,11 +118,11 @@ namespace Step45
       : Function<dim>(dim + 1)
     {}
 
-    virtual double value(const Point<dim> p,
+    virtual double value(const Point<dim>  &p,
                          const unsigned int component = 0) const override;
 
     virtual void vector_value(const Point<dim> &p,
-                              Vector<double> &  value) const override;
+                              Vector<double>   &value) const override;
   };
 
 
@@ -140,7 +140,7 @@ namespace Step45
 
   template <int dim>
   void BoundaryValues<dim>::vector_value(const Point<dim> &p,
-                                         Vector<double> &  values) const
+                                         Vector<double>   &values) const
   {
     for (unsigned int c = 0; c < this->n_components; ++c)
       values(c) = BoundaryValues<dim>::value(p, c);
@@ -155,16 +155,16 @@ namespace Step45
       : Function<dim>(dim + 1)
     {}
 
-    virtual double value(const Point<dim> p,
+    virtual double value(const Point<dim>  &p,
                          const unsigned int component = 0) const override;
 
     virtual void vector_value(const Point<dim> &p,
-                              Vector<double> &  value) const override;
+                              Vector<double>   &value) const override;
   };
 
 
   template <int dim>
-  double RightHandSide<dim>::value(const Point<dim> p,
+  double RightHandSide<dim>::value(const Point<dim>  &p,
                                    const unsigned int component) const
   {
     const Point<dim> center(0.75, 0.1);
@@ -178,7 +178,7 @@ namespace Step45
 
   template <int dim>
   void RightHandSide<dim>::vector_value(const Point<dim> &p,
-                                        Vector<double> &  values) const
+                                        Vector<double>   &values) const
   {
     for (unsigned int c = 0; c < this->n_components; ++c)
       values(c) = RightHandSide<dim>::value(p, c);
@@ -190,12 +190,12 @@ namespace Step45
   class InverseMatrix : public Subscriptor
   {
   public:
-    InverseMatrix(const MatrixType &        m,
+    InverseMatrix(const MatrixType         &m,
                   const PreconditionerType &preconditioner,
-                  const IndexSet &          locally_owned,
+                  const IndexSet           &locally_owned,
                   const MPI_Comm            mpi_communicator);
 
-    void vmult(TrilinosWrappers::MPI::Vector &      dst,
+    void vmult(TrilinosWrappers::MPI::Vector       &dst,
                const TrilinosWrappers::MPI::Vector &src) const;
 
   private:
@@ -209,9 +209,9 @@ namespace Step45
 
   template <class MatrixType, class PreconditionerType>
   InverseMatrix<MatrixType, PreconditionerType>::InverseMatrix(
-    const MatrixType &        m,
+    const MatrixType         &m,
     const PreconditionerType &preconditioner,
-    const IndexSet &          locally_owned,
+    const IndexSet           &locally_owned,
     const MPI_Comm            mpi_communicator)
     : matrix(&m)
     , preconditioner(&preconditioner)
@@ -222,7 +222,7 @@ namespace Step45
 
   template <class MatrixType, class PreconditionerType>
   void InverseMatrix<MatrixType, PreconditionerType>::vmult(
-    TrilinosWrappers::MPI::Vector &      dst,
+    TrilinosWrappers::MPI::Vector       &dst,
     const TrilinosWrappers::MPI::Vector &src) const
   {
     SolverControl              solver_control(src.size(), 1e-6 * src.l2_norm());
@@ -242,11 +242,11 @@ namespace Step45
   public:
     SchurComplement(const TrilinosWrappers::BlockSparseMatrix &system_matrix,
                     const InverseMatrix<TrilinosWrappers::SparseMatrix,
-                                        PreconditionerType> &  A_inverse,
-                    const IndexSet &                           owned_pres,
+                                        PreconditionerType>   &A_inverse,
+                    const IndexSet                            &owned_pres,
                     const MPI_Comm mpi_communicator);
 
-    void vmult(TrilinosWrappers::MPI::Vector &      dst,
+    void vmult(TrilinosWrappers::MPI::Vector       &dst,
                const TrilinosWrappers::MPI::Vector &src) const;
 
   private:
@@ -263,7 +263,7 @@ namespace Step45
   SchurComplement<PreconditionerType>::SchurComplement(
     const TrilinosWrappers::BlockSparseMatrix &system_matrix,
     const InverseMatrix<TrilinosWrappers::SparseMatrix, PreconditionerType>
-      &             A_inverse,
+                   &A_inverse,
     const IndexSet &owned_vel,
     const MPI_Comm  mpi_communicator)
     : system_matrix(&system_matrix)
@@ -276,7 +276,7 @@ namespace Step45
 
   template <class PreconditionerType>
   void SchurComplement<PreconditionerType>::vmult(
-    TrilinosWrappers::MPI::Vector &      dst,
+    TrilinosWrappers::MPI::Vector       &dst,
     const TrilinosWrappers::MPI::Vector &src) const
   {
     system_matrix->block(0, 1).vmult(tmp1, src);
index 1cd4c8930c2a702487379db12a5d8d02401b08b8..4f653895bd5dba34472a693448de7ed42ac727ab 100644 (file)
@@ -111,12 +111,12 @@ namespace Step46
     void setup_dofs();
     void assemble_system();
     void assemble_interface_term(
-      const FEFaceValuesBase<dim> &         elasticity_fe_face_values,
-      const FEFaceValuesBase<dim> &         stokes_fe_face_values,
-      std::vector<Tensor<1, dim>> &         elasticity_phi,
+      const FEFaceValuesBase<dim>          &elasticity_fe_face_values,
+      const FEFaceValuesBase<dim>          &stokes_fe_face_values,
+      std::vector<Tensor<1, dim>>          &elasticity_phi,
       std::vector<SymmetricTensor<2, dim>> &stokes_symgrad_phi_u,
-      std::vector<double> &                 stokes_phi_p,
-      FullMatrix<double> &                  local_interface_matrix) const;
+      std::vector<double>                  &stokes_phi_p,
+      FullMatrix<double>                   &local_interface_matrix) const;
     void solve();
     void output_results(const unsigned int refinement_cycle) const;
     void refine_mesh();
@@ -160,16 +160,16 @@ namespace Step46
       : Function<dim>(dim + 1 + dim)
     {}
 
-    virtual double value(const Point<dim> p,
+    virtual double value(const Point<dim>  &p,
                          const unsigned int component = 0) const override;
 
     virtual void vector_value(const Point<dim> &p,
-                              Vector<double> &  value) const override;
+                              Vector<double>   &value) const override;
   };
 
 
   template <int dim>
-  double StokesBoundaryValues<dim>::value(const Point<dim> p,
+  double StokesBoundaryValues<dim>::value(const Point<dim>  &p,
                                           const unsigned int component) const
   {
     Assert(component < this->n_components,
@@ -192,7 +192,7 @@ namespace Step46
 
   template <int dim>
   void StokesBoundaryValues<dim>::vector_value(const Point<dim> &p,
-                                               Vector<double> &  values) const
+                                               Vector<double>   &values) const
   {
     for (unsigned int c = 0; c < this->n_components; ++c)
       values(c) = StokesBoundaryValues<dim>::value(p, c);
@@ -767,12 +767,12 @@ namespace Step46
   // here are given in the introduction.
   template <int dim>
   void FluidStructureProblem<dim>::assemble_interface_term(
-    const FEFaceValuesBase<dim> &         elasticity_fe_face_values,
-    const FEFaceValuesBase<dim> &         stokes_fe_face_values,
-    std::vector<Tensor<1, dim>> &         elasticity_phi,
+    const FEFaceValuesBase<dim>          &elasticity_fe_face_values,
+    const FEFaceValuesBase<dim>          &stokes_fe_face_values,
+    std::vector<Tensor<1, dim>>          &elasticity_phi,
     std::vector<SymmetricTensor<2, dim>> &stokes_symgrad_phi_u,
-    std::vector<double> &                 stokes_phi_p,
-    FullMatrix<double> &                  local_interface_matrix) const
+    std::vector<double>                  &stokes_phi_p,
+    FullMatrix<double>                   &local_interface_matrix) const
   {
     Assert(stokes_fe_face_values.n_quadrature_points ==
              elasticity_fe_face_values.n_quadrature_points,
index c2494c32e4b776a59c1e1611d4039d6a70b10439..dfeff810b20a0552eaec4c313253fcd5f15d0392 100644 (file)
@@ -104,7 +104,7 @@ namespace Step47
       }
 
       virtual void
-      hessian_list(const std::vector<Point<dim>> &       points,
+      hessian_list(const std::vector<Point<dim>>        &points,
                    std::vector<SymmetricTensor<2, dim>> &hessians,
                    const unsigned int /*component*/ = 0) const override
       {
@@ -274,7 +274,7 @@ namespace Step47
   template <int dim>
   struct ScratchData
   {
-    ScratchData(const Mapping<dim> &      mapping,
+    ScratchData(const Mapping<dim>       &mapping,
                 const FiniteElement<dim> &fe,
                 const unsigned int        quadrature_degree,
                 const UpdateFlags         update_flags,
@@ -396,9 +396,9 @@ namespace Step47
     // we could have left the call to `fe_values.shape_hessian(j,qpoint)`
     // in the instruction that computes the scalar product between
     // the two terms.
-    auto cell_worker = [&](const Iterator &  cell,
+    auto cell_worker = [&](const Iterator   &cell,
                            ScratchData<dim> &scratch_data,
-                           CopyData &        copy_data) {
+                           CopyData         &copy_data) {
       copy_data.cell_matrix = 0;
       copy_data.cell_rhs    = 0;
 
@@ -462,14 +462,14 @@ namespace Step47
     // `copy_data.face_data()` is really all that the later `copier` function
     // gets to see when it copies the contributions of each cell to the global
     // matrix and right hand side objects.
-    auto face_worker = [&](const Iterator &    cell,
+    auto face_worker = [&](const Iterator     &cell,
                            const unsigned int &f,
                            const unsigned int &sf,
-                           const Iterator &    ncell,
+                           const Iterator     &ncell,
                            const unsigned int &nf,
                            const unsigned int &nsf,
-                           ScratchData<dim> &  scratch_data,
-                           CopyData &          copy_data) {
+                           ScratchData<dim>   &scratch_data,
+                           CopyData           &copy_data) {
       FEInterfaceValues<dim> &fe_interface_values =
         scratch_data.fe_interface_values;
       fe_interface_values.reinit(cell, f, sf, ncell, nf, nsf);
@@ -586,10 +586,10 @@ namespace Step47
     //
     // As before, the first part of the function simply sets up some
     // helper objects:
-    auto boundary_worker = [&](const Iterator &    cell,
+    auto boundary_worker = [&](const Iterator     &cell,
                                const unsigned int &face_no,
-                               ScratchData<dim> &  scratch_data,
-                               CopyData &          copy_data) {
+                               ScratchData<dim>   &scratch_data,
+                               CopyData           &copy_data) {
       FEInterfaceValues<dim> &fe_interface_values =
         scratch_data.fe_interface_values;
       fe_interface_values.reinit(cell, face_no);
index 14d0f3340ed8b2bdf9e6526c4a7a55da8438f9d8..9d27a84018c1456378c067f76c22327dd755fe21 100644 (file)
@@ -90,13 +90,13 @@ namespace Step48
                  &src) const;
 
   private:
-    const MatrixFree<dim, double> &            data;
+    const MatrixFree<dim, double>             &data;
     const VectorizedArray<double>              delta_t_sqr;
     LinearAlgebra::distributed::Vector<double> inv_mass_matrix;
 
     void local_apply(
-      const MatrixFree<dim, double> &                                  data,
-      LinearAlgebra::distributed::Vector<double> &                     dst,
+      const MatrixFree<dim, double>                                   &data,
+      LinearAlgebra::distributed::Vector<double>                      &dst,
       const std::vector<LinearAlgebra::distributed::Vector<double> *> &src,
       const std::pair<unsigned int, unsigned int> &cell_range) const;
   };
@@ -185,8 +185,8 @@ namespace Step48
   // dst.
   template <int dim, int fe_degree>
   void SineGordonOperation<dim, fe_degree>::local_apply(
-    const MatrixFree<dim> &                                          data,
-    LinearAlgebra::distributed::Vector<double> &                     dst,
+    const MatrixFree<dim>                                           &data,
+    LinearAlgebra::distributed::Vector<double>                      &dst,
     const std::vector<LinearAlgebra::distributed::Vector<double> *> &src,
     const std::pair<unsigned int, unsigned int> &cell_range) const
   {
@@ -241,7 +241,7 @@ namespace Step48
   // inverse mass matrix.
   template <int dim, int fe_degree>
   void SineGordonOperation<dim, fe_degree>::apply(
-    LinearAlgebra::distributed::Vector<double> &                     dst,
+    LinearAlgebra::distributed::Vector<double>                      &dst,
     const std::vector<LinearAlgebra::distributed::Vector<double> *> &src) const
   {
     data.cell_loop(
index d032b70cdbf0e68e1edfe6c4da3e966156b019ee..24a1f2a2ea54f2ccbd773c5eb4de20df8fb78486 100644 (file)
@@ -59,7 +59,7 @@ using namespace dealii;
 // visualized in Paraview or VisIt.
 template <int dim>
 void print_mesh_info(const Triangulation<dim> &triangulation,
-                     const std::string &       filename)
+                     const std::string        &filename)
 {
   std::cout << "Mesh info:" << std::endl
             << " dimension: " << dim << std::endl
index 7d03b5b02794bde632da350c9385288dfd904d5f..3a011521ee5ea8936dfac9214a775eb73c1fd3fa 100644 (file)
@@ -101,7 +101,7 @@ using namespace dealii;
 namespace ChangeVectorTypes
 {
   template <typename number>
-  void copy(LA::MPI::Vector &                                 out,
+  void copy(LA::MPI::Vector                                  &out,
             const LinearAlgebra::distributed::Vector<number> &in)
   {
     LinearAlgebra::ReadWriteVector<double> rwv(out.locally_owned_elements());
@@ -119,7 +119,7 @@ namespace ChangeVectorTypes
 
   template <typename number>
   void copy(LinearAlgebra::distributed::Vector<number> &out,
-            const LA::MPI::Vector &                     in)
+            const LA::MPI::Vector                      &in)
   {
     LinearAlgebra::ReadWriteVector<double> rwv;
 #ifdef USE_PETSC_LA
@@ -1210,7 +1210,7 @@ void LaplaceProblem<dim, degree>::solve()
 template <int dim>
 struct ScratchData
 {
-  ScratchData(const Mapping<dim> &      mapping,
+  ScratchData(const Mapping<dim>       &mapping,
               const FiniteElement<dim> &fe,
               const unsigned int        quadrature_degree,
               const UpdateFlags         update_flags,
@@ -1277,9 +1277,9 @@ void LaplaceProblem<dim, degree>::estimate()
   using Iterator = typename DoFHandler<dim>::active_cell_iterator;
 
   // Assembler for cell residual $h^2 \| f + \epsilon \triangle u \|_K^2$
-  auto cell_worker = [&](const Iterator &  cell,
+  auto cell_worker = [&](const Iterator   &cell,
                          ScratchData<dim> &scratch_data,
-                         CopyData &        copy_data) {
+                         CopyData         &copy_data) {
     FEValues<dim> &fe_values = scratch_data.fe_values;
     fe_values.reinit(cell);
 
@@ -1306,14 +1306,14 @@ void LaplaceProblem<dim, degree>::estimate()
 
   // Assembler for face term $\sum_F h_F \| \jump{\epsilon \nabla u \cdot n}
   // \|_F^2$
-  auto face_worker = [&](const Iterator &    cell,
+  auto face_worker = [&](const Iterator     &cell,
                          const unsigned int &f,
                          const unsigned int &sf,
-                         const Iterator &    ncell,
+                         const Iterator     &ncell,
                          const unsigned int &nf,
                          const unsigned int &nsf,
-                         ScratchData<dim> &  scratch_data,
-                         CopyData &          copy_data) {
+                         ScratchData<dim>   &scratch_data,
+                         CopyData           &copy_data) {
     FEInterfaceValues<dim> &fe_interface_values =
       scratch_data.fe_interface_values;
     fe_interface_values.reinit(cell, f, sf, ncell, nf, nsf);
index ad1b7be6bb85d1cc225d845f6a8449bc9db6907d..222f73eb8291273cb342ffcf5749fa8139f3340c 100644 (file)
@@ -177,7 +177,7 @@ namespace Step51
     {}
 
     virtual void vector_value(const Point<dim> &p,
-                              Vector<double> &  v) const override
+                              Vector<double>   &v) const override
     {
       AssertDimension(v.size(), dim + 1);
       Solution<dim>  solution;
@@ -307,15 +307,15 @@ namespace Step51
     // work of the program.
     void assemble_system_one_cell(
       const typename DoFHandler<dim>::active_cell_iterator &cell,
-      ScratchData &                                         scratch,
-      PerTaskData &                                         task_data);
+      ScratchData                                          &scratch,
+      PerTaskData                                          &task_data);
 
     void copy_local_to_global(const PerTaskData &data);
 
     void postprocess_one_cell(
       const typename DoFHandler<dim>::active_cell_iterator &cell,
-      PostProcessScratchData &                              scratch,
-      unsigned int &                                        empty_data);
+      PostProcessScratchData                               &scratch,
+      unsigned int                                         &empty_data);
 
 
     Triangulation<dim> triangulation;
@@ -518,8 +518,8 @@ namespace Step51
 
     ScratchData(const FiniteElement<dim> &fe,
                 const FiniteElement<dim> &fe_local,
-                const QGauss<dim> &       quadrature_formula,
-                const QGauss<dim - 1> &   face_quadrature_formula,
+                const QGauss<dim>        &quadrature_formula,
+                const QGauss<dim - 1>    &face_quadrature_formula,
                 const UpdateFlags         local_flags,
                 const UpdateFlags         local_face_flags,
                 const UpdateFlags         flags)
@@ -608,7 +608,7 @@ namespace Step51
 
     PostProcessScratchData(const FiniteElement<dim> &fe,
                            const FiniteElement<dim> &fe_local,
-                           const QGauss<dim> &       quadrature_formula,
+                           const QGauss<dim>        &quadrature_formula,
                            const UpdateFlags         local_flags,
                            const UpdateFlags         flags)
       : fe_values_local(fe_local, quadrature_formula, local_flags)
@@ -694,8 +694,8 @@ namespace Step51
   template <int dim>
   void HDG<dim>::assemble_system_one_cell(
     const typename DoFHandler<dim>::active_cell_iterator &cell,
-    ScratchData &                                         scratch,
-    PerTaskData &                                         task_data)
+    ScratchData                                          &scratch,
+    PerTaskData                                          &task_data)
   {
     // Construct iterator for dof_handler_local for FEValues reinit function.
     const typename DoFHandler<dim>::active_cell_iterator loc_cell =
@@ -1034,8 +1034,8 @@ namespace Step51
         dof_handler_u_post.begin_active(),
         dof_handler_u_post.end(),
         [this](const typename DoFHandler<dim>::active_cell_iterator &cell,
-               PostProcessScratchData &                              scratch,
-               unsigned int &                                        data) {
+               PostProcessScratchData                               &scratch,
+               unsigned int                                         &data) {
           this->postprocess_one_cell(cell, scratch, data);
         },
         std::function<void(const unsigned int &)>(),
@@ -1123,7 +1123,7 @@ namespace Step51
   template <int dim>
   void HDG<dim>::postprocess_one_cell(
     const typename DoFHandler<dim>::active_cell_iterator &cell,
-    PostProcessScratchData &                              scratch,
+    PostProcessScratchData                               &scratch,
     unsigned int &)
   {
     const typename DoFHandler<dim>::active_cell_iterator loc_cell =
index 6398183c7eb192bcd694f8988494a5846a1b856e..1de92fd72ed73d2dc239e2def1884f837d86be6a 100644 (file)
@@ -75,9 +75,9 @@ namespace Step54
 
 
     TriangulationOnCAD(
-      const std::string &  initial_mesh_filename,
-      const std::string &  cad_file_name,
-      const std::string &  output_filename,
+      const std::string   &initial_mesh_filename,
+      const std::string   &cad_file_name,
+      const std::string   &output_filename,
       const ProjectionType surface_projection_kind = NormalProjection);
 
     void run();
@@ -108,9 +108,9 @@ namespace Step54
   // below for details).
 
   TriangulationOnCAD::TriangulationOnCAD(
-    const std::string &  initial_mesh_filename,
-    const std::string &  cad_file_name,
-    const std::string &  output_filename,
+    const std::string   &initial_mesh_filename,
+    const std::string   &cad_file_name,
+    const std::string   &output_filename,
     const ProjectionType surface_projection_kind)
     : initial_mesh_filename(initial_mesh_filename)
     , cad_file_name(cad_file_name)
index eee56e9ac898b54269d0a5eeeab8c6559e521781..c7dbba79aea90e83b8aef99bdd26c0b36ec9c321 100644 (file)
@@ -106,13 +106,13 @@ namespace Step55
 
     private:
       const SmartPointer<const Matrix> matrix;
-      const Preconditioner &           preconditioner;
+      const Preconditioner            &preconditioner;
     };
 
 
     template <class Matrix, class Preconditioner>
     InverseMatrix<Matrix, Preconditioner>::InverseMatrix(
-      const Matrix &        m,
+      const Matrix         &m,
       const Preconditioner &preconditioner)
       : matrix(&m)
       , preconditioner(preconditioner)
@@ -123,7 +123,7 @@ namespace Step55
     template <class Matrix, class Preconditioner>
     template <typename VectorType>
     void
-    InverseMatrix<Matrix, Preconditioner>::vmult(VectorType &      dst,
+    InverseMatrix<Matrix, Preconditioner>::vmult(VectorType       &dst,
                                                  const VectorType &src) const
     {
       SolverControl        solver_control(src.size(), 1e-8 * src.l2_norm());
@@ -150,7 +150,7 @@ namespace Step55
       BlockDiagonalPreconditioner(const PreconditionerA &preconditioner_A,
                                   const PreconditionerS &preconditioner_S);
 
-      void vmult(LA::MPI::BlockVector &      dst,
+      void vmult(LA::MPI::BlockVector       &dst,
                  const LA::MPI::BlockVector &src) const;
 
     private:
@@ -169,7 +169,7 @@ namespace Step55
 
     template <class PreconditionerA, class PreconditionerS>
     void BlockDiagonalPreconditioner<PreconditionerA, PreconditionerS>::vmult(
-      LA::MPI::BlockVector &      dst,
+      LA::MPI::BlockVector       &dst,
       const LA::MPI::BlockVector &src) const
     {
       preconditioner_A.vmult(dst.block(0), src.block(0));
@@ -192,13 +192,13 @@ namespace Step55
     {}
 
     virtual void vector_value(const Point<dim> &p,
-                              Vector<double> &  value) const override;
+                              Vector<double>   &value) const override;
   };
 
 
   template <int dim>
   void RightHandSide<dim>::vector_value(const Point<dim> &p,
-                                        Vector<double> &  values) const
+                                        Vector<double>   &values) const
   {
     const double R_x = p[0];
     const double R_y = p[1];
@@ -235,12 +235,12 @@ namespace Step55
     {}
 
     virtual void vector_value(const Point<dim> &p,
-                              Vector<double> &  values) const override;
+                              Vector<double>   &values) const override;
   };
 
   template <int dim>
   void ExactSolution<dim>::vector_value(const Point<dim> &p,
-                                        Vector<double> &  values) const
+                                        Vector<double>   &values) const
   {
     const double R_x = p[0];
     const double R_y = p[1];
index c4cb510a85ddd86b7dbfc71e9d9cf023c32b484e..ff32e820789993b614f67ef506de6f9ced1fa233 100644 (file)
@@ -102,15 +102,15 @@ namespace Step56
     Solution()
       : Function<dim>(dim + 1)
     {}
-    virtual double value(const Point<dim> p,
+    virtual double value(const Point<dim>  &p,
                          const unsigned int component = 0) const override;
     virtual Tensor<1, dim>
-    gradient(const Point<dim> p,
+    gradient(const Point<dim>  &p,
              const unsigned int component = 0) const override;
   };
 
   template <>
-  double Solution<2>::value(const Point<2> &   p,
+  double Solution<2>::value(const Point<2>    &p,
                             const unsigned int component) const
   {
     Assert(component <= 2 + 1, ExcIndexRange(component, 0, 2 + 1));
@@ -130,7 +130,7 @@ namespace Step56
   }
 
   template <>
-  double Solution<3>::value(const Point<3> &   p,
+  double Solution<3>::value(const Point<3>    &p,
                             const unsigned int component) const
   {
     Assert(component <= 3 + 1, ExcIndexRange(component, 0, 3 + 1));
@@ -154,7 +154,7 @@ namespace Step56
 
   // Note that for the gradient we need to return a Tensor<1,dim>
   template <>
-  Tensor<1, 2> Solution<2>::gradient(const Point<2> &   p,
+  Tensor<1, 2> Solution<2>::gradient(const Point<2>    &p,
                                      const unsigned int component) const
   {
     Assert(component <= 2, ExcIndexRange(component, 0, 2 + 1));
@@ -184,7 +184,7 @@ namespace Step56
   }
 
   template <>
-  Tensor<1, 3> Solution<3>::gradient(const Point<3> &   p,
+  Tensor<1, 3> Solution<3>::gradient(const Point<3>    &p,
                                      const unsigned int component) const
   {
     Assert(component <= 3, ExcIndexRange(component, 0, 3 + 1));
@@ -232,12 +232,12 @@ namespace Step56
       : Function<dim>(dim + 1)
     {}
 
-    virtual double value(const Point<dim> p,
+    virtual double value(const Point<dim>  &p,
                          const unsigned int component = 0) const override;
   };
 
   template <>
-  double RightHandSide<2>::value(const Point<2> &   p,
+  double RightHandSide<2>::value(const Point<2>    &p,
                                  const unsigned int component) const
   {
     Assert(component <= 2, ExcIndexRange(component, 0, 2 + 1));
@@ -256,7 +256,7 @@ namespace Step56
   }
 
   template <>
-  double RightHandSide<3>::value(const Point<3> &   p,
+  double RightHandSide<3>::value(const Point<3>    &p,
                                  const unsigned int component) const
   {
     Assert(component <= 3, ExcIndexRange(component, 0, 3 + 1));
@@ -309,9 +309,9 @@ namespace Step56
   public:
     BlockSchurPreconditioner(
       const BlockSparseMatrix<double> &system_matrix,
-      const SparseMatrix<double> &     schur_complement_matrix,
-      const PreconditionerAType &      preconditioner_A,
-      const PreconditionerSType &      preconditioner_S,
+      const SparseMatrix<double>      &schur_complement_matrix,
+      const PreconditionerAType       &preconditioner_A,
+      const PreconditionerSType       &preconditioner_S,
       const bool                       do_solve_A);
 
     void vmult(BlockVector<double> &dst, const BlockVector<double> &src) const;
@@ -321,9 +321,9 @@ namespace Step56
 
   private:
     const BlockSparseMatrix<double> &system_matrix;
-    const SparseMatrix<double> &     schur_complement_matrix;
-    const PreconditionerAType &      preconditioner_A;
-    const PreconditionerSType &      preconditioner_S;
+    const SparseMatrix<double>      &schur_complement_matrix;
+    const PreconditionerAType       &preconditioner_A;
+    const PreconditionerSType       &preconditioner_S;
 
     const bool do_solve_A;
   };
@@ -332,9 +332,9 @@ namespace Step56
   BlockSchurPreconditioner<PreconditionerAType, PreconditionerSType>::
     BlockSchurPreconditioner(
       const BlockSparseMatrix<double> &system_matrix,
-      const SparseMatrix<double> &     schur_complement_matrix,
-      const PreconditionerAType &      preconditioner_A,
-      const PreconditionerSType &      preconditioner_S,
+      const SparseMatrix<double>      &schur_complement_matrix,
+      const PreconditionerAType       &preconditioner_A,
+      const PreconditionerSType       &preconditioner_S,
       const bool                       do_solve_A)
     : n_iterations_A(0)
     , n_iterations_S(0)
@@ -350,7 +350,7 @@ namespace Step56
   template <class PreconditionerAType, class PreconditionerSType>
   void
   BlockSchurPreconditioner<PreconditionerAType, PreconditionerSType>::vmult(
-    BlockVector<double> &      dst,
+    BlockVector<double>       &dst,
     const BlockVector<double> &src) const
   {
     Vector<double> utmp(src.block(0));
index 395c6d05d2336133c66e10694f5068dd209a439f..e154a178a51fe2ebc0b924ec0c2b2889dae0e49b 100644 (file)
@@ -153,12 +153,12 @@ namespace Step57
     BoundaryValues()
       : Function<dim>(dim + 1)
     {}
-    virtual double value(const Point<dim> p,
+    virtual double value(const Point<dim>  &p,
                          const unsigned int component) const override;
   };
 
   template <int dim>
-  double BoundaryValues<dim>::value(const Point<dim> p,
+  double BoundaryValues<dim>::value(const Point<dim>  &p,
                                     const unsigned int component) const
   {
     Assert(component < this->n_components,
@@ -190,8 +190,8 @@ namespace Step57
     BlockSchurPreconditioner(double                           gamma,
                              double                           viscosity,
                              const BlockSparseMatrix<double> &S,
-                             const SparseMatrix<double> &     P,
-                             const PreconditionerMp &         Mppreconditioner);
+                             const SparseMatrix<double>      &P,
+                             const PreconditionerMp          &Mppreconditioner);
 
     void vmult(BlockVector<double> &dst, const BlockVector<double> &src) const;
 
@@ -199,8 +199,8 @@ namespace Step57
     const double                     gamma;
     const double                     viscosity;
     const BlockSparseMatrix<double> &stokes_matrix;
-    const SparseMatrix<double> &     pressure_mass_matrix;
-    const PreconditionerMp &         mp_preconditioner;
+    const SparseMatrix<double>      &pressure_mass_matrix;
+    const PreconditionerMp          &mp_preconditioner;
     SparseDirectUMFPACK              A_inverse;
   };
 
@@ -214,8 +214,8 @@ namespace Step57
     double                           gamma,
     double                           viscosity,
     const BlockSparseMatrix<double> &S,
-    const SparseMatrix<double> &     P,
-    const PreconditionerMp &         Mppreconditioner)
+    const SparseMatrix<double>      &P,
+    const PreconditionerMp          &Mppreconditioner)
     : gamma(gamma)
     , viscosity(viscosity)
     , stokes_matrix(S)
@@ -227,7 +227,7 @@ namespace Step57
 
   template <class PreconditionerMp>
   void BlockSchurPreconditioner<PreconditionerMp>::vmult(
-    BlockVector<double> &      dst,
+    BlockVector<double>       &dst,
     const BlockVector<double> &src) const
   {
     Vector<double> utmp(src.block(0));
index 4e3f2c815c7e7a3cee2e3e5fbb86d6f765fe67ed..a1dab4c79d5e467237a0e979662c89f26279ed6c 100644 (file)
@@ -127,7 +127,7 @@ namespace Step58
 
   template <int dim>
   std::complex<double>
-  InitialValues<dim>::value(const Point<dim> p,
+  InitialValues<dim>::value(const Point<dim>  &p,
                             const unsigned int component) const
   {
     static_assert(dim == 2, "This initial condition only works in 2d.");
@@ -163,14 +163,14 @@ namespace Step58
   {
   public:
     Potential() = default;
-    virtual double value(const Point<dim> p,
+    virtual double value(const Point<dim>  &p,
                          const unsigned int component = 0) const override;
   };
 
 
 
   template <int dim>
-  double Potential<dim>::value(const Point<dim> p,
+  double Potential<dim>::value(const Point<dim>  &p,
                                const unsigned int component) const
   {
     (void)component;
@@ -475,7 +475,7 @@ namespace Step58
     template <int dim>
     void ComplexAmplitude<dim>::evaluate_vector_field(
       const DataPostprocessorInputs::Vector<dim> &inputs,
-      std::vector<Vector<double>> &               computed_quantities) const
+      std::vector<Vector<double>>                &computed_quantities) const
     {
       AssertDimension(computed_quantities.size(),
                       inputs.solution_values.size());
@@ -531,7 +531,7 @@ namespace Step58
     template <int dim>
     void ComplexPhase<dim>::evaluate_vector_field(
       const DataPostprocessorInputs::Vector<dim> &inputs,
-      std::vector<Vector<double>> &               computed_quantities) const
+      std::vector<Vector<double>>                &computed_quantities) const
     {
       AssertDimension(computed_quantities.size(),
                       inputs.solution_values.size());
index 4f2b5269a473062c563760575449ae5bec927030..32a4d8f971e880e9abebb1923e1e8730c623d89a 100644 (file)
@@ -181,10 +181,10 @@ namespace Step59
 
     std::shared_ptr<const MatrixFree<dim, number>> get_matrix_free() const;
 
-    void vmult(LinearAlgebra::distributed::Vector<number> &      dst,
+    void vmult(LinearAlgebra::distributed::Vector<number>       &dst,
                const LinearAlgebra::distributed::Vector<number> &src) const;
 
-    void Tvmult(LinearAlgebra::distributed::Vector<number> &      dst,
+    void Tvmult(LinearAlgebra::distributed::Vector<number>       &dst,
                 const LinearAlgebra::distributed::Vector<number> &src) const;
 
     number get_penalty_factor() const
@@ -194,22 +194,22 @@ namespace Step59
 
   private:
     void
-    apply_cell(const MatrixFree<dim, number> &                   data,
-               LinearAlgebra::distributed::Vector<number> &      dst,
+    apply_cell(const MatrixFree<dim, number>                    &data,
+               LinearAlgebra::distributed::Vector<number>       &dst,
                const LinearAlgebra::distributed::Vector<number> &src,
                const std::pair<unsigned int, unsigned int> &cell_range) const;
 
     void
-    apply_face(const MatrixFree<dim, number> &                   data,
-               LinearAlgebra::distributed::Vector<number> &      dst,
+    apply_face(const MatrixFree<dim, number>                    &data,
+               LinearAlgebra::distributed::Vector<number>       &dst,
                const LinearAlgebra::distributed::Vector<number> &src,
                const std::pair<unsigned int, unsigned int> &face_range) const;
 
     void apply_boundary(
-      const MatrixFree<dim, number> &                   data,
-      LinearAlgebra::distributed::Vector<number> &      dst,
+      const MatrixFree<dim, number>                    &data,
+      LinearAlgebra::distributed::Vector<number>       &dst,
       const LinearAlgebra::distributed::Vector<number> &src,
-      const std::pair<unsigned int, unsigned int> &     face_range) const;
+      const std::pair<unsigned int, unsigned int>      &face_range) const;
 
     std::shared_ptr<const MatrixFree<dim, number>> data;
   };
@@ -235,10 +235,10 @@ namespace Step59
 
     void initialize(const LaplaceOperator<dim, fe_degree, number> &op);
 
-    void vmult(LinearAlgebra::distributed::Vector<number> &      dst,
+    void vmult(LinearAlgebra::distributed::Vector<number>       &dst,
                const LinearAlgebra::distributed::Vector<number> &src) const;
 
-    void Tvmult(LinearAlgebra::distributed::Vector<number> &      dst,
+    void Tvmult(LinearAlgebra::distributed::Vector<number>       &dst,
                 const LinearAlgebra::distributed::Vector<number> &src) const
     {
       vmult(dst, src);
@@ -275,7 +275,7 @@ namespace Step59
 
   template <int dim, typename number>
   void adjust_ghost_range_if_necessary(
-    const MatrixFree<dim, number> &                   data,
+    const MatrixFree<dim, number>                    &data,
     const LinearAlgebra::distributed::Vector<number> &vec)
   {
     if (vec.get_partitioner().get() ==
@@ -429,7 +429,7 @@ namespace Step59
 
   template <int dim, int fe_degree, typename number>
   void LaplaceOperator<dim, fe_degree, number>::vmult(
-    LinearAlgebra::distributed::Vector<number> &      dst,
+    LinearAlgebra::distributed::Vector<number>       &dst,
     const LinearAlgebra::distributed::Vector<number> &src) const
   {
     adjust_ghost_range_if_necessary(*data, dst);
@@ -452,7 +452,7 @@ namespace Step59
 
   template <int dim, int fe_degree, typename number>
   void LaplaceOperator<dim, fe_degree, number>::Tvmult(
-    LinearAlgebra::distributed::Vector<number> &      dst,
+    LinearAlgebra::distributed::Vector<number>       &dst,
     const LinearAlgebra::distributed::Vector<number> &src) const
   {
     vmult(dst, src);
@@ -474,10 +474,10 @@ namespace Step59
 
   template <int dim, int fe_degree, typename number>
   void LaplaceOperator<dim, fe_degree, number>::apply_cell(
-    const MatrixFree<dim, number> &                   data,
-    LinearAlgebra::distributed::Vector<number> &      dst,
+    const MatrixFree<dim, number>                    &data,
+    LinearAlgebra::distributed::Vector<number>       &dst,
     const LinearAlgebra::distributed::Vector<number> &src,
-    const std::pair<unsigned int, unsigned int> &     cell_range) const
+    const std::pair<unsigned int, unsigned int>      &cell_range) const
   {
     FEEvaluation<dim, fe_degree, fe_degree + 1, 1, number> phi(data);
     for (unsigned int cell = cell_range.first; cell < cell_range.second; ++cell)
@@ -526,10 +526,10 @@ namespace Step59
 
   template <int dim, int fe_degree, typename number>
   void LaplaceOperator<dim, fe_degree, number>::apply_face(
-    const MatrixFree<dim, number> &                   data,
-    LinearAlgebra::distributed::Vector<number> &      dst,
+    const MatrixFree<dim, number>                    &data,
+    LinearAlgebra::distributed::Vector<number>       &dst,
     const LinearAlgebra::distributed::Vector<number> &src,
-    const std::pair<unsigned int, unsigned int> &     face_range) const
+    const std::pair<unsigned int, unsigned int>      &face_range) const
   {
     FEFaceEvaluation<dim, fe_degree, fe_degree + 1, 1, number> phi_inner(data,
                                                                          true);
@@ -666,10 +666,10 @@ namespace Step59
 
   template <int dim, int fe_degree, typename number>
   void LaplaceOperator<dim, fe_degree, number>::apply_boundary(
-    const MatrixFree<dim, number> &                   data,
-    LinearAlgebra::distributed::Vector<number> &      dst,
+    const MatrixFree<dim, number>                    &data,
+    LinearAlgebra::distributed::Vector<number>       &dst,
     const LinearAlgebra::distributed::Vector<number> &src,
-    const std::pair<unsigned int, unsigned int> &     face_range) const
+    const std::pair<unsigned int, unsigned int>      &face_range) const
   {
     FEFaceEvaluation<dim, fe_degree, fe_degree + 1, 1, number> phi_inner(data,
                                                                          true);
@@ -877,7 +877,7 @@ namespace Step59
 
   template <int dim, int fe_degree, typename number>
   void PreconditionBlockJacobi<dim, fe_degree, number>::vmult(
-    LinearAlgebra::distributed::Vector<number> &      dst,
+    LinearAlgebra::distributed::Vector<number>       &dst,
     const LinearAlgebra::distributed::Vector<number> &src) const
   {
     adjust_ghost_range_if_necessary(*data, dst);
index e7c73a730df9698ada32522e8285cd5f2f0a509f..98c8a7d1a59e94dc9f7b7518e07addb2e47c3797 100644 (file)
@@ -139,7 +139,7 @@ namespace Step61
 
   template <int dim>
   void Coefficient<dim>::value_list(const std::vector<Point<dim>> &points,
-                                    std::vector<Tensor<2, dim>> &  values) const
+                                    std::vector<Tensor<2, dim>>   &values) const
   {
     AssertDimension(points.size(), values.size());
     for (unsigned int p = 0; p < points.size(); ++p)
@@ -156,7 +156,7 @@ namespace Step61
       : Function<dim>(2)
     {}
 
-    virtual double value(const Point<dim> p,
+    virtual double value(const Point<dim>  &p,
                          const unsigned int component = 0) const override;
   };
 
@@ -175,7 +175,7 @@ namespace Step61
   class RightHandSide : public Function<dim>
   {
   public:
-    virtual double value(const Point<dim> p,
+    virtual double value(const Point<dim>  &p,
                          const unsigned int component = 0) const override;
   };
 
@@ -210,7 +210,7 @@ namespace Step61
       : Function<dim>(2)
     {}
 
-    virtual double value(const Point<dim> p,
+    virtual double value(const Point<dim>  &p,
                          const unsigned int component) const override;
   };
 
index 1fd621113b12488ea22f14136cc03b95cc4a3831..4a685e8c5c89964143dbe05ded7732323e8ce293 100644 (file)
@@ -86,7 +86,7 @@ namespace step62
   public:
     RightHandSide(HDF5::Group &data);
 
-    virtual double value(const Point<dim> p,
+    virtual double value(const Point<dim>  &p,
                          const unsigned int component) const override;
 
   private:
@@ -154,7 +154,7 @@ namespace step62
   public:
     Rho(HDF5::Group &data);
 
-    virtual double value(const Point<dim> p,
+    virtual double value(const Point<dim>  &p,
                          const unsigned int component = 0) const override;
 
   private:
@@ -394,7 +394,7 @@ namespace step62
   // that the pulse has been cropped to $x_\textrm{min}<x<x_\textrm{max}$ and
   // $y_\textrm{min} <y<y_\textrm{max}$.
   template <int dim>
-  double RightHandSide<dim>::value(const Point<dim> p,
+  double RightHandSide<dim>::value(const Point<dim>  &p,
                                    const unsigned int component) const
   {
     if (component == force_component)
@@ -450,7 +450,7 @@ namespace step62
   // The PML coefficient for the `x` component takes the form
   // $s'_x = a_x x^{\textrm{degree}}$
   template <int dim>
-  std::complex<double> PML<dim>::value(const Point<dim> p,
+  std::complex<double> PML<dim>::value(const Point<dim>  &p,
                                        const unsigned int component) const
   {
     double calculated_pml_x_coeff = 0;
index 5d4eda65c78355c86af1745def78d6e37bbe1fc3..16bbfb689f318975ab79f71344ca89740693c108 100644 (file)
@@ -361,11 +361,11 @@ namespace Step63
   class RightHandSide : public Function<dim>
   {
   public:
-    virtual double value(const Point<dim> p,
+    virtual double value(const Point<dim>  &p,
                          const unsigned int component = 0) const override;
 
     virtual void value_list(const std::vector<Point<dim>> &points,
-                            std::vector<double> &          values,
+                            std::vector<double>           &values,
                             const unsigned int component = 0) const override;
   };
 
@@ -385,7 +385,7 @@ namespace Step63
 
   template <int dim>
   void RightHandSide<dim>::value_list(const std::vector<Point<dim>> &points,
-                                      std::vector<double> &          values,
+                                      std::vector<double>           &values,
                                       const unsigned int component) const
   {
     AssertDimension(values.size(), points.size());
@@ -402,18 +402,18 @@ namespace Step63
   class BoundaryValues : public Function<dim>
   {
   public:
-    virtual double value(const Point<dim> p,
+    virtual double value(const Point<dim>  &p,
                          const unsigned int component = 0) const override;
 
     virtual void value_list(const std::vector<Point<dim>> &points,
-                            std::vector<double> &          values,
+                            std::vector<double>           &values,
                             const unsigned int component = 0) const override;
   };
 
 
 
   template <int dim>
-  double BoundaryValues<dim>::value(const Point<dim> p,
+  double BoundaryValues<dim>::value(const Point<dim>  &p,
                                     const unsigned int component) const
   {
     Assert(component == 0, ExcIndexRange(component, 0, 1));
@@ -435,7 +435,7 @@ namespace Step63
 
   template <int dim>
   void BoundaryValues<dim>::value_list(const std::vector<Point<dim>> &points,
-                                       std::vector<double> &          values,
+                                       std::vector<double>           &values,
                                        const unsigned int component) const
   {
     AssertDimension(values.size(), points.size());
@@ -491,8 +491,8 @@ namespace Step63
 
     template <class IteratorType>
     void assemble_cell(const IteratorType &cell,
-                       ScratchData<dim> &  scratch_data,
-                       CopyData &          copy_data);
+                       ScratchData<dim>   &scratch_data,
+                       CopyData           &copy_data);
     void assemble_system_and_multigrid();
 
     void setup_smoother();
@@ -690,8 +690,8 @@ namespace Step63
   template <int dim>
   template <class IteratorType>
   void AdvectionProblem<dim>::assemble_cell(const IteratorType &cell,
-                                            ScratchData<dim> &  scratch_data,
-                                            CopyData &          copy_data)
+                                            ScratchData<dim>   &scratch_data,
+                                            CopyData           &copy_data)
   {
     copy_data.level = cell->level();
 
@@ -784,8 +784,8 @@ namespace Step63
   {
     const auto cell_worker_active =
       [&](const decltype(dof_handler.begin_active()) &cell,
-          ScratchData<dim> &                          scratch_data,
-          CopyData &                                  copy_data) {
+          ScratchData<dim>                           &scratch_data,
+          CopyData                                   &copy_data) {
         this->assemble_cell(cell, scratch_data, copy_data);
       };
 
@@ -826,8 +826,8 @@ namespace Step63
 
     const auto cell_worker_mg =
       [&](const decltype(dof_handler.begin_mg()) &cell,
-          ScratchData<dim> &                      scratch_data,
-          CopyData &                              copy_data) {
+          ScratchData<dim>                       &scratch_data,
+          CopyData                               &copy_data) {
         this->assemble_cell(cell, scratch_data, copy_data);
       };
 
index ae596a979f985f07c6e62b38aaa1007012a775ef..104f34046b5118982b0838ef2caa7c576bd23833 100644 (file)
@@ -129,7 +129,7 @@ namespace Step64
   public:
     DEAL_II_HOST_DEVICE HelmholtzOperatorQuad(
       const typename CUDAWrappers::MatrixFree<dim, double>::Data *gpu_data,
-      double *                                                    coef,
+      double                                                     *coef,
       int                                                         cell)
       : gpu_data(gpu_data)
       , coef(coef)
@@ -138,7 +138,7 @@ namespace Step64
 
     DEAL_II_HOST_DEVICE void operator()(
       CUDAWrappers::FEEvaluation<dim, fe_degree, fe_degree + 1, 1, double>
-        *       fe_eval,
+               *fe_eval,
       const int q_point) const;
 
     static const unsigned int n_q_points =
@@ -146,7 +146,7 @@ namespace Step64
 
   private:
     const typename CUDAWrappers::MatrixFree<dim, double>::Data *gpu_data;
-    double *                                                    coef;
+    double                                                     *coef;
     int                                                         cell;
   };
 
@@ -161,7 +161,7 @@ namespace Step64
   template <int dim, int fe_degree>
   DEAL_II_HOST_DEVICE void HelmholtzOperatorQuad<dim, fe_degree>::operator()(
     CUDAWrappers::FEEvaluation<dim, fe_degree, fe_degree + 1, 1, double>
-      *       fe_eval,
+             *fe_eval,
     const int q_point) const
   {
     const unsigned int pos =
@@ -197,9 +197,9 @@ namespace Step64
     DEAL_II_HOST_DEVICE void operator()(
       const unsigned int                                          cell,
       const typename CUDAWrappers::MatrixFree<dim, double>::Data *gpu_data,
-      CUDAWrappers::SharedData<dim, double> *                     shared_data,
-      const double *                                              src,
-      double *                                                    dst) const;
+      CUDAWrappers::SharedData<dim, double>                      *shared_data,
+      const double                                               *src,
+      double                                                     *dst) const;
 
   private:
     double *coef;
@@ -215,9 +215,9 @@ namespace Step64
   DEAL_II_HOST_DEVICE void LocalHelmholtzOperator<dim, fe_degree>::operator()(
     const unsigned int                                          cell,
     const typename CUDAWrappers::MatrixFree<dim, double>::Data *gpu_data,
-    CUDAWrappers::SharedData<dim, double> *                     shared_data,
-    const double *                                              src,
-    double *                                                    dst) const
+    CUDAWrappers::SharedData<dim, double>                      *shared_data,
+    const double                                               *src,
+    double                                                     *dst) const
   {
     CUDAWrappers::FEEvaluation<dim, fe_degree, fe_degree + 1, 1, double>
       fe_eval(gpu_data, shared_data);
@@ -242,7 +242,7 @@ namespace Step64
   class HelmholtzOperator
   {
   public:
-    HelmholtzOperator(const DoFHandler<dim> &          dof_handler,
+    HelmholtzOperator(const DoFHandler<dim>           &dof_handler,
                       const AffineConstraints<double> &constraints);
 
     void
@@ -276,7 +276,7 @@ namespace Step64
   // parallel:distributed::Triangulation object in fact.
   template <int dim, int fe_degree>
   HelmholtzOperator<dim, fe_degree>::HelmholtzOperator(
-    const DoFHandler<dim> &          dof_handler,
+    const DoFHandler<dim>           &dof_handler,
     const AffineConstraints<double> &constraints)
   {
     MappingQ<dim> mapping(fe_degree);
@@ -310,7 +310,7 @@ namespace Step64
   // destination vector afterwards.
   template <int dim, int fe_degree>
   void HelmholtzOperator<dim, fe_degree>::vmult(
-    LinearAlgebra::distributed::Vector<double, MemorySpace::Default> &      dst,
+    LinearAlgebra::distributed::Vector<double, MemorySpace::Default>       &dst,
     const LinearAlgebra::distributed::Vector<double, MemorySpace::Default> &src)
     const
   {
index 16e6513e4eae003ce876d6ec899f061a20115668..fca5ca204e83eb7d8b13aa7c6f9edb43325da4a1 100644 (file)
@@ -134,12 +134,12 @@ namespace Step66
 
   private:
     virtual void apply_add(
-      LinearAlgebra::distributed::Vector<number> &      dst,
+      LinearAlgebra::distributed::Vector<number>       &dst,
       const LinearAlgebra::distributed::Vector<number> &src) const override;
 
     void
-    local_apply(const MatrixFree<dim, number> &                   data,
-                LinearAlgebra::distributed::Vector<number> &      dst,
+    local_apply(const MatrixFree<dim, number>                    &data,
+                LinearAlgebra::distributed::Vector<number>       &dst,
                 const LinearAlgebra::distributed::Vector<number> &src,
                 const std::pair<unsigned int, unsigned int> &cell_range) const;
 
@@ -230,10 +230,10 @@ namespace Step66
   // the global vector <code> dst</code>.
   template <int dim, int fe_degree, typename number>
   void JacobianOperator<dim, fe_degree, number>::local_apply(
-    const MatrixFree<dim, number> &                   data,
-    LinearAlgebra::distributed::Vector<number> &      dst,
+    const MatrixFree<dim, number>                    &data,
+    LinearAlgebra::distributed::Vector<number>       &dst,
     const LinearAlgebra::distributed::Vector<number> &src,
-    const std::pair<unsigned int, unsigned int> &     cell_range) const
+    const std::pair<unsigned int, unsigned int>      &cell_range) const
   {
     FECellIntegrator phi(data);
 
@@ -268,7 +268,7 @@ namespace Step66
   // cells computing the cell contribution to the matrix-vector product.
   template <int dim, int fe_degree, typename number>
   void JacobianOperator<dim, fe_degree, number>::apply_add(
-    LinearAlgebra::distributed::Vector<number> &      dst,
+    LinearAlgebra::distributed::Vector<number>       &dst,
     const LinearAlgebra::distributed::Vector<number> &src) const
   {
     this->data->cell_loop(&JacobianOperator::local_apply, this, dst, src);
@@ -375,14 +375,14 @@ namespace Step66
     void setup_system();
 
     void evaluate_residual(
-      LinearAlgebra::distributed::Vector<double> &      dst,
+      LinearAlgebra::distributed::Vector<double>       &dst,
       const LinearAlgebra::distributed::Vector<double> &src) const;
 
     void local_evaluate_residual(
-      const MatrixFree<dim, double> &                   data,
-      LinearAlgebra::distributed::Vector<double> &      dst,
+      const MatrixFree<dim, double>                    &data,
+      LinearAlgebra::distributed::Vector<double>       &dst,
       const LinearAlgebra::distributed::Vector<double> &src,
-      const std::pair<unsigned int, unsigned int> &     cell_range) const;
+      const std::pair<unsigned int, unsigned int>      &cell_range) const;
 
     void assemble_rhs();
 
@@ -649,7 +649,7 @@ namespace Step66
   // MatrixFree::cell_loop().
   template <int dim, int fe_degree>
   void GelfandProblem<dim, fe_degree>::evaluate_residual(
-    LinearAlgebra::distributed::Vector<double> &      dst,
+    LinearAlgebra::distributed::Vector<double>       &dst,
     const LinearAlgebra::distributed::Vector<double> &src) const
   {
     auto matrix_free = system_matrix.get_matrix_free();
@@ -673,10 +673,10 @@ namespace Step66
   // the input vector might have constrained DOFs.
   template <int dim, int fe_degree>
   void GelfandProblem<dim, fe_degree>::local_evaluate_residual(
-    const MatrixFree<dim, double> &                   data,
-    LinearAlgebra::distributed::Vector<double> &      dst,
+    const MatrixFree<dim, double>                    &data,
+    LinearAlgebra::distributed::Vector<double>       &dst,
     const LinearAlgebra::distributed::Vector<double> &src,
-    const std::pair<unsigned int, unsigned int> &     cell_range) const
+    const std::pair<unsigned int, unsigned int>      &cell_range) const
   {
     FEEvaluation<dim, fe_degree, fe_degree + 1, 1, double> phi(data);
 
index f2108ae9f405d74a4d7bc4432ebb3b339bd65f8a..a85d7ddc1163059048ab5a96ba79e26f47e48beb 100644 (file)
@@ -129,7 +129,7 @@ namespace Euler_DG
       : Function<dim>(dim + 2, time)
     {}
 
-    virtual double value(const Point<dim> p,
+    virtual double value(const Point<dim>  &p,
                          const unsigned int component = 0) const override;
   };
 
@@ -155,7 +155,7 @@ namespace Euler_DG
   // velocity field, computed from the relation $E = \frac{c^2}{\gamma (\gamma
   // -1)} + \frac 12 \rho \|u\|^2$.
   template <int dim>
-  double ExactSolution<dim>::value(const Point<dim> x,
+  double ExactSolution<dim>::value(const Point<dim>  &x,
                                    const unsigned int component) const
   {
     const double t = this->get_time();
@@ -336,9 +336,9 @@ namespace Euler_DG
     void perform_time_step(const Operator &pde_operator,
                            const double    current_time,
                            const double    time_step,
-                           VectorType &    solution,
-                           VectorType &    vec_ri,
-                           VectorType &    vec_ki) const
+                           VectorType     &solution,
+                           VectorType     &vec_ri,
+                           VectorType     &vec_ki) const
     {
       AssertDimension(ai.size() + 1, bi.size());
 
@@ -489,7 +489,7 @@ namespace Euler_DG
   inline DEAL_II_ALWAYS_INLINE //
     Tensor<1, n_components, Number>
     operator*(const Tensor<1, n_components, Tensor<1, dim, Number>> &matrix,
-              const Tensor<1, dim, Number> &                         vector)
+              const Tensor<1, dim, Number>                          &vector)
   {
     Tensor<1, n_components, Number> result;
     for (unsigned int d = 0; d < n_components; ++d)
@@ -571,7 +571,7 @@ namespace Euler_DG
     Tensor<1, dim + 2, Number>
     euler_numerical_flux(const Tensor<1, dim + 2, Number> &u_m,
                          const Tensor<1, dim + 2, Number> &u_p,
-                         const Tensor<1, dim, Number> &    normal)
+                         const Tensor<1, dim, Number>     &normal)
   {
     const auto velocity_m = euler_velocity<dim>(u_m);
     const auto velocity_p = euler_velocity<dim>(u_p);
@@ -633,7 +633,7 @@ namespace Euler_DG
   // where all components of the solution are set.
   template <int dim, typename Number>
   VectorizedArray<Number>
-  evaluate_function(const Function<dim> &                      function,
+  evaluate_function(const Function<dim>                       &function,
                     const Point<dim, VectorizedArray<Number>> &p_vectorized,
                     const unsigned int                         component)
   {
@@ -651,7 +651,7 @@ namespace Euler_DG
 
   template <int dim, typename Number, int n_components = dim + 2>
   Tensor<1, n_components, VectorizedArray<Number>>
-  evaluate_function(const Function<dim> &                      function,
+  evaluate_function(const Function<dim>                       &function,
                     const Point<dim, VectorizedArray<Number>> &p_vectorized)
   {
     AssertDimension(function.n_components, n_components);
@@ -700,7 +700,7 @@ namespace Euler_DG
 
     EulerOperator(TimerOutput &timer_output);
 
-    void reinit(const Mapping<dim> &   mapping,
+    void reinit(const Mapping<dim>    &mapping,
                 const DoFHandler<dim> &dof_handler);
 
     void set_inflow_boundary(const types::boundary_id       boundary_id,
@@ -716,22 +716,22 @@ namespace Euler_DG
 
     void apply(const double                                      current_time,
                const LinearAlgebra::distributed::Vector<Number> &src,
-               LinearAlgebra::distributed::Vector<Number> &      dst) const;
+               LinearAlgebra::distributed::Vector<Number>       &dst) const;
 
     void
     perform_stage(const Number cur_time,
                   const Number factor_solution,
                   const Number factor_ai,
                   const LinearAlgebra::distributed::Vector<Number> &current_ri,
-                  LinearAlgebra::distributed::Vector<Number> &      vec_ki,
-                  LinearAlgebra::distributed::Vector<Number> &      solution,
+                  LinearAlgebra::distributed::Vector<Number>       &vec_ki,
+                  LinearAlgebra::distributed::Vector<Number>       &solution,
                   LinearAlgebra::distributed::Vector<Number> &next_ri) const;
 
-    void project(const Function<dim> &                       function,
+    void project(const Function<dim>                        &function,
                  LinearAlgebra::distributed::Vector<Number> &solution) const;
 
     std::array<double, 3> compute_errors(
-      const Function<dim> &                             function,
+      const Function<dim>                              &function,
       const LinearAlgebra::distributed::Vector<Number> &solution) const;
 
     double compute_cell_transport_speed(
@@ -753,28 +753,28 @@ namespace Euler_DG
     std::unique_ptr<Function<dim>> body_force;
 
     void local_apply_inverse_mass_matrix(
-      const MatrixFree<dim, Number> &                   data,
-      LinearAlgebra::distributed::Vector<Number> &      dst,
+      const MatrixFree<dim, Number>                    &data,
+      LinearAlgebra::distributed::Vector<Number>       &dst,
       const LinearAlgebra::distributed::Vector<Number> &src,
-      const std::pair<unsigned int, unsigned int> &     cell_range) const;
+      const std::pair<unsigned int, unsigned int>      &cell_range) const;
 
     void local_apply_cell(
-      const MatrixFree<dim, Number> &                   data,
-      LinearAlgebra::distributed::Vector<Number> &      dst,
+      const MatrixFree<dim, Number>                    &data,
+      LinearAlgebra::distributed::Vector<Number>       &dst,
       const LinearAlgebra::distributed::Vector<Number> &src,
-      const std::pair<unsigned int, unsigned int> &     cell_range) const;
+      const std::pair<unsigned int, unsigned int>      &cell_range) const;
 
     void local_apply_face(
-      const MatrixFree<dim, Number> &                   data,
-      LinearAlgebra::distributed::Vector<Number> &      dst,
+      const MatrixFree<dim, Number>                    &data,
+      LinearAlgebra::distributed::Vector<Number>       &dst,
       const LinearAlgebra::distributed::Vector<Number> &src,
-      const std::pair<unsigned int, unsigned int> &     face_range) const;
+      const std::pair<unsigned int, unsigned int>      &face_range) const;
 
     void local_apply_boundary_face(
-      const MatrixFree<dim, Number> &                   data,
-      LinearAlgebra::distributed::Vector<Number> &      dst,
+      const MatrixFree<dim, Number>                    &data,
+      LinearAlgebra::distributed::Vector<Number>       &dst,
       const LinearAlgebra::distributed::Vector<Number> &src,
-      const std::pair<unsigned int, unsigned int> &     face_range) const;
+      const std::pair<unsigned int, unsigned int>      &face_range) const;
   };
 
 
@@ -806,7 +806,7 @@ namespace Euler_DG
   // necessary to ensure optimal computational efficiency overall.
   template <int dim, int degree, int n_points_1d>
   void EulerOperator<dim, degree, n_points_1d>::reinit(
-    const Mapping<dim> &   mapping,
+    const Mapping<dim>    &mapping,
     const DoFHandler<dim> &dof_handler)
   {
     const std::vector<const DoFHandler<dim> *> dof_handlers = {&dof_handler};
@@ -1012,9 +1012,9 @@ namespace Euler_DG
   template <int dim, int degree, int n_points_1d>
   void EulerOperator<dim, degree, n_points_1d>::local_apply_cell(
     const MatrixFree<dim, Number> &,
-    LinearAlgebra::distributed::Vector<Number> &      dst,
+    LinearAlgebra::distributed::Vector<Number>       &dst,
     const LinearAlgebra::distributed::Vector<Number> &src,
-    const std::pair<unsigned int, unsigned int> &     cell_range) const
+    const std::pair<unsigned int, unsigned int>      &cell_range) const
   {
     FEEvaluation<dim, degree, n_points_1d, dim + 2, Number> phi(data);
 
@@ -1103,9 +1103,9 @@ namespace Euler_DG
   template <int dim, int degree, int n_points_1d>
   void EulerOperator<dim, degree, n_points_1d>::local_apply_face(
     const MatrixFree<dim, Number> &,
-    LinearAlgebra::distributed::Vector<Number> &      dst,
+    LinearAlgebra::distributed::Vector<Number>       &dst,
     const LinearAlgebra::distributed::Vector<Number> &src,
-    const std::pair<unsigned int, unsigned int> &     face_range) const
+    const std::pair<unsigned int, unsigned int>      &face_range) const
   {
     FEFaceEvaluation<dim, degree, n_points_1d, dim + 2, Number> phi_m(data,
                                                                       true);
@@ -1191,9 +1191,9 @@ namespace Euler_DG
   template <int dim, int degree, int n_points_1d>
   void EulerOperator<dim, degree, n_points_1d>::local_apply_boundary_face(
     const MatrixFree<dim, Number> &,
-    LinearAlgebra::distributed::Vector<Number> &      dst,
+    LinearAlgebra::distributed::Vector<Number>       &dst,
     const LinearAlgebra::distributed::Vector<Number> &src,
-    const std::pair<unsigned int, unsigned int> &     face_range) const
+    const std::pair<unsigned int, unsigned int>      &face_range) const
   {
     FEFaceEvaluation<dim, degree, n_points_1d, dim + 2, Number> phi(data, true);
 
@@ -1293,9 +1293,9 @@ namespace Euler_DG
   template <int dim, int degree, int n_points_1d>
   void EulerOperator<dim, degree, n_points_1d>::local_apply_inverse_mass_matrix(
     const MatrixFree<dim, Number> &,
-    LinearAlgebra::distributed::Vector<Number> &      dst,
+    LinearAlgebra::distributed::Vector<Number>       &dst,
     const LinearAlgebra::distributed::Vector<Number> &src,
-    const std::pair<unsigned int, unsigned int> &     cell_range) const
+    const std::pair<unsigned int, unsigned int>      &cell_range) const
   {
     FEEvaluation<dim, degree, degree + 1, dim + 2, Number> phi(data, 0, 1);
     MatrixFreeOperators::CellwiseInverseMassMatrix<dim, degree, dim + 2, Number>
@@ -1352,7 +1352,7 @@ namespace Euler_DG
   void EulerOperator<dim, degree, n_points_1d>::apply(
     const double                                      current_time,
     const LinearAlgebra::distributed::Vector<Number> &src,
-    LinearAlgebra::distributed::Vector<Number> &      dst) const
+    LinearAlgebra::distributed::Vector<Number>       &dst) const
   {
     {
       TimerOutput::Scope t(timer, "apply - integrals");
@@ -1430,9 +1430,9 @@ namespace Euler_DG
     const Number                                      factor_solution,
     const Number                                      factor_ai,
     const LinearAlgebra::distributed::Vector<Number> &current_ri,
-    LinearAlgebra::distributed::Vector<Number> &      vec_ki,
-    LinearAlgebra::distributed::Vector<Number> &      solution,
-    LinearAlgebra::distributed::Vector<Number> &      next_ri) const
+    LinearAlgebra::distributed::Vector<Number>       &vec_ki,
+    LinearAlgebra::distributed::Vector<Number>       &solution,
+    LinearAlgebra::distributed::Vector<Number>       &next_ri) const
   {
     {
       TimerOutput::Scope t(timer, "rk_stage - integrals L_h");
@@ -1536,7 +1536,7 @@ namespace Euler_DG
   // cell for discontinuous Galerkin discretizations.
   template <int dim, int degree, int n_points_1d>
   void EulerOperator<dim, degree, n_points_1d>::project(
-    const Function<dim> &                       function,
+    const Function<dim>                        &function,
     LinearAlgebra::distributed::Vector<Number> &solution) const
   {
     FEEvaluation<dim, degree, degree + 1, dim + 2, Number> phi(data, 0, 1);
@@ -1584,7 +1584,7 @@ namespace Euler_DG
   // has a remainder compared to the SIMD width.
   template <int dim, int degree, int n_points_1d>
   std::array<double, 3> EulerOperator<dim, degree, n_points_1d>::compute_errors(
-    const Function<dim> &                             function,
+    const Function<dim>                              &function,
     const LinearAlgebra::distributed::Vector<Number> &solution) const
   {
     TimerOutput::Scope t(timer, "compute errors");
@@ -1830,7 +1830,7 @@ namespace Euler_DG
   template <int dim>
   void EulerProblem<dim>::Postprocessor::evaluate_vector_field(
     const DataPostprocessorInputs::Vector<dim> &inputs,
-    std::vector<Vector<double>> &               computed_quantities) const
+    std::vector<Vector<double>>                &computed_quantities) const
   {
     const unsigned int n_evaluation_points = inputs.solution_values.size();
 
index 58d49c5bd7f0f24045be37035d1f72bbca24ecc0..a91c59e19774dc862108daee746f477bee06e882 100644 (file)
@@ -181,7 +181,7 @@ namespace Step68
 
 
     virtual void vector_value(const Point<dim> &point,
-                              Vector<double> &  values) const override;
+                              Vector<double>   &values) const override;
   };
 
 
@@ -190,7 +190,7 @@ namespace Step68
   // simulation (t) must be gathered from the Function object.
   template <int dim>
   void Vortex<dim>::vector_value(const Point<dim> &point,
-                                 Vector<double> &  values) const
+                                 Vector<double>   &values) const
   {
     const double T = 4;
     const double t = this->get_time();
@@ -253,7 +253,7 @@ namespace Step68
     // `private`.
     unsigned int cell_weight(
       const typename parallel::distributed::Triangulation<dim>::cell_iterator
-        &              cell,
+                      &cell,
       const CellStatus status) const;
 
     // The following two functions are responsible for outputting the simulation
@@ -328,7 +328,7 @@ namespace Step68
   template <int dim>
   unsigned int ParticleTracking<dim>::cell_weight(
     const typename parallel::distributed::Triangulation<dim>::cell_iterator
-      &              cell,
+                    &cell,
     const CellStatus status) const
   {
     // First, we introduce a base weight that will be assigned to every cell.
index 8d282059a51646a540e356d6525b2984894b8f85..a9a927b5eb9a3c1812c3f9e4b96d2f2f89121b76 100644 (file)
@@ -149,7 +149,7 @@ namespace Step69
   {
   public:
     Discretization(const MPI_Comm     mpi_communicator,
-                   TimerOutput &      computing_timer,
+                   TimerOutput       &computing_timer,
                    const std::string &subsection = "Discretization");
 
     void setup();
@@ -214,9 +214,9 @@ namespace Step69
                std::tuple<Tensor<1, dim>, types::boundary_id, Point<dim>>>;
 
     OfflineData(const MPI_Comm             mpi_communicator,
-                TimerOutput &              computing_timer,
+                TimerOutput               &computing_timer,
                 const Discretization<dim> &discretization,
-                const std::string &        subsection = "OfflineData");
+                const std::string         &subsection = "OfflineData");
 
     void setup();
     void assemble();
@@ -239,7 +239,7 @@ namespace Step69
 
   private:
     const MPI_Comm mpi_communicator;
-    TimerOutput &  computing_timer;
+    TimerOutput   &computing_timer;
 
     SmartPointer<const Discretization<dim>> discretization;
   };
@@ -311,8 +311,8 @@ namespace Step69
     static DEAL_II_ALWAYS_INLINE inline flux_type flux(const state_type &U);
 
     static DEAL_II_ALWAYS_INLINE inline double
-    compute_lambda_max(const state_type &    U_i,
-                       const state_type &    U_j,
+    compute_lambda_max(const state_type     &U_i,
+                       const state_type     &U_j,
                        const Tensor<1, dim> &n_ij);
   };
 
@@ -390,10 +390,10 @@ namespace Step69
                                    n_solution_variables>;
 
     TimeStepping(const MPI_Comm            mpi_communicator,
-                 TimerOutput &             computing_timer,
-                 const OfflineData<dim> &  offline_data,
+                 TimerOutput              &computing_timer,
+                 const OfflineData<dim>   &offline_data,
                  const InitialValues<dim> &initial_values,
-                 const std::string &       subsection = "TimeStepping");
+                 const std::string        &subsection = "TimeStepping");
 
     void prepare();
 
@@ -401,7 +401,7 @@ namespace Step69
 
   private:
     const MPI_Comm mpi_communicator;
-    TimerOutput &  computing_timer;
+    TimerOutput   &computing_timer;
 
     SmartPointer<const OfflineData<dim>>   offline_data;
     SmartPointer<const InitialValues<dim>> initial_values;
@@ -442,9 +442,9 @@ namespace Step69
 
     SchlierenPostprocessor(
       const MPI_Comm          mpi_communicator,
-      TimerOutput &           computing_timer,
+      TimerOutput            &computing_timer,
       const OfflineData<dim> &offline_data,
-      const std::string &     subsection = "SchlierenPostprocessor");
+      const std::string      &subsection = "SchlierenPostprocessor");
 
     void prepare();
 
@@ -454,7 +454,7 @@ namespace Step69
 
   private:
     const MPI_Comm mpi_communicator;
-    TimerOutput &  computing_timer;
+    TimerOutput   &computing_timer;
 
     SmartPointer<const OfflineData<dim>> offline_data;
 
@@ -536,7 +536,7 @@ namespace Step69
   // ParameterAcceptor::add_parameter().
   template <int dim>
   Discretization<dim>::Discretization(const MPI_Comm     mpi_communicator,
-                                      TimerOutput &      computing_timer,
+                                      TimerOutput       &computing_timer,
                                       const std::string &subsection)
     : ParameterAcceptor(subsection)
     , mpi_communicator(mpi_communicator)
@@ -685,9 +685,9 @@ namespace Step69
   // initialization list.
   template <int dim>
   OfflineData<dim>::OfflineData(const MPI_Comm             mpi_communicator,
-                                TimerOutput &              computing_timer,
+                                TimerOutput               &computing_timer,
                                 const Discretization<dim> &discretization,
-                                const std::string &        subsection)
+                                const std::string         &subsection)
     : ParameterAcceptor(subsection)
     , dof_handler(discretization.triangulation)
     , mpi_communicator(mpi_communicator)
@@ -878,8 +878,8 @@ namespace Step69
 
     template <typename IteratorType>
     DEAL_II_ALWAYS_INLINE inline void
-    set_entry(SparseMatrix<double> &           matrix,
-              const IteratorType &             it,
+    set_entry(SparseMatrix<double>            &matrix,
+              const IteratorType              &it,
               SparseMatrix<double>::value_type value)
     {
       SparseMatrix<double>::iterator matrix_iterator(&matrix,
@@ -967,7 +967,7 @@ namespace Step69
     template <std::size_t k, int k2>
     DEAL_II_ALWAYS_INLINE inline void
     scatter(std::array<LinearAlgebra::distributed::Vector<double>, k> &U,
-            const Tensor<1, k2> &                                      tensor,
+            const Tensor<1, k2>                                       &tensor,
             const unsigned int                                         i)
     {
       static_assert(k == k2,
@@ -1052,8 +1052,8 @@ namespace Step69
 
       const auto local_assemble_system = //
         [&](const typename DoFHandler<dim>::cell_iterator &cell,
-            MeshWorker::ScratchData<dim> &                 scratch,
-            CopyData<dim> &                                copy) {
+            MeshWorker::ScratchData<dim>                  &scratch,
+            CopyData<dim>                                 &copy) {
           copy.is_artificial = cell->is_artificial();
           if (copy.is_artificial)
             return;
@@ -1433,7 +1433,7 @@ namespace Step69
     template <int dim>
     DEAL_II_ALWAYS_INLINE inline std::array<double, 4> riemann_data_from_state(
       const typename ProblemDescription<dim>::state_type U,
-      const Tensor<1, dim> &                             n_ij)
+      const Tensor<1, dim>                              &n_ij)
     {
       Tensor<1, 3> projected_U;
       projected_U[0] = U[0];
@@ -1585,8 +1585,8 @@ namespace Step69
 
   template <int dim>
   DEAL_II_ALWAYS_INLINE inline double
-  ProblemDescription<dim>::compute_lambda_max(const state_type &    U_i,
-                                              const state_type &    U_j,
+  ProblemDescription<dim>::compute_lambda_max(const state_type     &U_i,
+                                              const state_type     &U_j,
                                               const Tensor<1, dim> &n_ij)
   {
     const auto riemann_data_i = riemann_data_from_state(U_i, n_ij);
@@ -1713,10 +1713,10 @@ namespace Step69
   template <int dim>
   TimeStepping<dim>::TimeStepping(
     const MPI_Comm            mpi_communicator,
-    TimerOutput &             computing_timer,
-    const OfflineData<dim> &  offline_data,
+    TimerOutput              &computing_timer,
+    const OfflineData<dim>   &offline_data,
     const InitialValues<dim> &initial_values,
-    const std::string &       subsection /*= "TimeStepping"*/)
+    const std::string        &subsection /*= "TimeStepping"*/)
     : ParameterAcceptor(subsection)
     , mpi_communicator(mpi_communicator)
     , computing_timer(computing_timer)
@@ -2125,9 +2125,9 @@ namespace Step69
   template <int dim>
   SchlierenPostprocessor<dim>::SchlierenPostprocessor(
     const MPI_Comm          mpi_communicator,
-    TimerOutput &           computing_timer,
+    TimerOutput            &computing_timer,
     const OfflineData<dim> &offline_data,
-    const std::string &     subsection /*= "SchlierenPostprocessor"*/)
+    const std::string      &subsection /*= "SchlierenPostprocessor"*/)
     : ParameterAcceptor(subsection)
     , mpi_communicator(mpi_communicator)
     , computing_timer(computing_timer)
@@ -2423,8 +2423,8 @@ namespace Step69
   namespace
   {
     void print_head(ConditionalOStream &pcout,
-                    const std::string header,
-                    const std::string secondary = "")
+                    const std::string  &header,
+                    const std::string  &secondary = "")
     {
       const auto header_size   = header.size();
       const auto padded_header = std::string((34 - header_size) / 2, ' ') +
@@ -2712,7 +2712,7 @@ namespace Step69
 
   template <int dim>
   void MainLoop<dim>::output(const typename MainLoop<dim>::vector_type &U,
-                             const std::string &                        name,
+                             const std::string                         &name,
                              const double                               t,
                              const unsigned int                         cycle)
   {
index 23b65abb23f56ed54fe398abb2019b6b55a39fb0..3eb86bdda09458febc42481b7ddaf7040c75d851 100644 (file)
@@ -172,11 +172,11 @@ namespace Step7
   class Solution : public Function<dim>, protected SolutionBase<dim>
   {
   public:
-    virtual double value(const Point<dim> p,
+    virtual double value(const Point<dim>  &p,
                          const unsigned int component = 0) const override;
 
     virtual Tensor<1, dim>
-    gradient(const Point<dim> p,
+    gradient(const Point<dim>  &p,
              const unsigned int component = 0) const override;
   };
 
@@ -268,7 +268,7 @@ namespace Step7
   class RightHandSide : public Function<dim>, protected SolutionBase<dim>
   {
   public:
-    virtual double value(const Point<dim> p,
+    virtual double value(const Point<dim>  &p,
                          const unsigned int component = 0) const override;
   };
 
index 1b3f7bb36dd54e9a8f472f9e1d31539dcc9201e8..43fa265cca6e2d216894dd81abe9e381da0db828 100644 (file)
@@ -875,7 +875,7 @@ namespace Step71
       // the @p constitutive_parameters, are all the fundamental quantities that
       // are required to compute the material response.
       virtual void update_internal_data(const SymmetricTensor<2, dim> &C,
-                                        const Tensor<1, dim> &         H,
+                                        const Tensor<1, dim>          &H,
                                         const DiscreteTime &time) = 0;
 
       // The next few functions provide the interface to probe the material
@@ -1145,7 +1145,7 @@ namespace Step71
       // we'll declare that this class will override all of these base class
       // methods.
       virtual void update_internal_data(const SymmetricTensor<2, dim> &C,
-                                        const Tensor<1, dim> &         H,
+                                        const Tensor<1, dim>          &H,
                                         const DiscreteTime &) override;
 
       virtual double get_psi() const override;
@@ -1231,7 +1231,7 @@ namespace Step71
     void
     Magnetoelastic_Constitutive_Law_AD<dim, ADTypeCode>::update_internal_data(
       const SymmetricTensor<2, dim> &C,
-      const Tensor<1, dim> &         H,
+      const Tensor<1, dim>          &H,
       const DiscreteTime &)
     {
       Assert(determinant(C) > 0, ExcInternalError());
@@ -1442,7 +1442,7 @@ namespace Step71
     {
     public:
       Magnetoviscoelastic_Constitutive_Law_SD(
-        const ConstitutiveParameters &               constitutive_parameters,
+        const ConstitutiveParameters                &constitutive_parameters,
         const Differentiation::SD::OptimizerType     optimizer_type,
         const Differentiation::SD::OptimizationFlags optimization_flags);
 
@@ -1453,7 +1453,7 @@ namespace Step71
       // within the `update_internal_data()` function, and cache the results
       // for layer extraction.
       virtual void update_internal_data(const SymmetricTensor<2, dim> &C,
-                                        const Tensor<1, dim> &         H,
+                                        const Tensor<1, dim>          &H,
                                         const DiscreteTime &time) override;
 
       virtual double get_psi() const override;
@@ -1572,7 +1572,7 @@ namespace Step71
       // The final method of this class will configure the @p optimizer.
       Differentiation::SD::types::substitution_map
       make_substitution_map(const SymmetricTensor<2, dim> &C,
-                            const Tensor<1, dim> &         H,
+                            const Tensor<1, dim>          &H,
                             const double                   delta_t) const;
 
       void initialize_optimizer();
@@ -1590,7 +1590,7 @@ namespace Step71
     template <int dim>
     Magnetoviscoelastic_Constitutive_Law_SD<dim>::
       Magnetoviscoelastic_Constitutive_Law_SD(
-        const ConstitutiveParameters &               constitutive_parameters,
+        const ConstitutiveParameters                &constitutive_parameters,
         const Differentiation::SD::OptimizerType     optimizer_type,
         const Differentiation::SD::OptimizationFlags optimization_flags)
       : Coupled_Magnetomechanical_Constitutive_Law_Base<dim>(
@@ -1632,7 +1632,7 @@ namespace Step71
     Differentiation::SD::types::substitution_map
     Magnetoviscoelastic_Constitutive_Law_SD<dim>::make_substitution_map(
       const SymmetricTensor<2, dim> &C,
-      const Tensor<1, dim> &         H,
+      const Tensor<1, dim>          &H,
       const double                   delta_t) const
     {
       return Differentiation::SD::make_substitution_map(
@@ -1848,8 +1848,8 @@ namespace Step71
     template <int dim>
     void Magnetoviscoelastic_Constitutive_Law_SD<dim>::update_internal_data(
       const SymmetricTensor<2, dim> &C,
-      const Tensor<1, dim> &         H,
-      const DiscreteTime &           time)
+      const Tensor<1, dim>          &H,
+      const DiscreteTime            &time)
     {
       // To update the internal history variable, we first need to compute
       // a few fundamental quantities, which we've seen before.
@@ -2245,7 +2245,7 @@ namespace Step71
         const ConstitutiveParameters &constitutive_parameters);
 
       virtual void update_internal_data(const SymmetricTensor<2, dim> &C,
-                                        const Tensor<1, dim> &         H,
+                                        const Tensor<1, dim>          &H,
                                         const DiscreteTime &) override;
 
       virtual double get_psi() const override;
@@ -2298,7 +2298,7 @@ namespace Step71
     template <int dim>
     void Magnetoelastic_Constitutive_Law<dim>::update_internal_data(
       const SymmetricTensor<2, dim> &C,
-      const Tensor<1, dim> &         H,
+      const Tensor<1, dim>          &H,
       const DiscreteTime &)
     {
       const double                  det_F = std::sqrt(determinant(C));
@@ -2775,7 +2775,7 @@ namespace Step71
         const ConstitutiveParameters &constitutive_parameters);
 
       virtual void update_internal_data(const SymmetricTensor<2, dim> &C,
-                                        const Tensor<1, dim> &         H,
+                                        const Tensor<1, dim>          &H,
                                         const DiscreteTime &time) override;
 
       virtual double get_psi() const override;
@@ -2816,7 +2816,7 @@ namespace Step71
       // internal variables, and will be called before we perform any
       // detailed calculations.
       void set_primary_variables(const SymmetricTensor<2, dim> &C,
-                                 const Tensor<1, dim> &         H) const;
+                                 const Tensor<1, dim>          &H) const;
 
       void update_internal_variable(const DiscreteTime &time);
 
@@ -2925,8 +2925,8 @@ namespace Step71
     template <int dim>
     void Magnetoviscoelastic_Constitutive_Law<dim>::update_internal_data(
       const SymmetricTensor<2, dim> &C,
-      const Tensor<1, dim> &         H,
-      const DiscreteTime &           time)
+      const Tensor<1, dim>          &H,
+      const DiscreteTime            &time)
     {
       // Record the applied deformation state as well as the magnetic load.
       // Thereafter, update internal (viscous) variable based on new deformation
@@ -2968,7 +2968,7 @@ namespace Step71
       // Intermediate quantities. Note that, since we're fetching these values
       // from a cache that has a lifetime that outlasts this function call, we
       // can alias the result rather than copying the value from the cache.
-      const double &                 det_F = get_det_F();
+      const double                  &det_F = get_det_F();
       const SymmetricTensor<2, dim> &C_inv = get_C_inv();
 
       const double &log_det_F         = get_log_det_F();
@@ -3275,7 +3275,7 @@ namespace Step71
     template <int dim>
     void Magnetoviscoelastic_Constitutive_Law<dim>::set_primary_variables(
       const SymmetricTensor<2, dim> &C,
-      const Tensor<1, dim> &         H) const
+      const Tensor<1, dim>          &H) const
     {
       // Set value for $\boldsymbol{\mathbb{H}}$.
       const std::string name_H("H");
@@ -3569,7 +3569,7 @@ namespace Step71
       const std::string name("d2H_dot_C_inv_dot_H_dC_dH");
       if (cache.stores_object_with_name(name) == false)
         {
-          const Tensor<1, dim> &         C_inv_dot_H = get_C_inv_dot_H();
+          const Tensor<1, dim>          &C_inv_dot_H = get_C_inv_dot_H();
           const SymmetricTensor<2, dim> &C_inv       = get_C_inv();
 
           Tensor<3, dim> d2H_dot_C_inv_dot_H_dC_dH;
@@ -3595,7 +3595,7 @@ namespace Step71
       const std::string name("d2H_dot_C_inv_dot_H_dC_dC");
       if (cache.stores_object_with_name(name) == false)
         {
-          const Tensor<1, dim> &         C_inv_dot_H = get_C_inv_dot_H();
+          const Tensor<1, dim>          &C_inv_dot_H = get_C_inv_dot_H();
           const SymmetricTensor<2, dim> &C_inv       = get_C_inv();
 
           SymmetricTensor<4, dim> d2H_dot_C_inv_dot_H_dC_dC;
@@ -3799,8 +3799,8 @@ namespace Step71
       Coupled_Magnetomechanical_Constitutive_Law_Base<dim>
         &material_hand_calculated,
       Coupled_Magnetomechanical_Constitutive_Law_Base<dim>
-        &                material_assisted_computation,
-      TimerOutput &      timer,
+                        &material_assisted_computation,
+      TimerOutput       &timer,
       const std::string &filename)
     {
       // We can take the hand-implemented constitutive law and compare the
index c68e27e0e4370bbeae40cab49b9077616749148c..9b353d4c0b645f24eefdc0e6c3a5b225669b827f 100644 (file)
@@ -182,7 +182,7 @@ namespace Step72
   class BoundaryValues : public Function<dim>
   {
   public:
-    virtual double value(const Point<dim> p,
+    virtual double value(const Point<dim>  &p,
                          const unsigned int component = 0) const override;
   };
 
@@ -322,12 +322,12 @@ namespace Step72
     // initialize the cell DoF indices, knowing that the local matrix
     // and vector are already correctly sized.
     const auto cell_worker = [this](const CellIteratorType &cell,
-                                    ScratchData &           scratch_data,
-                                    CopyData &              copy_data) {
+                                    ScratchData            &scratch_data,
+                                    CopyData               &copy_data) {
       const auto &fe_values = scratch_data.reinit(cell);
 
-      FullMatrix<double> &                  cell_matrix = copy_data.matrices[0];
-      Vector<double> &                      cell_rhs    = copy_data.vectors[0];
+      FullMatrix<double>                   &cell_matrix = copy_data.matrices[0];
+      Vector<double>                       &cell_rhs    = copy_data.vectors[0];
       std::vector<types::global_dof_index> &local_dof_indices =
         copy_data.local_dof_indices[0];
       cell->get_dof_indices(local_dof_indices);
@@ -383,7 +383,7 @@ namespace Step72
     // `cell_worker`.
     const auto copier = [dofs_per_cell, this](const CopyData &copy_data) {
       const FullMatrix<double> &cell_matrix = copy_data.matrices[0];
-      const Vector<double> &    cell_rhs    = copy_data.vectors[0];
+      const Vector<double>     &cell_rhs    = copy_data.vectors[0];
       const std::vector<types::global_dof_index> &local_dof_indices =
         copy_data.local_dof_indices[0];
 
@@ -490,13 +490,13 @@ namespace Step72
     // to compute the cell contributions to the Jacobian matrix and
     // the right hand side:
     const auto cell_worker = [&u_fe, this](const CellIteratorType &cell,
-                                           ScratchData &           scratch_data,
-                                           CopyData &              copy_data) {
-      const auto &       fe_values     = scratch_data.reinit(cell);
+                                           ScratchData            &scratch_data,
+                                           CopyData               &copy_data) {
+      const auto        &fe_values     = scratch_data.reinit(cell);
       const unsigned int dofs_per_cell = fe_values.get_fe().n_dofs_per_cell();
 
-      FullMatrix<double> &                  cell_matrix = copy_data.matrices[0];
-      Vector<double> &                      cell_rhs    = copy_data.vectors[0];
+      FullMatrix<double>                   &cell_matrix = copy_data.matrices[0];
+      Vector<double>                       &cell_rhs    = copy_data.vectors[0];
       std::vector<types::global_dof_index> &local_dof_indices =
         copy_data.local_dof_indices[0];
       cell->get_dof_indices(local_dof_indices);
@@ -615,7 +615,7 @@ namespace Step72
     // The remainder of the function equals what we had previously:
     const auto copier = [dofs_per_cell, this](const CopyData &copy_data) {
       const FullMatrix<double> &cell_matrix = copy_data.matrices[0];
-      const Vector<double> &    cell_rhs    = copy_data.vectors[0];
+      const Vector<double>     &cell_rhs    = copy_data.vectors[0];
       const std::vector<types::global_dof_index> &local_dof_indices =
         copy_data.local_dof_indices[0];
 
@@ -716,12 +716,12 @@ namespace Step72
     // results from an energy functional is necessarily square (and also,
     // incidentally, symmetric).
     const auto cell_worker = [&u_fe, this](const CellIteratorType &cell,
-                                           ScratchData &           scratch_data,
-                                           CopyData &              copy_data) {
+                                           ScratchData            &scratch_data,
+                                           CopyData               &copy_data) {
       const auto &fe_values = scratch_data.reinit(cell);
 
-      FullMatrix<double> &                  cell_matrix = copy_data.matrices[0];
-      Vector<double> &                      cell_rhs    = copy_data.vectors[0];
+      FullMatrix<double>                   &cell_matrix = copy_data.matrices[0];
+      Vector<double>                       &cell_rhs    = copy_data.vectors[0];
       std::vector<types::global_dof_index> &local_dof_indices =
         copy_data.local_dof_indices[0];
       cell->get_dof_indices(local_dof_indices);
@@ -783,7 +783,7 @@ namespace Step72
     // before:
     const auto copier = [dofs_per_cell, this](const CopyData &copy_data) {
       const FullMatrix<double> &cell_matrix = copy_data.matrices[0];
-      const Vector<double> &    cell_rhs    = copy_data.vectors[0];
+      const Vector<double>     &cell_rhs    = copy_data.vectors[0];
       const std::vector<types::global_dof_index> &local_dof_indices =
         copy_data.local_dof_indices[0];
 
index 81bddd9d1cabd9401b9af9ea9d5a8d042d4047b9..15f12c16af5cc98aacfbae9c535b59d359ddb28d 100644 (file)
@@ -72,11 +72,11 @@ namespace Step74
     {}
 
     virtual void value_list(const std::vector<Point<dim>> &points,
-                            std::vector<double> &          values,
+                            std::vector<double>           &values,
                             const unsigned int component = 0) const override;
 
     virtual Tensor<1, dim>
-    gradient(const Point<dim> point,
+    gradient(const Point<dim>  &point,
              const unsigned int component = 0) const override;
   };
 
@@ -84,7 +84,7 @@ namespace Step74
 
   template <int dim>
   void SmoothSolution<dim>::value_list(const std::vector<Point<dim>> &points,
-                                       std::vector<double> &          values,
+                                       std::vector<double>           &values,
                                        const unsigned int /*component*/) const
   {
     using numbers::PI;
@@ -121,7 +121,7 @@ namespace Step74
     {}
 
     virtual void value_list(const std::vector<Point<dim>> &points,
-                            std::vector<double> &          values,
+                            std::vector<double>           &values,
                             const unsigned int /*component*/) const override;
   };
 
@@ -130,7 +130,7 @@ namespace Step74
   template <int dim>
   void
   SmoothRightHandSide<dim>::value_list(const std::vector<Point<dim>> &points,
-                                       std::vector<double> &          values,
+                                       std::vector<double>           &values,
                                        const unsigned int /*component*/) const
   {
     using numbers::PI;
@@ -153,7 +153,7 @@ namespace Step74
     {}
 
     virtual void value_list(const std::vector<Point<dim>> &points,
-                            std::vector<double> &          values,
+                            std::vector<double>           &values,
                             const unsigned int /*component*/) const override;
 
   private:
@@ -165,7 +165,7 @@ namespace Step74
   template <int dim>
   void
   SingularRightHandSide<dim>::value_list(const std::vector<Point<dim>> &points,
-                                         std::vector<double> &          values,
+                                         std::vector<double>           &values,
                                          const unsigned int /*component*/) const
   {
     for (unsigned int i = 0; i < values.size(); ++i)
@@ -350,7 +350,7 @@ namespace Step74
         const unsigned int   dofs_per_cell = fe_v.dofs_per_cell;
         copy_data.reinit(cell, dofs_per_cell);
 
-        const auto &       q_points    = scratch_data.get_quadrature_points();
+        const auto        &q_points    = scratch_data.get_quadrature_points();
         const unsigned int n_q_points  = q_points.size();
         const std::vector<double> &JxW = scratch_data.get_JxW_values();
 
@@ -374,17 +374,17 @@ namespace Step74
       };
 
     // Next, we need a function that assembles face integrals on the boundary:
-    const auto boundary_worker = [&](const auto &        cell,
+    const auto boundary_worker = [&](const auto         &cell,
                                      const unsigned int &face_no,
-                                     auto &              scratch_data,
-                                     auto &              copy_data) {
+                                     auto               &scratch_data,
+                                     auto               &copy_data) {
       const FEFaceValuesBase<dim> &fe_fv = scratch_data.reinit(cell, face_no);
 
-      const auto &       q_points      = scratch_data.get_quadrature_points();
+      const auto        &q_points      = scratch_data.get_quadrature_points();
       const unsigned int n_q_points    = q_points.size();
       const unsigned int dofs_per_cell = fe_fv.dofs_per_cell;
 
-      const std::vector<double> &        JxW = scratch_data.get_JxW_values();
+      const std::vector<double>         &JxW = scratch_data.get_JxW_values();
       const std::vector<Tensor<1, dim>> &normals =
         scratch_data.get_normal_vectors();
 
@@ -436,24 +436,24 @@ namespace Step74
     // faces. To reinitialize FEInterfaceValues, we need to pass
     // cells, face and subface indices (for adaptive refinement) to
     // the reinit() function of FEInterfaceValues:
-    const auto face_worker = [&](const auto &        cell,
+    const auto face_worker = [&](const auto         &cell,
                                  const unsigned int &f,
                                  const unsigned int &sf,
-                                 const auto &        ncell,
+                                 const auto         &ncell,
                                  const unsigned int &nf,
                                  const unsigned int &nsf,
-                                 auto &              scratch_data,
-                                 auto &              copy_data) {
+                                 auto               &scratch_data,
+                                 auto               &copy_data) {
       const FEInterfaceValues<dim> &fe_iv =
         scratch_data.reinit(cell, f, sf, ncell, nf, nsf);
 
       copy_data.face_data.emplace_back();
-      CopyDataFace &     copy_data_face = copy_data.face_data.back();
+      CopyDataFace      &copy_data_face = copy_data.face_data.back();
       const unsigned int n_dofs_face    = fe_iv.n_current_interface_dofs();
       copy_data_face.joint_dof_indices  = fe_iv.get_interface_dof_indices();
       copy_data_face.cell_matrix.reinit(n_dofs_face, n_dofs_face);
 
-      const std::vector<double> &        JxW     = fe_iv.get_JxW_values();
+      const std::vector<double>         &JxW     = fe_iv.get_JxW_values();
       const std::vector<Tensor<1, dim>> &normals = fe_iv.get_normal_vectors();
 
       const double extent1 = cell->measure() / cell->face(f)->measure();
@@ -584,7 +584,7 @@ namespace Step74
 
         copy_data.cell_index = cell->active_cell_index();
 
-        const auto &               q_points   = fe_v.get_quadrature_points();
+        const auto                &q_points   = fe_v.get_quadrature_points();
         const unsigned int         n_q_points = q_points.size();
         const std::vector<double> &JxW        = fe_v.get_JxW_values();
 
@@ -608,13 +608,13 @@ namespace Step74
 
     // Next compute boundary terms $\sum_{f\in \partial K \cap \partial \Omega}
     // \sigma \left\| [  u_h-g_D ]  \right\|_f^2  $:
-    const auto boundary_worker = [&](const auto &        cell,
+    const auto boundary_worker = [&](const auto         &cell,
                                      const unsigned int &face_no,
-                                     auto &              scratch_data,
-                                     auto &              copy_data) {
+                                     auto               &scratch_data,
+                                     auto               &copy_data) {
       const FEFaceValuesBase<dim> &fe_fv = scratch_data.reinit(cell, face_no);
 
-      const auto &   q_points   = fe_fv.get_quadrature_points();
+      const auto    &q_points   = fe_fv.get_quadrature_points();
       const unsigned n_q_points = q_points.size();
 
       const std::vector<double> &JxW = fe_fv.get_JxW_values();
@@ -640,14 +640,14 @@ namespace Step74
     // And finally interior face terms $\sum_{f\in \partial K}\lbrace \sigma
     // \left\| [u_h]  \right\|_f^2   +  h_f \left\|  [\nu \nabla u_h \cdot
     // \mathbf n ] \right\|_f^2 \rbrace$:
-    const auto face_worker = [&](const auto &        cell,
+    const auto face_worker = [&](const auto         &cell,
                                  const unsigned int &f,
                                  const unsigned int &sf,
-                                 const auto &        ncell,
+                                 const auto         &ncell,
                                  const unsigned int &nf,
                                  const unsigned int &nsf,
-                                 auto &              scratch_data,
-                                 auto &              copy_data) {
+                                 auto               &scratch_data,
+                                 auto               &copy_data) {
       const FEInterfaceValues<dim> &fe_iv =
         scratch_data.reinit(cell, f, sf, ncell, nf, nsf);
 
@@ -657,10 +657,10 @@ namespace Step74
       copy_data_face.cell_indices[0] = cell->active_cell_index();
       copy_data_face.cell_indices[1] = ncell->active_cell_index();
 
-      const std::vector<double> &        JxW     = fe_iv.get_JxW_values();
+      const std::vector<double>         &JxW     = fe_iv.get_JxW_values();
       const std::vector<Tensor<1, dim>> &normals = fe_iv.get_normal_vectors();
 
-      const auto &       q_points   = fe_iv.get_quadrature_points();
+      const auto        &q_points   = fe_iv.get_quadrature_points();
       const unsigned int n_q_points = q_points.size();
 
       std::vector<double> jump(n_q_points);
@@ -757,7 +757,7 @@ namespace Step74
 
         copy_data.cell_index = cell->active_cell_index();
 
-        const auto &               q_points   = fe_v.get_quadrature_points();
+        const auto                &q_points   = fe_v.get_quadrature_points();
         const unsigned int         n_q_points = q_points.size();
         const std::vector<double> &JxW        = fe_v.get_JxW_values();
 
@@ -777,13 +777,13 @@ namespace Step74
       };
 
     // Assemble $\sum_{f \in F_b}\sigma  \|u_h-g_D\|_f^2$.
-    const auto boundary_worker = [&](const auto &        cell,
+    const auto boundary_worker = [&](const auto         &cell,
                                      const unsigned int &face_no,
-                                     auto &              scratch_data,
-                                     auto &              copy_data) {
+                                     auto               &scratch_data,
+                                     auto               &copy_data) {
       const FEFaceValuesBase<dim> &fe_fv = scratch_data.reinit(cell, face_no);
 
-      const auto &   q_points   = fe_fv.get_quadrature_points();
+      const auto    &q_points   = fe_fv.get_quadrature_points();
       const unsigned n_q_points = q_points.size();
 
       const std::vector<double> &JxW = fe_fv.get_JxW_values();
@@ -807,14 +807,14 @@ namespace Step74
     };
 
     // Assemble $\sum_{f \in F_i} \sigma  \| [ u_h ] \|_f^2$.
-    const auto face_worker = [&](const auto &        cell,
+    const auto face_worker = [&](const auto         &cell,
                                  const unsigned int &f,
                                  const unsigned int &sf,
-                                 const auto &        ncell,
+                                 const auto         &ncell,
                                  const unsigned int &nf,
                                  const unsigned int &nsf,
-                                 auto &              scratch_data,
-                                 auto &              copy_data) {
+                                 auto               &scratch_data,
+                                 auto               &copy_data) {
       const FEInterfaceValues<dim> &fe_iv =
         scratch_data.reinit(cell, f, sf, ncell, nf, nsf);
 
@@ -826,7 +826,7 @@ namespace Step74
 
       const std::vector<double> &JxW = fe_iv.get_JxW_values();
 
-      const auto &       q_points   = fe_iv.get_quadrature_points();
+      const auto        &q_points   = fe_iv.get_quadrature_points();
       const unsigned int n_q_points = q_points.size();
 
       std::vector<double> jump(n_q_points);
index 0d781469ddc1f57c5da50eae8839f75cbb69f206..f4e3fc794b8beafa2ab29cb6e98184cceb55f4dc 100644 (file)
@@ -225,16 +225,16 @@ namespace Step75
     LaplaceOperator() = default;
 
     LaplaceOperator(const hp::MappingCollection<dim> &mapping,
-                    const DoFHandler<dim> &           dof_handler,
-                    const hp::QCollection<dim> &      quad,
-                    const AffineConstraints<number> constraints,
-                    VectorType &                      system_rhs);
+                    const DoFHandler<dim>            &dof_handler,
+                    const hp::QCollection<dim>       &quad,
+                    const AffineConstraints<number>  &constraints,
+                    VectorType                       &system_rhs);
 
     void reinit(const hp::MappingCollection<dim> &mapping,
-                const DoFHandler<dim> &           dof_handler,
-                const hp::QCollection<dim> &      quad,
-                const AffineConstraints<number> constraints,
-                VectorType &                      system_rhs);
+                const DoFHandler<dim>            &dof_handler,
+                const hp::QCollection<dim>       &quad,
+                const AffineConstraints<number>  &constraints,
+                VectorType                       &system_rhs);
 
     types::global_dof_index m() const;
 
@@ -254,14 +254,14 @@ namespace Step75
     void do_cell_integral_local(FECellIntegrator &integrator) const;
 
     void do_cell_integral_global(FECellIntegrator &integrator,
-                                 VectorType &      dst,
+                                 VectorType       &dst,
                                  const VectorType &src) const;
 
 
     void do_cell_integral_range(
-      const MatrixFree<dim, number> &              matrix_free,
-      VectorType &                                 dst,
-      const VectorType &                           src,
+      const MatrixFree<dim, number>               &matrix_free,
+      VectorType                                  &dst,
+      const VectorType                            &src,
       const std::pair<unsigned int, unsigned int> &range) const;
 
     MatrixFree<dim, number> matrix_free;
@@ -287,10 +287,10 @@ namespace Step75
   template <int dim, typename number>
   LaplaceOperator<dim, number>::LaplaceOperator(
     const hp::MappingCollection<dim> &mapping,
-    const DoFHandler<dim> &           dof_handler,
-    const hp::QCollection<dim> &      quad,
-    const AffineConstraints<number> constraints,
-    VectorType &                      system_rhs)
+    const DoFHandler<dim>            &dof_handler,
+    const hp::QCollection<dim>       &quad,
+    const AffineConstraints<number>  &constraints,
+    VectorType                       &system_rhs)
   {
     this->reinit(mapping, dof_handler, quad, constraints, system_rhs);
   }
@@ -300,10 +300,10 @@ namespace Step75
   template <int dim, typename number>
   void LaplaceOperator<dim, number>::reinit(
     const hp::MappingCollection<dim> &mapping,
-    const DoFHandler<dim> &           dof_handler,
-    const hp::QCollection<dim> &      quad,
-    const AffineConstraints<number> constraints,
-    VectorType &                      system_rhs)
+    const DoFHandler<dim>            &dof_handler,
+    const hp::QCollection<dim>       &quad,
+    const AffineConstraints<number>  &constraints,
+    VectorType                       &system_rhs)
   {
     // Clear internal data structures (in the case that the operator is reused).
     this->system_matrix.clear();
@@ -401,7 +401,7 @@ namespace Step75
   // over all cells and evaluating the effect of the cell integrals (see also:
   // `do_cell_integral_local()` and `do_cell_integral_global()`).
   template <int dim, typename number>
-  void LaplaceOperator<dim, number>::vmult(VectorType &      dst,
+  void LaplaceOperator<dim, number>::vmult(VectorType       &dst,
                                            const VectorType &src) const
   {
     this->matrix_free.cell_loop(
@@ -413,7 +413,7 @@ namespace Step75
   // Perform the transposed operator evaluation. Since we are considering
   // symmetric "matrices", this function can simply delegate it task to vmult().
   template <int dim, typename number>
-  void LaplaceOperator<dim, number>::Tvmult(VectorType &      dst,
+  void LaplaceOperator<dim, number>::Tvmult(VectorType       &dst,
                                             const VectorType &src) const
   {
     this->vmult(dst, src);
@@ -502,7 +502,7 @@ namespace Step75
   template <int dim, typename number>
   void LaplaceOperator<dim, number>::do_cell_integral_global(
     FECellIntegrator &integrator,
-    VectorType &      dst,
+    VectorType       &dst,
     const VectorType &src) const
   {
     integrator.gather_evaluate(src, EvaluationFlags::gradients);
@@ -519,9 +519,9 @@ namespace Step75
   // calls the above function.
   template <int dim, typename number>
   void LaplaceOperator<dim, number>::do_cell_integral_range(
-    const MatrixFree<dim, number> &              matrix_free,
-    VectorType &                                 dst,
-    const VectorType &                           src,
+    const MatrixFree<dim, number>               &matrix_free,
+    VectorType                                  &dst,
+    const VectorType                            &src,
     const std::pair<unsigned int, unsigned int> &range) const
   {
     FECellIntegrator integrator(matrix_free, range);
@@ -549,14 +549,14 @@ namespace Step75
             typename LevelMatrixType,
             typename MGTransferType>
   static void
-  mg_solve(SolverControl &            solver_control,
-           VectorType &               dst,
-           const VectorType &         src,
+  mg_solve(SolverControl             &solver_control,
+           VectorType                &dst,
+           const VectorType          &src,
            const MultigridParameters &mg_data,
-           const DoFHandler<dim> &    dof,
-           const SystemMatrixType &   fine_matrix,
+           const DoFHandler<dim>     &dof,
+           const SystemMatrixType    &fine_matrix,
            const MGLevelObject<std::unique_ptr<LevelMatrixType>> &mg_matrices,
-           const MGTransferType &                                 mg_transfer)
+           const MGTransferType                                  &mg_transfer)
   {
     AssertThrow(mg_data.coarse_solver.type == "cg_with_amg",
                 ExcNotImplemented());
@@ -641,14 +641,14 @@ namespace Step75
   // particular the operators, and the transfer operator as a
   // MGTransferGlobalCoarsening object.
   template <typename VectorType, typename OperatorType, int dim>
-  void solve_with_gmg(SolverControl &                  solver_control,
-                      const OperatorType &             system_matrix,
-                      VectorType &                     dst,
-                      const VectorType &               src,
-                      const MultigridParameters &      mg_data,
+  void solve_with_gmg(SolverControl                   &solver_control,
+                      const OperatorType              &system_matrix,
+                      VectorType                      &dst,
+                      const VectorType                &src,
+                      const MultigridParameters       &mg_data,
                       const hp::MappingCollection<dim> mapping_collection,
-                      const DoFHandler<dim> &          dof_handler,
-                      const hp::QCollection<dim> &     quadrature_collection)
+                      const DoFHandler<dim>           &dof_handler,
+                      const hp::QCollection<dim>      &quadrature_collection)
   {
     // Create a DoFHandler and operator for each multigrid level,
     // as well as, create transfer operators. To be able to
@@ -778,7 +778,7 @@ namespace Step75
     for (unsigned int level = minlevel; level <= maxlevel; ++level)
       {
         const auto &dof_handler = dof_handlers[level];
-        auto &      constraint  = constraints[level];
+        auto       &constraint  = constraints[level];
 
         const IndexSet locally_relevant_dofs =
           DoFTools::extract_locally_relevant_dofs(dof_handler);
index 2eb53674f7cdfd2b8b08c704d31640710e4911fb..333c8c245ed3884c1ceefddedb735d2c1463d8ff 100644 (file)
@@ -149,9 +149,9 @@ namespace Euler_DG
     void perform_time_step(const Operator &pde_operator,
                            const double    current_time,
                            const double    time_step,
-                           VectorType &    solution,
-                           VectorType &    vec_ri,
-                           VectorType &    vec_ki) const
+                           VectorType     &solution,
+                           VectorType     &vec_ri,
+                           VectorType     &vec_ki) const
     {
       AssertDimension(ai.size() + 1, bi.size());
 
@@ -201,14 +201,14 @@ namespace Euler_DG
       : Function<dim>(dim + 2, time)
     {}
 
-    virtual double value(const Point<dim> p,
+    virtual double value(const Point<dim>  &p,
                          const unsigned int component = 0) const override;
   };
 
 
 
   template <int dim>
-  double ExactSolution<dim>::value(const Point<dim> x,
+  double ExactSolution<dim>::value(const Point<dim>  &x,
                                    const unsigned int component) const
   {
     const double t = this->get_time();
@@ -323,7 +323,7 @@ namespace Euler_DG
   inline DEAL_II_ALWAYS_INLINE //
     Tensor<1, n_components, Number>
     operator*(const Tensor<1, n_components, Tensor<1, dim, Number>> &matrix,
-              const Tensor<1, dim, Number> &                         vector)
+              const Tensor<1, dim, Number>                          &vector)
   {
     Tensor<1, n_components, Number> result;
     for (unsigned int d = 0; d < n_components; ++d)
@@ -336,7 +336,7 @@ namespace Euler_DG
     Tensor<1, dim + 2, Number>
     euler_numerical_flux(const Tensor<1, dim + 2, Number> &u_m,
                          const Tensor<1, dim + 2, Number> &u_p,
-                         const Tensor<1, dim, Number> &    normal)
+                         const Tensor<1, dim, Number>     &normal)
   {
     const auto velocity_m = euler_velocity<dim>(u_m);
     const auto velocity_p = euler_velocity<dim>(u_p);
@@ -392,7 +392,7 @@ namespace Euler_DG
   // General-purpose utility functions from step-67:
   template <int dim, typename VectorizedArrayType>
   VectorizedArrayType
-  evaluate_function(const Function<dim> &                  function,
+  evaluate_function(const Function<dim>                   &function,
                     const Point<dim, VectorizedArrayType> &p_vectorized,
                     const unsigned int                     component)
   {
@@ -410,7 +410,7 @@ namespace Euler_DG
 
   template <int dim, typename VectorizedArrayType, int n_components = dim + 2>
   Tensor<1, n_components, VectorizedArrayType>
-  evaluate_function(const Function<dim> &                  function,
+  evaluate_function(const Function<dim>                   &function,
                     const Point<dim, VectorizedArrayType> &p_vectorized)
   {
     AssertDimension(function.n_components, n_components);
@@ -440,7 +440,7 @@ namespace Euler_DG
 
     ~EulerOperator();
 
-    void reinit(const Mapping<dim> &   mapping,
+    void reinit(const Mapping<dim>    &mapping,
                 const DoFHandler<dim> &dof_handler);
 
     void set_inflow_boundary(const types::boundary_id       boundary_id,
@@ -460,14 +460,14 @@ namespace Euler_DG
                   const Number                                      bi,
                   const Number                                      ai,
                   const LinearAlgebra::distributed::Vector<Number> &current_ri,
-                  LinearAlgebra::distributed::Vector<Number> &      vec_ki,
+                  LinearAlgebra::distributed::Vector<Number>       &vec_ki,
                   LinearAlgebra::distributed::Vector<Number> &solution) const;
 
-    void project(const Function<dim> &                       function,
+    void project(const Function<dim>                        &function,
                  LinearAlgebra::distributed::Vector<Number> &solution) const;
 
     std::array<double, 3> compute_errors(
-      const Function<dim> &                             function,
+      const Function<dim>                              &function,
       const LinearAlgebra::distributed::Vector<Number> &solution) const;
 
     double compute_cell_transport_speed(
@@ -553,7 +553,7 @@ namespace Euler_DG
   // the MPI-3.0 shared-memory capabilities are used:
   template <int dim, int degree, int n_points_1d>
   void EulerOperator<dim, degree, n_points_1d>::reinit(
-    const Mapping<dim> &   mapping,
+    const Mapping<dim>    &mapping,
     const DoFHandler<dim> &dof_handler)
   {
     const std::vector<const DoFHandler<dim> *> dof_handlers = {&dof_handler};
@@ -619,8 +619,8 @@ namespace Euler_DG
     const Number                                      bi,
     const Number                                      ai,
     const LinearAlgebra::distributed::Vector<Number> &current_ri,
-    LinearAlgebra::distributed::Vector<Number> &      vec_ki,
-    LinearAlgebra::distributed::Vector<Number> &      solution) const
+    LinearAlgebra::distributed::Vector<Number>       &vec_ki,
+    LinearAlgebra::distributed::Vector<Number>       &solution) const
   {
     for (auto &i : inflow_boundaries)
       i.second->set_time(current_time);
@@ -1042,7 +1042,7 @@ namespace Euler_DG
 
   template <int dim, int degree, int n_points_1d>
   void EulerOperator<dim, degree, n_points_1d>::project(
-    const Function<dim> &                       function,
+    const Function<dim>                        &function,
     LinearAlgebra::distributed::Vector<Number> &solution) const
   {
     FEEvaluation<dim, degree, degree + 1, dim + 2, Number, VectorizedArrayType>
@@ -1072,7 +1072,7 @@ namespace Euler_DG
 
   template <int dim, int degree, int n_points_1d>
   std::array<double, 3> EulerOperator<dim, degree, n_points_1d>::compute_errors(
-    const Function<dim> &                             function,
+    const Function<dim>                              &function,
     const LinearAlgebra::distributed::Vector<Number> &solution) const
   {
     TimerOutput::Scope t(timer, "compute errors");
@@ -1245,7 +1245,7 @@ namespace Euler_DG
   template <int dim>
   void EulerProblem<dim>::Postprocessor::evaluate_vector_field(
     const DataPostprocessorInputs::Vector<dim> &inputs,
-    std::vector<Vector<double>> &               computed_quantities) const
+    std::vector<Vector<double>>                &computed_quantities) const
   {
     const unsigned int n_evaluation_points = inputs.solution_values.size();
 
index 76366673ccd4b8a82c0aac8e9a508d2ac5ecfb8d..61a42281b106f547d3e175a40ef0e21ee750b322 100644 (file)
@@ -99,14 +99,14 @@ namespace Step77
   private:
     void setup_system(const bool initial_step);
     void solve(const Vector<double> &rhs,
-               Vector<double> &      solution,
+               Vector<double>       &solution,
                const double          tolerance);
     void refine_mesh();
     void output_results(const unsigned int refinement_cycle);
     void set_boundary_values();
     void compute_and_factorize_jacobian(const Vector<double> &evaluation_point);
     void compute_residual(const Vector<double> &evaluation_point,
-                          Vector<double> &      residual);
+                          Vector<double>       &residual);
 
     Triangulation<dim> triangulation;
 
@@ -133,7 +133,7 @@ namespace Step77
   class BoundaryValues : public Function<dim>
   {
   public:
-    virtual double value(const Point<dim> p,
+    virtual double value(const Point<dim>  &p,
                          const unsigned int component = 0) const override;
   };
 
@@ -328,7 +328,7 @@ namespace Step77
   template <int dim>
   void MinimalSurfaceProblem<dim>::compute_residual(
     const Vector<double> &evaluation_point,
-    Vector<double> &      residual)
+    Vector<double>       &residual)
   {
     TimerOutput::Scope t(computing_timer, "assembling the residual");
 
@@ -412,7 +412,7 @@ namespace Step77
   // only inexactly.
   template <int dim>
   void MinimalSurfaceProblem<dim>::solve(const Vector<double> &rhs,
-                                         Vector<double> &      solution,
+                                         Vector<double>       &solution,
                                          const double /*tolerance*/)
   {
     TimerOutput::Scope t(computing_timer, "linear system solve");
@@ -601,7 +601,7 @@ namespace Step77
 
           nonlinear_solver.residual =
             [&](const Vector<double> &evaluation_point,
-                Vector<double> &      residual) {
+                Vector<double>       &residual) {
               compute_residual(evaluation_point, residual);
             };
 
@@ -612,7 +612,7 @@ namespace Step77
             };
 
           nonlinear_solver.solve_with_jacobian = [&](const Vector<double> &rhs,
-                                                     Vector<double> &      dst,
+                                                     Vector<double>       &dst,
                                                      const double tolerance) {
             solve(rhs, dst, tolerance);
           };
index 2d434b74e8379228c72faac88f7896ef38647ed5..638d7a069e919da16cd184458ea291d463d5f313 100644 (file)
@@ -78,11 +78,11 @@ namespace BlackScholesSolver
   public:
     Solution(const double maturity_time);
 
-    virtual double value(const Point<dim> p,
+    virtual double value(const Point<dim>  &p,
                          const unsigned int component = 0) const override;
 
     virtual Tensor<1, dim>
-    gradient(const Point<dim> p,
+    gradient(const Point<dim>  &p,
              const unsigned int component = 0) const override;
 
   private:
@@ -99,7 +99,7 @@ namespace BlackScholesSolver
 
 
   template <int dim>
-  double Solution<dim>::value(const Point<dim> p,
+  double Solution<dim>::value(const Point<dim>  &p,
                               const unsigned int component) const
   {
     return -Utilities::fixed_power<2, double>(p(component)) -
@@ -108,7 +108,7 @@ namespace BlackScholesSolver
 
 
   template <int dim>
-  Tensor<1, dim> Solution<dim>::gradient(const Point<dim> p,
+  Tensor<1, dim> Solution<dim>::gradient(const Point<dim>  &p,
                                          const unsigned int component) const
   {
     return Point<dim>(-2 * p(component));
@@ -130,7 +130,7 @@ namespace BlackScholesSolver
   public:
     InitialConditions(const double strike_price);
 
-    virtual double value(const Point<dim> p,
+    virtual double value(const Point<dim>  &p,
                          const unsigned int component = 0) const override;
 
   private:
@@ -145,7 +145,7 @@ namespace BlackScholesSolver
 
 
   template <int dim>
-  double InitialConditions<dim>::value(const Point<dim> p,
+  double InitialConditions<dim>::value(const Point<dim>  &p,
                                        const unsigned int component) const
   {
 #ifdef MMS
@@ -162,7 +162,7 @@ namespace BlackScholesSolver
   class LeftBoundaryValues : public Function<dim>
   {
   public:
-    virtual double value(const Point<dim> p,
+    virtual double value(const Point<dim>  &p,
                          const unsigned int component = 0) const override;
   };
 
@@ -187,7 +187,7 @@ namespace BlackScholesSolver
   public:
     RightBoundaryValues(const double strike_price, const double interest_rate);
 
-    virtual double value(const Point<dim> p,
+    virtual double value(const Point<dim>  &p,
                          const unsigned int component = 0) const override;
 
   private:
@@ -205,7 +205,7 @@ namespace BlackScholesSolver
 
 
   template <int dim>
-  double RightBoundaryValues<dim>::value(const Point<dim> p,
+  double RightBoundaryValues<dim>::value(const Point<dim>  &p,
                                          const unsigned int component) const
   {
 #ifdef MMS
@@ -226,7 +226,7 @@ namespace BlackScholesSolver
   public:
     RightHandSide(const double asset_volatility, const double interest_rate);
 
-    virtual double value(const Point<dim> p,
+    virtual double value(const Point<dim>  &p,
                          const unsigned int component = 0) const override;
 
   private:
@@ -244,7 +244,7 @@ namespace BlackScholesSolver
 
 
   template <int dim>
-  double RightHandSide<dim>::value(const Point<dim> p,
+  double RightHandSide<dim>::value(const Point<dim>  &p,
                                    const unsigned int component) const
   {
 #ifdef MMS
index e272103257e13bf6187373d84783b6ced18653f0..bf8a73c02515743e2db236a5202b56e7c06c84c7 100644 (file)
@@ -711,7 +711,7 @@ namespace SAND
               {
                 if (!(check_cell->face(n)->at_boundary()))
                   {
-                    const auto neighbor = check_cell->neighbor(n);
+                    const auto  &neighbor = check_cell->neighbor(n);
                     const double distance =
                       cell->center().distance(neighbor->center());
                     if ((distance < filter_r) &&
index 4063c92e5b9cd0a6c54fbf0c465311b26a1adcfb..2163dffe3c88bf4c179e95a615f0f6601f35608c 100644 (file)
@@ -136,7 +136,7 @@ namespace Step8
   // just fine in 3d, however.
   template <int dim>
   void right_hand_side(const std::vector<Point<dim>> &points,
-                       std::vector<Tensor<1, dim>> &  values)
+                       std::vector<Tensor<1, dim>>   &values)
   {
     AssertDimension(values.size(), points.size());
     Assert(dim >= 2, ExcNotImplemented());
index 8666a82b3cbf0fffa9dff15d61ad94165346b9f2..169e0ef6947ee720d03655b6fe99a8a55aaf7371 100644 (file)
@@ -125,10 +125,10 @@ namespace Step81
   public:
     rank2_type epsilon(const Point<dim> &x, types::material_id material);
 
-    std::complex<double> mu_inv(const Point<dim> x,
+    std::complex<double> mu_inv(const Point<dim>  &x,
                                 types::material_id material);
 
-    rank2_type sigma(const Point<dim> x,
+    rank2_type sigma(const Point<dim>  &x,
                      types::material_id left,
                      types::material_id right);
 
@@ -572,7 +572,7 @@ namespace Step81
   template <int dim>
   DEAL_II_ALWAYS_INLINE inline Tensor<1, dim, std::complex<double>>
   tangential_part(const Tensor<1, dim, std::complex<double>> &tensor,
-                  const Tensor<1, dim> &                      normal)
+                  const Tensor<1, dim>                       &normal)
   {
     auto result = tensor;
     result[0]   = normal[1] * (tensor[0] * normal[1] - tensor[1] * normal[0]);
index 7e40cb38cf7800628da8cfa7096ef1451ae22aef..58e173c32d6832698258c2f3d40de99edc235f99 100644 (file)
@@ -108,11 +108,11 @@ namespace Step82
     // <code>face=cell->face(face_no)</code>.
     void assemble_local_matrix(const FEValues<dim> &fe_values_lift,
                                const unsigned int   n_q_points,
-                               FullMatrix<double> local_matrix);
+                               FullMatrix<double>  &local_matrix);
 
     void compute_discrete_hessians(
       const typename DoFHandler<dim>::active_cell_iterator &cell,
-      std::vector<std::vector<Tensor<2, dim>>> &            discrete_hessians,
+      std::vector<std::vector<Tensor<2, dim>>>             &discrete_hessians,
       std::vector<std::vector<std::vector<Tensor<2, dim>>>>
         &discrete_hessians_neigh);
 
@@ -155,7 +155,7 @@ namespace Step82
       : Function<dim>()
     {}
 
-    virtual double value(const Point<dim> p,
+    virtual double value(const Point<dim>  &p,
                          const unsigned int component = 0) const override;
   };
 
@@ -208,15 +208,15 @@ namespace Step82
       : Function<dim>()
     {}
 
-    virtual double value(const Point<dim> p,
+    virtual double value(const Point<dim>  &p,
                          const unsigned int component = 0) const override;
 
     virtual Tensor<1, dim>
-    gradient(const Point<dim> p,
+    gradient(const Point<dim>  &p,
              const unsigned int component = 0) const override;
 
     virtual SymmetricTensor<2, dim>
-    hessian(const Point<dim> p,
+    hessian(const Point<dim>  &p,
             const unsigned int component = 0) const override;
   };
 
@@ -1110,7 +1110,7 @@ namespace Step82
   void BiLaplacianLDGLift<dim>::assemble_local_matrix(
     const FEValues<dim> &fe_values_lift,
     const unsigned int   n_q_points,
-    FullMatrix<double> local_matrix)
+    FullMatrix<double>  &local_matrix)
   {
     const FEValuesExtractors::Tensor<2> tau_ext(0);
 
@@ -1168,7 +1168,7 @@ namespace Step82
   template <int dim>
   void BiLaplacianLDGLift<dim>::compute_discrete_hessians(
     const typename DoFHandler<dim>::active_cell_iterator &cell,
-    std::vector<std::vector<Tensor<2, dim>>> &            discrete_hessians,
+    std::vector<std::vector<Tensor<2, dim>>>             &discrete_hessians,
     std::vector<std::vector<std::vector<Tensor<2, dim>>>>
       &discrete_hessians_neigh)
   {
index 82188c139bd9771b5229352b489c48d85bb392aa..7c14b24b92f44fe19684e638d694794497ef2b46 100644 (file)
@@ -232,7 +232,7 @@ namespace Step85
   {
     std::cout << "Initializing matrices" << std::endl;
 
-    const auto face_has_flux_coupling = [&](const auto &       cell,
+    const auto face_has_flux_coupling = [&](const auto        &cell,
                                             const unsigned int face_index) {
       return this->face_has_ghost_penalty(cell, face_index);
     };
@@ -582,14 +582,14 @@ namespace Step85
   class AnalyticalSolution : public Function<dim>
   {
   public:
-    double value(const Point<dim> point,
+    double value(const Point<dim>  &point,
                  const unsigned int component = 0) const override;
   };
 
 
 
   template <int dim>
-  double AnalyticalSolution<dim>::value(const Point<dim> point,
+  double AnalyticalSolution<dim>::value(const Point<dim>  &point,
                                         const unsigned int component) const
   {
     AssertIndexRange(component, this->n_components);
index f67ba6eec19f04018d1c6aa2b37704877374021e..dbddc14c62d69397e1e48c79b3f50f121873e8f1 100644 (file)
@@ -154,7 +154,7 @@ namespace Step9
   class RightHandSide : public Function<dim>
   {
   public:
-    virtual double value(const Point<dim> p,
+    virtual double value(const Point<dim>  &p,
                          const unsigned int component = 0) const override;
 
   private:
@@ -184,7 +184,7 @@ namespace Step9
   // one past the last (i.e. again the half-open interval so often used in the
   // C++ standard library):
   template <int dim>
-  double RightHandSide<dim>::value(const Point<dim> p,
+  double RightHandSide<dim>::value(const Point<dim>  &p,
                                    const unsigned int component) const
   {
     (void)component;
@@ -203,14 +203,14 @@ namespace Step9
   class BoundaryValues : public Function<dim>
   {
   public:
-    virtual double value(const Point<dim> p,
+    virtual double value(const Point<dim>  &p,
                          const unsigned int component = 0) const override;
   };
 
 
 
   template <int dim>
-  double BoundaryValues<dim>::value(const Point<dim> p,
+  double BoundaryValues<dim>::value(const Point<dim>  &p,
                                     const unsigned int component) const
   {
     (void)component;
@@ -309,8 +309,8 @@ namespace Step9
     void assemble_system();
     void local_assemble_system(
       const typename DoFHandler<dim>::active_cell_iterator &cell,
-      AssemblyScratchData &                                 scratch,
-      AssemblyCopyData &                                    copy_data);
+      AssemblyScratchData                                  &scratch,
+      AssemblyCopyData                                     &copy_data);
     void copy_local_to_global(const AssemblyCopyData &copy_data);
 
 
@@ -412,8 +412,8 @@ namespace Step9
   public:
     template <int dim>
     static void estimate(const DoFHandler<dim> &dof,
-                         const Vector<double> solution,
-                         Vector<float> &        error_per_cell);
+                         const Vector<double>  &solution,
+                         Vector<float>         &error_per_cell);
 
     DeclException2(ExcInvalidVectorLength,
                    int,
@@ -427,8 +427,8 @@ namespace Step9
     struct EstimateScratchData
     {
       EstimateScratchData(const FiniteElement<dim> &fe,
-                          const Vector<double> &    solution,
-                          Vector<float> &           error_per_cell);
+                          const Vector<double>     &solution,
+                          Vector<float>            &error_per_cell);
       EstimateScratchData(const EstimateScratchData &data);
 
       FEValues<dim> fe_midpoint_value;
@@ -436,7 +436,7 @@ namespace Step9
         active_neighbors;
 
       const Vector<double> &solution;
-      Vector<float> &       error_per_cell;
+      Vector<float>        &error_per_cell;
 
       std::vector<double> cell_midpoint_value;
       std::vector<double> neighbor_midpoint_value;
@@ -449,7 +449,7 @@ namespace Step9
     static void
     estimate_cell(const typename DoFHandler<dim>::active_cell_iterator &cell,
                   EstimateScratchData<dim> &scratch_data,
-                  const EstimateCopyData &  copy_data);
+                  const EstimateCopyData   &copy_data);
   };
 
 
@@ -606,8 +606,8 @@ namespace Step9
   template <int dim>
   void AdvectionProblem<dim>::local_assemble_system(
     const typename DoFHandler<dim>::active_cell_iterator &cell,
-    AssemblyScratchData &                                 scratch_data,
-    AssemblyCopyData &                                    copy_data)
+    AssemblyScratchData                                  &scratch_data,
+    AssemblyCopyData                                     &copy_data)
   {
     // We define some abbreviations to avoid unnecessarily long lines:
     const unsigned int dofs_per_cell = fe.n_dofs_per_cell();
@@ -898,8 +898,8 @@ namespace Step9
   template <int dim>
   GradientEstimation::EstimateScratchData<dim>::EstimateScratchData(
     const FiniteElement<dim> &fe,
-    const Vector<double> &    solution,
-    Vector<float> &           error_per_cell)
+    const Vector<double>     &solution,
+    Vector<float>            &error_per_cell)
     : fe_midpoint_value(fe,
                         QMidpoint<dim>(),
                         update_values | update_quadrature_points)
@@ -943,8 +943,8 @@ namespace Step9
   // well worth the effort to check for such things.
   template <int dim>
   void GradientEstimation::estimate(const DoFHandler<dim> &dof_handler,
-                                    const Vector<double> solution,
-                                    Vector<float> &        error_per_cell)
+                                    const Vector<double>  &solution,
+                                    Vector<float>         &error_per_cell)
   {
     Assert(
       error_per_cell.size() == dof_handler.get_triangulation().n_active_cells(),
@@ -1009,7 +1009,7 @@ namespace Step9
   template <int dim>
   void GradientEstimation::estimate_cell(
     const typename DoFHandler<dim>::active_cell_iterator &cell,
-    EstimateScratchData<dim> &                            scratch_data,
+    EstimateScratchData<dim>                             &scratch_data,
     const EstimateCopyData &)
   {
     // We need space for the tensor <code>Y</code>, which is the sum of
index 3495852c7b6eae434c115007c74f6974f138e7c7..2d981b58ea2347fc09d6daec9c9bbffb93d75df8 100644 (file)
@@ -351,7 +351,7 @@ inline type
 AnyData::entry(const std::string &n)
 {
   const unsigned int i = find(n);
-  type *             p = boost::any_cast<type>(&data[i]);
+  type              *p = boost::any_cast<type>(&data[i]);
   Assert(p != 0, ExcTypeMismatch(typeid(type).name(), data[i].type().name()));
   return *p;
 }
@@ -362,7 +362,7 @@ inline type
 AnyData::entry(const std::string &n) const
 {
   const unsigned int i = find(n);
-  const type *       p = boost::any_cast<type>(&data[i]);
+  const type        *p = boost::any_cast<type>(&data[i]);
   Assert(p != nullptr,
          ExcTypeMismatch(typeid(type).name(), data[i].type().name()));
   return *p;
@@ -374,7 +374,7 @@ inline type
 AnyData::read(const std::string &n) const
 {
   const unsigned int i = find(n);
-  const type *       p = boost::any_cast<type>(&data[i]);
+  const type        *p = boost::any_cast<type>(&data[i]);
   Assert(p != 0, ExcTypeMismatch(typeid(type).name(), data[i].type().name()));
   return *p;
 }
@@ -422,7 +422,7 @@ AnyData::try_read(const std::string &n) const
 
   // Compute index and return casted pointer
   unsigned int i = it - names.begin();
-  const type p = boost::any_cast<type>(&data[i]);
+  const type  *p = boost::any_cast<type>(&data[i]);
   return p;
 }
 
index 78b90d7a86be9402a80f80ba881e6965949318e1..23ee33bf2c2b88375538d38d90e3b00e6ae0c58b 100644 (file)
@@ -245,7 +245,7 @@ public:
   template <typename Type, typename Arg, typename... Args>
   Type &
   get_or_add_object_with_name(const std::string &name,
-                              Arg &              argument,
+                              Arg               &argument,
                               Args &...arguments);
 
   /**
@@ -272,7 +272,7 @@ public:
   template <typename Type, typename Arg, typename... Args>
   Type &
   get_or_add_object_with_name(const std::string &name,
-                              Arg &&             argument,
+                              Arg              &&argument,
                               Args &&...arguments);
 
   /**
@@ -391,7 +391,7 @@ GeneralDataStorage::add_unique_copy(const std::string &name, const Type &entry)
 template <typename Type>
 void
 GeneralDataStorage::add_or_overwrite_copy(const std::string &name,
-                                          const Type &       entry)
+                                          const Type        &entry)
 {
   any_data[name] = entry;
 }
@@ -409,7 +409,7 @@ GeneralDataStorage::add_unique_reference(const std::string &name, Type &entry)
 template <typename Type>
 void
 GeneralDataStorage::add_or_overwrite_reference(const std::string &name,
-                                               Type &             entry)
+                                               Type              &entry)
 {
   Type *ptr      = &entry;
   any_data[name] = ptr;
@@ -478,7 +478,7 @@ GeneralDataStorage::get_object_with_name(const std::string &name) const
 template <typename Type, typename Arg>
 Type &
 GeneralDataStorage::get_or_add_object_with_name(const std::string &name,
-                                                Arg &              argument)
+                                                Arg               &argument)
 {
   if (!stores_object_with_name(name))
     add_unique_copy(name, Type(argument));
@@ -491,7 +491,7 @@ GeneralDataStorage::get_or_add_object_with_name(const std::string &name,
 template <typename Type, typename Arg, typename... Args>
 Type &
 GeneralDataStorage::get_or_add_object_with_name(const std::string &name,
-                                                Arg &              argument,
+                                                Arg               &argument,
                                                 Args &...arguments)
 {
   if (!stores_object_with_name(name))
@@ -505,7 +505,7 @@ GeneralDataStorage::get_or_add_object_with_name(const std::string &name,
 template <typename Type, typename Arg>
 Type &
 GeneralDataStorage::get_or_add_object_with_name(const std::string &name,
-                                                Arg &&             argument)
+                                                Arg              &&argument)
 {
   if (!stores_object_with_name(name))
     add_unique_copy(name, Type(std::forward<Arg>(argument)));
@@ -518,7 +518,7 @@ GeneralDataStorage::get_or_add_object_with_name(const std::string &name,
 template <typename Type, typename Arg, typename... Args>
 Type &
 GeneralDataStorage::get_or_add_object_with_name(const std::string &name,
-                                                Arg &&             argument,
+                                                Arg              &&argument,
                                                 Args &&...arguments)
 {
   if (!stores_object_with_name(name))
index 8bd0aaeeaec46d143e61bb312e62bbe1e2c5fd12..02adf69a2c4a186998a708135a9370782b0a1c05 100644 (file)
@@ -85,7 +85,7 @@ namespace Algorithms
 
     LogStream::Prefix prefix("Theta");
 
-    VectorType &                    solution = *out.entry<VectorType *>(0);
+    VectorType                     &solution = *out.entry<VectorType *>(0);
     GrowingVectorMemory<VectorType> mem;
     typename VectorMemory<VectorType>::Pointer aux(mem);
     aux->reinit(solution);
index 76f11f8960d7567dbab02fb2d77e101484fbbbcd..a20feabea955ff180624d762a73d92bd73ecc393 100644 (file)
@@ -575,7 +575,7 @@ private:
      */
     Deleter(AlignedVector<T> *owning_object,
             const bool        is_shmem_root,
-            T *               aligned_shmem_pointer,
+            T                *aligned_shmem_pointer,
             MPI_Comm          shmem_group_communicator,
             MPI_Win           shmem_window);
 #endif
@@ -633,7 +633,7 @@ private:
        * identify the MPI window in which the data resides.
        */
       MPISharedMemDeleterAction(const bool is_shmem_root,
-                                T *        aligned_shmem_pointer,
+                                T         *aligned_shmem_pointer,
                                 MPI_Comm   shmem_group_communicator,
                                 MPI_Win    shmem_window);
 
@@ -651,7 +651,7 @@ private:
        * all ancillary information to destroy this window.
        */
       const bool is_shmem_root;
-      T *        aligned_shmem_pointer;
+      T         *aligned_shmem_pointer;
       MPI_Comm   shmem_group_communicator;
       MPI_Win    shmem_window;
     };
@@ -876,7 +876,7 @@ namespace internal
      * elements, otherwise work in serial.
      */
     AlignedVectorInitialize(const std::size_t size,
-                            const T &         element,
+                            const T          &element,
                             T *const          destination)
       : element_(element)
       , destination_(destination)
@@ -928,7 +928,7 @@ namespace internal
     }
 
   private:
-    const T &  element_;
+    const T   &element_;
     mutable T *destination_;
     bool       trivial_element;
 
@@ -1055,7 +1055,7 @@ inline AlignedVector<T>::Deleter::Deleter(AlignedVector<T> *owning_object)
 template <typename T>
 inline AlignedVector<T>::Deleter::Deleter(AlignedVector<T> *owning_object,
                                           const bool        is_shmem_root,
-                                          T *      aligned_shmem_pointer,
+                                          T       *aligned_shmem_pointer,
                                           MPI_Comm shmem_group_communicator,
                                           MPI_Win  shmem_window)
   : deleter_action_object(
@@ -1110,7 +1110,7 @@ AlignedVector<T>::Deleter::reset_owning_object(
 template <typename T>
 inline AlignedVector<T>::Deleter::MPISharedMemDeleterAction::
   MPISharedMemDeleterAction(const bool is_shmem_root,
-                            T *        aligned_shmem_pointer,
+                            T         *aligned_shmem_pointer,
                             MPI_Comm   shmem_group_communicator,
                             MPI_Win    shmem_window)
   : is_shmem_root(is_shmem_root)
@@ -1125,7 +1125,7 @@ template <typename T>
 inline void
 AlignedVector<T>::Deleter::MPISharedMemDeleterAction::delete_array(
   const AlignedVector<T> *aligned_vector,
-  T *                     ptr)
+  T                      *ptr)
 {
   (void)ptr;
   // It would be nice to assert that aligned_vector->elements.get() equals ptr,
@@ -1260,7 +1260,8 @@ AlignedVector<T>::resize_fast(const size_type new_size)
   if (new_size == 0)
     clear();
   else if (new_size == old_size)
-    {} // nothing to do here
+    {
+    } // nothing to do here
   else if (new_size < old_size)
     {
       // call destructor on fields that are released, if the type requires it.
@@ -1296,7 +1297,8 @@ AlignedVector<T>::resize(const size_type new_size)
   if (new_size == 0)
     clear();
   else if (new_size == old_size)
-    {} // nothing to do here
+    {
+    } // nothing to do here
   else if (new_size < old_size)
     {
       // call destructor on fields that are released, if the type requires it.
@@ -1330,7 +1332,8 @@ AlignedVector<T>::resize(const size_type new_size, const T &init)
   if (new_size == 0)
     clear();
   else if (new_size == old_size)
-    {} // nothing to do here
+    {
+    } // nothing to do here
   else if (new_size < old_size)
     {
       // call destructor on fields that are released, if the type requires it.
@@ -1403,7 +1406,8 @@ AlignedVector<T>::reserve(const size_type new_allocated_size)
   else if (new_allocated_size == 0)
     clear();
   else // size_alloc < allocated_size
-    {} // nothing to do here
+    {
+    } // nothing to do here
 }
 
 
@@ -1712,7 +1716,7 @@ AlignedVector<T>::replicate_across_communicator(const MPI_Comm     communicator,
   // know anything about, and so setting this flag is backward compatible also
   // to older MPI versions.
   MPI_Win        shmem_window;
-  void *         base_ptr;
+  void          *base_ptr;
   const MPI_Aint align_by = 64;
   const MPI_Aint alloc_size =
     Utilities::MPI::broadcast(shmem_group_communicator,
@@ -1786,8 +1790,8 @@ AlignedVector<T>::replicate_across_communicator(const MPI_Comm     communicator,
   // *think* that the following should do given that we do not use base_ptr and
   // available_space any further after the call to std::align.
   std::size_t available_space       = alloc_size;
-  void *      base_ptr_backup       = base_ptr;
-  T *         aligned_shmem_pointer = static_cast<T *>(
+  void       *base_ptr_backup       = base_ptr;
+  T          *aligned_shmem_pointer = static_cast<T *>(
     std::align(align_by, new_size * sizeof(T), base_ptr, available_space));
   Assert(aligned_shmem_pointer != nullptr, ExcInternalError());
 
@@ -2012,7 +2016,7 @@ inline void
 AlignedVector<T>::save(Archive &ar, const unsigned int) const
 {
   size_type vec_size = size();
-  ar &      vec_size;
+  ar       &vec_size;
   if (vec_size > 0)
     ar &boost::serialization::make_array(elements.get(), vec_size);
 }
@@ -2025,7 +2029,7 @@ inline void
 AlignedVector<T>::load(Archive &ar, const unsigned int)
 {
   size_type vec_size = 0;
-  ar &      vec_size;
+  ar       &vec_size;
 
   if (vec_size > 0)
     {
index f5fd75dc0e90e4bac348a603080af79cf47ed740..fe34a066ad133731c61296cb72302f36594a06b5 100644 (file)
@@ -327,7 +327,7 @@ public:
    * In case the container is empty a nullptr is returned.
    */
   DEAL_II_HOST_DEVICE value_type *
-                      data() const noexcept;
+  data() const noexcept;
 
   /**
    * Return an iterator pointing to the beginning of the array view.
@@ -398,7 +398,7 @@ inline ArrayView<ElementType, MemorySpaceType>::ArrayView()
 
 template <typename ElementType, typename MemorySpaceType>
 inline ArrayView<ElementType, MemorySpaceType>::ArrayView(
-  value_type *      starting_element,
+  value_type       *starting_element,
   const std::size_t n_elements)
   : starting_element(starting_element)
   , n_elements(n_elements)
@@ -917,7 +917,8 @@ make_array_view(SymmetricTensor<rank, dim, Number> &tensor)
  * @relatesalso ArrayView
  */
 template <typename ElementType, int N>
-inline ArrayView<ElementType> make_array_view(ElementType (&array)[N])
+inline ArrayView<ElementType>
+make_array_view(ElementType (&array)[N])
 {
   return ArrayView<ElementType>(array, N);
 }
@@ -1224,7 +1225,7 @@ make_array_view(const std::array<ElementType, N> &array)
  */
 template <typename ElementType>
 inline ArrayView<ElementType>
-make_array_view(Table<2, ElementType> &                         table,
+make_array_view(Table<2, ElementType>                          &table,
                 const typename Table<2, ElementType>::size_type row)
 {
   AssertIndexRange(row, table.size()[0]);
@@ -1351,7 +1352,7 @@ make_array_view(const LAPACKFullMatrix<ElementType> &matrix)
  */
 template <typename ElementType>
 inline ArrayView<const ElementType>
-make_array_view(const Table<2, ElementType> &                   table,
+make_array_view(const Table<2, ElementType>                    &table,
                 const typename Table<2, ElementType>::size_type row)
 {
   AssertIndexRange(row, table.size()[0]);
@@ -1381,7 +1382,7 @@ make_array_view(const Table<2, ElementType> &                   table,
  */
 template <typename ElementType>
 inline ArrayView<ElementType>
-make_array_view(Table<2, ElementType> &                         table,
+make_array_view(Table<2, ElementType>                          &table,
                 const typename Table<2, ElementType>::size_type row,
                 const typename Table<2, ElementType>::size_type starting_column,
                 const std::size_t                               size_of_view)
@@ -1418,7 +1419,7 @@ make_array_view(Table<2, ElementType> &                         table,
  */
 template <typename ElementType>
 inline ArrayView<const ElementType>
-make_array_view(const Table<2, ElementType> &                   table,
+make_array_view(const Table<2, ElementType>                    &table,
                 const typename Table<2, ElementType>::size_type row,
                 const typename Table<2, ElementType>::size_type starting_column,
                 const std::size_t                               size_of_view)
index b4b9ee0ce6a08222ff337dbf81705a073e502ec8..881a602cbd79593a94d506ea0ed12a8e911d0a27 100644 (file)
@@ -165,7 +165,7 @@ public:
    * #DifferenceFormula.
    */
   virtual Tensor<1, dim>
-  gradient(const Point<dim> p,
+  gradient(const Point<dim>  &p,
            const unsigned int component = 0) const override;
 
   /**
@@ -175,7 +175,7 @@ public:
    * #DifferenceFormula.
    */
   virtual void
-  vector_gradient(const Point<dim> &           p,
+  vector_gradient(const Point<dim>            &p,
                   std::vector<Tensor<1, dim>> &gradients) const override;
 
   /**
@@ -189,7 +189,7 @@ public:
    */
   virtual void
   gradient_list(const std::vector<Point<dim>> &points,
-                std::vector<Tensor<1, dim>> &  gradients,
+                std::vector<Tensor<1, dim>>   &gradients,
                 const unsigned int             component = 0) const override;
 
   /**
@@ -206,7 +206,7 @@ public:
    */
   virtual void
   vector_gradient_list(
-    const std::vector<Point<dim>> &           points,
+    const std::vector<Point<dim>>            &points,
     std::vector<std::vector<Tensor<1, dim>>> &gradients) const override;
 
   /**
index 4b5387985915198017ee38059451841fb3dd4c71..c0e1c7e35fd32feea4d690fd1d34261d544a4f05 100644 (file)
@@ -87,7 +87,7 @@ public:
    */
   void
   add_datasets(const std::vector<std::vector<double>> &datasets,
-               const std::vector<std::string> &        dataset_names);
+               const std::vector<std::string>         &dataset_names);
 
 protected:
   // Copy doc
@@ -165,7 +165,7 @@ template <int dim>
 void
 BoundingBoxDataOut<dim>::add_datasets(
   const std::vector<std::vector<double>> &datasets,
-  const std::vector<std::string> &        names)
+  const std::vector<std::string>         &names)
 {
   AssertDimension(datasets.size(), patches.size());
   dataset_names = names;
index b85646807fe9e1c22d28ca959268cf0c104f3957..f7b24fa8a9edf3c097c2fccce6f6b8cde4bb89fd 100644 (file)
@@ -130,7 +130,7 @@ namespace Utilities
     template <typename T>
     inline void
     copy_to_host(const ArrayView<const T, MemorySpace::CUDA> &in,
-                 ArrayView<T, MemorySpace::Host> &            out)
+                 ArrayView<T, MemorySpace::Host>             &out)
     {
       AssertDimension(in.size(), out.size());
       cudaError_t cuda_error_code = cudaMemcpy(out.data(),
@@ -146,7 +146,7 @@ namespace Utilities
     template <typename T>
     inline void
     copy_to_dev(const ArrayView<const T, MemorySpace::Host> &in,
-                ArrayView<T, MemorySpace::CUDA> &            out)
+                ArrayView<T, MemorySpace::CUDA>             &out)
     {
       AssertDimension(in.size(), out.size());
       cudaError_t cuda_error_code = cudaMemcpy(out.data(),
index 8befdcb1b5485bc9ea073a398e17c0af898a1fbf..2ca24be391e23e7f859ef3a6a89527ee8cc42ae0 100644 (file)
@@ -1108,7 +1108,7 @@ namespace DataOutBase
     /**
      * Constructor.
      */
-    TecplotFlags(const char zone_name     = nullptr,
+    TecplotFlags(const char  *zone_name     = nullptr,
                  const double solution_time = -1.0);
 
     /**
@@ -1445,7 +1445,7 @@ namespace DataOutBase
      * average/min/max multiple values at a given vertex.
      */
     void
-    write_data_set(const std::string &     name,
+    write_data_set(const std::string      &name,
                    const unsigned int      dimension,
                    const unsigned int      set_num,
                    const Table<2, double> &data_vectors);
@@ -1691,15 +1691,15 @@ namespace DataOutBase
   void
   write_dx(
     const std::vector<Patch<dim, spacedim>> &patches,
-    const std::vector<std::string> &         data_names,
+    const std::vector<std::string>          &data_names,
     const std::vector<
       std::tuple<unsigned int,
                  unsigned int,
                  std::string,
                  DataComponentInterpretation::DataComponentInterpretation>>
-      &            nonscalar_data_ranges,
+                  &nonscalar_data_ranges,
     const DXFlags &flags,
-    std::ostream out);
+    std::ostream  &out);
 
   /**
    * Write the given list of patches to the output stream in eps format.
@@ -1749,15 +1749,15 @@ namespace DataOutBase
   void
   write_eps(
     const std::vector<Patch<2, spacedim>> &patches,
-    const std::vector<std::string> &       data_names,
+    const std::vector<std::string>        &data_names,
     const std::vector<
       std::tuple<unsigned int,
                  unsigned int,
                  std::string,
                  DataComponentInterpretation::DataComponentInterpretation>>
-      &             nonscalar_data_ranges,
+                   &nonscalar_data_ranges,
     const EpsFlags &flags,
-    std::ostream &  out);
+    std::ostream   &out);
 
   /**
    * This is the same function as above except for domains that are not two-
@@ -1768,15 +1768,15 @@ namespace DataOutBase
   void
   write_eps(
     const std::vector<Patch<dim, spacedim>> &patches,
-    const std::vector<std::string> &         data_names,
+    const std::vector<std::string>          &data_names,
     const std::vector<
       std::tuple<unsigned int,
                  unsigned int,
                  std::string,
                  DataComponentInterpretation::DataComponentInterpretation>>
-      &             nonscalar_data_ranges,
+                   &nonscalar_data_ranges,
     const EpsFlags &flags,
-    std::ostream &  out);
+    std::ostream   &out);
 
 
   /**
@@ -1792,15 +1792,15 @@ namespace DataOutBase
   void
   write_gmv(
     const std::vector<Patch<dim, spacedim>> &patches,
-    const std::vector<std::string> &         data_names,
+    const std::vector<std::string>          &data_names,
     const std::vector<
       std::tuple<unsigned int,
                  unsigned int,
                  std::string,
                  DataComponentInterpretation::DataComponentInterpretation>>
-      &             nonscalar_data_ranges,
+                   &nonscalar_data_ranges,
     const GmvFlags &flags,
-    std::ostream &  out);
+    std::ostream   &out);
 
   /**
    * Write the given list of patches to the output stream in gnuplot format.
@@ -1861,15 +1861,15 @@ namespace DataOutBase
   void
   write_gnuplot(
     const std::vector<Patch<dim, spacedim>> &patches,
-    const std::vector<std::string> &         data_names,
+    const std::vector<std::string>          &data_names,
     const std::vector<
       std::tuple<unsigned int,
                  unsigned int,
                  std::string,
                  DataComponentInterpretation::DataComponentInterpretation>>
-      &                 nonscalar_data_ranges,
+                       &nonscalar_data_ranges,
     const GnuplotFlags &flags,
-    std::ostream &      out);
+    std::ostream       &out);
 
   /**
    * Write the given list of patches to the output stream for the Povray
@@ -1920,15 +1920,15 @@ namespace DataOutBase
   void
   write_povray(
     const std::vector<Patch<dim, spacedim>> &patches,
-    const std::vector<std::string> &         data_names,
+    const std::vector<std::string>          &data_names,
     const std::vector<
       std::tuple<unsigned int,
                  unsigned int,
                  std::string,
                  DataComponentInterpretation::DataComponentInterpretation>>
-      &                nonscalar_data_ranges,
+                      &nonscalar_data_ranges,
     const PovrayFlags &flags,
-    std::ostream &     out);
+    std::ostream      &out);
 
   /**
    * Write the given list of patches to the output stream in Tecplot ASCII
@@ -1940,15 +1940,15 @@ namespace DataOutBase
   void
   write_tecplot(
     const std::vector<Patch<dim, spacedim>> &patches,
-    const std::vector<std::string> &         data_names,
+    const std::vector<std::string>          &data_names,
     const std::vector<
       std::tuple<unsigned int,
                  unsigned int,
                  std::string,
                  DataComponentInterpretation::DataComponentInterpretation>>
-      &                 nonscalar_data_ranges,
+                       &nonscalar_data_ranges,
     const TecplotFlags &flags,
-    std::ostream &      out);
+    std::ostream       &out);
 
   /**
    * Write the given list of patches to the output stream in UCD format
@@ -1968,15 +1968,15 @@ namespace DataOutBase
   void
   write_ucd(
     const std::vector<Patch<dim, spacedim>> &patches,
-    const std::vector<std::string> &         data_names,
+    const std::vector<std::string>          &data_names,
     const std::vector<
       std::tuple<unsigned int,
                  unsigned int,
                  std::string,
                  DataComponentInterpretation::DataComponentInterpretation>>
-      &             nonscalar_data_ranges,
+                   &nonscalar_data_ranges,
     const UcdFlags &flags,
-    std::ostream &  out);
+    std::ostream   &out);
 
   /**
    * Write the given list of patches to the output stream in VTK format. The
@@ -2001,15 +2001,15 @@ namespace DataOutBase
   void
   write_vtk(
     const std::vector<Patch<dim, spacedim>> &patches,
-    const std::vector<std::string> &         data_names,
+    const std::vector<std::string>          &data_names,
     const std::vector<
       std::tuple<unsigned int,
                  unsigned int,
                  std::string,
                  DataComponentInterpretation::DataComponentInterpretation>>
-      &             nonscalar_data_ranges,
+                   &nonscalar_data_ranges,
     const VtkFlags &flags,
-    std::ostream &  out);
+    std::ostream   &out);
 
 
   /**
@@ -2039,15 +2039,15 @@ namespace DataOutBase
   void
   write_vtu(
     const std::vector<Patch<dim, spacedim>> &patches,
-    const std::vector<std::string> &         data_names,
+    const std::vector<std::string>          &data_names,
     const std::vector<
       std::tuple<unsigned int,
                  unsigned int,
                  std::string,
                  DataComponentInterpretation::DataComponentInterpretation>>
-      &             nonscalar_data_ranges,
+                   &nonscalar_data_ranges,
     const VtkFlags &flags,
-    std::ostream &  out);
+    std::ostream   &out);
 
   /**
    * This writes the header for the xml based vtu file format. This routine is
@@ -2076,15 +2076,15 @@ namespace DataOutBase
   void
   write_vtu_main(
     const std::vector<Patch<dim, spacedim>> &patches,
-    const std::vector<std::string> &         data_names,
+    const std::vector<std::string>          &data_names,
     const std::vector<
       std::tuple<unsigned int,
                  unsigned int,
                  std::string,
                  DataComponentInterpretation::DataComponentInterpretation>>
-      &             nonscalar_data_ranges,
+                   &nonscalar_data_ranges,
     const VtkFlags &flags,
-    std::ostream &  out);
+    std::ostream   &out);
 
   /**
    * Some visualization programs, such as ParaView, can read several separate
@@ -2129,7 +2129,7 @@ namespace DataOutBase
    */
   void
   write_pvtu_record(
-    std::ostream &                  out,
+    std::ostream                   &out,
     const std::vector<std::string> &piece_names,
     const std::vector<std::string> &data_names,
     const std::vector<
@@ -2137,7 +2137,7 @@ namespace DataOutBase
                  unsigned int,
                  std::string,
                  DataComponentInterpretation::DataComponentInterpretation>>
-      &             nonscalar_data_ranges,
+                   &nonscalar_data_ranges,
     const VtkFlags &flags);
 
   /**
@@ -2190,7 +2190,7 @@ namespace DataOutBase
    */
   void
   write_pvd_record(
-    std::ostream &                                     out,
+    std::ostream                                      &out,
     const std::vector<std::pair<double, std::string>> &times_and_names);
 
   /**
@@ -2205,7 +2205,7 @@ namespace DataOutBase
    * https://wci.llnl.gov/codes/visit/2.0.0/GettingDataIntoVisIt2.0.0.pdf
    */
   void
-  write_visit_record(std::ostream &                  out,
+  write_visit_record(std::ostream                   &out,
                      const std::vector<std::string> &piece_names);
 
   /**
@@ -2236,7 +2236,7 @@ namespace DataOutBase
    * https://wci.llnl.gov/codes/visit/2.0.0/GettingDataIntoVisIt2.0.0.pdf
    */
   void
-  write_visit_record(std::ostream &                               out,
+  write_visit_record(std::ostream                                &out,
                      const std::vector<std::vector<std::string>> &piece_names);
 
   /**
@@ -2301,15 +2301,15 @@ namespace DataOutBase
   void
   write_svg(
     const std::vector<Patch<2, spacedim>> &patches,
-    const std::vector<std::string> &       data_names,
+    const std::vector<std::string>        &data_names,
     const std::vector<
       std::tuple<unsigned int,
                  unsigned int,
                  std::string,
                  DataComponentInterpretation::DataComponentInterpretation>>
-      &             nonscalar_data_ranges,
+                   &nonscalar_data_ranges,
     const SvgFlags &flags,
-    std::ostream &  out);
+    std::ostream   &out);
 
   /**
    * Write the given list of patches to the output stream in deal.II
@@ -2352,15 +2352,15 @@ namespace DataOutBase
   void
   write_deal_II_intermediate(
     const std::vector<Patch<dim, spacedim>> &patches,
-    const std::vector<std::string> &         data_names,
+    const std::vector<std::string>          &data_names,
     const std::vector<
       std::tuple<unsigned int,
                  unsigned int,
                  std::string,
                  DataComponentInterpretation::DataComponentInterpretation>>
-      &                              nonscalar_data_ranges,
+                                    &nonscalar_data_ranges,
     const Deal_II_IntermediateFlags &flags,
-    std::ostream &                   out);
+    std::ostream                    &out);
 
   /**
    * Like write_deal_II_intermediate() but write all patches from all ranks
@@ -2374,15 +2374,15 @@ namespace DataOutBase
   void
   write_deal_II_intermediate_in_parallel(
     const std::vector<Patch<dim, spacedim>> &patches,
-    const std::vector<std::string> &         data_names,
+    const std::vector<std::string>          &data_names,
     const std::vector<
       std::tuple<unsigned int,
                  unsigned int,
                  std::string,
                  DataComponentInterpretation::DataComponentInterpretation>>
-      &                              nonscalar_data_ranges,
+                                    &nonscalar_data_ranges,
     const Deal_II_IntermediateFlags &flags,
-    const std::string &              filename,
+    const std::string               &filename,
     const MPI_Comm                   comm,
     const CompressionLevel           compression);
 
@@ -2393,9 +2393,9 @@ namespace DataOutBase
   template <int dim, int spacedim>
   void
   write_hdf5_parallel(const std::vector<Patch<dim, spacedim>> &patches,
-                      const DataOutFilter &                    data_filter,
-                      const DataOutBase::Hdf5Flags &           flags,
-                      const std::string &                      filename,
+                      const DataOutFilter                     &data_filter,
+                      const DataOutBase::Hdf5Flags            &flags,
+                      const std::string                       &filename,
                       const MPI_Comm                           comm);
 
   /**
@@ -2408,10 +2408,10 @@ namespace DataOutBase
   template <int dim, int spacedim>
   void
   write_hdf5_parallel(const std::vector<Patch<dim, spacedim>> &patches,
-                      const DataOutFilter &                    data_filter,
-                      const DataOutBase::Hdf5Flags &           flags,
+                      const DataOutFilter                     &data_filter,
+                      const DataOutBase::Hdf5Flags            &flags,
                       const bool                               write_mesh_file,
-                      const std::string &                      mesh_filename,
+                      const std::string                       &mesh_filename,
                       const std::string &solution_filename,
                       const MPI_Comm     comm);
 
@@ -2425,13 +2425,13 @@ namespace DataOutBase
   void
   write_filtered_data(
     const std::vector<Patch<dim, spacedim>> &patches,
-    const std::vector<std::string> &         data_names,
+    const std::vector<std::string>          &data_names,
     const std::vector<
       std::tuple<unsigned int,
                  unsigned int,
                  std::string,
                  DataComponentInterpretation::DataComponentInterpretation>>
-      &            nonscalar_data_ranges,
+                  &nonscalar_data_ranges,
     DataOutFilter &filtered_data);
 
   /**
@@ -2779,7 +2779,7 @@ public:
    * by the write_visit_record() function.
    */
   void
-  write_pvtu_record(std::ostream &                  out,
+  write_pvtu_record(std::ostream                   &out,
                     const std::vector<std::string> &piece_names) const;
 
   /**
@@ -2877,7 +2877,7 @@ public:
    */
   void
   write_deal_II_intermediate_in_parallel(
-    const std::string &                 filename,
+    const std::string                  &filename,
     const MPI_Comm                      comm,
     const DataOutBase::CompressionLevel compression) const;
 
@@ -2888,7 +2888,7 @@ public:
    */
   XDMFEntry
   create_xdmf_entry(const DataOutBase::DataOutFilter &data_filter,
-                    const std::string &               h5_filename,
+                    const std::string                &h5_filename,
                     const double                      cur_time,
                     const MPI_Comm                    comm) const;
 
@@ -2899,8 +2899,8 @@ public:
    */
   XDMFEntry
   create_xdmf_entry(const DataOutBase::DataOutFilter &data_filter,
-                    const std::string &               h5_mesh_filename,
-                    const std::string &               h5_solution_filename,
+                    const std::string                &h5_mesh_filename,
+                    const std::string                &h5_solution_filename,
                     const double                      cur_time,
                     const MPI_Comm                    comm) const;
 
@@ -2930,7 +2930,7 @@ public:
    */
   void
   write_xdmf_file(const std::vector<XDMFEntry> &entries,
-                  const std::string &           filename,
+                  const std::string            &filename,
                   const MPI_Comm                comm) const;
 
   /**
@@ -2949,7 +2949,7 @@ public:
    */
   void
   write_hdf5_parallel(const DataOutBase::DataOutFilter &data_filter,
-                      const std::string &               filename,
+                      const std::string                &filename,
                       const MPI_Comm                    comm) const;
 
   /**
@@ -2962,8 +2962,8 @@ public:
   void
   write_hdf5_parallel(const DataOutBase::DataOutFilter &data_filter,
                       const bool                        write_mesh_file,
-                      const std::string &               mesh_filename,
-                      const std::string &               solution_filename,
+                      const std::string                &mesh_filename,
+                      const std::string                &solution_filename,
                       const MPI_Comm                    comm) const;
 
   /**
@@ -2985,7 +2985,7 @@ public:
    * <tt>default_format</tt>.
    */
   void
-  write(std::ostream &                  out,
+  write(std::ostream                   &out,
         const DataOutBase::OutputFormat output_format =
           DataOutBase::default_format) const;
 
@@ -3391,7 +3391,7 @@ public:
    * cases where <code>solution_filename == mesh_filename</code>, and
    * <code>dim==spacedim</code>.
    */
-  XDMFEntry(const std::string &  filename,
+  XDMFEntry(const std::string   &filename,
             const double         time,
             const std::uint64_t  nodes,
             const std::uint64_t  cells,
@@ -3403,7 +3403,7 @@ public:
    *
    * @deprecated Use the constructor that additionally takes a ReferenceCell.
    */
-  XDMFEntry(const std::string filename,
+  XDMFEntry(const std::string  &filename,
             const double        time,
             const std::uint64_t nodes,
             const std::uint64_t cells,
@@ -3414,8 +3414,8 @@ public:
    *
    * @deprecated Use the constructor that additionally takes a ReferenceCell.
    */
-  XDMFEntry(const std::string mesh_filename,
-            const std::string solution_filename,
+  XDMFEntry(const std::string  &mesh_filename,
+            const std::string  &solution_filename,
             const double        time,
             const std::uint64_t nodes,
             const std::uint64_t cells,
@@ -3425,8 +3425,8 @@ public:
    * Simplified constructor that calls the complete constructor for
    * cases where <code>dim==spacedim</code>.
    */
-  XDMFEntry(const std::string &  mesh_filename,
-            const std::string &  solution_filename,
+  XDMFEntry(const std::string   &mesh_filename,
+            const std::string   &solution_filename,
             const double         time,
             const std::uint64_t  nodes,
             const std::uint64_t  cells,
@@ -3439,8 +3439,8 @@ public:
    * @deprecated Use the constructor that additionally takes a ReferenceCell.
    */
   DEAL_II_DEPRECATED
-  XDMFEntry(const std::string mesh_filename,
-            const std::string solution_filename,
+  XDMFEntry(const std::string  &mesh_filename,
+            const std::string  &solution_filename,
             const double        time,
             const std::uint64_t nodes,
             const std::uint64_t cells,
@@ -3450,8 +3450,8 @@ public:
   /**
    * Constructor that sets all members to provided parameters.
    */
-  XDMFEntry(const std::string &  mesh_filename,
-            const std::string &  solution_filename,
+  XDMFEntry(const std::string   &mesh_filename,
+            const std::string   &solution_filename,
             const double         time,
             const std::uint64_t  nodes,
             const std::uint64_t  cells,
index fa3d8948271f5c6bda1b0d00cfb736e10c04cb73..e3a73fa695077aaa14f1ff3a50b8ae68c52eff57 100644 (file)
@@ -452,7 +452,7 @@ DerivativeForm<order, dim, spacedim, Number>::memory_consumption()
 template <int spacedim, int dim, typename Number1, typename Number2>
 inline Tensor<1, spacedim, typename ProductType<Number1, Number2>::type>
 apply_transformation(const DerivativeForm<1, dim, spacedim, Number1> &grad_F,
-                     const Tensor<1, dim, Number2> &                  d_x)
+                     const Tensor<1, dim, Number2>                   &d_x)
 {
   Tensor<1, spacedim, typename ProductType<Number1, Number2>::type> dest;
   for (unsigned int i = 0; i < spacedim; ++i)
@@ -477,7 +477,7 @@ inline DerivativeForm<1,
                       dim,
                       typename ProductType<Number1, Number2>::type>
 apply_transformation(const DerivativeForm<1, dim, spacedim, Number1> &grad_F,
-                     const Tensor<2, dim, Number2> &                  D_X)
+                     const Tensor<2, dim, Number2>                   &D_X)
 {
   DerivativeForm<1, spacedim, dim, typename ProductType<Number1, Number2>::type>
     dest;
@@ -503,7 +503,7 @@ apply_transformation(const DerivativeForm<1, dim, spacedim, Number1> &grad_F,
 template <int dim, typename Number1, typename Number2>
 inline Tensor<2, dim, typename ProductType<Number1, Number2>::type>
 apply_transformation(const DerivativeForm<1, dim, dim, Number1> &grad_F,
-                     const Tensor<2, dim, Number2> &             D_X)
+                     const Tensor<2, dim, Number2>              &D_X)
 {
   Tensor<2, dim, typename ProductType<Number1, Number2>::type> dest;
   for (unsigned int i = 0; i < dim; ++i)
@@ -530,7 +530,7 @@ inline Tensor<1,
               n_components,
               Tensor<1, spacedim, typename ProductType<Number1, Number2>::type>>
 apply_transformation(
-  const DerivativeForm<1, dim, spacedim, Number1> &       grad_F,
+  const DerivativeForm<1, dim, spacedim, Number1>        &grad_F,
   const Tensor<1, n_components, Tensor<1, dim, Number2>> &D_X)
 {
   Tensor<1,
index 2498abd35c4c2f1363c8a9d7c05938636447bc43..1b9594e109b73d55e7c9460b29fad60c1779dbc2 100644 (file)
@@ -1426,11 +1426,11 @@ namespace deal_II_exceptions
     template <typename ExceptionType>
     [[noreturn]] void
     issue_error_noreturn(ExceptionHandling handling,
-                         const char *      file,
+                         const char       *file,
                          int               line,
-                         const char *      function,
-                         const char *      cond,
-                         const char *      exc_name,
+                         const char       *function,
+                         const char       *cond,
+                         const char       *exc_name,
                          ExceptionType     e)
     {
       // Fill the fields of the exception object
@@ -1475,11 +1475,11 @@ namespace deal_II_exceptions
      */
     template <typename ExceptionType>
     void
-    issue_error_nothrow(const char *  file,
+    issue_error_nothrow(const char   *file,
                         int           line,
-                        const char *  function,
-                        const char *  cond,
-                        const char *  exc_name,
+                        const char   *function,
+                        const char   *cond,
+                        const char   *exc_name,
                         ExceptionType e) noexcept
     {
       static_assert(std::is_base_of_v<ExceptionBase, ExceptionType>,
index e387a2fb8f44deb01ae4d9b80d38b56330e70871..13001986d5779479375a7d6f5d0a6f261fd944c2 100644 (file)
@@ -71,7 +71,7 @@ namespace Functions
      * point.
      */
     virtual void
-    vector_values(const std::vector<Point<dim>> &   points,
+    vector_values(const std::vector<Point<dim>>    &points,
                   std::vector<std::vector<double>> &values) const override = 0;
     /**
      * Gradients in a structure more suitable for vector valued functions. The
@@ -80,7 +80,7 @@ namespace Functions
      */
     virtual void
     vector_gradients(
-      const std::vector<Point<dim>> &           points,
+      const std::vector<Point<dim>>            &points,
       std::vector<std::vector<Tensor<1, dim>>> &gradients) const override = 0;
     /**
      * Force terms in a structure more suitable for vector valued functions.
@@ -91,28 +91,28 @@ namespace Functions
      * as right hand side in Stokes' equations
      */
     virtual void
-    vector_laplacians(const std::vector<Point<dim>> &   points,
+    vector_laplacians(const std::vector<Point<dim>>    &points,
                       std::vector<std::vector<double>> &values) const = 0;
 
     virtual void
     vector_value(const Point<dim> &points,
-                 Vector<double> &  value) const override;
+                 Vector<double>   &value) const override;
     virtual double
-    value(const Point<dim> points,
+    value(const Point<dim>  &points,
           const unsigned int component) const override;
     virtual void
     vector_value_list(const std::vector<Point<dim>> &points,
-                      std::vector<Vector<double>> &  values) const override;
+                      std::vector<Vector<double>>   &values) const override;
     virtual void
     vector_gradient_list(
-      const std::vector<Point<dim>> &           points,
+      const std::vector<Point<dim>>            &points,
       std::vector<std::vector<Tensor<1, dim>>> &gradients) const override;
     /**
      * The force term in the momentum equation.
      */
     virtual void
     vector_laplacian_list(const std::vector<Point<dim>> &points,
-                          std::vector<Vector<double>> &  values) const override;
+                          std::vector<Vector<double>>   &values) const override;
 
     /**
      * Return an estimate for the memory consumption, in bytes, of this object.
@@ -163,14 +163,14 @@ namespace Functions
     virtual ~PoisseuilleFlow() override = default;
 
     virtual void
-    vector_values(const std::vector<Point<dim>> &   points,
+    vector_values(const std::vector<Point<dim>>    &points,
                   std::vector<std::vector<double>> &values) const override;
     virtual void
     vector_gradients(
-      const std::vector<Point<dim>> &           points,
+      const std::vector<Point<dim>>            &points,
       std::vector<std::vector<Tensor<1, dim>>> &gradients) const override;
     virtual void
-    vector_laplacians(const std::vector<Point<dim>> &   points,
+    vector_laplacians(const std::vector<Point<dim>>    &points,
                       std::vector<std::vector<double>> &values) const override;
 
   private:
@@ -209,14 +209,14 @@ namespace Functions
     virtual ~StokesCosine() override = default;
 
     virtual void
-    vector_values(const std::vector<Point<dim>> &   points,
+    vector_values(const std::vector<Point<dim>>    &points,
                   std::vector<std::vector<double>> &values) const override;
     virtual void
     vector_gradients(
-      const std::vector<Point<dim>> &           points,
+      const std::vector<Point<dim>>            &points,
       std::vector<std::vector<Tensor<1, dim>>> &gradients) const override;
     virtual void
-    vector_laplacians(const std::vector<Point<dim>> &   points,
+    vector_laplacians(const std::vector<Point<dim>>    &points,
                       std::vector<std::vector<double>> &values) const override;
 
   private:
@@ -250,14 +250,14 @@ namespace Functions
     StokesLSingularity();
 
     virtual void
-    vector_values(const std::vector<Point<2>> &     points,
+    vector_values(const std::vector<Point<2>>      &points,
                   std::vector<std::vector<double>> &values) const override;
     virtual void
     vector_gradients(
-      const std::vector<Point<2>> &           points,
+      const std::vector<Point<2>>            &points,
       std::vector<std::vector<Tensor<1, 2>>> &gradients) const override;
     virtual void
-    vector_laplacians(const std::vector<Point<2>> &     points,
+    vector_laplacians(const std::vector<Point<2>>      &points,
                       std::vector<std::vector<double>> &values) const override;
 
   private:
@@ -311,14 +311,14 @@ namespace Functions
     virtual ~Kovasznay() override = default;
 
     virtual void
-    vector_values(const std::vector<Point<2>> &     points,
+    vector_values(const std::vector<Point<2>>      &points,
                   std::vector<std::vector<double>> &values) const override;
     virtual void
     vector_gradients(
-      const std::vector<Point<2>> &           points,
+      const std::vector<Point<2>>            &points,
       std::vector<std::vector<Tensor<1, 2>>> &gradients) const override;
     virtual void
-    vector_laplacians(const std::vector<Point<2>> &     points,
+    vector_laplacians(const std::vector<Point<2>>      &points,
                       std::vector<std::vector<double>> &values) const override;
 
     /// The value of lambda.
index 1ad351076bd94742e2c0ff4a00e1ee25e4b1eca0..969ab07701f3ee4ade4a8246871c3e9224692e40 100644 (file)
@@ -244,7 +244,7 @@ public:
    */
   virtual void
   value_list(const std::vector<Point<dim>> &points,
-             std::vector<RangeNumberType> values,
+             std::vector<RangeNumberType>  &values,
              const unsigned int             component = 0) const;
 
   /**
@@ -258,7 +258,7 @@ public:
    * separately, to fill the output array.
    */
   virtual void
-  vector_value_list(const std::vector<Point<dim>> &       points,
+  vector_value_list(const std::vector<Point<dim>>        &points,
                     std::vector<Vector<RangeNumberType>> &values) const;
 
   /**
@@ -270,7 +270,7 @@ public:
    * can be reimplemented in derived classes to speed up performance.
    */
   virtual void
-  vector_values(const std::vector<Point<dim>> &            points,
+  vector_values(const std::vector<Point<dim>>             &points,
                 std::vector<std::vector<RangeNumberType>> &values) const;
 
   /**
@@ -285,7 +285,7 @@ public:
    */
   virtual void
   vector_gradient(
-    const Point<dim> &                            p,
+    const Point<dim>                             &p,
     std::vector<Tensor<1, dim, RangeNumberType>> &gradients) const;
 
   /**
@@ -295,7 +295,7 @@ public:
    * array.
    */
   virtual void
-  gradient_list(const std::vector<Point<dim>> &               points,
+  gradient_list(const std::vector<Point<dim>>                &points,
                 std::vector<Tensor<1, dim, RangeNumberType>> &gradients,
                 const unsigned int component = 0) const;
 
@@ -309,7 +309,7 @@ public:
    */
   virtual void
   vector_gradients(
-    const std::vector<Point<dim>> &                            points,
+    const std::vector<Point<dim>>                             &points,
     std::vector<std::vector<Tensor<1, dim, RangeNumberType>>> &gradients) const;
 
   /**
@@ -323,7 +323,7 @@ public:
    */
   virtual void
   vector_gradient_list(
-    const std::vector<Point<dim>> &                            points,
+    const std::vector<Point<dim>>                             &points,
     std::vector<std::vector<Tensor<1, dim, RangeNumberType>>> &gradients) const;
 
   /**
@@ -344,14 +344,14 @@ public:
    */
   virtual void
   laplacian_list(const std::vector<Point<dim>> &points,
-                 std::vector<RangeNumberType> values,
+                 std::vector<RangeNumberType>  &values,
                  const unsigned int             component = 0) const;
 
   /**
    * Compute the Laplacians of all components at a set of points.
    */
   virtual void
-  vector_laplacian_list(const std::vector<Point<dim>> &       points,
+  vector_laplacian_list(const std::vector<Point<dim>>        &points,
                         std::vector<Vector<RangeNumberType>> &values) const;
 
   /**
@@ -367,14 +367,14 @@ public:
    */
   virtual void
   vector_hessian(
-    const Point<dim> &                                     p,
+    const Point<dim>                                      &p,
     std::vector<SymmetricTensor<2, dim, RangeNumberType>> &values) const;
 
   /**
    * Compute the Hessian of one component at a set of points.
    */
   virtual void
-  hessian_list(const std::vector<Point<dim>> &                        points,
+  hessian_list(const std::vector<Point<dim>>                         &points,
                std::vector<SymmetricTensor<2, dim, RangeNumberType>> &values,
                const unsigned int component = 0) const;
 
@@ -383,7 +383,7 @@ public:
    */
   virtual void
   vector_hessian_list(
-    const std::vector<Point<dim>> &                                     points,
+    const std::vector<Point<dim>>                                      &points,
     std::vector<std::vector<SymmetricTensor<2, dim, RangeNumberType>>> &values)
     const;
 
@@ -442,45 +442,45 @@ namespace Functions
     value(const Point<dim> &p, const unsigned int component = 0) const override;
 
     virtual void
-    vector_value(const Point<dim> &       p,
+    vector_value(const Point<dim>        &p,
                  Vector<RangeNumberType> &return_value) const override;
 
     virtual void
     value_list(const std::vector<Point<dim>> &points,
-               std::vector<RangeNumberType> return_values,
+               std::vector<RangeNumberType>  &return_values,
                const unsigned int             component = 0) const override;
 
     virtual void
     vector_value_list(
-      const std::vector<Point<dim>> &       points,
+      const std::vector<Point<dim>>        &points,
       std::vector<Vector<RangeNumberType>> &return_values) const override;
 
     virtual Tensor<1, dim, RangeNumberType>
-    gradient(const Point<dim> p,
+    gradient(const Point<dim>  &p,
              const unsigned int component = 0) const override;
 
     virtual void
     vector_gradient(
-      const Point<dim> &                            p,
+      const Point<dim>                             &p,
       std::vector<Tensor<1, dim, RangeNumberType>> &gradients) const override;
 
     virtual void
-    gradient_list(const std::vector<Point<dim>> &               points,
+    gradient_list(const std::vector<Point<dim>>                &points,
                   std::vector<Tensor<1, dim, RangeNumberType>> &gradients,
                   const unsigned int component = 0) const override;
 
     virtual void
     vector_gradient_list(
-      const std::vector<Point<dim>> &                            points,
+      const std::vector<Point<dim>>                             &points,
       std::vector<std::vector<Tensor<1, dim, RangeNumberType>>> &gradients)
       const override;
 
     virtual SymmetricTensor<2, dim, RangeNumberType>
-    hessian(const Point<dim> point,
+    hessian(const Point<dim>  &point,
             const unsigned int component = 0) const override;
 
     virtual RangeNumberType
-    laplacian(const Point<dim> point,
+    laplacian(const Point<dim>  &point,
               const unsigned int component = 0) const override;
 
     virtual std::size_t
@@ -545,21 +545,21 @@ namespace Functions
      * @copydoc Function::gradient()
      */
     virtual Tensor<1, dim, RangeNumberType>
-    gradient(const Point<dim> p,
+    gradient(const Point<dim>  &p,
              const unsigned int component = 0) const override;
 
     /**
      * @copydoc Function::laplacian()
      */
     virtual RangeNumberType
-    laplacian(const Point<dim> p,
+    laplacian(const Point<dim>  &p,
               const unsigned int component = 0) const override;
 
     /**
      * @copydoc Function::hessian()
      */
     virtual SymmetricTensor<2, dim, RangeNumberType>
-    hessian(const Point<dim> p,
+    hessian(const Point<dim>  &p,
             const unsigned int component = 0) const override;
   };
 } // namespace Functions
@@ -630,7 +630,7 @@ public:
    * Return the value of the function at the given point for all components.
    */
   virtual void
-  vector_value(const Point<dim> &       p,
+  vector_value(const Point<dim>        &p,
                Vector<RangeNumberType> &return_value) const override;
 
   /**
@@ -641,7 +641,7 @@ public:
    */
   virtual void
   vector_value_list(
-    const std::vector<Point<dim>> &       points,
+    const std::vector<Point<dim>>        &points,
     std::vector<Vector<RangeNumberType>> &values) const override;
 
   /**
@@ -901,7 +901,7 @@ public:
    * <tt>values</tt> shall have the right size beforehand, i.e. #n_components.
    */
   virtual void
-  vector_value(const Point<dim> &       p,
+  vector_value(const Point<dim>        &p,
                Vector<RangeNumberType> &values) const override;
 
 private:
@@ -979,7 +979,7 @@ public:
    */
   explicit FunctionFromFunctionObjects(
     const std::vector<std::function<RangeNumberType(const Point<dim> &)>>
-      &          values,
+                &values,
     const double initial_time = 0.0);
 
   /**
@@ -995,7 +995,7 @@ public:
       &values,
     const std::vector<
       std::function<Tensor<1, dim, RangeNumberType>(const Point<dim> &)>>
-      &          gradients,
+                &gradients,
     const double initial_time = 0.0);
 
 
@@ -1015,7 +1015,7 @@ public:
    * component.
    */
   virtual Tensor<1, dim, RangeNumberType>
-  gradient(const Point<dim> p,
+  gradient(const Point<dim>  &p,
            const unsigned int component = 0) const override;
 
   /**
@@ -1133,7 +1133,7 @@ public:
    * <tt>values</tt> shall have the right size beforehand, i.e. #n_components.
    */
   virtual void
-  vector_value(const Point<dim> &       p,
+  vector_value(const Point<dim>        &p,
                Vector<RangeNumberType> &values) const override;
 
   /**
@@ -1145,7 +1145,7 @@ public:
    */
   virtual void
   vector_value_list(
-    const std::vector<Point<dim>> &       points,
+    const std::vector<Point<dim>>        &points,
     std::vector<Vector<RangeNumberType>> &value_list) const override;
 
   /**
@@ -1153,7 +1153,7 @@ public:
    * point.
    */
   virtual Tensor<1, dim, RangeNumberType>
-  gradient(const Point<dim> p,
+  gradient(const Point<dim>  &p,
            const unsigned int component = 0) const override;
 
   /**
@@ -1161,7 +1161,7 @@ public:
    */
   virtual void
   vector_gradient(
-    const Point<dim> &                            p,
+    const Point<dim>                             &p,
     std::vector<Tensor<1, dim, RangeNumberType>> &gradients) const override;
 
   /**
@@ -1171,7 +1171,7 @@ public:
    * array.
    */
   virtual void
-  gradient_list(const std::vector<Point<dim>> &               points,
+  gradient_list(const std::vector<Point<dim>>                &points,
                 std::vector<Tensor<1, dim, RangeNumberType>> &gradients,
                 const unsigned int component = 0) const override;
 
index 3ff9abe5cdba10a2a50783c44c95489a8f294f23..b12d3e8640c6c922f1489de69b7f968e2298b050 100644 (file)
@@ -72,7 +72,7 @@ Function<dim, RangeNumberType>::value(const Point<dim> &,
 
 template <int dim, typename RangeNumberType>
 void
-Function<dim, RangeNumberType>::vector_value(const Point<dim> &       p,
+Function<dim, RangeNumberType>::vector_value(const Point<dim>        &p,
                                              Vector<RangeNumberType> &v) const
 {
   AssertDimension(v.size(), this->n_components);
@@ -85,7 +85,7 @@ template <int dim, typename RangeNumberType>
 void
 Function<dim, RangeNumberType>::value_list(
   const std::vector<Point<dim>> &points,
-  std::vector<RangeNumberType> values,
+  std::vector<RangeNumberType>  &values,
   const unsigned int             component) const
 {
   // check whether component is in the valid range is up to the derived
@@ -101,7 +101,7 @@ Function<dim, RangeNumberType>::value_list(
 template <int dim, typename RangeNumberType>
 void
 Function<dim, RangeNumberType>::vector_value_list(
-  const std::vector<Point<dim>> &       points,
+  const std::vector<Point<dim>>        &points,
   std::vector<Vector<RangeNumberType>> &values) const
 {
   // check whether component is in the valid range is up to the derived
@@ -117,7 +117,7 @@ Function<dim, RangeNumberType>::vector_value_list(
 template <int dim, typename RangeNumberType>
 void
 Function<dim, RangeNumberType>::vector_values(
-  const std::vector<Point<dim>> &            points,
+  const std::vector<Point<dim>>             &points,
   std::vector<std::vector<RangeNumberType>> &values) const
 {
   const unsigned int n = this->n_components;
@@ -140,7 +140,7 @@ Function<dim, RangeNumberType>::gradient(const Point<dim> &,
 template <int dim, typename RangeNumberType>
 void
 Function<dim, RangeNumberType>::vector_gradient(
-  const Point<dim> &                            p,
+  const Point<dim>                             &p,
   std::vector<Tensor<1, dim, RangeNumberType>> &v) const
 {
   AssertDimension(v.size(), this->n_components);
@@ -152,7 +152,7 @@ Function<dim, RangeNumberType>::vector_gradient(
 template <int dim, typename RangeNumberType>
 void
 Function<dim, RangeNumberType>::gradient_list(
-  const std::vector<Point<dim>> &               points,
+  const std::vector<Point<dim>>                &points,
   std::vector<Tensor<1, dim, RangeNumberType>> &gradients,
   const unsigned int                            component) const
 {
@@ -167,7 +167,7 @@ Function<dim, RangeNumberType>::gradient_list(
 template <int dim, typename RangeNumberType>
 void
 Function<dim, RangeNumberType>::vector_gradient_list(
-  const std::vector<Point<dim>> &                            points,
+  const std::vector<Point<dim>>                             &points,
   std::vector<std::vector<Tensor<1, dim, RangeNumberType>>> &gradients) const
 {
   Assert(gradients.size() == points.size(),
@@ -185,7 +185,7 @@ Function<dim, RangeNumberType>::vector_gradient_list(
 template <int dim, typename RangeNumberType>
 void
 Function<dim, RangeNumberType>::vector_gradients(
-  const std::vector<Point<dim>> &                            points,
+  const std::vector<Point<dim>>                             &points,
   std::vector<std::vector<Tensor<1, dim, RangeNumberType>>> &values) const
 {
   const unsigned int n = this->n_components;
@@ -221,7 +221,7 @@ template <int dim, typename RangeNumberType>
 void
 Function<dim, RangeNumberType>::laplacian_list(
   const std::vector<Point<dim>> &points,
-  std::vector<RangeNumberType> laplacians,
+  std::vector<RangeNumberType>  &laplacians,
   const unsigned int             component) const
 {
   // check whether component is in the valid range is up to the derived
@@ -237,7 +237,7 @@ Function<dim, RangeNumberType>::laplacian_list(
 template <int dim, typename RangeNumberType>
 void
 Function<dim, RangeNumberType>::vector_laplacian_list(
-  const std::vector<Point<dim>> &       points,
+  const std::vector<Point<dim>>        &points,
   std::vector<Vector<RangeNumberType>> &laplacians) const
 {
   // check whether component is in the valid range is up to the derived
@@ -263,7 +263,7 @@ Function<dim, RangeNumberType>::hessian(const Point<dim> &,
 template <int dim, typename RangeNumberType>
 void
 Function<dim, RangeNumberType>::vector_hessian(
-  const Point<dim> &                                     p,
+  const Point<dim>                                      &p,
   std::vector<SymmetricTensor<2, dim, RangeNumberType>> &v) const
 {
   AssertDimension(v.size(), this->n_components);
@@ -275,7 +275,7 @@ Function<dim, RangeNumberType>::vector_hessian(
 template <int dim, typename RangeNumberType>
 void
 Function<dim, RangeNumberType>::hessian_list(
-  const std::vector<Point<dim>> &                        points,
+  const std::vector<Point<dim>>                         &points,
   std::vector<SymmetricTensor<2, dim, RangeNumberType>> &hessians,
   const unsigned int                                     component) const
 {
@@ -290,7 +290,7 @@ Function<dim, RangeNumberType>::hessian_list(
 template <int dim, typename RangeNumberType>
 void
 Function<dim, RangeNumberType>::vector_hessian_list(
-  const std::vector<Point<dim>> &                                     points,
+  const std::vector<Point<dim>>                                      &points,
   std::vector<std::vector<SymmetricTensor<2, dim, RangeNumberType>>> &hessians)
   const
 {
@@ -400,7 +400,7 @@ namespace Functions
   void
   ConstantFunction<dim, RangeNumberType>::value_list(
     const std::vector<Point<dim>> &points,
-    std::vector<RangeNumberType> return_values,
+    std::vector<RangeNumberType>  &return_values,
     const unsigned int             component) const
   {
     // To avoid warning of unused parameter
@@ -419,7 +419,7 @@ namespace Functions
   template <int dim, typename RangeNumberType>
   void
   ConstantFunction<dim, RangeNumberType>::vector_value_list(
-    const std::vector<Point<dim>> &       points,
+    const std::vector<Point<dim>>        &points,
     std::vector<Vector<RangeNumberType>> &return_values) const
   {
     Assert(return_values.size() == points.size(),
@@ -476,7 +476,7 @@ namespace Functions
   template <int dim, typename RangeNumberType>
   void
   ConstantFunction<dim, RangeNumberType>::gradient_list(
-    const std::vector<Point<dim>> &               points,
+    const std::vector<Point<dim>>                &points,
     std::vector<Tensor<1, dim, RangeNumberType>> &gradients,
     const unsigned int /*component*/) const
   {
@@ -492,7 +492,7 @@ namespace Functions
   template <int dim, typename RangeNumberType>
   void
   ConstantFunction<dim, RangeNumberType>::vector_gradient_list(
-    const std::vector<Point<dim>> &                            points,
+    const std::vector<Point<dim>>                             &points,
     std::vector<std::vector<Tensor<1, dim, RangeNumberType>>> &gradients) const
   {
     Assert(gradients.size() == points.size(),
@@ -546,7 +546,7 @@ namespace Functions
   template <int dim, typename RangeNumberType>
   RangeNumberType
   IdentityFunction<dim, RangeNumberType>::value(
-    const Point<dim> p,
+    const Point<dim>  &p,
     const unsigned int component) const
   {
     AssertIndexRange(component, this->n_components);
@@ -662,7 +662,7 @@ ComponentSelectFunction<dim, RangeNumberType>::vector_value(
 template <int dim, typename RangeNumberType>
 void
 ComponentSelectFunction<dim, RangeNumberType>::vector_value_list(
-  const std::vector<Point<dim>> &       points,
+  const std::vector<Point<dim>>        &points,
   std::vector<Vector<RangeNumberType>> &values) const
 {
   Assert(values.size() == points.size(),
@@ -702,7 +702,7 @@ ScalarFunctionFromFunctionObject<dim, RangeNumberType>::
 template <int dim, typename RangeNumberType>
 RangeNumberType
 ScalarFunctionFromFunctionObject<dim, RangeNumberType>::value(
-  const Point<dim> p,
+  const Point<dim>  &p,
   const unsigned int component) const
 {
   (void)component;
@@ -731,7 +731,7 @@ VectorFunctionFromScalarFunctionObject<dim, RangeNumberType>::
 template <int dim, typename RangeNumberType>
 RangeNumberType
 VectorFunctionFromScalarFunctionObject<dim, RangeNumberType>::value(
-  const Point<dim> p,
+  const Point<dim>  &p,
   const unsigned int component) const
 {
   AssertIndexRange(component, this->n_components);
@@ -747,7 +747,7 @@ VectorFunctionFromScalarFunctionObject<dim, RangeNumberType>::value(
 template <int dim, typename RangeNumberType>
 void
 VectorFunctionFromScalarFunctionObject<dim, RangeNumberType>::vector_value(
-  const Point<dim> &       p,
+  const Point<dim>        &p,
   Vector<RangeNumberType> &values) const
 {
   AssertDimension(values.size(), this->n_components);
@@ -784,7 +784,7 @@ VectorFunctionFromTensorFunction<dim, RangeNumberType>::
 template <int dim, typename RangeNumberType>
 inline RangeNumberType
 VectorFunctionFromTensorFunction<dim, RangeNumberType>::value(
-  const Point<dim> p,
+  const Point<dim>  &p,
   const unsigned int component) const
 {
   AssertIndexRange(component, this->n_components);
@@ -808,7 +808,7 @@ VectorFunctionFromTensorFunction<dim, RangeNumberType>::value(
 template <int dim, typename RangeNumberType>
 inline void
 VectorFunctionFromTensorFunction<dim, RangeNumberType>::vector_value(
-  const Point<dim> &       p,
+  const Point<dim>        &p,
   Vector<RangeNumberType> &values) const
 {
   Assert(values.size() == this->n_components,
@@ -840,7 +840,7 @@ VectorFunctionFromTensorFunction<dim, RangeNumberType>::vector_value(
 template <int dim, typename RangeNumberType>
 void
 VectorFunctionFromTensorFunction<dim, RangeNumberType>::vector_value_list(
-  const std::vector<Point<dim>> &       points,
+  const std::vector<Point<dim>>        &points,
   std::vector<Vector<RangeNumberType>> &value_list) const
 {
   Assert(value_list.size() == points.size(),
@@ -856,7 +856,7 @@ VectorFunctionFromTensorFunction<dim, RangeNumberType>::vector_value_list(
 template <int dim, typename RangeNumberType>
 inline Tensor<1, dim, RangeNumberType>
 VectorFunctionFromTensorFunction<dim, RangeNumberType>::gradient(
-  const Point<dim> p,
+  const Point<dim>  &p,
   const unsigned int component) const
 {
   AssertIndexRange(component, this->n_components);
@@ -880,7 +880,7 @@ VectorFunctionFromTensorFunction<dim, RangeNumberType>::gradient(
 template <int dim, typename RangeNumberType>
 void
 VectorFunctionFromTensorFunction<dim, RangeNumberType>::vector_gradient(
-  const Point<dim> &                            p,
+  const Point<dim>                             &p,
   std::vector<Tensor<1, dim, RangeNumberType>> &gradients) const
 {
   AssertDimension(gradients.size(), this->n_components);
@@ -893,7 +893,7 @@ VectorFunctionFromTensorFunction<dim, RangeNumberType>::vector_gradient(
 template <int dim, typename RangeNumberType>
 void
 VectorFunctionFromTensorFunction<dim, RangeNumberType>::gradient_list(
-  const std::vector<Point<dim>> &               points,
+  const std::vector<Point<dim>>                &points,
   std::vector<Tensor<1, dim, RangeNumberType>> &gradients,
   const unsigned int                            component) const
 {
@@ -910,7 +910,7 @@ VectorFunctionFromTensorFunction<dim, RangeNumberType>::gradient_list(
 template <int dim, typename RangeNumberType>
 void
 VectorFunctionFromTensorFunction<dim, RangeNumberType>::vector_gradient_list(
-  const std::vector<Point<dim>> &                            points,
+  const std::vector<Point<dim>>                             &points,
   std::vector<std::vector<Tensor<1, dim, RangeNumberType>>> &gradients) const
 {
   Assert(gradients.size() == points.size(),
@@ -928,7 +928,7 @@ VectorFunctionFromTensorFunction<dim, RangeNumberType>::vector_gradient_list(
 template <int dim, typename RangeNumberType>
 void
 VectorFunctionFromTensorFunction<dim, RangeNumberType>::vector_gradients(
-  const std::vector<Point<dim>> &                            points,
+  const std::vector<Point<dim>>                             &points,
   std::vector<std::vector<Tensor<1, dim, RangeNumberType>>> &gradients) const
 {
   const unsigned int n = this->n_components;
@@ -965,7 +965,7 @@ FunctionFromFunctionObjects<dim, RangeNumberType>::FunctionFromFunctionObjects(
   const std::vector<std::function<RangeNumberType(const Point<dim> &)>> &values,
   const std::vector<
     std::function<Tensor<1, dim, RangeNumberType>(const Point<dim> &)>>
-    &          gradients,
+              &gradients,
   const double initial_time)
   : Function<dim, RangeNumberType>(values.size(), initial_time)
   , function_values(values)
@@ -977,7 +977,7 @@ FunctionFromFunctionObjects<dim, RangeNumberType>::FunctionFromFunctionObjects(
 template <int dim, typename RangeNumberType>
 RangeNumberType
 FunctionFromFunctionObjects<dim, RangeNumberType>::value(
-  const Point<dim> p,
+  const Point<dim>  &p,
   const unsigned int component) const
 {
   AssertIndexRange(component, this->n_components);
@@ -992,7 +992,7 @@ FunctionFromFunctionObjects<dim, RangeNumberType>::value(
 template <int dim, typename RangeNumberType>
 Tensor<1, dim, RangeNumberType>
 FunctionFromFunctionObjects<dim, RangeNumberType>::gradient(
-  const Point<dim> p,
+  const Point<dim>  &p,
   const unsigned int component) const
 {
   AssertIndexRange(component, this->n_components);
index e4299102888f60b3bb7b894294992f9a02f3d128..42a0ddfa0c779dcdac04a103c372f39ce201e55a 100644 (file)
@@ -43,21 +43,21 @@ namespace Functions
             const Point<dim>   center = Point<dim>());
 
     virtual double
-    value(const Point<dim> points,
+    value(const Point<dim>  &points,
           const unsigned int component = 0) const override;
 
     virtual void
     value_list(const std::vector<Point<dim>> &points,
-               std::vector<double> &          values,
+               std::vector<double>           &values,
                const unsigned int             component = 0) const override;
 
     virtual Tensor<1, dim>
-    gradient(const Point<dim> p,
+    gradient(const Point<dim>  &p,
              const unsigned int component = 0) const override;
 
     virtual void
     gradient_list(const std::vector<Point<dim>> &points,
-                  std::vector<Tensor<1, dim>> &  gradients,
+                  std::vector<Tensor<1, dim>>   &gradients,
                   const unsigned int             component = 0) const override;
 
   private:
index 5ce29200693cfcbe8356f539a66aeafe487c0408..e3f2314ae7cf5437f5bfbe3cf86673ca9c556f67 100644 (file)
@@ -85,19 +85,19 @@ namespace Functions
             const std::vector<double> &interpolation_values);
 
     virtual double
-    value(const Point<dim> point,
+    value(const Point<dim>  &point,
           const unsigned int component = 0) const override;
 
     virtual Tensor<1, dim>
-    gradient(const Point<dim> p,
+    gradient(const Point<dim>  &p,
              const unsigned int component = 0) const override;
 
     virtual SymmetricTensor<2, dim>
-    hessian(const Point<dim> p,
+    hessian(const Point<dim>  &p,
             const unsigned int component = 0) const override;
 
     virtual double
-    laplacian(const Point<dim> p,
+    laplacian(const Point<dim>  &p,
               const unsigned int component = 0) const override;
 
     /**
index b9c7de24dc342ebdc7309feaf54aa69dda685613..27ce9f72c2e7850a49fa8c1c0818130f1a58a0c8 100644 (file)
@@ -50,7 +50,7 @@ public:
    * the difference formula.
    */
   FunctionDerivative(const Function<dim> &f,
-                     const Point<dim> &   direction,
+                     const Point<dim>    &direction,
                      const double         h = 1.e-6);
 
   /**
@@ -65,7 +65,7 @@ public:
    * The number of quadrature point must still be the same, when values are
    * accessed.
    */
-  FunctionDerivative(const Function<dim> &          f,
+  FunctionDerivative(const Function<dim>           &f,
                      const std::vector<Point<dim>> &direction,
                      const double                   h = 1.e-6);
 
@@ -94,7 +94,7 @@ public:
 
   virtual void
   value_list(const std::vector<Point<dim>> &points,
-             std::vector<double> &          values,
+             std::vector<double>           &values,
              const unsigned int             component = 0) const override;
 
   /**
index bf3e239ec22fb2b0c663bc5e173ca1f3b12a8af3..3a9baf46db72612a1719728a0e0431fe12261c36 100644 (file)
@@ -57,24 +57,24 @@ namespace Functions
     vector_value(const Point<dim> &p, Vector<double> &values) const override;
     virtual void
     value_list(const std::vector<Point<dim>> &points,
-               std::vector<double> &          values,
+               std::vector<double>           &values,
                const unsigned int             component = 0) const override;
     virtual Tensor<1, dim>
-    gradient(const Point<dim> p,
+    gradient(const Point<dim>  &p,
              const unsigned int component = 0) const override;
     virtual void
-    vector_gradient(const Point<dim> &           p,
+    vector_gradient(const Point<dim>            &p,
                     std::vector<Tensor<1, dim>> &gradient) const override;
     virtual void
     gradient_list(const std::vector<Point<dim>> &points,
-                  std::vector<Tensor<1, dim>> &  gradients,
+                  std::vector<Tensor<1, dim>>   &gradients,
                   const unsigned int             component = 0) const override;
     virtual double
-    laplacian(const Point<dim> p,
+    laplacian(const Point<dim>  &p,
               const unsigned int component = 0) const override;
     virtual void
     laplacian_list(const std::vector<Point<dim>> &points,
-                   std::vector<double> &          values,
+                   std::vector<double>           &values,
                    const unsigned int             component = 0) const override;
   };
 
@@ -95,20 +95,20 @@ namespace Functions
 
     virtual void
     value_list(const std::vector<Point<dim>> &points,
-               std::vector<double> &          values,
+               std::vector<double>           &values,
                const unsigned int             component = 0) const override;
 
     virtual void
     vector_value_list(const std::vector<Point<dim>> &points,
-                      std::vector<Vector<double>> &  values) const override;
+                      std::vector<Vector<double>>   &values) const override;
 
     virtual Tensor<1, dim>
-    gradient(const Point<dim> p,
+    gradient(const Point<dim>  &p,
              const unsigned int component = 0) const override;
 
     virtual void
     gradient_list(const std::vector<Point<dim>> &points,
-                  std::vector<Tensor<1, dim>> &  gradients,
+                  std::vector<Tensor<1, dim>>   &gradients,
                   const unsigned int             component = 0) const override;
 
     virtual void
@@ -120,7 +120,7 @@ namespace Functions
      * Laplacian of the function at one point.
      */
     virtual double
-    laplacian(const Point<dim> p,
+    laplacian(const Point<dim>  &p,
               const unsigned int component = 0) const override;
 
     /**
@@ -128,7 +128,7 @@ namespace Functions
      */
     virtual void
     laplacian_list(const std::vector<Point<dim>> &points,
-                   std::vector<double> &          values,
+                   std::vector<double>           &values,
                    const unsigned int             component = 0) const override;
   };
 
@@ -169,14 +169,14 @@ namespace Functions
      */
     virtual void
     value_list(const std::vector<Point<dim>> &points,
-               std::vector<double> &          values,
+               std::vector<double>           &values,
                const unsigned int             component = 0) const override;
 
     /**
      * Gradient at a single point.
      */
     virtual Tensor<1, dim>
-    gradient(const Point<dim> p,
+    gradient(const Point<dim>  &p,
              const unsigned int component = 0) const override;
 
     /**
@@ -184,14 +184,14 @@ namespace Functions
      */
     virtual void
     gradient_list(const std::vector<Point<dim>> &points,
-                  std::vector<Tensor<1, dim>> &  gradients,
+                  std::vector<Tensor<1, dim>>   &gradients,
                   const unsigned int             component = 0) const override;
 
     /**
      * Laplacian at a single point.
      */
     virtual double
-    laplacian(const Point<dim> p,
+    laplacian(const Point<dim>  &p,
               const unsigned int component = 0) const override;
 
     /**
@@ -199,7 +199,7 @@ namespace Functions
      */
     virtual void
     laplacian_list(const std::vector<Point<dim>> &points,
-                   std::vector<double> &          values,
+                   std::vector<double>           &values,
                    const unsigned int             component = 0) const override;
 
   private:
@@ -230,43 +230,43 @@ namespace Functions
 
     virtual void
     value_list(const std::vector<Point<dim>> &points,
-               std::vector<double> &          values,
+               std::vector<double>           &values,
                const unsigned int             component = 0) const override;
 
     virtual void
     vector_value_list(const std::vector<Point<dim>> &points,
-                      std::vector<Vector<double>> &  values) const override;
+                      std::vector<Vector<double>>   &values) const override;
 
     virtual Tensor<1, dim>
-    gradient(const Point<dim> p,
+    gradient(const Point<dim>  &p,
              const unsigned int component = 0) const override;
 
     virtual void
     gradient_list(const std::vector<Point<dim>> &points,
-                  std::vector<Tensor<1, dim>> &  gradients,
+                  std::vector<Tensor<1, dim>>   &gradients,
                   const unsigned int             component = 0) const override;
 
     virtual double
-    laplacian(const Point<dim> p,
+    laplacian(const Point<dim>  &p,
               const unsigned int component = 0) const override;
 
     virtual void
     laplacian_list(const std::vector<Point<dim>> &points,
-                   std::vector<double> &          values,
+                   std::vector<double>           &values,
                    const unsigned int             component = 0) const override;
 
     /**
      * Second derivatives at a single point.
      */
     virtual SymmetricTensor<2, dim>
-    hessian(const Point<dim> p,
+    hessian(const Point<dim>  &p,
             const unsigned int component = 0) const override;
 
     /**
      * Second derivatives at multiple points.
      */
     virtual void
-    hessian_list(const std::vector<Point<dim>> &       points,
+    hessian_list(const std::vector<Point<dim>>        &points,
                  std::vector<SymmetricTensor<2, dim>> &hessians,
                  const unsigned int component = 0) const override;
   };
@@ -298,24 +298,24 @@ namespace Functions
     vector_value(const Point<dim> &p, Vector<double> &values) const override;
     virtual void
     value_list(const std::vector<Point<dim>> &points,
-               std::vector<double> &          values,
+               std::vector<double>           &values,
                const unsigned int             component) const override;
 
     virtual void
     vector_value_list(const std::vector<Point<dim>> &points,
-                      std::vector<Vector<double>> &  values) const override;
+                      std::vector<Vector<double>>   &values) const override;
 
     virtual Tensor<1, dim>
     gradient(const Point<dim> &p, const unsigned int component) const override;
 
     virtual void
     gradient_list(const std::vector<Point<dim>> &points,
-                  std::vector<Tensor<1, dim>> &  gradients,
+                  std::vector<Tensor<1, dim>>   &gradients,
                   const unsigned int             component) const override;
 
     virtual void
     vector_gradient_list(
-      const std::vector<Point<dim>> &           points,
+      const std::vector<Point<dim>>            &points,
       std::vector<std::vector<Tensor<1, dim>>> &gradients) const override;
 
     virtual double
@@ -344,14 +344,14 @@ namespace Functions
      */
     virtual void
     value_list(const std::vector<Point<dim>> &points,
-               std::vector<double> &          values,
+               std::vector<double>           &values,
                const unsigned int             component = 0) const override;
 
     /**
      * Gradient at a single point.
      */
     virtual Tensor<1, dim>
-    gradient(const Point<dim> p,
+    gradient(const Point<dim>  &p,
              const unsigned int component = 0) const override;
 
     /**
@@ -359,14 +359,14 @@ namespace Functions
      */
     virtual void
     gradient_list(const std::vector<Point<dim>> &points,
-                  std::vector<Tensor<1, dim>> &  gradients,
+                  std::vector<Tensor<1, dim>>   &gradients,
                   const unsigned int             component = 0) const override;
 
     /**
      * Laplacian at a single point.
      */
     virtual double
-    laplacian(const Point<dim> p,
+    laplacian(const Point<dim>  &p,
               const unsigned int component = 0) const override;
 
     /**
@@ -374,7 +374,7 @@ namespace Functions
      */
     virtual void
     laplacian_list(const std::vector<Point<dim>> &points,
-                   std::vector<double> &          values,
+                   std::vector<double>           &values,
                    const unsigned int             component = 0) const override;
   };
 
@@ -415,7 +415,7 @@ namespace Functions
 
     virtual void
     value_list(const std::vector<Point<2>> &points,
-               std::vector<double> &        values,
+               std::vector<double>         &values,
                const unsigned int           component = 0) const override;
 
     virtual void
@@ -423,12 +423,12 @@ namespace Functions
                       std::vector<Vector<double>> &values) const override;
 
     virtual Tensor<1, 2>
-    gradient(const Point<2> &   p,
+    gradient(const Point<2>    &p,
              const unsigned int component = 0) const override;
 
     virtual void
     gradient_list(const std::vector<Point<2>> &points,
-                  std::vector<Tensor<1, 2>> &  gradients,
+                  std::vector<Tensor<1, 2>>   &gradients,
                   const unsigned int           component = 0) const override;
 
     virtual void
@@ -437,12 +437,12 @@ namespace Functions
       std::vector<std::vector<Tensor<1, 2>>> &) const override;
 
     virtual double
-    laplacian(const Point<2> &   p,
+    laplacian(const Point<2>    &p,
               const unsigned int component = 0) const override;
 
     virtual void
     laplacian_list(const std::vector<Point<2>> &points,
-                   std::vector<double> &        values,
+                   std::vector<double>         &values,
                    const unsigned int           component = 0) const override;
   };
 
@@ -468,7 +468,7 @@ namespace Functions
 
     virtual void
     value_list(const std::vector<Point<2>> &points,
-               std::vector<double> &        values,
+               std::vector<double>         &values,
                const unsigned int           component) const override;
 
     virtual void
@@ -480,7 +480,7 @@ namespace Functions
 
     virtual void
     gradient_list(const std::vector<Point<2>> &points,
-                  std::vector<Tensor<1, 2>> &  gradients,
+                  std::vector<Tensor<1, 2>>   &gradients,
                   const unsigned int           component) const override;
 
     virtual void
@@ -493,7 +493,7 @@ namespace Functions
 
     virtual void
     laplacian_list(const std::vector<Point<2>> &points,
-                   std::vector<double> &        values,
+                   std::vector<double>         &values,
                    const unsigned int           component) const override;
   };
 
@@ -513,20 +513,20 @@ namespace Functions
 
     virtual void
     value_list(const std::vector<Point<dim>> &points,
-               std::vector<double> &          values,
+               std::vector<double>           &values,
                const unsigned int             component = 0) const override;
 
     virtual void
     vector_value_list(const std::vector<Point<dim>> &points,
-                      std::vector<Vector<double>> &  values) const override;
+                      std::vector<Vector<double>>   &values) const override;
 
     virtual Tensor<1, dim>
-    gradient(const Point<dim> p,
+    gradient(const Point<dim>  &p,
              const unsigned int component = 0) const override;
 
     virtual void
     gradient_list(const std::vector<Point<dim>> &points,
-                  std::vector<Tensor<1, dim>> &  gradients,
+                  std::vector<Tensor<1, dim>>   &gradients,
                   const unsigned int             component = 0) const override;
 
     virtual void
@@ -535,12 +535,12 @@ namespace Functions
       std::vector<std::vector<Tensor<1, dim>>> &) const override;
 
     virtual double
-    laplacian(const Point<dim> p,
+    laplacian(const Point<dim>  &p,
               const unsigned int component = 0) const override;
 
     virtual void
     laplacian_list(const std::vector<Point<dim>> &points,
-                   std::vector<double> &          values,
+                   std::vector<double>           &values,
                    const unsigned int             component = 0) const override;
   };
 
@@ -558,7 +558,7 @@ namespace Functions
 
     virtual void
     value_list(const std::vector<Point<2>> &points,
-               std::vector<double> &        values,
+               std::vector<double>         &values,
                const unsigned int           component = 0) const override;
 
     virtual void
@@ -566,12 +566,12 @@ namespace Functions
                       std::vector<Vector<double>> &values) const override;
 
     virtual Tensor<1, 2>
-    gradient(const Point<2> &   p,
+    gradient(const Point<2>    &p,
              const unsigned int component = 0) const override;
 
     virtual void
     gradient_list(const std::vector<Point<2>> &points,
-                  std::vector<Tensor<1, 2>> &  gradients,
+                  std::vector<Tensor<1, 2>>   &gradients,
                   const unsigned int           component = 0) const override;
 
     virtual void
@@ -580,12 +580,12 @@ namespace Functions
       std::vector<std::vector<Tensor<1, 2>>> &) const override;
 
     virtual double
-    laplacian(const Point<2> &   p,
+    laplacian(const Point<2>    &p,
               const unsigned int component = 0) const override;
 
     virtual void
     laplacian_list(const std::vector<Point<2>> &points,
-                   std::vector<double> &        values,
+                   std::vector<double>         &values,
                    const unsigned int           component = 0) const override;
   };
 
@@ -626,14 +626,14 @@ namespace Functions
      */
     virtual void
     value_list(const std::vector<Point<dim>> &points,
-               std::vector<double> &          values,
+               std::vector<double>           &values,
                const unsigned int             component = 0) const override;
 
     /**
      * Gradient at one point.
      */
     virtual Tensor<1, dim>
-    gradient(const Point<dim> p,
+    gradient(const Point<dim>  &p,
              const unsigned int component = 0) const override;
 
     /**
@@ -641,14 +641,14 @@ namespace Functions
      */
     virtual void
     gradient_list(const std::vector<Point<dim>> &points,
-                  std::vector<Tensor<1, dim>> &  gradients,
+                  std::vector<Tensor<1, dim>>   &gradients,
                   const unsigned int             component = 0) const override;
 
     /**
      * Laplacian of the function at one point.
      */
     virtual double
-    laplacian(const Point<dim> p,
+    laplacian(const Point<dim>  &p,
               const unsigned int component = 0) const override;
 
     /**
@@ -656,7 +656,7 @@ namespace Functions
      */
     virtual void
     laplacian_list(const std::vector<Point<dim>> &points,
-                   std::vector<double> &          values,
+                   std::vector<double>           &values,
                    const unsigned int             component = 0) const override;
 
     /**
@@ -732,14 +732,14 @@ namespace Functions
      * given point.
      */
     virtual Tensor<1, dim>
-    gradient(const Point<dim> p,
+    gradient(const Point<dim>  &p,
              const unsigned int component = 0) const override;
 
     /**
      * Compute the Laplacian of a given component at point <tt>p</tt>.
      */
     virtual double
-    laplacian(const Point<dim> p,
+    laplacian(const Point<dim>  &p,
               const unsigned int component = 0) const override;
 
   private:
@@ -786,14 +786,14 @@ namespace Functions
      * given point.
      */
     virtual Tensor<1, dim>
-    gradient(const Point<dim> p,
+    gradient(const Point<dim>  &p,
              const unsigned int component = 0) const override;
 
     /**
      * Compute the Laplacian of a given component at point <tt>p</tt>.
      */
     virtual double
-    laplacian(const Point<dim> p,
+    laplacian(const Point<dim>  &p,
               const unsigned int component = 0) const override;
 
   private:
@@ -821,7 +821,7 @@ namespace Functions
      * argument.
      */
     FourierSineSum(const std::vector<Point<dim>> &fourier_coefficients,
-                   const std::vector<double> &    weights);
+                   const std::vector<double>     &weights);
 
     /**
      * Return the value of the function at the given point. Unless there is
@@ -837,14 +837,14 @@ namespace Functions
      * given point.
      */
     virtual Tensor<1, dim>
-    gradient(const Point<dim> p,
+    gradient(const Point<dim>  &p,
              const unsigned int component = 0) const override;
 
     /**
      * Compute the Laplacian of a given component at point <tt>p</tt>.
      */
     virtual double
-    laplacian(const Point<dim> p,
+    laplacian(const Point<dim>  &p,
               const unsigned int component = 0) const override;
 
   private:
@@ -875,7 +875,7 @@ namespace Functions
      * argument.
      */
     FourierCosineSum(const std::vector<Point<dim>> &fourier_coefficients,
-                     const std::vector<double> &    weights);
+                     const std::vector<double>     &weights);
 
     /**
      * Return the value of the function at the given point. Unless there is
@@ -891,14 +891,14 @@ namespace Functions
      * given point.
      */
     virtual Tensor<1, dim>
-    gradient(const Point<dim> p,
+    gradient(const Point<dim>  &p,
              const unsigned int component = 0) const override;
 
     /**
      * Compute the Laplacian of a given component at point <tt>p</tt>.
      */
     virtual double
-    laplacian(const Point<dim> p,
+    laplacian(const Point<dim>  &p,
               const unsigned int component = 0) const override;
 
   private:
@@ -1048,7 +1048,7 @@ namespace Functions
      */
     CutOffFunctionTensorProduct(
       double             radius       = 1.0,
-      const Point<dim> center       = Point<dim>(),
+      const Point<dim>  &center       = Point<dim>(),
       const unsigned int n_components = 1,
       const unsigned int select       = CutOffFunctionBase<dim>::no_component,
       const bool         integrate_to_one = false);
@@ -1083,7 +1083,7 @@ namespace Functions
      * Function gradient at one point.
      */
     virtual Tensor<1, dim>
-    gradient(const Point<dim> p,
+    gradient(const Point<dim>  &p,
              const unsigned int component = 0) const override;
 
   private:
@@ -1130,7 +1130,7 @@ namespace Functions
      */
     virtual void
     value_list(const std::vector<Point<dim>> &points,
-               std::vector<double> &          values,
+               std::vector<double>           &values,
                const unsigned int             component = 0) const override;
 
     /**
@@ -1138,7 +1138,7 @@ namespace Functions
      */
     virtual void
     vector_value_list(const std::vector<Point<dim>> &points,
-                      std::vector<Vector<double>> &  values) const override;
+                      std::vector<Vector<double>>   &values) const override;
   };
 
 
@@ -1178,7 +1178,7 @@ namespace Functions
      */
     virtual void
     value_list(const std::vector<Point<dim>> &points,
-               std::vector<double> &          values,
+               std::vector<double>           &values,
                const unsigned int             component = 0) const override;
 
     /**
@@ -1186,7 +1186,7 @@ namespace Functions
      */
     virtual void
     vector_value_list(const std::vector<Point<dim>> &points,
-                      std::vector<Vector<double>> &  values) const override;
+                      std::vector<Vector<double>>   &values) const override;
   };
 
 
@@ -1227,7 +1227,7 @@ namespace Functions
      */
     virtual void
     value_list(const std::vector<Point<dim>> &points,
-               std::vector<double> &          values,
+               std::vector<double>           &values,
                const unsigned int             component = 0) const override;
 
     /**
@@ -1235,13 +1235,13 @@ namespace Functions
      */
     virtual void
     vector_value_list(const std::vector<Point<dim>> &points,
-                      std::vector<Vector<double>> &  values) const override;
+                      std::vector<Vector<double>>   &values) const override;
 
     /**
      * Function gradient at one point.
      */
     virtual Tensor<1, dim>
-    gradient(const Point<dim> p,
+    gradient(const Point<dim>  &p,
              const unsigned int component = 0) const override;
   };
 
@@ -1283,7 +1283,7 @@ namespace Functions
      */
     virtual void
     value_list(const std::vector<Point<dim>> &points,
-               std::vector<double> &          values,
+               std::vector<double>           &values,
                const unsigned int             component = 0) const override;
 
     /**
@@ -1291,13 +1291,13 @@ namespace Functions
      */
     virtual void
     vector_value_list(const std::vector<Point<dim>> &points,
-                      std::vector<Vector<double>> &  values) const override;
+                      std::vector<Vector<double>>   &values) const override;
 
     /**
      * Function gradient at one point.
      */
     virtual Tensor<1, dim>
-    gradient(const Point<dim> p,
+    gradient(const Point<dim>  &p,
              const unsigned int component = 0) const override;
   };
 
@@ -1349,14 +1349,14 @@ namespace Functions
      */
     virtual void
     value_list(const std::vector<Point<dim>> &points,
-               std::vector<Number> &          values,
+               std::vector<Number>           &values,
                const unsigned int             component = 0) const override;
 
     /**
      * Function gradient at one point.
      */
     virtual Tensor<1, dim, Number>
-    gradient(const Point<dim> p,
+    gradient(const Point<dim>  &p,
              const unsigned int component = 0) const override;
 
   private:
@@ -1472,7 +1472,7 @@ namespace Functions
      */
     InterpolatedTensorProductGridData(
       const std::array<std::vector<double>, dim> &coordinate_values,
-      const Table<dim, double> &                  data_values);
+      const Table<dim, double>                   &data_values);
 
     /**
      * Like the previous constructor, but take the arguments as rvalue
@@ -1485,7 +1485,7 @@ namespace Functions
      */
     InterpolatedTensorProductGridData(
       std::array<std::vector<double>, dim> &&coordinate_values,
-      Table<dim, double> &&                  data_values);
+      Table<dim, double>                   &&data_values);
 
     /**
      * Compute the value of the function set by bilinear interpolation of the
@@ -1512,7 +1512,7 @@ namespace Functions
      * is extended by a constant and so its gradient is extended by 0.
      */
     virtual Tensor<1, dim>
-    gradient(const Point<dim> p,
+    gradient(const Point<dim>  &p,
              const unsigned int component = 0) const override;
 
     /**
@@ -1609,8 +1609,8 @@ namespace Functions
      */
     InterpolatedUniformGridData(
       const std::array<std::pair<double, double>, dim> &interval_endpoints,
-      const std::array<unsigned int, dim> &             n_subintervals,
-      const Table<dim, double> &                        data_values);
+      const std::array<unsigned int, dim>              &n_subintervals,
+      const Table<dim, double>                         &data_values);
 
     /**
      * Like the previous constructor, but take the arguments as rvalue
@@ -1623,8 +1623,8 @@ namespace Functions
      */
     InterpolatedUniformGridData(
       std::array<std::pair<double, double>, dim> &&interval_endpoints,
-      std::array<unsigned int, dim> &&             n_subintervals,
-      Table<dim, double> &&                        data_values);
+      std::array<unsigned int, dim>              &&n_subintervals,
+      Table<dim, double>                         &&data_values);
 
     /**
      * Compute the value of the function set by bilinear interpolation of the
@@ -1651,7 +1651,7 @@ namespace Functions
      *   by a constant whose gradient is then of course zero.
      */
     virtual Tensor<1, dim>
-    gradient(const Point<dim> p,
+    gradient(const Point<dim>  &p,
              const unsigned int component = 0) const override;
 
     /**
@@ -1709,7 +1709,7 @@ namespace Functions
      * x_{d}^{\alpha_{i,d}}$. The i-th element of the coefficients vector
      * contains the coefficient $a_{i}$ for the i-th monomial.
      */
-    Polynomial(const Table<2, double> &   exponents,
+    Polynomial(const Table<2, double>    &exponents,
                const std::vector<double> &coefficients);
 
     /**
@@ -1724,14 +1724,14 @@ namespace Functions
      */
     virtual void
     value_list(const std::vector<Point<dim>> &points,
-               std::vector<double> &          values,
+               std::vector<double>           &values,
                const unsigned int             component = 0) const override;
 
     /**
      * Function gradient at one point.
      */
     virtual Tensor<1, dim>
-    gradient(const Point<dim> p,
+    gradient(const Point<dim>  &p,
              const unsigned int component = 0) const override;
 
     /**
index d2654c2b1e67b6557ddb9f9af1f4917aadfb359a..8067fd2a7681d3a5a9cdb5c373a720ab219f7f6f 100644 (file)
@@ -309,9 +309,9 @@ public:
    * do not consider time.
    */
   virtual void
-  initialize(const std::string &             vars,
+  initialize(const std::string              &vars,
              const std::vector<std::string> &expressions,
-             const ConstMap &                constants,
+             const ConstMap                 &constants,
              const bool                      time_dependent = false) override;
 
   /**
@@ -324,7 +324,7 @@ public:
   void
   initialize(const std::string &vars,
              const std::string &expression,
-             const ConstMap &   constants,
+             const ConstMap    &constants,
              const bool         time_dependent = false);
 
   /**
index 46bc1ffb62b1cc098a35f6f91acb3383d46dfb52..a9c3fc9054a36f305e667d0ef81f29c9ecf8fa50 100644 (file)
@@ -66,11 +66,11 @@ namespace Functions
     value(const Point<dim> &point, const unsigned int component) const override;
 
     Tensor<1, dim>
-    gradient(const Point<dim> point,
+    gradient(const Point<dim>  &point,
              const unsigned int component) const override;
 
     SymmetricTensor<2, dim>
-    hessian(const Point<dim> point,
+    hessian(const Point<dim>  &point,
             const unsigned int component) const override;
 
   private:
@@ -120,13 +120,13 @@ namespace Functions
      */
     PointRestriction(const Function<dim + 1> &function,
                      const unsigned int       open_direction,
-                     const Point<dim> &       point);
+                     const Point<dim>        &point);
 
     double
     value(const Point<1> &point, const unsigned int component) const override;
 
     Tensor<1, 1>
-    gradient(const Point<1> &   point,
+    gradient(const Point<1>    &point,
              const unsigned int component) const override;
 
     SymmetricTensor<2, 1>
@@ -164,7 +164,7 @@ namespace internal
    */
   template <int dim>
   Point<dim + 1>
-  create_higher_dim_point(const Point<dim> point,
+  create_higher_dim_point(const Point<dim>  &point,
                           const unsigned int component_in_dim_plus_1,
                           const double       coordinate_value);
 } // namespace internal
index bca204379105843fa7b34917751e19899ad7dfb3..e2dc922894b2fcb26ea9787a82ac1eb290a0c09f 100644 (file)
@@ -55,7 +55,7 @@ namespace Functions
       Sphere(const Point<dim> &center = Point<dim>(), const double radius = 1);
 
       double
-      value(const Point<dim> point,
+      value(const Point<dim>  &point,
             const unsigned int component = 0) const override;
 
       /**
@@ -68,7 +68,7 @@ namespace Functions
        * singularity.
        */
       Tensor<1, dim>
-      gradient(const Point<dim> point,
+      gradient(const Point<dim>  &point,
                const unsigned int component = 0) const override;
 
       /**
@@ -81,7 +81,7 @@ namespace Functions
        * singularity.
        */
       SymmetricTensor<2, dim>
-      hessian(const Point<dim> point,
+      hessian(const Point<dim>  &point,
               const unsigned int component = 0) const override;
 
     private:
@@ -111,7 +111,7 @@ namespace Functions
       Plane(const Point<dim> &point, const Tensor<1, dim> &normal);
 
       double
-      value(const Point<dim> point,
+      value(const Point<dim>  &point,
             const unsigned int component = 0) const override;
 
       Tensor<1, dim>
@@ -153,13 +153,13 @@ namespace Functions
        * @param tolerance Tolerance of the distance computation.
        * @param max_iter Max. number of iteration of the distance computation algorithm.
        */
-      Ellipsoid(const Point<dim> &             center,
+      Ellipsoid(const Point<dim>              &center,
                 const std::array<double, dim> &radii,
                 const double                   tolerance = 1e-14,
                 const unsigned int             max_iter  = 10);
 
       double
-      value(const Point<dim> point,
+      value(const Point<dim>  &point,
             const unsigned int component = 0) const override;
 
       /**
@@ -254,7 +254,7 @@ namespace Functions
        * rectangle.
        */
       double
-      value(const Point<dim> p,
+      value(const Point<dim>  &p,
             const unsigned int component = 0) const override;
 
     private:
@@ -303,7 +303,7 @@ namespace Functions
        * disk.
        */
       double
-      value(const Point<dim> p,
+      value(const Point<dim>  &p,
             const unsigned int component = 0) const override;
 
     private:
index 6964e5e8cade80272dea6fe9c993f8f1e84592e8..2459155efe728a18684a83df27378141b11fc33b 100644 (file)
@@ -52,7 +52,7 @@ namespace Functions
      * quantities -- not as the components of a vector that will be
      * re-interpreted in a different coordinate system.
      */
-    Spherical(const Point<dim> center       = Point<dim>(),
+    Spherical(const Point<dim>  &center       = Point<dim>(),
               const unsigned int n_components = 1);
 
     /**
@@ -62,7 +62,7 @@ namespace Functions
      * calls svalue() with it, and returns the result.
      */
     virtual double
-    value(const Point<dim> point,
+    value(const Point<dim>  &point,
           const unsigned int component = 0) const override;
 
     /**
@@ -73,7 +73,7 @@ namespace Functions
      * coordinates.
      */
     virtual Tensor<1, dim>
-    gradient(const Point<dim> p,
+    gradient(const Point<dim>  &p,
              const unsigned int component = 0) const override;
 
     /**
@@ -84,7 +84,7 @@ namespace Functions
      * Cartesian coordinates.
      */
     virtual SymmetricTensor<2, dim>
-    hessian(const Point<dim> p,
+    hessian(const Point<dim>  &p,
             const unsigned int component = 0) const override;
 
     /**
index e7f3c179fb16250444203e03791b71c69e54bcf3..c43f7fb7643110eb1985ea1d73f01b2f38e23427 100644 (file)
@@ -59,9 +59,9 @@ namespace FunctionTools
   template <int dim>
   void
   taylor_estimate_function_bounds(
-    const Function<dim> &                       function,
-    const BoundingBox<dim> &                    box,
-    std::pair<double, double> &                 value_bounds,
+    const Function<dim>                        &function,
+    const BoundingBox<dim>                     &box,
+    std::pair<double, double>                  &value_bounds,
     std::array<std::pair<double, double>, dim> &gradient_bounds,
     const unsigned int                          component = 0);
 
index 02e0359a19b75e9859e490e27161fff3f2ff85ef..185a188fa071135b64337f4d83da30908d7770d3 100644 (file)
@@ -2247,7 +2247,7 @@ struct GeometryInfo
    * additional argument, defaulting to isotropic refinement of the face.
    */
   static unsigned int
-  child_cell_on_face(const RefinementCase<dim> &    ref_case,
+  child_cell_on_face(const RefinementCase<dim>     &ref_case,
                      const unsigned int             face,
                      const unsigned int             subface,
                      const bool                     face_orientation = true,
@@ -2444,7 +2444,7 @@ struct GeometryInfo
    * depends on the number of the child.
    */
   static Point<dim>
-  cell_to_child_coordinates(const Point<dim> &        p,
+  cell_to_child_coordinates(const Point<dim>         &p,
                             const unsigned int        child_index,
                             const RefinementCase<dim> refine_case =
                               RefinementCase<dim>::isotropic_refinement);
@@ -2455,7 +2455,7 @@ struct GeometryInfo
    * mother cell.
    */
   static Point<dim>
-  child_to_cell_coordinates(const Point<dim> &        p,
+  child_to_cell_coordinates(const Point<dim>         &p,
                             const unsigned int        child_index,
                             const RefinementCase<dim> refine_case =
                               RefinementCase<dim>::isotropic_refinement);
@@ -2673,15 +2673,15 @@ struct GeometryInfo
 
 template <>
 Tensor<1, 1>
-GeometryInfo<1>::d_linear_shape_function_gradient(const Point<1> &   xi,
+GeometryInfo<1>::d_linear_shape_function_gradient(const Point<1>    &xi,
                                                   const unsigned int i);
 template <>
 Tensor<1, 2>
-GeometryInfo<2>::d_linear_shape_function_gradient(const Point<2> &   xi,
+GeometryInfo<2>::d_linear_shape_function_gradient(const Point<2>    &xi,
                                                   const unsigned int i);
 template <>
 Tensor<1, 3>
-GeometryInfo<3>::d_linear_shape_function_gradient(const Point<3> &   xi,
+GeometryInfo<3>::d_linear_shape_function_gradient(const Point<3>    &xi,
                                                   const unsigned int i);
 
 
@@ -2867,7 +2867,7 @@ RefinementCase<dim>::serialize(Archive &ar, const unsigned int)
   // serialization can't deal with bitfields, so copy from/to a full sized
   // std::uint8_t
   std::uint8_t uchar_value = value;
-  ar &         uchar_value;
+  ar          &uchar_value;
   value = uchar_value;
 }
 
@@ -3003,7 +3003,7 @@ GeometryInfo<dim>::child_cell_from_point(const Point<dim> &)
 
 template <>
 inline Point<1>
-GeometryInfo<1>::cell_to_child_coordinates(const Point<1> &        p,
+GeometryInfo<1>::cell_to_child_coordinates(const Point<1>         &p,
                                            const unsigned int      child_index,
                                            const RefinementCase<1> refine_case)
 
@@ -3019,7 +3019,7 @@ GeometryInfo<1>::cell_to_child_coordinates(const Point<1> &        p,
 
 template <>
 inline Point<2>
-GeometryInfo<2>::cell_to_child_coordinates(const Point<2> &        p,
+GeometryInfo<2>::cell_to_child_coordinates(const Point<2>         &p,
                                            const unsigned int      child_index,
                                            const RefinementCase<2> refine_case)
 
@@ -3054,7 +3054,7 @@ GeometryInfo<2>::cell_to_child_coordinates(const Point<2> &        p,
 
 template <>
 inline Point<3>
-GeometryInfo<3>::cell_to_child_coordinates(const Point<3> &        p,
+GeometryInfo<3>::cell_to_child_coordinates(const Point<3>         &p,
                                            const unsigned int      child_index,
                                            const RefinementCase<3> refine_case)
 
@@ -3141,7 +3141,7 @@ GeometryInfo<dim>::cell_to_child_coordinates(
 
 template <>
 inline Point<1>
-GeometryInfo<1>::child_to_cell_coordinates(const Point<1> &        p,
+GeometryInfo<1>::child_to_cell_coordinates(const Point<1>         &p,
                                            const unsigned int      child_index,
                                            const RefinementCase<1> refine_case)
 
@@ -3157,7 +3157,7 @@ GeometryInfo<1>::child_to_cell_coordinates(const Point<1> &        p,
 
 template <>
 inline Point<3>
-GeometryInfo<3>::child_to_cell_coordinates(const Point<3> &        p,
+GeometryInfo<3>::child_to_cell_coordinates(const Point<3>         &p,
                                            const unsigned int      child_index,
                                            const RefinementCase<3> refine_case)
 
@@ -3230,7 +3230,7 @@ GeometryInfo<3>::child_to_cell_coordinates(const Point<3> &        p,
 
 template <>
 inline Point<2>
-GeometryInfo<2>::child_to_cell_coordinates(const Point<2> &        p,
+GeometryInfo<2>::child_to_cell_coordinates(const Point<2>         &p,
                                            const unsigned int      child_index,
                                            const RefinementCase<2> refine_case)
 {
@@ -4761,7 +4761,7 @@ GeometryInfo<dim>::distance_to_unit_cell(const Point<dim> &p)
 
 template <int dim>
 inline double
-GeometryInfo<dim>::d_linear_shape_function(const Point<dim> xi,
+GeometryInfo<dim>::d_linear_shape_function(const Point<dim>  &xi,
                                            const unsigned int i)
 {
   AssertIndexRange(i, GeometryInfo<dim>::vertices_per_cell);
@@ -4856,7 +4856,7 @@ Tensor<1, 1> inline GeometryInfo<1>::d_linear_shape_function_gradient(
 
 template <>
 Tensor<1, 2> inline GeometryInfo<2>::d_linear_shape_function_gradient(
-  const Point<2> &   xi,
+  const Point<2>    &xi,
   const unsigned int i)
 {
   AssertIndexRange(i, GeometryInfo<2>::vertices_per_cell);
@@ -4881,7 +4881,7 @@ Tensor<1, 2> inline GeometryInfo<2>::d_linear_shape_function_gradient(
 
 template <>
 Tensor<1, 3> inline GeometryInfo<3>::d_linear_shape_function_gradient(
-  const Point<3> &   xi,
+  const Point<3>    &xi,
   const unsigned int i)
 {
   AssertIndexRange(i, GeometryInfo<3>::vertices_per_cell);
index af7c02043bdb1feb4d42f7bfe2d21f3073858ec9..8d00562abdf0ee7d008adbdb5b0b2d8ef9ceb1f9 100644 (file)
@@ -108,10 +108,10 @@ namespace GraphColoring
     template <typename Iterator>
     std::vector<std::vector<Iterator>>
     create_partitioning(
-      const Iterator &                            begin,
+      const Iterator                             &begin,
       const std_cxx20::type_identity_t<Iterator> &end,
       const std::function<std::vector<types::global_dof_index>(
-        const Iterator &)> &                      get_conflict_indices)
+        const Iterator &)>                       &get_conflict_indices)
     {
       // Number of iterators.
       unsigned int n_iterators = 0;
@@ -221,9 +221,9 @@ namespace GraphColoring
     template <typename Iterator>
     void
     make_dsatur_coloring(
-      std::vector<Iterator> &             partition,
+      std::vector<Iterator>              &partition,
       const std::function<std::vector<types::global_dof_index>(
-        const Iterator &)> &              get_conflict_indices,
+        const Iterator &)>               &get_conflict_indices,
       std::vector<std::vector<Iterator>> &partition_coloring)
     {
       partition_coloring.clear();
@@ -539,8 +539,8 @@ namespace GraphColoring
   template <typename Iterator>
   std::vector<std::vector<Iterator>>
   make_graph_coloring(
-    const Iterator &                                  begin,
-    const std_cxx20::type_identity_t<Iterator> &      end,
+    const Iterator                                   &begin,
+    const std_cxx20::type_identity_t<Iterator>       &end,
     const std::function<std::vector<types::global_dof_index>(
       const std_cxx20::type_identity_t<Iterator> &)> &get_conflict_indices)
   {
@@ -577,7 +577,7 @@ namespace GraphColoring
    * For further details, refer to SparsityTools::color_sparsity_pattern.
    */
   unsigned int
-  color_sparsity_pattern(const SparsityPattern &    sparsity_pattern,
+  color_sparsity_pattern(const SparsityPattern     &sparsity_pattern,
                          std::vector<unsigned int> &color_indices);
 
 } // namespace GraphColoring
index 990f9e541febc57e30e9aba2985bde6a9a2f3da7..dc5bad3af38e0d7cebb4ba27b0c41aa536a0cec0 100644 (file)
@@ -438,9 +438,9 @@ namespace HDF5
      * Create dataset. This is an internal constructor. The function
      * Group::create_dataset() should be used to create a dataset.
      */
-    DataSet(const std::string &           name,
-            const hid_t &                 parent_group_id,
-            const std::vector<hsize_t> &  dimensions,
+    DataSet(const std::string            &name,
+            const hid_t                  &parent_group_id,
+            const std::vector<hsize_t>   &dimensions,
             const std::shared_ptr<hid_t> &t_type,
             const bool                    mpi);
 
@@ -650,7 +650,7 @@ namespace HDF5
      */
     template <typename Container>
     void
-    write_selection(const Container &           data,
+    write_selection(const Container            &data,
                     const std::vector<hsize_t> &coordinates);
 
     // clang-format off
@@ -682,7 +682,7 @@ namespace HDF5
     // clang-format on
     template <typename Container>
     void
-    write_hyperslab(const Container &           data,
+    write_hyperslab(const Container            &data,
                     const std::vector<hsize_t> &offset,
                     const std::vector<hsize_t> &count);
 
@@ -720,7 +720,7 @@ namespace HDF5
      */
     template <typename Container>
     void
-    write_hyperslab(const Container &           data,
+    write_hyperslab(const Container            &data,
                     const std::vector<hsize_t> &data_dimensions,
                     const std::vector<hsize_t> &offset,
                     const std::vector<hsize_t> &stride,
@@ -999,8 +999,8 @@ namespace HDF5
      * create_group() of the current class should be used to open or create a
      * group.
      */
-    Group(const std::string &   name,
-          const Group &         parent_group,
+    Group(const std::string    &name,
+          const Group          &parent_group,
           const bool            mpi,
           const GroupAccessMode mode);
 
@@ -1042,7 +1042,7 @@ namespace HDF5
      */
     template <typename number>
     DataSet
-    create_dataset(const std::string &         name,
+    create_dataset(const std::string          &name,
                    const std::vector<hsize_t> &dimensions) const;
 
     /**
@@ -1103,7 +1103,7 @@ namespace HDF5
      * defines the processes that participate in this call; `MPI_COMM_WORLD` is
      * a common value for the MPI communicator.
      */
-    File(const std::string &  name,
+    File(const std::string   &name,
          const FileAccessMode mode,
          const MPI_Comm       mpi_communicator);
 
@@ -1115,7 +1115,7 @@ namespace HDF5
      * File(const std::string &, const Mode)
      * should be used to open or create HDF5 files.
      */
-    File(const std::string &  name,
+    File(const std::string   &name,
          const FileAccessMode mode,
          const bool           mpi,
          const MPI_Comm       mpi_communicator);
@@ -1251,10 +1251,10 @@ namespace HDF5
      * been collective.
      */
     inline void
-    release_plist(hid_t &                    plist,
+    release_plist(hid_t                     &plist,
                   H5D_mpio_actual_io_mode_t &io_mode,
-                  std::uint32_t &            local_no_collective_cause,
-                  std::uint32_t &            global_no_collective_cause,
+                  std::uint32_t             &local_no_collective_cause,
+                  std::uint32_t             &global_no_collective_cause,
                   const bool                 mpi,
                   const bool                 query_io_mode);
 
@@ -1495,10 +1495,10 @@ namespace HDF5
 
 
     inline void
-    release_plist(hid_t &                    plist,
+    release_plist(hid_t                     &plist,
                   H5D_mpio_actual_io_mode_t &io_mode,
-                  std::uint32_t &            local_no_collective_cause,
-                  std::uint32_t &            global_no_collective_cause,
+                  std::uint32_t             &local_no_collective_cause,
+                  std::uint32_t             &global_no_collective_cause,
                   const bool                 mpi,
                   const bool                 query_io_mode)
     {
@@ -1632,7 +1632,7 @@ namespace HDF5
     // Todo:
     // - Use H5Dvlen_reclaim instead of free
 
-    char string_out;
+    char  *string_out;
     hid_t  attr;
     hid_t  type;
     herr_t ret;
@@ -2033,7 +2033,7 @@ namespace HDF5
 
   template <typename Container>
   void
-  DataSet::write_selection(const Container &           data,
+  DataSet::write_selection(const Container            &data,
                            const std::vector<hsize_t> &coordinates)
   {
     AssertDimension(coordinates.size(), data.size() * rank);
@@ -2082,7 +2082,7 @@ namespace HDF5
 
   template <typename Container>
   void
-  DataSet::write_hyperslab(const Container &           data,
+  DataSet::write_hyperslab(const Container            &data,
                            const std::vector<hsize_t> &offset,
                            const std::vector<hsize_t> &count)
   {
@@ -2139,7 +2139,7 @@ namespace HDF5
 
   template <typename Container>
   void
-  DataSet::write_hyperslab(const Container &           data,
+  DataSet::write_hyperslab(const Container            &data,
                            const std::vector<hsize_t> &data_dimensions,
                            const std::vector<hsize_t> &offset,
                            const std::vector<hsize_t> &stride,
@@ -2231,7 +2231,7 @@ namespace HDF5
 
   template <typename number>
   DataSet
-  Group::create_dataset(const std::string &         name,
+  Group::create_dataset(const std::string          &name,
                         const std::vector<hsize_t> &dimensions) const
   {
     std::shared_ptr<hid_t> t_type = internal::get_hdf5_datatype<number>();
index b959b182a08d2d10ed96eced97a52628c2b21368..3117857a1f956369a9fb51ac29d6d8506e44ca48 100644 (file)
@@ -92,7 +92,7 @@ namespace Functions
      * this function is called.
      */
     virtual void
-    vector_value(const Point<dim> &       p,
+    vector_value(const Point<dim>        &p,
                  Vector<RangeNumberType> &values) const override;
 
     /**
index 6405ceec04943b10fc75a0f944ab3d9ded916a67..76776af802e1ad94a1d7740c3eae1a059b2bf4b7 100644 (file)
@@ -1069,7 +1069,7 @@ private:
   void
   add_ranges_internal(
     boost::container::small_vector<std::pair<size_type, size_type>, 200>
-      &        tmp_ranges,
+              &tmp_ranges,
     const bool ranges_are_sorted);
 };
 
@@ -1107,7 +1107,7 @@ complete_index_set(const IndexSet::size_type N)
 /* IntervalAccessor */
 
 inline IndexSet::IntervalAccessor::IntervalAccessor(
-  const IndexSet *          idxset,
+  const IndexSet           *idxset,
   const IndexSet::size_type range_idx)
   : index_set(idxset)
   , range_idx(range_idx)
@@ -1240,7 +1240,7 @@ IndexSet::IntervalAccessor::advance()
 /* IntervalIterator */
 
 inline IndexSet::IntervalIterator::IntervalIterator(
-  const IndexSet *          idxset,
+  const IndexSet           *idxset,
   const IndexSet::size_type range_idx)
   : accessor(idxset, range_idx)
 {}
@@ -1348,7 +1348,7 @@ IndexSet::IntervalIterator::operator-(
 /* ElementIterator */
 
 inline IndexSet::ElementIterator::ElementIterator(
-  const IndexSet *          idxset,
+  const IndexSet           *idxset,
   const IndexSet::size_type range_idx,
   const IndexSet::size_type index)
   : index_set(idxset)
index 5d0d22903f1bb315d8d3e6960d5d6a9939d3f25f..be3f80a46adc09ec2699c579eecaf9d73f6046f3 100644 (file)
@@ -290,7 +290,7 @@ private:
  */
 template <typename BaseIterator>
 IteratorRange<BaseIterator>
-make_iterator_range(const BaseIterator &                            begin,
+make_iterator_range(const BaseIterator                             &begin,
                     const std_cxx20::type_identity_t<BaseIterator> &end)
 {
   IteratorRange<BaseIterator> ir(begin, end);
index e9d0d2cb6bd9ce4d6346f8666f0a513493447f9f..be605a4e44e6510d861d3fa236823559b9696a90 100644 (file)
@@ -354,7 +354,7 @@ inline DerivedIterator
 LinearIndexIterator<DerivedIterator, AccessorType>::operator++(int)
 {
   const DerivedIterator copy(this->accessor);
-                        operator+=(1);
+  operator+=(1);
   return copy;
 }
 
@@ -374,7 +374,7 @@ inline DerivedIterator
 LinearIndexIterator<DerivedIterator, AccessorType>::operator--(int)
 {
   const DerivedIterator copy(this->accessor);
-                        operator+=(-1);
+  operator+=(-1);
   return copy;
 }
 
index 7b699798f1f634ddcb32df9c444baf46ab5f8f02..fcb0927da9519b8aff3e80fb05b0222d4a7a6b51 100644 (file)
@@ -152,7 +152,7 @@ public:
    * @param[in] flags Format flags to set on the output stream @p o.
    */
   void
-  attach(std::ostream &                o,
+  attach(std::ostream                 &o,
          const bool                    print_job_id = true,
          const std::ios_base::fmtflags flags        = std::ios::showpoint |
                                                std::ios::left);
index 932e076483d5434550490727197f9733a606a8f8..3db21c03a6b47c7d64fb19ff4d20ca639517240c 100644 (file)
@@ -124,7 +124,7 @@ namespace MemorySpace
 
   template <typename T, typename MemorySpace>
   void
-  MemorySpaceData<T, MemorySpace>::copy_to(T *               begin,
+  MemorySpaceData<T, MemorySpace>::copy_to(T                *begin,
                                            const std::size_t n_elements)
   {
     Assert(n_elements <= values.extent(0),
@@ -145,7 +145,7 @@ namespace MemorySpace
 
   template <typename T, typename MemorySpace>
   void
-  MemorySpaceData<T, MemorySpace>::copy_from(const T *         begin,
+  MemorySpaceData<T, MemorySpace>::copy_from(const T          *begin,
                                              const std::size_t n_elements)
   {
     Assert(n_elements <= values.extent(0),
index 8212fb54921f99fbe03c5512bc03f3cc2f26e92c..491a7a78853225c9338159f688fd17f7373b05af 100644 (file)
@@ -576,7 +576,7 @@ namespace Utilities
     create_group(const MPI_Comm   comm,
                  const MPI_Group &group,
                  const int        tag,
-                 MPI_Comm *       new_comm);
+                 MPI_Comm        *new_comm);
 #endif
 
     /**
@@ -727,7 +727,7 @@ namespace Utilities
     void
     sum(const ArrayView<const T> &values,
         const MPI_Comm            mpi_communicator,
-        const ArrayView<T> &      sums);
+        const ArrayView<T>       &sums);
 
     /**
      * Perform an MPI sum of the entries of a symmetric tensor.
@@ -761,7 +761,7 @@ namespace Utilities
     void
     sum(const SparseMatrix<Number> &local,
         const MPI_Comm              mpi_communicator,
-        SparseMatrix<Number> &      global);
+        SparseMatrix<Number>       &global);
 
     /**
      * Return the maximum over all processors of the value @p t. This function
@@ -812,7 +812,7 @@ namespace Utilities
     void
     max(const ArrayView<const T> &values,
         const MPI_Comm            mpi_communicator,
-        const ArrayView<T> &      maxima);
+        const ArrayView<T>       &maxima);
 
     /**
      * Return the minimum over all processors of the value @p t. This function
@@ -863,7 +863,7 @@ namespace Utilities
     void
     min(const ArrayView<const T> &values,
         const MPI_Comm            mpi_communicator,
-        const ArrayView<T> &      minima);
+        const ArrayView<T>       &minima);
 
     /**
      * Performs a <i>logical or</i> operation over all processors of the value
@@ -923,7 +923,7 @@ namespace Utilities
     void
     logical_or(const ArrayView<const T> &values,
                const MPI_Comm            mpi_communicator,
-               const ArrayView<T> &      results);
+               const ArrayView<T>       &results);
 
     /**
      * A data structure to store the result of the min_max_avg() function.
@@ -1033,7 +1033,7 @@ namespace Utilities
      */
     void
     min_max_avg(const ArrayView<const double> &my_values,
-                const ArrayView<MinMaxAvg> &   result,
+                const ArrayView<MinMaxAvg>    &result,
                 const MPI_Comm                 mpi_communicator);
 
 
@@ -1129,8 +1129,8 @@ namespace Utilities
        * <code>main()</code>.
        */
       MPI_InitFinalize(
-        int &              argc,
-        char **&           argv,
+        int               &argc,
+        char            **&argv,
         const unsigned int max_num_threads = numbers::invalid_unsigned_int);
 
       /**
@@ -1282,7 +1282,7 @@ namespace Utilities
     template <typename T>
     std::vector<T>
     gather(const MPI_Comm     comm,
-           const T &          object_to_send,
+           const T           &object_to_send,
            const unsigned int root_process = 0);
 
     /**
@@ -1343,7 +1343,7 @@ namespace Utilities
     template <typename T>
     std::enable_if_t<is_mpi_type<T> == false, T>
     broadcast(const MPI_Comm     comm,
-              const T &          object_to_send,
+              const T           &object_to_send,
               const unsigned int root_process = 0);
 
     /**
@@ -1371,7 +1371,7 @@ namespace Utilities
     template <typename T>
     std::enable_if_t<is_mpi_type<T> == true, T>
     broadcast(const MPI_Comm     comm,
-              const T &          object_to_send,
+              const T           &object_to_send,
               const unsigned int root_process = 0);
 
     /**
@@ -1392,7 +1392,7 @@ namespace Utilities
      */
     template <typename T>
     void
-    broadcast(T *                buffer,
+    broadcast(T                 *buffer,
               const size_t       count,
               const unsigned int root,
               const MPI_Comm     comm);
@@ -1411,7 +1411,7 @@ namespace Utilities
      */
     template <typename T>
     T
-    reduce(const T &                                     local_value,
+    reduce(const T                                      &local_value,
            const MPI_Comm                                comm,
            const std::function<T(const T &, const T &)> &combiner,
            const unsigned int                            root_process = 0);
@@ -1427,7 +1427,7 @@ namespace Utilities
      */
     template <typename T>
     T
-    all_reduce(const T &                                     local_value,
+    all_reduce(const T                                      &local_value,
                const MPI_Comm                                comm,
                const std::function<T(const T &, const T &)> &combiner);
 
@@ -1454,7 +1454,7 @@ namespace Utilities
      */
     template <typename T>
     Future<void>
-    isend(const T &          object,
+    isend(const T           &object,
           MPI_Comm           communicator,
           const unsigned int target_rank,
           const unsigned int mpi_tag = 0);
@@ -1728,8 +1728,8 @@ namespace Utilities
      * not satisfied.
      */
     template <typename T>
-    const MPI_Datatype
-      mpi_type_id_for_type = internal::MPIDataTypes::mpi_type_id(
+    const MPI_Datatype mpi_type_id_for_type =
+      internal::MPIDataTypes::mpi_type_id(
         static_cast<std::remove_cv_t<std::remove_reference_t<T>> *>(nullptr));
 #endif
 
@@ -1739,10 +1739,10 @@ namespace Utilities
       // declaration for an internal function that lives in mpi.templates.h
       template <typename T>
       void
-      all_reduce(const MPI_Op &            mpi_op,
+      all_reduce(const MPI_Op             &mpi_op,
                  const ArrayView<const T> &values,
                  const MPI_Comm            mpi_communicator,
-                 const ArrayView<T> &      output);
+                 const ArrayView<T>       &output);
     } // namespace internal
 
 
@@ -2037,7 +2037,7 @@ namespace Utilities
     template <typename T>
     std::vector<T>
     gather(const MPI_Comm     comm,
-           const T &          object_to_send,
+           const T           &object_to_send,
            const unsigned int root_process)
     {
 #  ifndef DEAL_II_WITH_MPI
@@ -2194,7 +2194,7 @@ namespace Utilities
 
     template <typename T>
     void
-    broadcast(T *                buffer,
+    broadcast(T                 *buffer,
               const size_t       count,
               const unsigned int root,
               const MPI_Comm     comm)
@@ -2234,7 +2234,7 @@ namespace Utilities
     template <typename T>
     std::enable_if_t<is_mpi_type<T> == false, T>
     broadcast(const MPI_Comm     comm,
-              const T &          object_to_send,
+              const T           &object_to_send,
               const unsigned int root_process)
     {
 #  ifndef DEAL_II_WITH_MPI
@@ -2284,7 +2284,7 @@ namespace Utilities
     template <typename T>
     std::enable_if_t<is_mpi_type<T> == true, T>
     broadcast(const MPI_Comm     comm,
-              const T &          object_to_send,
+              const T           &object_to_send,
               const unsigned int root_process)
     {
 #  ifndef DEAL_II_WITH_MPI
@@ -2305,7 +2305,7 @@ namespace Utilities
 
     template <typename T>
     Future<void>
-    isend(const T &          object,
+    isend(const T           &object,
           MPI_Comm           communicator,
           const unsigned int target_rank,
           const unsigned int mpi_tag)
index 1f260f49600bf9e7a1d7cf942cf57444d6eb0a80..7e9401f1659ddb4cc81fea194c34b8815dfc1c92 100644 (file)
@@ -39,10 +39,10 @@ namespace Utilities
     {
       template <typename T>
       void
-      all_reduce(const MPI_Op &            mpi_op,
+      all_reduce(const MPI_Op             &mpi_op,
                  const ArrayView<const T> &values,
                  const MPI_Comm            mpi_communicator,
-                 const ArrayView<T> &      output)
+                 const ArrayView<T>       &output)
       {
         AssertDimension(values.size(), output.size());
 #ifdef DEAL_II_WITH_MPI
@@ -100,10 +100,10 @@ namespace Utilities
 
       template <typename T>
       void
-      all_reduce(const MPI_Op &                          mpi_op,
+      all_reduce(const MPI_Op                           &mpi_op,
                  const ArrayView<const std::complex<T>> &values,
                  const MPI_Comm                          mpi_communicator,
-                 const ArrayView<std::complex<T>> &      output)
+                 const ArrayView<std::complex<T>>       &output)
       {
         AssertDimension(values.size(), output.size());
 #ifdef DEAL_II_WITH_MPI
@@ -173,7 +173,7 @@ namespace Utilities
     void
     sum(const ArrayView<const T> &values,
         const MPI_Comm            mpi_communicator,
-        const ArrayView<T> &      sums)
+        const ArrayView<T>       &sums)
     {
       internal::all_reduce(MPI_SUM, values, mpi_communicator, sums);
     }
@@ -232,7 +232,7 @@ namespace Utilities
     void
     sum(const SparseMatrix<Number> &local,
         const MPI_Comm              mpi_communicator,
-        SparseMatrix<Number> &      global)
+        SparseMatrix<Number>       &global)
     {
       Assert(
         local.get_sparsity_pattern() == global.get_sparsity_pattern(),
@@ -287,7 +287,7 @@ namespace Utilities
     void
     max(const ArrayView<const T> &values,
         const MPI_Comm            mpi_communicator,
-        const ArrayView<T> &      maxima)
+        const ArrayView<T>       &maxima)
     {
       internal::all_reduce(MPI_MAX, values, mpi_communicator, maxima);
     }
@@ -328,7 +328,7 @@ namespace Utilities
     void
     min(const ArrayView<const T> &values,
         const MPI_Comm            mpi_communicator,
-        const ArrayView<T> &      minima)
+        const ArrayView<T>       &minima)
     {
       internal::all_reduce(MPI_MIN, values, mpi_communicator, minima);
     }
@@ -384,7 +384,7 @@ namespace Utilities
     void
     logical_or(const ArrayView<const T> &values,
                const MPI_Comm            mpi_communicator,
-               const ArrayView<T> &      results)
+               const ArrayView<T>       &results)
     {
       static_assert(std::is_integral_v<T>,
                     "The MPI_LOR operation only allows integral data types.");
@@ -396,7 +396,7 @@ namespace Utilities
 
     template <typename T>
     T
-    reduce(const T &                                     vec,
+    reduce(const T                                      &vec,
            const MPI_Comm                                comm,
            const std::function<T(const T &, const T &)> &combiner,
            const unsigned int                            root_process)
@@ -480,7 +480,7 @@ namespace Utilities
 
     template <typename T>
     T
-    all_reduce(const T &                                     vec,
+    all_reduce(const T                                      &vec,
                const MPI_Comm                                comm,
                const std::function<T(const T &, const T &)> &combiner)
     {
index 654bcfa327864ce89ed932da2ee93ebb6a8b0165..c5fb582b134b4e256189f39907d018f67783a32d 100644 (file)
@@ -369,7 +369,7 @@ namespace Utilities
           append_index_origin(const unsigned int index_within_dictionary,
                               const unsigned int rank_of_request,
                               const unsigned int rank_of_owner,
-                              unsigned int &     owner_index_guess);
+                              unsigned int      &owner_index_guess);
         };
 
         /* ------------------------- inline functions ----------------------- */
index 05cf90a2b6ff67482939fbb3e621d1a8047b1de3..73f2cfb51f73c9bf0feff2c72a745f0c42f79174 100644 (file)
@@ -201,7 +201,7 @@ namespace Utilities
         virtual void
         answer_request(const unsigned int other_rank,
                        const RequestType &buffer_recv,
-                       AnswerType &       request_buffer);
+                       AnswerType        &request_buffer);
 
         /**
          * Process the payload of the answer of the request to the process with
@@ -212,7 +212,7 @@ namespace Utilities
          */
         virtual void
         read_answer(const unsigned int other_rank,
-                    const AnswerType recv_buffer);
+                    const AnswerType  &recv_buffer);
       };
 
 
@@ -281,12 +281,12 @@ namespace Utilities
          */
         virtual std::vector<unsigned int>
         run(
-          const std::vector<unsigned int> &                     targets,
+          const std::vector<unsigned int>                      &targets,
           const std::function<RequestType(const unsigned int)> &create_request,
           const std::function<AnswerType(const unsigned int,
                                          const RequestType &)> &answer_request,
           const std::function<void(const unsigned int, const AnswerType &)>
-            &            process_answer,
+                        &process_answer,
           const MPI_Comm comm) = 0;
       };
 
@@ -326,12 +326,12 @@ namespace Utilities
          */
         virtual std::vector<unsigned int>
         run(
-          const std::vector<unsigned int> &                     targets,
+          const std::vector<unsigned int>                      &targets,
           const std::function<RequestType(const unsigned int)> &create_request,
           const std::function<AnswerType(const unsigned int,
                                          const RequestType &)> &answer_request,
           const std::function<void(const unsigned int, const AnswerType &)>
-            &            process_answer,
+                        &process_answer,
           const MPI_Comm comm) override;
 
       private:
@@ -382,7 +382,7 @@ namespace Utilities
         bool
         all_locally_originated_receives_are_completed(
           const std::function<void(const unsigned int, const AnswerType &)>
-            &            process_answer,
+                        &process_answer,
           const MPI_Comm comm);
 
         /**
@@ -417,7 +417,7 @@ namespace Utilities
          */
         void
         start_communication(
-          const std::vector<unsigned int> &                     targets,
+          const std::vector<unsigned int>                      &targets,
           const std::function<RequestType(const unsigned int)> &create_request,
           const MPI_Comm                                        comm);
 
@@ -476,12 +476,12 @@ namespace Utilities
        */
       template <typename RequestType, typename AnswerType>
       std::vector<unsigned int>
-      nbx(const std::vector<unsigned int> &                     targets,
+      nbx(const std::vector<unsigned int>                      &targets,
           const std::function<RequestType(const unsigned int)> &create_request,
           const std::function<AnswerType(const unsigned int,
                                          const RequestType &)> &answer_request,
           const std::function<void(const unsigned int, const AnswerType &)>
-            &            process_answer,
+                        &process_answer,
           const MPI_Comm comm);
 
       /**
@@ -523,10 +523,10 @@ namespace Utilities
        */
       template <typename RequestType>
       std::vector<unsigned int>
-      nbx(const std::vector<unsigned int> &                     targets,
+      nbx(const std::vector<unsigned int>                      &targets,
           const std::function<RequestType(const unsigned int)> &create_request,
           const std::function<void(const unsigned int, const RequestType &)>
-            &            process_request,
+                        &process_request,
           const MPI_Comm comm);
 
       /**
@@ -576,12 +576,12 @@ namespace Utilities
          */
         virtual std::vector<unsigned int>
         run(
-          const std::vector<unsigned int> &                     targets,
+          const std::vector<unsigned int>                      &targets,
           const std::function<RequestType(const unsigned int)> &create_request,
           const std::function<AnswerType(const unsigned int,
                                          const RequestType &)> &answer_request,
           const std::function<void(const unsigned int, const AnswerType &)>
-            &            process_answer,
+                        &process_answer,
           const MPI_Comm comm) override;
 
       private:
@@ -622,7 +622,7 @@ namespace Utilities
          */
         unsigned int
         start_communication(
-          const std::vector<unsigned int> &                     targets,
+          const std::vector<unsigned int>                      &targets,
           const std::function<RequestType(const unsigned int)> &create_request,
           const MPI_Comm                                        comm);
 
@@ -645,7 +645,7 @@ namespace Utilities
         process_incoming_answers(
           const unsigned int n_targets,
           const std::function<void(const unsigned int, const AnswerType &)>
-            &            process_answer,
+                        &process_answer,
           const MPI_Comm comm);
 
         /**
@@ -716,12 +716,12 @@ namespace Utilities
        */
       template <typename RequestType, typename AnswerType>
       std::vector<unsigned int>
-      pex(const std::vector<unsigned int> &                     targets,
+      pex(const std::vector<unsigned int>                      &targets,
           const std::function<RequestType(const unsigned int)> &create_request,
           const std::function<AnswerType(const unsigned int,
                                          const RequestType &)> &answer_request,
           const std::function<void(const unsigned int, const AnswerType &)>
-            &            process_answer,
+                        &process_answer,
           const MPI_Comm comm);
 
       /**
@@ -763,10 +763,10 @@ namespace Utilities
        */
       template <typename RequestType>
       std::vector<unsigned int>
-      pex(const std::vector<unsigned int> &                     targets,
+      pex(const std::vector<unsigned int>                      &targets,
           const std::function<RequestType(const unsigned int)> &create_request,
           const std::function<void(const unsigned int, const RequestType &)>
-            &            process_request,
+                        &process_request,
           const MPI_Comm comm);
 
 
@@ -791,12 +791,12 @@ namespace Utilities
          */
         virtual std::vector<unsigned int>
         run(
-          const std::vector<unsigned int> &                     targets,
+          const std::vector<unsigned int>                      &targets,
           const std::function<RequestType(const unsigned int)> &create_request,
           const std::function<AnswerType(const unsigned int,
                                          const RequestType &)> &answer_request,
           const std::function<void(const unsigned int, const AnswerType &)>
-            &            process_answer,
+                        &process_answer,
           const MPI_Comm comm) override;
       };
 
@@ -837,12 +837,12 @@ namespace Utilities
       template <typename RequestType, typename AnswerType>
       std::vector<unsigned int>
       serial(
-        const std::vector<unsigned int> &                     targets,
+        const std::vector<unsigned int>                      &targets,
         const std::function<RequestType(const unsigned int)> &create_request,
         const std::function<AnswerType(const unsigned int, const RequestType &)>
           &answer_request,
         const std::function<void(const unsigned int, const AnswerType &)>
-          &            process_answer,
+                      &process_answer,
         const MPI_Comm comm);
 
       /**
@@ -877,10 +877,10 @@ namespace Utilities
       template <typename RequestType>
       std::vector<unsigned int>
       serial(
-        const std::vector<unsigned int> &                     targets,
+        const std::vector<unsigned int>                      &targets,
         const std::function<RequestType(const unsigned int)> &create_request,
         const std::function<void(const unsigned int, const RequestType &)>
-          &            process_request,
+                      &process_request,
         const MPI_Comm comm);
 
 
@@ -921,12 +921,12 @@ namespace Utilities
          */
         virtual std::vector<unsigned int>
         run(
-          const std::vector<unsigned int> &                     targets,
+          const std::vector<unsigned int>                      &targets,
           const std::function<RequestType(const unsigned int)> &create_request,
           const std::function<AnswerType(const unsigned int,
                                          const RequestType &)> &answer_request,
           const std::function<void(const unsigned int, const AnswerType &)>
-            &            process_answer,
+                        &process_answer,
           const MPI_Comm comm) override;
 
       private:
@@ -983,12 +983,12 @@ namespace Utilities
       template <typename RequestType, typename AnswerType>
       std::vector<unsigned int>
       selector(
-        const std::vector<unsigned int> &                     targets,
+        const std::vector<unsigned int>                      &targets,
         const std::function<RequestType(const unsigned int)> &create_request,
         const std::function<AnswerType(const unsigned int, const RequestType &)>
           &answer_request,
         const std::function<void(const unsigned int, const AnswerType &)>
-          &            process_answer,
+                      &process_answer,
         const MPI_Comm comm);
 
       /**
@@ -1031,10 +1031,10 @@ namespace Utilities
       template <typename RequestType>
       std::vector<unsigned int>
       selector(
-        const std::vector<unsigned int> &                     targets,
+        const std::vector<unsigned int>                      &targets,
         const std::function<RequestType(const unsigned int)> &create_request,
         const std::function<void(const unsigned int, const RequestType &)>
-          &            process_request,
+                      &process_request,
         const MPI_Comm comm);
 
 
@@ -1044,12 +1044,12 @@ namespace Utilities
 
       template <typename RequestType, typename AnswerType>
       std::vector<unsigned int>
-      nbx(const std::vector<unsigned int> &                     targets,
+      nbx(const std::vector<unsigned int>                      &targets,
           const std::function<RequestType(const unsigned int)> &create_request,
           const std::function<AnswerType(const unsigned int,
                                          const RequestType &)> &answer_request,
           const std::function<void(const unsigned int, const AnswerType &)>
-            &            process_answer,
+                        &process_answer,
           const MPI_Comm comm)
       {
         return NBX<RequestType, AnswerType>().run(
@@ -1060,10 +1060,10 @@ namespace Utilities
 
       template <typename RequestType>
       std::vector<unsigned int>
-      nbx(const std::vector<unsigned int> &                     targets,
+      nbx(const std::vector<unsigned int>                      &targets,
           const std::function<RequestType(const unsigned int)> &create_request,
           const std::function<void(const unsigned int, const RequestType &)>
-            &            process_request,
+                        &process_request,
           const MPI_Comm comm)
       {
         // TODO: For the moment, simply implement this special case by
@@ -1096,12 +1096,12 @@ namespace Utilities
 
       template <typename RequestType, typename AnswerType>
       std::vector<unsigned int>
-      pex(const std::vector<unsigned int> &                     targets,
+      pex(const std::vector<unsigned int>                      &targets,
           const std::function<RequestType(const unsigned int)> &create_request,
           const std::function<AnswerType(const unsigned int,
                                          const RequestType &)> &answer_request,
           const std::function<void(const unsigned int, const AnswerType &)>
-            &            process_answer,
+                        &process_answer,
           const MPI_Comm comm)
       {
         return PEX<RequestType, AnswerType>().run(
@@ -1112,10 +1112,10 @@ namespace Utilities
 
       template <typename RequestType>
       std::vector<unsigned int>
-      pex(const std::vector<unsigned int> &                     targets,
+      pex(const std::vector<unsigned int>                      &targets,
           const std::function<RequestType(const unsigned int)> &create_request,
           const std::function<void(const unsigned int, const RequestType &)>
-            &            process_request,
+                        &process_request,
           const MPI_Comm comm)
       {
         // TODO: For the moment, simply implement this special case by
@@ -1149,12 +1149,12 @@ namespace Utilities
       template <typename RequestType, typename AnswerType>
       std::vector<unsigned int>
       serial(
-        const std::vector<unsigned int> &                     targets,
+        const std::vector<unsigned int>                      &targets,
         const std::function<RequestType(const unsigned int)> &create_request,
         const std::function<AnswerType(const unsigned int, const RequestType &)>
           &answer_request,
         const std::function<void(const unsigned int, const AnswerType &)>
-          &            process_answer,
+                      &process_answer,
         const MPI_Comm comm)
       {
         return Serial<RequestType, AnswerType>().run(
@@ -1166,10 +1166,10 @@ namespace Utilities
       template <typename RequestType>
       std::vector<unsigned int>
       serial(
-        const std::vector<unsigned int> &                     targets,
+        const std::vector<unsigned int>                      &targets,
         const std::function<RequestType(const unsigned int)> &create_request,
         const std::function<void(const unsigned int, const RequestType &)>
-          &            process_request,
+                      &process_request,
         const MPI_Comm comm)
       {
         // TODO: For the moment, simply implement this special case by
@@ -1203,12 +1203,12 @@ namespace Utilities
       template <typename RequestType, typename AnswerType>
       std::vector<unsigned int>
       selector(
-        const std::vector<unsigned int> &                     targets,
+        const std::vector<unsigned int>                      &targets,
         const std::function<RequestType(const unsigned int)> &create_request,
         const std::function<AnswerType(const unsigned int, const RequestType &)>
           &answer_request,
         const std::function<void(const unsigned int, const AnswerType &)>
-          &            process_answer,
+                      &process_answer,
         const MPI_Comm comm)
       {
         return Selector<RequestType, AnswerType>().run(
@@ -1220,10 +1220,10 @@ namespace Utilities
       template <typename RequestType>
       std::vector<unsigned int>
       selector(
-        const std::vector<unsigned int> &                     targets,
+        const std::vector<unsigned int>                      &targets,
         const std::function<RequestType(const unsigned int)> &create_request,
         const std::function<void(const unsigned int, const RequestType &)>
-          &            process_request,
+                      &process_request,
         const MPI_Comm comm)
       {
         // TODO: For the moment, simply implement this special case by
@@ -1448,12 +1448,12 @@ namespace Utilities
       template <typename RequestType, typename AnswerType>
       std::vector<unsigned int>
       NBX<RequestType, AnswerType>::run(
-        const std::vector<unsigned int> &                     targets,
+        const std::vector<unsigned int>                      &targets,
         const std::function<RequestType(const unsigned int)> &create_request,
         const std::function<AnswerType(const unsigned int, const RequestType &)>
           &answer_request,
         const std::function<void(const unsigned int, const AnswerType &)>
-          &            process_answer,
+                      &process_answer,
         const MPI_Comm comm)
       {
         Assert(has_unique_elements(targets),
@@ -1515,7 +1515,7 @@ namespace Utilities
       template <typename RequestType, typename AnswerType>
       void
       NBX<RequestType, AnswerType>::start_communication(
-        const std::vector<unsigned int> &                     targets,
+        const std::vector<unsigned int>                      &targets,
         const std::function<RequestType(const unsigned int)> &create_request,
         const MPI_Comm                                        comm)
       {
@@ -1571,7 +1571,7 @@ namespace Utilities
       NBX<RequestType, AnswerType>::
         all_locally_originated_receives_are_completed(
           const std::function<void(const unsigned int, const AnswerType &)>
-            &            process_answer,
+                        &process_answer,
           const MPI_Comm comm)
       {
 #  ifdef DEAL_II_WITH_MPI
@@ -1665,7 +1665,7 @@ namespace Utilities
       void
       NBX<RequestType, AnswerType>::maybe_answer_one_request(
         const std::function<AnswerType(const unsigned int, const RequestType &)>
-          &            answer_request,
+                      &answer_request,
         const MPI_Comm comm)
       {
 #  ifdef DEAL_II_WITH_MPI
@@ -1819,12 +1819,12 @@ namespace Utilities
       template <typename RequestType, typename AnswerType>
       std::vector<unsigned int>
       PEX<RequestType, AnswerType>::run(
-        const std::vector<unsigned int> &                     targets,
+        const std::vector<unsigned int>                      &targets,
         const std::function<RequestType(const unsigned int)> &create_request,
         const std::function<AnswerType(const unsigned int, const RequestType &)>
           &answer_request,
         const std::function<void(const unsigned int, const AnswerType &)>
-          &            process_answer,
+                      &process_answer,
         const MPI_Comm comm)
       {
         Assert(has_unique_elements(targets),
@@ -1867,7 +1867,7 @@ namespace Utilities
       template <typename RequestType, typename AnswerType>
       unsigned int
       PEX<RequestType, AnswerType>::start_communication(
-        const std::vector<unsigned int> &                     targets,
+        const std::vector<unsigned int>                      &targets,
         const std::function<RequestType(const unsigned int)> &create_request,
         const MPI_Comm                                        comm)
       {
@@ -1929,7 +1929,7 @@ namespace Utilities
       PEX<RequestType, AnswerType>::answer_one_request(
         const unsigned int index,
         const std::function<AnswerType(const unsigned int, const RequestType &)>
-          &            answer_request,
+                      &answer_request,
         const MPI_Comm comm)
       {
 #  ifdef DEAL_II_WITH_MPI
@@ -2003,7 +2003,7 @@ namespace Utilities
       PEX<RequestType, AnswerType>::process_incoming_answers(
         const unsigned int n_targets,
         const std::function<void(const unsigned int, const AnswerType &)>
-          &            process_answer,
+                      &process_answer,
         const MPI_Comm comm)
       {
 #  ifdef DEAL_II_WITH_MPI
@@ -2090,12 +2090,12 @@ namespace Utilities
       template <typename RequestType, typename AnswerType>
       std::vector<unsigned int>
       Serial<RequestType, AnswerType>::run(
-        const std::vector<unsigned int> &                     targets,
+        const std::vector<unsigned int>                      &targets,
         const std::function<RequestType(const unsigned int)> &create_request,
         const std::function<AnswerType(const unsigned int, const RequestType &)>
           &answer_request,
         const std::function<void(const unsigned int, const AnswerType &)>
-          &            process_answer,
+                      &process_answer,
         const MPI_Comm comm)
       {
         (void)comm;
@@ -2134,12 +2134,12 @@ namespace Utilities
       template <typename RequestType, typename AnswerType>
       std::vector<unsigned int>
       Selector<RequestType, AnswerType>::run(
-        const std::vector<unsigned int> &                     targets,
+        const std::vector<unsigned int>                      &targets,
         const std::function<RequestType(const unsigned int)> &create_request,
         const std::function<AnswerType(const unsigned int, const RequestType &)>
           &answer_request,
         const std::function<void(const unsigned int, const AnswerType &)>
-          &            process_answer,
+                      &process_answer,
         const MPI_Comm comm)
       {
         // Depending on the number of processes we switch between
index 8a6c4a90138416b9a8896e80561af35952b0a872..a4fc0d5472c1058ae36cdebc884ca86d701986c5 100644 (file)
@@ -98,8 +98,8 @@ namespace Utilities
 
             int          blocklengths[2]  = {1, 1};
             MPI_Aint     displacements[2] = {0,
-                                         static_cast<MPI_Aint>(n_chunks) *
-                                           size_old * max_signed_int};
+                                             static_cast<MPI_Aint>(n_chunks) *
+                                               size_old * max_signed_int};
             MPI_Datatype types[2]         = {chunks, remainder};
             ierr                          = MPI_Type_create_struct(
               2, blocklengths, displacements, types, newtype);
@@ -151,7 +151,7 @@ namespace Utilities
        * See the MPI 4.x standard for details.
        */
       inline int
-      Send_c(const void buf,
+      Send_c(const void  *buf,
              MPI_Count    count,
              MPI_Datatype datatype,
              int          dest,
@@ -190,13 +190,13 @@ namespace Utilities
        * See the MPI 4.x standard for details.
        */
       inline int
-      Recv_c(void *       buf,
+      Recv_c(void        *buf,
              MPI_Count    count,
              MPI_Datatype datatype,
              int          source,
              int          tag,
              MPI_Comm     comm,
-             MPI_Status status)
+             MPI_Status  *status)
       {
 #  if MPI_VERSION >= 4
         return MPI_Recv_c(buf, count, datatype, source, tag, comm, status);
@@ -232,7 +232,7 @@ namespace Utilities
        * See the MPI 4.x standard for details.
        */
       inline int
-      Bcast_c(void *       buf,
+      Bcast_c(void        *buf,
               MPI_Count    count,
               MPI_Datatype datatype,
               unsigned int root_mpi_rank,
@@ -272,10 +272,10 @@ namespace Utilities
       inline int
       File_write_at_c(MPI_File     fh,
                       MPI_Offset   offset,
-                      const void buf,
+                      const void  *buf,
                       MPI_Count    count,
                       MPI_Datatype datatype,
-                      MPI_Status status)
+                      MPI_Status  *status)
       {
         if (count <= LargeCount::mpi_max_int_count)
           return MPI_File_write_at(fh, offset, buf, count, datatype, status);
@@ -308,10 +308,10 @@ namespace Utilities
       inline int
       File_write_at_all_c(MPI_File     fh,
                           MPI_Offset   offset,
-                          const void buf,
+                          const void  *buf,
                           MPI_Count    count,
                           MPI_Datatype datatype,
-                          MPI_Status status)
+                          MPI_Status  *status)
       {
         if (count <= LargeCount::mpi_max_int_count)
           return MPI_File_write_at_all(
@@ -343,10 +343,10 @@ namespace Utilities
        */
       inline int
       File_write_ordered_c(MPI_File     fh,
-                           const void buf,
+                           const void  *buf,
                            MPI_Count    count,
                            MPI_Datatype datatype,
-                           MPI_Status status)
+                           MPI_Status  *status)
       {
         if (count <= LargeCount::mpi_max_int_count)
           return MPI_File_write_ordered(fh, buf, count, datatype, status);
@@ -379,10 +379,10 @@ namespace Utilities
       inline int
       File_read_at_c(MPI_File     fh,
                      MPI_Offset   offset,
-                     void *       buf,
+                     void        *buf,
                      MPI_Count    count,
                      MPI_Datatype datatype,
-                     MPI_Status status)
+                     MPI_Status  *status)
       {
         if (count <= LargeCount::mpi_max_int_count)
           return MPI_File_read_at(fh, offset, buf, count, datatype, status);
@@ -415,10 +415,10 @@ namespace Utilities
       inline int
       File_read_at_all_c(MPI_File     fh,
                          MPI_Offset   offset,
-                         void *       buf,
+                         void        *buf,
                          MPI_Count    count,
                          MPI_Datatype datatype,
-                         MPI_Status status)
+                         MPI_Status  *status)
       {
         if (count <= LargeCount::mpi_max_int_count)
           return MPI_File_read_at_all(fh, offset, buf, count, datatype, status);
index 2d579031ae9aa8f85b8da8418063e92a01e73bd5..df04a33c8a37f3ff047dd6e6f736f73095385eb3 100644 (file)
@@ -96,7 +96,7 @@ namespace Utilities
       void
       export_to_ghosted_array(
         const ArrayView<const Number> &locally_owned_array,
-        const ArrayView<Number> &      ghost_array) const;
+        const ArrayView<Number>       &ghost_array) const;
 
       /**
        * Same as above but with an interface similar to
@@ -117,9 +117,9 @@ namespace Utilities
       export_to_ghosted_array(
         const unsigned int             communication_channel,
         const ArrayView<const Number> &locally_owned_array,
-        const ArrayView<Number> &      temporary_storage,
-        const ArrayView<Number> &      ghost_array,
-        std::vector<MPI_Request> &     requests) const;
+        const ArrayView<Number>       &temporary_storage,
+        const ArrayView<Number>       &ghost_array,
+        std::vector<MPI_Request>      &requests) const;
 
       /**
        * Start update: Data is packed, non-blocking send and receives
@@ -142,8 +142,8 @@ namespace Utilities
       export_to_ghosted_array_start(
         const unsigned int             communication_channel,
         const ArrayView<const Number> &locally_owned_array,
-        const ArrayView<Number> &      temporary_storage,
-        std::vector<MPI_Request> &     requests) const;
+        const ArrayView<Number>       &temporary_storage,
+        std::vector<MPI_Request>      &requests) const;
 
       /**
        * Finish update. The method waits until all data has been sent and
@@ -163,8 +163,8 @@ namespace Utilities
       void
       export_to_ghosted_array_finish(
         const ArrayView<const Number> &temporary_storage,
-        const ArrayView<Number> &      ghost_array,
-        std::vector<MPI_Request> &     requests) const;
+        const ArrayView<Number>       &ghost_array,
+        std::vector<MPI_Request>      &requests) const;
 
       /**
        * Similar to the above functions but for importing vector entries
@@ -178,8 +178,8 @@ namespace Utilities
       void
       import_from_ghosted_array(
         const VectorOperation::values vector_operation,
-        const ArrayView<Number> &     ghost_array,
-        const ArrayView<Number> &     locally_owned_storage) const;
+        const ArrayView<Number>      &ghost_array,
+        const ArrayView<Number>      &locally_owned_storage) const;
 
       /**
        * Similar to the above function with the difference that
@@ -191,9 +191,9 @@ namespace Utilities
       void
       import_from_ghosted_array(const VectorOperation::values vector_operation,
                                 const unsigned int        communication_channel,
-                                const ArrayView<Number> ghost_array,
-                                const ArrayView<Number> temporary_storage,
-                                const ArrayView<Number> locally_owned_storage,
+                                const ArrayView<Number>  &ghost_array,
+                                const ArrayView<Number>  &temporary_storage,
+                                const ArrayView<Number>  &locally_owned_storage,
                                 std::vector<MPI_Request> &requests) const;
 
       /**
@@ -205,9 +205,9 @@ namespace Utilities
       import_from_ghosted_array_start(
         const VectorOperation::values vector_operation,
         const unsigned int            communication_channel,
-        const ArrayView<Number> &     ghost_array,
-        const ArrayView<Number> &     temporary_storage,
-        std::vector<MPI_Request> &    requests) const;
+        const ArrayView<Number>      &ghost_array,
+        const ArrayView<Number>      &temporary_storage,
+        std::vector<MPI_Request>     &requests) const;
 
       /**
        * Finish update for importing values. The method waits until all data has
@@ -220,8 +220,8 @@ namespace Utilities
       import_from_ghosted_array_finish(
         const VectorOperation::values  vector_operation,
         const ArrayView<const Number> &temporary_storage,
-        const ArrayView<Number> &      locally_owned_storage,
-        std::vector<MPI_Request> &     requests) const;
+        const ArrayView<Number>       &locally_owned_storage,
+        std::vector<MPI_Request>      &requests) const;
 
       /**
        * Returns the number of processes this process sends data to and the
index ea2cc70ed0f96d39bee1447299275c4f140a8ac5..48f934a80bcde5ce79d70d5e8052b6f4b830adad 100644 (file)
@@ -36,7 +36,7 @@ namespace Utilities
     void
     NoncontiguousPartitioner::export_to_ghosted_array(
       const ArrayView<const Number> &src,
-      const ArrayView<Number> &      dst) const
+      const ArrayView<Number>       &dst) const
     {
       // allocate internal memory since needed
       if (requests.size() != send_ranks.size() + recv_ranks.size())
@@ -61,9 +61,9 @@ namespace Utilities
     NoncontiguousPartitioner::export_to_ghosted_array(
       const unsigned int             communication_channel,
       const ArrayView<const Number> &locally_owned_array,
-      const ArrayView<Number> &      temporary_storage,
-      const ArrayView<Number> &      ghost_array,
-      std::vector<MPI_Request> &     requests) const
+      const ArrayView<Number>       &temporary_storage,
+      const ArrayView<Number>       &ghost_array,
+      std::vector<MPI_Request>      &requests) const
     {
       this->template export_to_ghosted_array_start<Number>(
         communication_channel,
@@ -82,8 +82,8 @@ namespace Utilities
     NoncontiguousPartitioner::export_to_ghosted_array_start(
       const unsigned int             communication_channel,
       const ArrayView<const Number> &src,
-      const ArrayView<Number> &      buffers,
-      std::vector<MPI_Request> &     requests) const
+      const ArrayView<Number>       &buffers,
+      std::vector<MPI_Request>      &requests) const
     {
 #ifndef DEAL_II_WITH_MPI
       (void)communication_channel;
@@ -154,8 +154,8 @@ namespace Utilities
     void
     NoncontiguousPartitioner::export_to_ghosted_array_finish(
       const ArrayView<const Number> &buffers,
-      const ArrayView<Number> &      dst,
-      std::vector<MPI_Request> &     requests) const
+      const ArrayView<Number>       &dst,
+      std::vector<MPI_Request>      &requests) const
     {
 #ifndef DEAL_II_WITH_MPI
       (void)buffers;
@@ -194,8 +194,8 @@ namespace Utilities
     void
     NoncontiguousPartitioner::import_from_ghosted_array(
       const VectorOperation::values vector_operation,
-      const ArrayView<Number> &     src,
-      const ArrayView<Number> &     dst) const
+      const ArrayView<Number>      &src,
+      const ArrayView<Number>      &dst) const
     {
       // allocate internal memory since needed
       if (requests.size() != send_ranks.size() + recv_ranks.size())
@@ -222,10 +222,10 @@ namespace Utilities
     NoncontiguousPartitioner::import_from_ghosted_array(
       const VectorOperation::values vector_operation,
       const unsigned int            communication_channel,
-      const ArrayView<Number> &     ghost_array,
-      const ArrayView<Number> &     temporary_storage,
-      const ArrayView<Number> &     locally_owned_array,
-      std::vector<MPI_Request> &    requests) const
+      const ArrayView<Number>      &ghost_array,
+      const ArrayView<Number>      &temporary_storage,
+      const ArrayView<Number>      &locally_owned_array,
+      std::vector<MPI_Request>     &requests) const
     {
       this->template import_from_ghosted_array_start<Number>(
         vector_operation,
@@ -244,9 +244,9 @@ namespace Utilities
     NoncontiguousPartitioner::import_from_ghosted_array_start(
       const VectorOperation::values vector_operation,
       const unsigned int            communication_channel,
-      const ArrayView<Number> &     src,
-      const ArrayView<Number> &     buffers,
-      std::vector<MPI_Request> &    requests) const
+      const ArrayView<Number>      &src,
+      const ArrayView<Number>      &buffers,
+      std::vector<MPI_Request>     &requests) const
     {
 #ifndef DEAL_II_WITH_MPI
       (void)vector_operation;
@@ -317,8 +317,8 @@ namespace Utilities
     NoncontiguousPartitioner::import_from_ghosted_array_finish(
       const VectorOperation::values  vector_operation,
       const ArrayView<const Number> &buffers,
-      const ArrayView<Number> &      dst,
-      std::vector<MPI_Request> &     requests) const
+      const ArrayView<Number>       &dst,
+      std::vector<MPI_Request>      &requests) const
     {
 #ifndef DEAL_II_WITH_MPI
       (void)vector_operation;
index 7b6c53def07d52064ea7c545f191aaf4e924354c..24f7d837a6695ffa3ecc735117dddca8d8cf2a6e 100644 (file)
@@ -93,7 +93,7 @@ namespace Utilities
       void
       reinit(const std::vector<Point<spacedim>> &points,
              const Triangulation<dim, spacedim> &tria,
-             const Mapping<dim, spacedim> &      mapping);
+             const Mapping<dim, spacedim>       &mapping);
 
       /**
        * Set up internal data structures and communication pattern based on
@@ -107,7 +107,7 @@ namespace Utilities
       void
       reinit(const GridTools::internal::
                DistributedComputePointLocationsInternal<dim, spacedim> &data,
-             const Triangulation<dim, spacedim> &                       tria,
+             const Triangulation<dim, spacedim>                        &tria,
              const Mapping<dim, spacedim> &mapping);
 
       /**
@@ -173,7 +173,7 @@ namespace Utilities
       void
       process_and_evaluate(
         const std::vector<T> &input,
-        std::vector<T> &      buffer,
+        std::vector<T>       &buffer,
         const std::function<void(const ArrayView<const T> &, const CellData &)>
           &evaluation_function) const;
 
@@ -492,7 +492,7 @@ namespace Utilities
     void
     RemotePointEvaluation<dim, spacedim>::process_and_evaluate(
       const std::vector<T> &input,
-      std::vector<T> &      buffer,
+      std::vector<T>       &buffer,
       const std::function<void(const ArrayView<const T> &, const CellData &)>
         &evaluation_function) const
     {
index 8103e6468e3b7aba58e4c83144cf934a06302e29..82b01f58375396b7cb57952a2e8ec0ef2360b59b 100644 (file)
@@ -168,8 +168,8 @@ namespace internal
        * information.
        */
       virtual void
-      initialize(const std::string &                  vars,
-                 const std::vector<std::string> &     expressions,
+      initialize(const std::string                   &vars,
+                 const std::vector<std::string>      &expressions,
                  const std::map<std::string, double> &constants,
                  const bool                           time_dependent = false);
 
@@ -192,7 +192,7 @@ namespace internal
        * Compute the values of all components.
        */
       void
-      do_all_values(const Point<dim> p,
+      do_all_values(const Point<dim>  &p,
                     const double       time,
                     ArrayView<Number> &values) const;
 
index baabdcf5707e30298e6567395409b78bfc791b60..f6147e4d30802b7f64b31fe1a4f3dc7c0819b8d9 100644 (file)
@@ -144,7 +144,7 @@ namespace Utilities
      * the conversion
      */
     void
-    parse_arguments(const std::string &          value_string,
+    parse_arguments(const std::string           &value_string,
                     const Patterns::PatternBase &pattern =
                       *Patterns::Tools::Convert<TupleType>::to_pattern());
 
@@ -233,7 +233,7 @@ namespace Utilities
   template <typename ReturnType, class... FunctionArgs>
   template <typename FunctionType>
   MutableBind<ReturnType, FunctionArgs...>::MutableBind(FunctionType function,
-                                                        TupleType && arguments)
+                                                        TupleType  &&arguments)
     : function(function)
     , arguments(std::move(arguments))
   {}
@@ -279,7 +279,7 @@ namespace Utilities
   template <typename ReturnType, class... FunctionArgs>
   void
   MutableBind<ReturnType, FunctionArgs...>::parse_arguments(
-    const std::string &          value_string,
+    const std::string           &value_string,
     const Patterns::PatternBase &pattern)
   {
     arguments =
@@ -301,7 +301,7 @@ namespace Utilities
 
   template <typename ReturnType, class... FunctionArgs>
   MutableBind<ReturnType, FunctionArgs...>
-    mutable_bind(ReturnType (*function)(FunctionArgs...))
+  mutable_bind(ReturnType (*function)(FunctionArgs...))
   {
     return MutableBind<ReturnType, FunctionArgs...>(function);
   }
index 099b4745cf77d85d2017e3cb584733b42c709c65..5b7e596154c806e005018403f7305d0d32dee3ee 100644 (file)
@@ -452,7 +452,7 @@ namespace numbers
      * @note This function can also be used in @ref GlossDevice "device" code.
      */
     static constexpr DEAL_II_HOST_DEVICE const number &
-                                               conjugate(const number &x);
+    conjugate(const number &x);
 
     /**
      * Return the square of the absolute value of the given number. Since the
@@ -698,7 +698,7 @@ namespace internal
   struct NumberType
   {
     static constexpr DEAL_II_HOST_DEVICE_ALWAYS_INLINE const T &
-                                                             value(const T &t)
+    value(const T &t)
     {
       return t;
     }
index bbf6eeb354f9b0e41864492b272e124e1772b906..f52b281b1e6d21c5075403d0d111723c6077c99c 100644 (file)
@@ -83,7 +83,7 @@ namespace parallel
     void
     parallel_for(Iterator           x_begin,
                  Iterator           x_end,
-                 const Functor &    functor,
+                 const Functor     &functor,
                  const unsigned int grainsize)
     {
       tbb::parallel_for(tbb::blocked_range<Iterator>(x_begin, x_end, grainsize),
@@ -100,7 +100,7 @@ namespace parallel
     void
     parallel_for(Iterator                                          x_begin,
                  Iterator                                          x_end,
-                 const Functor &                                   functor,
+                 const Functor                                    &functor,
                  const unsigned int                                grainsize,
                  const std::shared_ptr<tbb::affinity_partitioner> &partitioner)
     {
@@ -166,7 +166,7 @@ namespace parallel
   void transform(const InputIterator &begin_in,
                  const InputIterator &end_in,
                  OutputIterator       out,
-                 const Function &     function,
+                 const Function      &function,
                  const unsigned int   grainsize)
   {
 #ifndef DEAL_II_WITH_TBB
@@ -242,7 +242,7 @@ namespace parallel
                  const InputIterator1 &end_in1,
                  InputIterator2        in2,
                  OutputIterator        out,
-                 const Function &      function,
+                 const Function       &function,
                  const unsigned int    grainsize)
   {
 #ifndef DEAL_II_WITH_TBB
@@ -325,7 +325,7 @@ namespace parallel
                  InputIterator2        in2,
                  InputIterator3        in3,
                  OutputIterator        out,
-                 const Function &      function,
+                 const Function       &function,
                  const unsigned int    grainsize)
   {
 #ifndef DEAL_II_WITH_TBB
@@ -369,7 +369,7 @@ namespace parallel
     template <typename Iterator, typename Function>
     DEAL_II_CXX20_REQUIRES((std::invocable<Function, Iterator, Iterator>))
     void apply_to_subranges(const tbb::blocked_range<Iterator> &range,
-                            const Function &                    f)
+                            const Function                     &f)
     {
       f(range.begin(), range.end());
     }
@@ -450,9 +450,9 @@ namespace parallel
    */
   template <typename Iterator, typename Function>
   DEAL_II_CXX20_REQUIRES((std::invocable<Function, Iterator, Iterator>))
-  void apply_to_subranges(const Iterator &                            begin,
+  void apply_to_subranges(const Iterator                             &begin,
                           const std_cxx20::type_identity_t<Iterator> &end,
-                          const Function &                            f,
+                          const Function                             &f,
                           const unsigned int                          grainsize)
   {
 #ifndef DEAL_II_WITH_TBB
@@ -606,8 +606,8 @@ namespace parallel
      std::convertible_to<std::invoke_result_t<Function, Iterator, Iterator>,
                          ResultType>))
   ResultType
-    accumulate_from_subranges(const Function &                            f,
-                              const Iterator &                            begin,
+    accumulate_from_subranges(const Function                             &f,
+                              const Iterator                             &begin,
                               const std_cxx20::type_identity_t<Iterator> &end,
                               const unsigned int grainsize)
   {
index 2898f0ea05a873ecf67bfbdd50e1fbfa97ad68b7..924ead9e20f290d7cbc5726d93d0f7f4b271636d 100644 (file)
@@ -420,7 +420,7 @@ public:
              const std::string &output_filename = "",
              const ParameterHandler::OutputStyle
                output_style_for_output_filename      = ParameterHandler::Short,
-             ParameterHandler &                  prm = ParameterAcceptor::prm,
+             ParameterHandler                   &prm = ParameterAcceptor::prm,
              const ParameterHandler::OutputStyle output_style_for_filename =
                ParameterHandler::DefaultStyle);
 
@@ -434,7 +434,7 @@ public:
    * @param prm The ParameterHandler to use
    */
   static void
-  initialize(std::istream &    input_stream,
+  initialize(std::istream     &input_stream,
              ParameterHandler &prm = ParameterAcceptor::prm);
 
 
@@ -522,10 +522,10 @@ public:
    */
   template <typename ParameterType>
   void
-  add_parameter(const std::string &          entry,
-                ParameterType &              parameter,
-                const std::string &          documentation = "",
-                ParameterHandler &           prm_          = prm,
+  add_parameter(const std::string           &entry,
+                ParameterType               &parameter,
+                const std::string           &documentation = "",
+                ParameterHandler            &prm_          = prm,
                 const Patterns::PatternBase &pattern =
                   *Patterns::Tools::Convert<ParameterType>::to_pattern());
 
@@ -726,10 +726,10 @@ public:
 // Inline and template functions
 template <typename ParameterType>
 void
-ParameterAcceptor::add_parameter(const std::string &          entry,
-                                 ParameterType &              parameter,
-                                 const std::string &          documentation,
-                                 ParameterHandler &           prm,
+ParameterAcceptor::add_parameter(const std::string           &entry,
+                                 ParameterType               &parameter,
+                                 const std::string           &documentation,
+                                 ParameterHandler            &prm,
                                  const Patterns::PatternBase &pattern)
 {
   enter_my_subsection(prm);
index 559352f0cf39722fd8f4d40c547a15694299eaed..9fff4947d282534a127071e41f88de52a4af47eb 100644 (file)
@@ -1024,7 +1024,7 @@ public:
    * value does not satisfy its pattern is ignored.
    */
   virtual void
-  parse_input(std::istream &     input,
+  parse_input(std::istream      &input,
               const std::string &filename       = "input file",
               const std::string &last_line      = "",
               const bool         skip_undefined = false);
@@ -1122,10 +1122,10 @@ public:
    * error, for example to override an earlier default value.
    */
   void
-  declare_entry(const std::string &          entry,
-                const std::string &          default_value,
+  declare_entry(const std::string           &entry,
+                const std::string           &default_value,
                 const Patterns::PatternBase &pattern = Patterns::Anything(),
-                const std::string &          documentation = "",
+                const std::string           &documentation = "",
                 const bool                   has_to_be_set = false);
 
   /**
@@ -1176,7 +1176,7 @@ public:
    *  ParameterHandler::parse_input() for more information.
    */
   void
-  add_action(const std::string &                                  entry,
+  add_action(const std::string                                   &entry,
              const std::function<void(const std::string &value)> &action,
              const bool execute_action = true);
 
@@ -1197,9 +1197,9 @@ public:
    */
   template <typename ParameterType>
   void
-  add_parameter(const std::string &          entry,
-                ParameterType &              parameter,
-                const std::string &          documentation = "",
+  add_parameter(const std::string           &entry,
+                ParameterType               &parameter,
+                const std::string           &documentation = "",
                 const Patterns::PatternBase &pattern =
                   *Patterns::Tools::Convert<ParameterType>::to_pattern(),
                 const bool has_to_be_set = false);
@@ -1292,7 +1292,7 @@ public:
    */
   std::string
   get(const std::vector<std::string> &entry_subsection_path,
-      const std::string &             entry_string) const;
+      const std::string              &entry_string) const;
 
   /**
    * Return value of entry @p entry_string as <code>long int</code>. (A long
@@ -1312,7 +1312,7 @@ public:
    */
   long int
   get_integer(const std::vector<std::string> &entry_subsection_path,
-              const std::string &             entry_string) const;
+              const std::string              &entry_string) const;
 
   /**
    * Return value of entry @p entry_name as @p double.
@@ -1328,7 +1328,7 @@ public:
    */
   double
   get_double(const std::vector<std::string> &entry_subsection_path,
-             const std::string &             entry_string) const;
+             const std::string              &entry_string) const;
   /**
    * Return value of entry @p entry_name as @p bool. The entry may
    * be "true" or "yes" for @p true, "false" or "no" for @p false
@@ -1347,7 +1347,7 @@ public:
    */
   bool
   get_bool(const std::vector<std::string> &entry_subsection_path,
-           const std::string &             entry_string) const;
+           const std::string              &entry_string) const;
 
   /**
    * Change the value presently stored for <tt>entry_name</tt> to the one
@@ -1551,7 +1551,7 @@ public:
    * it called recursively by the previous function.
    */
   void
-  log_parameters_section(LogStream &       out,
+  log_parameters_section(LogStream        &out,
                          const OutputStyle style = DefaultStyle);
 
   /**
@@ -1809,7 +1809,7 @@ private:
    */
   std::string
   get_current_full_path(const std::vector<std::string> &sub_path,
-                        const std::string &             name) const;
+                        const std::string              &name) const;
 
   /**
    * Scan one line of input. <tt>input_filename</tt> and
@@ -1848,11 +1848,11 @@ private:
    */
   void
   recursively_print_parameters(
-    const boost::property_tree::ptree tree,
-    const std::vector<std::string> &    target_subsection_path,
+    const boost::property_tree::ptree  &tree,
+    const std::vector<std::string>     &target_subsection_path,
     const ParameterHandler::OutputStyle style,
     const unsigned int                  indent_level,
-    std::ostream &                      out) const;
+    std::ostream                       &out) const;
 
   friend class MultipleParameterLoop;
 };
@@ -2150,7 +2150,7 @@ public:
    * just reformat their inputs and then call this version.
    */
   virtual void
-  parse_input(std::istream &     input,
+  parse_input(std::istream      &input,
               const std::string &filename       = "input file",
               const std::string &last_line      = "",
               const bool         skip_undefined = false) override;
@@ -2214,8 +2214,8 @@ private:
      * <tt>split_different_values</tt>.
      */
     Entry(const std::vector<std::string> &Path,
-          const std::string &             Name,
-          const std::string &             Value);
+          const std::string              &Name,
+          const std::string              &Value);
 
     /**
      * Split the entry value into the different branches.
@@ -2323,7 +2323,7 @@ ParameterHandler::load(Archive &ar, const unsigned int)
   ar &*entries.get();
 
   std::vector<std::string> descriptions;
-  ar &                     descriptions;
+  ar                      &descriptions;
 
   patterns.clear();
   for (const auto &description : descriptions)
@@ -2333,9 +2333,9 @@ ParameterHandler::load(Archive &ar, const unsigned int)
 
 template <typename ParameterType>
 void
-ParameterHandler::add_parameter(const std::string &          entry,
-                                ParameterType &              parameter,
-                                const std::string &          documentation,
+ParameterHandler::add_parameter(const std::string           &entry,
+                                ParameterType               &parameter,
+                                const std::string           &documentation,
                                 const Patterns::PatternBase &pattern,
                                 const bool                   has_to_be_set)
 {
index bee344c06c3c410c282bf22a950b15aa7ba68779..ef61795f05ec9db1bef45ca1e5a95f29aa34c036 100644 (file)
@@ -173,7 +173,7 @@ public:
    * unique component name.
    */
   ParsedConvergenceTable(
-    const std::vector<std::string> &                    component_names = {"u"},
+    const std::vector<std::string>                     &component_names = {"u"},
     const std::vector<std::set<VectorTools::NormType>> &list_of_error_norms = {
       {VectorTools::H1_norm, VectorTools::L2_norm, VectorTools::Linfty_norm}});
 
@@ -242,13 +242,13 @@ public:
    * @endcode
    */
   ParsedConvergenceTable(
-    const std::vector<std::string> &                    component_names,
+    const std::vector<std::string>                     &component_names,
     const std::vector<std::set<VectorTools::NormType>> &list_of_error_norms,
     const double                                        exponent,
-    const std::set<std::string> &                       extra_columns,
-    const std::string &                                 rate_key,
-    const std::string &                                 rate_mode,
-    const std::string &                                 error_file_name,
+    const std::set<std::string>                        &extra_columns,
+    const std::string                                  &rate_key,
+    const std::string                                  &rate_mode,
+    const std::string                                  &error_file_name,
     const unsigned int                                  precision,
     const bool                                          compute_error);
 
@@ -274,20 +274,20 @@ public:
   template <int dim, int spacedim, typename VectorType>
   void
   error_from_exact(const DoFHandler<dim, spacedim> &vspace,
-                   const VectorType &               solution,
-                   const Function<spacedim> &       exact,
-                   const Function<spacedim> *       weight = nullptr);
+                   const VectorType                &solution,
+                   const Function<spacedim>        &exact,
+                   const Function<spacedim>        *weight = nullptr);
 
   /**
    * Same as above, with a different mapping.
    */
   template <int dim, int spacedim, typename VectorType>
   void
-  error_from_exact(const Mapping<dim, spacedim> &   mapping,
+  error_from_exact(const Mapping<dim, spacedim>    &mapping,
                    const DoFHandler<dim, spacedim> &vspace,
-                   const VectorType &               solution,
-                   const Function<spacedim> &       exact,
-                   const Function<spacedim> *       weight = nullptr);
+                   const VectorType                &solution,
+                   const Function<spacedim>        &exact,
+                   const Function<spacedim>        *weight = nullptr);
 
   /**
    * Add an additional column (with name @p column_name) to the table, by invoking
@@ -356,7 +356,7 @@ public:
    * key in the parameter file.
    */
   void
-  add_extra_column(const std::string &            column_name,
+  add_extra_column(const std::string             &column_name,
                    const std::function<double()> &custom_function,
                    const bool                     compute_rate = true);
 
@@ -482,9 +482,9 @@ private:
 template <int dim, int spacedim, typename VectorType>
 void
 ParsedConvergenceTable::difference(const DoFHandler<dim, spacedim> &dh,
-                                   const VectorType &               solution1,
-                                   const VectorType &               solution2,
-                                   const Function<spacedim> *       weight)
+                                   const VectorType                &solution1,
+                                   const VectorType                &solution2,
+                                   const Function<spacedim>        *weight)
 {
   AssertThrow(solution1.size() == solution2.size(),
               ExcDimensionMismatch(solution1.size(), solution2.size()));
@@ -501,11 +501,11 @@ ParsedConvergenceTable::difference(const DoFHandler<dim, spacedim> &dh,
 
 template <int dim, int spacedim, typename VectorType>
 void
-ParsedConvergenceTable::difference(const Mapping<dim, spacedim> &   mapping,
+ParsedConvergenceTable::difference(const Mapping<dim, spacedim>    &mapping,
                                    const DoFHandler<dim, spacedim> &dh,
-                                   const VectorType &               solution1,
-                                   const VectorType &               solution2,
-                                   const Function<spacedim> *       weight)
+                                   const VectorType                &solution1,
+                                   const VectorType                &solution2,
+                                   const Function<spacedim>        *weight)
 {
   AssertThrow(solution1.size() == solution2.size(),
               ExcDimensionMismatch(solution1.size(), solution2.size()));
@@ -524,7 +524,7 @@ ParsedConvergenceTable::difference(const Mapping<dim, spacedim> &   mapping,
 template <int dim, int spacedim, typename VectorType>
 void
 ParsedConvergenceTable::error_from_exact(const DoFHandler<dim, spacedim> &dh,
-                                         const VectorType &        solution,
+                                         const VectorType         &solution,
                                          const Function<spacedim> &exact,
                                          const Function<spacedim> *weight)
 {
@@ -541,7 +541,7 @@ template <int dim, int spacedim, typename VectorType>
 void
 ParsedConvergenceTable::error_from_exact(const Mapping<dim, spacedim> &mapping,
                                          const DoFHandler<dim, spacedim> &dh,
-                                         const VectorType &        solution,
+                                         const VectorType         &solution,
                                          const Function<spacedim> &exact,
                                          const Function<spacedim> *weight)
 {
index 0c8fb63c84672923aa6cb689ca5481b10df8a2bc..97293070072e15a4f4ce9a420981885d3d21ba9b 100644 (file)
@@ -109,7 +109,7 @@ namespace Functions
      *  @endcode
      */
     static void
-    declare_parameters(ParameterHandler prm,
+    declare_parameters(ParameterHandler  &prm,
                        const unsigned int n_components = 1);
 
     /**
index d815220a9ccf31e86671362c35e18b7a01248837..3e9feca946aaec03a9bc2b75262505f6cf31d2ec 100644 (file)
@@ -521,9 +521,9 @@ namespace Utilities
       export_to_ghosted_array_start(
         const unsigned int                              communication_channel,
         const ArrayView<const Number, MemorySpaceType> &locally_owned_array,
-        const ArrayView<Number, MemorySpaceType> &      temporary_storage,
-        const ArrayView<Number, MemorySpaceType> &      ghost_array,
-        std::vector<MPI_Request> &                      requests) const;
+        const ArrayView<Number, MemorySpaceType>       &temporary_storage,
+        const ArrayView<Number, MemorySpaceType>       &ghost_array,
+        std::vector<MPI_Request>                       &requests) const;
 
       /**
        * Finish the exportation of the data in a locally owned array to the
@@ -546,7 +546,7 @@ namespace Utilities
       void
       export_to_ghosted_array_finish(
         const ArrayView<Number, MemorySpaceType> &ghost_array,
-        std::vector<MPI_Request> &                requests) const;
+        std::vector<MPI_Request>                 &requests) const;
 
       /**
        * Start importing the data on an array indexed by the ghost indices of
@@ -592,7 +592,7 @@ namespace Utilities
         const unsigned int                        communication_channel,
         const ArrayView<Number, MemorySpaceType> &ghost_array,
         const ArrayView<Number, MemorySpaceType> &temporary_storage,
-        std::vector<MPI_Request> &                requests) const;
+        std::vector<MPI_Request>                 &requests) const;
 
       /**
        * Finish importing the data from an array indexed by the ghost
@@ -633,9 +633,9 @@ namespace Utilities
       import_from_ghosted_array_finish(
         const VectorOperation::values                   vector_operation,
         const ArrayView<const Number, MemorySpaceType> &temporary_storage,
-        const ArrayView<Number, MemorySpaceType> &      locally_owned_storage,
-        const ArrayView<Number, MemorySpaceType> &      ghost_array,
-        std::vector<MPI_Request> &                      requests) const;
+        const ArrayView<Number, MemorySpaceType>       &locally_owned_storage,
+        const ArrayView<Number, MemorySpaceType>       &ghost_array,
+        std::vector<MPI_Request>                       &requests) const;
 #endif
 
       /**
index 38db3728beefa549e3cea2c32b28f1382a418afb..86132a20dc5ba14923f3594e07dcbe3606c09bfe 100644 (file)
@@ -42,9 +42,9 @@ namespace Utilities
     Partitioner::export_to_ghosted_array_start(
       const unsigned int                              communication_channel,
       const ArrayView<const Number, MemorySpaceType> &locally_owned_array,
-      const ArrayView<Number, MemorySpaceType> &      temporary_storage,
-      const ArrayView<Number, MemorySpaceType> &      ghost_array,
-      std::vector<MPI_Request> &                      requests) const
+      const ArrayView<Number, MemorySpaceType>       &temporary_storage,
+      const ArrayView<Number, MemorySpaceType>       &ghost_array,
+      std::vector<MPI_Request>                       &requests) const
     {
       AssertDimension(temporary_storage.size(), n_import_indices());
       AssertIndexRange(communication_channel, 200);
@@ -183,7 +183,7 @@ namespace Utilities
     void
     Partitioner::export_to_ghosted_array_finish(
       const ArrayView<Number, MemorySpaceType> &ghost_array,
-      std::vector<MPI_Request> &                requests) const
+      std::vector<MPI_Request>                 &requests) const
     {
       Assert(ghost_array.size() == n_ghost_indices() ||
                ghost_array.size() == n_ghost_indices_in_larger_set,
@@ -295,7 +295,7 @@ namespace Utilities
       const unsigned int                        communication_channel,
       const ArrayView<Number, MemorySpaceType> &ghost_array,
       const ArrayView<Number, MemorySpaceType> &temporary_storage,
-      std::vector<MPI_Request> &                requests) const
+      std::vector<MPI_Request>                 &requests) const
     {
       AssertDimension(temporary_storage.size(), n_import_indices());
       AssertIndexRange(communication_channel, 200);
@@ -533,9 +533,9 @@ namespace Utilities
     Partitioner::import_from_ghosted_array_finish(
       const VectorOperation::values                   vector_operation,
       const ArrayView<const Number, MemorySpaceType> &temporary_storage,
-      const ArrayView<Number, MemorySpaceType> &      locally_owned_array,
-      const ArrayView<Number, MemorySpaceType> &      ghost_array,
-      std::vector<MPI_Request> &                      requests) const
+      const ArrayView<Number, MemorySpaceType>       &locally_owned_array,
+      const ArrayView<Number, MemorySpaceType>       &ghost_array,
+      std::vector<MPI_Request>                       &requests) const
     {
       AssertDimension(temporary_storage.size(), n_import_indices());
       Assert(ghost_array.size() == n_ghost_indices() ||
index 6069e4aed313a0e05e022fc1fbeca9bf7de46878..d5e217c8c61be0e4e1ef42d03cce88437b1f9e28 100644 (file)
@@ -144,7 +144,7 @@ public:
   std::string
   find(const std::string &filename,
        const std::string &suffix,
-       const char *       open_mode = "r");
+       const char        *open_mode = "r");
 
   /**
    * Show the paths and suffixes used for this object.
index 64fcb694b72f3b81f2b5e59e8e6fdaf8fbe9f67d..ea86f77f18838a0dd095bd66991f6c920319ca03 100644 (file)
@@ -779,7 +779,7 @@ namespace Patterns
      * Constructor.
      */
     Tuple(const std::vector<std::unique_ptr<PatternBase>> &patterns,
-          const std::string &                              separator = ":");
+          const std::string                               &separator = ":");
 
     /**
      * Constructor. Same as above, specialized for const char *. This is
@@ -787,7 +787,7 @@ namespace Patterns
      * provided below.
      */
     Tuple(const std::vector<std::unique_ptr<PatternBase>> &patterns,
-          const char *                                     separator);
+          const char                                      *separator);
 
 
     /**
@@ -1320,7 +1320,7 @@ namespace Patterns
        * class template for particular kinds of template arguments @p T.
        */
       static std::string
-      to_string(const T &                    s,
+      to_string(const T                     &s,
                 const Patterns::PatternBase &p = *Convert<T>::to_pattern()) =
         delete;
 
@@ -1334,7 +1334,7 @@ namespace Patterns
        * class template for particular kinds of template arguments @p T.
        */
       static T
-      to_value(const std::string &          s,
+      to_value(const std::string           &s,
                const Patterns::PatternBase &p = *Convert<T>::to_pattern()) =
         delete;
     };
@@ -1515,7 +1515,7 @@ namespace Patterns
       }
 
       static std::string
-      to_string(const T &                    value,
+      to_string(const T                     &value,
                 const Patterns::PatternBase &p = *Convert<T>::to_pattern())
       {
         std::stringstream str;
@@ -1531,7 +1531,7 @@ namespace Patterns
       }
 
       static T
-      to_value(const std::string &          s,
+      to_value(const std::string           &s,
                const Patterns::PatternBase &p = *Convert<T>::to_pattern())
       {
         AssertThrow(p.match(s), ExcNoMatch(s, p.description()));
@@ -1773,7 +1773,7 @@ namespace Patterns
 
       static std::string
       to_string(
-        const T &                    t,
+        const T                     &t,
         const Patterns::PatternBase &pattern = *Convert<T>::to_pattern())
       {
         const auto *p = dynamic_cast<const Patterns::List *>(&pattern);
@@ -1799,7 +1799,7 @@ namespace Patterns
       }
 
       static T
-      to_value(const std::string &          s,
+      to_value(const std::string           &s,
                const Patterns::PatternBase &pattern = *Convert<T>::to_pattern())
       {
         AssertThrow(pattern.match(s), ExcNoMatch(s, pattern.description()));
@@ -1844,7 +1844,7 @@ namespace Patterns
 
       static std::string
       to_string(
-        const T &                    t,
+        const T                     &t,
         const Patterns::PatternBase &pattern = *Convert<T>::to_pattern())
       {
         const auto *p = dynamic_cast<const Patterns::Map *>(&pattern);
@@ -1873,7 +1873,7 @@ namespace Patterns
       }
 
       static T
-      to_value(const std::string &          s,
+      to_value(const std::string           &s,
                const Patterns::PatternBase &pattern = *Convert<T>::to_pattern())
       {
         AssertThrow(pattern.match(s), ExcNoMatch(s, pattern.description()));
@@ -1923,7 +1923,7 @@ namespace Patterns
 
       static std::string
       to_string(
-        const T &                    t,
+        const T                     &t,
         const Patterns::PatternBase &pattern = *Convert<T>::to_pattern())
       {
         const auto *p = dynamic_cast<const Patterns::List *>(&pattern);
@@ -1949,7 +1949,7 @@ namespace Patterns
       }
 
       static T
-      to_value(const std::string &          s,
+      to_value(const std::string           &s,
                const Patterns::PatternBase &pattern = *Convert<T>::to_pattern())
       {
         AssertThrow(pattern.match(s), ExcNoMatch(s, pattern.description()));
@@ -1990,7 +1990,7 @@ namespace Patterns
 
       static std::string
       to_string(
-        const T &                    t,
+        const T                     &t,
         const Patterns::PatternBase &pattern = *Convert<T>::to_pattern())
       {
         const auto *p = dynamic_cast<const Patterns::List *>(&pattern);
@@ -2014,7 +2014,7 @@ namespace Patterns
       }
 
       static T
-      to_value(const std::string &          s,
+      to_value(const std::string           &s,
                const Patterns::PatternBase &pattern = *Convert<T>::to_pattern())
       {
         AssertThrow(pattern.match(s), ExcNoMatch(s, pattern.description()));
@@ -2050,7 +2050,7 @@ namespace Patterns
 
       static std::string
       to_string(
-        const T &                    t,
+        const T                     &t,
         const Patterns::PatternBase &pattern = *Convert<T>::to_pattern())
       {
         return Convert<Tensor<1, dim, Number>>::to_string(
@@ -2058,7 +2058,7 @@ namespace Patterns
       }
 
       static T
-      to_value(const std::string &          s,
+      to_value(const std::string           &s,
                const Patterns::PatternBase &pattern = *Convert<T>::to_pattern())
       {
         return T(Convert<Tensor<1, dim, Number>>::to_value(s, pattern));
@@ -2087,7 +2087,7 @@ namespace Patterns
 
       static std::string
       to_string(
-        const T &                    t,
+        const T                     &t,
         const Patterns::PatternBase &pattern = *Convert<T>::to_pattern())
       {
         const auto *p = dynamic_cast<const Patterns::List *>(&pattern);
@@ -2108,7 +2108,7 @@ namespace Patterns
       }
 
       static T
-      to_value(const std::string &          s,
+      to_value(const std::string           &s,
                const Patterns::PatternBase &pattern = *Convert<T>::to_pattern())
       {
         AssertThrow(pattern.match(s), ExcNoMatch(s, pattern.description()));
@@ -2144,7 +2144,7 @@ namespace Patterns
 
       static std::string
       to_string(
-        const T &                    t,
+        const T                     &t,
         const Patterns::PatternBase &pattern = *Convert<T>::to_pattern())
       {
         std::vector<bool> mask(t.size());
@@ -2155,7 +2155,7 @@ namespace Patterns
       }
 
       static T
-      to_value(const std::string &          s,
+      to_value(const std::string           &s,
                const Patterns::PatternBase &pattern = *Convert<T>::to_pattern())
       {
         const auto mask = Convert<std::vector<bool>>::to_value(s, pattern);
@@ -2184,7 +2184,7 @@ namespace Patterns
 
       static std::string
       to_string(
-        const T &                    t,
+        const T                     &t,
         const Patterns::PatternBase &pattern = *Convert<T>::to_pattern())
       {
         const auto *p = dynamic_cast<const Patterns::List *>(&pattern);
@@ -2206,7 +2206,7 @@ namespace Patterns
        * Convert a string to a value, using the given pattern, or a default one.
        */
       static T
-      to_value(const std::string &          s,
+      to_value(const std::string           &s,
                const Patterns::PatternBase &pattern = *Convert<T>::to_pattern())
       {
         AssertThrow(pattern.match(s), ExcNoMatch(s, pattern.description()));
@@ -2240,7 +2240,7 @@ namespace Patterns
 
       static std::string
       to_string(
-        const T &                    t,
+        const T                     &t,
         const Patterns::PatternBase &pattern = *Convert<T>::to_pattern())
       {
         AssertThrow(pattern.match(t), ExcNoMatch(t, pattern.description()));
@@ -2248,7 +2248,7 @@ namespace Patterns
       }
 
       static T
-      to_value(const std::string &          s,
+      to_value(const std::string           &s,
                const Patterns::PatternBase &pattern = *Convert<T>::to_pattern())
       {
         AssertThrow(pattern.match(s), ExcNoMatch(s, pattern.description()));
@@ -2275,7 +2275,7 @@ namespace Patterns
 
       static std::string
       to_string(
-        const T &                    t,
+        const T                     &t,
         const Patterns::PatternBase &pattern = *Convert<T>::to_pattern())
       {
         std::tuple<Key, Value> m(t);
@@ -2285,7 +2285,7 @@ namespace Patterns
       }
 
       static T
-      to_value(const std::string &          s,
+      to_value(const std::string           &s,
                const Patterns::PatternBase &pattern = *Convert<T>::to_pattern())
       {
         std::tuple<Key, Value> m;
@@ -2312,7 +2312,7 @@ namespace Patterns
 
       static std::string
       to_string(
-        const T &                    t,
+        const T                     &t,
         const Patterns::PatternBase &pattern = *Convert<T>::to_pattern())
       {
         const auto *p = dynamic_cast<const Patterns::Tuple *>(&pattern);
@@ -2330,7 +2330,7 @@ namespace Patterns
       }
 
       static T
-      to_value(const std::string &          s,
+      to_value(const std::string           &s,
                const Patterns::PatternBase &pattern = *Convert<T>::to_pattern())
       {
         AssertThrow(pattern.match(s), ExcNoMatch(s, pattern.description()));
@@ -2348,7 +2348,7 @@ namespace Patterns
     private:
       template <std::size_t... U>
       static std::array<std::string, std::tuple_size<T>::value>
-      to_string_internal_1(const T &              t,
+      to_string_internal_1(const T               &t,
                            const Patterns::Tuple &pattern,
                            std::index_sequence<U...>)
       {
@@ -2368,7 +2368,7 @@ namespace Patterns
       template <std::size_t... U>
       static T
       to_value_internal_1(const std::vector<std::string> &s,
-                          const Patterns::Tuple &         pattern,
+                          const Patterns::Tuple          &pattern,
                           std::index_sequence<U...>)
       {
         return std::make_tuple(
@@ -2378,7 +2378,7 @@ namespace Patterns
 
       static T
       to_value_internal_2(const std::vector<std::string> &s,
-                          const Patterns::Tuple &         pattern)
+                          const Patterns::Tuple          &pattern)
       {
         return Convert<T>::to_value_internal_1(
           s, pattern, std::make_index_sequence<std::tuple_size<T>::value>{});
index 1858cd3c2cb593cdc84f20b2f2ada52f2303bdfc..d99152f39a23ba7c0fca4e840e9ca3ca08530553 100644 (file)
@@ -193,7 +193,7 @@ public:
    * @note This function can also be used in @ref GlossDevice "device" code.
    */
   DEAL_II_HOST_DEVICE Number &
-                      operator()(const unsigned int index);
+  operator()(const unsigned int index);
 
   /**
    * Assignment operator from Tensor<1, dim, Number> with different underlying
index 36f8b225234dfce9d81064e136b4af4eebdcb787..2f44aa63bc1395ca4f222166f1332a34a05f27f7 100644 (file)
@@ -142,7 +142,7 @@ namespace Polynomials
     void
     value(const Number2      x,
           const unsigned int n_derivatives,
-          Number2 *          values) const;
+          Number2           *values) const;
 
     /**
      * Similar to the function above, but evaluate the polynomials on several
@@ -160,7 +160,7 @@ namespace Polynomials
     void
     values_of_array(const std::array<Number2, n_entries> &points,
                     const unsigned int                    n_derivatives,
-                    std::array<Number2, n_entries> *      values) const;
+                    std::array<Number2, n_entries>       *values) const;
 
     /**
      * Degree of the polynomial. This is the degree reflected by the number of
@@ -846,7 +846,7 @@ namespace Polynomials
   inline void
   Polynomial<number>::value(const Number2      x,
                             const unsigned int n_derivatives,
-                            Number2 *          values) const
+                            Number2           *values) const
   {
     values_of_array(std::array<Number2, 1ul>{{x}},
                     n_derivatives,
@@ -861,7 +861,7 @@ namespace Polynomials
   Polynomial<number>::values_of_array(
     const std::array<Number2, n_entries> &x,
     const unsigned int                    n_derivatives,
-    std::array<Number2, n_entries> *      values) const
+    std::array<Number2, n_entries>       *values) const
   {
     // evaluate Lagrange polynomial and derivatives
     if (in_lagrange_product_form == true)
index 279626fc3fd95ce716596896f3b8a2825babf78a..2739f70662ad366aa027573e16195a0f3eb60fe5 100644 (file)
@@ -142,8 +142,8 @@ public:
    * compute_grad_grad() functions, see below, in a loop over all polynomials.
    */
   void
-  evaluate(const Point<dim> &           unit_point,
-           std::vector<double> &        values,
+  evaluate(const Point<dim>            &unit_point,
+           std::vector<double>         &values,
            std::vector<Tensor<1, dim>> &grads,
            std::vector<Tensor<2, dim>> &grad_grads,
            std::vector<Tensor<3, dim>> &third_derivatives,
@@ -175,28 +175,28 @@ public:
    */
   virtual Tensor<1, dim>
   compute_1st_derivative(const unsigned int i,
-                         const Point<dim> p) const override;
+                         const Point<dim>  &p) const override;
 
   /**
    * @copydoc ScalarPolynomialsBase::compute_2nd_derivative()
    */
   virtual Tensor<2, dim>
   compute_2nd_derivative(const unsigned int i,
-                         const Point<dim> p) const override;
+                         const Point<dim>  &p) const override;
 
   /**
    * @copydoc ScalarPolynomialsBase::compute_3rd_derivative()
    */
   virtual Tensor<3, dim>
   compute_3rd_derivative(const unsigned int i,
-                         const Point<dim> p) const override;
+                         const Point<dim>  &p) const override;
 
   /**
    * @copydoc ScalarPolynomialsBase::compute_4th_derivative()
    */
   virtual Tensor<4, dim>
   compute_4th_derivative(const unsigned int i,
-                         const Point<dim> p) const override;
+                         const Point<dim>  &p) const override;
 
   /**
    * Compute the gradient of the <tt>i</tt>th polynomial at unit point
@@ -331,7 +331,7 @@ template <int dim>
 template <int order>
 Tensor<order, dim>
 PolynomialSpace<dim>::compute_derivative(const unsigned int i,
-                                         const Point<dim> p) const
+                                         const Point<dim>  &p) const
 {
   const std::array<unsigned int, dim> indices = compute_index(i);
 
@@ -456,7 +456,7 @@ PolynomialSpace<dim>::compute_derivative(const unsigned int i,
 template <int dim>
 inline Tensor<1, dim>
 PolynomialSpace<dim>::compute_1st_derivative(const unsigned int i,
-                                             const Point<dim> p) const
+                                             const Point<dim>  &p) const
 {
   return compute_derivative<1>(i, p);
 }
@@ -466,7 +466,7 @@ PolynomialSpace<dim>::compute_1st_derivative(const unsigned int i,
 template <int dim>
 inline Tensor<2, dim>
 PolynomialSpace<dim>::compute_2nd_derivative(const unsigned int i,
-                                             const Point<dim> p) const
+                                             const Point<dim>  &p) const
 {
   return compute_derivative<2>(i, p);
 }
@@ -476,7 +476,7 @@ PolynomialSpace<dim>::compute_2nd_derivative(const unsigned int i,
 template <int dim>
 inline Tensor<3, dim>
 PolynomialSpace<dim>::compute_3rd_derivative(const unsigned int i,
-                                             const Point<dim> p) const
+                                             const Point<dim>  &p) const
 {
   return compute_derivative<3>(i, p);
 }
@@ -486,7 +486,7 @@ PolynomialSpace<dim>::compute_3rd_derivative(const unsigned int i,
 template <int dim>
 inline Tensor<4, dim>
 PolynomialSpace<dim>::compute_4th_derivative(const unsigned int i,
-                                             const Point<dim> p) const
+                                             const Point<dim>  &p) const
 {
   return compute_derivative<4>(i, p);
 }
index 3aaaed9a58dc9002ff35ed065375d631c2d8582d..757848bb4046bf353a66973de7c8ed349ac07fd2 100644 (file)
@@ -71,7 +71,7 @@ public:
    * the first case, the function will not compute these values.
    */
   void
-  evaluate(const Point<dim> &           unit_point,
+  evaluate(const Point<dim>            &unit_point,
            std::vector<Tensor<1, dim>> &values,
            std::vector<Tensor<2, dim>> &grads,
            std::vector<Tensor<3, dim>> &grad_grads,
index 1fcd61be24b68a9ac36871efbdc25064349c44bb..afa2c9f8f49f5102a0c4f2682ad32074aa9504b4 100644 (file)
@@ -63,8 +63,8 @@ public:
    * compute_grad_grad() functions, see below, in a loop over all polynomials.
    */
   void
-  evaluate(const Point<dim> &           unit_point,
-           std::vector<double> &        values,
+  evaluate(const Point<dim>            &unit_point,
+           std::vector<double>         &values,
            std::vector<Tensor<1, dim>> &grads,
            std::vector<Tensor<2, dim>> &grad_grads,
            std::vector<Tensor<3, dim>> &third_derivatives,
@@ -83,28 +83,28 @@ public:
    */
   virtual Tensor<1, dim>
   compute_1st_derivative(const unsigned int i,
-                         const Point<dim> p) const override;
+                         const Point<dim>  &p) const override;
 
   /**
    * @copydoc ScalarPolynomialsBase::compute_2nd_derivative()
    */
   virtual Tensor<2, dim>
   compute_2nd_derivative(const unsigned int i,
-                         const Point<dim> p) const override;
+                         const Point<dim>  &p) const override;
 
   /**
    * @copydoc ScalarPolynomialsBase::compute_3rd_derivative()
    */
   virtual Tensor<3, dim>
   compute_3rd_derivative(const unsigned int i,
-                         const Point<dim> p) const override;
+                         const Point<dim>  &p) const override;
 
   /**
    * @copydoc ScalarPolynomialsBase::compute_4th_derivative()
    */
   virtual Tensor<4, dim>
   compute_4th_derivative(const unsigned int i,
-                         const Point<dim> p) const override;
+                         const Point<dim>  &p) const override;
 
   /**
    * Compute the gradient of the <tt>i</tt>th polynomial at
index cc1764fc2c5dc8980d6b5b8ef1484bbfc731d0cd..accc4ffb210992b3f8025cd761e3d3039b07c25d 100644 (file)
@@ -206,7 +206,7 @@ protected:
    * exponents).
    */
   static TableIndices<dim + 1>
-  index_to_indices(const std::size_t &          index,
+  index_to_indices(const std::size_t           &index,
                    const TableIndices<dim + 1> &extent);
 };
 
@@ -269,8 +269,8 @@ public:
    * @copydoc ScalarPolynomialsBase::evaluate()
    */
   void
-  evaluate(const Point<dim> &           unit_point,
-           std::vector<double> &        values,
+  evaluate(const Point<dim>            &unit_point,
+           std::vector<double>         &values,
            std::vector<Tensor<1, dim>> &grads,
            std::vector<Tensor<2, dim>> &grad_grads,
            std::vector<Tensor<3, dim>> &third_derivatives,
@@ -287,28 +287,28 @@ public:
    */
   Tensor<1, dim>
   compute_1st_derivative(const unsigned int i,
-                         const Point<dim> p) const override;
+                         const Point<dim>  &p) const override;
 
   /**
    * @copydoc ScalarPolynomialsBase::compute_2nd_derivative()
    */
   Tensor<2, dim>
   compute_2nd_derivative(const unsigned int i,
-                         const Point<dim> p) const override;
+                         const Point<dim>  &p) const override;
 
   /**
    * @copydoc ScalarPolynomialsBase::compute_3rd_derivative()
    */
   Tensor<3, dim>
   compute_3rd_derivative(const unsigned int i,
-                         const Point<dim> p) const override;
+                         const Point<dim>  &p) const override;
 
   /**
    * @copydoc ScalarPolynomialsBase::compute_4th_derivative()
    */
   Tensor<4, dim>
   compute_4th_derivative(const unsigned int i,
-                         const Point<dim> p) const override;
+                         const Point<dim>  &p) const override;
 
   /**
    * @copydoc ScalarPolynomialsBase::compute_grad()
@@ -598,7 +598,7 @@ BarycentricPolynomial<dim, Number>::operator*(
 
   const auto &coef_1   = this->coefficients;
   const auto &coef_2   = multiplicand.coefficients;
-  auto &      coef_out = result.coefficients;
+  auto       &coef_out = result.coefficients;
 
   for (std::size_t i1 = 0; i1 < coef_1.n_elements(); ++i1)
     {
@@ -633,8 +633,8 @@ BarycentricPolynomial<dim, Number>::barycentric_derivative(
   deg[coordinate] -= 1;
   BarycentricPolynomial<dim, Number> result(deg,
                                             std::numeric_limits<Number>::max());
-  const auto &                       coeffs_in  = coefficients;
-  auto &                             coeffs_out = result.coefficients;
+  const auto                        &coeffs_in  = coefficients;
+  auto                              &coeffs_out = result.coefficients;
   for (std::size_t i = 0; i < coeffs_out.n_elements(); ++i)
     {
       const auto out_index   = index_to_indices(i, coeffs_out.size());
@@ -705,7 +705,7 @@ BarycentricPolynomial<dim, Number>::memory_consumption() const
 template <int dim, typename Number>
 TableIndices<dim + 1>
 BarycentricPolynomial<dim, Number>::index_to_indices(
-  const std::size_t &          index,
+  const std::size_t           &index,
   const TableIndices<dim + 1> &extent)
 {
   TableIndices<dim + 1> result;
index a771861330e2325affa493e4cc8bbedf6c94b641..618cd5d29a7425253a6b13d437e2658add989a4c 100644 (file)
@@ -117,7 +117,7 @@ public:
    * the first case, the function will not compute these values.
    */
   void
-  evaluate(const Point<dim> &           unit_point,
+  evaluate(const Point<dim>            &unit_point,
            std::vector<Tensor<1, dim>> &values,
            std::vector<Tensor<2, dim>> &grads,
            std::vector<Tensor<3, dim>> &grad_grads,
index e983be8e559e88c5a72efbcc0182f0b790e82bf2..d4d1411d5cc7175326beb2c0dd07b9684b1a9394 100644 (file)
@@ -108,7 +108,7 @@ public:
    * the first case, the function will not compute these values.
    */
   void
-  evaluate(const Point<dim> &           unit_point,
+  evaluate(const Point<dim>            &unit_point,
            std::vector<Tensor<1, dim>> &values,
            std::vector<Tensor<2, dim>> &grads,
            std::vector<Tensor<3, dim>> &grad_grads,
index 9d23597cf4d28f7c24bf95de428640e867b3f896..a278ee00ab21754d5924285d76cbf4c7a18789fb 100644 (file)
@@ -68,7 +68,7 @@ public:
    * the first case, the function will not compute these values.
    */
   void
-  evaluate(const Point<dim> &           unit_point,
+  evaluate(const Point<dim>            &unit_point,
            std::vector<Tensor<1, dim>> &values,
            std::vector<Tensor<2, dim>> &grads,
            std::vector<Tensor<3, dim>> &grad_grads,
index 70a57f01ae7eeba43dfad92efc3c928655fb3723..dc9ee62f37b5d8ff462f0cc3e516b9b53b8b6a75 100644 (file)
@@ -133,7 +133,7 @@ namespace Polynomials
     void
     value(const number       x,
           const unsigned int n_derivatives,
-          number *           values) const;
+          number            *values) const;
 
     /**
      * Degree of the polynomial. This is the degree of the underlying base
index 2ba79b8ca208dd17c783b985f46961be24e961ae..5e07e6239aca0ded3917b5eb3fd29b6116c4841d 100644 (file)
@@ -49,8 +49,8 @@ public:
    * @note Currently, only the vectors @p values and @p grads are filled.
    */
   void
-  evaluate(const Point<dim> &           unit_point,
-           std::vector<double> &        values,
+  evaluate(const Point<dim>            &unit_point,
+           std::vector<double>         &values,
            std::vector<Tensor<1, dim>> &grads,
            std::vector<Tensor<2, dim>> &grad_grads,
            std::vector<Tensor<3, dim>> &third_derivatives,
@@ -70,11 +70,11 @@ public:
 
   Tensor<1, dim>
   compute_1st_derivative(const unsigned int i,
-                         const Point<dim> p) const override;
+                         const Point<dim>  &p) const override;
 
   Tensor<2, dim>
   compute_2nd_derivative(const unsigned int i,
-                         const Point<dim> p) const override;
+                         const Point<dim>  &p) const override;
 
   /**
    * @copydoc ScalarPolynomialsBase::compute_3rd_derivative()
@@ -83,7 +83,7 @@ public:
    */
   Tensor<3, dim>
   compute_3rd_derivative(const unsigned int i,
-                         const Point<dim> p) const override;
+                         const Point<dim>  &p) const override;
 
   /**
    * @copydoc ScalarPolynomialsBase::compute_4th_derivative()
@@ -92,7 +92,7 @@ public:
    */
   Tensor<4, dim>
   compute_4th_derivative(const unsigned int i,
-                         const Point<dim> p) const override;
+                         const Point<dim>  &p) const override;
 
   /**
    * @copydoc ScalarPolynomialsBase::compute_grad()
@@ -124,7 +124,7 @@ template <int order>
 Tensor<order, dim>
 ScalarLagrangePolynomialPyramid<dim>::compute_derivative(
   const unsigned int i,
-  const Point<dim> p) const
+  const Point<dim>  &p) const
 {
   Tensor<order, dim> der;
 
index b6ba0046c19d088fe8773bcacd79f23eb695976e..14934a1799a41322fa43ef4fadacb466f1d64f84 100644 (file)
@@ -72,28 +72,28 @@ public:
    */
   virtual Tensor<1, dim>
   compute_1st_derivative(const unsigned int i,
-                         const Point<dim> p) const override;
+                         const Point<dim>  &p) const override;
 
   /**
    * @copydoc ScalarPolynomialsBase::compute_2nd_derivative()
    */
   virtual Tensor<2, dim>
   compute_2nd_derivative(const unsigned int i,
-                         const Point<dim> p) const override;
+                         const Point<dim>  &p) const override;
 
   /**
    * @copydoc ScalarPolynomialsBase::compute_3rd_derivative()
    */
   virtual Tensor<3, dim>
   compute_3rd_derivative(const unsigned int i,
-                         const Point<dim> p) const override;
+                         const Point<dim>  &p) const override;
 
   /**
    * @copydoc ScalarPolynomialsBase::compute_4th_derivative()
    */
   virtual Tensor<4, dim>
   compute_4th_derivative(const unsigned int i,
-                         const Point<dim> p) const override;
+                         const Point<dim>  &p) const override;
 
   /**
    * Gradient of basis function @p i at @p p.
@@ -114,8 +114,8 @@ public:
    * zero. A size of zero means that we are not computing the vector entries.
    */
   void
-  evaluate(const Point<dim> &           unit_point,
-           std::vector<double> &        values,
+  evaluate(const Point<dim>            &unit_point,
+           std::vector<double>         &values,
            std::vector<Tensor<1, dim>> &grads,
            std::vector<Tensor<2, dim>> &grad_grads,
            std::vector<Tensor<3, dim>> &third_derivatives,
@@ -238,7 +238,7 @@ template <int dim>
 template <int order>
 Tensor<order, dim>
 PolynomialsRannacherTurek<dim>::compute_derivative(const unsigned int i,
-                                                   const Point<dim> p) const
+                                                   const Point<dim>  &p) const
 {
   return internal::PolynomialsRannacherTurekImplementation::compute_derivative<
     order>(i, p);
@@ -250,7 +250,7 @@ template <int dim>
 inline Tensor<1, dim>
 PolynomialsRannacherTurek<dim>::compute_1st_derivative(
   const unsigned int i,
-  const Point<dim> p) const
+  const Point<dim>  &p) const
 {
   return compute_derivative<1>(i, p);
 }
@@ -261,7 +261,7 @@ template <int dim>
 inline Tensor<2, dim>
 PolynomialsRannacherTurek<dim>::compute_2nd_derivative(
   const unsigned int i,
-  const Point<dim> p) const
+  const Point<dim>  &p) const
 {
   return compute_derivative<2>(i, p);
 }
@@ -272,7 +272,7 @@ template <int dim>
 inline Tensor<3, dim>
 PolynomialsRannacherTurek<dim>::compute_3rd_derivative(
   const unsigned int i,
-  const Point<dim> p) const
+  const Point<dim>  &p) const
 {
   return compute_derivative<3>(i, p);
 }
@@ -283,7 +283,7 @@ template <int dim>
 inline Tensor<4, dim>
 PolynomialsRannacherTurek<dim>::compute_4th_derivative(
   const unsigned int i,
-  const Point<dim> p) const
+  const Point<dim>  &p) const
 {
   return compute_derivative<4>(i, p);
 }
index 0699043dddce1f1299ebe65c12043a59b6ec0db0..f8b7ab020f034068ec6d1aa56c5c730b6b1836fc 100644 (file)
@@ -82,7 +82,7 @@ public:
    * the first case, the function will not compute these values.
    */
   void
-  evaluate(const Point<dim> &           unit_point,
+  evaluate(const Point<dim>            &unit_point,
            std::vector<Tensor<1, dim>> &values,
            std::vector<Tensor<2, dim>> &grads,
            std::vector<Tensor<3, dim>> &grad_grads,
index 7807b6a188be50f0daf24e34275da0cda368d785..84ebf5bc47bcc494158fc505c918264023bcd3e9 100644 (file)
@@ -105,7 +105,7 @@ public:
    * the first case, the function will not compute these values.
    */
   void
-  evaluate(const Point<dim> &           unit_point,
+  evaluate(const Point<dim>            &unit_point,
            std::vector<Tensor<1, dim>> &values,
            std::vector<Tensor<2, dim>> &grads,
            std::vector<Tensor<3, dim>> &grad_grads,
index 734e75b9f73a5ded7e70f20193613bdf474d162c..d39c0f39f73d8640d2576eb2b19efc287eb77d63 100644 (file)
@@ -95,8 +95,8 @@ public:
    * @note Currently, only the vectors @p values and @p grads are filled.
    */
   void
-  evaluate(const Point<dim> &           unit_point,
-           std::vector<double> &        values,
+  evaluate(const Point<dim>            &unit_point,
+           std::vector<double>         &values,
            std::vector<Tensor<1, dim>> &grads,
            std::vector<Tensor<2, dim>> &grad_grads,
            std::vector<Tensor<3, dim>> &third_derivatives,
@@ -116,7 +116,7 @@ public:
 
   Tensor<1, dim>
   compute_1st_derivative(const unsigned int i,
-                         const Point<dim> p) const override;
+                         const Point<dim>  &p) const override;
 
   /**
    * @copydoc ScalarPolynomialsBase::compute_2nd_derivative()
@@ -125,7 +125,7 @@ public:
    */
   Tensor<2, dim>
   compute_2nd_derivative(const unsigned int i,
-                         const Point<dim> p) const override;
+                         const Point<dim>  &p) const override;
 
   /**
    * @copydoc ScalarPolynomialsBase::compute_3rd_derivative()
@@ -134,7 +134,7 @@ public:
    */
   Tensor<3, dim>
   compute_3rd_derivative(const unsigned int i,
-                         const Point<dim> p) const override;
+                         const Point<dim>  &p) const override;
 
   /**
    * @copydoc ScalarPolynomialsBase::compute_4th_derivative()
@@ -143,7 +143,7 @@ public:
    */
   Tensor<4, dim>
   compute_4th_derivative(const unsigned int i,
-                         const Point<dim> p) const override;
+                         const Point<dim>  &p) const override;
 
   /**
    * @copydoc ScalarPolynomialsBase::compute_grad()
@@ -186,7 +186,7 @@ template <int order>
 Tensor<order, dim>
 ScalarLagrangePolynomialWedge<dim>::compute_derivative(
   const unsigned int i,
-  const Point<dim> p) const
+  const Point<dim>  &p) const
 {
   Tensor<order, dim> der;
 
index af79debc3494dde8b2a2439dbbf7f728fedf8ed9..40849a6b53069ff6da86ef1e224f19beac641075 100644 (file)
@@ -94,8 +94,8 @@ public:
    * doc for this class.
    */
   static void
-  project_to_face(const ReferenceCell &    reference_cell,
-                  const SubQuadrature &    quadrature,
+  project_to_face(const ReferenceCell     &reference_cell,
+                  const SubQuadrature     &quadrature,
                   const unsigned int       face_no,
                   std::vector<Point<dim>> &q_points);
 
@@ -133,11 +133,11 @@ public:
    * same as those of the original rule.
    */
   static void
-  project_to_subface(const ReferenceCell &          reference_cell,
-                     const SubQuadrature &          quadrature,
+  project_to_subface(const ReferenceCell           &reference_cell,
+                     const SubQuadrature           &quadrature,
                      const unsigned int             face_no,
                      const unsigned int             subface_no,
-                     std::vector<Point<dim>> &      q_points,
+                     std::vector<Point<dim>>       &q_points,
                      const RefinementCase<dim - 1> &ref_case =
                        RefinementCase<dim - 1>::isotropic_refinement);
 
@@ -155,8 +155,8 @@ public:
    * version of this function that takes the reference cell type instead.
    */
   static Quadrature<dim>
-  project_to_subface(const ReferenceCell &          reference_cell,
-                     const SubQuadrature &          quadrature,
+  project_to_subface(const ReferenceCell           &reference_cell,
+                     const SubQuadrature           &quadrature,
                      const unsigned int             face_no,
                      const unsigned int             subface_no,
                      const RefinementCase<dim - 1> &ref_case =
@@ -172,8 +172,8 @@ public:
    * same as those of the original rule.
    */
   static Quadrature<dim>
-  project_to_oriented_subface(const ReferenceCell &            reference_cell,
-                              const SubQuadrature &            quadrature,
+  project_to_oriented_subface(const ReferenceCell             &reference_cell,
+                              const SubQuadrature             &quadrature,
                               const unsigned int               face_no,
                               const unsigned int               subface_no,
                               const bool                       face_orientation,
@@ -198,7 +198,7 @@ public:
    * each face, in order to cope possibly different orientations of the mesh.
    */
   static Quadrature<dim>
-  project_to_all_faces(const ReferenceCell &           reference_cell,
+  project_to_all_faces(const ReferenceCell            &reference_cell,
                        const hp::QCollection<dim - 1> &quadrature);
 
   /**
@@ -206,7 +206,7 @@ public:
    * formula on all faces.
    */
   static Quadrature<dim>
-  project_to_all_faces(const ReferenceCell &      reference_cell,
+  project_to_all_faces(const ReferenceCell       &reference_cell,
                        const Quadrature<dim - 1> &quadrature);
 
   /**
@@ -237,7 +237,7 @@ public:
    * GeometryInfo<dim>::children_per_cell.
    */
   static Quadrature<dim>
-  project_to_child(const ReferenceCell &  reference_cell,
+  project_to_child(const ReferenceCell   &reference_cell,
                    const Quadrature<dim> &quadrature,
                    const unsigned int     child_no);
 
@@ -251,7 +251,7 @@ public:
    * refinement of the cell.
    */
   static Quadrature<dim>
-  project_to_all_children(const ReferenceCell &  reference_cell,
+  project_to_all_children(const ReferenceCell   &reference_cell,
                           const Quadrature<dim> &quadrature);
 
   /**
@@ -261,8 +261,8 @@ public:
   static Quadrature<dim>
   project_to_line(const ReferenceCell &reference_cell,
                   const Quadrature<1> &quadrature,
-                  const Point<dim> &   p1,
-                  const Point<dim> &   p2);
+                  const Point<dim>    &p1,
+                  const Point<dim>    &p2);
 
   /**
    * Since the project_to_all_faces() and project_to_all_subfaces() functions
@@ -316,7 +316,7 @@ public:
      * that each face might have different number of quadrature points.
      */
     static DataSetDescriptor
-    face(const ReferenceCell &           reference_cell,
+    face(const ReferenceCell            &reference_cell,
          const unsigned int              face_no,
          const bool                      face_orientation,
          const bool                      face_flip,
@@ -336,7 +336,7 @@ public:
      * Through the last argument anisotropic refinement can be respected.
      */
     static DataSetDescriptor
-    subface(const ReferenceCell &            reference_cell,
+    subface(const ReferenceCell             &reference_cell,
             const unsigned int               face_no,
             const unsigned int               subface_no,
             const bool                       face_orientation,
@@ -408,7 +408,7 @@ inline QProjector<dim>::DataSetDescriptor::operator unsigned int() const
 
 template <int dim>
 Quadrature<dim> inline QProjector<dim>::project_to_all_faces(
-  const ReferenceCell &      reference_cell,
+  const ReferenceCell       &reference_cell,
   const Quadrature<dim - 1> &quadrature)
 {
   return project_to_all_faces(reference_cell,
@@ -429,20 +429,20 @@ QProjector<1>::project_to_face(const ReferenceCell &reference_cell,
                                std::vector<Point<1>> &);
 template <>
 void
-QProjector<2>::project_to_face(const ReferenceCell &  reference_cell,
-                               const Quadrature<1> &  quadrature,
+QProjector<2>::project_to_face(const ReferenceCell   &reference_cell,
+                               const Quadrature<1>   &quadrature,
                                const unsigned int     face_no,
                                std::vector<Point<2>> &q_points);
 template <>
 void
-QProjector<3>::project_to_face(const ReferenceCell &  reference_cell,
-                               const Quadrature<2> &  quadrature,
+QProjector<3>::project_to_face(const ReferenceCell   &reference_cell,
+                               const Quadrature<2>   &quadrature,
                                const unsigned int     face_no,
                                std::vector<Point<3>> &q_points);
 
 template <>
 Quadrature<1>
-QProjector<1>::project_to_all_faces(const ReferenceCell &     reference_cell,
+QProjector<1>::project_to_all_faces(const ReferenceCell      &reference_cell,
                                     const hp::QCollection<0> &quadrature);
 
 
@@ -456,19 +456,19 @@ QProjector<1>::project_to_subface(const ReferenceCell &reference_cell,
                                   const RefinementCase<0> &);
 template <>
 void
-QProjector<2>::project_to_subface(const ReferenceCell &  reference_cell,
-                                  const Quadrature<1> &  quadrature,
+QProjector<2>::project_to_subface(const ReferenceCell   &reference_cell,
+                                  const Quadrature<1>   &quadrature,
                                   const unsigned int     face_no,
                                   const unsigned int     subface_no,
                                   std::vector<Point<2>> &q_points,
                                   const RefinementCase<1> &);
 template <>
 void
-QProjector<3>::project_to_subface(const ReferenceCell &    reference_cell,
-                                  const Quadrature<2> &    quadrature,
+QProjector<3>::project_to_subface(const ReferenceCell     &reference_cell,
+                                  const Quadrature<2>     &quadrature,
                                   const unsigned int       face_no,
                                   const unsigned int       subface_no,
-                                  std::vector<Point<3>> &  q_points,
+                                  std::vector<Point<3>>   &q_points,
                                   const RefinementCase<2> &face_ref_case);
 
 template <>
index e83b89682f45a2c524d93a28be7269e9675c7b29..16bd884e363bb2a345efb1d7e5ffb001c22b6e12 100644 (file)
@@ -187,7 +187,7 @@ public:
    * You will want to have the weights sum up to one, but this is not checked.
    */
   Quadrature(const std::vector<Point<dim>> &points,
-             const std::vector<double> &    weights);
+             const std::vector<double>     &weights);
 
   /**
    * Construct a quadrature formula from given vectors of quadrature points
@@ -242,7 +242,7 @@ public:
    */
   void
   initialize(const std::vector<Point<dim>> &points,
-             const std::vector<double> &    weights);
+             const std::vector<double>     &weights);
 
   /**
    * Number of quadrature points.
@@ -439,7 +439,7 @@ public:
    *
    * @note We require that `intervals.front() == 0` and `interval.back() == 1`.
    */
-  QIterated(const Quadrature<1> &        base_quadrature,
+  QIterated(const Quadrature<1>         &base_quadrature,
             const std::vector<Point<1>> &intervals);
 
   /**
index 86238331f080397dbe01d4b1cb1255d636371a38..e7ba3b2f851a5ca32a19a1a66b3178a25d27a02e 100644 (file)
@@ -244,7 +244,7 @@ public:
    * formula or it is factored out, to be included in the integrand.
    */
   QGaussLogR(const unsigned int n,
-             const Point<dim> x0                         = Point<dim>(),
+             const Point<dim>  &x0                         = Point<dim>(),
              const double       alpha                      = 1,
              const bool         factor_out_singular_weight = false);
 
@@ -324,7 +324,7 @@ public:
    * @endcode
    */
   QGaussOneOverR(const unsigned int n,
-                 const Point<dim> singularity,
+                 const Point<dim>  &singularity,
                  const bool         factor_out_singular_weight = false);
   /**
    * The constructor takes three arguments: the order of the Gauss formula,
@@ -966,7 +966,7 @@ template <>
 QGaussLog<1>::QGaussLog(const unsigned int n, const bool revert);
 template <>
 QGaussLogR<1>::QGaussLogR(const unsigned int n,
-                          const Point<1> &   x0,
+                          const Point<1>    &x0,
                           const double       alpha,
                           const bool         flag);
 template <>
@@ -975,7 +975,7 @@ QGaussOneOverR<2>::QGaussOneOverR(const unsigned int n,
                                   const bool         flag);
 template <>
 QTelles<1>::QTelles(const Quadrature<1> &base_quad,
-                    const Point<1> &     singularity);
+                    const Point<1>      &singularity);
 #endif // DOXYGEN
 
 
index ca622cac120b32fde5a60b889a9e4393190e2148..be487ce0fe8608f12f86045199a72d92007382ed 100644 (file)
@@ -475,7 +475,7 @@ namespace parallel
        */
       void
       prepare_for_coarsening_and_refinement(
-        parallel::distributed::Triangulation<dim> &  tria,
+        parallel::distributed::Triangulation<dim>   &tria,
         CellDataStorage<CellIteratorType, DataType> &data_storage);
 
       /**
@@ -500,7 +500,7 @@ namespace parallel
       std::vector<char>
       pack_function(
         const typename parallel::distributed::Triangulation<dim>::cell_iterator
-          &              cell,
+                        &cell,
         const CellStatus status);
 
       /**
@@ -511,7 +511,7 @@ namespace parallel
       void
       unpack_function(
         const typename parallel::distributed::Triangulation<dim>::cell_iterator
-          &              cell,
+                        &cell,
         const CellStatus status,
         const boost::iterator_range<std::vector<char>::const_iterator>
           &data_range);
@@ -818,9 +818,9 @@ CellDataStorage<CellIteratorType, DataType>::try_get_data(
  */
 template <typename CellIteratorType, typename DataType>
 inline void
-pack_cell_data(const CellIteratorType &                           cell,
+pack_cell_data(const CellIteratorType                            &cell,
                const CellDataStorage<CellIteratorType, DataType> *data_storage,
-               FullMatrix<double> &                               matrix_data)
+               FullMatrix<double>                                &matrix_data)
 {
   static_assert(std::is_base_of_v<TransferableQuadraturePointData, DataType>,
                 "User's DataType class should be derived from QPData");
@@ -855,8 +855,8 @@ pack_cell_data(const CellIteratorType &                           cell,
  */
 template <typename CellIteratorType, typename DataType>
 inline void
-unpack_to_cell_data(const CellIteratorType &                     cell,
-                    const FullMatrix<double> &                   values_at_qp,
+unpack_to_cell_data(const CellIteratorType                      &cell,
+                    const FullMatrix<double>                    &values_at_qp,
                     CellDataStorage<CellIteratorType, DataType> *data_storage)
 {
   static_assert(std::is_base_of_v<TransferableQuadraturePointData, DataType>,
@@ -889,8 +889,8 @@ namespace parallel
     template <int dim, typename DataType>
     inline ContinuousQuadratureDataTransfer<dim, DataType>::
       ContinuousQuadratureDataTransfer(const FiniteElement<dim> &projection_fe_,
-                                       const Quadrature<dim> &   lhs_quadrature,
-                                       const Quadrature<dim> &   rhs_quadrature)
+                                       const Quadrature<dim>    &lhs_quadrature,
+                                       const Quadrature<dim>    &rhs_quadrature)
       : projection_fe(
           std::unique_ptr<const FiniteElement<dim>>(projection_fe_.clone()))
       , data_size_in_bytes(0)
@@ -922,7 +922,7 @@ namespace parallel
     inline void
     ContinuousQuadratureDataTransfer<dim, DataType>::
       prepare_for_coarsening_and_refinement(
-        parallel::distributed::Triangulation<dim> &  tr_,
+        parallel::distributed::Triangulation<dim>   &tr_,
         CellDataStorage<CellIteratorType, DataType> &data_storage_)
     {
       Assert(data_storage == nullptr,
@@ -986,7 +986,7 @@ namespace parallel
     inline void
     ContinuousQuadratureDataTransfer<dim, DataType>::unpack_function(
       const typename parallel::distributed::Triangulation<dim>::cell_iterator
-        &              cell,
+                      &cell,
       const CellStatus status,
       const boost::iterator_range<std::vector<char>::const_iterator>
         &data_range)
index 7e6b4507d1e5ad85551efc0efe2fdb80719b0698..4ab3f99dd67056c034b1c47a04b5e73337e1443f 100644 (file)
@@ -99,8 +99,8 @@ public:
    * in a loop over all tensor product polynomials.
    */
   virtual void
-  evaluate(const Point<dim> &           unit_point,
-           std::vector<double> &        values,
+  evaluate(const Point<dim>            &unit_point,
+           std::vector<double>         &values,
            std::vector<Tensor<1, dim>> &grads,
            std::vector<Tensor<2, dim>> &grad_grads,
            std::vector<Tensor<3, dim>> &third_derivatives,
@@ -257,7 +257,7 @@ template <int dim>
 template <int order>
 inline Tensor<order, dim>
 ScalarPolynomialsBase<dim>::compute_derivative(const unsigned int i,
-                                               const Point<dim> p) const
+                                               const Point<dim>  &p) const
 {
   if (order == 1)
     {
index b1d787b2b2c1f9c0b50aaee403fb4281ee188db8..1930ab26228a7648e87e34a02d5d468881acf25d 100644 (file)
@@ -115,7 +115,7 @@ public:
    */
   void
   subscribe(std::atomic<bool> *const validity,
-            const std::string &      identifier = "") const;
+            const std::string       &identifier = "") const;
 
   /**
    * Unsubscribes a user from the object.
@@ -125,7 +125,7 @@ public:
    */
   void
   unsubscribe(std::atomic<bool> *const validity,
-              const std::string &      identifier = "") const;
+              const std::string       &identifier = "") const;
 
   /**
    * Return the present number of subscriptions to this object. This allows to
index 42a7a3c14d80365bc5be2ef989c44bfd1dc9d5f3..0e3728c3aa165d09c7f8ac6201e72ea3b7e94522 100644 (file)
@@ -298,17 +298,17 @@ namespace Functions
 
     // documentation inherited from the base class
     virtual Tensor<1, dim, RangeNumberType>
-    gradient(const Point<dim> p,
+    gradient(const Point<dim>  &p,
              const unsigned int component = 0) const override;
 
     // documentation inherited from the base class
     virtual RangeNumberType
-    laplacian(const Point<dim> p,
+    laplacian(const Point<dim>  &p,
               const unsigned int component = 0) const override;
 
     // documentation inherited from the base class
     virtual SymmetricTensor<2, dim, RangeNumberType>
-    hessian(const Point<dim> p,
+    hessian(const Point<dim>  &p,
             const unsigned int component = 0) const override;
 
     /**
index b71425ec1c0613f96686c601240ddae3279842f7..e1e8a136e836021c1ae1c0426a1703f979175729 100644 (file)
@@ -42,9 +42,9 @@ namespace Functions
 
   template <int dim, typename RangeNumberType>
   SymbolicFunction<dim, RangeNumberType>::SymbolicFunction(
-    const std::vector<Differentiation::SD::Expression> &   functions,
+    const std::vector<Differentiation::SD::Expression>    &functions,
     const Tensor<1, dim, Differentiation::SD::Expression> &argument,
-    const Differentiation::SD::Expression &                time,
+    const Differentiation::SD::Expression                 &time,
     const Differentiation::SD::types::substitution_map &user_substitution_map)
     : Function<dim, RangeNumberType>(functions.size(), 0.0)
     , user_function(functions)
@@ -227,7 +227,7 @@ namespace Functions
   template <int dim, typename RangeNumberType>
   RangeNumberType
   SymbolicFunction<dim, RangeNumberType>::value(
-    const Point<dim> p,
+    const Point<dim>  &p,
     const unsigned int component) const
   {
     update_values();
@@ -241,7 +241,7 @@ namespace Functions
   template <int dim, typename RangeNumberType>
   Tensor<1, dim, RangeNumberType>
   SymbolicFunction<dim, RangeNumberType>::gradient(
-    const Point<dim> p,
+    const Point<dim>  &p,
     const unsigned int component) const
   {
     update_first_derivatives();
@@ -255,7 +255,7 @@ namespace Functions
   template <int dim, typename RangeNumberType>
   RangeNumberType
   SymbolicFunction<dim, RangeNumberType>::laplacian(
-    const Point<dim> p,
+    const Point<dim>  &p,
     const unsigned int component) const
   {
     update_second_derivatives();
@@ -269,7 +269,7 @@ namespace Functions
   template <int dim, typename RangeNumberType>
   SymmetricTensor<2, dim, RangeNumberType>
   SymbolicFunction<dim, RangeNumberType>::hessian(
-    const Point<dim> p,
+    const Point<dim>  &p,
     const unsigned int component) const
   {
     update_second_derivatives();
index 646265e8f6f3d1eb4da39721edcfafc091f80d2b..c8e9f6cd8b4dc3339bd8727e7300a4aaf1820f63 100644 (file)
@@ -509,7 +509,7 @@ namespace internal
        * than the mother object, avoid problems with data consistency.
        */
       DEAL_II_HOST
-      constexpr Accessor(tensor_type &             tensor,
+      constexpr Accessor(tensor_type              &tensor,
                          const TableIndices<rank> &previous_indices);
 
       /**
@@ -538,7 +538,7 @@ namespace internal
       /**
        * Store the data given to the constructor.
        */
-      tensor_type &            tensor;
+      tensor_type             &tensor;
       const TableIndices<rank> previous_indices;
 
       // Declare some other classes as friends. Make sure to work around bugs
@@ -595,7 +595,7 @@ namespace internal
        * than the mother object, avoid problems with data consistency.
        */
       DEAL_II_HOST
-      constexpr Accessor(tensor_type &             tensor,
+      constexpr Accessor(tensor_type              &tensor,
                          const TableIndices<rank> &previous_indices);
 
       /**
@@ -624,7 +624,7 @@ namespace internal
       /**
        * Store the data given to the constructor.
        */
-      tensor_type &            tensor;
+      tensor_type             &tensor;
       const TableIndices<rank> previous_indices;
 
       // Declare some other classes as friends. Make sure to work around bugs
@@ -1198,7 +1198,7 @@ namespace internal
     template <int rank_, int dim, bool constness, int P, typename Number>
     DEAL_II_HOST constexpr DEAL_II_ALWAYS_INLINE
     Accessor<rank_, dim, constness, P, Number>::Accessor(
-      tensor_type &              tensor,
+      tensor_type               &tensor,
       const TableIndices<rank_> &previous_indices)
       : tensor(tensor)
       , previous_indices(previous_indices)
@@ -1233,7 +1233,7 @@ namespace internal
     template <int rank_, int dim, bool constness, typename Number>
     DEAL_II_HOST constexpr DEAL_II_ALWAYS_INLINE
     Accessor<rank_, dim, constness, 1, Number>::Accessor(
-      tensor_type &              tensor,
+      tensor_type               &tensor,
       const TableIndices<rank_> &previous_indices)
       : tensor(tensor)
       , previous_indices(previous_indices)
@@ -2691,7 +2691,7 @@ SymmetricTensor<rank_, dim, Number>::serialize(Archive &ar, const unsigned int)
 template <int rank_, int dim, typename Number, typename OtherNumber>
 DEAL_II_HOST constexpr inline DEAL_II_ALWAYS_INLINE
   SymmetricTensor<rank_, dim, typename ProductType<Number, OtherNumber>::type>
-  operator+(const SymmetricTensor<rank_, dim, Number> &     left,
+  operator+(const SymmetricTensor<rank_, dim, Number>      &left,
             const SymmetricTensor<rank_, dim, OtherNumber> &right)
 {
   SymmetricTensor<rank_, dim, typename ProductType<Number, OtherNumber>::type>
@@ -2716,7 +2716,7 @@ DEAL_II_HOST constexpr inline DEAL_II_ALWAYS_INLINE
 template <int rank_, int dim, typename Number, typename OtherNumber>
 DEAL_II_HOST constexpr inline DEAL_II_ALWAYS_INLINE
   SymmetricTensor<rank_, dim, typename ProductType<Number, OtherNumber>::type>
-  operator-(const SymmetricTensor<rank_, dim, Number> &     left,
+  operator-(const SymmetricTensor<rank_, dim, Number>      &left,
             const SymmetricTensor<rank_, dim, OtherNumber> &right)
 {
   SymmetricTensor<rank_, dim, typename ProductType<Number, OtherNumber>::type>
@@ -2737,7 +2737,7 @@ template <int rank_, int dim, typename Number, typename OtherNumber>
 DEAL_II_HOST constexpr DEAL_II_ALWAYS_INLINE
   Tensor<rank_, dim, typename ProductType<Number, OtherNumber>::type>
   operator+(const SymmetricTensor<rank_, dim, Number> &left,
-            const Tensor<rank_, dim, OtherNumber> &    right)
+            const Tensor<rank_, dim, OtherNumber>     &right)
 {
   return Tensor<rank_, dim, Number>(left) + right;
 }
@@ -2753,7 +2753,7 @@ DEAL_II_HOST constexpr DEAL_II_ALWAYS_INLINE
 template <int rank_, int dim, typename Number, typename OtherNumber>
 DEAL_II_HOST constexpr DEAL_II_ALWAYS_INLINE
   Tensor<rank_, dim, typename ProductType<Number, OtherNumber>::type>
-  operator+(const Tensor<rank_, dim, Number> &              left,
+  operator+(const Tensor<rank_, dim, Number>               &left,
             const SymmetricTensor<rank_, dim, OtherNumber> &right)
 {
   return left + Tensor<rank_, dim, OtherNumber>(right);
@@ -2771,7 +2771,7 @@ template <int rank_, int dim, typename Number, typename OtherNumber>
 DEAL_II_HOST constexpr DEAL_II_ALWAYS_INLINE
   Tensor<rank_, dim, typename ProductType<Number, OtherNumber>::type>
   operator-(const SymmetricTensor<rank_, dim, Number> &left,
-            const Tensor<rank_, dim, OtherNumber> &    right)
+            const Tensor<rank_, dim, OtherNumber>     &right)
 {
   return Tensor<rank_, dim, Number>(left) - right;
 }
@@ -2787,7 +2787,7 @@ DEAL_II_HOST constexpr DEAL_II_ALWAYS_INLINE
 template <int rank_, int dim, typename Number, typename OtherNumber>
 DEAL_II_HOST constexpr DEAL_II_ALWAYS_INLINE
   Tensor<rank_, dim, typename ProductType<Number, OtherNumber>::type>
-  operator-(const Tensor<rank_, dim, Number> &              left,
+  operator-(const Tensor<rank_, dim, Number>               &left,
             const SymmetricTensor<rank_, dim, OtherNumber> &right)
 {
   return left - Tensor<rank_, dim, OtherNumber>(right);
@@ -3052,9 +3052,9 @@ namespace internal
     template <int dim, typename Number>
     void
     tridiagonalize(const dealii::SymmetricTensor<2, dim, Number> &A,
-                   dealii::Tensor<2, dim, Number> &               Q,
-                   std::array<Number, dim> &                      d,
-                   std::array<Number, dim - 1> &                  e);
+                   dealii::Tensor<2, dim, Number>                &Q,
+                   std::array<Number, dim>                       &d,
+                   std::array<Number, dim - 1>                   &e);
 
 
 
@@ -3615,7 +3615,7 @@ DEAL_II_HOST constexpr inline DEAL_II_ALWAYS_INLINE SymmetricTensor<
   typename ProductType<Number,
                        typename EnableIfScalar<OtherNumber>::type>::type>
 operator*(const SymmetricTensor<rank_, dim, Number> &t,
-          const OtherNumber &                        factor)
+          const OtherNumber                         &factor)
 {
   // form the product. we have to convert the two factors into the final
   // type via explicit casts because, for awkward reasons, the C++
@@ -3643,7 +3643,7 @@ DEAL_II_HOST constexpr inline DEAL_II_ALWAYS_INLINE SymmetricTensor<
   dim,
   typename ProductType<OtherNumber,
                        typename EnableIfScalar<Number>::type>::type>
-operator*(const Number &                                  factor,
+operator*(const Number                                   &factor,
           const SymmetricTensor<rank_, dim, OtherNumber> &t)
 {
   // simply forward to the other operator with switched arguments
@@ -3664,7 +3664,7 @@ DEAL_II_HOST constexpr inline SymmetricTensor<
   typename ProductType<Number,
                        typename EnableIfScalar<OtherNumber>::type>::type>
 operator/(const SymmetricTensor<rank_, dim, Number> &t,
-          const OtherNumber &                        factor)
+          const OtherNumber                         &factor)
 {
   using product_type = typename ProductType<Number, OtherNumber>::type;
   SymmetricTensor<rank_, dim, product_type> tt(t);
@@ -3734,7 +3734,7 @@ operator/(const SymmetricTensor<rank_, dim> &t, const double factor)
 template <int dim, typename Number, typename OtherNumber>
 DEAL_II_HOST constexpr DEAL_II_ALWAYS_INLINE
   typename ProductType<Number, OtherNumber>::type
-  scalar_product(const SymmetricTensor<2, dim, Number> &     t1,
+  scalar_product(const SymmetricTensor<2, dim, Number>      &t1,
                  const SymmetricTensor<2, dim, OtherNumber> &t2)
 {
   return (t1 * t2);
@@ -3757,7 +3757,7 @@ template <int dim, typename Number, typename OtherNumber>
 DEAL_II_HOST constexpr inline DEAL_II_ALWAYS_INLINE
   typename ProductType<Number, OtherNumber>::type
   scalar_product(const SymmetricTensor<2, dim, Number> &t1,
-                 const Tensor<2, dim, OtherNumber> &    t2)
+                 const Tensor<2, dim, OtherNumber>     &t2)
 {
   typename ProductType<Number, OtherNumber>::type s = internal::NumberType<
     typename ProductType<Number, OtherNumber>::type>::value(0.0);
@@ -3783,7 +3783,7 @@ DEAL_II_HOST constexpr inline DEAL_II_ALWAYS_INLINE
 template <int dim, typename Number, typename OtherNumber>
 DEAL_II_HOST constexpr DEAL_II_ALWAYS_INLINE
   typename ProductType<Number, OtherNumber>::type
-  scalar_product(const Tensor<2, dim, Number> &              t1,
+  scalar_product(const Tensor<2, dim, Number>               &t1,
                  const SymmetricTensor<2, dim, OtherNumber> &t2)
 {
   return scalar_product(t2, t1);
@@ -3808,8 +3808,8 @@ template <typename Number, typename OtherNumber>
 DEAL_II_HOST constexpr inline DEAL_II_ALWAYS_INLINE void
 double_contract(
   SymmetricTensor<2, 1, typename ProductType<Number, OtherNumber>::type> &tmp,
-  const SymmetricTensor<4, 1, Number> &                                   t,
-  const SymmetricTensor<2, 1, OtherNumber> &                              s)
+  const SymmetricTensor<4, 1, Number>                                    &t,
+  const SymmetricTensor<2, 1, OtherNumber>                               &s)
 {
   tmp[0][0] = t[0][0][0][0] * s[0][0];
 }
@@ -3834,8 +3834,8 @@ template <typename Number, typename OtherNumber>
 DEAL_II_HOST constexpr inline void
 double_contract(
   SymmetricTensor<2, 1, typename ProductType<Number, OtherNumber>::type> &tmp,
-  const SymmetricTensor<2, 1, Number> &                                   s,
-  const SymmetricTensor<4, 1, OtherNumber> &                              t)
+  const SymmetricTensor<2, 1, Number>                                    &s,
+  const SymmetricTensor<4, 1, OtherNumber>                               &t)
 {
   tmp[0][0] = t[0][0][0][0] * s[0][0];
 }
@@ -3860,8 +3860,8 @@ template <typename Number, typename OtherNumber>
 DEAL_II_HOST constexpr inline void
 double_contract(
   SymmetricTensor<2, 2, typename ProductType<Number, OtherNumber>::type> &tmp,
-  const SymmetricTensor<4, 2, Number> &                                   t,
-  const SymmetricTensor<2, 2, OtherNumber> &                              s)
+  const SymmetricTensor<4, 2, Number>                                    &t,
+  const SymmetricTensor<2, 2, OtherNumber>                               &s)
 {
   const unsigned int dim = 2;
 
@@ -3891,8 +3891,8 @@ template <typename Number, typename OtherNumber>
 DEAL_II_HOST constexpr inline void
 double_contract(
   SymmetricTensor<2, 2, typename ProductType<Number, OtherNumber>::type> &tmp,
-  const SymmetricTensor<2, 2, Number> &                                   s,
-  const SymmetricTensor<4, 2, OtherNumber> &                              t)
+  const SymmetricTensor<2, 2, Number>                                    &s,
+  const SymmetricTensor<4, 2, OtherNumber>                               &t)
 {
   const unsigned int dim = 2;
 
@@ -3922,8 +3922,8 @@ template <typename Number, typename OtherNumber>
 DEAL_II_HOST constexpr inline void
 double_contract(
   SymmetricTensor<2, 3, typename ProductType<Number, OtherNumber>::type> &tmp,
-  const SymmetricTensor<4, 3, Number> &                                   t,
-  const SymmetricTensor<2, 3, OtherNumber> &                              s)
+  const SymmetricTensor<4, 3, Number>                                    &t,
+  const SymmetricTensor<2, 3, OtherNumber>                               &s)
 {
   const unsigned int dim = 3;
 
@@ -3954,8 +3954,8 @@ template <typename Number, typename OtherNumber>
 DEAL_II_HOST constexpr inline void
 double_contract(
   SymmetricTensor<2, 3, typename ProductType<Number, OtherNumber>::type> &tmp,
-  const SymmetricTensor<2, 3, Number> &                                   s,
-  const SymmetricTensor<4, 3, OtherNumber> &                              t)
+  const SymmetricTensor<2, 3, Number>                                    &s,
+  const SymmetricTensor<4, 3, OtherNumber>                               &t)
 {
   const unsigned int dim = 3;
 
@@ -3979,7 +3979,7 @@ DEAL_II_HOST constexpr Tensor<1,
                               dim,
                               typename ProductType<Number, OtherNumber>::type>
 operator*(const SymmetricTensor<2, dim, Number> &src1,
-          const Tensor<1, dim, OtherNumber> &    src2)
+          const Tensor<1, dim, OtherNumber>     &src2)
 {
   Tensor<1, dim, typename ProductType<Number, OtherNumber>::type> dest;
   for (unsigned int i = 0; i < dim; ++i)
@@ -3999,7 +3999,7 @@ template <int dim, typename Number, typename OtherNumber>
 DEAL_II_HOST constexpr Tensor<1,
                               dim,
                               typename ProductType<Number, OtherNumber>::type>
-operator*(const Tensor<1, dim, Number> &              src1,
+operator*(const Tensor<1, dim, Number>               &src1,
           const SymmetricTensor<2, dim, OtherNumber> &src2)
 {
   // this is easy for symmetric tensors:
@@ -4036,7 +4036,7 @@ DEAL_II_HOST constexpr DEAL_II_ALWAYS_INLINE
   typename Tensor<rank_1 + rank_2 - 2,
                   dim,
                   typename ProductType<Number, OtherNumber>::type>::tensor_type
-  operator*(const Tensor<rank_1, dim, Number> &              src1,
+  operator*(const Tensor<rank_1, dim, Number>               &src1,
             const SymmetricTensor<rank_2, dim, OtherNumber> &src2)
 {
   return src1 * Tensor<rank_2, dim, OtherNumber>(src2);
@@ -4073,7 +4073,7 @@ DEAL_II_HOST constexpr DEAL_II_ALWAYS_INLINE
                   dim,
                   typename ProductType<Number, OtherNumber>::type>::tensor_type
   operator*(const SymmetricTensor<rank_1, dim, Number> &src1,
-            const Tensor<rank_2, dim, OtherNumber> &    src2)
+            const Tensor<rank_2, dim, OtherNumber>     &src2)
 {
   return Tensor<rank_1, dim, Number>(src1) * src2;
 }
index 07f32031be36dc7c1fdadfda87fdb83f35d72766..ce092f084ed3df902fa604a8b720724fe889d1ac 100644 (file)
@@ -162,9 +162,9 @@ namespace internal
     template <int dim, typename Number>
     void
     tridiagonalize(const dealii::SymmetricTensor<2, dim, Number> &A,
-                   dealii::Tensor<2, dim, Number> &               Q,
-                   std::array<Number, dim> &                      d,
-                   std::array<Number, dim - 1> &                  e)
+                   dealii::Tensor<2, dim, Number>                &Q,
+                   std::array<Number, dim>                       &d,
+                   std::array<Number, dim - 1>                   &e)
     {
       // Make things work with AD types
       using std::sqrt;
index 09e733bb0f12de3cc19c11278bf5cda17b8640a4..e7f9170f5073abbfbf5c818ac90da2535e2ff151 100644 (file)
@@ -1027,7 +1027,7 @@ namespace MatrixTableIterators
     template <bool OtherConstness>
     friend bool
     operator==(
-      const AccessorBase<TableType, Constness, storage_order> &     left,
+      const AccessorBase<TableType, Constness, storage_order>      &left,
       const AccessorBase<TableType, OtherConstness, storage_order> &right)
     {
       return left.container == right.container &&
index a3e60825a807675a395d66e37824cce5cf9756ca..526935f04fe5a957816bf792dea54fa2f2774887 100644 (file)
@@ -535,7 +535,7 @@ public:
    * the description of TextOutputFormat for more information.
    */
   void
-  write_text(std::ostream &         out,
+  write_text(std::ostream          &out,
              const TextOutputFormat format = table_with_headers) const;
 
   /**
@@ -848,31 +848,31 @@ namespace internal
       {
         const int p = std::get<int>(value);
         char      c = 'i';
-        ar &c &p;
+        ar &c    &p;
       }
     else if (std::holds_alternative<unsigned int>(value))
       {
         const unsigned int p = std::get<unsigned int>(value);
         char               c = 'u';
-        ar &c &p;
+        ar &c             &p;
       }
     else if (std::holds_alternative<double>(value))
       {
         const double p = std::get<double>(value);
         char         c = 'd';
-        ar &c &p;
+        ar &c       &p;
       }
     else if (std::holds_alternative<std::string>(value))
       {
         const std::string p = std::get<std::string>(value);
         char              c = 's';
-        ar &c &p;
+        ar &c            &p;
       }
     else if (std::holds_alternative<std::uint64_t>(value))
       {
         const std::uint64_t p = std::get<std::uint64_t>(value);
         char                c = 'l';
-        ar &c &p;
+        ar &c              &p;
       }
     else
       Assert(false, ExcInternalError());
@@ -889,7 +889,7 @@ namespace internal
     // as a one-character id, and then read
     // the data
     char c;
-    ar c;
+    ar  &c;
 
     switch (c)
       {
@@ -904,7 +904,7 @@ namespace internal
         case 'u':
           {
             unsigned int val;
-            ar &         val;
+            ar          &val;
             value = val;
             break;
           }
@@ -912,7 +912,7 @@ namespace internal
         case 'd':
           {
             double val;
-            ar &   val;
+            ar    &val;
             value = val;
             break;
           }
@@ -920,7 +920,7 @@ namespace internal
         case 's':
           {
             std::string val;
-            ar &        val;
+            ar         &val;
             value = val;
             break;
           }
@@ -928,7 +928,7 @@ namespace internal
         case 'l':
           {
             std::uint64_t val;
-            ar &          val;
+            ar           &val;
             value = val;
             break;
           }
index 8b7cd965910a73b78becbf6b789bd91973cd3436..903b4a36bbb4bafd2eef3570bac2df98c604abf0 100644 (file)
@@ -694,8 +694,8 @@ namespace concepts
    * example, on class Triangulation.
    */
   template <int dim, int spacedim>
-  concept is_valid_dim_spacedim = (dim >= 1 && spacedim <= 3 &&
-                                   dim <= spacedim);
+  concept is_valid_dim_spacedim =
+    (dim >= 1 && spacedim <= 3 && dim <= spacedim);
 
   namespace internal
   {
@@ -849,9 +849,8 @@ namespace concepts
    * not.
    */
   template <typename VectorType>
-  concept is_writable_dealii_vector_type = is_dealii_vector_type<VectorType> &&
-                                           (std::is_const_v<VectorType> ==
-                                            false);
+  concept is_writable_dealii_vector_type =
+    is_dealii_vector_type<VectorType> && (std::is_const_v<VectorType> == false);
 
   /**
    * A concept that tests whether a given template argument is a deal.II
@@ -963,8 +962,7 @@ namespace concepts
                                             VectorType                      W,
                                             typename VectorType::value_type a,
                                             typename VectorType::value_type b,
-                                            typename VectorType::value_type s)
-  {
+                                            typename VectorType::value_type s) {
     // Check local type requirements:
     typename VectorType::value_type;
     typename VectorType::size_type;
@@ -998,45 +996,37 @@ namespace concepts
     // Norms and similar stuff:
     {
       U.mean_value()
-    }
-    ->std::convertible_to<typename VectorType::value_type>;
+    } -> std::convertible_to<typename VectorType::value_type>;
 
     {
       U.l1_norm()
-    }
-    ->std::convertible_to<typename VectorType::real_type>;
+    } -> std::convertible_to<typename VectorType::real_type>;
 
     {
       U.l2_norm()
-    }
-    ->std::convertible_to<typename VectorType::real_type>;
+    } -> std::convertible_to<typename VectorType::real_type>;
 
     {
       U.linfty_norm()
-    }
-    ->std::convertible_to<typename VectorType::real_type>;
+    } -> std::convertible_to<typename VectorType::real_type>;
 
     // Dot products:
     {
       U *V
-    }
-    ->std::convertible_to<typename VectorType::value_type>;
+    } -> std::convertible_to<typename VectorType::value_type>;
 
     {
       U.add_and_dot(a, V, W)
-    }
-    ->std::convertible_to<typename VectorType::value_type>;
+    } -> std::convertible_to<typename VectorType::value_type>;
 
     // Some queries:
     {
       U.size()
-    }
-    ->std::convertible_to<typename VectorType::size_type>;
+    } -> std::convertible_to<typename VectorType::size_type>;
 
     {
       U.all_zero()
-    }
-    ->std::same_as<bool>;
+    } -> std::same_as<bool>;
   };
 
 #endif
index ea7798e66f74209d25fd56fda70ef383e73c0083..942bb19dd47f412f37d078fb2b70ae5676b805a3 100644 (file)
@@ -272,7 +272,7 @@ public:
    * @note This function can also be used in @ref GlossDevice "device" code.
    */
   constexpr DEAL_II_HOST_DEVICE Tensor &
-                                operator=(const Tensor<0, dim, Number> &rhs);
+  operator=(const Tensor<0, dim, Number> &rhs);
 #endif
 
 #ifdef DEAL_II_DELETED_MOVE_CONSTRUCTOR_BUG
@@ -291,7 +291,7 @@ public:
    */
   template <typename OtherNumber>
   constexpr DEAL_II_HOST_DEVICE Tensor &
-                                operator=(const OtherNumber &d) &;
+  operator=(const OtherNumber &d) &;
 
   /**
    * Assign a scalar to the current object. This overload is used for
@@ -300,7 +300,7 @@ public:
    */
   template <typename OtherNumber>
   constexpr DEAL_II_HOST_DEVICE Tensor &
-                                operator=(const OtherNumber &d) && = delete;
+  operator=(const OtherNumber &d) && = delete;
 
   /**
    * Test for equality of two tensors.
@@ -341,7 +341,7 @@ public:
    */
   template <typename OtherNumber>
   constexpr DEAL_II_HOST_DEVICE Tensor &
-                                operator*=(const OtherNumber &factor);
+  operator*=(const OtherNumber &factor);
 
   /**
    * Divide the scalar by <tt>factor</tt>.
@@ -350,7 +350,7 @@ public:
    */
   template <typename OtherNumber>
   constexpr DEAL_II_HOST_DEVICE Tensor &
-                                operator/=(const OtherNumber &factor);
+  operator/=(const OtherNumber &factor);
 
   /**
    * Tensor with inverted entries.
@@ -629,7 +629,7 @@ public:
    * @note This function can also be used in @ref GlossDevice "device" code.
    */
   constexpr DEAL_II_HOST_DEVICE value_type &
-                                operator[](const unsigned int i);
+  operator[](const unsigned int i);
 
   /**
    * Read-only access operator.
@@ -637,7 +637,7 @@ public:
    * @note This function can also be used in @ref GlossDevice "device" code.
    */
   constexpr DEAL_II_HOST_DEVICE const value_type &
-                                      operator[](const unsigned int i) const;
+  operator[](const unsigned int i) const;
 
   /**
    * Read access using TableIndices <tt>indices</tt>
@@ -693,7 +693,7 @@ public:
    * <tt>t=0</tt> to reset all elements of the tensor to zero.
    */
   constexpr DEAL_II_HOST_DEVICE Tensor &
-                                operator=(const Number &d) &;
+  operator=(const Number &d) &;
 
   /**
    * Assign a scalar to the current object. This overload is used for
@@ -701,7 +701,7 @@ public:
    * something to a temporary, the function is deleted.
    */
   constexpr DEAL_II_HOST_DEVICE Tensor &
-                                operator=(const Number &d) && = delete;
+  operator=(const Number &d) && = delete;
 
 #ifdef DEAL_II_DELETED_MOVE_CONSTRUCTOR_BUG
   /**
@@ -757,7 +757,7 @@ public:
    */
   template <typename OtherNumber>
   constexpr DEAL_II_HOST_DEVICE Tensor &
-                                operator*=(const OtherNumber &factor);
+  operator*=(const OtherNumber &factor);
 
   /**
    * Scale the vector by <tt>1/factor</tt>.
@@ -766,7 +766,7 @@ public:
    */
   template <typename OtherNumber>
   constexpr DEAL_II_HOST_DEVICE Tensor &
-                                operator/=(const OtherNumber &factor);
+  operator/=(const OtherNumber &factor);
 
   /**
    * Unary minus operator. Negate all entries of a tensor.
@@ -1412,7 +1412,7 @@ namespace internal
   {
     template <typename ArrayElementType, int dim>
     constexpr DEAL_II_HOST_DEVICE_ALWAYS_INLINE ArrayElementType &
-    subscript(ArrayElementType values,
+    subscript(ArrayElementType  *values,
               const unsigned int i,
               std::integral_constant<int, dim>)
     {
@@ -1584,7 +1584,7 @@ Tensor<rank_, dim, Number>::operator=(const Tensor<rank_, dim, Number> &other)
 
 
 template <int rank_, int dim, typename Number>
-constexpr DEAL_II_ALWAYS_INLINE Tensor<rank_, dim, Number> &
+constexpr DEAL_II_ALWAYS_INLINE Tensor<rank_, dim, Number>                                 &
 Tensor<rank_, dim, Number>::operator=(
   Tensor<rank_, dim, Number> &&other) noexcept
 {
@@ -1635,7 +1635,7 @@ Tensor<rank_, dim, Number>::operator!=(
 template <int rank_, int dim, typename Number>
 template <typename OtherNumber>
 constexpr inline DEAL_II_ALWAYS_INLINE
-  DEAL_II_HOST_DEVICE Tensor<rank_, dim, Number> &
+  DEAL_II_HOST_DEVICE Tensor<rank_, dim, Number>                     &
   Tensor<rank_, dim, Number>::operator+=(
     const Tensor<rank_, dim, OtherNumber> &p)
 {
@@ -1648,7 +1648,7 @@ constexpr inline DEAL_II_ALWAYS_INLINE
 template <int rank_, int dim, typename Number>
 template <typename OtherNumber>
 constexpr inline DEAL_II_ALWAYS_INLINE
-  DEAL_II_HOST_DEVICE Tensor<rank_, dim, Number> &
+  DEAL_II_HOST_DEVICE Tensor<rank_, dim, Number>                     &
   Tensor<rank_, dim, Number>::operator-=(
     const Tensor<rank_, dim, OtherNumber> &p)
 {
@@ -1729,7 +1729,7 @@ constexpr inline DEAL_II_ALWAYS_INLINE
 template <int rank_, int dim, typename Number>
 constexpr inline DEAL_II_ALWAYS_INLINE
   DEAL_II_HOST_DEVICE Tensor<rank_, dim, Number>
-  Tensor<rank_, dim, Number>::operator-() const
+                      Tensor<rank_, dim, Number>::operator-() const
 {
   Tensor<rank_, dim, Number> tmp;
 
@@ -2012,7 +2012,7 @@ constexpr DEAL_II_HOST_DEVICE inline DEAL_II_ALWAYS_INLINE
 template <int dim, typename Number, typename OtherNumber>
 DEAL_II_HOST_DEVICE constexpr DEAL_II_ALWAYS_INLINE
   typename ProductType<Number, OtherNumber>::type
-  operator*(const Tensor<0, dim, Number> &     src1,
+  operator*(const Tensor<0, dim, Number>      &src1,
             const Tensor<0, dim, OtherNumber> &src2)
 {
   return static_cast<const Number &>(src1) *
@@ -2049,7 +2049,7 @@ DEAL_II_HOST_DEVICE constexpr DEAL_II_ALWAYS_INLINE
 template <int dim, typename Number, typename OtherNumber>
 constexpr DEAL_II_HOST_DEVICE_ALWAYS_INLINE
   Tensor<0, dim, typename ProductType<Number, OtherNumber>::type>
-  operator+(const Tensor<0, dim, Number> &     p,
+  operator+(const Tensor<0, dim, Number>      &p,
             const Tensor<0, dim, OtherNumber> &q)
 {
   return static_cast<const Number &>(p) + static_cast<const OtherNumber &>(q);
@@ -2066,7 +2066,7 @@ constexpr DEAL_II_HOST_DEVICE_ALWAYS_INLINE
 template <int dim, typename Number, typename OtherNumber>
 constexpr DEAL_II_HOST_DEVICE_ALWAYS_INLINE
   Tensor<0, dim, typename ProductType<Number, OtherNumber>::type>
-  operator-(const Tensor<0, dim, Number> &     p,
+  operator-(const Tensor<0, dim, Number>      &p,
             const Tensor<0, dim, OtherNumber> &q)
 {
   return static_cast<const Number &>(p) - static_cast<const OtherNumber &>(q);
@@ -2141,7 +2141,7 @@ namespace internal
     constexpr DEAL_II_HOST_DEVICE inline DEAL_II_ALWAYS_INLINE
       Tensor<rank, dim, typename ProductType<Number, OtherNumber>::type>
       division_operator(const Tensor<rank, dim, Number> &t,
-                        const OtherNumber &              factor)
+                        const OtherNumber               &factor)
     {
       Tensor<rank, dim, typename ProductType<Number, OtherNumber>::type> tt;
       const Number inverse_factor = Number(1.) / factor;
@@ -2163,7 +2163,7 @@ namespace internal
     constexpr DEAL_II_HOST_DEVICE inline DEAL_II_ALWAYS_INLINE
       Tensor<rank, dim, typename ProductType<Number, OtherNumber>::type>
       division_operator(const Tensor<rank, dim, Number> &t,
-                        const OtherNumber &              factor)
+                        const OtherNumber               &factor)
     {
       Tensor<rank, dim, typename ProductType<Number, OtherNumber>::type> tt;
       // recurse over the base objects
@@ -2208,7 +2208,7 @@ constexpr DEAL_II_HOST_DEVICE inline DEAL_II_ALWAYS_INLINE
 template <int rank, int dim, typename Number, typename OtherNumber>
 constexpr DEAL_II_HOST_DEVICE inline DEAL_II_ALWAYS_INLINE
   Tensor<rank, dim, typename ProductType<Number, OtherNumber>::type>
-  operator+(const Tensor<rank, dim, Number> &     p,
+  operator+(const Tensor<rank, dim, Number>      &p,
             const Tensor<rank, dim, OtherNumber> &q)
 {
   Tensor<rank, dim, typename ProductType<Number, OtherNumber>::type> tmp(p);
@@ -2232,7 +2232,7 @@ constexpr DEAL_II_HOST_DEVICE inline DEAL_II_ALWAYS_INLINE
 template <int rank, int dim, typename Number, typename OtherNumber>
 constexpr DEAL_II_HOST_DEVICE inline DEAL_II_ALWAYS_INLINE
   Tensor<rank, dim, typename ProductType<Number, OtherNumber>::type>
-  operator-(const Tensor<rank, dim, Number> &     p,
+  operator-(const Tensor<rank, dim, Number>      &p,
             const Tensor<rank, dim, OtherNumber> &q)
 {
   Tensor<rank, dim, typename ProductType<Number, OtherNumber>::type> tmp(p);
@@ -2252,7 +2252,7 @@ constexpr DEAL_II_HOST_DEVICE inline DEAL_II_ALWAYS_INLINE
 template <int dim, typename Number, typename OtherNumber>
 inline constexpr DEAL_II_ALWAYS_INLINE
   Tensor<0, dim, typename ProductType<Number, OtherNumber>::type>
-  schur_product(const Tensor<0, dim, Number> &     src1,
+  schur_product(const Tensor<0, dim, Number>      &src1,
                 const Tensor<0, dim, OtherNumber> &src2)
 {
   Tensor<0, dim, typename ProductType<Number, OtherNumber>::type> tmp(src1);
@@ -2281,7 +2281,7 @@ inline constexpr DEAL_II_ALWAYS_INLINE
 template <int rank, int dim, typename Number, typename OtherNumber>
 inline constexpr DEAL_II_ALWAYS_INLINE
   Tensor<rank, dim, typename ProductType<Number, OtherNumber>::type>
-  schur_product(const Tensor<rank, dim, Number> &     src1,
+  schur_product(const Tensor<rank, dim, Number>      &src1,
                 const Tensor<rank, dim, OtherNumber> &src2)
 {
   Tensor<rank, dim, typename ProductType<Number, OtherNumber>::type> tmp;
@@ -2347,7 +2347,7 @@ constexpr inline DEAL_II_ALWAYS_INLINE
   typename Tensor<rank_1 + rank_2 - 2,
                   dim,
                   typename ProductType<Number, OtherNumber>::type>::tensor_type
-  operator*(const Tensor<rank_1, dim, Number> &     src1,
+  operator*(const Tensor<rank_1, dim, Number>      &src1,
             const Tensor<rank_2, dim, OtherNumber> &src2)
 {
   typename Tensor<rank_1 + rank_2 - 2,
@@ -2403,7 +2403,7 @@ constexpr inline DEAL_II_ALWAYS_INLINE
   typename Tensor<rank_1 + rank_2 - 2,
                   dim,
                   typename ProductType<Number, OtherNumber>::type>::tensor_type
-  contract(const Tensor<rank_1, dim, Number> &     src1,
+  contract(const Tensor<rank_1, dim, Number>      &src1,
            const Tensor<rank_2, dim, OtherNumber> &src2)
 {
   Assert(0 <= index_1 && index_1 < rank_1,
@@ -2478,7 +2478,7 @@ constexpr inline
   typename Tensor<rank_1 + rank_2 - 4,
                   dim,
                   typename ProductType<Number, OtherNumber>::type>::tensor_type
-  double_contract(const Tensor<rank_1, dim, Number> &     src1,
+  double_contract(const Tensor<rank_1, dim, Number>      &src1,
                   const Tensor<rank_2, dim, OtherNumber> &src2)
 {
   Assert(0 <= index_1 && index_1 < rank_1,
@@ -2557,7 +2557,7 @@ constexpr inline
 template <int rank, int dim, typename Number, typename OtherNumber>
 constexpr inline DEAL_II_ALWAYS_INLINE
   typename ProductType<Number, OtherNumber>::type
-  scalar_product(const Tensor<rank, dim, Number> &     left,
+  scalar_product(const Tensor<rank, dim, Number>      &left,
                  const Tensor<rank, dim, OtherNumber> &right)
 {
   typename ProductType<Number, OtherNumber>::type result{};
@@ -2596,9 +2596,9 @@ template <template <int, int, typename> class TensorT1,
           typename T3>
 constexpr inline DEAL_II_ALWAYS_INLINE
   typename ProductType<T1, typename ProductType<T2, T3>::type>::type
-  contract3(const TensorT1<rank_1, dim, T1> &         left,
+  contract3(const TensorT1<rank_1, dim, T1>          &left,
             const TensorT2<rank_1 + rank_2, dim, T2> &middle,
-            const TensorT3<rank_2, dim, T3> &         right)
+            const TensorT3<rank_2, dim, T3>          &right)
 {
   using return_type =
     typename ProductType<T1, typename ProductType<T2, T3>::type>::type;
@@ -2625,7 +2625,7 @@ template <int rank_1,
           typename OtherNumber>
 constexpr inline DEAL_II_ALWAYS_INLINE
   Tensor<rank_1 + rank_2, dim, typename ProductType<Number, OtherNumber>::type>
-  outer_product(const Tensor<rank_1, dim, Number> &     src1,
+  outer_product(const Tensor<rank_1, dim, Number>      &src1,
                 const Tensor<rank_2, dim, OtherNumber> &src2)
 {
   typename Tensor<rank_1 + rank_2,
index 201e8ae2db848e83c4f2db183c0724d16cf5fe61..ccfd508645ffda465f30e2a65056b85de416e06f 100644 (file)
@@ -557,7 +557,7 @@ namespace TensorAccessors
       using value_type = return_type;
 
       constexpr DEAL_II_ALWAYS_INLINE return_type &
-                                      operator[](unsigned int j) const
+      operator[](unsigned int j) const
       {
         return s_.apply(j)[i_];
       }
index f87c06301c5779d4dec902843fb45bfd587593ec..a297223cbbf70c83d555e6cb7a0c6508d592f19b 100644 (file)
@@ -100,7 +100,7 @@ public:
    */
   virtual void
   value_list(const std::vector<Point<dim>> &points,
-             std::vector<value_type> &      values) const;
+             std::vector<value_type>       &values) const;
 
   /**
    * Return the gradient of the function at the given point.
@@ -115,7 +115,7 @@ public:
    */
   virtual void
   gradient_list(const std::vector<Point<dim>> &points,
-                std::vector<gradient_type> &   gradients) const;
+                std::vector<gradient_type>    &gradients) const;
 };
 
 
index cb4d278c11cd479d389606e81e8c2a1528fd2068..5fb98b2080872ced64869150edeed4594a5442c3 100644 (file)
@@ -51,7 +51,7 @@ template <int rank, int dim, typename Number>
 void
 TensorFunction<rank, dim, Number>::value_list(
   const std::vector<Point<dim>> &points,
-  std::vector<value_type> &      values) const
+  std::vector<value_type>       &values) const
 {
   Assert(values.size() == points.size(),
          ExcDimensionMismatch(values.size(), points.size()));
@@ -74,7 +74,7 @@ template <int rank, int dim, typename Number>
 void
 TensorFunction<rank, dim, Number>::gradient_list(
   const std::vector<Point<dim>> &points,
-  std::vector<gradient_type> &   gradients) const
+  std::vector<gradient_type>    &gradients) const
 {
   Assert(gradients.size() == points.size(),
          ExcDimensionMismatch(gradients.size(), points.size()));
@@ -108,7 +108,7 @@ ConstantTensorFunction<rank, dim, Number>::value(
 template <int rank, int dim, typename Number>
 void
 ConstantTensorFunction<rank, dim, Number>::value_list(
-  const std::vector<Point<dim>> &                                      points,
+  const std::vector<Point<dim>>                                       &points,
   std::vector<typename TensorFunction<rank, dim, Number>::value_type> &values)
   const
 {
index 2fa35fb3f1e88bd6268c2faa6dd15dacb8a12cae..1e44f2e5d72620dc70949f66f5b7ed9a585fc2bb 100644 (file)
@@ -197,9 +197,9 @@ public:
    * false, i.e. do not consider time.
    */
   virtual void
-  initialize(const std::string &             vars,
+  initialize(const std::string              &vars,
              const std::vector<std::string> &expressions,
-             const ConstMap &                constants,
+             const ConstMap                 &constants,
              const bool                      time_dependent = false) override;
 
   /**
@@ -212,7 +212,7 @@ public:
   void
   initialize(const std::string &vars,
              const std::string &expression,
-             const ConstMap &   constants,
+             const ConstMap    &constants,
              const bool         time_dependent = false);
 
   /**
@@ -233,7 +233,7 @@ public:
    * Return the value of the tensor function at the given point.
    */
   virtual void
-  value_list(const std::vector<Point<dim>> &         p,
+  value_list(const std::vector<Point<dim>>          &p,
              std::vector<Tensor<rank, dim, Number>> &values) const override;
 
   /**
index 2f5b33e77195aea6192d0bf9be038ccb3aaf9253..d423be18a1d0efe78daade964db0c6b991c76dee 100644 (file)
@@ -93,7 +93,7 @@ public:
    * the first case, the function will not compute these values.
    */
   virtual void
-  evaluate(const Point<dim> &           unit_point,
+  evaluate(const Point<dim>            &unit_point,
            std::vector<Tensor<1, dim>> &values,
            std::vector<Tensor<2, dim>> &grads,
            std::vector<Tensor<3, dim>> &grad_grads,
index 48b5c04f44a1c581fadd6aacc28c68d86c3c6302..4b3808431e93d4f0372824342724bd9d11692a64 100644 (file)
@@ -129,8 +129,8 @@ public:
    * over all tensor product polynomials.
    */
   void
-  evaluate(const Point<dim> &           unit_point,
-           std::vector<double> &        values,
+  evaluate(const Point<dim>            &unit_point,
+           std::vector<double>         &values,
            std::vector<Tensor<1, dim>> &grads,
            std::vector<Tensor<2, dim>> &grad_grads,
            std::vector<Tensor<3, dim>> &third_derivatives,
@@ -174,28 +174,28 @@ public:
    */
   virtual Tensor<1, dim>
   compute_1st_derivative(const unsigned int i,
-                         const Point<dim> p) const override;
+                         const Point<dim>  &p) const override;
 
   /**
    * @copydoc ScalarPolynomialsBase::compute_2nd_derivative()
    */
   virtual Tensor<2, dim>
   compute_2nd_derivative(const unsigned int i,
-                         const Point<dim> p) const override;
+                         const Point<dim>  &p) const override;
 
   /**
    * @copydoc ScalarPolynomialsBase::compute_3rd_derivative()
    */
   virtual Tensor<3, dim>
   compute_3rd_derivative(const unsigned int i,
-                         const Point<dim> p) const override;
+                         const Point<dim>  &p) const override;
 
   /**
    * @copydoc ScalarPolynomialsBase::compute_4th_derivative()
    */
   virtual Tensor<4, dim>
   compute_4th_derivative(const unsigned int i,
-                         const Point<dim> p) const override;
+                         const Point<dim>  &p) const override;
 
   /**
    * Compute the grad of the <tt>i</tt>th tensor product polynomial at
@@ -355,8 +355,8 @@ public:
    * in a loop over all tensor product polynomials.
    */
   void
-  evaluate(const Point<dim> &           unit_point,
-           std::vector<double> &        values,
+  evaluate(const Point<dim>            &unit_point,
+           std::vector<double>         &values,
            std::vector<Tensor<1, dim>> &grads,
            std::vector<Tensor<2, dim>> &grad_grads,
            std::vector<Tensor<3, dim>> &third_derivatives,
@@ -400,28 +400,28 @@ public:
    */
   virtual Tensor<1, dim>
   compute_1st_derivative(const unsigned int i,
-                         const Point<dim> p) const override;
+                         const Point<dim>  &p) const override;
 
   /**
    * @copydoc ScalarPolynomialsBase::compute_2nd_derivative()
    */
   virtual Tensor<2, dim>
   compute_2nd_derivative(const unsigned int i,
-                         const Point<dim> p) const override;
+                         const Point<dim>  &p) const override;
 
   /**
    * @copydoc ScalarPolynomialsBase::compute_3rd_derivative()
    */
   virtual Tensor<3, dim>
   compute_3rd_derivative(const unsigned int i,
-                         const Point<dim> p) const override;
+                         const Point<dim>  &p) const override;
 
   /**
    * @copydoc ScalarPolynomialsBase::compute_4th_derivative()
    */
   virtual Tensor<4, dim>
   compute_4th_derivative(const unsigned int i,
-                         const Point<dim> p) const override;
+                         const Point<dim>  &p) const override;
 
   /**
    * Compute the grad of the <tt>i</tt>th tensor product polynomial at
@@ -545,7 +545,7 @@ template <int order>
 Tensor<order, dim>
 TensorProductPolynomials<dim, PolynomialType>::compute_derivative(
   const unsigned int i,
-  const Point<dim> p) const
+  const Point<dim>  &p) const
 {
   std::array<unsigned int, dim> indices;
   compute_index(i, indices);
@@ -688,7 +688,7 @@ template <int dim, typename PolynomialType>
 inline Tensor<1, dim>
 TensorProductPolynomials<dim, PolynomialType>::compute_1st_derivative(
   const unsigned int i,
-  const Point<dim> p) const
+  const Point<dim>  &p) const
 {
   return compute_derivative<1>(i, p);
 }
@@ -699,7 +699,7 @@ template <int dim, typename PolynomialType>
 inline Tensor<2, dim>
 TensorProductPolynomials<dim, PolynomialType>::compute_2nd_derivative(
   const unsigned int i,
-  const Point<dim> p) const
+  const Point<dim>  &p) const
 {
   return compute_derivative<2>(i, p);
 }
@@ -710,7 +710,7 @@ template <int dim, typename PolynomialType>
 inline Tensor<3, dim>
 TensorProductPolynomials<dim, PolynomialType>::compute_3rd_derivative(
   const unsigned int i,
-  const Point<dim> p) const
+  const Point<dim>  &p) const
 {
   return compute_derivative<3>(i, p);
 }
@@ -721,7 +721,7 @@ template <int dim, typename PolynomialType>
 inline Tensor<4, dim>
 TensorProductPolynomials<dim, PolynomialType>::compute_4th_derivative(
   const unsigned int i,
-  const Point<dim> p) const
+  const Point<dim>  &p) const
 {
   return compute_derivative<4>(i, p);
 }
@@ -732,7 +732,7 @@ template <int dim>
 template <int order>
 Tensor<order, dim>
 AnisotropicPolynomials<dim>::compute_derivative(const unsigned int i,
-                                                const Point<dim> p) const
+                                                const Point<dim>  &p) const
 {
   std::array<unsigned int, dim> indices;
   compute_index(i, indices);
@@ -864,7 +864,7 @@ AnisotropicPolynomials<0>::compute_derivative(const unsigned int,
 template <int dim>
 inline Tensor<1, dim>
 AnisotropicPolynomials<dim>::compute_1st_derivative(const unsigned int i,
-                                                    const Point<dim> p) const
+                                                    const Point<dim>  &p) const
 {
   return compute_derivative<1>(i, p);
 }
@@ -874,7 +874,7 @@ AnisotropicPolynomials<dim>::compute_1st_derivative(const unsigned int i,
 template <int dim>
 inline Tensor<2, dim>
 AnisotropicPolynomials<dim>::compute_2nd_derivative(const unsigned int i,
-                                                    const Point<dim> p) const
+                                                    const Point<dim>  &p) const
 {
   return compute_derivative<2>(i, p);
 }
@@ -884,7 +884,7 @@ AnisotropicPolynomials<dim>::compute_2nd_derivative(const unsigned int i,
 template <int dim>
 inline Tensor<3, dim>
 AnisotropicPolynomials<dim>::compute_3rd_derivative(const unsigned int i,
-                                                    const Point<dim> p) const
+                                                    const Point<dim>  &p) const
 {
   return compute_derivative<3>(i, p);
 }
@@ -894,7 +894,7 @@ AnisotropicPolynomials<dim>::compute_3rd_derivative(const unsigned int i,
 template <int dim>
 inline Tensor<4, dim>
 AnisotropicPolynomials<dim>::compute_4th_derivative(const unsigned int i,
-                                                    const Point<dim> p) const
+                                                    const Point<dim>  &p) const
 {
   return compute_derivative<4>(i, p);
 }
index cd9d59d074ac85e85283d489a7d801d331152b1b..3753971c441dcfeec851f17a552e651459058f24 100644 (file)
@@ -106,8 +106,8 @@ public:
    * over all tensor product polynomials.
    */
   void
-  evaluate(const Point<dim> &           unit_point,
-           std::vector<double> &        values,
+  evaluate(const Point<dim>            &unit_point,
+           std::vector<double>         &values,
            std::vector<Tensor<1, dim>> &grads,
            std::vector<Tensor<2, dim>> &grad_grads,
            std::vector<Tensor<3, dim>> &third_derivatives,
@@ -149,28 +149,28 @@ public:
    */
   virtual Tensor<1, dim>
   compute_1st_derivative(const unsigned int i,
-                         const Point<dim> p) const override;
+                         const Point<dim>  &p) const override;
 
   /**
    * @copydoc ScalarPolynomialsBase::compute_2nd_derivative()
    */
   virtual Tensor<2, dim>
   compute_2nd_derivative(const unsigned int i,
-                         const Point<dim> p) const override;
+                         const Point<dim>  &p) const override;
 
   /**
    * @copydoc ScalarPolynomialsBase::compute_3rd_derivative()
    */
   virtual Tensor<3, dim>
   compute_3rd_derivative(const unsigned int i,
-                         const Point<dim> p) const override;
+                         const Point<dim>  &p) const override;
 
   /**
    * @copydoc ScalarPolynomialsBase::compute_4th_derivative()
    */
   virtual Tensor<4, dim>
   compute_4th_derivative(const unsigned int i,
-                         const Point<dim> p) const override;
+                         const Point<dim>  &p) const override;
 
   /**
    * Compute the grad of the <tt>i</tt>th tensor product polynomial at
@@ -316,7 +316,7 @@ template <int order>
 Tensor<order, dim>
 TensorProductPolynomialsBubbles<dim>::compute_derivative(
   const unsigned int i,
-  const Point<dim> p) const
+  const Point<dim>  &p) const
 {
   const unsigned int q_degree      = tensor_polys.polynomials.size() - 1;
   const unsigned int max_q_indices = tensor_polys.n();
@@ -466,7 +466,7 @@ template <int dim>
 inline Tensor<1, dim>
 TensorProductPolynomialsBubbles<dim>::compute_1st_derivative(
   const unsigned int i,
-  const Point<dim> p) const
+  const Point<dim>  &p) const
 {
   return compute_derivative<1>(i, p);
 }
@@ -477,7 +477,7 @@ template <int dim>
 inline Tensor<2, dim>
 TensorProductPolynomialsBubbles<dim>::compute_2nd_derivative(
   const unsigned int i,
-  const Point<dim> p) const
+  const Point<dim>  &p) const
 {
   return compute_derivative<2>(i, p);
 }
@@ -488,7 +488,7 @@ template <int dim>
 inline Tensor<3, dim>
 TensorProductPolynomialsBubbles<dim>::compute_3rd_derivative(
   const unsigned int i,
-  const Point<dim> p) const
+  const Point<dim>  &p) const
 {
   return compute_derivative<3>(i, p);
 }
@@ -499,7 +499,7 @@ template <int dim>
 inline Tensor<4, dim>
 TensorProductPolynomialsBubbles<dim>::compute_4th_derivative(
   const unsigned int i,
-  const Point<dim> p) const
+  const Point<dim>  &p) const
 {
   return compute_derivative<4>(i, p);
 }
index 294d1c8cc26304bbee73a913af60301a7661a2bd..8b1f32cde750ba25343b2aed38974bb15d9460b7 100644 (file)
@@ -99,8 +99,8 @@ public:
    * over all tensor product polynomials.
    */
   void
-  evaluate(const Point<dim> &           unit_point,
-           std::vector<double> &        values,
+  evaluate(const Point<dim>            &unit_point,
+           std::vector<double>         &values,
            std::vector<Tensor<1, dim>> &grads,
            std::vector<Tensor<2, dim>> &grad_grads,
            std::vector<Tensor<3, dim>> &third_derivatives,
@@ -144,28 +144,28 @@ public:
    */
   virtual Tensor<1, dim>
   compute_1st_derivative(const unsigned int i,
-                         const Point<dim> p) const override;
+                         const Point<dim>  &p) const override;
 
   /**
    * @copydoc ScalarPolynomialsBase::compute_2nd_derivative()
    */
   virtual Tensor<2, dim>
   compute_2nd_derivative(const unsigned int i,
-                         const Point<dim> p) const override;
+                         const Point<dim>  &p) const override;
 
   /**
    * @copydoc ScalarPolynomialsBase::compute_3rd_derivative()
    */
   virtual Tensor<3, dim>
   compute_3rd_derivative(const unsigned int i,
-                         const Point<dim> p) const override;
+                         const Point<dim>  &p) const override;
 
   /**
    * @copydoc ScalarPolynomialsBase::compute_4th_derivative()
    */
   virtual Tensor<4, dim>
   compute_4th_derivative(const unsigned int i,
-                         const Point<dim> p) const override;
+                         const Point<dim>  &p) const override;
 
   /**
    * Compute the grad of the <tt>i</tt>th tensor product polynomial at
@@ -299,7 +299,7 @@ template <int order>
 Tensor<order, dim>
 TensorProductPolynomialsConst<dim>::compute_derivative(
   const unsigned int i,
-  const Point<dim> p) const
+  const Point<dim>  &p) const
 {
   const unsigned int max_indices = tensor_polys.n();
   Assert(i <= max_indices, ExcInternalError());
@@ -318,7 +318,7 @@ template <int dim>
 inline Tensor<1, dim>
 TensorProductPolynomialsConst<dim>::compute_1st_derivative(
   const unsigned int i,
-  const Point<dim> p) const
+  const Point<dim>  &p) const
 {
   return compute_derivative<1>(i, p);
 }
@@ -329,7 +329,7 @@ template <int dim>
 inline Tensor<2, dim>
 TensorProductPolynomialsConst<dim>::compute_2nd_derivative(
   const unsigned int i,
-  const Point<dim> p) const
+  const Point<dim>  &p) const
 {
   return compute_derivative<2>(i, p);
 }
@@ -340,7 +340,7 @@ template <int dim>
 inline Tensor<3, dim>
 TensorProductPolynomialsConst<dim>::compute_3rd_derivative(
   const unsigned int i,
-  const Point<dim> p) const
+  const Point<dim>  &p) const
 {
   return compute_derivative<3>(i, p);
 }
@@ -351,7 +351,7 @@ template <int dim>
 inline Tensor<4, dim>
 TensorProductPolynomialsConst<dim>::compute_4th_derivative(
   const unsigned int i,
-  const Point<dim> p) const
+  const Point<dim>  &p) const
 {
   return compute_derivative<4>(i, p);
 }
index 909aa7441e471c939f5a85bccd1b350066ec8bbd..1c3ab436a9274df4c0953c1581b5b93a70fbe689 100644 (file)
@@ -375,8 +375,8 @@ namespace Threads
     std::enable_if_t<
       std::is_copy_constructible_v<typename unpack_container<T>::type>,
       T &>
-    construct_element(std::map<std::thread::id, T> &  data,
-                      const std::thread::id &         id,
+    construct_element(std::map<std::thread::id, T>   &data,
+                      const std::thread::id          &id,
                       const std::shared_ptr<const T> &exemplar)
     {
       if (exemplar)
@@ -392,7 +392,7 @@ namespace Threads
       !std::is_copy_constructible_v<typename unpack_container<T>::type>,
       T &>
     construct_element(std::map<std::thread::id, T> &data,
-                      const std::thread::id &       id,
+                      const std::thread::id        &id,
                       const std::shared_ptr<const T> &)
     {
       return data[id];
index 3de22ebcff4b3bb28493c4d16f204f1b22645efa..30bb115d41816ae5d7f63b6b5925f89387fd5768 100644 (file)
@@ -288,7 +288,7 @@ namespace Threads
     struct return_value<RT &>
     {
     private:
-      RT value;
+      RT  *value;
       bool value_is_initialized;
 
     public:
@@ -444,7 +444,7 @@ namespace Threads
      */
     template <typename Function>
     DEAL_II_CXX20_REQUIRES((std::invocable<Function>))
-    void evaluate_and_set_promise(Function &          function,
+    void evaluate_and_set_promise(Function           &function,
                                   std::promise<void> &promise)
     {
       function();
index 4703e69aa9f7b21232bafc4bf78cb8b235c8c216..cd62f6515d5bfd48a2a2543ba66d9676c387055f 100644 (file)
@@ -193,12 +193,12 @@ namespace TimeStepping
     virtual double
     evolve_one_time_step(
       std::vector<std::function<VectorType(const double, const VectorType &)>>
-        &                                                             F,
+                                                                     &F,
       std::vector<std::function<
         VectorType(const double, const double, const VectorType &)>> &J_inverse,
       double                                                          t,
       double                                                          delta_t,
-      VectorType &                                                    y) = 0;
+      VectorType                                                     &y) = 0;
 
     /**
      * Empty structure used to store information.
@@ -247,7 +247,7 @@ namespace TimeStepping
     double
     evolve_one_time_step(
       std::vector<std::function<VectorType(const double, const VectorType &)>>
-        &                                                             F,
+                                                                     &F,
       std::vector<std::function<
         VectorType(const double, const double, const VectorType &)>> &J_inverse,
       double                                                          t,
@@ -270,7 +270,7 @@ namespace TimeStepping
       const std::function<VectorType(const double, const VectorType &)> &f,
       const std::function<
         VectorType(const double, const double, const VectorType &)>
-        &         id_minus_tau_J_inverse,
+                 &id_minus_tau_J_inverse,
       double      t,
       double      delta_t,
       VectorType &y) = 0;
@@ -345,7 +345,7 @@ namespace TimeStepping
       const std::function<VectorType(const double, const VectorType &)> &f,
       const std::function<
         VectorType(const double, const double, const VectorType &)>
-        &         id_minus_tau_J_inverse,
+                 &id_minus_tau_J_inverse,
       double      t,
       double      delta_t,
       VectorType &y) override;
@@ -391,7 +391,7 @@ namespace TimeStepping
       const std::function<VectorType(const double, const VectorType &)> &f,
       const double                                                       t,
       const double             delta_t,
-      const VectorType &       y,
+      const VectorType        &y,
       std::vector<VectorType> &f_stages) const;
 
     /**
@@ -447,7 +447,7 @@ namespace TimeStepping
       const std::function<VectorType(const double, const VectorType &)> &f,
       const std::function<
         VectorType(const double, const double, const VectorType &)>
-        &         id_minus_tau_J_inverse,
+                 &id_minus_tau_J_inverse,
       double      t,
       double      delta_t,
       VectorType &y) override;
@@ -510,9 +510,9 @@ namespace TimeStepping
       const double      factor_solution,
       const double      factor_ai,
       const VectorType &corrent_ri,
-      VectorType &      vec_ki,
-      VectorType &      solution,
-      VectorType &      next_ri) const;
+      VectorType       &vec_ki,
+      VectorType       &solution,
+      VectorType       &next_ri) const;
 
     /**
      * Status structure of the object.
@@ -570,7 +570,7 @@ namespace TimeStepping
       const std::function<VectorType(const double, const VectorType &)> &f,
       const std::function<
         VectorType(const double, const double, const VectorType &)>
-        &         id_minus_tau_J_inverse,
+                 &id_minus_tau_J_inverse,
       double      t,
       double      delta_t,
       VectorType &y) override;
@@ -615,10 +615,10 @@ namespace TimeStepping
       const std::function<VectorType(const double, const VectorType &)> &f,
       const std::function<
         VectorType(const double, const double, const VectorType &)>
-        &                      id_minus_tau_J_inverse,
+                              &id_minus_tau_J_inverse,
       double                   t,
       double                   delta_t,
-      VectorType &             y,
+      VectorType              &y,
       std::vector<VectorType> &f_stages);
 
     /**
@@ -628,7 +628,7 @@ namespace TimeStepping
     newton_solve(
       const std::function<void(const VectorType &, VectorType &)> &get_residual,
       const std::function<VectorType(const VectorType &)>
-        &         id_minus_tau_J_inverse,
+                 &id_minus_tau_J_inverse,
       VectorType &y);
 
     /**
@@ -641,8 +641,8 @@ namespace TimeStepping
       double            delta_t,
       const VectorType &new_y,
       const VectorType &y,
-      VectorType &      tendency,
-      VectorType &      residual) const;
+      VectorType       &tendency,
+      VectorType       &residual) const;
 
     /**
      * Maximum number of iterations of the Newton solver.
@@ -729,7 +729,7 @@ namespace TimeStepping
       const std::function<VectorType(const double, const VectorType &)> &f,
       const std::function<
         VectorType(const double, const double, const VectorType &)>
-        &         id_minus_tau_J_inverse,
+                 &id_minus_tau_J_inverse,
       double      t,
       double      delta_t,
       VectorType &y) override;
@@ -793,7 +793,7 @@ namespace TimeStepping
       const std::function<VectorType(const double, const VectorType &)> &f,
       const double                                                       t,
       const double             delta_t,
-      const VectorType &       y,
+      const VectorType        &y,
       std::vector<VectorType> &f_stages);
 
     /**
index 27fb5e3719fb55f323e452e6012d6e3728215ecd..e199f1ffc59071d1f2ad9befff6bdc2748d3cd85 100644 (file)
@@ -200,7 +200,7 @@ namespace TimeStepping
     const std::function<VectorType(const double, const VectorType &)> &f,
     double                                                             t,
     double                                                             delta_t,
-    VectorType &                                                       y)
+    VectorType                                                        &y)
   {
     Assert(status.method != runge_kutta_method::invalid, ExcNoMethodSelected());
 
@@ -232,7 +232,7 @@ namespace TimeStepping
     const std::function<VectorType(const double, const VectorType &)> &f,
     const double                                                       t,
     const double                                                       delta_t,
-    const VectorType &                                                 y,
+    const VectorType                                                  &y,
     std::vector<VectorType> &f_stages) const
   {
     for (unsigned int i = 0; i < this->n_stages; ++i)
@@ -288,10 +288,10 @@ namespace TimeStepping
           {
             this->n_stages = 5;
             this->b        = {{1153189308089. / 22510343858157.,
-                        1772645290293. / 4653164025191.,
-                        -1672844663538. / 4480602732383.,
-                        2114624349019. / 3568978502595.,
-                        5198255086312. / 14908931495163.}};
+                               1772645290293. / 4653164025191.,
+                               -1672844663538. / 4480602732383.,
+                               2114624349019. / 3568978502595.,
+                               5198255086312. / 14908931495163.}};
             std::vector<double> ai;
             ai = {{970286171893. / 4311952581923.,
                    6584761158862. / 12103376702013.,
@@ -304,12 +304,12 @@ namespace TimeStepping
           {
             this->n_stages = 7;
             this->b        = {{0.0941840925477795334,
-                        0.149683694803496998,
-                        0.285204742060440058,
-                        -0.122201846148053668,
-                        0.0605151571191401122,
-                        0.345986987898399296,
-                        0.186627171718797670}};
+                               0.149683694803496998,
+                               0.285204742060440058,
+                               -0.122201846148053668,
+                               0.0605151571191401122,
+                               0.345986987898399296,
+                               0.186627171718797670}};
             std::vector<double> ai;
             ai = {{0.241566650129646868 + this->b[0],
                    0.0423866513027719953 + this->b[1],
@@ -324,14 +324,14 @@ namespace TimeStepping
           {
             this->n_stages = 9;
             this->b        = {{2274579626619. / 23610510767302.,
-                        693987741272. / 12394497460941.,
-                        -347131529483. / 15096185902911.,
-                        1144057200723. / 32081666971178.,
-                        1562491064753. / 11797114684756.,
-                        13113619727965. / 44346030145118.,
-                        393957816125. / 7825732611452.,
-                        720647959663. / 6565743875477.,
-                        3559252274877. / 14424734981077.}};
+                               693987741272. / 12394497460941.,
+                               -347131529483. / 15096185902911.,
+                               1144057200723. / 32081666971178.,
+                               1562491064753. / 11797114684756.,
+                               13113619727965. / 44346030145118.,
+                               393957816125. / 7825732611452.,
+                               720647959663. / 6565743875477.,
+                               3559252274877. / 14424734981077.}};
             std::vector<double> ai;
             ai = {{1107026461565. / 5417078080134.,
                    38141181049399. / 41724347789894.,
@@ -392,9 +392,9 @@ namespace TimeStepping
     const std::function<VectorType(const double, const VectorType &)> &f,
     double                                                             t,
     double                                                             delta_t,
-    VectorType &                                                       solution,
-    VectorType &                                                       vec_ri,
-    VectorType &                                                       vec_ki)
+    VectorType                                                        &solution,
+    VectorType                                                        &vec_ri,
+    VectorType                                                        &vec_ki)
   {
     Assert(status.method != runge_kutta_method::invalid, ExcNoMethodSelected());
 
@@ -456,9 +456,9 @@ namespace TimeStepping
     const double      factor_solution,
     const double      factor_ai,
     const VectorType &current_ri,
-    VectorType &      vec_ki,
-    VectorType &      solution,
-    VectorType &      next_ri) const
+    VectorType       &vec_ki,
+    VectorType       &solution,
+    VectorType       &next_ri) const
   {
     const double ai = factor_ai;
     const double bi = factor_solution;
@@ -572,7 +572,7 @@ namespace TimeStepping
                                    const VectorType &)> &id_minus_tau_J_inverse,
     double                                               t,
     double                                               delta_t,
-    VectorType &                                         y)
+    VectorType                                          &y)
   {
     Assert(status.method != runge_kutta_method::invalid, ExcNoMethodSelected());
 
@@ -620,8 +620,8 @@ namespace TimeStepping
                                    const VectorType &)> &id_minus_tau_J_inverse,
     double                                               t,
     double                                               delta_t,
-    VectorType &                                         y,
-    std::vector<VectorType> &                            f_stages)
+    VectorType                                          &y,
+    std::vector<VectorType>                             &f_stages)
   {
     VectorType z(y);
     for (unsigned int i = 0; i < this->n_stages; ++i)
@@ -633,7 +633,7 @@ namespace TimeStepping
         // Solve the nonlinear system using Newton's method
         const double new_t       = t + this->c[i] * delta_t;
         const double new_delta_t = this->a[i][i] * delta_t;
-        VectorType f_stage     = f_stages[i];
+        VectorType  &f_stage     = f_stages[i];
         newton_solve(
           [this, &f, new_t, new_delta_t, &old_y, &f_stage](
             const VectorType &y, VectorType &residual) {
@@ -654,7 +654,7 @@ namespace TimeStepping
   ImplicitRungeKutta<VectorType>::newton_solve(
     const std::function<void(const VectorType &, VectorType &)> &get_residual,
     const std::function<VectorType(const VectorType &)> &id_minus_tau_J_inverse,
-    VectorType &                                         y)
+    VectorType                                          &y)
   {
     VectorType residual(y);
     get_residual(y, residual);
@@ -682,9 +682,9 @@ namespace TimeStepping
     const std::function<VectorType(const double, const VectorType &)> &f,
     double                                                             t,
     double                                                             delta_t,
-    const VectorType &                                                 old_y,
-    const VectorType &                                                 y,
-    VectorType &                                                       tendency,
+    const VectorType                                                  &old_y,
+    const VectorType                                                  &y,
+    VectorType                                                        &tendency,
     VectorType &residual) const
   {
     // The tendency is stored to save one evaluation of f.
@@ -1004,7 +1004,7 @@ namespace TimeStepping
     const std::function<VectorType(const double, const VectorType &)> &f,
     double                                                             t,
     double                                                             delta_t,
-    VectorType &                                                       y)
+    VectorType                                                        &y)
   {
     Assert(status.method != runge_kutta_method::invalid, ExcNoMethodSelected());
 
@@ -1127,8 +1127,8 @@ namespace TimeStepping
     const std::function<VectorType(const double, const VectorType &)> &f,
     const double                                                       t,
     const double                                                       delta_t,
-    const VectorType &                                                 y,
-    std::vector<VectorType> &                                          f_stages)
+    const VectorType                                                  &y,
+    std::vector<VectorType>                                           &f_stages)
   {
     VectorType   Y(y);
     unsigned int i = 0;
index 9d0966323acdc14dec05a4300f7a0515adbdc304..b8f4e8270ced641228e95599b347d085f7eccd2c 100644 (file)
@@ -670,7 +670,7 @@ public:
    * @param output_type A variable indicating what kind of timing the output
    * should represent (CPU or wall time).
    */
-  TimerOutput(std::ostream &        stream,
+  TimerOutput(std::ostream         &stream,
               const OutputFrequency output_frequency,
               const OutputType      output_type);
 
@@ -684,7 +684,7 @@ public:
    * @param output_type A variable indicating what kind of timing the output
    * should represent (CPU or wall time).
    */
-  TimerOutput(ConditionalOStream &  stream,
+  TimerOutput(ConditionalOStream   &stream,
               const OutputFrequency output_frequency,
               const OutputType      output_type);
 
@@ -712,7 +712,7 @@ public:
    * each section.
    */
   TimerOutput(const MPI_Comm        mpi_comm,
-              std::ostream &        stream,
+              std::ostream         &stream,
               const OutputFrequency output_frequency,
               const OutputType      output_type);
 
@@ -740,7 +740,7 @@ public:
    * each section.)
    */
   TimerOutput(const MPI_Comm        mpi_comm,
-              ConditionalOStream &  stream,
+              ConditionalOStream   &stream,
               const OutputFrequency output_frequency,
               const OutputType      output_type);
 
@@ -943,7 +943,7 @@ Timer::print_accumulated_wall_time_data(StreamType &stream) const
 
 
 inline TimerOutput::Scope::Scope(dealii::TimerOutput &timer_,
-                                 const std::string &  section_name_)
+                                 const std::string   &section_name_)
   : timer(timer_)
   , section_name(section_name_)
   , in(true)
index af98e746d145d9691a42bbac3686d5a9be88cb0b..30dc5684b6e70b30f6387dfe99b446933767fbc3 100644 (file)
@@ -608,7 +608,7 @@ namespace Utilities
    */
   template <typename T>
   size_t
-  pack(const T &          object,
+  pack(const T           &object,
        std::vector<char> &dest_buffer,
        const bool         allow_compression = true);
 
@@ -1168,7 +1168,7 @@ namespace Utilities
     inline void
     append_vector_of_trivially_copyable_to_buffer(
       const std::vector<T> &object,
-      std::vector<char> &   dest_buffer)
+      std::vector<char>    &dest_buffer)
     {
       const typename std::vector<T>::size_type vector_size = object.size();
 
@@ -1198,7 +1198,7 @@ namespace Utilities
     inline void
     append_vector_of_trivially_copyable_to_buffer(
       const std::vector<std::vector<T>> &object,
-      std::vector<char> &                dest_buffer)
+      std::vector<char>                 &dest_buffer)
     {
       using size_type             = typename std::vector<T>::size_type;
       const size_type vector_size = object.size();
@@ -1259,7 +1259,7 @@ namespace Utilities
     create_vector_of_trivially_copyable_from_buffer(
       const std::vector<char>::const_iterator &cbegin,
       const std::vector<char>::const_iterator &cend,
-      std::vector<T> &                         object)
+      std::vector<T>                          &object)
     {
       // The size of the object vector can be found in cbegin of the buffer.
       // The data starts at cbegin + sizeof(vector_size).
@@ -1294,7 +1294,7 @@ namespace Utilities
     create_vector_of_trivially_copyable_from_buffer(
       const std::vector<char>::const_iterator &cbegin,
       const std::vector<char>::const_iterator &cend,
-      std::vector<std::vector<T>> &            object)
+      std::vector<std::vector<T>>             &object)
     {
       // First get the size of the vector, and resize the output object
       using size_type = typename std::vector<T>::size_type;
@@ -1340,7 +1340,7 @@ namespace Utilities
 
   template <typename T>
   size_t
-  pack(const T &          object,
+  pack(const T           &object,
        std::vector<char> &dest_buffer,
        const bool         allow_compression)
   {
index 006876ea84454c81c0ef489e827368cb66be6eac..5c279665d7b64e1f9b8188b319488c90f691d65e 100644 (file)
@@ -804,7 +804,7 @@ make_vectorized_array(const typename VectorizedArrayType::value_type &u)
  */
 template <typename Number, std::size_t width>
 inline DEAL_II_ALWAYS_INLINE void
-gather(VectorizedArray<Number, width> &   out,
+gather(VectorizedArray<Number, width>    &out,
        const std::array<Number *, width> &ptrs,
        const unsigned int                 offset)
 {
@@ -842,8 +842,8 @@ gather(VectorizedArray<Number, width> &   out,
 template <typename Number, std::size_t width>
 inline DEAL_II_ALWAYS_INLINE void
 vectorized_load_and_transpose(const unsigned int              n_entries,
-                              const Number *                  in,
-                              const unsigned int *            offsets,
+                              const Number                   *in,
+                              const unsigned int             *offsets,
                               VectorizedArray<Number, width> *out)
 {
   for (unsigned int i = 0; i < n_entries; ++i)
@@ -867,7 +867,7 @@ template <typename Number, std::size_t width>
 inline DEAL_II_ALWAYS_INLINE void
 vectorized_load_and_transpose(const unsigned int                 n_entries,
                               const std::array<Number *, width> &in,
-                              VectorizedArray<Number, width> *   out)
+                              VectorizedArray<Number, width>    *out)
 {
   for (unsigned int i = 0; i < n_entries; ++i)
     for (unsigned int v = 0; v < VectorizedArray<Number, width>::size(); ++v)
@@ -919,8 +919,8 @@ inline DEAL_II_ALWAYS_INLINE void
 vectorized_transpose_and_store(const bool                            add_into,
                                const unsigned int                    n_entries,
                                const VectorizedArray<Number, width> *in,
-                               const unsigned int *                  offsets,
-                               Number *                              out)
+                               const unsigned int                   *offsets,
+                               Number                               *out)
 {
   if (add_into)
     for (unsigned int i = 0; i < n_entries; ++i)
@@ -949,7 +949,7 @@ inline DEAL_II_ALWAYS_INLINE void
 vectorized_transpose_and_store(const bool                            add_into,
                                const unsigned int                    n_entries,
                                const VectorizedArray<Number, width> *in,
-                               std::array<Number *, width> &         out)
+                               std::array<Number *, width>          &out)
 {
   if (add_into)
     for (unsigned int i = 0; i < n_entries; ++i)
@@ -1302,8 +1302,8 @@ private:
 template <>
 inline DEAL_II_ALWAYS_INLINE void
 vectorized_load_and_transpose(const unsigned int          n_entries,
-                              const double *              in,
-                              const unsigned int *        offsets,
+                              const double               *in,
+                              const unsigned int         *offsets,
                               VectorizedArray<double, 2> *out)
 {
   const unsigned int n_chunks = n_entries / 2;
@@ -1330,7 +1330,7 @@ template <>
 inline DEAL_II_ALWAYS_INLINE void
 vectorized_load_and_transpose(const unsigned int             n_entries,
                               const std::array<double *, 2> &in,
-                              VectorizedArray<double, 2> *   out)
+                              VectorizedArray<double, 2>    *out)
 {
   // see the comments in the vectorized_load_and_transpose above
 
@@ -1358,8 +1358,8 @@ inline DEAL_II_ALWAYS_INLINE void
 vectorized_transpose_and_store(const bool                        add_into,
                                const unsigned int                n_entries,
                                const VectorizedArray<double, 2> *in,
-                               const unsigned int *              offsets,
-                               double *                          out)
+                               const unsigned int               *offsets,
+                               double                           *out)
 {
   const unsigned int n_chunks = n_entries / 2;
   if (add_into)
@@ -1410,7 +1410,7 @@ inline DEAL_II_ALWAYS_INLINE void
 vectorized_transpose_and_store(const bool                        add_into,
                                const unsigned int                n_entries,
                                const VectorizedArray<double, 2> *in,
-                               std::array<double *, 2> &         out)
+                               std::array<double *, 2>          &out)
 {
   // see the comments in the vectorized_transpose_and_store above
 
@@ -1771,8 +1771,8 @@ private:
 template <>
 inline DEAL_II_ALWAYS_INLINE void
 vectorized_load_and_transpose(const unsigned int         n_entries,
-                              const float *              in,
-                              const unsigned int *       offsets,
+                              const float               *in,
+                              const unsigned int        *offsets,
                               VectorizedArray<float, 4> *out)
 {
   const unsigned int n_chunks = n_entries / 4;
@@ -1807,7 +1807,7 @@ template <>
 inline DEAL_II_ALWAYS_INLINE void
 vectorized_load_and_transpose(const unsigned int            n_entries,
                               const std::array<float *, 4> &in,
-                              VectorizedArray<float, 4> *   out)
+                              VectorizedArray<float, 4>    *out)
 {
   // see the comments in the vectorized_load_and_transpose above
 
@@ -1843,8 +1843,8 @@ inline DEAL_II_ALWAYS_INLINE void
 vectorized_transpose_and_store(const bool                       add_into,
                                const unsigned int               n_entries,
                                const VectorizedArray<float, 4> *in,
-                               const unsigned int *             offsets,
-                               float *                          out)
+                               const unsigned int              *offsets,
+                               float                           *out)
 {
   const unsigned int n_chunks = n_entries / 4;
   for (unsigned int i = 0; i < n_chunks; ++i)
@@ -1906,7 +1906,7 @@ inline DEAL_II_ALWAYS_INLINE void
 vectorized_transpose_and_store(const bool                       add_into,
                                const unsigned int               n_entries,
                                const VectorizedArray<float, 4> *in,
-                               std::array<float *, 4> &         out)
+                               std::array<float *, 4>          &out)
 {
   // see the comments in the vectorized_transpose_and_store above
 
@@ -2333,15 +2333,15 @@ private:
 template <>
 inline DEAL_II_ALWAYS_INLINE void
 vectorized_load_and_transpose(const unsigned int          n_entries,
-                              const double *              in,
-                              const unsigned int *        offsets,
+                              const double               *in,
+                              const unsigned int         *offsets,
                               VectorizedArray<double, 4> *out)
 {
   const unsigned int n_chunks = n_entries / 4;
-  const double *     in0      = in + offsets[0];
-  const double *     in1      = in + offsets[1];
-  const double *     in2      = in + offsets[2];
-  const double *     in3      = in + offsets[3];
+  const double      *in0      = in + offsets[0];
+  const double      *in1      = in + offsets[1];
+  const double      *in2      = in + offsets[2];
+  const double      *in3      = in + offsets[3];
 
   for (unsigned int i = 0; i < n_chunks; ++i)
     {
@@ -2373,15 +2373,15 @@ template <>
 inline DEAL_II_ALWAYS_INLINE void
 vectorized_load_and_transpose(const unsigned int             n_entries,
                               const std::array<double *, 4> &in,
-                              VectorizedArray<double, 4> *   out)
+                              VectorizedArray<double, 4>    *out)
 {
   // see the comments in the vectorized_load_and_transpose above
 
   const unsigned int n_chunks = n_entries / 4;
-  const double *     in0      = in[0];
-  const double *     in1      = in[1];
-  const double *     in2      = in[2];
-  const double *     in3      = in[3];
+  const double      *in0      = in[0];
+  const double      *in1      = in[1];
+  const double      *in2      = in[2];
+  const double      *in3      = in[3];
 
   for (unsigned int i = 0; i < n_chunks; ++i)
     {
@@ -2413,14 +2413,14 @@ inline DEAL_II_ALWAYS_INLINE void
 vectorized_transpose_and_store(const bool                        add_into,
                                const unsigned int                n_entries,
                                const VectorizedArray<double, 4> *in,
-                               const unsigned int *              offsets,
-                               double *                          out)
+                               const unsigned int               *offsets,
+                               double                           *out)
 {
   const unsigned int n_chunks = n_entries / 4;
-  double *           out0     = out + offsets[0];
-  double *           out1     = out + offsets[1];
-  double *           out2     = out + offsets[2];
-  double *           out3     = out + offsets[3];
+  double            *out0     = out + offsets[0];
+  double            *out1     = out + offsets[1];
+  double            *out2     = out + offsets[2];
+  double            *out3     = out + offsets[3];
   for (unsigned int i = 0; i < n_chunks; ++i)
     {
       __m256d u0   = in[4 * i + 0].data;
@@ -2480,15 +2480,15 @@ inline DEAL_II_ALWAYS_INLINE void
 vectorized_transpose_and_store(const bool                        add_into,
                                const unsigned int                n_entries,
                                const VectorizedArray<double, 4> *in,
-                               std::array<double *, 4> &         out)
+                               std::array<double *, 4>          &out)
 {
   // see the comments in the vectorized_transpose_and_store above
 
   const unsigned int n_chunks = n_entries / 4;
-  double *           out0     = out[0];
-  double *           out1     = out[1];
-  double *           out2     = out[2];
-  double *           out3     = out[3];
+  double            *out0     = out[0];
+  double            *out1     = out[1];
+  double            *out2     = out[2];
+  double            *out3     = out[3];
   for (unsigned int i = 0; i < n_chunks; ++i)
     {
       __m256d u0   = in[4 * i + 0].data;
@@ -2897,8 +2897,8 @@ private:
 template <>
 inline DEAL_II_ALWAYS_INLINE void
 vectorized_load_and_transpose(const unsigned int         n_entries,
-                              const float *              in,
-                              const unsigned int *       offsets,
+                              const float               *in,
+                              const unsigned int        *offsets,
                               VectorizedArray<float, 8> *out)
 {
   const unsigned int n_chunks = n_entries / 4;
@@ -2940,7 +2940,7 @@ template <>
 inline DEAL_II_ALWAYS_INLINE void
 vectorized_load_and_transpose(const unsigned int            n_entries,
                               const std::array<float *, 8> &in,
-                              VectorizedArray<float, 8> *   out)
+                              VectorizedArray<float, 8>    *out)
 {
   // see the comments in the vectorized_load_and_transpose above
 
@@ -2981,8 +2981,8 @@ inline DEAL_II_ALWAYS_INLINE void
 vectorized_transpose_and_store(const bool                       add_into,
                                const unsigned int               n_entries,
                                const VectorizedArray<float, 8> *in,
-                               const unsigned int *             offsets,
-                               float *                          out)
+                               const unsigned int              *offsets,
+                               float                           *out)
 {
   const unsigned int n_chunks = n_entries / 4;
   for (unsigned int i = 0; i < n_chunks; ++i)
@@ -3064,7 +3064,7 @@ inline DEAL_II_ALWAYS_INLINE void
 vectorized_transpose_and_store(const bool                       add_into,
                                const unsigned int               n_entries,
                                const VectorizedArray<float, 8> *in,
-                               std::array<float *, 8> &         out)
+                               std::array<float *, 8>          &out)
 {
   // see the comments in the vectorized_transpose_and_store above
 
@@ -3532,8 +3532,8 @@ private:
 template <>
 inline DEAL_II_ALWAYS_INLINE void
 vectorized_load_and_transpose(const unsigned int          n_entries,
-                              const double *              in,
-                              const unsigned int *        offsets,
+                              const double               *in,
+                              const unsigned int         *offsets,
                               VectorizedArray<double, 8> *out)
 {
   // do not do full transpose because the code is long and will most
@@ -3578,7 +3578,7 @@ template <>
 inline DEAL_II_ALWAYS_INLINE void
 vectorized_load_and_transpose(const unsigned int             n_entries,
                               const std::array<double *, 8> &in,
-                              VectorizedArray<double, 8> *   out)
+                              VectorizedArray<double, 8>    *out)
 {
   const unsigned int n_chunks = n_entries / 4;
   for (unsigned int i = 0; i < n_chunks; ++i)
@@ -3618,8 +3618,8 @@ inline DEAL_II_ALWAYS_INLINE void
 vectorized_transpose_and_store(const bool                        add_into,
                                const unsigned int                n_entries,
                                const VectorizedArray<double, 8> *in,
-                               const unsigned int *              offsets,
-                               double *                          out)
+                               const unsigned int               *offsets,
+                               double                           *out)
 {
   // as for the load, we split the store operations into 256 bit units to
   // better balance between code size, shuffle instructions, and stores
@@ -3701,7 +3701,7 @@ inline DEAL_II_ALWAYS_INLINE void
 vectorized_transpose_and_store(const bool                        add_into,
                                const unsigned int                n_entries,
                                const VectorizedArray<double, 8> *in,
-                               std::array<double *, 8> &         out)
+                               std::array<double *, 8>          &out)
 {
   // see the comments in the vectorized_transpose_and_store above
 
@@ -4147,8 +4147,8 @@ private:
 template <>
 inline DEAL_II_ALWAYS_INLINE void
 vectorized_load_and_transpose(const unsigned int          n_entries,
-                              const float *               in,
-                              const unsigned int *        offsets,
+                              const float                *in,
+                              const unsigned int         *offsets,
                               VectorizedArray<float, 16> *out)
 {
   // Similar to the double case, we perform the work on smaller entities. In
@@ -4210,7 +4210,7 @@ template <>
 inline DEAL_II_ALWAYS_INLINE void
 vectorized_load_and_transpose(const unsigned int             n_entries,
                               const std::array<float *, 16> &in,
-                              VectorizedArray<float, 16> *   out)
+                              VectorizedArray<float, 16>    *out)
 {
   // see the comments in the vectorized_load_and_transpose above
 
@@ -4263,8 +4263,8 @@ inline DEAL_II_ALWAYS_INLINE void
 vectorized_transpose_and_store(const bool                        add_into,
                                const unsigned int                n_entries,
                                const VectorizedArray<float, 16> *in,
-                               const unsigned int *              offsets,
-                               float *                           out)
+                               const unsigned int               *offsets,
+                               float                            *out)
 {
   const unsigned int n_chunks = n_entries / 4;
   for (unsigned int i = 0; i < n_chunks; ++i)
@@ -4377,7 +4377,7 @@ inline DEAL_II_ALWAYS_INLINE void
 vectorized_transpose_and_store(const bool                        add_into,
                                const unsigned int                n_entries,
                                const VectorizedArray<float, 16> *in,
-                               std::array<float *, 16> &         out)
+                               std::array<float *, 16>          &out)
 {
   // see the comments in the vectorized_transpose_and_store above
 
index ed661ce637123b5d1735861a12a0ce1e4a60bfda..56335f65a5fde52bc791068df4f9e7aa97c0048e 100644 (file)
@@ -320,12 +320,12 @@ namespace WorkStream
          * hold items, and the sample additional data object that will be
          * passed to each worker and copier function invocation.
          */
-        IteratorRangeToItemStream(const Iterator &   begin,
-                                  const Iterator &   end,
+        IteratorRangeToItemStream(const Iterator    &begin,
+                                  const Iterator    &end,
                                   const unsigned int buffer_size,
                                   const unsigned int chunk_size,
                                   const ScratchData &sample_scratch_data,
-                                  const CopyData &   sample_copy_data)
+                                  const CopyData    &sample_copy_data)
           : remaining_iterator_range(begin, end)
           , item_buffer(buffer_size)
           , sample_scratch_data(sample_scratch_data)
@@ -469,12 +469,12 @@ namespace WorkStream
                 typename ScratchData,
                 typename CopyData>
       void
-      run(const Iterator &                            begin,
+      run(const Iterator                             &begin,
           const std_cxx20::type_identity_t<Iterator> &end,
           Worker                                      worker,
           Copier                                      copier,
-          const ScratchData &                         sample_scratch_data,
-          const CopyData &                            sample_copy_data,
+          const ScratchData                          &sample_scratch_data,
+          const CopyData                             &sample_copy_data,
           const unsigned int                          queue_length,
           const unsigned int                          chunk_size)
       {
@@ -678,12 +678,12 @@ namespace WorkStream
                 typename ScratchData,
                 typename CopyData>
       void
-      run(const Iterator &                            begin,
+      run(const Iterator                             &begin,
           const std_cxx20::type_identity_t<Iterator> &end,
           Worker                                      worker,
           Copier                                      copier,
-          const ScratchData &                         sample_scratch_data,
-          const CopyData &                            sample_copy_data)
+          const ScratchData                          &sample_scratch_data,
+          const CopyData                             &sample_copy_data)
       {
         // need to copy the sample since it is marked const
         ScratchData scratch_data = sample_scratch_data;
@@ -723,8 +723,8 @@ namespace WorkStream
       run(const std::vector<std::vector<Iterator>> &colored_iterators,
           Worker                                    worker,
           Copier                                    copier,
-          const ScratchData &                       sample_scratch_data,
-          const CopyData &                          sample_copy_data)
+          const ScratchData                        &sample_scratch_data,
+          const CopyData                           &sample_copy_data)
       {
         // need to copy the sample since it is marked const
         ScratchData scratch_data = sample_scratch_data;
@@ -786,7 +786,7 @@ namespace WorkStream
         {}
 
         ScratchAndCopyDataObjects(std::unique_ptr<ScratchData> &&p,
-                                  std::unique_ptr<CopyData> &&   q,
+                                  std::unique_ptr<CopyData>    &&q,
                                   const bool                     in_use)
           : scratch_data(std::move(p))
           , copy_data(std::move(q))
@@ -817,10 +817,10 @@ namespace WorkStream
          */
         WorkerAndCopier(
           const std::function<void(const Iterator &, ScratchData &, CopyData &)>
-            &                                          worker,
+                                                      &worker,
           const std::function<void(const CopyData &)> &copier,
-          const ScratchData &                          sample_scratch_data,
-          const CopyData &                             sample_copy_data)
+          const ScratchData                           &sample_scratch_data,
+          const CopyData                              &sample_copy_data)
           : worker(worker)
           , copier(copier)
           , sample_scratch_data(sample_scratch_data)
@@ -847,7 +847,7 @@ namespace WorkStream
           // now and expect it to still be valid after calling the worker,
           // but we at least do not have to lock the following section.
           ScratchData *scratch_data = nullptr;
-          CopyData *   copy_data    = nullptr;
+          CopyData    *copy_data    = nullptr;
           {
             ScratchAndCopyDataList &scratch_and_copy_data_list = data.get();
 
@@ -951,7 +951,7 @@ namespace WorkStream
          * References to sample scratch and copy data for when we need them.
          */
         const ScratchData &sample_scratch_data;
-        const CopyData &   sample_copy_data;
+        const CopyData    &sample_copy_data;
       };
 
       /**
@@ -966,8 +966,8 @@ namespace WorkStream
       run(const std::vector<std::vector<Iterator>> &colored_iterators,
           Worker                                    worker,
           Copier                                    copier,
-          const ScratchData &                       sample_scratch_data,
-          const CopyData &                          sample_copy_data,
+          const ScratchData                        &sample_scratch_data,
+          const CopyData                           &sample_copy_data,
           const unsigned int                        chunk_size)
       {
         // loop over the various colors of what we're given
@@ -1058,8 +1058,8 @@ namespace WorkStream
   run(const std::vector<std::vector<Iterator>> &colored_iterators,
       Worker                                    worker,
       Copier                                    copier,
-      const ScratchData &                       sample_scratch_data,
-      const CopyData &                          sample_copy_data,
+      const ScratchData                        &sample_scratch_data,
+      const CopyData                           &sample_copy_data,
       const unsigned int queue_length = 2 * MultithreadInfo::n_threads(),
       const unsigned int chunk_size   = 8);
 
@@ -1119,12 +1119,12 @@ namespace WorkStream
             typename ScratchData,
             typename CopyData>
   void
-  run(const Iterator &                            begin,
+  run(const Iterator                             &begin,
       const std_cxx20::type_identity_t<Iterator> &end,
       Worker                                      worker,
       Copier                                      copier,
-      const ScratchData &                         sample_scratch_data,
-      const CopyData &                            sample_copy_data,
+      const ScratchData                          &sample_scratch_data,
+      const CopyData                             &sample_copy_data,
       const unsigned int queue_length = 2 * MultithreadInfo::n_threads(),
       const unsigned int chunk_size   = 8)
   {
@@ -1214,7 +1214,7 @@ namespace WorkStream
       Worker             worker,
       Copier             copier,
       const ScratchData &sample_scratch_data,
-      const CopyData &   sample_copy_data,
+      const CopyData    &sample_copy_data,
       const unsigned int queue_length = 2 * MultithreadInfo::n_threads(),
       const unsigned int chunk_size   = 8)
   {
@@ -1243,8 +1243,8 @@ namespace WorkStream
   run(const IteratorRange<Iterator> &iterator_range,
       Worker                         worker,
       Copier                         copier,
-      const ScratchData &            sample_scratch_data,
-      const CopyData &               sample_copy_data,
+      const ScratchData             &sample_scratch_data,
+      const CopyData                &sample_copy_data,
       const unsigned int queue_length = 2 * MultithreadInfo::n_threads(),
       const unsigned int chunk_size   = 8)
   {
@@ -1270,8 +1270,8 @@ namespace WorkStream
   run(const std::vector<std::vector<Iterator>> &colored_iterators,
       Worker                                    worker,
       Copier                                    copier,
-      const ScratchData &                       sample_scratch_data,
-      const CopyData &                          sample_copy_data,
+      const ScratchData                        &sample_scratch_data,
+      const CopyData                           &sample_copy_data,
       const unsigned int                        queue_length,
       const unsigned int                        chunk_size)
   {
@@ -1356,13 +1356,13 @@ namespace WorkStream
             typename ScratchData,
             typename CopyData>
   void
-  run(const Iterator &                            begin,
+  run(const Iterator                             &begin,
       const std_cxx20::type_identity_t<Iterator> &end,
-      MainClass &                                 main_object,
+      MainClass                                  &main_object,
       void (MainClass::*worker)(const Iterator &, ScratchData &, CopyData &),
       void (MainClass::*copier)(const CopyData &),
       const ScratchData &sample_scratch_data,
-      const CopyData &   sample_copy_data,
+      const CopyData    &sample_copy_data,
       const unsigned int queue_length = 2 * MultithreadInfo::n_threads(),
       const unsigned int chunk_size   = 8)
   {
@@ -1371,8 +1371,8 @@ namespace WorkStream
       begin,
       end,
       [&main_object, worker](const Iterator &iterator,
-                             ScratchData &   scratch_data,
-                             CopyData &      copy_data) {
+                             ScratchData    &scratch_data,
+                             CopyData       &copy_data) {
         (main_object.*worker)(iterator, scratch_data, copy_data);
       },
       [&main_object, copier](const CopyData &copy_data) {
@@ -1390,13 +1390,13 @@ namespace WorkStream
             typename ScratchData,
             typename CopyData>
   void
-  run(const IteratorOverIterators<Iterator> &                            begin,
+  run(const IteratorOverIterators<Iterator>                             &begin,
       const IteratorOverIterators<std_cxx20::type_identity_t<Iterator>> &end,
       MainClass &main_object,
       void (MainClass::*worker)(const Iterator &, ScratchData &, CopyData &),
       void (MainClass::*copier)(const CopyData &),
       const ScratchData &sample_scratch_data,
-      const CopyData &   sample_copy_data,
+      const CopyData    &sample_copy_data,
       const unsigned int queue_length = 2 * MultithreadInfo::n_threads(),
       const unsigned int chunk_size   = 8)
   {
@@ -1405,8 +1405,8 @@ namespace WorkStream
       begin,
       end,
       [&main_object, worker](const Iterator &iterator,
-                             ScratchData &   scratch_data,
-                             CopyData &      copy_data) {
+                             ScratchData    &scratch_data,
+                             CopyData       &copy_data) {
         (main_object.*worker)(iterator, scratch_data, copy_data);
       },
       [&main_object, copier](const CopyData &copy_data) {
@@ -1435,14 +1435,14 @@ namespace WorkStream
   void
   run(
     IteratorRangeType iterator_range,
-    MainClass &       main_object,
+    MainClass        &main_object,
     void (MainClass::*worker)(
       const typename std_cxx20::type_identity_t<IteratorRangeType>::iterator &,
       ScratchData &,
       CopyData &),
     void (MainClass::*copier)(const CopyData &),
     const ScratchData &sample_scratch_data,
-    const CopyData &   sample_copy_data,
+    const CopyData    &sample_copy_data,
     const unsigned int queue_length = 2 * MultithreadInfo::n_threads(),
     const unsigned int chunk_size   = 8)
   {
@@ -1469,11 +1469,11 @@ namespace WorkStream
             typename CopyData>
   void
   run(IteratorRange<Iterator> iterator_range,
-      MainClass &             main_object,
+      MainClass              &main_object,
       void (MainClass::*worker)(const Iterator &, ScratchData &, CopyData &),
       void (MainClass::*copier)(const CopyData &),
       const ScratchData &sample_scratch_data,
-      const CopyData &   sample_copy_data,
+      const CopyData    &sample_copy_data,
       const unsigned int queue_length = 2 * MultithreadInfo::n_threads(),
       const unsigned int chunk_size   = 8)
   {
index 6f9f21d82689f491fe4de04054b6a4fd20c38327..1fa123668268a5a8929d8a772d289db2a25dc838 100644 (file)
@@ -55,8 +55,8 @@ namespace CGALWrappers
   compute_intersection_of_cells(
     const typename Triangulation<dim0, spacedim>::cell_iterator &cell0,
     const typename Triangulation<dim1, spacedim>::cell_iterator &cell1,
-    const Mapping<dim0, spacedim> &                              mapping0,
-    const Mapping<dim1, spacedim> &                              mapping1,
+    const Mapping<dim0, spacedim>                               &mapping0,
+    const Mapping<dim1, spacedim>                               &mapping1,
     const double                                                 tol = 1e-9);
 
 
index a9e616d4829b0fc33c2c5debe1b60faecaba181c..35dcf024391e357b16512cab04b0861925cda744 100644 (file)
@@ -66,8 +66,8 @@ namespace CGALWrappers
   void
   dealii_cell_to_cgal_surface_mesh(
     const typename dealii::Triangulation<dim, spacedim>::cell_iterator &cell,
-    const dealii::Mapping<dim, spacedim> &                              mapping,
-    CGAL::Surface_mesh<CGALPointType> &                                 mesh);
+    const dealii::Mapping<dim, spacedim>                               &mapping,
+    CGAL::Surface_mesh<CGALPointType>                                  &mesh);
 
   /**
    * Convert a deal.II triangulation to a CGAL::Surface_mesh. The output depends
@@ -87,7 +87,7 @@ namespace CGALWrappers
   void
   dealii_tria_to_cgal_surface_mesh(
     const dealii::Triangulation<dim, spacedim> &triangulation,
-    CGAL::Surface_mesh<CGALPointType> &         mesh);
+    CGAL::Surface_mesh<CGALPointType>          &mesh);
 } // namespace CGALWrappers
 
 
index b68799c7ea759f5281609d3cdddff4e312385a8d..269b4886f20b9e0e71c559b35c3462413f7d8437 100644 (file)
@@ -118,7 +118,7 @@ namespace CGALWrappers
   template <typename CGALTriangulation, int dim, int spacedim>
   void
   cgal_triangulation_to_dealii_triangulation(
-    const CGALTriangulation &     cgal_triangulation,
+    const CGALTriangulation      &cgal_triangulation,
     Triangulation<dim, spacedim> &dealii_triangulation);
 
   /**
@@ -152,7 +152,7 @@ namespace CGALWrappers
     const CGAL::Mesh_complex_3_in_triangulation_3<CGALTriangulationType,
                                                   CornerIndexType,
                                                   CurveIndexType>
-      &               cgal_triangulation,
+                     &cgal_triangulation,
     Triangulation<3> &dealii_triangulation);
 
   /**
@@ -221,7 +221,7 @@ namespace CGALWrappers
     const CGAL::Mesh_complex_3_in_triangulation_3<CGALTriangulationType,
                                                   CornerIndexType,
                                                   CurveIndexType>
-      &               cgal_triangulation,
+                     &cgal_triangulation,
     Triangulation<3> &dealii_triangulation)
   {
     using C3T3 = CGAL::Mesh_complex_3_in_triangulation_3<CGALTriangulationType,
@@ -312,7 +312,7 @@ namespace CGALWrappers
   template <typename CGALTriangulation, int dim, int spacedim>
   void
   cgal_triangulation_to_dealii_triangulation(
-    const CGALTriangulation &     cgal_triangulation,
+    const CGALTriangulation      &cgal_triangulation,
     Triangulation<dim, spacedim> &dealii_triangulation)
   {
     AssertThrow(cgal_triangulation.dimension() == dim,
@@ -370,8 +370,8 @@ namespace CGALWrappers
             {
               // An edge is identified by a face and a vertex index in the
               // face
-              const auto &  f = e.first;
-              const auto &  i = e.second;
+              const auto   &f = e.first;
+              const auto   &i = e.second;
               CellData<dim> cell(ReferenceCells::Line.n_vertices());
               unsigned int  id = 0;
               // Since an edge is identified by a face (a triangle) and the
@@ -410,8 +410,8 @@ namespace CGALWrappers
             {
               // A facet is identified by a cell and the opposite vertex index
               // in the face
-              const auto &  c = facet.first;
-              const auto &  i = facet.second;
+              const auto   &c = facet.first;
+              const auto   &i = facet.second;
               CellData<dim> cell(ReferenceCells::Triangle.n_vertices());
               unsigned int  id = 0;
               // Since a face is identified by a cell (a tetrahedron) and the
index 35416f56aa2014a6bdfe13969cdca3d3a0533aa9..42b0df7bf38e46d5134562a4c247f318db8be43e 100644 (file)
@@ -142,7 +142,7 @@ namespace CGALWrappers
   void
   cgal_surface_mesh_to_cgal_triangulation(
     CGAL::Surface_mesh<typename C3t3::Point::Point> &surface_mesh,
-    C3t3 &                                           triangulation,
+    C3t3                                            &triangulation,
     const AdditionalData<3> &data = AdditionalData<3>{});
 
   /**
@@ -193,8 +193,8 @@ namespace CGALWrappers
   compute_boolean_operation(
     const CGAL::Surface_mesh<CGALPointType> &surface_mesh_1,
     const CGAL::Surface_mesh<CGALPointType> &surface_mesh_2,
-    const BooleanOperation &                 boolean_operation,
-    CGAL::Surface_mesh<CGALPointType> &      output_surface_mesh);
+    const BooleanOperation                  &boolean_operation,
+    CGAL::Surface_mesh<CGALPointType>       &output_surface_mesh);
 
   /**
    * Given a CGAL Triangulation describing a polyhedral region, create
@@ -233,7 +233,7 @@ namespace CGALWrappers
     const typename dealii::Triangulation<dim0, spacedim>::cell_iterator &cell0,
     const typename dealii::Triangulation<dim1, spacedim>::cell_iterator &cell1,
     const unsigned int                                                   degree,
-    const BooleanOperation &       bool_op,
+    const BooleanOperation        &bool_op,
     const Mapping<dim0, spacedim> &mapping0 =
       (ReferenceCells::get_hypercube<dim0>()
          .template get_default_linear_mapping<dim0, spacedim>()),
@@ -296,7 +296,7 @@ namespace CGALWrappers
   template <typename CGALPointType>
   void
   remesh_surface(CGAL::Surface_mesh<CGALPointType> &surface_mesh,
-                 const AdditionalData<3> &          data = AdditionalData<3>{});
+                 const AdditionalData<3>           &data = AdditionalData<3>{});
 } // namespace CGALWrappers
 
 #  ifndef DOXYGEN
@@ -307,8 +307,8 @@ namespace CGALWrappers
   void
   cgal_surface_mesh_to_cgal_triangulation(
     CGAL::Surface_mesh<typename C3t3::Point::Point> &surface_mesh,
-    C3t3 &                                           triangulation,
-    const AdditionalData<3> &                        data)
+    C3t3                                            &triangulation,
+    const AdditionalData<3>                         &data)
   {
     using CGALPointType = typename C3t3::Point::Point;
     Assert(CGAL::is_closed(surface_mesh),
@@ -346,8 +346,8 @@ namespace CGALWrappers
   compute_boolean_operation(
     const CGAL::Surface_mesh<CGALPointType> &surface_mesh_1,
     const CGAL::Surface_mesh<CGALPointType> &surface_mesh_2,
-    const BooleanOperation &                 boolean_operation,
-    CGAL::Surface_mesh<CGALPointType> &      output_surface_mesh)
+    const BooleanOperation                  &boolean_operation,
+    CGAL::Surface_mesh<CGALPointType>       &output_surface_mesh)
   {
     Assert(output_surface_mesh.is_empty(),
            ExcMessage(
@@ -440,7 +440,7 @@ namespace CGALWrappers
     const typename dealii::Triangulation<dim0, spacedim>::cell_iterator &cell0,
     const typename dealii::Triangulation<dim1, spacedim>::cell_iterator &cell1,
     const unsigned int                                                   degree,
-    const BooleanOperation &       bool_op,
+    const BooleanOperation        &bool_op,
     const Mapping<dim0, spacedim> &mapping0,
     const Mapping<dim1, spacedim> &mapping1)
   {
@@ -526,7 +526,7 @@ namespace CGALWrappers
   template <typename CGALPointType>
   void
   remesh_surface(CGAL::Surface_mesh<CGALPointType> &cgal_mesh,
-                 const AdditionalData<3> &          data)
+                 const AdditionalData<3>           &data)
   {
     using K           = CGAL::Exact_predicates_inexact_constructions_kernel;
     using Mesh_domain = CGAL::Polyhedral_mesh_domain_with_features_3<K>;
@@ -628,7 +628,7 @@ namespace CGALWrappers
   std::vector<Point<spacedim>>
   get_vertices_in_cgal_order(
     const typename dealii::Triangulation<dim, spacedim>::cell_iterator &cell,
-    const Mapping<dim, spacedim> &                                      mapping)
+    const Mapping<dim, spacedim>                                       &mapping)
   {
     // Elements have to be rectangular or simplices
     const unsigned int n_vertices = cell->n_vertices();
@@ -661,7 +661,7 @@ namespace CGALWrappers
   get_vertices_in_cgal_order(
     const typename dealii::Triangulation<dim, spacedim>::cell_iterator &cell,
     const unsigned int                                                  face_no,
-    const Mapping<dim, spacedim> &                                      mapping)
+    const Mapping<dim, spacedim>                                       &mapping)
   {
     // Elements have to be rectangular or simplices
     const unsigned int n_vertices = cell->face(face_no)->n_vertices();
index 1a352721bfd32e374124ad2306c889e3a4d75719..897b75cfd5b1550186dc865affae31d7a360ec4f 100644 (file)
@@ -385,7 +385,7 @@ namespace Differentiation
       void
       print_tape_stats(
         const typename Types<ADNumberType>::tape_index tape_index,
-        std::ostream &                                 stream) const;
+        std::ostream                                  &stream) const;
 
       /** @} */
 
@@ -424,7 +424,7 @@ namespace Differentiation
       void
       gradient(const typename Types<ADNumberType>::tape_index active_tape_index,
                const std::vector<ScalarType> &independent_variables,
-               Vector<ScalarType> &           gradient) const;
+               Vector<ScalarType>            &gradient) const;
 
       /**
        * Compute the Hessian of the scalar field with respect to all
@@ -442,7 +442,7 @@ namespace Differentiation
       void
       hessian(const typename Types<ADNumberType>::tape_index active_tape_index,
               const std::vector<ScalarType> &independent_variables,
-              FullMatrix<ScalarType> &       hessian) const;
+              FullMatrix<ScalarType>        &hessian) const;
 
       /** @} */
 
@@ -467,7 +467,7 @@ namespace Differentiation
       values(const typename Types<ADNumberType>::tape_index active_tape_index,
              const unsigned int             n_dependent_variables,
              const std::vector<ScalarType> &independent_variables,
-             Vector<ScalarType> &           values) const;
+             Vector<ScalarType>            &values) const;
 
       /**
        * Compute the Jacobian of the vector field.
@@ -491,7 +491,7 @@ namespace Differentiation
       jacobian(const typename Types<ADNumberType>::tape_index active_tape_index,
                const unsigned int             n_dependent_variables,
                const std::vector<ScalarType> &independent_variables,
-               FullMatrix<ScalarType> &       jacobian) const;
+               FullMatrix<ScalarType>        &jacobian) const;
 
       /** @} */
     };
@@ -607,7 +607,7 @@ namespace Differentiation
       void
       gradient(const std::vector<ADNumberType> &independent_variables,
                const std::vector<ADNumberType> &dependent_variables,
-               Vector<ScalarType> &             gradient) const;
+               Vector<ScalarType>              &gradient) const;
 
       /**
        * Compute the Hessian of the scalar field with respect to all
@@ -625,7 +625,7 @@ namespace Differentiation
       void
       hessian(const std::vector<ADNumberType> &independent_variables,
               const std::vector<ADNumberType> &dependent_variables,
-              FullMatrix<ScalarType> &         hessian) const;
+              FullMatrix<ScalarType>          &hessian) const;
 
       /** @} */
 
@@ -645,7 +645,7 @@ namespace Differentiation
        */
       void
       values(const std::vector<ADNumberType> &dependent_variables,
-             Vector<ScalarType> &             values) const;
+             Vector<ScalarType>              &values) const;
 
       /**
        * Compute the Jacobian of the vector field.
@@ -667,7 +667,7 @@ namespace Differentiation
       void
       jacobian(const std::vector<ADNumberType> &independent_variables,
                const std::vector<ADNumberType> &dependent_variables,
-               FullMatrix<ScalarType> &         jacobian) const;
+               FullMatrix<ScalarType>          &jacobian) const;
 
       /** @} */
     };
@@ -832,7 +832,7 @@ namespace Differentiation
       void
       print_tape_stats(
         const typename Types<ADNumberType>::tape_index tape_index,
-        std::ostream &                                 stream) const;
+        std::ostream                                  &stream) const;
 
       /** @} */
 
@@ -848,12 +848,12 @@ namespace Differentiation
       void
       gradient(const typename Types<ADNumberType>::tape_index active_tape_index,
                const std::vector<scalar_type> &independent_variables,
-               Vector<scalar_type> &           gradient) const;
+               Vector<scalar_type>            &gradient) const;
 
       void
       hessian(const typename Types<ADNumberType>::tape_index active_tape_index,
               const std::vector<scalar_type> &independent_variables,
-              FullMatrix<scalar_type> &       hessian) const;
+              FullMatrix<scalar_type>        &hessian) const;
 
       /** @} */
 
@@ -866,13 +866,13 @@ namespace Differentiation
       values(const typename Types<ADNumberType>::tape_index active_tape_index,
              const unsigned int              n_dependent_variables,
              const std::vector<scalar_type> &independent_variables,
-             Vector<scalar_type> &           values) const;
+             Vector<scalar_type>            &values) const;
 
       void
       jacobian(const typename Types<ADNumberType>::tape_index active_tape_index,
                const unsigned int              n_dependent_variables,
                const std::vector<scalar_type> &independent_variables,
-               FullMatrix<scalar_type> &       jacobian) const;
+               FullMatrix<scalar_type>        &jacobian) const;
 
       /** @} */
 
@@ -1151,7 +1151,7 @@ namespace Differentiation
       void
       print_tape_stats(
         const typename Types<ADNumberType>::tape_index tape_index,
-        std::ostream &                                 stream) const;
+        std::ostream                                  &stream) const;
 
       /** @} */
 
@@ -1167,12 +1167,12 @@ namespace Differentiation
       void
       gradient(const typename Types<ADNumberType>::tape_index active_tape_index,
                const std::vector<scalar_type> &independent_variables,
-               Vector<scalar_type> &           gradient) const;
+               Vector<scalar_type>            &gradient) const;
 
       void
       hessian(const typename Types<ADNumberType>::tape_index active_tape_index,
               const std::vector<scalar_type> &independent_variables,
-              FullMatrix<scalar_type> &       hessian) const;
+              FullMatrix<scalar_type>        &hessian) const;
 
       /** @} */
 
@@ -1185,13 +1185,13 @@ namespace Differentiation
       values(const typename Types<ADNumberType>::tape_index active_tape_index,
              const unsigned int              n_dependent_variables,
              const std::vector<scalar_type> &independent_variables,
-             Vector<scalar_type> &           values) const;
+             Vector<scalar_type>            &values) const;
 
       void
       jacobian(const typename Types<ADNumberType>::tape_index active_tape_index,
                const unsigned int              n_dependent_variables,
                const std::vector<scalar_type> &independent_variables,
-               FullMatrix<scalar_type> &       jacobian) const;
+               FullMatrix<scalar_type>        &jacobian) const;
 
       /** @} */
 
@@ -1268,12 +1268,12 @@ namespace Differentiation
       void
       gradient(const std::vector<ADNumberType> &independent_variables,
                const std::vector<ADNumberType> &dependent_variables,
-               Vector<ScalarType> &             gradient) const;
+               Vector<ScalarType>              &gradient) const;
 
       void
       hessian(const std::vector<ADNumberType> &independent_variables,
               const std::vector<ADNumberType> &dependent_variables,
-              FullMatrix<ScalarType> &         hessian) const;
+              FullMatrix<ScalarType>          &hessian) const;
 
       /** @} */
 
@@ -1284,12 +1284,12 @@ namespace Differentiation
 
       void
       values(const std::vector<ADNumberType> &dependent_variables,
-             Vector<ScalarType> &             values) const;
+             Vector<ScalarType>              &values) const;
 
       void
       jacobian(const std::vector<ADNumberType> &independent_variables,
                const std::vector<ADNumberType> &dependent_variables,
-               FullMatrix<ScalarType> &         jacobian) const;
+               FullMatrix<ScalarType>          &jacobian) const;
 
       /** @} */
 
@@ -1360,12 +1360,12 @@ namespace Differentiation
       void
       gradient(const std::vector<ADNumberType> &independent_variables,
                const std::vector<ADNumberType> &dependent_variables,
-               Vector<ScalarType> &             gradient) const;
+               Vector<ScalarType>              &gradient) const;
 
       void
       hessian(const std::vector<ADNumberType> &independent_variables,
               const std::vector<ADNumberType> &dependent_variables,
-              FullMatrix<ScalarType> &         hessian) const;
+              FullMatrix<ScalarType>          &hessian) const;
 
       /** @} */
 
@@ -1376,12 +1376,12 @@ namespace Differentiation
 
       void
       values(const std::vector<ADNumberType> &dependent_variables,
-             Vector<ScalarType> &             values) const;
+             Vector<ScalarType>              &values) const;
 
       void
       jacobian(const std::vector<ADNumberType> &independent_variables,
                const std::vector<ADNumberType> &dependent_variables,
-               FullMatrix<ScalarType> &         jacobian) const;
+               FullMatrix<ScalarType>          &jacobian) const;
 
       /** @} */
 
index cfceccdf078fab9f2be18bd16d4bbe923eead8a1..8f3ce3596c9405136732f77b2f8c14877efbfded 100644 (file)
@@ -263,7 +263,7 @@ namespace Differentiation
        */
       void
       print_tape_stats(const typename Types<ad_type>::tape_index tape_index,
-                       std::ostream &                            stream) const;
+                       std::ostream                             &stream) const;
 
       /** @} */
 
@@ -781,7 +781,7 @@ namespace Differentiation
        */
       void
       register_dependent_variable(const unsigned int index,
-                                  const ad_type &    func);
+                                  const ad_type     &func);
 
       /** @} */
 
@@ -924,7 +924,7 @@ namespace Differentiation
       template <typename VectorType>
       void
       register_dof_values(
-        const VectorType &                                  values,
+        const VectorType                                   &values,
         const std::vector<dealii::types::global_dof_index> &local_dof_indices);
 
       /**
@@ -999,7 +999,7 @@ namespace Differentiation
       template <typename VectorType>
       void
       set_dof_values(
-        const VectorType &                                  values,
+        const VectorType                                   &values,
         const std::vector<dealii::types::global_dof_index> &local_dof_indices);
 
       /** @} */
@@ -2433,9 +2433,9 @@ namespace Differentiation
        */
       template <typename TensorType, typename NumberType>
       inline void
-      set_tensor_entry(TensorType &       t,
+      set_tensor_entry(TensorType        &t,
                        const unsigned int unrolled_index,
-                       const NumberType value)
+                       const NumberType  &value)
       {
         // Where possible, set values using TableIndices
         AssertIndexRange(unrolled_index, t.n_independent_components);
@@ -2451,7 +2451,7 @@ namespace Differentiation
       inline void
       set_tensor_entry(Tensor<0, dim, NumberType> &t,
                        const unsigned int          unrolled_index,
-                       const NumberType &          value)
+                       const NumberType           &value)
       {
         AssertIndexRange(unrolled_index, 1);
         (void)unrolled_index;
@@ -2466,9 +2466,9 @@ namespace Differentiation
        */
       template <typename NumberType>
       inline void
-      set_tensor_entry(NumberType &       t,
+      set_tensor_entry(NumberType        &t,
                        const unsigned int unrolled_index,
-                       const NumberType value)
+                       const NumberType  &value)
       {
         AssertIndexRange(unrolled_index, 1);
         (void)unrolled_index;
@@ -2486,7 +2486,7 @@ namespace Differentiation
       set_tensor_entry(SymmetricTensor<4, dim, NumberType> &t,
                        const unsigned int                   unrolled_index_row,
                        const unsigned int                   unrolled_index_col,
-                       const NumberType &                   value)
+                       const NumberType                    &value)
       {
         // Fourth order symmetric tensors require a specialized interface
         // to extract values.
@@ -2785,7 +2785,7 @@ namespace Differentiation
        */
       template <typename ValueType, typename ExtractorType>
       void
-      register_independent_variable(const ValueType &    value,
+      register_independent_variable(const ValueType     &value,
                                     const ExtractorType &extractor);
 
       /**
@@ -2896,7 +2896,7 @@ namespace Differentiation
        */
       template <typename ValueType, typename ExtractorType>
       void
-      set_independent_variable(const ValueType &    value,
+      set_independent_variable(const ValueType     &value,
                                const ExtractorType &extractor);
 
       /** @} */
@@ -3254,7 +3254,7 @@ namespace Differentiation
       static typename internal::
         ScalarFieldGradient<dim, scalar_type, ExtractorType_Row>::type
         extract_gradient_component(const Vector<scalar_type> &gradient,
-                                   const ExtractorType_Row &  extractor_row);
+                                   const ExtractorType_Row   &extractor_row);
 
       /**
        * Extract the function Hessian for a subset of independent variables
@@ -3300,8 +3300,8 @@ namespace Differentiation
                                                    ExtractorType_Row,
                                                    ExtractorType_Col>::type
       extract_hessian_component(const FullMatrix<scalar_type> &hessian,
-                                const ExtractorType_Row &      extractor_row,
-                                const ExtractorType_Col &      extractor_col);
+                                const ExtractorType_Row       &extractor_row,
+                                const ExtractorType_Col       &extractor_col);
 
       /**
        * Extract the function Hessian for a subset of independent variables
@@ -3318,7 +3318,7 @@ namespace Differentiation
        */
       static Tensor<0, dim, scalar_type>
       extract_hessian_component(
-        const FullMatrix<scalar_type> &   hessian,
+        const FullMatrix<scalar_type>    &hessian,
         const FEValuesExtractors::Scalar &extractor_row,
         const FEValuesExtractors::Scalar &extractor_col);
 
@@ -3335,7 +3335,7 @@ namespace Differentiation
        */
       static SymmetricTensor<4, dim, scalar_type>
       extract_hessian_component(
-        const FullMatrix<scalar_type> &               hessian,
+        const FullMatrix<scalar_type>                &hessian,
         const FEValuesExtractors::SymmetricTensor<2> &extractor_row,
         const FEValuesExtractors::SymmetricTensor<2> &extractor_col);
 
@@ -3592,7 +3592,7 @@ namespace Differentiation
        */
       template <typename ValueType, typename ExtractorType>
       void
-      register_dependent_variable(const ValueType &    funcs,
+      register_dependent_variable(const ValueType     &funcs,
                                   const ExtractorType &extractor);
 
       /**
@@ -3640,7 +3640,7 @@ namespace Differentiation
       static typename internal::
         VectorFieldValue<dim, scalar_type, ExtractorType_Row>::type
         extract_value_component(const Vector<scalar_type> &values,
-                                const ExtractorType_Row &  extractor_row);
+                                const ExtractorType_Row   &extractor_row);
 
       /**
        * Extract the Jacobian of the subset of dependent functions
@@ -3695,8 +3695,8 @@ namespace Differentiation
                                                     ExtractorType_Row,
                                                     ExtractorType_Col>::type
       extract_jacobian_component(const FullMatrix<scalar_type> &jacobian,
-                                 const ExtractorType_Row &      extractor_row,
-                                 const ExtractorType_Col &      extractor_col);
+                                 const ExtractorType_Row       &extractor_row,
+                                 const ExtractorType_Col       &extractor_col);
 
       /**
        * Extract the Jacobian of the subset of dependent functions
@@ -3715,7 +3715,7 @@ namespace Differentiation
        */
       static Tensor<0, dim, scalar_type>
       extract_jacobian_component(
-        const FullMatrix<scalar_type> &   jacobian,
+        const FullMatrix<scalar_type>    &jacobian,
         const FEValuesExtractors::Scalar &extractor_row,
         const FEValuesExtractors::Scalar &extractor_col);
 
@@ -3734,7 +3734,7 @@ namespace Differentiation
        */
       static SymmetricTensor<4, dim, scalar_type>
       extract_jacobian_component(
-        const FullMatrix<scalar_type> &               jacobian,
+        const FullMatrix<scalar_type>                &jacobian,
         const FEValuesExtractors::SymmetricTensor<2> &extractor_row,
         const FEValuesExtractors::SymmetricTensor<2> &extractor_col);
 
@@ -3764,7 +3764,7 @@ namespace Differentiation
     template <typename VectorType>
     void
     CellLevelBase<ADNumberTypeCode, ScalarType>::register_dof_values(
-      const VectorType &                                  values,
+      const VectorType                                   &values,
       const std::vector<dealii::types::global_dof_index> &local_dof_indices)
     {
       // This is actually the same thing the set_dof_values() function,
@@ -3789,7 +3789,7 @@ namespace Differentiation
     template <typename VectorType>
     void
     CellLevelBase<ADNumberTypeCode, ScalarType>::set_dof_values(
-      const VectorType &                                  values,
+      const VectorType                                   &values,
       const std::vector<dealii::types::global_dof_index> &local_dof_indices)
     {
       Assert(local_dof_indices.size() == this->n_independent_variables(),
@@ -3812,7 +3812,7 @@ namespace Differentiation
     template <typename ValueType, typename ExtractorType>
     void
     PointLevelFunctionsBase<dim, ADNumberTypeCode, ScalarType>::
-      register_independent_variable(const ValueType &    value,
+      register_independent_variable(const ValueType     &value,
                                     const ExtractorType &extractor)
     {
       // This is actually the same thing as the set_independent_variable
@@ -3848,7 +3848,7 @@ namespace Differentiation
     template <typename ValueType, typename ExtractorType>
     void
     PointLevelFunctionsBase<dim, ADNumberTypeCode, ScalarType>::
-      set_independent_variable(const ValueType &    value,
+      set_independent_variable(const ValueType     &value,
                                const ExtractorType &extractor)
     {
       const std::vector<unsigned int> index_set(
@@ -3923,7 +3923,7 @@ namespace Differentiation
       ExtractorType_Row>::type
     ScalarFunction<dim, ADNumberTypeCode, ScalarType>::
       extract_gradient_component(const Vector<scalar_type> &gradient,
-                                 const ExtractorType_Row &  extractor_row)
+                                 const ExtractorType_Row   &extractor_row)
     {
       // NOTE: The order of components must be consistently defined throughout
       // this class.
@@ -3955,8 +3955,8 @@ namespace Differentiation
       ExtractorType_Col>::type
     ScalarFunction<dim, ADNumberTypeCode, ScalarType>::
       extract_hessian_component(const FullMatrix<scalar_type> &hessian,
-                                const ExtractorType_Row &      extractor_row,
-                                const ExtractorType_Col &      extractor_col)
+                                const ExtractorType_Row       &extractor_row,
+                                const ExtractorType_Col       &extractor_col)
     {
       using InternalHessian      = internal::ScalarFieldHessian<dim,
                                                            scalar_type,
@@ -4018,7 +4018,7 @@ namespace Differentiation
     template <typename ValueType, typename ExtractorType>
     void
     VectorFunction<dim, ADNumberTypeCode, ScalarType>::
-      register_dependent_variable(const ValueType &    funcs,
+      register_dependent_variable(const ValueType     &funcs,
                                   const ExtractorType &extractor)
     {
       const std::vector<unsigned int> index_set(
@@ -4045,7 +4045,7 @@ namespace Differentiation
       ExtractorType_Row>::type
     VectorFunction<dim, ADNumberTypeCode, ScalarType>::extract_value_component(
       const Vector<scalar_type> &values,
-      const ExtractorType_Row &  extractor_row)
+      const ExtractorType_Row   &extractor_row)
     {
       // NOTE: The order of components must be consistently defined throughout
       // this class.
@@ -4077,8 +4077,8 @@ namespace Differentiation
       ExtractorType_Col>::type
     VectorFunction<dim, ADNumberTypeCode, ScalarType>::
       extract_jacobian_component(const FullMatrix<scalar_type> &jacobian,
-                                 const ExtractorType_Row &      extractor_row,
-                                 const ExtractorType_Col &      extractor_col)
+                                 const ExtractorType_Row       &extractor_row,
+                                 const ExtractorType_Col       &extractor_col)
     {
       using InternalJacobian     = internal::VectorFieldJacobian<dim,
                                                              scalar_type,
index 5e7553e568d2e40520dc867fbea008c8b4abdfec..4ad639f107340a672beaa8cbc3e69dfff62f026e 100644 (file)
@@ -289,7 +289,7 @@ namespace Differentiation
         independent_variable(const scalar_type &in,
                              const unsigned int index,
                              const unsigned int n_independent_variables,
-                             ad_type &          out)
+                             ad_type           &out)
         {
           // It is required that we first initialize the outer number before
           // any of the nested ones.
@@ -332,7 +332,7 @@ namespace Differentiation
         independent_variable(const scalar_type &in,
                              const unsigned int index,
                              const unsigned int n_independent_variables,
-                             ad_type &          out)
+                             ad_type           &out)
         {
           // For Sacado::Rad::ADvar numbers, we have to initialize the
           // ADNumber with an already fully-configured value. This means
index 3e536fb5bf1f59cdee377ff3680f676c44cc77a5..1dc470a708bef8ecb9add63c2d681d0b8be657ea 100644 (file)
@@ -300,7 +300,7 @@ namespace Differentiation
        * argument.
        */
       Expression(const std::vector<std::pair<Expression, Expression>>
-                   &               condition_expression,
+                                  &condition_expression,
                  const Expression &expression_otherwise);
 
       /**
@@ -355,7 +355,7 @@ namespace Differentiation
        * This constructor initializes a function symbol with a string
        * representing its symbolic name.
        */
-      Expression(const std::string &         symbol_func,
+      Expression(const std::string          &symbol_func,
                  const types::symbol_vector &arguments);
 
       /**
@@ -1252,7 +1252,7 @@ namespace Differentiation
       std::stringstream sstream;
       sstream << *this;
       const std::string expr = sstream.str();
-      ar &              expr;
+      ar               &expr;
     }
 
 
@@ -1261,7 +1261,7 @@ namespace Differentiation
     Expression::load(Archive &ar, const unsigned int /*version*/)
     {
       std::string expr;
-      ar &        expr;
+      ar         &expr;
       parse(expr);
     }
 
index 4515c78cda9da02b177e095ffaa3f63c8e4a6295..23854b2ccd4a7f3e3236f7ade7bec0a0d8ded98d 100644 (file)
@@ -121,9 +121,9 @@ namespace Differentiation
          * their numerical value be correctly set up and maintained.
          */
         void
-        call(ReturnType *                output_values,
+        call(ReturnType                 *output_values,
              const types::symbol_vector &independent_symbols,
-             const ReturnType *          substitution_values);
+             const ReturnType           *substitution_values);
 
         /**
          * Write the data of this object to a stream for the purpose
@@ -226,9 +226,9 @@ namespace Differentiation
          * function apply here as well.
          */
         void
-        call(ReturnType *                output_values,
+        call(ReturnType                 *output_values,
              const SymEngine::vec_basic &independent_symbols,
-             const ReturnType *          substitution_values);
+             const ReturnType           *substitution_values);
 
       private:
         // Note: It would be more efficient to store this data in native
@@ -300,7 +300,7 @@ namespace Differentiation
          */
         void
         init(const types::symbol_vector &independent_symbols,
-             const Expression &          dependent_function,
+             const Expression           &dependent_function,
              const bool                  use_cse = false);
 
         /**
@@ -328,7 +328,7 @@ namespace Differentiation
         // The following definition is required due to base class CRTP.
         void
         init(const SymEngine::vec_basic &independent_symbols,
-             const SymEngine::Basic &    dependent_function,
+             const SymEngine::Basic     &dependent_function,
              const bool                  use_cse = false);
 
         /**
@@ -634,9 +634,9 @@ namespace Differentiation
       template <typename ReturnType, typename ExpressionType>
       void
       CSEDictionaryVisitor<ReturnType, ExpressionType>::call(
-        ReturnType *                    output_values,
+        ReturnType                     *output_values,
         const SD::types::symbol_vector &independent_symbols,
-        const ReturnType *              substitution_values)
+        const ReturnType               *substitution_values)
       {
         call(output_values,
              Utilities::convert_expression_vector_to_basic_vector(
@@ -649,9 +649,9 @@ namespace Differentiation
       template <typename ReturnType, typename ExpressionType>
       void
       CSEDictionaryVisitor<ReturnType, ExpressionType>::call(
-        ReturnType *                output_values,
+        ReturnType                 *output_values,
         const SymEngine::vec_basic &independent_symbols,
-        const ReturnType *          substitution_values)
+        const ReturnType           *substitution_values)
       {
         Assert(n_reduced_expressions() > 0, ExcInternalError());
 
@@ -793,7 +793,7 @@ namespace Differentiation
       void
       DictionarySubstitutionVisitor<ReturnType, ExpressionType>::init(
         const types::symbol_vector &inputs,
-        const SD::Expression &      output,
+        const SD::Expression       &output,
         const bool                  use_cse)
       {
         init(inputs, types::symbol_vector{output}, use_cse);
@@ -805,7 +805,7 @@ namespace Differentiation
       void
       DictionarySubstitutionVisitor<ReturnType, ExpressionType>::init(
         const SymEngine::vec_basic &inputs,
-        const SymEngine::Basic &    output,
+        const SymEngine::Basic     &output,
         const bool                  use_cse)
       {
         init(Utilities::convert_basic_vector_to_expression_vector(inputs),
@@ -880,7 +880,7 @@ namespace Differentiation
       template <typename ReturnType, typename ExpressionType>
       void
       DictionarySubstitutionVisitor<ReturnType, ExpressionType>::call(
-        ReturnType *      output_values,
+        ReturnType       *output_values,
         const ReturnType *substitution_values)
       {
         // Check to see if CSE has been performed
@@ -916,7 +916,7 @@ namespace Differentiation
       template <class Archive>
       void
       DictionarySubstitutionVisitor<ReturnType, ExpressionType>::save(
-        Archive &          ar,
+        Archive           &ar,
         const unsigned int version) const
       {
         // Add some dynamic information to determine if CSE has been used,
@@ -939,7 +939,7 @@ namespace Differentiation
       template <class Archive>
       void
       DictionarySubstitutionVisitor<ReturnType, ExpressionType>::load(
-        Archive &          ar,
+        Archive           &ar,
         const unsigned int version)
       {
         Assert(cse.executed() == false, ExcInternalError());
index bbd8ff31ef168749510640c487c6d0f5bc34a59b..4fac65cad3091a0c8bef087bb8d5973b29f31b7f 100644 (file)
@@ -416,9 +416,9 @@ namespace Differentiation
          * @param optimization_flags A set of flags that indicate the types of optimization to be performed.
          */
         static void
-        initialize(OptimizerType &               optimizer,
-                   const SymEngine::vec_basic &  independent_symbols,
-                   const SymEngine::vec_basic &  dependent_functions,
+        initialize(OptimizerType                &optimizer,
+                   const SymEngine::vec_basic   &independent_symbols,
+                   const SymEngine::vec_basic   &dependent_functions,
                    const enum OptimizationFlags &optimization_flags)
         {
           const bool use_symbolic_cse = use_symbolic_CSE(optimization_flags);
@@ -435,9 +435,9 @@ namespace Differentiation
          */
         template <class Archive>
         static void
-        save(Archive &          archive,
+        save(Archive           &archive,
              const unsigned int version,
-             OptimizerType &    optimizer)
+             OptimizerType     &optimizer)
         {
           optimizer.save(archive, version);
         }
@@ -450,9 +450,9 @@ namespace Differentiation
          */
         template <class Archive>
         static void
-        load(Archive &          archive,
+        load(Archive           &archive,
              const unsigned int version,
-             OptimizerType &    optimizer,
+             OptimizerType     &optimizer,
              const SymEngine::vec_basic & /*independent_symbols*/,
              const SymEngine::vec_basic & /*dependent_functions*/,
              const enum OptimizationFlags & /*optimization_flags*/)
@@ -479,7 +479,7 @@ namespace Differentiation
          */
         template <typename Stream>
         static void
-        print(Stream &             stream,
+        print(Stream              &stream,
               const OptimizerType &optimizer,
               const bool           print_independent_symbols = false,
               const bool           print_dependent_functions = false,
@@ -518,9 +518,9 @@ namespace Differentiation
          * @param optimization_flags A set of flags that indicate the types of optimization to be performed.
          */
         static void
-        initialize(OptimizerType &               optimizer,
-                   const SymEngine::vec_basic &  independent_symbols,
-                   const SymEngine::vec_basic &  dependent_functions,
+        initialize(OptimizerType                &optimizer,
+                   const SymEngine::vec_basic   &independent_symbols,
+                   const SymEngine::vec_basic   &dependent_functions,
                    const enum OptimizationFlags &optimization_flags)
         {
           const bool use_symbolic_cse = use_symbolic_CSE(optimization_flags);
@@ -551,9 +551,9 @@ namespace Differentiation
         static void
         load(Archive & /*archive*/,
              const unsigned int /*version*/,
-             OptimizerType &               optimizer,
-             const SymEngine::vec_basic &  independent_symbols,
-             const SymEngine::vec_basic &  dependent_functions,
+             OptimizerType                &optimizer,
+             const SymEngine::vec_basic   &independent_symbols,
+             const SymEngine::vec_basic   &dependent_functions,
              const enum OptimizationFlags &optimization_flags)
         {
           initialize(optimizer,
@@ -621,9 +621,9 @@ namespace Differentiation
          * @param optimization_flags A set of flags that indicate the types of optimization to be performed.
          */
         static void
-        initialize(OptimizerType &               optimizer,
-                   const SymEngine::vec_basic &  independent_symbols,
-                   const SymEngine::vec_basic &  dependent_functions,
+        initialize(OptimizerType                &optimizer,
+                   const SymEngine::vec_basic   &independent_symbols,
+                   const SymEngine::vec_basic   &dependent_functions,
                    const enum OptimizationFlags &optimization_flags)
         {
           const int opt_level = get_LLVM_optimization_level(optimization_flags);
@@ -647,7 +647,7 @@ namespace Differentiation
              OptimizerType &optimizer)
         {
           const std::string llvm_compiled_function = optimizer.dumps();
-          archive &         llvm_compiled_function;
+          archive          &llvm_compiled_function;
         }
 
 
@@ -666,7 +666,7 @@ namespace Differentiation
              const enum OptimizationFlags & /*optimization_flags*/)
         {
           std::string llvm_compiled_function;
-          archive &   llvm_compiled_function;
+          archive    &llvm_compiled_function;
           optimizer.loads(llvm_compiled_function);
         }
 
@@ -826,9 +826,9 @@ namespace Differentiation
          */
         static void
         initialize(typename Optimizer::OptimizerType *optimizer,
-                   const SymEngine::vec_basic &       independent_symbols,
-                   const SymEngine::vec_basic &       dependent_functions,
-                   const enum OptimizationFlags &     optimization_flags)
+                   const SymEngine::vec_basic        &independent_symbols,
+                   const SymEngine::vec_basic        &dependent_functions,
+                   const enum OptimizationFlags      &optimization_flags)
         {
           Assert(optimizer, ExcNotInitialized());
 
@@ -858,8 +858,8 @@ namespace Differentiation
          */
         static void
         substitute(typename Optimizer::OptimizerType *optimizer,
-                   std::vector<ReturnType> &          output_values,
-                   const std::vector<ReturnType> &    substitution_values)
+                   std::vector<ReturnType>           &output_values,
+                   const std::vector<ReturnType>     &substitution_values)
         {
           Assert(optimizer, ExcNotInitialized());
           optimizer->call(output_values.data(), substitution_values.data());
@@ -873,7 +873,7 @@ namespace Differentiation
          */
         template <class Archive>
         static void
-        save(Archive &                          archive,
+        save(Archive                           &archive,
              const unsigned int                 version,
              typename Optimizer::OptimizerType *optimizer)
         {
@@ -893,12 +893,12 @@ namespace Differentiation
          */
         template <class Archive>
         static void
-        load(Archive &                          archive,
+        load(Archive                           &archive,
              const unsigned int                 version,
              typename Optimizer::OptimizerType *optimizer,
-             const SymEngine::vec_basic &       independent_symbols,
-             const SymEngine::vec_basic &       dependent_functions,
-             const enum OptimizationFlags &     optimization_flags)
+             const SymEngine::vec_basic        &independent_symbols,
+             const SymEngine::vec_basic        &dependent_functions,
+             const enum OptimizationFlags      &optimization_flags)
         {
           Assert(optimizer, ExcNotInitialized());
 
@@ -932,7 +932,7 @@ namespace Differentiation
          */
         template <typename Stream>
         static void
-        print(Stream &                           stream,
+        print(Stream                            &stream,
               typename Optimizer::OptimizerType *optimizer,
               const bool print_independent_symbols = false,
               const bool print_dependent_functions = false,
@@ -968,9 +968,9 @@ namespace Differentiation
          */
         static void
         initialize(typename Optimizer::OptimizerType *optimizer,
-                   const SymEngine::vec_basic &       independent_symbols,
-                   const SymEngine::vec_basic &       dependent_functions,
-                   const enum OptimizationFlags &     optimization_flags)
+                   const SymEngine::vec_basic        &independent_symbols,
+                   const SymEngine::vec_basic        &dependent_functions,
+                   const enum OptimizationFlags      &optimization_flags)
         {
           Assert(optimizer, ExcNotInitialized());
 
@@ -997,8 +997,8 @@ namespace Differentiation
          */
         static void
         substitute(typename Optimizer::OptimizerType *optimizer,
-                   std::vector<ReturnType> &          output_values,
-                   const std::vector<ReturnType> &    substitution_values)
+                   std::vector<ReturnType>           &output_values,
+                   const std::vector<ReturnType>     &substitution_values)
         {
           Assert(optimizer, ExcNotInitialized());
 
@@ -1026,7 +1026,7 @@ namespace Differentiation
          */
         template <class Archive>
         static void
-        save(Archive &                          archive,
+        save(Archive                           &archive,
              const unsigned int                 version,
              typename Optimizer::OptimizerType *optimizer)
         {
@@ -1042,12 +1042,12 @@ namespace Differentiation
          */
         template <class Archive>
         static void
-        load(Archive &                          archive,
+        load(Archive                           &archive,
              const unsigned int                 version,
              typename Optimizer::OptimizerType *optimizer,
-             const SymEngine::vec_basic &       independent_symbols,
-             const SymEngine::vec_basic &       dependent_functions,
-             const enum OptimizationFlags &     optimization_flags)
+             const SymEngine::vec_basic        &independent_symbols,
+             const SymEngine::vec_basic        &dependent_functions,
+             const enum OptimizationFlags      &optimization_flags)
         {
           Assert(optimizer, ExcNotInitialized());
 
@@ -1081,7 +1081,7 @@ namespace Differentiation
          */
         template <typename Stream>
         static void
-        print(Stream &                           stream,
+        print(Stream                            &stream,
               typename Optimizer::OptimizerType *optimizer,
               const bool                         print_cse_reductions = true,
               const bool print_independent_symbols                    = false,
@@ -1131,8 +1131,8 @@ namespace Differentiation
       TensorType<rank, dim, NumberType>
       tensor_evaluate_optimized(
         const TensorType<rank, dim, Expression> &symbol_tensor,
-        const std::vector<NumberType> &          cached_evaluation,
-        const BatchOptimizer<NumberType> &       optimizer)
+        const std::vector<NumberType>           &cached_evaluation,
+        const BatchOptimizer<NumberType>        &optimizer)
       {
         TensorType<rank, dim, NumberType> out;
         for (unsigned int i = 0; i < out.n_independent_components; ++i)
@@ -1172,8 +1172,8 @@ namespace Differentiation
       SymmetricTensor<4, dim, NumberType>
       tensor_evaluate_optimized(
         const SymmetricTensor<4, dim, Expression> &symbol_tensor,
-        const std::vector<NumberType> &            cached_evaluation,
-        const BatchOptimizer<NumberType> &         optimizer)
+        const std::vector<NumberType>             &cached_evaluation,
+        const BatchOptimizer<NumberType>          &optimizer)
       {
         SymmetricTensor<4, dim, NumberType> out;
         for (unsigned int i = 0;
@@ -1212,7 +1212,7 @@ namespace Differentiation
       template <typename NumberType, typename T>
       void
       register_functions(BatchOptimizer<NumberType> &optimizer,
-                         const T &                   function)
+                         const T                    &function)
       {
         optimizer.register_function(function);
       }
@@ -1238,7 +1238,7 @@ namespace Differentiation
       template <typename NumberType, typename T>
       void
       register_functions(BatchOptimizer<NumberType> &optimizer,
-                         const std::vector<T> &      functions)
+                         const std::vector<T>       &functions)
       {
         for (const auto &function : functions)
           register_functions(optimizer, function);
@@ -1267,7 +1267,7 @@ namespace Differentiation
       template <typename NumberType, typename T, typename... Args>
       void
       register_functions(BatchOptimizer<NumberType> &optimizer,
-                         const T &                   function,
+                         const T                    &function,
                          const Args &...other_functions)
       {
         register_functions(optimizer, function);
@@ -1461,7 +1461,7 @@ namespace Differentiation
        * then an error will be thrown. Currently the LLVM optimization method
        * is not compatible with complex numbers.
        */
-      BatchOptimizer(const enum OptimizerType &    optimization_method,
+      BatchOptimizer(const enum OptimizerType     &optimization_method,
                      const enum OptimizationFlags &optimization_flags =
                        OptimizationFlags::optimize_all);
 
@@ -1744,7 +1744,7 @@ namespace Differentiation
        * then a safe default will be selected.
        */
       void
-      set_optimization_method(const enum OptimizerType &    optimization_method,
+      set_optimization_method(const enum OptimizerType     &optimization_method,
                               const enum OptimizationFlags &optimization_flags =
                                 OptimizationFlags::optimize_all);
 
@@ -1837,7 +1837,7 @@ namespace Differentiation
        * @p values overwrites any previously computed results.
        */
       void
-      substitute(const types::symbol_vector &   symbols,
+      substitute(const types::symbol_vector    &symbols,
                  const std::vector<ReturnType> &values) const;
 
       /**
@@ -1851,7 +1851,7 @@ namespace Differentiation
        * @p values overwrites any previously computed results.
        */
       void
-      substitute(const SymEngine::vec_basic &   symbols,
+      substitute(const SymEngine::vec_basic    &symbols,
                  const std::vector<ReturnType> &values) const;
 
       /**
@@ -1949,7 +1949,7 @@ namespace Differentiation
        * takes no arguments.
        */
       ReturnType
-      extract(const Expression &             func,
+      extract(const Expression              &func,
               const std::vector<ReturnType> &cached_evaluation) const;
 
 
@@ -1975,7 +1975,7 @@ namespace Differentiation
       template <int rank, int dim>
       Tensor<rank, dim, ReturnType>
       extract(const Tensor<rank, dim, Expression> &funcs,
-              const std::vector<ReturnType> &      cached_evaluation) const;
+              const std::vector<ReturnType>       &cached_evaluation) const;
 
 
       /**
@@ -2267,7 +2267,7 @@ namespace Differentiation
     template <typename ReturnType>
     template <class Archive>
     void
-    BatchOptimizer<ReturnType>::save(Archive &          ar,
+    BatchOptimizer<ReturnType>::save(Archive           &ar,
                                      const unsigned int version) const
     {
       // Serialize enum classes...
@@ -2357,12 +2357,12 @@ namespace Differentiation
       // Deserialize enum classes...
       {
         typename std::underlying_type<OptimizerType>::type m;
-        ar &                                               m;
+        ar                                                &m;
         method = static_cast<OptimizerType>(m);
       }
       {
         typename std::underlying_type<OptimizationFlags>::type f;
-        ar &                                                   f;
+        ar                                                    &f;
         flags = static_cast<OptimizationFlags>(f);
       }
 
@@ -2513,7 +2513,7 @@ namespace Differentiation
     Tensor<rank, dim, ReturnType>
     BatchOptimizer<ReturnType>::extract(
       const Tensor<rank, dim, Expression> &funcs,
-      const std::vector<ReturnType> &      cached_evaluation) const
+      const std::vector<ReturnType>       &cached_evaluation) const
     {
       return internal::tensor_evaluate_optimized(funcs,
                                                  cached_evaluation,
@@ -2544,7 +2544,7 @@ namespace Differentiation
     SymmetricTensor<rank, dim, ReturnType>
     BatchOptimizer<ReturnType>::extract(
       const SymmetricTensor<rank, dim, Expression> &funcs,
-      const std::vector<ReturnType> &               cached_evaluation) const
+      const std::vector<ReturnType>                &cached_evaluation) const
     {
       return internal::tensor_evaluate_optimized(funcs,
                                                  cached_evaluation,
index 4c114021cb4596976ee546144536a0fee112acf0..df8245f23ddde6d2c5605bd4758d088a0029523f 100644 (file)
@@ -82,7 +82,7 @@ namespace Differentiation
      * symbols used within a section of code.
      */
     Expression
-    make_symbolic_function(const std::string &         symbol,
+    make_symbolic_function(const std::string          &symbol,
                            const types::symbol_vector &arguments);
 
     /**
@@ -107,7 +107,7 @@ namespace Differentiation
      * symbols used within a section of code.
      */
     Expression
-    make_symbolic_function(const std::string &            symbol,
+    make_symbolic_function(const std::string             &symbol,
                            const types::substitution_map &arguments);
 
     /** @} */
@@ -158,7 +158,7 @@ namespace Differentiation
        */
       void
       set_value_in_symbol_map(
-        types::substitution_map &                     substitution_map,
+        types::substitution_map                      &substitution_map,
         const SymEngine::RCP<const SymEngine::Basic> &symbol,
         const SymEngine::RCP<const SymEngine::Basic> &value);
     } // namespace internal
@@ -270,7 +270,7 @@ namespace Differentiation
     template <bool ignore_invalid_symbols = false, typename ValueType = double>
     void
     add_to_symbol_map(types::substitution_map &symbol_map,
-                      const Expression &       symbol);
+                      const Expression        &symbol);
 
     /**
      * A convenience function for adding an empty entry, with the key value
@@ -310,7 +310,7 @@ namespace Differentiation
                   const SymEngine::RCP<const SymEngine::Basic> &>::value>>
     void
     add_to_symbol_map(types::substitution_map &symbol_map,
-                      const SymbolicType &     symbol);
+                      const SymbolicType      &symbol);
 
     /**
      * A convenience function for adding empty entries, with the key values
@@ -341,7 +341,7 @@ namespace Differentiation
               typename ValueType          = double,
               typename SymbolicType>
     void
-    add_to_symbol_map(types::substitution_map &        symbol_map,
+    add_to_symbol_map(types::substitution_map         &symbol_map,
                       const std::vector<SymbolicType> &symbols);
 
     /**
@@ -365,7 +365,7 @@ namespace Differentiation
      */
     template <bool ignore_invalid_symbols = false, typename ValueType = double>
     void
-    add_to_symbol_map(types::substitution_map &      symbol_map,
+    add_to_symbol_map(types::substitution_map       &symbol_map,
                       const types::substitution_map &other_symbols);
 
     /**
@@ -416,7 +416,7 @@ namespace Differentiation
               typename... Args>
     void
     add_to_symbol_map(types::substitution_map &symbol_map,
-                      const SymbolicType &     symbol,
+                      const SymbolicType      &symbol,
                       const Args &...other_symbols);
 
     /**
@@ -429,8 +429,8 @@ namespace Differentiation
      */
     void
     set_value_in_symbol_map(types::substitution_map &substitution_map,
-                            const Expression &       symbol,
-                            const Expression &       value);
+                            const Expression        &symbol,
+                            const Expression        &value);
 
     /**
      * Find the entry for @p symbol in the @p substitution_map and set its
@@ -467,8 +467,8 @@ namespace Differentiation
                 std::is_constructible_v<SymbolicType, ValueType>>>
     void
     set_value_in_symbol_map(types::substitution_map &substitution_map,
-                            const SymbolicType &     symbol,
-                            const ValueType &        value);
+                            const SymbolicType      &symbol,
+                            const ValueType         &value);
 
     /**
      * Find the entries for @p symbols in the @p substitution_map and set their
@@ -491,9 +491,9 @@ namespace Differentiation
      */
     template <typename SymbolicType, typename ValueType>
     void
-    set_value_in_symbol_map(types::substitution_map &        substitution_map,
+    set_value_in_symbol_map(types::substitution_map         &substitution_map,
                             const std::vector<SymbolicType> &symbols,
-                            const std::vector<ValueType> &   values);
+                            const std::vector<ValueType>    &values);
 
     /**
      * Find the entry for @p symbols in the @p substitution_map and set their
@@ -519,7 +519,7 @@ namespace Differentiation
     template <typename SymbolicType, typename ValueType>
     void
     set_value_in_symbol_map(
-      types::substitution_map &                 substitution_map,
+      types::substitution_map                  &substitution_map,
       const std::pair<SymbolicType, ValueType> &symbol_value);
 
     /**
@@ -549,7 +549,7 @@ namespace Differentiation
     template <typename SymbolicType, typename ValueType, typename... Args>
     void
     set_value_in_symbol_map(
-      types::substitution_map &                 substitution_map,
+      types::substitution_map                  &substitution_map,
       const std::pair<SymbolicType, ValueType> &symbol_value,
       const Args &...other_symbol_values);
 
@@ -577,7 +577,7 @@ namespace Differentiation
     template <typename SymbolicType, typename ValueType>
     void
     set_value_in_symbol_map(
-      types::substitution_map &                              substitution_map,
+      types::substitution_map                               &substitution_map,
       const std::vector<std::pair<SymbolicType, ValueType>> &symbol_values);
 
     /**
@@ -591,7 +591,7 @@ namespace Differentiation
      * to conduct symbolic substitution operations (i.e., a substitution map).
      */
     void
-    set_value_in_symbol_map(types::substitution_map &      substitution_map,
+    set_value_in_symbol_map(types::substitution_map       &substitution_map,
                             const types::substitution_map &symbol_values);
 
     /** @} */
@@ -681,7 +681,7 @@ namespace Differentiation
     template <typename ExpressionType, typename ValueType>
     types::substitution_map
     make_substitution_map(const std::vector<ExpressionType> &symbols,
-                          const std::vector<ValueType> &     values);
+                          const std::vector<ValueType>      &values);
 
     /**
      * Return a substitution map that has the key given by the first entry in
@@ -816,7 +816,7 @@ namespace Differentiation
       template <bool ignore_invalid_symbols = false>
       void
       add_to_substitution_map(
-        types::substitution_map &                     substitution_map,
+        types::substitution_map                      &substitution_map,
         const SymEngine::RCP<const SymEngine::Basic> &symbol,
         const SymEngine::RCP<const SymEngine::Basic> &value);
     } // namespace internal
@@ -854,8 +854,8 @@ namespace Differentiation
     template <bool ignore_invalid_symbols = false>
     void
     add_to_substitution_map(types::substitution_map &substitution_map,
-                            const Expression &       symbol,
-                            const Expression &       value);
+                            const Expression        &symbol,
+                            const Expression        &value);
 
     /**
      * A convenience function to add an entry to the @p substitution_map.
@@ -899,8 +899,8 @@ namespace Differentiation
                 std::is_constructible_v<ExpressionType, ValueType>>>
     void
     add_to_substitution_map(types::substitution_map &substitution_map,
-                            const ExpressionType &   symbol,
-                            const ValueType &        value);
+                            const ExpressionType    &symbol,
+                            const ValueType         &value);
 
     /**
      * A convenience function for adding multiple entries to the
@@ -944,9 +944,9 @@ namespace Differentiation
                   const SymEngine::RCP<const SymEngine::Basic> &>::value &&
                 std::is_constructible_v<ExpressionType, ValueType>>>
     void
-    add_to_substitution_map(types::substitution_map &          substitution_map,
+    add_to_substitution_map(types::substitution_map           &substitution_map,
                             const std::vector<ExpressionType> &symbols,
-                            const std::vector<ValueType> &     values);
+                            const std::vector<ValueType>      &values);
 
     /**
      * A convenience function for adding multiple entries to the
@@ -966,7 +966,7 @@ namespace Differentiation
      */
     template <bool ignore_invalid_symbols = false>
     void
-    add_to_substitution_map(types::substitution_map &      substitution_map,
+    add_to_substitution_map(types::substitution_map       &substitution_map,
                             const types::substitution_map &symbol_values);
 
     /**
@@ -1014,7 +1014,7 @@ namespace Differentiation
               typename ValueType>
     void
     add_to_substitution_map(
-      types::substitution_map &                   substitution_map,
+      types::substitution_map                    &substitution_map,
       const std::pair<ExpressionType, ValueType> &symbol_value);
 
     /**
@@ -1066,7 +1066,7 @@ namespace Differentiation
               typename ValueType>
     void
     add_to_substitution_map(
-      types::substitution_map &                                substitution_map,
+      types::substitution_map                                 &substitution_map,
       const std::vector<std::pair<ExpressionType, ValueType>> &symbol_values);
 
     /**
@@ -1119,7 +1119,7 @@ namespace Differentiation
               typename... Args>
     void
     add_to_substitution_map(
-      types::substitution_map &                   substitution_map,
+      types::substitution_map                    &substitution_map,
       const std::pair<ExpressionType, ValueType> &symbol_value,
       const Args &...other_symbol_values);
 
@@ -1132,7 +1132,7 @@ namespace Differentiation
      * values are equal. If this is not the case then an error will be thrown.
      */
     void
-    merge_substitution_maps(types::substitution_map &      substitution_map_out,
+    merge_substitution_maps(types::substitution_map       &substitution_map_out,
                             const types::substitution_map &substitution_map_in);
 
     /**
@@ -1146,7 +1146,7 @@ namespace Differentiation
      */
     template <typename... Args>
     void
-    merge_substitution_maps(types::substitution_map &      substitution_map_out,
+    merge_substitution_maps(types::substitution_map       &substitution_map_out,
                             const types::substitution_map &substitution_map_in,
                             const Args &...other_substitution_maps_in);
 
@@ -1295,7 +1295,7 @@ namespace Differentiation
      * </ol>
      */
     Expression
-    substitute(const Expression &             expression,
+    substitute(const Expression              &expression,
                const types::substitution_map &substitution_map);
 
     /**
@@ -1323,7 +1323,7 @@ namespace Differentiation
     Expression
     substitute(const Expression &expression,
                const Expression &symbol,
-               const ValueType value);
+               const ValueType  &value);
 
     /**
      * Perform a single substitution sweep of a set of symbols into the given
@@ -1384,7 +1384,7 @@ namespace Differentiation
      */
     template <typename ValueType>
     ValueType
-    substitute_and_evaluate(const Expression &             expression,
+    substitute_and_evaluate(const Expression              &expression,
                             const types::substitution_map &substitution_map);
 
     /**
@@ -1472,7 +1472,7 @@ namespace Differentiation
     template <bool ignore_invalid_symbols, typename ValueType>
     void
     add_to_symbol_map(types::substitution_map &symbol_map,
-                      const Expression &       symbol)
+                      const Expression        &symbol)
     {
       // Call the above function
       add_to_substitution_map<ignore_invalid_symbols>(
@@ -1488,7 +1488,7 @@ namespace Differentiation
               typename>
     void
     add_to_symbol_map(types::substitution_map &symbol_map,
-                      const SymbolicType &     symbol)
+                      const SymbolicType      &symbol)
     {
       // Call the above function
       using SE_RCP_Basic = const SymEngine::RCP<const SymEngine::Basic> &;
@@ -1503,7 +1503,7 @@ namespace Differentiation
               typename ValueType,
               typename SymbolicType>
     void
-    add_to_symbol_map(types::substitution_map &        symbol_map,
+    add_to_symbol_map(types::substitution_map         &symbol_map,
                       const std::vector<SymbolicType> &symbols)
     {
       for (const auto &symbol : symbols)
@@ -1514,7 +1514,7 @@ namespace Differentiation
 
     template <bool ignore_invalid_symbols, typename ValueType>
     void
-    add_to_symbol_map(types::substitution_map &      symbol_map,
+    add_to_symbol_map(types::substitution_map       &symbol_map,
                       const types::substitution_map &other_symbols)
     {
       // We should be cautious as to whether or not the user has
@@ -1540,7 +1540,7 @@ namespace Differentiation
               typename... Args>
     void
     add_to_symbol_map(types::substitution_map &symbol_map,
-                      const SymbolicType &     symbol,
+                      const SymbolicType      &symbol,
                       const Args &...other_symbols)
     {
       add_to_symbol_map<ignore_invalid_symbols, ValueType>(symbol_map, symbol);
@@ -1552,8 +1552,8 @@ namespace Differentiation
     template <typename SymbolicType, typename ValueType, typename>
     void
     set_value_in_symbol_map(types::substitution_map &substitution_map,
-                            const SymbolicType &     symbol,
-                            const ValueType &        value)
+                            const SymbolicType      &symbol,
+                            const ValueType         &value)
     {
       // Call the above function
       using SE_RCP_Basic = const SymEngine::RCP<const SymEngine::Basic> &;
@@ -1566,9 +1566,9 @@ namespace Differentiation
 
     template <typename SymbolicType, typename ValueType>
     void
-    set_value_in_symbol_map(types::substitution_map &        substitution_map,
+    set_value_in_symbol_map(types::substitution_map         &substitution_map,
                             const std::vector<SymbolicType> &symbols,
-                            const std::vector<ValueType> &   values)
+                            const std::vector<ValueType>    &values)
     {
       Assert(symbols.size() == values.size(),
              ExcDimensionMismatch(symbols.size(), values.size()));
@@ -1587,7 +1587,7 @@ namespace Differentiation
     template <typename SymbolicType, typename ValueType>
     void
     set_value_in_symbol_map(
-      types::substitution_map &                 substitution_map,
+      types::substitution_map                  &substitution_map,
       const std::pair<SymbolicType, ValueType> &symbol_value)
     {
       set_value_in_symbol_map(substitution_map,
@@ -1599,7 +1599,7 @@ namespace Differentiation
     template <typename SymbolicType, typename ValueType, typename... Args>
     void
     set_value_in_symbol_map(
-      types::substitution_map &                 substitution_map,
+      types::substitution_map                  &substitution_map,
       const std::pair<SymbolicType, ValueType> &symbol_value,
       const Args &...other_symbol_values)
     {
@@ -1611,7 +1611,7 @@ namespace Differentiation
     template <typename SymbolicType, typename ValueType>
     void
     set_value_in_symbol_map(
-      types::substitution_map &                              substitution_map,
+      types::substitution_map                               &substitution_map,
       const std::vector<std::pair<SymbolicType, ValueType>> &symbol_values)
     {
       // Call the above function
@@ -1636,7 +1636,7 @@ namespace Differentiation
     template <typename ExpressionType, typename ValueType>
     types::substitution_map
     make_substitution_map(const std::vector<ExpressionType> &symbols,
-                          const std::vector<ValueType> &     values)
+                          const std::vector<ValueType>      &values)
     {
       types::substitution_map substitution_map;
       add_to_substitution_map(substitution_map, symbols, values);
@@ -1698,7 +1698,7 @@ namespace Differentiation
       template <bool ignore_invalid_symbols>
       void
       add_to_substitution_map(
-        types::substitution_map &                     substitution_map,
+        types::substitution_map                      &substitution_map,
         const SymEngine::RCP<const SymEngine::Basic> &symbol,
         const SymEngine::RCP<const SymEngine::Basic> &value)
       {
@@ -1729,8 +1729,8 @@ namespace Differentiation
     template <bool ignore_invalid_symbols>
     void
     add_to_substitution_map(types::substitution_map &substitution_map,
-                            const Expression &       symbol,
-                            const Expression &       value)
+                            const Expression        &symbol,
+                            const Expression        &value)
     {
       internal::add_to_substitution_map<ignore_invalid_symbols>(
         substitution_map, symbol.get_RCP(), value.get_RCP());
@@ -1743,8 +1743,8 @@ namespace Differentiation
               typename>
     void
     add_to_substitution_map(types::substitution_map &substitution_map,
-                            const ExpressionType &   symbol,
-                            const ValueType &        value)
+                            const ExpressionType    &symbol,
+                            const ValueType         &value)
     {
       using SE_RCP_Basic = const SymEngine::RCP<const SymEngine::Basic> &;
       internal::add_to_substitution_map<ignore_invalid_symbols>(
@@ -1759,9 +1759,9 @@ namespace Differentiation
               typename ValueType,
               typename>
     void
-    add_to_substitution_map(types::substitution_map &          substitution_map,
+    add_to_substitution_map(types::substitution_map           &substitution_map,
                             const std::vector<ExpressionType> &symbols,
-                            const std::vector<ValueType> &     values)
+                            const std::vector<ValueType>      &values)
     {
       Assert(symbols.size() == values.size(),
              ExcMessage(
@@ -1786,7 +1786,7 @@ namespace Differentiation
               typename ValueType>
     void
     add_to_substitution_map(
-      types::substitution_map &                   substitution_map,
+      types::substitution_map                    &substitution_map,
       const std::pair<ExpressionType, ValueType> &symbol_value)
     {
       add_to_substitution_map<ignore_invalid_symbols>(substitution_map,
@@ -1800,7 +1800,7 @@ namespace Differentiation
               typename ValueType>
     void
     add_to_substitution_map(
-      types::substitution_map &                                substitution_map,
+      types::substitution_map                                 &substitution_map,
       const std::vector<std::pair<ExpressionType, ValueType>> &symbol_values)
     {
       for (const auto &entry : symbol_values)
@@ -1813,7 +1813,7 @@ namespace Differentiation
 
     template <bool ignore_invalid_symbols>
     void
-    add_to_substitution_map(types::substitution_map &      substitution_map,
+    add_to_substitution_map(types::substitution_map       &substitution_map,
                             const types::substitution_map &symbol_values)
     {
       for (const auto &entry : symbol_values)
@@ -1832,7 +1832,7 @@ namespace Differentiation
               typename... Args>
     void
     add_to_substitution_map(
-      types::substitution_map &                   substitution_map,
+      types::substitution_map                    &substitution_map,
       const std::pair<ExpressionType, ValueType> &symbol_value,
       const Args &...other_symbol_values)
     {
@@ -1859,7 +1859,7 @@ namespace Differentiation
     template <typename... Args>
     void
     merge_substitution_maps(
-      types::substitution_map &      substitution_map_out,
+      types::substitution_map       &substitution_map_out,
       const types::substitution_map &substitution_map_in_1,
       const Args &...other_substitution_maps_in)
     {
@@ -1887,7 +1887,7 @@ namespace Differentiation
     Expression
     substitute(const Expression &expression,
                const Expression &symbol,
-               const ValueType value)
+               const ValueType  &value)
     {
       return expression.substitute(symbol, value);
     }
@@ -1904,7 +1904,7 @@ namespace Differentiation
 
     template <typename ValueType>
     ValueType
-    substitute_and_evaluate(const Expression &             expression,
+    substitute_and_evaluate(const Expression              &expression,
                             const types::substitution_map &substitution_map)
     {
       return expression.substitute_and_evaluate<ValueType>(substitution_map);
index 7386fdd1c65005f8135a7623a72a376f4fb0b0fb..7705626e1cee79e112002dc25ce4127641c6ddfe 100644 (file)
@@ -130,7 +130,7 @@ namespace Differentiation
      */
     template <int dim>
     Tensor<1, dim, Expression>
-    make_vector_of_symbolic_functions(const std::string &            symbol,
+    make_vector_of_symbolic_functions(const std::string             &symbol,
                                       const types::substitution_map &arguments);
 
     /**
@@ -155,7 +155,7 @@ namespace Differentiation
      */
     template <int rank, int dim>
     Tensor<rank, dim, Expression>
-    make_tensor_of_symbolic_functions(const std::string &            symbol,
+    make_tensor_of_symbolic_functions(const std::string             &symbol,
                                       const types::substitution_map &arguments);
 
     /**
@@ -181,7 +181,7 @@ namespace Differentiation
     template <int rank, int dim>
     SymmetricTensor<rank, dim, Expression>
     make_symmetric_tensor_of_symbolic_functions(
-      const std::string &            symbol,
+      const std::string             &symbol,
       const types::substitution_map &arguments);
 
     /** @} */
@@ -215,7 +215,7 @@ namespace Differentiation
      */
     template <int rank, int dim>
     SymmetricTensor<rank, dim, Expression>
-    differentiate(const Expression &                            f,
+    differentiate(const Expression                             &f,
                   const SymmetricTensor<rank, dim, Expression> &S);
 
     /**
@@ -229,7 +229,7 @@ namespace Differentiation
      */
     template <int rank, int dim>
     Tensor<rank, dim, Expression>
-    differentiate(const Tensor<0, dim, Expression> &   f,
+    differentiate(const Tensor<0, dim, Expression>    &f,
                   const Tensor<rank, dim, Expression> &T);
 
     /**
@@ -243,7 +243,7 @@ namespace Differentiation
      */
     template <int rank, int dim>
     SymmetricTensor<rank, dim, Expression>
-    differentiate(const Tensor<0, dim, Expression> &            f,
+    differentiate(const Tensor<0, dim, Expression>             &f,
                   const SymmetricTensor<rank, dim, Expression> &S);
 
     /**
@@ -272,7 +272,7 @@ namespace Differentiation
     template <int rank, int dim>
     SymmetricTensor<rank, dim, Expression>
     differentiate(const SymmetricTensor<rank, dim, Expression> &S,
-                  const Expression &                            x);
+                  const Expression                             &x);
 
     /**
      * Return the symbolic result of computing the partial derivative of the
@@ -287,7 +287,7 @@ namespace Differentiation
     template <int rank, int dim>
     Tensor<rank, dim, Expression>
     differentiate(const Tensor<rank, dim, Expression> &T,
-                  const Tensor<0, dim, Expression> &   x);
+                  const Tensor<0, dim, Expression>    &x);
 
     /**
      * Return the symbolic result of computing the partial derivative of the
@@ -303,7 +303,7 @@ namespace Differentiation
     template <int rank, int dim>
     SymmetricTensor<rank, dim, Expression>
     differentiate(const SymmetricTensor<rank, dim, Expression> &S,
-                  const Tensor<0, dim, Expression> &            x);
+                  const Tensor<0, dim, Expression>             &x);
 
     /**
      * Return the symbolic result of computing the partial derivative of the
@@ -349,7 +349,7 @@ namespace Differentiation
      */
     template <int rank_1, int rank_2, int dim>
     Tensor<rank_1 + rank_2, dim, Expression>
-    differentiate(const Tensor<rank_1, dim, Expression> &         T,
+    differentiate(const Tensor<rank_1, dim, Expression>          &T,
                   const SymmetricTensor<rank_2, dim, Expression> &S);
 
     /**
@@ -365,7 +365,7 @@ namespace Differentiation
     template <int rank_1, int rank_2, int dim>
     Tensor<rank_1 + rank_2, dim, Expression>
     differentiate(const SymmetricTensor<rank_1, dim, Expression> &S,
-                  const Tensor<rank_2, dim, Expression> &         T);
+                  const Tensor<rank_2, dim, Expression>          &T);
 
     /** @} */
 
@@ -404,7 +404,7 @@ namespace Differentiation
               int dim,
               typename SymbolicType>
     void
-    add_to_symbol_map(types::substitution_map &              symbol_map,
+    add_to_symbol_map(types::substitution_map               &symbol_map,
                       const Tensor<rank, dim, SymbolicType> &symbol_tensor);
 
     /**
@@ -438,7 +438,7 @@ namespace Differentiation
               typename SymbolicType>
     void
     add_to_symbol_map(
-      types::substitution_map &                       symbol_map,
+      types::substitution_map                        &symbol_map,
       const SymmetricTensor<rank, dim, SymbolicType> &symbol_tensor);
 
     /**
@@ -464,9 +464,9 @@ namespace Differentiation
     template <int rank, int dim, typename SymbolicType, typename ValueType>
     void
     set_value_in_symbol_map(
-      types::substitution_map &              substitution_map,
+      types::substitution_map               &substitution_map,
       const Tensor<rank, dim, SymbolicType> &symbol_tensor,
-      const Tensor<rank, dim, ValueType> &   value_tensor);
+      const Tensor<rank, dim, ValueType>    &value_tensor);
 
     /**
      * Find the input @p symbols in the @p substitution_map and set the entries
@@ -491,9 +491,9 @@ namespace Differentiation
     template <int rank, int dim, typename SymbolicType, typename ValueType>
     void
     set_value_in_symbol_map(
-      types::substitution_map &                       substitution_map,
+      types::substitution_map                        &substitution_map,
       const SymmetricTensor<rank, dim, SymbolicType> &symbol_tensor,
-      const SymmetricTensor<rank, dim, ValueType> &   value_tensor);
+      const SymmetricTensor<rank, dim, ValueType>    &value_tensor);
 
     /** @} */
 
@@ -527,7 +527,7 @@ namespace Differentiation
     types::substitution_map
     make_substitution_map(
       const Tensor<rank, dim, ExpressionType> &symbol_tensor,
-      const Tensor<rank, dim, ValueType> &     value_tensor);
+      const Tensor<rank, dim, ValueType>      &value_tensor);
 
     /**
      * Return a substitution map that has the entry keys given by the
@@ -554,7 +554,7 @@ namespace Differentiation
     types::substitution_map
     make_substitution_map(
       const SymmetricTensor<rank, dim, ExpressionType> &symbol_tensor,
-      const SymmetricTensor<rank, dim, ValueType> &     value_tensor);
+      const SymmetricTensor<rank, dim, ValueType>      &value_tensor);
 
     /** @} */
 
@@ -596,9 +596,9 @@ namespace Differentiation
               typename ValueType>
     void
     add_to_substitution_map(
-      types::substitution_map &                substitution_map,
+      types::substitution_map                 &substitution_map,
       const Tensor<rank, dim, ExpressionType> &symbol_tensor,
-      const Tensor<rank, dim, ValueType> &     value_tensor);
+      const Tensor<rank, dim, ValueType>      &value_tensor);
 
     /**
      * A convenience function for adding an entry to the @p substitution_map.
@@ -632,9 +632,9 @@ namespace Differentiation
               typename ValueType>
     void
     add_to_substitution_map(
-      types::substitution_map &                         substitution_map,
+      types::substitution_map                          &substitution_map,
       const SymmetricTensor<rank, dim, ExpressionType> &symbol_tensor,
-      const SymmetricTensor<rank, dim, ValueType> &     value_tensor);
+      const SymmetricTensor<rank, dim, ValueType>      &value_tensor);
 
     /** @} */
 
@@ -665,7 +665,7 @@ namespace Differentiation
     template <int rank, int dim>
     Tensor<rank, dim, Expression>
     substitute(const Tensor<rank, dim, Expression> &expression_tensor,
-               const types::substitution_map &      substitution_map);
+               const types::substitution_map       &substitution_map);
 
     /**
      * Perform a single substitution sweep of a set of symbols into the given
@@ -689,7 +689,7 @@ namespace Differentiation
     template <int rank, int dim>
     SymmetricTensor<rank, dim, Expression>
     substitute(const SymmetricTensor<rank, dim, Expression> &expression_tensor,
-               const types::substitution_map &               substitution_map);
+               const types::substitution_map                &substitution_map);
 
     /**
      * Perform a single substitution sweep of a set of symbols into the given
@@ -721,7 +721,7 @@ namespace Differentiation
     Tensor<rank, dim, ValueType>
     substitute_and_evaluate(
       const Tensor<rank, dim, Expression> &expression_tensor,
-      const types::substitution_map &      substitution_map);
+      const types::substitution_map       &substitution_map);
 
     /**
      * Perform a single substitution sweep of a set of symbols into the given
@@ -753,7 +753,7 @@ namespace Differentiation
     SymmetricTensor<rank, dim, ValueType>
     substitute_and_evaluate(
       const SymmetricTensor<rank, dim, Expression> &expression_tensor,
-      const types::substitution_map &               substitution_map);
+      const types::substitution_map                &substitution_map);
 
     /** @} */
 
@@ -856,7 +856,7 @@ namespace Differentiation
                 template <int, int, typename>
                 class TensorType>
       TensorType<0, dim, ValueType>
-      scalar_diff_tensor(const ValueType &                    func,
+      scalar_diff_tensor(const ValueType                     &func,
                          const TensorType<0, dim, ValueType> &op)
       {
         return differentiate(func, op);
@@ -869,7 +869,7 @@ namespace Differentiation
                 template <int, int, typename>
                 class TensorType>
       TensorType<rank, dim, ValueType>
-      scalar_diff_tensor(const ValueType &                       func,
+      scalar_diff_tensor(const ValueType                        &func,
                          const TensorType<rank, dim, ValueType> &op)
       {
         TensorType<rank, dim, ValueType> out;
@@ -893,7 +893,7 @@ namespace Differentiation
                 template <int, int, typename>
                 class TensorType>
       TensorType<rank, dim, ValueType>
-      tensor_diff_tensor(const TensorType<0, dim, ValueType> &   func,
+      tensor_diff_tensor(const TensorType<0, dim, ValueType>    &func,
                          const TensorType<rank, dim, ValueType> &op)
       {
         TensorType<rank, dim, ValueType> out;
@@ -917,7 +917,7 @@ namespace Differentiation
                 class TensorType>
       TensorType<rank, dim, ValueType>
       tensor_diff_scalar(const TensorType<rank, dim, ValueType> &funcs,
-                         const ValueType &                       op)
+                         const ValueType                        &op)
       {
         TensorType<rank, dim, ValueType> out;
         for (unsigned int i = 0; i < out.n_independent_components; ++i)
@@ -938,7 +938,7 @@ namespace Differentiation
                 class TensorType>
       TensorType<rank, dim, ValueType>
       tensor_diff_tensor(const TensorType<rank, dim, ValueType> &funcs,
-                         const TensorType<0, dim, ValueType> &   op)
+                         const TensorType<0, dim, ValueType>    &op)
       {
         TensorType<rank, dim, ValueType> out;
         for (unsigned int i = 0; i < out.n_independent_components; ++i)
@@ -1057,7 +1057,7 @@ namespace Differentiation
 
     template <int rank, int dim>
     Tensor<rank, dim, Expression>
-    differentiate(const Expression &                   func,
+    differentiate(const Expression                    &func,
                   const Tensor<rank, dim, Expression> &op)
     {
       return internal::scalar_diff_tensor(func, op);
@@ -1066,7 +1066,7 @@ namespace Differentiation
 
     template <int rank, int dim>
     SymmetricTensor<rank, dim, Expression>
-    differentiate(const Expression &                            func,
+    differentiate(const Expression                             &func,
                   const SymmetricTensor<rank, dim, Expression> &op)
     {
       return internal::scalar_diff_tensor(func, op);
@@ -1075,7 +1075,7 @@ namespace Differentiation
 
     template <int rank, int dim>
     Tensor<rank, dim, Expression>
-    differentiate(const Tensor<0, dim, Expression> &   func,
+    differentiate(const Tensor<0, dim, Expression>    &func,
                   const Tensor<rank, dim, Expression> &op)
     {
       return internal::scalar_diff_tensor(func, op);
@@ -1084,7 +1084,7 @@ namespace Differentiation
 
     template <int rank, int dim>
     SymmetricTensor<rank, dim, Expression>
-    differentiate(const Tensor<0, dim, Expression> &            func,
+    differentiate(const Tensor<0, dim, Expression>             &func,
                   const SymmetricTensor<rank, dim, Expression> &op)
     {
       // Ensure that this returns a symmetric tensor by
@@ -1097,7 +1097,7 @@ namespace Differentiation
     template <int rank, int dim>
     Tensor<rank, dim, Expression>
     differentiate(const Tensor<rank, dim, Expression> &symbol_tensor,
-                  const Expression &                   op)
+                  const Expression                    &op)
     {
       return internal::tensor_diff_scalar(symbol_tensor, op);
     }
@@ -1106,7 +1106,7 @@ namespace Differentiation
     template <int rank, int dim>
     Tensor<rank, dim, Expression>
     differentiate(const Tensor<rank, dim, Expression> &symbol_tensor,
-                  const Tensor<0, dim, Expression> &   op)
+                  const Tensor<0, dim, Expression>    &op)
     {
       return internal::tensor_diff_scalar(symbol_tensor, op);
     }
@@ -1115,7 +1115,7 @@ namespace Differentiation
     template <int rank, int dim>
     SymmetricTensor<rank, dim, Expression>
     differentiate(const SymmetricTensor<rank, dim, Expression> &symbol_tensor,
-                  const Expression &                            op)
+                  const Expression                             &op)
     {
       return internal::tensor_diff_scalar(symbol_tensor, op);
     }
@@ -1124,7 +1124,7 @@ namespace Differentiation
     template <int rank, int dim>
     SymmetricTensor<rank, dim, Expression>
     differentiate(const SymmetricTensor<rank, dim, Expression> &symbol_tensor,
-                  const Tensor<0, dim, Expression> &            op)
+                  const Tensor<0, dim, Expression>             &op)
     {
       return internal::tensor_diff_scalar(symbol_tensor, op);
     }
@@ -1150,7 +1150,7 @@ namespace Differentiation
 
     template <int rank_1, int rank_2, int dim>
     Tensor<rank_1 + rank_2, dim, Expression>
-    differentiate(const Tensor<rank_1, dim, Expression> &         symbol_tensor,
+    differentiate(const Tensor<rank_1, dim, Expression>          &symbol_tensor,
                   const SymmetricTensor<rank_2, dim, Expression> &op)
     {
       return internal::tensor_diff_tensor(symbol_tensor, op);
@@ -1160,7 +1160,7 @@ namespace Differentiation
     template <int rank_1, int rank_2, int dim>
     Tensor<rank_1 + rank_2, dim, Expression>
     differentiate(const SymmetricTensor<rank_1, dim, Expression> &symbol_tensor,
-                  const Tensor<rank_2, dim, Expression> &         op)
+                  const Tensor<rank_2, dim, Expression>          &op)
     {
       return internal::tensor_diff_tensor(symbol_tensor, op);
     }
@@ -1179,9 +1179,9 @@ namespace Differentiation
                 class TensorType>
       void
       set_tensor_value_in_symbol_map(
-        types::substitution_map &                  substitution_map,
+        types::substitution_map                   &substitution_map,
         const TensorType<rank, dim, SymbolicType> &symbol_tensor,
-        const TensorType<rank, dim, ValueType> &   value_tensor)
+        const TensorType<rank, dim, ValueType>    &value_tensor)
       {
         TensorType<rank, dim, Expression> out;
         for (unsigned int i = 0; i < out.n_independent_components; ++i)
@@ -1198,9 +1198,9 @@ namespace Differentiation
       template <typename SymbolicType, typename ValueType, int dim>
       void
       set_tensor_value_in_symbol_map(
-        types::substitution_map &                    substitution_map,
+        types::substitution_map                     &substitution_map,
         const SymmetricTensor<4, dim, SymbolicType> &symbol_tensor,
-        const SymmetricTensor<4, dim, ValueType> &   value_tensor)
+        const SymmetricTensor<4, dim, ValueType>    &value_tensor)
       {
         SymmetricTensor<4, dim, Expression> out;
         for (unsigned int i = 0;
@@ -1226,7 +1226,7 @@ namespace Differentiation
               int dim,
               typename SymbolicType>
     void
-    add_to_symbol_map(types::substitution_map &              symbol_map,
+    add_to_symbol_map(types::substitution_map               &symbol_map,
                       const Tensor<rank, dim, SymbolicType> &symbol_tensor)
     {
       // Call the above function
@@ -1242,7 +1242,7 @@ namespace Differentiation
               typename SymbolicType>
     void
     add_to_symbol_map(
-      types::substitution_map &                       symbol_map,
+      types::substitution_map                        &symbol_map,
       const SymmetricTensor<rank, dim, SymbolicType> &symbol_tensor)
     {
       // Call the above function
@@ -1254,9 +1254,9 @@ namespace Differentiation
     template <int rank, int dim, typename SymbolicType, typename ValueType>
     void
     set_value_in_symbol_map(
-      types::substitution_map &              substitution_map,
+      types::substitution_map               &substitution_map,
       const Tensor<rank, dim, SymbolicType> &symbol_tensor,
-      const Tensor<rank, dim, ValueType> &   value_tensor)
+      const Tensor<rank, dim, ValueType>    &value_tensor)
     {
       internal::set_tensor_value_in_symbol_map(substitution_map,
                                                symbol_tensor,
@@ -1267,9 +1267,9 @@ namespace Differentiation
     template <int rank, int dim, typename SymbolicType, typename ValueType>
     void
     set_value_in_symbol_map(
-      types::substitution_map &                       substitution_map,
+      types::substitution_map                        &substitution_map,
       const SymmetricTensor<rank, dim, SymbolicType> &symbol_tensor,
-      const SymmetricTensor<rank, dim, ValueType> &   value_tensor)
+      const SymmetricTensor<rank, dim, ValueType>    &value_tensor)
     {
       internal::set_tensor_value_in_symbol_map(substitution_map,
                                                symbol_tensor,
@@ -1284,7 +1284,7 @@ namespace Differentiation
     types::substitution_map
     make_substitution_map(
       const Tensor<rank, dim, ExpressionType> &symbol_tensor,
-      const Tensor<rank, dim, ValueType> &     value_tensor)
+      const Tensor<rank, dim, ValueType>      &value_tensor)
     {
       types::substitution_map substitution_map;
       add_to_substitution_map(substitution_map, symbol_tensor, value_tensor);
@@ -1296,7 +1296,7 @@ namespace Differentiation
     types::substitution_map
     make_substitution_map(
       const SymmetricTensor<rank, dim, ExpressionType> &symbol_tensor,
-      const SymmetricTensor<rank, dim, ValueType> &     value_tensor)
+      const SymmetricTensor<rank, dim, ValueType>      &value_tensor)
     {
       types::substitution_map substitution_map;
       add_to_substitution_map(substitution_map, symbol_tensor, value_tensor);
@@ -1318,7 +1318,7 @@ namespace Differentiation
       std::vector<std::pair<ExpressionType, ValueType>>
       make_tensor_entries_for_substitution_map(
         const TensorType<rank, dim, ExpressionType> &symbol_tensor,
-        const TensorType<rank, dim, ValueType> &     value_tensor)
+        const TensorType<rank, dim, ValueType>      &value_tensor)
       {
         std::vector<std::pair<ExpressionType, ValueType>> symbol_values;
         for (unsigned int i = 0; i < symbol_tensor.n_independent_components;
@@ -1337,10 +1337,10 @@ namespace Differentiation
       std::vector<std::pair<ExpressionType, ValueType>>
       make_tensor_entries_for_substitution_map(
         const Tensor<0, dim, ExpressionType> &symbol_tensor,
-        const Tensor<0, dim, ValueType> &     value_tensor)
+        const Tensor<0, dim, ValueType>      &value_tensor)
       {
         const ExpressionType &expression = symbol_tensor;
-        const ValueType &     value      = value_tensor;
+        const ValueType      &value      = value_tensor;
         return {std::make_pair(expression, value)};
       }
 
@@ -1349,7 +1349,7 @@ namespace Differentiation
       std::vector<std::pair<ExpressionType, ValueType>>
       make_tensor_entries_for_substitution_map(
         const SymmetricTensor<4, dim, ExpressionType> &symbol_tensor,
-        const SymmetricTensor<4, dim, ValueType> &     value_tensor)
+        const SymmetricTensor<4, dim, ValueType>      &value_tensor)
       {
         std::vector<std::pair<ExpressionType, ValueType>> symbol_values;
         for (unsigned int i = 0;
@@ -1376,9 +1376,9 @@ namespace Differentiation
               typename ValueType>
     void
     add_to_substitution_map(
-      types::substitution_map &                substitution_map,
+      types::substitution_map                 &substitution_map,
       const Tensor<rank, dim, ExpressionType> &symbol_tensor,
-      const Tensor<rank, dim, ValueType> &     value_tensor)
+      const Tensor<rank, dim, ValueType>      &value_tensor)
     {
       add_to_substitution_map<ignore_invalid_symbols>(
         substitution_map,
@@ -1394,9 +1394,9 @@ namespace Differentiation
               typename ValueType>
     void
     add_to_substitution_map(
-      types::substitution_map &                         substitution_map,
+      types::substitution_map                          &substitution_map,
       const SymmetricTensor<rank, dim, ExpressionType> &symbol_tensor,
-      const SymmetricTensor<rank, dim, ValueType> &     value_tensor)
+      const SymmetricTensor<rank, dim, ValueType>      &value_tensor)
     {
       add_to_substitution_map<ignore_invalid_symbols>(
         substitution_map,
@@ -1417,7 +1417,7 @@ namespace Differentiation
       TensorType<rank, dim, Expression>
       substitute_tensor(
         const TensorType<rank, dim, Expression> &expression_tensor,
-        const types::substitution_map &          substitution_map)
+        const types::substitution_map           &substitution_map)
       {
         TensorType<rank, dim, Expression> out;
         for (unsigned int i = 0; i < out.n_independent_components; ++i)
@@ -1434,7 +1434,7 @@ namespace Differentiation
       template <int dim>
       Tensor<0, dim, Expression>
       substitute_tensor(const Tensor<0, dim, Expression> &expression_tensor,
-                        const types::substitution_map &   substitution_map)
+                        const types::substitution_map    &substitution_map)
       {
         const Expression &expression = expression_tensor;
         return substitute(expression, substitution_map);
@@ -1445,7 +1445,7 @@ namespace Differentiation
       SymmetricTensor<4, dim, Expression>
       substitute_tensor(
         const SymmetricTensor<4, dim, Expression> &expression_tensor,
-        const types::substitution_map &            substitution_map)
+        const types::substitution_map             &substitution_map)
       {
         SymmetricTensor<4, dim, Expression> out;
         for (unsigned int i = 0;
@@ -1472,7 +1472,7 @@ namespace Differentiation
       TensorType<rank, dim, ValueType>
       substitute_and_evaluate_tensor(
         const TensorType<rank, dim, Expression> &expression_tensor,
-        const types::substitution_map &          substitution_map)
+        const types::substitution_map           &substitution_map)
       {
         TensorType<rank, dim, ValueType> out;
         for (unsigned int i = 0; i < out.n_independent_components; ++i)
@@ -1491,7 +1491,7 @@ namespace Differentiation
       Tensor<0, dim, ValueType>
       substitute_and_evaluate_tensor(
         const Tensor<0, dim, Expression> &expression_tensor,
-        const types::substitution_map &   substitution_map)
+        const types::substitution_map    &substitution_map)
       {
         const Expression &expression = expression_tensor;
         return substitute_and_evaluate<ValueType>(expression, substitution_map);
@@ -1502,7 +1502,7 @@ namespace Differentiation
       SymmetricTensor<4, dim, ValueType>
       substitute_and_evaluate_tensor(
         const SymmetricTensor<4, dim, Expression> &expression_tensor,
-        const types::substitution_map &            substitution_map)
+        const types::substitution_map             &substitution_map)
       {
         SymmetricTensor<4, dim, ValueType> out;
         for (unsigned int i = 0;
@@ -1526,7 +1526,7 @@ namespace Differentiation
     template <int rank, int dim>
     Tensor<rank, dim, Expression>
     substitute(const Tensor<rank, dim, Expression> &expression_tensor,
-               const types::substitution_map &      substitution_map)
+               const types::substitution_map       &substitution_map)
     {
       return internal::substitute_tensor(expression_tensor, substitution_map);
     }
@@ -1535,7 +1535,7 @@ namespace Differentiation
     template <int rank, int dim>
     SymmetricTensor<rank, dim, Expression>
     substitute(const SymmetricTensor<rank, dim, Expression> &expression_tensor,
-               const types::substitution_map &               substitution_map)
+               const types::substitution_map                &substitution_map)
     {
       return internal::substitute_tensor(expression_tensor, substitution_map);
     }
@@ -1545,7 +1545,7 @@ namespace Differentiation
     Tensor<rank, dim, ValueType>
     substitute_and_evaluate(
       const Tensor<rank, dim, Expression> &expression_tensor,
-      const types::substitution_map &      substitution_map)
+      const types::substitution_map       &substitution_map)
     {
       return internal::substitute_and_evaluate_tensor<ValueType>(
         expression_tensor, substitution_map);
@@ -1556,7 +1556,7 @@ namespace Differentiation
     SymmetricTensor<rank, dim, ValueType>
     substitute_and_evaluate(
       const SymmetricTensor<rank, dim, Expression> &expression_tensor,
-      const types::substitution_map &               substitution_map)
+      const types::substitution_map                &substitution_map)
     {
       return internal::substitute_and_evaluate_tensor<ValueType>(
         expression_tensor, substitution_map);
index 7dc3842daa42616cb24924ea3c1cadec1ec15d9e..02bb3092eda64fb50cfc965ddfe95893781e3fef 100644 (file)
@@ -103,7 +103,7 @@ namespace Differentiation
       template <typename StreamType>
       StreamType &
       print_substitution_map(
-        StreamType &                       stream,
+        StreamType                        &stream,
         const SD::types::substitution_map &symbol_value_map);
 
     } // namespace Utilities
@@ -142,7 +142,7 @@ namespace Differentiation
       template <typename StreamType>
       StreamType &
       print_substitution_map(
-        StreamType &                       stream,
+        StreamType                        &stream,
         const SD::types::substitution_map &symbol_value_map)
       {
         for (const auto &entry : symbol_value_map)
index 271adcb2d22187616dbc0b4741fb9e062326a100..d547c6daed1fefebceece73b34cf28136d906beb 100644 (file)
@@ -150,17 +150,17 @@ namespace parallel
        */
       CellDataTransfer(
         const parallel::distributed::Triangulation<dim, spacedim>
-          &                               triangulation,
+                                         &triangulation,
         const bool                        transfer_variable_size_data = false,
         const std::function<std::vector<value_type>(
           const typename dealii::Triangulation<dim, spacedim>::cell_iterator
-            &              parent,
+                          &parent,
           const value_type parent_value)> refinement_strategy =
           &dealii::AdaptationStrategies::Refinement::
             preserve<dim, spacedim, value_type>,
         const std::function<value_type(
           const typename dealii::Triangulation<dim, spacedim>::cell_iterator
-            &                            parent,
+                                        &parent,
           const std::vector<value_type> &children_values)> coarsening_strategy =
           &dealii::AdaptationStrategies::Coarsening::
             check_equality<dim, spacedim, value_type>);
@@ -303,7 +303,7 @@ namespace parallel
           cell_iterator &cell,
         const CellStatus status,
         const boost::iterator_range<std::vector<char>::const_iterator>
-          &                        data_range,
+                                  &data_range,
         std::vector<VectorType *> &all_out);
     };
   } // namespace distributed
index cd81b30ddbb82c3c371b94862e2ca90a3b3601d8..2d07185618e2a6cbdc815c19ade3c12d904dd4fb 100644 (file)
@@ -75,11 +75,11 @@ namespace parallel
       const bool                        transfer_variable_size_data,
       const std::function<std::vector<value_type>(
         const typename dealii::Triangulation<dim, spacedim>::cell_iterator
-          &              parent,
+                        &parent,
         const value_type parent_value)> refinement_strategy,
       const std::function<value_type(
         const typename dealii::Triangulation<dim, spacedim>::cell_iterator
-          &                            parent,
+                                      &parent,
         const std::vector<value_type> &children_values)> coarsening_strategy)
       : triangulation(&triangulation, typeid(*this).name())
       , transfer_variable_size_data(transfer_variable_size_data)
@@ -309,7 +309,7 @@ namespace parallel
         cell_iterator &cell,
       const CellStatus status,
       const boost::iterator_range<std::vector<char>::const_iterator>
-        &                        data_range,
+                                &data_range,
       std::vector<VectorType *> &all_out)
     {
       std::vector<value_type> cell_data;
index 34ab6cef5359ec023a4b5df03ce26a433ab9af5b..8814d33156c59ca6947bf30572aef7efb5d6adb7 100644 (file)
@@ -130,7 +130,7 @@ namespace parallel
      *    cell's weight during load balancing.
      */
     CellWeights(const DoFHandler<dim, spacedim> &dof_handler,
-                const WeightingFunction &        weighting_function);
+                const WeightingFunction         &weighting_function);
 
     /**
      * Destructor.
@@ -147,7 +147,7 @@ namespace parallel
      */
     void
     reinit(const DoFHandler<dim, spacedim> &dof_handler,
-           const WeightingFunction &        weighting_function);
+           const WeightingFunction         &weighting_function);
 
     /**
      * Converts a @p weighting_function to a different type that qualifies as
@@ -220,9 +220,9 @@ namespace parallel
     weighting_callback(
       const typename dealii::Triangulation<dim, spacedim>::cell_iterator &cell,
       const CellStatus                                  status,
-      const DoFHandler<dim, spacedim> &                 dof_handler,
+      const DoFHandler<dim, spacedim>                  &dof_handler,
       const parallel::TriangulationBase<dim, spacedim> &triangulation,
-      const WeightingFunction &                         weighting_function);
+      const WeightingFunction                          &weighting_function);
   };
 } // namespace parallel
 
index 28796afba293f94f156969e6be9089d1d991c194..54f562696f535b54015b34dce5a9892281148e31 100644 (file)
@@ -65,7 +65,7 @@ namespace parallel
          */
         void
         prepare_for_coarsening_and_refinement(
-          const VectorType in,
+          const VectorType  &in,
           const unsigned int fe_nothing_index);
 
         /**
@@ -76,9 +76,9 @@ namespace parallel
          * AffineConstraints after refinement.
          */
         void
-        interpolate(const Number &                   new_value,
+        interpolate(const Number                    &new_value,
                     const AffineConstraints<Number> &affine_constraints,
-                    VectorType &                     out);
+                    VectorType                      &out);
 
       private:
         /**
index 084ff11056dbd2fd52f2c5fdbcd2de94e721070b..c364d265474d4937092923e982723242dc896b7c 100644 (file)
@@ -152,7 +152,7 @@ namespace parallel
        *       triangulation.
        */
       virtual void
-      create_triangulation(const std::vector<Point<spacedim>> &      vertices,
+      create_triangulation(const std::vector<Point<spacedim>>       &vertices,
                            const std::vector<dealii::CellData<dim>> &cells,
                            const SubCellData &subcelldata) override;
 
@@ -191,7 +191,7 @@ namespace parallel
       set_partitioner(
         const std::function<void(dealii::Triangulation<dim, spacedim> &,
                                  const unsigned int)> &partitioner,
-        const TriangulationDescription::Settings &     settings);
+        const TriangulationDescription::Settings      &settings);
 
       /**
        * Register a partitioner, which is used within the method
@@ -200,7 +200,7 @@ namespace parallel
       void
       set_partitioner(
         const RepartitioningPolicyTools::Base<dim, spacedim> &partitioner,
-        const TriangulationDescription::Settings &            settings);
+        const TriangulationDescription::Settings             &settings);
 
       /**
        * Execute repartitioning and use the partitioner attached by the
index 0cd0d5220688466ebc22c2fc3998f0bab53f1f7c..0c557c79b793f37eaa2459ba19850648e457e65d 100644 (file)
@@ -57,7 +57,7 @@ namespace internal
            */
           template <typename number>
           number
-          compute_threshold(const dealii::Vector<number> &   criteria,
+          compute_threshold(const dealii::Vector<number>    &criteria,
                             const std::pair<double, double> &global_min_and_max,
                             const types::global_cell_index   n_target_cells,
                             const MPI_Comm                   mpi_communicator);
@@ -75,7 +75,7 @@ namespace internal
            */
           template <typename number>
           number
-          compute_threshold(const dealii::Vector<number> &   criteria,
+          compute_threshold(const dealii::Vector<number>    &criteria,
                             const std::pair<double, double> &global_min_and_max,
                             const double                     target_error,
                             const MPI_Comm                   mpi_communicator);
@@ -157,7 +157,7 @@ namespace parallel
       void
       refine_and_coarsen_fixed_number(
         dealii::Triangulation<dim, spacedim> &tria,
-        const dealii::Vector<Number> &        criteria,
+        const dealii::Vector<Number>         &criteria,
         const double                          top_fraction_of_cells,
         const double                          bottom_fraction_of_cells,
         const types::global_cell_index        max_n_cells =
@@ -211,7 +211,7 @@ namespace parallel
       void
       refine_and_coarsen_fixed_fraction(
         dealii::Triangulation<dim, spacedim> &tria,
-        const dealii::Vector<Number> &        criteria,
+        const dealii::Vector<Number>         &criteria,
         const double                          top_fraction_of_error,
         const double                          bottom_fraction_of_error,
         const VectorTools::NormType norm_type = VectorTools::NormType::L1_norm);
index cfa332a0ee116bef6c87f3191ea45f092b59257c..7ef0a2f4c5cd5170c529643e374ba87242aa0deb 100644 (file)
@@ -139,7 +139,7 @@ namespace internal
       static void (&quadrant_childrenv)(const types<2>::quadrant *q,
                                         types<2>::quadrant        c[]);
 
-      static int (&quadrant_overlaps_tree)(types<2>::tree *          tree,
+      static int (&quadrant_overlaps_tree)(types<2>::tree           *tree,
                                            const types<2>::quadrant *q);
 
       static void (&quadrant_set_morton)(types<2>::quadrant *quadrant,
@@ -158,7 +158,7 @@ namespace internal
       static int (&quadrant_ancestor_id)(const types<2>::quadrant *q,
                                          int                       level);
 
-      static int (&comm_find_owner)(types<2>::forest *        p4est,
+      static int (&comm_find_owner)(types<2>::forest         *p4est,
                                     const types<2>::locidx    which_tree,
                                     const types<2>::quadrant *q,
                                     const int                 guess);
@@ -173,14 +173,14 @@ namespace internal
         types<2>::topidx        num_vertices,
         types<2>::topidx        num_trees,
         types<2>::topidx        num_corners,
-        const double *          vertices,
+        const double           *vertices,
         const types<2>::topidx *ttv,
         const types<2>::topidx *ttt,
-        const int8_t *          ttf,
+        const int8_t           *ttf,
         const types<2>::topidx *ttc,
         const types<2>::topidx *coff,
         const types<2>::topidx *ctt,
-        const int8_t *          ctc);
+        const int8_t           *ctc);
 
       static void (&connectivity_join_faces)(types<2>::connectivity *conn,
                                              types<2>::topidx        tree_left,
@@ -201,7 +201,7 @@ namespace internal
         int                     fill_uniform,
         std::size_t             data_size,
         p4est_init_t            init_fn,
-        void *                  user_pointer);
+        void                   *user_pointer);
 
       static types<2>::forest *(&copy_forest)(types<2>::forest *input,
                                               int               copy_data);
@@ -218,7 +218,7 @@ namespace internal
                              p4est_coarsen_t   coarsen_fn,
                              p4est_init_t      init_fn);
 
-      static void (&balance)(types<2>::forest *     p4est,
+      static void (&balance)(types<2>::forest      *p4est,
                              types<2>::balance_type btype,
                              p4est_init_t           init_fn);
 
@@ -226,7 +226,7 @@ namespace internal
                                            int partition_for_coarsening,
                                            p4est_weight_t weight_fn);
 
-      static void (&save)(const char *      filename,
+      static void (&save)(const char       *filename,
                           types<2>::forest *p4est,
                           int               save_data);
 
@@ -236,15 +236,15 @@ namespace internal
                                            int         load_data,
                                            int         autopartition,
                                            int         broadcasthead,
-                                           void *      user_pointer,
+                                           void       *user_pointer,
                                            types<2>::connectivity **p4est);
 
-      static int (&connectivity_save)(const char *            filename,
+      static int (&connectivity_save)(const char             *filename,
                                       types<2>::connectivity *connectivity);
 
       static int (&connectivity_is_valid)(types<2>::connectivity *connectivity);
 
-      static types<2>::connectivity *(&connectivity_load)(const char filename,
+      static types<2>::connectivity *(&connectivity_load)(const char  *filename,
                                                           std::size_t *length);
 
       static unsigned int (&checksum)(types<2>::forest *p4est);
@@ -253,7 +253,7 @@ namespace internal
                                     p4est_geometry_t *,
                                     const char *baseName);
 
-      static types<2>::ghost *(&ghost_new)(types<2>::forest *     p4est,
+      static types<2>::ghost *(&ghost_new)(types<2>::forest      *p4est,
                                            types<2>::balance_type btype);
 
       static void (&ghost_destroy)(types<2>::ghost *ghost);
@@ -261,7 +261,7 @@ namespace internal
       static void (&reset_data)(types<2>::forest *p4est,
                                 std::size_t       data_size,
                                 p4est_init_t      init_fn,
-                                void *            user_pointer);
+                                void             *user_pointer);
 
       static std::size_t (&forest_memory_used)(types<2>::forest *p4est);
 
@@ -271,8 +271,8 @@ namespace internal
       template <int spacedim>
       static void
       iterate(dealii::internal::p4est::types<2>::forest *parallel_forest,
-              dealii::internal::p4est::types<2>::ghost parallel_ghost,
-              void *                                     user_data);
+              dealii::internal::p4est::types<2>::ghost  *parallel_ghost,
+              void                                      *user_data);
 
       static constexpr unsigned int max_level = P4EST_MAXLEVEL;
 
@@ -280,8 +280,8 @@ namespace internal
                                     const types<2>::gloidx *src_gfq,
                                     MPI_Comm                mpicomm,
                                     int                     tag,
-                                    void *                  dest_data,
-                                    const void *            src_data,
+                                    void                   *dest_data,
+                                    const void             *src_data,
                                     std::size_t             data_size);
 
       static types<2>::transfer_context *(&transfer_fixed_begin)(
@@ -289,8 +289,8 @@ namespace internal
         const types<2>::gloidx *src_gfq,
         MPI_Comm                mpicomm,
         int                     tag,
-        void *                  dest_data,
-        const void *            src_data,
+        void                   *dest_data,
+        const void             *src_data,
         std::size_t             data_size);
 
       static void (&transfer_fixed_end)(types<2>::transfer_context *tc);
@@ -299,34 +299,34 @@ namespace internal
                                      const types<2>::gloidx *src_gfq,
                                      MPI_Comm                mpicomm,
                                      int                     tag,
-                                     void *                  dest_data,
-                                     const int *             dest_sizes,
-                                     const void *            src_data,
-                                     const int *             src_sizes);
+                                     void                   *dest_data,
+                                     const int              *dest_sizes,
+                                     const void             *src_data,
+                                     const int              *src_sizes);
 
       static types<2>::transfer_context *(&transfer_custom_begin)(
         const types<2>::gloidx *dest_gfq,
         const types<2>::gloidx *src_gfq,
         MPI_Comm                mpicomm,
         int                     tag,
-        void *                  dest_data,
-        const int *             dest_sizes,
-        const void *            src_data,
-        const int *             src_sizes);
+        void                   *dest_data,
+        const int              *dest_sizes,
+        const void             *src_data,
+        const int              *src_sizes);
 
       static void (&transfer_custom_end)(types<2>::transfer_context *tc);
 
 #  ifdef P4EST_SEARCH_LOCAL
       static void (&search_partition)(
-        types<2>::forest *                  forest,
+        types<2>::forest                   *forest,
         int                                 call_post,
         types<2>::search_partition_callback quadrant_fn,
         types<2>::search_partition_callback point_fn,
-        sc_array_t *                        points);
+        sc_array_t                         *points);
 #  endif
 
       static void (&quadrant_coord_to_vertex)(
-        types<2>::connectivity connectivity,
+        types<2>::connectivity  *connectivity,
         types<2>::topidx         treeid,
         types<2>::quadrant_coord x,
         types<2>::quadrant_coord y,
@@ -342,7 +342,7 @@ namespace internal
       static void (&quadrant_childrenv)(const types<3>::quadrant *q,
                                         types<3>::quadrant        c[]);
 
-      static int (&quadrant_overlaps_tree)(types<3>::tree *          tree,
+      static int (&quadrant_overlaps_tree)(types<3>::tree           *tree,
                                            const types<3>::quadrant *q);
 
       static void (&quadrant_set_morton)(types<3>::quadrant *quadrant,
@@ -360,7 +360,7 @@ namespace internal
       static int (&quadrant_ancestor_id)(const types<3>::quadrant *q,
                                          int                       level);
 
-      static int (&comm_find_owner)(types<3>::forest *        p4est,
+      static int (&comm_find_owner)(types<3>::forest         *p4est,
                                     const types<3>::locidx    which_tree,
                                     const types<3>::quadrant *q,
                                     const int                 guess);
@@ -378,18 +378,18 @@ namespace internal
         types<3>::topidx        num_trees,
         types<3>::topidx        num_edges,
         types<3>::topidx        num_corners,
-        const double *          vertices,
+        const double           *vertices,
         const types<3>::topidx *ttv,
         const types<3>::topidx *ttt,
-        const int8_t *          ttf,
+        const int8_t           *ttf,
         const types<3>::topidx *tte,
         const types<3>::topidx *eoff,
         const types<3>::topidx *ett,
-        const int8_t *          ete,
+        const int8_t           *ete,
         const types<3>::topidx *ttc,
         const types<3>::topidx *coff,
         const types<3>::topidx *ctt,
-        const int8_t *          ctc);
+        const int8_t           *ctc);
 
       static void (&connectivity_join_faces)(types<3>::connectivity *conn,
                                              types<3>::topidx        tree_left,
@@ -408,7 +408,7 @@ namespace internal
         int                     fill_uniform,
         std::size_t             data_size,
         p8est_init_t            init_fn,
-        void *                  user_pointer);
+        void                   *user_pointer);
 
       static types<3>::forest *(&copy_forest)(types<3>::forest *input,
                                               int               copy_data);
@@ -425,7 +425,7 @@ namespace internal
                              p8est_coarsen_t   coarsen_fn,
                              p8est_init_t      init_fn);
 
-      static void (&balance)(types<3>::forest *     p8est,
+      static void (&balance)(types<3>::forest      *p8est,
                              types<3>::balance_type btype,
                              p8est_init_t           init_fn);
 
@@ -433,7 +433,7 @@ namespace internal
                                            int partition_for_coarsening,
                                            p8est_weight_t weight_fn);
 
-      static void (&save)(const char *      filename,
+      static void (&save)(const char       *filename,
                           types<3>::forest *p4est,
                           int               save_data);
 
@@ -443,15 +443,15 @@ namespace internal
                                            int         load_data,
                                            int         autopartition,
                                            int         broadcasthead,
-                                           void *      user_pointer,
+                                           void       *user_pointer,
                                            types<3>::connectivity **p4est);
 
-      static int (&connectivity_save)(const char *            filename,
+      static int (&connectivity_save)(const char             *filename,
                                       types<3>::connectivity *connectivity);
 
       static int (&connectivity_is_valid)(types<3>::connectivity *connectivity);
 
-      static types<3>::connectivity *(&connectivity_load)(const char filename,
+      static types<3>::connectivity *(&connectivity_load)(const char  *filename,
                                                           std::size_t *length);
 
       static unsigned int (&checksum)(types<3>::forest *p8est);
@@ -459,7 +459,7 @@ namespace internal
       static void (&vtk_write_file)(types<3>::forest *p8est,
                                     p8est_geometry_t *,
                                     const char *baseName);
-      static types<3>::ghost *(&ghost_new)(types<3>::forest *     p4est,
+      static types<3>::ghost *(&ghost_new)(types<3>::forest      *p4est,
                                            types<3>::balance_type btype);
 
       static void (&ghost_destroy)(types<3>::ghost *ghost);
@@ -467,7 +467,7 @@ namespace internal
       static void (&reset_data)(types<3>::forest *p4est,
                                 std::size_t       data_size,
                                 p8est_init_t      init_fn,
-                                void *            user_pointer);
+                                void             *user_pointer);
 
       static std::size_t (&forest_memory_used)(types<3>::forest *p4est);
 
@@ -480,8 +480,8 @@ namespace internal
                                     const types<3>::gloidx *src_gfq,
                                     MPI_Comm                mpicomm,
                                     int                     tag,
-                                    void *                  dest_data,
-                                    const void *            src_data,
+                                    void                   *dest_data,
+                                    const void             *src_data,
                                     std::size_t             data_size);
 
       static types<3>::transfer_context *(&transfer_fixed_begin)(
@@ -489,8 +489,8 @@ namespace internal
         const types<3>::gloidx *src_gfq,
         MPI_Comm                mpicomm,
         int                     tag,
-        void *                  dest_data,
-        const void *            src_data,
+        void                   *dest_data,
+        const void             *src_data,
         std::size_t             data_size);
 
       static void (&transfer_fixed_end)(types<3>::transfer_context *tc);
@@ -499,34 +499,34 @@ namespace internal
                                      const types<3>::gloidx *src_gfq,
                                      MPI_Comm                mpicomm,
                                      int                     tag,
-                                     void *                  dest_data,
-                                     const int *             dest_sizes,
-                                     const void *            src_data,
-                                     const int *             src_sizes);
+                                     void                   *dest_data,
+                                     const int              *dest_sizes,
+                                     const void             *src_data,
+                                     const int              *src_sizes);
 
       static types<3>::transfer_context *(&transfer_custom_begin)(
         const types<3>::gloidx *dest_gfq,
         const types<3>::gloidx *src_gfq,
         MPI_Comm                mpicomm,
         int                     tag,
-        void *                  dest_data,
-        const int *             dest_sizes,
-        const void *            src_data,
-        const int *             src_sizes);
+        void                   *dest_data,
+        const int              *dest_sizes,
+        const void             *src_data,
+        const int              *src_sizes);
 
       static void (&transfer_custom_end)(types<3>::transfer_context *tc);
 
 #  ifdef P4EST_SEARCH_LOCAL
       static void (&search_partition)(
-        types<3>::forest *                  forest,
+        types<3>::forest                   *forest,
         int                                 call_post,
         types<3>::search_partition_callback quadrant_fn,
         types<3>::search_partition_callback point_fn,
-        sc_array_t *                        points);
+        sc_array_t                         *points);
 #  endif
 
       static void (&quadrant_coord_to_vertex)(
-        types<3>::connectivity connectivity,
+        types<3>::connectivity  *connectivity,
         types<3>::topidx         treeid,
         types<3>::quadrant_coord x,
         types<3>::quadrant_coord y,
index 8cfa46f8dd9c025ea784d344f57ab2c5a734c211..a016876b712bce90f4d3aceecfaf55bd7fd22d34 100644 (file)
@@ -293,7 +293,7 @@ namespace parallel
        */
       virtual void
       create_triangulation(const std::vector<Point<spacedim>> &vertices,
-                           const std::vector<CellData<dim>> &  cells,
+                           const std::vector<CellData<dim>>   &cells,
                            const SubCellData &subcelldata) override;
 
       /**
@@ -426,7 +426,7 @@ namespace parallel
     template <int dim, int spacedim>
     DEAL_II_CXX20_REQUIRES((concepts::is_valid_dim_spacedim<dim, spacedim>))
     template <class Archive>
-    void Triangulation<dim, spacedim>::load(Archive &          ar,
+    void Triangulation<dim, spacedim>::load(Archive           &ar,
                                             const unsigned int version)
     {
       dealii::Triangulation<dim, spacedim>::load(ar, version);
index 85cd95c63c60d9f2956535445a07f8e5577e206f..db5ee4dfed6b4fa1045540a17be014f28347684d 100644 (file)
@@ -361,9 +361,9 @@ namespace parallel
         const typename Triangulation<dim, spacedim>::cell_iterator &cell,
         const CellStatus                                            status,
         const boost::iterator_range<std::vector<char>::const_iterator>
-          &                        data_range,
+                                  &data_range,
         std::vector<VectorType *> &all_out,
-        VectorType &               valence);
+        VectorType                &valence);
 
 
       /**
index 06583ab6f822c7524292fd44f247aa78e4b31215..74c9c3a115aac97b7af33a5b54ffc93639d2a4b9 100644 (file)
@@ -437,7 +437,7 @@ namespace parallel
        */
       virtual void
       create_triangulation(const std::vector<Point<spacedim>> &vertices,
-                           const std::vector<CellData<dim>> &  cells,
+                           const std::vector<CellData<dim>>   &cells,
                            const SubCellData &subcelldata) override;
 
       /**
index 3914d83dff16f2021539bf6445b5a78525d69ba9..133a89d6ba32d1178f702bcaf6f89e41b63c31cb 100644 (file)
@@ -266,7 +266,7 @@ public:
   DoFAccessor(const Triangulation<dim, spacedim> *tria,
               const int                           level,
               const int                           index,
-              const DoFHandler<dim, spacedim> *   dof_handler);
+              const DoFHandler<dim, spacedim>    *dof_handler);
 
   /**
    * Copy constructor.
@@ -816,10 +816,10 @@ public:
    * This iterator can only be called for one-dimensional triangulations.
    */
   DoFAccessor(
-    const Triangulation<1, spacedim> *                      tria,
+    const Triangulation<1, spacedim>                       *tria,
     const typename TriaAccessor<0, 1, spacedim>::VertexKind vertex_kind,
     const unsigned int                                      vertex_index,
-    const DoFHandler<1, spacedim> *                         dof_handler);
+    const DoFHandler<1, spacedim>                          *dof_handler);
 
   /**
    * Constructor. This constructor exists in order to maintain interface
@@ -1260,7 +1260,7 @@ public:
    * semantic sense, and we generate an exception when such an object is
    * actually generated.
    */
-  DoFInvalidAccessor(const void *        parent     = nullptr,
+  DoFInvalidAccessor(const void         *parent     = nullptr,
                      const int           level      = -1,
                      const int           index      = -1,
                      const AccessorData *local_data = nullptr);
@@ -1621,7 +1621,7 @@ public:
   void
   get_dof_values(
     const AffineConstraints<typename InputVector::value_type> &constraints,
-    const InputVector &                                        values,
+    const InputVector                                         &values,
     ForwardIterator local_values_begin,
     ForwardIterator local_values_end) const;
 
@@ -1652,7 +1652,7 @@ public:
   template <class OutputVector, typename number>
   void
   set_dof_values(const Vector<number> &local_values,
-                 OutputVector &        values) const;
+                 OutputVector         &values) const;
 
   /**
    * Return the interpolation of the given finite element function to the
@@ -1689,7 +1689,7 @@ public:
   void
   get_interpolated_dof_values(
     const ReadVector<Number> &values,
-    Vector<Number> &          interpolated_values,
+    Vector<Number>           &interpolated_values,
     const types::fe_index     fe_index = numbers::invalid_fe_index) const;
 
   /**
@@ -1757,7 +1757,7 @@ public:
   void
   set_dof_values_by_interpolation(
     const Vector<number> &local_values,
-    OutputVector &        values,
+    OutputVector         &values,
     const types::fe_index fe_index      = numbers::invalid_fe_index,
     const bool            perform_check = false) const;
 
@@ -1774,7 +1774,7 @@ public:
   void
   distribute_local_to_global_by_interpolation(
     const Vector<number> &local_values,
-    OutputVector &        values,
+    OutputVector         &values,
     const types::fe_index fe_index = numbers::invalid_fe_index) const;
 
   /**
@@ -1794,7 +1794,7 @@ public:
   template <typename number, typename OutputVector>
   void
   distribute_local_to_global(const Vector<number> &local_source,
-                             OutputVector &        global_destination) const;
+                             OutputVector         &global_destination) const;
 
   /**
    * Distribute a local (cell based) vector in iterator format to a global one
@@ -1814,7 +1814,7 @@ public:
   void
   distribute_local_to_global(ForwardIterator local_source_begin,
                              ForwardIterator local_source_end,
-                             OutputVector &  global_destination) const;
+                             OutputVector   &global_destination) const;
 
   /**
    * Distribute a local (cell based) vector in iterator format to a global one
@@ -1835,7 +1835,7 @@ public:
     const AffineConstraints<typename OutputVector::value_type> &constraints,
     ForwardIterator local_source_begin,
     ForwardIterator local_source_end,
-    OutputVector &  global_destination) const;
+    OutputVector   &global_destination) const;
 
   /**
    * This function does much the same as the
@@ -1855,9 +1855,9 @@ public:
   template <typename number, typename OutputMatrix, typename OutputVector>
   void
   distribute_local_to_global(const FullMatrix<number> &local_matrix,
-                             const Vector<number> &    local_vector,
-                             OutputMatrix &            global_matrix,
-                             OutputVector &            global_vector) const;
+                             const Vector<number>     &local_vector,
+                             OutputMatrix             &global_matrix,
+                             OutputVector             &global_vector) const;
 
   /**
    * @}
index 8239e7f89352039a1dcc7ce2af1424b70a20b054..43cadc9db349c8939bfd16154047de8f58678267 100644 (file)
@@ -56,7 +56,7 @@ inline DoFAccessor<structdim, dim, spacedim, level_dof_access>::DoFAccessor(
   const Triangulation<dim, spacedim> *tria,
   const int                           level,
   const int                           index,
-  const DoFHandler<dim, spacedim> *   dof_handler)
+  const DoFHandler<dim, spacedim>    *dof_handler)
   : dealii::internal::DoFAccessorImplementation::
       Inheritance<structdim, dim, spacedim>::BaseClass(tria, level, index)
   , dof_handler(const_cast<DoFHandler<dim, spacedim> *>(dof_handler))
@@ -282,7 +282,7 @@ namespace internal
                         const types::fe_index            fe_index,
                         const unsigned int               local_index,
                         const std::integral_constant<int, structdim> &,
-                        GlobalIndexType &    global_index,
+                        GlobalIndexType     &global_index,
                         const DoFPProcessor &process)
       {
         Assert(structdim == dim || obj_level == 0, ExcNotImplemented());
@@ -502,14 +502,14 @@ namespace internal
                 typename DoFProcessor,
                 typename DoFMapping>
       static DEAL_II_ALWAYS_INLINE void
-      process_object(const DoFHandler<dim, spacedim> &             dof_handler,
+      process_object(const DoFHandler<dim, spacedim>              &dof_handler,
                      const unsigned int                            obj_level,
                      const unsigned int                            obj_index,
                      const types::fe_index                         fe_index,
-                     const DoFMapping &                            mapping,
+                     const DoFMapping                             &mapping,
                      const std::integral_constant<int, structdim> &dd,
                      types::global_dof_index *&dof_indices_ptr,
-                     const DoFProcessor &      process)
+                     const DoFProcessor       &process)
       {
         Assert(structdim == dim || obj_level == 0, ExcNotImplemented());
 
@@ -548,7 +548,7 @@ namespace internal
        */
       template <int dim, int spacedim, int structdim>
       static void
-      set_dof_index(const DoFHandler<dim, spacedim> &             dof_handler,
+      set_dof_index(const DoFHandler<dim, spacedim>              &dof_handler,
                     const unsigned int                            obj_level,
                     const unsigned int                            obj_index,
                     const types::fe_index                         fe_index,
@@ -579,7 +579,7 @@ namespace internal
        */
       template <int dim, int spacedim, int structdim>
       static types::global_dof_index
-      get_dof_index(const DoFHandler<dim, spacedim> &             dof_handler,
+      get_dof_index(const DoFHandler<dim, spacedim>              &dof_handler,
                     const unsigned int                            obj_level,
                     const unsigned int                            obj_index,
                     const types::fe_index                         fe_index,
@@ -779,7 +779,7 @@ namespace internal
 
       template <typename InputVector, typename ForwardIterator>
       static void
-      extract_subvector_to(const InputVector &            values,
+      extract_subvector_to(const InputVector             &values,
                            const types::global_dof_index *cache,
                            const types::global_dof_index *cache_end,
                            ForwardIterator                local_values_begin)
@@ -815,8 +815,8 @@ namespace internal
       static void
       extract_subvector_to(
         const LinearAlgebra::TpetraWrappers::Vector<Number> &values,
-        const types::global_dof_index *                      cache_begin,
-        const types::global_dof_index *                      cache_end,
+        const types::global_dof_index                       *cache_begin,
+        const types::global_dof_index                       *cache_end,
         ForwardIterator                                      local_values_begin)
       {
         std::vector<unsigned int> sorted_indices_pos =
@@ -874,7 +874,7 @@ namespace internal
       static unsigned int
       n_dof_indices(
         const dealii::DoFAccessor<structdim, dim, spacedim, level_dof_access>
-          &                   accessor,
+                             &accessor,
         const types::fe_index fe_index_,
         const bool            count_level_dofs)
       {
@@ -998,11 +998,11 @@ namespace internal
       static void
       process_dof_indices(
         const dealii::DoFAccessor<structdim, dim, spacedim, level_dof_access>
-          &                   accessor,
+                             &accessor,
         const DoFIndicesType &const_dof_indices,
         const types::fe_index fe_index_,
-        const DoFOperation &  dof_operation,
-        const DoFProcessor &  dof_processor,
+        const DoFOperation   &dof_operation,
+        const DoFProcessor   &dof_processor,
         const bool            count_level_dofs)
       {
         const types::fe_index fe_index =
@@ -1172,8 +1172,8 @@ namespace internal
         process_vertex_dofs(DoFHandler<dim, spacedim> &dof_handler,
                             const unsigned int         vertex_index,
                             const types::fe_index      fe_index,
-                            types::global_dof_index *& dof_indices_ptr,
-                            const DoFProcessor &       dof_processor) const
+                            types::global_dof_index  *&dof_indices_ptr,
+                            const DoFProcessor        &dof_processor) const
         {
           process_object(
             dof_handler,
@@ -1198,10 +1198,10 @@ namespace internal
                      const unsigned int               obj_level,
                      const unsigned int               obj_index,
                      const types::fe_index            fe_index,
-                     const DoFMapping &               mapping,
+                     const DoFMapping                &mapping,
                      const std::integral_constant<int, structdim>,
                      types::global_dof_index *&dof_indices_ptr,
-                     const DoFProcessor &      dof_processor) const
+                     const DoFProcessor       &dof_processor) const
         {
           process_object(
             dof_handler,
@@ -1240,7 +1240,7 @@ namespace internal
                             const unsigned int         vertex_index,
                             const types::fe_index,
                             types::global_dof_index *&dof_indices_ptr,
-                            const DoFProcessor &      dof_processor) const
+                            const DoFProcessor       &dof_processor) const
         {
           const unsigned int n_indices =
             dof_handler.get_fe(0).template n_dofs_per_object<0>();
@@ -1261,10 +1261,10 @@ namespace internal
                      const unsigned int,
                      const unsigned int    obj_index,
                      const types::fe_index fe_index,
-                     const DoFMapping &    mapping,
+                     const DoFMapping     &mapping,
                      const std::integral_constant<int, structdim>,
                      types::global_dof_index *&dof_indices_ptr,
-                     const DoFProcessor &      dof_processor) const
+                     const DoFProcessor       &dof_processor) const
         {
           const unsigned int n_indices =
             dof_handler.get_fe(0).template n_dofs_per_object<structdim>();
@@ -1291,7 +1291,7 @@ namespace internal
       static void
       get_dof_indices(
         const dealii::DoFAccessor<structdim, dim, spacedim, level_dof_access>
-          &                                   accessor,
+                                             &accessor,
         std::vector<types::global_dof_index> &dof_indices,
         const types::fe_index                 fe_index)
       {
@@ -1310,7 +1310,7 @@ namespace internal
       static void
       set_dof_indices(
         const dealii::DoFAccessor<structdim, dim, spacedim, level_dof_access>
-          &                                         accessor,
+                                                   &accessor,
         const std::vector<types::global_dof_index> &dof_indices,
         const types::fe_index                       fe_index)
       {
@@ -1340,7 +1340,7 @@ namespace internal
       static void
       get_mg_dof_indices(
         const dealii::DoFAccessor<structdim, dim, spacedim, level_dof_access>
-          &                                   accessor,
+                                             &accessor,
         const int                             level,
         std::vector<types::global_dof_index> &dof_indices,
         const types::fe_index                 fe_index)
@@ -1362,7 +1362,7 @@ namespace internal
       static void
       set_mg_dof_indices(
         const dealii::DoFAccessor<structdim, dim, spacedim, level_dof_access>
-          &                                         accessor,
+                                                   &accessor,
         const int                                   level,
         const std::vector<types::global_dof_index> &dof_indices,
         const types::fe_index                       fe_index)
@@ -1422,7 +1422,7 @@ namespace internal
         const std::unique_ptr<internal::DoFHandlerImplementation::DoFLevel<dim>>
           &,
         const std::unique_ptr<internal::DoFHandlerImplementation::DoFFaces<dim>>
-          &                   mg_faces,
+                             &mg_faces,
         const unsigned int    obj_index,
         const types::fe_index fe_index,
         const unsigned int    local_index,
@@ -1444,7 +1444,7 @@ namespace internal
         const std::unique_ptr<internal::DoFHandlerImplementation::DoFLevel<3>>
           &,
         const std::unique_ptr<internal::DoFHandlerImplementation::DoFFaces<3>>
-          &                   mg_faces,
+                             &mg_faces,
         const unsigned int    obj_index,
         const types::fe_index fe_index,
         const unsigned int    local_index,
@@ -1801,10 +1801,10 @@ inline DoFAccessor<0, 1, spacedim, level_dof_access>::DoFAccessor()
 
 template <int spacedim, bool level_dof_access>
 inline DoFAccessor<0, 1, spacedim, level_dof_access>::DoFAccessor(
-  const Triangulation<1, spacedim> *                      tria,
+  const Triangulation<1, spacedim>                       *tria,
   const typename TriaAccessor<0, 1, spacedim>::VertexKind vertex_kind,
   const unsigned int                                      vertex_index,
-  const DoFHandler<1, spacedim> *                         dof_handler)
+  const DoFHandler<1, spacedim>                          *dof_handler)
   : BaseClass(tria, vertex_kind, vertex_index)
   , dof_handler(const_cast<DoFHandler<1, spacedim> *>(dof_handler))
 {}
@@ -1816,7 +1816,7 @@ inline DoFAccessor<0, 1, spacedim, level_dof_access>::DoFAccessor(
   const Triangulation<1, spacedim> *tria,
   const int                         level,
   const int                         index,
-  const DoFHandler<1, spacedim> *   dof_handler)
+  const DoFHandler<1, spacedim>    *dof_handler)
   // This is the constructor signature for "ordinary" (non-vertex)
   // accessors and we shouldn't be calling it altogether. But it is also
   // the constructor that the default-constructor of TriaRawIterator
@@ -2296,7 +2296,7 @@ inline DoFCellAccessor<dimension_, space_dimension_, level_dof_access>::
   DoFCellAccessor(const Triangulation<dimension_, space_dimension_> *tria,
                   const int                                          level,
                   const int                                          index,
-                  const AccessorData *                               local_data)
+                  const AccessorData                                *local_data)
   : DoFAccessor<dimension_, dimension_, space_dimension_, level_dof_access>(
       tria,
       level,
@@ -2510,7 +2510,7 @@ template <class InputVector, typename number>
 inline void
 DoFCellAccessor<dimension_, space_dimension_, level_dof_access>::get_dof_values(
   const InputVector &values,
-  Vector<number> &   local_values) const
+  Vector<number>    &local_values) const
 {
   get_dof_values(values, local_values.begin(), local_values.end());
 }
@@ -2561,7 +2561,7 @@ template <class InputVector, typename ForwardIterator>
 inline void
 DoFCellAccessor<dimension_, space_dimension_, level_dof_access>::get_dof_values(
   const AffineConstraints<typename InputVector::value_type> &constraints,
-  const InputVector &                                        values,
+  const InputVector                                         &values,
   ForwardIterator                                            local_values_begin,
   ForwardIterator local_values_end) const
 {
@@ -2594,7 +2594,7 @@ template <class OutputVector, typename number>
 inline void
 DoFCellAccessor<dimension_, space_dimension_, level_dof_access>::set_dof_values(
   const Vector<number> &local_values,
-  OutputVector &        values) const
+  OutputVector         &values) const
 {
   Assert(this->is_artificial() == false,
          ExcMessage("Can't ask for DoF indices on artificial cells."));
@@ -2808,7 +2808,7 @@ template <typename number, typename OutputVector>
 inline void
 DoFCellAccessor<dimension_, space_dimension_, level_dof_access>::
   distribute_local_to_global(const Vector<number> &local_source,
-                             OutputVector &        global_destination) const
+                             OutputVector         &global_destination) const
 {
   this->distribute_local_to_global(local_source.begin(),
                                    local_source.end(),
@@ -2823,7 +2823,7 @@ inline void
 DoFCellAccessor<dimension_, space_dimension_, level_dof_access>::
   distribute_local_to_global(ForwardIterator local_source_begin,
                              ForwardIterator local_source_end,
-                             OutputVector &  global_destination) const
+                             OutputVector   &global_destination) const
 {
   Assert(this->dof_handler != nullptr,
          (typename std::decay_t<decltype(*this)>::ExcInvalidObject()));
@@ -2862,7 +2862,7 @@ DoFCellAccessor<dimension_, space_dimension_, level_dof_access>::
     const AffineConstraints<typename OutputVector::value_type> &constraints,
     ForwardIterator local_source_begin,
     ForwardIterator local_source_end,
-    OutputVector &  global_destination) const
+    OutputVector   &global_destination) const
 {
   Assert(this->dof_handler != nullptr,
          (typename std::decay_t<decltype(*this)>::ExcInvalidObject()));
@@ -2893,7 +2893,7 @@ template <typename number, typename OutputMatrix>
 inline void
 DoFCellAccessor<dimension_, space_dimension_, level_dof_access>::
   distribute_local_to_global(const FullMatrix<number> &local_source,
-                             OutputMatrix &            global_destination) const
+                             OutputMatrix             &global_destination) const
 {
   Assert(this->dof_handler != nullptr,
          (typename std::decay_t<decltype(*this)>::ExcInvalidObject()));
@@ -2930,9 +2930,9 @@ template <typename number, typename OutputMatrix, typename OutputVector>
 inline void
 DoFCellAccessor<dimension_, space_dimension_, level_dof_access>::
   distribute_local_to_global(const FullMatrix<number> &local_matrix,
-                             const Vector<number> &    local_vector,
-                             OutputMatrix &            global_matrix,
-                             OutputVector &            global_vector) const
+                             const Vector<number>     &local_vector,
+                             OutputMatrix             &global_matrix,
+                             OutputVector             &global_vector) const
 {
   Assert(this->dof_handler != nullptr,
          (typename std::decay_t<decltype(*this)>::ExcInvalidObject()));
index c767638f1da0a8c2cbc2bd0cbf40a65370453f07..6a88a13875cf05cdfbbd45cc216c0e509f62ba1a 100644 (file)
@@ -671,7 +671,7 @@ namespace DoFRenumbering
    */
   template <int dim, int spacedim>
   void
-  component_wise(DoFHandler<dim, spacedim> &      dof_handler,
+  component_wise(DoFHandler<dim, spacedim>       &dof_handler,
                  const std::vector<unsigned int> &target_component =
                    std::vector<unsigned int>());
 
@@ -684,7 +684,7 @@ namespace DoFRenumbering
    */
   template <int dim, int spacedim>
   void
-  component_wise(DoFHandler<dim, spacedim> &      dof_handler,
+  component_wise(DoFHandler<dim, spacedim>       &dof_handler,
                  const unsigned int               level,
                  const std::vector<unsigned int> &target_component =
                    std::vector<unsigned int>());
@@ -697,7 +697,7 @@ namespace DoFRenumbering
   template <int dim, int spacedim, typename CellIterator>
   types::global_dof_index
   compute_component_wise(std::vector<types::global_dof_index> &new_dof_indices,
-                         const CellIterator &                  start,
+                         const CellIterator                   &start,
                          const std_cxx20::type_identity_t<CellIterator> &end,
                          const std::vector<unsigned int> &target_component,
                          const bool                       is_level_operation);
@@ -752,8 +752,8 @@ namespace DoFRenumbering
   template <int dim, int spacedim, class ITERATOR, class ENDITERATOR>
   types::global_dof_index
   compute_block_wise(std::vector<types::global_dof_index> &new_dof_indices,
-                     const ITERATOR &                      start,
-                     const ENDITERATOR &                   end,
+                     const ITERATOR                       &start,
+                     const ENDITERATOR                    &end,
                      bool                                  is_level_operation);
 
   /**
@@ -912,7 +912,7 @@ namespace DoFRenumbering
   compute_cell_wise(
     std::vector<types::global_dof_index> &renumbering,
     std::vector<types::global_dof_index> &inverse_renumbering,
-    const DoFHandler<dim, spacedim> &     dof_handler,
+    const DoFHandler<dim, spacedim>      &dof_handler,
     const std::vector<typename DoFHandler<dim, spacedim>::active_cell_iterator>
       &cell_order);
 
@@ -937,7 +937,7 @@ namespace DoFRenumbering
   compute_cell_wise(
     std::vector<types::global_dof_index> &renumbering,
     std::vector<types::global_dof_index> &inverse_renumbering,
-    const DoFHandler<dim, spacedim> &     dof_handler,
+    const DoFHandler<dim, spacedim>      &dof_handler,
     const unsigned int                    level,
     const std::vector<typename DoFHandler<dim, spacedim>::level_cell_iterator>
       &cell_order);
@@ -1005,8 +1005,8 @@ namespace DoFRenumbering
   void
   compute_downstream(std::vector<types::global_dof_index> &new_dof_indices,
                      std::vector<types::global_dof_index> &reverse,
-                     const DoFHandler<dim, spacedim> &     dof_handler,
-                     const Tensor<1, spacedim> &           direction,
+                     const DoFHandler<dim, spacedim>      &dof_handler,
+                     const Tensor<1, spacedim>            &direction,
                      const bool dof_wise_renumbering);
 
   /**
@@ -1018,9 +1018,9 @@ namespace DoFRenumbering
   void
   compute_downstream(std::vector<types::global_dof_index> &new_dof_indices,
                      std::vector<types::global_dof_index> &reverse,
-                     const DoFHandler<dim, spacedim> &     dof_handler,
+                     const DoFHandler<dim, spacedim>      &dof_handler,
                      const unsigned int                    level,
-                     const Tensor<1, spacedim> &           direction,
+                     const Tensor<1, spacedim>            &direction,
                      const bool dof_wise_renumbering);
 
   /**
@@ -1034,7 +1034,7 @@ namespace DoFRenumbering
   template <int dim, int spacedim>
   void
   clockwise_dg(DoFHandler<dim, spacedim> &dof_handler,
-               const Point<spacedim> &    center,
+               const Point<spacedim>     &center,
                const bool                 counter = false);
 
   /**
@@ -1045,7 +1045,7 @@ namespace DoFRenumbering
   void
   clockwise_dg(DoFHandler<dim, spacedim> &dof_handler,
                const unsigned int         level,
-               const Point<spacedim> &    center,
+               const Point<spacedim>     &center,
                const bool                 counter = false);
 
   /**
@@ -1056,8 +1056,8 @@ namespace DoFRenumbering
   template <int dim, int spacedim>
   void
   compute_clockwise_dg(std::vector<types::global_dof_index> &new_dof_indices,
-                       const DoFHandler<dim, spacedim> &     dof_handler,
-                       const Point<spacedim> &               center,
+                       const DoFHandler<dim, spacedim>      &dof_handler,
+                       const Point<spacedim>                &center,
                        const bool                            counter);
 
   /**
@@ -1081,7 +1081,7 @@ namespace DoFRenumbering
   template <int dim, int spacedim>
   void
   sort_selected_dofs_back(DoFHandler<dim, spacedim> &dof_handler,
-                          const std::vector<bool> &  selected_dofs);
+                          const std::vector<bool>   &selected_dofs);
 
   /**
    * Sort those degrees of freedom which are tagged with @p true in the @p
@@ -1096,7 +1096,7 @@ namespace DoFRenumbering
   template <int dim, int spacedim>
   void
   sort_selected_dofs_back(DoFHandler<dim, spacedim> &dof_handler,
-                          const std::vector<bool> &  selected_dofs,
+                          const std::vector<bool>   &selected_dofs,
                           const unsigned int         level);
 
   /**
@@ -1111,8 +1111,8 @@ namespace DoFRenumbering
   void
   compute_sort_selected_dofs_back(
     std::vector<types::global_dof_index> &new_dof_indices,
-    const DoFHandler<dim, spacedim> &     dof_handler,
-    const std::vector<bool> &             selected_dofs);
+    const DoFHandler<dim, spacedim>      &dof_handler,
+    const std::vector<bool>              &selected_dofs);
 
   /**
    * This function computes the renumbering vector on each level needed by the
@@ -1127,8 +1127,8 @@ namespace DoFRenumbering
   void
   compute_sort_selected_dofs_back(
     std::vector<types::global_dof_index> &new_dof_indices,
-    const DoFHandler<dim, spacedim> &     dof_handler,
-    const std::vector<bool> &             selected_dofs,
+    const DoFHandler<dim, spacedim>      &dof_handler,
+    const std::vector<bool>              &selected_dofs,
     const unsigned int                    level);
 
   /**
@@ -1165,7 +1165,7 @@ namespace DoFRenumbering
   template <int dim, int spacedim>
   void
   compute_random(std::vector<types::global_dof_index> &new_dof_indices,
-                 const DoFHandler<dim, spacedim> &     dof_handler);
+                 const DoFHandler<dim, spacedim>      &dof_handler);
 
   /**
    * Compute the renumbering vector needed by the random() function. Same
@@ -1175,7 +1175,7 @@ namespace DoFRenumbering
   template <int dim, int spacedim>
   void
   compute_random(std::vector<types::global_dof_index> &new_dof_indices,
-                 const DoFHandler<dim, spacedim> &     dof_handler,
+                 const DoFHandler<dim, spacedim>      &dof_handler,
                  const unsigned int                    level);
 
   /**
@@ -1221,7 +1221,7 @@ namespace DoFRenumbering
   template <int dim, int spacedim>
   void
   compute_subdomain_wise(std::vector<types::global_dof_index> &new_dof_indices,
-                         const DoFHandler<dim, spacedim> &     dof_handler);
+                         const DoFHandler<dim, spacedim>      &dof_handler);
 
   /**
    * @}
@@ -1271,7 +1271,7 @@ namespace DoFRenumbering
   void
   compute_support_point_wise(
     std::vector<types::global_dof_index> &new_dof_indices,
-    const DoFHandler<dim, spacedim> &     dof_handler);
+    const DoFHandler<dim, spacedim>      &dof_handler);
 
   /**
    * @}
@@ -1320,7 +1320,7 @@ namespace DoFRenumbering
             typename VectorizedArrayType>
   void
   matrix_free_data_locality(
-    DoFHandler<dim, spacedim> &                         dof_handler,
+    DoFHandler<dim, spacedim>                          &dof_handler,
     const MatrixFree<dim, Number, VectorizedArrayType> &matrix_free);
 
   /**
@@ -1335,9 +1335,9 @@ namespace DoFRenumbering
   template <int dim, int spacedim, typename Number, typename AdditionalDataType>
   void
   matrix_free_data_locality(
-    DoFHandler<dim, spacedim> &      dof_handler,
+    DoFHandler<dim, spacedim>       &dof_handler,
     const AffineConstraints<Number> &constraints,
-    const AdditionalDataType &       matrix_free_additional_data);
+    const AdditionalDataType        &matrix_free_additional_data);
 
   /**
    * Compute the renumbering vector needed by the matrix_free_data_locality()
@@ -1351,7 +1351,7 @@ namespace DoFRenumbering
             typename VectorizedArrayType>
   std::vector<types::global_dof_index>
   compute_matrix_free_data_locality(
-    const DoFHandler<dim, spacedim> &                   dof_handler,
+    const DoFHandler<dim, spacedim>                    &dof_handler,
     const MatrixFree<dim, Number, VectorizedArrayType> &matrix_free);
 
   /**
@@ -1365,7 +1365,7 @@ namespace DoFRenumbering
   compute_matrix_free_data_locality(
     const DoFHandler<dim, spacedim> &dof_handler,
     const AffineConstraints<Number> &constraints,
-    const AdditionalDataType &       matrix_free_additional_data);
+    const AdditionalDataType        &matrix_free_additional_data);
 
   /**
    * @}
index 722400f2dccc9bc4fe8f56672c68b4dfc5f078e9..ce4ac531f09c2b2a668e304ebbf21d6b0e74b0c3 100644 (file)
@@ -282,7 +282,7 @@ namespace DoFTools
   Table<2, Coupling>
   dof_couplings_from_component_couplings(
     const FiniteElement<dim, spacedim> &fe,
-    const Table<2, Coupling> &          component_couplings);
+    const Table<2, Coupling>           &component_couplings);
 
   /**
    * Same function as above for a collection of finite elements, returning a
@@ -295,7 +295,7 @@ namespace DoFTools
   std::vector<Table<2, Coupling>>
   dof_couplings_from_component_couplings(
     const hp::FECollection<dim, spacedim> &fe,
-    const Table<2, Coupling> &             component_couplings);
+    const Table<2, Coupling>              &component_couplings);
   /** @} */
 
   /**
@@ -423,7 +423,7 @@ namespace DoFTools
   void
   make_sparsity_pattern(
     const DoFHandler<dim, spacedim> &dof_handler,
-    SparsityPatternBase &            sparsity_pattern,
+    SparsityPatternBase             &sparsity_pattern,
     const AffineConstraints<number> &constraints           = {},
     const bool                       keep_constrained_dofs = true,
     const types::subdomain_id subdomain_id = numbers::invalid_subdomain_id);
@@ -497,8 +497,8 @@ namespace DoFTools
   void
   make_sparsity_pattern(
     const DoFHandler<dim, spacedim> &dof_handler,
-    const Table<2, Coupling> &       coupling,
-    SparsityPatternBase &            sparsity_pattern,
+    const Table<2, Coupling>        &coupling,
+    SparsityPatternBase             &sparsity_pattern,
     const AffineConstraints<number> &constraints           = {},
     const bool                       keep_constrained_dofs = true,
     const types::subdomain_id subdomain_id = numbers::invalid_subdomain_id);
@@ -527,7 +527,7 @@ namespace DoFTools
   void
   make_sparsity_pattern(const DoFHandler<dim, spacedim> &dof_row,
                         const DoFHandler<dim, spacedim> &dof_col,
-                        SparsityPatternBase &            sparsity);
+                        SparsityPatternBase             &sparsity);
 
   /**
    * Compute which entries of a matrix built on the given @p dof_handler may
@@ -577,7 +577,7 @@ namespace DoFTools
   template <int dim, int spacedim>
   void
   make_flux_sparsity_pattern(const DoFHandler<dim, spacedim> &dof_handler,
-                             SparsityPatternBase &            sparsity_pattern);
+                             SparsityPatternBase             &sparsity_pattern);
 
   /**
    * This function does essentially the same as the other
@@ -591,7 +591,7 @@ namespace DoFTools
   void
   make_flux_sparsity_pattern(
     const DoFHandler<dim, spacedim> &dof_handler,
-    SparsityPatternBase &            sparsity_pattern,
+    SparsityPatternBase             &sparsity_pattern,
     const AffineConstraints<number> &constraints,
     const bool                       keep_constrained_dofs = true,
     const types::subdomain_id subdomain_id = numbers::invalid_subdomain_id);
@@ -620,9 +620,9 @@ namespace DoFTools
   void
   make_flux_sparsity_pattern(
     const DoFHandler<dim, spacedim> &dof,
-    SparsityPatternBase &            sparsity,
-    const Table<2, Coupling> &       cell_integrals_mask,
-    const Table<2, Coupling> &       face_integrals_mask,
+    SparsityPatternBase             &sparsity,
+    const Table<2, Coupling>        &cell_integrals_mask,
+    const Table<2, Coupling>        &face_integrals_mask,
     const types::subdomain_id subdomain_id = numbers::invalid_subdomain_id);
 
 
@@ -656,11 +656,11 @@ namespace DoFTools
   void
   make_flux_sparsity_pattern(
     const DoFHandler<dim, spacedim> &dof,
-    SparsityPatternBase &            sparsity,
+    SparsityPatternBase             &sparsity,
     const AffineConstraints<number> &constraints,
     const bool                       keep_constrained_dofs,
-    const Table<2, Coupling> &       couplings,
-    const Table<2, Coupling> &       face_couplings,
+    const Table<2, Coupling>        &couplings,
+    const Table<2, Coupling>        &face_couplings,
     const types::subdomain_id        subdomain_id,
     const std::function<
       bool(const typename DoFHandler<dim, spacedim>::active_cell_iterator &,
@@ -679,9 +679,9 @@ namespace DoFTools
   template <int dim, int spacedim>
   void
   make_boundary_sparsity_pattern(
-    const DoFHandler<dim, spacedim> &           dof,
+    const DoFHandler<dim, spacedim>            &dof,
     const std::vector<types::global_dof_index> &dof_to_boundary_mapping,
-    SparsityPatternBase &                       sparsity_pattern);
+    SparsityPatternBase                        &sparsity_pattern);
 
   /**
    * This function is a variation of the previous
@@ -705,9 +705,9 @@ namespace DoFTools
   make_boundary_sparsity_pattern(
     const DoFHandler<dim, spacedim> &dof,
     const std::map<types::boundary_id, const Function<spacedim, number> *>
-      &                                         boundary_ids,
+                                               &boundary_ids,
     const std::vector<types::global_dof_index> &dof_to_boundary_mapping,
-    SparsityPatternBase &                       sparsity);
+    SparsityPatternBase                        &sparsity);
 
   /**
    * @}
@@ -759,7 +759,7 @@ namespace DoFTools
   template <int dim, int spacedim, typename number>
   void
   make_hanging_node_constraints(const DoFHandler<dim, spacedim> &dof_handler,
-                                AffineConstraints<number> &      constraints);
+                                AffineConstraints<number>       &constraints);
 
   /**
    * This function is used when different variables in a problem are
@@ -831,12 +831,12 @@ namespace DoFTools
   template <int dim, int spacedim>
   void
   compute_intergrid_constraints(
-    const DoFHandler<dim, spacedim> &              coarse_grid,
+    const DoFHandler<dim, spacedim>               &coarse_grid,
     const unsigned int                             coarse_component,
-    const DoFHandler<dim, spacedim> &              fine_grid,
+    const DoFHandler<dim, spacedim>               &fine_grid,
     const unsigned int                             fine_component,
     const InterGridMap<DoFHandler<dim, spacedim>> &coarse_to_fine_grid_map,
-    AffineConstraints<double> &                    constraints);
+    AffineConstraints<double>                     &constraints);
 
 
   /**
@@ -858,9 +858,9 @@ namespace DoFTools
   template <int dim, int spacedim>
   void
   compute_intergrid_transfer_representation(
-    const DoFHandler<dim, spacedim> &              coarse_grid,
+    const DoFHandler<dim, spacedim>               &coarse_grid,
     const unsigned int                             coarse_component,
-    const DoFHandler<dim, spacedim> &              fine_grid,
+    const DoFHandler<dim, spacedim>               &fine_grid,
     const unsigned int                             fine_component,
     const InterGridMap<DoFHandler<dim, spacedim>> &coarse_to_fine_grid_map,
     std::vector<std::map<types::global_dof_index, float>>
@@ -1043,14 +1043,14 @@ namespace DoFTools
   template <typename FaceIterator, typename number>
   void
   make_periodicity_constraints(
-    const FaceIterator &                            face_1,
+    const FaceIterator                             &face_1,
     const std_cxx20::type_identity_t<FaceIterator> &face_2,
-    AffineConstraints<number> &                     constraints,
-    const ComponentMask &                           component_mask   = {},
+    AffineConstraints<number>                      &constraints,
+    const ComponentMask                            &component_mask   = {},
     const bool                                      face_orientation = true,
     const bool                                      face_flip        = false,
     const bool                                      face_rotation    = false,
-    const FullMatrix<double> &       matrix = FullMatrix<double>(),
+    const FullMatrix<double>        &matrix = FullMatrix<double>(),
     const std::vector<unsigned int> &first_vector_components =
       std::vector<unsigned int>(),
     const number periodicity_factor = 1.);
@@ -1080,8 +1080,8 @@ namespace DoFTools
   make_periodicity_constraints(
     const std::vector<GridTools::PeriodicFacePair<
       typename DoFHandler<dim, spacedim>::cell_iterator>> &periodic_faces,
-    AffineConstraints<number> &                            constraints,
-    const ComponentMask &                                  component_mask = {},
+    AffineConstraints<number>                             &constraints,
+    const ComponentMask                                   &component_mask = {},
     const std::vector<unsigned int> &first_vector_components =
       std::vector<unsigned int>(),
     const number periodicity_factor = 1.);
@@ -1123,7 +1123,7 @@ namespace DoFTools
                                const types::boundary_id         b_id1,
                                const types::boundary_id         b_id2,
                                const unsigned int               direction,
-                               AffineConstraints<number> &      constraints,
+                               AffineConstraints<number>       &constraints,
                                const ComponentMask &component_mask     = {},
                                const number         periodicity_factor = 1.);
 
@@ -1159,7 +1159,7 @@ namespace DoFTools
   make_periodicity_constraints(const DoFHandler<dim, spacedim> &dof_handler,
                                const types::boundary_id         b_id,
                                const unsigned int               direction,
-                               AffineConstraints<number> &      constraints,
+                               AffineConstraints<number>       &constraints,
                                const ComponentMask &component_mask     = {},
                                const number         periodicity_factor = 1.);
 
@@ -1219,7 +1219,7 @@ namespace DoFTools
   template <int dim, int spacedim>
   IndexSet
   extract_dofs(const DoFHandler<dim, spacedim> &dof_handler,
-               const ComponentMask &            component_mask);
+               const ComponentMask             &component_mask);
 
   /**
    * This function is the equivalent to the DoFTools::extract_dofs() functions
@@ -1247,7 +1247,7 @@ namespace DoFTools
   template <int dim, int spacedim>
   IndexSet
   extract_dofs(const DoFHandler<dim, spacedim> &dof_handler,
-               const BlockMask &                block_mask);
+               const BlockMask                 &block_mask);
 
   /**
    * Do the same thing as the corresponding extract_dofs() function for one
@@ -1257,8 +1257,8 @@ namespace DoFTools
   void
   extract_level_dofs(const unsigned int               level,
                      const DoFHandler<dim, spacedim> &dof,
-                     const ComponentMask &            component_mask,
-                     std::vector<bool> &              selected_dofs);
+                     const ComponentMask             &component_mask,
+                     std::vector<bool>               &selected_dofs);
 
   /**
    * Do the same thing as the corresponding extract_dofs() function for one
@@ -1268,8 +1268,8 @@ namespace DoFTools
   void
   extract_level_dofs(const unsigned int               level,
                      const DoFHandler<dim, spacedim> &dof,
-                     const BlockMask &                component_mask,
-                     std::vector<bool> &              selected_dofs);
+                     const BlockMask                 &component_mask,
+                     std::vector<bool>               &selected_dofs);
 
   /**
    * Extract all degrees of freedom which are at the boundary and belong to
@@ -1315,8 +1315,8 @@ namespace DoFTools
    */
   template <int dim, int spacedim>
   IndexSet
-  extract_boundary_dofs(const DoFHandler<dim, spacedim> &   dof_handler,
-                        const ComponentMask &               component_mask = {},
+  extract_boundary_dofs(const DoFHandler<dim, spacedim>    &dof_handler,
+                        const ComponentMask                &component_mask = {},
                         const std::set<types::boundary_id> &boundary_ids = {});
 
   /**
@@ -1338,9 +1338,9 @@ namespace DoFTools
   template <int dim, int spacedim>
   void
   extract_dofs_with_support_on_boundary(
-    const DoFHandler<dim, spacedim> &   dof_handler,
-    const ComponentMask &               component_mask,
-    std::vector<bool> &                 selected_dofs,
+    const DoFHandler<dim, spacedim>    &dof_handler,
+    const ComponentMask                &component_mask,
+    std::vector<bool>                  &selected_dofs,
     const std::set<types::boundary_id> &boundary_ids =
       std::set<types::boundary_id>());
 
@@ -1377,7 +1377,7 @@ namespace DoFTools
     const DoFHandler<dim, spacedim> &dof_handler,
     const std::function<
       bool(const typename DoFHandler<dim, spacedim>::active_cell_iterator &)>
-      &                              predicate,
+                                    &predicate,
     const AffineConstraints<number> &constraints = {});
 
   /**
@@ -1418,8 +1418,8 @@ namespace DoFTools
   template <int dim, int spacedim>
   void
   extract_constant_modes(const DoFHandler<dim, spacedim> &dof_handler,
-                         const ComponentMask &            component_mask,
-                         std::vector<std::vector<bool>> constant_modes);
+                         const ComponentMask             &component_mask,
+                         std::vector<std::vector<bool>>  &constant_modes);
   /** @} */
 
   /**
@@ -1513,8 +1513,8 @@ namespace DoFTools
   map_boundary_to_bulk_dof_iterators(
     const std::map<typename Triangulation<dim - 1, spacedim>::cell_iterator,
                    typename Triangulation<dim, spacedim>::face_iterator>
-      &                                  c1_to_c0,
-    const DoFHandler<dim, spacedim> &    c0_dh,
+                                        &c1_to_c0,
+    const DoFHandler<dim, spacedim>     &c0_dh,
     const DoFHandler<dim - 1, spacedim> &c1_dh);
 
   /**
@@ -1538,7 +1538,7 @@ namespace DoFTools
   void
   extract_subdomain_dofs(const DoFHandler<dim, spacedim> &dof_handler,
                          const types::subdomain_id        subdomain_id,
-                         std::vector<bool> &              selected_dofs);
+                         std::vector<bool>               &selected_dofs);
 
   /**
    * Extract the set of global DoF indices that are active on the current
@@ -1577,7 +1577,7 @@ namespace DoFTools
   template <int dim, int spacedim>
   void
   extract_locally_active_dofs(const DoFHandler<dim, spacedim> &dof_handler,
-                              IndexSet &                       dof_set);
+                              IndexSet                        &dof_set);
 
   /**
    * Same function as above but for a certain (multigrid-)level.
@@ -1603,7 +1603,7 @@ namespace DoFTools
   void
   extract_locally_active_level_dofs(
     const DoFHandler<dim, spacedim> &dof_handler,
-    IndexSet &                       dof_set,
+    IndexSet                        &dof_set,
     const unsigned int               level);
 
   /**
@@ -1632,7 +1632,7 @@ namespace DoFTools
   template <int dim, int spacedim>
   void
   extract_locally_relevant_dofs(const DoFHandler<dim, spacedim> &dof_handler,
-                                IndexSet &                       dof_set);
+                                IndexSet                        &dof_set);
 
   /**
    * Extract the set of locally owned DoF indices for each component within the
@@ -1706,7 +1706,7 @@ namespace DoFTools
   extract_locally_relevant_level_dofs(
     const DoFHandler<dim, spacedim> &dof_handler,
     const unsigned int               level,
-    IndexSet &                       dof_set);
+    IndexSet                        &dof_set);
 
 
   /**
@@ -1741,7 +1741,7 @@ namespace DoFTools
    */
   template <int dim, int spacedim>
   void
-  get_subdomain_association(const DoFHandler<dim, spacedim> dof_handler,
+  get_subdomain_association(const DoFHandler<dim, spacedim>  &dof_handler,
                             std::vector<types::subdomain_id> &subdomain);
 
   /**
@@ -1799,7 +1799,7 @@ namespace DoFTools
   count_dofs_with_subdomain_association(
     const DoFHandler<dim, spacedim> &dof_handler,
     const types::subdomain_id        subdomain,
-    std::vector<unsigned int> &      n_dofs_on_subdomain);
+    std::vector<unsigned int>       &n_dofs_on_subdomain);
 
   /**
    * Return a set of indices that denotes the degrees of freedom that live on
@@ -1911,10 +1911,10 @@ namespace DoFTools
    */
   template <int dim, int spacedim>
   void
-  make_cell_patches(SparsityPattern &                block_list,
+  make_cell_patches(SparsityPattern                 &block_list,
                     const DoFHandler<dim, spacedim> &dof_handler,
                     const unsigned int               level,
-                    const std::vector<bool> &        selected_dofs = {},
+                    const std::vector<bool>         &selected_dofs = {},
                     const types::global_dof_index    offset        = 0);
 
   /**
@@ -1970,7 +1970,7 @@ namespace DoFTools
    */
   template <int dim, int spacedim>
   std::vector<unsigned int>
-  make_vertex_patches(SparsityPattern &                block_list,
+  make_vertex_patches(SparsityPattern                 &block_list,
                       const DoFHandler<dim, spacedim> &dof_handler,
                       const unsigned int               level,
                       const bool                       interior_dofs_only,
@@ -1995,7 +1995,7 @@ namespace DoFTools
    */
   template <int dim, int spacedim>
   std::vector<unsigned int>
-  make_vertex_patches(SparsityPattern &                block_list,
+  make_vertex_patches(SparsityPattern                 &block_list,
                       const DoFHandler<dim, spacedim> &dof_handler,
                       const unsigned int               level,
                       const BlockMask &exclude_boundary_dofs  = BlockMask(),
@@ -2043,7 +2043,7 @@ namespace DoFTools
    */
   template <int dim, int spacedim>
   void
-  make_child_patches(SparsityPattern &                block_list,
+  make_child_patches(SparsityPattern                 &block_list,
                      const DoFHandler<dim, spacedim> &dof_handler,
                      const unsigned int               level,
                      const bool                       interior_dofs_only,
@@ -2070,7 +2070,7 @@ namespace DoFTools
    */
   template <int dim, int spacedim>
   void
-  make_single_patch(SparsityPattern &                block_list,
+  make_single_patch(SparsityPattern                 &block_list,
                     const DoFHandler<dim, spacedim> &dof_handler,
                     const unsigned int               level,
                     const bool interior_dofs_only = false);
@@ -2164,7 +2164,7 @@ namespace DoFTools
   template <int dim, int spacedim>
   DEAL_II_DEPRECATED void
   get_active_fe_indices(const DoFHandler<dim, spacedim> &dof_handler,
-                        std::vector<unsigned int> &      active_fe_indices);
+                        std::vector<unsigned int>       &active_fe_indices);
 
   /**
    * Count how many degrees of freedom live on a set of cells (i.e., a patch)
@@ -2223,7 +2223,7 @@ namespace DoFTools
    */
   template <int dim, int spacedim>
   void
-  map_dof_to_boundary_indices(const DoFHandler<dim, spacedim> &     dof_handler,
+  map_dof_to_boundary_indices(const DoFHandler<dim, spacedim>      &dof_handler,
                               std::vector<types::global_dof_index> &mapping);
 
   /**
@@ -2238,7 +2238,7 @@ namespace DoFTools
    */
   template <int dim, int spacedim>
   void
-  map_dof_to_boundary_indices(const DoFHandler<dim, spacedim> &   dof_handler,
+  map_dof_to_boundary_indices(const DoFHandler<dim, spacedim>    &dof_handler,
                               const std::set<types::boundary_id> &boundary_ids,
                               std::vector<types::global_dof_index> &mapping);
 
@@ -2272,10 +2272,10 @@ namespace DoFTools
    */
   template <int dim, int spacedim>
   void
-  map_dofs_to_support_points(const Mapping<dim, spacedim> &   mapping,
+  map_dofs_to_support_points(const Mapping<dim, spacedim>    &mapping,
                              const DoFHandler<dim, spacedim> &dof_handler,
-                             std::vector<Point<spacedim>> &   support_points,
-                             const ComponentMask &            mask = {});
+                             std::vector<Point<spacedim>>    &support_points,
+                             const ComponentMask             &mask = {});
 
   /**
    * Same as the previous function but for the hp-case.
@@ -2284,9 +2284,9 @@ namespace DoFTools
   void
   map_dofs_to_support_points(
     const hp::MappingCollection<dim, spacedim> &mapping,
-    const DoFHandler<dim, spacedim> &           dof_handler,
-    std::vector<Point<spacedim>> &              support_points,
-    const ComponentMask &                       mask = {});
+    const DoFHandler<dim, spacedim>            &dof_handler,
+    std::vector<Point<spacedim>>               &support_points,
+    const ComponentMask                        &mask = {});
 
   /**
    * This function is a version of the above map_dofs_to_support_points
@@ -2319,9 +2319,9 @@ namespace DoFTools
    */
   template <int dim, int spacedim>
   std::map<types::global_dof_index, Point<spacedim>>
-  map_dofs_to_support_points(const Mapping<dim, spacedim> &   mapping,
+  map_dofs_to_support_points(const Mapping<dim, spacedim>    &mapping,
                              const DoFHandler<dim, spacedim> &dof_handler,
-                             const ComponentMask &            mask = {});
+                             const ComponentMask             &mask = {});
 
   /**
    * Same as the previous function but for the hp-case.
@@ -2330,8 +2330,8 @@ namespace DoFTools
   std::map<types::global_dof_index, Point<spacedim>>
   map_dofs_to_support_points(
     const hp::MappingCollection<dim, spacedim> &mapping,
-    const DoFHandler<dim, spacedim> &           dof_handler,
-    const ComponentMask &                       mask = {});
+    const DoFHandler<dim, spacedim>            &dof_handler,
+    const ComponentMask                        &mask = {});
 
   /**
    * A version of the function of same name that returns the map via its third
@@ -2341,10 +2341,10 @@ namespace DoFTools
   template <int dim, int spacedim>
   DEAL_II_DEPRECATED void
   map_dofs_to_support_points(
-    const Mapping<dim, spacedim> &                      mapping,
-    const DoFHandler<dim, spacedim> &                   dof_handler,
+    const Mapping<dim, spacedim>                       &mapping,
+    const DoFHandler<dim, spacedim>                    &dof_handler,
     std::map<types::global_dof_index, Point<spacedim>> &support_points,
-    const ComponentMask &                               mask = {});
+    const ComponentMask                                &mask = {});
 
   /**
    * A version of the function of same name that returns the map via its third
@@ -2354,10 +2354,10 @@ namespace DoFTools
   template <int dim, int spacedim>
   DEAL_II_DEPRECATED void
   map_dofs_to_support_points(
-    const hp::MappingCollection<dim, spacedim> &        mapping,
-    const DoFHandler<dim, spacedim> &                   dof_handler,
+    const hp::MappingCollection<dim, spacedim>         &mapping,
+    const DoFHandler<dim, spacedim>                    &dof_handler,
     std::map<types::global_dof_index, Point<spacedim>> &support_points,
-    const ComponentMask &                               mask = {});
+    const ComponentMask                                &mask = {});
 
 
   /**
@@ -2383,7 +2383,7 @@ namespace DoFTools
   template <int dim, int spacedim, class Comp>
   void
   map_support_points_to_dofs(
-    const Mapping<dim, spacedim> &   mapping,
+    const Mapping<dim, spacedim>    &mapping,
     const DoFHandler<dim, spacedim> &dof_handler,
     std::map<Point<spacedim>, types::global_dof_index, Comp>
       &point_to_index_map);
@@ -2427,8 +2427,8 @@ namespace DoFTools
   template <int dim, int spacedim, typename Number>
   void
   distribute_cell_to_dof_vector(const DoFHandler<dim, spacedim> &dof_handler,
-                                const Vector<Number> &           cell_data,
-                                Vector<double> &                 dof_data,
+                                const Vector<Number>            &cell_data,
+                                Vector<double>                  &dof_data,
                                 const unsigned int               component = 0);
 
 
@@ -2512,7 +2512,7 @@ namespace DoFTools
   template <int spacedim>
   void
   write_gnuplot_dof_support_point_info(
-    std::ostream &                                            out,
+    std::ostream                                             &out,
     const std::map<types::global_dof_index, Point<spacedim>> &support_points);
 
 
@@ -2561,8 +2561,8 @@ namespace DoFTools
   make_zero_boundary_constraints(
     const DoFHandler<dim, spacedim> &dof,
     const types::boundary_id         boundary_id,
-    AffineConstraints<number> &      zero_boundary_constraints,
-    const ComponentMask &            component_mask = {});
+    AffineConstraints<number>       &zero_boundary_constraints,
+    const ComponentMask             &component_mask = {});
 
   /**
    * Do the same as the previous function, except do it for all parts of the
@@ -2578,8 +2578,8 @@ namespace DoFTools
   void
   make_zero_boundary_constraints(
     const DoFHandler<dim, spacedim> &dof,
-    AffineConstraints<number> &      zero_boundary_constraints,
-    const ComponentMask &            component_mask = {});
+    AffineConstraints<number>       &zero_boundary_constraints,
+    const ComponentMask             &component_mask = {});
 
   /**
    * @}
@@ -2672,7 +2672,7 @@ namespace DoFTools
   template <int dim, int spacedim, class Comp>
   void
   map_support_points_to_dofs(
-    const Mapping<dim, spacedim> &   mapping,
+    const Mapping<dim, spacedim>    &mapping,
     const DoFHandler<dim, spacedim> &dof_handler,
     std::map<Point<spacedim>, types::global_dof_index, Comp>
       &point_to_index_map)
index 64da5c81757ec86a6e6506c383eceba82b6afd98..5b0970c7d5837ae7fdeccd98927cc67a5e1cb744 100644 (file)
@@ -195,9 +195,9 @@ namespace internal
     NumberCache::serialize(Archive &ar, const unsigned int /*version*/)
     {
       ar &n_global_dofs &n_locally_owned_dofs;
-      ar &               locally_owned_dofs;
-      ar &               n_locally_owned_dofs_per_processor;
-      ar &               locally_owned_dofs_per_processor;
+      ar                &locally_owned_dofs;
+      ar                &n_locally_owned_dofs_per_processor;
+      ar                &locally_owned_dofs_per_processor;
     }
 
   } // namespace DoFHandlerImplementation
index f16e66f391d681c426fa2ec5ea1b77a9058694af..59078e8029b8a50e5c3c39ef346119ed172dcd28 100644 (file)
@@ -769,8 +769,8 @@ public:
    * where each element equals the component mask provided in the single
    * element given.
    */
-  FiniteElement(const FiniteElementData<dim> &    fe_data,
-                const std::vector<bool> &         restriction_is_additive_flags,
+  FiniteElement(const FiniteElementData<dim>     &fe_data,
+                const std::vector<bool>          &restriction_is_additive_flags,
                 const std::vector<ComponentMask> &nonzero_components);
 
   /**
@@ -863,7 +863,7 @@ public:
    */
   virtual double
   shape_value_component(const unsigned int i,
-                        const Point<dim> p,
+                        const Point<dim>  &p,
                         const unsigned int component) const;
 
   /**
@@ -898,7 +898,7 @@ public:
    */
   virtual Tensor<1, dim>
   shape_grad_component(const unsigned int i,
-                       const Point<dim> p,
+                       const Point<dim>  &p,
                        const unsigned int component) const;
 
   /**
@@ -933,7 +933,7 @@ public:
    */
   virtual Tensor<2, dim>
   shape_grad_grad_component(const unsigned int i,
-                            const Point<dim> p,
+                            const Point<dim>  &p,
                             const unsigned int component) const;
 
   /**
@@ -968,7 +968,7 @@ public:
    */
   virtual Tensor<3, dim>
   shape_3rd_derivative_component(const unsigned int i,
-                                 const Point<dim> p,
+                                 const Point<dim>  &p,
                                  const unsigned int component) const;
 
   /**
@@ -1003,7 +1003,7 @@ public:
    */
   virtual Tensor<4, dim>
   shape_4th_derivative_component(const unsigned int i,
-                                 const Point<dim> p,
+                                 const Point<dim>  &p,
                                  const unsigned int component) const;
   /**
    * This function returns @p true, if the shape function @p shape_index has
@@ -1249,7 +1249,7 @@ public:
    */
   virtual void
   get_interpolation_matrix(const FiniteElement<dim, spacedim> &source,
-                           FullMatrix<double> &                matrix) const;
+                           FullMatrix<double>                 &matrix) const;
   /** @} */
 
   /**
@@ -1271,7 +1271,7 @@ public:
    */
   virtual void
   get_face_interpolation_matrix(const FiniteElement<dim, spacedim> &source,
-                                FullMatrix<double> &                matrix,
+                                FullMatrix<double>                 &matrix,
                                 const unsigned int face_no = 0) const;
 
 
@@ -1289,7 +1289,7 @@ public:
   virtual void
   get_subface_interpolation_matrix(const FiniteElement<dim, spacedim> &source,
                                    const unsigned int                  subface,
-                                   FullMatrix<double> &                matrix,
+                                   FullMatrix<double>                 &matrix,
                                    const unsigned int face_no = 0) const;
   /** @} */
 
@@ -2264,7 +2264,7 @@ public:
   virtual void
   convert_generalized_support_point_values_to_dof_values(
     const std::vector<Vector<double>> &support_point_values,
-    std::vector<double> &              nodal_values) const;
+    std::vector<double>               &nodal_values) const;
 
   /** @} */
 
@@ -2719,7 +2719,7 @@ protected:
   virtual std::unique_ptr<InternalDataBase>
   get_data(const UpdateFlags             update_flags,
            const Mapping<dim, spacedim> &mapping,
-           const Quadrature<dim> &       quadrature,
+           const Quadrature<dim>        &quadrature,
            dealii::internal::FEValuesImplementation::
              FiniteElementRelatedData<dim, spacedim> &output_data) const = 0;
 
@@ -2766,7 +2766,7 @@ protected:
    */
   virtual std::unique_ptr<InternalDataBase>
   get_face_data(const UpdateFlags               update_flags,
-                const Mapping<dim, spacedim> &  mapping,
+                const Mapping<dim, spacedim>   &mapping,
                 const hp::QCollection<dim - 1> &quadrature,
                 dealii::internal::FEValuesImplementation::
                   FiniteElementRelatedData<dim, spacedim> &output_data) const;
@@ -2778,7 +2778,7 @@ protected:
   get_face_data(
     const UpdateFlags             update_flags,
     const Mapping<dim, spacedim> &mapping,
-    const Quadrature<dim - 1> &   quadrature,
+    const Quadrature<dim - 1>    &quadrature,
     internal::FEValuesImplementation::FiniteElementRelatedData<dim, spacedim>
       &output_data) const;
 
@@ -2827,7 +2827,7 @@ protected:
   get_subface_data(
     const UpdateFlags             update_flags,
     const Mapping<dim, spacedim> &mapping,
-    const Quadrature<dim - 1> &   quadrature,
+    const Quadrature<dim - 1>    &quadrature,
     dealii::internal::FEValuesImplementation::FiniteElementRelatedData<dim,
                                                                        spacedim>
       &output_data) const;
@@ -2916,11 +2916,11 @@ protected:
   fill_fe_values(
     const typename Triangulation<dim, spacedim>::cell_iterator &cell,
     const CellSimilarity::Similarity                            cell_similarity,
-    const Quadrature<dim> &                                     quadrature,
-    const Mapping<dim, spacedim> &                              mapping,
+    const Quadrature<dim>                                      &quadrature,
+    const Mapping<dim, spacedim>                               &mapping,
     const typename Mapping<dim, spacedim>::InternalDataBase &mapping_internal,
     const internal::FEValuesImplementation::MappingRelatedData<dim, spacedim>
-      &                     mapping_data,
+                           &mapping_data,
     const InternalDataBase &fe_internal,
     dealii::internal::FEValuesImplementation::FiniteElementRelatedData<dim,
                                                                        spacedim>
@@ -2972,11 +2972,11 @@ protected:
   fill_fe_face_values(
     const typename Triangulation<dim, spacedim>::cell_iterator &cell,
     const unsigned int                                          face_no,
-    const hp::QCollection<dim - 1> &                            quadrature,
-    const Mapping<dim, spacedim> &                              mapping,
+    const hp::QCollection<dim - 1>                             &quadrature,
+    const Mapping<dim, spacedim>                               &mapping,
     const typename Mapping<dim, spacedim>::InternalDataBase &mapping_internal,
     const internal::FEValuesImplementation::MappingRelatedData<dim, spacedim>
-      &                     mapping_data,
+                           &mapping_data,
     const InternalDataBase &fe_internal,
     dealii::internal::FEValuesImplementation::FiniteElementRelatedData<dim,
                                                                        spacedim>
@@ -2989,11 +2989,11 @@ protected:
   fill_fe_face_values(
     const typename Triangulation<dim, spacedim>::cell_iterator &cell,
     const unsigned int                                          face_no,
-    const Quadrature<dim - 1> &                                 quadrature,
-    const Mapping<dim, spacedim> &                              mapping,
+    const Quadrature<dim - 1>                                  &quadrature,
+    const Mapping<dim, spacedim>                               &mapping,
     const typename Mapping<dim, spacedim>::InternalDataBase &mapping_internal,
     const internal::FEValuesImplementation::MappingRelatedData<dim, spacedim>
-      &                     mapping_data,
+                           &mapping_data,
     const InternalDataBase &fe_internal,
     internal::FEValuesImplementation::FiniteElementRelatedData<dim, spacedim>
       &output_data) const;
@@ -3048,11 +3048,11 @@ protected:
     const typename Triangulation<dim, spacedim>::cell_iterator &cell,
     const unsigned int                                          face_no,
     const unsigned int                                          sub_no,
-    const Quadrature<dim - 1> &                                 quadrature,
-    const Mapping<dim, spacedim> &                              mapping,
+    const Quadrature<dim - 1>                                  &quadrature,
+    const Mapping<dim, spacedim>                               &mapping,
     const typename Mapping<dim, spacedim>::InternalDataBase &mapping_internal,
     const internal::FEValuesImplementation::MappingRelatedData<dim, spacedim>
-      &                     mapping_data,
+                           &mapping_data,
     const InternalDataBase &fe_internal,
     dealii::internal::FEValuesImplementation::FiniteElementRelatedData<dim,
                                                                        spacedim>
index cfe1cb863967dd20ccebe58252146fb6ee180227..077a0b4e1692a9100caa19b663c5c12a5c809b29 100644 (file)
@@ -129,7 +129,7 @@ public:
   virtual void
   convert_generalized_support_point_values_to_dof_values(
     const std::vector<Vector<double>> &support_point_values,
-    std::vector<double> &              nodal_values) const override;
+    std::vector<double>               &nodal_values) const override;
 
   virtual std::size_t
   memory_consumption() const override;
index 6cb3510e140dd12ca0b592ea21f89632023d8931..14ba60f078302501ce8be7401b9c11b21e4fe3c7 100644 (file)
@@ -79,7 +79,7 @@ public:
   virtual void
   convert_generalized_support_point_values_to_dof_values(
     const std::vector<Vector<double>> &support_point_values,
-    std::vector<double> &              nodal_values) const override;
+    std::vector<double>               &nodal_values) const override;
 
 private:
   /**
index 8d4852ce9635e5b71a121045fc8324c7889a9074..25321277e1182a2c68253e1884ed5bdaa064c782 100644 (file)
@@ -109,7 +109,7 @@ public:
   virtual void
   convert_generalized_support_point_values_to_dof_values(
     const std::vector<Vector<double>> &support_point_values,
-    std::vector<double> &              nodal_values) const override;
+    std::vector<double>               &nodal_values) const override;
 
 private:
   /**
index dfe628c9823e2bb8edb9da94f26e1e94f87ef716..5c1608d1f1f9327b24f55658ba3169a65c4ccf7b 100644 (file)
@@ -118,7 +118,7 @@ public:
    */
   virtual void
   get_face_interpolation_matrix(const FiniteElement<dim, spacedim> &source,
-                                FullMatrix<double> &                matrix,
+                                FullMatrix<double>                 &matrix,
                                 const unsigned int face_no = 0) const override;
 
   /**
@@ -134,7 +134,7 @@ public:
   get_subface_interpolation_matrix(
     const FiniteElement<dim, spacedim> &source,
     const unsigned int                  subface,
-    FullMatrix<double> &                matrix,
+    FullMatrix<double>                 &matrix,
     const unsigned int                  face_no = 0) const override;
 
   /**
index c6fdacd9669097a9d71bd669d7b53eb0bf73676a..a0a1c4a5a27894d3e3dc3c9663527f8bba24dbc5 100644 (file)
@@ -408,7 +408,7 @@ public:
    */
   virtual void
   get_face_interpolation_matrix(const FiniteElement<dim, spacedim> &source,
-                                FullMatrix<double> &                matrix,
+                                FullMatrix<double>                 &matrix,
                                 const unsigned int face_no = 0) const override;
 
   /**
@@ -426,7 +426,7 @@ public:
   get_subface_interpolation_matrix(
     const FiniteElement<dim, spacedim> &source,
     const unsigned int                  subface,
-    FullMatrix<double> &                matrix,
+    FullMatrix<double>                 &matrix,
     const unsigned int                  face_no = 0) const override;
 
   /**
index e9bc973b599e0f73f08e9848e44403dd3600418d..4654dc3163dd93b228dad496c8327d27ad2d8d84 100644 (file)
@@ -379,7 +379,7 @@ public:
    */
   virtual void
   get_interpolation_matrix(const FiniteElement<dim> &source,
-                           FullMatrix<double> &      matrix) const override;
+                           FullMatrix<double>       &matrix) const override;
 
   /**
    * Return the matrix interpolating from a face of one element to the face
@@ -394,7 +394,7 @@ public:
    */
   virtual void
   get_face_interpolation_matrix(const FiniteElement<dim> &source,
-                                FullMatrix<double> &      matrix,
+                                FullMatrix<double>       &matrix,
                                 const unsigned int face_no = 0) const override;
 
   /**
@@ -412,7 +412,7 @@ public:
   get_subface_interpolation_matrix(
     const FiniteElement<dim> &source,
     const unsigned int        subface,
-    FullMatrix<double> &      matrix,
+    FullMatrix<double>       &matrix,
     const unsigned int        face_no = 0) const override;
 
   /**
index 0fd461cbb1a30ee0b37818706c71ee54004c61a1..091f125e4e3a55ceaffbcf7290c7ecd0992ae1fb 100644 (file)
@@ -316,7 +316,7 @@ public:
    */
   virtual double
   shape_value_component(const unsigned int i,
-                        const Point<dim> p,
+                        const Point<dim>  &p,
                         const unsigned int component) const override;
 
   /**
@@ -344,7 +344,7 @@ public:
    */
   virtual Tensor<1, dim>
   shape_grad_component(const unsigned int i,
-                       const Point<dim> p,
+                       const Point<dim>  &p,
                        const unsigned int component) const override;
 
   /**
@@ -372,7 +372,7 @@ public:
    */
   virtual Tensor<2, dim>
   shape_grad_grad_component(const unsigned int i,
-                            const Point<dim> p,
+                            const Point<dim>  &p,
                             const unsigned int component) const override;
 
   /**
@@ -395,7 +395,7 @@ public:
    */
   virtual void
   get_face_interpolation_matrix(const FiniteElement<dim, spacedim> &source,
-                                FullMatrix<double> &                matrix,
+                                FullMatrix<double>                 &matrix,
                                 const unsigned int face_no = 0) const override;
 
   /**
@@ -413,7 +413,7 @@ public:
   get_subface_interpolation_matrix(
     const FiniteElement<dim, spacedim> &source,
     const unsigned int                  subface,
-    FullMatrix<double> &                matrix,
+    FullMatrix<double>                 &matrix,
     const unsigned int                  face_no = 0) const override;
 
   /**
@@ -516,7 +516,7 @@ protected:
   get_data(
     const UpdateFlags             update_flags,
     const Mapping<dim, spacedim> &mapping,
-    const Quadrature<dim> &       quadrature,
+    const Quadrature<dim>        &quadrature,
     dealii::internal::FEValuesImplementation::FiniteElementRelatedData<dim,
                                                                        spacedim>
       &output_data) const override;
@@ -525,11 +525,11 @@ protected:
   fill_fe_values(
     const typename Triangulation<dim, spacedim>::cell_iterator &cell,
     const CellSimilarity::Similarity                            cell_similarity,
-    const Quadrature<dim> &                                     quadrature,
-    const Mapping<dim, spacedim> &                              mapping,
+    const Quadrature<dim>                                      &quadrature,
+    const Mapping<dim, spacedim>                               &mapping,
     const typename Mapping<dim, spacedim>::InternalDataBase &mapping_internal,
     const internal::FEValuesImplementation::MappingRelatedData<dim, spacedim>
-      &                                                            mapping_data,
+                                                                  &mapping_data,
     const typename FiniteElement<dim, spacedim>::InternalDataBase &fe_internal,
     dealii::internal::FEValuesImplementation::FiniteElementRelatedData<dim,
                                                                        spacedim>
@@ -541,11 +541,11 @@ protected:
   fill_fe_face_values(
     const typename Triangulation<dim, spacedim>::cell_iterator &cell,
     const unsigned int                                          face_no,
-    const hp::QCollection<dim - 1> &                            quadrature,
-    const Mapping<dim, spacedim> &                              mapping,
+    const hp::QCollection<dim - 1>                             &quadrature,
+    const Mapping<dim, spacedim>                               &mapping,
     const typename Mapping<dim, spacedim>::InternalDataBase &mapping_internal,
     const internal::FEValuesImplementation::MappingRelatedData<dim, spacedim>
-      &                                                            mapping_data,
+                                                                  &mapping_data,
     const typename FiniteElement<dim, spacedim>::InternalDataBase &fe_internal,
     dealii::internal::FEValuesImplementation::FiniteElementRelatedData<dim,
                                                                        spacedim>
@@ -556,11 +556,11 @@ protected:
     const typename Triangulation<dim, spacedim>::cell_iterator &cell,
     const unsigned int                                          face_no,
     const unsigned int                                          sub_no,
-    const Quadrature<dim - 1> &                                 quadrature,
-    const Mapping<dim, spacedim> &                              mapping,
+    const Quadrature<dim - 1>                                  &quadrature,
+    const Mapping<dim, spacedim>                               &mapping,
     const typename Mapping<dim, spacedim>::InternalDataBase &mapping_internal,
     const internal::FEValuesImplementation::MappingRelatedData<dim, spacedim>
-      &                                                            mapping_data,
+                                                                  &mapping_data,
     const typename FiniteElement<dim, spacedim>::InternalDataBase &fe_internal,
     dealii::internal::FEValuesImplementation::FiniteElementRelatedData<dim,
                                                                        spacedim>
index 22da5bb38d82876833affaa7222b5b699474983e..25ae1700d188355e05e111c8e000e180ebaef058 100644 (file)
@@ -154,7 +154,7 @@ public:
    */
   virtual void
   get_face_interpolation_matrix(const FiniteElement<dim, spacedim> &source,
-                                FullMatrix<double> &                matrix,
+                                FullMatrix<double>                 &matrix,
                                 const unsigned int face_no = 0) const override;
 
   /**
@@ -172,7 +172,7 @@ public:
   get_subface_interpolation_matrix(
     const FiniteElement<dim, spacedim> &source,
     const unsigned int                  subface,
-    FullMatrix<double> &                matrix,
+    FullMatrix<double>                 &matrix,
     const unsigned int                  face_no = 0) const override;
 
   /**
@@ -321,7 +321,7 @@ public:
   virtual void
   convert_generalized_support_point_values_to_dof_values(
     const std::vector<Vector<double>> &support_point_values,
-    std::vector<double> &              nodal_values) const override;
+    std::vector<double>               &nodal_values) const override;
 
   virtual std::unique_ptr<FiniteElement<dim, spacedim>>
   clone() const override;
@@ -427,7 +427,7 @@ public:
   virtual void
   convert_generalized_support_point_values_to_dof_values(
     const std::vector<Vector<double>> &support_point_values,
-    std::vector<double> &              nodal_values) const override;
+    std::vector<double>               &nodal_values) const override;
   virtual std::unique_ptr<FiniteElement<dim, spacedim>>
   clone() const override;
 };
index a09d4274ef85e122d18d08533d1732bdea53ba24..51f71aa2955a964dee010b89469949f86914f085 100644 (file)
@@ -185,7 +185,7 @@ public:
    */
   FE_Enriched(const FiniteElement<dim, spacedim> &fe_base,
               const FiniteElement<dim, spacedim> &fe_enriched,
-              const Function<spacedim> *          enrichment_function);
+              const Function<spacedim>           *enrichment_function);
 
   /**
    * Constructor which only wraps the base FE @p fe_base.
@@ -247,7 +247,7 @@ public:
    * checks are done by this class that the domains are actually disjoint.
    */
   FE_Enriched(
-    const FiniteElement<dim, spacedim> *                     fe_base,
+    const FiniteElement<dim, spacedim>                      *fe_base,
     const std::vector<const FiniteElement<dim, spacedim> *> &fe_enriched,
     const std::vector<std::vector<std::function<const Function<spacedim> *(
       const typename Triangulation<dim, spacedim>::cell_iterator &)>>>
@@ -262,7 +262,7 @@ private:
    */
   FE_Enriched(
     const std::vector<const FiniteElement<dim, spacedim> *> &fes,
-    const std::vector<unsigned int> &                        multiplicities,
+    const std::vector<unsigned int>                         &multiplicities,
     const std::vector<std::vector<std::function<const Function<spacedim> *(
       const typename Triangulation<dim, spacedim>::cell_iterator &)>>>
       &functions);
@@ -359,7 +359,7 @@ public:
    */
   virtual void
   get_face_interpolation_matrix(const FiniteElement<dim, spacedim> &source,
-                                FullMatrix<double> &                matrix,
+                                FullMatrix<double>                 &matrix,
                                 const unsigned int face_no = 0) const override;
 
   /**
@@ -378,7 +378,7 @@ public:
   get_subface_interpolation_matrix(
     const FiniteElement<dim, spacedim> &source,
     const unsigned int                  subface,
-    FullMatrix<double> &                matrix,
+    FullMatrix<double>                 &matrix,
     const unsigned int                  face_no = 0) const override;
 
   /**
@@ -571,7 +571,7 @@ protected:
   get_data(
     const UpdateFlags             flags,
     const Mapping<dim, spacedim> &mapping,
-    const Quadrature<dim> &       quadrature,
+    const Quadrature<dim>        &quadrature,
     dealii::internal::FEValuesImplementation::FiniteElementRelatedData<dim,
                                                                        spacedim>
       &output_data) const override;
@@ -582,7 +582,7 @@ protected:
     typename FiniteElement<dim, spacedim>::InternalDataBase>
   get_face_data(
     const UpdateFlags               update_flags,
-    const Mapping<dim, spacedim> &  mapping,
+    const Mapping<dim, spacedim>   &mapping,
     const hp::QCollection<dim - 1> &quadrature,
     dealii::internal::FEValuesImplementation::FiniteElementRelatedData<dim,
                                                                        spacedim>
@@ -593,7 +593,7 @@ protected:
   get_subface_data(
     const UpdateFlags             update_flags,
     const Mapping<dim, spacedim> &mapping,
-    const Quadrature<dim - 1> &   quadrature,
+    const Quadrature<dim - 1>    &quadrature,
     dealii::internal::FEValuesImplementation::FiniteElementRelatedData<dim,
                                                                        spacedim>
       &output_data) const override;
@@ -602,11 +602,11 @@ protected:
   fill_fe_values(
     const typename Triangulation<dim, spacedim>::cell_iterator &cell,
     const CellSimilarity::Similarity                            cell_similarity,
-    const Quadrature<dim> &                                     quadrature,
-    const Mapping<dim, spacedim> &                              mapping,
+    const Quadrature<dim>                                      &quadrature,
+    const Mapping<dim, spacedim>                               &mapping,
     const typename Mapping<dim, spacedim>::InternalDataBase &mapping_internal,
     const internal::FEValuesImplementation::MappingRelatedData<dim, spacedim>
-      &                                                            mapping_data,
+                                                                  &mapping_data,
     const typename FiniteElement<dim, spacedim>::InternalDataBase &fe_internal,
     dealii::internal::FEValuesImplementation::FiniteElementRelatedData<dim,
                                                                        spacedim>
@@ -618,11 +618,11 @@ protected:
   fill_fe_face_values(
     const typename Triangulation<dim, spacedim>::cell_iterator &cell,
     const unsigned int                                          face_no,
-    const hp::QCollection<dim - 1> &                            quadrature,
-    const Mapping<dim, spacedim> &                              mapping,
+    const hp::QCollection<dim - 1>                             &quadrature,
+    const Mapping<dim, spacedim>                               &mapping,
     const typename Mapping<dim, spacedim>::InternalDataBase &mapping_internal,
     const internal::FEValuesImplementation::MappingRelatedData<dim, spacedim>
-      &                                                            mapping_data,
+                                                                  &mapping_data,
     const typename FiniteElement<dim, spacedim>::InternalDataBase &fe_internal,
     dealii::internal::FEValuesImplementation::FiniteElementRelatedData<dim,
                                                                        spacedim>
@@ -633,11 +633,11 @@ protected:
     const typename Triangulation<dim, spacedim>::cell_iterator &cell,
     const unsigned int                                          face_no,
     const unsigned int                                          sub_no,
-    const Quadrature<dim - 1> &                                 quadrature,
-    const Mapping<dim, spacedim> &                              mapping,
+    const Quadrature<dim - 1>                                  &quadrature,
+    const Mapping<dim, spacedim>                               &mapping,
     const typename Mapping<dim, spacedim>::InternalDataBase &mapping_internal,
     const internal::FEValuesImplementation::MappingRelatedData<dim, spacedim>
-      &                                                            mapping_data,
+                                                                  &mapping_data,
     const typename FiniteElement<dim, spacedim>::InternalDataBase &fe_internal,
     dealii::internal::FEValuesImplementation::FiniteElementRelatedData<dim,
                                                                        spacedim>
@@ -666,9 +666,9 @@ private:
   void
   multiply_by_enrichment(
     const Quadrature<dim_1> &quadrature,
-    const InternalData &     fe_data,
+    const InternalData      &fe_data,
     const internal::FEValuesImplementation::MappingRelatedData<dim, spacedim>
-      &                                                         mapping_data,
+                                                               &mapping_data,
     const typename Triangulation<dim, spacedim>::cell_iterator &cell,
     internal::FEValuesImplementation::FiniteElementRelatedData<dim, spacedim>
       &output_data) const;
@@ -751,7 +751,7 @@ namespace ColorEnriched
     template <int dim, int spacedim>
     bool
     find_connection_between_subdomains(
-      const DoFHandler<dim, spacedim> &        dof_handler,
+      const DoFHandler<dim, spacedim>         &dof_handler,
       const predicate_function<dim, spacedim> &predicate_1,
       const predicate_function<dim, spacedim> &predicate_2);
 
@@ -770,9 +770,9 @@ namespace ColorEnriched
     template <int dim, int spacedim>
     unsigned int
     color_predicates(
-      const DoFHandler<dim, spacedim> &                     dof_handler,
+      const DoFHandler<dim, spacedim>                      &dof_handler,
       const std::vector<predicate_function<dim, spacedim>> &predicates,
-      std::vector<unsigned int> &                           predicate_colors);
+      std::vector<unsigned int>                            &predicate_colors);
 
     /**
      * Used to construct data members @p cellwise_color_predicate_map and
@@ -817,11 +817,11 @@ namespace ColorEnriched
     template <int dim, int spacedim>
     void
     set_cellwise_color_set_and_fe_index(
-      DoFHandler<dim, spacedim> &                           dof_handler,
+      DoFHandler<dim, spacedim>                            &dof_handler,
       const std::vector<predicate_function<dim, spacedim>> &predicates,
-      const std::vector<unsigned int> &                     predicate_colors,
+      const std::vector<unsigned int>                      &predicate_colors,
       std::map<unsigned int, std::map<unsigned int, unsigned int>>
-        &                                  cellwise_color_predicate_map,
+                                          &cellwise_color_predicate_map,
       std::vector<std::set<unsigned int>> &fe_sets);
 
     /**
@@ -1071,9 +1071,9 @@ namespace ColorEnriched
      * belongs to a sub-domain with index (i).
      * @param enrichments std::vector of enrichment functions
      */
-    Helper(const FiniteElement<dim, spacedim> &                    fe_base,
-           const FiniteElement<dim, spacedim> &                    fe_enriched,
-           const std::vector<predicate_function<dim, spacedim>> &  predicates,
+    Helper(const FiniteElement<dim, spacedim>                     &fe_base,
+           const FiniteElement<dim, spacedim>                     &fe_enriched,
+           const std::vector<predicate_function<dim, spacedim>>   &predicates,
            const std::vector<std::shared_ptr<Function<spacedim>>> &enrichments);
 
     /**
index e08d7269e5896f540b5155a3aa00c6c4823dcabe..3e1cd84690a16f8994f307ca149ad913b30cfe2b 100644 (file)
@@ -84,7 +84,7 @@ public:
   virtual void
   convert_generalized_support_point_values_to_dof_values(
     const std::vector<Vector<double>> &support_point_values,
-    std::vector<double> &              nodal_values) const override;
+    std::vector<double>               &nodal_values) const override;
 
   /**
    * Return the matrix interpolating from a face of one element to the face
@@ -96,7 +96,7 @@ public:
    */
   virtual void
   get_face_interpolation_matrix(const FiniteElement<dim, spacedim> &source,
-                                FullMatrix<double> &                matrix,
+                                FullMatrix<double>                 &matrix,
                                 const unsigned int face_no = 0) const override;
 
   /**
@@ -111,7 +111,7 @@ public:
   get_subface_interpolation_matrix(
     const FiniteElement<dim, spacedim> &source,
     const unsigned int                  subface,
-    FullMatrix<double> &                matrix,
+    FullMatrix<double>                 &matrix,
     const unsigned int                  face_no = 0) const override;
 
   /**
@@ -247,7 +247,7 @@ public:
    */
   virtual void
   get_face_interpolation_matrix(const FiniteElement<1, spacedim> &source,
-                                FullMatrix<double> &              matrix,
+                                FullMatrix<double>               &matrix,
                                 const unsigned int face_no = 0) const override;
 
   /**
@@ -262,7 +262,7 @@ public:
   get_subface_interpolation_matrix(
     const FiniteElement<1, spacedim> &source,
     const unsigned int                subface,
-    FullMatrix<double> &              matrix,
+    FullMatrix<double>               &matrix,
     const unsigned int                face_no = 0) const override;
 
   /**
@@ -385,7 +385,7 @@ protected:
   get_subface_data(
     const UpdateFlags           update_flags,
     const Mapping<1, spacedim> &mapping,
-    const Quadrature<0> &       quadrature,
+    const Quadrature<0>        &quadrature,
     dealii::internal::FEValuesImplementation::FiniteElementRelatedData<1,
                                                                        spacedim>
       &output_data) const override
@@ -400,11 +400,11 @@ protected:
   fill_fe_values(
     const typename Triangulation<1, spacedim>::cell_iterator &cell,
     const CellSimilarity::Similarity                          cell_similarity,
-    const Quadrature<1> &                                     quadrature,
-    const Mapping<1, spacedim> &                              mapping,
-    const typename Mapping<1, spacedim>::InternalDataBase &   mapping_internal,
+    const Quadrature<1>                                      &quadrature,
+    const Mapping<1, spacedim>                               &mapping,
+    const typename Mapping<1, spacedim>::InternalDataBase    &mapping_internal,
     const internal::FEValuesImplementation::MappingRelatedData<1, spacedim>
-      &                                                          mapping_data,
+                                                                &mapping_data,
     const typename FiniteElement<1, spacedim>::InternalDataBase &fe_internal,
     dealii::internal::FEValuesImplementation::FiniteElementRelatedData<1,
                                                                        spacedim>
@@ -416,11 +416,11 @@ protected:
   fill_fe_face_values(
     const typename Triangulation<1, spacedim>::cell_iterator &cell,
     const unsigned int                                        face_no,
-    const hp::QCollection<0> &                                quadrature,
-    const Mapping<1, spacedim> &                              mapping,
-    const typename Mapping<1, spacedim>::InternalDataBase &   mapping_internal,
+    const hp::QCollection<0>                                 &quadrature,
+    const Mapping<1, spacedim>                               &mapping,
+    const typename Mapping<1, spacedim>::InternalDataBase    &mapping_internal,
     const internal::FEValuesImplementation::MappingRelatedData<1, spacedim>
-      &                                                          mapping_data,
+                                                                &mapping_data,
     const typename FiniteElement<1, spacedim>::InternalDataBase &fe_internal,
     dealii::internal::FEValuesImplementation::FiniteElementRelatedData<1,
                                                                        spacedim>
@@ -431,11 +431,11 @@ protected:
     const typename Triangulation<1, spacedim>::cell_iterator &cell,
     const unsigned int                                        face_no,
     const unsigned int                                        sub_no,
-    const Quadrature<0> &                                     quadrature,
-    const Mapping<1, spacedim> &                              mapping,
-    const typename Mapping<1, spacedim>::InternalDataBase &   mapping_internal,
+    const Quadrature<0>                                      &quadrature,
+    const Mapping<1, spacedim>                               &mapping,
+    const typename Mapping<1, spacedim>::InternalDataBase    &mapping_internal,
     const internal::FEValuesImplementation::MappingRelatedData<1, spacedim>
-      &                                                          mapping_data,
+                                                                &mapping_data,
     const typename FiniteElement<1, spacedim>::InternalDataBase &fe_internal,
     dealii::internal::FEValuesImplementation::FiniteElementRelatedData<1,
                                                                        spacedim>
@@ -505,7 +505,7 @@ public:
    */
   virtual void
   get_face_interpolation_matrix(const FiniteElement<dim, spacedim> &source,
-                                FullMatrix<double> &                matrix,
+                                FullMatrix<double>                 &matrix,
                                 const unsigned int face_no = 0) const override;
 
   /**
@@ -520,7 +520,7 @@ public:
   get_subface_interpolation_matrix(
     const FiniteElement<dim, spacedim> &source,
     const unsigned int                  subface,
-    FullMatrix<double> &                matrix,
+    FullMatrix<double>                 &matrix,
     const unsigned int                  face_no = 0) const override;
 
   /**
index e281f20398da6272fbd180a9b6801ff3d10b6b15..bb40e4ef56a89ec21383a10be2416e7cf5d2f0c2 100644 (file)
@@ -65,7 +65,7 @@ namespace FEInterfaceViews
     template <class InputVector, class OutputVector>
     void
     get_local_dof_values(const InputVector &dof_values,
-                         OutputVector &     local_dof_values) const;
+                         OutputVector      &local_dof_values) const;
   };
 
 
@@ -1287,9 +1287,9 @@ public:
    * sides of the facet). The FEFaceValues objects will be initialized with
    * the given @p mapping, @p quadrature, and @p update_flags.
    */
-  FEInterfaceValues(const Mapping<dim, spacedim> &      mapping,
+  FEInterfaceValues(const Mapping<dim, spacedim>       &mapping,
                     const FiniteElement<dim, spacedim> &fe,
-                    const Quadrature<dim - 1> &         quadrature,
+                    const Quadrature<dim - 1>          &quadrature,
                     const UpdateFlags                   update_flags);
 
   /**
@@ -1297,9 +1297,9 @@ public:
    * so that different quadrature rules can be assigned to different
    * faces.
    */
-  FEInterfaceValues(const Mapping<dim, spacedim> &      mapping,
+  FEInterfaceValues(const Mapping<dim, spacedim>       &mapping,
                     const FiniteElement<dim, spacedim> &fe,
-                    const hp::QCollection<dim - 1> &    quadrature,
+                    const hp::QCollection<dim - 1>     &quadrature,
                     const UpdateFlags                   update_flags);
 
   /**
@@ -1309,7 +1309,7 @@ public:
    * See the constructor above.
    */
   FEInterfaceValues(const FiniteElement<dim, spacedim> &fe,
-                    const Quadrature<dim - 1> &         quadrature,
+                    const Quadrature<dim - 1>          &quadrature,
                     const UpdateFlags                   update_flags);
 
   /**
@@ -1318,8 +1318,8 @@ public:
    */
   FEInterfaceValues(
     const hp::MappingCollection<dim, spacedim> &mapping_collection,
-    const hp::FECollection<dim, spacedim> &     fe_collection,
-    const hp::QCollection<dim - 1> &            quadrature_collection,
+    const hp::FECollection<dim, spacedim>      &fe_collection,
+    const hp::QCollection<dim - 1>             &quadrature_collection,
     const UpdateFlags                           update_flags);
 
   /**
@@ -1445,7 +1445,7 @@ public:
    */
   template <typename CellIteratorType, typename CellNeighborIteratorType>
   void
-  reinit(const CellIteratorType &        cell,
+  reinit(const CellIteratorType         &cell,
          const unsigned int              face_no,
          const unsigned int              sub_face_no,
          const CellNeighborIteratorType &cell_neighbor,
@@ -1924,7 +1924,7 @@ public:
   template <class InputVector>
   void
   get_jump_in_function_values(
-    const InputVector &                            fe_function,
+    const InputVector                             &fe_function,
     std::vector<typename InputVector::value_type> &values) const;
 
   /**
@@ -1989,7 +1989,7 @@ public:
   template <class InputVector>
   void
   get_average_of_function_values(
-    const InputVector &                            fe_function,
+    const InputVector                             &fe_function,
     std::vector<typename InputVector::value_type> &values) const;
 
   /**
@@ -2179,9 +2179,9 @@ private:
 
 template <int dim, int spacedim>
 FEInterfaceValues<dim, spacedim>::FEInterfaceValues(
-  const Mapping<dim, spacedim> &      mapping,
+  const Mapping<dim, spacedim>       &mapping,
   const FiniteElement<dim, spacedim> &fe,
-  const Quadrature<dim - 1> &         quadrature,
+  const Quadrature<dim - 1>          &quadrature,
   const UpdateFlags                   update_flags)
   : n_quadrature_points(quadrature.size())
   , fe_face_values(nullptr)
@@ -2213,7 +2213,7 @@ FEInterfaceValues<dim, spacedim>::FEInterfaceValues(
 template <int dim, int spacedim>
 FEInterfaceValues<dim, spacedim>::FEInterfaceValues(
   const FiniteElement<dim, spacedim> &fe,
-  const Quadrature<dim - 1> &         quadrature,
+  const Quadrature<dim - 1>          &quadrature,
   const UpdateFlags                   update_flags)
   : FEInterfaceValues(
       fe.reference_cell().template get_default_linear_mapping<dim, spacedim>(),
@@ -2226,9 +2226,9 @@ FEInterfaceValues<dim, spacedim>::FEInterfaceValues(
 
 template <int dim, int spacedim>
 FEInterfaceValues<dim, spacedim>::FEInterfaceValues(
-  const Mapping<dim, spacedim> &      mapping,
+  const Mapping<dim, spacedim>       &mapping,
   const FiniteElement<dim, spacedim> &fe,
-  const hp::QCollection<dim - 1> &    quadrature,
+  const hp::QCollection<dim - 1>     &quadrature,
   const UpdateFlags                   update_flags)
   : n_quadrature_points(quadrature.max_n_quadrature_points())
   , fe_face_values(nullptr)
@@ -2260,8 +2260,8 @@ FEInterfaceValues<dim, spacedim>::FEInterfaceValues(
 template <int dim, int spacedim>
 FEInterfaceValues<dim, spacedim>::FEInterfaceValues(
   const hp::MappingCollection<dim, spacedim> &mapping_collection,
-  const hp::FECollection<dim, spacedim> &     fe_collection,
-  const hp::QCollection<dim - 1> &            quadrature_collection,
+  const hp::FECollection<dim, spacedim>      &fe_collection,
+  const hp::QCollection<dim - 1>             &quadrature_collection,
   const UpdateFlags                           update_flags)
   : n_quadrature_points(quadrature_collection.max_n_quadrature_points())
   , fe_face_values(nullptr)
@@ -2297,7 +2297,7 @@ FEInterfaceValues<dim, spacedim>::FEInterfaceValues(
 template <int dim, int spacedim>
 FEInterfaceValues<dim, spacedim>::FEInterfaceValues(
   const hp::FECollection<dim, spacedim> &fe_collection,
-  const hp::QCollection<dim - 1> &       quadrature_collection,
+  const hp::QCollection<dim - 1>        &quadrature_collection,
   const UpdateFlags                      update_flags)
   : FEInterfaceValues(fe_collection.get_reference_cell_default_linear_mapping(),
                       fe_collection,
@@ -2311,7 +2311,7 @@ template <int dim, int spacedim>
 template <typename CellIteratorType, typename CellNeighborIteratorType>
 void
 FEInterfaceValues<dim, spacedim>::reinit(
-  const CellIteratorType &        cell,
+  const CellIteratorType         &cell,
   const unsigned int              face_no,
   const unsigned int              sub_face_no,
   const CellNeighborIteratorType &cell_neighbor,
@@ -3030,7 +3030,7 @@ template <int dim, int spacedim>
 template <class InputVector>
 void
 FEInterfaceValues<dim, spacedim>::get_jump_in_function_values(
-  const InputVector &                            fe_function,
+  const InputVector                             &fe_function,
   std::vector<typename InputVector::value_type> &values) const
 {
   AssertDimension(values.size(), n_quadrature_points);
@@ -3095,7 +3095,7 @@ template <int dim, int spacedim>
 template <class InputVector>
 void
 FEInterfaceValues<dim, spacedim>::get_average_of_function_values(
-  const InputVector &                            fe_function,
+  const InputVector                             &fe_function,
   std::vector<typename InputVector::value_type> &values) const
 {
   AssertDimension(values.size(), n_quadrature_points);
@@ -3202,7 +3202,7 @@ namespace FEInterfaceViews
   void
   Base<dim, spacedim>::get_local_dof_values(
     const InputVector &dof_values,
-    OutputVector &     local_dof_values) const
+    OutputVector      &local_dof_values) const
   {
     const auto &interface_dof_indices =
       this->fe_interface->get_interface_dof_indices();
index 0105b95db8c699107f4a606791d3bf81bd06254b..f508c432dc4befc902043b95efaba96dab3b8d22 100644 (file)
@@ -498,7 +498,7 @@ public:
    */
   virtual void
   get_face_interpolation_matrix(const FiniteElement<dim> &source,
-                                FullMatrix<double> &      matrix,
+                                FullMatrix<double>       &matrix,
                                 const unsigned int face_no = 0) const override;
 
   /**
@@ -516,7 +516,7 @@ public:
   get_subface_interpolation_matrix(
     const FiniteElement<dim> &source,
     const unsigned int        subface,
-    FullMatrix<double> &      matrix,
+    FullMatrix<double>       &matrix,
     const unsigned int        face_no = 0) const override;
 
   /**
@@ -569,7 +569,7 @@ public:
   virtual void
   convert_generalized_support_point_values_to_dof_values(
     const std::vector<Vector<double>> &support_point_values,
-    std::vector<double> &              nodal_values) const override;
+    std::vector<double>               &nodal_values) const override;
 
   /**
    * Return a list of constant modes of the element.
index 08d369ddb3b74180910d32e33b950bc55fd01dd3..de396e6bb7d34e507dffff3f5bc4b1c13dc6ecbf 100644 (file)
@@ -115,7 +115,7 @@ public:
    */
   virtual double
   shape_value_component(const unsigned int i,
-                        const Point<dim> p,
+                        const Point<dim>  &p,
                         const unsigned int component) const override;
 
   /**
@@ -130,7 +130,7 @@ public:
    */
   virtual Tensor<1, dim>
   shape_grad_component(const unsigned int i,
-                       const Point<dim> p,
+                       const Point<dim>  &p,
                        const unsigned int component) const override;
 
   /**
@@ -145,7 +145,7 @@ public:
    */
   virtual Tensor<2, dim>
   shape_grad_grad_component(const unsigned int i,
-                            const Point<dim> p,
+                            const Point<dim>  &p,
                             const unsigned int component) const override;
 
 protected:
@@ -160,7 +160,7 @@ protected:
   get_data(
     const UpdateFlags             update_flags,
     const Mapping<dim, spacedim> &mapping,
-    const Quadrature<dim> &       quadrature,
+    const Quadrature<dim>        &quadrature,
     dealii::internal::FEValuesImplementation::FiniteElementRelatedData<dim,
                                                                        spacedim>
       &output_data) const override;
@@ -174,11 +174,11 @@ protected:
   fill_fe_values(
     const typename Triangulation<dim, dim>::cell_iterator &cell,
     const CellSimilarity::Similarity                       cell_similarity,
-    const Quadrature<dim> &                                quadrature,
-    const Mapping<dim, dim> &                              mapping,
-    const typename Mapping<dim, dim>::InternalDataBase &   mapping_internal,
+    const Quadrature<dim>                                 &quadrature,
+    const Mapping<dim, dim>                               &mapping,
+    const typename Mapping<dim, dim>::InternalDataBase    &mapping_internal,
     const internal::FEValuesImplementation::MappingRelatedData<dim, dim>
-      &                                                       mapping_data,
+                                                             &mapping_data,
     const typename FiniteElement<dim, dim>::InternalDataBase &fedata,
     dealii::internal::FEValuesImplementation::FiniteElementRelatedData<dim, dim>
       &data) const override;
@@ -194,11 +194,11 @@ protected:
   fill_fe_face_values(
     const typename Triangulation<dim, dim>::cell_iterator &cell,
     const unsigned int                                     face_no,
-    const hp::QCollection<dim - 1> &                       quadrature,
-    const Mapping<dim, dim> &                              mapping,
-    const typename Mapping<dim, dim>::InternalDataBase &   mapping_internal,
+    const hp::QCollection<dim - 1>                        &quadrature,
+    const Mapping<dim, dim>                               &mapping,
+    const typename Mapping<dim, dim>::InternalDataBase    &mapping_internal,
     const internal::FEValuesImplementation::MappingRelatedData<dim, dim>
-      &                                                       mapping_data,
+                                                             &mapping_data,
     const typename FiniteElement<dim, dim>::InternalDataBase &fedata,
     dealii::internal::FEValuesImplementation::FiniteElementRelatedData<dim, dim>
       &data) const override;
@@ -211,11 +211,11 @@ protected:
     const typename Triangulation<dim, dim>::cell_iterator &cell,
     const unsigned int                                     face_no,
     const unsigned int                                     sub_no,
-    const Quadrature<dim - 1> &                            quadrature,
-    const Mapping<dim, dim> &                              mapping,
-    const typename Mapping<dim, dim>::InternalDataBase &   mapping_internal,
+    const Quadrature<dim - 1>                             &quadrature,
+    const Mapping<dim, dim>                               &mapping,
+    const typename Mapping<dim, dim>::InternalDataBase    &mapping_internal,
     const internal::FEValuesImplementation::MappingRelatedData<dim, dim>
-      &                                                       mapping_data,
+                                                             &mapping_data,
     const typename FiniteElement<dim, dim>::InternalDataBase &fedata,
     dealii::internal::FEValuesImplementation::FiniteElementRelatedData<dim, dim>
       &data) const override;
@@ -446,7 +446,7 @@ private:
   void
   fill_edge_values(const typename Triangulation<dim, dim>::cell_iterator &cell,
                    const Quadrature<dim> &quadrature,
-                   const InternalData &   fedata) const;
+                   const InternalData    &fedata) const;
 
   /**
    * Populates the cell-dependent face-based shape functions on the given
@@ -455,7 +455,7 @@ private:
   void
   fill_face_values(const typename Triangulation<dim, dim>::cell_iterator &cell,
                    const Quadrature<dim> &quadrature,
-                   const InternalData &   fedata) const;
+                   const InternalData    &fedata) const;
 };
 
 
index b3fbb1d84485c13b2b525362dde049087cc49c82..f94f133ce6c02504bbac1b0a1100f528e87b475d 100644 (file)
@@ -193,11 +193,11 @@ public:
   fill_fe_values(
     const typename Triangulation<dim, spacedim>::cell_iterator &cell,
     const CellSimilarity::Similarity                            cell_similarity,
-    const Quadrature<dim> &                                     quadrature,
-    const Mapping<dim, spacedim> &                              mapping,
+    const Quadrature<dim>                                      &quadrature,
+    const Mapping<dim, spacedim>                               &mapping,
     const typename Mapping<dim, spacedim>::InternalDataBase &mapping_internal,
     const internal::FEValuesImplementation::MappingRelatedData<dim, spacedim>
-      &                                                            mapping_data,
+                                                                  &mapping_data,
     const typename FiniteElement<dim, spacedim>::InternalDataBase &fe_internal,
     dealii::internal::FEValuesImplementation::FiniteElementRelatedData<dim,
                                                                        spacedim>
@@ -209,11 +209,11 @@ public:
   fill_fe_face_values(
     const typename Triangulation<dim, spacedim>::cell_iterator &cell,
     const unsigned int                                          face_no,
-    const hp::QCollection<dim - 1> &                            quadrature,
-    const Mapping<dim, spacedim> &                              mapping,
+    const hp::QCollection<dim - 1>                             &quadrature,
+    const Mapping<dim, spacedim>                               &mapping,
     const typename Mapping<dim, spacedim>::InternalDataBase &mapping_internal,
     const internal::FEValuesImplementation::MappingRelatedData<dim, spacedim>
-      &                                                            mapping_data,
+                                                                  &mapping_data,
     const typename FiniteElement<dim, spacedim>::InternalDataBase &fe_internal,
     dealii::internal::FEValuesImplementation::FiniteElementRelatedData<dim,
                                                                        spacedim>
@@ -224,11 +224,11 @@ public:
     const typename Triangulation<dim, spacedim>::cell_iterator &cell,
     const unsigned int                                          face_no,
     const unsigned int                                          sub_no,
-    const Quadrature<dim - 1> &                                 quadrature,
-    const Mapping<dim, spacedim> &                              mapping,
+    const Quadrature<dim - 1>                                  &quadrature,
+    const Mapping<dim, spacedim>                               &mapping,
     const typename Mapping<dim, spacedim>::InternalDataBase &mapping_internal,
     const internal::FEValuesImplementation::MappingRelatedData<dim, spacedim>
-      &                                                            mapping_data,
+                                                                  &mapping_data,
     const typename FiniteElement<dim, spacedim>::InternalDataBase &fe_internal,
     dealii::internal::FEValuesImplementation::FiniteElementRelatedData<dim,
                                                                        spacedim>
@@ -248,7 +248,7 @@ public:
   get_data(
     const UpdateFlags             update_flags,
     const Mapping<dim, spacedim> &mapping,
-    const Quadrature<dim> &       quadrature,
+    const Quadrature<dim>        &quadrature,
     dealii::internal::FEValuesImplementation::FiniteElementRelatedData<dim,
                                                                        spacedim>
       &output_data) const override;
@@ -292,7 +292,7 @@ public:
   virtual void
   get_interpolation_matrix(
     const FiniteElement<dim, spacedim> &source_fe,
-    FullMatrix<double> &                interpolation_matrix) const override;
+    FullMatrix<double>                 &interpolation_matrix) const override;
 
   /**
    * Return the matrix interpolating from a face of one element to the face
@@ -322,7 +322,7 @@ public:
   get_subface_interpolation_matrix(
     const FiniteElement<dim, spacedim> &source_fe,
     const unsigned int                  index,
-    FullMatrix<double> &                interpolation_matrix,
+    FullMatrix<double>                 &interpolation_matrix,
     const unsigned int                  face_no = 0) const override;
 
   /**
index 2c6f27103133f2d052825de42079c68ab9102bbf..787160c2fad183c7051ded0fdbd0d097583edc38 100644 (file)
@@ -338,11 +338,11 @@ private:
   fill_fe_values(
     const Triangulation<2, 2>::cell_iterator &cell,
     const CellSimilarity::Similarity          cell_similarity,
-    const Quadrature<2> &                     quadrature,
-    const Mapping<2, 2> &                     mapping,
-    const Mapping<2, 2>::InternalDataBase &   mapping_internal,
+    const Quadrature<2>                      &quadrature,
+    const Mapping<2, 2>                      &mapping,
+    const Mapping<2, 2>::InternalDataBase    &mapping_internal,
     const internal::FEValuesImplementation::MappingRelatedData<2, 2>
-      &                                          mapping_data,
+                                                &mapping_data,
     const FiniteElement<2, 2>::InternalDataBase &fe_internal,
     internal::FEValuesImplementation::FiniteElementRelatedData<2, 2>
       &output_data) const override;
@@ -356,11 +356,11 @@ private:
   fill_fe_face_values(
     const Triangulation<2, 2>::cell_iterator &cell,
     const unsigned int                        face_no,
-    const hp::QCollection<1> &                quadrature,
-    const Mapping<2, 2> &                     mapping,
-    const Mapping<2, 2>::InternalDataBase &   mapping_internal,
+    const hp::QCollection<1>                 &quadrature,
+    const Mapping<2, 2>                      &mapping,
+    const Mapping<2, 2>::InternalDataBase    &mapping_internal,
     const internal::FEValuesImplementation::MappingRelatedData<2, 2>
-      &                     mapping_data,
+                           &mapping_data,
     const InternalDataBase &fe_internal,
     dealii::internal::FEValuesImplementation::FiniteElementRelatedData<2, 2>
       &output_data) const override;
@@ -373,11 +373,11 @@ private:
     const Triangulation<2, 2>::cell_iterator &cell,
     const unsigned int                        face_no,
     const unsigned int                        sub_no,
-    const Quadrature<1> &                     quadrature,
-    const Mapping<2, 2> &                     mapping,
-    const Mapping<2, 2>::InternalDataBase &   mapping_internal,
+    const Quadrature<1>                      &quadrature,
+    const Mapping<2, 2>                      &mapping,
+    const Mapping<2, 2>::InternalDataBase    &mapping_internal,
     const internal::FEValuesImplementation::MappingRelatedData<2, 2>
-      &                     mapping_data,
+                           &mapping_data,
     const InternalDataBase &fe_internal,
     dealii::internal::FEValuesImplementation::FiniteElementRelatedData<2, 2>
       &output_data) const override;
index 211d23aa1d43d13852c0c620189592b60d1b404f..8f980f1636fb901420e02ce146f02ae8767f3c91 100644 (file)
@@ -80,8 +80,8 @@ public:
    * Constructor.
    */
   FE_Poly(const ScalarPolynomialsBase<dim> &poly_space,
-          const FiniteElementData<dim> &    fe_data,
-          const std::vector<bool> &         restriction_is_additive_flags,
+          const FiniteElementData<dim>     &fe_data,
+          const std::vector<bool>          &restriction_is_additive_flags,
           const std::vector<ComponentMask> &nonzero_components);
 
   /**
@@ -147,7 +147,7 @@ public:
    */
   virtual double
   shape_value_component(const unsigned int i,
-                        const Point<dim> p,
+                        const Point<dim>  &p,
                         const unsigned int component) const override;
 
   /**
@@ -170,7 +170,7 @@ public:
    */
   virtual Tensor<1, dim>
   shape_grad_component(const unsigned int i,
-                       const Point<dim> p,
+                       const Point<dim>  &p,
                        const unsigned int component) const override;
 
   /**
@@ -193,7 +193,7 @@ public:
    */
   virtual Tensor<2, dim>
   shape_grad_grad_component(const unsigned int i,
-                            const Point<dim> p,
+                            const Point<dim>  &p,
                             const unsigned int component) const override;
 
   /**
@@ -203,7 +203,7 @@ public:
    */
   virtual Tensor<3, dim>
   shape_3rd_derivative(const unsigned int i,
-                       const Point<dim> p) const override;
+                       const Point<dim>  &p) const override;
 
   /**
    * Return the third derivative of the <tt>component</tt>th vector component
@@ -217,7 +217,7 @@ public:
    */
   virtual Tensor<3, dim>
   shape_3rd_derivative_component(const unsigned int i,
-                                 const Point<dim> p,
+                                 const Point<dim>  &p,
                                  const unsigned int component) const override;
 
   /**
@@ -227,7 +227,7 @@ public:
    */
   virtual Tensor<4, dim>
   shape_4th_derivative(const unsigned int i,
-                       const Point<dim> p) const override;
+                       const Point<dim>  &p) const override;
 
   /**
    * Return the fourth derivative of the <tt>component</tt>th vector component
@@ -241,7 +241,7 @@ public:
    */
   virtual Tensor<4, dim>
   shape_4th_derivative_component(const unsigned int i,
-                                 const Point<dim> p,
+                                 const Point<dim>  &p,
                                  const unsigned int component) const override;
 
   /**
@@ -263,7 +263,7 @@ protected:
   get_data(
     const UpdateFlags             update_flags,
     const Mapping<dim, spacedim> &mapping,
-    const Quadrature<dim> &       quadrature,
+    const Quadrature<dim>        &quadrature,
     dealii::internal::FEValuesImplementation::FiniteElementRelatedData<dim,
                                                                        spacedim>
       &output_data) const override
@@ -377,11 +377,11 @@ protected:
   fill_fe_values(
     const typename Triangulation<dim, spacedim>::cell_iterator &cell,
     const CellSimilarity::Similarity                            cell_similarity,
-    const Quadrature<dim> &                                     quadrature,
-    const Mapping<dim, spacedim> &                              mapping,
+    const Quadrature<dim>                                      &quadrature,
+    const Mapping<dim, spacedim>                               &mapping,
     const typename Mapping<dim, spacedim>::InternalDataBase &mapping_internal,
     const internal::FEValuesImplementation::MappingRelatedData<dim, spacedim>
-      &                                                            mapping_data,
+                                                                  &mapping_data,
     const typename FiniteElement<dim, spacedim>::InternalDataBase &fe_internal,
     dealii::internal::FEValuesImplementation::FiniteElementRelatedData<dim,
                                                                        spacedim>
@@ -393,11 +393,11 @@ protected:
   fill_fe_face_values(
     const typename Triangulation<dim, spacedim>::cell_iterator &cell,
     const unsigned int                                          face_no,
-    const hp::QCollection<dim - 1> &                            quadrature,
-    const Mapping<dim, spacedim> &                              mapping,
+    const hp::QCollection<dim - 1>                             &quadrature,
+    const Mapping<dim, spacedim>                               &mapping,
     const typename Mapping<dim, spacedim>::InternalDataBase &mapping_internal,
     const internal::FEValuesImplementation::MappingRelatedData<dim, spacedim>
-      &                                                            mapping_data,
+                                                                  &mapping_data,
     const typename FiniteElement<dim, spacedim>::InternalDataBase &fe_internal,
     dealii::internal::FEValuesImplementation::FiniteElementRelatedData<dim,
                                                                        spacedim>
@@ -408,11 +408,11 @@ protected:
     const typename Triangulation<dim, spacedim>::cell_iterator &cell,
     const unsigned int                                          face_no,
     const unsigned int                                          sub_no,
-    const Quadrature<dim - 1> &                                 quadrature,
-    const Mapping<dim, spacedim> &                              mapping,
+    const Quadrature<dim - 1>                                  &quadrature,
+    const Mapping<dim, spacedim>                               &mapping,
     const typename Mapping<dim, spacedim>::InternalDataBase &mapping_internal,
     const internal::FEValuesImplementation::MappingRelatedData<dim, spacedim>
-      &                                                            mapping_data,
+                                                                  &mapping_data,
     const typename FiniteElement<dim, spacedim>::InternalDataBase &fe_internal,
     dealii::internal::FEValuesImplementation::FiniteElementRelatedData<dim,
                                                                        spacedim>
@@ -493,7 +493,7 @@ protected:
     internal::FEValuesImplementation::FiniteElementRelatedData<dim, spacedim>
       &output_data,
     const internal::FEValuesImplementation::MappingRelatedData<dim, spacedim>
-      &                mapping_data,
+                      &mapping_data,
     const unsigned int n_q_points) const;
 
   /**
@@ -523,7 +523,7 @@ protected:
     internal::FEValuesImplementation::FiniteElementRelatedData<dim, spacedim>
       &output_data,
     const internal::FEValuesImplementation::MappingRelatedData<dim, spacedim>
-      &                mapping_data,
+                      &mapping_data,
     const unsigned int n_q_points) const;
 
 
index 27625aa279f91eee878183670161d7bd7cbf25c6..8a15f5a797e0460e42916b2b23782399e99c666d 100644 (file)
@@ -36,8 +36,8 @@ DEAL_II_NAMESPACE_OPEN
 template <int dim, int spacedim>
 FE_Poly<dim, spacedim>::FE_Poly(
   const ScalarPolynomialsBase<dim> &poly_space,
-  const FiniteElementData<dim> &    fe_data,
-  const std::vector<bool> &         restriction_is_additive_flags,
+  const FiniteElementData<dim>     &fe_data,
+  const std::vector<bool>          &restriction_is_additive_flags,
   const std::vector<ComponentMask> &nonzero_components)
   : FiniteElement<dim, spacedim>(fe_data,
                                  restriction_is_additive_flags,
@@ -57,7 +57,7 @@ FE_Poly<dim, spacedim>::get_degree() const
 template <int dim, int spacedim>
 double
 FE_Poly<dim, spacedim>::shape_value(const unsigned int i,
-                                    const Point<dim> p) const
+                                    const Point<dim>  &p) const
 {
   AssertIndexRange(i, this->n_dofs_per_cell());
   return poly_space->compute_value(i, p);
@@ -68,7 +68,7 @@ template <int dim, int spacedim>
 double
 FE_Poly<dim, spacedim>::shape_value_component(
   const unsigned int i,
-  const Point<dim> p,
+  const Point<dim>  &p,
   const unsigned int component) const
 {
   (void)component;
@@ -82,7 +82,7 @@ FE_Poly<dim, spacedim>::shape_value_component(
 template <int dim, int spacedim>
 Tensor<1, dim>
 FE_Poly<dim, spacedim>::shape_grad(const unsigned int i,
-                                   const Point<dim> p) const
+                                   const Point<dim>  &p) const
 {
   AssertIndexRange(i, this->n_dofs_per_cell());
   return poly_space->template compute_derivative<1>(i, p);
@@ -93,7 +93,7 @@ FE_Poly<dim, spacedim>::shape_grad(const unsigned int i,
 template <int dim, int spacedim>
 Tensor<1, dim>
 FE_Poly<dim, spacedim>::shape_grad_component(const unsigned int i,
-                                             const Point<dim> p,
+                                             const Point<dim>  &p,
                                              const unsigned int component) const
 {
   (void)component;
@@ -107,7 +107,7 @@ FE_Poly<dim, spacedim>::shape_grad_component(const unsigned int i,
 template <int dim, int spacedim>
 Tensor<2, dim>
 FE_Poly<dim, spacedim>::shape_grad_grad(const unsigned int i,
-                                        const Point<dim> p) const
+                                        const Point<dim>  &p) const
 {
   AssertIndexRange(i, this->n_dofs_per_cell());
   return poly_space->template compute_derivative<2>(i, p);
@@ -119,7 +119,7 @@ template <int dim, int spacedim>
 Tensor<2, dim>
 FE_Poly<dim, spacedim>::shape_grad_grad_component(
   const unsigned int i,
-  const Point<dim> p,
+  const Point<dim>  &p,
   const unsigned int component) const
 {
   (void)component;
@@ -133,7 +133,7 @@ FE_Poly<dim, spacedim>::shape_grad_grad_component(
 template <int dim, int spacedim>
 Tensor<3, dim>
 FE_Poly<dim, spacedim>::shape_3rd_derivative(const unsigned int i,
-                                             const Point<dim> p) const
+                                             const Point<dim>  &p) const
 {
   AssertIndexRange(i, this->n_dofs_per_cell());
   return poly_space->template compute_derivative<3>(i, p);
@@ -145,7 +145,7 @@ template <int dim, int spacedim>
 Tensor<3, dim>
 FE_Poly<dim, spacedim>::shape_3rd_derivative_component(
   const unsigned int i,
-  const Point<dim> p,
+  const Point<dim>  &p,
   const unsigned int component) const
 {
   (void)component;
@@ -159,7 +159,7 @@ FE_Poly<dim, spacedim>::shape_3rd_derivative_component(
 template <int dim, int spacedim>
 Tensor<4, dim>
 FE_Poly<dim, spacedim>::shape_4th_derivative(const unsigned int i,
-                                             const Point<dim> p) const
+                                             const Point<dim>  &p) const
 {
   AssertIndexRange(i, this->n_dofs_per_cell());
   return poly_space->template compute_derivative<4>(i, p);
@@ -171,7 +171,7 @@ template <int dim, int spacedim>
 Tensor<4, dim>
 FE_Poly<dim, spacedim>::shape_4th_derivative_component(
   const unsigned int i,
-  const Point<dim> p,
+  const Point<dim>  &p,
   const unsigned int component) const
 {
   (void)component;
@@ -233,7 +233,7 @@ bool
 higher_derivatives_need_correcting(
   const Mapping<dim, spacedim> &mapping,
   const internal::FEValuesImplementation::MappingRelatedData<dim, spacedim>
-    &                mapping_data,
+                    &mapping_data,
   const unsigned int n_q_points,
   const UpdateFlags  update_flags)
 {
@@ -263,11 +263,11 @@ void
 FE_Poly<dim, spacedim>::fill_fe_values(
   const typename Triangulation<dim, spacedim>::cell_iterator &,
   const CellSimilarity::Similarity                         cell_similarity,
-  const Quadrature<dim> &                                  quadrature,
-  const Mapping<dim, spacedim> &                           mapping,
+  const Quadrature<dim>                                   &quadrature,
+  const Mapping<dim, spacedim>                            &mapping,
   const typename Mapping<dim, spacedim>::InternalDataBase &mapping_internal,
   const internal::FEValuesImplementation::MappingRelatedData<dim, spacedim>
-    &                                                            mapping_data,
+                                                                &mapping_data,
   const typename FiniteElement<dim, spacedim>::InternalDataBase &fe_internal,
   dealii::internal::FEValuesImplementation::FiniteElementRelatedData<dim,
                                                                      spacedim>
@@ -335,11 +335,11 @@ void
 FE_Poly<dim, spacedim>::fill_fe_face_values(
   const typename Triangulation<dim, spacedim>::cell_iterator &cell,
   const unsigned int                                          face_no,
-  const hp::QCollection<dim - 1> &                            quadrature,
-  const Mapping<dim, spacedim> &                              mapping,
-  const typename Mapping<dim, spacedim>::InternalDataBase &   mapping_internal,
+  const hp::QCollection<dim - 1>                             &quadrature,
+  const Mapping<dim, spacedim>                               &mapping,
+  const typename Mapping<dim, spacedim>::InternalDataBase    &mapping_internal,
   const internal::FEValuesImplementation::MappingRelatedData<dim, spacedim>
-    &                                                            mapping_data,
+                                                                &mapping_data,
   const typename FiniteElement<dim, spacedim>::InternalDataBase &fe_internal,
   dealii::internal::FEValuesImplementation::FiniteElementRelatedData<dim,
                                                                      spacedim>
@@ -427,11 +427,11 @@ FE_Poly<dim, spacedim>::fill_fe_subface_values(
   const typename Triangulation<dim, spacedim>::cell_iterator &cell,
   const unsigned int                                          face_no,
   const unsigned int                                          sub_no,
-  const Quadrature<dim - 1> &                                 quadrature,
-  const Mapping<dim, spacedim> &                              mapping,
-  const typename Mapping<dim, spacedim>::InternalDataBase &   mapping_internal,
+  const Quadrature<dim - 1>                                  &quadrature,
+  const Mapping<dim, spacedim>                               &mapping,
+  const typename Mapping<dim, spacedim>::InternalDataBase    &mapping_internal,
   const internal::FEValuesImplementation::MappingRelatedData<dim, spacedim>
-    &                                                            mapping_data,
+                                                                &mapping_data,
   const typename FiniteElement<dim, spacedim>::InternalDataBase &fe_internal,
   dealii::internal::FEValuesImplementation::FiniteElementRelatedData<dim,
                                                                      spacedim>
@@ -521,7 +521,7 @@ FE_Poly<dim, spacedim>::correct_hessians(
   internal::FEValuesImplementation::FiniteElementRelatedData<dim, spacedim>
     &output_data,
   const internal::FEValuesImplementation::MappingRelatedData<dim, spacedim>
-    &                mapping_data,
+                    &mapping_data,
   const unsigned int n_q_points) const
 {
   for (unsigned int dof = 0; dof < this->n_dofs_per_cell(); ++dof)
@@ -540,7 +540,7 @@ FE_Poly<dim, spacedim>::correct_third_derivatives(
   internal::FEValuesImplementation::FiniteElementRelatedData<dim, spacedim>
     &output_data,
   const internal::FEValuesImplementation::MappingRelatedData<dim, spacedim>
-    &                mapping_data,
+                    &mapping_data,
   const unsigned int n_q_points) const
 {
   for (unsigned int dof = 0; dof < this->n_dofs_per_cell(); ++dof)
index a74603ba3590d76e5ae127682a643a5a690ea3b4..0bb9c20c1092e174395153a6c2f51ad496496984 100644 (file)
@@ -64,9 +64,9 @@ public:
   /**
    * Constructor.
    */
-  FE_PolyFace(const PolynomialType &        poly_space,
+  FE_PolyFace(const PolynomialType         &poly_space,
               const FiniteElementData<dim> &fe_data,
-              const std::vector<bool> &     restriction_is_additive_flags);
+              const std::vector<bool>      &restriction_is_additive_flags);
 
   /**
    * Return the polynomial degree of this finite element, i.e. the value
@@ -92,7 +92,7 @@ protected:
   get_data(
     const UpdateFlags             update_flags,
     const Mapping<dim, spacedim> &mapping,
-    const Quadrature<dim> &       quadrature,
+    const Quadrature<dim>        &quadrature,
     dealii::internal::FEValuesImplementation::FiniteElementRelatedData<dim,
                                                                        spacedim>
       &output_data) const override
@@ -109,7 +109,7 @@ protected:
   std::unique_ptr<typename FiniteElement<dim, spacedim>::InternalDataBase>
   get_face_data(
     const UpdateFlags               update_flags,
-    const Mapping<dim, spacedim> &  mapping,
+    const Mapping<dim, spacedim>   &mapping,
     const hp::QCollection<dim - 1> &quadrature,
     dealii::internal::FEValuesImplementation::FiniteElementRelatedData<dim,
                                                                        spacedim>
@@ -171,7 +171,7 @@ protected:
   get_subface_data(
     const UpdateFlags             update_flags,
     const Mapping<dim, spacedim> &mapping,
-    const Quadrature<dim - 1> &   quadrature,
+    const Quadrature<dim - 1>    &quadrature,
     dealii::internal::FEValuesImplementation::FiniteElementRelatedData<dim,
                                                                        spacedim>
       &output_data) const override
@@ -188,11 +188,11 @@ protected:
   fill_fe_values(
     const typename Triangulation<dim, spacedim>::cell_iterator &cell,
     const CellSimilarity::Similarity                            cell_similarity,
-    const Quadrature<dim> &                                     quadrature,
-    const Mapping<dim, spacedim> &                              mapping,
+    const Quadrature<dim>                                      &quadrature,
+    const Mapping<dim, spacedim>                               &mapping,
     const typename Mapping<dim, spacedim>::InternalDataBase &mapping_internal,
     const internal::FEValuesImplementation::MappingRelatedData<dim, spacedim>
-      &                                                            mapping_data,
+                                                                  &mapping_data,
     const typename FiniteElement<dim, spacedim>::InternalDataBase &fe_internal,
     dealii::internal::FEValuesImplementation::FiniteElementRelatedData<dim,
                                                                        spacedim>
@@ -204,11 +204,11 @@ protected:
   fill_fe_face_values(
     const typename Triangulation<dim, spacedim>::cell_iterator &cell,
     const unsigned int                                          face_no,
-    const hp::QCollection<dim - 1> &                            quadrature,
-    const Mapping<dim, spacedim> &                              mapping,
+    const hp::QCollection<dim - 1>                             &quadrature,
+    const Mapping<dim, spacedim>                               &mapping,
     const typename Mapping<dim, spacedim>::InternalDataBase &mapping_internal,
     const internal::FEValuesImplementation::MappingRelatedData<dim, spacedim>
-      &                                                            mapping_data,
+                                                                  &mapping_data,
     const typename FiniteElement<dim, spacedim>::InternalDataBase &fe_internal,
     dealii::internal::FEValuesImplementation::FiniteElementRelatedData<dim,
                                                                        spacedim>
@@ -219,11 +219,11 @@ protected:
     const typename Triangulation<dim, spacedim>::cell_iterator &cell,
     const unsigned int                                          face_no,
     const unsigned int                                          sub_no,
-    const Quadrature<dim - 1> &                                 quadrature,
-    const Mapping<dim, spacedim> &                              mapping,
+    const Quadrature<dim - 1>                                  &quadrature,
+    const Mapping<dim, spacedim>                               &mapping,
     const typename Mapping<dim, spacedim>::InternalDataBase &mapping_internal,
     const internal::FEValuesImplementation::MappingRelatedData<dim, spacedim>
-      &                                                            mapping_data,
+                                                                  &mapping_data,
     const typename FiniteElement<dim, spacedim>::InternalDataBase &fe_internal,
     dealii::internal::FEValuesImplementation::FiniteElementRelatedData<dim,
                                                                        spacedim>
index 7f3aba00ba6980a932cb3365c3eb3180ad08daf4..9bf66563cf40b018dbecf486d8a8cbbe0eb0f9e2 100644 (file)
@@ -30,9 +30,9 @@ DEAL_II_NAMESPACE_OPEN
 
 template <typename PolynomialType, int dim, int spacedim>
 FE_PolyFace<PolynomialType, dim, spacedim>::FE_PolyFace(
-  const PolynomialType &        poly_space,
+  const PolynomialType         &poly_space,
   const FiniteElementData<dim> &fe_data,
-  const std::vector<bool> &     restriction_is_additive_flags)
+  const std::vector<bool>      &restriction_is_additive_flags)
   : FiniteElement<dim, spacedim>(
       fe_data,
       restriction_is_additive_flags,
index 1851f0a1b10cc6e5dcc7f503497128906eec3dd0..b3e46487e21922f07d500b544deaa261ee67281f 100644 (file)
@@ -148,8 +148,8 @@ public:
    * simply pass a temporary object as the first argument.
    */
   FE_PolyTensor(const TensorPolynomialsBase<dim> &polynomials,
-                const FiniteElementData<dim> &    fe_data,
-                const std::vector<bool> &         restriction_is_additive_flags,
+                const FiniteElementData<dim>     &fe_data,
+                const std::vector<bool>          &restriction_is_additive_flags,
                 const std::vector<ComponentMask> &nonzero_components);
 
 
@@ -174,7 +174,7 @@ public:
   // documentation inherited from the base class
   virtual double
   shape_value_component(const unsigned int i,
-                        const Point<dim> p,
+                        const Point<dim>  &p,
                         const unsigned int component) const override;
 
   /**
@@ -189,7 +189,7 @@ public:
   // documentation inherited from the base class
   virtual Tensor<1, dim>
   shape_grad_component(const unsigned int i,
-                       const Point<dim> p,
+                       const Point<dim>  &p,
                        const unsigned int component) const override;
 
   /**
@@ -204,7 +204,7 @@ public:
   // documentation inherited from the base class
   virtual Tensor<2, dim>
   shape_grad_grad_component(const unsigned int i,
-                            const Point<dim> p,
+                            const Point<dim>  &p,
                             const unsigned int component) const override;
 
 protected:
@@ -278,7 +278,7 @@ protected:
   get_data(
     const UpdateFlags             update_flags,
     const Mapping<dim, spacedim> &mapping,
-    const Quadrature<dim> &       quadrature,
+    const Quadrature<dim>        &quadrature,
     dealii::internal::FEValuesImplementation::FiniteElementRelatedData<dim,
                                                                        spacedim>
       &output_data) const override
@@ -421,11 +421,11 @@ protected:
   fill_fe_values(
     const typename Triangulation<dim, spacedim>::cell_iterator &cell,
     const CellSimilarity::Similarity                            cell_similarity,
-    const Quadrature<dim> &                                     quadrature,
-    const Mapping<dim, spacedim> &                              mapping,
+    const Quadrature<dim>                                      &quadrature,
+    const Mapping<dim, spacedim>                               &mapping,
     const typename Mapping<dim, spacedim>::InternalDataBase &mapping_internal,
     const internal::FEValuesImplementation::MappingRelatedData<dim, spacedim>
-      &                                                            mapping_data,
+                                                                  &mapping_data,
     const typename FiniteElement<dim, spacedim>::InternalDataBase &fe_internal,
     dealii::internal::FEValuesImplementation::FiniteElementRelatedData<dim,
                                                                        spacedim>
@@ -437,11 +437,11 @@ protected:
   fill_fe_face_values(
     const typename Triangulation<dim, spacedim>::cell_iterator &cell,
     const unsigned int                                          face_no,
-    const hp::QCollection<dim - 1> &                            quadrature,
-    const Mapping<dim, spacedim> &                              mapping,
+    const hp::QCollection<dim - 1>                             &quadrature,
+    const Mapping<dim, spacedim>                               &mapping,
     const typename Mapping<dim, spacedim>::InternalDataBase &mapping_internal,
     const internal::FEValuesImplementation::MappingRelatedData<dim, spacedim>
-      &                                                            mapping_data,
+                                                                  &mapping_data,
     const typename FiniteElement<dim, spacedim>::InternalDataBase &fe_internal,
     dealii::internal::FEValuesImplementation::FiniteElementRelatedData<dim,
                                                                        spacedim>
@@ -452,11 +452,11 @@ protected:
     const typename Triangulation<dim, spacedim>::cell_iterator &cell,
     const unsigned int                                          face_no,
     const unsigned int                                          sub_no,
-    const Quadrature<dim - 1> &                                 quadrature,
-    const Mapping<dim, spacedim> &                              mapping,
+    const Quadrature<dim - 1>                                  &quadrature,
+    const Mapping<dim, spacedim>                               &mapping,
     const typename Mapping<dim, spacedim>::InternalDataBase &mapping_internal,
     const internal::FEValuesImplementation::MappingRelatedData<dim, spacedim>
-      &                                                            mapping_data,
+                                                                  &mapping_data,
     const typename FiniteElement<dim, spacedim>::InternalDataBase &fe_internal,
     dealii::internal::FEValuesImplementation::FiniteElementRelatedData<dim,
                                                                        spacedim>
index 5fb3ab87e5ae5f6f386ca9019f2bd152d2b13e4c..e54582d0e83091940a69f003d5c85707386d141e 100644 (file)
@@ -40,7 +40,7 @@ public:
    * Constructor.
    */
   FE_PyramidPoly(const unsigned int                                degree,
-                 const internal::GenericDoFsPerObject &            dpos,
+                 const internal::GenericDoFsPerObject             &dpos,
                  const typename FiniteElementData<dim>::Conformity conformity);
 
   /**
@@ -49,7 +49,7 @@ public:
   virtual void
   convert_generalized_support_point_values_to_dof_values(
     const std::vector<Vector<double>> &support_point_values,
-    std::vector<double> &              nodal_values) const override;
+    std::vector<double>               &nodal_values) const override;
 };
 
 /**
index a33ca452c564d0039c2213dc969537011a2dbba7..bf6c80ea3acb8f0ba99369c4f0c3963b5bbe157e 100644 (file)
@@ -623,7 +623,7 @@ public:
   virtual void
   convert_generalized_support_point_values_to_dof_values(
     const std::vector<Vector<double>> &support_point_values,
-    std::vector<double> &              nodal_values) const override;
+    std::vector<double>               &nodal_values) const override;
 
   /**
    * @copydoc FiniteElement::compare_for_domination()
index 5a40d425a1ade198b2d631eb0e0034500c92037b..3ffe31978baa4d19e1cff8147339800fd6953c40 100644 (file)
@@ -44,8 +44,8 @@ public:
    * Constructor.
    */
   FE_Q_Base(const ScalarPolynomialsBase<dim> &poly_space,
-            const FiniteElementData<dim> &    fe_data,
-            const std::vector<bool> &         restriction_is_additive_flags);
+            const FiniteElementData<dim>     &fe_data,
+            const std::vector<bool>          &restriction_is_additive_flags);
 
   /**
    * Return the matrix interpolating from the given finite element to the
@@ -72,7 +72,7 @@ public:
    */
   virtual void
   get_face_interpolation_matrix(const FiniteElement<dim, spacedim> &source,
-                                FullMatrix<double> &                matrix,
+                                FullMatrix<double>                 &matrix,
                                 const unsigned int face_no = 0) const override;
 
   /**
@@ -88,7 +88,7 @@ public:
   get_subface_interpolation_matrix(
     const FiniteElement<dim, spacedim> &source,
     const unsigned int                  subface,
-    FullMatrix<double> &                matrix,
+    FullMatrix<double>                 &matrix,
     const unsigned int                  face_no = 0) const override;
 
   /**
index cb087b81c31b2be30c364734f0ce0f442bfd96b5..ce03c3e2ccbb5d7fde4f5ba2a0e389ac9de304c8 100644 (file)
@@ -125,7 +125,7 @@ public:
   virtual void
   convert_generalized_support_point_values_to_dof_values(
     const std::vector<Vector<double>> &support_point_values,
-    std::vector<double> &              nodal_values) const override;
+    std::vector<double>               &nodal_values) const override;
 
   /**
    * Return the matrix interpolating from the given finite element to the
index 8c71e906d4b4dc474eb3dd88575f91cf3a73149d..522f531c175fd6fdbde202b4a30434a435a59e5e 100644 (file)
@@ -264,7 +264,7 @@ public:
   virtual void
   convert_generalized_support_point_values_to_dof_values(
     const std::vector<Vector<double>> &support_point_values,
-    std::vector<double> &              nodal_values) const override;
+    std::vector<double>               &nodal_values) const override;
 
   /**
    * Return the matrix interpolating from the given finite element to the
index a3fc52e6022f6375fa53d717d3e8a73b1ac79f1a..0dddc542d43faa2f3c3dbf488878d692819b5db7 100644 (file)
@@ -587,7 +587,7 @@ public:
    */
   virtual void
   get_interpolation_matrix(const FiniteElement<dim> &source,
-                           FullMatrix<double> &      matrix) const override;
+                           FullMatrix<double>       &matrix) const override;
 
   /**
    * Embedding matrix between grids. Only isotropic refinement is supported.
@@ -651,7 +651,7 @@ public:
    */
   virtual void
   get_face_interpolation_matrix(const FiniteElement<dim> &source,
-                                FullMatrix<double> &      matrix,
+                                FullMatrix<double>       &matrix,
                                 const unsigned int face_no = 0) const override;
 
   /**
@@ -669,7 +669,7 @@ public:
   get_subface_interpolation_matrix(
     const FiniteElement<dim> &source,
     const unsigned int        subface,
-    FullMatrix<double> &      matrix,
+    FullMatrix<double>       &matrix,
     const unsigned int        face_no = 0) const override;
 
   /**
index 95d5c8d8479621a6fb7ed3db893c342b44c8bfb0..66623ed8d70c913357ac293164b259b8992cc0a5 100644 (file)
@@ -158,7 +158,7 @@ public:
   virtual void
   convert_generalized_support_point_values_to_dof_values(
     const std::vector<Vector<double>> &support_point_values,
-    std::vector<double> &              nodal_values) const override;
+    std::vector<double>               &nodal_values) const override;
 
   /**
    * @name Functions to support hp
index b304679e43949cb53fb8340adbc27aea979e4811..abdff63ccc017ea6a39893ba5bd158419ee443c6 100644 (file)
@@ -102,7 +102,7 @@ public:
   virtual void
   convert_generalized_support_point_values_to_dof_values(
     const std::vector<Vector<double>> &support_point_values,
-    std::vector<double> &              nodal_values) const override;
+    std::vector<double>               &nodal_values) const override;
 
 private:
   /**
index b4a9f163501fa7f3b8d01a51c70f730a17d2d7b7..f2b64679d593969f97ac38b739ebadc01913d94f 100644 (file)
@@ -160,7 +160,7 @@ public:
   virtual void
   convert_generalized_support_point_values_to_dof_values(
     const std::vector<Vector<double>> &support_point_values,
-    std::vector<double> &              nodal_values) const override;
+    std::vector<double>               &nodal_values) const override;
 
   /**
    * Return a list of constant modes of the element. This method is currently
@@ -355,20 +355,20 @@ public:
 
   virtual void
   get_face_interpolation_matrix(const FiniteElement<dim> &source,
-                                FullMatrix<double> &      matrix,
+                                FullMatrix<double>       &matrix,
                                 const unsigned int face_no = 0) const override;
 
   virtual void
   get_subface_interpolation_matrix(
     const FiniteElement<dim> &source,
     const unsigned int        subface,
-    FullMatrix<double> &      matrix,
+    FullMatrix<double>       &matrix,
     const unsigned int        face_no = 0) const override;
 
   virtual void
   convert_generalized_support_point_values_to_dof_values(
     const std::vector<Vector<double>> &support_point_values,
-    std::vector<double> &              nodal_values) const override;
+    std::vector<double>               &nodal_values) const override;
 
   virtual bool
   hp_constraints_are_implemented() const override;
index 63b5ca0995dd2e1d63199d2da0cd140b8ca1fd50..160486ee24f546c66e0f95f647185e3eba8a41c0 100644 (file)
@@ -108,7 +108,7 @@ public:
   virtual void
   convert_generalized_support_point_values_to_dof_values(
     const std::vector<Vector<double>> &support_point_values,
-    std::vector<double> &              nodal_values) const override;
+    std::vector<double>               &nodal_values) const override;
 
 private:
   /**
index 11f0dea7d06ac77d91f027146eca2f8f5a008274..99132e3a2ea14abe858ee96fc41f29f20070938e 100644 (file)
@@ -110,9 +110,9 @@ namespace FESeries
      * case it indicates that the sole component is to be decomposed. For
      * vector-valued FEs, a non-default value must be explicitly provided.
      */
-    Fourier(const std::vector<unsigned int> &      n_coefficients_per_direction,
+    Fourier(const std::vector<unsigned int>       &n_coefficients_per_direction,
             const hp::FECollection<dim, spacedim> &fe_collection,
-            const hp::QCollection<dim> &           q_collection,
+            const hp::QCollection<dim>            &q_collection,
             const unsigned int component = numbers::invalid_unsigned_int);
 
     /**
@@ -124,7 +124,7 @@ namespace FESeries
     void
     calculate(const dealii::Vector<Number> &local_dof_values,
               const unsigned int            cell_active_fe_index,
-              Table<dim, CoefficientType> fourier_coefficients);
+              Table<dim, CoefficientType>  &fourier_coefficients);
 
     /**
      * Return the number of coefficients in each coordinate direction for the
@@ -282,7 +282,7 @@ namespace FESeries
      */
     Legendre(const std::vector<unsigned int> &n_coefficients_per_direction,
              const hp::FECollection<dim, spacedim> &fe_collection,
-             const hp::QCollection<dim> &           q_collection,
+             const hp::QCollection<dim>            &q_collection,
              const unsigned int component = numbers::invalid_unsigned_int);
 
     /**
@@ -294,7 +294,7 @@ namespace FESeries
     void
     calculate(const dealii::Vector<Number> &local_dof_values,
               const unsigned int            cell_active_fe_index,
-              Table<dim, CoefficientType> legendre_coefficients);
+              Table<dim, CoefficientType>  &legendre_coefficients);
 
     /**
      * Return the number of coefficients in each coordinate direction for the
@@ -400,7 +400,7 @@ namespace FESeries
   std::pair<std::vector<unsigned int>, std::vector<double>>
   process_coefficients(const Table<dim, CoefficientType> &coefficients,
                        const std::function<std::pair<bool, unsigned int>(
-                         const TableIndices<dim> &)> &    predicate,
+                         const TableIndices<dim> &)>     &predicate,
                        const VectorTools::NormType        norm_type,
                        const double smallest_abs_coefficient = 1e-10);
 
@@ -430,7 +430,7 @@ namespace internal
     void
     fill_map_index(
       const Table<dim, CoefficientType> &coefficients,
-      const TableIndices<dim> &          ind,
+      const TableIndices<dim>           &ind,
       const std::function<
         std::pair<bool, unsigned int>(const TableIndices<dim> &)> &predicate,
       std::map<unsigned int, std::vector<CoefficientType>> &pred_to_values)
@@ -455,7 +455,7 @@ namespace internal
       const Table<1, CoefficientType> &coefficients,
       const std::function<
         std::pair<bool, unsigned int>(const TableIndices<1> &)> &predicate,
-      std::map<unsigned int, std::vector<CoefficientType>> &     pred_to_values)
+      std::map<unsigned int, std::vector<CoefficientType>>      &pred_to_values)
     {
       for (unsigned int i = 0; i < coefficients.size(0); ++i)
         {
@@ -472,7 +472,7 @@ namespace internal
       const Table<2, CoefficientType> &coefficients,
       const std::function<
         std::pair<bool, unsigned int>(const TableIndices<2> &)> &predicate,
-      std::map<unsigned int, std::vector<CoefficientType>> &     pred_to_values)
+      std::map<unsigned int, std::vector<CoefficientType>>      &pred_to_values)
     {
       for (unsigned int i = 0; i < coefficients.size(0); ++i)
         for (unsigned int j = 0; j < coefficients.size(1); ++j)
@@ -490,7 +490,7 @@ namespace internal
       const Table<3, CoefficientType> &coefficients,
       const std::function<
         std::pair<bool, unsigned int>(const TableIndices<3> &)> &predicate,
-      std::map<unsigned int, std::vector<CoefficientType>> &     pred_to_values)
+      std::map<unsigned int, std::vector<CoefficientType>>      &pred_to_values)
     {
       for (unsigned int i = 0; i < coefficients.size(0); ++i)
         for (unsigned int j = 0; j < coefficients.size(1); ++j)
@@ -532,7 +532,7 @@ std::pair<std::vector<unsigned int>, std::vector<double>>
 FESeries::process_coefficients(
   const Table<dim, CoefficientType> &coefficients,
   const std::function<std::pair<bool, unsigned int>(const TableIndices<dim> &)>
-    &                         predicate,
+                             &predicate,
   const VectorTools::NormType norm_type,
   const double                smallest_abs_coefficient)
 {
@@ -612,7 +612,7 @@ FESeries::Fourier<dim, spacedim>::save_transformation_matrices(
 
   // finite element collection
   unsigned int size = fe_collection->size();
-  ar &         size;
+  ar          &size;
   for (unsigned int i = 0; i < size; ++i)
     ar &(*fe_collection)[i].get_name();
 
@@ -639,7 +639,7 @@ FESeries::Fourier<dim, spacedim>::load_transformation_matrices(
   // the transformation matrices to load.
   // mode vector
   std::vector<unsigned int> compare_coefficients;
-  ar &                      compare_coefficients;
+  ar                       &compare_coefficients;
   Assert(compare_coefficients == n_coefficients_per_direction,
          ExcMessage("A different number of coefficients vector has been used "
                     "to generate the transformation matrices you are about "
@@ -647,7 +647,7 @@ FESeries::Fourier<dim, spacedim>::load_transformation_matrices(
 
   // finite element collection
   unsigned int size;
-  ar &         size;
+  ar          &size;
   AssertDimension(size, fe_collection->size());
   std::string name;
   for (unsigned int i = 0; i < size; ++i)
@@ -690,7 +690,7 @@ FESeries::Legendre<dim, spacedim>::save_transformation_matrices(
 
   // finite element collection
   unsigned int size = fe_collection->size();
-  ar &         size;
+  ar          &size;
   for (unsigned int i = 0; i < size; ++i)
     ar &(*fe_collection)[i].get_name();
 
@@ -717,7 +717,7 @@ FESeries::Legendre<dim, spacedim>::load_transformation_matrices(
   // the transformation matrices to load.
   // mode vector
   std::vector<unsigned int> compare_coefficients;
-  ar &                      compare_coefficients;
+  ar                       &compare_coefficients;
   Assert(compare_coefficients == n_coefficients_per_direction,
          ExcMessage("A different number of coefficients vector has been used "
                     "to generate the transformation matrices you are about "
@@ -725,7 +725,7 @@ FESeries::Legendre<dim, spacedim>::load_transformation_matrices(
 
   // finite element collection
   unsigned int size;
-  ar &         size;
+  ar          &size;
   AssertDimension(size, fe_collection->size());
   std::string name;
   for (unsigned int i = 0; i < size; ++i)
index ab68f2886681b4a96a5b23282d211f6e84f0e680..8d92463cf8ae812a2b753d739071b38f6b693fd9 100644 (file)
@@ -42,10 +42,10 @@ public:
    */
   FE_SimplexPoly(
     const BarycentricPolynomials<dim>              polynomials,
-    const FiniteElementData<dim> &                 fe_data,
-    const std::vector<Point<dim>> &                unit_support_points,
+    const FiniteElementData<dim>                  &fe_data,
+    const std::vector<Point<dim>>                 &unit_support_points,
     const std::vector<std::vector<Point<dim - 1>>> unit_face_support_points,
-    const FullMatrix<double> &                     interface_constraints);
+    const FullMatrix<double>                      &interface_constraints);
 
   /**
    * Return a list of constant modes of the element. For this element, the
@@ -91,7 +91,7 @@ public:
   get_subface_interpolation_matrix(
     const FiniteElement<dim, spacedim> &x_source_fe,
     const unsigned int                  subface,
-    FullMatrix<double> &                interpolation_matrix,
+    FullMatrix<double>                 &interpolation_matrix,
     const unsigned int                  face_no) const override;
 
   /**
@@ -106,7 +106,7 @@ public:
   virtual void
   convert_generalized_support_point_values_to_dof_values(
     const std::vector<Vector<double>> &support_point_values,
-    std::vector<double> &              nodal_values) const override;
+    std::vector<double>               &nodal_values) const override;
 
 protected:
   /**
index 90e6a44baf31957af8dc56adb7d0c12775058ff8..7abb98633f8c72c42a427032c27dd4fd37dd0282 100644 (file)
@@ -636,7 +636,7 @@ public:
    */
   virtual double
   shape_value_component(const unsigned int i,
-                        const Point<dim> p,
+                        const Point<dim>  &p,
                         const unsigned int component) const override;
 
   /**
@@ -666,7 +666,7 @@ public:
    */
   virtual Tensor<1, dim>
   shape_grad_component(const unsigned int i,
-                       const Point<dim> p,
+                       const Point<dim>  &p,
                        const unsigned int component) const override;
 
   /**
@@ -696,7 +696,7 @@ public:
    */
   virtual Tensor<2, dim>
   shape_grad_grad_component(const unsigned int i,
-                            const Point<dim> p,
+                            const Point<dim>  &p,
                             const unsigned int component) const override;
 
   /**
@@ -715,7 +715,7 @@ public:
    */
   virtual Tensor<3, dim>
   shape_3rd_derivative(const unsigned int i,
-                       const Point<dim> p) const override;
+                       const Point<dim>  &p) const override;
 
   /**
    * Return the third derivatives of the @p componentth vector component of
@@ -727,7 +727,7 @@ public:
    */
   virtual Tensor<3, dim>
   shape_3rd_derivative_component(const unsigned int i,
-                                 const Point<dim> p,
+                                 const Point<dim>  &p,
                                  const unsigned int component) const override;
 
   /**
@@ -746,7 +746,7 @@ public:
    */
   virtual Tensor<4, dim>
   shape_4th_derivative(const unsigned int i,
-                       const Point<dim> p) const override;
+                       const Point<dim>  &p) const override;
 
   /**
    * Return the fourth derivatives of the @p componentth vector component of
@@ -758,7 +758,7 @@ public:
    */
   virtual Tensor<4, dim>
   shape_4th_derivative_component(const unsigned int i,
-                                 const Point<dim> p,
+                                 const Point<dim>  &p,
                                  const unsigned int component) const override;
 
   /**
@@ -952,7 +952,7 @@ public:
    */
   virtual void
   get_face_interpolation_matrix(const FiniteElement<dim, spacedim> &source,
-                                FullMatrix<double> &                matrix,
+                                FullMatrix<double>                 &matrix,
                                 const unsigned int face_no = 0) const override;
 
 
@@ -972,7 +972,7 @@ public:
   get_subface_interpolation_matrix(
     const FiniteElement<dim, spacedim> &source,
     const unsigned int                  subface,
-    FullMatrix<double> &                matrix,
+    FullMatrix<double>                 &matrix,
     const unsigned int                  face_no = 0) const override;
 
   /**
@@ -1036,7 +1036,7 @@ public:
   virtual void
   convert_generalized_support_point_values_to_dof_values(
     const std::vector<Vector<double>> &support_point_values,
-    std::vector<double> &              dof_values) const override;
+    std::vector<double>               &dof_values) const override;
 
   /**
    * Determine an estimate for the memory consumption (in bytes) of this
@@ -1088,7 +1088,7 @@ protected:
   get_data(
     const UpdateFlags             update_flags,
     const Mapping<dim, spacedim> &mapping,
-    const Quadrature<dim> &       quadrature,
+    const Quadrature<dim>        &quadrature,
     dealii::internal::FEValuesImplementation::FiniteElementRelatedData<dim,
                                                                        spacedim>
       &output_data) const override;
@@ -1099,7 +1099,7 @@ protected:
     typename FiniteElement<dim, spacedim>::InternalDataBase>
   get_face_data(
     const UpdateFlags               update_flags,
-    const Mapping<dim, spacedim> &  mapping,
+    const Mapping<dim, spacedim>   &mapping,
     const hp::QCollection<dim - 1> &quadrature,
     dealii::internal::FEValuesImplementation::FiniteElementRelatedData<dim,
                                                                        spacedim>
@@ -1110,7 +1110,7 @@ protected:
   get_subface_data(
     const UpdateFlags             update_flags,
     const Mapping<dim, spacedim> &mapping,
-    const Quadrature<dim - 1> &   quadrature,
+    const Quadrature<dim - 1>    &quadrature,
     dealii::internal::FEValuesImplementation::FiniteElementRelatedData<dim,
                                                                        spacedim>
       &output_data) const override;
@@ -1119,11 +1119,11 @@ protected:
   fill_fe_values(
     const typename Triangulation<dim, spacedim>::cell_iterator &cell,
     const CellSimilarity::Similarity                            cell_similarity,
-    const Quadrature<dim> &                                     quadrature,
-    const Mapping<dim, spacedim> &                              mapping,
+    const Quadrature<dim>                                      &quadrature,
+    const Mapping<dim, spacedim>                               &mapping,
     const typename Mapping<dim, spacedim>::InternalDataBase &mapping_internal,
     const internal::FEValuesImplementation::MappingRelatedData<dim, spacedim>
-      &                                                            mapping_data,
+                                                                  &mapping_data,
     const typename FiniteElement<dim, spacedim>::InternalDataBase &fe_internal,
     dealii::internal::FEValuesImplementation::FiniteElementRelatedData<dim,
                                                                        spacedim>
@@ -1135,11 +1135,11 @@ protected:
   fill_fe_face_values(
     const typename Triangulation<dim, spacedim>::cell_iterator &cell,
     const unsigned int                                          face_no,
-    const hp::QCollection<dim - 1> &                            quadrature,
-    const Mapping<dim, spacedim> &                              mapping,
+    const hp::QCollection<dim - 1>                             &quadrature,
+    const Mapping<dim, spacedim>                               &mapping,
     const typename Mapping<dim, spacedim>::InternalDataBase &mapping_internal,
     const internal::FEValuesImplementation::MappingRelatedData<dim, spacedim>
-      &                                                            mapping_data,
+                                                                  &mapping_data,
     const typename FiniteElement<dim, spacedim>::InternalDataBase &fe_internal,
     dealii::internal::FEValuesImplementation::FiniteElementRelatedData<dim,
                                                                        spacedim>
@@ -1150,11 +1150,11 @@ protected:
     const typename Triangulation<dim, spacedim>::cell_iterator &cell,
     const unsigned int                                          face_no,
     const unsigned int                                          sub_no,
-    const Quadrature<dim - 1> &                                 quadrature,
-    const Mapping<dim, spacedim> &                              mapping,
+    const Quadrature<dim - 1>                                  &quadrature,
+    const Mapping<dim, spacedim>                               &mapping,
     const typename Mapping<dim, spacedim>::InternalDataBase &mapping_internal,
     const internal::FEValuesImplementation::MappingRelatedData<dim, spacedim>
-      &                                                            mapping_data,
+                                                                  &mapping_data,
     const typename FiniteElement<dim, spacedim>::InternalDataBase &fe_internal,
     dealii::internal::FEValuesImplementation::FiniteElementRelatedData<dim,
                                                                        spacedim>
@@ -1173,11 +1173,11 @@ protected:
   template <class Q_or_QC>
   void
   compute_fill(
-    const Mapping<dim, spacedim> &                              mapping,
+    const Mapping<dim, spacedim>                               &mapping,
     const typename Triangulation<dim, spacedim>::cell_iterator &cell,
     const unsigned int                                          face_no,
     const unsigned int                                          sub_no,
-    const Q_or_QC &                                             quadrature,
+    const Q_or_QC                                              &quadrature,
     const CellSimilarity::Similarity                            cell_similarity,
     const typename Mapping<dim, spacedim>::InternalDataBase &mapping_internal,
     const typename FiniteElement<dim, spacedim>::InternalDataBase &fe_data,
@@ -1377,9 +1377,9 @@ namespace internal
     auto
     promote_to_fe_pair(std::pair<std::unique_ptr<FiniteElement<dim, spacedim>>,
                                  unsigned int> &&p)
-      -> decltype(
-        std::forward<std::pair<std::unique_ptr<FiniteElement<dim, spacedim>>,
-                               unsigned int>>(p))
+      -> decltype(std::forward<
+                  std::pair<std::unique_ptr<FiniteElement<dim, spacedim>>,
+                            unsigned int>>(p))
     {
       return std::forward<
         std::pair<std::unique_ptr<FiniteElement<dim, spacedim>>, unsigned int>>(
index 4ed8c6a8ffcf766b4130949de2ee767f457253f5..b198f2ebdb4f1d71be6924b55d1786140d2a7560 100644 (file)
@@ -153,8 +153,8 @@ namespace FETools
    */
   template <int dim, int spacedim>
   void
-  compute_component_wise(const FiniteElement<dim, spacedim> &    fe,
-                         std::vector<unsigned int> &             renumbering,
+  compute_component_wise(const FiniteElement<dim, spacedim>     &fe,
+                         std::vector<unsigned int>              &renumbering,
                          std::vector<std::vector<unsigned int>> &start_indices);
 
   /**
@@ -174,7 +174,7 @@ namespace FETools
    */
   template <int dim, int spacedim>
   void
-  compute_block_renumbering(const FiniteElement<dim, spacedim> &  fe,
+  compute_block_renumbering(const FiniteElement<dim, spacedim>   &fe,
                             std::vector<types::global_dof_index> &renumbering,
                             std::vector<types::global_dof_index> &block_data,
                             bool return_start_indices = true);
@@ -239,7 +239,7 @@ namespace FETools
   void
   get_projection_matrix(const FiniteElement<dim, spacedim> &fe1,
                         const FiniteElement<dim, spacedim> &fe2,
-                        FullMatrix<number> &                matrix);
+                        FullMatrix<number>                 &matrix);
 
   /**
    * This is a rather specialized function used during the construction of
@@ -354,7 +354,7 @@ namespace FETools
   template <int dim, typename number, int spacedim>
   void
   compute_embedding_matrices(
-    const FiniteElement<dim, spacedim> &          fe,
+    const FiniteElement<dim, spacedim>           &fe,
     std::vector<std::vector<FullMatrix<number>>> &matrices,
     const bool                                    isotropic_only = false,
     const double                                  threshold      = 1.e-12);
@@ -423,7 +423,7 @@ namespace FETools
   template <int dim, typename number, int spacedim>
   void
   compute_projection_matrices(
-    const FiniteElement<dim, spacedim> &          fe,
+    const FiniteElement<dim, spacedim>           &fe,
     std::vector<std::vector<FullMatrix<number>>> &matrices,
     const bool                                    isotropic_only = false);
 
@@ -516,9 +516,9 @@ namespace FETools
   void
   compute_projection_from_quadrature_points_matrix(
     const FiniteElement<dim, spacedim> &fe,
-    const Quadrature<dim> &             lhs_quadrature,
-    const Quadrature<dim> &             rhs_quadrature,
-    FullMatrix<double> &                X);
+    const Quadrature<dim>              &lhs_quadrature,
+    const Quadrature<dim>              &rhs_quadrature,
+    FullMatrix<double>                 &X);
 
   /**
    * Given a (scalar) local finite element function, compute the matrix that
@@ -531,8 +531,8 @@ namespace FETools
   void
   compute_interpolation_to_quadrature_points_matrix(
     const FiniteElement<dim, spacedim> &fe,
-    const Quadrature<dim> &             quadrature,
-    FullMatrix<double> &                I_q);
+    const Quadrature<dim>              &quadrature,
+    FullMatrix<double>                 &I_q);
 
   /**
    * Compute the projection of tensorial (first-order tensor) data stored at
@@ -550,9 +550,9 @@ namespace FETools
   template <int dim>
   void
   compute_projection_from_quadrature_points(
-    const FullMatrix<double> &         projection_matrix,
+    const FullMatrix<double>          &projection_matrix,
     const std::vector<Tensor<1, dim>> &vector_of_tensors_at_qp,
-    std::vector<Tensor<1, dim>> &      vector_of_tensors_at_nodes);
+    std::vector<Tensor<1, dim>>       &vector_of_tensors_at_nodes);
 
 
 
@@ -562,9 +562,9 @@ namespace FETools
   template <int dim>
   void
   compute_projection_from_quadrature_points(
-    const FullMatrix<double> &                  projection_matrix,
+    const FullMatrix<double>                   &projection_matrix,
     const std::vector<SymmetricTensor<2, dim>> &vector_of_tensors_at_qp,
-    std::vector<SymmetricTensor<2, dim>> &      vector_of_tensors_at_nodes);
+    std::vector<SymmetricTensor<2, dim>>       &vector_of_tensors_at_nodes);
 
 
 
@@ -581,11 +581,11 @@ namespace FETools
   void
   compute_projection_from_face_quadrature_points_matrix(
     const FiniteElement<dim, spacedim> &fe,
-    const Quadrature<dim - 1> &         lhs_quadrature,
-    const Quadrature<dim - 1> &         rhs_quadrature,
+    const Quadrature<dim - 1>          &lhs_quadrature,
+    const Quadrature<dim - 1>          &rhs_quadrature,
     const typename DoFHandler<dim, spacedim>::active_cell_iterator &cell,
     const unsigned int                                              face,
-    FullMatrix<double> &                                            X);
+    FullMatrix<double>                                             &X);
 
 
 
@@ -608,8 +608,8 @@ namespace FETools
   void
   convert_generalized_support_point_values_to_dof_values(
     const FiniteElement<dim, spacedim> &finite_element,
-    const std::vector<Vector<number>> support_point_values,
-    std::vector<number> &               dof_values);
+    const std::vector<Vector<number>>  &support_point_values,
+    std::vector<number>                &dof_values);
 
 
 
@@ -650,9 +650,9 @@ namespace FETools
   template <int dim, int spacedim, class InVector, class OutVector>
   void
   interpolate(const DoFHandler<dim, spacedim> &dof1,
-              const InVector &                 u1,
+              const InVector                  &u1,
               const DoFHandler<dim, spacedim> &dof2,
-              OutVector &                      u2);
+              OutVector                       &u2);
 
   /**
    * Compute the interpolation of a the @p dof1-function @p u1 to a @p
@@ -673,11 +673,11 @@ namespace FETools
   template <int dim, int spacedim, class InVector, class OutVector>
   void
   interpolate(
-    const DoFHandler<dim, spacedim> &                        dof1,
-    const InVector &                                         u1,
-    const DoFHandler<dim, spacedim> &                        dof2,
+    const DoFHandler<dim, spacedim>                         &dof1,
+    const InVector                                          &u1,
+    const DoFHandler<dim, spacedim>                         &dof2,
     const AffineConstraints<typename OutVector::value_type> &constraints,
-    OutVector &                                              u2);
+    OutVector                                               &u2);
 
   /**
    * Compute the interpolation of the @p fe1-function @p u1 to a @p
@@ -694,10 +694,10 @@ namespace FETools
    */
   template <int dim, class InVector, class OutVector, int spacedim>
   void
-  back_interpolate(const DoFHandler<dim, spacedim> &   dof1,
-                   const InVector &                    u1,
+  back_interpolate(const DoFHandler<dim, spacedim>    &dof1,
+                   const InVector                     &u1,
                    const FiniteElement<dim, spacedim> &fe2,
-                   OutVector &                         u1_interpolated);
+                   OutVector                          &u1_interpolated);
 
   /**
    * Compute the interpolation of the @p dof1-function @p u1 to a @p
@@ -714,12 +714,12 @@ namespace FETools
   template <int dim, class InVector, class OutVector, int spacedim>
   void
   back_interpolate(
-    const DoFHandler<dim, spacedim> &                        dof1,
+    const DoFHandler<dim, spacedim>                         &dof1,
     const AffineConstraints<typename OutVector::value_type> &constraints1,
-    const InVector &                                         u1,
-    const DoFHandler<dim, spacedim> &                        dof2,
+    const InVector                                          &u1,
+    const DoFHandler<dim, spacedim>                         &dof2,
     const AffineConstraints<typename OutVector::value_type> &constraints2,
-    OutVector &                                              u1_interpolated);
+    OutVector                                               &u1_interpolated);
 
   /**
    * Compute $(Id-I_h)z_1$ for a given @p dof1-function $z_1$, where $I_h$ is
@@ -732,10 +732,10 @@ namespace FETools
    */
   template <int dim, class InVector, class OutVector, int spacedim>
   void
-  interpolation_difference(const DoFHandler<dim, spacedim> &   dof1,
-                           const InVector &                    z1,
+  interpolation_difference(const DoFHandler<dim, spacedim>    &dof1,
+                           const InVector                     &z1,
                            const FiniteElement<dim, spacedim> &fe2,
-                           OutVector &                         z1_difference);
+                           OutVector                          &z1_difference);
 
   /**
    * Compute $(Id-I_h)z_1$ for a given @p dof1-function $z_1$, where $I_h$ is
@@ -752,12 +752,12 @@ namespace FETools
   template <int dim, class InVector, class OutVector, int spacedim>
   void
   interpolation_difference(
-    const DoFHandler<dim, spacedim> &                        dof1,
+    const DoFHandler<dim, spacedim>                         &dof1,
     const AffineConstraints<typename OutVector::value_type> &constraints1,
-    const InVector &                                         z1,
-    const DoFHandler<dim, spacedim> &                        dof2,
+    const InVector                                          &z1,
+    const DoFHandler<dim, spacedim>                         &dof2,
     const AffineConstraints<typename OutVector::value_type> &constraints2,
-    OutVector &                                              z1_difference);
+    OutVector                                               &z1_difference);
 
 
 
@@ -772,9 +772,9 @@ namespace FETools
   template <int dim, class InVector, class OutVector, int spacedim>
   void
   project_dg(const DoFHandler<dim, spacedim> &dof1,
-             const InVector &                 u1,
+             const InVector                  &u1,
              const DoFHandler<dim, spacedim> &dof2,
-             OutVector &                      u2);
+             OutVector                       &u2);
 
   /**
    * Compute the patchwise extrapolation of a @p dof1 function @p z1 to a @p
@@ -839,9 +839,9 @@ namespace FETools
   template <int dim, class InVector, class OutVector, int spacedim>
   void
   extrapolate(const DoFHandler<dim, spacedim> &dof1,
-              const InVector &                 z1,
+              const InVector                  &z1,
               const DoFHandler<dim, spacedim> &dof2,
-              OutVector &                      z2);
+              OutVector                       &z2);
 
   /**
    * Compute the patchwise extrapolation of a @p dof1 function @p z1 to a @p
@@ -858,11 +858,11 @@ namespace FETools
   template <int dim, class InVector, class OutVector, int spacedim>
   void
   extrapolate(
-    const DoFHandler<dim, spacedim> &                        dof1,
-    const InVector &                                         z1,
-    const DoFHandler<dim, spacedim> &                        dof2,
+    const DoFHandler<dim, spacedim>                         &dof1,
+    const InVector                                          &z1,
+    const DoFHandler<dim, spacedim>                         &dof2,
     const AffineConstraints<typename OutVector::value_type> &constraints,
-    OutVector &                                              z2);
+    OutVector                                               &z2);
 
   /** @} */
   /**
@@ -990,7 +990,7 @@ namespace FETools
     FiniteElementData<dim>
     multiply_dof_numbers(
       const std::vector<const FiniteElement<dim, spacedim> *> &fes,
-      const std::vector<unsigned int> &                        multiplicities,
+      const std::vector<unsigned int>                         &multiplicities,
       const bool do_tensor_product = true);
 
     /**
@@ -1037,7 +1037,7 @@ namespace FETools
     std::vector<bool>
     compute_restriction_is_additive_flags(
       const std::vector<const FiniteElement<dim, spacedim> *> &fes,
-      const std::vector<unsigned int> &                        multiplicities);
+      const std::vector<unsigned int>                         &multiplicities);
 
     /**
      * Same as above for an arbitrary number of parameters of type
@@ -1100,7 +1100,7 @@ namespace FETools
     std::vector<ComponentMask>
     compute_nonzero_components(
       const std::vector<const FiniteElement<dim, spacedim> *> &fes,
-      const std::vector<unsigned int> &                        multiplicities,
+      const std::vector<unsigned int>                         &multiplicities,
       const bool do_tensor_product = true);
 
     /**
@@ -1170,10 +1170,10 @@ namespace FETools
       std::vector<std::pair<std::pair<unsigned int, unsigned int>,
                             unsigned int>> &system_to_base_table,
       std::vector<std::pair<unsigned int, unsigned int>>
-        &                                   system_to_component_table,
+                                           &system_to_component_table,
       std::vector<std::pair<std::pair<unsigned int, unsigned int>,
                             unsigned int>> &component_to_base_table,
-      const FiniteElement<dim, spacedim> &  finite_element,
+      const FiniteElement<dim, spacedim>   &finite_element,
       const bool                            do_tensor_product = true);
 
     /**
@@ -1197,7 +1197,7 @@ namespace FETools
       std::vector<std::pair<std::pair<unsigned int, unsigned int>,
                             unsigned int>> &face_system_to_base_table,
       std::vector<std::pair<unsigned int, unsigned int>>
-        &                                 face_system_to_component_table,
+                                         &face_system_to_component_table,
       const FiniteElement<dim, spacedim> &finite_element,
       const bool                          do_tensor_product = true,
       const unsigned int                  face_no           = 0 /*TODO*/);
@@ -1286,7 +1286,7 @@ namespace FETools
    */
   template <int dim, int spacedim>
   void
-  add_fe_name(const std::string &                 name,
+  add_fe_name(const std::string                  &name,
               const FEFactoryBase<dim, spacedim> *factory);
 
   /**
index d20c98b43378780d00b7655f74851f62c0589990..f093b1bb6d0a35f29bd31ce84dda85e91a2a986e 100644 (file)
@@ -81,7 +81,7 @@ namespace FETools
     FiniteElementData<dim>
     multiply_dof_numbers(
       const std::vector<const FiniteElement<dim, spacedim> *> &fes,
-      const std::vector<unsigned int> &                        multiplicities,
+      const std::vector<unsigned int>                         &multiplicities,
       const bool do_tensor_product)
     {
       AssertDimension(fes.size(), multiplicities.size());
@@ -245,7 +245,7 @@ namespace FETools
     std::vector<bool>
     compute_restriction_is_additive_flags(
       const std::vector<const FiniteElement<dim, spacedim> *> &fes,
-      const std::vector<unsigned int> &                        multiplicities)
+      const std::vector<unsigned int>                         &multiplicities)
     {
       AssertDimension(fes.size(), multiplicities.size());
 
@@ -405,7 +405,7 @@ namespace FETools
     std::vector<ComponentMask>
     compute_nonzero_components(
       const std::vector<const FiniteElement<dim, spacedim> *> &fes,
-      const std::vector<unsigned int> &                        multiplicities,
+      const std::vector<unsigned int>                         &multiplicities,
       const bool do_tensor_product)
     {
       AssertDimension(fes.size(), multiplicities.size());
@@ -652,10 +652,10 @@ namespace FETools
       std::vector<std::pair<std::pair<unsigned int, unsigned int>,
                             unsigned int>> &system_to_base_table,
       std::vector<std::pair<unsigned int, unsigned int>>
-        &                                   system_to_component_table,
+                                           &system_to_component_table,
       std::vector<std::pair<std::pair<unsigned int, unsigned int>,
                             unsigned int>> &component_to_base_table,
-      const FiniteElement<dim, spacedim> &  fe,
+      const FiniteElement<dim, spacedim>   &fe,
       const bool                            do_tensor_product)
     {
       unsigned int total_index = 0;
@@ -874,7 +874,7 @@ namespace FETools
       std::vector<std::pair<std::pair<unsigned int, unsigned int>,
                             unsigned int>> &face_system_to_base_table,
       std::vector<std::pair<unsigned int, unsigned int>>
-        &                                 face_system_to_component_table,
+                                         &face_system_to_component_table,
       const FiniteElement<dim, spacedim> &fe,
       const bool                          do_tensor_product,
       const unsigned int                  face_no)
@@ -1282,7 +1282,7 @@ namespace FETools
       inline void
       gim_forwarder(const FiniteElement<dim, spacedim> &fe1,
                     const FiniteElement<dim, spacedim> &fe2,
-                    FullMatrix<double> &                interpolation_matrix)
+                    FullMatrix<double>                 &interpolation_matrix)
       {
         fe2.get_interpolation_matrix(fe1, interpolation_matrix);
       }
@@ -1293,7 +1293,7 @@ namespace FETools
       inline void
       gim_forwarder(const FiniteElement<dim, spacedim> &fe1,
                     const FiniteElement<dim, spacedim> &fe2,
-                    FullMatrix<number> &                interpolation_matrix)
+                    FullMatrix<number>                 &interpolation_matrix)
       {
         FullMatrix<double> tmp(interpolation_matrix.m(),
                                interpolation_matrix.n());
@@ -1307,8 +1307,8 @@ namespace FETools
 
   template <int dim, int spacedim>
   void
-  compute_component_wise(const FiniteElement<dim, spacedim> &    element,
-                         std::vector<unsigned int> &             renumbering,
+  compute_component_wise(const FiniteElement<dim, spacedim>     &element,
+                         std::vector<unsigned int>              &renumbering,
                          std::vector<std::vector<unsigned int>> &comp_start)
   {
     Assert(renumbering.size() == element.n_dofs_per_cell(),
@@ -1348,7 +1348,7 @@ namespace FETools
 
   template <int dim, int spacedim>
   void
-  compute_block_renumbering(const FiniteElement<dim, spacedim> &  element,
+  compute_block_renumbering(const FiniteElement<dim, spacedim>   &element,
                             std::vector<types::global_dof_index> &renumbering,
                             std::vector<types::global_dof_index> &block_data,
                             bool return_start_indices)
@@ -1511,7 +1511,7 @@ namespace FETools
   void
   get_projection_matrix(const FiniteElement<dim, spacedim> &fe1,
                         const FiniteElement<dim, spacedim> &fe2,
-                        FullMatrix<number> &                matrix)
+                        FullMatrix<number>                 &matrix)
   {
     Assert(matrix.m() == fe2.n_dofs_per_cell() &&
              matrix.n() == fe1.n_dofs_per_cell(),
@@ -1658,9 +1658,9 @@ namespace FETools
       compute_embedding_for_shape_function(
         const unsigned int                  i,
         const FiniteElement<dim, spacedim> &fe,
-        const FEValues<dim, spacedim> &     coarse,
-        const Householder<double> &         H,
-        FullMatrix<number> &                this_matrix,
+        const FEValues<dim, spacedim>      &coarse,
+        const Householder<double>          &H,
+        FullMatrix<number>                 &this_matrix,
         const double                        threshold)
       {
         const unsigned int n  = fe.n_dofs_per_cell();
@@ -1679,7 +1679,7 @@ namespace FETools
         if (fe.is_primitive())
           {
             const unsigned int d     = fe.system_to_component_index(i).first;
-            const double *     phi_i = &coarse.shape_value(i, 0);
+            const double      *phi_i = &coarse.shape_value(i, 0);
 
             for (unsigned int k = 0; k < nq; ++k)
               v_coarse(k * nd + d) = phi_i[k];
@@ -1714,7 +1714,7 @@ namespace FETools
       void
       compute_embedding_matrices_for_refinement_case(
         const FiniteElement<dim, spacedim> &fe,
-        std::vector<FullMatrix<number>> &   matrices,
+        std::vector<FullMatrix<number>>    &matrices,
         const unsigned int                  ref_case,
         const double                        threshold)
       {
@@ -1857,7 +1857,7 @@ namespace FETools
   template <int dim, typename number, int spacedim>
   void
   compute_embedding_matrices(
-    const FiniteElement<dim, spacedim> &          fe,
+    const FiniteElement<dim, spacedim>           &fe,
     std::vector<std::vector<FullMatrix<number>>> &matrices,
     const bool                                    isotropic_only,
     const double                                  threshold)
@@ -2104,7 +2104,7 @@ namespace FETools
   template <int dim, typename number, int spacedim>
   void
   compute_projection_matrices(
-    const FiniteElement<dim, spacedim> &          fe,
+    const FiniteElement<dim, spacedim>           &fe,
     std::vector<std::vector<FullMatrix<number>>> &matrices,
     const bool                                    isotropic_only)
   {
@@ -2169,7 +2169,7 @@ namespace FETools
     const auto compute_one_case =
       [&reference_cell, &mapping, &fe, &q_fine, n, nd, nq](
         const unsigned int               ref_case,
-        const FullMatrix<double> &       inverse_mass_matrix,
+        const FullMatrix<double>        &inverse_mass_matrix,
         std::vector<FullMatrix<double>> &matrices) {
         const unsigned int nc =
           GeometryInfo<dim>::n_children(RefinementCase<dim>(ref_case));
@@ -2284,7 +2284,7 @@ namespace FETools
 
   template <int dim, int spacedim>
   void
-  add_fe_name(const std::string &                 parameter_name,
+  add_fe_name(const std::string                  &parameter_name,
               const FEFactoryBase<dim, spacedim> *factory)
   {
     // Erase everything after the
@@ -2659,9 +2659,9 @@ namespace FETools
   void
   compute_projection_from_quadrature_points_matrix(
     const FiniteElement<dim, spacedim> &fe,
-    const Quadrature<dim> &             lhs_quadrature,
-    const Quadrature<dim> &             rhs_quadrature,
-    FullMatrix<double> &                X)
+    const Quadrature<dim>              &lhs_quadrature,
+    const Quadrature<dim>              &rhs_quadrature,
+    FullMatrix<double>                 &X)
   {
     Assert(fe.n_components() == 1, ExcNotImplemented());
 
@@ -2700,8 +2700,8 @@ namespace FETools
   void
   compute_interpolation_to_quadrature_points_matrix(
     const FiniteElement<dim, spacedim> &fe,
-    const Quadrature<dim> &             quadrature,
-    FullMatrix<double> &                I_q)
+    const Quadrature<dim>              &quadrature,
+    FullMatrix<double>                 &I_q)
   {
     Assert(fe.n_components() == 1, ExcNotImplemented());
     Assert(I_q.m() == quadrature.size(), ExcMessage("Wrong matrix size"));
@@ -2717,9 +2717,9 @@ namespace FETools
   template <int dim>
   void
   compute_projection_from_quadrature_points(
-    const FullMatrix<double> &         projection_matrix,
+    const FullMatrix<double>          &projection_matrix,
     const std::vector<Tensor<1, dim>> &vector_of_tensors_at_qp,
-    std::vector<Tensor<1, dim>> &      vector_of_tensors_at_nodes)
+    std::vector<Tensor<1, dim>>       &vector_of_tensors_at_nodes)
   {
     // check that the number columns of the projection_matrix
     // matches the size of the vector_of_tensors_at_qp
@@ -2776,9 +2776,9 @@ namespace FETools
   template <int dim>
   void
   compute_projection_from_quadrature_points(
-    const FullMatrix<double> &                  projection_matrix,
+    const FullMatrix<double>                   &projection_matrix,
     const std::vector<SymmetricTensor<2, dim>> &vector_of_tensors_at_qp,
-    std::vector<SymmetricTensor<2, dim>> &      vector_of_tensors_at_nodes)
+    std::vector<SymmetricTensor<2, dim>>       &vector_of_tensors_at_nodes)
   {
     // check that the number columns of the projection_matrix
     // matches the size of the vector_of_tensors_at_qp
@@ -2848,11 +2848,11 @@ namespace FETools
   void
   compute_projection_from_face_quadrature_points_matrix(
     const FiniteElement<dim, spacedim> &fe,
-    const Quadrature<dim - 1> &         lhs_quadrature,
-    const Quadrature<dim - 1> &         rhs_quadrature,
+    const Quadrature<dim - 1>          &lhs_quadrature,
+    const Quadrature<dim - 1>          &rhs_quadrature,
     const typename DoFHandler<dim, spacedim>::active_cell_iterator &cell,
     const unsigned int                                              face,
-    FullMatrix<double> &                                            X)
+    FullMatrix<double>                                             &X)
   {
     Assert(fe.n_components() == 1, ExcNotImplemented());
     Assert(lhs_quadrature.size() > fe.degree,
@@ -2916,8 +2916,8 @@ namespace FETools
       template <int dim, int spacedim, typename number>
       static void
       convert_helper(const FiniteElement<dim, spacedim> &finite_element,
-                     const std::vector<Vector<number>> support_point_values,
-                     std::vector<number> &               dof_values)
+                     const std::vector<Vector<number>>  &support_point_values,
+                     std::vector<number>                &dof_values)
       {
         static Threads::ThreadLocalStorage<std::vector<Vector<double>>>
           double_support_point_values;
@@ -2948,9 +2948,9 @@ namespace FETools
       template <int dim, int spacedim, typename number>
       static void
       convert_helper(
-        const FiniteElement<dim, spacedim> &             finite_element,
+        const FiniteElement<dim, spacedim>              &finite_element,
         const std::vector<Vector<std::complex<number>>> &support_point_values,
-        std::vector<std::complex<number>> &              dof_values)
+        std::vector<std::complex<number>>               &dof_values)
       {
         static Threads::ThreadLocalStorage<std::vector<Vector<double>>>
           double_support_point_values_real;
@@ -3006,8 +3006,8 @@ namespace FETools
       template <int dim, int spacedim>
       static void
       convert_helper(const FiniteElement<dim, spacedim> &finite_element,
-                     const std::vector<Vector<double>> support_point_values,
-                     std::vector<double> &               dof_values)
+                     const std::vector<Vector<double>>  &support_point_values,
+                     std::vector<double>                &dof_values)
       {
         finite_element.convert_generalized_support_point_values_to_dof_values(
           support_point_values, dof_values);
@@ -3022,8 +3022,8 @@ namespace FETools
   void
   convert_generalized_support_point_values_to_dof_values(
     const FiniteElement<dim, spacedim> &finite_element,
-    const std::vector<Vector<number>> support_point_values,
-    std::vector<number> &               dof_values)
+    const std::vector<Vector<number>>  &support_point_values,
+    std::vector<number>                &dof_values)
   {
     AssertDimension(support_point_values.size(),
                     finite_element.get_generalized_support_points().size());
index 9e7c0c516a1c11188ec8691406f02549ef27ec0d..761f7de48bec5425115d6dfa06de2b9e39e286dd 100644 (file)
@@ -84,9 +84,9 @@ namespace FETools
 
       template <class InVector>
       void
-      extrapolate_parallel(const InVector &                 u2_relevant,
+      extrapolate_parallel(const InVector                  &u2_relevant,
                            const DoFHandler<dim, spacedim> &dof2,
-                           OutVector &                      u2);
+                           OutVector                       &u2);
 
     private:
       /**
@@ -203,7 +203,7 @@ namespace FETools
       template <class InVector>
       void
       compute_all_non_local_data(const DoFHandler<dim, spacedim> &dof2,
-                                 const InVector &                 u);
+                                 const InVector                  &u);
 
       // traverse recursively over
       // the cells of this tree and
@@ -213,13 +213,13 @@ namespace FETools
       void
       interpolate_recursively(
         const typename dealii::internal::p4est::types<dim>::forest &forest,
-        const typename dealii::internal::p4est::types<dim>::tree &  tree,
+        const typename dealii::internal::p4est::types<dim>::tree   &tree,
         const typename dealii::internal::p4est::types<dim>::locidx &tree_index,
-        const typename DoFHandler<dim, spacedim>::cell_iterator &   dealii_cell,
+        const typename DoFHandler<dim, spacedim>::cell_iterator    &dealii_cell,
         const typename dealii::internal::p4est::types<dim>::quadrant
-          &             p4est_cell,
+                       &p4est_cell,
         const InVector &u1,
-        OutVector &     u2);
+        OutVector      &u2);
 
       // get dof values for this
       // cell by interpolation
@@ -230,13 +230,13 @@ namespace FETools
       void
       get_interpolated_dof_values(
         const typename dealii::internal::p4est::types<dim>::forest &forest,
-        const typename dealii::internal::p4est::types<dim>::tree &  tree,
+        const typename dealii::internal::p4est::types<dim>::tree   &tree,
         const typename dealii::internal::p4est::types<dim>::locidx &tree_index,
-        const typename DoFHandler<dim, spacedim>::cell_iterator &   dealii_cell,
+        const typename DoFHandler<dim, spacedim>::cell_iterator    &dealii_cell,
         const typename dealii::internal::p4est::types<dim>::quadrant
-          &                    p4est_cell,
-        const InVector &       u,
-        Vector<value_type> &   interpolated_values,
+                              &p4est_cell,
+        const InVector        &u,
+        Vector<value_type>    &interpolated_values,
         std::vector<CellData> &new_needs);
 
       // set dof values for this
@@ -245,9 +245,9 @@ namespace FETools
       set_dof_values_by_interpolation(
         const typename DoFHandler<dim, spacedim>::cell_iterator &dealii_cell,
         const typename dealii::internal::p4est::types<dim>::quadrant
-          &                       p4est_cell,
+                                 &p4est_cell,
         const Vector<value_type> &interpolated_values,
-        OutVector &               u);
+        OutVector                &u);
 
       // compute all cell_data
       // needed from other processes
@@ -255,7 +255,7 @@ namespace FETools
       // this process
       void
       compute_needs(const DoFHandler<dim, spacedim> &dof2,
-                    std::vector<CellData> &          new_needs);
+                    std::vector<CellData>           &new_needs);
 
       // traverse over the tree
       // and look for patches this
@@ -263,11 +263,11 @@ namespace FETools
       void
       traverse_tree_recursively(
         const typename dealii::internal::p4est::types<dim>::forest &forest,
-        const typename dealii::internal::p4est::types<dim>::tree &  tree,
+        const typename dealii::internal::p4est::types<dim>::tree   &tree,
         const typename dealii::internal::p4est::types<dim>::locidx &tree_index,
-        const typename DoFHandler<dim, spacedim>::cell_iterator &   dealii_cell,
+        const typename DoFHandler<dim, spacedim>::cell_iterator    &dealii_cell,
         const typename dealii::internal::p4est::types<dim>::quadrant
-          &                    p4est_cell,
+                              &p4est_cell,
         std::vector<CellData> &new_needs);
 
       // traverse recursively
@@ -277,11 +277,11 @@ namespace FETools
       void
       traverse_patch_recursively(
         const typename dealii::internal::p4est::types<dim>::forest &forest,
-        const typename dealii::internal::p4est::types<dim>::tree &  tree,
+        const typename dealii::internal::p4est::types<dim>::tree   &tree,
         const typename dealii::internal::p4est::types<dim>::locidx &tree_index,
-        const typename DoFHandler<dim, spacedim>::cell_iterator &   dealii_cell,
+        const typename DoFHandler<dim, spacedim>::cell_iterator    &dealii_cell,
         const typename dealii::internal::p4est::types<dim>::quadrant
-          &                    p4est_cell,
+                              &p4est_cell,
         std::vector<CellData> &new_needs);
 
       // compute dof values of all
@@ -296,10 +296,10 @@ namespace FETools
       template <class InVector>
       void
       compute_cells(const DoFHandler<dim, spacedim> &dof2,
-                    const InVector &                 u,
-                    std::vector<CellData> &          cells_to_compute,
-                    std::vector<CellData> &          computed_cells,
-                    std::vector<CellData> &          new_needs);
+                    const InVector                  &u,
+                    std::vector<CellData>           &cells_to_compute,
+                    std::vector<CellData>           &computed_cells,
+                    std::vector<CellData>           &new_needs);
 
       // traverse over the tree
       // and compute cells
@@ -307,12 +307,12 @@ namespace FETools
       void
       compute_cells_in_tree_recursively(
         const typename dealii::internal::p4est::types<dim>::forest &forest,
-        const typename dealii::internal::p4est::types<dim>::tree &  tree,
+        const typename dealii::internal::p4est::types<dim>::tree   &tree,
         const typename dealii::internal::p4est::types<dim>::locidx &tree_index,
-        const typename DoFHandler<dim, spacedim>::cell_iterator &   dealii_cell,
+        const typename DoFHandler<dim, spacedim>::cell_iterator    &dealii_cell,
         const typename dealii::internal::p4est::types<dim>::quadrant
-          &                    p4est_cell,
-        const InVector &       u,
+                              &p4est_cell,
+        const InVector        &u,
         std::vector<CellData> &cells_to_compute,
         std::vector<CellData> &computed_cells,
         std::vector<CellData> &new_needs);
@@ -322,7 +322,7 @@ namespace FETools
       // and receives a vector of cell_data
       void
       exchange_data_on_cells(const std::vector<CellData> &cells_to_send,
-                             std::vector<CellData> &      received_cells) const;
+                             std::vector<CellData>       &received_cells) const;
 
       // add new cell_data to
       // the ordered list new_needs
@@ -331,16 +331,16 @@ namespace FETools
       add_new_need(
         const typename dealii::internal::p4est::types<dim>::forest &forest,
         const typename dealii::internal::p4est::types<dim>::locidx &tree_index,
-        const typename DoFHandler<dim, spacedim>::cell_iterator &   dealii_cell,
+        const typename DoFHandler<dim, spacedim>::cell_iterator    &dealii_cell,
         const typename dealii::internal::p4est::types<dim>::quadrant
-          &                    p4est_cell,
+                              &p4est_cell,
         std::vector<CellData> &new_needs);
 
       // binary search in cells_list
       // assume that cells_list
       // is ordered
       static int
-      cell_data_search(const CellData &             cell_data,
+      cell_data_search(const CellData              &cell_data,
                        const std::vector<CellData> &cells_list);
 
       // insert cell_data into a sorted
@@ -348,7 +348,7 @@ namespace FETools
       // position if cell_data
       // not exists already in cells_list
       static void
-      cell_data_insert(const CellData &       cell_data,
+      cell_data_insert(const CellData        &cell_data,
                        std::vector<CellData> &cells_list);
 
       MPI_Comm communicator;
@@ -485,13 +485,13 @@ namespace FETools
     ExtrapolateImplementation<dim, spacedim, OutVector>::
       interpolate_recursively(
         const typename dealii::internal::p4est::types<dim>::forest &forest,
-        const typename dealii::internal::p4est::types<dim>::tree &  tree,
+        const typename dealii::internal::p4est::types<dim>::tree   &tree,
         const typename dealii::internal::p4est::types<dim>::locidx &tree_index,
-        const typename DoFHandler<dim, spacedim>::cell_iterator &   dealii_cell,
+        const typename DoFHandler<dim, spacedim>::cell_iterator    &dealii_cell,
         const typename dealii::internal::p4est::types<dim>::quadrant
-          &             p4est_cell,
+                       &p4est_cell,
         const InVector &u1,
-        OutVector &     u2)
+        OutVector      &u2)
     {
       // check if this cell exists in the local p4est
       int idx = sc_array_bsearch(
@@ -565,13 +565,13 @@ namespace FETools
     ExtrapolateImplementation<dim, spacedim, OutVector>::
       get_interpolated_dof_values(
         const typename dealii::internal::p4est::types<dim>::forest &forest,
-        const typename dealii::internal::p4est::types<dim>::tree &  tree,
+        const typename dealii::internal::p4est::types<dim>::tree   &tree,
         const typename dealii::internal::p4est::types<dim>::locidx &tree_index,
-        const typename DoFHandler<dim, spacedim>::cell_iterator &   dealii_cell,
+        const typename DoFHandler<dim, spacedim>::cell_iterator    &dealii_cell,
         const typename dealii::internal::p4est::types<dim>::quadrant
-          &                    p4est_cell,
-        const InVector &       u,
-        Vector<value_type> &   interpolated_values,
+                              &p4est_cell,
+        const InVector        &u,
+        Vector<value_type>    &interpolated_values,
         std::vector<CellData> &new_needs)
     {
       if (dealii_cell->is_active())
@@ -706,9 +706,9 @@ namespace FETools
       set_dof_values_by_interpolation(
         const typename DoFHandler<dim, spacedim>::cell_iterator &dealii_cell,
         const typename dealii::internal::p4est::types<dim>::quadrant
-          &                       p4est_cell,
+                                 &p4est_cell,
         const Vector<value_type> &local_values,
-        OutVector &               u)
+        OutVector                &u)
     {
       const FiniteElement<dim, spacedim> &fe =
         dealii_cell->get_dof_handler().get_fe();
@@ -772,7 +772,7 @@ namespace FETools
     void
     ExtrapolateImplementation<dim, spacedim, OutVector>::compute_needs(
       const DoFHandler<dim, spacedim> &dof2,
-      std::vector<CellData> &          new_needs)
+      std::vector<CellData>           &new_needs)
     {
       const parallel::distributed::Triangulation<dim, spacedim> *tr =
         (dynamic_cast<const parallel::distributed::Triangulation<dim, spacedim>
@@ -827,11 +827,11 @@ namespace FETools
     ExtrapolateImplementation<dim, spacedim, OutVector>::
       traverse_tree_recursively(
         const typename dealii::internal::p4est::types<dim>::forest &forest,
-        const typename dealii::internal::p4est::types<dim>::tree &  tree,
+        const typename dealii::internal::p4est::types<dim>::tree   &tree,
         const typename dealii::internal::p4est::types<dim>::locidx &tree_index,
-        const typename DoFHandler<dim, spacedim>::cell_iterator &   dealii_cell,
+        const typename DoFHandler<dim, spacedim>::cell_iterator    &dealii_cell,
         const typename dealii::internal::p4est::types<dim>::quadrant
-          &                    p4est_cell,
+                              &p4est_cell,
         std::vector<CellData> &new_needs)
     {
       // check if this cell exists in the local p4est
@@ -908,11 +908,11 @@ namespace FETools
     ExtrapolateImplementation<dim, spacedim, OutVector>::
       traverse_patch_recursively(
         const typename dealii::internal::p4est::types<dim>::forest &forest,
-        const typename dealii::internal::p4est::types<dim>::tree &  tree,
+        const typename dealii::internal::p4est::types<dim>::tree   &tree,
         const typename dealii::internal::p4est::types<dim>::locidx &tree_index,
-        const typename DoFHandler<dim, spacedim>::cell_iterator &   dealii_cell,
+        const typename DoFHandler<dim, spacedim>::cell_iterator    &dealii_cell,
         const typename dealii::internal::p4est::types<dim>::quadrant
-          &                    p4est_cell,
+                              &p4est_cell,
         std::vector<CellData> &new_needs)
     {
       if (dealii_cell->has_children())
@@ -970,10 +970,10 @@ namespace FETools
     void
     ExtrapolateImplementation<dim, spacedim, OutVector>::compute_cells(
       const DoFHandler<dim, spacedim> &dof2,
-      const InVector &                 u,
-      std::vector<CellData> &          cells_to_compute,
-      std::vector<CellData> &          computed_cells,
-      std::vector<CellData> &          new_needs)
+      const InVector                  &u,
+      std::vector<CellData>           &cells_to_compute,
+      std::vector<CellData>           &computed_cells,
+      std::vector<CellData>           &new_needs)
     {
       const parallel::distributed::Triangulation<dim, spacedim> *tr =
         (dynamic_cast<const parallel::distributed::Triangulation<dim, spacedim>
@@ -1026,12 +1026,12 @@ namespace FETools
     ExtrapolateImplementation<dim, spacedim, OutVector>::
       compute_cells_in_tree_recursively(
         const typename dealii::internal::p4est::types<dim>::forest &forest,
-        const typename dealii::internal::p4est::types<dim>::tree &  tree,
+        const typename dealii::internal::p4est::types<dim>::tree   &tree,
         const typename dealii::internal::p4est::types<dim>::locidx &tree_index,
-        const typename DoFHandler<dim, spacedim>::cell_iterator &   dealii_cell,
+        const typename DoFHandler<dim, spacedim>::cell_iterator    &dealii_cell,
         const typename dealii::internal::p4est::types<dim>::quadrant
-          &                    p4est_cell,
-        const InVector &       u,
+                              &p4est_cell,
+        const InVector        &u,
         std::vector<CellData> &cells_to_compute,
         std::vector<CellData> &computed_cells,
         std::vector<CellData> &new_needs)
@@ -1120,7 +1120,7 @@ namespace FETools
     void
     ExtrapolateImplementation<dim, spacedim, OutVector>::exchange_data_on_cells(
       const std::vector<CellData> &cells_to_send,
-      std::vector<CellData> &      received_cells) const
+      std::vector<CellData>       &received_cells) const
     {
       // First figure out where we need to send stuff. Some of the cells
       // in the input argument to this function might be destined for
@@ -1174,11 +1174,11 @@ namespace FETools
     template <int dim, int spacedim, class OutVector>
     void
     ExtrapolateImplementation<dim, spacedim, OutVector>::add_new_need(
-      const typename dealii::internal::p4est::types<dim>::forest &  forest,
-      const typename dealii::internal::p4est::types<dim>::locidx &  tree_index,
-      const typename DoFHandler<dim, spacedim>::cell_iterator &     dealii_cell,
+      const typename dealii::internal::p4est::types<dim>::forest   &forest,
+      const typename dealii::internal::p4est::types<dim>::locidx   &tree_index,
+      const typename DoFHandler<dim, spacedim>::cell_iterator      &dealii_cell,
       const typename dealii::internal::p4est::types<dim>::quadrant &p4est_cell,
-      std::vector<CellData> &                                       new_needs)
+      std::vector<CellData>                                        &new_needs)
     {
       const FiniteElement<dim, spacedim> &fe =
         dealii_cell->get_dof_handler().get_fe();
@@ -1203,7 +1203,7 @@ namespace FETools
     template <int dim, int spacedim, class OutVector>
     int
     ExtrapolateImplementation<dim, spacedim, OutVector>::cell_data_search(
-      const CellData &             cell_data,
+      const CellData              &cell_data,
       const std::vector<CellData> &cells_list)
     {
       typename std::vector<CellData>::const_iterator bound =
@@ -1220,7 +1220,7 @@ namespace FETools
     template <int dim, int spacedim, class OutVector>
     void
     ExtrapolateImplementation<dim, spacedim, OutVector>::cell_data_insert(
-      const CellData &       cell_data,
+      const CellData        &cell_data,
       std::vector<CellData> &cells_list)
     {
       // Find the place to insert the cell:
@@ -1243,7 +1243,7 @@ namespace FETools
     void
     ExtrapolateImplementation<dim, spacedim, OutVector>::
       compute_all_non_local_data(const DoFHandler<dim, spacedim> &dof2,
-                                 const InVector &                 u)
+                                 const InVector                  &u)
     {
       std::vector<CellData> cells_we_need, cells_to_compute, received_cells,
         received_needs, new_needs, computed_cells, cells_to_send;
@@ -1323,9 +1323,9 @@ namespace FETools
     template <class InVector>
     void
     ExtrapolateImplementation<dim, spacedim, OutVector>::extrapolate_parallel(
-      const InVector &                 u2_relevant,
+      const InVector                  &u2_relevant,
       const DoFHandler<dim, spacedim> &dof2,
-      OutVector &                      u2)
+      OutVector                       &u2)
     {
       const parallel::distributed::Triangulation<dim, spacedim> *tr =
         (dynamic_cast<const parallel::distributed::Triangulation<dim, spacedim>
@@ -1484,7 +1484,7 @@ namespace FETools
     template <int dim, int spacedim>
     void
     reinit_distributed(const DoFHandler<dim, spacedim> &dh,
-                       PETScWrappers::MPI::Vector &     vector)
+                       PETScWrappers::MPI::Vector      &vector)
     {
       const parallel::distributed::Triangulation<dim, spacedim> *parallel_tria =
         dynamic_cast<
@@ -1501,7 +1501,7 @@ namespace FETools
     template <int dim, int spacedim>
     void
     reinit_distributed(const DoFHandler<dim, spacedim> &dh,
-                       TrilinosWrappers::MPI::Vector &  vector)
+                       TrilinosWrappers::MPI::Vector   &vector)
     {
       const parallel::distributed::Triangulation<dim, spacedim> *parallel_tria =
         dynamic_cast<
@@ -1519,7 +1519,7 @@ namespace FETools
 #    ifdef DEAL_II_TRILINOS_WITH_TPETRA
     template <int dim, int spacedim, typename Number>
     void
-    reinit_distributed(const DoFHandler<dim, spacedim> &              dh,
+    reinit_distributed(const DoFHandler<dim, spacedim>               &dh,
                        LinearAlgebra::TpetraWrappers::Vector<Number> &vector)
     {
       const parallel::distributed::Triangulation<dim, spacedim> *parallel_tria =
@@ -1535,7 +1535,7 @@ namespace FETools
 
     template <int dim, int spacedim>
     void
-    reinit_distributed(const DoFHandler<dim, spacedim> &      dh,
+    reinit_distributed(const DoFHandler<dim, spacedim>       &dh,
                        LinearAlgebra::EpetraWrappers::Vector &vector)
     {
       const parallel::distributed::Triangulation<dim, spacedim> *parallel_tria =
@@ -1552,7 +1552,7 @@ namespace FETools
 
     template <int dim, int spacedim, typename Number>
     void
-    reinit_distributed(const DoFHandler<dim, spacedim> &           dh,
+    reinit_distributed(const DoFHandler<dim, spacedim>            &dh,
                        LinearAlgebra::distributed::Vector<Number> &vector)
     {
       const parallel::distributed::Triangulation<dim, spacedim> *parallel_tria =
@@ -1578,7 +1578,7 @@ namespace FETools
     template <int dim, int spacedim>
     void
     reinit_ghosted(const DoFHandler<dim, spacedim> &dh,
-                   PETScWrappers::MPI::Vector &     vector)
+                   PETScWrappers::MPI::Vector      &vector)
     {
       const parallel::distributed::Triangulation<dim, spacedim> *parallel_tria =
         dynamic_cast<
@@ -1598,7 +1598,7 @@ namespace FETools
     template <int dim, int spacedim>
     void
     reinit_ghosted(const DoFHandler<dim, spacedim> &dh,
-                   TrilinosWrappers::MPI::Vector &  vector)
+                   TrilinosWrappers::MPI::Vector   &vector)
     {
       const parallel::distributed::Triangulation<dim, spacedim> *parallel_tria =
         dynamic_cast<
@@ -1616,7 +1616,7 @@ namespace FETools
 
     template <int dim, int spacedim, typename Number>
     void
-    reinit_ghosted(const DoFHandler<dim, spacedim> &           dh,
+    reinit_ghosted(const DoFHandler<dim, spacedim>            &dh,
                    LinearAlgebra::distributed::Vector<Number> &vector)
     {
       const parallel::distributed::Triangulation<dim, spacedim> *parallel_tria =
@@ -1640,9 +1640,9 @@ namespace FETools
      */
     template <int dim, class InVector, class OutVector, int spacedim>
     void
-    extrapolate_serial(const InVector &                 u3,
+    extrapolate_serial(const InVector                  &u3,
                        const DoFHandler<dim, spacedim> &dof2,
-                       OutVector &                      u2)
+                       OutVector                       &u2)
     {
       const unsigned int dofs_per_cell = dof2.get_fe().n_dofs_per_cell();
       Vector<typename OutVector::value_type> dof_values(dofs_per_cell);
@@ -1687,9 +1687,9 @@ namespace FETools
   template <int dim, class InVector, class OutVector, int spacedim>
   void
   extrapolate(const DoFHandler<dim, spacedim> &dof1,
-              const InVector &                 u1,
+              const InVector                  &u1,
               const DoFHandler<dim, spacedim> &dof2,
-              OutVector &                      u2)
+              OutVector                       &u2)
   {
     // Forward to the other function using an empty set of
     // constraints.
@@ -1703,11 +1703,11 @@ namespace FETools
   template <int dim, class InVector, class OutVector, int spacedim>
   void
   extrapolate(
-    const DoFHandler<dim, spacedim> &                        dof1,
-    const InVector &                                         u1,
-    const DoFHandler<dim, spacedim> &                        dof2,
+    const DoFHandler<dim, spacedim>                         &dof1,
+    const InVector                                          &u1,
+    const DoFHandler<dim, spacedim>                         &dof2,
     const AffineConstraints<typename OutVector::value_type> &constraints,
-    OutVector &                                              u2)
+    OutVector                                               &u2)
   {
     Assert(dof1.get_fe_collection().size() == 1, ExcNotImplemented());
     Assert(dof2.get_fe_collection().size() == 1, ExcNotImplemented());
index 5750e30611c16f596b44c06c02b34cdb7abeb504..cf1350a8cc9575be6d6144c6359bd0b71b39cefe 100644 (file)
@@ -58,9 +58,9 @@ namespace FETools
   template <int dim, int spacedim, class InVector, class OutVector>
   void
   interpolate(const DoFHandler<dim, spacedim> &dof1,
-              const InVector &                 u1,
+              const InVector                  &u1,
               const DoFHandler<dim, spacedim> &dof2,
-              OutVector &                      u2)
+              OutVector                       &u2)
   {
     AffineConstraints<typename OutVector::value_type> dummy;
     dummy.close();
@@ -72,11 +72,11 @@ namespace FETools
   template <int dim, int spacedim, class InVector, class OutVector>
   void
   interpolate(
-    const DoFHandler<dim, spacedim> &                        dof1,
-    const InVector &                                         u1,
-    const DoFHandler<dim, spacedim> &                        dof2,
+    const DoFHandler<dim, spacedim>                         &dof1,
+    const InVector                                          &u1,
+    const DoFHandler<dim, spacedim>                         &dof2,
     const AffineConstraints<typename OutVector::value_type> &constraints,
-    OutVector &                                              u2)
+    OutVector                                               &u2)
   {
     Assert(&dof1.get_triangulation() == &dof2.get_triangulation(),
            ExcTriangulationMismatch());
@@ -255,10 +255,10 @@ namespace FETools
 
   template <int dim, class InVector, class OutVector, int spacedim>
   void
-  back_interpolate(const DoFHandler<dim, spacedim> &   dof1,
-                   const InVector &                    u1,
+  back_interpolate(const DoFHandler<dim, spacedim>    &dof1,
+                   const InVector                     &u1,
                    const FiniteElement<dim, spacedim> &fe2,
-                   OutVector &                         u1_interpolated)
+                   OutVector                          &u1_interpolated)
   {
     Assert(dof1.get_fe(0).n_components() == fe2.n_components(),
            ExcDimensionMismatch(dof1.get_fe(0).n_components(),
@@ -350,12 +350,12 @@ namespace FETools
     template <int dim, int spacedim, class InVector>
     std::enable_if_t<is_serial_vector<InVector>::value>
     back_interpolate(
-      const DoFHandler<dim, spacedim> &                       dof1,
+      const DoFHandler<dim, spacedim>                        &dof1,
       const AffineConstraints<typename InVector::value_type> &constraints1,
-      const InVector &                                        u1,
-      const DoFHandler<dim, spacedim> &                       dof2,
+      const InVector                                         &u1,
+      const DoFHandler<dim, spacedim>                        &dof2,
       const AffineConstraints<typename InVector::value_type> &constraints2,
-      InVector &                                              u1_interpolated)
+      InVector                                               &u1_interpolated)
     {
       Vector<typename InVector::value_type> u2(dof2.n_dofs());
       interpolate(dof1, u1, dof2, constraints2, u2);
@@ -371,11 +371,11 @@ namespace FETools
     back_interpolate(
       const DoFHandler<dim, spacedim> &dof1,
       const AffineConstraints<PETScWrappers::MPI::Vector::value_type>
-        &                               constraints1,
+                                       &constraints1,
       const PETScWrappers::MPI::Vector &u1,
-      const DoFHandler<dim, spacedim> dof2,
+      const DoFHandler<dim, spacedim>  &dof2,
       const AffineConstraints<PETScWrappers::MPI::Vector::value_type>
-        &                         constraints2,
+                                 &constraints2,
       PETScWrappers::MPI::Vector &u1_interpolated)
     {
       // if u1 is a parallel distributed PETSc vector, we create a
@@ -421,11 +421,11 @@ namespace FETools
       const DoFHandler<dim, spacedim> &dof1,
       const AffineConstraints<
         typename TrilinosWrappers::MPI::Vector::value_type> &constraints1,
-      const TrilinosWrappers::MPI::Vector &                  u1,
-      const DoFHandler<dim, spacedim> &                      dof2,
+      const TrilinosWrappers::MPI::Vector                   &u1,
+      const DoFHandler<dim, spacedim>                       &dof2,
       const AffineConstraints<
         typename TrilinosWrappers::MPI::Vector::value_type> &constraints2,
-      TrilinosWrappers::MPI::Vector &                        u1_interpolated)
+      TrilinosWrappers::MPI::Vector                         &u1_interpolated)
     {
       // if u1 is a parallel distributed Trilinos vector, we create a
       // vector u2 with based on the sets of locally owned and relevant
@@ -452,8 +452,8 @@ namespace FETools
       const DoFHandler<dim, spacedim> &dof1,
       const AffineConstraints<
         typename TrilinosWrappers::MPI::BlockVector::value_type> &constraints1,
-      const TrilinosWrappers::MPI::BlockVector &                  u1,
-      const DoFHandler<dim, spacedim> &                           dof2,
+      const TrilinosWrappers::MPI::BlockVector                   &u1,
+      const DoFHandler<dim, spacedim>                            &dof2,
       const AffineConstraints<
         typename TrilinosWrappers::MPI::BlockVector::value_type> &constraints2,
       TrilinosWrappers::MPI::BlockVector &u1_interpolated)
@@ -516,12 +516,12 @@ namespace FETools
     template <int dim, int spacedim, typename Number>
     void
     back_interpolate(
-      const DoFHandler<dim, spacedim> &                 dof1,
-      const AffineConstraints<Number> &                 constraints1,
+      const DoFHandler<dim, spacedim>                  &dof1,
+      const AffineConstraints<Number>                  &constraints1,
       const LinearAlgebra::distributed::Vector<Number> &u1,
-      const DoFHandler<dim, spacedim> &                 dof2,
-      const AffineConstraints<Number> &                 constraints2,
-      LinearAlgebra::distributed::Vector<Number> &      u1_interpolated)
+      const DoFHandler<dim, spacedim>                  &dof2,
+      const AffineConstraints<Number>                  &constraints2,
+      LinearAlgebra::distributed::Vector<Number>       &u1_interpolated)
     {
       const IndexSet &dof2_locally_owned_dofs = dof2.locally_owned_dofs();
       IndexSet        dof2_locally_relevant_dofs;
@@ -557,12 +557,12 @@ namespace FETools
   template <int dim, class InVector, class OutVector, int spacedim>
   void
   back_interpolate(
-    const DoFHandler<dim, spacedim> &                        dof1,
+    const DoFHandler<dim, spacedim>                         &dof1,
     const AffineConstraints<typename OutVector::value_type> &constraints1,
-    const InVector &                                         u1,
-    const DoFHandler<dim, spacedim> &                        dof2,
+    const InVector                                          &u1,
+    const DoFHandler<dim, spacedim>                         &dof2,
     const AffineConstraints<typename OutVector::value_type> &constraints2,
-    OutVector &                                              u1_interpolated)
+    OutVector                                               &u1_interpolated)
   {
     // For discontinuous elements without constraints take the simpler version
     // of the back_interpolate function.
@@ -592,10 +592,10 @@ namespace FETools
 
   template <int dim, class InVector, class OutVector, int spacedim>
   void
-  interpolation_difference(const DoFHandler<dim, spacedim> &   dof1,
-                           const InVector &                    u1,
+  interpolation_difference(const DoFHandler<dim, spacedim>    &dof1,
+                           const InVector                     &u1,
                            const FiniteElement<dim, spacedim> &fe2,
-                           OutVector &                         u1_difference)
+                           OutVector                          &u1_difference)
   {
     Assert(dof1.get_fe(0).n_components() == fe2.n_components(),
            ExcDimensionMismatch(dof1.get_fe(0).n_components(),
@@ -670,12 +670,12 @@ namespace FETools
     template <int dim, class InVector, class OutVector, int spacedim>
     void
     interpolation_difference(
-      const DoFHandler<dim, spacedim> &                        dof1,
+      const DoFHandler<dim, spacedim>                         &dof1,
       const AffineConstraints<typename OutVector::value_type> &constraints1,
-      const InVector &                                         u1,
-      const DoFHandler<dim, spacedim> &                        dof2,
+      const InVector                                          &u1,
+      const DoFHandler<dim, spacedim>                         &dof2,
       const AffineConstraints<typename OutVector::value_type> &constraints2,
-      OutVector &                                              u1_difference)
+      OutVector                                               &u1_difference)
     {
       back_interpolate(
         dof1, constraints1, u1, dof2, constraints2, u1_difference);
@@ -689,11 +689,11 @@ namespace FETools
     interpolation_difference(
       const DoFHandler<dim, spacedim> &dof1,
       const AffineConstraints<TrilinosWrappers::MPI::Vector::value_type>
-        &                                  constraints1,
+                                          &constraints1,
       const TrilinosWrappers::MPI::Vector &u1,
-      const DoFHandler<dim, spacedim> &    dof2,
+      const DoFHandler<dim, spacedim>     &dof2,
       const AffineConstraints<TrilinosWrappers::MPI::Vector::value_type>
-        &                            constraints2,
+                                    &constraints2,
       TrilinosWrappers::MPI::Vector &u1_difference)
     {
       back_interpolate(
@@ -717,12 +717,12 @@ namespace FETools
   template <int dim, class InVector, class OutVector, int spacedim>
   void
   interpolation_difference(
-    const DoFHandler<dim, spacedim> &                        dof1,
+    const DoFHandler<dim, spacedim>                         &dof1,
     const AffineConstraints<typename OutVector::value_type> &constraints1,
-    const InVector &                                         u1,
-    const DoFHandler<dim, spacedim> &                        dof2,
+    const InVector                                          &u1,
+    const DoFHandler<dim, spacedim>                         &dof2,
     const AffineConstraints<typename OutVector::value_type> &constraints2,
-    OutVector &                                              u1_difference)
+    OutVector                                               &u1_difference)
   {
     // For discontinuous elements
     // without constraints take the
@@ -744,9 +744,9 @@ namespace FETools
   template <int dim, class InVector, class OutVector, int spacedim>
   void
   project_dg(const DoFHandler<dim, spacedim> &dof1,
-             const InVector &                 u1,
+             const InVector                  &u1,
              const DoFHandler<dim, spacedim> &dof2,
-             OutVector &                      u2)
+             OutVector                       &u2)
   {
     Assert(&dof1.get_triangulation() == &dof2.get_triangulation(),
            ExcTriangulationMismatch());
index 41ec14f1a62753c84f7b71dab94168097ebc7c44..272b69432bcfec4946f0752e4f5ccbfea5f4ed41 100644 (file)
@@ -75,7 +75,7 @@ public:
   virtual void
   convert_generalized_support_point_values_to_dof_values(
     const std::vector<Vector<double>> &support_point_values,
-    std::vector<double> &              nodal_values) const override;
+    std::vector<double>               &nodal_values) const override;
 
   /**
    * This function returns @p true, if the shape function @p shape_index has
@@ -109,7 +109,7 @@ public:
    */
   virtual void
   get_face_interpolation_matrix(const FiniteElement<dim, spacedim> &source,
-                                FullMatrix<double> &                matrix,
+                                FullMatrix<double>                 &matrix,
                                 const unsigned int face_no = 0) const override;
 
   /**
@@ -124,7 +124,7 @@ public:
   get_subface_interpolation_matrix(
     const FiniteElement<dim, spacedim> &source,
     const unsigned int                  subface,
-    FullMatrix<double> &                matrix,
+    FullMatrix<double>                 &matrix,
     const unsigned int                  face_no = 0) const override;
 
   /**
index 60ebb50faac393d51bd6303708bcf6a4ff316fb1..4e06a52ffeca55f376f0e40651e73b206d2c2bfe 100644 (file)
@@ -73,9 +73,9 @@ public:
    * Constructor. Gets cell independent data from mapping and finite element
    * objects, matching the quadrature rule and update flags.
    */
-  FEValues(const Mapping<dim, spacedim> &      mapping,
+  FEValues(const Mapping<dim, spacedim>       &mapping,
            const FiniteElement<dim, spacedim> &fe,
-           const Quadrature<dim> &             quadrature,
+           const Quadrature<dim>              &quadrature,
            const UpdateFlags                   update_flags);
 
   /**
@@ -84,9 +84,9 @@ public:
    * @note We require, in contrast to FEFaceValues, that the number of quadrature
    *   rules in the collection is one.
    */
-  FEValues(const Mapping<dim, spacedim> &      mapping,
+  FEValues(const Mapping<dim, spacedim>       &mapping,
            const FiniteElement<dim, spacedim> &fe,
-           const hp::QCollection<dim> &        quadrature,
+           const hp::QCollection<dim>         &quadrature,
            const UpdateFlags                   update_flags);
 
   /**
@@ -95,7 +95,7 @@ public:
    * MappingQ(1)) implicitly.
    */
   FEValues(const FiniteElement<dim, spacedim> &fe,
-           const Quadrature<dim> &             quadrature,
+           const Quadrature<dim>              &quadrature,
            const UpdateFlags                   update_flags);
 
   /**
@@ -105,7 +105,7 @@ public:
    *   rules in the collection is one.
    */
   FEValues(const FiniteElement<dim, spacedim> &fe,
-           const hp::QCollection<dim> &        quadrature,
+           const hp::QCollection<dim>         &quadrature,
            const UpdateFlags                   update_flags);
 
   /**
@@ -221,9 +221,9 @@ public:
    */
   FEFaceValuesBase(const unsigned int                  dofs_per_cell,
                    const UpdateFlags                   update_flags,
-                   const Mapping<dim, spacedim> &      mapping,
+                   const Mapping<dim, spacedim>       &mapping,
                    const FiniteElement<dim, spacedim> &fe,
-                   const Quadrature<dim - 1> &         quadrature);
+                   const Quadrature<dim - 1>          &quadrature);
 
   /**
    * Like the function above, but taking a collection of quadrature rules. This
@@ -233,9 +233,9 @@ public:
    */
   FEFaceValuesBase(const unsigned int                  dofs_per_cell,
                    const UpdateFlags                   update_flags,
-                   const Mapping<dim, spacedim> &      mapping,
+                   const Mapping<dim, spacedim>       &mapping,
                    const FiniteElement<dim, spacedim> &fe,
-                   const hp::QCollection<dim - 1> &    quadrature);
+                   const hp::QCollection<dim - 1>     &quadrature);
 
   /**
    * Boundary form of the transformation of the cell at the <tt>q_point</tt>th
@@ -340,9 +340,9 @@ public:
    * Constructor. Gets cell independent data from mapping and finite element
    * objects, matching the quadrature rule and update flags.
    */
-  FEFaceValues(const Mapping<dim, spacedim> &      mapping,
+  FEFaceValues(const Mapping<dim, spacedim>       &mapping,
                const FiniteElement<dim, spacedim> &fe,
-               const Quadrature<dim - 1> &         quadrature,
+               const Quadrature<dim - 1>          &quadrature,
                const UpdateFlags                   update_flags);
 
   /**
@@ -351,9 +351,9 @@ public:
    * the collection only contains a single face quadrature, this quadrature
    * rule is use on all faces.
    */
-  FEFaceValues(const Mapping<dim, spacedim> &      mapping,
+  FEFaceValues(const Mapping<dim, spacedim>       &mapping,
                const FiniteElement<dim, spacedim> &fe,
-               const hp::QCollection<dim - 1> &    quadrature,
+               const hp::QCollection<dim - 1>     &quadrature,
                const UpdateFlags                   update_flags);
 
   /**
@@ -362,7 +362,7 @@ public:
    * MappingQ(1)) implicitly.
    */
   FEFaceValues(const FiniteElement<dim, spacedim> &fe,
-               const Quadrature<dim - 1> &         quadrature,
+               const Quadrature<dim - 1>          &quadrature,
                const UpdateFlags                   update_flags);
 
   /**
@@ -372,7 +372,7 @@ public:
    * rule is use on all faces.
    */
   FEFaceValues(const FiniteElement<dim, spacedim> &fe,
-               const hp::QCollection<dim - 1> &    quadrature,
+               const hp::QCollection<dim - 1>     &quadrature,
                const UpdateFlags                   update_flags);
 
   /**
@@ -395,7 +395,7 @@ public:
   void
   reinit(
     const TriaIterator<DoFCellAccessor<dim, spacedim, level_dof_access>> &cell,
-    const typename Triangulation<dim, spacedim>::face_iterator &          face);
+    const typename Triangulation<dim, spacedim>::face_iterator           &face);
 
   /**
    * Reinitialize the gradients, Jacobi determinants, etc for the given face
@@ -508,9 +508,9 @@ public:
    * Constructor. Gets cell independent data from mapping and finite element
    * objects, matching the quadrature rule and update flags.
    */
-  FESubfaceValues(const Mapping<dim, spacedim> &      mapping,
+  FESubfaceValues(const Mapping<dim, spacedim>       &mapping,
                   const FiniteElement<dim, spacedim> &fe,
-                  const Quadrature<dim - 1> &         face_quadrature,
+                  const Quadrature<dim - 1>          &face_quadrature,
                   const UpdateFlags                   update_flags);
 
   /**
@@ -519,9 +519,9 @@ public:
    * @note We require, in contrast to FEFaceValues, that the number of quadrature
    *   rules in the collection is one.
    */
-  FESubfaceValues(const Mapping<dim, spacedim> &      mapping,
+  FESubfaceValues(const Mapping<dim, spacedim>       &mapping,
                   const FiniteElement<dim, spacedim> &fe,
-                  const hp::QCollection<dim - 1> &    face_quadrature,
+                  const hp::QCollection<dim - 1>     &face_quadrature,
                   const UpdateFlags                   update_flags);
 
   /**
@@ -530,7 +530,7 @@ public:
    * MappingQ(1)) implicitly.
    */
   FESubfaceValues(const FiniteElement<dim, spacedim> &fe,
-                  const Quadrature<dim - 1> &         face_quadrature,
+                  const Quadrature<dim - 1>          &face_quadrature,
                   const UpdateFlags                   update_flags);
 
   /**
@@ -540,7 +540,7 @@ public:
    *   rules in the collection is one.
    */
   FESubfaceValues(const FiniteElement<dim, spacedim> &fe,
-                  const hp::QCollection<dim - 1> &    face_quadrature,
+                  const hp::QCollection<dim - 1>     &face_quadrature,
                   const UpdateFlags                   update_flags);
 
   /**
@@ -564,7 +564,7 @@ public:
   void
   reinit(
     const TriaIterator<DoFCellAccessor<dim, spacedim, level_dof_access>> &cell,
-    const typename Triangulation<dim, spacedim>::face_iterator &          face,
+    const typename Triangulation<dim, spacedim>::face_iterator           &face,
     const typename Triangulation<dim, spacedim>::face_iterator &subface);
 
   /**
index 82e593ee465863896332cd9b5ff36d4bc105ae52..3947ac1ff16e144dc0607a8cf9fd4659114ed73d 100644 (file)
@@ -201,7 +201,7 @@ public:
   FEValuesBase(const unsigned int                  n_q_points,
                const unsigned int                  dofs_per_cell,
                const UpdateFlags                   update_flags,
-               const Mapping<dim, spacedim> &      mapping,
+               const Mapping<dim, spacedim>       &mapping,
                const FiniteElement<dim, spacedim> &fe);
 
   /**
@@ -462,7 +462,7 @@ public:
   template <typename Number>
   void
   get_function_values(const ReadVector<Number> &fe_function,
-                      std::vector<Number> &     values) const;
+                      std::vector<Number>      &values) const;
 
   /**
    * This function does the same as the other get_function_values(), but
@@ -479,7 +479,7 @@ public:
    */
   template <typename Number>
   void
-  get_function_values(const ReadVector<Number> &   fe_function,
+  get_function_values(const ReadVector<Number>    &fe_function,
                       std::vector<Vector<Number>> &values) const;
 
   /**
@@ -636,7 +636,7 @@ public:
   template <typename Number>
   void
   get_function_gradients(
-    const ReadVector<Number> &                fe_function,
+    const ReadVector<Number>                 &fe_function,
     std::vector<Tensor<1, spacedim, Number>> &gradients) const;
 
   /**
@@ -658,7 +658,7 @@ public:
   template <typename Number>
   void
   get_function_gradients(
-    const ReadVector<Number> &                             fe_function,
+    const ReadVector<Number>                              &fe_function,
     std::vector<std::vector<Tensor<1, spacedim, Number>>> &gradients) const;
 
   /**
@@ -672,9 +672,9 @@ public:
   template <typename Number>
   void
   get_function_gradients(
-    const ReadVector<Number> &                      fe_function,
+    const ReadVector<Number>                       &fe_function,
     const ArrayView<const types::global_dof_index> &indices,
-    std::vector<Tensor<1, spacedim, Number>> &      gradients) const;
+    std::vector<Tensor<1, spacedim, Number>>       &gradients) const;
 
   /**
    * This function relates to the first of the get_function_gradients() function
@@ -687,8 +687,8 @@ public:
   template <typename Number>
   void
   get_function_gradients(
-    const ReadVector<Number> &                          fe_function,
-    const ArrayView<const types::global_dof_index> &    indices,
+    const ReadVector<Number>                           &fe_function,
+    const ArrayView<const types::global_dof_index>     &indices,
     ArrayView<std::vector<Tensor<1, spacedim, Number>>> gradients,
     const bool quadrature_points_fastest = false) const;
 
@@ -738,7 +738,7 @@ public:
   template <typename Number>
   void
   get_function_hessians(
-    const ReadVector<Number> &                fe_function,
+    const ReadVector<Number>                 &fe_function,
     std::vector<Tensor<2, spacedim, Number>> &hessians) const;
 
   /**
@@ -761,7 +761,7 @@ public:
   template <typename Number>
   void
   get_function_hessians(
-    const ReadVector<Number> &                             fe_function,
+    const ReadVector<Number>                              &fe_function,
     std::vector<std::vector<Tensor<2, spacedim, Number>>> &hessians,
     const bool quadrature_points_fastest = false) const;
 
@@ -776,9 +776,9 @@ public:
   template <typename Number>
   void
   get_function_hessians(
-    const ReadVector<Number> &                      fe_function,
+    const ReadVector<Number>                       &fe_function,
     const ArrayView<const types::global_dof_index> &indices,
-    std::vector<Tensor<2, spacedim, Number>> &      hessians) const;
+    std::vector<Tensor<2, spacedim, Number>>       &hessians) const;
 
   /**
    * This function relates to the first of the get_function_hessians() function
@@ -791,8 +791,8 @@ public:
   template <typename Number>
   void
   get_function_hessians(
-    const ReadVector<Number> &                          fe_function,
-    const ArrayView<const types::global_dof_index> &    indices,
+    const ReadVector<Number>                           &fe_function,
+    const ArrayView<const types::global_dof_index>     &indices,
     ArrayView<std::vector<Tensor<2, spacedim, Number>>> hessians,
     const bool quadrature_points_fastest = false) const;
 
@@ -839,7 +839,7 @@ public:
   template <typename Number>
   void
   get_function_laplacians(const ReadVector<Number> &fe_function,
-                          std::vector<Number> &     laplacians) const;
+                          std::vector<Number>      &laplacians) const;
 
   /**
    * This function does the same as the other get_function_laplacians(), but
@@ -862,7 +862,7 @@ public:
    */
   template <typename Number>
   void
-  get_function_laplacians(const ReadVector<Number> &   fe_function,
+  get_function_laplacians(const ReadVector<Number>    &fe_function,
                           std::vector<Vector<Number>> &laplacians) const;
 
   /**
@@ -876,9 +876,9 @@ public:
   template <typename Number>
   void
   get_function_laplacians(
-    const ReadVector<Number> &                      fe_function,
+    const ReadVector<Number>                       &fe_function,
     const ArrayView<const types::global_dof_index> &indices,
-    std::vector<Number> &                           laplacians) const;
+    std::vector<Number>                            &laplacians) const;
 
   /**
    * This function relates to the first of the get_function_laplacians()
@@ -891,9 +891,9 @@ public:
   template <typename Number>
   void
   get_function_laplacians(
-    const ReadVector<Number> &                      fe_function,
+    const ReadVector<Number>                       &fe_function,
     const ArrayView<const types::global_dof_index> &indices,
-    std::vector<Vector<Number>> &                   laplacians) const;
+    std::vector<Vector<Number>>                    &laplacians) const;
 
   /**
    * This function relates to the first of the get_function_laplacians()
@@ -906,9 +906,9 @@ public:
   template <typename Number>
   void
   get_function_laplacians(
-    const ReadVector<Number> &                      fe_function,
+    const ReadVector<Number>                       &fe_function,
     const ArrayView<const types::global_dof_index> &indices,
-    std::vector<std::vector<Number>> &              laplacians,
+    std::vector<std::vector<Number>>               &laplacians,
     const bool quadrature_points_fastest = false) const;
 
   /** @} */
@@ -956,7 +956,7 @@ public:
   template <typename Number>
   void
   get_function_third_derivatives(
-    const ReadVector<Number> &                fe_function,
+    const ReadVector<Number>                 &fe_function,
     std::vector<Tensor<3, spacedim, Number>> &third_derivatives) const;
 
   /**
@@ -980,7 +980,7 @@ public:
   template <typename Number>
   void
   get_function_third_derivatives(
-    const ReadVector<Number> &                             fe_function,
+    const ReadVector<Number>                              &fe_function,
     std::vector<std::vector<Tensor<3, spacedim, Number>>> &third_derivatives,
     const bool quadrature_points_fastest = false) const;
 
@@ -995,9 +995,9 @@ public:
   template <typename Number>
   void
   get_function_third_derivatives(
-    const ReadVector<Number> &                      fe_function,
+    const ReadVector<Number>                       &fe_function,
     const ArrayView<const types::global_dof_index> &indices,
-    std::vector<Tensor<3, spacedim, Number>> &      third_derivatives) const;
+    std::vector<Tensor<3, spacedim, Number>>       &third_derivatives) const;
 
   /**
    * This function relates to the first of the get_function_third_derivatives()
@@ -1010,8 +1010,8 @@ public:
   template <typename Number>
   void
   get_function_third_derivatives(
-    const ReadVector<Number> &                          fe_function,
-    const ArrayView<const types::global_dof_index> &    indices,
+    const ReadVector<Number>                           &fe_function,
+    const ArrayView<const types::global_dof_index>     &indices,
     ArrayView<std::vector<Tensor<3, spacedim, Number>>> third_derivatives,
     const bool quadrature_points_fastest = false) const;
   /** @} */
@@ -1594,20 +1594,20 @@ protected:
     template <typename Number>
     void
     get_interpolated_dof_values(const ReadVector<Number> &in,
-                                Vector<Number> &          out) const;
+                                Vector<Number>           &out) const;
 
     /**
      * Call @p get_interpolated_dof_values of the iterator with the
      * given arguments.
      */
     void
-    get_interpolated_dof_values(const IndexSet &              in,
+    get_interpolated_dof_values(const IndexSet               &in,
                                 Vector<IndexSet::value_type> &out) const;
 
   private:
     bool                                                 initialized;
     typename Triangulation<dim, spacedim>::cell_iterator cell;
-    const DoFHandler<dim, spacedim> *                    dof_handler;
+    const DoFHandler<dim, spacedim>                     *dof_handler;
     bool                                                 level_dof_access;
   };
 
index b8459e04cf356a7680e902b58e0ad94f25399201..c9b6745af36b9d04b038a00f4daff6fdacfd0292 100644 (file)
@@ -349,7 +349,7 @@ namespace FEValuesViews
      */
     template <typename Number>
     void
-    get_function_values(const ReadVector<Number> &                fe_function,
+    get_function_values(const ReadVector<Number>                 &fe_function,
                         std::vector<solution_value_type<Number>> &values) const;
 
     /**
@@ -413,7 +413,7 @@ namespace FEValuesViews
     template <typename Number>
     void
     get_function_gradients(
-      const ReadVector<Number> &                   fe_function,
+      const ReadVector<Number>                    &fe_function,
       std::vector<solution_gradient_type<Number>> &gradients) const;
 
     /**
@@ -449,7 +449,7 @@ namespace FEValuesViews
     template <typename Number>
     void
     get_function_hessians(
-      const ReadVector<Number> &                  fe_function,
+      const ReadVector<Number>                   &fe_function,
       std::vector<solution_hessian_type<Number>> &hessians) const;
 
     /**
@@ -487,7 +487,7 @@ namespace FEValuesViews
     template <typename Number>
     void
     get_function_laplacians(
-      const ReadVector<Number> &                    fe_function,
+      const ReadVector<Number>                     &fe_function,
       std::vector<solution_laplacian_type<Number>> &laplacians) const;
 
     /**
@@ -525,7 +525,7 @@ namespace FEValuesViews
     template <typename Number>
     void
     get_function_third_derivatives(
-      const ReadVector<Number> &                           fe_function,
+      const ReadVector<Number>                            &fe_function,
       std::vector<solution_third_derivative_type<Number>> &third_derivatives)
       const;
 
@@ -958,7 +958,7 @@ namespace FEValuesViews
      */
     template <typename Number>
     void
-    get_function_values(const ReadVector<Number> &                fe_function,
+    get_function_values(const ReadVector<Number>                 &fe_function,
                         std::vector<solution_value_type<Number>> &values) const;
 
     /**
@@ -1022,7 +1022,7 @@ namespace FEValuesViews
     template <typename Number>
     void
     get_function_gradients(
-      const ReadVector<Number> &                   fe_function,
+      const ReadVector<Number>                    &fe_function,
       std::vector<solution_gradient_type<Number>> &gradients) const;
 
     /**
@@ -1103,7 +1103,7 @@ namespace FEValuesViews
     template <typename Number>
     void
     get_function_divergences(
-      const ReadVector<Number> &                     fe_function,
+      const ReadVector<Number>                      &fe_function,
       std::vector<solution_divergence_type<Number>> &divergences) const;
 
     /**
@@ -1139,7 +1139,7 @@ namespace FEValuesViews
      */
     template <typename Number>
     void
-    get_function_curls(const ReadVector<Number> &               fe_function,
+    get_function_curls(const ReadVector<Number>                &fe_function,
                        std::vector<solution_curl_type<Number>> &curls) const;
 
     /**
@@ -1175,7 +1175,7 @@ namespace FEValuesViews
     template <typename Number>
     void
     get_function_hessians(
-      const ReadVector<Number> &                  fe_function,
+      const ReadVector<Number>                   &fe_function,
       std::vector<solution_hessian_type<Number>> &hessians) const;
 
     /**
@@ -1212,7 +1212,7 @@ namespace FEValuesViews
     template <typename Number>
     void
     get_function_laplacians(
-      const ReadVector<Number> &                    fe_function,
+      const ReadVector<Number>                     &fe_function,
       std::vector<solution_laplacian_type<Number>> &laplacians) const;
 
     /**
@@ -1249,7 +1249,7 @@ namespace FEValuesViews
     template <typename Number>
     void
     get_function_third_derivatives(
-      const ReadVector<Number> &                           fe_function,
+      const ReadVector<Number>                            &fe_function,
       std::vector<solution_third_derivative_type<Number>> &third_derivatives)
       const;
 
@@ -1496,7 +1496,7 @@ namespace FEValuesViews
      */
     template <typename Number>
     void
-    get_function_values(const ReadVector<Number> &                fe_function,
+    get_function_values(const ReadVector<Number>                 &fe_function,
                         std::vector<solution_value_type<Number>> &values) const;
 
     /**
@@ -1564,7 +1564,7 @@ namespace FEValuesViews
     template <typename Number>
     void
     get_function_divergences(
-      const ReadVector<Number> &                     fe_function,
+      const ReadVector<Number>                      &fe_function,
       std::vector<solution_divergence_type<Number>> &divergences) const;
 
     /**
@@ -1835,7 +1835,7 @@ namespace FEValuesViews
      */
     template <typename Number>
     void
-    get_function_values(const ReadVector<Number> &                fe_function,
+    get_function_values(const ReadVector<Number>                 &fe_function,
                         std::vector<solution_value_type<Number>> &values) const;
 
     /**
@@ -1903,7 +1903,7 @@ namespace FEValuesViews
     template <typename Number>
     void
     get_function_divergences(
-      const ReadVector<Number> &                     fe_function,
+      const ReadVector<Number>                      &fe_function,
       std::vector<solution_divergence_type<Number>> &divergences) const;
 
     /**
@@ -1938,7 +1938,7 @@ namespace FEValuesViews
     template <typename Number>
     void
     get_function_gradients(
-      const ReadVector<Number> &                   fe_function,
+      const ReadVector<Number>                    &fe_function,
       std::vector<solution_gradient_type<Number>> &gradients) const;
 
     /**
index 1c53cad80167591743f139d2be0b10d0a9a87b11..83502f786a83ce0f5a80ceb85886cef990f790f7 100644 (file)
@@ -49,7 +49,7 @@ namespace FEValuesViews
     void
     do_function_values(
       const ArrayView<const Number> &dof_values,
-      const Table<2, double> &       shape_values,
+      const Table<2, double>        &shape_values,
       const std::vector<typename Scalar<dim, spacedim>::ShapeFunctionData>
         &shape_function_data,
       std::vector<typename ProductType<Number, double>::type> &values);
@@ -61,7 +61,7 @@ namespace FEValuesViews
     template <int order, int dim, int spacedim, typename Number>
     void
     do_function_derivatives(
-      const ArrayView<const Number> &                  dof_values,
+      const ArrayView<const Number>                   &dof_values,
       const Table<2, dealii::Tensor<order, spacedim>> &shape_derivatives,
       const std::vector<typename Scalar<dim, spacedim>::ShapeFunctionData>
         &shape_function_data,
@@ -75,7 +75,7 @@ namespace FEValuesViews
     template <int dim, int spacedim, typename Number>
     void
     do_function_laplacians(
-      const ArrayView<const Number> &              dof_values,
+      const ArrayView<const Number>               &dof_values,
       const Table<2, dealii::Tensor<2, spacedim>> &shape_hessians,
       const std::vector<typename Scalar<dim, spacedim>::ShapeFunctionData>
         &shape_function_data,
@@ -91,7 +91,7 @@ namespace FEValuesViews
     void
     do_function_values(
       const ArrayView<const Number> &dof_values,
-      const Table<2, double> &       shape_values,
+      const Table<2, double>        &shape_values,
       const std::vector<typename Vector<dim, spacedim>::ShapeFunctionData>
         &shape_function_data,
       std::vector<
@@ -105,7 +105,7 @@ namespace FEValuesViews
     template <int order, int dim, int spacedim, typename Number>
     void
     do_function_derivatives(
-      const ArrayView<const Number> &                  dof_values,
+      const ArrayView<const Number>                   &dof_values,
       const Table<2, dealii::Tensor<order, spacedim>> &shape_derivatives,
       const std::vector<typename Vector<dim, spacedim>::ShapeFunctionData>
         &shape_function_data,
@@ -119,7 +119,7 @@ namespace FEValuesViews
     template <int dim, int spacedim, typename Number>
     void
     do_function_symmetric_gradients(
-      const ArrayView<const Number> &              dof_values,
+      const ArrayView<const Number>               &dof_values,
       const Table<2, dealii::Tensor<1, spacedim>> &shape_gradients,
       const std::vector<typename Vector<dim, spacedim>::ShapeFunctionData>
         &shape_function_data,
@@ -134,7 +134,7 @@ namespace FEValuesViews
     template <int dim, int spacedim, typename Number>
     void
     do_function_divergences(
-      const ArrayView<const Number> &              dof_values,
+      const ArrayView<const Number>               &dof_values,
       const Table<2, dealii::Tensor<1, spacedim>> &shape_gradients,
       const std::vector<typename Vector<dim, spacedim>::ShapeFunctionData>
         &shape_function_data,
@@ -147,7 +147,7 @@ namespace FEValuesViews
     template <int dim, int spacedim, typename Number>
     void
     do_function_curls(
-      const ArrayView<const Number> &              dof_values,
+      const ArrayView<const Number>               &dof_values,
       const Table<2, dealii::Tensor<1, spacedim>> &shape_gradients,
       const std::vector<typename Vector<dim, spacedim>::ShapeFunctionData>
         &shape_function_data,
@@ -161,7 +161,7 @@ namespace FEValuesViews
     template <int dim, int spacedim, typename Number>
     void
     do_function_laplacians(
-      const ArrayView<const Number> &              dof_values,
+      const ArrayView<const Number>               &dof_values,
       const Table<2, dealii::Tensor<2, spacedim>> &shape_hessians,
       const std::vector<typename Vector<dim, spacedim>::ShapeFunctionData>
         &shape_function_data,
@@ -176,7 +176,7 @@ namespace FEValuesViews
     template <int dim, int spacedim, typename Number>
     void
     do_function_values(
-      const ArrayView<const Number> dof_values,
+      const ArrayView<const Number>  &dof_values,
       const dealii::Table<2, double> &shape_values,
       const std::vector<
         typename SymmetricTensor<2, dim, spacedim>::ShapeFunctionData>
@@ -192,7 +192,7 @@ namespace FEValuesViews
     template <int dim, int spacedim, typename Number>
     void
     do_function_divergences(
-      const ArrayView<const Number> &              dof_values,
+      const ArrayView<const Number>               &dof_values,
       const Table<2, dealii::Tensor<1, spacedim>> &shape_gradients,
       const std::vector<
         typename SymmetricTensor<2, dim, spacedim>::ShapeFunctionData>
@@ -208,7 +208,7 @@ namespace FEValuesViews
     template <int dim, int spacedim, typename Number>
     void
     do_function_values(
-      const ArrayView<const Number> dof_values,
+      const ArrayView<const Number>  &dof_values,
       const dealii::Table<2, double> &shape_values,
       const std::vector<typename Tensor<2, dim, spacedim>::ShapeFunctionData>
         &shape_function_data,
@@ -222,7 +222,7 @@ namespace FEValuesViews
     template <int dim, int spacedim, typename Number>
     void
     do_function_divergences(
-      const ArrayView<const Number> &              dof_values,
+      const ArrayView<const Number>               &dof_values,
       const Table<2, dealii::Tensor<1, spacedim>> &shape_gradients,
       const std::vector<typename Tensor<2, dim, spacedim>::ShapeFunctionData>
         &shape_function_data,
@@ -235,7 +235,7 @@ namespace FEValuesViews
     template <int dim, int spacedim, typename Number>
     void
     do_function_gradients(
-      const ArrayView<const Number> &              dof_values,
+      const ArrayView<const Number>               &dof_values,
       const Table<2, dealii::Tensor<1, spacedim>> &shape_gradients,
       const std::vector<typename Tensor<2, dim, spacedim>::ShapeFunctionData>
         &shape_function_data,
index cb582cedf594dd19bcb4131b87b2bd4662e25c49..de063c5f6f57d1aad1a06a1d06a70378d961836f 100644 (file)
@@ -40,7 +40,7 @@ public:
    * Constructor.
    */
   FE_WedgePoly(const unsigned int                                degree,
-               const internal::GenericDoFsPerObject &            dpos,
+               const internal::GenericDoFsPerObject             &dpos,
                const typename FiniteElementData<dim>::Conformity conformity);
 
   /**
@@ -49,7 +49,7 @@ public:
   virtual void
   convert_generalized_support_point_values_to_dof_values(
     const std::vector<Vector<double>> &support_point_values,
-    std::vector<double> &              nodal_values) const override;
+    std::vector<double>               &nodal_values) const override;
 };
 
 /**
index f219b6c1ab5b4c6c9d8130c3fa72c213e282f9ea..194389a094fea4d436e9e25a783a986b2435c455 100644 (file)
@@ -453,7 +453,7 @@ public:
   virtual Point<spacedim>
   transform_unit_to_real_cell(
     const typename Triangulation<dim, spacedim>::cell_iterator &cell,
-    const Point<dim> &                                          p) const = 0;
+    const Point<dim>                                           &p) const = 0;
 
   /**
    * Map the point @p p on the real @p cell to the corresponding point on the
@@ -486,7 +486,7 @@ public:
   virtual Point<dim>
   transform_real_to_unit_cell(
     const typename Triangulation<dim, spacedim>::cell_iterator &cell,
-    const Point<spacedim> &                                     p) const = 0;
+    const Point<spacedim>                                      &p) const = 0;
 
   /**
    * Map multiple points from the real point locations to points in reference
@@ -502,7 +502,7 @@ public:
   virtual void
   transform_points_real_to_unit_cell(
     const typename Triangulation<dim, spacedim>::cell_iterator &cell,
-    const ArrayView<const Point<spacedim>> &                    real_points,
+    const ArrayView<const Point<spacedim>>                     &real_points,
     const ArrayView<Point<dim>> &unit_points) const;
 
   /**
@@ -519,7 +519,7 @@ public:
   project_real_point_to_unit_point_on_face(
     const typename Triangulation<dim, spacedim>::cell_iterator &cell,
     const unsigned int                                          face_no,
-    const Point<spacedim> &                                     p) const;
+    const Point<spacedim>                                      &p) const;
 
   /**
    * @}
@@ -921,8 +921,8 @@ protected:
   fill_fe_values(
     const typename Triangulation<dim, spacedim>::cell_iterator &cell,
     const CellSimilarity::Similarity                            cell_similarity,
-    const Quadrature<dim> &                                     quadrature,
-    const typename Mapping<dim, spacedim>::InternalDataBase &   internal_data,
+    const Quadrature<dim>                                      &quadrature,
+    const typename Mapping<dim, spacedim>::InternalDataBase    &internal_data,
     internal::FEValuesImplementation::MappingRelatedData<dim, spacedim>
       &output_data) const = 0;
 
@@ -954,8 +954,8 @@ protected:
   fill_fe_face_values(
     const typename Triangulation<dim, spacedim>::cell_iterator &cell,
     const unsigned int                                          face_no,
-    const hp::QCollection<dim - 1> &                            quadrature,
-    const typename Mapping<dim, spacedim>::InternalDataBase &   internal_data,
+    const hp::QCollection<dim - 1>                             &quadrature,
+    const typename Mapping<dim, spacedim>::InternalDataBase    &internal_data,
     internal::FEValuesImplementation::MappingRelatedData<dim, spacedim>
       &output_data) const;
 
@@ -966,8 +966,8 @@ protected:
   fill_fe_face_values(
     const typename Triangulation<dim, spacedim>::cell_iterator &cell,
     const unsigned int                                          face_no,
-    const Quadrature<dim - 1> &                                 quadrature,
-    const typename Mapping<dim, spacedim>::InternalDataBase &   internal_data,
+    const Quadrature<dim - 1>                                  &quadrature,
+    const typename Mapping<dim, spacedim>::InternalDataBase    &internal_data,
     internal::FEValuesImplementation::MappingRelatedData<dim, spacedim>
       &output_data) const;
 
@@ -1002,8 +1002,8 @@ protected:
     const typename Triangulation<dim, spacedim>::cell_iterator &cell,
     const unsigned int                                          face_no,
     const unsigned int                                          subface_no,
-    const Quadrature<dim - 1> &                                 quadrature,
-    const typename Mapping<dim, spacedim>::InternalDataBase &   internal_data,
+    const Quadrature<dim - 1>                                  &quadrature,
+    const typename Mapping<dim, spacedim>::InternalDataBase    &internal_data,
     internal::FEValuesImplementation::MappingRelatedData<dim, spacedim>
       &output_data) const = 0;
 
@@ -1016,8 +1016,8 @@ protected:
   virtual void
   fill_fe_immersed_surface_values(
     const typename Triangulation<dim, spacedim>::cell_iterator &cell,
-    const NonMatching::ImmersedSurfaceQuadrature<dim> &         quadrature,
-    const typename Mapping<dim, spacedim>::InternalDataBase &   internal_data,
+    const NonMatching::ImmersedSurfaceQuadrature<dim>          &quadrature,
+    const typename Mapping<dim, spacedim>::InternalDataBase    &internal_data,
     internal::FEValuesImplementation::MappingRelatedData<dim, spacedim>
       &output_data) const;
 
@@ -1095,7 +1095,7 @@ public:
    * const, but the tensors it points to are not.)
    */
   virtual void
-  transform(const ArrayView<const Tensor<1, dim>> &                  input,
+  transform(const ArrayView<const Tensor<1, dim>>                   &input,
             const MappingKind                                        kind,
             const typename Mapping<dim, spacedim>::InternalDataBase &internal,
             const ArrayView<Tensor<1, spacedim>> &output) const = 0;
@@ -1206,7 +1206,7 @@ public:
    * const, but the tensors it points to are not.)
    */
   virtual void
-  transform(const ArrayView<const Tensor<2, dim>> &                  input,
+  transform(const ArrayView<const Tensor<2, dim>>                   &input,
             const MappingKind                                        kind,
             const typename Mapping<dim, spacedim>::InternalDataBase &internal,
             const ArrayView<Tensor<2, spacedim>> &output) const = 0;
@@ -1306,7 +1306,7 @@ public:
    * transformed objects should be placed.
    */
   virtual void
-  transform(const ArrayView<const Tensor<3, dim>> &                  input,
+  transform(const ArrayView<const Tensor<3, dim>>                   &input,
             const MappingKind                                        kind,
             const typename Mapping<dim, spacedim>::InternalDataBase &internal,
             const ArrayView<Tensor<3, spacedim>> &output) const = 0;
index 91db3d44a6ed6aa822ebd624aacb4d619e894023..f8dd44a00e78c3c02543904eec3e845f6eb7ece2 100644 (file)
@@ -65,7 +65,7 @@ public:
   virtual void
   add_line_support_points(
     const typename Triangulation<dim>::cell_iterator &cell,
-    std::vector<Point<dim>> &                         a) const override;
+    std::vector<Point<dim>>                          &a) const override;
 
   /**
    * For <tt>dim=3</tt>. Append the support points of all shape functions
@@ -79,7 +79,7 @@ public:
   virtual void
   add_quad_support_points(
     const typename Triangulation<dim>::cell_iterator &cell,
-    std::vector<Point<dim>> &                         a) const override;
+    std::vector<Point<dim>>                          &a) const override;
 };
 
 /** @} */
@@ -96,7 +96,7 @@ template <>
 void
 MappingC1<2>::add_line_support_points(
   const Triangulation<2>::cell_iterator &cell,
-  std::vector<Point<2>> &                a) const;
+  std::vector<Point<2>>                 &a) const;
 
 template <>
 void
index 079695d56d911db92a4002b094b41da4875a58c3..ce9fc464a12a6b058638655b90971f753821c1d7 100644 (file)
@@ -121,7 +121,7 @@ public:
 
   // for documentation, see the Mapping base class
   virtual void
-  transform(const ArrayView<const Tensor<1, dim>> &                  input,
+  transform(const ArrayView<const Tensor<1, dim>>                   &input,
             const MappingKind                                        kind,
             const typename Mapping<dim, spacedim>::InternalDataBase &internal,
             const ArrayView<Tensor<1, spacedim>> &output) const override;
@@ -135,7 +135,7 @@ public:
 
   // for documentation, see the Mapping base class
   virtual void
-  transform(const ArrayView<const Tensor<2, dim>> &                  input,
+  transform(const ArrayView<const Tensor<2, dim>>                   &input,
             const MappingKind                                        kind,
             const typename Mapping<dim, spacedim>::InternalDataBase &internal,
             const ArrayView<Tensor<2, spacedim>> &output) const override;
@@ -149,7 +149,7 @@ public:
 
   // for documentation, see the Mapping base class
   virtual void
-  transform(const ArrayView<const Tensor<3, dim>> &                  input,
+  transform(const ArrayView<const Tensor<3, dim>>                   &input,
             const MappingKind                                        kind,
             const typename Mapping<dim, spacedim>::InternalDataBase &internal,
             const ArrayView<Tensor<3, spacedim>> &output) const override;
@@ -178,7 +178,7 @@ public:
   void
   fill_mapping_data_for_generic_points(
     const typename Triangulation<dim, spacedim>::cell_iterator &cell,
-    const ArrayView<const Point<dim>> &                         unit_points,
+    const ArrayView<const Point<dim>>                          &unit_points,
     const UpdateFlags                                           update_flags,
     internal::FEValuesImplementation::MappingRelatedData<dim, spacedim>
       &output_data) const;
@@ -261,8 +261,8 @@ private:
   fill_fe_values(
     const typename Triangulation<dim, spacedim>::cell_iterator &cell,
     const CellSimilarity::Similarity                            cell_similarity,
-    const Quadrature<dim> &                                     quadrature,
-    const typename Mapping<dim, spacedim>::InternalDataBase &   internal_data,
+    const Quadrature<dim>                                      &quadrature,
+    const typename Mapping<dim, spacedim>::InternalDataBase    &internal_data,
     internal::FEValuesImplementation::MappingRelatedData<dim, spacedim>
       &output_data) const override;
 
@@ -273,8 +273,8 @@ private:
   fill_fe_face_values(
     const typename Triangulation<dim, spacedim>::cell_iterator &cell,
     const unsigned int                                          face_no,
-    const hp::QCollection<dim - 1> &                            quadrature,
-    const typename Mapping<dim, spacedim>::InternalDataBase &   internal_data,
+    const hp::QCollection<dim - 1>                             &quadrature,
+    const typename Mapping<dim, spacedim>::InternalDataBase    &internal_data,
     internal::FEValuesImplementation::MappingRelatedData<dim, spacedim>
       &output_data) const override;
 
@@ -284,8 +284,8 @@ private:
     const typename Triangulation<dim, spacedim>::cell_iterator &cell,
     const unsigned int                                          face_no,
     const unsigned int                                          subface_no,
-    const Quadrature<dim - 1> &                                 quadrature,
-    const typename Mapping<dim, spacedim>::InternalDataBase &   internal_data,
+    const Quadrature<dim - 1>                                  &quadrature,
+    const typename Mapping<dim, spacedim>::InternalDataBase    &internal_data,
     internal::FEValuesImplementation::MappingRelatedData<dim, spacedim>
       &output_data) const override;
 
@@ -293,8 +293,8 @@ private:
   virtual void
   fill_fe_immersed_surface_values(
     const typename Triangulation<dim, spacedim>::cell_iterator &cell,
-    const NonMatching::ImmersedSurfaceQuadrature<dim> &         quadrature,
-    const typename Mapping<dim, spacedim>::InternalDataBase &   internal_data,
+    const NonMatching::ImmersedSurfaceQuadrature<dim>          &quadrature,
+    const typename Mapping<dim, spacedim>::InternalDataBase    &internal_data,
     internal::FEValuesImplementation::MappingRelatedData<dim, spacedim>
       &output_data) const override;
 
@@ -310,7 +310,7 @@ private:
   update_cell_extents(
     const typename Triangulation<dim, spacedim>::cell_iterator &cell,
     const CellSimilarity::Similarity                            cell_similarity,
-    const InternalData &                                        data) const;
+    const InternalData                                         &data) const;
 
   /**
    * Compute the quadrature points if the UpdateFlags of the incoming
@@ -321,7 +321,7 @@ private:
   void
   maybe_update_cell_quadrature_points(
     const typename Triangulation<dim, spacedim>::cell_iterator &cell,
-    const InternalData &                                        data,
+    const InternalData                                         &data,
     std::vector<Point<dim>> &quadrature_points) const;
 
   /**
@@ -334,7 +334,7 @@ private:
   maybe_update_face_quadrature_points(
     const typename Triangulation<dim, spacedim>::cell_iterator &cell,
     const unsigned int                                          face_no,
-    const InternalData &                                        data,
+    const InternalData                                         &data,
     std::vector<Point<dim>> &quadrature_points) const;
 
   /**
@@ -348,7 +348,7 @@ private:
     const typename Triangulation<dim, spacedim>::cell_iterator &cell,
     const unsigned int                                          face_no,
     const unsigned int                                          sub_no,
-    const InternalData &                                        data,
+    const InternalData                                         &data,
     std::vector<Point<dim>> &quadrature_points) const;
 
   /**
@@ -360,8 +360,8 @@ private:
   void
   transform_quadrature_points(
     const typename Triangulation<dim, spacedim>::cell_iterator &cell,
-    const InternalData &                                        data,
-    const typename QProjector<dim>::DataSetDescriptor &         offset,
+    const InternalData                                         &data,
+    const typename QProjector<dim>::DataSetDescriptor          &offset,
     std::vector<Point<dim>> &quadrature_points) const;
 
   /**
@@ -371,7 +371,7 @@ private:
   void
   maybe_update_normal_vectors(
     const unsigned int           face_no,
-    const InternalData &         data,
+    const InternalData          &data,
     std::vector<Tensor<1, dim>> &normal_vectors) const;
 
   /**
@@ -381,7 +381,7 @@ private:
    */
   void
   maybe_update_jacobian_derivatives(
-    const InternalData &             data,
+    const InternalData              &data,
     const CellSimilarity::Similarity cell_similarity,
     internal::FEValuesImplementation::MappingRelatedData<dim, spacedim>
       &output_data) const;
@@ -400,7 +400,7 @@ private:
    */
   void
   maybe_update_jacobians(
-    const InternalData &             data,
+    const InternalData              &data,
     const CellSimilarity::Similarity cell_similarity,
     internal::FEValuesImplementation::MappingRelatedData<dim, spacedim>
       &output_data) const;
@@ -411,7 +411,7 @@ private:
    */
   void
   maybe_update_inverse_jacobians(
-    const InternalData &             data,
+    const InternalData              &data,
     const CellSimilarity::Similarity cell_similarity,
     internal::FEValuesImplementation::MappingRelatedData<dim, spacedim>
       &output_data) const;
index cd417ee2ae01c2edbc8b2f8e0c882662d1d28bbc..10dd3bda905310b1ea05b2f49c4cefcc4b64e8af 100644 (file)
@@ -125,7 +125,7 @@ public:
 
   // for documentation, see the Mapping base class
   virtual void
-  transform(const ArrayView<const Tensor<1, dim>> &                  input,
+  transform(const ArrayView<const Tensor<1, dim>>                   &input,
             const MappingKind                                        kind,
             const typename Mapping<dim, spacedim>::InternalDataBase &internal,
             const ArrayView<Tensor<1, spacedim>> &output) const override;
@@ -139,7 +139,7 @@ public:
 
   // for documentation, see the Mapping base class
   virtual void
-  transform(const ArrayView<const Tensor<2, dim>> &                  input,
+  transform(const ArrayView<const Tensor<2, dim>>                   &input,
             const MappingKind                                        kind,
             const typename Mapping<dim, spacedim>::InternalDataBase &internal,
             const ArrayView<Tensor<2, spacedim>> &output) const override;
@@ -153,7 +153,7 @@ public:
 
   // for documentation, see the Mapping base class
   virtual void
-  transform(const ArrayView<const Tensor<3, dim>> &                  input,
+  transform(const ArrayView<const Tensor<3, dim>>                   &input,
             const MappingKind                                        kind,
             const typename Mapping<dim, spacedim>::InternalDataBase &internal,
             const ArrayView<Tensor<3, spacedim>> &output) const override;
@@ -425,8 +425,8 @@ public:
   fill_fe_values(
     const typename Triangulation<dim, spacedim>::cell_iterator &cell,
     const CellSimilarity::Similarity                            cell_similarity,
-    const Quadrature<dim> &                                     quadrature,
-    const typename Mapping<dim, spacedim>::InternalDataBase &   internal_data,
+    const Quadrature<dim>                                      &quadrature,
+    const typename Mapping<dim, spacedim>::InternalDataBase    &internal_data,
     internal::FEValuesImplementation::MappingRelatedData<dim, spacedim>
       &output_data) const override;
 
@@ -437,8 +437,8 @@ public:
   fill_fe_face_values(
     const typename Triangulation<dim, spacedim>::cell_iterator &cell,
     const unsigned int                                          face_no,
-    const hp::QCollection<dim - 1> &                            quadrature,
-    const typename Mapping<dim, spacedim>::InternalDataBase &   internal_data,
+    const hp::QCollection<dim - 1>                             &quadrature,
+    const typename Mapping<dim, spacedim>::InternalDataBase    &internal_data,
     internal::FEValuesImplementation::MappingRelatedData<dim, spacedim>
       &output_data) const override;
 
@@ -448,8 +448,8 @@ public:
     const typename Triangulation<dim, spacedim>::cell_iterator &cell,
     const unsigned int                                          face_no,
     const unsigned int                                          subface_no,
-    const Quadrature<dim - 1> &                                 quadrature,
-    const typename Mapping<dim, spacedim>::InternalDataBase &   internal_data,
+    const Quadrature<dim - 1>                                  &quadrature,
+    const typename Mapping<dim, spacedim>::InternalDataBase    &internal_data,
     internal::FEValuesImplementation::MappingRelatedData<dim, spacedim>
       &output_data) const override;
 
index 73aa6cdfcea06c6c3adac7fa21aabfc904c21ba9..31b0c734902c0c0a89df368179f5c29bd4d23323 100644 (file)
@@ -113,8 +113,8 @@ public:
    * If an incompatible mask is passed, an exception is thrown.
    */
   MappingFEField(const DoFHandler<dim, spacedim> &euler_dof_handler,
-                 const VectorType &               euler_vector,
-                 const ComponentMask &            mask = {});
+                 const VectorType                &euler_vector,
+                 const ComponentMask             &mask = {});
 
   /**
    * Constructor taking vectors on the multigrid levels rather than the active
@@ -126,8 +126,8 @@ public:
    * the other constructor need to be provided.
    */
   MappingFEField(const DoFHandler<dim, spacedim> &euler_dof_handler,
-                 const std::vector<VectorType> &  euler_vector,
-                 const ComponentMask &            mask = {});
+                 const std::vector<VectorType>   &euler_vector,
+                 const ComponentMask             &mask = {});
 
   /**
    * Constructor with MGLevelObject instead of std::vector, otherwise the same
@@ -138,7 +138,7 @@ public:
    */
   MappingFEField(const DoFHandler<dim, spacedim> &euler_dof_handler,
                  const MGLevelObject<VectorType> &euler_vector,
-                 const ComponentMask &            mask = {});
+                 const ComponentMask             &mask = {});
 
   /**
    * Copy constructor.
@@ -203,7 +203,7 @@ public:
 
   // for documentation, see the Mapping base class
   virtual void
-  transform(const ArrayView<const Tensor<1, dim>> &                  input,
+  transform(const ArrayView<const Tensor<1, dim>>                   &input,
             const MappingKind                                        kind,
             const typename Mapping<dim, spacedim>::InternalDataBase &internal,
             const ArrayView<Tensor<1, spacedim>> &output) const override;
@@ -217,7 +217,7 @@ public:
 
   // for documentation, see the Mapping base class
   virtual void
-  transform(const ArrayView<const Tensor<2, dim>> &                  input,
+  transform(const ArrayView<const Tensor<2, dim>>                   &input,
             const MappingKind                                        kind,
             const typename Mapping<dim, spacedim>::InternalDataBase &internal,
             const ArrayView<Tensor<2, spacedim>> &output) const override;
@@ -231,7 +231,7 @@ public:
 
   // for documentation, see the Mapping base class
   virtual void
-  transform(const ArrayView<const Tensor<3, dim>> &                  input,
+  transform(const ArrayView<const Tensor<3, dim>>                   &input,
             const MappingKind                                        kind,
             const typename Mapping<dim, spacedim>::InternalDataBase &internal,
             const ArrayView<Tensor<3, spacedim>> &output) const override;
@@ -288,7 +288,7 @@ public:
      * Constructor.
      */
     InternalData(const FiniteElement<dim, spacedim> &fe,
-                 const ComponentMask &               mask);
+                 const ComponentMask                &mask);
 
     /**
      * Shape function at quadrature point. Shape functions are in tensor
@@ -506,8 +506,8 @@ protected:
   fill_fe_values(
     const typename Triangulation<dim, spacedim>::cell_iterator &cell,
     const CellSimilarity::Similarity                            cell_similarity,
-    const Quadrature<dim> &                                     quadrature,
-    const typename Mapping<dim, spacedim>::InternalDataBase &   internal_data,
+    const Quadrature<dim>                                      &quadrature,
+    const typename Mapping<dim, spacedim>::InternalDataBase    &internal_data,
     internal::FEValuesImplementation::MappingRelatedData<dim, spacedim>
       &output_data) const override;
 
@@ -518,8 +518,8 @@ protected:
   fill_fe_face_values(
     const typename Triangulation<dim, spacedim>::cell_iterator &cell,
     const unsigned int                                          face_no,
-    const hp::QCollection<dim - 1> &                            quadrature,
-    const typename Mapping<dim, spacedim>::InternalDataBase &   internal_data,
+    const hp::QCollection<dim - 1>                             &quadrature,
+    const typename Mapping<dim, spacedim>::InternalDataBase    &internal_data,
     internal::FEValuesImplementation::MappingRelatedData<dim, spacedim>
       &output_data) const override;
 
@@ -529,16 +529,16 @@ protected:
     const typename Triangulation<dim, spacedim>::cell_iterator &cell,
     const unsigned int                                          face_no,
     const unsigned int                                          subface_no,
-    const Quadrature<dim - 1> &                                 quadrature,
-    const typename Mapping<dim, spacedim>::InternalDataBase &   internal_data,
+    const Quadrature<dim - 1>                                  &quadrature,
+    const typename Mapping<dim, spacedim>::InternalDataBase    &internal_data,
     internal::FEValuesImplementation::MappingRelatedData<dim, spacedim>
       &output_data) const override;
 
   virtual void
   fill_fe_immersed_surface_values(
     const typename Triangulation<dim, spacedim>::cell_iterator &cell,
-    const NonMatching::ImmersedSurfaceQuadrature<dim> &         quadrature,
-    const typename Mapping<dim, spacedim>::InternalDataBase &   internal_data,
+    const NonMatching::ImmersedSurfaceQuadrature<dim>          &quadrature,
+    const typename Mapping<dim, spacedim>::InternalDataBase    &internal_data,
     internal::FEValuesImplementation::MappingRelatedData<dim, spacedim>
       &output_data) const override;
 
@@ -609,9 +609,9 @@ private:
   Point<dim>
   do_transform_real_to_unit_cell(
     const typename Triangulation<dim, spacedim>::cell_iterator &cell,
-    const Point<spacedim> &                                     p,
-    const Point<dim> &                                          initial_p_unit,
-    InternalData &                                              mdata) const;
+    const Point<spacedim>                                      &p,
+    const Point<dim>                                           &initial_p_unit,
+    InternalData                                               &mdata) const;
 
   /**
    * Update internal degrees of freedom.
@@ -662,13 +662,13 @@ private:
   compute_data(const UpdateFlags      update_flags,
                const Quadrature<dim> &q,
                const unsigned int     n_original_q_points,
-               InternalData &         data) const;
+               InternalData          &data) const;
 
   void
   compute_face_data(const UpdateFlags      update_flags,
                     const Quadrature<dim> &q,
                     const unsigned int     n_original_q_points,
-                    InternalData &         data) const;
+                    InternalData          &data) const;
 
 
   // Declare other MappingFEField classes friends.
index 6ff095eadd782d97ea332a080d6237977b704168..13e061fde593a3c0ba95163329f9c228589c4e00 100644 (file)
@@ -107,7 +107,7 @@ public:
 
   // for documentation, see the Mapping base class
   virtual void
-  transform(const ArrayView<const Tensor<1, dim>> &                  input,
+  transform(const ArrayView<const Tensor<1, dim>>                   &input,
             const MappingKind                                        kind,
             const typename Mapping<dim, spacedim>::InternalDataBase &internal,
             const ArrayView<Tensor<1, spacedim>> &output) const override;
@@ -121,7 +121,7 @@ public:
 
   // for documentation, see the Mapping base class
   virtual void
-  transform(const ArrayView<const Tensor<2, dim>> &                  input,
+  transform(const ArrayView<const Tensor<2, dim>>                   &input,
             const MappingKind                                        kind,
             const typename Mapping<dim, spacedim>::InternalDataBase &internal,
             const ArrayView<Tensor<2, spacedim>> &output) const override;
@@ -135,7 +135,7 @@ public:
 
   // for documentation, see the Mapping base class
   virtual void
-  transform(const ArrayView<const Tensor<3, dim>> &                  input,
+  transform(const ArrayView<const Tensor<3, dim>>                   &input,
             const MappingKind                                        kind,
             const typename Mapping<dim, spacedim>::InternalDataBase &internal,
             const ArrayView<Tensor<3, spacedim>> &output) const override;
@@ -351,8 +351,8 @@ private:
   fill_fe_values(
     const typename Triangulation<dim, spacedim>::cell_iterator &cell,
     const CellSimilarity::Similarity                            cell_similarity,
-    const Quadrature<dim> &                                     quadrature,
-    const typename Mapping<dim, spacedim>::InternalDataBase &   internal_data,
+    const Quadrature<dim>                                      &quadrature,
+    const typename Mapping<dim, spacedim>::InternalDataBase    &internal_data,
     internal::FEValuesImplementation::MappingRelatedData<dim, spacedim>
       &output_data) const override;
 
@@ -363,8 +363,8 @@ private:
   fill_fe_face_values(
     const typename Triangulation<dim, spacedim>::cell_iterator &cell,
     const unsigned int                                          face_no,
-    const hp::QCollection<dim - 1> &                            quadrature,
-    const typename Mapping<dim, spacedim>::InternalDataBase &   internal_data,
+    const hp::QCollection<dim - 1>                             &quadrature,
+    const typename Mapping<dim, spacedim>::InternalDataBase    &internal_data,
     internal::FEValuesImplementation::MappingRelatedData<dim, spacedim>
       &output_data) const override;
 
@@ -374,8 +374,8 @@ private:
     const typename Triangulation<dim, spacedim>::cell_iterator &cell,
     const unsigned int                                          face_no,
     const unsigned int                                          subface_no,
-    const Quadrature<dim - 1> &                                 quadrature,
-    const typename Mapping<dim, spacedim>::InternalDataBase &   internal_data,
+    const Quadrature<dim - 1>                                  &quadrature,
+    const typename Mapping<dim, spacedim>::InternalDataBase    &internal_data,
     internal::FEValuesImplementation::MappingRelatedData<dim, spacedim>
       &output_data) const override;
 
index 1aaf34748662f8091368d58985e46f9775791a07..04aeaf4ebd17e78f140ba1bac048bd26f80a5a4e 100644 (file)
@@ -179,7 +179,7 @@ public:
   virtual void
   transform_points_real_to_unit_cell(
     const typename Triangulation<dim, spacedim>::cell_iterator &cell,
-    const ArrayView<const Point<spacedim>> &                    real_points,
+    const ArrayView<const Point<spacedim>>                     &real_points,
     const ArrayView<Point<dim>> &unit_points) const override;
 
   /**
@@ -193,7 +193,7 @@ public:
 
   // for documentation, see the Mapping base class
   virtual void
-  transform(const ArrayView<const Tensor<1, dim>> &                  input,
+  transform(const ArrayView<const Tensor<1, dim>>                   &input,
             const MappingKind                                        kind,
             const typename Mapping<dim, spacedim>::InternalDataBase &internal,
             const ArrayView<Tensor<1, spacedim>> &output) const override;
@@ -207,7 +207,7 @@ public:
 
   // for documentation, see the Mapping base class
   virtual void
-  transform(const ArrayView<const Tensor<2, dim>> &                  input,
+  transform(const ArrayView<const Tensor<2, dim>>                   &input,
             const MappingKind                                        kind,
             const typename Mapping<dim, spacedim>::InternalDataBase &internal,
             const ArrayView<Tensor<2, spacedim>> &output) const override;
@@ -221,7 +221,7 @@ public:
 
   // for documentation, see the Mapping base class
   virtual void
-  transform(const ArrayView<const Tensor<3, dim>> &                  input,
+  transform(const ArrayView<const Tensor<3, dim>>                   &input,
             const MappingKind                                        kind,
             const typename Mapping<dim, spacedim>::InternalDataBase &internal,
             const ArrayView<Tensor<3, spacedim>> &output) const override;
@@ -250,7 +250,7 @@ public:
   void
   fill_mapping_data_for_generic_points(
     const typename Triangulation<dim, spacedim>::cell_iterator &cell,
-    const ArrayView<const Point<dim>> &                         unit_points,
+    const ArrayView<const Point<dim>>                          &unit_points,
     const UpdateFlags                                           update_flags,
     internal::FEValuesImplementation::MappingRelatedData<dim, spacedim>
       &output_data) const;
@@ -281,8 +281,8 @@ public:
   fill_mapping_data_for_face_quadrature(
     const typename Triangulation<dim, spacedim>::cell_iterator &cell,
     const unsigned int                                          face_number,
-    const Quadrature<dim - 1> &                                 face_quadrature,
-    const typename Mapping<dim, spacedim>::InternalDataBase &   internal_data,
+    const Quadrature<dim - 1>                                  &face_quadrature,
+    const typename Mapping<dim, spacedim>::InternalDataBase    &internal_data,
     internal::FEValuesImplementation::MappingRelatedData<dim, spacedim>
       &output_data) const;
 
@@ -486,8 +486,8 @@ protected:
   fill_fe_values(
     const typename Triangulation<dim, spacedim>::cell_iterator &cell,
     const CellSimilarity::Similarity                            cell_similarity,
-    const Quadrature<dim> &                                     quadrature,
-    const typename Mapping<dim, spacedim>::InternalDataBase &   internal_data,
+    const Quadrature<dim>                                      &quadrature,
+    const typename Mapping<dim, spacedim>::InternalDataBase    &internal_data,
     internal::FEValuesImplementation::MappingRelatedData<dim, spacedim>
       &output_data) const override;
 
@@ -498,8 +498,8 @@ protected:
   fill_fe_face_values(
     const typename Triangulation<dim, spacedim>::cell_iterator &cell,
     const unsigned int                                          face_no,
-    const hp::QCollection<dim - 1> &                            quadrature,
-    const typename Mapping<dim, spacedim>::InternalDataBase &   internal_data,
+    const hp::QCollection<dim - 1>                             &quadrature,
+    const typename Mapping<dim, spacedim>::InternalDataBase    &internal_data,
     internal::FEValuesImplementation::MappingRelatedData<dim, spacedim>
       &output_data) const override;
 
@@ -509,8 +509,8 @@ protected:
     const typename Triangulation<dim, spacedim>::cell_iterator &cell,
     const unsigned int                                          face_no,
     const unsigned int                                          subface_no,
-    const Quadrature<dim - 1> &                                 quadrature,
-    const typename Mapping<dim, spacedim>::InternalDataBase &   internal_data,
+    const Quadrature<dim - 1>                                  &quadrature,
+    const typename Mapping<dim, spacedim>::InternalDataBase    &internal_data,
     internal::FEValuesImplementation::MappingRelatedData<dim, spacedim>
       &output_data) const override;
 
@@ -518,8 +518,8 @@ protected:
   virtual void
   fill_fe_immersed_surface_values(
     const typename Triangulation<dim, spacedim>::cell_iterator &cell,
-    const NonMatching::ImmersedSurfaceQuadrature<dim> &         quadrature,
-    const typename Mapping<dim, spacedim>::InternalDataBase &   internal_data,
+    const NonMatching::ImmersedSurfaceQuadrature<dim>          &quadrature,
+    const typename Mapping<dim, spacedim>::InternalDataBase    &internal_data,
     internal::FEValuesImplementation::MappingRelatedData<dim, spacedim>
       &output_data) const override;
 
@@ -645,7 +645,7 @@ protected:
   Point<dim>
   transform_real_to_unit_cell_internal(
     const typename Triangulation<dim, spacedim>::cell_iterator &cell,
-    const Point<spacedim> &                                     p,
+    const Point<spacedim>                                      &p,
     const Point<dim> &initial_p_unit) const;
 
   /**
@@ -664,7 +664,7 @@ protected:
   virtual void
   add_line_support_points(
     const typename Triangulation<dim, spacedim>::cell_iterator &cell,
-    std::vector<Point<spacedim>> &                              a) const;
+    std::vector<Point<spacedim>>                               &a) const;
 
   /**
    * Append the support points of all shape functions located on bounding
@@ -683,7 +683,7 @@ protected:
   virtual void
   add_quad_support_points(
     const typename Triangulation<dim, spacedim>::cell_iterator &cell,
-    std::vector<Point<spacedim>> &                              a) const;
+    std::vector<Point<spacedim>>                               &a) const;
 
   // Make MappingQCache a friend since it needs to call the
   // compute_mapping_support_points() function.
index a47e0066fb7ad76df6660d432ff06356e027e4a9..7b5856daaad22b71d8de51c8a6c3ff8039a90248 100644 (file)
@@ -110,7 +110,7 @@ public:
    * to the location of cells of the underlying triangulation.
    */
   MappingQ1Eulerian(const DoFHandler<dim, spacedim> &euler_dof_handler,
-                    const VectorType &               euler_vector);
+                    const VectorType                &euler_vector);
 
   /**
    * Return the mapped vertices of the cell. For the current class, this
@@ -158,8 +158,8 @@ protected:
   fill_fe_values(
     const typename Triangulation<dim, spacedim>::cell_iterator &cell,
     const CellSimilarity::Similarity                            cell_similarity,
-    const Quadrature<dim> &                                     quadrature,
-    const typename Mapping<dim, spacedim>::InternalDataBase &   internal_data,
+    const Quadrature<dim>                                      &quadrature,
+    const typename Mapping<dim, spacedim>::InternalDataBase    &internal_data,
     internal::FEValuesImplementation::MappingRelatedData<dim, spacedim>
       &output_data) const override;
 
index 9bbf900832d01a9f2f985693b61202c0c2ecb104..cc997b3c5421732563e5c9416008b1387ed5455b 100644 (file)
@@ -92,7 +92,7 @@ public:
    * Triangulation::Signals::any_change of the underlying triangulation.
    */
   void
-  initialize(const Mapping<dim, spacedim> &      mapping,
+  initialize(const Mapping<dim, spacedim>       &mapping,
              const Triangulation<dim, spacedim> &triangulation);
 
   /**
@@ -140,20 +140,20 @@ public:
    * Triangulation::Signals::any_change of the underlying triangulation.
    */
   void
-  initialize(const Mapping<dim, spacedim> &      mapping,
+  initialize(const Mapping<dim, spacedim>       &mapping,
              const Triangulation<dim, spacedim> &tria,
              const std::function<Point<spacedim>(
                const typename Triangulation<dim, spacedim>::cell_iterator &,
-               const Point<spacedim> &)> &       transformation_function,
+               const Point<spacedim> &)>        &transformation_function,
              const bool function_describes_relative_displacement);
 
   /**
    * The same as above but taking a dealii::Function object.
    */
   void
-  initialize(const Mapping<dim, spacedim> &      mapping,
+  initialize(const Mapping<dim, spacedim>       &mapping,
              const Triangulation<dim, spacedim> &tria,
-             const Function<spacedim> &          transformation_function,
+             const Function<spacedim>           &transformation_function,
              const bool function_describes_relative_displacement);
 
   /**
@@ -169,9 +169,9 @@ public:
    */
   template <typename VectorType>
   void
-  initialize(const Mapping<dim, spacedim> &   mapping,
+  initialize(const Mapping<dim, spacedim>    &mapping,
              const DoFHandler<dim, spacedim> &dof_handler,
-             const VectorType &               vector,
+             const VectorType                &vector,
              const bool vector_describes_relative_displacement);
 
   /**
@@ -187,7 +187,7 @@ public:
    */
   template <typename VectorType>
   void
-  initialize(const Mapping<dim, spacedim> &   mapping,
+  initialize(const Mapping<dim, spacedim>    &mapping,
              const DoFHandler<dim, spacedim> &dof_handler,
              const MGLevelObject<VectorType> &vectors,
              const bool vector_describes_relative_displacement);
index 7cb8b6ca791ea00c10e6777ed7a50f9a34927283..ab8e3995361ad93906d8767973531c7233606052 100644 (file)
@@ -113,7 +113,7 @@ public:
    */
   MappingQEulerian(const unsigned int               degree,
                    const DoFHandler<dim, spacedim> &euler_dof_handler,
-                   const VectorType &               euler_vector,
+                   const VectorType                &euler_vector,
                    const unsigned int level = numbers::invalid_unsigned_int);
 
   /**
@@ -167,8 +167,8 @@ protected:
   fill_fe_values(
     const typename Triangulation<dim, spacedim>::cell_iterator &cell,
     const CellSimilarity::Similarity                            cell_similarity,
-    const Quadrature<dim> &                                     quadrature,
-    const typename Mapping<dim, spacedim>::InternalDataBase &   internal_data,
+    const Quadrature<dim>                                      &quadrature,
+    const typename Mapping<dim, spacedim>::InternalDataBase    &internal_data,
     internal::FEValuesImplementation::MappingRelatedData<dim, spacedim>
       &output_data) const override;
 
index 61ad786eedf799f04e6e5ef3099b63447c2952ea..edb6e123091d1a0a932253a101331470e97b5917 100644 (file)
@@ -64,7 +64,7 @@ namespace internal
     inline Point<1>
     transform_real_to_unit_cell(
       const std::array<Point<spacedim>, GeometryInfo<1>::vertices_per_cell>
-        &                    vertices,
+                            &vertices,
       const Point<spacedim> &p)
     {
       Assert(spacedim == 1, ExcInternalError());
@@ -78,7 +78,7 @@ namespace internal
     inline Point<2>
     transform_real_to_unit_cell(
       const std::array<Point<spacedim>, GeometryInfo<2>::vertices_per_cell>
-        &                    vertices,
+                            &vertices,
       const Point<spacedim> &p)
     {
       Assert(spacedim == 2, ExcInternalError());
@@ -215,7 +215,7 @@ namespace internal
      */
     template <int dim>
     std::vector<Point<dim>>
-    unit_support_points(const std::vector<Point<1>> &    line_support_points,
+    unit_support_points(const std::vector<Point<1>>     &line_support_points,
                         const std::vector<unsigned int> &renumbering)
     {
       AssertDimension(Utilities::pow(line_support_points.size(), dim),
@@ -318,7 +318,7 @@ namespace internal
         for (unsigned int j = 0; j < M; ++j)
           for (unsigned int k = 0; k < M; ++k)
             {
-              const Point<3> &   p = gl.point((i + 1) * (M + 2) * (M + 2) +
+              const Point<3>    &p = gl.point((i + 1) * (M + 2) * (M + 2) +
                                            (j + 1) * (M + 2) + (k + 1));
               const unsigned int index_table = i * M * M + j * M + k;
 
@@ -476,11 +476,11 @@ namespace internal
     template <int dim, int spacedim, typename Number>
     inline Point<dim, Number>
     do_transform_real_to_unit_cell_internal(
-      const Point<spacedim, Number> &                     p,
-      const Point<dim, Number> &                          initial_p_unit,
-      const std::vector<Point<spacedim>> &                points,
+      const Point<spacedim, Number>                      &p,
+      const Point<dim, Number>                           &initial_p_unit,
+      const std::vector<Point<spacedim>>                 &points,
       const std::vector<Polynomials::Polynomial<double>> &polynomials_1d,
-      const std::vector<unsigned int> &                   renumber,
+      const std::vector<unsigned int>                    &renumber,
       const bool print_iterations_to_deallog = false)
     {
       if (print_iterations_to_deallog)
@@ -733,11 +733,11 @@ namespace internal
     template <int dim>
     inline Point<dim>
     do_transform_real_to_unit_cell_internal_codim1(
-      const Point<dim + 1> &                              p,
-      const Point<dim> &                                  initial_p_unit,
-      const std::vector<Point<dim + 1>> &                 points,
+      const Point<dim + 1>                               &p,
+      const Point<dim>                                   &initial_p_unit,
+      const std::vector<Point<dim + 1>>                  &points,
       const std::vector<Polynomials::Polynomial<double>> &polynomials_1d,
-      const std::vector<unsigned int> &                   renumber)
+      const std::vector<unsigned int>                    &renumber)
     {
       const unsigned int spacedim = dim + 1;
 
@@ -835,7 +835,7 @@ namespace internal
        */
       InverseQuadraticApproximation(
         const std::vector<Point<spacedim>> &real_support_points,
-        const std::vector<Point<dim>> &     unit_support_points)
+        const std::vector<Point<dim>>      &unit_support_points)
         : normalization_shift(real_support_points[0])
         , normalization_length(
             1. / real_support_points[0].distance(real_support_points[1]))
@@ -1057,7 +1057,7 @@ namespace internal
     maybe_update_q_points_Jacobians_and_grads_tensor(
       const CellSimilarity::Similarity cell_similarity,
       const typename dealii::MappingQ<dim, spacedim>::InternalData &data,
-      std::vector<Point<spacedim>> &                 quadrature_points,
+      std::vector<Point<spacedim>>                  &quadrature_points,
       std::vector<DerivativeForm<1, dim, spacedim>> &jacobians,
       std::vector<DerivativeForm<1, spacedim, dim>> &inverse_jacobians,
       std::vector<DerivativeForm<2, dim, spacedim>> &jacobian_grads)
@@ -1245,7 +1245,7 @@ namespace internal
       const unsigned int n_points,
       const unsigned int cur_index,
       const DerivativeForm<1, dim, spacedim, VectorizedArray<double>>
-        &                                            derivative,
+                                                    &derivative,
       std::vector<DerivativeForm<1, dim, spacedim>> &result_array)
     {
       AssertDimension(result_array.size(), n_points);
@@ -1256,7 +1256,7 @@ namespace internal
           for (unsigned int j = 0; j < n_lanes; ++j)
             indices[j] = j * dim * spacedim;
           const unsigned int even       = (dim * spacedim) / 4 * 4;
-          double *           result_ptr = &result_array[cur_index][0][0];
+          double            *result_ptr = &result_array[cur_index][0][0];
           const VectorizedArray<double> *derivative_ptr = &derivative[0][0];
           vectorized_transpose_and_store(
             false, even, derivative_ptr, indices.data(), result_ptr);
@@ -1278,10 +1278,10 @@ namespace internal
     maybe_update_q_points_Jacobians_generic(
       const CellSimilarity::Similarity cell_similarity,
       const typename dealii::MappingQ<dim, spacedim>::InternalData &data,
-      const ArrayView<const Point<dim>> &                           unit_points,
+      const ArrayView<const Point<dim>>                            &unit_points,
       const std::vector<Polynomials::Polynomial<double>> &polynomials_1d,
       const std::vector<unsigned int> &renumber_lexicographic_to_hierarchic,
-      std::vector<Point<spacedim>> &   quadrature_points,
+      std::vector<Point<spacedim>>    &quadrature_points,
       std::vector<DerivativeForm<1, dim, spacedim>> &jacobians,
       std::vector<DerivativeForm<1, spacedim, dim>> &inverse_jacobians)
     {
@@ -1436,7 +1436,7 @@ namespace internal
     maybe_update_jacobian_grads(
       const CellSimilarity::Similarity cell_similarity,
       const typename dealii::MappingQ<dim, spacedim>::InternalData &data,
-      const ArrayView<const Point<dim>> &                           unit_points,
+      const ArrayView<const Point<dim>>                            &unit_points,
       const std::vector<Polynomials::Polynomial<double>> &polynomials_1d,
       const std::vector<unsigned int> &renumber_lexicographic_to_hierarchic,
       std::vector<DerivativeForm<2, dim, spacedim>> &jacobian_grads)
@@ -1478,9 +1478,9 @@ namespace internal
     maybe_update_jacobian_pushed_forward_grads(
       const CellSimilarity::Similarity cell_similarity,
       const typename dealii::MappingQ<dim, spacedim>::InternalData &data,
-      const ArrayView<const Point<dim>> &                           unit_points,
+      const ArrayView<const Point<dim>>                            &unit_points,
       const std::vector<Polynomials::Polynomial<double>> &polynomials_1d,
-      const std::vector<unsigned int> renumber_lexicographic_to_hierarchic,
+      const std::vector<unsigned int>  &renumber_lexicographic_to_hierarchic,
       std::vector<Tensor<3, spacedim>> &jacobian_pushed_forward_grads)
     {
       if (data.update_each & update_jacobian_pushed_forward_grads)
@@ -1593,7 +1593,7 @@ namespace internal
     maybe_update_jacobian_2nd_derivatives(
       const CellSimilarity::Similarity cell_similarity,
       const typename dealii::MappingQ<dim, spacedim>::InternalData &data,
-      const ArrayView<const Point<dim>> &                           unit_points,
+      const ArrayView<const Point<dim>>                            &unit_points,
       const std::vector<Polynomials::Polynomial<double>> &polynomials_1d,
       const std::vector<unsigned int> &renumber_lexicographic_to_hierarchic,
       std::vector<DerivativeForm<3, dim, spacedim>> &jacobian_2nd_derivatives)
@@ -1633,9 +1633,9 @@ namespace internal
     maybe_update_jacobian_pushed_forward_2nd_derivatives(
       const CellSimilarity::Similarity cell_similarity,
       const typename dealii::MappingQ<dim, spacedim>::InternalData &data,
-      const ArrayView<const Point<dim>> &                           unit_points,
+      const ArrayView<const Point<dim>>                            &unit_points,
       const std::vector<Polynomials::Polynomial<double>> &polynomials_1d,
-      const std::vector<unsigned int> renumber_lexicographic_to_hierarchic,
+      const std::vector<unsigned int>  &renumber_lexicographic_to_hierarchic,
       std::vector<Tensor<4, spacedim>> &jacobian_pushed_forward_2nd_derivatives)
     {
       if (data.update_each & update_jacobian_pushed_forward_2nd_derivatives)
@@ -1780,7 +1780,7 @@ namespace internal
     maybe_update_jacobian_3rd_derivatives(
       const CellSimilarity::Similarity cell_similarity,
       const typename dealii::MappingQ<dim, spacedim>::InternalData &data,
-      const ArrayView<const Point<dim>> &                           unit_points,
+      const ArrayView<const Point<dim>>                            &unit_points,
       const std::vector<Polynomials::Polynomial<double>> &polynomials_1d,
       const std::vector<unsigned int> &renumber_lexicographic_to_hierarchic,
       std::vector<DerivativeForm<4, dim, spacedim>> &jacobian_3rd_derivatives)
@@ -1820,9 +1820,9 @@ namespace internal
     maybe_update_jacobian_pushed_forward_3rd_derivatives(
       const CellSimilarity::Similarity cell_similarity,
       const typename dealii::MappingQ<dim, spacedim>::InternalData &data,
-      const ArrayView<const Point<dim>> &                           unit_points,
+      const ArrayView<const Point<dim>>                            &unit_points,
       const std::vector<Polynomials::Polynomial<double>> &polynomials_1d,
-      const std::vector<unsigned int> renumber_lexicographic_to_hierarchic,
+      const std::vector<unsigned int>  &renumber_lexicographic_to_hierarchic,
       std::vector<Tensor<5, spacedim>> &jacobian_pushed_forward_3rd_derivatives)
     {
       if (data.update_each & update_jacobian_pushed_forward_3rd_derivatives)
@@ -1934,7 +1934,7 @@ namespace internal
       const unsigned int                                            face_no,
       const unsigned int                                            subface_no,
       const unsigned int                                            n_q_points,
-      const std::vector<double> &                                   weights,
+      const std::vector<double>                                    &weights,
       const typename dealii::MappingQ<dim, spacedim>::InternalData &data,
       internal::FEValuesImplementation::MappingRelatedData<dim, spacedim>
         &output_data)
@@ -2086,7 +2086,7 @@ namespace internal
       const unsigned int                                            face_no,
       const unsigned int                                            subface_no,
       const typename QProjector<dim>::DataSetDescriptor             data_set,
-      const Quadrature<dim - 1> &                                   quadrature,
+      const Quadrature<dim - 1>                                    &quadrature,
       const typename dealii::MappingQ<dim, spacedim>::InternalData &data,
       const std::vector<Polynomials::Polynomial<double>> &polynomials_1d,
       const std::vector<unsigned int> &renumber_lexicographic_to_hierarchic,
@@ -2179,10 +2179,10 @@ namespace internal
     template <int dim, int spacedim, int rank>
     inline void
     transform_fields(
-      const ArrayView<const Tensor<rank, dim>> &               input,
+      const ArrayView<const Tensor<rank, dim>>                &input,
       const MappingKind                                        mapping_kind,
       const typename Mapping<dim, spacedim>::InternalDataBase &mapping_data,
-      const ArrayView<Tensor<rank, spacedim>> &                output)
+      const ArrayView<Tensor<rank, spacedim>>                 &output)
     {
       AssertDimension(input.size(), output.size());
       Assert((dynamic_cast<
@@ -2259,10 +2259,10 @@ namespace internal
     template <int dim, int spacedim, int rank>
     inline void
     transform_gradients(
-      const ArrayView<const Tensor<rank, dim>> &               input,
+      const ArrayView<const Tensor<rank, dim>>                &input,
       const MappingKind                                        mapping_kind,
       const typename Mapping<dim, spacedim>::InternalDataBase &mapping_data,
-      const ArrayView<Tensor<rank, spacedim>> &                output)
+      const ArrayView<Tensor<rank, spacedim>>                 &output)
     {
       AssertDimension(input.size(), output.size());
       Assert((dynamic_cast<
@@ -2361,10 +2361,10 @@ namespace internal
     template <int dim, int spacedim>
     inline void
     transform_hessians(
-      const ArrayView<const Tensor<3, dim>> &                  input,
+      const ArrayView<const Tensor<3, dim>>                   &input,
       const MappingKind                                        mapping_kind,
       const typename Mapping<dim, spacedim>::InternalDataBase &mapping_data,
-      const ArrayView<Tensor<3, spacedim>> &                   output)
+      const ArrayView<Tensor<3, spacedim>>                    &output)
     {
       AssertDimension(input.size(), output.size());
       Assert((dynamic_cast<
@@ -2540,8 +2540,8 @@ namespace internal
     transform_differential_forms(
       const ArrayView<const DerivativeForm<rank, dim, spacedim>> &input,
       const MappingKind                                           mapping_kind,
-      const typename Mapping<dim, spacedim>::InternalDataBase &   mapping_data,
-      const ArrayView<Tensor<rank + 1, spacedim>> &               output)
+      const typename Mapping<dim, spacedim>::InternalDataBase    &mapping_data,
+      const ArrayView<Tensor<rank + 1, spacedim>>                &output)
     {
       AssertDimension(input.size(), output.size());
       Assert((dynamic_cast<
index 26e81d34993ff7a586988583d3e1cc97b0bf5b32..f5d00f0ccf1df8fb68a921f6b23eeb1f987582f0 100644 (file)
@@ -88,7 +88,7 @@ namespace Gmsh
   template <int spacedim>
   void
   create_triangulation_from_boundary_curve(
-    const TopoDS_Edge &         boundary,
+    const TopoDS_Edge          &boundary,
     Triangulation<2, spacedim> &tria,
     const AdditionalParameters &prm = AdditionalParameters());
 #  endif
index e3f4254bb1c298f4b6bbced385503830b71a6f36..deb583fd6fba545636977a19bcb1b9167b886822 100644 (file)
@@ -106,7 +106,7 @@ public:
    */
   CellId(const types::coarse_cell_id coarse_cell_id,
          const unsigned int          n_child_indices,
-         const std::uint8_t *        child_indices);
+         const std::uint8_t         *child_indices);
 
   /**
    * Construct a CellId object with a given binary representation that was
index 4309edd10d23b4cc73c6700b75c4ef670ba6867d..7b33714bf09c0d79f1cb111a207ca076d5c9801d 100644 (file)
@@ -82,7 +82,7 @@ namespace internal
      */
     template <typename Accessor>
     types::global_cell_index
-    translate(const TriaIterator<Accessor> cell,
+    translate(const TriaIterator<Accessor>  &cell,
               const types::global_cell_index i) const;
 
     /**
@@ -205,7 +205,7 @@ namespace internal
   template <int dim>
   template <typename Accessor>
   types::global_cell_index
-  CellIDTranslator<dim>::translate(const TriaIterator<Accessor> cell,
+  CellIDTranslator<dim>::translate(const TriaIterator<Accessor>  &cell,
                                    const types::global_cell_index i) const
   {
     static_assert(dim == Accessor::dimension &&
index 93ebd597cb109a9cbacd390a274a6c944fc19d49..2bdfff98a0b72e2f2a4673526d90cc0c44633b1d 100644 (file)
@@ -1000,23 +1000,23 @@ namespace internal
     build_face_entities_templated(
       const unsigned int                                face_dimensionality,
       const std::vector<std::shared_ptr<CellTypeBase>> &cell_types,
-      const std::vector<ReferenceCell> &                cell_types_index,
-      const CRS<unsigned int> &                         crs,
-      CRS<unsigned int> &                               crs_d,        // result
-      CRS<unsigned int> &                               crs_0,        // result
-      TriaObjectsOrientations &                         orientations, // result
-      const FU &                                        second_key_function)
+      const std::vector<ReferenceCell>                 &cell_types_index,
+      const CRS<unsigned int>                          &crs,
+      CRS<unsigned int>                                &crs_d,        // result
+      CRS<unsigned int>                                &crs_0,        // result
+      TriaObjectsOrientations                          &orientations, // result
+      const FU                                         &second_key_function)
     {
       const bool compatibility_mode = true;
 
-      const std::vector<std::size_t> cell_ptr      = crs.ptr;
+      const std::vector<std::size_t>  &cell_ptr      = crs.ptr;
       const std::vector<unsigned int> &cell_vertices = crs.col;
-      std::vector<std::size_t> &       ptr_d         = crs_d.ptr;
-      std::vector<unsigned int> &      col_d         = crs_d.col;
+      std::vector<std::size_t>        &ptr_d         = crs_d.ptr;
+      std::vector<unsigned int>       &col_d         = crs_d.col;
 
       // note: we do not pre-allocate memory for these arrays because it turned
       // out that counting unique entities is more expensive than push_back().
-      std::vector<std::size_t> ptr_0 = crs_0.ptr;
+      std::vector<std::size_t>  &ptr_0 = crs_0.ptr;
       std::vector<unsigned int> &col_0 = crs_0.col;
 
       // clear
@@ -1191,12 +1191,12 @@ namespace internal
     build_face_entities(
       const unsigned int                                face_dimensionality,
       const std::vector<std::shared_ptr<CellTypeBase>> &cell_types,
-      const std::vector<ReferenceCell> &                cell_types_index,
-      const CRS<unsigned int> &                         crs,
-      CRS<unsigned int> &                               crs_d,
-      CRS<unsigned int> &                               crs_0,
-      TriaObjectsOrientations &                         orientations,
-      const FU &                                        second_key_function)
+      const std::vector<ReferenceCell>                 &cell_types_index,
+      const CRS<unsigned int>                          &crs,
+      CRS<unsigned int>                                &crs_d,
+      CRS<unsigned int>                                &crs_0,
+      TriaObjectsOrientations                          &orientations,
+      const FU                                         &second_key_function)
     {
       std::size_t max_n_vertices = 0;
 
@@ -1255,16 +1255,16 @@ namespace internal
     inline void
     build_intersection(
       const std::vector<std::shared_ptr<CellTypeBase>> &cell_types,
-      const std::vector<ReferenceCell> &                cell_types_index,
-      const CRS<unsigned int> &                         con_cv,
-      const CRS<unsigned int> &                         con_cl,
-      const CRS<unsigned int> &                         con_lv,
-      const CRS<unsigned int> &                         con_cq,
-      const CRS<unsigned int> &                         con_qv,
-      const TriaObjectsOrientations &                   ori_cq,
-      CRS<unsigned int> &                               con_ql,   // result
-      TriaObjectsOrientations &                         ori_ql,   // result
-      std::vector<ReferenceCell> &                      quad_t_id // result
+      const std::vector<ReferenceCell>                 &cell_types_index,
+      const CRS<unsigned int>                          &con_cv,
+      const CRS<unsigned int>                          &con_cl,
+      const CRS<unsigned int>                          &con_lv,
+      const CRS<unsigned int>                          &con_cq,
+      const CRS<unsigned int>                          &con_qv,
+      const TriaObjectsOrientations                    &ori_cq,
+      CRS<unsigned int>                                &con_ql,   // result
+      TriaObjectsOrientations                          &ori_ql,   // result
+      std::vector<ReferenceCell>                       &quad_t_id // result
     )
     {
       // reset output
@@ -1374,7 +1374,7 @@ namespace internal
     build_connectivity(const unsigned int                                dim,
                        const std::vector<std::shared_ptr<CellTypeBase>> &cell_t,
                        const std::vector<ReferenceCell> &cell_t_id,
-                       const CRS<T> &                    con_cv)
+                       const CRS<T>                     &con_cv)
     {
       Connectivity<T> connectivity(dim, cell_t_id);
 
index aa2884341747772b89324b701efc157fed6fbe85..84e5a6219cd959a852850b73b3238d6fe4745162 100644 (file)
@@ -903,7 +903,7 @@ private:
 template <typename BaseIterator, typename Predicate>
 DEAL_II_CXX20_REQUIRES((std::predicate<Predicate, BaseIterator>))
 FilteredIterator<BaseIterator> make_filtered_iterator(const BaseIterator &i,
-                                                      const Predicate &   p)
+                                                      const Predicate    &p)
 {
   FilteredIterator<BaseIterator> fi(p);
   fi.set_to_next_positive(i);
@@ -997,7 +997,7 @@ template <typename BaseIterator, typename Predicate>
 DEAL_II_CXX20_REQUIRES((std::predicate<Predicate, BaseIterator>))
 inline IteratorRange<FilteredIterator<BaseIterator>> filter_iterators(
   IteratorRange<BaseIterator> i,
-  const Predicate &           p)
+  const Predicate            &p)
 {
   FilteredIterator<BaseIterator> fi(p, *(i.begin()));
   FilteredIterator<BaseIterator> fi_end(p, *(i.end()));
@@ -1070,7 +1070,7 @@ IteratorRange<
   typename internal::FilteredIteratorImplementation::
     NestFilteredIterators<BaseIterator, std::tuple<Predicate, Targs...>>::
       type> filter_iterators(IteratorRange<BaseIterator> i,
-                             const Predicate &           p,
+                             const Predicate            &p,
                              const Targs... args)
 {
   // Recursively create filtered iterators, one predicate at a time
@@ -1198,8 +1198,8 @@ FilteredIterator<BaseIterator>::operator=(const FilteredIterator &fi)
   // BaseIterator but try to go through constructing a new Accessor from fi
   // which fails. Hence, we just use an explicit upcast and call the above-
   // mentioned method.
-  const BaseIterator &bi      = fi;
-  return              operator=(bi);
+  const BaseIterator &bi = fi;
+  return operator=(bi);
 }
 
 
index fcb88142b6a687ce2888e43741ea66024756bad7..3410d964d3279c424d3d904fb7b83d83b0ba6256 100644 (file)
@@ -132,7 +132,7 @@ namespace GridGenerator
    */
   template <int dim>
   void
-  simplex(Triangulation<dim, dim> &      tria,
+  simplex(Triangulation<dim, dim>       &tria,
           const std::vector<Point<dim>> &vertices);
 
   /**
@@ -143,7 +143,7 @@ namespace GridGenerator
   template <int dim, int spacedim>
   void
   reference_cell(Triangulation<dim, spacedim> &tria,
-                 const ReferenceCell &         reference_cell);
+                 const ReferenceCell          &reference_cell);
 
 
   /**
@@ -218,8 +218,8 @@ namespace GridGenerator
   template <int dim, int spacedim>
   void
   hyper_rectangle(Triangulation<dim, spacedim> &tria,
-                  const Point<dim> &            p1,
-                  const Point<dim> &            p2,
+                  const Point<dim>             &p1,
+                  const Point<dim>             &p2,
                   const bool                    colorize = false);
 
   /**
@@ -273,10 +273,10 @@ namespace GridGenerator
    */
   template <int dim, int spacedim>
   void
-  subdivided_hyper_rectangle(Triangulation<dim, spacedim> &   tria,
+  subdivided_hyper_rectangle(Triangulation<dim, spacedim>    &tria,
                              const std::vector<unsigned int> &repetitions,
-                             const Point<dim> &               p1,
-                             const Point<dim> &               p2,
+                             const Point<dim>                &p1,
+                             const Point<dim>                &p2,
                              const bool                       colorize = false);
 
   /**
@@ -296,10 +296,10 @@ namespace GridGenerator
    */
   template <int dim>
   void
-  subdivided_hyper_rectangle(Triangulation<dim> &                    tria,
+  subdivided_hyper_rectangle(Triangulation<dim>                     &tria,
                              const std::vector<std::vector<double>> &step_sizes,
-                             const Point<dim> &                      p_1,
-                             const Point<dim> &                      p_2,
+                             const Point<dim>                       &p_1,
+                             const Point<dim>                       &p_2,
                              const bool colorize = false);
 
   /**
@@ -314,9 +314,9 @@ namespace GridGenerator
    */
   template <int dim>
   void
-  subdivided_hyper_rectangle(Triangulation<dim> &                    tria,
+  subdivided_hyper_rectangle(Triangulation<dim>                     &tria,
                              const std::vector<std::vector<double>> &spacing,
-                             const Point<dim> &                      p,
+                             const Point<dim>                       &p,
                              const Table<dim, types::material_id> &material_id,
                              const bool colorize = false);
 
@@ -346,7 +346,7 @@ namespace GridGenerator
    */
   template <int dim, int spacedim>
   void
-  cheese(Triangulation<dim, spacedim> &   tria,
+  cheese(Triangulation<dim, spacedim>    &tria,
          const std::vector<unsigned int> &holes);
 
   /**
@@ -394,14 +394,14 @@ namespace GridGenerator
    */
   template <int dim>
   void
-  plate_with_a_hole(Triangulation<dim> &     tria,
+  plate_with_a_hole(Triangulation<dim>      &tria,
                     const double             inner_radius      = 0.4,
                     const double             outer_radius      = 1.,
                     const double             pad_bottom        = 2.,
                     const double             pad_top           = 2.,
                     const double             pad_left          = 1.,
                     const double             pad_right         = 1.,
-                    const Point<dim> &       center            = Point<dim>(),
+                    const Point<dim>        &center            = Point<dim>(),
                     const types::manifold_id polar_manifold_id = 0,
                     const types::manifold_id tfi_manifold_id   = 1,
                     const double             L                 = 1.,
@@ -526,7 +526,7 @@ namespace GridGenerator
    */
   template <int dim, int spacedim>
   void
-  general_cell(Triangulation<dim, spacedim> &      tria,
+  general_cell(Triangulation<dim, spacedim>       &tria,
                const std::vector<Point<spacedim>> &vertices,
                const bool                          colorize = false);
 
@@ -635,8 +635,8 @@ namespace GridGenerator
    */
   template <int dim, int spacedim>
   void
-  subdivided_parallelepiped(Triangulation<dim, spacedim> &              tria,
-                            const Point<spacedim> &                     origin,
+  subdivided_parallelepiped(Triangulation<dim, spacedim>               &tria,
+                            const Point<spacedim>                      &origin,
                             const std::array<Tensor<1, spacedim>, dim> &edges,
                             const std::vector<unsigned int> &subdivisions = {},
                             const bool                       colorize = false);
@@ -744,7 +744,7 @@ namespace GridGenerator
   template <int dim>
   void
   hyper_ball(Triangulation<dim> &tria,
-             const Point<dim> &  center = Point<dim>(),
+             const Point<dim>   &center = Point<dim>(),
              const double        radius = 1.,
              const bool attach_spherical_manifold_on_boundary_cells = false);
 
@@ -783,7 +783,7 @@ namespace GridGenerator
   template <int dim>
   void
   hyper_ball_balanced(Triangulation<dim> &tria,
-                      const Point<dim> &  center = Point<dim>(),
+                      const Point<dim>   &center = Point<dim>(),
                       const double        radius = 1.);
 
   /**
@@ -805,7 +805,7 @@ namespace GridGenerator
    * $\pi/2$.
    */
   void
-  non_standard_orientation_mesh(Triangulation<2> tria,
+  non_standard_orientation_mesh(Triangulation<2>  &tria,
                                 const unsigned int n_rotate_middle_square);
 
   /**
@@ -904,7 +904,7 @@ namespace GridGenerator
   template <int dim>
   void
   quarter_hyper_ball(Triangulation<dim> &tria,
-                     const Point<dim> &  center = Point<dim>(),
+                     const Point<dim>   &center = Point<dim>(),
                      const double        radius = 1.);
 
   /**
@@ -922,7 +922,7 @@ namespace GridGenerator
   template <int dim>
   void
   half_hyper_ball(Triangulation<dim> &tria,
-                  const Point<dim> &  center = Point<dim>(),
+                  const Point<dim>   &center = Point<dim>(),
                   const double        radius = 1.);
 
   /**
@@ -1158,7 +1158,7 @@ namespace GridGenerator
    */
   template <int dim, int spacedim>
   void
-  pipe_junction(Triangulation<dim, spacedim> &                         tria,
+  pipe_junction(Triangulation<dim, spacedim>                          &tria,
                 const std::vector<std::pair<Point<spacedim>, double>> &openings,
                 const std::pair<Point<spacedim>, double> &bifurcation,
                 const double                              aspect_ratio = 0.5);
@@ -1191,7 +1191,7 @@ namespace GridGenerator
    */
   template <int dim, int spacedim>
   void
-  hyper_cross(Triangulation<dim, spacedim> &   tria,
+  hyper_cross(Triangulation<dim, spacedim>    &tria,
               const std::vector<unsigned int> &sizes,
               const bool                       colorize_cells = false);
 
@@ -1270,11 +1270,11 @@ namespace GridGenerator
    */
   template <int dim, int spacedim>
   void
-  subdivided_hyper_L(Triangulation<dim, spacedim> &   tria,
+  subdivided_hyper_L(Triangulation<dim, spacedim>    &tria,
                      const std::vector<unsigned int> &repetitions,
-                     const Point<dim> &               bottom_left,
-                     const Point<dim> &               top_right,
-                     const std::vector<int> &         n_cells_to_remove);
+                     const Point<dim>                &bottom_left,
+                     const Point<dim>                &top_right,
+                     const std::vector<int>          &n_cells_to_remove);
 
   /**
    * Initialize the given Triangulation with a hypercube with a slit. In each
@@ -1362,7 +1362,7 @@ namespace GridGenerator
   template <int dim>
   void
   hyper_shell(Triangulation<dim> &tria,
-              const Point<dim> &  center,
+              const Point<dim>   &center,
               const double        inner_radius,
               const double        outer_radius,
               const unsigned int  n_cells  = 0,
@@ -1404,8 +1404,8 @@ namespace GridGenerator
   template <int dim>
   void
   eccentric_hyper_shell(Triangulation<dim> &triangulation,
-                        const Point<dim> &  inner_center,
-                        const Point<dim> &  outer_center,
+                        const Point<dim>   &inner_center,
+                        const Point<dim>   &outer_center,
                         const double        inner_radius,
                         const double        outer_radius,
                         const unsigned int  n_cells);
@@ -1442,7 +1442,7 @@ namespace GridGenerator
   template <int dim>
   void
   half_hyper_shell(Triangulation<dim> &tria,
-                   const Point<dim> &  center,
+                   const Point<dim>   &center,
                    const double        inner_radius,
                    const double        outer_radius,
                    const unsigned int  n_cells  = 0,
@@ -1477,7 +1477,7 @@ namespace GridGenerator
   template <int dim>
   void
   quarter_hyper_shell(Triangulation<dim> &tria,
-                      const Point<dim> &  center,
+                      const Point<dim>   &center,
                       const double        inner_radius,
                       const double        outer_radius,
                       const unsigned int  n_cells  = 0,
@@ -1686,7 +1686,7 @@ namespace GridGenerator
   template <int dim>
   void
   concentric_hyper_shells(Triangulation<dim> &triangulation,
-                          const Point<dim> &  center,
+                          const Point<dim>   &center,
                           const double        inner_radius      = 0.125,
                           const double        outer_radius      = 0.25,
                           const unsigned int  n_shells          = 1,
@@ -1753,8 +1753,8 @@ namespace GridGenerator
   void
   generate_from_name_and_arguments(
     Triangulation<dim, spacedim> &tria,
-    const std::string &           grid_generator_function_name,
-    const std::string &           grid_generator_function_arguments);
+    const std::string            &grid_generator_function_name,
+    const std::string            &grid_generator_function_arguments);
 
   /**
    * Generate a Triangulation from the zero level set of an implicit function,
@@ -1808,12 +1808,12 @@ namespace GridGenerator
    */
   template <int dim>
   void
-  implicit_function(Triangulation<dim, 3> &                  tria,
-                    const Function<3> &                      implicit_function,
+  implicit_function(Triangulation<dim, 3>                   &tria,
+                    const Function<3>                       &implicit_function,
                     const CGALWrappers::AdditionalData<dim> &data =
                       CGALWrappers::AdditionalData<dim>{},
                     const Point<3> &interior_point    = Point<3>(),
-                    const double &  outer_ball_radius = 1.0);
+                    const double   &outer_ball_radius = 1.0);
 
   /**
    * Create a deal.II Triangulation<3> out of a deal.II Triangulation<2,3>
@@ -1831,7 +1831,7 @@ namespace GridGenerator
    */
   void
   surface_mesh_to_volumetric_mesh(const Triangulation<2, 3> &surface_tria,
-                                  Triangulation<3> &         vol_tria,
+                                  Triangulation<3>          &vol_tria,
                                   const CGALWrappers::AdditionalData<3> &data =
                                     CGALWrappers::AdditionalData<3>{});
   /** @} */
@@ -1906,7 +1906,7 @@ namespace GridGenerator
   void
   merge_triangulations(const Triangulation<dim, spacedim> &triangulation_1,
                        const Triangulation<dim, spacedim> &triangulation_2,
-                       Triangulation<dim, spacedim> &      result,
+                       Triangulation<dim, spacedim>       &result,
                        const double duplicated_vertex_tolerance = 1.0e-12,
                        const bool   copy_manifold_ids           = false,
                        const bool   copy_boundary_ids           = false);
@@ -1930,7 +1930,7 @@ namespace GridGenerator
   void
   merge_triangulations(
     const std::vector<const Triangulation<dim, spacedim> *> &triangulations,
-    Triangulation<dim, spacedim> &                           result,
+    Triangulation<dim, spacedim>                            &result,
     const double duplicated_vertex_tolerance = 1.0e-12,
     const bool   copy_manifold_ids           = false,
     const bool   copy_boundary_ids           = false);
@@ -1985,8 +1985,8 @@ namespace GridGenerator
   template <int dim, int spacedim = dim>
   void
   replicate_triangulation(const Triangulation<dim, spacedim> &input,
-                          const std::vector<unsigned int> &   extents,
-                          Triangulation<dim, spacedim> &      result);
+                          const std::vector<unsigned int>    &extents,
+                          Triangulation<dim, spacedim>       &result);
 
   /**
    * Given the two triangulations specified as the first two arguments, create
@@ -2030,7 +2030,7 @@ namespace GridGenerator
   create_union_triangulation(
     const Triangulation<dim, spacedim> &triangulation_1,
     const Triangulation<dim, spacedim> &triangulation_2,
-    Triangulation<dim, spacedim> &      result);
+    Triangulation<dim, spacedim>       &result);
 
   /**
    * This function creates a triangulation that consists of the same cells as
@@ -2073,7 +2073,7 @@ namespace GridGenerator
   create_triangulation_with_removed_cells(
     const Triangulation<dim, spacedim> &input_triangulation,
     const std::set<typename Triangulation<dim, spacedim>::active_cell_iterator>
-      &                           cells_to_remove,
+                                 &cells_to_remove,
     Triangulation<dim, spacedim> &result);
 
   /**
@@ -2145,10 +2145,10 @@ namespace GridGenerator
    */
   void
   extrude_triangulation(
-    const Triangulation<2, 2> &            input,
+    const Triangulation<2, 2>             &input,
     const unsigned int                     n_slices,
     const double                           height,
-    Triangulation<3, 3> &                  result,
+    Triangulation<3, 3>                   &result,
     const bool                             copy_manifold_ids   = false,
     const std::vector<types::manifold_id> &manifold_priorities = {});
 
@@ -2160,10 +2160,10 @@ namespace GridGenerator
    */
   void
   extrude_triangulation(
-    const Triangulation<2, 2> &            input,
+    const Triangulation<2, 2>             &input,
     const unsigned int                     n_slices,
     const double                           height,
-    Triangulation<2, 2> &                  result,
+    Triangulation<2, 2>                   &result,
     const bool                             copy_manifold_ids   = false,
     const std::vector<types::manifold_id> &manifold_priorities = {});
 
@@ -2188,9 +2188,9 @@ namespace GridGenerator
    */
   void
   extrude_triangulation(
-    const Triangulation<2, 2> &            input,
-    const std::vector<double> &            slice_coordinates,
-    Triangulation<3, 3> &                  result,
+    const Triangulation<2, 2>             &input,
+    const std::vector<double>             &slice_coordinates,
+    Triangulation<3, 3>                   &result,
     const bool                             copy_manifold_ids   = false,
     const std::vector<types::manifold_id> &manifold_priorities = {});
 
@@ -2202,9 +2202,9 @@ namespace GridGenerator
    */
   void
   extrude_triangulation(
-    const Triangulation<2, 2> &            input,
-    const std::vector<double> &            slice_coordinates,
-    Triangulation<2, 2> &                  result,
+    const Triangulation<2, 2>             &input,
+    const std::vector<double>             &slice_coordinates,
+    Triangulation<2, 2>                   &result,
     const bool                             copy_manifold_ids   = false,
     const std::vector<types::manifold_id> &manifold_priorities = {});
 
@@ -2249,7 +2249,7 @@ namespace GridGenerator
   template <int dim, int spacedim1, int spacedim2>
   void
   flatten_triangulation(const Triangulation<dim, spacedim1> &in_tria,
-                        Triangulation<dim, spacedim2> &      out_tria);
+                        Triangulation<dim, spacedim2>       &out_tria);
 
   /**
    * Convert a triangulation consisting only of hypercube cells
@@ -2299,7 +2299,7 @@ namespace GridGenerator
   template <int spacedim>
   void
   convert_hypercube_to_simplex_mesh(const Triangulation<1, spacedim> &in_tria,
-                                    Triangulation<1, spacedim> &      out_tria);
+                                    Triangulation<1, spacedim>       &out_tria);
 #endif
 
   /**
@@ -2465,7 +2465,7 @@ namespace GridGenerator
     void
     create_triangulation(
       Triangulation<dim, dim> &tria,
-      const AdditionalData &   additional_data = AdditionalData());
+      const AdditionalData    &additional_data = AdditionalData());
 
 
 
@@ -2484,7 +2484,7 @@ namespace GridGenerator
     template <int dim>
     void
     create_triangulation(
-      Triangulation<dim, dim> &                            tria,
+      Triangulation<dim, dim>                             &tria,
       std::vector<GridTools::PeriodicFacePair<
         typename Triangulation<dim, dim>::cell_iterator>> &periodic_faces,
       const AdditionalData &additional_data = AdditionalData());
@@ -2508,10 +2508,10 @@ namespace GridGenerator
   template <int dim, int spacedim>
   void
   subdivided_hyper_rectangle_with_simplices(
-    Triangulation<dim, spacedim> &   tria,
+    Triangulation<dim, spacedim>    &tria,
     const std::vector<unsigned int> &repetitions,
-    const Point<dim> &               p1,
-    const Point<dim> &               p2,
+    const Point<dim>                &p1,
+    const Point<dim>                &p2,
     const bool                       colorize = false);
 
   /**
@@ -2674,8 +2674,8 @@ namespace GridGenerator
   typename ExtractBoundaryMesh<MeshType, dim, spacedim>::return_type
 #  endif
 #endif
-    extract_boundary_mesh(const MeshType<dim, spacedim> &     volume_mesh,
-                          MeshType<dim - 1, spacedim> &       surface_mesh,
+    extract_boundary_mesh(const MeshType<dim, spacedim>      &volume_mesh,
+                          MeshType<dim - 1, spacedim>        &surface_mesh,
                           const std::set<types::boundary_id> &boundary_ids =
                             std::set<types::boundary_id>());
 
index 4ac0fa78060b392c05f761e7c7d7c2c666e95907..33cb5cda52c50beb9fb77d7597895794b0505fb6 100644 (file)
@@ -906,9 +906,9 @@ protected:
    * further ado by the user.
    */
   static void
-  debug_output_grid(const std::vector<CellData<dim>> &  cells,
+  debug_output_grid(const std::vector<CellData<dim>>   &cells,
                     const std::vector<Point<spacedim>> &vertices,
-                    std::ostream &                      out);
+                    std::ostream                       &out);
 
 private:
   /**
@@ -936,14 +936,14 @@ private:
    * function execution..
    */
   static void
-  parse_tecplot_header(std::string &              header,
+  parse_tecplot_header(std::string               &header,
                        std::vector<unsigned int> &tecplot2deal,
-                       unsigned int &             n_vars,
-                       unsigned int &             n_vertices,
-                       unsigned int &             n_cells,
+                       unsigned int              &n_vars,
+                       unsigned int              &n_vertices,
+                       unsigned int              &n_cells,
                        std::vector<unsigned int> &IJK,
-                       bool &                     structured,
-                       bool &                     blocked);
+                       bool                      &structured,
+                       bool                      &blocked);
 
   /**
    * Input format used by read() if no format is given.
@@ -958,20 +958,20 @@ private:
 template <>
 void
 GridIn<2>::debug_output_grid(const std::vector<CellData<2>> &cells,
-                             const std::vector<Point<2>> &   vertices,
-                             std::ostream &                  out);
+                             const std::vector<Point<2>>    &vertices,
+                             std::ostream                   &out);
 
 
 template <>
 void
 GridIn<2, 3>::debug_output_grid(const std::vector<CellData<2>> &cells,
-                                const std::vector<Point<3>> &   vertices,
-                                std::ostream &                  out);
+                                const std::vector<Point<3>>    &vertices,
+                                std::ostream                   &out);
 template <>
 void
 GridIn<3>::debug_output_grid(const std::vector<CellData<3>> &cells,
-                             const std::vector<Point<3>> &   vertices,
-                             std::ostream &                  out);
+                             const std::vector<Point<3>>    &vertices,
+                             std::ostream                   &out);
 #endif // DOXYGEN
 
 DEAL_II_NAMESPACE_CLOSE
index 044dffcaa42646e4806a899cca6380a84311e3d1..1d84f55004d691242d8b6bd3b3481b9986c28d8a 100644 (file)
@@ -1074,8 +1074,8 @@ public:
   template <int dim, int spacedim>
   void
   write_gnuplot(const Triangulation<dim, spacedim> &tria,
-                std::ostream &                      out,
-                const Mapping<dim, spacedim> *      mapping = nullptr) const;
+                std::ostream                       &out,
+                const Mapping<dim, spacedim>       *mapping = nullptr) const;
 
   /**
    * Write the triangulation in the msh format.
@@ -1143,7 +1143,7 @@ public:
   template <int dim, int spacedim>
   void
   write_msh(const Triangulation<dim, spacedim> &tria,
-            const std::string &                 filename) const;
+            const std::string                  &filename) const;
 #endif
 
   /**
@@ -1201,8 +1201,8 @@ public:
   template <int dim, int spacedim>
   void
   write_eps(const Triangulation<dim, spacedim> &tria,
-            std::ostream &                      out,
-            const Mapping<dim, spacedim> *      mapping = nullptr) const;
+            std::ostream                       &out,
+            const Mapping<dim, spacedim>       *mapping = nullptr) const;
 
   /**
    * Write two-dimensional XFig-file.
@@ -1225,8 +1225,8 @@ public:
   template <int dim, int spacedim>
   void
   write_xfig(const Triangulation<dim, spacedim> &tria,
-             std::ostream &                      out,
-             const Mapping<dim, spacedim> *      mapping = nullptr) const;
+             std::ostream                       &out,
+             const Mapping<dim, spacedim>       *mapping = nullptr) const;
 
   /**
    * Write the triangulation in the SVG format.
@@ -1278,7 +1278,7 @@ public:
   template <int dim, int spacedim>
   void
   write_mathgl(const Triangulation<dim, spacedim> &tria,
-               std::ostream &                      out) const;
+               std::ostream                       &out) const;
 
   /**
    * Write triangulation in VTK format. This function writes a
@@ -1386,9 +1386,9 @@ public:
   template <int dim, int spacedim>
   void
   write(const Triangulation<dim, spacedim> &tria,
-        std::ostream &                      out,
+        std::ostream                       &out,
         const OutputFormat                  output_format,
-        const Mapping<dim, spacedim> *      mapping = nullptr) const;
+        const Mapping<dim, spacedim>       *mapping = nullptr) const;
 
   /**
    * Write mesh in default format set by ParameterHandler.
@@ -1396,8 +1396,8 @@ public:
   template <int dim, int spacedim>
   void
   write(const Triangulation<dim, spacedim> &tria,
-        std::ostream &                      out,
-        const Mapping<dim, spacedim> *      mapping = nullptr) const;
+        std::ostream                       &out,
+        const Mapping<dim, spacedim>       *mapping = nullptr) const;
 
   /**
    * Set flags for DX output
@@ -1644,7 +1644,7 @@ private:
   unsigned int
   write_msh_faces(const Triangulation<dim, spacedim> &tria,
                   const unsigned int                  next_element_index,
-                  std::ostream &                      out) const;
+                  std::ostream                       &out) const;
 
   /**
    * Declaration of the specialization of above function for 1d. Does nothing.
@@ -1652,7 +1652,7 @@ private:
   unsigned int
   write_msh_faces(const Triangulation<1, 1> &tria,
                   const unsigned int         next_element_index,
-                  std::ostream &             out) const;
+                  std::ostream              &out) const;
   /**
    * Declaration of the specialization of above function for 1d, 2sd. Does
    * nothing.
@@ -1660,11 +1660,11 @@ private:
   unsigned int
   write_msh_faces(const Triangulation<1, 2> &tria,
                   const unsigned int         next_element_index,
-                  std::ostream &             out) const;
+                  std::ostream              &out) const;
   unsigned int
   write_msh_faces(const Triangulation<1, 3> &tria,
                   const unsigned int         next_element_index,
-                  std::ostream &             out) const;
+                  std::ostream              &out) const;
 
 
 
@@ -1697,7 +1697,7 @@ private:
   unsigned int
   write_msh_lines(const Triangulation<dim, spacedim> &tria,
                   const unsigned int                  next_element_index,
-                  std::ostream &                      out) const;
+                  std::ostream                       &out) const;
 
   /**
    * Declaration of the specialization of above function for 1d. Does nothing.
@@ -1705,7 +1705,7 @@ private:
   unsigned int
   write_msh_lines(const Triangulation<1, 1> &tria,
                   const unsigned int         next_element_index,
-                  std::ostream &             out) const;
+                  std::ostream              &out) const;
 
   /**
    * Declaration of the specialization of above function for 1d, 2sd. Does
@@ -1714,7 +1714,7 @@ private:
   unsigned int
   write_msh_lines(const Triangulation<1, 2> &tria,
                   const unsigned int         next_element_index,
-                  std::ostream &             out) const;
+                  std::ostream              &out) const;
 
   /**
    * Declaration of the specialization of above function for 1d, 3sd. Does
@@ -1723,14 +1723,14 @@ private:
   unsigned int
   write_msh_lines(const Triangulation<1, 3> &tria,
                   const unsigned int         next_element_index,
-                  std::ostream &             out) const;
+                  std::ostream              &out) const;
   /**
    * Declaration of the specialization of above function for 2d. Does nothing.
    */
   unsigned int
   write_msh_lines(const Triangulation<2, 2> &tria,
                   const unsigned int         next_element_index,
-                  std::ostream &             out) const;
+                  std::ostream              &out) const;
   /**
    * Declaration of the specialization of above function for 2d, 3sd. Does
    * nothing.
@@ -1738,7 +1738,7 @@ private:
   unsigned int
   write_msh_lines(const Triangulation<2, 3> &tria,
                   const unsigned int         next_element_index,
-                  std::ostream &             out) const;
+                  std::ostream              &out) const;
 
   /**
    * Write the grid information about faces to @p out. Only those faces are
@@ -1769,7 +1769,7 @@ private:
   unsigned int
   write_ucd_faces(const Triangulation<dim, spacedim> &tria,
                   const unsigned int                  next_element_index,
-                  std::ostream &                      out) const;
+                  std::ostream                       &out) const;
 
   /**
    * Declaration of the specialization of above function for 1d. Does nothing.
@@ -1777,7 +1777,7 @@ private:
   unsigned int
   write_ucd_faces(const Triangulation<1, 1> &tria,
                   const unsigned int         next_element_index,
-                  std::ostream &             out) const;
+                  std::ostream              &out) const;
 
   /**
    * Declaration of the specialization of above function for 1d, 2sd. Does
@@ -1786,11 +1786,11 @@ private:
   unsigned int
   write_ucd_faces(const Triangulation<1, 2> &tria,
                   const unsigned int         next_element_index,
-                  std::ostream &             out) const;
+                  std::ostream              &out) const;
   unsigned int
   write_ucd_faces(const Triangulation<1, 3> &tria,
                   const unsigned int         next_element_index,
-                  std::ostream &             out) const;
+                  std::ostream              &out) const;
 
 
   /**
@@ -1822,7 +1822,7 @@ private:
   unsigned int
   write_ucd_lines(const Triangulation<dim, spacedim> &tria,
                   const unsigned int                  next_element_index,
-                  std::ostream &                      out) const;
+                  std::ostream                       &out) const;
 
   /**
    * Declaration of the specialization of above function for 1d. Does nothing.
@@ -1830,7 +1830,7 @@ private:
   unsigned int
   write_ucd_lines(const Triangulation<1, 1> &tria,
                   const unsigned int         next_element_index,
-                  std::ostream &             out) const;
+                  std::ostream              &out) const;
   /**
    * Declaration of the specialization of above function for 1d, 2sd. Does
    * nothing.
@@ -1838,7 +1838,7 @@ private:
   unsigned int
   write_ucd_lines(const Triangulation<1, 2> &tria,
                   const unsigned int         next_element_index,
-                  std::ostream &             out) const;
+                  std::ostream              &out) const;
   /**
    * Declaration of the specialization of above function for 1d, 3sd. Does
    * nothing.
@@ -1846,7 +1846,7 @@ private:
   unsigned int
   write_ucd_lines(const Triangulation<1, 3> &tria,
                   const unsigned int         next_element_index,
-                  std::ostream &             out) const;
+                  std::ostream              &out) const;
 
 
   /**
@@ -1855,7 +1855,7 @@ private:
   unsigned int
   write_ucd_lines(const Triangulation<2, 2> &tria,
                   const unsigned int         next_element_index,
-                  std::ostream &             out) const;
+                  std::ostream              &out) const;
   /**
    * Declaration of the specialization of above function for 2d, 3sd. Does
    * nothing.
@@ -1863,7 +1863,7 @@ private:
   unsigned int
   write_ucd_lines(const Triangulation<2, 3> &tria,
                   const unsigned int         next_element_index,
-                  std::ostream &             out) const;
+                  std::ostream              &out) const;
 
 
   /**
index 011898a08ea92fef2eb79aadfa00728e4ef2260e..5e354a505dd0e147ee9730a068ffc55a95faa705 100644 (file)
@@ -162,7 +162,7 @@ namespace GridRefinement
   void
   refine_and_coarsen_fixed_number(
     Triangulation<dim, spacedim> &triangulation,
-    const Vector<Number> &        criteria,
+    const Vector<Number>         &criteria,
     const double                  top_fraction_of_cells,
     const double                  bottom_fraction_of_cells,
     const unsigned int max_n_cells = std::numeric_limits<unsigned int>::max());
@@ -233,7 +233,7 @@ namespace GridRefinement
   void
   refine_and_coarsen_fixed_fraction(
     Triangulation<dim, spacedim> &tria,
-    const Vector<Number> &        criteria,
+    const Vector<Number>         &criteria,
     const double                  top_fraction,
     const double                  bottom_fraction,
     const unsigned int max_n_cells = std::numeric_limits<unsigned int>::max(),
@@ -315,7 +315,7 @@ namespace GridRefinement
   template <int dim, typename Number, int spacedim>
   void
   refine_and_coarsen_optimize(Triangulation<dim, spacedim> &tria,
-                              const Vector<Number> &        criteria,
+                              const Vector<Number>         &criteria,
                               const unsigned int            order = 2);
 
   /**
@@ -335,7 +335,7 @@ namespace GridRefinement
   template <int dim, typename Number, int spacedim>
   void
   refine(Triangulation<dim, spacedim> &tria,
-         const Vector<Number> &        criteria,
+         const Vector<Number>         &criteria,
          const double                  threshold,
          const unsigned int max_to_mark = numbers::invalid_unsigned_int);
 
@@ -356,7 +356,7 @@ namespace GridRefinement
   template <int dim, typename Number, int spacedim>
   void
   coarsen(Triangulation<dim, spacedim> &tria,
-          const Vector<Number> &        criteria,
+          const Vector<Number>         &criteria,
           const double                  threshold);
 
   /**
index 073cf10d688565105f89a35dfd4eb23f3f9b62da..7faf8c8afc3b87349af2f87fc4a648ef3cbffd76 100644 (file)
@@ -204,7 +204,7 @@ namespace GridTools
   template <int dim, int spacedim>
   double
   volume(const Triangulation<dim, spacedim> &tria,
-         const Mapping<dim, spacedim> &      mapping);
+         const Mapping<dim, spacedim>       &mapping);
 
   /**
    * Return an approximation of the diameter of the smallest active cell of a
@@ -220,7 +220,7 @@ namespace GridTools
   double
   minimal_cell_diameter(
     const Triangulation<dim, spacedim> &triangulation,
-    const Mapping<dim, spacedim> &      mapping =
+    const Mapping<dim, spacedim>       &mapping =
       (ReferenceCells::get_hypercube<dim>()
 #ifndef _MSC_VER
          .template get_default_linear_mapping<dim, spacedim>()
@@ -243,7 +243,7 @@ namespace GridTools
   double
   maximal_cell_diameter(
     const Triangulation<dim, spacedim> &triangulation,
-    const Mapping<dim, spacedim> &      mapping =
+    const Mapping<dim, spacedim>       &mapping =
       (ReferenceCells::get_hypercube<dim>()
 #ifndef _MSC_VER
          .template get_default_linear_mapping<dim, spacedim>()
@@ -273,7 +273,7 @@ namespace GridTools
    */
   template <int dim>
   double
-  cell_measure(const std::vector<Point<dim>> &      all_vertices,
+  cell_measure(const std::vector<Point<dim>>       &all_vertices,
                const ArrayView<const unsigned int> &vertex_indices);
 
   /**
@@ -333,9 +333,9 @@ namespace GridTools
    */
   template <int dim>
   Vector<double>
-  compute_aspect_ratio_of_cells(const Mapping<dim> &      mapping,
+  compute_aspect_ratio_of_cells(const Mapping<dim>       &mapping,
                                 const Triangulation<dim> &triangulation,
-                                const Quadrature<dim> &   quadrature);
+                                const Quadrature<dim>    &quadrature);
 
   /**
    * Computes the maximum aspect ratio by taking the maximum over all cells.
@@ -346,9 +346,9 @@ namespace GridTools
    */
   template <int dim>
   double
-  compute_maximum_aspect_ratio(const Mapping<dim> &      mapping,
+  compute_maximum_aspect_ratio(const Mapping<dim>       &mapping,
                                const Triangulation<dim> &triangulation,
-                               const Quadrature<dim> &   quadrature);
+                               const Quadrature<dim>    &quadrature);
 
   /**
    * Compute the smallest box containing the entire triangulation.
@@ -387,7 +387,7 @@ namespace GridTools
   template <typename Iterator>
   Point<Iterator::AccessorType::space_dimension>
   project_to_object(
-    const Iterator &                                      object,
+    const Iterator                                       &object,
     const Point<Iterator::AccessorType::space_dimension> &trial_point);
 
   /**
@@ -436,8 +436,8 @@ namespace GridTools
   template <int dim, int spacedim>
   void
   delete_unused_vertices(std::vector<Point<spacedim>> &vertices,
-                         std::vector<CellData<dim>> &  cells,
-                         SubCellData &                 subcelldata);
+                         std::vector<CellData<dim>>   &cells,
+                         SubCellData                  &subcelldata);
 
   /**
    * Remove vertices that are duplicated, due to the input of a structured
@@ -460,9 +460,9 @@ namespace GridTools
   template <int dim, int spacedim>
   void
   delete_duplicated_vertices(std::vector<Point<spacedim>> &all_vertices,
-                             std::vector<CellData<dim>> &  cells,
-                             SubCellData &                 subcelldata,
-                             std::vector<unsigned int> &   considered_vertices,
+                             std::vector<CellData<dim>>   &cells,
+                             SubCellData                  &subcelldata,
+                             std::vector<unsigned int>    &considered_vertices,
                              const double                  tol = 1e-12);
 
   /**
@@ -499,7 +499,7 @@ namespace GridTools
   void
   invert_all_negative_measure_cells(
     const std::vector<Point<spacedim>> &all_vertices,
-    std::vector<CellData<dim>> &        cells);
+    std::vector<CellData<dim>>         &cells);
 
   /**
    * Check the given cells and inverts any cell that is considered to have
@@ -514,7 +514,7 @@ namespace GridTools
   std::size_t
   invert_cells_with_negative_measure(
     const std::vector<Point<spacedim>> &all_vertices,
-    std::vector<CellData<dim>> &        cells);
+    std::vector<CellData<dim>>         &cells);
 
   /**
    * Given a vector of CellData objects describing a mesh, reorder their
@@ -624,7 +624,7 @@ namespace GridTools
      std::assignable_from<
        Point<spacedim> &,
        std::invoke_result_t<Transformation, Point<spacedim>>>))
-  void transform(const Transformation &        transformation,
+  void transform(const Transformation         &transformation,
                  Triangulation<dim, spacedim> &triangulation);
 
   /**
@@ -635,7 +635,7 @@ namespace GridTools
    */
   template <int dim, int spacedim>
   void
-  shift(const Tensor<1, spacedim> &   shift_vector,
+  shift(const Tensor<1, spacedim>    &shift_vector,
         Triangulation<dim, spacedim> &triangulation);
 
 
@@ -669,7 +669,7 @@ namespace GridTools
   void
   rotate(const Tensor<1, 3, double> &axis,
          const double                angle,
-         Triangulation<dim, 3> &     triangulation);
+         Triangulation<dim, 3>      &triangulation);
 
   /**
    * Rotate all vertices of the given @p triangulation in counter-clockwise
@@ -752,7 +752,7 @@ namespace GridTools
   template <int dim>
   void
   laplace_transform(const std::map<unsigned int, Point<dim>> &new_points,
-                    Triangulation<dim> &                      tria,
+                    Triangulation<dim>                       &tria,
                     const Function<dim, double> *coefficient = nullptr,
                     const bool solve_for_absolute_positions  = false);
 
@@ -1040,7 +1040,7 @@ namespace GridTools
   return_type
 #endif
   compute_point_locations(
-    const Cache<dim, spacedim> &        cache,
+    const Cache<dim, spacedim>         &cache,
     const std::vector<Point<spacedim>> &points,
     const typename Triangulation<dim, spacedim>::active_cell_iterator
       &cell_hint =
@@ -1090,7 +1090,7 @@ namespace GridTools
   return_type
 #endif
   compute_point_locations_try_all(
-    const Cache<dim, spacedim> &        cache,
+    const Cache<dim, spacedim>         &cache,
     const std::vector<Point<spacedim>> &points,
     const typename Triangulation<dim, spacedim>::active_cell_iterator
       &cell_hint =
@@ -1187,11 +1187,11 @@ namespace GridTools
   return_type
 #endif
   distributed_compute_point_locations(
-    const GridTools::Cache<dim, spacedim> &                cache,
-    const std::vector<Point<spacedim>> &                   local_points,
+    const GridTools::Cache<dim, spacedim>                 &cache,
+    const std::vector<Point<spacedim>>                    &local_points,
     const std::vector<std::vector<BoundingBox<spacedim>>> &global_bboxes,
     const double                                           tolerance = 1e-10,
-    const std::vector<bool> &                              marked_vertices = {},
+    const std::vector<bool>                               &marked_vertices = {},
     const bool enforce_unique_mapping = true);
 
   namespace internal
@@ -1293,10 +1293,10 @@ namespace GridTools
     template <int dim, int spacedim>
     DistributedComputePointLocationsInternal<dim, spacedim>
     distributed_compute_point_locations(
-      const GridTools::Cache<dim, spacedim> &                cache,
-      const std::vector<Point<spacedim>> &                   points,
+      const GridTools::Cache<dim, spacedim>                 &cache,
+      const std::vector<Point<spacedim>>                    &points,
       const std::vector<std::vector<BoundingBox<spacedim>>> &global_bboxes,
-      const std::vector<bool> &                              marked_vertices,
+      const std::vector<bool>                               &marked_vertices,
       const double                                           tolerance,
       const bool                                             perform_handshake,
       const bool enforce_unique_mapping = false);
@@ -1369,7 +1369,7 @@ namespace GridTools
       convert_to_distributed_compute_point_locations_internal(
         const unsigned int                  n_points_1D,
         const Triangulation<dim, spacedim> &tria,
-        const Mapping<dim, spacedim> &      mapping,
+        const Mapping<dim, spacedim>       &mapping,
         const bool consistent_numbering_of_sender_and_receiver = false) const;
 
     private:
@@ -1383,7 +1383,7 @@ namespace GridTools
       std::map<unsigned int, std::vector<unsigned int>>
       communicate_indices(
         const std::vector<std::tuple<unsigned int, unsigned int, unsigned int>>
-          &            point_recv_components,
+                      &point_recv_components,
         const MPI_Comm comm) const;
     };
 
@@ -1397,10 +1397,10 @@ namespace GridTools
     template <int structdim, int dim, int spacedim>
     DistributedComputeIntersectionLocationsInternal<structdim, spacedim>
     distributed_compute_intersection_locations(
-      const Cache<dim, spacedim> &                     cache,
+      const Cache<dim, spacedim>                      &cache,
       const std::vector<std::vector<Point<spacedim>>> &intersection_requests,
       const std::vector<std::vector<BoundingBox<spacedim>>> &global_bboxes,
-      const std::vector<bool> &                              marked_vertices,
+      const std::vector<bool>                               &marked_vertices,
       const double                                           tolerance);
 
   } // namespace internal
@@ -1445,7 +1445,7 @@ namespace GridTools
   std::map<unsigned int, Point<spacedim>>
   extract_used_vertices(
     const Triangulation<dim, spacedim> &container,
-    const Mapping<dim, spacedim> &      mapping =
+    const Mapping<dim, spacedim>       &mapping =
       (ReferenceCells::get_hypercube<dim>()
 #ifndef _MSC_VER
          .template get_default_linear_mapping<dim, spacedim>()
@@ -1466,7 +1466,7 @@ namespace GridTools
   template <int spacedim>
   unsigned int
   find_closest_vertex(const std::map<unsigned int, Point<spacedim>> &vertices,
-                      const Point<spacedim> &                        p);
+                      const Point<spacedim>                         &p);
 
   /**
    * Find and return the index of the used vertex (or marked vertex) in a
@@ -1499,8 +1499,8 @@ namespace GridTools
     (concepts::is_triangulation_or_dof_handler<MeshType<dim, spacedim>>))
   unsigned int find_closest_vertex(
     const MeshType<dim, spacedim> &mesh,
-    const Point<spacedim> &        p,
-    const std::vector<bool> &      marked_vertices = {});
+    const Point<spacedim>         &p,
+    const std::vector<bool>       &marked_vertices = {});
 
   /**
    * Find and return the index of the used vertex (or marked vertex) in a
@@ -1532,10 +1532,10 @@ namespace GridTools
   DEAL_II_CXX20_REQUIRES(
     (concepts::is_triangulation_or_dof_handler<MeshType<dim, spacedim>>))
   unsigned int find_closest_vertex(
-    const Mapping<dim, spacedim> mapping,
+    const Mapping<dim, spacedim>  &mapping,
     const MeshType<dim, spacedim> &mesh,
-    const Point<spacedim> &        p,
-    const std::vector<bool> &      marked_vertices = {});
+    const Point<spacedim>         &p,
+    const std::vector<bool>       &marked_vertices = {});
 
 
   /**
@@ -1570,7 +1570,7 @@ namespace GridTools
                                                   MeshType::space_dimension,
                                                   MeshType>::type>
 #endif
-    find_cells_adjacent_to_vertex(const MeshType &   container,
+    find_cells_adjacent_to_vertex(const MeshType    &container,
                                   const unsigned int vertex_index);
 
   /**
@@ -1648,9 +1648,9 @@ namespace GridTools
               ActiveCellIterator<dim, spacedim, MeshType<dim, spacedim>>::type,
             Point<dim>>
 #endif
-    find_active_cell_around_point(const Mapping<dim, spacedim> mapping,
+    find_active_cell_around_point(const Mapping<dim, spacedim>  &mapping,
                                   const MeshType<dim, spacedim> &mesh,
-                                  const Point<spacedim> &        p,
+                                  const Point<spacedim>         &p,
                                   const std::vector<bool> &marked_vertices = {},
                                   const double             tolerance = 1.e-10);
 
@@ -1674,7 +1674,7 @@ namespace GridTools
     ActiveCellIterator<dim, spacedim, MeshType<dim, spacedim>>::type
 #endif
     find_active_cell_around_point(const MeshType<dim, spacedim> &mesh,
-                                  const Point<spacedim> &        p,
+                                  const Point<spacedim>         &p,
                                   const std::vector<bool> &marked_vertices = {},
                                   const double             tolerance = 1.e-10);
 
@@ -1689,8 +1689,8 @@ namespace GridTools
             Point<dim>>
   find_active_cell_around_point(
     const hp::MappingCollection<dim, spacedim> &mapping,
-    const DoFHandler<dim, spacedim> &           mesh,
-    const Point<spacedim> &                     p,
+    const DoFHandler<dim, spacedim>            &mesh,
+    const Point<spacedim>                      &p,
     const double                                tolerance = 1.e-10);
 
   /**
@@ -1749,7 +1749,7 @@ namespace GridTools
             Point<dim>>
   find_active_cell_around_point(
     const Cache<dim, spacedim> &cache,
-    const Point<spacedim> &     p,
+    const Point<spacedim>      &p,
     const typename Triangulation<dim, spacedim>::active_cell_iterator &
       cell_hint = typename Triangulation<dim, spacedim>::active_cell_iterator(),
     const std::vector<bool> &marked_vertices = {},
@@ -1782,9 +1782,9 @@ namespace GridTools
             Point<dim>>
 #endif
     find_active_cell_around_point(
-      const Mapping<dim, spacedim> mapping,
+      const Mapping<dim, spacedim>  &mapping,
       const MeshType<dim, spacedim> &mesh,
-      const Point<spacedim> &        p,
+      const Point<spacedim>         &p,
       const std::vector<
         std::set<typename MeshType<dim, spacedim>::active_cell_iterator>>
         &vertex_to_cell_map,
@@ -1843,12 +1843,12 @@ namespace GridTools
     Point<dim>>>
 #endif
     find_all_active_cells_around_point(
-      const Mapping<dim, spacedim> mapping,
+      const Mapping<dim, spacedim>  &mapping,
       const MeshType<dim, spacedim> &mesh,
-      const Point<spacedim> &        p,
+      const Point<spacedim>         &p,
       const double                   tolerance,
       const std::pair<typename MeshType<dim, spacedim>::active_cell_iterator,
-                      Point<dim>> &  first_cell,
+                      Point<dim>>   &first_cell,
       const std::vector<
         std::set<typename MeshType<dim, spacedim>::active_cell_iterator>>
         *vertex_to_cells = nullptr);
@@ -1875,11 +1875,11 @@ namespace GridTools
     Point<dim>>>
 #endif
     find_all_active_cells_around_point(
-      const Mapping<dim, spacedim> mapping,
+      const Mapping<dim, spacedim>  &mapping,
       const MeshType<dim, spacedim> &mesh,
-      const Point<spacedim> &        p,
+      const Point<spacedim>         &p,
       const double                   tolerance       = 1e-10,
-      const std::vector<bool> &      marked_vertices = {});
+      const std::vector<bool>       &marked_vertices = {});
 
   /**
    * Return a list of all descendants of the given cell that are active. For
@@ -1938,7 +1938,7 @@ namespace GridTools
   template <typename MeshType>
   DEAL_II_CXX20_REQUIRES(concepts::is_triangulation_or_dof_handler<MeshType>)
   void get_active_neighbors(
-    const typename MeshType::active_cell_iterator &       cell,
+    const typename MeshType::active_cell_iterator        &cell,
     std::vector<typename MeshType::active_cell_iterator> &active_neighbors);
 
   /**
@@ -2016,7 +2016,7 @@ namespace GridTools
     vector<typename MeshType::cell_iterator> compute_cell_halo_layer_on_level(
       const MeshType &mesh,
       const std::function<bool(const typename MeshType::cell_iterator &)>
-        &                predicate,
+                        &predicate,
       const unsigned int level);
 
 
@@ -2096,7 +2096,7 @@ namespace GridTools
     vector<typename MeshType::active_cell_iterator> compute_active_cell_layer_within_distance(
       const MeshType &mesh,
       const std::function<bool(const typename MeshType::active_cell_iterator &)>
-        &          predicate,
+                  &predicate,
       const double layer_thickness);
 
   /**
@@ -2236,7 +2236,7 @@ namespace GridTools
     vector<BoundingBox<MeshType::space_dimension>> compute_mesh_predicate_bounding_box(
       const MeshType &mesh,
       const std::function<bool(const typename MeshType::active_cell_iterator &)>
-        &                predicate,
+                        &predicate,
       const unsigned int refinement_level = 0,
       const bool         allow_merge      = false,
       const unsigned int max_boxes        = numbers::invalid_unsigned_int);
@@ -2278,7 +2278,7 @@ namespace GridTools
 #endif
   guess_point_owner(
     const std::vector<std::vector<BoundingBox<spacedim>>> &global_bboxes,
-    const std::vector<Point<spacedim>> &                   points);
+    const std::vector<Point<spacedim>>                    &points);
 
 
   /**
@@ -2325,7 +2325,7 @@ namespace GridTools
 #endif
   guess_point_owner(
     const RTree<std::pair<BoundingBox<spacedim>, unsigned int>> &covering_rtree,
-    const std::vector<Point<spacedim>> &                         points);
+    const std::vector<Point<spacedim>>                          &points);
 
 
   /**
@@ -2373,8 +2373,8 @@ namespace GridTools
   unsigned int
   find_closest_vertex_of_cell(
     const typename Triangulation<dim, spacedim>::active_cell_iterator &cell,
-    const Point<spacedim> &                                            position,
-    const Mapping<dim, spacedim> &                                     mapping =
+    const Point<spacedim>                                             &position,
+    const Mapping<dim, spacedim>                                      &mapping =
       (ReferenceCells::get_hypercube<dim>()
 #ifndef _MSC_VER
          .template get_default_linear_mapping<dim, spacedim>()
@@ -2433,7 +2433,7 @@ namespace GridTools
   void
   get_face_connectivity_of_cells(
     const Triangulation<dim, spacedim> &triangulation,
-    DynamicSparsityPattern &            connectivity);
+    DynamicSparsityPattern             &connectivity);
 
   /**
    * Produce a sparsity pattern in which nonzero entries indicate that two
@@ -2447,7 +2447,7 @@ namespace GridTools
   void
   get_vertex_connectivity_of_cells(
     const Triangulation<dim, spacedim> &triangulation,
-    DynamicSparsityPattern &            connectivity);
+    DynamicSparsityPattern             &connectivity);
 
   /**
    * Produce a sparsity pattern for a given level mesh in which nonzero entries
@@ -2462,7 +2462,7 @@ namespace GridTools
   get_vertex_connectivity_of_cells_on_level(
     const Triangulation<dim, spacedim> &triangulation,
     const unsigned int                  level,
-    DynamicSparsityPattern &            connectivity);
+    DynamicSparsityPattern             &connectivity);
 
   /**
    * Use graph partitioner to partition the active cells making up the entire
@@ -2487,7 +2487,7 @@ namespace GridTools
   template <int dim, int spacedim>
   void
   partition_triangulation(const unsigned int               n_partitions,
-                          Triangulation<dim, spacedim> &   triangulation,
+                          Triangulation<dim, spacedim>    &triangulation,
                           const SparsityTools::Partitioner partitioner =
                             SparsityTools::Partitioner::metis);
 
@@ -2505,7 +2505,7 @@ namespace GridTools
   void
   partition_triangulation(const unsigned int               n_partitions,
                           const std::vector<unsigned int> &cell_weights,
-                          Triangulation<dim, spacedim> &   triangulation,
+                          Triangulation<dim, spacedim>    &triangulation,
                           const SparsityTools::Partitioner partitioner =
                             SparsityTools::Partitioner::metis);
 
@@ -2557,7 +2557,7 @@ namespace GridTools
   template <int dim, int spacedim>
   void
   partition_triangulation(const unsigned int            n_partitions,
-                          const SparsityPattern &       cell_connection_graph,
+                          const SparsityPattern        &cell_connection_graph,
                           Triangulation<dim, spacedim> &triangulation,
                           const SparsityTools::Partitioner partitioner =
                             SparsityTools::Partitioner::metis);
@@ -2576,7 +2576,7 @@ namespace GridTools
   void
   partition_triangulation(const unsigned int               n_partitions,
                           const std::vector<unsigned int> &cell_weights,
-                          const SparsityPattern &       cell_connection_graph,
+                          const SparsityPattern        &cell_connection_graph,
                           Triangulation<dim, spacedim> &triangulation,
                           const SparsityTools::Partitioner partitioner =
                             SparsityTools::Partitioner::metis);
@@ -2626,7 +2626,7 @@ namespace GridTools
   template <int dim, int spacedim>
   std::vector<types::subdomain_id>
   get_subdomain_association(const Triangulation<dim, spacedim> &triangulation,
-                            const std::vector<CellId> &         cell_ids);
+                            const std::vector<CellId>          &cell_ids);
 
   /**
    * For each active cell, return in the output array to which subdomain (as
@@ -2641,7 +2641,7 @@ namespace GridTools
   template <int dim, int spacedim>
   void
   get_subdomain_association(const Triangulation<dim, spacedim> &triangulation,
-                            std::vector<types::subdomain_id> &  subdomain);
+                            std::vector<types::subdomain_id>   &subdomain);
 
   /**
    * Count how many cells are uniquely associated with the given @p subdomain
@@ -2800,7 +2800,7 @@ namespace GridTools
   typename Triangulation<dim, spacedim>::DistortedCellList
   fix_up_distorted_child_cells(
     const typename Triangulation<dim, spacedim>::DistortedCellList
-      &                           distorted_cells,
+                                 &distorted_cells,
     Triangulation<dim, spacedim> &triangulation);
 
 
@@ -3124,9 +3124,9 @@ namespace GridTools
   template <typename FaceIterator>
   bool
   orthogonal_equality(
-    std::bitset<3> &                                              orientation,
-    const FaceIterator &                                          face1,
-    const FaceIterator &                                          face2,
+    std::bitset<3>                                               &orientation,
+    const FaceIterator                                           &face1,
+    const FaceIterator                                           &face2,
     const unsigned int                                            direction,
     const Tensor<1, FaceIterator::AccessorType::space_dimension> &offset =
       Tensor<1, FaceIterator::AccessorType::space_dimension>(),
@@ -3139,8 +3139,8 @@ namespace GridTools
   template <typename FaceIterator>
   bool
   orthogonal_equality(
-    const FaceIterator &                                          face1,
-    const FaceIterator &                                          face2,
+    const FaceIterator                                           &face1,
+    const FaceIterator                                           &face2,
     const unsigned int                                            direction,
     const Tensor<1, FaceIterator::AccessorType::space_dimension> &offset =
       Tensor<1, FaceIterator::AccessorType::space_dimension>(),
@@ -3208,12 +3208,12 @@ namespace GridTools
   template <typename MeshType>
   DEAL_II_CXX20_REQUIRES(concepts::is_triangulation_or_dof_handler<MeshType>)
   void collect_periodic_faces(
-    const MeshType &         mesh,
+    const MeshType          &mesh,
     const types::boundary_id b_id1,
     const types::boundary_id b_id2,
     const unsigned int       direction,
     std::vector<PeriodicFacePair<typename MeshType::cell_iterator>>
-      &                                         matched_pairs,
+                                               &matched_pairs,
     const Tensor<1, MeshType::space_dimension> &offset =
       dealii::Tensor<1, MeshType::space_dimension>(),
     const FullMatrix<double> &matrix = FullMatrix<double>());
@@ -3246,11 +3246,11 @@ namespace GridTools
   template <typename MeshType>
   DEAL_II_CXX20_REQUIRES(concepts::is_triangulation_or_dof_handler<MeshType>)
   void collect_periodic_faces(
-    const MeshType &         mesh,
+    const MeshType          &mesh,
     const types::boundary_id b_id,
     const unsigned int       direction,
     std::vector<PeriodicFacePair<typename MeshType::cell_iterator>>
-      &                                                 matched_pairs,
+                                                       &matched_pairs,
     const dealii::Tensor<1, MeshType::space_dimension> &offset =
       dealii::Tensor<1, MeshType::space_dimension>(),
     const FullMatrix<double> &matrix = FullMatrix<double>());
@@ -3312,7 +3312,7 @@ namespace GridTools
   map_boundary_to_manifold_ids(
     const std::vector<types::boundary_id> &src_boundary_ids,
     const std::vector<types::manifold_id> &dst_manifold_ids,
-    Triangulation<dim, spacedim> &         tria,
+    Triangulation<dim, spacedim>          &tria,
     const std::vector<types::boundary_id> &reset_boundary_ids = {});
 
   /**
@@ -3376,7 +3376,7 @@ namespace GridTools
   template <int dim, int spacedim>
   void
   assign_co_dimensional_manifold_indicators(
-    Triangulation<dim, spacedim> &            tria,
+    Triangulation<dim, spacedim>             &tria,
     const std::function<types::manifold_id(
       const std::set<types::manifold_id> &)> &disambiguation_function =
       [](const std::set<types::manifold_id> &manifold_ids) {
@@ -3477,11 +3477,11 @@ namespace GridTools
   template <typename DataType, typename MeshType>
   DEAL_II_CXX20_REQUIRES(concepts::is_triangulation_or_dof_handler<MeshType>)
   void exchange_cell_data_to_ghosts(
-    const MeshType &                                     mesh,
+    const MeshType                                      &mesh,
     const std::function<std::optional<DataType>(
       const typename MeshType::active_cell_iterator &)> &pack,
     const std::function<void(const typename MeshType::active_cell_iterator &,
-                             const DataType &)> &        unpack,
+                             const DataType &)>         &unpack,
     const std::function<bool(const typename MeshType::active_cell_iterator &)>
       &cell_filter =
         always_return<typename MeshType::active_cell_iterator, bool>{true});
@@ -3501,11 +3501,11 @@ namespace GridTools
   template <typename DataType, typename MeshType>
   DEAL_II_CXX20_REQUIRES(concepts::is_triangulation_or_dof_handler<MeshType>)
   void exchange_cell_data_to_level_ghosts(
-    const MeshType &                                    mesh,
+    const MeshType                                     &mesh,
     const std::function<std::optional<DataType>(
       const typename MeshType::level_cell_iterator &)> &pack,
     const std::function<void(const typename MeshType::level_cell_iterator &,
-                             const DataType &)> &       unpack,
+                             const DataType &)>        &unpack,
     const std::function<bool(const typename MeshType::level_cell_iterator &)> &
       cell_filter = always_return<typename MeshType::level_cell_iterator, bool>{
         true});
@@ -3585,7 +3585,7 @@ namespace GridTools
   template <int dim, int spacedim>
   void
   collect_coinciding_vertices(
-    const Triangulation<dim, spacedim> &               tria,
+    const Triangulation<dim, spacedim>                &tria,
     std::map<unsigned int, std::vector<unsigned int>> &coinciding_vertex_groups,
     std::map<unsigned int, unsigned int> &vertex_to_coinciding_vertex_group);
 
@@ -3645,7 +3645,7 @@ namespace GridTools
     /**
      * Constructor.
      */
-    MarchingCubeAlgorithm(const Mapping<dim, dim> &      mapping,
+    MarchingCubeAlgorithm(const Mapping<dim, dim>       &mapping,
                           const FiniteElement<dim, dim> &fe,
                           const unsigned int             n_subdivisions = 1,
                           const double                   tolerance = 1e-10);
@@ -3661,8 +3661,8 @@ namespace GridTools
      * @note Duplicate vertices are not deleted.
      */
     void
-    process(const DoFHandler<dim> &  background_dof_handler,
-            const VectorType &       ls_vector,
+    process(const DoFHandler<dim>   &background_dof_handler,
+            const VectorType        &ls_vector,
             const double             iso_level,
             std::vector<Point<dim>> &vertices,
             std::vector<CellData<dim == 1 ? 1 : dim - 1>> &cells) const;
@@ -3672,8 +3672,8 @@ namespace GridTools
      * are cut.
      */
     void
-    process(const DoFHandler<dim> &  background_dof_handler,
-            const VectorType &       ls_vector,
+    process(const DoFHandler<dim>   &background_dof_handler,
+            const VectorType        &ls_vector,
             const double             iso_level,
             std::vector<Point<dim>> &vertices) const;
 
@@ -3688,9 +3688,9 @@ namespace GridTools
      */
     void
     process_cell(const typename DoFHandler<dim>::active_cell_iterator &cell,
-                 const VectorType &                             ls_vector,
+                 const VectorType                              &ls_vector,
                  const double                                   iso_level,
-                 std::vector<Point<dim>> &                      vertices,
+                 std::vector<Point<dim>>                       &vertices,
                  std::vector<CellData<dim == 1 ? 1 : dim - 1>> &cells) const;
     /**
      * Process the provided cell and fill @p vertices for all cells that are cut.
@@ -3699,7 +3699,7 @@ namespace GridTools
      */
     void
     process_cell(const typename DoFHandler<dim>::active_cell_iterator &cell,
-                 const VectorType &       ls_vector,
+                 const VectorType        &ls_vector,
                  const double             iso_level,
                  std::vector<Point<dim>> &vertices) const;
 
@@ -3715,10 +3715,10 @@ namespace GridTools
      * Process a cell.
      */
     void
-    process_cell(std::vector<value_type> &                      ls_values,
-                 const std::vector<Point<dim>> &                points,
+    process_cell(std::vector<value_type>                       &ls_values,
+                 const std::vector<Point<dim>>                 &points,
                  const double                                   iso_level,
-                 std::vector<Point<dim>> &                      vertices,
+                 std::vector<Point<dim>>                       &vertices,
                  std::vector<CellData<dim == 1 ? 1 : dim - 1>> &cells,
                  const bool write_back_cell_data = true) const;
 
@@ -3744,24 +3744,24 @@ namespace GridTools
      *   of subdivisions in this case.
      */
     void
-    process_sub_cell(const std::vector<value_type> &  ls_values,
-                     const std::vector<Point<2>> &    points,
+    process_sub_cell(const std::vector<value_type>   &ls_values,
+                     const std::vector<Point<2>>     &points,
                      const std::vector<unsigned int> &mask,
                      const double                     iso_level,
-                     std::vector<Point<2>> &          vertices,
-                     std::vector<CellData<1>> &       cells,
+                     std::vector<Point<2>>           &vertices,
+                     std::vector<CellData<1>>        &cells,
                      const bool write_back_cell_data) const;
 
     /**
      * Process a sub-cell (3d).
      */
     void
-    process_sub_cell(const std::vector<value_type> &  ls_values,
-                     const std::vector<Point<3>> &    points,
+    process_sub_cell(const std::vector<value_type>   &ls_values,
+                     const std::vector<Point<3>>     &points,
                      const std::vector<unsigned int> &mask,
                      const double                     iso_level,
-                     std::vector<Point<3>> &          vertices,
-                     std::vector<CellData<2>> &       cells,
+                     std::vector<Point<3>>           &vertices,
+                     std::vector<CellData<2>>        &cells,
                      const bool write_back_cell_data) const;
 
     /**
@@ -3877,7 +3877,7 @@ namespace GridTools
      std::assignable_from<
        Point<spacedim> &,
        std::invoke_result_t<Transformation, Point<spacedim>>>))
-  void transform(const Transformation &        transformation,
+  void transform(const Transformation         &transformation,
                  Triangulation<dim, spacedim> &triangulation)
   {
     std::vector<bool> treated_vertices(triangulation.n_vertices(), false);
@@ -3995,7 +3995,7 @@ namespace GridTools
   template <typename MeshType>
   DEAL_II_CXX20_REQUIRES(concepts::is_triangulation_or_dof_handler<MeshType>)
   void get_active_neighbors(
-    const typename MeshType::active_cell_iterator &       cell,
+    const typename MeshType::active_cell_iterator        &cell,
     std::vector<typename MeshType::active_cell_iterator> &active_neighbors)
   {
     active_neighbors.clear();
@@ -4159,7 +4159,7 @@ namespace GridTools
         const Point<spacedim> &p0,
         const Tensor<1, GeometryInfo<structdim>::vertices_per_cell> &center,
         const double                                                 step,
-        const F &                                                    f)
+        const F                                                     &f)
       {
         Assert(row_n < GeometryInfo<structdim>::vertices_per_cell &&
                  dependent_direction <
@@ -4189,7 +4189,7 @@ namespace GridTools
        */
       template <typename Iterator, int spacedim, int structdim>
       Point<spacedim>
-      project_to_d_linear_object(const Iterator &       object,
+      project_to_d_linear_object(const Iterator        &object,
                                  const Point<spacedim> &trial_point)
       {
         // let's look at this for simplicity for a quadrilateral
@@ -4311,7 +4311,7 @@ namespace GridTools
   template <typename Iterator>
   Point<Iterator::AccessorType::space_dimension>
   project_to_object(
-    const Iterator &                                      object,
+    const Iterator                                       &object,
     const Point<Iterator::AccessorType::space_dimension> &trial_point)
   {
     const int spacedim  = Iterator::AccessorType::space_dimension;
@@ -4608,8 +4608,8 @@ namespace GridTools
       const std::function<std::optional<DataType>(const MeshCellIteratorType &)>
         &pack,
       const std::function<void(const MeshCellIteratorType &, const DataType &)>
-        &                                                         unpack,
-      const std::function<bool(const MeshCellIteratorType &)> &   cell_filter,
+                                                                 &unpack,
+      const std::function<bool(const MeshCellIteratorType &)>    &cell_filter,
       const std::function<void(
         const std::function<void(const MeshCellIteratorType &,
                                  const types::subdomain_id)> &)> &process_cells,
@@ -4894,11 +4894,11 @@ namespace GridTools
   template <typename DataType, typename MeshType>
   DEAL_II_CXX20_REQUIRES(concepts::is_triangulation_or_dof_handler<MeshType>)
   inline void exchange_cell_data_to_ghosts(
-    const MeshType &                                     mesh,
+    const MeshType                                      &mesh,
     const std::function<std::optional<DataType>(
       const typename MeshType::active_cell_iterator &)> &pack,
     const std::function<void(const typename MeshType::active_cell_iterator &,
-                             const DataType &)> &        unpack,
+                             const DataType &)>         &unpack,
     const std::function<bool(const typename MeshType::active_cell_iterator &)>
       &cell_filter)
   {
@@ -4930,11 +4930,11 @@ namespace GridTools
   template <typename DataType, typename MeshType>
   DEAL_II_CXX20_REQUIRES(concepts::is_triangulation_or_dof_handler<MeshType>)
   inline void exchange_cell_data_to_level_ghosts(
-    const MeshType &                                    mesh,
+    const MeshType                                     &mesh,
     const std::function<std::optional<DataType>(
       const typename MeshType::level_cell_iterator &)> &pack,
     const std::function<void(const typename MeshType::level_cell_iterator &,
-                             const DataType &)> &       unpack,
+                             const DataType &)>        &unpack,
     const std::function<bool(const typename MeshType::level_cell_iterator &)>
       &cell_filter)
   {
index 6841c6263a3c2fa5370fca22757c56e2907e1a7e..9a25521f5824e94067db2d03f60b0cac9235bd98 100644 (file)
@@ -75,7 +75,7 @@ namespace GridTools
      * @param mapping The mapping to use when computing cached objects
      */
     Cache(const Triangulation<dim, spacedim> &tria,
-          const Mapping<dim, spacedim> &      mapping =
+          const Mapping<dim, spacedim>       &mapping =
             (ReferenceCells::get_hypercube<dim>()
 #ifndef _MSC_VER
                .template get_default_linear_mapping<dim, spacedim>()
index f978e1850fafed0fbdfdf4df78d797aea4a2b639..64ee20410ac13e91768e9c0ba70afece4d75c6ae 100644 (file)
@@ -366,7 +366,7 @@ public:
    */
   virtual Point<spacedim>
   get_new_point(const ArrayView<const Point<spacedim>> &surrounding_points,
-                const ArrayView<const double> &         weights) const;
+                const ArrayView<const double>          &weights) const;
 
 
   /**
@@ -391,7 +391,7 @@ public:
    */
   virtual void
   get_new_points(const ArrayView<const Point<spacedim>> &surrounding_points,
-                 const Table<2, double> &                weights,
+                 const Table<2, double>                 &weights,
                  ArrayView<Point<spacedim>>              new_points) const;
 
   /**
@@ -408,7 +408,7 @@ public:
   virtual Point<spacedim>
   project_to_manifold(
     const ArrayView<const Point<spacedim>> &surrounding_points,
-    const Point<spacedim> &                 candidate) const;
+    const Point<spacedim>                  &candidate) const;
 
   /**
    * Backward compatibility interface.  Return the point which shall become
@@ -597,7 +597,7 @@ public:
   virtual Tensor<1, spacedim>
   normal_vector(
     const typename Triangulation<dim, spacedim>::face_iterator &face,
-    const Point<spacedim> &                                     p) const;
+    const Point<spacedim>                                      &p) const;
 
   /**
    * Compute the normal vectors to the boundary at each vertex of the
@@ -694,7 +694,7 @@ public:
    */
   virtual Point<spacedim>
   get_new_point(const ArrayView<const Point<spacedim>> &surrounding_points,
-                const ArrayView<const double> &         weights) const override;
+                const ArrayView<const double>          &weights) const override;
 
 
   /**
@@ -709,7 +709,7 @@ public:
    */
   virtual void
   get_new_points(const ArrayView<const Point<spacedim>> &surrounding_points,
-                 const Table<2, double> &                weights,
+                 const Table<2, double>                 &weights,
                  ArrayView<Point<spacedim>> new_points) const override;
 
   /**
@@ -944,7 +944,7 @@ public:
    */
   virtual Point<spacedim>
   get_new_point(const ArrayView<const Point<spacedim>> &surrounding_points,
-                const ArrayView<const double> &         weights) const override;
+                const ArrayView<const double>          &weights) const override;
 
   /**
    * Compute a new set of points that interpolate between the given points @p
@@ -969,7 +969,7 @@ public:
    */
   virtual void
   get_new_points(const ArrayView<const Point<spacedim>> &surrounding_points,
-                 const Table<2, double> &                weights,
+                 const Table<2, double>                 &weights,
                  ArrayView<Point<spacedim>> new_points) const override;
   /**
    * Pull back the given point in spacedim to the Euclidean chartdim
index 7b5c61993b2d84583e4d8778037e50fe12a8378a..97a1094771a0416fd3c692385853dca6feff1fa9 100644 (file)
@@ -300,7 +300,7 @@ public:
    */
   virtual void
   get_new_points(const ArrayView<const Point<spacedim>> &surrounding_points,
-                 const Table<2, double> &                weights,
+                 const Table<2, double>                 &weights,
                  ArrayView<Point<spacedim>> new_points) const override;
 
   /**
@@ -309,7 +309,7 @@ public:
    */
   virtual Point<spacedim>
   get_new_point(const ArrayView<const Point<spacedim>> &vertices,
-                const ArrayView<const double> &         weights) const override;
+                const ArrayView<const double>          &weights) const override;
 
   /**
    * The center of the spherical coordinate system.
@@ -325,8 +325,8 @@ private:
    */
   std::pair<double, Tensor<1, spacedim>>
   guess_new_point(const ArrayView<const Tensor<1, spacedim>> &directions,
-                  const ArrayView<const double> &             distances,
-                  const ArrayView<const double> &             weights) const;
+                  const ArrayView<const double>              &distances,
+                  const ArrayView<const double>              &weights) const;
 
   /**
    * Return a point on the spherical manifold which is intermediate
@@ -345,8 +345,8 @@ private:
    */
   Point<spacedim>
   get_new_point(const ArrayView<const Tensor<1, spacedim>> &directions,
-                const ArrayView<const double> &             distances,
-                const ArrayView<const double> &             weights,
+                const ArrayView<const double>              &distances,
+                const ArrayView<const double>              &weights,
                 const Point<spacedim> &candidate_point) const;
 
   /**
@@ -364,7 +364,7 @@ private:
    */
   virtual void
   get_new_points(const ArrayView<const Point<spacedim>> &surrounding_points,
-                 const ArrayView<const double> &         weights,
+                 const ArrayView<const double>          &weights,
                  ArrayView<Point<spacedim>>              new_points) const;
 
   /**
@@ -407,7 +407,7 @@ public:
    * value is used to determine if a point is on the axis.
    */
   CylindricalManifold(const Tensor<1, spacedim> &direction,
-                      const Point<spacedim> &    point_on_axis,
+                      const Point<spacedim>     &point_on_axis,
                       const double               tolerance = 1e-10);
 
   /**
@@ -449,7 +449,7 @@ public:
    */
   virtual Point<spacedim>
   get_new_point(const ArrayView<const Point<spacedim>> &surrounding_points,
-                const ArrayView<const double> &         weights) const override;
+                const ArrayView<const double>          &weights) const override;
 
 private:
   /**
@@ -524,7 +524,7 @@ public:
    * @param eccentricity Eccentricity of the
    * manifold $e\in\left]0,1\right[$.
    */
-  EllipticalManifold(const Point<spacedim> &    center,
+  EllipticalManifold(const Point<spacedim>     &center,
                      const Tensor<1, spacedim> &major_axis_direction,
                      const double               eccentricity);
 
@@ -608,8 +608,8 @@ public:
    * the function objects are destroyed only after the constructed manifold.
    */
   FunctionManifold(
-    const Function<chartdim> push_forward_function,
-    const Function<spacedim> pull_back_function,
+    const Function<chartdim>  &push_forward_function,
+    const Function<spacedim>  &pull_back_function,
     const Tensor<1, chartdim> &periodicity = Tensor<1, chartdim>(),
     const double               tolerance   = 1e-10);
 
@@ -627,7 +627,7 @@ public:
   FunctionManifold(
     std::unique_ptr<Function<chartdim>> push_forward,
     std::unique_ptr<Function<spacedim>> pull_back,
-    const Tensor<1, chartdim> &         periodicity = Tensor<1, chartdim>(),
+    const Tensor<1, chartdim>          &periodicity = Tensor<1, chartdim>(),
     const double                        tolerance   = 1e-10);
 
   /**
@@ -1016,7 +1016,7 @@ public:
    */
   virtual Point<spacedim>
   get_new_point(const ArrayView<const Point<spacedim>> &surrounding_points,
-                const ArrayView<const double> &         weights) const override;
+                const ArrayView<const double>          &weights) const override;
 
   /**
    * Compute a new set of points that interpolate between the given points @p
@@ -1039,7 +1039,7 @@ public:
    */
   virtual void
   get_new_points(const ArrayView<const Point<spacedim>> &surrounding_points,
-                 const Table<2, double> &                weights,
+                 const Table<2, double>                 &weights,
                  ArrayView<Point<spacedim>> new_points) const override;
 
 private:
@@ -1088,7 +1088,7 @@ private:
    */
   Point<dim>
   pull_back(const typename Triangulation<dim, spacedim>::cell_iterator &cell,
-            const Point<spacedim> &                                     p,
+            const Point<spacedim>                                      &p,
             const Point<dim> &initial_guess) const;
 
   /**
@@ -1120,7 +1120,7 @@ private:
   DerivativeForm<1, dim, spacedim>
   push_forward_gradient(
     const typename Triangulation<dim, spacedim>::cell_iterator &cell,
-    const Point<dim> &                                          chart_point,
+    const Point<dim>                                           &chart_point,
     const Point<spacedim> &pushed_forward_chart_point) const;
 
   /**
index 7ee795b52e236e1a5fbefe444da739fc4717e0c0..7e298a2ac993bce6f9eb14eb3b3289fc156f590d 100644 (file)
@@ -198,7 +198,7 @@ public:
    */
   virtual void
   create_triangulation(const std::vector<Point<spacedim>> &vertices,
-                       const std::vector<CellData<dim>> &  cells,
+                       const std::vector<CellData<dim>>   &cells,
                        const SubCellData &subcelldata) override;
 
   /**
index 75ae88871ac06e9841a1e33319fe5fe8147eaac4..aeea0690de43466320b453c7674bdcc6574d143a 100644 (file)
@@ -168,7 +168,7 @@ public:
    */
   template <int dim>
   Tensor<1, dim>
-  d_linear_shape_function_gradient(const Point<dim> xi,
+  d_linear_shape_function_gradient(const Point<dim>  &xi,
                                    const unsigned int i) const;
 
   /**
@@ -2170,7 +2170,7 @@ ReferenceCell::n_vertices_to_type(const int dim, const unsigned int n_vertices)
 
 template <int dim>
 inline double
-ReferenceCell::d_linear_shape_function(const Point<dim> xi,
+ReferenceCell::d_linear_shape_function(const Point<dim>  &xi,
                                        const unsigned int i) const
 {
   AssertDimension(dim, get_dimension());
@@ -2259,7 +2259,7 @@ ReferenceCell::d_linear_shape_function(const Point<dim> & xi,
 
 template <int dim>
 inline Tensor<1, dim>
-ReferenceCell::d_linear_shape_function_gradient(const Point<dim> xi,
+ReferenceCell::d_linear_shape_function_gradient(const Point<dim>  &xi,
                                                 const unsigned int i) const
 {
   AssertDimension(dim, get_dimension());
@@ -2627,7 +2627,7 @@ namespace internal
     /**
      * Constructor.
      */
-    NoPermutation(const ReferenceCell &     entity_type,
+    NoPermutation(const ReferenceCell      &entity_type,
                   const ArrayView<const T> &vertices_0,
                   const ArrayView<const T> &vertices_1)
       : entity_type(entity_type)
index cd669ae3a0709b0c96587d45e3607a4f15fb1875..a6e5c54ea3ba108f5883bfefe3cf7d95914f46b0 100644 (file)
@@ -158,8 +158,8 @@ namespace internal
     template <int dim1, int dim2>
     void
     split_point(const Point<dim1 + dim2> &source,
-                Point<dim1> &             p1,
-                Point<dim2> &             p2)
+                Point<dim1>              &p1,
+                Point<dim2>              &p2)
     {
       for (unsigned int d = 0; d < dim1; ++d)
         p1[d] = source[d];
index 548a120d85d24bf081bd64bcef123d55722d265c..6be48bd07cd94fbc36d254b3f107c52fdc844b85 100644 (file)
@@ -405,7 +405,7 @@ namespace internal
         &pack_callbacks_fixed,
       const std::vector<
         typename internal::CellAttachedData<dim, spacedim>::pack_callback_t>
-        &             pack_callbacks_variable,
+                     &pack_callbacks_variable,
       const MPI_Comm &mpi_communicator);
 
     /**
@@ -458,7 +458,7 @@ namespace internal
     save(const unsigned int global_first_cell,
          const unsigned int global_num_cells,
          const std::string &filename,
-         const MPI_Comm &   mpi_communicator) const;
+         const MPI_Comm    &mpi_communicator) const;
 
     /**
      * Deserialize data from file system.
@@ -485,7 +485,7 @@ namespace internal
          const std::string &filename,
          const unsigned int n_attached_deserialize_fixed,
          const unsigned int n_attached_deserialize_variable,
-         const MPI_Comm &   mpi_communicator);
+         const MPI_Comm    &mpi_communicator);
 
     /**
      * Clears all containers and associated data, and resets member
@@ -2073,8 +2073,8 @@ public:
    */
   virtual void
   create_triangulation(const std::vector<Point<spacedim>> &vertices,
-                       const std::vector<CellData<dim>> &  cells,
-                       const SubCellData &                 subcelldata);
+                       const std::vector<CellData<dim>>   &cells,
+                       const SubCellData                  &subcelldata);
 
   /**
    * Create a triangulation from the provided
@@ -3807,7 +3807,7 @@ public:
   register_data_attach(
     const std::function<std::vector<char>(const cell_iterator &,
                                           const ::dealii::CellStatus)>
-      &        pack_callback,
+              &pack_callback,
     const bool returns_variable_size_data);
 
   /**
@@ -4041,7 +4041,7 @@ protected:
   write_bool_vector(const unsigned int       magic_number1,
                     const std::vector<bool> &v,
                     const unsigned int       magic_number2,
-                    std::ostream &           out);
+                    std::ostream            &out);
 
   /**
    * Re-read a vector of bools previously written by @p write_bool_vector and
@@ -4051,7 +4051,7 @@ protected:
   read_bool_vector(const unsigned int magic_number1,
                    std::vector<bool> &v,
                    const unsigned int magic_number2,
-                   std::istream &     in);
+                   std::istream      &in);
 
   /**
    * Recreate information about periodic neighbors from
@@ -4593,8 +4593,8 @@ namespace internal
     void
     NumberCache<1>::serialize(Archive &ar, const unsigned int)
     {
-      ar &n_levels;
-      ar &n_lines &n_lines_level;
+      ar                 &n_levels;
+      ar &n_lines        &n_lines_level;
       ar &n_active_lines &n_active_lines_level;
     }
 
@@ -4605,7 +4605,7 @@ namespace internal
     {
       this->NumberCache<1>::serialize(ar, version);
 
-      ar &n_quads &n_quads_level;
+      ar &n_quads        &n_quads_level;
       ar &n_active_quads &n_active_quads_level;
     }
 
@@ -4616,7 +4616,7 @@ namespace internal
     {
       this->NumberCache<2>::serialize(ar, version);
 
-      ar &n_hexes &n_hexes_level;
+      ar &n_hexes        &n_hexes_level;
       ar &n_active_hexes &n_active_hexes_level;
     }
 
@@ -4678,7 +4678,7 @@ void Triangulation<dim, spacedim>::save(Archive &ar, const unsigned int) const
   ar &smooth_grid;
 
   unsigned int n_levels = levels.size();
-  ar &         n_levels;
+  ar          &n_levels;
   for (const auto &level : levels)
     ar &level;
 
@@ -4686,7 +4686,7 @@ void Triangulation<dim, spacedim>::save(Archive &ar, const unsigned int) const
   // at least up to 1.65.1. This causes problems with clang-5.
   // Therefore, work around it.
   bool faces_is_nullptr = (faces.get() == nullptr);
-  ar faces_is_nullptr;
+  ar  &faces_is_nullptr;
   if (!faces_is_nullptr)
     ar &faces;
 
@@ -4720,18 +4720,18 @@ void Triangulation<dim, spacedim>::load(Archive &ar, const unsigned int)
   ar &smooth_grid;
 
   unsigned int size;
-  ar &         size;
+  ar          &size;
   levels.resize(size);
   for (auto &level_ : levels)
     {
       std::unique_ptr<internal::TriangulationImplementation::TriaLevel> level;
-      ar &                                                              level;
+      ar                                                               &level;
       level_ = std::move(level);
     }
 
   // Workaround for nullptr, see in save().
   bool faces_is_nullptr = true;
-  ar faces_is_nullptr;
+  ar  &faces_is_nullptr;
   if (!faces_is_nullptr)
     ar &faces;
 
@@ -4759,7 +4759,7 @@ void Triangulation<dim, spacedim>::load(Archive &ar, const unsigned int)
   reset_policy();
 
   bool my_check_for_distorted_cells;
-  ar my_check_for_distorted_cells;
+  ar  &my_check_for_distorted_cells;
 
   Assert(my_check_for_distorted_cells == check_for_distorted_cells,
          ExcMessage("The triangulation loaded into here must have the "
index 8d9265b90cfc43e2384bc8d7b4df0914f6219633..651415465d9c35ce37343bf712ed79dd9cccec48 100644 (file)
@@ -356,7 +356,7 @@ protected:
   TriaAccessorBase(const Triangulation<dim, spacedim> *parent = nullptr,
                    const int                           level  = -1,
                    const int                           index  = -1,
-                   const AccessorData *                       = nullptr);
+                   const AccessorData                       * = nullptr);
 
   /**
    * Copy constructor. Creates an object with exactly the same data.
@@ -610,7 +610,7 @@ public:
    * semantic sense, and we generate an exception when such an object is
    * actually generated.
    */
-  InvalidAccessor(const void *        parent     = nullptr,
+  InvalidAccessor(const void         *parent     = nullptr,
                   const int           level      = -1,
                   const int           index      = -1,
                   const AccessorData *local_data = nullptr);
@@ -769,7 +769,7 @@ public:
   TriaAccessor(const Triangulation<dim, spacedim> *parent     = nullptr,
                const int                           level      = -1,
                const int                           index      = -1,
-               const AccessorData *                local_data = nullptr);
+               const AccessorData                 *local_data = nullptr);
 
   /**
    * The copy constructor is not deleted but copied constructed elements should
@@ -1953,7 +1953,7 @@ public:
   TriaAccessor(const Triangulation<dim, spacedim> *tria  = nullptr,
                const int                           level = 0,
                const int                           index = 0,
-               const AccessorData *                      = nullptr);
+               const AccessorData                      * = nullptr);
 
   /**
    * Constructor. Should never be called and thus produces an error.
@@ -2393,7 +2393,7 @@ public:
   TriaAccessor(const Triangulation<1, spacedim> *tria = nullptr,
                const int                              = 0,
                const int                              = 0,
-               const AccessorData *                   = nullptr);
+               const AccessorData                   * = nullptr);
 
   /**
    * Constructor. Should never be called and thus produces an error.
@@ -3095,7 +3095,7 @@ public:
   CellAccessor(const Triangulation<dim, spacedim> *parent     = nullptr,
                const int                           level      = -1,
                const int                           index      = -1,
-               const AccessorData *                local_data = nullptr);
+               const AccessorData                 *local_data = nullptr);
 
   /**
    * Copy constructor.
index 56552f8b7c72b8be6bcaedacbd4fd260b5b4d642..a44160463c9c9100a7917d0cd51a8608bc77a63f 100644 (file)
@@ -1253,7 +1253,7 @@ inline TriaAccessor<structdim, dim, spacedim>::TriaAccessor(
   const Triangulation<dim, spacedim> *parent,
   const int                           level,
   const int                           index,
-  const AccessorData *                local_data)
+  const AccessorData                 *local_data)
   : TriaAccessorBase<structdim, dim, spacedim>(parent, level, index, local_data)
 {}
 
@@ -3382,7 +3382,7 @@ inline CellAccessor<dim, spacedim>::CellAccessor(
   const Triangulation<dim, spacedim> *parent,
   const int                           level,
   const int                           index,
-  const AccessorData *                local_data)
+  const AccessorData                 *local_data)
   : TriaAccessor<dim, dim, spacedim>(parent, level, index, local_data)
 {}
 
index bde651db5842edbf31f844d802e656968699519d..e98083245c1628ee6b3674d97e67430b42fa3a49 100644 (file)
@@ -558,7 +558,7 @@ namespace TriangulationDescription
     create_description_from_triangulation(
       const Triangulation<dim, spacedim> &tria,
       const LinearAlgebra::distributed::Vector<double, MemorySpace::Host>
-        &                                      partition,
+                                              &partition,
       const TriangulationDescription::Settings settings =
         TriangulationDescription::Settings::default_setting);
 
@@ -574,7 +574,7 @@ namespace TriangulationDescription
         &partition,
       const std::vector<
         LinearAlgebra::distributed::Vector<double, MemorySpace::Host>>
-        &                                      mg_partitions,
+                                              &mg_partitions,
       const TriangulationDescription::Settings settings =
         TriangulationDescription::Settings::default_setting);
 
@@ -639,7 +639,7 @@ namespace TriangulationDescription
     Description<dim, spacedim>
     create_description_from_triangulation_in_groups(
       const std::function<void(dealii::Triangulation<dim, spacedim> &)>
-        &                                            serial_grid_generator,
+                                                    &serial_grid_generator,
       const std::function<void(dealii::Triangulation<dim, spacedim> &,
                                const MPI_Comm,
                                const unsigned int)> &serial_grid_partitioner,
index 26618e6f8199499e33a529f505e65b45281d7681..953217decd50212e5fcf0a314a271937860843ea 100644 (file)
@@ -150,7 +150,7 @@ namespace internal
     void
     TriaFaces::serialize(Archive &ar, const unsigned int)
     {
-      ar &dim;
+      ar                                        &dim;
       ar &quads &lines &quads_line_orientations &quad_is_quadrilateral;
     }
   } // namespace TriangulationImplementation
index 2474df0e8bc46ac2a68199e07f8d288191279b26..0f452f0fe3747d34d33d9efb92b33f224adb758b 100644 (file)
@@ -298,7 +298,7 @@ public:
     const TriaAccessorBase<Accessor::structure_dimension,
                            Accessor::dimension,
                            Accessor::space_dimension> &tria_accessor,
-    const typename Accessor::AccessorData *            local_data);
+    const typename Accessor::AccessorData             *local_data);
 
   /**
    * Conversion constructor. Same as above with the difference that it
@@ -638,7 +638,7 @@ public:
   TriaIterator(const TriaAccessorBase<Accessor::structure_dimension,
                                       Accessor::dimension,
                                       Accessor::space_dimension> &tria_accessor,
-               const typename Accessor::AccessorData *            local_data);
+               const typename Accessor::AccessorData             *local_data);
 
   /**
    * Similar conversion operator to the above one, but does a check whether
@@ -824,7 +824,7 @@ public:
     const TriaAccessorBase<Accessor::structure_dimension,
                            Accessor::dimension,
                            Accessor::space_dimension> &tria_accessor,
-    const typename Accessor::AccessorData *            local_data);
+    const typename Accessor::AccessorData             *local_data);
 
   /**
    * Similar conversion operator to the above one, but does a check whether
index 6ac6f47f93027100341bd1e622feb2ebae5b39b7..0acc07658add407d18f291aadd478cda34c7fd92 100644 (file)
@@ -63,7 +63,7 @@ inline TriaRawIterator<Accessor>::TriaRawIterator(
   const TriaAccessorBase<Accessor::structure_dimension,
                          Accessor::dimension,
                          Accessor::space_dimension> &tria_accessor,
-  const typename Accessor::AccessorData *            local_data)
+  const typename Accessor::AccessorData             *local_data)
   : accessor(nullptr, -2, -2, local_data)
 {
   accessor.copy_from(tria_accessor);
@@ -105,7 +105,7 @@ inline TriaRawIterator<Accessor>
 TriaRawIterator<Accessor>::operator++(int)
 {
   TriaRawIterator<Accessor> tmp(*this);
-                            operator++();
+  operator++();
 
   return tmp;
 }
@@ -116,7 +116,7 @@ inline TriaRawIterator<Accessor>
 TriaRawIterator<Accessor>::operator--(int)
 {
   TriaRawIterator<Accessor> tmp(*this);
-                            operator--();
+  operator--();
 
   return tmp;
 }
@@ -180,7 +180,7 @@ inline TriaIterator<Accessor>::TriaIterator(
   const TriaAccessorBase<Accessor::structure_dimension,
                          Accessor::dimension,
                          Accessor::space_dimension> &tria_accessor,
-  const typename Accessor::AccessorData *            local_data)
+  const typename Accessor::AccessorData             *local_data)
   : TriaRawIterator<Accessor>(tria_accessor, local_data)
 {
 #ifdef DEBUG
@@ -271,7 +271,7 @@ inline TriaIterator<Accessor>
 TriaIterator<Accessor>::operator++(int)
 {
   TriaIterator<Accessor> tmp(*this);
-                         operator++();
+  operator++();
 
   return tmp;
 }
@@ -294,7 +294,7 @@ inline TriaIterator<Accessor>
 TriaIterator<Accessor>::operator--(int)
 {
   TriaIterator<Accessor> tmp(*this);
-                         operator--();
+  operator--();
 
   return tmp;
 }
@@ -381,7 +381,7 @@ inline TriaActiveIterator<Accessor>::TriaActiveIterator(
   const TriaAccessorBase<Accessor::structure_dimension,
                          Accessor::dimension,
                          Accessor::space_dimension> &tria_accessor,
-  const typename Accessor::AccessorData *            local_data)
+  const typename Accessor::AccessorData             *local_data)
   : TriaIterator<Accessor>(tria_accessor, local_data)
 {
 #ifdef DEBUG
@@ -517,7 +517,7 @@ inline TriaActiveIterator<Accessor>
 TriaActiveIterator<Accessor>::operator++(int)
 {
   TriaActiveIterator<Accessor> tmp(*this);
-                               operator++();
+  operator++();
 
   return tmp;
 }
@@ -540,7 +540,7 @@ inline TriaActiveIterator<Accessor>
 TriaActiveIterator<Accessor>::operator--(int)
 {
   TriaActiveIterator<Accessor> tmp(*this);
-                               operator--();
+  operator--();
 
   return tmp;
 }
index 4f0556ad08b65f5da72d6235554bfe5acaf79cbc..697de8c82de0c7b044d165aa582256e65c17d1da 100644 (file)
@@ -532,15 +532,15 @@ namespace internal
     void
     TriaObjects::serialize(Archive &ar, const unsigned int)
     {
-      ar &structdim;
-      ar &cells &children;
-      ar &       refinement_cases;
-      ar &       used;
-      ar &       user_flags;
-      ar &       boundary_or_material_id;
-      ar &       manifold_id;
+      ar                                   &structdim;
+      ar &cells                            &children;
+      ar                                   &refinement_cases;
+      ar                                   &used;
+      ar                                   &user_flags;
+      ar                                   &boundary_or_material_id;
+      ar                                   &manifold_id;
       ar &next_free_single &next_free_pair &reverse_order_next_free_single;
-      ar &user_data &user_data_type;
+      ar &user_data                        &user_data_type;
     }
 
 
index 5f520d008ad701d164b562ae6a3946f83b63f358..945c2cb480b2aca381ae4369c8e8321e5f7e202a 100644 (file)
@@ -76,7 +76,7 @@ namespace hp
       const MappingCollection<dim, FEValuesType::space_dimension>
         &mapping_collection,
       const FECollection<dim, FEValuesType::space_dimension> &fe_collection,
-      const QCollection<q_dim> &                              q_collection,
+      const QCollection<q_dim>                               &q_collection,
       const UpdateFlags                                       update_flags);
 
     /**
@@ -88,7 +88,7 @@ namespace hp
       const MappingCollection<dim, FEValuesType::space_dimension>
         &mapping_collection,
       const FECollection<dim, FEValuesType::space_dimension> &fe_collection,
-      const std::vector<QCollection<q_dim>> &                 q_collection,
+      const std::vector<QCollection<q_dim>>                  &q_collection,
       const UpdateFlags                                       update_flags);
 
     /**
@@ -98,7 +98,7 @@ namespace hp
      */
     FEValuesBase(
       const FECollection<dim, FEValuesType::space_dimension> &fe_collection,
-      const QCollection<q_dim> &                              q_collection,
+      const QCollection<q_dim>                               &q_collection,
       const UpdateFlags                                       update_flags);
 
     /**
@@ -108,7 +108,7 @@ namespace hp
      */
     FEValuesBase(
       const FECollection<dim, FEValuesType::space_dimension> &fe_collection,
-      const std::vector<QCollection<q_dim>> &                 q_collection,
+      const std::vector<QCollection<q_dim>>                  &q_collection,
       const UpdateFlags                                       update_flags);
 
     /**
@@ -323,8 +323,8 @@ namespace hp
      * Constructor. Initialize this object with the given parameters.
      */
     FEValues(const MappingCollection<dim, spacedim> &mapping_collection,
-             const FECollection<dim, spacedim> &     fe_collection,
-             const QCollection<dim> &                q_collection,
+             const FECollection<dim, spacedim>      &fe_collection,
+             const QCollection<dim>                 &q_collection,
              const UpdateFlags                       update_flags);
 
 
@@ -334,7 +334,7 @@ namespace hp
      * MappingQ(1)) implicitly.
      */
     FEValues(const FECollection<dim, spacedim> &fe_collection,
-             const QCollection<dim> &           q_collection,
+             const QCollection<dim>            &q_collection,
              const UpdateFlags                  update_flags);
 
 
@@ -443,8 +443,8 @@ namespace hp
      * Constructor. Initialize this object with the given parameters.
      */
     FEFaceValues(const hp::MappingCollection<dim, spacedim> &mapping_collection,
-                 const hp::FECollection<dim, spacedim> &     fe_collection,
-                 const hp::QCollection<dim - 1> &            q_collection,
+                 const hp::FECollection<dim, spacedim>      &fe_collection,
+                 const hp::QCollection<dim - 1>             &q_collection,
                  const UpdateFlags                           update_flags);
 
     /**
@@ -457,7 +457,7 @@ namespace hp
      * this quadrature rule is use on all faces.
      */
     FEFaceValues(const hp::MappingCollection<dim, spacedim> &mapping_collection,
-                 const hp::FECollection<dim, spacedim> &     fe_collection,
+                 const hp::FECollection<dim, spacedim>      &fe_collection,
                  const std::vector<hp::QCollection<dim - 1>> &q_collections,
                  const UpdateFlags                            update_flags);
 
@@ -468,7 +468,7 @@ namespace hp
      * MappingQ(1)) implicitly.
      */
     FEFaceValues(const hp::FECollection<dim, spacedim> &fe_collection,
-                 const hp::QCollection<dim - 1> &       q_collection,
+                 const hp::QCollection<dim - 1>        &q_collection,
                  const UpdateFlags                      update_flags);
 
     /**
@@ -480,7 +480,7 @@ namespace hp
      * In the case that the collections only contains a single face quadrature,
      * this quadrature rule is use on all faces.
      */
-    FEFaceValues(const hp::FECollection<dim, spacedim> &      fe_collection,
+    FEFaceValues(const hp::FECollection<dim, spacedim>       &fe_collection,
                  const std::vector<hp::QCollection<dim - 1>> &q_collections,
                  const UpdateFlags                            update_flags);
 
@@ -547,7 +547,7 @@ namespace hp
      */
     template <bool lda>
     void
-    reinit(const TriaIterator<DoFCellAccessor<dim, spacedim, lda>> &   cell,
+    reinit(const TriaIterator<DoFCellAccessor<dim, spacedim, lda>>    &cell,
            const typename Triangulation<dim, spacedim>::face_iterator &face,
            const unsigned int q_index       = numbers::invalid_unsigned_int,
            const unsigned int mapping_index = numbers::invalid_unsigned_int,
@@ -604,8 +604,8 @@ namespace hp
      */
     FESubfaceValues(
       const hp::MappingCollection<dim, spacedim> &mapping_collection,
-      const hp::FECollection<dim, spacedim> &     fe_collection,
-      const hp::QCollection<dim - 1> &            q_collection,
+      const hp::FECollection<dim, spacedim>      &fe_collection,
+      const hp::QCollection<dim - 1>             &q_collection,
       const UpdateFlags                           update_flags);
 
 
@@ -615,7 +615,7 @@ namespace hp
      * MappingQ(1)) implicitly.
      */
     FESubfaceValues(const hp::FECollection<dim, spacedim> &fe_collection,
-                    const hp::QCollection<dim - 1> &       q_collection,
+                    const hp::QCollection<dim - 1>        &q_collection,
                     const UpdateFlags                      update_flags);
 
     /**
index 3049adf976f8012d79a4a3b58d4cd2b69ce5604c..6397fcec2c8a8a2fd37b610c5b1f28d9ee20c59e 100644 (file)
@@ -177,7 +177,7 @@ namespace hp
     template <int dim, int spacedim>
     void
     p_adaptivity_from_flags(const DoFHandler<dim, spacedim> &dof_handler,
-                            const std::vector<bool> &        p_flags);
+                            const std::vector<bool>         &p_flags);
 
     /**
      * Adapt which finite element to use on cells whose criteria meet a certain
@@ -208,7 +208,7 @@ namespace hp
     void
     p_adaptivity_from_absolute_threshold(
       const DoFHandler<dim, spacedim> &dof_handler,
-      const Vector<Number> &           criteria,
+      const Vector<Number>            &criteria,
       const Number                     p_refine_threshold,
       const Number                     p_coarsen_threshold,
       const ComparisonFunction<std_cxx20::type_identity_t<Number>>
@@ -251,7 +251,7 @@ namespace hp
     void
     p_adaptivity_from_relative_threshold(
       const DoFHandler<dim, spacedim> &dof_handler,
-      const Vector<Number> &           criteria,
+      const Vector<Number>            &criteria,
       const double                     p_refine_fraction  = 0.5,
       const double                     p_coarsen_fraction = 0.5,
       const ComparisonFunction<std_cxx20::type_identity_t<Number>>
@@ -295,7 +295,7 @@ namespace hp
     void
     p_adaptivity_fixed_number(
       const DoFHandler<dim, spacedim> &dof_handler,
-      const Vector<Number> &           criteria,
+      const Vector<Number>            &criteria,
       const double                     p_refine_fraction  = 0.5,
       const double                     p_coarsen_fraction = 0.5,
       const ComparisonFunction<std_cxx20::type_identity_t<Number>>
@@ -358,8 +358,8 @@ namespace hp
     void
     p_adaptivity_from_reference(
       const DoFHandler<dim, spacedim> &dof_handler,
-      const Vector<Number> &           criteria,
-      const Vector<Number> &           references,
+      const Vector<Number>            &criteria,
+      const Vector<Number>            &references,
       const ComparisonFunction<std_cxx20::type_identity_t<Number>>
         &compare_refine,
       const ComparisonFunction<std_cxx20::type_identity_t<Number>>
@@ -596,8 +596,8 @@ namespace hp
     template <int dim, typename Number, int spacedim>
     void
     predict_error(const DoFHandler<dim, spacedim> &dof_handler,
-                  const Vector<Number> &           error_indicators,
-                  Vector<Number> &                 predicted_errors,
+                  const Vector<Number>            &error_indicators,
+                  Vector<Number>                  &predicted_errors,
                   const double                     gamma_p = std::sqrt(0.4),
                   const double                     gamma_h = 2.,
                   const double                     gamma_n = 1.);
index c0c2bd359151db27ab1b594922ebc33a3e0fdbaa..357505270954034a6932b34151d7a83ccdf90fb1 100644 (file)
@@ -72,9 +72,9 @@ namespace LocalIntegrators
      */
     template <int dim>
     void
-    cell_matrix(FullMatrix<double> &                        M,
-                const FEValuesBase<dim> &                   fe,
-                const FEValuesBase<dim> &                   fetest,
+    cell_matrix(FullMatrix<double>                         &M,
+                const FEValuesBase<dim>                    &fe,
+                const FEValuesBase<dim>                    &fetest,
                 const ArrayView<const std::vector<double>> &velocity,
                 const double                                factor = 1.)
     {
@@ -128,9 +128,9 @@ namespace LocalIntegrators
      */
     template <int dim>
     inline void
-    cell_residual(Vector<double> &                            result,
-                  const FEValuesBase<dim> &                   fe,
-                  const std::vector<Tensor<1, dim>> &         input,
+    cell_residual(Vector<double>                             &result,
+                  const FEValuesBase<dim>                    &fe,
+                  const std::vector<Tensor<1, dim>>          &input,
                   const ArrayView<const std::vector<double>> &velocity,
                   double                                      factor = 1.)
     {
@@ -171,10 +171,10 @@ namespace LocalIntegrators
      */
     template <int dim>
     inline void
-    cell_residual(Vector<double> &                                    result,
-                  const FEValuesBase<dim> &                           fe,
+    cell_residual(Vector<double>                                     &result,
+                  const FEValuesBase<dim>                            &fe,
                   const ArrayView<const std::vector<Tensor<1, dim>>> &input,
-                  const ArrayView<const std::vector<double>> &        velocity,
+                  const ArrayView<const std::vector<double>>         &velocity,
                   double factor = 1.)
     {
       const unsigned int nq     = fe.n_quadrature_points;
@@ -213,9 +213,9 @@ namespace LocalIntegrators
      */
     template <int dim>
     inline void
-    cell_residual(Vector<double> &                            result,
-                  const FEValuesBase<dim> &                   fe,
-                  const std::vector<double> &                 input,
+    cell_residual(Vector<double>                             &result,
+                  const FEValuesBase<dim>                    &fe,
+                  const std::vector<double>                  &input,
                   const ArrayView<const std::vector<double>> &velocity,
                   double                                      factor = 1.)
     {
@@ -253,8 +253,8 @@ namespace LocalIntegrators
      */
     template <int dim>
     inline void
-    cell_residual(Vector<double> &                            result,
-                  const FEValuesBase<dim> &                   fe,
+    cell_residual(Vector<double>                             &result,
+                  const FEValuesBase<dim>                    &fe,
                   const ArrayView<const std::vector<double>> &input,
                   const ArrayView<const std::vector<double>> &velocity,
                   double                                      factor = 1.)
@@ -307,9 +307,9 @@ namespace LocalIntegrators
      */
     template <int dim>
     void
-    upwind_value_matrix(FullMatrix<double> &                        M,
-                        const FEValuesBase<dim> &                   fe,
-                        const FEValuesBase<dim> &                   fetest,
+    upwind_value_matrix(FullMatrix<double>                         &M,
+                        const FEValuesBase<dim>                    &fe,
+                        const FEValuesBase<dim>                    &fetest,
                         const ArrayView<const std::vector<double>> &velocity,
                         double                                      factor = 1.)
     {
@@ -380,10 +380,10 @@ namespace LocalIntegrators
      */
     template <int dim>
     inline void
-    upwind_value_residual(Vector<double> &                            result,
-                          const FEValuesBase<dim> &                   fe,
-                          const std::vector<double> &                 input,
-                          const std::vector<double> &                 data,
+    upwind_value_residual(Vector<double>                             &result,
+                          const FEValuesBase<dim>                    &fe,
+                          const std::vector<double>                  &input,
+                          const std::vector<double>                  &data,
                           const ArrayView<const std::vector<double>> &velocity,
                           double factor = 1.)
     {
@@ -447,8 +447,8 @@ namespace LocalIntegrators
      */
     template <int dim>
     inline void
-    upwind_value_residual(Vector<double> &                            result,
-                          const FEValuesBase<dim> &                   fe,
+    upwind_value_residual(Vector<double>                             &result,
+                          const FEValuesBase<dim>                    &fe,
                           const ArrayView<const std::vector<double>> &input,
                           const ArrayView<const std::vector<double>> &data,
                           const ArrayView<const std::vector<double>> &velocity,
@@ -514,14 +514,14 @@ namespace LocalIntegrators
      */
     template <int dim>
     void
-    upwind_value_matrix(FullMatrix<double> &                        M11,
-                        FullMatrix<double> &                        M12,
-                        FullMatrix<double> &                        M21,
-                        FullMatrix<double> &                        M22,
-                        const FEValuesBase<dim> &                   fe1,
-                        const FEValuesBase<dim> &                   fe2,
-                        const FEValuesBase<dim> &                   fetest1,
-                        const FEValuesBase<dim> &                   fetest2,
+    upwind_value_matrix(FullMatrix<double>                         &M11,
+                        FullMatrix<double>                         &M12,
+                        FullMatrix<double>                         &M21,
+                        FullMatrix<double>                         &M22,
+                        const FEValuesBase<dim>                    &fe1,
+                        const FEValuesBase<dim>                    &fe2,
+                        const FEValuesBase<dim>                    &fetest1,
+                        const FEValuesBase<dim>                    &fetest2,
                         const ArrayView<const std::vector<double>> &velocity,
                         const double                                factor = 1.)
     {
@@ -599,12 +599,12 @@ namespace LocalIntegrators
      */
     template <int dim>
     void
-    upwind_face_residual(Vector<double> &                            result1,
-                         Vector<double> &                            result2,
-                         const FEValuesBase<dim> &                   fe1,
-                         const FEValuesBase<dim> &                   fe2,
-                         const std::vector<double> &                 input1,
-                         const std::vector<double> &                 input2,
+    upwind_face_residual(Vector<double>                             &result1,
+                         Vector<double>                             &result2,
+                         const FEValuesBase<dim>                    &fe1,
+                         const FEValuesBase<dim>                    &fe2,
+                         const std::vector<double>                  &input1,
+                         const std::vector<double>                  &input2,
                          const ArrayView<const std::vector<double>> &velocity,
                          const double factor = 1.)
     {
@@ -676,10 +676,10 @@ namespace LocalIntegrators
      */
     template <int dim>
     void
-    upwind_face_residual(Vector<double> &                            result1,
-                         Vector<double> &                            result2,
-                         const FEValuesBase<dim> &                   fe1,
-                         const FEValuesBase<dim> &                   fe2,
+    upwind_face_residual(Vector<double>                             &result1,
+                         Vector<double>                             &result2,
+                         const FEValuesBase<dim>                    &fe1,
+                         const FEValuesBase<dim>                    &fe2,
                          const ArrayView<const std::vector<double>> &input1,
                          const ArrayView<const std::vector<double>> &input2,
                          const ArrayView<const std::vector<double>> &velocity,
index 01284a4ef2a64d216e48947bcb8660042f4856a2..b17793d8282723fe2197518949872b7b892ac709 100644 (file)
@@ -51,7 +51,7 @@ namespace LocalIntegrators
      */
     template <int dim>
     void
-    cell_matrix(FullMatrix<double> &     M,
+    cell_matrix(FullMatrix<double>      &M,
                 const FEValuesBase<dim> &fe,
                 const FEValuesBase<dim> &fetest,
                 double                   factor = 1.)
@@ -90,8 +90,8 @@ namespace LocalIntegrators
      */
     template <int dim, typename number>
     void
-    cell_residual(Vector<number> &                                    result,
-                  const FEValuesBase<dim> &                           fetest,
+    cell_residual(Vector<number>                                     &result,
+                  const FEValuesBase<dim>                            &fetest,
                   const ArrayView<const std::vector<Tensor<1, dim>>> &input,
                   const double factor = 1.)
     {
@@ -123,8 +123,8 @@ namespace LocalIntegrators
      */
     template <int dim, typename number>
     void
-    cell_residual(Vector<number> &                            result,
-                  const FEValuesBase<dim> &                   fetest,
+    cell_residual(Vector<number>                             &result,
+                  const FEValuesBase<dim>                    &fetest,
                   const ArrayView<const std::vector<double>> &input,
                   const double                                factor = 1.)
     {
@@ -154,7 +154,7 @@ namespace LocalIntegrators
      */
     template <int dim>
     void
-    gradient_matrix(FullMatrix<double> &     M,
+    gradient_matrix(FullMatrix<double>      &M,
                     const FEValuesBase<dim> &fe,
                     const FEValuesBase<dim> &fetest,
                     double                   factor = 1.)
@@ -194,8 +194,8 @@ namespace LocalIntegrators
      */
     template <int dim, typename number>
     void
-    gradient_residual(Vector<number> &                   result,
-                      const FEValuesBase<dim> &          fetest,
+    gradient_residual(Vector<number>                    &result,
+                      const FEValuesBase<dim>           &fetest,
                       const std::vector<Tensor<1, dim>> &input,
                       const double                       factor = 1.)
     {
@@ -227,8 +227,8 @@ namespace LocalIntegrators
      */
     template <int dim, typename number>
     void
-    gradient_residual(Vector<number> &           result,
-                      const FEValuesBase<dim> &  fetest,
+    gradient_residual(Vector<number>            &result,
+                      const FEValuesBase<dim>   &fetest,
                       const std::vector<double> &input,
                       const double               factor = 1.)
     {
@@ -256,7 +256,7 @@ namespace LocalIntegrators
      */
     template <int dim>
     void
-    u_dot_n_matrix(FullMatrix<double> &     M,
+    u_dot_n_matrix(FullMatrix<double>      &M,
                    const FEValuesBase<dim> &fe,
                    const FEValuesBase<dim> &fetest,
                    double                   factor = 1.)
@@ -289,9 +289,9 @@ namespace LocalIntegrators
      */
     template <int dim, typename number>
     void
-    u_dot_n_residual(Vector<number> &                            result,
-                     const FEValuesBase<dim> &                   fe,
-                     const FEValuesBase<dim> &                   fetest,
+    u_dot_n_residual(Vector<number>                             &result,
+                     const FEValuesBase<dim>                    &fe,
+                     const FEValuesBase<dim>                    &fetest,
                      const ArrayView<const std::vector<double>> &data,
                      double                                      factor = 1.)
     {
@@ -321,8 +321,8 @@ namespace LocalIntegrators
      */
     template <int dim, typename number>
     void
-    u_times_n_residual(Vector<number> &           result,
-                       const FEValuesBase<dim> &  fetest,
+    u_times_n_residual(Vector<number>            &result,
+                       const FEValuesBase<dim>   &fetest,
                        const std::vector<double> &data,
                        double                     factor = 1.)
     {
@@ -355,10 +355,10 @@ namespace LocalIntegrators
      */
     template <int dim>
     void
-    u_dot_n_matrix(FullMatrix<double> &     M11,
-                   FullMatrix<double> &     M12,
-                   FullMatrix<double> &     M21,
-                   FullMatrix<double> &     M22,
+    u_dot_n_matrix(FullMatrix<double>      &M11,
+                   FullMatrix<double>      &M12,
+                   FullMatrix<double>      &M21,
+                   FullMatrix<double>      &M22,
                    const FEValuesBase<dim> &fe1,
                    const FEValuesBase<dim> &fe2,
                    const FEValuesBase<dim> &fetest1,
@@ -414,10 +414,10 @@ namespace LocalIntegrators
      */
     template <int dim>
     void
-    u_dot_n_jump_matrix(FullMatrix<double> &     M11,
-                        FullMatrix<double> &     M12,
-                        FullMatrix<double> &     M21,
-                        FullMatrix<double> &     M22,
+    u_dot_n_jump_matrix(FullMatrix<double>      &M11,
+                        FullMatrix<double>      &M12,
+                        FullMatrix<double>      &M21,
+                        FullMatrix<double>      &M22,
                         const FEValuesBase<dim> &fe1,
                         const FEValuesBase<dim> &fe2,
                         double                   factor = 1.)
@@ -469,7 +469,7 @@ namespace LocalIntegrators
      */
     template <int dim>
     double
-    norm(const FEValuesBase<dim> &                           fe,
+    norm(const FEValuesBase<dim>                            &fe,
          const ArrayView<const std::vector<Tensor<1, dim>>> &Du)
     {
       AssertDimension(fe.get_fe().n_components(), dim);
index 8091ebc620bf2046985deb533c3d20a61ff80a5f..a404edfa689adfa7196469b5407dde7c4bd30945 100644 (file)
@@ -48,7 +48,7 @@ namespace LocalIntegrators
      */
     template <int dim>
     inline void
-    cell_matrix(FullMatrix<double> &     M,
+    cell_matrix(FullMatrix<double>      &M,
                 const FEValuesBase<dim> &fe,
                 const double             factor = 1.)
     {
@@ -81,8 +81,8 @@ namespace LocalIntegrators
      */
     template <int dim, typename number>
     inline void
-    cell_residual(Vector<number> &                                    result,
-                  const FEValuesBase<dim> &                           fe,
+    cell_residual(Vector<number>                                     &result,
+                  const FEValuesBase<dim>                            &fe,
                   const ArrayView<const std::vector<Tensor<1, dim>>> &input,
                   double factor = 1.)
     {
@@ -120,7 +120,7 @@ namespace LocalIntegrators
      */
     template <int dim>
     inline void
-    nitsche_matrix(FullMatrix<double> &     M,
+    nitsche_matrix(FullMatrix<double>      &M,
                    const FEValuesBase<dim> &fe,
                    double                   penalty,
                    double                   factor = 1.)
@@ -175,7 +175,7 @@ namespace LocalIntegrators
      */
     template <int dim>
     inline void
-    nitsche_tangential_matrix(FullMatrix<double> &     M,
+    nitsche_tangential_matrix(FullMatrix<double>      &M,
                               const FEValuesBase<dim> &fe,
                               double                   penalty,
                               double                   factor = 1.)
@@ -254,11 +254,11 @@ namespace LocalIntegrators
      */
     template <int dim, typename number>
     void
-    nitsche_residual(Vector<number> &                                    result,
-                     const FEValuesBase<dim> &                           fe,
-                     const ArrayView<const std::vector<double>> &        input,
+    nitsche_residual(Vector<number>                                     &result,
+                     const FEValuesBase<dim>                            &fe,
+                     const ArrayView<const std::vector<double>>         &input,
                      const ArrayView<const std::vector<Tensor<1, dim>>> &Dinput,
-                     const ArrayView<const std::vector<double>> &        data,
+                     const ArrayView<const std::vector<double>>         &data,
                      double penalty,
                      double factor = 1.)
     {
@@ -307,11 +307,11 @@ namespace LocalIntegrators
     template <int dim, typename number>
     inline void
     nitsche_tangential_residual(
-      Vector<number> &                                    result,
-      const FEValuesBase<dim> &                           fe,
-      const ArrayView<const std::vector<double>> &        input,
+      Vector<number>                                     &result,
+      const FEValuesBase<dim>                            &fe,
+      const ArrayView<const std::vector<double>>         &input,
       const ArrayView<const std::vector<Tensor<1, dim>>> &Dinput,
-      const ArrayView<const std::vector<double>> &        data,
+      const ArrayView<const std::vector<double>>         &data,
       double                                              penalty,
       double                                              factor = 1.)
     {
@@ -385,9 +385,9 @@ namespace LocalIntegrators
     template <int dim, typename number>
     void
     nitsche_residual_homogeneous(
-      Vector<number> &                                    result,
-      const FEValuesBase<dim> &                           fe,
-      const ArrayView<const std::vector<double>> &        input,
+      Vector<number>                                     &result,
+      const FEValuesBase<dim>                            &fe,
+      const ArrayView<const std::vector<double>>         &input,
       const ArrayView<const std::vector<Tensor<1, dim>>> &Dinput,
       double                                              penalty,
       double                                              factor = 1.)
@@ -429,10 +429,10 @@ namespace LocalIntegrators
      */
     template <int dim>
     inline void
-    ip_matrix(FullMatrix<double> &     M11,
-              FullMatrix<double> &     M12,
-              FullMatrix<double> &     M21,
-              FullMatrix<double> &     M22,
+    ip_matrix(FullMatrix<double>      &M11,
+              FullMatrix<double>      &M12,
+              FullMatrix<double>      &M21,
+              FullMatrix<double>      &M22,
               const FEValuesBase<dim> &fe1,
               const FEValuesBase<dim> &fe2,
               const double             pen,
@@ -537,13 +537,13 @@ namespace LocalIntegrators
      */
     template <int dim, typename number>
     void
-    ip_residual(Vector<number> &                                    result1,
-                Vector<number> &                                    result2,
-                const FEValuesBase<dim> &                           fe1,
-                const FEValuesBase<dim> &                           fe2,
-                const ArrayView<const std::vector<double>> &        input1,
+    ip_residual(Vector<number>                                     &result1,
+                Vector<number>                                     &result2,
+                const FEValuesBase<dim>                            &fe1,
+                const FEValuesBase<dim>                            &fe2,
+                const ArrayView<const std::vector<double>>         &input1,
                 const ArrayView<const std::vector<Tensor<1, dim>>> &Dinput1,
-                const ArrayView<const std::vector<double>> &        input2,
+                const ArrayView<const std::vector<double>>         &input2,
                 const ArrayView<const std::vector<Tensor<1, dim>>> &Dinput2,
                 double                                              pen,
                 double int_factor = 1.,
index 87351cb8d3f35b262a01b66a5f6d20f050fa740e..82b5ad1ed128fff4b69d82da366bba2a872b4f90 100644 (file)
@@ -49,7 +49,7 @@ namespace LocalIntegrators
      */
     template <int dim>
     void
-    cell_matrix(FullMatrix<double> &     M,
+    cell_matrix(FullMatrix<double>      &M,
                 const FEValuesBase<dim> &fe,
                 double                   factor = 1.)
     {
@@ -83,8 +83,8 @@ namespace LocalIntegrators
      */
     template <int dim, typename number>
     void
-    cell_residual(Vector<number> &                                    result,
-                  const FEValuesBase<dim> &                           fetest,
+    cell_residual(Vector<number>                                     &result,
+                  const FEValuesBase<dim>                            &fetest,
                   const ArrayView<const std::vector<Tensor<1, dim>>> &input,
                   const double factor = 1.)
     {
@@ -119,7 +119,7 @@ namespace LocalIntegrators
      */
     template <int dim>
     inline void
-    nitsche_matrix(FullMatrix<double> &     M,
+    nitsche_matrix(FullMatrix<double>      &M,
                    const FEValuesBase<dim> &fe,
                    double                   penalty,
                    double                   factor = 1.)
@@ -171,11 +171,11 @@ namespace LocalIntegrators
      */
     template <int dim>
     void
-    nitsche_residual(Vector<double> &                                    result,
-                     const FEValuesBase<dim> &                           fe,
-                     const ArrayView<const std::vector<double>> &        input,
+    nitsche_residual(Vector<double>                                     &result,
+                     const FEValuesBase<dim>                            &fe,
+                     const ArrayView<const std::vector<double>>         &input,
                      const ArrayView<const std::vector<Tensor<1, dim>>> &Dinput,
-                     const ArrayView<const std::vector<double>> &        data,
+                     const ArrayView<const std::vector<double>>         &data,
                      double penalty,
                      double factor = 1.)
     {
@@ -219,10 +219,10 @@ namespace LocalIntegrators
 
     template <int dim>
     void
-    ip_matrix(FullMatrix<double> &     M11,
-              FullMatrix<double> &     M12,
-              FullMatrix<double> &     M21,
-              FullMatrix<double> &     M22,
+    ip_matrix(FullMatrix<double>      &M11,
+              FullMatrix<double>      &M12,
+              FullMatrix<double>      &M21,
+              FullMatrix<double>      &M22,
               const FEValuesBase<dim> &fe1,
               const FEValuesBase<dim> &fe2,
               double                   penalty,
@@ -299,13 +299,13 @@ namespace LocalIntegrators
      */
     template <int dim>
     void
-    ip_residual(Vector<double> &                                    result1,
-                Vector<double> &                                    result2,
-                const FEValuesBase<dim> &                           fe1,
-                const FEValuesBase<dim> &                           fe2,
-                const ArrayView<const std::vector<double>> &        input1,
+    ip_residual(Vector<double>                                     &result1,
+                Vector<double>                                     &result2,
+                const FEValuesBase<dim>                            &fe1,
+                const FEValuesBase<dim>                            &fe2,
+                const ArrayView<const std::vector<double>>         &input1,
                 const ArrayView<const std::vector<Tensor<1, dim>>> &Dinput1,
-                const ArrayView<const std::vector<double>> &        input2,
+                const ArrayView<const std::vector<double>>         &input2,
                 const ArrayView<const std::vector<Tensor<1, dim>>> &Dinput2,
                 double                                              pen,
                 double int_factor = 1.,
index a417e2ed5d20a630d488ef6e9e5e4c9392745fe3..ee5eecb8ea06bef299ba28898e0343efa763a24a 100644 (file)
@@ -55,7 +55,7 @@ namespace LocalIntegrators
      */
     template <int dim>
     void
-    mass_matrix(FullMatrix<double> &     M,
+    mass_matrix(FullMatrix<double>      &M,
                 const FEValuesBase<dim> &fe,
                 const double             factor = 1.)
     {
@@ -106,8 +106,8 @@ namespace LocalIntegrators
      */
     template <int dim>
     void
-    weighted_mass_matrix(FullMatrix<double> &       M,
-                         const FEValuesBase<dim> &  fe,
+    weighted_mass_matrix(FullMatrix<double>        &M,
+                         const FEValuesBase<dim>   &fe,
                          const std::vector<double> &weights)
     {
       const unsigned int n_dofs       = fe.dofs_per_cell;
@@ -157,8 +157,8 @@ namespace LocalIntegrators
      */
     template <int dim, typename number>
     void
-    L2(Vector<number> &           result,
-       const FEValuesBase<dim> &  fe,
+    L2(Vector<number>            &result,
+       const FEValuesBase<dim>   &fe,
        const std::vector<double> &input,
        const double               factor = 1.)
     {
@@ -187,8 +187,8 @@ namespace LocalIntegrators
      */
     template <int dim, typename number>
     void
-    L2(Vector<number> &                            result,
-       const FEValuesBase<dim> &                   fe,
+    L2(Vector<number>                             &result,
+       const FEValuesBase<dim>                    &fe,
        const ArrayView<const std::vector<double>> &input,
        const double                                factor = 1.)
     {
@@ -235,10 +235,10 @@ namespace LocalIntegrators
      */
     template <int dim>
     void
-    jump_matrix(FullMatrix<double> &     M11,
-                FullMatrix<double> &     M12,
-                FullMatrix<double> &     M21,
-                FullMatrix<double> &     M22,
+    jump_matrix(FullMatrix<double>      &M11,
+                FullMatrix<double>      &M12,
+                FullMatrix<double>      &M21,
+                FullMatrix<double>      &M22,
                 const FEValuesBase<dim> &fe1,
                 const FEValuesBase<dim> &fe2,
                 const double             factor1 = 1.,
index c6371df2d6b92ea56272af2389da8d9061a438a5..88a099d64e813d101ce09ff1644ccdcda6d30369 100644 (file)
@@ -49,7 +49,7 @@ namespace LocalIntegrators
      */
     template <int dim>
     void
-    cell_matrix(FullMatrix<double> &     M,
+    cell_matrix(FullMatrix<double>      &M,
                 const FEValuesBase<dim> &fe,
                 const double             factor = 1.)
     {
@@ -89,8 +89,8 @@ namespace LocalIntegrators
      */
     template <int dim>
     inline void
-    cell_residual(Vector<double> &                   result,
-                  const FEValuesBase<dim> &          fe,
+    cell_residual(Vector<double>                    &result,
+                  const FEValuesBase<dim>           &fe,
                   const std::vector<Tensor<1, dim>> &input,
                   double                             factor = 1.)
     {
@@ -116,8 +116,8 @@ namespace LocalIntegrators
      */
     template <int dim>
     inline void
-    cell_residual(Vector<double> &                                    result,
-                  const FEValuesBase<dim> &                           fe,
+    cell_residual(Vector<double>                                     &result,
+                  const FEValuesBase<dim>                            &fe,
                   const ArrayView<const std::vector<Tensor<1, dim>>> &input,
                   double factor = 1.)
     {
@@ -154,7 +154,7 @@ namespace LocalIntegrators
      */
     template <int dim>
     void
-    nitsche_matrix(FullMatrix<double> &     M,
+    nitsche_matrix(FullMatrix<double>      &M,
                    const FEValuesBase<dim> &fe,
                    double                   penalty,
                    double                   factor = 1.)
@@ -195,7 +195,7 @@ namespace LocalIntegrators
      */
     template <int dim>
     void
-    nitsche_tangential_matrix(FullMatrix<double> &     M,
+    nitsche_tangential_matrix(FullMatrix<double>      &M,
                               const FEValuesBase<dim> &fe,
                               double                   penalty,
                               double                   factor = 1.)
@@ -258,11 +258,11 @@ namespace LocalIntegrators
      */
     template <int dim>
     void
-    nitsche_residual(Vector<double> &                   result,
-                     const FEValuesBase<dim> &          fe,
-                     const std::vector<double> &        input,
+    nitsche_residual(Vector<double>                    &result,
+                     const FEValuesBase<dim>           &fe,
+                     const std::vector<double>         &input,
                      const std::vector<Tensor<1, dim>> &Dinput,
-                     const std::vector<double> &        data,
+                     const std::vector<double>         &data,
                      double                             penalty,
                      double                             factor = 1.)
     {
@@ -305,11 +305,11 @@ namespace LocalIntegrators
      */
     template <int dim>
     void
-    nitsche_residual(Vector<double> &                                    result,
-                     const FEValuesBase<dim> &                           fe,
-                     const ArrayView<const std::vector<double>> &        input,
+    nitsche_residual(Vector<double>                                     &result,
+                     const FEValuesBase<dim>                            &fe,
+                     const ArrayView<const std::vector<double>>         &input,
                      const ArrayView<const std::vector<Tensor<1, dim>>> &Dinput,
-                     const ArrayView<const std::vector<double>> &        data,
+                     const ArrayView<const std::vector<double>>         &data,
                      double penalty,
                      double factor = 1.)
     {
@@ -356,10 +356,10 @@ namespace LocalIntegrators
      */
     template <int dim>
     void
-    ip_matrix(FullMatrix<double> &     M11,
-              FullMatrix<double> &     M12,
-              FullMatrix<double> &     M21,
-              FullMatrix<double> &     M22,
+    ip_matrix(FullMatrix<double>      &M11,
+              FullMatrix<double>      &M12,
+              FullMatrix<double>      &M21,
+              FullMatrix<double>      &M22,
               const FEValuesBase<dim> &fe1,
               const FEValuesBase<dim> &fe2,
               double                   penalty,
@@ -429,10 +429,10 @@ namespace LocalIntegrators
      */
     template <int dim>
     void
-    ip_tangential_matrix(FullMatrix<double> &     M11,
-                         FullMatrix<double> &     M12,
-                         FullMatrix<double> &     M21,
-                         FullMatrix<double> &     M22,
+    ip_tangential_matrix(FullMatrix<double>      &M11,
+                         FullMatrix<double>      &M12,
+                         FullMatrix<double>      &M21,
+                         FullMatrix<double>      &M22,
                          const FEValuesBase<dim> &fe1,
                          const FEValuesBase<dim> &fe2,
                          double                   penalty,
@@ -541,13 +541,13 @@ namespace LocalIntegrators
      */
     template <int dim>
     void
-    ip_residual(Vector<double> &                   result1,
-                Vector<double> &                   result2,
-                const FEValuesBase<dim> &          fe1,
-                const FEValuesBase<dim> &          fe2,
-                const std::vector<double> &        input1,
+    ip_residual(Vector<double>                    &result1,
+                Vector<double>                    &result2,
+                const FEValuesBase<dim>           &fe1,
+                const FEValuesBase<dim>           &fe2,
+                const std::vector<double>         &input1,
                 const std::vector<Tensor<1, dim>> &Dinput1,
-                const std::vector<double> &        input2,
+                const std::vector<double>         &input2,
                 const std::vector<Tensor<1, dim>> &Dinput2,
                 double                             pen,
                 double                             int_factor = 1.,
@@ -608,13 +608,13 @@ namespace LocalIntegrators
      */
     template <int dim>
     void
-    ip_residual(Vector<double> &                                    result1,
-                Vector<double> &                                    result2,
-                const FEValuesBase<dim> &                           fe1,
-                const FEValuesBase<dim> &                           fe2,
-                const ArrayView<const std::vector<double>> &        input1,
+    ip_residual(Vector<double>                                     &result1,
+                Vector<double>                                     &result2,
+                const FEValuesBase<dim>                            &fe1,
+                const FEValuesBase<dim>                            &fe2,
+                const ArrayView<const std::vector<double>>         &input1,
                 const ArrayView<const std::vector<Tensor<1, dim>>> &Dinput1,
-                const ArrayView<const std::vector<double>> &        input2,
+                const ArrayView<const std::vector<double>>         &input2,
                 const ArrayView<const std::vector<Tensor<1, dim>>> &Dinput2,
                 double                                              pen,
                 double int_factor = 1.,
index be155c0df1c3f2c0aea0702cc37009bb266ad71d..88d79cf95fafe7aa96e88096ec7ff8b770cbc916 100644 (file)
@@ -160,7 +160,7 @@ namespace LocalIntegrators
      */
     template <int dim>
     void
-    curl_curl_matrix(FullMatrix<double> &     M,
+    curl_curl_matrix(FullMatrix<double>      &M,
                      const FEValuesBase<dim> &fe,
                      const double             factor = 1.)
     {
@@ -213,7 +213,7 @@ namespace LocalIntegrators
      */
     template <int dim>
     void
-    curl_matrix(FullMatrix<double> &     M,
+    curl_matrix(FullMatrix<double>      &M,
                 const FEValuesBase<dim> &fe,
                 const FEValuesBase<dim> &fetest,
                 double                   factor = 1.)
@@ -262,7 +262,7 @@ namespace LocalIntegrators
      */
     template <int dim>
     void
-    nitsche_curl_matrix(FullMatrix<double> &     M,
+    nitsche_curl_matrix(FullMatrix<double>      &M,
                         const FEValuesBase<dim> &fe,
                         const unsigned int       face_no,
                         double                   penalty,
@@ -325,7 +325,7 @@ namespace LocalIntegrators
      */
     template <int dim>
     void
-    tangential_trace_matrix(FullMatrix<double> &     M,
+    tangential_trace_matrix(FullMatrix<double>      &M,
                             const FEValuesBase<dim> &fe,
                             double                   factor = 1.)
     {
@@ -382,10 +382,10 @@ namespace LocalIntegrators
      */
     template <int dim>
     inline void
-    ip_curl_matrix(FullMatrix<double> &     M11,
-                   FullMatrix<double> &     M12,
-                   FullMatrix<double> &     M21,
-                   FullMatrix<double> &     M22,
+    ip_curl_matrix(FullMatrix<double>      &M11,
+                   FullMatrix<double>      &M12,
+                   FullMatrix<double>      &M21,
+                   FullMatrix<double>      &M22,
                    const FEValuesBase<dim> &fe1,
                    const FEValuesBase<dim> &fe2,
                    const double             pen,
index 2a746736d7ecb728a4930379ded38ba2c82eba68..523a16d2dd58b66014c6064030b9b751e86ada59 100644 (file)
@@ -38,8 +38,8 @@ namespace LocalIntegrators
   {
     template <int dim>
     inline void
-    points_and_values(Table<2, double> &                          result,
-                      const FEValuesBase<dim> &                   fe,
+    points_and_values(Table<2, double>                           &result,
+                      const FEValuesBase<dim>                    &fe,
                       const ArrayView<const std::vector<double>> &input)
     {
       const unsigned int n_comp = fe.get_fe().n_components();
index 745130c139c1c2c59ae224f8e2fe005740be23aa..b1536cf5676b5d9c1e523f0c626e19d79a61bb1b 100644 (file)
@@ -413,17 +413,17 @@ namespace internal
     template <typename VectorType>
     void
     set_zero_all(const std::vector<types::global_dof_index> &cm,
-                 VectorType &                                vec);
+                 VectorType                                 &vec);
 
     template <class T>
     void
     set_zero_all(const std::vector<types::global_dof_index> &cm,
-                 dealii::Vector<T> &                         vec);
+                 dealii::Vector<T>                          &vec);
 
     template <class T>
     void
     set_zero_all(const std::vector<types::global_dof_index> &cm,
-                 dealii::BlockVector<T> &                    vec);
+                 dealii::BlockVector<T>                     &vec);
   } // namespace AffineConstraintsImplementation
 } // namespace internal
 #endif
@@ -668,7 +668,7 @@ public:
    */
   void
   add_selected_constraints(const AffineConstraints &constraints_in,
-                           const IndexSet &         filter);
+                           const IndexSet          &filter);
 
   /**
    * @name Adding constraints
@@ -1209,9 +1209,9 @@ public:
    */
   template <class InVector, class OutVector>
   void
-  distribute_local_to_global(const InVector &              local_vector,
+  distribute_local_to_global(const InVector               &local_vector,
                              const std::vector<size_type> &local_dof_indices,
-                             OutVector &                   global_vector) const;
+                             OutVector                    &global_vector) const;
 
   /**
    * This function takes a vector of local contributions (@p local_vector)
@@ -1262,10 +1262,10 @@ public:
    */
   template <typename VectorType>
   void
-  distribute_local_to_global(const Vector<number> &        local_vector,
+  distribute_local_to_global(const Vector<number>         &local_vector,
                              const std::vector<size_type> &local_dof_indices,
-                             VectorType &                  global_vector,
-                             const FullMatrix<number> &    local_matrix) const;
+                             VectorType                   &global_vector,
+                             const FullMatrix<number>     &local_matrix) const;
 
   /**
    * Same as the previous function, except that it uses two (possibly) different
@@ -1289,11 +1289,11 @@ public:
   template <typename VectorType>
   void
   distribute_local_to_global(
-    const Vector<number> &        local_vector,
+    const Vector<number>         &local_vector,
     const std::vector<size_type> &local_dof_indices_row,
     const std::vector<size_type> &local_dof_indices_col,
-    VectorType &                  global_vector,
-    const FullMatrix<number> &    local_matrix,
+    VectorType                   &global_vector,
+    const FullMatrix<number>     &local_matrix,
     bool                          diagonal = false) const;
 
   /**
@@ -1303,7 +1303,7 @@ public:
   void
   distribute_local_to_global(const size_type index,
                              const number    value,
-                             VectorType &    global_vector) const;
+                             VectorType     &global_vector) const;
 
   /**
    * This function takes a pointer to a vector of local contributions (@p
@@ -1344,7 +1344,7 @@ public:
   distribute_local_to_global(ForwardIteratorVec local_vector_begin,
                              ForwardIteratorVec local_vector_end,
                              ForwardIteratorInd local_indices_begin,
-                             VectorType &       global_vector) const;
+                             VectorType        &global_vector) const;
 
   /**
    * This function takes a matrix of local contributions (@p local_matrix)
@@ -1399,9 +1399,9 @@ public:
    */
   template <typename MatrixType>
   void
-  distribute_local_to_global(const FullMatrix<number> &    local_matrix,
+  distribute_local_to_global(const FullMatrix<number>     &local_matrix,
                              const std::vector<size_type> &local_dof_indices,
-                             MatrixType &                  global_matrix) const;
+                             MatrixType                   &global_matrix) const;
 
   /**
    * This function does almost the same as the function above but can treat
@@ -1432,10 +1432,10 @@ public:
    */
   template <typename MatrixType>
   void
-  distribute_local_to_global(const FullMatrix<number> &    local_matrix,
+  distribute_local_to_global(const FullMatrix<number>     &local_matrix,
                              const std::vector<size_type> &row_indices,
                              const std::vector<size_type> &col_indices,
-                             MatrixType &                  global_matrix) const;
+                             MatrixType                   &global_matrix) const;
 
   /**
    * This function does almost the same as the function above for general
@@ -1455,11 +1455,11 @@ public:
    */
   template <typename MatrixType>
   void
-  distribute_local_to_global(const FullMatrix<number> &    local_matrix,
+  distribute_local_to_global(const FullMatrix<number>     &local_matrix,
                              const std::vector<size_type> &row_indices,
                              const AffineConstraints &column_affine_constraints,
                              const std::vector<size_type> &column_indices,
-                             MatrixType &                  global_matrix) const;
+                             MatrixType                   &global_matrix) const;
 
   /**
    * This function simultaneously writes elements into matrix and vector,
@@ -1483,11 +1483,11 @@ public:
    */
   template <typename MatrixType, typename VectorType>
   void
-  distribute_local_to_global(const FullMatrix<number> &    local_matrix,
-                             const Vector<number> &        local_vector,
+  distribute_local_to_global(const FullMatrix<number>     &local_matrix,
+                             const Vector<number>         &local_vector,
                              const std::vector<size_type> &local_dof_indices,
-                             MatrixType &                  global_matrix,
-                             VectorType &                  global_vector,
+                             MatrixType                   &global_matrix,
+                             VectorType                   &global_vector,
                              bool use_inhomogeneities_for_rhs = false) const;
 
   /**
@@ -1546,9 +1546,9 @@ public:
   void
   add_entries_local_to_global(
     const std::vector<size_type> &local_dof_indices,
-    SparsityPatternBase &         sparsity_pattern,
+    SparsityPatternBase          &sparsity_pattern,
     const bool                    keep_constrained_entries = true,
-    const Table<2, bool> &        dof_mask = Table<2, bool>()) const;
+    const Table<2, bool>         &dof_mask = Table<2, bool>()) const;
 
   /**
    * Similar to the other function, but for non-quadratic sparsity patterns.
@@ -1557,9 +1557,9 @@ public:
   add_entries_local_to_global(
     const std::vector<size_type> &row_indices,
     const std::vector<size_type> &col_indices,
-    SparsityPatternBase &         sparsity_pattern,
+    SparsityPatternBase          &sparsity_pattern,
     const bool                    keep_constrained_entries = true,
-    const Table<2, bool> &        dof_mask = Table<2, bool>()) const;
+    const Table<2, bool>         &dof_mask = Table<2, bool>()) const;
 
   /**
    * Similar to the other function, but for non-quadratic sparsity patterns, and
@@ -1567,12 +1567,12 @@ public:
    */
   void
   add_entries_local_to_global(
-    const std::vector<size_type> &   row_indices,
+    const std::vector<size_type>    &row_indices,
     const AffineConstraints<number> &col_constraints,
-    const std::vector<size_type> &   col_indices,
-    SparsityPatternBase &            sparsity_pattern,
+    const std::vector<size_type>    &col_indices,
+    SparsityPatternBase             &sparsity_pattern,
     const bool                       keep_constrained_entries = true,
-    const Table<2, bool> &           dof_mask = Table<2, bool>()) const;
+    const Table<2, bool>            &dof_mask = Table<2, bool>()) const;
 
   /**
    * This function imports values from a global vector (@p global_vector) by
@@ -1597,7 +1597,7 @@ public:
             typename ForwardIteratorInd,
             typename VectorType>
   void
-  get_dof_values(const VectorType global_vector,
+  get_dof_values(const VectorType  &global_vector,
                  ForwardIteratorInd local_indices_begin,
                  ForwardIteratorVec local_vector_begin,
                  ForwardIteratorVec local_vector_end) const;
@@ -1775,7 +1775,7 @@ public:
    */
   bool
   is_consistent_in_parallel(const std::vector<IndexSet> &locally_owned_dofs,
-                            const IndexSet &             locally_active_dofs,
+                            const IndexSet              &locally_active_dofs,
                             const MPI_Comm               mpi_communicator,
                             const bool                   verbose = false) const;
 
@@ -1976,11 +1976,11 @@ private:
    */
   template <typename MatrixType, typename VectorType>
   void
-  distribute_local_to_global(const FullMatrix<number> &    local_matrix,
-                             const Vector<number> &        local_vector,
+  distribute_local_to_global(const FullMatrix<number>     &local_matrix,
+                             const Vector<number>         &local_vector,
                              const std::vector<size_type> &local_dof_indices,
-                             MatrixType &                  global_matrix,
-                             VectorType &                  global_vector,
+                             MatrixType                   &global_matrix,
+                             VectorType                   &global_vector,
                              const bool use_inhomogeneities_for_rhs,
                              const std::integral_constant<bool, false>) const;
 
@@ -1990,11 +1990,11 @@ private:
    */
   template <typename MatrixType, typename VectorType>
   void
-  distribute_local_to_global(const FullMatrix<number> &    local_matrix,
-                             const Vector<number> &        local_vector,
+  distribute_local_to_global(const FullMatrix<number>     &local_matrix,
+                             const Vector<number>         &local_vector,
                              const std::vector<size_type> &local_dof_indices,
-                             MatrixType &                  global_matrix,
-                             VectorType &                  global_vector,
+                             MatrixType                   &global_matrix,
+                             VectorType                   &global_vector,
                              const bool use_inhomogeneities_for_rhs,
                              const std::integral_constant<bool, true>) const;
 
@@ -2019,7 +2019,7 @@ private:
    */
   void
   make_sorted_row_list(const std::vector<size_type> &local_dof_indices,
-                       std::vector<size_type> &      active_dofs) const;
+                       std::vector<size_type>       &active_dofs) const;
 
   /**
    * Internal helper function for distribute_local_to_global function.
@@ -2029,8 +2029,8 @@ private:
   resolve_vector_entry(
     const size_type                                                 i,
     const internal::AffineConstraints::GlobalRowsFromLocal<number> &global_rows,
-    const Vector<VectorScalar> &    local_vector,
-    const std::vector<size_type> &  local_dof_indices,
+    const Vector<VectorScalar>     &local_vector,
+    const std::vector<size_type>   &local_dof_indices,
     const FullMatrix<MatrixScalar> &local_matrix) const;
 };
 
@@ -2299,7 +2299,7 @@ inline void
 AffineConstraints<number>::distribute_local_to_global(
   const size_type index,
   const number    value,
-  VectorType &    global_vector) const
+  VectorType     &global_vector) const
 {
   Assert(lines.empty() || sorted == true, ExcMatrixNotClosed());
 
@@ -2324,7 +2324,7 @@ AffineConstraints<number>::distribute_local_to_global(
   ForwardIteratorVec local_vector_begin,
   ForwardIteratorVec local_vector_end,
   ForwardIteratorInd local_indices_begin,
-  VectorType &       global_vector) const
+  VectorType        &global_vector) const
 {
   Assert(lines.empty() || sorted == true, ExcMatrixNotClosed());
   for (; local_vector_begin != local_vector_end;
@@ -2351,9 +2351,9 @@ template <typename number>
 template <class InVector, class OutVector>
 inline void
 AffineConstraints<number>::distribute_local_to_global(
-  const InVector &              local_vector,
+  const InVector               &local_vector,
   const std::vector<size_type> &local_dof_indices,
-  OutVector &                   global_vector) const
+  OutVector                    &global_vector) const
 {
   Assert(local_vector.size() == local_dof_indices.size(),
          ExcDimensionMismatch(local_vector.size(), local_dof_indices.size()));
@@ -2369,7 +2369,7 @@ template <typename ForwardIteratorVec,
           typename VectorType>
 inline void
 AffineConstraints<number>::get_dof_values(
-  const VectorType global_vector,
+  const VectorType  &global_vector,
   ForwardIteratorInd local_indices_begin,
   ForwardIteratorVec local_vector_begin,
   ForwardIteratorVec local_vector_end) const
@@ -2652,9 +2652,9 @@ template <typename number>
 template <typename MatrixType>
 inline void
 AffineConstraints<number>::distribute_local_to_global(
-  const FullMatrix<number> &    local_matrix,
+  const FullMatrix<number>     &local_matrix,
   const std::vector<size_type> &local_dof_indices,
-  MatrixType &                  global_matrix) const
+  MatrixType                   &global_matrix) const
 {
   // create a dummy and hand on to the function actually implementing this
   // feature in the cm.templates.h file.
@@ -2677,11 +2677,11 @@ template <typename number>
 template <typename MatrixType, typename VectorType>
 inline void
 AffineConstraints<number>::distribute_local_to_global(
-  const FullMatrix<number> &    local_matrix,
-  const Vector<number> &        local_vector,
+  const FullMatrix<number>     &local_matrix,
+  const Vector<number>         &local_vector,
   const std::vector<size_type> &local_dof_indices,
-  MatrixType &                  global_matrix,
-  VectorType &                  global_vector,
+  MatrixType                   &global_matrix,
+  VectorType                   &global_vector,
   bool                          use_inhomogeneities_for_rhs) const
 {
   // enter the internal function with the respective block information set,
@@ -2702,7 +2702,7 @@ AffineConstraints<number>::distribute_local_to_global(
 
 template <typename number>
 inline AffineConstraints<number>::ConstraintLine::ConstraintLine(
-  const size_type &                                                  index,
+  const size_type                                                   &index,
   const typename AffineConstraints<number>::ConstraintLine::Entries &entries,
   const number inhomogeneity)
   : index(index)
index b1e61c6068ffec31dce84a28bea9fbdd42627709..8186fd4092df3fc5df00aa067be575e2b43e861f 100644 (file)
@@ -87,7 +87,7 @@ template <typename number>
 bool
 AffineConstraints<number>::is_consistent_in_parallel(
   const std::vector<IndexSet> &locally_owned_dofs,
-  const IndexSet &             locally_active_dofs,
+  const IndexSet              &locally_active_dofs,
   const MPI_Comm               mpi_communicator,
   const bool                   verbose) const
 {
@@ -178,8 +178,8 @@ namespace internal
   std::vector<typename dealii::AffineConstraints<number>::ConstraintLine>
   compute_locally_relevant_constraints(
     const dealii::AffineConstraints<number> &constraints_in,
-    const IndexSet &                         locally_owned_dofs,
-    const IndexSet &                         locally_relevant_dofs,
+    const IndexSet                          &locally_owned_dofs,
+    const IndexSet                          &locally_relevant_dofs,
     const MPI_Comm                           mpi_communicator)
   {
     // The result vector filled step by step.
@@ -603,7 +603,7 @@ template <typename number>
 void
 AffineConstraints<number>::add_selected_constraints(
   const AffineConstraints &constraints,
-  const IndexSet &         filter)
+  const IndexSet          &filter)
 {
   if (constraints.n_constraints() == 0)
     return;
@@ -1698,7 +1698,7 @@ template <typename number>
 template <typename VectorType>
 void
 AffineConstraints<number>::condense(const VectorType &vec_ghosted,
-                                    VectorType &      vec) const
+                                    VectorType       &vec) const
 {
   Assert(sorted == true, ExcMatrixNotClosed());
 
@@ -1753,7 +1753,7 @@ template <typename number>
 template <typename VectorType>
 void
 AffineConstraints<number>::condense(SparseMatrix<number> &uncondensed,
-                                    VectorType &          vec) const
+                                    VectorType           &vec) const
 {
   // check whether we work on real vectors or we just used a dummy when
   // calling the other function above.
@@ -1926,7 +1926,7 @@ template <typename number>
 template <typename BlockVectorType>
 void
 AffineConstraints<number>::condense(BlockSparseMatrix<number> &uncondensed,
-                                    BlockVectorType &          vec) const
+                                    BlockVectorType           &vec) const
 {
   // check whether we work on real vectors or we just used a dummy when
   // calling the other function above.
@@ -2122,7 +2122,7 @@ namespace internal
     template <typename VectorType>
     void
     set_zero_parallel(const std::vector<size_type> &cm,
-                      VectorType &                  vec,
+                      VectorType                   &vec,
                       size_type                     shift = 0)
     {
       Assert(!vec.has_ghost_elements(), ExcInternalError());
@@ -2144,7 +2144,7 @@ namespace internal
 
     template <typename number>
     void
-    set_zero_parallel(const std::vector<size_type> &              cm,
+    set_zero_parallel(const std::vector<size_type>               &cm,
                       LinearAlgebra::distributed::Vector<number> &vec,
                       size_type                                   shift = 0)
     {
@@ -2167,7 +2167,7 @@ namespace internal
     template <typename number>
     void
     set_zero_parallel(
-      const std::vector<size_type> &                                    cm,
+      const std::vector<size_type>                                     &cm,
       LinearAlgebra::distributed::Vector<number, MemorySpace::Default> &vec,
       size_type shift = 0)
     {
@@ -2195,7 +2195,7 @@ namespace internal
       using ExecutionSpace =
         MemorySpace::Default::kokkos_space::execution_space;
       ExecutionSpace exec;
-      auto *         local_values = vec.get_values();
+      auto          *local_values = vec.get_values();
       Kokkos::parallel_for(
         "dealii::set_zero_parallel",
         Kokkos::RangePolicy<ExecutionSpace>(exec, 0, n_constraints),
@@ -2209,7 +2209,7 @@ namespace internal
     template <typename VectorType>
     void
     set_zero_in_parallel(const std::vector<size_type> &cm,
-                         VectorType &                  vec,
+                         VectorType                   &vec,
                          std::integral_constant<bool, false>)
     {
       set_zero_parallel(cm, vec, 0);
@@ -2219,7 +2219,7 @@ namespace internal
     template <typename VectorType>
     void
     set_zero_in_parallel(const std::vector<size_type> &cm,
-                         VectorType &                  vec,
+                         VectorType                   &vec,
                          std::integral_constant<bool, true>)
     {
       size_type start_shift = 0;
@@ -2269,10 +2269,10 @@ template <typename number>
 template <typename VectorType>
 void
 AffineConstraints<number>::distribute_local_to_global(
-  const Vector<number> &        local_vector,
+  const Vector<number>         &local_vector,
   const std::vector<size_type> &local_dof_indices,
-  VectorType &                  global_vector,
-  const FullMatrix<number> &    local_matrix) const
+  VectorType                   &global_vector,
+  const FullMatrix<number>     &local_matrix) const
 {
   distribute_local_to_global(local_vector,
                              local_dof_indices,
@@ -2286,11 +2286,11 @@ template <typename number>
 template <typename VectorType>
 void
 AffineConstraints<number>::distribute_local_to_global(
-  const Vector<number> &        local_vector,
+  const Vector<number>         &local_vector,
   const std::vector<size_type> &local_dof_indices_row,
   const std::vector<size_type> &local_dof_indices_col,
-  VectorType &                  global_vector,
-  const FullMatrix<number> &    local_matrix,
+  VectorType                   &global_vector,
+  const FullMatrix<number>     &local_matrix,
   bool                          diagonal) const
 {
   Assert(sorted == true, ExcMatrixNotClosed());
@@ -2400,7 +2400,7 @@ namespace internal
   import_vector_with_ghost_elements(
     const TrilinosWrappers::MPI::Vector &vec,
     const IndexSet & /*locally_owned_elements*/,
-    const IndexSet &               needed_elements,
+    const IndexSet                &needed_elements,
     TrilinosWrappers::MPI::Vector &output,
     const std::integral_constant<bool, false> /*is_block_vector*/)
   {
@@ -2422,9 +2422,9 @@ namespace internal
   inline void
   import_vector_with_ghost_elements(
     const PETScWrappers::MPI::Vector &vec,
-    const IndexSet &                  locally_owned_elements,
-    const IndexSet &                  needed_elements,
-    PETScWrappers::MPI::Vector &      output,
+    const IndexSet                   &locally_owned_elements,
+    const IndexSet                   &needed_elements,
+    PETScWrappers::MPI::Vector       &output,
     const std::integral_constant<bool, false> /*is_block_vector*/)
   {
     output.reinit(locally_owned_elements,
@@ -2438,9 +2438,9 @@ namespace internal
   void
   import_vector_with_ghost_elements(
     const LinearAlgebra::distributed::Vector<number> &vec,
-    const IndexSet &                                  locally_owned_elements,
-    const IndexSet &                                  needed_elements,
-    LinearAlgebra::distributed::Vector<number> &      output,
+    const IndexSet                                   &locally_owned_elements,
+    const IndexSet                                   &needed_elements,
+    LinearAlgebra::distributed::Vector<number>       &output,
     const std::integral_constant<bool, false> /*is_block_vector*/)
   {
     // TODO: the in vector might already have all elements. need to find a
@@ -2473,9 +2473,9 @@ namespace internal
   void
   import_vector_with_ghost_elements(
     const VectorType &vec,
-    const IndexSet &  locally_owned_elements,
-    const IndexSet &  needed_elements,
-    VectorType &      output,
+    const IndexSet   &locally_owned_elements,
+    const IndexSet   &needed_elements,
+    VectorType       &output,
     const std::integral_constant<bool, true> /*is_block_vector*/)
   {
     output.reinit(vec.n_blocks());
@@ -3077,9 +3077,9 @@ namespace internal
     // on.
     template <typename number, typename BlockType>
     inline void
-    make_block_starts(const BlockType &            block_object,
+    make_block_starts(const BlockType             &block_object,
                       GlobalRowsFromLocal<number> &global_rows,
-                      std::vector<size_type> &     block_starts)
+                      std::vector<size_type>      &block_starts)
     {
       AssertDimension(block_starts.size(), block_object.n_block_rows() + 1);
 
@@ -3114,7 +3114,7 @@ namespace internal
     // GlobalRowsFromLocal. Used in functions for sparsity patterns.
     template <typename BlockType>
     inline void
-    make_block_starts(const BlockType &       block_object,
+    make_block_starts(const BlockType        &block_object,
                       std::vector<size_type> &row_indices,
                       std::vector<size_type> &block_starts)
     {
@@ -3155,7 +3155,7 @@ namespace internal
                          const size_type                    i,
                          const size_type                    j,
                          const size_type                    loc_row,
-                         const FullMatrix<number> &         local_matrix)
+                         const FullMatrix<number>          &local_matrix)
     {
       const size_type loc_col = global_cols.local_row(j);
       number          col_val;
@@ -3206,9 +3206,9 @@ namespace internal
                        const size_type                    i,
                        const size_type                    column_start,
                        const size_type                    column_end,
-                       const FullMatrix<number> &         local_matrix,
-                       size_type *&                       col_ptr,
-                       number *&                          val_ptr)
+                       const FullMatrix<number>          &local_matrix,
+                       size_type                        *&col_ptr,
+                       number                           *&val_ptr)
     {
       if (column_end == column_start)
         return;
@@ -3303,8 +3303,8 @@ namespace internal
                        const size_type                    i,
                        const size_type                    column_start,
                        const size_type                    column_end,
-                       const FullMatrix<number> &         local_matrix,
-                       SparseMatrix<number> *             sparse_matrix)
+                       const FullMatrix<number>          &local_matrix,
+                       SparseMatrix<number>              *sparse_matrix)
     {
       if (column_end == column_start)
         return;
@@ -3454,8 +3454,8 @@ namespace internal
                        const size_type                    i,
                        const size_type                    column_start,
                        const size_type                    column_end,
-                       const Table<2, bool> &             dof_mask,
-                       std::vector<size_type>::iterator col_ptr)
+                       const Table<2, bool>              &dof_mask,
+                       std::vector<size_type>::iterator  &col_ptr)
     {
       if (column_end == column_start)
         return;
@@ -3546,12 +3546,12 @@ namespace internal
     inline void
     set_matrix_diagonals(
       const internal::AffineConstraints::GlobalRowsFromLocal<number>
-        &                                      global_rows,
-      const std::vector<size_type> &           local_dof_indices,
-      const FullMatrix<number> &               local_matrix,
+                                              &global_rows,
+      const std::vector<size_type>            &local_dof_indices,
+      const FullMatrix<number>                &local_matrix,
       const dealii::AffineConstraints<number> &constraints,
-      MatrixType &                             global_matrix,
-      VectorType &                             global_vector,
+      MatrixType                              &global_matrix,
+      VectorType                              &global_vector,
       bool                                     use_inhomogeneities_for_rhs)
     {
       if (global_rows.n_constraints() > 0)
@@ -3615,12 +3615,12 @@ namespace internal
     inline void
     set_sparsity_diagonals(
       const internal::AffineConstraints::GlobalRowsFromLocal<number>
-        &                           global_rows,
+                                   &global_rows,
       const std::vector<size_type> &local_dof_indices,
-      const Table<2, bool> &        dof_mask,
+      const Table<2, bool>         &dof_mask,
       const bool                    keep_constrained_entries,
-      ScratchData<number> &         scratch_data,
-      SparsityPatternBase &         sparsity_pattern)
+      ScratchData<number>          &scratch_data,
+      SparsityPatternBase          &sparsity_pattern)
     {
       // if we got constraints, need to add the diagonal element and, if the
       // user requested so, also the rest of the entries in rows and columns
@@ -3669,7 +3669,7 @@ namespace internal
 template <typename number>
 void
 AffineConstraints<number>::make_sorted_row_list(
-  const std::vector<size_type> &                            local_dof_indices,
+  const std::vector<size_type>                             &local_dof_indices,
   internal::AffineConstraints::GlobalRowsFromLocal<number> &global_rows) const
 {
   const size_type n_local_dofs = local_dof_indices.size();
@@ -3736,7 +3736,7 @@ template <typename number>
 inline void
 AffineConstraints<number>::make_sorted_row_list(
   const std::vector<size_type> &local_dof_indices,
-  std::vector<size_type> &      active_dofs) const
+  std::vector<size_type>       &active_dofs) const
 {
   const size_type n_local_dofs = local_dof_indices.size();
   size_type       added_rows   = 0;
@@ -3796,8 +3796,8 @@ inline typename ProductType<VectorScalar, MatrixScalar>::type
 AffineConstraints<number>::resolve_vector_entry(
   const size_type                                                 i,
   const internal::AffineConstraints::GlobalRowsFromLocal<number> &global_rows,
-  const Vector<VectorScalar> &                                    local_vector,
-  const std::vector<size_type> &  local_dof_indices,
+  const Vector<VectorScalar>                                     &local_vector,
+  const std::vector<size_type>   &local_dof_indices,
   const FullMatrix<MatrixScalar> &local_matrix) const
 {
   const size_type loc_row              = global_rows.local_row(i);
@@ -3841,11 +3841,11 @@ template <typename number>
 template <typename MatrixType, typename VectorType>
 void
 AffineConstraints<number>::distribute_local_to_global(
-  const FullMatrix<number> &    local_matrix,
-  const Vector<number> &        local_vector,
+  const FullMatrix<number>     &local_matrix,
+  const Vector<number>         &local_vector,
   const std::vector<size_type> &local_dof_indices,
-  MatrixType &                  global_matrix,
-  VectorType &                  global_vector,
+  MatrixType                   &global_matrix,
+  VectorType                   &global_vector,
   const bool                    use_inhomogeneities_for_rhs,
   const std::integral_constant<bool, false>) const
 {
@@ -3887,7 +3887,7 @@ AffineConstraints<number>::distribute_local_to_global(
   // the AffineConstraints class (unless we do cast). This involves a little
   // bit of logic to determine the type of the matrix value.
   std::vector<size_type> &cols = scratch_data->columns;
-  std::vector<number> &   vals = scratch_data->values;
+  std::vector<number>    &vals = scratch_data->values;
   // create arrays for writing into the vector as well
   std::vector<size_type> &vector_indices = scratch_data->vector_indices;
   std::vector<typename VectorType::value_type> &vector_values =
@@ -4002,11 +4002,11 @@ template <typename number>
 template <typename MatrixType, typename VectorType>
 void
 AffineConstraints<number>::distribute_local_to_global(
-  const FullMatrix<number> &    local_matrix,
-  const Vector<number> &        local_vector,
+  const FullMatrix<number>     &local_matrix,
+  const Vector<number>         &local_vector,
   const std::vector<size_type> &local_dof_indices,
-  MatrixType &                  global_matrix,
-  VectorType &                  global_vector,
+  MatrixType                   &global_matrix,
+  VectorType                   &global_vector,
   const bool                    use_inhomogeneities_for_rhs,
   const std::integral_constant<bool, true>) const
 {
@@ -4055,7 +4055,7 @@ AffineConstraints<number>::distribute_local_to_global(
                                                  block_starts);
 
   std::vector<size_type> &cols = scratch_data->columns;
-  std::vector<number> &   vals = scratch_data->values;
+  std::vector<number>    &vals = scratch_data->values;
   if (use_dealii_matrix == false)
     {
       cols.resize(n_actual_dofs);
@@ -4079,7 +4079,7 @@ AffineConstraints<number>::distribute_local_to_global(
               if (use_dealii_matrix == false)
                 {
                   size_type *col_ptr = cols.data();
-                  number *   val_ptr = vals.data();
+                  number    *val_ptr = vals.data();
                   internal::AffineConstraints::resolve_matrix_row(global_rows,
                                                                   global_rows,
                                                                   i,
@@ -4138,10 +4138,10 @@ template <typename number>
 template <typename MatrixType>
 void
 AffineConstraints<number>::distribute_local_to_global(
-  const FullMatrix<number> &    local_matrix,
+  const FullMatrix<number>     &local_matrix,
   const std::vector<size_type> &row_indices,
   const std::vector<size_type> &col_indices,
-  MatrixType &                  global_matrix) const
+  MatrixType                   &global_matrix) const
 {
   distribute_local_to_global(
     local_matrix, row_indices, *this, col_indices, global_matrix);
@@ -4153,11 +4153,11 @@ template <typename number>
 template <typename MatrixType>
 void
 AffineConstraints<number>::distribute_local_to_global(
-  const FullMatrix<number> &       local_matrix,
-  const std::vector<size_type> &   row_indices,
+  const FullMatrix<number>        &local_matrix,
+  const std::vector<size_type>    &row_indices,
   const AffineConstraints<number> &col_constraint_matrix,
-  const std::vector<size_type> &   col_indices,
-  MatrixType &                     global_matrix) const
+  const std::vector<size_type>    &col_indices,
+  MatrixType                      &global_matrix) const
 {
   AssertDimension(local_matrix.m(), row_indices.size());
   AssertDimension(local_matrix.n(), col_indices.size());
@@ -4186,7 +4186,7 @@ AffineConstraints<number>::distribute_local_to_global(
   // create arrays for the column data (indices and values) that will then be
   // written into the matrix. Shortcut for deal.II sparse matrix
   std::vector<size_type> &cols = scratch_data->columns;
-  std::vector<number> &   vals = scratch_data->values;
+  std::vector<number>    &vals = scratch_data->values;
   cols.resize(n_actual_col_dofs);
   vals.resize(n_actual_col_dofs);
 
@@ -4197,7 +4197,7 @@ AffineConstraints<number>::distribute_local_to_global(
 
       // calculate all the data that will be written into the matrix row.
       size_type *col_ptr = cols.data();
-      number *   val_ptr = vals.data();
+      number    *val_ptr = vals.data();
       internal::AffineConstraints::resolve_matrix_row(global_rows,
                                                       global_cols,
                                                       i,
@@ -4218,9 +4218,9 @@ template <typename number>
 void
 AffineConstraints<number>::add_entries_local_to_global(
   const std::vector<size_type> &local_dof_indices,
-  SparsityPatternBase &         sparsity_pattern,
+  SparsityPatternBase          &sparsity_pattern,
   const bool                    keep_constrained_entries,
-  const Table<2, bool> &        dof_mask) const
+  const Table<2, bool>         &dof_mask) const
 {
   Assert(sparsity_pattern.n_rows() == sparsity_pattern.n_cols(),
          ExcNotQuadratic());
@@ -4321,12 +4321,12 @@ AffineConstraints<number>::add_entries_local_to_global(
 template <typename number>
 void
 AffineConstraints<number>::add_entries_local_to_global(
-  const std::vector<size_type> &   row_indices,
+  const std::vector<size_type>    &row_indices,
   const AffineConstraints<number> &col_constraints,
-  const std::vector<size_type> &   col_indices,
-  SparsityPatternBase &            sparsity_pattern,
+  const std::vector<size_type>    &col_indices,
+  SparsityPatternBase             &sparsity_pattern,
   const bool                       keep_constrained_entries,
-  const Table<2, bool> &           dof_mask) const
+  const Table<2, bool>            &dof_mask) const
 {
   const size_type n_local_rows = row_indices.size();
   const size_type n_local_cols = col_indices.size();
@@ -4395,9 +4395,9 @@ void
 AffineConstraints<number>::add_entries_local_to_global(
   const std::vector<size_type> &row_indices,
   const std::vector<size_type> &col_indices,
-  SparsityPatternBase &         sparsity_pattern,
+  SparsityPatternBase          &sparsity_pattern,
   const bool                    keep_constrained_entries,
-  const Table<2, bool> &        dof_mask) const
+  const Table<2, bool>         &dof_mask) const
 {
   // Call the function with the same name that takes a column constraint as well
   add_entries_local_to_global(row_indices,
index 542e9369df25626b0f5fe4f9269d9c6fa4058438..cd26b5b0471f4f05ce48dab1a72685592824bb52 100644 (file)
@@ -31,91 +31,91 @@ DEAL_II_NAMESPACE_OPEN
 
 
 extern "C" void
-dnaupd_(int *         ido,
-        char *        bmat,
+dnaupd_(int          *ido,
+        char         *bmat,
         unsigned int *n,
-        char *        which,
+        char         *which,
         unsigned int *nev,
         const double *tol,
-        double *      resid,
-        int *         ncv,
-        double *      v,
-        int *         ldv,
-        int *         iparam,
-        int *         ipntr,
-        double *      workd,
-        double *      workl,
-        int *         lworkl,
-        int *         info);
+        double       *resid,
+        int          *ncv,
+        double       *v,
+        int          *ldv,
+        int          *iparam,
+        int          *ipntr,
+        double       *workd,
+        double       *workl,
+        int          *lworkl,
+        int          *info);
 
 extern "C" void
-dsaupd_(int *         ido,
-        char *        bmat,
+dsaupd_(int          *ido,
+        char         *bmat,
         unsigned int *n,
-        char *        which,
+        char         *which,
         unsigned int *nev,
-        double *      tol,
-        double *      resid,
-        int *         ncv,
-        double *      v,
-        int *         ldv,
-        int *         iparam,
-        int *         ipntr,
-        double *      workd,
-        double *      workl,
-        int *         lworkl,
-        int *         info);
+        double       *tol,
+        double       *resid,
+        int          *ncv,
+        double       *v,
+        int          *ldv,
+        int          *iparam,
+        int          *ipntr,
+        double       *workd,
+        double       *workl,
+        int          *lworkl,
+        int          *info);
 
 extern "C" void
-dneupd_(int *         rvec,
-        char *        howmany,
-        int *         select,
-        double *      d,
-        double *      di,
-        double *      z,
-        int *         ldz,
-        double *      sigmar,
-        double *      sigmai,
-        double *      workev,
-        char *        bmat,
+dneupd_(int          *rvec,
+        char         *howmany,
+        int          *select,
+        double       *d,
+        double       *di,
+        double       *z,
+        int          *ldz,
+        double       *sigmar,
+        double       *sigmai,
+        double       *workev,
+        char         *bmat,
         unsigned int *n,
-        char *        which,
+        char         *which,
         unsigned int *nev,
-        double *      tol,
-        double *      resid,
-        int *         ncv,
-        double *      v,
-        int *         ldv,
-        int *         iparam,
-        int *         ipntr,
-        double *      workd,
-        double *      workl,
-        int *         lworkl,
-        int *         info);
+        double       *tol,
+        double       *resid,
+        int          *ncv,
+        double       *v,
+        int          *ldv,
+        int          *iparam,
+        int          *ipntr,
+        double       *workd,
+        double       *workl,
+        int          *lworkl,
+        int          *info);
 
 extern "C" void
-dseupd_(int *         rvec,
-        char *        howmany,
-        int *         select,
-        double *      d,
-        double *      z,
-        int *         ldz,
-        double *      sigmar,
-        char *        bmat,
+dseupd_(int          *rvec,
+        char         *howmany,
+        int          *select,
+        double       *d,
+        double       *z,
+        int          *ldz,
+        double       *sigmar,
+        char         *bmat,
         unsigned int *n,
-        char *        which,
+        char         *which,
         unsigned int *nev,
-        double *      tol,
-        double *      resid,
-        int *         ncv,
-        double *      v,
-        int *         ldv,
-        int *         iparam,
-        int *         ipntr,
-        double *      workd,
-        double *      workl,
-        int *         lworkl,
-        int *         info);
+        double       *tol,
+        double       *resid,
+        int          *ncv,
+        double       *v,
+        int          *ldv,
+        int          *iparam,
+        int          *ipntr,
+        double       *workd,
+        double       *workl,
+        int          *lworkl,
+        int          *info);
 
 /**
  * Interface for using ARPACK. ARPACK is a collection of Fortran77 subroutines
@@ -262,7 +262,7 @@ public:
   /**
    * Constructor.
    */
-  ArpackSolver(SolverControl &       control,
+  ArpackSolver(SolverControl        &control,
                const AdditionalData &data = AdditionalData());
 
   /**
@@ -334,11 +334,11 @@ public:
             typename MatrixType2,
             typename INVERSE>
   void
-  solve(const MatrixType1 &                A,
-        const MatrixType2 &                B,
-        const INVERSE &                    inverse,
+  solve(const MatrixType1                 &A,
+        const MatrixType2                 &B,
+        const INVERSE                     &inverse,
         std::vector<std::complex<double>> &eigenvalues,
-        std::vector<VectorType> &          eigenvectors,
+        std::vector<VectorType>           &eigenvectors,
         const unsigned int                 n_eigenvalues = 0);
 
 protected:
@@ -499,7 +499,7 @@ inline ArpackSolver::AdditionalData::AdditionalData(
 }
 
 
-inline ArpackSolver::ArpackSolver(SolverControl &       control,
+inline ArpackSolver::ArpackSolver(SolverControl        &control,
                                   const AdditionalData &data)
   : solver_control(control)
   , additional_data(data)
@@ -536,10 +536,10 @@ template <typename VectorType,
           typename INVERSE>
 inline void
 ArpackSolver::solve(const MatrixType1 & /*system_matrix*/,
-                    const MatrixType2 &                mass_matrix,
-                    const INVERSE &                    inverse,
+                    const MatrixType2                 &mass_matrix,
+                    const INVERSE                     &inverse,
                     std::vector<std::complex<double>> &eigenvalues,
-                    std::vector<VectorType> &          eigenvectors,
+                    std::vector<VectorType>           &eigenvectors,
                     const unsigned int                 n_eigenvalues)
 {
   // Problem size
index a6b19cc4283c48b1a837a8edc179c5ec64d330b2..4e2f3861c30335375c8b38b09c931d1c5b46180e 100644 (file)
@@ -61,9 +61,9 @@ omatcopy(char                    ordering,
          dealii::types::blas_int rows,
          dealii::types::blas_int cols,
          const float             alpha,
-         const float *           A,
+         const float            *A,
          dealii::types::blas_int lda,
-         float *                 B,
+         float                  *B,
          dealii::types::blas_int ldb)
 {
 #ifdef DEAL_II_LAPACK_WITH_MKL
@@ -90,9 +90,9 @@ omatcopy(char                    ordering,
          dealii::types::blas_int rows,
          dealii::types::blas_int cols,
          const double            alpha,
-         const double *          A,
+         const double           *A,
          dealii::types::blas_int lda,
-         double *                B,
+         double                 *B,
          dealii::types::blas_int ldb)
 {
 #ifdef DEAL_II_LAPACK_WITH_MKL
@@ -121,7 +121,7 @@ omatcopy(char                       ordering,
          const std::complex<float>  alpha,
          const std::complex<float> *A,
          dealii::types::blas_int    lda,
-         std::complex<float> *      B,
+         std::complex<float>       *B,
          dealii::types::blas_int    ldb)
 {
 #ifdef DEAL_II_LAPACK_WITH_MKL
@@ -150,7 +150,7 @@ omatcopy(char                        ordering,
          const std::complex<double>  alpha,
          const std::complex<double> *A,
          dealii::types::blas_int     lda,
-         std::complex<double> *      B,
+         std::complex<double>       *B,
          dealii::types::blas_int     ldb)
 {
 #ifdef DEAL_II_LAPACK_WITH_MKL
index 889c8bd5870eba9b6beb11dcd8cc24eb3bdbe085..9c81e5612ef82df5335b9776539cad6550054c32 100644 (file)
@@ -327,8 +327,8 @@ namespace internal
     void
     apply_with_intermediate_storage(const Function1 &first_op,
                                     const Function2 &loop_op,
-                                    Range &          v,
-                                    const Domain &   u,
+                                    Range           &v,
+                                    const Domain    &u,
                                     bool             add)
     {
       GrowingVectorMemory<Range> vector_memory;
@@ -393,15 +393,15 @@ namespace internal
 
         if (PointerComparison::equal(&v, &u))
           {
-            const auto first_op = [&op](Range &            v,
-                                        const Domain &     u,
+            const auto first_op = [&op](Range             &v,
+                                        const Domain      &u,
                                         const unsigned int i,
                                         const unsigned int j) {
               op.block(i, j).vmult(v.block(i), u.block(j));
             };
 
-            const auto loop_op = [&op](Range &            v,
-                                       const Domain &     u,
+            const auto loop_op = [&op](Range             &v,
+                                       const Domain      &u,
                                        const unsigned int i,
                                        const unsigned int j) {
               op.block(i, j).vmult_add(v.block(i), u.block(j));
@@ -428,15 +428,15 @@ namespace internal
 
         if (PointerComparison::equal(&v, &u))
           {
-            const auto first_op = [&op](Range &            v,
-                                        const Domain &     u,
+            const auto first_op = [&op](Range             &v,
+                                        const Domain      &u,
                                         const unsigned int i,
                                         const unsigned int j) {
               op.block(i, j).vmult(v.block(i), u.block(j));
             };
 
-            const auto loop_op = [&op](Range &            v,
-                                       const Domain &     u,
+            const auto loop_op = [&op](Range             &v,
+                                       const Domain      &u,
                                        const unsigned int i,
                                        const unsigned int j) {
               op.block(i, j).vmult_add(v.block(i), u.block(j));
@@ -460,15 +460,15 @@ namespace internal
 
         if (PointerComparison::equal(&v, &u))
           {
-            const auto first_op = [&op](Range &            v,
-                                        const Domain &     u,
+            const auto first_op = [&op](Range             &v,
+                                        const Domain      &u,
                                         const unsigned int i,
                                         const unsigned int j) {
               op.block(j, i).Tvmult(v.block(i), u.block(j));
             };
 
-            const auto loop_op = [&op](Range &            v,
-                                       const Domain &     u,
+            const auto loop_op = [&op](Range             &v,
+                                       const Domain      &u,
                                        const unsigned int i,
                                        const unsigned int j) {
               op.block(j, i).Tvmult_add(v.block(i), u.block(j));
@@ -495,15 +495,15 @@ namespace internal
 
         if (PointerComparison::equal(&v, &u))
           {
-            const auto first_op = [&op](Range &            v,
-                                        const Domain &     u,
+            const auto first_op = [&op](Range             &v,
+                                        const Domain      &u,
                                         const unsigned int i,
                                         const unsigned int j) {
               op.block(j, i).Tvmult(v.block(i), u.block(j));
             };
 
-            const auto loop_op = [&op](Range &            v,
-                                       const Domain &     u,
+            const auto loop_op = [&op](Range             &v,
+                                       const Domain      &u,
                                        const unsigned int i,
                                        const unsigned int j) {
               op.block(j, i).Tvmult_add(v.block(i), u.block(j));
@@ -882,7 +882,7 @@ block_forward_substitution(
   return_op.reinit_range_vector  = diagonal_inverse.reinit_range_vector;
   return_op.reinit_domain_vector = diagonal_inverse.reinit_domain_vector;
 
-  return_op.vmult = [block_operator, diagonal_inverse](Range &      v,
+  return_op.vmult = [block_operator, diagonal_inverse](Range       &v,
                                                        const Range &u) {
     const unsigned int m = block_operator.n_block_rows();
     Assert(block_operator.n_block_cols() == m,
@@ -911,7 +911,7 @@ block_forward_substitution(
       }
   };
 
-  return_op.vmult_add = [block_operator, diagonal_inverse](Range &      v,
+  return_op.vmult_add = [block_operator, diagonal_inverse](Range       &v,
                                                            const Range &u) {
     const unsigned int m = block_operator.n_block_rows();
     Assert(block_operator.n_block_cols() == m,
@@ -999,7 +999,7 @@ block_back_substitution(
   return_op.reinit_range_vector  = diagonal_inverse.reinit_range_vector;
   return_op.reinit_domain_vector = diagonal_inverse.reinit_domain_vector;
 
-  return_op.vmult = [block_operator, diagonal_inverse](Range &      v,
+  return_op.vmult = [block_operator, diagonal_inverse](Range       &v,
                                                        const Range &u) {
     const unsigned int m = block_operator.n_block_rows();
     Assert(block_operator.n_block_cols() == m,
@@ -1029,7 +1029,7 @@ block_back_substitution(
       }
   };
 
-  return_op.vmult_add = [block_operator, diagonal_inverse](Range &      v,
+  return_op.vmult_add = [block_operator, diagonal_inverse](Range       &v,
                                                            const Range &u) {
     const unsigned int m = block_operator.n_block_rows();
     Assert(block_operator.n_block_cols() == m,
index 06db33dc9636a335cadf2fb71783c00d7e7b809d..c751739db691564ae9f9c3f2c1d21742b4429adb 100644 (file)
@@ -474,7 +474,7 @@ public:
   template <typename number>
   void
   set(const std::vector<size_type> &indices,
-      const FullMatrix<number> &    full_matrix,
+      const FullMatrix<number>     &full_matrix,
       const bool                    elide_zero_values = false);
 
   /**
@@ -486,7 +486,7 @@ public:
   void
   set(const std::vector<size_type> &row_indices,
       const std::vector<size_type> &col_indices,
-      const FullMatrix<number> &    full_matrix,
+      const FullMatrix<number>     &full_matrix,
       const bool                    elide_zero_values = false);
 
   /**
@@ -503,7 +503,7 @@ public:
   void
   set(const size_type               row,
       const std::vector<size_type> &col_indices,
-      const std::vector<number> &   values,
+      const std::vector<number>    &values,
       const bool                    elide_zero_values = false);
 
   /**
@@ -520,7 +520,7 @@ public:
   set(const size_type  row,
       const size_type  n_cols,
       const size_type *col_indices,
-      const number *   values,
+      const number    *values,
       const bool       elide_zero_values = false);
 
   /**
@@ -548,7 +548,7 @@ public:
   template <typename number>
   void
   add(const std::vector<size_type> &indices,
-      const FullMatrix<number> &    full_matrix,
+      const FullMatrix<number>     &full_matrix,
       const bool                    elide_zero_values = true);
 
   /**
@@ -560,7 +560,7 @@ public:
   void
   add(const std::vector<size_type> &row_indices,
       const std::vector<size_type> &col_indices,
-      const FullMatrix<number> &    full_matrix,
+      const FullMatrix<number>     &full_matrix,
       const bool                    elide_zero_values = true);
 
   /**
@@ -576,7 +576,7 @@ public:
   void
   add(const size_type               row,
       const std::vector<size_type> &col_indices,
-      const std::vector<number> &   values,
+      const std::vector<number>    &values,
       const bool                    elide_zero_values = true);
 
   /**
@@ -593,7 +593,7 @@ public:
   add(const size_type  row,
       const size_type  n_cols,
       const size_type *col_indices,
-      const number *   values,
+      const number    *values,
       const bool       elide_zero_values      = true,
       const bool       col_indices_are_sorted = false);
 
@@ -720,7 +720,7 @@ public:
    */
   template <typename BlockVectorType>
   value_type
-  residual(BlockVectorType &      dst,
+  residual(BlockVectorType       &dst,
            const BlockVectorType &x,
            const BlockVectorType &b) const;
 
@@ -1652,7 +1652,7 @@ template <typename number>
 inline void
 BlockMatrixBase<MatrixType>::set(const std::vector<size_type> &row_indices,
                                  const std::vector<size_type> &col_indices,
-                                 const FullMatrix<number> &    values,
+                                 const FullMatrix<number>     &values,
                                  const bool elide_zero_values)
 {
   Assert(row_indices.size() == values.m(),
@@ -1674,7 +1674,7 @@ template <typename MatrixType>
 template <typename number>
 inline void
 BlockMatrixBase<MatrixType>::set(const std::vector<size_type> &indices,
-                                 const FullMatrix<number> &    values,
+                                 const FullMatrix<number>     &values,
                                  const bool elide_zero_values)
 {
   Assert(indices.size() == values.m(),
@@ -1696,7 +1696,7 @@ template <typename number>
 inline void
 BlockMatrixBase<MatrixType>::set(const size_type               row,
                                  const std::vector<size_type> &col_indices,
-                                 const std::vector<number> &   values,
+                                 const std::vector<number>    &values,
                                  const bool elide_zero_values)
 {
   Assert(col_indices.size() == values.size(),
@@ -1720,7 +1720,7 @@ inline void
 BlockMatrixBase<MatrixType>::set(const size_type  row,
                                  const size_type  n_cols,
                                  const size_type *col_indices,
-                                 const number *   values,
+                                 const number    *values,
                                  const bool       elide_zero_values)
 {
   prepare_set_operation();
@@ -1852,7 +1852,7 @@ template <typename number>
 inline void
 BlockMatrixBase<MatrixType>::add(const std::vector<size_type> &row_indices,
                                  const std::vector<size_type> &col_indices,
-                                 const FullMatrix<number> &    values,
+                                 const FullMatrix<number>     &values,
                                  const bool elide_zero_values)
 {
   Assert(row_indices.size() == values.m(),
@@ -1874,7 +1874,7 @@ template <typename MatrixType>
 template <typename number>
 inline void
 BlockMatrixBase<MatrixType>::add(const std::vector<size_type> &indices,
-                                 const FullMatrix<number> &    values,
+                                 const FullMatrix<number>     &values,
                                  const bool elide_zero_values)
 {
   Assert(indices.size() == values.m(),
@@ -1896,7 +1896,7 @@ template <typename number>
 inline void
 BlockMatrixBase<MatrixType>::add(const size_type               row,
                                  const std::vector<size_type> &col_indices,
-                                 const std::vector<number> &   values,
+                                 const std::vector<number>    &values,
                                  const bool elide_zero_values)
 {
   Assert(col_indices.size() == values.size(),
@@ -1920,7 +1920,7 @@ inline void
 BlockMatrixBase<MatrixType>::add(const size_type  row,
                                  const size_type  n_cols,
                                  const size_type *col_indices,
-                                 const number *   values,
+                                 const number    *values,
                                  const bool       elide_zero_values,
                                  const bool       col_indices_are_sorted)
 {
@@ -2209,7 +2209,7 @@ BlockMatrixBase<MatrixType>::get_column_indices() const
 template <typename MatrixType>
 template <typename BlockVectorType>
 void
-BlockMatrixBase<MatrixType>::vmult_block_block(BlockVectorType &      dst,
+BlockMatrixBase<MatrixType>::vmult_block_block(BlockVectorType       &dst,
                                                const BlockVectorType &src) const
 {
   Assert(dst.n_blocks() == n_block_rows(),
@@ -2231,7 +2231,7 @@ template <typename MatrixType>
 template <typename BlockVectorType, typename VectorType>
 void
 BlockMatrixBase<MatrixType>::vmult_nonblock_block(
-  VectorType &           dst,
+  VectorType            &dst,
   const BlockVectorType &src) const
 {
   Assert(n_block_rows() == 1, ExcDimensionMismatch(1, n_block_rows()));
@@ -2248,7 +2248,7 @@ BlockMatrixBase<MatrixType>::vmult_nonblock_block(
 template <typename MatrixType>
 template <typename BlockVectorType, typename VectorType>
 void
-BlockMatrixBase<MatrixType>::vmult_block_nonblock(BlockVectorType dst,
+BlockMatrixBase<MatrixType>::vmult_block_nonblock(BlockVectorType  &dst,
                                                   const VectorType &src) const
 {
   Assert(dst.n_blocks() == n_block_rows(),
@@ -2265,7 +2265,7 @@ template <typename MatrixType>
 template <typename VectorType>
 void
 BlockMatrixBase<MatrixType>::vmult_nonblock_nonblock(
-  VectorType &      dst,
+  VectorType       &dst,
   const VectorType &src) const
 {
   Assert(1 == n_block_rows(), ExcDimensionMismatch(1, n_block_rows()));
@@ -2279,7 +2279,7 @@ BlockMatrixBase<MatrixType>::vmult_nonblock_nonblock(
 template <typename MatrixType>
 template <typename BlockVectorType>
 void
-BlockMatrixBase<MatrixType>::vmult_add(BlockVectorType &      dst,
+BlockMatrixBase<MatrixType>::vmult_add(BlockVectorType       &dst,
                                        const BlockVectorType &src) const
 {
   Assert(dst.n_blocks() == n_block_rows(),
@@ -2298,7 +2298,7 @@ template <typename MatrixType>
 template <typename BlockVectorType>
 void
 BlockMatrixBase<MatrixType>::Tvmult_block_block(
-  BlockVectorType &      dst,
+  BlockVectorType       &dst,
   const BlockVectorType &src) const
 {
   Assert(dst.n_blocks() == n_block_cols(),
@@ -2320,7 +2320,7 @@ BlockMatrixBase<MatrixType>::Tvmult_block_block(
 template <typename MatrixType>
 template <typename BlockVectorType, typename VectorType>
 void
-BlockMatrixBase<MatrixType>::Tvmult_block_nonblock(BlockVectorType dst,
+BlockMatrixBase<MatrixType>::Tvmult_block_nonblock(BlockVectorType  &dst,
                                                    const VectorType &src) const
 {
   Assert(dst.n_blocks() == n_block_cols(),
@@ -2339,7 +2339,7 @@ template <typename MatrixType>
 template <typename BlockVectorType, typename VectorType>
 void
 BlockMatrixBase<MatrixType>::Tvmult_nonblock_block(
-  VectorType &           dst,
+  VectorType            &dst,
   const BlockVectorType &src) const
 {
   Assert(1 == n_block_cols(), ExcDimensionMismatch(1, n_block_cols()));
@@ -2358,7 +2358,7 @@ template <typename MatrixType>
 template <typename VectorType>
 void
 BlockMatrixBase<MatrixType>::Tvmult_nonblock_nonblock(
-  VectorType &      dst,
+  VectorType       &dst,
   const VectorType &src) const
 {
   Assert(1 == n_block_cols(), ExcDimensionMismatch(1, n_block_cols()));
@@ -2372,7 +2372,7 @@ BlockMatrixBase<MatrixType>::Tvmult_nonblock_nonblock(
 template <typename MatrixType>
 template <typename BlockVectorType>
 void
-BlockMatrixBase<MatrixType>::Tvmult_add(BlockVectorType &      dst,
+BlockMatrixBase<MatrixType>::Tvmult_add(BlockVectorType       &dst,
                                         const BlockVectorType &src) const
 {
   Assert(dst.n_blocks() == n_block_cols(),
@@ -2456,7 +2456,7 @@ BlockMatrixBase<MatrixType>::matrix_scalar_product(
 template <typename MatrixType>
 template <typename BlockVectorType>
 typename BlockMatrixBase<MatrixType>::value_type
-BlockMatrixBase<MatrixType>::residual(BlockVectorType &      dst,
+BlockMatrixBase<MatrixType>::residual(BlockVectorType       &dst,
                                       const BlockVectorType &x,
                                       const BlockVectorType &b) const
 {
index 2e97f1fffc6c846fbb847e62f6b30358a298fe28..88d086e35333394f9d8a601867cae76751b77b41 100644 (file)
@@ -219,7 +219,7 @@ public:
    */
   template <typename block_number>
   void
-  vmult(BlockVector<block_number> &      dst,
+  vmult(BlockVector<block_number>       &dst,
         const BlockVector<block_number> &src) const;
 
   /**
@@ -228,7 +228,7 @@ public:
    */
   template <typename block_number, typename nonblock_number>
   void
-  vmult(BlockVector<block_number> &    dst,
+  vmult(BlockVector<block_number>     &dst,
         const Vector<nonblock_number> &src) const;
 
   /**
@@ -237,7 +237,7 @@ public:
    */
   template <typename block_number, typename nonblock_number>
   void
-  vmult(Vector<nonblock_number> &        dst,
+  vmult(Vector<nonblock_number>         &dst,
         const BlockVector<block_number> &src) const;
 
   /**
@@ -255,7 +255,7 @@ public:
    */
   template <typename block_number>
   void
-  Tvmult(BlockVector<block_number> &      dst,
+  Tvmult(BlockVector<block_number>       &dst,
          const BlockVector<block_number> &src) const;
 
   /**
@@ -264,7 +264,7 @@ public:
    */
   template <typename block_number, typename nonblock_number>
   void
-  Tvmult(BlockVector<block_number> &    dst,
+  Tvmult(BlockVector<block_number>     &dst,
          const Vector<nonblock_number> &src) const;
 
   /**
@@ -273,7 +273,7 @@ public:
    */
   template <typename block_number, typename nonblock_number>
   void
-  Tvmult(Vector<nonblock_number> &        dst,
+  Tvmult(Vector<nonblock_number>         &dst,
          const BlockVector<block_number> &src) const;
 
   /**
@@ -282,7 +282,7 @@ public:
    */
   template <typename nonblock_number>
   void
-  Tvmult(Vector<nonblock_number> &      dst,
+  Tvmult(Vector<nonblock_number>       &dst,
          const Vector<nonblock_number> &src) const;
   /** @} */
 
@@ -299,7 +299,7 @@ public:
    */
   template <typename BlockVectorType>
   void
-  precondition_Jacobi(BlockVectorType &      dst,
+  precondition_Jacobi(BlockVectorType       &dst,
                       const BlockVectorType &src,
                       const number           omega = 1.) const;
 
@@ -310,7 +310,7 @@ public:
    */
   template <typename number2>
   void
-  precondition_Jacobi(Vector<number2> &      dst,
+  precondition_Jacobi(Vector<number2>       &dst,
                       const Vector<number2> &src,
                       const number           omega = 1.) const;
   /** @} */
@@ -340,11 +340,11 @@ public:
    * applied to a large matrix!
    */
   void
-  print_formatted(std::ostream &     out,
+  print_formatted(std::ostream      &out,
                   const unsigned int precision   = 3,
                   const bool         scientific  = true,
                   const unsigned int width       = 0,
-                  const char *       zero_string = " ",
+                  const char        *zero_string = " ",
                   const double       denominator = 1.) const;
   /** @} */
   /**
@@ -393,7 +393,7 @@ BlockSparseMatrix<number>::operator=(const double d)
 template <typename number>
 template <typename block_number>
 inline void
-BlockSparseMatrix<number>::vmult(BlockVector<block_number> &      dst,
+BlockSparseMatrix<number>::vmult(BlockVector<block_number>       &dst,
                                  const BlockVector<block_number> &src) const
 {
   BaseClass::vmult_block_block(dst, src);
@@ -404,7 +404,7 @@ BlockSparseMatrix<number>::vmult(BlockVector<block_number> &      dst,
 template <typename number>
 template <typename block_number, typename nonblock_number>
 inline void
-BlockSparseMatrix<number>::vmult(BlockVector<block_number> &    dst,
+BlockSparseMatrix<number>::vmult(BlockVector<block_number>     &dst,
                                  const Vector<nonblock_number> &src) const
 {
   BaseClass::vmult_block_nonblock(dst, src);
@@ -415,7 +415,7 @@ BlockSparseMatrix<number>::vmult(BlockVector<block_number> &    dst,
 template <typename number>
 template <typename block_number, typename nonblock_number>
 inline void
-BlockSparseMatrix<number>::vmult(Vector<nonblock_number> &        dst,
+BlockSparseMatrix<number>::vmult(Vector<nonblock_number>         &dst,
                                  const BlockVector<block_number> &src) const
 {
   BaseClass::vmult_nonblock_block(dst, src);
@@ -426,7 +426,7 @@ BlockSparseMatrix<number>::vmult(Vector<nonblock_number> &        dst,
 template <typename number>
 template <typename nonblock_number>
 inline void
-BlockSparseMatrix<number>::vmult(Vector<nonblock_number> &      dst,
+BlockSparseMatrix<number>::vmult(Vector<nonblock_number>       &dst,
                                  const Vector<nonblock_number> &src) const
 {
   BaseClass::vmult_nonblock_nonblock(dst, src);
@@ -437,7 +437,7 @@ BlockSparseMatrix<number>::vmult(Vector<nonblock_number> &      dst,
 template <typename number>
 template <typename block_number>
 inline void
-BlockSparseMatrix<number>::Tvmult(BlockVector<block_number> &      dst,
+BlockSparseMatrix<number>::Tvmult(BlockVector<block_number>       &dst,
                                   const BlockVector<block_number> &src) const
 {
   BaseClass::Tvmult_block_block(dst, src);
@@ -448,7 +448,7 @@ BlockSparseMatrix<number>::Tvmult(BlockVector<block_number> &      dst,
 template <typename number>
 template <typename block_number, typename nonblock_number>
 inline void
-BlockSparseMatrix<number>::Tvmult(BlockVector<block_number> &    dst,
+BlockSparseMatrix<number>::Tvmult(BlockVector<block_number>     &dst,
                                   const Vector<nonblock_number> &src) const
 {
   BaseClass::Tvmult_block_nonblock(dst, src);
@@ -459,7 +459,7 @@ BlockSparseMatrix<number>::Tvmult(BlockVector<block_number> &    dst,
 template <typename number>
 template <typename block_number, typename nonblock_number>
 inline void
-BlockSparseMatrix<number>::Tvmult(Vector<nonblock_number> &        dst,
+BlockSparseMatrix<number>::Tvmult(Vector<nonblock_number>         &dst,
                                   const BlockVector<block_number> &src) const
 {
   BaseClass::Tvmult_nonblock_block(dst, src);
@@ -470,7 +470,7 @@ BlockSparseMatrix<number>::Tvmult(Vector<nonblock_number> &        dst,
 template <typename number>
 template <typename nonblock_number>
 inline void
-BlockSparseMatrix<number>::Tvmult(Vector<nonblock_number> &      dst,
+BlockSparseMatrix<number>::Tvmult(Vector<nonblock_number>       &dst,
                                   const Vector<nonblock_number> &src) const
 {
   BaseClass::Tvmult_nonblock_nonblock(dst, src);
@@ -481,7 +481,7 @@ BlockSparseMatrix<number>::Tvmult(Vector<nonblock_number> &      dst,
 template <typename number>
 template <typename BlockVectorType>
 inline void
-BlockSparseMatrix<number>::precondition_Jacobi(BlockVectorType &      dst,
+BlockSparseMatrix<number>::precondition_Jacobi(BlockVectorType       &dst,
                                                const BlockVectorType &src,
                                                const number omega) const
 {
@@ -502,7 +502,7 @@ BlockSparseMatrix<number>::precondition_Jacobi(BlockVectorType &      dst,
 template <typename number>
 template <typename number2>
 inline void
-BlockSparseMatrix<number>::precondition_Jacobi(Vector<number2> &      dst,
+BlockSparseMatrix<number>::precondition_Jacobi(Vector<number2>       &dst,
                                                const Vector<number2> &src,
                                                const number omega) const
 {
index 46ce231ab41c555fa1752a7cf099c73849df7188..360296de9e9f937293fc5ef7585c40b56731d801 100644 (file)
@@ -173,11 +173,11 @@ BlockSparseMatrix<number>::get_sparsity_pattern() const
 
 template <typename number>
 void
-BlockSparseMatrix<number>::print_formatted(std::ostream &     out,
+BlockSparseMatrix<number>::print_formatted(std::ostream      &out,
                                            const unsigned int precision,
                                            const bool         scientific,
                                            const unsigned int width,
-                                           const char *       zero_string,
+                                           const char        *zero_string,
                                            const double       denominator) const
 {
   for (size_type r = 0; r < this->n_block_rows(); ++r)
index 5c3d3ea0a98e6638fad207d5cc950f2d4e1d9825..ce07c9f288836c17510cb2eba57a6e535fcc4d86 100644 (file)
@@ -213,7 +213,7 @@ public:
    */
   template <typename somenumber>
   void
-  Tvmult(BlockVector<somenumber> &      dst,
+  Tvmult(BlockVector<somenumber>       &dst,
          const BlockVector<somenumber> &src) const;
 
   /**
@@ -222,7 +222,7 @@ public:
    */
   template <typename somenumber>
   void
-  vmult_add(BlockVector<somenumber> &      dst,
+  vmult_add(BlockVector<somenumber>       &dst,
             const BlockVector<somenumber> &src) const;
 
   /**
@@ -232,7 +232,7 @@ public:
    */
   template <typename somenumber>
   void
-  Tvmult_add(BlockVector<somenumber> &      dst,
+  Tvmult_add(BlockVector<somenumber>       &dst,
              const BlockVector<somenumber> &src) const;
 
 
@@ -368,7 +368,7 @@ BlockSparseMatrixEZ<Number>::add(const size_type i,
 template <typename Number>
 template <typename somenumber>
 void
-BlockSparseMatrixEZ<Number>::vmult(BlockVector<somenumber> &      dst,
+BlockSparseMatrixEZ<Number>::vmult(BlockVector<somenumber>       &dst,
                                    const BlockVector<somenumber> &src) const
 {
   Assert(dst.n_blocks() == n_block_rows(),
@@ -388,7 +388,7 @@ BlockSparseMatrixEZ<Number>::vmult(BlockVector<somenumber> &      dst,
 template <typename Number>
 template <typename somenumber>
 void
-BlockSparseMatrixEZ<Number>::vmult_add(BlockVector<somenumber> &      dst,
+BlockSparseMatrixEZ<Number>::vmult_add(BlockVector<somenumber>       &dst,
                                        const BlockVector<somenumber> &src) const
 {
   Assert(dst.n_blocks() == n_block_rows(),
@@ -406,7 +406,7 @@ BlockSparseMatrixEZ<Number>::vmult_add(BlockVector<somenumber> &      dst,
 template <typename Number>
 template <typename somenumber>
 void
-BlockSparseMatrixEZ<Number>::Tvmult(BlockVector<somenumber> &      dst,
+BlockSparseMatrixEZ<Number>::Tvmult(BlockVector<somenumber>       &dst,
                                     const BlockVector<somenumber> &src) const
 {
   Assert(dst.n_blocks() == n_block_cols(),
@@ -427,7 +427,7 @@ template <typename Number>
 template <typename somenumber>
 void
 BlockSparseMatrixEZ<Number>::Tvmult_add(
-  BlockVector<somenumber> &      dst,
+  BlockVector<somenumber>       &dst,
   const BlockVector<somenumber> &src) const
 {
   Assert(dst.n_blocks() == n_block_cols(),
index 63eea3816cc61be518c90f83ac526c46d10ca31f..2bbde6956209dcfaa5ed8e4b795965066bba56e1 100644 (file)
@@ -249,7 +249,7 @@ public:
    * as the overload which takes iterators.
    */
   virtual void
-  add_row_entries(const size_type &                 row,
+  add_row_entries(const size_type                  &row,
                   const ArrayView<const size_type> &columns,
                   const bool indices_are_sorted = false) override;
 
@@ -470,8 +470,8 @@ public:
    * optimized diagonals, while this is not done for the off-diagonal blocks.
    */
   void
-  reinit(const BlockIndices &                          row_indices,
-         const BlockIndices &                          col_indices,
+  reinit(const BlockIndices                           &row_indices,
+         const BlockIndices                           &col_indices,
          const std::vector<std::vector<unsigned int>> &row_lengths);
 
 
@@ -985,7 +985,7 @@ BlockSparsityPatternBase<SparsityPatternType>::add_entries(
 template <typename SparsityPatternType>
 void
 BlockSparsityPatternBase<SparsityPatternType>::add_row_entries(
-  const size_type &                 row,
+  const size_type                  &row,
   const ArrayView<const size_type> &columns,
   const bool                        indices_are_sorted)
 {
index 568e0d441d2a6101d2951e2f51eb57a7258143d2..259fbdb9c5fc7f4a4cf4a7c05ced710761dd6326 100644 (file)
@@ -328,7 +328,7 @@ public:
    * Print to a stream.
    */
   void
-  print(std::ostream &     out,
+  print(std::ostream      &out,
         const unsigned int precision  = 3,
         const bool         scientific = true,
         const bool         across     = true) const;
@@ -503,7 +503,7 @@ namespace internal
     public:
       template <typename Matrix>
       static void
-      reinit_range_vector(const Matrix &       matrix,
+      reinit_range_vector(const Matrix        &matrix,
                           BlockVector<number> &v,
                           bool                 omit_zeroing_entries)
       {
@@ -512,7 +512,7 @@ namespace internal
 
       template <typename Matrix>
       static void
-      reinit_domain_vector(const Matrix &       matrix,
+      reinit_domain_vector(const Matrix        &matrix,
                            BlockVector<number> &v,
                            bool                 omit_zeroing_entries)
       {
index efb50e57cd49a6c117d0e0fa34c71e7b65fadbdf..3d6706f0e5300153b75e2eaa7a9ef55a6431f290 100644 (file)
@@ -169,7 +169,7 @@ BlockVector<Number>::swap(BlockVector<Number> &v)
 
 template <typename Number>
 void
-BlockVector<Number>::print(std::ostream &     out,
+BlockVector<Number>::print(std::ostream      &out,
                            const unsigned int precision,
                            const bool         scientific,
                            const bool         across) const
index 7be2547c0df73a97c9736047547bbeeb6835a06d..90d50a087bfcfb9a3cac760e5180202c05b0c32b 100644 (file)
@@ -60,7 +60,7 @@ namespace internal
     internal::is_supported_operation<has_n_blocks_t, T>;
 
   template <typename T>
-  constexpr bool is_block_vector = has_block<T> &&has_n_blocks<T>;
+  constexpr bool is_block_vector = has_block<T> && has_n_blocks<T>;
 } // namespace internal
 
 /**
@@ -197,7 +197,7 @@ namespace internal
        * Constructor used internally in this class. The arguments match
        * exactly the values of the respective member variables.
        */
-      Iterator(BlockVector &   parent,
+      Iterator(BlockVector    &parent,
                const size_type global_index,
                const size_type current_block,
                const size_type index_within_block,
@@ -651,7 +651,7 @@ public:
   template <typename OtherNumber>
   void
   extract_subvector_to(const std::vector<size_type> &indices,
-                       std::vector<OtherNumber> &    values) const;
+                       std::vector<OtherNumber>     &values) const;
 
   virtual void
   extract_subvector_to(const ArrayView<const types::global_dof_index> &indices,
@@ -858,7 +858,7 @@ public:
   void
   add(const size_type  n_elements,
       const size_type *indices,
-      const Number *   values);
+      const Number    *values);
 
   /**
    * $U(0-DIM)+=s$.  Addition of <tt>s</tt> to all components. Note that
@@ -1023,7 +1023,7 @@ namespace internal
 
     template <typename BlockVectorType, bool Constness>
     inline Iterator<BlockVectorType, Constness>::Iterator(
-      BlockVector &   parent,
+      BlockVector    &parent,
       const size_type global_index,
       const size_type current_block,
       const size_type index_within_block,
@@ -1330,7 +1330,7 @@ namespace internal
 
 
     template <typename BlockVectorType, bool Constness>
-    Iterator<BlockVectorType, Constness>::Iterator(BlockVector &   parent,
+    Iterator<BlockVectorType, Constness>::Iterator(BlockVector    &parent,
                                                    const size_type global_index)
       : parent(&parent)
       , global_index(global_index)
@@ -1707,8 +1707,8 @@ template <typename VectorType>
 typename BlockVectorBase<VectorType>::value_type
 BlockVectorBase<VectorType>::add_and_dot(
   const typename BlockVectorBase<VectorType>::value_type a,
-  const BlockVectorBase<VectorType> &                    V,
-  const BlockVectorBase<VectorType> &                    W)
+  const BlockVectorBase<VectorType>                     &V,
+  const BlockVectorBase<VectorType>                     &W)
 {
   AssertDimension(n_blocks(), V.n_blocks());
   AssertDimension(n_blocks(), W.n_blocks());
@@ -1759,7 +1759,7 @@ template <typename VectorType>
 template <typename Number>
 inline void
 BlockVectorBase<VectorType>::add(const std::vector<size_type> &indices,
-                                 const std::vector<Number> &   values)
+                                 const std::vector<Number>    &values)
 {
   Assert(indices.size() == values.size(),
          ExcDimensionMismatch(indices.size(), values.size()));
@@ -1772,7 +1772,7 @@ template <typename VectorType>
 template <typename Number>
 inline void
 BlockVectorBase<VectorType>::add(const std::vector<size_type> &indices,
-                                 const Vector<Number> &        values)
+                                 const Vector<Number>         &values)
 {
   Assert(indices.size() == values.size(),
          ExcDimensionMismatch(indices.size(), values.size()));
@@ -1788,7 +1788,7 @@ template <typename Number>
 inline void
 BlockVectorBase<VectorType>::add(const size_type  n_indices,
                                  const size_type *indices,
-                                 const Number *   values)
+                                 const Number    *values)
 {
   for (size_type i = 0; i < n_indices; ++i)
     (*this)(indices[i]) += values[i];
@@ -2144,7 +2144,7 @@ template <typename OtherNumber>
 inline void
 BlockVectorBase<VectorType>::extract_subvector_to(
   const std::vector<size_type> &indices,
-  std::vector<OtherNumber> &    values) const
+  std::vector<OtherNumber>     &values) const
 {
   for (size_type i = 0; i < indices.size(); ++i)
     values[i] = operator()(indices[i]);
@@ -2156,7 +2156,7 @@ template <typename VectorType>
 inline void
 BlockVectorBase<VectorType>::extract_subvector_to(
   const ArrayView<const types::global_dof_index> &indices,
-  ArrayView<value_type> &                         entries) const
+  ArrayView<value_type>                          &entries) const
 {
   AssertDimension(indices.size(), entries.size());
   for (unsigned int i = 0; i < indices.size(); ++i)
index 73c9855593a498e14ecb41a1ae261e4a46cf6acf..1ed88219198bd50dfb485670dacc6b486d6606f2 100644 (file)
@@ -548,7 +548,7 @@ public:
    * not provide for nonzero entries on the entire diagonal.
    */
   ChunkSparseMatrix(const ChunkSparsityPattern &sparsity,
-                    const IdentityMatrix &      id);
+                    const IdentityMatrix       &id);
 
   /**
    * Destructor. Free all memory, but do not release the memory of the
@@ -709,7 +709,7 @@ public:
   add(const size_type  row,
       const size_type  n_cols,
       const size_type *col_indices,
-      const number2 *  values,
+      const number2   *values,
       const bool       elide_zero_values      = true,
       const bool       col_indices_are_sorted = false);
 
@@ -866,9 +866,9 @@ public:
   void
   extract_row_copy(const size_type row,
                    const size_type array_length,
-                   size_type &     row_length,
-                   size_type *     column_indices,
-                   number *        values) const;
+                   size_type      &row_length,
+                   size_type      *column_indices,
+                   number         *values) const;
 
   /** @} */
   /**
@@ -984,7 +984,7 @@ public:
    */
   template <typename somenumber>
   somenumber
-  residual(Vector<somenumber> &      dst,
+  residual(Vector<somenumber>       &dst,
            const Vector<somenumber> &x,
            const Vector<somenumber> &b) const;
 
@@ -1033,7 +1033,7 @@ public:
    */
   template <typename somenumber>
   void
-  precondition_Jacobi(Vector<somenumber> &      dst,
+  precondition_Jacobi(Vector<somenumber>       &dst,
                       const Vector<somenumber> &src,
                       const number              omega = 1.) const;
 
@@ -1042,7 +1042,7 @@ public:
    */
   template <typename somenumber>
   void
-  precondition_SSOR(Vector<somenumber> &      dst,
+  precondition_SSOR(Vector<somenumber>       &dst,
                     const Vector<somenumber> &src,
                     const number              om = 1.) const;
 
@@ -1051,7 +1051,7 @@ public:
    */
   template <typename somenumber>
   void
-  precondition_SOR(Vector<somenumber> &      dst,
+  precondition_SOR(Vector<somenumber>       &dst,
                    const Vector<somenumber> &src,
                    const number              om = 1.) const;
 
@@ -1060,7 +1060,7 @@ public:
    */
   template <typename somenumber>
   void
-  precondition_TSOR(Vector<somenumber> &      dst,
+  precondition_TSOR(Vector<somenumber>       &dst,
                     const Vector<somenumber> &src,
                     const number              om = 1.) const;
 
@@ -1101,7 +1101,7 @@ public:
    */
   template <typename somenumber>
   void
-  PSOR(Vector<somenumber> &          v,
+  PSOR(Vector<somenumber>           &v,
        const std::vector<size_type> &permutation,
        const std::vector<size_type> &inverse_permutation,
        const number                  om = 1.) const;
@@ -1118,7 +1118,7 @@ public:
    */
   template <typename somenumber>
   void
-  TPSOR(Vector<somenumber> &          v,
+  TPSOR(Vector<somenumber>           &v,
         const std::vector<size_type> &permutation,
         const std::vector<size_type> &inverse_permutation,
         const number                  om = 1.) const;
@@ -1129,7 +1129,7 @@ public:
    */
   template <typename somenumber>
   void
-  SOR_step(Vector<somenumber> &      v,
+  SOR_step(Vector<somenumber>       &v,
            const Vector<somenumber> &b,
            const number              om = 1.) const;
 
@@ -1139,7 +1139,7 @@ public:
    */
   template <typename somenumber>
   void
-  TSOR_step(Vector<somenumber> &      v,
+  TSOR_step(Vector<somenumber>       &v,
             const Vector<somenumber> &b,
             const number              om = 1.) const;
 
@@ -1149,7 +1149,7 @@ public:
    */
   template <typename somenumber>
   void
-  SSOR_step(Vector<somenumber> &      v,
+  SSOR_step(Vector<somenumber>       &v,
             const Vector<somenumber> &b,
             const number              om = 1.) const;
   /** @} */
@@ -1305,11 +1305,11 @@ public:
    * applied to a large matrix!
    */
   void
-  print_formatted(std::ostream &     out,
+  print_formatted(std::ostream      &out,
                   const unsigned int precision   = 3,
                   const bool         scientific  = true,
                   const unsigned int width       = 0,
-                  const char *       zero_string = " ",
+                  const char        *zero_string = " ",
                   const double       denominator = 1.) const;
 
   /**
@@ -1545,7 +1545,7 @@ inline void
 ChunkSparseMatrix<number>::add(const size_type  row,
                                const size_type  n_cols,
                                const size_type *col_indices,
-                               const number2 *  values,
+                               const number2   *values,
                                const bool /*elide_zero_values*/,
                                const bool /*col_indices_are_sorted*/)
 {
@@ -1569,7 +1569,7 @@ ChunkSparseMatrix<number>::operator*=(const number factor)
   // the padding elements in chunks that overlap the boundaries of the actual
   // matrix -- but since multiplication with a number does not violate the
   // invariant of keeping these elements at zero nothing can happen
-  number *            val_ptr = val.get();
+  number             *val_ptr = val.get();
   const number *const end_ptr =
     val.get() +
     cols->sparsity_pattern.n_nonzero_elements() * chunk_size * chunk_size;
@@ -1597,7 +1597,7 @@ ChunkSparseMatrix<number>::operator/=(const number factor)
   // the padding elements in chunks that overlap the boundaries of the actual
   // matrix -- but since multiplication with a number does not violate the
   // invariant of keeping these elements at zero nothing can happen
-  number *            val_ptr = val.get();
+  number             *val_ptr = val.get();
   const number *const end_ptr =
     val.get() +
     cols->sparsity_pattern.n_nonzero_elements() * chunk_size * chunk_size;
@@ -1687,7 +1687,7 @@ ChunkSparseMatrix<number>::copy_from(const ForwardIterator begin,
 namespace ChunkSparseMatrixIterators
 {
   template <typename number>
-  inline Accessor<number, true>::Accessor(const MatrixType matrix,
+  inline Accessor<number, true>::Accessor(const MatrixType  *matrix,
                                           const unsigned int row)
     : ChunkSparsityPatternIterators::Accessor(&matrix->get_sparsity_pattern(),
                                               row)
@@ -1824,7 +1824,7 @@ namespace ChunkSparseMatrixIterators
 
 
   template <typename number>
-  inline Accessor<number, false>::Accessor(MatrixType *       matrix,
+  inline Accessor<number, false>::Accessor(MatrixType        *matrix,
                                            const unsigned int row)
     : ChunkSparsityPatternIterators::Accessor(&matrix->get_sparsity_pattern(),
                                               row)
@@ -1860,7 +1860,7 @@ namespace ChunkSparseMatrixIterators
 
 
   template <typename number, bool Constness>
-  inline Iterator<number, Constness>::Iterator(MatrixType *       matrix,
+  inline Iterator<number, Constness>::Iterator(MatrixType        *matrix,
                                                const unsigned int row)
     : accessor(matrix, row)
   {}
index 07bb40987276316c1cc67a755e0566308152762e..914b131e97b598d126ba8547beedb25103213d1c 100644 (file)
@@ -178,11 +178,11 @@ namespace internal
     vmult_add_on_subrange(const ChunkSparsityPattern &cols,
                           const unsigned int          begin_row,
                           const unsigned int          end_row,
-                          const number *              values,
-                          const std::size_t *         rowstart,
-                          const size_type *           colnums,
-                          const InVector &            src,
-                          OutVector &                 dst)
+                          const number               *values,
+                          const std::size_t          *rowstart,
+                          const size_type            *colnums,
+                          const InVector             &src,
+                          OutVector                  &dst)
     {
       const size_type m          = cols.n_rows();
       const size_type n          = cols.n_cols();
@@ -328,7 +328,7 @@ ChunkSparseMatrix<number>::ChunkSparseMatrix(const ChunkSparsityPattern &c)
 
 template <typename number>
 ChunkSparseMatrix<number>::ChunkSparseMatrix(const ChunkSparsityPattern &c,
-                                             const IdentityMatrix &      id)
+                                             const IdentityMatrix       &id)
   : cols(nullptr, "ChunkSparseMatrix")
   , val(nullptr)
   , max_len(0)
@@ -576,8 +576,8 @@ ChunkSparseMatrix<number>::add(const number                         factor,
 
   // add everything, including padding elements
   const size_type     chunk_size = cols->get_chunk_size();
-  number *            val_ptr    = val.get();
-  const somenumber *  matrix_ptr = matrix.val.get();
+  number             *val_ptr    = val.get();
+  const somenumber   *matrix_ptr = matrix.val.get();
   const number *const end_ptr =
     val.get() +
     cols->sparsity_pattern.n_nonzero_elements() * chunk_size * chunk_size;
@@ -592,9 +592,9 @@ template <typename number>
 void
 ChunkSparseMatrix<number>::extract_row_copy(const size_type row,
                                             const size_type array_length,
-                                            size_type &     row_length,
-                                            size_type *     column_indices,
-                                            number *        values) const
+                                            size_type      &row_length,
+                                            size_type      *column_indices,
+                                            number         *values) const
 {
   (void)array_length;
   AssertIndexRange(cols->row_length(row), array_length + 1);
@@ -748,7 +748,7 @@ ChunkSparseMatrix<number>::Tvmult_add(OutVector &dst, const InVector &src) const
 
   // like in vmult_add, but don't keep an iterator into dst around since we're
   // not traversing it sequentially this time
-  const number *   val_ptr    = val.get();
+  const number    *val_ptr    = val.get();
   const size_type *colnum_ptr = cols->sparsity_pattern.colnums.get();
 
   for (size_type chunk_row = 0; chunk_row < n_regular_chunk_rows; ++chunk_row)
@@ -838,7 +838,7 @@ ChunkSparseMatrix<number>::matrix_norm_square(const Vector<somenumber> &v) const
   const size_type n_regular_chunk_rows =
     (rows_have_padding ? n_chunk_rows - 1 : n_chunk_rows);
 
-  const number *   val_ptr    = val.get();
+  const number    *val_ptr    = val.get();
   const size_type *colnum_ptr = cols->sparsity_pattern.colnums.get();
   typename Vector<somenumber>::const_iterator v_ptr = v.begin();
 
@@ -937,7 +937,7 @@ ChunkSparseMatrix<number>::matrix_scalar_product(
   const size_type n_regular_chunk_rows =
     (rows_have_padding ? n_chunk_rows - 1 : n_chunk_rows);
 
-  const number *   val_ptr    = val.get();
+  const number    *val_ptr    = val.get();
   const size_type *colnum_ptr = cols->sparsity_pattern.colnums.get();
   typename Vector<somenumber>::const_iterator u_ptr = u.begin();
 
@@ -1098,7 +1098,7 @@ ChunkSparseMatrix<number>::frobenius_norm() const
 template <typename number>
 template <typename somenumber>
 somenumber
-ChunkSparseMatrix<number>::residual(Vector<somenumber> &      dst,
+ChunkSparseMatrix<number>::residual(Vector<somenumber>       &dst,
                                     const Vector<somenumber> &u,
                                     const Vector<somenumber> &b) const
 {
@@ -1129,7 +1129,7 @@ ChunkSparseMatrix<number>::residual(Vector<somenumber> &      dst,
   const size_type n_regular_chunk_rows =
     (rows_have_padding ? n_chunk_rows - 1 : n_chunk_rows);
 
-  const number *   val_ptr    = val.get();
+  const number    *val_ptr    = val.get();
   const size_type *colnum_ptr = cols->sparsity_pattern.colnums.get();
   typename Vector<somenumber>::iterator dst_ptr = dst.begin();
 
@@ -1208,7 +1208,7 @@ ChunkSparseMatrix<number>::residual(Vector<somenumber> &      dst,
 template <typename number>
 template <typename somenumber>
 void
-ChunkSparseMatrix<number>::precondition_Jacobi(Vector<somenumber> &      dst,
+ChunkSparseMatrix<number>::precondition_Jacobi(Vector<somenumber>       &dst,
                                                const Vector<somenumber> &src,
                                                const number /*om*/) const
 {
@@ -1230,7 +1230,7 @@ ChunkSparseMatrix<number>::precondition_Jacobi(Vector<somenumber> &      dst,
 template <typename number>
 template <typename somenumber>
 void
-ChunkSparseMatrix<number>::precondition_SSOR(Vector<somenumber> &      dst,
+ChunkSparseMatrix<number>::precondition_SSOR(Vector<somenumber>       &dst,
                                              const Vector<somenumber> &src,
                                              const number /*om*/) const
 {
@@ -1253,7 +1253,7 @@ ChunkSparseMatrix<number>::precondition_SSOR(Vector<somenumber> &      dst,
 template <typename number>
 template <typename somenumber>
 void
-ChunkSparseMatrix<number>::precondition_SOR(Vector<somenumber> &      dst,
+ChunkSparseMatrix<number>::precondition_SOR(Vector<somenumber>       &dst,
                                             const Vector<somenumber> &src,
                                             const number              om) const
 {
@@ -1271,7 +1271,7 @@ ChunkSparseMatrix<number>::precondition_SOR(Vector<somenumber> &      dst,
 template <typename number>
 template <typename somenumber>
 void
-ChunkSparseMatrix<number>::precondition_TSOR(Vector<somenumber> &      dst,
+ChunkSparseMatrix<number>::precondition_TSOR(Vector<somenumber>       &dst,
                                              const Vector<somenumber> &src,
                                              const number              om) const
 {
@@ -1324,7 +1324,7 @@ template <typename number>
 template <typename somenumber>
 void
 ChunkSparseMatrix<number>::PSOR(
-  Vector<somenumber> &          dst,
+  Vector<somenumber>           &dst,
   const std::vector<size_type> &permutation,
   const std::vector<size_type> &inverse_permutation,
   const number /*om*/) const
@@ -1351,7 +1351,7 @@ template <typename number>
 template <typename somenumber>
 void
 ChunkSparseMatrix<number>::TPSOR(
-  Vector<somenumber> &          dst,
+  Vector<somenumber>           &dst,
   const std::vector<size_type> &permutation,
   const std::vector<size_type> &inverse_permutation,
   const number /*om*/) const
@@ -1378,7 +1378,7 @@ ChunkSparseMatrix<number>::TPSOR(
 template <typename number>
 template <typename somenumber>
 void
-ChunkSparseMatrix<number>::SOR_step(Vector<somenumber> &      v,
+ChunkSparseMatrix<number>::SOR_step(Vector<somenumber>       &v,
                                     const Vector<somenumber> &b,
                                     const number /*om*/) const
 {
@@ -1400,7 +1400,7 @@ ChunkSparseMatrix<number>::SOR_step(Vector<somenumber> &      v,
 template <typename number>
 template <typename somenumber>
 void
-ChunkSparseMatrix<number>::TSOR_step(Vector<somenumber> &      v,
+ChunkSparseMatrix<number>::TSOR_step(Vector<somenumber>       &v,
                                      const Vector<somenumber> &b,
                                      const number /*om*/) const
 {
@@ -1422,7 +1422,7 @@ ChunkSparseMatrix<number>::TSOR_step(Vector<somenumber> &      v,
 template <typename number>
 template <typename somenumber>
 void
-ChunkSparseMatrix<number>::SSOR_step(Vector<somenumber> &      v,
+ChunkSparseMatrix<number>::SSOR_step(Vector<somenumber>       &v,
                                      const Vector<somenumber> &b,
                                      const number              om) const
 {
@@ -1468,11 +1468,11 @@ ChunkSparseMatrix<number>::print(std::ostream &out) const
 
 template <typename number>
 void
-ChunkSparseMatrix<number>::print_formatted(std::ostream &     out,
+ChunkSparseMatrix<number>::print_formatted(std::ostream      &out,
                                            const unsigned int precision,
                                            const bool         scientific,
                                            const unsigned int width_,
-                                           const char *       zero_string,
+                                           const char        *zero_string,
                                            const double       denominator) const
 {
   AssertThrow(out.fail() == false, ExcIO());
index 3b2cd16003224d401d0ded440a018fd25d78e625..66cbef158650068b123f4cc0754ebe5084dcee4e 100644 (file)
@@ -64,7 +64,7 @@ template <typename Range, typename Domain, typename Payload>
 LinearOperator<Range, Domain, Payload>
 distribute_constraints_linear_operator(
   const AffineConstraints<typename Range::value_type> &constraints,
-  const LinearOperator<Range, Domain, Payload> &       exemplar)
+  const LinearOperator<Range, Domain, Payload>        &exemplar)
 {
   LinearOperator<Range, Domain, Payload> return_op = exemplar;
 
@@ -127,13 +127,13 @@ distribute_constraints_linear_operator(
     v.compress(VectorOperation::add);
   };
 
-  return_op.vmult = [vmult_add = return_op.vmult_add](Range &       v,
+  return_op.vmult = [vmult_add = return_op.vmult_add](Range        &v,
                                                       const Domain &u) {
     v = 0.;
     vmult_add(v, u);
   };
 
-  return_op.Tvmult = [Tvmult_add = return_op.Tvmult_add](Domain &     v,
+  return_op.Tvmult = [Tvmult_add = return_op.Tvmult_add](Domain      &v,
                                                          const Range &u) {
     v = 0.;
     Tvmult_add(v, u);
@@ -157,7 +157,7 @@ template <typename Range, typename Domain, typename Payload>
 LinearOperator<Range, Domain, Payload>
 project_to_constrained_linear_operator(
   const AffineConstraints<typename Range::value_type> &constraints,
-  const LinearOperator<Range, Domain, Payload> &       exemplar)
+  const LinearOperator<Range, Domain, Payload>        &exemplar)
 {
   LinearOperator<Range, Domain, Payload> return_op = exemplar;
 
@@ -189,13 +189,13 @@ project_to_constrained_linear_operator(
     v.compress(VectorOperation::add);
   };
 
-  return_op.vmult = [vmult_add = return_op.vmult_add](Range &       v,
+  return_op.vmult = [vmult_add = return_op.vmult_add](Range        &v,
                                                       const Domain &u) {
     v = 0.;
     vmult_add(v, u);
   };
 
-  return_op.Tvmult = [Tvmult_add = return_op.Tvmult_add](Domain &     v,
+  return_op.Tvmult = [Tvmult_add = return_op.Tvmult_add](Domain      &v,
                                                          const Range &u) {
     v = 0.;
     Tvmult_add(v, u);
@@ -245,7 +245,7 @@ template <typename Range, typename Domain, typename Payload>
 LinearOperator<Range, Domain, Payload>
 constrained_linear_operator(
   const AffineConstraints<typename Range::value_type> &constraints,
-  const LinearOperator<Range, Domain, Payload> &       linop)
+  const LinearOperator<Range, Domain, Payload>        &linop)
 {
   const auto C    = distribute_constraints_linear_operator(constraints, linop);
   const auto Ct   = transpose_operator(C);
@@ -291,8 +291,8 @@ template <typename Range, typename Domain, typename Payload>
 PackagedOperation<Range>
 constrained_right_hand_side(
   const AffineConstraints<typename Range::value_type> &constraints,
-  const LinearOperator<Range, Domain, Payload> &       linop,
-  const Range &                                        right_hand_side)
+  const LinearOperator<Range, Domain, Payload>        &linop,
+  const Range                                         &right_hand_side)
 {
   PackagedOperation<Range> return_comp;
 
index b1994e128f1328d57801d3554c53857ce17239ca..b6b9011463b3c627b3a1f75f2d768b0ceb119fe5 100644 (file)
@@ -194,8 +194,8 @@ namespace LinearAlgebra
       template <typename Number, template <typename> class Binop>
       __global__ void
       masked_vector_bin_op(const unsigned int *mask,
-                           Number *            v1,
-                           const Number *      v2,
+                           Number             *v1,
+                           const Number       *v2,
                            const size_type     N);
 
 
@@ -315,9 +315,9 @@ namespace LinearAlgebra
        */
       template <typename Number, typename Operation>
       __global__ void
-      double_vector_reduction(Number *        result,
-                              const Number *  v1,
-                              const Number *  v2,
+      double_vector_reduction(Number         *result,
+                              const Number   *v1,
+                              const Number   *v2,
                               const size_type N);
 
 
@@ -340,9 +340,9 @@ namespace LinearAlgebra
        */
       template <typename Number>
       __global__ void
-      add_aV(Number *        val,
+      add_aV(Number         *val,
              const Number    a,
-             const Number *  V_val,
+             const Number   *V_val,
              const size_type N);
 
 
@@ -355,11 +355,11 @@ namespace LinearAlgebra
        */
       template <typename Number>
       __global__ void
-      add_aVbW(Number *        val,
+      add_aVbW(Number         *val,
                const Number    a,
-               const Number *  V_val,
+               const Number   *V_val,
                const Number    b,
-               const Number *  W_val,
+               const Number   *W_val,
                const size_type N);
 
 
@@ -373,9 +373,9 @@ namespace LinearAlgebra
       template <typename Number>
       __global__ void
       sadd(const Number    s,
-           Number *        val,
+           Number         *val,
            const Number    a,
-           const Number *  V_val,
+           const Number   *V_val,
            const size_type N);
 
 
@@ -389,11 +389,11 @@ namespace LinearAlgebra
       template <typename Number>
       __global__ void
       sadd(const Number    s,
-           Number *        val,
+           Number         *val,
            const Number    a,
-           const Number *  V_val,
+           const Number   *V_val,
            const Number    b,
-           const Number *  W_val,
+           const Number   *W_val,
            const size_type N);
 
 
@@ -428,11 +428,11 @@ namespace LinearAlgebra
        */
       template <typename Number>
       __global__ void
-      equ(Number *        val,
+      equ(Number         *val,
           const Number    a,
-          const Number *  V_val,
+          const Number   *V_val,
           const Number    b,
-          const Number *  W_val,
+          const Number   *W_val,
           const size_type N);
 
 
@@ -445,10 +445,10 @@ namespace LinearAlgebra
        */
       template <typename Number>
       __global__ void
-      add_and_dot(Number *        res,
-                  Number *        v1,
-                  const Number *  v2,
-                  const Number *  v3,
+      add_and_dot(Number         *res,
+                  Number         *v1,
+                  const Number   *v2,
+                  const Number   *v3,
                   const Number    a,
                   const size_type N);
 
@@ -473,8 +473,8 @@ namespace LinearAlgebra
       template <typename Number, typename IndexType>
       __global__ void
       set_permutated(const IndexType *indices,
-                     Number *         val,
-                     const Number *   v,
+                     Number          *val,
+                     const Number    *v,
                      const IndexType  N);
 
 
@@ -487,9 +487,9 @@ namespace LinearAlgebra
        */
       template <typename Number, typename IndexType>
       __global__ void
-      gather(Number *         val,
+      gather(Number          *val,
              const IndexType *indices,
-             const Number *   v,
+             const Number    *v,
              const IndexType  N);
 
 
@@ -503,8 +503,8 @@ namespace LinearAlgebra
       template <typename Number>
       __global__ void
       add_permutated(const size_type *indices,
-                     Number *         val,
-                     const Number *   v,
+                     Number          *val,
+                     const Number    *v,
                      const size_type  N);
     } // namespace kernel
   }   // namespace CUDAWrappers
index 0d4d48fc3926025a85adb5f3c8f5f21ce41a6413..81086080ad61441fa397fcd19a7021a46522695f 100644 (file)
@@ -65,8 +65,8 @@ namespace LinearAlgebra
       template <typename Number, template <typename> class Binop>
       __global__ void
       masked_vector_bin_op(const unsigned int *mask,
-                           Number *            v1,
-                           const Number *      v2,
+                           Number             *v1,
+                           const Number       *v2,
                            const size_type     N)
       {
         const size_type idx_base =
@@ -193,7 +193,7 @@ namespace LinearAlgebra
 
       template <typename Number, typename Operation>
       __device__ void
-      reduce(Number *         result,
+      reduce(Number          *result,
              volatile Number *result_buffer,
              const size_type  local_idx,
              const size_type /*global_idx*/,
@@ -285,9 +285,9 @@ namespace LinearAlgebra
 
       template <typename Number, typename Operation>
       __global__ void
-      double_vector_reduction(Number *        result,
-                              const Number *  v1,
-                              const Number *  v2,
+      double_vector_reduction(Number         *result,
+                              const Number   *v1,
+                              const Number   *v2,
                               const size_type N)
       {
         __shared__ Number result_buffer[block_size];
@@ -337,9 +337,9 @@ namespace LinearAlgebra
 
       template <typename Number>
       __global__ void
-      add_aV(Number *        val,
+      add_aV(Number         *val,
              const Number    a,
-             const Number *  V_val,
+             const Number   *V_val,
              const size_type N)
       {
         const size_type idx_base =
@@ -356,11 +356,11 @@ namespace LinearAlgebra
 
       template <typename Number>
       __global__ void
-      add_aVbW(Number *        val,
+      add_aVbW(Number         *val,
                const Number    a,
-               const Number *  V_val,
+               const Number   *V_val,
                const Number    b,
-               const Number *  W_val,
+               const Number   *W_val,
                const size_type N)
       {
         const size_type idx_base =
@@ -378,9 +378,9 @@ namespace LinearAlgebra
       template <typename Number>
       __global__ void
       sadd(const Number    s,
-           Number *        val,
+           Number         *val,
            const Number    a,
-           const Number *  V_val,
+           const Number   *V_val,
            const size_type N)
       {
         const size_type idx_base =
@@ -398,11 +398,11 @@ namespace LinearAlgebra
       template <typename Number>
       __global__ void
       sadd(const Number    s,
-           Number *        val,
+           Number         *val,
            const Number    a,
-           const Number *  V_val,
+           const Number   *V_val,
            const Number    b,
-           const Number *  W_val,
+           const Number   *W_val,
            const size_type N)
       {
         const size_type idx_base =
@@ -451,11 +451,11 @@ namespace LinearAlgebra
 
       template <typename Number>
       __global__ void
-      equ(Number *        val,
+      equ(Number         *val,
           const Number    a,
-          const Number *  V_val,
+          const Number   *V_val,
           const Number    b,
-          const Number *  W_val,
+          const Number   *W_val,
           const size_type N)
       {
         const size_type idx_base =
@@ -472,10 +472,10 @@ namespace LinearAlgebra
 
       template <typename Number>
       __global__ void
-      add_and_dot(Number *        res,
-                  Number *        v1,
-                  const Number *  v2,
-                  const Number *  v3,
+      add_and_dot(Number         *res,
+                  Number         *v1,
+                  const Number   *v2,
+                  const Number   *v3,
                   const Number    a,
                   const size_type N)
       {
@@ -531,8 +531,8 @@ namespace LinearAlgebra
       template <typename Number, typename IndexType>
       __global__ void
       set_permutated(const IndexType *indices,
-                     Number *         val,
-                     const Number *   v,
+                     Number          *val,
+                     const Number    *v,
                      const IndexType  N)
       {
         const size_type idx_base =
@@ -549,9 +549,9 @@ namespace LinearAlgebra
 
       template <typename Number, typename IndexType>
       __global__ void
-      gather(Number *         val,
+      gather(Number          *val,
              const IndexType *indices,
-             const Number *   v,
+             const Number    *v,
              const IndexType  N)
       {
         const IndexType idx_base =
@@ -569,8 +569,8 @@ namespace LinearAlgebra
       template <typename Number>
       __global__ void
       add_permutated(const size_type *indices,
-                     Number *         val,
-                     const Number *   v,
+                     Number          *val,
+                     const Number    *v,
                      const size_type  N)
       {
         const size_type idx_base =
index 03e2ee0d49ae0b4112f3afabcfc9c714e3397db2..7d25bcd6af63b380d839db3d29227506f755bfca 100644 (file)
@@ -122,13 +122,13 @@ namespace CUDAWrappers
      */
     void
     initialize(const SparseMatrix<Number> &matrix,
-               const AdditionalData &      additional_data = AdditionalData());
+               const AdditionalData       &additional_data = AdditionalData());
 
     /**
      * Apply the preconditioner.
      */
     void
-    vmult(LinearAlgebra::CUDAWrappers::Vector<Number> &      dst,
+    vmult(LinearAlgebra::CUDAWrappers::Vector<Number>       &dst,
           const LinearAlgebra::CUDAWrappers::Vector<Number> &src) const;
 
     /**
@@ -136,7 +136,7 @@ namespace CUDAWrappers
      * is the same as vmult().
      */
     void
-    Tvmult(LinearAlgebra::CUDAWrappers::Vector<Number> &      dst,
+    Tvmult(LinearAlgebra::CUDAWrappers::Vector<Number>       &dst,
            const LinearAlgebra::CUDAWrappers::Vector<Number> &src) const;
 
     /**
@@ -335,20 +335,20 @@ namespace CUDAWrappers
      */
     void
     initialize(const SparseMatrix<Number> &matrix,
-               const AdditionalData &      additional_data = AdditionalData());
+               const AdditionalData       &additional_data = AdditionalData());
 
     /**
      * Apply the preconditioner.
      */
     void
-    vmult(LinearAlgebra::CUDAWrappers::Vector<Number> &      dst,
+    vmult(LinearAlgebra::CUDAWrappers::Vector<Number>       &dst,
           const LinearAlgebra::CUDAWrappers::Vector<Number> &src) const;
 
     /**
      * Apply the transposed preconditioner. Not yet implemented.
      */
     void
-    Tvmult(LinearAlgebra::CUDAWrappers::Vector<Number> &      dst,
+    Tvmult(LinearAlgebra::CUDAWrappers::Vector<Number>       &dst,
            const LinearAlgebra::CUDAWrappers::Vector<Number> &src) const;
 
     /**
index 62e2ad64547631add35e0d92e888978c2cc18be9..114679ea930a36c9cfc0e83a8b165fc499ed02be 100644 (file)
@@ -68,8 +68,8 @@ namespace CUDAWrappers
      * Constructor. Takes the solver control object and creates the solver.
      */
     SolverDirect(const Utilities::CUDA::Handle &handle,
-                 SolverControl &                cn,
-                 const AdditionalData &         data = AdditionalData());
+                 SolverControl                 &cn,
+                 const AdditionalData          &data = AdditionalData());
 
     /**
      * Destructor.
@@ -80,8 +80,8 @@ namespace CUDAWrappers
      * Solve the linear system <tt>Ax=b</tt>.
      */
     void
-    solve(const SparseMatrix<Number> &                       A,
-          LinearAlgebra::CUDAWrappers::Vector<Number> &      x,
+    solve(const SparseMatrix<Number>                        &A,
+          LinearAlgebra::CUDAWrappers::Vector<Number>       &x,
           const LinearAlgebra::CUDAWrappers::Vector<Number> &b);
 
     /**
index 4b60f951207321f7b612c1cf1c5efa994e83c368..6755b3bb6f77abcc0848ec96a28eb1595f9bb8b6 100644 (file)
@@ -82,7 +82,7 @@ namespace CUDAWrappers
      * host. The sparse matrix on the host is copied on the @ref GlossDevice "device" and the
      * elements are reordered according to the format supported by cuSPARSE.
      */
-    SparseMatrix(Utilities::CUDA::Handle &             handle,
+    SparseMatrix(Utilities::CUDA::Handle              &handle,
                  const ::dealii::SparseMatrix<Number> &sparse_matrix_host);
 
     /**
@@ -119,7 +119,7 @@ namespace CUDAWrappers
      * supported by cuSPARSE.
      */
     void
-    reinit(Utilities::CUDA::Handle &             handle,
+    reinit(Utilities::CUDA::Handle              &handle,
            const ::dealii::SparseMatrix<Number> &sparse_matrix_host);
     /** @} */
 
@@ -186,11 +186,11 @@ namespace CUDAWrappers
      * applied to a large matrix!
      */
     void
-    print_formatted(std::ostream &     out,
+    print_formatted(std::ostream      &out,
                     const unsigned int precision   = 3,
                     const bool         scientific  = true,
                     const unsigned int width       = 0,
-                    const char *       zero_string = " ",
+                    const char        *zero_string = " ",
                     const double       denominator = 1.) const;
     /** @} */
 
@@ -220,7 +220,7 @@ namespace CUDAWrappers
      * being this matrix.
      */
     void
-    vmult(LinearAlgebra::CUDAWrappers::Vector<Number> &      dst,
+    vmult(LinearAlgebra::CUDAWrappers::Vector<Number>       &dst,
           const LinearAlgebra::CUDAWrappers::Vector<Number> &src) const;
 
     /**
@@ -229,7 +229,7 @@ namespace CUDAWrappers
      * takes this transposed matrix.
      */
     void
-    Tvmult(LinearAlgebra::CUDAWrappers::Vector<Number> &      dst,
+    Tvmult(LinearAlgebra::CUDAWrappers::Vector<Number>       &dst,
            const LinearAlgebra::CUDAWrappers::Vector<Number> &src) const;
 
     /**
@@ -237,7 +237,7 @@ namespace CUDAWrappers
      * with $M$ being this matrix.
      */
     void
-    vmult_add(LinearAlgebra::CUDAWrappers::Vector<Number> &      dst,
+    vmult_add(LinearAlgebra::CUDAWrappers::Vector<Number>       &dst,
               const LinearAlgebra::CUDAWrappers::Vector<Number> &src) const;
 
     /**
@@ -246,7 +246,7 @@ namespace CUDAWrappers
      * as vmult_add() but takes the transposed matrix.
      */
     void
-    Tvmult_add(LinearAlgebra::CUDAWrappers::Vector<Number> &      dst,
+    Tvmult_add(LinearAlgebra::CUDAWrappers::Vector<Number>       &dst,
                const LinearAlgebra::CUDAWrappers::Vector<Number> &src) const;
 
     /**
@@ -278,7 +278,7 @@ namespace CUDAWrappers
      * Source $x$ and destination $dst$ must not be the same vector.
      */
     Number
-    residual(LinearAlgebra::CUDAWrappers::Vector<Number> &      dst,
+    residual(LinearAlgebra::CUDAWrappers::Vector<Number>       &dst,
              const LinearAlgebra::CUDAWrappers::Vector<Number> &x,
              const LinearAlgebra::CUDAWrappers::Vector<Number> &b) const;
     /** @} */
@@ -462,11 +462,11 @@ namespace CUDAWrappers
 
   template <typename Number>
   void
-  SparseMatrix<Number>::print_formatted(std::ostream &     out,
+  SparseMatrix<Number>::print_formatted(std::ostream      &out,
                                         const unsigned int precision,
                                         const bool         scientific,
                                         const unsigned int width_,
-                                        const char *       zero_string,
+                                        const char        *zero_string,
                                         const double       denominator) const
   {
     Assert(column_index_dev != nullptr, ExcNotInitialized());
index 3fcbe3f6d86f48a26a9158ac7e82cb10b2ce4354..9f93804902ef5c88f195aaf1939751109e39b5d3 100644 (file)
@@ -322,7 +322,7 @@ namespace LinearAlgebra
        * Print the vector to the output stream @p out.
        */
       void
-      print(std::ostream &     out,
+      print(std::ostream      &out,
             const unsigned int precision  = 2,
             const bool         scientific = true,
             const bool         across     = true) const;
index 0478e0a98f056b0038b45a5590d6a7ca466f1aa2..a1fb633fb566f0285eaec76fa1d8e6c33467dbce 100644 (file)
@@ -167,7 +167,7 @@ public:
   add(const size_type  row,
       const size_type  n_cols,
       const size_type *col_indices,
-      const number2 *  values,
+      const number2   *values,
       const bool       elide_zero_values      = true,
       const bool       col_indices_are_sorted = false);
 
@@ -230,8 +230,8 @@ public:
   void
   apply_to_subrange(const unsigned int begin_range,
                     const unsigned int end_range,
-                    const value_type src_pointer_to_current_range,
-                    value_type *       dst_pointer_to_current_range) const;
+                    const value_type  *src_pointer_to_current_range,
+                    value_type        *dst_pointer_to_current_range) const;
 
   /**
    * Initialize vector @p dst to have the same size and partition as
@@ -377,7 +377,7 @@ void
 DiagonalMatrix<VectorType>::add(const size_type  row,
                                 const size_type  n_cols,
                                 const size_type *col_indices,
-                                const number2 *  values,
+                                const number2   *values,
                                 const bool,
                                 const bool)
 {
@@ -406,7 +406,7 @@ namespace internal
   {
     template <typename VectorType>
     void
-    assign_and_scale(VectorType &      dst,
+    assign_and_scale(VectorType       &dst,
                      const VectorType &src,
                      const VectorType &diagonal)
     {
@@ -417,7 +417,7 @@ namespace internal
     template <typename Number>
     void
     assign_and_scale(
-      LinearAlgebra::distributed::Vector<Number, MemorySpace::Host> &      dst,
+      LinearAlgebra::distributed::Vector<Number, MemorySpace::Host>       &dst,
       const LinearAlgebra::distributed::Vector<Number, MemorySpace::Host> &src,
       const LinearAlgebra::distributed::Vector<Number, MemorySpace::Host>
         &diagonal)
@@ -455,7 +455,7 @@ DiagonalMatrix<VectorType>::Tvmult(VectorType &dst, const VectorType &src) const
 
 template <typename VectorType>
 void
-DiagonalMatrix<VectorType>::vmult_add(VectorType &      dst,
+DiagonalMatrix<VectorType>::vmult_add(VectorType       &dst,
                                       const VectorType &src) const
 {
   VectorType tmp(src);
@@ -467,7 +467,7 @@ DiagonalMatrix<VectorType>::vmult_add(VectorType &      dst,
 
 template <typename VectorType>
 void
-DiagonalMatrix<VectorType>::Tvmult_add(VectorType &      dst,
+DiagonalMatrix<VectorType>::Tvmult_add(VectorType       &dst,
                                        const VectorType &src) const
 {
   vmult_add(dst, src);
@@ -491,15 +491,15 @@ void
 DiagonalMatrix<VectorType>::apply_to_subrange(
   const unsigned int begin_range,
   const unsigned int end_range,
-  const value_type src_pointer_to_current_range,
-  value_type *       dst_pointer_to_current_range) const
+  const value_type  *src_pointer_to_current_range,
+  value_type        *dst_pointer_to_current_range) const
 {
   AssertIndexRange(begin_range,
                    diagonal.locally_owned_elements().n_elements() + 1);
   AssertIndexRange(end_range,
                    diagonal.locally_owned_elements().n_elements() + 1);
 
-  const value_type diagonal_entry = diagonal.begin() + begin_range;
+  const value_type  *diagonal_entry = diagonal.begin() + begin_range;
   const unsigned int length         = end_range - begin_range;
 
   DEAL_II_OPENMP_SIMD_PRAGMA
index 4622aebb5b93572e6b80391fd579ec735c1fbe53..e4d021cc9e05f094e7e0d4290fcec0b1575f74a7 100644 (file)
@@ -441,7 +441,7 @@ public:
               const bool      indices_are_unique_and_sorted = false);
 
   virtual void
-  add_row_entries(const size_type &                 row,
+  add_row_entries(const size_type                  &row,
                   const ArrayView<const size_type> &columns,
                   const bool indices_are_sorted = false) override;
 
@@ -478,7 +478,7 @@ public:
    */
   template <typename SparsityPatternTypeLeft, typename SparsityPatternTypeRight>
   void
-  compute_mmult_pattern(const SparsityPatternTypeLeft left,
+  compute_mmult_pattern(const SparsityPatternTypeLeft  &left,
                         const SparsityPatternTypeRight &right);
 
   /**
@@ -487,7 +487,7 @@ public:
    */
   template <typename SparsityPatternTypeLeft, typename SparsityPatternTypeRight>
   void
-  compute_Tmmult_pattern(const SparsityPatternTypeLeft left,
+  compute_Tmmult_pattern(const SparsityPatternTypeLeft  &left,
                          const SparsityPatternTypeRight &right);
 
   /**
index 998bc74d89334edfbd9016b398728e690676b534..f1b2ad2d18ac38fd2d5413cee02c39534e74e869 100644 (file)
@@ -82,9 +82,9 @@ public:
   /**
    * Constructor.
    */
-  EigenPower(SolverControl &           cn,
+  EigenPower(SolverControl            &cn,
              VectorMemory<VectorType> &mem,
-             const AdditionalData &    data = AdditionalData());
+             const AdditionalData     &data = AdditionalData());
 
 
   /**
@@ -167,9 +167,9 @@ public:
   /**
    * Constructor.
    */
-  EigenInverse(SolverControl &           cn,
+  EigenInverse(SolverControl            &cn,
                VectorMemory<VectorType> &mem,
-               const AdditionalData &    data = AdditionalData());
+               const AdditionalData     &data = AdditionalData());
 
   /**
    * Inverse method. @p value is the start guess for the eigenvalue and @p x
@@ -194,9 +194,9 @@ protected:
 
 
 template <typename VectorType>
-EigenPower<VectorType>::EigenPower(SolverControl &           cn,
+EigenPower<VectorType>::EigenPower(SolverControl            &cn,
                                    VectorMemory<VectorType> &mem,
-                                   const AdditionalData &    data)
+                                   const AdditionalData     &data)
   : SolverBase<VectorType>(cn, mem)
   , additional_data(data)
 {}
@@ -213,10 +213,10 @@ EigenPower<VectorType>::solve(double &value, const MatrixType &A, VectorType &x)
   LogStream::Prefix prefix("Power method");
 
   typename VectorMemory<VectorType>::Pointer Vy(this->memory);
-  VectorType &                               y = *Vy;
+  VectorType                                &y = *Vy;
   y.reinit(x);
   typename VectorMemory<VectorType>::Pointer Vr(this->memory);
-  VectorType &                               r = *Vr;
+  VectorType                                &r = *Vr;
   r.reinit(x);
 
   double length     = x.l2_norm();
@@ -277,9 +277,9 @@ EigenPower<VectorType>::solve(double &value, const MatrixType &A, VectorType &x)
 //---------------------------------------------------------------------------
 
 template <typename VectorType>
-EigenInverse<VectorType>::EigenInverse(SolverControl &           cn,
+EigenInverse<VectorType>::EigenInverse(SolverControl            &cn,
                                        VectorMemory<VectorType> &mem,
-                                       const AdditionalData &    data)
+                                       const AdditionalData     &data)
   : SolverBase<VectorType>(cn, mem)
   , additional_data(data)
 {}
@@ -289,9 +289,9 @@ EigenInverse<VectorType>::EigenInverse(SolverControl &           cn,
 template <typename VectorType>
 template <typename MatrixType>
 void
-EigenInverse<VectorType>::solve(double &          value,
+EigenInverse<VectorType>::solve(double           &value,
                                 const MatrixType &A,
-                                VectorType &      x)
+                                VectorType       &x)
 {
   LogStream::Prefix prefix("Wielandt");
 
@@ -312,10 +312,10 @@ EigenInverse<VectorType>::solve(double &          value,
 
   // Auxiliary vector
   typename VectorMemory<VectorType>::Pointer Vy(this->memory);
-  VectorType &                               y = *Vy;
+  VectorType                                &y = *Vy;
   y.reinit(x);
   typename VectorMemory<VectorType>::Pointer Vr(this->memory);
-  VectorType &                               r = *Vr;
+  VectorType                                &r = *Vr;
   r.reinit(x);
 
   double length    = x.l2_norm();
@@ -352,7 +352,7 @@ EigenInverse<VectorType>::solve(double &          value,
 
       if (iter == goal)
         {
-          const auto relaxation = additional_data.relaxation;
+          const auto  &relaxation = additional_data.relaxation;
           const double new_shift =
             relaxation * (-value) + (1. - relaxation) * current_shift;
 
index 8e54a51c63a28ebe3445be5ddc90383f0a3b0b40..d025ab1bfe042b16b841c05d7f160182b3ce22e1 100644 (file)
@@ -260,7 +260,7 @@ public:
    */
   template <int dim>
   void
-  copy_to(Tensor<2, dim> &   T,
+  copy_to(Tensor<2, dim>    &T,
           const size_type    src_r_i = 0,
           const size_type    src_r_j = dim - 1,
           const size_type    src_c_i = 0,
@@ -282,7 +282,7 @@ public:
    */
   template <typename MatrixType, typename index_type>
   void
-  extract_submatrix_from(const MatrixType &             matrix,
+  extract_submatrix_from(const MatrixType              &matrix,
                          const std::vector<index_type> &row_index_set,
                          const std::vector<index_type> &column_index_set);
 
@@ -302,7 +302,7 @@ public:
   void
   scatter_matrix_to(const std::vector<index_type> &row_index_set,
                     const std::vector<index_type> &column_index_set,
-                    MatrixType &                   matrix) const;
+                    MatrixType                    &matrix) const;
 
   /**
    * Fill rectangular block.
@@ -343,7 +343,7 @@ public:
    */
   template <typename number2>
   void
-  fill_permutation(const FullMatrix<number2> &   src,
+  fill_permutation(const FullMatrix<number2>    &src,
                    const std::vector<size_type> &p_rows,
                    const std::vector<size_type> &p_cols);
 
@@ -489,7 +489,7 @@ public:
    */
   template <typename StreamType>
   void
-  print(StreamType &       s,
+  print(StreamType        &s,
         const unsigned int width     = 5,
         const unsigned int precision = 2) const;
 
@@ -516,11 +516,11 @@ public:
    * this are considered zero.
    */
   void
-  print_formatted(std::ostream &     out,
+  print_formatted(std::ostream      &out,
                   const unsigned int precision   = 3,
                   const bool         scientific  = true,
                   const unsigned int width       = 0,
-                  const char *       zero_string = " ",
+                  const char        *zero_string = " ",
                   const double       denominator = 1.,
                   const double       threshold   = 0.) const;
 
@@ -690,7 +690,7 @@ public:
   add(const size_type   row,
       const size_type   n_cols,
       const index_type *col_indices,
-      const number2 *   values,
+      const number2    *values,
       const bool        elide_zero_values      = true,
       const bool        col_indices_are_sorted = false);
 
@@ -876,7 +876,7 @@ public:
    */
   template <typename number2>
   void
-  mmult(FullMatrix<number2> &      C,
+  mmult(FullMatrix<number2>       &C,
         const FullMatrix<number2> &B,
         const bool                 adding = false) const;
 
@@ -900,7 +900,7 @@ public:
    */
   template <typename number2>
   void
-  Tmmult(FullMatrix<number2> &      C,
+  Tmmult(FullMatrix<number2>       &C,
          const FullMatrix<number2> &B,
          const bool                 adding = false) const;
 
@@ -924,7 +924,7 @@ public:
    */
   template <typename number2>
   void
-  mTmult(FullMatrix<number2> &      C,
+  mTmult(FullMatrix<number2>       &C,
          const FullMatrix<number2> &B,
          const bool                 adding = false) const;
 
@@ -949,7 +949,7 @@ public:
    */
   template <typename number2>
   void
-  TmTmult(FullMatrix<number2> &      C,
+  TmTmult(FullMatrix<number2>       &C,
           const FullMatrix<number2> &B,
           const bool                 adding = false) const;
 
@@ -985,7 +985,7 @@ public:
    */
   template <typename number2>
   void
-  vmult(Vector<number2> &      w,
+  vmult(Vector<number2>       &w,
         const Vector<number2> &v,
         const bool             adding = false) const;
 
@@ -1013,7 +1013,7 @@ public:
    */
   template <typename number2>
   void
-  Tvmult(Vector<number2> &      w,
+  Tvmult(Vector<number2>       &w,
          const Vector<number2> &v,
          const bool             adding = false) const;
 
@@ -1034,7 +1034,7 @@ public:
    */
   template <typename somenumber>
   void
-  precondition_Jacobi(Vector<somenumber> &      dst,
+  precondition_Jacobi(Vector<somenumber>       &dst,
                       const Vector<somenumber> &src,
                       const number              omega = 1.) const;
 
@@ -1046,7 +1046,7 @@ public:
    */
   template <typename number2, typename number3>
   number
-  residual(Vector<number2> &      dst,
+  residual(Vector<number2>       &dst,
            const Vector<number2> &x,
            const Vector<number3> &b) const;
 
@@ -1224,7 +1224,7 @@ FullMatrix<number>::copy_from(const Tensor<2, dim> &T,
 template <typename number>
 template <int dim>
 void
-FullMatrix<number>::copy_to(Tensor<2, dim> &   T,
+FullMatrix<number>::copy_to(Tensor<2, dim>    &T,
                             const size_type    src_r_i,
                             const size_type    src_r_j,
                             const size_type    src_c_i,
@@ -1277,7 +1277,7 @@ template <typename number>
 template <typename MatrixType, typename index_type>
 inline void
 FullMatrix<number>::extract_submatrix_from(
-  const MatrixType &             matrix,
+  const MatrixType              &matrix,
   const std::vector<index_type> &row_index_set,
   const std::vector<index_type> &column_index_set)
 {
@@ -1301,7 +1301,7 @@ inline void
 FullMatrix<number>::scatter_matrix_to(
   const std::vector<index_type> &row_index_set,
   const std::vector<index_type> &column_index_set,
-  MatrixType &                   matrix) const
+  MatrixType                    &matrix) const
 {
   AssertDimension(row_index_set.size(), this->n_rows());
   AssertDimension(column_index_set.size(), this->n_cols());
@@ -1331,7 +1331,7 @@ FullMatrix<number>::set(const size_type i,
 template <typename number>
 template <typename number2>
 void
-FullMatrix<number>::vmult_add(Vector<number2> &      w,
+FullMatrix<number>::vmult_add(Vector<number2>       &w,
                               const Vector<number2> &v) const
 {
   vmult(w, v, true);
@@ -1341,7 +1341,7 @@ FullMatrix<number>::vmult_add(Vector<number2> &      w,
 template <typename number>
 template <typename number2>
 void
-FullMatrix<number>::Tvmult_add(Vector<number2> &      w,
+FullMatrix<number>::Tvmult_add(Vector<number2>       &w,
                                const Vector<number2> &v) const
 {
   Tvmult(w, v, true);
@@ -1407,7 +1407,7 @@ inline void
 FullMatrix<number>::add(const size_type   row,
                         const size_type   n_cols,
                         const index_type *col_indices,
-                        const number2 *   values,
+                        const number2    *values,
                         const bool,
                         const bool)
 {
@@ -1423,7 +1423,7 @@ FullMatrix<number>::add(const size_type   row,
 template <typename number>
 template <typename StreamType>
 inline void
-FullMatrix<number>::print(StreamType &       s,
+FullMatrix<number>::print(StreamType        &s,
                           const unsigned int w,
                           const unsigned int p) const
 {
index 51857207077bf25ed70c800a65316dc09a44c2b4..395e3fbaec49f82acb81c8aa327b61e3125f3c0a 100644 (file)
@@ -58,7 +58,7 @@ FullMatrix<number>::FullMatrix(const size_type m, const size_type n)
 template <typename number>
 FullMatrix<number>::FullMatrix(const size_type m,
                                const size_type n,
-                               const number *  entries)
+                               const number   *entries)
   : Table<2, number>(m, n)
 {
   this->fill(entries);
@@ -122,7 +122,7 @@ FullMatrix<number>::all_zero() const
 {
   Assert(!this->empty(), ExcEmptyMatrix());
 
-  const number *      p = this->values.data();
+  const number       *p = this->values.data();
   const number *const e = this->values.data() + this->n_elements();
   while (p != e)
     if (*p++ != number(0.0))
@@ -161,7 +161,7 @@ FullMatrix<number>::operator/=(const number factor)
 template <typename number>
 template <typename number2>
 void
-FullMatrix<number>::vmult(Vector<number2> &      dst,
+FullMatrix<number>::vmult(Vector<number2>       &dst,
                           const Vector<number2> &src,
                           const bool             adding) const
 {
@@ -176,7 +176,7 @@ FullMatrix<number>::vmult(Vector<number2> &      dst,
   // get access to the data in order to
   // avoid copying it when using the ()
   // operator
-  const number2 src_ptr = src.begin();
+  const number2  *src_ptr = src.begin();
   const size_type size_m = m(), size_n = n();
   for (size_type i = 0; i < size_m; ++i)
     {
@@ -192,7 +192,7 @@ FullMatrix<number>::vmult(Vector<number2> &      dst,
 template <typename number>
 template <typename number2>
 void
-FullMatrix<number>::Tvmult(Vector<number2> &      dst,
+FullMatrix<number>::Tvmult(Vector<number2>       &dst,
                            const Vector<number2> &src,
                            const bool             adding) const
 {
@@ -203,8 +203,8 @@ FullMatrix<number>::Tvmult(Vector<number2> &      dst,
 
   Assert(&src != &dst, ExcSourceEqualsDestination());
 
-  const number *  e       = this->values.data();
-  number2 *       dst_ptr = &dst(0);
+  const number   *e       = this->values.data();
+  number2        *dst_ptr = &dst(0);
   const size_type size_m = m(), size_n = n();
 
   // zero out data if we are not adding
@@ -226,7 +226,7 @@ FullMatrix<number>::Tvmult(Vector<number2> &      dst,
 template <typename number>
 template <typename number2, typename number3>
 number
-FullMatrix<number>::residual(Vector<number2> &      dst,
+FullMatrix<number>::residual(Vector<number2>       &dst,
                              const Vector<number2> &src,
                              const Vector<number3> &right) const
 {
@@ -256,7 +256,7 @@ FullMatrix<number>::residual(Vector<number2> &      dst,
 template <typename number>
 template <typename number2>
 void
-FullMatrix<number>::forward(Vector<number2> &      dst,
+FullMatrix<number>::forward(Vector<number2>       &dst,
                             const Vector<number2> &src) const
 {
   Assert(!this->empty(), ExcEmptyMatrix());
@@ -282,7 +282,7 @@ FullMatrix<number>::forward(Vector<number2> &      dst,
 template <typename number>
 template <typename number2>
 void
-FullMatrix<number>::backward(Vector<number2> &      dst,
+FullMatrix<number>::backward(Vector<number2>       &dst,
                              const Vector<number2> &src) const
 {
   Assert(!this->empty(), ExcEmptyMatrix());
@@ -330,7 +330,7 @@ FullMatrix<number>::fill(const FullMatrix<number2> &src,
 template <typename number>
 template <typename number2>
 void
-FullMatrix<number>::fill_permutation(const FullMatrix<number2> &   src,
+FullMatrix<number>::fill_permutation(const FullMatrix<number2>    &src,
                                      const std::vector<size_type> &p_rows,
                                      const std::vector<size_type> &p_cols)
 {
@@ -505,7 +505,7 @@ FullMatrix<number>::equ(const number               a,
 template <typename number>
 template <typename number2>
 void
-FullMatrix<number>::mmult(FullMatrix<number2> &      dst,
+FullMatrix<number>::mmult(FullMatrix<number2>       &dst,
                           const FullMatrix<number2> &src,
                           const bool                 adding) const
 {
@@ -539,7 +539,7 @@ FullMatrix<number>::mmult(FullMatrix<number2> &      dst,
         const types::blas_int m       = static_cast<types::blas_int>(src.n());
         const types::blas_int n       = static_cast<types::blas_int>(this->m());
         const types::blas_int k       = static_cast<types::blas_int>(this->n());
-        const char *          notrans = "n";
+        const char           *notrans = "n";
 
         const number alpha = 1.;
         const number beta  = (adding == true) ? 1. : 0.;
@@ -586,7 +586,7 @@ FullMatrix<number>::mmult(FullMatrix<number2> &      dst,
 template <typename number>
 template <typename number2>
 void
-FullMatrix<number>::Tmmult(FullMatrix<number2> &      dst,
+FullMatrix<number>::Tmmult(FullMatrix<number2>       &dst,
                            const FullMatrix<number2> &src,
                            const bool                 adding) const
 {
@@ -621,8 +621,8 @@ FullMatrix<number>::Tmmult(FullMatrix<number2> &      dst,
         const types::blas_int m       = static_cast<types::blas_int>(src.n());
         const types::blas_int n       = static_cast<types::blas_int>(this->n());
         const types::blas_int k       = static_cast<types::blas_int>(this->m());
-        const char *          trans   = "t";
-        const char *          notrans = "n";
+        const char           *trans   = "t";
+        const char           *notrans = "n";
 
         const number alpha = 1.;
         const number beta  = (adding == true) ? 1. : 0.;
@@ -690,7 +690,7 @@ FullMatrix<number>::Tmmult(FullMatrix<number2> &      dst,
 template <typename number>
 template <typename number2>
 void
-FullMatrix<number>::mTmult(FullMatrix<number2> &      dst,
+FullMatrix<number>::mTmult(FullMatrix<number2>       &dst,
                            const FullMatrix<number2> &src,
                            const bool                 adding) const
 {
@@ -724,8 +724,8 @@ FullMatrix<number>::mTmult(FullMatrix<number2> &      dst,
         const types::blas_int m       = static_cast<types::blas_int>(src.m());
         const types::blas_int n       = static_cast<types::blas_int>(this->m());
         const types::blas_int k       = static_cast<types::blas_int>(this->n());
-        const char *          notrans = "n";
-        const char *          trans   = "t";
+        const char           *notrans = "n";
+        const char           *trans   = "t";
 
         const number alpha = 1.;
         const number beta  = (adding == true) ? 1. : 0.;
@@ -790,7 +790,7 @@ FullMatrix<number>::mTmult(FullMatrix<number2> &      dst,
 template <typename number>
 template <typename number2>
 void
-FullMatrix<number>::TmTmult(FullMatrix<number2> &      dst,
+FullMatrix<number>::TmTmult(FullMatrix<number2>       &dst,
                             const FullMatrix<number2> &src,
                             const bool                 adding) const
 {
@@ -825,7 +825,7 @@ FullMatrix<number>::TmTmult(FullMatrix<number2> &      dst,
         const types::blas_int m     = static_cast<types::blas_int>(src.m());
         const types::blas_int n     = static_cast<types::blas_int>(this->n());
         const types::blas_int k     = static_cast<types::blas_int>(this->m());
-        const char *          trans = "t";
+        const char           *trans = "t";
 
         const number alpha = 1.;
         const number beta  = (adding == true) ? 1. : 0.;
@@ -938,13 +938,13 @@ FullMatrix<number>::matrix_norm_square(const Vector<number2> &v) const
 
   number2         sum     = 0.;
   const size_type n_rows  = m();
-  const number *  val_ptr = this->values.data();
+  const number   *val_ptr = this->values.data();
 
   for (size_type row = 0; row < n_rows; ++row)
     {
       number2             s              = 0.;
       const number *const val_end_of_row = val_ptr + n_rows;
-      const number2 *     v_ptr          = v.begin();
+      const number2      *v_ptr          = v.begin();
       while (val_ptr != val_end_of_row)
         s += number2(*val_ptr++) * number2(*v_ptr++);
 
@@ -969,13 +969,13 @@ FullMatrix<number>::matrix_scalar_product(const Vector<number2> &u,
   number2         sum     = 0.;
   const size_type n_rows  = m();
   const size_type n_cols  = n();
-  const number *  val_ptr = this->values.data();
+  const number   *val_ptr = this->values.data();
 
   for (size_type row = 0; row < n_rows; ++row)
     {
       number2             s              = number2(0.);
       const number *const val_end_of_row = val_ptr + n_cols;
-      const number2 *     v_ptr          = v.begin();
+      const number2      *v_ptr          = v.begin();
       while (val_ptr != val_end_of_row)
         s += number2(*val_ptr++) * number2(*v_ptr++);
 
@@ -1666,7 +1666,7 @@ FullMatrix<number>::right_invert(const FullMatrix<number2> &A)
 template <typename number>
 template <typename somenumber>
 void
-FullMatrix<number>::precondition_Jacobi(Vector<somenumber> &      dst,
+FullMatrix<number>::precondition_Jacobi(Vector<somenumber>       &dst,
                                         const Vector<somenumber> &src,
                                         const number              om) const
 {
@@ -1675,7 +1675,7 @@ FullMatrix<number>::precondition_Jacobi(Vector<somenumber> &      dst,
   Assert(src.size() == n(), ExcDimensionMismatch(src.size(), n()));
 
   const std::size_t n       = src.size();
-  somenumber *      dst_ptr = dst.begin();
+  somenumber       *dst_ptr = dst.begin();
   const somenumber *src_ptr = src.begin();
 
   for (size_type i = 0; i < n; ++i, ++dst_ptr, ++src_ptr)
@@ -1686,11 +1686,11 @@ FullMatrix<number>::precondition_Jacobi(Vector<somenumber> &      dst,
 
 template <typename number>
 void
-FullMatrix<number>::print_formatted(std::ostream &     out,
+FullMatrix<number>::print_formatted(std::ostream      &out,
                                     const unsigned int precision,
                                     const bool         scientific,
                                     const unsigned int width_,
-                                    const char *       zero_string,
+                                    const char        *zero_string,
                                     const double       denominator,
                                     const double       threshold) const
 {
index ec7bbf0f9d2cb5e5b38f86ab03a1a5033bd106db..e425f2e0e53bf6dc2a7267e1e855278a8da630b6 100644 (file)
@@ -130,8 +130,8 @@ namespace GinkgoWrappers
      */
     void
     solve(const SparseMatrix<ValueType> &matrix,
-          Vector<ValueType> &            solution,
-          const Vector<ValueType> &      rhs);
+          Vector<ValueType>             &solution,
+          const Vector<ValueType>       &rhs);
 
     /**
      * Access to the object that controls convergence.
@@ -232,8 +232,8 @@ namespace GinkgoWrappers
      *
      * @param[in] data The additional data required by the solver.
      */
-    SolverCG(SolverControl &       solver_control,
-             const std::string &   exec_type,
+    SolverCG(SolverControl        &solver_control,
+             const std::string    &exec_type,
              const AdditionalData &data = AdditionalData());
 
     /**
@@ -249,10 +249,10 @@ namespace GinkgoWrappers
      *
      * @param[in] data The additional data required by the solver.
      */
-    SolverCG(SolverControl &                           solver_control,
-             const std::string &                       exec_type,
+    SolverCG(SolverControl                            &solver_control,
+             const std::string                        &exec_type,
              const std::shared_ptr<gko::LinOpFactory> &preconditioner,
-             const AdditionalData &                    data = AdditionalData());
+             const AdditionalData                     &data = AdditionalData());
 
   protected:
     /**
@@ -288,8 +288,8 @@ namespace GinkgoWrappers
      *
      * @param[in] data The additional data required by the solver.
      */
-    SolverBicgstab(SolverControl &       solver_control,
-                   const std::string &   exec_type,
+    SolverBicgstab(SolverControl        &solver_control,
+                   const std::string    &exec_type,
                    const AdditionalData &data = AdditionalData());
 
     /**
@@ -305,8 +305,8 @@ namespace GinkgoWrappers
      *
      * @param[in] data The additional data required by the solver.
      */
-    SolverBicgstab(SolverControl &                           solver_control,
-                   const std::string &                       exec_type,
+    SolverBicgstab(SolverControl                            &solver_control,
+                   const std::string                        &exec_type,
                    const std::shared_ptr<gko::LinOpFactory> &preconditioner,
                    const AdditionalData &data = AdditionalData());
 
@@ -346,8 +346,8 @@ namespace GinkgoWrappers
      *
      * @param[in] data The additional data required by the solver.
      */
-    SolverCGS(SolverControl &       solver_control,
-              const std::string &   exec_type,
+    SolverCGS(SolverControl        &solver_control,
+              const std::string    &exec_type,
               const AdditionalData &data = AdditionalData());
 
     /**
@@ -363,8 +363,8 @@ namespace GinkgoWrappers
      *
      * @param[in] data The additional data required by the solver.
      */
-    SolverCGS(SolverControl &                           solver_control,
-              const std::string &                       exec_type,
+    SolverCGS(SolverControl                            &solver_control,
+              const std::string                        &exec_type,
               const std::shared_ptr<gko::LinOpFactory> &preconditioner,
               const AdditionalData &data = AdditionalData());
 
@@ -413,8 +413,8 @@ namespace GinkgoWrappers
      *
      * @param[in] data The additional data required by the solver.
      */
-    SolverFCG(SolverControl &       solver_control,
-              const std::string &   exec_type,
+    SolverFCG(SolverControl        &solver_control,
+              const std::string    &exec_type,
               const AdditionalData &data = AdditionalData());
 
     /**
@@ -430,8 +430,8 @@ namespace GinkgoWrappers
      *
      * @param[in] data The additional data required by the solver.
      */
-    SolverFCG(SolverControl &                           solver_control,
-              const std::string &                       exec_type,
+    SolverFCG(SolverControl                            &solver_control,
+              const std::string                        &exec_type,
               const std::shared_ptr<gko::LinOpFactory> &preconditioner,
               const AdditionalData &data = AdditionalData());
 
@@ -479,8 +479,8 @@ namespace GinkgoWrappers
      *
      * @param[in] data The additional data required by the solver.
      */
-    SolverGMRES(SolverControl &       solver_control,
-                const std::string &   exec_type,
+    SolverGMRES(SolverControl        &solver_control,
+                const std::string    &exec_type,
                 const AdditionalData &data = AdditionalData());
 
     /**
@@ -496,8 +496,8 @@ namespace GinkgoWrappers
      *
      * @param[in] data The additional data required by the solver.
      */
-    SolverGMRES(SolverControl &                           solver_control,
-                const std::string &                       exec_type,
+    SolverGMRES(SolverControl                            &solver_control,
+                const std::string                        &exec_type,
                 const std::shared_ptr<gko::LinOpFactory> &preconditioner,
                 const AdditionalData &data = AdditionalData());
 
@@ -538,8 +538,8 @@ namespace GinkgoWrappers
      *
      * @param[in] data The additional data required by the solver.
      */
-    SolverIR(SolverControl &       solver_control,
-             const std::string &   exec_type,
+    SolverIR(SolverControl        &solver_control,
+             const std::string    &exec_type,
              const AdditionalData &data = AdditionalData());
 
     /**
@@ -555,10 +555,10 @@ namespace GinkgoWrappers
      *
      * @param[in] data The additional data required by the solver.
      */
-    SolverIR(SolverControl &                           solver_control,
-             const std::string &                       exec_type,
+    SolverIR(SolverControl                            &solver_control,
+             const std::string                        &exec_type,
              const std::shared_ptr<gko::LinOpFactory> &inner_solver,
-             const AdditionalData &                    data = AdditionalData());
+             const AdditionalData                     &data = AdditionalData());
 
   protected:
     /**
index 6aca34f3d735e53a926f58ab60ca185cb0fb23ec..9d673c1ba84ae7907c76b29bd869c5b8918539ef 100644 (file)
@@ -124,7 +124,7 @@ public:
    */
   template <typename number2>
   double
-  least_squares(BlockVector<number2> &      dst,
+  least_squares(BlockVector<number2>       &dst,
                 const BlockVector<number2> &src) const;
 
   /**
@@ -234,7 +234,7 @@ Householder<number>::Householder(const FullMatrix<number2> &M)
 template <typename number>
 template <typename number2>
 double
-Householder<number>::least_squares(Vector<number2> &      dst,
+Householder<number>::least_squares(Vector<number2>       &dst,
                                    const Vector<number2> &src) const
 {
   Assert(!storage.empty(), typename FullMatrix<number2>::ExcEmptyMatrix());
@@ -279,7 +279,7 @@ Householder<number>::least_squares(Vector<number2> &      dst,
 template <typename number>
 template <typename number2>
 double
-Householder<number>::least_squares(BlockVector<number2> &      dst,
+Householder<number>::least_squares(BlockVector<number2>       &dst,
                                    const BlockVector<number2> &src) const
 {
   Assert(!storage.empty(), typename FullMatrix<number2>::ExcEmptyMatrix());
index 3a695837706c75e80e4adb9530fb629b2d144e66..d2ca12b15e6608018d19a80b7714080da5bfb957 100644 (file)
@@ -188,7 +188,7 @@ namespace LinearAlgebra
        */
       BlockVector(
         const std::vector<std::shared_ptr<const Utilities::MPI::Partitioner>>
-          &             partitioners,
+                       &partitioners,
         const MPI_Comm &comm_sm = MPI_COMM_SELF);
 
       /**
@@ -359,7 +359,7 @@ namespace LinearAlgebra
       void
       reinit(
         const std::vector<std::shared_ptr<const Utilities::MPI::Partitioner>>
-          &             partitioners,
+                       &partitioners,
         const MPI_Comm &comm_sm = MPI_COMM_SELF);
 
       /**
@@ -371,7 +371,7 @@ namespace LinearAlgebra
       void
       reinit(
         const std::vector<std::shared_ptr<const Utilities::MPI::Partitioner>>
-          &             partitioners,
+                       &partitioners,
         const bool      make_ghosted,
         const MPI_Comm &comm_sm = MPI_COMM_SELF);
 
@@ -459,7 +459,7 @@ namespace LinearAlgebra
        */
       template <typename OtherNumber>
       void
-      add(const std::vector<size_type> &       indices,
+      add(const std::vector<size_type>        &indices,
           const ::dealii::Vector<OtherNumber> &values);
 
       /**
@@ -591,7 +591,7 @@ namespace LinearAlgebra
        */
       template <typename FullMatrixType>
       void
-      multivector_inner_product(FullMatrixType &           matrix,
+      multivector_inner_product(FullMatrixType            &matrix,
                                 const BlockVector<Number> &V,
                                 const bool symmetric = false) const;
 
@@ -613,7 +613,7 @@ namespace LinearAlgebra
        */
       template <typename FullMatrixType>
       Number
-      multivector_inner_product_with_metric(const FullMatrixType &     matrix,
+      multivector_inner_product_with_metric(const FullMatrixType      &matrix,
                                             const BlockVector<Number> &V,
                                             const bool symmetric = false) const;
 
@@ -628,7 +628,7 @@ namespace LinearAlgebra
        */
       template <typename FullMatrixType>
       void
-      mmult(BlockVector<Number> V,
+      mmult(BlockVector<Number>  &V,
             const FullMatrixType &matrix,
             const Number          s = Number(0.),
             const Number          b = Number(1.)) const;
@@ -660,7 +660,7 @@ namespace LinearAlgebra
        */
       void
       add(const std::vector<size_type> &indices,
-          const std::vector<Number> &   values);
+          const std::vector<Number>    &values);
 
       /**
        * Scaling and simple addition of a multiple of a vector, i.e. <tt>*this =
@@ -760,7 +760,7 @@ namespace LinearAlgebra
        * Print the vector to the output stream @p out.
        */
       void
-      print(std::ostream &     out,
+      print(std::ostream      &out,
             const unsigned int precision  = 3,
             const bool         scientific = true,
             const bool         across     = true) const;
index 8312e1a8cabf89d34a4617e0d7ae9423ba4ea7c0..deaedfa41c528d01bc97bcd4284969f5f2239ded 100644 (file)
@@ -78,7 +78,7 @@ namespace LinearAlgebra
     template <typename Number>
     BlockVector<Number>::BlockVector(
       const std::vector<std::shared_ptr<const Utilities::MPI::Partitioner>>
-        &             partitioners,
+                     &partitioners,
       const MPI_Comm &comm_sm)
     {
       reinit(partitioners, comm_sm);
@@ -203,7 +203,7 @@ namespace LinearAlgebra
     void
     BlockVector<Number>::reinit(
       const std::vector<std::shared_ptr<const Utilities::MPI::Partitioner>>
-        &             partitioners,
+                     &partitioners,
       const MPI_Comm &comm_sm)
     {
       // update the number of blocks
@@ -312,7 +312,7 @@ namespace LinearAlgebra
       void
       copy_petsc_vector(const PETSC_Number *petsc_start_ptr,
                         const PETSC_Number *petsc_end_ptr,
-                        Number *            ptr)
+                        Number             *ptr)
       {
         std::copy(petsc_start_ptr, petsc_end_ptr, ptr);
       }
@@ -321,7 +321,7 @@ namespace LinearAlgebra
       void
       copy_petsc_vector(const std::complex<PETSC_Number> *petsc_start_ptr,
                         const std::complex<PETSC_Number> *petsc_end_ptr,
-                        std::complex<Number> *            ptr)
+                        std::complex<Number>             *ptr)
       {
         std::copy(petsc_start_ptr, petsc_end_ptr, ptr);
       }
@@ -636,7 +636,7 @@ namespace LinearAlgebra
     template <typename Number>
     template <typename OtherNumber>
     void
-    BlockVector<Number>::add(const std::vector<size_type> &       indices,
+    BlockVector<Number>::add(const std::vector<size_type>        &indices,
                              const ::dealii::Vector<OtherNumber> &values)
     {
       for (size_type i = 0; i < indices.size(); ++i)
@@ -648,7 +648,7 @@ namespace LinearAlgebra
     template <typename Number>
     void
     BlockVector<Number>::add(const std::vector<size_type> &indices,
-                             const std::vector<Number> &   values)
+                             const std::vector<Number>    &values)
     {
       for (size_type i = 0; i < indices.size(); ++i)
         (*this)(indices[i]) += values[i];
@@ -888,7 +888,7 @@ namespace LinearAlgebra
 
     template <typename Number>
     void
-    BlockVector<Number>::print(std::ostream &     out,
+    BlockVector<Number>::print(std::ostream      &out,
                                const unsigned int precision,
                                const bool         scientific,
                                const bool         across) const
@@ -983,7 +983,7 @@ namespace LinearAlgebra
     template <typename FullMatrixType>
     Number
     BlockVector<Number>::multivector_inner_product_with_metric(
-      const FullMatrixType &     matrix,
+      const FullMatrixType      &matrix,
       const BlockVector<Number> &V,
       const bool                 symmetric) const
     {
@@ -1031,7 +1031,7 @@ namespace LinearAlgebra
     template <typename Number>
     template <typename FullMatrixType>
     void
-    BlockVector<Number>::mmult(BlockVector<Number> V,
+    BlockVector<Number>::mmult(BlockVector<Number>  &V,
                                const FullMatrixType &matrix,
                                const Number          s,
                                const Number          b) const
index 2b43d7832fcfa2dc3ea92418d150eb36d9fd8cf1..aa0934352edebe38933ed1ce0afa11e04fa344a6 100644 (file)
@@ -798,7 +798,7 @@ namespace LinearAlgebra
        */
       void
       add(const std::vector<size_type> &indices,
-          const std::vector<Number> &   values);
+          const std::vector<Number>    &values);
 
       /**
        * Scaling and simple addition of a multiple of a vector, i.e. <tt>*this =
@@ -900,7 +900,7 @@ namespace LinearAlgebra
        * Print the vector to the output stream @p out.
        */
       void
-      print(std::ostream &     out,
+      print(std::ostream      &out,
             const unsigned int precision  = 3,
             const bool         scientific = true,
             const bool         across     = true) const;
@@ -931,7 +931,7 @@ namespace LinearAlgebra
        */
       template <typename OtherNumber>
       void
-      add(const std::vector<size_type> &       indices,
+      add(const std::vector<size_type>        &indices,
           const ::dealii::Vector<OtherNumber> &values);
 
       /**
@@ -941,7 +941,7 @@ namespace LinearAlgebra
       template <typename OtherNumber>
       void
       add(const size_type    n_elements,
-          const size_type *  indices,
+          const size_type   *indices,
           const OtherNumber *values);
 
       /**
@@ -1110,7 +1110,7 @@ namespace LinearAlgebra
       template <typename OtherNumber>
       void
       extract_subvector_to(const std::vector<size_type> &indices,
-                           std::vector<OtherNumber> &    values) const;
+                           std::vector<OtherNumber>     &values) const;
 
       /**
        * Extract a range of elements all at once.
@@ -1668,7 +1668,7 @@ namespace LinearAlgebra
     inline void
     Vector<Number, MemorySpace>::extract_subvector_to(
       const std::vector<size_type> &indices,
-      std::vector<OtherNumber> &    values) const
+      std::vector<OtherNumber>     &values) const
     {
       for (size_type i = 0; i < indices.size(); ++i)
         values[i] = operator()(indices[i]);
@@ -1698,7 +1698,7 @@ namespace LinearAlgebra
     template <typename OtherNumber>
     inline void
     Vector<Number, MemorySpace>::add(
-      const std::vector<size_type> &       indices,
+      const std::vector<size_type>        &indices,
       const ::dealii::Vector<OtherNumber> &values)
     {
       AssertDimension(indices.size(), values.size());
@@ -1718,7 +1718,7 @@ namespace LinearAlgebra
     template <typename OtherNumber>
     inline void
     Vector<Number, MemorySpace>::add(const size_type    n_elements,
-                                     const size_type *  indices,
+                                     const size_type   *indices,
                                      const OtherNumber *values)
     {
       for (size_type i = 0; i < n_elements; ++i, ++indices, ++values)
@@ -1860,7 +1860,7 @@ namespace internal
 #endif
                                  MatrixType> * = nullptr>
       static void
-      reinit_domain_vector(MatrixType &                                mat,
+      reinit_domain_vector(MatrixType                                 &mat,
                            LinearAlgebra::distributed::Vector<Number> &vec,
                            bool /*omit_zeroing_entries*/)
       {
@@ -1879,7 +1879,7 @@ namespace internal
 #endif
                                  MatrixType> * = nullptr>
       static void
-      reinit_domain_vector(MatrixType &                                mat,
+      reinit_domain_vector(MatrixType                                 &mat,
                            LinearAlgebra::distributed::Vector<Number> &vec,
                            bool omit_zeroing_entries)
       {
@@ -1902,7 +1902,7 @@ namespace internal
 #endif
                                  MatrixType> * = nullptr>
       static void
-      reinit_range_vector(MatrixType &                                mat,
+      reinit_range_vector(MatrixType                                 &mat,
                           LinearAlgebra::distributed::Vector<Number> &vec,
                           bool /*omit_zeroing_entries*/)
       {
@@ -1921,7 +1921,7 @@ namespace internal
 #endif
                                  MatrixType> * = nullptr>
       static void
-      reinit_range_vector(MatrixType &                                mat,
+      reinit_range_vector(MatrixType                                 &mat,
                           LinearAlgebra::distributed::Vector<Number> &vec,
                           bool omit_zeroing_entries)
       {
index d6db4bfce8decb5deeff8f999cfd5e8d11060290..cba700b26ce7d4dec83af5f93f48d259a84d9947 100644 (file)
@@ -126,7 +126,7 @@ namespace LinearAlgebra
 
         static void
         resize_val(const types::global_dof_index new_alloc_size,
-                   types::global_dof_index &     allocated_size,
+                   types::global_dof_index      &allocated_size,
                    ::dealii::MemorySpace::
                      MemorySpaceData<Number, ::dealii::MemorySpace::Host> &data,
                    const MPI_Comm comm_shared)
@@ -252,7 +252,7 @@ namespace LinearAlgebra
           const ::dealii::LinearAlgebra::ReadWriteVector<Number> &V,
           VectorOperation::values                                 operation,
           const std::shared_ptr<const ::dealii::Utilities::MPI::Partitioner>
-            &             communication_pattern,
+                         &communication_pattern,
           const IndexSet &locally_owned_elem,
           ::dealii::MemorySpace::MemorySpaceData<Number,
                                                  ::dealii::MemorySpace::Host>
@@ -306,7 +306,7 @@ namespace LinearAlgebra
                             Number,
                             ::dealii::MemorySpace::Host> &data,
                           const unsigned int              size,
-                          RealType &                      max)
+                          RealType                       &max)
         {
           for (size_type i = 0; i < size; ++i)
             max =
@@ -324,10 +324,10 @@ namespace LinearAlgebra
         static void
         resize_val(
           const types::global_dof_index new_alloc_size,
-          types::global_dof_index &     allocated_size,
+          types::global_dof_index      &allocated_size,
           ::dealii::MemorySpace::MemorySpaceData<Number,
                                                  ::dealii::MemorySpace::Default>
-            &            data,
+                        &data,
           const MPI_Comm comm_sm)
         {
           (void)comm_sm;
@@ -358,7 +358,7 @@ namespace LinearAlgebra
           const ReadWriteVector<Number> &V,
           VectorOperation::values        operation,
           std::shared_ptr<const Utilities::MPI::Partitioner>
-            &             communication_pattern,
+                         &communication_pattern,
           const IndexSet &locally_owned_elem,
           ::dealii::MemorySpace::MemorySpaceData<Number,
                                                  ::dealii::MemorySpace::Default>
@@ -378,7 +378,7 @@ namespace LinearAlgebra
           // including ghost entries. this is not really efficient right now
           // because indices are translated twice, once by nth_index_in_set(i)
           // and once for operator() of tmp_vector
-          const IndexSet &                  v_stored = V.get_stored_elements();
+          const IndexSet                   &v_stored = V.get_stored_elements();
           const size_type                   n_elements = v_stored.n_elements();
           Kokkos::DefaultHostExecutionSpace host_exec;
           Kokkos::View<size_type *, Kokkos::HostSpace> indices(
@@ -466,7 +466,7 @@ namespace LinearAlgebra
                             Number,
                             ::dealii::MemorySpace::Default> &data,
                           const unsigned int                 size,
-                          RealType &                         result)
+                          RealType                          &result)
         {
           static_assert(std::is_same_v<Number, RealType>,
                         "RealType should be the same type as Number");
@@ -1551,7 +1551,7 @@ namespace LinearAlgebra
     template <typename Number, typename MemorySpaceType>
     void
     Vector<Number, MemorySpaceType>::add(const std::vector<size_type> &indices,
-                                         const std::vector<Number> &   values)
+                                         const std::vector<Number>    &values)
     {
       for (std::size_t i = 0; i < indices.size(); ++i)
         {
@@ -1698,7 +1698,7 @@ namespace LinearAlgebra
     void
     Vector<Number, MemorySpaceType>::extract_subvector_to(
       const ArrayView<const types::global_dof_index> &indices,
-      ArrayView<Number> &                             elements) const
+      ArrayView<Number>                              &elements) const
     {
       AssertDimension(indices.size(), elements.size());
       for (unsigned int i = 0; i < indices.size(); ++i)
@@ -2014,7 +2014,7 @@ namespace LinearAlgebra
 
     template <typename Number, typename MemorySpaceType>
     void
-    Vector<Number, MemorySpaceType>::print(std::ostream &     out,
+    Vector<Number, MemorySpaceType>::print(std::ostream      &out,
                                            const unsigned int precision,
                                            const bool         scientific,
                                            const bool         across) const
index d34c3c80a478add49c83b41d97b5a6336297fa22..6f77da50fbdc22029c0778ab397b2b14e9a2ca43 100644 (file)
@@ -341,7 +341,7 @@ public:
    */
   template <typename number2>
   void
-  vmult(Vector<number2> &      w,
+  vmult(Vector<number2>       &w,
         const Vector<number2> &v,
         const bool             adding = false) const;
 
@@ -349,7 +349,7 @@ public:
    * Specialization of above function for compatible Vector::value_type.
    */
   void
-  vmult(Vector<number> &      w,
+  vmult(Vector<number>       &w,
         const Vector<number> &v,
         const bool            adding = false) const;
 
@@ -382,7 +382,7 @@ public:
    */
   template <typename number2>
   void
-  Tvmult(Vector<number2> &      w,
+  Tvmult(Vector<number2>       &w,
          const Vector<number2> &v,
          const bool             adding = false) const;
 
@@ -390,7 +390,7 @@ public:
    * Specialization of above function for compatible Vector::value_type.
    */
   void
-  Tvmult(Vector<number> &      w,
+  Tvmult(Vector<number>       &w,
          const Vector<number> &v,
          const bool            adding = false) const;
 
@@ -426,7 +426,7 @@ public:
    * @p This function uses the BLAS function Xgemm.
    */
   void
-  mmult(LAPACKFullMatrix<number> &      C,
+  mmult(LAPACKFullMatrix<number>       &C,
         const LAPACKFullMatrix<number> &B,
         const bool                      adding = false) const;
 
@@ -435,7 +435,7 @@ public:
    * LAPACKFullMatrix.
    */
   void
-  mmult(FullMatrix<number> &            C,
+  mmult(FullMatrix<number>             &C,
         const LAPACKFullMatrix<number> &B,
         const bool                      adding = false) const;
 
@@ -454,7 +454,7 @@ public:
    * @note This function uses the BLAS function Xgemm.
    */
   void
-  Tmmult(LAPACKFullMatrix<number> &      C,
+  Tmmult(LAPACKFullMatrix<number>       &C,
          const LAPACKFullMatrix<number> &B,
          const bool                      adding = false) const;
 
@@ -463,7 +463,7 @@ public:
    * LAPACKFullMatrix.
    */
   void
-  Tmmult(FullMatrix<number> &            C,
+  Tmmult(FullMatrix<number>             &C,
          const LAPACKFullMatrix<number> &B,
          const bool                      adding = false) const;
 
@@ -484,9 +484,9 @@ public:
    * function.
    */
   void
-  Tmmult(LAPACKFullMatrix<number> &      C,
+  Tmmult(LAPACKFullMatrix<number>       &C,
          const LAPACKFullMatrix<number> &B,
-         const Vector<number> &          V,
+         const Vector<number>           &V,
          const bool                      adding = false) const;
 
   /**
@@ -504,7 +504,7 @@ public:
    * @note This function uses the BLAS function Xgemm.
    */
   void
-  mTmult(LAPACKFullMatrix<number> &      C,
+  mTmult(LAPACKFullMatrix<number>       &C,
          const LAPACKFullMatrix<number> &B,
          const bool                      adding = false) const;
 
@@ -513,7 +513,7 @@ public:
    * LAPACKFullMatrix.
    */
   void
-  mTmult(FullMatrix<number> &            C,
+  mTmult(FullMatrix<number>             &C,
          const LAPACKFullMatrix<number> &B,
          const bool                      adding = false) const;
 
@@ -533,7 +533,7 @@ public:
    * @note This function uses the BLAS function Xgemm.
    */
   void
-  TmTmult(LAPACKFullMatrix<number> &      C,
+  TmTmult(LAPACKFullMatrix<number>       &C,
           const LAPACKFullMatrix<number> &B,
           const bool                      adding = false) const;
 
@@ -542,7 +542,7 @@ public:
    * LAPACKFullMatrix.
    */
   void
-  TmTmult(FullMatrix<number> &            C,
+  TmTmult(FullMatrix<number>             &C,
           const LAPACKFullMatrix<number> &B,
           const bool                      adding = false) const;
 
@@ -717,7 +717,7 @@ public:
   compute_eigenvalues_symmetric(const number        lower_bound,
                                 const number        upper_bound,
                                 const number        abs_accuracy,
-                                Vector<number> &    eigenvalues,
+                                Vector<number>     &eigenvalues,
                                 FullMatrix<number> &eigenvectors);
 
   /**
@@ -748,11 +748,11 @@ public:
    */
   void
   compute_generalized_eigenvalues_symmetric(
-    LAPACKFullMatrix<number> &   B,
+    LAPACKFullMatrix<number>    &B,
     const number                 lower_bound,
     const number                 upper_bound,
     const number                 abs_accuracy,
-    Vector<number> &             eigenvalues,
+    Vector<number>              &eigenvalues,
     std::vector<Vector<number>> &eigenvectors,
     const types::blas_int        itype = 1);
 
@@ -773,7 +773,7 @@ public:
    */
   void
   compute_generalized_eigenvalues_symmetric(
-    LAPACKFullMatrix<number> &   B,
+    LAPACKFullMatrix<number>    &B,
     std::vector<Vector<number>> &eigenvectors,
     const types::blas_int        itype = 1);
 
@@ -907,11 +907,11 @@ public:
    * function is not allowed.
    */
   void
-  print_formatted(std::ostream &     out,
+  print_formatted(std::ostream      &out,
                   const unsigned int precision   = 3,
                   const bool         scientific  = true,
                   const unsigned int width       = 0,
-                  const char *       zero_string = " ",
+                  const char        *zero_string = " ",
                   const double       denominator = 1.,
                   const double       threshold   = 0.) const;
 
index f80d06b6e65e999f57444c17748391d741b6bce4..966ac3dcee6b29de46b637387bbc1ea7ea23df13 100644 (file)
@@ -32,263 +32,263 @@ extern "C"
 {
   void DEAL_II_FORTRAN_MANGLE(saxpy,
                               SAXPY)(const dealii::types::blas_int *n,
-                                     const float *                  sa,
-                                     const float *                  sx,
+                                     const float                   *sa,
+                                     const float                   *sx,
                                      const dealii::types::blas_int *incx,
-                                     float *                        sy,
+                                     float                         *sy,
                                      const dealii::types::blas_int *incy);
 
   void DEAL_II_FORTRAN_MANGLE(daxpy,
                               DAXPY)(const dealii::types::blas_int *n,
-                                     const double *                 da,
-                                     const double *                 dx,
+                                     const double                  *da,
+                                     const double                  *dx,
                                      const dealii::types::blas_int *incx,
-                                     double *                       dy,
+                                     double                        *dy,
                                      const dealii::types::blas_int *incy);
 
   void DEAL_II_FORTRAN_MANGLE(caxpy,
                               CAXPY)(const dealii::types::blas_int *n,
-                                     const std::complex<float> *    ca,
-                                     const std::complex<float> *    cx,
+                                     const std::complex<float>     *ca,
+                                     const std::complex<float>     *cx,
                                      const dealii::types::blas_int *incx,
-                                     std::complex<float> *          cy,
+                                     std::complex<float>           *cy,
                                      const dealii::types::blas_int *incy);
 
   void DEAL_II_FORTRAN_MANGLE(zaxpy,
                               ZAXPY)(const dealii::types::blas_int *n,
-                                     const std::complex<double> *   za,
-                                     const std::complex<double> *   zx,
+                                     const std::complex<double>    *za,
+                                     const std::complex<double>    *zx,
                                      const dealii::types::blas_int *incx,
-                                     std::complex<double> *         zy,
+                                     std::complex<double>          *zy,
                                      const dealii::types::blas_int *incy);
 
   void DEAL_II_FORTRAN_MANGLE(sgeev,
-                              SGEEV)(const char *                   jobvl,
-                                     const char *                   jobvr,
+                              SGEEV)(const char                    *jobvl,
+                                     const char                    *jobvr,
                                      const dealii::types::blas_int *n,
-                                     float *                        a,
+                                     float                         *a,
                                      const dealii::types::blas_int *lda,
-                                     float *                        wr,
-                                     float *                        wi,
-                                     float *                        vl,
+                                     float                         *wr,
+                                     float                         *wi,
+                                     float                         *vl,
                                      const dealii::types::blas_int *ldvl,
-                                     float *                        vr,
+                                     float                         *vr,
                                      const dealii::types::blas_int *ldvr,
-                                     float *                        work,
+                                     float                         *work,
                                      const dealii::types::blas_int *lwork,
-                                     dealii::types::blas_int *      info);
+                                     dealii::types::blas_int       *info);
 
   void DEAL_II_FORTRAN_MANGLE(dgeev,
-                              DGEEV)(const char *                   jobvl,
-                                     const char *                   jobvr,
+                              DGEEV)(const char                    *jobvl,
+                                     const char                    *jobvr,
                                      const dealii::types::blas_int *n,
-                                     double *                       a,
+                                     double                        *a,
                                      const dealii::types::blas_int *lda,
-                                     double *                       wr,
-                                     double *                       wi,
-                                     double *                       vl,
+                                     double                        *wr,
+                                     double                        *wi,
+                                     double                        *vl,
                                      const dealii::types::blas_int *ldvl,
-                                     double *                       vr,
+                                     double                        *vr,
                                      const dealii::types::blas_int *ldvr,
-                                     double *                       work,
+                                     double                        *work,
                                      const dealii::types::blas_int *lwork,
-                                     dealii::types::blas_int *      info);
+                                     dealii::types::blas_int       *info);
 
   void DEAL_II_FORTRAN_MANGLE(cgeev,
-                              CGEEV)(const char *                   jobvl,
-                                     const char *                   jobvr,
+                              CGEEV)(const char                    *jobvl,
+                                     const char                    *jobvr,
                                      const dealii::types::blas_int *n,
-                                     std::complex<float> *          a,
+                                     std::complex<float>           *a,
                                      const dealii::types::blas_int *lda,
-                                     std::complex<float> *          w,
-                                     std::complex<float> *          vl,
+                                     std::complex<float>           *w,
+                                     std::complex<float>           *vl,
                                      const dealii::types::blas_int *ldvl,
-                                     std::complex<float> *          vr,
+                                     std::complex<float>           *vr,
                                      const dealii::types::blas_int *ldvr,
-                                     std::complex<float> *          work,
+                                     std::complex<float>           *work,
                                      const dealii::types::blas_int *lwork,
-                                     float *                        rwork,
-                                     dealii::types::blas_int *      info);
+                                     float                         *rwork,
+                                     dealii::types::blas_int       *info);
 
   void DEAL_II_FORTRAN_MANGLE(zgeev,
-                              ZGEEV)(const char *                   jobvl,
-                                     const char *                   jobvr,
+                              ZGEEV)(const char                    *jobvl,
+                                     const char                    *jobvr,
                                      const dealii::types::blas_int *n,
-                                     std::complex<double> *         a,
+                                     std::complex<double>          *a,
                                      const dealii::types::blas_int *lda,
-                                     std::complex<double> *         w,
-                                     std::complex<double> *         vl,
+                                     std::complex<double>          *w,
+                                     std::complex<double>          *vl,
                                      const dealii::types::blas_int *ldvl,
-                                     std::complex<double> *         vr,
+                                     std::complex<double>          *vr,
                                      const dealii::types::blas_int *ldvr,
-                                     std::complex<double> *         work,
+                                     std::complex<double>          *work,
                                      const dealii::types::blas_int *lwork,
-                                     double *                       rwork,
-                                     dealii::types::blas_int *      info);
+                                     double                        *rwork,
+                                     dealii::types::blas_int       *info);
 
   void DEAL_II_FORTRAN_MANGLE(sgeevx,
-                              SGEEVX)(const char *                   balanc,
-                                      const char *                   jobvl,
-                                      const char *                   jobvr,
-                                      const char *                   sense,
+                              SGEEVX)(const char                    *balanc,
+                                      const char                    *jobvl,
+                                      const char                    *jobvr,
+                                      const char                    *sense,
                                       const dealii::types::blas_int *n,
-                                      float *                        a,
+                                      float                         *a,
                                       const dealii::types::blas_int *lda,
-                                      float *                        wr,
-                                      float *                        wi,
-                                      float *                        vl,
+                                      float                         *wr,
+                                      float                         *wi,
+                                      float                         *vl,
                                       const dealii::types::blas_int *ldvl,
-                                      float *                        vr,
+                                      float                         *vr,
                                       const dealii::types::blas_int *ldvr,
-                                      dealii::types::blas_int *      ilo,
-                                      dealii::types::blas_int *      ihi,
-                                      float *                        scale,
-                                      float *                        abnrm,
-                                      float *                        rconde,
-                                      float *                        rcondv,
-                                      float *                        work,
+                                      dealii::types::blas_int       *ilo,
+                                      dealii::types::blas_int       *ihi,
+                                      float                         *scale,
+                                      float                         *abnrm,
+                                      float                         *rconde,
+                                      float                         *rcondv,
+                                      float                         *work,
                                       const dealii::types::blas_int *lwork,
-                                      dealii::types::blas_int *      iwork,
-                                      dealii::types::blas_int *      info);
+                                      dealii::types::blas_int       *iwork,
+                                      dealii::types::blas_int       *info);
 
   void DEAL_II_FORTRAN_MANGLE(dgeevx,
-                              DGEEVX)(const char *                   balanc,
-                                      const char *                   jobvl,
-                                      const char *                   jobvr,
-                                      const char *                   sense,
+                              DGEEVX)(const char                    *balanc,
+                                      const char                    *jobvl,
+                                      const char                    *jobvr,
+                                      const char                    *sense,
                                       const dealii::types::blas_int *n,
-                                      double *                       a,
+                                      double                        *a,
                                       const dealii::types::blas_int *lda,
-                                      double *                       wr,
-                                      double *                       wi,
-                                      double *                       vl,
+                                      double                        *wr,
+                                      double                        *wi,
+                                      double                        *vl,
                                       const dealii::types::blas_int *ldvl,
-                                      double *                       vr,
+                                      double                        *vr,
                                       const dealii::types::blas_int *ldvr,
-                                      dealii::types::blas_int *      ilo,
-                                      dealii::types::blas_int *      ihi,
-                                      double *                       scale,
-                                      double *                       abnrm,
-                                      double *                       rconde,
-                                      double *                       rcondv,
-                                      double *                       work,
+                                      dealii::types::blas_int       *ilo,
+                                      dealii::types::blas_int       *ihi,
+                                      double                        *scale,
+                                      double                        *abnrm,
+                                      double                        *rconde,
+                                      double                        *rcondv,
+                                      double                        *work,
                                       const dealii::types::blas_int *lwork,
-                                      dealii::types::blas_int *      iwork,
-                                      dealii::types::blas_int *      info);
+                                      dealii::types::blas_int       *iwork,
+                                      dealii::types::blas_int       *info);
 
   void DEAL_II_FORTRAN_MANGLE(cgeevx,
-                              CGEEVX)(const char *                   balanc,
-                                      const char *                   jobvl,
-                                      const char *                   jobvr,
-                                      const char *                   sense,
+                              CGEEVX)(const char                    *balanc,
+                                      const char                    *jobvl,
+                                      const char                    *jobvr,
+                                      const char                    *sense,
                                       const dealii::types::blas_int *n,
-                                      std::complex<float> *          a,
+                                      std::complex<float>           *a,
                                       const dealii::types::blas_int *lda,
-                                      std::complex<float> *          w,
-                                      std::complex<float> *          vl,
+                                      std::complex<float>           *w,
+                                      std::complex<float>           *vl,
                                       const dealii::types::blas_int *ldvl,
-                                      std::complex<float> *          vr,
+                                      std::complex<float>           *vr,
                                       const dealii::types::blas_int *ldvr,
-                                      dealii::types::blas_int *      ilo,
-                                      dealii::types::blas_int *      ihi,
-                                      float *                        scale,
-                                      float *                        abnrm,
-                                      float *                        rconde,
-                                      float *                        rcondv,
-                                      std::complex<float> *          work,
+                                      dealii::types::blas_int       *ilo,
+                                      dealii::types::blas_int       *ihi,
+                                      float                         *scale,
+                                      float                         *abnrm,
+                                      float                         *rconde,
+                                      float                         *rcondv,
+                                      std::complex<float>           *work,
                                       const dealii::types::blas_int *lwork,
-                                      float *                        rwork,
-                                      dealii::types::blas_int *      info);
+                                      float                         *rwork,
+                                      dealii::types::blas_int       *info);
 
   void DEAL_II_FORTRAN_MANGLE(zgeevx,
-                              ZGEEVX)(const char *                   balanc,
-                                      const char *                   jobvl,
-                                      const char *                   jobvr,
-                                      const char *                   sense,
+                              ZGEEVX)(const char                    *balanc,
+                                      const char                    *jobvl,
+                                      const char                    *jobvr,
+                                      const char                    *sense,
                                       const dealii::types::blas_int *n,
-                                      std::complex<double> *         a,
+                                      std::complex<double>          *a,
                                       const dealii::types::blas_int *lda,
-                                      std::complex<double> *         w,
-                                      std::complex<double> *         vl,
+                                      std::complex<double>          *w,
+                                      std::complex<double>          *vl,
                                       const dealii::types::blas_int *ldvl,
-                                      std::complex<double> *         vr,
+                                      std::complex<double>          *vr,
                                       const dealii::types::blas_int *ldvr,
-                                      dealii::types::blas_int *      ilo,
-                                      dealii::types::blas_int *      ihi,
-                                      double *                       scale,
-                                      double *                       abnrm,
-                                      double *                       rconde,
-                                      double *                       rcondv,
-                                      std::complex<double> *         work,
+                                      dealii::types::blas_int       *ilo,
+                                      dealii::types::blas_int       *ihi,
+                                      double                        *scale,
+                                      double                        *abnrm,
+                                      double                        *rconde,
+                                      double                        *rcondv,
+                                      std::complex<double>          *work,
                                       const dealii::types::blas_int *lwork,
-                                      double *                       rwork,
-                                      dealii::types::blas_int *      info);
+                                      double                        *rwork,
+                                      dealii::types::blas_int       *info);
 
   void DEAL_II_FORTRAN_MANGLE(sgelsd,
                               SGELSD)(const dealii::types::blas_int *m,
                                       const dealii::types::blas_int *n,
                                       const dealii::types::blas_int *nrhs,
-                                      float *                        a,
+                                      float                         *a,
                                       const dealii::types::blas_int *lda,
-                                      float *                        b,
+                                      float                         *b,
                                       const dealii::types::blas_int *ldb,
-                                      float *                        s,
-                                      const float *                  rcond,
-                                      dealii::types::blas_int *      rank,
-                                      float *                        work,
+                                      float                         *s,
+                                      const float                   *rcond,
+                                      dealii::types::blas_int       *rank,
+                                      float                         *work,
                                       const dealii::types::blas_int *lwork,
-                                      dealii::types::blas_int *      iwork,
-                                      dealii::types::blas_int *      info);
+                                      dealii::types::blas_int       *iwork,
+                                      dealii::types::blas_int       *info);
 
   void DEAL_II_FORTRAN_MANGLE(dgelsd,
                               DGELSD)(const dealii::types::blas_int *m,
                                       const dealii::types::blas_int *n,
                                       const dealii::types::blas_int *nrhs,
-                                      double *                       a,
+                                      double                        *a,
                                       const dealii::types::blas_int *lda,
-                                      double *                       b,
+                                      double                        *b,
                                       const dealii::types::blas_int *ldb,
-                                      double *                       s,
-                                      const double *                 rcond,
-                                      dealii::types::blas_int *      rank,
-                                      double *                       work,
+                                      double                        *s,
+                                      const double                  *rcond,
+                                      dealii::types::blas_int       *rank,
+                                      double                        *work,
                                       const dealii::types::blas_int *lwork,
-                                      dealii::types::blas_int *      iwork,
-                                      dealii::types::blas_int *      info);
+                                      dealii::types::blas_int       *iwork,
+                                      dealii::types::blas_int       *info);
 
   void DEAL_II_FORTRAN_MANGLE(cgelsd,
                               CGELSD)(const dealii::types::blas_int *m,
                                       const dealii::types::blas_int *n,
                                       const dealii::types::blas_int *nrhs,
-                                      std::complex<float> *          a,
+                                      std::complex<float>           *a,
                                       const dealii::types::blas_int *lda,
-                                      std::complex<float> *          b,
+                                      std::complex<float>           *b,
                                       const dealii::types::blas_int *ldb,
-                                      float *                        s,
-                                      const float *                  rcond,
-                                      dealii::types::blas_int *      rank,
-                                      std::complex<float> *          work,
+                                      float                         *s,
+                                      const float                   *rcond,
+                                      dealii::types::blas_int       *rank,
+                                      std::complex<float>           *work,
                                       const dealii::types::blas_int *lwork,
-                                      float *                        rwork,
-                                      dealii::types::blas_int *      iwork,
-                                      dealii::types::blas_int *      info);
+                                      float                         *rwork,
+                                      dealii::types::blas_int       *iwork,
+                                      dealii::types::blas_int       *info);
 
   void DEAL_II_FORTRAN_MANGLE(zgelsd,
                               ZGELSD)(const dealii::types::blas_int *m,
                                       const dealii::types::blas_int *n,
                                       const dealii::types::blas_int *nrhs,
-                                      std::complex<double> *         a,
+                                      std::complex<double>          *a,
                                       const dealii::types::blas_int *lda,
-                                      std::complex<double> *         b,
+                                      std::complex<double>          *b,
                                       const dealii::types::blas_int *ldb,
-                                      double *                       s,
-                                      const double *                 rcond,
-                                      dealii::types::blas_int *      rank,
-                                      std::complex<double> *         work,
+                                      double                        *s,
+                                      const double                  *rcond,
+                                      dealii::types::blas_int       *rank,
+                                      std::complex<double>          *work,
                                       const dealii::types::blas_int *lwork,
-                                      double *                       rwork,
-                                      dealii::types::blas_int *      iwork,
-                                      dealii::types::blas_int *      info);
+                                      double                        *rwork,
+                                      dealii::types::blas_int       *iwork,
+                                      dealii::types::blas_int       *info);
 
   void DEAL_II_FORTRAN_MANGLE(sgemm, SGEMM)(const char *transa,
                                             const char *transb,
@@ -298,10 +298,10 @@ extern "C"
                                             const float *alpha,
                                             const float *a,
                                             const dealii::types::blas_int *lda,
-                                            const float *                  b,
+                                            const float                   *b,
                                             const dealii::types::blas_int *ldb,
-                                            const float *                  beta,
-                                            float *                        c,
+                                            const float                   *beta,
+                                            float                         *c,
                                             const dealii::types::blas_int *ldc);
 
   void DEAL_II_FORTRAN_MANGLE(dgemm, DGEMM)(const char *transa,
@@ -312,10 +312,10 @@ extern "C"
                                             const double *alpha,
                                             const double *a,
                                             const dealii::types::blas_int *lda,
-                                            const double *                 b,
+                                            const double                  *b,
                                             const dealii::types::blas_int *ldb,
-                                            const double *                 beta,
-                                            double *                       c,
+                                            const double                  *beta,
+                                            double                        *c,
                                             const dealii::types::blas_int *ldc);
 
   void DEAL_II_FORTRAN_MANGLE(cgemm, CGEMM)(const char *transa,
@@ -326,10 +326,10 @@ extern "C"
                                             const std::complex<float> *alpha,
                                             const std::complex<float> *a,
                                             const dealii::types::blas_int *lda,
-                                            const std::complex<float> *    b,
+                                            const std::complex<float>     *b,
                                             const dealii::types::blas_int *ldb,
-                                            const std::complex<float> *    beta,
-                                            std::complex<float> *          c,
+                                            const std::complex<float>     *beta,
+                                            std::complex<float>           *c,
                                             const dealii::types::blas_int *ldc);
 
   void DEAL_II_FORTRAN_MANGLE(zgemm, ZGEMM)(const char *transa,
@@ -340,878 +340,878 @@ extern "C"
                                             const std::complex<double> *alpha,
                                             const std::complex<double> *a,
                                             const dealii::types::blas_int *lda,
-                                            const std::complex<double> *   b,
+                                            const std::complex<double>    *b,
                                             const dealii::types::blas_int *ldb,
-                                            const std::complex<double> *   beta,
-                                            std::complex<double> *         c,
+                                            const std::complex<double>    *beta,
+                                            std::complex<double>          *c,
                                             const dealii::types::blas_int *ldc);
 
   void DEAL_II_FORTRAN_MANGLE(sgemv,
-                              SGEMV)(const char *                   trans,
+                              SGEMV)(const char                    *trans,
                                      const dealii::types::blas_int *m,
                                      const dealii::types::blas_int *n,
-                                     const float *                  alpha,
-                                     const float *                  a,
+                                     const float                   *alpha,
+                                     const float                   *a,
                                      const dealii::types::blas_int *lda,
-                                     const float *                  x,
+                                     const float                   *x,
                                      const dealii::types::blas_int *incx,
-                                     const float *                  beta,
-                                     float *                        y,
+                                     const float                   *beta,
+                                     float                         *y,
                                      const dealii::types::blas_int *incy);
 
   void DEAL_II_FORTRAN_MANGLE(dgemv,
-                              DGEMV)(const char *                   trans,
+                              DGEMV)(const char                    *trans,
                                      const dealii::types::blas_int *m,
                                      const dealii::types::blas_int *n,
-                                     const double *                 alpha,
-                                     const double *                 a,
+                                     const double                  *alpha,
+                                     const double                  *a,
                                      const dealii::types::blas_int *lda,
-                                     const double *                 x,
+                                     const double                  *x,
                                      const dealii::types::blas_int *incx,
-                                     const double *                 beta,
-                                     double *                       y,
+                                     const double                  *beta,
+                                     double                        *y,
                                      const dealii::types::blas_int *incy);
 
   void DEAL_II_FORTRAN_MANGLE(cgemv,
-                              CGEMV)(const char *                   trans,
+                              CGEMV)(const char                    *trans,
                                      const dealii::types::blas_int *m,
                                      const dealii::types::blas_int *n,
-                                     const std::complex<float> *    alpha,
-                                     const std::complex<float> *    a,
+                                     const std::complex<float>     *alpha,
+                                     const std::complex<float>     *a,
                                      const dealii::types::blas_int *lda,
-                                     const std::complex<float> *    x,
+                                     const std::complex<float>     *x,
                                      const dealii::types::blas_int *incx,
-                                     const std::complex<float> *    beta,
-                                     std::complex<float> *          y,
+                                     const std::complex<float>     *beta,
+                                     std::complex<float>           *y,
                                      const dealii::types::blas_int *incy);
 
   void DEAL_II_FORTRAN_MANGLE(zgemv,
-                              ZGEMV)(const char *                   trans,
+                              ZGEMV)(const char                    *trans,
                                      const dealii::types::blas_int *m,
                                      const dealii::types::blas_int *n,
-                                     const std::complex<double> *   alpha,
-                                     const std::complex<double> *   a,
+                                     const std::complex<double>    *alpha,
+                                     const std::complex<double>    *a,
                                      const dealii::types::blas_int *lda,
-                                     const std::complex<double> *   x,
+                                     const std::complex<double>    *x,
                                      const dealii::types::blas_int *incx,
-                                     const std::complex<double> *   beta,
-                                     std::complex<double> *         y,
+                                     const std::complex<double>    *beta,
+                                     std::complex<double>          *y,
                                      const dealii::types::blas_int *incy);
 
   void DEAL_II_FORTRAN_MANGLE(sgeqrf,
                               SGEQRF)(const dealii::types::blas_int *m,
                                       const dealii::types::blas_int *n,
-                                      float *                        a,
+                                      float                         *a,
                                       const dealii::types::blas_int *lda,
-                                      float *                        tau,
-                                      float *                        work,
+                                      float                         *tau,
+                                      float                         *work,
                                       const dealii::types::blas_int *lwork,
-                                      dealii::types::blas_int *      info);
+                                      dealii::types::blas_int       *info);
 
   void DEAL_II_FORTRAN_MANGLE(dgeqrf,
                               DGEQRF)(const dealii::types::blas_int *m,
                                       const dealii::types::blas_int *n,
-                                      double *                       a,
+                                      double                        *a,
                                       const dealii::types::blas_int *lda,
-                                      double *                       tau,
-                                      double *                       work,
+                                      double                        *tau,
+                                      double                        *work,
                                       const dealii::types::blas_int *lwork,
-                                      dealii::types::blas_int *      info);
+                                      dealii::types::blas_int       *info);
 
   void DEAL_II_FORTRAN_MANGLE(cgeqrf,
                               CGEQRF)(const dealii::types::blas_int *m,
                                       const dealii::types::blas_int *n,
-                                      std::complex<float> *          a,
+                                      std::complex<float>           *a,
                                       const dealii::types::blas_int *lda,
-                                      std::complex<float> *          tau,
-                                      std::complex<float> *          work,
+                                      std::complex<float>           *tau,
+                                      std::complex<float>           *work,
                                       const dealii::types::blas_int *lwork,
-                                      dealii::types::blas_int *      info);
+                                      dealii::types::blas_int       *info);
 
   void DEAL_II_FORTRAN_MANGLE(zgeqrf,
                               ZGEQRF)(const dealii::types::blas_int *m,
                                       const dealii::types::blas_int *n,
-                                      std::complex<double> *         a,
+                                      std::complex<double>          *a,
                                       const dealii::types::blas_int *lda,
-                                      std::complex<double> *         tau,
-                                      std::complex<double> *         work,
+                                      std::complex<double>          *tau,
+                                      std::complex<double>          *work,
                                       const dealii::types::blas_int *lwork,
-                                      dealii::types::blas_int *      info);
+                                      dealii::types::blas_int       *info);
 
   void DEAL_II_FORTRAN_MANGLE(sgesdd,
-                              SGESDD)(const char *                   jobz,
+                              SGESDD)(const char                    *jobz,
                                       const dealii::types::blas_int *m,
                                       const dealii::types::blas_int *n,
-                                      float *                        a,
+                                      float                         *a,
                                       const dealii::types::blas_int *lda,
-                                      float *                        s,
-                                      float *                        u,
+                                      float                         *s,
+                                      float                         *u,
                                       const dealii::types::blas_int *ldu,
-                                      float *                        vt,
+                                      float                         *vt,
                                       const dealii::types::blas_int *ldvt,
-                                      float *                        work,
+                                      float                         *work,
                                       const dealii::types::blas_int *lwork,
-                                      dealii::types::blas_int *      iwork,
-                                      dealii::types::blas_int *      info);
+                                      dealii::types::blas_int       *iwork,
+                                      dealii::types::blas_int       *info);
 
   void DEAL_II_FORTRAN_MANGLE(dgesdd,
-                              DGESDD)(const char *                   jobz,
+                              DGESDD)(const char                    *jobz,
                                       const dealii::types::blas_int *m,
                                       const dealii::types::blas_int *n,
-                                      double *                       a,
+                                      double                        *a,
                                       const dealii::types::blas_int *lda,
-                                      double *                       s,
-                                      double *                       u,
+                                      double                        *s,
+                                      double                        *u,
                                       const dealii::types::blas_int *ldu,
-                                      double *                       vt,
+                                      double                        *vt,
                                       const dealii::types::blas_int *ldvt,
-                                      double *                       work,
+                                      double                        *work,
                                       const dealii::types::blas_int *lwork,
-                                      dealii::types::blas_int *      iwork,
-                                      dealii::types::blas_int *      info);
+                                      dealii::types::blas_int       *iwork,
+                                      dealii::types::blas_int       *info);
 
   void DEAL_II_FORTRAN_MANGLE(cgesdd,
-                              CGESDD)(const char *                   jobz,
+                              CGESDD)(const char                    *jobz,
                                       const dealii::types::blas_int *m,
                                       const dealii::types::blas_int *n,
-                                      std::complex<float> *          a,
+                                      std::complex<float>           *a,
                                       const dealii::types::blas_int *lda,
-                                      float *                        s,
-                                      std::complex<float> *          u,
+                                      float                         *s,
+                                      std::complex<float>           *u,
                                       const dealii::types::blas_int *ldu,
-                                      std::complex<float> *          vt,
+                                      std::complex<float>           *vt,
                                       const dealii::types::blas_int *ldvt,
-                                      std::complex<float> *          work,
+                                      std::complex<float>           *work,
                                       const dealii::types::blas_int *lwork,
-                                      float *                        rwork,
-                                      dealii::types::blas_int *      iwork,
-                                      dealii::types::blas_int *      info);
+                                      float                         *rwork,
+                                      dealii::types::blas_int       *iwork,
+                                      dealii::types::blas_int       *info);
 
   void DEAL_II_FORTRAN_MANGLE(zgesdd,
-                              ZGESDD)(const char *                   jobz,
+                              ZGESDD)(const char                    *jobz,
                                       const dealii::types::blas_int *m,
                                       const dealii::types::blas_int *n,
-                                      std::complex<double> *         a,
+                                      std::complex<double>          *a,
                                       const dealii::types::blas_int *lda,
-                                      double *                       s,
-                                      std::complex<double> *         u,
+                                      double                        *s,
+                                      std::complex<double>          *u,
                                       const dealii::types::blas_int *ldu,
-                                      std::complex<double> *         vt,
+                                      std::complex<double>          *vt,
                                       const dealii::types::blas_int *ldvt,
-                                      std::complex<double> *         work,
+                                      std::complex<double>          *work,
                                       const dealii::types::blas_int *lwork,
-                                      double *                       rwork,
-                                      dealii::types::blas_int *      iwork,
-                                      dealii::types::blas_int *      info);
+                                      double                        *rwork,
+                                      dealii::types::blas_int       *iwork,
+                                      dealii::types::blas_int       *info);
 
   void DEAL_II_FORTRAN_MANGLE(sgesvd,
-                              SGESVD)(const char *                   jobu,
-                                      const char *                   jobvt,
+                              SGESVD)(const char                    *jobu,
+                                      const char                    *jobvt,
                                       const dealii::types::blas_int *m,
                                       const dealii::types::blas_int *n,
-                                      float *                        a,
+                                      float                         *a,
                                       const dealii::types::blas_int *lda,
-                                      float *                        s,
-                                      float *                        u,
+                                      float                         *s,
+                                      float                         *u,
                                       const dealii::types::blas_int *ldu,
-                                      float *                        vt,
+                                      float                         *vt,
                                       const dealii::types::blas_int *ldvt,
-                                      float *                        work,
+                                      float                         *work,
                                       const dealii::types::blas_int *lwork,
-                                      dealii::types::blas_int *      info);
+                                      dealii::types::blas_int       *info);
 
   void DEAL_II_FORTRAN_MANGLE(dgesvd,
-                              DGESVD)(const char *                   jobu,
-                                      const char *                   jobvt,
+                              DGESVD)(const char                    *jobu,
+                                      const char                    *jobvt,
                                       const dealii::types::blas_int *m,
                                       const dealii::types::blas_int *n,
-                                      double *                       a,
+                                      double                        *a,
                                       const dealii::types::blas_int *lda,
-                                      double *                       s,
-                                      double *                       u,
+                                      double                        *s,
+                                      double                        *u,
                                       const dealii::types::blas_int *ldu,
-                                      double *                       vt,
+                                      double                        *vt,
                                       const dealii::types::blas_int *ldvt,
-                                      double *                       work,
+                                      double                        *work,
                                       const dealii::types::blas_int *lwork,
-                                      dealii::types::blas_int *      info);
+                                      dealii::types::blas_int       *info);
 
   void DEAL_II_FORTRAN_MANGLE(cgesvd,
-                              CGESVD)(const char *                   jobu,
-                                      const char *                   jobvt,
+                              CGESVD)(const char                    *jobu,
+                                      const char                    *jobvt,
                                       const dealii::types::blas_int *m,
                                       const dealii::types::blas_int *n,
-                                      std::complex<float> *          a,
+                                      std::complex<float>           *a,
                                       const dealii::types::blas_int *lda,
-                                      float *                        s,
-                                      std::complex<float> *          u,
+                                      float                         *s,
+                                      std::complex<float>           *u,
                                       const dealii::types::blas_int *ldu,
-                                      std::complex<float> *          vt,
+                                      std::complex<float>           *vt,
                                       const dealii::types::blas_int *ldvt,
-                                      std::complex<float> *          work,
+                                      std::complex<float>           *work,
                                       const dealii::types::blas_int *lwork,
-                                      float *                        rwork,
-                                      dealii::types::blas_int *      info);
+                                      float                         *rwork,
+                                      dealii::types::blas_int       *info);
 
   void DEAL_II_FORTRAN_MANGLE(zgesvd,
-                              ZGESVD)(const char *                   jobu,
-                                      const char *                   jobvt,
+                              ZGESVD)(const char                    *jobu,
+                                      const char                    *jobvt,
                                       const dealii::types::blas_int *m,
                                       const dealii::types::blas_int *n,
-                                      std::complex<double> *         a,
+                                      std::complex<double>          *a,
                                       const dealii::types::blas_int *lda,
-                                      double *                       s,
-                                      std::complex<double> *         u,
+                                      double                        *s,
+                                      std::complex<double>          *u,
                                       const dealii::types::blas_int *ldu,
-                                      std::complex<double> *         vt,
+                                      std::complex<double>          *vt,
                                       const dealii::types::blas_int *ldvt,
-                                      std::complex<double> *         work,
+                                      std::complex<double>          *work,
                                       const dealii::types::blas_int *lwork,
-                                      double *                       rwork,
-                                      dealii::types::blas_int *      info);
+                                      double                        *rwork,
+                                      dealii::types::blas_int       *info);
 
   void DEAL_II_FORTRAN_MANGLE(sgetrf,
                               SGETRF)(const dealii::types::blas_int *m,
                                       const dealii::types::blas_int *n,
-                                      float *                        a,
+                                      float                         *a,
                                       const dealii::types::blas_int *lda,
-                                      dealii::types::blas_int *      ipiv,
-                                      dealii::types::blas_int *      info);
+                                      dealii::types::blas_int       *ipiv,
+                                      dealii::types::blas_int       *info);
 
   void DEAL_II_FORTRAN_MANGLE(dgetrf,
                               DGETRF)(const dealii::types::blas_int *m,
                                       const dealii::types::blas_int *n,
-                                      double *                       a,
+                                      double                        *a,
                                       const dealii::types::blas_int *lda,
-                                      dealii::types::blas_int *      ipiv,
-                                      dealii::types::blas_int *      info);
+                                      dealii::types::blas_int       *ipiv,
+                                      dealii::types::blas_int       *info);
 
   void DEAL_II_FORTRAN_MANGLE(cgetrf,
                               CGETRF)(const dealii::types::blas_int *m,
                                       const dealii::types::blas_int *n,
-                                      std::complex<float> *          a,
+                                      std::complex<float>           *a,
                                       const dealii::types::blas_int *lda,
-                                      dealii::types::blas_int *      ipiv,
-                                      dealii::types::blas_int *      info);
+                                      dealii::types::blas_int       *ipiv,
+                                      dealii::types::blas_int       *info);
 
   void DEAL_II_FORTRAN_MANGLE(zgetrf,
                               ZGETRF)(const dealii::types::blas_int *m,
                                       const dealii::types::blas_int *n,
-                                      std::complex<double> *         a,
+                                      std::complex<double>          *a,
                                       const dealii::types::blas_int *lda,
-                                      dealii::types::blas_int *      ipiv,
-                                      dealii::types::blas_int *      info);
+                                      dealii::types::blas_int       *ipiv,
+                                      dealii::types::blas_int       *info);
 
   void DEAL_II_FORTRAN_MANGLE(sgetri,
                               SGETRI)(const dealii::types::blas_int *n,
-                                      float *                        a,
+                                      float                         *a,
                                       const dealii::types::blas_int *lda,
                                       const dealii::types::blas_int *ipiv,
-                                      float *                        work,
+                                      float                         *work,
                                       const dealii::types::blas_int *lwork,
-                                      dealii::types::blas_int *      info);
+                                      dealii::types::blas_int       *info);
 
   void DEAL_II_FORTRAN_MANGLE(dgetri,
                               DGETRI)(const dealii::types::blas_int *n,
-                                      double *                       a,
+                                      double                        *a,
                                       const dealii::types::blas_int *lda,
                                       const dealii::types::blas_int *ipiv,
-                                      double *                       work,
+                                      double                        *work,
                                       const dealii::types::blas_int *lwork,
-                                      dealii::types::blas_int *      info);
+                                      dealii::types::blas_int       *info);
 
   void DEAL_II_FORTRAN_MANGLE(cgetri,
                               CGETRI)(const dealii::types::blas_int *n,
-                                      std::complex<float> *          a,
+                                      std::complex<float>           *a,
                                       const dealii::types::blas_int *lda,
                                       const dealii::types::blas_int *ipiv,
-                                      std::complex<float> *          work,
+                                      std::complex<float>           *work,
                                       const dealii::types::blas_int *lwork,
-                                      dealii::types::blas_int *      info);
+                                      dealii::types::blas_int       *info);
 
   void DEAL_II_FORTRAN_MANGLE(zgetri,
                               ZGETRI)(const dealii::types::blas_int *n,
-                                      std::complex<double> *         a,
+                                      std::complex<double>          *a,
                                       const dealii::types::blas_int *lda,
                                       const dealii::types::blas_int *ipiv,
-                                      std::complex<double> *         work,
+                                      std::complex<double>          *work,
                                       const dealii::types::blas_int *lwork,
-                                      dealii::types::blas_int *      info);
+                                      dealii::types::blas_int       *info);
 
   void DEAL_II_FORTRAN_MANGLE(sgetrs,
-                              SGETRS)(const char *                   trans,
+                              SGETRS)(const char                    *trans,
                                       const dealii::types::blas_int *n,
                                       const dealii::types::blas_int *nrhs,
-                                      const float *                  a,
+                                      const float                   *a,
                                       const dealii::types::blas_int *lda,
                                       const dealii::types::blas_int *ipiv,
-                                      float *                        b,
+                                      float                         *b,
                                       const dealii::types::blas_int *ldb,
-                                      dealii::types::blas_int *      info);
+                                      dealii::types::blas_int       *info);
 
   void DEAL_II_FORTRAN_MANGLE(dgetrs,
-                              DGETRS)(const char *                   trans,
+                              DGETRS)(const char                    *trans,
                                       const dealii::types::blas_int *n,
                                       const dealii::types::blas_int *nrhs,
-                                      const double *                 a,
+                                      const double                  *a,
                                       const dealii::types::blas_int *lda,
                                       const dealii::types::blas_int *ipiv,
-                                      double *                       b,
+                                      double                        *b,
                                       const dealii::types::blas_int *ldb,
-                                      dealii::types::blas_int *      info);
+                                      dealii::types::blas_int       *info);
 
   void DEAL_II_FORTRAN_MANGLE(cgetrs,
-                              CGETRS)(const char *                   trans,
+                              CGETRS)(const char                    *trans,
                                       const dealii::types::blas_int *n,
                                       const dealii::types::blas_int *nrhs,
-                                      const std::complex<float> *    a,
+                                      const std::complex<float>     *a,
                                       const dealii::types::blas_int *lda,
                                       const dealii::types::blas_int *ipiv,
-                                      std::complex<float> *          b,
+                                      std::complex<float>           *b,
                                       const dealii::types::blas_int *ldb,
-                                      dealii::types::blas_int *      info);
+                                      dealii::types::blas_int       *info);
 
   void DEAL_II_FORTRAN_MANGLE(zgetrs,
-                              ZGETRS)(const char *                   trans,
+                              ZGETRS)(const char                    *trans,
                                       const dealii::types::blas_int *n,
                                       const dealii::types::blas_int *nrhs,
-                                      const std::complex<double> *   a,
+                                      const std::complex<double>    *a,
                                       const dealii::types::blas_int *lda,
                                       const dealii::types::blas_int *ipiv,
-                                      std::complex<double> *         b,
+                                      std::complex<double>          *b,
                                       const dealii::types::blas_int *ldb,
-                                      dealii::types::blas_int *      info);
+                                      dealii::types::blas_int       *info);
 
   float DEAL_II_FORTRAN_MANGLE(slamch, SLAMCH)(const char *cmach);
 
   double DEAL_II_FORTRAN_MANGLE(dlamch, DLAMCH)(const char *cmach);
 
   float DEAL_II_FORTRAN_MANGLE(slange,
-                               SLANGE)(const char *                   norm,
+                               SLANGE)(const char                    *norm,
                                        const dealii::types::blas_int *m,
                                        const dealii::types::blas_int *n,
-                                       const float *                  a,
+                                       const float                   *a,
                                        const dealii::types::blas_int *lda,
-                                       float *                        work);
+                                       float                         *work);
 
   double DEAL_II_FORTRAN_MANGLE(dlange,
-                                DLANGE)(const char *                   norm,
+                                DLANGE)(const char                    *norm,
                                         const dealii::types::blas_int *m,
                                         const dealii::types::blas_int *n,
-                                        const double *                 a,
+                                        const double                  *a,
                                         const dealii::types::blas_int *lda,
-                                        double *                       work);
+                                        double                        *work);
 
   float DEAL_II_FORTRAN_MANGLE(clange,
-                               CLANGE)(const char *                   norm,
+                               CLANGE)(const char                    *norm,
                                        const dealii::types::blas_int *m,
                                        const dealii::types::blas_int *n,
-                                       const std::complex<float> *    a,
+                                       const std::complex<float>     *a,
                                        const dealii::types::blas_int *lda,
-                                       float *                        work);
+                                       float                         *work);
 
   double DEAL_II_FORTRAN_MANGLE(zlange,
-                                ZLANGE)(const char *                   norm,
+                                ZLANGE)(const char                    *norm,
                                         const dealii::types::blas_int *m,
                                         const dealii::types::blas_int *n,
-                                        const std::complex<double> *   a,
+                                        const std::complex<double>    *a,
                                         const dealii::types::blas_int *lda,
-                                        double *                       work);
+                                        double                        *work);
 
   float DEAL_II_FORTRAN_MANGLE(slansy,
-                               SLANSY)(const char *                   norm,
-                                       const char *                   uplo,
+                               SLANSY)(const char                    *norm,
+                                       const char                    *uplo,
                                        const dealii::types::blas_int *n,
-                                       const float *                  a,
+                                       const float                   *a,
                                        const dealii::types::blas_int *lda,
-                                       float *                        work);
+                                       float                         *work);
 
   double DEAL_II_FORTRAN_MANGLE(dlansy,
-                                DLANSY)(const char *                   norm,
-                                        const char *                   uplo,
+                                DLANSY)(const char                    *norm,
+                                        const char                    *uplo,
                                         const dealii::types::blas_int *n,
-                                        const double *                 a,
+                                        const double                  *a,
                                         const dealii::types::blas_int *lda,
-                                        double *                       work);
+                                        double                        *work);
 
   float DEAL_II_FORTRAN_MANGLE(clansy,
-                               CLANSY)(const char *                   norm,
-                                       const char *                   uplo,
+                               CLANSY)(const char                    *norm,
+                                       const char                    *uplo,
                                        const dealii::types::blas_int *n,
-                                       const std::complex<float> *    a,
+                                       const std::complex<float>     *a,
                                        const dealii::types::blas_int *lda,
-                                       float *                        work);
+                                       float                         *work);
 
   double DEAL_II_FORTRAN_MANGLE(zlansy,
-                                ZLANSY)(const char *                   norm,
-                                        const char *                   uplo,
+                                ZLANSY)(const char                    *norm,
+                                        const char                    *uplo,
                                         const dealii::types::blas_int *n,
-                                        const std::complex<double> *   a,
+                                        const std::complex<double>    *a,
                                         const dealii::types::blas_int *lda,
-                                        double *                       work);
+                                        double                        *work);
 
   void DEAL_II_FORTRAN_MANGLE(slascl,
-                              SLASCL)(const char *                   type,
+                              SLASCL)(const char                    *type,
                                       const dealii::types::blas_int *kl,
                                       const dealii::types::blas_int *ku,
-                                      const float *                  cfrom,
-                                      const float *                  cto,
+                                      const float                   *cfrom,
+                                      const float                   *cto,
                                       const dealii::types::blas_int *m,
                                       const dealii::types::blas_int *n,
-                                      float *                        a,
+                                      float                         *a,
                                       const dealii::types::blas_int *lda,
-                                      dealii::types::blas_int *      info);
+                                      dealii::types::blas_int       *info);
 
   void DEAL_II_FORTRAN_MANGLE(dlascl,
-                              DLASCL)(const char *                   type,
+                              DLASCL)(const char                    *type,
                                       const dealii::types::blas_int *kl,
                                       const dealii::types::blas_int *ku,
-                                      const double *                 cfrom,
-                                      const double *                 cto,
+                                      const double                  *cfrom,
+                                      const double                  *cto,
                                       const dealii::types::blas_int *m,
                                       const dealii::types::blas_int *n,
-                                      double *                       a,
+                                      double                        *a,
                                       const dealii::types::blas_int *lda,
-                                      dealii::types::blas_int *      info);
+                                      dealii::types::blas_int       *info);
 
   void DEAL_II_FORTRAN_MANGLE(clascl,
-                              CLASCL)(const char *                   type,
+                              CLASCL)(const char                    *type,
                                       const dealii::types::blas_int *kl,
                                       const dealii::types::blas_int *ku,
-                                      const float *                  cfrom,
-                                      const float *                  cto,
+                                      const float                   *cfrom,
+                                      const float                   *cto,
                                       const dealii::types::blas_int *m,
                                       const dealii::types::blas_int *n,
-                                      std::complex<float> *          a,
+                                      std::complex<float>           *a,
                                       const dealii::types::blas_int *lda,
-                                      dealii::types::blas_int *      info);
+                                      dealii::types::blas_int       *info);
 
   void DEAL_II_FORTRAN_MANGLE(zlascl,
-                              ZLASCL)(const char *                   type,
+                              ZLASCL)(const char                    *type,
                                       const dealii::types::blas_int *kl,
                                       const dealii::types::blas_int *ku,
-                                      const double *                 cfrom,
-                                      const double *                 cto,
+                                      const double                  *cfrom,
+                                      const double                  *cto,
                                       const dealii::types::blas_int *m,
                                       const dealii::types::blas_int *n,
-                                      std::complex<double> *         a,
+                                      std::complex<double>          *a,
                                       const dealii::types::blas_int *lda,
-                                      dealii::types::blas_int *      info);
+                                      dealii::types::blas_int       *info);
 
   void DEAL_II_FORTRAN_MANGLE(sorgqr,
                               SORGQR)(const dealii::types::blas_int *m,
                                       const dealii::types::blas_int *n,
                                       const dealii::types::blas_int *k,
-                                      float *                        a,
+                                      float                         *a,
                                       const dealii::types::blas_int *lda,
-                                      const float *                  tau,
-                                      float *                        work,
+                                      const float                   *tau,
+                                      float                         *work,
                                       const dealii::types::blas_int *lwork,
-                                      dealii::types::blas_int *      info);
+                                      dealii::types::blas_int       *info);
 
   void DEAL_II_FORTRAN_MANGLE(dorgqr,
                               DORGQR)(const dealii::types::blas_int *m,
                                       const dealii::types::blas_int *n,
                                       const dealii::types::blas_int *k,
-                                      double *                       a,
+                                      double                        *a,
                                       const dealii::types::blas_int *lda,
-                                      const double *                 tau,
-                                      double *                       work,
+                                      const double                  *tau,
+                                      double                        *work,
                                       const dealii::types::blas_int *lwork,
-                                      dealii::types::blas_int *      info);
+                                      dealii::types::blas_int       *info);
 
   void DEAL_II_FORTRAN_MANGLE(sormqr,
-                              SORMQR)(const char *                   side,
-                                      const char *                   trans,
+                              SORMQR)(const char                    *side,
+                                      const char                    *trans,
                                       const dealii::types::blas_int *m,
                                       const dealii::types::blas_int *n,
                                       const dealii::types::blas_int *k,
-                                      const float *                  a,
+                                      const float                   *a,
                                       const dealii::types::blas_int *lda,
-                                      const float *                  tau,
-                                      float *                        c,
+                                      const float                   *tau,
+                                      float                         *c,
                                       const dealii::types::blas_int *ldc,
-                                      float *                        work,
+                                      float                         *work,
                                       const dealii::types::blas_int *lwork,
-                                      dealii::types::blas_int *      info);
+                                      dealii::types::blas_int       *info);
 
   void DEAL_II_FORTRAN_MANGLE(dormqr,
-                              DORMQR)(const char *                   side,
-                                      const char *                   trans,
+                              DORMQR)(const char                    *side,
+                                      const char                    *trans,
                                       const dealii::types::blas_int *m,
                                       const dealii::types::blas_int *n,
                                       const dealii::types::blas_int *k,
-                                      const double *                 a,
+                                      const double                  *a,
                                       const dealii::types::blas_int *lda,
-                                      const double *                 tau,
-                                      double *                       c,
+                                      const double                  *tau,
+                                      double                        *c,
                                       const dealii::types::blas_int *ldc,
-                                      double *                       work,
+                                      double                        *work,
                                       const dealii::types::blas_int *lwork,
-                                      dealii::types::blas_int *      info);
+                                      dealii::types::blas_int       *info);
 
   void DEAL_II_FORTRAN_MANGLE(spocon,
-                              SPOCON)(const char *                   uplo,
+                              SPOCON)(const char                    *uplo,
                                       const dealii::types::blas_int *n,
-                                      const float *                  a,
+                                      const float                   *a,
                                       const dealii::types::blas_int *lda,
-                                      const float *                  anorm,
-                                      float *                        rcond,
-                                      float *                        work,
-                                      dealii::types::blas_int *      iwork,
-                                      dealii::types::blas_int *      info);
+                                      const float                   *anorm,
+                                      float                         *rcond,
+                                      float                         *work,
+                                      dealii::types::blas_int       *iwork,
+                                      dealii::types::blas_int       *info);
 
   void DEAL_II_FORTRAN_MANGLE(dpocon,
-                              DPOCON)(const char *                   uplo,
+                              DPOCON)(const char                    *uplo,
                                       const dealii::types::blas_int *n,
-                                      const double *                 a,
+                                      const double                  *a,
                                       const dealii::types::blas_int *lda,
-                                      const double *                 anorm,
-                                      double *                       rcond,
-                                      double *                       work,
-                                      dealii::types::blas_int *      iwork,
-                                      dealii::types::blas_int *      info);
+                                      const double                  *anorm,
+                                      double                        *rcond,
+                                      double                        *work,
+                                      dealii::types::blas_int       *iwork,
+                                      dealii::types::blas_int       *info);
 
   void DEAL_II_FORTRAN_MANGLE(cpocon,
-                              CPOCON)(const char *                   uplo,
+                              CPOCON)(const char                    *uplo,
                                       const dealii::types::blas_int *n,
-                                      const std::complex<float> *    a,
+                                      const std::complex<float>     *a,
                                       const dealii::types::blas_int *lda,
-                                      const float *                  anorm,
-                                      float *                        rcond,
-                                      std::complex<float> *          work,
-                                      float *                        rwork,
-                                      dealii::types::blas_int *      info);
+                                      const float                   *anorm,
+                                      float                         *rcond,
+                                      std::complex<float>           *work,
+                                      float                         *rwork,
+                                      dealii::types::blas_int       *info);
 
   void DEAL_II_FORTRAN_MANGLE(zpocon,
-                              ZPOCON)(const char *                   uplo,
+                              ZPOCON)(const char                    *uplo,
                                       const dealii::types::blas_int *n,
-                                      const std::complex<double> *   a,
+                                      const std::complex<double>    *a,
                                       const dealii::types::blas_int *lda,
-                                      const double *                 anorm,
-                                      double *                       rcond,
-                                      std::complex<double> *         work,
-                                      double *                       rwork,
-                                      dealii::types::blas_int *      info);
+                                      const double                  *anorm,
+                                      double                        *rcond,
+                                      std::complex<double>          *work,
+                                      double                        *rwork,
+                                      dealii::types::blas_int       *info);
 
   void DEAL_II_FORTRAN_MANGLE(spotrf,
-                              SPOTRF)(const char *                   uplo,
+                              SPOTRF)(const char                    *uplo,
                                       const dealii::types::blas_int *n,
-                                      float *                        a,
+                                      float                         *a,
                                       const dealii::types::blas_int *lda,
-                                      dealii::types::blas_int *      info);
+                                      dealii::types::blas_int       *info);
 
   void DEAL_II_FORTRAN_MANGLE(dpotrf,
-                              DPOTRF)(const char *                   uplo,
+                              DPOTRF)(const char                    *uplo,
                                       const dealii::types::blas_int *n,
-                                      double *                       a,
+                                      double                        *a,
                                       const dealii::types::blas_int *lda,
-                                      dealii::types::blas_int *      info);
+                                      dealii::types::blas_int       *info);
 
   void DEAL_II_FORTRAN_MANGLE(cpotrf,
-                              CPOTRF)(const char *                   uplo,
+                              CPOTRF)(const char                    *uplo,
                                       const dealii::types::blas_int *n,
-                                      std::complex<float> *          a,
+                                      std::complex<float>           *a,
                                       const dealii::types::blas_int *lda,
-                                      dealii::types::blas_int *      info);
+                                      dealii::types::blas_int       *info);
 
   void DEAL_II_FORTRAN_MANGLE(zpotrf,
-                              ZPOTRF)(const char *                   uplo,
+                              ZPOTRF)(const char                    *uplo,
                                       const dealii::types::blas_int *n,
-                                      std::complex<double> *         a,
+                                      std::complex<double>          *a,
                                       const dealii::types::blas_int *lda,
-                                      dealii::types::blas_int *      info);
+                                      dealii::types::blas_int       *info);
 
   void DEAL_II_FORTRAN_MANGLE(spotri,
-                              SPOTRI)(const char *                   uplo,
+                              SPOTRI)(const char                    *uplo,
                                       const dealii::types::blas_int *n,
-                                      float *                        a,
+                                      float                         *a,
                                       const dealii::types::blas_int *lda,
-                                      dealii::types::blas_int *      info);
+                                      dealii::types::blas_int       *info);
 
   void DEAL_II_FORTRAN_MANGLE(dpotri,
-                              DPOTRI)(const char *                   uplo,
+                              DPOTRI)(const char                    *uplo,
                                       const dealii::types::blas_int *n,
-                                      double *                       a,
+                                      double                        *a,
                                       const dealii::types::blas_int *lda,
-                                      dealii::types::blas_int *      info);
+                                      dealii::types::blas_int       *info);
 
   void DEAL_II_FORTRAN_MANGLE(cpotri,
-                              CPOTRI)(const char *                   uplo,
+                              CPOTRI)(const char                    *uplo,
                                       const dealii::types::blas_int *n,
-                                      std::complex<float> *          a,
+                                      std::complex<float>           *a,
                                       const dealii::types::blas_int *lda,
-                                      dealii::types::blas_int *      info);
+                                      dealii::types::blas_int       *info);
 
   void DEAL_II_FORTRAN_MANGLE(zpotri,
-                              ZPOTRI)(const char *                   uplo,
+                              ZPOTRI)(const char                    *uplo,
                                       const dealii::types::blas_int *n,
-                                      std::complex<double> *         a,
+                                      std::complex<double>          *a,
                                       const dealii::types::blas_int *lda,
-                                      dealii::types::blas_int *      info);
+                                      dealii::types::blas_int       *info);
 
   void DEAL_II_FORTRAN_MANGLE(spotrs,
-                              SPOTRS)(const char *                   uplo,
+                              SPOTRS)(const char                    *uplo,
                                       const dealii::types::blas_int *n,
                                       const dealii::types::blas_int *nrhs,
-                                      const float *                  a,
+                                      const float                   *a,
                                       const dealii::types::blas_int *lda,
-                                      float *                        b,
+                                      float                         *b,
                                       const dealii::types::blas_int *ldb,
-                                      dealii::types::blas_int *      info);
+                                      dealii::types::blas_int       *info);
 
   void DEAL_II_FORTRAN_MANGLE(dpotrs,
-                              DPOTRS)(const char *                   uplo,
+                              DPOTRS)(const char                    *uplo,
                                       const dealii::types::blas_int *n,
                                       const dealii::types::blas_int *nrhs,
-                                      const double *                 a,
+                                      const double                  *a,
                                       const dealii::types::blas_int *lda,
-                                      double *                       b,
+                                      double                        *b,
                                       const dealii::types::blas_int *ldb,
-                                      dealii::types::blas_int *      info);
+                                      dealii::types::blas_int       *info);
 
   void DEAL_II_FORTRAN_MANGLE(cpotrs,
-                              CPOTRS)(const char *                   uplo,
+                              CPOTRS)(const char                    *uplo,
                                       const dealii::types::blas_int *n,
                                       const dealii::types::blas_int *nrhs,
-                                      const std::complex<float> *    a,
+                                      const std::complex<float>     *a,
                                       const dealii::types::blas_int *lda,
-                                      std::complex<float> *          b,
+                                      std::complex<float>           *b,
                                       const dealii::types::blas_int *ldb,
-                                      dealii::types::blas_int *      info);
+                                      dealii::types::blas_int       *info);
 
   void DEAL_II_FORTRAN_MANGLE(zpotrs,
-                              ZPOTRS)(const char *                   uplo,
+                              ZPOTRS)(const char                    *uplo,
                                       const dealii::types::blas_int *n,
                                       const dealii::types::blas_int *nrhs,
-                                      const std::complex<double> *   a,
+                                      const std::complex<double>    *a,
                                       const dealii::types::blas_int *lda,
-                                      std::complex<double> *         b,
+                                      std::complex<double>          *b,
                                       const dealii::types::blas_int *ldb,
-                                      dealii::types::blas_int *      info);
+                                      dealii::types::blas_int       *info);
 
-  void DEAL_II_FORTRAN_MANGLE(sstev, SSTEV)(const char *                   jobz,
+  void DEAL_II_FORTRAN_MANGLE(sstev, SSTEV)(const char                    *jobz,
                                             const dealii::types::blas_int *n,
-                                            float *                        d,
-                                            float *                        e,
-                                            float *                        z,
+                                            float                         *d,
+                                            float                         *e,
+                                            float                         *z,
                                             const dealii::types::blas_int *ldz,
-                                            float *                        work,
+                                            float                         *work,
                                             dealii::types::blas_int *info);
 
-  void DEAL_II_FORTRAN_MANGLE(dstev, DSTEV)(const char *                   jobz,
+  void DEAL_II_FORTRAN_MANGLE(dstev, DSTEV)(const char                    *jobz,
                                             const dealii::types::blas_int *n,
-                                            double *                       d,
-                                            double *                       e,
-                                            double *                       z,
+                                            double                        *d,
+                                            double                        *e,
+                                            double                        *z,
                                             const dealii::types::blas_int *ldz,
-                                            double *                       work,
+                                            double                        *work,
                                             dealii::types::blas_int *info);
 
   void DEAL_II_FORTRAN_MANGLE(ssyev,
-                              SSYEV)(const char *                   jobz,
-                                     const char *                   uplo,
+                              SSYEV)(const char                    *jobz,
+                                     const char                    *uplo,
                                      const dealii::types::blas_int *n,
-                                     float *                        a,
+                                     float                         *a,
                                      const dealii::types::blas_int *lda,
-                                     float *                        w,
-                                     float *                        work,
+                                     float                         *w,
+                                     float                         *work,
                                      const dealii::types::blas_int *lwork,
-                                     dealii::types::blas_int *      info);
+                                     dealii::types::blas_int       *info);
 
   void DEAL_II_FORTRAN_MANGLE(dsyev,
-                              DSYEV)(const char *                   jobz,
-                                     const char *                   uplo,
+                              DSYEV)(const char                    *jobz,
+                                     const char                    *uplo,
                                      const dealii::types::blas_int *n,
-                                     double *                       a,
+                                     double                        *a,
                                      const dealii::types::blas_int *lda,
-                                     double *                       w,
-                                     double *                       work,
+                                     double                        *w,
+                                     double                        *work,
                                      const dealii::types::blas_int *lwork,
-                                     dealii::types::blas_int *      info);
+                                     dealii::types::blas_int       *info);
 
   void DEAL_II_FORTRAN_MANGLE(ssyevr,
-                              SSYEVR)(const char *                   jobz,
-                                      const char *                   range,
-                                      const char *                   uplo,
+                              SSYEVR)(const char                    *jobz,
+                                      const char                    *range,
+                                      const char                    *uplo,
                                       const dealii::types::blas_int *n,
-                                      float *                        a,
+                                      float                         *a,
                                       const dealii::types::blas_int *lda,
-                                      const float *                  vl,
-                                      const float *                  vu,
+                                      const float                   *vl,
+                                      const float                   *vu,
                                       const dealii::types::blas_int *il,
                                       const dealii::types::blas_int *iu,
-                                      const float *                  abstol,
-                                      dealii::types::blas_int *      m,
-                                      float *                        w,
-                                      float *                        z,
+                                      const float                   *abstol,
+                                      dealii::types::blas_int       *m,
+                                      float                         *w,
+                                      float                         *z,
                                       const dealii::types::blas_int *ldz,
-                                      dealii::types::blas_int *      isuppz,
-                                      float *                        work,
+                                      dealii::types::blas_int       *isuppz,
+                                      float                         *work,
                                       const dealii::types::blas_int *lwork,
-                                      dealii::types::blas_int *      iwork,
+                                      dealii::types::blas_int       *iwork,
                                       const dealii::types::blas_int *liwork,
-                                      dealii::types::blas_int *      info);
+                                      dealii::types::blas_int       *info);
 
   void DEAL_II_FORTRAN_MANGLE(dsyevr,
-                              DSYEVR)(const char *                   jobz,
-                                      const char *                   range,
-                                      const char *                   uplo,
+                              DSYEVR)(const char                    *jobz,
+                                      const char                    *range,
+                                      const char                    *uplo,
                                       const dealii::types::blas_int *n,
-                                      double *                       a,
+                                      double                        *a,
                                       const dealii::types::blas_int *lda,
-                                      const double *                 vl,
-                                      const double *                 vu,
+                                      const double                  *vl,
+                                      const double                  *vu,
                                       const dealii::types::blas_int *il,
                                       const dealii::types::blas_int *iu,
-                                      const double *                 abstol,
-                                      dealii::types::blas_int *      m,
-                                      double *                       w,
-                                      double *                       z,
+                                      const double                  *abstol,
+                                      dealii::types::blas_int       *m,
+                                      double                        *w,
+                                      double                        *z,
                                       const dealii::types::blas_int *ldz,
-                                      dealii::types::blas_int *      isuppz,
-                                      double *                       work,
+                                      dealii::types::blas_int       *isuppz,
+                                      double                        *work,
                                       const dealii::types::blas_int *lwork,
-                                      dealii::types::blas_int *      iwork,
+                                      dealii::types::blas_int       *iwork,
                                       const dealii::types::blas_int *liwork,
-                                      dealii::types::blas_int *      info);
+                                      dealii::types::blas_int       *info);
 
   void DEAL_II_FORTRAN_MANGLE(ssyevx,
-                              SSYEVX)(const char *                   jobz,
-                                      const char *                   range,
-                                      const char *                   uplo,
+                              SSYEVX)(const char                    *jobz,
+                                      const char                    *range,
+                                      const char                    *uplo,
                                       const dealii::types::blas_int *n,
-                                      float *                        a,
+                                      float                         *a,
                                       const dealii::types::blas_int *lda,
-                                      const float *                  vl,
-                                      const float *                  vu,
+                                      const float                   *vl,
+                                      const float                   *vu,
                                       const dealii::types::blas_int *il,
                                       const dealii::types::blas_int *iu,
-                                      const float *                  abstol,
-                                      dealii::types::blas_int *      m,
-                                      float *                        w,
-                                      float *                        z,
+                                      const float                   *abstol,
+                                      dealii::types::blas_int       *m,
+                                      float                         *w,
+                                      float                         *z,
                                       const dealii::types::blas_int *ldz,
-                                      float *                        work,
+                                      float                         *work,
                                       const dealii::types::blas_int *lwork,
-                                      dealii::types::blas_int *      iwork,
-                                      dealii::types::blas_int *      ifail,
-                                      dealii::types::blas_int *      info);
+                                      dealii::types::blas_int       *iwork,
+                                      dealii::types::blas_int       *ifail,
+                                      dealii::types::blas_int       *info);
 
   void DEAL_II_FORTRAN_MANGLE(dsyevx,
-                              DSYEVX)(const char *                   jobz,
-                                      const char *                   range,
-                                      const char *                   uplo,
+                              DSYEVX)(const char                    *jobz,
+                                      const char                    *range,
+                                      const char                    *uplo,
                                       const dealii::types::blas_int *n,
-                                      double *                       a,
+                                      double                        *a,
                                       const dealii::types::blas_int *lda,
-                                      const double *                 vl,
-                                      const double *                 vu,
+                                      const double                  *vl,
+                                      const double                  *vu,
                                       const dealii::types::blas_int *il,
                                       const dealii::types::blas_int *iu,
-                                      const double *                 abstol,
-                                      dealii::types::blas_int *      m,
-                                      double *                       w,
-                                      double *                       z,
+                                      const double                  *abstol,
+                                      dealii::types::blas_int       *m,
+                                      double                        *w,
+                                      double                        *z,
                                       const dealii::types::blas_int *ldz,
-                                      double *                       work,
+                                      double                        *work,
                                       const dealii::types::blas_int *lwork,
-                                      dealii::types::blas_int *      iwork,
-                                      dealii::types::blas_int *      ifail,
-                                      dealii::types::blas_int *      info);
+                                      dealii::types::blas_int       *iwork,
+                                      dealii::types::blas_int       *ifail,
+                                      dealii::types::blas_int       *info);
 
   void DEAL_II_FORTRAN_MANGLE(ssygv,
                               SSYGV)(const dealii::types::blas_int *itype,
-                                     const char *                   jobz,
-                                     const char *                   uplo,
+                                     const char                    *jobz,
+                                     const char                    *uplo,
                                      const dealii::types::blas_int *n,
-                                     float *                        a,
+                                     float                         *a,
                                      const dealii::types::blas_int *lda,
-                                     float *                        b,
+                                     float                         *b,
                                      const dealii::types::blas_int *ldb,
-                                     float *                        w,
-                                     float *                        work,
+                                     float                         *w,
+                                     float                         *work,
                                      const dealii::types::blas_int *lwork,
-                                     dealii::types::blas_int *      info);
+                                     dealii::types::blas_int       *info);
 
   void DEAL_II_FORTRAN_MANGLE(dsygv,
                               DSYGV)(const dealii::types::blas_int *itype,
-                                     const char *                   jobz,
-                                     const char *                   uplo,
+                                     const char                    *jobz,
+                                     const char                    *uplo,
                                      const dealii::types::blas_int *n,
-                                     double *                       a,
+                                     double                        *a,
                                      const dealii::types::blas_int *lda,
-                                     double *                       b,
+                                     double                        *b,
                                      const dealii::types::blas_int *ldb,
-                                     double *                       w,
-                                     double *                       work,
+                                     double                        *w,
+                                     double                        *work,
                                      const dealii::types::blas_int *lwork,
-                                     dealii::types::blas_int *      info);
+                                     dealii::types::blas_int       *info);
 
   void DEAL_II_FORTRAN_MANGLE(ssygvx,
                               SSYGVX)(const dealii::types::blas_int *itype,
-                                      const char *                   jobz,
-                                      const char *                   range,
-                                      const char *                   uplo,
+                                      const char                    *jobz,
+                                      const char                    *range,
+                                      const char                    *uplo,
                                       const dealii::types::blas_int *n,
-                                      float *                        a,
+                                      float                         *a,
                                       const dealii::types::blas_int *lda,
-                                      float *                        b,
+                                      float                         *b,
                                       const dealii::types::blas_int *ldb,
-                                      const float *                  vl,
-                                      const float *                  vu,
+                                      const float                   *vl,
+                                      const float                   *vu,
                                       const dealii::types::blas_int *il,
                                       const dealii::types::blas_int *iu,
-                                      const float *                  abstol,
-                                      dealii::types::blas_int *      m,
-                                      float *                        w,
-                                      float *                        z,
+                                      const float                   *abstol,
+                                      dealii::types::blas_int       *m,
+                                      float                         *w,
+                                      float                         *z,
                                       const dealii::types::blas_int *ldz,
-                                      float *                        work,
+                                      float                         *work,
                                       const dealii::types::blas_int *lwork,
-                                      dealii::types::blas_int *      iwork,
-                                      dealii::types::blas_int *      ifail,
-                                      dealii::types::blas_int *      info);
+                                      dealii::types::blas_int       *iwork,
+                                      dealii::types::blas_int       *ifail,
+                                      dealii::types::blas_int       *info);
 
   void DEAL_II_FORTRAN_MANGLE(dsygvx,
                               DSYGVX)(const dealii::types::blas_int *itype,
-                                      const char *                   jobz,
-                                      const char *                   range,
-                                      const char *                   uplo,
+                                      const char                    *jobz,
+                                      const char                    *range,
+                                      const char                    *uplo,
                                       const dealii::types::blas_int *n,
-                                      double *                       a,
+                                      double                        *a,
                                       const dealii::types::blas_int *lda,
-                                      double *                       b,
+                                      double                        *b,
                                       const dealii::types::blas_int *ldb,
-                                      const double *                 vl,
-                                      const double *                 vu,
+                                      const double                  *vl,
+                                      const double                  *vu,
                                       const dealii::types::blas_int *il,
                                       const dealii::types::blas_int *iu,
-                                      const double *                 abstol,
-                                      dealii::types::blas_int *      m,
-                                      double *                       w,
-                                      double *                       z,
+                                      const double                  *abstol,
+                                      dealii::types::blas_int       *m,
+                                      double                        *w,
+                                      double                        *z,
                                       const dealii::types::blas_int *ldz,
-                                      double *                       work,
+                                      double                        *work,
                                       const dealii::types::blas_int *lwork,
-                                      dealii::types::blas_int *      iwork,
-                                      dealii::types::blas_int *      ifail,
-                                      dealii::types::blas_int *      info);
+                                      dealii::types::blas_int       *iwork,
+                                      dealii::types::blas_int       *ifail,
+                                      dealii::types::blas_int       *info);
 
-  void DEAL_II_FORTRAN_MANGLE(ssyr, SSYR)(const char *                   uplo,
+  void DEAL_II_FORTRAN_MANGLE(ssyr, SSYR)(const char                    *uplo,
                                           const dealii::types::blas_int *n,
-                                          const float *                  alpha,
-                                          const float *                  x,
+                                          const float                   *alpha,
+                                          const float                   *x,
                                           const dealii::types::blas_int *incx,
-                                          float *                        a,
+                                          float                         *a,
                                           const dealii::types::blas_int *lda);
 
-  void DEAL_II_FORTRAN_MANGLE(dsyr, DSYR)(const char *                   uplo,
+  void DEAL_II_FORTRAN_MANGLE(dsyr, DSYR)(const char                    *uplo,
                                           const dealii::types::blas_int *n,
-                                          const double *                 alpha,
-                                          const double *                 x,
+                                          const double                  *alpha,
+                                          const double                  *x,
                                           const dealii::types::blas_int *incx,
-                                          double *                       a,
+                                          double                        *a,
                                           const dealii::types::blas_int *lda);
 
   void DEAL_II_FORTRAN_MANGLE(ssyrk, SSYRK)(const char *uplo,
@@ -1221,8 +1221,8 @@ extern "C"
                                             const float *alpha,
                                             const float *a,
                                             const dealii::types::blas_int *lda,
-                                            const float *                  beta,
-                                            float *                        c,
+                                            const float                   *beta,
+                                            float                         *c,
                                             const dealii::types::blas_int *ldc);
 
   void DEAL_II_FORTRAN_MANGLE(dsyrk, DSYRK)(const char *uplo,
@@ -1232,8 +1232,8 @@ extern "C"
                                             const double *alpha,
                                             const double *a,
                                             const dealii::types::blas_int *lda,
-                                            const double *                 beta,
-                                            double *                       c,
+                                            const double                  *beta,
+                                            double                        *c,
                                             const dealii::types::blas_int *ldc);
 
   void DEAL_II_FORTRAN_MANGLE(csyrk, CSYRK)(const char *uplo,
@@ -1243,8 +1243,8 @@ extern "C"
                                             const std::complex<float> *alpha,
                                             const std::complex<float> *a,
                                             const dealii::types::blas_int *lda,
-                                            const std::complex<float> *    beta,
-                                            std::complex<float> *          c,
+                                            const std::complex<float>     *beta,
+                                            std::complex<float>           *c,
                                             const dealii::types::blas_int *ldc);
 
   void DEAL_II_FORTRAN_MANGLE(zsyrk, ZSYRK)(const char *uplo,
@@ -1254,145 +1254,145 @@ extern "C"
                                             const std::complex<double> *alpha,
                                             const std::complex<double> *a,
                                             const dealii::types::blas_int *lda,
-                                            const std::complex<double> *   beta,
-                                            std::complex<double> *         c,
+                                            const std::complex<double>    *beta,
+                                            std::complex<double>          *c,
                                             const dealii::types::blas_int *ldc);
 
   void DEAL_II_FORTRAN_MANGLE(strcon,
-                              STRCON)(const char *                   norm,
-                                      const char *                   uplo,
-                                      const char *                   diag,
+                              STRCON)(const char                    *norm,
+                                      const char                    *uplo,
+                                      const char                    *diag,
                                       const dealii::types::blas_int *n,
-                                      const float *                  a,
+                                      const float                   *a,
                                       const dealii::types::blas_int *lda,
-                                      float *                        rcond,
-                                      float *                        work,
-                                      dealii::types::blas_int *      iwork,
-                                      dealii::types::blas_int *      info);
+                                      float                         *rcond,
+                                      float                         *work,
+                                      dealii::types::blas_int       *iwork,
+                                      dealii::types::blas_int       *info);
 
   void DEAL_II_FORTRAN_MANGLE(dtrcon,
-                              DTRCON)(const char *                   norm,
-                                      const char *                   uplo,
-                                      const char *                   diag,
+                              DTRCON)(const char                    *norm,
+                                      const char                    *uplo,
+                                      const char                    *diag,
                                       const dealii::types::blas_int *n,
-                                      const double *                 a,
+                                      const double                  *a,
                                       const dealii::types::blas_int *lda,
-                                      double *                       rcond,
-                                      double *                       work,
-                                      dealii::types::blas_int *      iwork,
-                                      dealii::types::blas_int *      info);
+                                      double                        *rcond,
+                                      double                        *work,
+                                      dealii::types::blas_int       *iwork,
+                                      dealii::types::blas_int       *info);
 
   void DEAL_II_FORTRAN_MANGLE(ctrcon,
-                              CTRCON)(const char *                   norm,
-                                      const char *                   uplo,
-                                      const char *                   diag,
+                              CTRCON)(const char                    *norm,
+                                      const char                    *uplo,
+                                      const char                    *diag,
                                       const dealii::types::blas_int *n,
-                                      const std::complex<float> *    a,
+                                      const std::complex<float>     *a,
                                       const dealii::types::blas_int *lda,
-                                      float *                        rcond,
-                                      std::complex<float> *          work,
-                                      float *                        rwork,
-                                      dealii::types::blas_int *      info);
+                                      float                         *rcond,
+                                      std::complex<float>           *work,
+                                      float                         *rwork,
+                                      dealii::types::blas_int       *info);
 
   void DEAL_II_FORTRAN_MANGLE(ztrcon,
-                              ZTRCON)(const char *                   norm,
-                                      const char *                   uplo,
-                                      const char *                   diag,
+                              ZTRCON)(const char                    *norm,
+                                      const char                    *uplo,
+                                      const char                    *diag,
                                       const dealii::types::blas_int *n,
-                                      const std::complex<double> *   a,
+                                      const std::complex<double>    *a,
                                       const dealii::types::blas_int *lda,
-                                      double *                       rcond,
-                                      std::complex<double> *         work,
-                                      double *                       rwork,
-                                      dealii::types::blas_int *      info);
+                                      double                        *rcond,
+                                      std::complex<double>          *work,
+                                      double                        *rwork,
+                                      dealii::types::blas_int       *info);
 
   void DEAL_II_FORTRAN_MANGLE(strmv,
-                              STRMV)(const char *                   uplo,
-                                     const char *                   trans,
-                                     const char *                   diag,
+                              STRMV)(const char                    *uplo,
+                                     const char                    *trans,
+                                     const char                    *diag,
                                      const dealii::types::blas_int *n,
-                                     const float *                  a,
+                                     const float                   *a,
                                      const dealii::types::blas_int *lda,
-                                     float *                        x,
+                                     float                         *x,
                                      const dealii::types::blas_int *incx);
 
   void DEAL_II_FORTRAN_MANGLE(dtrmv,
-                              DTRMV)(const char *                   uplo,
-                                     const char *                   trans,
-                                     const char *                   diag,
+                              DTRMV)(const char                    *uplo,
+                                     const char                    *trans,
+                                     const char                    *diag,
                                      const dealii::types::blas_int *n,
-                                     const double *                 a,
+                                     const double                  *a,
                                      const dealii::types::blas_int *lda,
-                                     double *                       x,
+                                     double                        *x,
                                      const dealii::types::blas_int *incx);
 
   void DEAL_II_FORTRAN_MANGLE(ctrmv,
-                              CTRMV)(const char *                   uplo,
-                                     const char *                   trans,
-                                     const char *                   diag,
+                              CTRMV)(const char                    *uplo,
+                                     const char                    *trans,
+                                     const char                    *diag,
                                      const dealii::types::blas_int *n,
-                                     const std::complex<float> *    a,
+                                     const std::complex<float>     *a,
                                      const dealii::types::blas_int *lda,
-                                     std::complex<float> *          x,
+                                     std::complex<float>           *x,
                                      const dealii::types::blas_int *incx);
 
   void DEAL_II_FORTRAN_MANGLE(ztrmv,
-                              ZTRMV)(const char *                   uplo,
-                                     const char *                   trans,
-                                     const char *                   diag,
+                              ZTRMV)(const char                    *uplo,
+                                     const char                    *trans,
+                                     const char                    *diag,
                                      const dealii::types::blas_int *n,
-                                     const std::complex<double> *   a,
+                                     const std::complex<double>    *a,
                                      const dealii::types::blas_int *lda,
-                                     std::complex<double> *         x,
+                                     std::complex<double>          *x,
                                      const dealii::types::blas_int *incx);
 
   void DEAL_II_FORTRAN_MANGLE(strtrs,
-                              STRTRS)(const char *                   uplo,
-                                      const char *                   trans,
-                                      const char *                   diag,
+                              STRTRS)(const char                    *uplo,
+                                      const char                    *trans,
+                                      const char                    *diag,
                                       const dealii::types::blas_int *n,
                                       const dealii::types::blas_int *nrhs,
-                                      const float *                  a,
+                                      const float                   *a,
                                       const dealii::types::blas_int *lda,
-                                      float *                        b,
+                                      float                         *b,
                                       const dealii::types::blas_int *ldb,
-                                      dealii::types::blas_int *      info);
+                                      dealii::types::blas_int       *info);
 
   void DEAL_II_FORTRAN_MANGLE(dtrtrs,
-                              DTRTRS)(const char *                   uplo,
-                                      const char *                   trans,
-                                      const char *                   diag,
+                              DTRTRS)(const char                    *uplo,
+                                      const char                    *trans,
+                                      const char                    *diag,
                                       const dealii::types::blas_int *n,
                                       const dealii::types::blas_int *nrhs,
-                                      const double *                 a,
+                                      const double                  *a,
                                       const dealii::types::blas_int *lda,
-                                      double *                       b,
+                                      double                        *b,
                                       const dealii::types::blas_int *ldb,
-                                      dealii::types::blas_int *      info);
+                                      dealii::types::blas_int       *info);
 
   void DEAL_II_FORTRAN_MANGLE(ctrtrs,
-                              CTRTRS)(const char *                   uplo,
-                                      const char *                   trans,
-                                      const char *                   diag,
+                              CTRTRS)(const char                    *uplo,
+                                      const char                    *trans,
+                                      const char                    *diag,
                                       const dealii::types::blas_int *n,
                                       const dealii::types::blas_int *nrhs,
-                                      const std::complex<float> *    a,
+                                      const std::complex<float>     *a,
                                       const dealii::types::blas_int *lda,
-                                      std::complex<float> *          b,
+                                      std::complex<float>           *b,
                                       const dealii::types::blas_int *ldb,
-                                      dealii::types::blas_int *      info);
+                                      dealii::types::blas_int       *info);
 
   void DEAL_II_FORTRAN_MANGLE(ztrtrs,
-                              ZTRTRS)(const char *                   uplo,
-                                      const char *                   trans,
-                                      const char *                   diag,
+                              ZTRTRS)(const char                    *uplo,
+                                      const char                    *trans,
+                                      const char                    *diag,
                                       const dealii::types::blas_int *n,
                                       const dealii::types::blas_int *nrhs,
-                                      const std::complex<double> *   a,
+                                      const std::complex<double>    *a,
                                       const dealii::types::blas_int *lda,
-                                      std::complex<double> *         b,
+                                      std::complex<double>          *b,
                                       const dealii::types::blas_int *ldb,
-                                      dealii::types::blas_int *      info);
+                                      dealii::types::blas_int       *info);
 }
 #endif
 
@@ -1416,10 +1416,10 @@ axpy(const dealii::types::blas_int *,
 
 inline void
 axpy(const dealii::types::blas_int *n,
-     const float *                  sa,
-     const float *                  sx,
+     const float                   *sa,
+     const float                   *sx,
      const dealii::types::blas_int *incx,
-     float *                        sy,
+     float                         *sy,
      const dealii::types::blas_int *incy)
 {
 #ifdef DEAL_II_WITH_LAPACK
@@ -1439,10 +1439,10 @@ axpy(const dealii::types::blas_int *n,
 
 inline void
 axpy(const dealii::types::blas_int *n,
-     const double *                 da,
-     const double *                 dx,
+     const double                  *da,
+     const double                  *dx,
      const dealii::types::blas_int *incx,
-     double *                       dy,
+     double                        *dy,
      const dealii::types::blas_int *incy)
 {
 #ifdef DEAL_II_WITH_LAPACK
@@ -1462,10 +1462,10 @@ axpy(const dealii::types::blas_int *n,
 
 inline void
 axpy(const dealii::types::blas_int *n,
-     const std::complex<float> *    ca,
-     const std::complex<float> *    cx,
+     const std::complex<float>     *ca,
+     const std::complex<float>     *cx,
      const dealii::types::blas_int *incx,
-     std::complex<float> *          cy,
+     std::complex<float>           *cy,
      const dealii::types::blas_int *incy)
 {
 #ifdef DEAL_II_WITH_LAPACK
@@ -1485,10 +1485,10 @@ axpy(const dealii::types::blas_int *n,
 
 inline void
 axpy(const dealii::types::blas_int *n,
-     const std::complex<double> *   za,
-     const std::complex<double> *   zx,
+     const std::complex<double>    *za,
+     const std::complex<double>    *zx,
      const dealii::types::blas_int *incx,
-     std::complex<double> *         zy,
+     std::complex<double>          *zy,
      const dealii::types::blas_int *incy)
 {
 #ifdef DEAL_II_WITH_LAPACK
@@ -1534,20 +1534,20 @@ geev(const char *,
 
 
 inline void
-geev(const char *                   jobvl,
-     const char *                   jobvr,
+geev(const char                    *jobvl,
+     const char                    *jobvr,
      const dealii::types::blas_int *n,
-     float *                        a,
+     float                         *a,
      const dealii::types::blas_int *lda,
-     float *                        wr,
-     float *                        wi,
-     float *                        vl,
+     float                         *wr,
+     float                         *wi,
+     float                         *vl,
      const dealii::types::blas_int *ldvl,
-     float *                        vr,
+     float                         *vr,
      const dealii::types::blas_int *ldvr,
-     float *                        work,
+     float                         *work,
      const dealii::types::blas_int *lwork,
-     dealii::types::blas_int *      info)
+     dealii::types::blas_int       *info)
 {
 #ifdef DEAL_II_WITH_LAPACK
   DEAL_II_FORTRAN_MANGLE(sgeev, SGEEV)
@@ -1574,20 +1574,20 @@ geev(const char *                   jobvl,
 
 
 inline void
-geev(const char *                   jobvl,
-     const char *                   jobvr,
+geev(const char                    *jobvl,
+     const char                    *jobvr,
      const dealii::types::blas_int *n,
-     double *                       a,
+     double                        *a,
      const dealii::types::blas_int *lda,
-     double *                       wr,
-     double *                       wi,
-     double *                       vl,
+     double                        *wr,
+     double                        *wi,
+     double                        *vl,
      const dealii::types::blas_int *ldvl,
-     double *                       vr,
+     double                        *vr,
      const dealii::types::blas_int *ldvr,
-     double *                       work,
+     double                        *work,
      const dealii::types::blas_int *lwork,
-     dealii::types::blas_int *      info)
+     dealii::types::blas_int       *info)
 {
 #ifdef DEAL_II_WITH_LAPACK
   DEAL_II_FORTRAN_MANGLE(dgeev, DGEEV)
@@ -1614,20 +1614,20 @@ geev(const char *                   jobvl,
 
 
 inline void
-geev(const char *                   jobvl,
-     const char *                   jobvr,
+geev(const char                    *jobvl,
+     const char                    *jobvr,
      const dealii::types::blas_int *n,
-     std::complex<float> *          a,
+     std::complex<float>           *a,
      const dealii::types::blas_int *lda,
-     std::complex<float> *          w,
-     std::complex<float> *          vl,
+     std::complex<float>           *w,
+     std::complex<float>           *vl,
      const dealii::types::blas_int *ldvl,
-     std::complex<float> *          vr,
+     std::complex<float>           *vr,
      const dealii::types::blas_int *ldvr,
-     std::complex<float> *          work,
+     std::complex<float>           *work,
      const dealii::types::blas_int *lwork,
-     float *                        rwork,
-     dealii::types::blas_int *      info)
+     float                         *rwork,
+     dealii::types::blas_int       *info)
 {
 #ifdef DEAL_II_WITH_LAPACK
   DEAL_II_FORTRAN_MANGLE(cgeev, CGEEV)
@@ -1654,20 +1654,20 @@ geev(const char *                   jobvl,
 
 
 inline void
-geev(const char *                   jobvl,
-     const char *                   jobvr,
+geev(const char                    *jobvl,
+     const char                    *jobvr,
      const dealii::types::blas_int *n,
-     std::complex<double> *         a,
+     std::complex<double>          *a,
      const dealii::types::blas_int *lda,
-     std::complex<double> *         w,
-     std::complex<double> *         vl,
+     std::complex<double>          *w,
+     std::complex<double>          *vl,
      const dealii::types::blas_int *ldvl,
-     std::complex<double> *         vr,
+     std::complex<double>          *vr,
      const dealii::types::blas_int *ldvr,
-     std::complex<double> *         work,
+     std::complex<double>          *work,
      const dealii::types::blas_int *lwork,
-     double *                       rwork,
-     dealii::types::blas_int *      info)
+     double                        *rwork,
+     dealii::types::blas_int       *info)
 {
 #ifdef DEAL_II_WITH_LAPACK
   DEAL_II_FORTRAN_MANGLE(zgeev, ZGEEV)
@@ -1734,29 +1734,29 @@ geevx(const char *,
 
 
 inline void
-geevx(const char *                   balanc,
-      const char *                   jobvl,
-      const char *                   jobvr,
-      const char *                   sense,
+geevx(const char                    *balanc,
+      const char                    *jobvl,
+      const char                    *jobvr,
+      const char                    *sense,
       const dealii::types::blas_int *n,
-      float *                        a,
+      float                         *a,
       const dealii::types::blas_int *lda,
-      float *                        wr,
-      float *                        wi,
-      float *                        vl,
+      float                         *wr,
+      float                         *wi,
+      float                         *vl,
       const dealii::types::blas_int *ldvl,
-      float *                        vr,
+      float                         *vr,
       const dealii::types::blas_int *ldvr,
-      dealii::types::blas_int *      ilo,
-      dealii::types::blas_int *      ihi,
-      float *                        scale,
-      float *                        abnrm,
-      float *                        rconde,
-      float *                        rcondv,
-      float *                        work,
+      dealii::types::blas_int       *ilo,
+      dealii::types::blas_int       *ihi,
+      float                         *scale,
+      float                         *abnrm,
+      float                         *rconde,
+      float                         *rcondv,
+      float                         *work,
       const dealii::types::blas_int *lwork,
-      dealii::types::blas_int *      iwork,
-      dealii::types::blas_int *      info)
+      dealii::types::blas_int       *iwork,
+      dealii::types::blas_int       *info)
 {
 #ifdef DEAL_II_WITH_LAPACK
   DEAL_II_FORTRAN_MANGLE(sgeevx, SGEEVX)
@@ -1814,29 +1814,29 @@ geevx(const char *                   balanc,
 
 
 inline void
-geevx(const char *                   balanc,
-      const char *                   jobvl,
-      const char *                   jobvr,
-      const char *                   sense,
+geevx(const char                    *balanc,
+      const char                    *jobvl,
+      const char                    *jobvr,
+      const char                    *sense,
       const dealii::types::blas_int *n,
-      double *                       a,
+      double                        *a,
       const dealii::types::blas_int *lda,
-      double *                       wr,
-      double *                       wi,
-      double *                       vl,
+      double                        *wr,
+      double                        *wi,
+      double                        *vl,
       const dealii::types::blas_int *ldvl,
-      double *                       vr,
+      double                        *vr,
       const dealii::types::blas_int *ldvr,
-      dealii::types::blas_int *      ilo,
-      dealii::types::blas_int *      ihi,
-      double *                       scale,
-      double *                       abnrm,
-      double *                       rconde,
-      double *                       rcondv,
-      double *                       work,
+      dealii::types::blas_int       *ilo,
+      dealii::types::blas_int       *ihi,
+      double                        *scale,
+      double                        *abnrm,
+      double                        *rconde,
+      double                        *rcondv,
+      double                        *work,
       const dealii::types::blas_int *lwork,
-      dealii::types::blas_int *      iwork,
-      dealii::types::blas_int *      info)
+      dealii::types::blas_int       *iwork,
+      dealii::types::blas_int       *info)
 {
 #ifdef DEAL_II_WITH_LAPACK
   DEAL_II_FORTRAN_MANGLE(dgeevx, DGEEVX)
@@ -1894,28 +1894,28 @@ geevx(const char *                   balanc,
 
 
 inline void
-geevx(const char *                   balanc,
-      const char *                   jobvl,
-      const char *                   jobvr,
-      const char *                   sense,
+geevx(const char                    *balanc,
+      const char                    *jobvl,
+      const char                    *jobvr,
+      const char                    *sense,
       const dealii::types::blas_int *n,
-      std::complex<float> *          a,
+      std::complex<float>           *a,
       const dealii::types::blas_int *lda,
-      std::complex<float> *          w,
-      std::complex<float> *          vl,
+      std::complex<float>           *w,
+      std::complex<float>           *vl,
       const dealii::types::blas_int *ldvl,
-      std::complex<float> *          vr,
+      std::complex<float>           *vr,
       const dealii::types::blas_int *ldvr,
-      dealii::types::blas_int *      ilo,
-      dealii::types::blas_int *      ihi,
-      float *                        scale,
-      float *                        abnrm,
-      float *                        rconde,
-      float *                        rcondv,
-      std::complex<float> *          work,
+      dealii::types::blas_int       *ilo,
+      dealii::types::blas_int       *ihi,
+      float                         *scale,
+      float                         *abnrm,
+      float                         *rconde,
+      float                         *rcondv,
+      std::complex<float>           *work,
       const dealii::types::blas_int *lwork,
-      float *                        rwork,
-      dealii::types::blas_int *      info)
+      float                         *rwork,
+      dealii::types::blas_int       *info)
 {
 #ifdef DEAL_II_WITH_LAPACK
   DEAL_II_FORTRAN_MANGLE(cgeevx, CGEEVX)
@@ -1971,28 +1971,28 @@ geevx(const char *                   balanc,
 
 
 inline void
-geevx(const char *                   balanc,
-      const char *                   jobvl,
-      const char *                   jobvr,
-      const char *                   sense,
+geevx(const char                    *balanc,
+      const char                    *jobvl,
+      const char                    *jobvr,
+      const char                    *sense,
       const dealii::types::blas_int *n,
-      std::complex<double> *         a,
+      std::complex<double>          *a,
       const dealii::types::blas_int *lda,
-      std::complex<double> *         w,
-      std::complex<double> *         vl,
+      std::complex<double>          *w,
+      std::complex<double>          *vl,
       const dealii::types::blas_int *ldvl,
-      std::complex<double> *         vr,
+      std::complex<double>          *vr,
       const dealii::types::blas_int *ldvr,
-      dealii::types::blas_int *      ilo,
-      dealii::types::blas_int *      ihi,
-      double *                       scale,
-      double *                       abnrm,
-      double *                       rconde,
-      double *                       rcondv,
-      std::complex<double> *         work,
+      dealii::types::blas_int       *ilo,
+      dealii::types::blas_int       *ihi,
+      double                        *scale,
+      double                        *abnrm,
+      double                        *rconde,
+      double                        *rcondv,
+      std::complex<double>          *work,
       const dealii::types::blas_int *lwork,
-      double *                       rwork,
-      dealii::types::blas_int *      info)
+      double                        *rwork,
+      dealii::types::blas_int       *info)
 {
 #ifdef DEAL_II_WITH_LAPACK
   DEAL_II_FORTRAN_MANGLE(zgeevx, ZGEEVX)
@@ -2077,17 +2077,17 @@ inline void
 gelsd(const dealii::types::blas_int *m,
       const dealii::types::blas_int *n,
       const dealii::types::blas_int *nrhs,
-      float *                        a,
+      float                         *a,
       const dealii::types::blas_int *lda,
-      float *                        b,
+      float                         *b,
       const dealii::types::blas_int *ldb,
-      float *                        s,
-      const float *                  rcond,
-      dealii::types::blas_int *      rank,
-      float *                        work,
+      float                         *s,
+      const float                   *rcond,
+      dealii::types::blas_int       *rank,
+      float                         *work,
       const dealii::types::blas_int *lwork,
-      dealii::types::blas_int *      iwork,
-      dealii::types::blas_int *      info)
+      dealii::types::blas_int       *iwork,
+      dealii::types::blas_int       *info)
 {
 #ifdef DEAL_II_WITH_LAPACK
   DEAL_II_FORTRAN_MANGLE(sgelsd, SGELSD)
@@ -2117,17 +2117,17 @@ inline void
 gelsd(const dealii::types::blas_int *m,
       const dealii::types::blas_int *n,
       const dealii::types::blas_int *nrhs,
-      double *                       a,
+      double                        *a,
       const dealii::types::blas_int *lda,
-      double *                       b,
+      double                        *b,
       const dealii::types::blas_int *ldb,
-      double *                       s,
-      const double *                 rcond,
-      dealii::types::blas_int *      rank,
-      double *                       work,
+      double                        *s,
+      const double                  *rcond,
+      dealii::types::blas_int       *rank,
+      double                        *work,
       const dealii::types::blas_int *lwork,
-      dealii::types::blas_int *      iwork,
-      dealii::types::blas_int *      info)
+      dealii::types::blas_int       *iwork,
+      dealii::types::blas_int       *info)
 {
 #ifdef DEAL_II_WITH_LAPACK
   DEAL_II_FORTRAN_MANGLE(dgelsd, DGELSD)
@@ -2157,18 +2157,18 @@ inline void
 gelsd(const dealii::types::blas_int *m,
       const dealii::types::blas_int *n,
       const dealii::types::blas_int *nrhs,
-      std::complex<float> *          a,
+      std::complex<float>           *a,
       const dealii::types::blas_int *lda,
-      std::complex<float> *          b,
+      std::complex<float>           *b,
       const dealii::types::blas_int *ldb,
-      float *                        s,
-      const float *                  rcond,
-      dealii::types::blas_int *      rank,
-      std::complex<float> *          work,
+      float                         *s,
+      const float                   *rcond,
+      dealii::types::blas_int       *rank,
+      std::complex<float>           *work,
       const dealii::types::blas_int *lwork,
-      float *                        rwork,
-      dealii::types::blas_int *      iwork,
-      dealii::types::blas_int *      info)
+      float                         *rwork,
+      dealii::types::blas_int       *iwork,
+      dealii::types::blas_int       *info)
 {
 #ifdef DEAL_II_WITH_LAPACK
   DEAL_II_FORTRAN_MANGLE(cgelsd, CGELSD)
@@ -2199,18 +2199,18 @@ inline void
 gelsd(const dealii::types::blas_int *m,
       const dealii::types::blas_int *n,
       const dealii::types::blas_int *nrhs,
-      std::complex<double> *         a,
+      std::complex<double>          *a,
       const dealii::types::blas_int *lda,
-      std::complex<double> *         b,
+      std::complex<double>          *b,
       const dealii::types::blas_int *ldb,
-      double *                       s,
-      const double *                 rcond,
-      dealii::types::blas_int *      rank,
-      std::complex<double> *         work,
+      double                        *s,
+      const double                  *rcond,
+      dealii::types::blas_int       *rank,
+      std::complex<double>          *work,
       const dealii::types::blas_int *lwork,
-      double *                       rwork,
-      dealii::types::blas_int *      iwork,
-      dealii::types::blas_int *      info)
+      double                        *rwork,
+      dealii::types::blas_int       *iwork,
+      dealii::types::blas_int       *info)
 {
 #ifdef DEAL_II_WITH_LAPACK
   DEAL_II_FORTRAN_MANGLE(zgelsd, ZGELSD)
@@ -2263,18 +2263,18 @@ gemm(const char *,
 
 
 inline void
-gemm(const char *                   transa,
-     const char *                   transb,
+gemm(const char                    *transa,
+     const char                    *transb,
      const dealii::types::blas_int *m,
      const dealii::types::blas_int *n,
      const dealii::types::blas_int *k,
-     const float *                  alpha,
-     const float *                  a,
+     const float                   *alpha,
+     const float                   *a,
      const dealii::types::blas_int *lda,
-     const float *                  b,
+     const float                   *b,
      const dealii::types::blas_int *ldb,
-     const float *                  beta,
-     float *                        c,
+     const float                   *beta,
+     float                         *c,
      const dealii::types::blas_int *ldc)
 {
 #ifdef DEAL_II_WITH_LAPACK
@@ -2301,18 +2301,18 @@ gemm(const char *                   transa,
 
 
 inline void
-gemm(const char *                   transa,
-     const char *                   transb,
+gemm(const char                    *transa,
+     const char                    *transb,
      const dealii::types::blas_int *m,
      const dealii::types::blas_int *n,
      const dealii::types::blas_int *k,
-     const double *                 alpha,
-     const double *                 a,
+     const double                  *alpha,
+     const double                  *a,
      const dealii::types::blas_int *lda,
-     const double *                 b,
+     const double                  *b,
      const dealii::types::blas_int *ldb,
-     const double *                 beta,
-     double *                       c,
+     const double                  *beta,
+     double                        *c,
      const dealii::types::blas_int *ldc)
 {
 #ifdef DEAL_II_WITH_LAPACK
@@ -2339,18 +2339,18 @@ gemm(const char *                   transa,
 
 
 inline void
-gemm(const char *                   transa,
-     const char *                   transb,
+gemm(const char                    *transa,
+     const char                    *transb,
      const dealii::types::blas_int *m,
      const dealii::types::blas_int *n,
      const dealii::types::blas_int *k,
-     const std::complex<float> *    alpha,
-     const std::complex<float> *    a,
+     const std::complex<float>     *alpha,
+     const std::complex<float>     *a,
      const dealii::types::blas_int *lda,
-     const std::complex<float> *    b,
+     const std::complex<float>     *b,
      const dealii::types::blas_int *ldb,
-     const std::complex<float> *    beta,
-     std::complex<float> *          c,
+     const std::complex<float>     *beta,
+     std::complex<float>           *c,
      const dealii::types::blas_int *ldc)
 {
 #ifdef DEAL_II_WITH_LAPACK
@@ -2377,18 +2377,18 @@ gemm(const char *                   transa,
 
 
 inline void
-gemm(const char *                   transa,
-     const char *                   transb,
+gemm(const char                    *transa,
+     const char                    *transb,
      const dealii::types::blas_int *m,
      const dealii::types::blas_int *n,
      const dealii::types::blas_int *k,
-     const std::complex<double> *   alpha,
-     const std::complex<double> *   a,
+     const std::complex<double>    *alpha,
+     const std::complex<double>    *a,
      const dealii::types::blas_int *lda,
-     const std::complex<double> *   b,
+     const std::complex<double>    *b,
      const dealii::types::blas_int *ldb,
-     const std::complex<double> *   beta,
-     std::complex<double> *         c,
+     const std::complex<double>    *beta,
+     std::complex<double>          *c,
      const dealii::types::blas_int *ldc)
 {
 #ifdef DEAL_II_WITH_LAPACK
@@ -2438,16 +2438,16 @@ gemv(const char *,
 
 
 inline void
-gemv(const char *                   trans,
+gemv(const char                    *trans,
      const dealii::types::blas_int *m,
      const dealii::types::blas_int *n,
-     const float *                  alpha,
-     const float *                  a,
+     const float                   *alpha,
+     const float                   *a,
      const dealii::types::blas_int *lda,
-     const float *                  x,
+     const float                   *x,
      const dealii::types::blas_int *incx,
-     const float *                  beta,
-     float *                        y,
+     const float                   *beta,
+     float                         *y,
      const dealii::types::blas_int *incy)
 {
 #ifdef DEAL_II_WITH_LAPACK
@@ -2472,16 +2472,16 @@ gemv(const char *                   trans,
 
 
 inline void
-gemv(const char *                   trans,
+gemv(const char                    *trans,
      const dealii::types::blas_int *m,
      const dealii::types::blas_int *n,
-     const double *                 alpha,
-     const double *                 a,
+     const double                  *alpha,
+     const double                  *a,
      const dealii::types::blas_int *lda,
-     const double *                 x,
+     const double                  *x,
      const dealii::types::blas_int *incx,
-     const double *                 beta,
-     double *                       y,
+     const double                  *beta,
+     double                        *y,
      const dealii::types::blas_int *incy)
 {
 #ifdef DEAL_II_WITH_LAPACK
@@ -2506,16 +2506,16 @@ gemv(const char *                   trans,
 
 
 inline void
-gemv(const char *                   trans,
+gemv(const char                    *trans,
      const dealii::types::blas_int *m,
      const dealii::types::blas_int *n,
-     const std::complex<float> *    alpha,
-     const std::complex<float> *    a,
+     const std::complex<float>     *alpha,
+     const std::complex<float>     *a,
      const dealii::types::blas_int *lda,
-     const std::complex<float> *    x,
+     const std::complex<float>     *x,
      const dealii::types::blas_int *incx,
-     const std::complex<float> *    beta,
-     std::complex<float> *          y,
+     const std::complex<float>     *beta,
+     std::complex<float>           *y,
      const dealii::types::blas_int *incy)
 {
 #ifdef DEAL_II_WITH_LAPACK
@@ -2540,16 +2540,16 @@ gemv(const char *                   trans,
 
 
 inline void
-gemv(const char *                   trans,
+gemv(const char                    *trans,
      const dealii::types::blas_int *m,
      const dealii::types::blas_int *n,
-     const std::complex<double> *   alpha,
-     const std::complex<double> *   a,
+     const std::complex<double>    *alpha,
+     const std::complex<double>    *a,
      const dealii::types::blas_int *lda,
-     const std::complex<double> *   x,
+     const std::complex<double>    *x,
      const dealii::types::blas_int *incx,
-     const std::complex<double> *   beta,
-     std::complex<double> *         y,
+     const std::complex<double>    *beta,
+     std::complex<double>          *y,
      const dealii::types::blas_int *incy)
 {
 #ifdef DEAL_II_WITH_LAPACK
@@ -2592,12 +2592,12 @@ geqrf(const dealii::types::blas_int *,
 inline void
 geqrf(const dealii::types::blas_int *m,
       const dealii::types::blas_int *n,
-      float *                        a,
+      float                         *a,
       const dealii::types::blas_int *lda,
-      float *                        tau,
-      float *                        work,
+      float                         *tau,
+      float                         *work,
       const dealii::types::blas_int *lwork,
-      dealii::types::blas_int *      info)
+      dealii::types::blas_int       *info)
 {
 #ifdef DEAL_II_WITH_LAPACK
   DEAL_II_FORTRAN_MANGLE(sgeqrf, SGEQRF)(m, n, a, lda, tau, work, lwork, info);
@@ -2619,12 +2619,12 @@ geqrf(const dealii::types::blas_int *m,
 inline void
 geqrf(const dealii::types::blas_int *m,
       const dealii::types::blas_int *n,
-      double *                       a,
+      double                        *a,
       const dealii::types::blas_int *lda,
-      double *                       tau,
-      double *                       work,
+      double                        *tau,
+      double                        *work,
       const dealii::types::blas_int *lwork,
-      dealii::types::blas_int *      info)
+      dealii::types::blas_int       *info)
 {
 #ifdef DEAL_II_WITH_LAPACK
   DEAL_II_FORTRAN_MANGLE(dgeqrf, DGEQRF)(m, n, a, lda, tau, work, lwork, info);
@@ -2646,12 +2646,12 @@ geqrf(const dealii::types::blas_int *m,
 inline void
 geqrf(const dealii::types::blas_int *m,
       const dealii::types::blas_int *n,
-      std::complex<float> *          a,
+      std::complex<float>           *a,
       const dealii::types::blas_int *lda,
-      std::complex<float> *          tau,
-      std::complex<float> *          work,
+      std::complex<float>           *tau,
+      std::complex<float>           *work,
       const dealii::types::blas_int *lwork,
-      dealii::types::blas_int *      info)
+      dealii::types::blas_int       *info)
 {
 #ifdef DEAL_II_WITH_LAPACK
   DEAL_II_FORTRAN_MANGLE(cgeqrf, CGEQRF)(m, n, a, lda, tau, work, lwork, info);
@@ -2673,12 +2673,12 @@ geqrf(const dealii::types::blas_int *m,
 inline void
 geqrf(const dealii::types::blas_int *m,
       const dealii::types::blas_int *n,
-      std::complex<double> *         a,
+      std::complex<double>          *a,
       const dealii::types::blas_int *lda,
-      std::complex<double> *         tau,
-      std::complex<double> *         work,
+      std::complex<double>          *tau,
+      std::complex<double>          *work,
       const dealii::types::blas_int *lwork,
-      dealii::types::blas_int *      info)
+      dealii::types::blas_int       *info)
 {
 #ifdef DEAL_II_WITH_LAPACK
   DEAL_II_FORTRAN_MANGLE(zgeqrf, ZGEQRF)(m, n, a, lda, tau, work, lwork, info);
@@ -2724,20 +2724,20 @@ gesdd(const char *,
 
 
 inline void
-gesdd(const char *                   jobz,
+gesdd(const char                    *jobz,
       const dealii::types::blas_int *m,
       const dealii::types::blas_int *n,
-      float *                        a,
+      float                         *a,
       const dealii::types::blas_int *lda,
-      float *                        s,
-      float *                        u,
+      float                         *s,
+      float                         *u,
       const dealii::types::blas_int *ldu,
-      float *                        vt,
+      float                         *vt,
       const dealii::types::blas_int *ldvt,
-      float *                        work,
+      float                         *work,
       const dealii::types::blas_int *lwork,
-      dealii::types::blas_int *      iwork,
-      dealii::types::blas_int *      info)
+      dealii::types::blas_int       *iwork,
+      dealii::types::blas_int       *info)
 {
 #ifdef DEAL_II_WITH_LAPACK
   DEAL_II_FORTRAN_MANGLE(sgesdd, SGESDD)
@@ -2764,20 +2764,20 @@ gesdd(const char *                   jobz,
 
 
 inline void
-gesdd(const char *                   jobz,
+gesdd(const char                    *jobz,
       const dealii::types::blas_int *m,
       const dealii::types::blas_int *n,
-      double *                       a,
+      double                        *a,
       const dealii::types::blas_int *lda,
-      double *                       s,
-      double *                       u,
+      double                        *s,
+      double                        *u,
       const dealii::types::blas_int *ldu,
-      double *                       vt,
+      double                        *vt,
       const dealii::types::blas_int *ldvt,
-      double *                       work,
+      double                        *work,
       const dealii::types::blas_int *lwork,
-      dealii::types::blas_int *      iwork,
-      dealii::types::blas_int *      info)
+      dealii::types::blas_int       *iwork,
+      dealii::types::blas_int       *info)
 {
 #ifdef DEAL_II_WITH_LAPACK
   DEAL_II_FORTRAN_MANGLE(dgesdd, DGESDD)
@@ -2804,21 +2804,21 @@ gesdd(const char *                   jobz,
 
 
 inline void
-gesdd(const char *                   jobz,
+gesdd(const char                    *jobz,
       const dealii::types::blas_int *m,
       const dealii::types::blas_int *n,
-      std::complex<float> *          a,
+      std::complex<float>           *a,
       const dealii::types::blas_int *lda,
-      float *                        s,
-      std::complex<float> *          u,
+      float                         *s,
+      std::complex<float>           *u,
       const dealii::types::blas_int *ldu,
-      std::complex<float> *          vt,
+      std::complex<float>           *vt,
       const dealii::types::blas_int *ldvt,
-      std::complex<float> *          work,
+      std::complex<float>           *work,
       const dealii::types::blas_int *lwork,
-      float *                        rwork,
-      dealii::types::blas_int *      iwork,
-      dealii::types::blas_int *      info)
+      float                         *rwork,
+      dealii::types::blas_int       *iwork,
+      dealii::types::blas_int       *info)
 {
 #ifdef DEAL_II_WITH_LAPACK
   DEAL_II_FORTRAN_MANGLE(cgesdd, CGESDD)
@@ -2846,21 +2846,21 @@ gesdd(const char *                   jobz,
 
 
 inline void
-gesdd(const char *                   jobz,
+gesdd(const char                    *jobz,
       const dealii::types::blas_int *m,
       const dealii::types::blas_int *n,
-      std::complex<double> *         a,
+      std::complex<double>          *a,
       const dealii::types::blas_int *lda,
-      double *                       s,
-      std::complex<double> *         u,
+      double                        *s,
+      std::complex<double>          *u,
       const dealii::types::blas_int *ldu,
-      std::complex<double> *         vt,
+      std::complex<double>          *vt,
       const dealii::types::blas_int *ldvt,
-      std::complex<double> *         work,
+      std::complex<double>          *work,
       const dealii::types::blas_int *lwork,
-      double *                       rwork,
-      dealii::types::blas_int *      iwork,
-      dealii::types::blas_int *      info)
+      double                        *rwork,
+      dealii::types::blas_int       *iwork,
+      dealii::types::blas_int       *info)
 {
 #ifdef DEAL_II_WITH_LAPACK
   DEAL_II_FORTRAN_MANGLE(zgesdd, ZGESDD)
@@ -2914,20 +2914,20 @@ gesvd(const char *,
 
 
 inline void
-gesvd(const char *                   jobu,
-      const char *                   jobvt,
+gesvd(const char                    *jobu,
+      const char                    *jobvt,
       const dealii::types::blas_int *m,
       const dealii::types::blas_int *n,
-      float *                        a,
+      float                         *a,
       const dealii::types::blas_int *lda,
-      float *                        s,
-      float *                        u,
+      float                         *s,
+      float                         *u,
       const dealii::types::blas_int *ldu,
-      float *                        vt,
+      float                         *vt,
       const dealii::types::blas_int *ldvt,
-      float *                        work,
+      float                         *work,
       const dealii::types::blas_int *lwork,
-      dealii::types::blas_int *      info)
+      dealii::types::blas_int       *info)
 {
 #ifdef DEAL_II_WITH_LAPACK
   DEAL_II_FORTRAN_MANGLE(sgesvd, SGESVD)
@@ -2954,20 +2954,20 @@ gesvd(const char *                   jobu,
 
 
 inline void
-gesvd(const char *                   jobu,
-      const char *                   jobvt,
+gesvd(const char                    *jobu,
+      const char                    *jobvt,
       const dealii::types::blas_int *m,
       const dealii::types::blas_int *n,
-      double *                       a,
+      double                        *a,
       const dealii::types::blas_int *lda,
-      double *                       s,
-      double *                       u,
+      double                        *s,
+      double                        *u,
       const dealii::types::blas_int *ldu,
-      double *                       vt,
+      double                        *vt,
       const dealii::types::blas_int *ldvt,
-      double *                       work,
+      double                        *work,
       const dealii::types::blas_int *lwork,
-      dealii::types::blas_int *      info)
+      dealii::types::blas_int       *info)
 {
 #ifdef DEAL_II_WITH_LAPACK
   DEAL_II_FORTRAN_MANGLE(dgesvd, DGESVD)
@@ -2994,21 +2994,21 @@ gesvd(const char *                   jobu,
 
 
 inline void
-gesvd(const char *                   jobu,
-      const char *                   jobvt,
+gesvd(const char                    *jobu,
+      const char                    *jobvt,
       const dealii::types::blas_int *m,
       const dealii::types::blas_int *n,
-      std::complex<float> *          a,
+      std::complex<float>           *a,
       const dealii::types::blas_int *lda,
-      float *                        s,
-      std::complex<float> *          u,
+      float                         *s,
+      std::complex<float>           *u,
       const dealii::types::blas_int *ldu,
-      std::complex<float> *          vt,
+      std::complex<float>           *vt,
       const dealii::types::blas_int *ldvt,
-      std::complex<float> *          work,
+      std::complex<float>           *work,
       const dealii::types::blas_int *lwork,
-      float *                        rwork,
-      dealii::types::blas_int *      info)
+      float                         *rwork,
+      dealii::types::blas_int       *info)
 {
 #ifdef DEAL_II_WITH_LAPACK
   DEAL_II_FORTRAN_MANGLE(cgesvd, CGESVD)
@@ -3036,21 +3036,21 @@ gesvd(const char *                   jobu,
 
 
 inline void
-gesvd(const char *                   jobu,
-      const char *                   jobvt,
+gesvd(const char                    *jobu,
+      const char                    *jobvt,
       const dealii::types::blas_int *m,
       const dealii::types::blas_int *n,
-      std::complex<double> *         a,
+      std::complex<double>          *a,
       const dealii::types::blas_int *lda,
-      double *                       s,
-      std::complex<double> *         u,
+      double                        *s,
+      std::complex<double>          *u,
       const dealii::types::blas_int *ldu,
-      std::complex<double> *         vt,
+      std::complex<double>          *vt,
       const dealii::types::blas_int *ldvt,
-      std::complex<double> *         work,
+      std::complex<double>          *work,
       const dealii::types::blas_int *lwork,
-      double *                       rwork,
-      dealii::types::blas_int *      info)
+      double                        *rwork,
+      dealii::types::blas_int       *info)
 {
 #ifdef DEAL_II_WITH_LAPACK
   DEAL_II_FORTRAN_MANGLE(zgesvd, ZGESVD)
@@ -3094,10 +3094,10 @@ getrf(const dealii::types::blas_int *,
 inline void
 getrf(const dealii::types::blas_int *m,
       const dealii::types::blas_int *n,
-      float *                        a,
+      float                         *a,
       const dealii::types::blas_int *lda,
-      dealii::types::blas_int *      ipiv,
-      dealii::types::blas_int *      info)
+      dealii::types::blas_int       *ipiv,
+      dealii::types::blas_int       *info)
 {
 #ifdef DEAL_II_WITH_LAPACK
   DEAL_II_FORTRAN_MANGLE(sgetrf, SGETRF)(m, n, a, lda, ipiv, info);
@@ -3117,10 +3117,10 @@ getrf(const dealii::types::blas_int *m,
 inline void
 getrf(const dealii::types::blas_int *m,
       const dealii::types::blas_int *n,
-      double *                       a,
+      double                        *a,
       const dealii::types::blas_int *lda,
-      dealii::types::blas_int *      ipiv,
-      dealii::types::blas_int *      info)
+      dealii::types::blas_int       *ipiv,
+      dealii::types::blas_int       *info)
 {
 #ifdef DEAL_II_WITH_LAPACK
   DEAL_II_FORTRAN_MANGLE(dgetrf, DGETRF)(m, n, a, lda, ipiv, info);
@@ -3140,10 +3140,10 @@ getrf(const dealii::types::blas_int *m,
 inline void
 getrf(const dealii::types::blas_int *m,
       const dealii::types::blas_int *n,
-      std::complex<float> *          a,
+      std::complex<float>           *a,
       const dealii::types::blas_int *lda,
-      dealii::types::blas_int *      ipiv,
-      dealii::types::blas_int *      info)
+      dealii::types::blas_int       *ipiv,
+      dealii::types::blas_int       *info)
 {
 #ifdef DEAL_II_WITH_LAPACK
   DEAL_II_FORTRAN_MANGLE(cgetrf, CGETRF)(m, n, a, lda, ipiv, info);
@@ -3163,10 +3163,10 @@ getrf(const dealii::types::blas_int *m,
 inline void
 getrf(const dealii::types::blas_int *m,
       const dealii::types::blas_int *n,
-      std::complex<double> *         a,
+      std::complex<double>          *a,
       const dealii::types::blas_int *lda,
-      dealii::types::blas_int *      ipiv,
-      dealii::types::blas_int *      info)
+      dealii::types::blas_int       *ipiv,
+      dealii::types::blas_int       *info)
 {
 #ifdef DEAL_II_WITH_LAPACK
   DEAL_II_FORTRAN_MANGLE(zgetrf, ZGETRF)(m, n, a, lda, ipiv, info);
@@ -3200,12 +3200,12 @@ getri(const dealii::types::blas_int *,
 
 inline void
 getri(const dealii::types::blas_int *n,
-      float *                        a,
+      float                         *a,
       const dealii::types::blas_int *lda,
       const dealii::types::blas_int *ipiv,
-      float *                        work,
+      float                         *work,
       const dealii::types::blas_int *lwork,
-      dealii::types::blas_int *      info)
+      dealii::types::blas_int       *info)
 {
 #ifdef DEAL_II_WITH_LAPACK
   DEAL_II_FORTRAN_MANGLE(sgetri, SGETRI)(n, a, lda, ipiv, work, lwork, info);
@@ -3225,12 +3225,12 @@ getri(const dealii::types::blas_int *n,
 
 inline void
 getri(const dealii::types::blas_int *n,
-      double *                       a,
+      double                        *a,
       const dealii::types::blas_int *lda,
       const dealii::types::blas_int *ipiv,
-      double *                       work,
+      double                        *work,
       const dealii::types::blas_int *lwork,
-      dealii::types::blas_int *      info)
+      dealii::types::blas_int       *info)
 {
 #ifdef DEAL_II_WITH_LAPACK
   DEAL_II_FORTRAN_MANGLE(dgetri, DGETRI)(n, a, lda, ipiv, work, lwork, info);
@@ -3250,12 +3250,12 @@ getri(const dealii::types::blas_int *n,
 
 inline void
 getri(const dealii::types::blas_int *n,
-      std::complex<float> *          a,
+      std::complex<float>           *a,
       const dealii::types::blas_int *lda,
       const dealii::types::blas_int *ipiv,
-      std::complex<float> *          work,
+      std::complex<float>           *work,
       const dealii::types::blas_int *lwork,
-      dealii::types::blas_int *      info)
+      dealii::types::blas_int       *info)
 {
 #ifdef DEAL_II_WITH_LAPACK
   DEAL_II_FORTRAN_MANGLE(cgetri, CGETRI)(n, a, lda, ipiv, work, lwork, info);
@@ -3275,12 +3275,12 @@ getri(const dealii::types::blas_int *n,
 
 inline void
 getri(const dealii::types::blas_int *n,
-      std::complex<double> *         a,
+      std::complex<double>          *a,
       const dealii::types::blas_int *lda,
       const dealii::types::blas_int *ipiv,
-      std::complex<double> *         work,
+      std::complex<double>          *work,
       const dealii::types::blas_int *lwork,
-      dealii::types::blas_int *      info)
+      dealii::types::blas_int       *info)
 {
 #ifdef DEAL_II_WITH_LAPACK
   DEAL_II_FORTRAN_MANGLE(zgetri, ZGETRI)(n, a, lda, ipiv, work, lwork, info);
@@ -3316,15 +3316,15 @@ getrs(const char *,
 
 
 inline void
-getrs(const char *                   trans,
+getrs(const char                    *trans,
       const dealii::types::blas_int *n,
       const dealii::types::blas_int *nrhs,
-      const float *                  a,
+      const float                   *a,
       const dealii::types::blas_int *lda,
       const dealii::types::blas_int *ipiv,
-      float *                        b,
+      float                         *b,
       const dealii::types::blas_int *ldb,
-      dealii::types::blas_int *      info)
+      dealii::types::blas_int       *info)
 {
 #ifdef DEAL_II_WITH_LAPACK
   DEAL_II_FORTRAN_MANGLE(sgetrs, SGETRS)
@@ -3346,15 +3346,15 @@ getrs(const char *                   trans,
 
 
 inline void
-getrs(const char *                   trans,
+getrs(const char                    *trans,
       const dealii::types::blas_int *n,
       const dealii::types::blas_int *nrhs,
-      const double *                 a,
+      const double                  *a,
       const dealii::types::blas_int *lda,
       const dealii::types::blas_int *ipiv,
-      double *                       b,
+      double                        *b,
       const dealii::types::blas_int *ldb,
-      dealii::types::blas_int *      info)
+      dealii::types::blas_int       *info)
 {
 #ifdef DEAL_II_WITH_LAPACK
   DEAL_II_FORTRAN_MANGLE(dgetrs, DGETRS)
@@ -3376,15 +3376,15 @@ getrs(const char *                   trans,
 
 
 inline void
-getrs(const char *                   trans,
+getrs(const char                    *trans,
       const dealii::types::blas_int *n,
       const dealii::types::blas_int *nrhs,
-      const std::complex<float> *    a,
+      const std::complex<float>     *a,
       const dealii::types::blas_int *lda,
       const dealii::types::blas_int *ipiv,
-      std::complex<float> *          b,
+      std::complex<float>           *b,
       const dealii::types::blas_int *ldb,
-      dealii::types::blas_int *      info)
+      dealii::types::blas_int       *info)
 {
 #ifdef DEAL_II_WITH_LAPACK
   DEAL_II_FORTRAN_MANGLE(cgetrs, CGETRS)
@@ -3406,15 +3406,15 @@ getrs(const char *                   trans,
 
 
 inline void
-getrs(const char *                   trans,
+getrs(const char                    *trans,
       const dealii::types::blas_int *n,
       const dealii::types::blas_int *nrhs,
-      const std::complex<double> *   a,
+      const std::complex<double>    *a,
       const dealii::types::blas_int *lda,
       const dealii::types::blas_int *ipiv,
-      std::complex<double> *         b,
+      std::complex<double>          *b,
       const dealii::types::blas_int *ldb,
-      dealii::types::blas_int *      info)
+      dealii::types::blas_int       *info)
 {
 #ifdef DEAL_II_WITH_LAPACK
   DEAL_II_FORTRAN_MANGLE(zgetrs, ZGETRS)
@@ -3491,12 +3491,12 @@ lange(const char *,
 
 
 inline float
-lange(const char *                   norm,
+lange(const char                    *norm,
       const dealii::types::blas_int *m,
       const dealii::types::blas_int *n,
-      const float *                  a,
+      const float                   *a,
       const dealii::types::blas_int *lda,
-      float *                        work)
+      float                         *work)
 {
 #ifdef DEAL_II_WITH_LAPACK
   return DEAL_II_FORTRAN_MANGLE(slange, SLANGE)(norm, m, n, a, lda, work);
@@ -3515,12 +3515,12 @@ lange(const char *                   norm,
 
 
 inline double
-lange(const char *                   norm,
+lange(const char                    *norm,
       const dealii::types::blas_int *m,
       const dealii::types::blas_int *n,
-      const double *                 a,
+      const double                  *a,
       const dealii::types::blas_int *lda,
-      double *                       work)
+      double                        *work)
 {
 #ifdef DEAL_II_WITH_LAPACK
   return DEAL_II_FORTRAN_MANGLE(dlange, DLANGE)(norm, m, n, a, lda, work);
@@ -3539,12 +3539,12 @@ lange(const char *                   norm,
 
 
 inline float
-lange(const char *                   norm,
+lange(const char                    *norm,
       const dealii::types::blas_int *m,
       const dealii::types::blas_int *n,
-      const std::complex<float> *    a,
+      const std::complex<float>     *a,
       const dealii::types::blas_int *lda,
-      float *                        work)
+      float                         *work)
 {
 #ifdef DEAL_II_WITH_LAPACK
   return DEAL_II_FORTRAN_MANGLE(clange, CLANGE)(norm, m, n, a, lda, work);
@@ -3563,12 +3563,12 @@ lange(const char *                   norm,
 
 
 inline double
-lange(const char *                   norm,
+lange(const char                    *norm,
       const dealii::types::blas_int *m,
       const dealii::types::blas_int *n,
-      const std::complex<double> *   a,
+      const std::complex<double>    *a,
       const dealii::types::blas_int *lda,
-      double *                       work)
+      double                        *work)
 {
 #ifdef DEAL_II_WITH_LAPACK
   return DEAL_II_FORTRAN_MANGLE(zlange, ZLANGE)(norm, m, n, a, lda, work);
@@ -3602,12 +3602,12 @@ lansy(const char *,
 
 
 inline float
-lansy(const char *                   norm,
-      const char *                   uplo,
+lansy(const char                    *norm,
+      const char                    *uplo,
       const dealii::types::blas_int *n,
-      const float *                  a,
+      const float                   *a,
       const dealii::types::blas_int *lda,
-      float *                        work)
+      float                         *work)
 {
 #ifdef DEAL_II_WITH_LAPACK
   return DEAL_II_FORTRAN_MANGLE(slansy, SLANSY)(norm, uplo, n, a, lda, work);
@@ -3626,12 +3626,12 @@ lansy(const char *                   norm,
 
 
 inline double
-lansy(const char *                   norm,
-      const char *                   uplo,
+lansy(const char                    *norm,
+      const char                    *uplo,
       const dealii::types::blas_int *n,
-      const double *                 a,
+      const double                  *a,
       const dealii::types::blas_int *lda,
-      double *                       work)
+      double                        *work)
 {
 #ifdef DEAL_II_WITH_LAPACK
   return DEAL_II_FORTRAN_MANGLE(dlansy, DLANSY)(norm, uplo, n, a, lda, work);
@@ -3650,12 +3650,12 @@ lansy(const char *                   norm,
 
 
 inline float
-lansy(const char *                   norm,
-      const char *                   uplo,
+lansy(const char                    *norm,
+      const char                    *uplo,
       const dealii::types::blas_int *n,
-      const std::complex<float> *    a,
+      const std::complex<float>     *a,
       const dealii::types::blas_int *lda,
-      float *                        work)
+      float                         *work)
 {
 #ifdef DEAL_II_WITH_LAPACK
   return DEAL_II_FORTRAN_MANGLE(clansy, CLANSY)(norm, uplo, n, a, lda, work);
@@ -3674,12 +3674,12 @@ lansy(const char *                   norm,
 
 
 inline double
-lansy(const char *                   norm,
-      const char *                   uplo,
+lansy(const char                    *norm,
+      const char                    *uplo,
       const dealii::types::blas_int *n,
-      const std::complex<double> *   a,
+      const std::complex<double>    *a,
       const dealii::types::blas_int *lda,
-      double *                       work)
+      double                        *work)
 {
 #ifdef DEAL_II_WITH_LAPACK
   return DEAL_II_FORTRAN_MANGLE(zlansy, ZLANSY)(norm, uplo, n, a, lda, work);
@@ -3716,16 +3716,16 @@ lascl(const char *,
 
 
 inline void
-lascl(const char *                   type,
+lascl(const char                    *type,
       const dealii::types::blas_int *kl,
       const dealii::types::blas_int *ku,
-      const float *                  cfrom,
-      const float *                  cto,
+      const float                   *cfrom,
+      const float                   *cto,
       const dealii::types::blas_int *m,
       const dealii::types::blas_int *n,
-      float *                        a,
+      float                         *a,
       const dealii::types::blas_int *lda,
-      dealii::types::blas_int *      info)
+      dealii::types::blas_int       *info)
 {
 #ifdef DEAL_II_WITH_LAPACK
   DEAL_II_FORTRAN_MANGLE(slascl, SLASCL)
@@ -3748,16 +3748,16 @@ lascl(const char *                   type,
 
 
 inline void
-lascl(const char *                   type,
+lascl(const char                    *type,
       const dealii::types::blas_int *kl,
       const dealii::types::blas_int *ku,
-      const double *                 cfrom,
-      const double *                 cto,
+      const double                  *cfrom,
+      const double                  *cto,
       const dealii::types::blas_int *m,
       const dealii::types::blas_int *n,
-      double *                       a,
+      double                        *a,
       const dealii::types::blas_int *lda,
-      dealii::types::blas_int *      info)
+      dealii::types::blas_int       *info)
 {
 #ifdef DEAL_II_WITH_LAPACK
   DEAL_II_FORTRAN_MANGLE(dlascl, DLASCL)
@@ -3780,16 +3780,16 @@ lascl(const char *                   type,
 
 
 inline void
-lascl(const char *                   type,
+lascl(const char                    *type,
       const dealii::types::blas_int *kl,
       const dealii::types::blas_int *ku,
-      const float *                  cfrom,
-      const float *                  cto,
+      const float                   *cfrom,
+      const float                   *cto,
       const dealii::types::blas_int *m,
       const dealii::types::blas_int *n,
-      std::complex<float> *          a,
+      std::complex<float>           *a,
       const dealii::types::blas_int *lda,
-      dealii::types::blas_int *      info)
+      dealii::types::blas_int       *info)
 {
 #ifdef DEAL_II_WITH_LAPACK
   DEAL_II_FORTRAN_MANGLE(clascl, CLASCL)
@@ -3812,16 +3812,16 @@ lascl(const char *                   type,
 
 
 inline void
-lascl(const char *                   type,
+lascl(const char                    *type,
       const dealii::types::blas_int *kl,
       const dealii::types::blas_int *ku,
-      const double *                 cfrom,
-      const double *                 cto,
+      const double                  *cfrom,
+      const double                  *cto,
       const dealii::types::blas_int *m,
       const dealii::types::blas_int *n,
-      std::complex<double> *         a,
+      std::complex<double>          *a,
       const dealii::types::blas_int *lda,
-      dealii::types::blas_int *      info)
+      dealii::types::blas_int       *info)
 {
 #ifdef DEAL_II_WITH_LAPACK
   DEAL_II_FORTRAN_MANGLE(zlascl, ZLASCL)
@@ -3864,12 +3864,12 @@ inline void
 orgqr(const dealii::types::blas_int *m,
       const dealii::types::blas_int *n,
       const dealii::types::blas_int *k,
-      float *                        a,
+      float                         *a,
       const dealii::types::blas_int *lda,
-      const float *                  tau,
-      float *                        work,
+      const float                   *tau,
+      float                         *work,
       const dealii::types::blas_int *lwork,
-      dealii::types::blas_int *      info)
+      dealii::types::blas_int       *info)
 {
 #ifdef DEAL_II_WITH_LAPACK
   DEAL_II_FORTRAN_MANGLE(sorgqr, SORGQR)
@@ -3894,12 +3894,12 @@ inline void
 orgqr(const dealii::types::blas_int *m,
       const dealii::types::blas_int *n,
       const dealii::types::blas_int *k,
-      double *                       a,
+      double                        *a,
       const dealii::types::blas_int *lda,
-      const double *                 tau,
-      double *                       work,
+      const double                  *tau,
+      double                        *work,
       const dealii::types::blas_int *lwork,
-      dealii::types::blas_int *      info)
+      dealii::types::blas_int       *info)
 {
 #ifdef DEAL_II_WITH_LAPACK
   DEAL_II_FORTRAN_MANGLE(dorgqr, DORGQR)
@@ -3945,19 +3945,19 @@ ormqr(const char *,
 
 
 inline void
-ormqr(const char *                   side,
-      const char *                   trans,
+ormqr(const char                    *side,
+      const char                    *trans,
       const dealii::types::blas_int *m,
       const dealii::types::blas_int *n,
       const dealii::types::blas_int *k,
-      const float *                  a,
+      const float                   *a,
       const dealii::types::blas_int *lda,
-      const float *                  tau,
-      float *                        c,
+      const float                   *tau,
+      float                         *c,
       const dealii::types::blas_int *ldc,
-      float *                        work,
+      float                         *work,
       const dealii::types::blas_int *lwork,
-      dealii::types::blas_int *      info)
+      dealii::types::blas_int       *info)
 {
 #ifdef DEAL_II_WITH_LAPACK
   DEAL_II_FORTRAN_MANGLE(sormqr, SORMQR)
@@ -3983,19 +3983,19 @@ ormqr(const char *                   side,
 
 
 inline void
-ormqr(const char *                   side,
-      const char *                   trans,
+ormqr(const char                    *side,
+      const char                    *trans,
       const dealii::types::blas_int *m,
       const dealii::types::blas_int *n,
       const dealii::types::blas_int *k,
-      const double *                 a,
+      const double                  *a,
       const dealii::types::blas_int *lda,
-      const double *                 tau,
-      double *                       c,
+      const double                  *tau,
+      double                        *c,
       const dealii::types::blas_int *ldc,
-      double *                       work,
+      double                        *work,
       const dealii::types::blas_int *lwork,
-      dealii::types::blas_int *      info)
+      dealii::types::blas_int       *info)
 {
 #ifdef DEAL_II_WITH_LAPACK
   DEAL_II_FORTRAN_MANGLE(dormqr, DORMQR)
@@ -4041,15 +4041,15 @@ pocon(const char *,
 
 
 inline void
-pocon(const char *                   uplo,
+pocon(const char                    *uplo,
       const dealii::types::blas_int *n,
-      const float *                  a,
+      const float                   *a,
       const dealii::types::blas_int *lda,
-      const float *                  anorm,
-      float *                        rcond,
-      float *                        work,
-      dealii::types::blas_int *      iwork,
-      dealii::types::blas_int *      info)
+      const float                   *anorm,
+      float                         *rcond,
+      float                         *work,
+      dealii::types::blas_int       *iwork,
+      dealii::types::blas_int       *info)
 {
 #ifdef DEAL_II_WITH_LAPACK
   DEAL_II_FORTRAN_MANGLE(spocon, SPOCON)
@@ -4071,15 +4071,15 @@ pocon(const char *                   uplo,
 
 
 inline void
-pocon(const char *                   uplo,
+pocon(const char                    *uplo,
       const dealii::types::blas_int *n,
-      const double *                 a,
+      const double                  *a,
       const dealii::types::blas_int *lda,
-      const double *                 anorm,
-      double *                       rcond,
-      double *                       work,
-      dealii::types::blas_int *      iwork,
-      dealii::types::blas_int *      info)
+      const double                  *anorm,
+      double                        *rcond,
+      double                        *work,
+      dealii::types::blas_int       *iwork,
+      dealii::types::blas_int       *info)
 {
 #ifdef DEAL_II_WITH_LAPACK
   DEAL_II_FORTRAN_MANGLE(dpocon, DPOCON)
@@ -4101,15 +4101,15 @@ pocon(const char *                   uplo,
 
 
 inline void
-pocon(const char *                   uplo,
+pocon(const char                    *uplo,
       const dealii::types::blas_int *n,
-      const std::complex<float> *    a,
+      const std::complex<float>     *a,
       const dealii::types::blas_int *lda,
-      const float *                  anorm,
-      float *                        rcond,
-      std::complex<float> *          work,
-      float *                        rwork,
-      dealii::types::blas_int *      info)
+      const float                   *anorm,
+      float                         *rcond,
+      std::complex<float>           *work,
+      float                         *rwork,
+      dealii::types::blas_int       *info)
 {
 #ifdef DEAL_II_WITH_LAPACK
   DEAL_II_FORTRAN_MANGLE(cpocon, CPOCON)
@@ -4131,15 +4131,15 @@ pocon(const char *                   uplo,
 
 
 inline void
-pocon(const char *                   uplo,
+pocon(const char                    *uplo,
       const dealii::types::blas_int *n,
-      const std::complex<double> *   a,
+      const std::complex<double>    *a,
       const dealii::types::blas_int *lda,
-      const double *                 anorm,
-      double *                       rcond,
-      std::complex<double> *         work,
-      double *                       rwork,
-      dealii::types::blas_int *      info)
+      const double                  *anorm,
+      double                        *rcond,
+      std::complex<double>          *work,
+      double                        *rwork,
+      dealii::types::blas_int       *info)
 {
 #ifdef DEAL_II_WITH_LAPACK
   DEAL_II_FORTRAN_MANGLE(zpocon, ZPOCON)
@@ -4174,11 +4174,11 @@ potrf(const char *,
 
 
 inline void
-potrf(const char *                   uplo,
+potrf(const char                    *uplo,
       const dealii::types::blas_int *n,
-      float *                        a,
+      float                         *a,
       const dealii::types::blas_int *lda,
-      dealii::types::blas_int *      info)
+      dealii::types::blas_int       *info)
 {
 #ifdef DEAL_II_WITH_LAPACK
   DEAL_II_FORTRAN_MANGLE(spotrf, SPOTRF)(uplo, n, a, lda, info);
@@ -4195,11 +4195,11 @@ potrf(const char *                   uplo,
 
 
 inline void
-potrf(const char *                   uplo,
+potrf(const char                    *uplo,
       const dealii::types::blas_int *n,
-      double *                       a,
+      double                        *a,
       const dealii::types::blas_int *lda,
-      dealii::types::blas_int *      info)
+      dealii::types::blas_int       *info)
 {
 #ifdef DEAL_II_WITH_LAPACK
   DEAL_II_FORTRAN_MANGLE(dpotrf, DPOTRF)(uplo, n, a, lda, info);
@@ -4216,11 +4216,11 @@ potrf(const char *                   uplo,
 
 
 inline void
-potrf(const char *                   uplo,
+potrf(const char                    *uplo,
       const dealii::types::blas_int *n,
-      std::complex<float> *          a,
+      std::complex<float>           *a,
       const dealii::types::blas_int *lda,
-      dealii::types::blas_int *      info)
+      dealii::types::blas_int       *info)
 {
 #ifdef DEAL_II_WITH_LAPACK
   DEAL_II_FORTRAN_MANGLE(cpotrf, CPOTRF)(uplo, n, a, lda, info);
@@ -4237,11 +4237,11 @@ potrf(const char *                   uplo,
 
 
 inline void
-potrf(const char *                   uplo,
+potrf(const char                    *uplo,
       const dealii::types::blas_int *n,
-      std::complex<double> *         a,
+      std::complex<double>          *a,
       const dealii::types::blas_int *lda,
-      dealii::types::blas_int *      info)
+      dealii::types::blas_int       *info)
 {
 #ifdef DEAL_II_WITH_LAPACK
   DEAL_II_FORTRAN_MANGLE(zpotrf, ZPOTRF)(uplo, n, a, lda, info);
@@ -4271,11 +4271,11 @@ potri(const char *,
 
 
 inline void
-potri(const char *                   uplo,
+potri(const char                    *uplo,
       const dealii::types::blas_int *n,
-      float *                        a,
+      float                         *a,
       const dealii::types::blas_int *lda,
-      dealii::types::blas_int *      info)
+      dealii::types::blas_int       *info)
 {
 #ifdef DEAL_II_WITH_LAPACK
   DEAL_II_FORTRAN_MANGLE(spotri, SPOTRI)(uplo, n, a, lda, info);
@@ -4292,11 +4292,11 @@ potri(const char *                   uplo,
 
 
 inline void
-potri(const char *                   uplo,
+potri(const char                    *uplo,
       const dealii::types::blas_int *n,
-      double *                       a,
+      double                        *a,
       const dealii::types::blas_int *lda,
-      dealii::types::blas_int *      info)
+      dealii::types::blas_int       *info)
 {
 #ifdef DEAL_II_WITH_LAPACK
   DEAL_II_FORTRAN_MANGLE(dpotri, DPOTRI)(uplo, n, a, lda, info);
@@ -4313,11 +4313,11 @@ potri(const char *                   uplo,
 
 
 inline void
-potri(const char *                   uplo,
+potri(const char                    *uplo,
       const dealii::types::blas_int *n,
-      std::complex<float> *          a,
+      std::complex<float>           *a,
       const dealii::types::blas_int *lda,
-      dealii::types::blas_int *      info)
+      dealii::types::blas_int       *info)
 {
 #ifdef DEAL_II_WITH_LAPACK
   DEAL_II_FORTRAN_MANGLE(cpotri, CPOTRI)(uplo, n, a, lda, info);
@@ -4334,11 +4334,11 @@ potri(const char *                   uplo,
 
 
 inline void
-potri(const char *                   uplo,
+potri(const char                    *uplo,
       const dealii::types::blas_int *n,
-      std::complex<double> *         a,
+      std::complex<double>          *a,
       const dealii::types::blas_int *lda,
-      dealii::types::blas_int *      info)
+      dealii::types::blas_int       *info)
 {
 #ifdef DEAL_II_WITH_LAPACK
   DEAL_II_FORTRAN_MANGLE(zpotri, ZPOTRI)(uplo, n, a, lda, info);
@@ -4371,14 +4371,14 @@ potrs(const char *,
 
 
 inline void
-potrs(const char *                   uplo,
+potrs(const char                    *uplo,
       const dealii::types::blas_int *n,
       const dealii::types::blas_int *nrhs,
-      const float *                  a,
+      const float                   *a,
       const dealii::types::blas_int *lda,
-      float *                        b,
+      float                         *b,
       const dealii::types::blas_int *ldb,
-      dealii::types::blas_int *      info)
+      dealii::types::blas_int       *info)
 {
 #ifdef DEAL_II_WITH_LAPACK
   DEAL_II_FORTRAN_MANGLE(spotrs, SPOTRS)(uplo, n, nrhs, a, lda, b, ldb, info);
@@ -4398,14 +4398,14 @@ potrs(const char *                   uplo,
 
 
 inline void
-potrs(const char *                   uplo,
+potrs(const char                    *uplo,
       const dealii::types::blas_int *n,
       const dealii::types::blas_int *nrhs,
-      const double *                 a,
+      const double                  *a,
       const dealii::types::blas_int *lda,
-      double *                       b,
+      double                        *b,
       const dealii::types::blas_int *ldb,
-      dealii::types::blas_int *      info)
+      dealii::types::blas_int       *info)
 {
 #ifdef DEAL_II_WITH_LAPACK
   DEAL_II_FORTRAN_MANGLE(dpotrs, DPOTRS)(uplo, n, nrhs, a, lda, b, ldb, info);
@@ -4425,14 +4425,14 @@ potrs(const char *                   uplo,
 
 
 inline void
-potrs(const char *                   uplo,
+potrs(const char                    *uplo,
       const dealii::types::blas_int *n,
       const dealii::types::blas_int *nrhs,
-      const std::complex<float> *    a,
+      const std::complex<float>     *a,
       const dealii::types::blas_int *lda,
-      std::complex<float> *          b,
+      std::complex<float>           *b,
       const dealii::types::blas_int *ldb,
-      dealii::types::blas_int *      info)
+      dealii::types::blas_int       *info)
 {
 #ifdef DEAL_II_WITH_LAPACK
   DEAL_II_FORTRAN_MANGLE(cpotrs, CPOTRS)(uplo, n, nrhs, a, lda, b, ldb, info);
@@ -4452,14 +4452,14 @@ potrs(const char *                   uplo,
 
 
 inline void
-potrs(const char *                   uplo,
+potrs(const char                    *uplo,
       const dealii::types::blas_int *n,
       const dealii::types::blas_int *nrhs,
-      const std::complex<double> *   a,
+      const std::complex<double>    *a,
       const dealii::types::blas_int *lda,
-      std::complex<double> *         b,
+      std::complex<double>          *b,
       const dealii::types::blas_int *ldb,
-      dealii::types::blas_int *      info)
+      dealii::types::blas_int       *info)
 {
 #ifdef DEAL_II_WITH_LAPACK
   DEAL_II_FORTRAN_MANGLE(zpotrs, ZPOTRS)(uplo, n, nrhs, a, lda, b, ldb, info);
@@ -4498,14 +4498,14 @@ stev(const char *,
 
 
 inline void
-stev(const char *                   jobz,
+stev(const char                    *jobz,
      const dealii::types::blas_int *n,
-     float *                        d,
-     float *                        e,
-     float *                        z,
+     float                         *d,
+     float                         *e,
+     float                         *z,
      const dealii::types::blas_int *ldz,
-     float *                        work,
-     dealii::types::blas_int *      info)
+     float                         *work,
+     dealii::types::blas_int       *info)
 {
 #ifdef DEAL_II_WITH_LAPACK
   DEAL_II_FORTRAN_MANGLE(sstev, SSTEV)(jobz, n, d, e, z, ldz, work, info);
@@ -4525,14 +4525,14 @@ stev(const char *                   jobz,
 
 
 inline void
-stev(const char *                   jobz,
+stev(const char                    *jobz,
      const dealii::types::blas_int *n,
-     double *                       d,
-     double *                       e,
-     double *                       z,
+     double                        *d,
+     double                        *e,
+     double                        *z,
      const dealii::types::blas_int *ldz,
-     double *                       work,
-     dealii::types::blas_int *      info)
+     double                        *work,
+     dealii::types::blas_int       *info)
 {
 #ifdef DEAL_II_WITH_LAPACK
   DEAL_II_FORTRAN_MANGLE(dstev, DSTEV)(jobz, n, d, e, z, ldz, work, info);
@@ -4569,15 +4569,15 @@ syev(const char *,
 
 
 inline void
-syev(const char *                   jobz,
-     const char *                   uplo,
+syev(const char                    *jobz,
+     const char                    *uplo,
      const dealii::types::blas_int *n,
-     float *                        a,
+     float                         *a,
      const dealii::types::blas_int *lda,
-     float *                        w,
-     float *                        work,
+     float                         *w,
+     float                         *work,
      const dealii::types::blas_int *lwork,
-     dealii::types::blas_int *      info)
+     dealii::types::blas_int       *info)
 {
 #ifdef DEAL_II_WITH_LAPACK
   DEAL_II_FORTRAN_MANGLE(ssyev, SSYEV)
@@ -4599,15 +4599,15 @@ syev(const char *                   jobz,
 
 
 inline void
-syev(const char *                   jobz,
-     const char *                   uplo,
+syev(const char                    *jobz,
+     const char                    *uplo,
      const dealii::types::blas_int *n,
-     double *                       a,
+     double                        *a,
      const dealii::types::blas_int *lda,
-     double *                       w,
-     double *                       work,
+     double                        *w,
+     double                        *work,
      const dealii::types::blas_int *lwork,
-     dealii::types::blas_int *      info)
+     dealii::types::blas_int       *info)
 {
 #ifdef DEAL_II_WITH_LAPACK
   DEAL_II_FORTRAN_MANGLE(dsyev, DSYEV)
@@ -4664,27 +4664,27 @@ syevr(const char *,
 
 
 inline void
-syevr(const char *                   jobz,
-      const char *                   range,
-      const char *                   uplo,
+syevr(const char                    *jobz,
+      const char                    *range,
+      const char                    *uplo,
       const dealii::types::blas_int *n,
-      float *                        a,
+      float                         *a,
       const dealii::types::blas_int *lda,
-      const float *                  vl,
-      const float *                  vu,
+      const float                   *vl,
+      const float                   *vu,
       const dealii::types::blas_int *il,
       const dealii::types::blas_int *iu,
-      const float *                  abstol,
-      dealii::types::blas_int *      m,
-      float *                        w,
-      float *                        z,
+      const float                   *abstol,
+      dealii::types::blas_int       *m,
+      float                         *w,
+      float                         *z,
       const dealii::types::blas_int *ldz,
-      dealii::types::blas_int *      isuppz,
-      float *                        work,
+      dealii::types::blas_int       *isuppz,
+      float                         *work,
       const dealii::types::blas_int *lwork,
-      dealii::types::blas_int *      iwork,
+      dealii::types::blas_int       *iwork,
       const dealii::types::blas_int *liwork,
-      dealii::types::blas_int *      info)
+      dealii::types::blas_int       *info)
 {
 #ifdef DEAL_II_WITH_LAPACK
   // Netlib and Atlas Lapack perform floating point tests (e.g. divide-by-zero)
@@ -4749,27 +4749,27 @@ syevr(const char *                   jobz,
 
 
 inline void
-syevr(const char *                   jobz,
-      const char *                   range,
-      const char *                   uplo,
+syevr(const char                    *jobz,
+      const char                    *range,
+      const char                    *uplo,
       const dealii::types::blas_int *n,
-      double *                       a,
+      double                        *a,
       const dealii::types::blas_int *lda,
-      const double *                 vl,
-      const double *                 vu,
+      const double                  *vl,
+      const double                  *vu,
       const dealii::types::blas_int *il,
       const dealii::types::blas_int *iu,
-      const double *                 abstol,
-      dealii::types::blas_int *      m,
-      double *                       w,
-      double *                       z,
+      const double                  *abstol,
+      dealii::types::blas_int       *m,
+      double                        *w,
+      double                        *z,
       const dealii::types::blas_int *ldz,
-      dealii::types::blas_int *      isuppz,
-      double *                       work,
+      dealii::types::blas_int       *isuppz,
+      double                        *work,
       const dealii::types::blas_int *lwork,
-      dealii::types::blas_int *      iwork,
+      dealii::types::blas_int       *iwork,
       const dealii::types::blas_int *liwork,
-      dealii::types::blas_int *      info)
+      dealii::types::blas_int       *info)
 {
 #ifdef DEAL_II_WITH_LAPACK
   // Netlib and Atlas Lapack perform floating point tests (e.g. divide-by-zero)
@@ -4868,26 +4868,26 @@ syevx(const char *,
 
 
 inline void
-syevx(const char *                   jobz,
-      const char *                   range,
-      const char *                   uplo,
+syevx(const char                    *jobz,
+      const char                    *range,
+      const char                    *uplo,
       const dealii::types::blas_int *n,
-      float *                        a,
+      float                         *a,
       const dealii::types::blas_int *lda,
-      const float *                  vl,
-      const float *                  vu,
+      const float                   *vl,
+      const float                   *vu,
       const dealii::types::blas_int *il,
       const dealii::types::blas_int *iu,
-      const float *                  abstol,
-      dealii::types::blas_int *      m,
-      float *                        w,
-      float *                        z,
+      const float                   *abstol,
+      dealii::types::blas_int       *m,
+      float                         *w,
+      float                         *z,
       const dealii::types::blas_int *ldz,
-      float *                        work,
+      float                         *work,
       const dealii::types::blas_int *lwork,
-      dealii::types::blas_int *      iwork,
-      dealii::types::blas_int *      ifail,
-      dealii::types::blas_int *      info)
+      dealii::types::blas_int       *iwork,
+      dealii::types::blas_int       *ifail,
+      dealii::types::blas_int       *info)
 {
 #ifdef DEAL_II_WITH_LAPACK
   DEAL_II_FORTRAN_MANGLE(ssyevx, SSYEVX)
@@ -4939,26 +4939,26 @@ syevx(const char *                   jobz,
 
 
 inline void
-syevx(const char *                   jobz,
-      const char *                   range,
-      const char *                   uplo,
+syevx(const char                    *jobz,
+      const char                    *range,
+      const char                    *uplo,
       const dealii::types::blas_int *n,
-      double *                       a,
+      double                        *a,
       const dealii::types::blas_int *lda,
-      const double *                 vl,
-      const double *                 vu,
+      const double                  *vl,
+      const double                  *vu,
       const dealii::types::blas_int *il,
       const dealii::types::blas_int *iu,
-      const double *                 abstol,
-      dealii::types::blas_int *      m,
-      double *                       w,
-      double *                       z,
+      const double                  *abstol,
+      dealii::types::blas_int       *m,
+      double                        *w,
+      double                        *z,
       const dealii::types::blas_int *ldz,
-      double *                       work,
+      double                        *work,
       const dealii::types::blas_int *lwork,
-      dealii::types::blas_int *      iwork,
-      dealii::types::blas_int *      ifail,
-      dealii::types::blas_int *      info)
+      dealii::types::blas_int       *iwork,
+      dealii::types::blas_int       *ifail,
+      dealii::types::blas_int       *info)
 {
 #ifdef DEAL_II_WITH_LAPACK
   DEAL_II_FORTRAN_MANGLE(dsyevx, DSYEVX)
@@ -5034,17 +5034,17 @@ sygv(const dealii::types::blas_int *,
 
 inline void
 sygv(const dealii::types::blas_int *itype,
-     const char *                   jobz,
-     const char *                   uplo,
+     const char                    *jobz,
+     const char                    *uplo,
      const dealii::types::blas_int *n,
-     float *                        a,
+     float                         *a,
      const dealii::types::blas_int *lda,
-     float *                        b,
+     float                         *b,
      const dealii::types::blas_int *ldb,
-     float *                        w,
-     float *                        work,
+     float                         *w,
+     float                         *work,
      const dealii::types::blas_int *lwork,
-     dealii::types::blas_int *      info)
+     dealii::types::blas_int       *info)
 {
 #ifdef DEAL_II_WITH_LAPACK
   DEAL_II_FORTRAN_MANGLE(ssygv, SSYGV)
@@ -5070,17 +5070,17 @@ sygv(const dealii::types::blas_int *itype,
 
 inline void
 sygv(const dealii::types::blas_int *itype,
-     const char *                   jobz,
-     const char *                   uplo,
+     const char                    *jobz,
+     const char                    *uplo,
      const dealii::types::blas_int *n,
-     double *                       a,
+     double                        *a,
      const dealii::types::blas_int *lda,
-     double *                       b,
+     double                        *b,
      const dealii::types::blas_int *ldb,
-     double *                       w,
-     double *                       work,
+     double                        *w,
+     double                        *work,
      const dealii::types::blas_int *lwork,
-     dealii::types::blas_int *      info)
+     dealii::types::blas_int       *info)
 {
 #ifdef DEAL_II_WITH_LAPACK
   DEAL_II_FORTRAN_MANGLE(dsygv, DSYGV)
@@ -5144,28 +5144,28 @@ sygvx(const dealii::types::blas_int *,
 
 inline void
 sygvx(const dealii::types::blas_int *itype,
-      const char *                   jobz,
-      const char *                   range,
-      const char *                   uplo,
+      const char                    *jobz,
+      const char                    *range,
+      const char                    *uplo,
       const dealii::types::blas_int *n,
-      float *                        a,
+      float                         *a,
       const dealii::types::blas_int *lda,
-      float *                        b,
+      float                         *b,
       const dealii::types::blas_int *ldb,
-      const float *                  vl,
-      const float *                  vu,
+      const float                   *vl,
+      const float                   *vu,
       const dealii::types::blas_int *il,
       const dealii::types::blas_int *iu,
-      const float *                  abstol,
-      dealii::types::blas_int *      m,
-      float *                        w,
-      float *                        z,
+      const float                   *abstol,
+      dealii::types::blas_int       *m,
+      float                         *w,
+      float                         *z,
       const dealii::types::blas_int *ldz,
-      float *                        work,
+      float                         *work,
       const dealii::types::blas_int *lwork,
-      dealii::types::blas_int *      iwork,
-      dealii::types::blas_int *      ifail,
-      dealii::types::blas_int *      info)
+      dealii::types::blas_int       *iwork,
+      dealii::types::blas_int       *ifail,
+      dealii::types::blas_int       *info)
 {
 #ifdef DEAL_II_WITH_LAPACK
   DEAL_II_FORTRAN_MANGLE(ssygvx, SSYGVX)
@@ -5224,28 +5224,28 @@ sygvx(const dealii::types::blas_int *itype,
 
 inline void
 sygvx(const dealii::types::blas_int *itype,
-      const char *                   jobz,
-      const char *                   range,
-      const char *                   uplo,
+      const char                    *jobz,
+      const char                    *range,
+      const char                    *uplo,
       const dealii::types::blas_int *n,
-      double *                       a,
+      double                        *a,
       const dealii::types::blas_int *lda,
-      double *                       b,
+      double                        *b,
       const dealii::types::blas_int *ldb,
-      const double *                 vl,
-      const double *                 vu,
+      const double                  *vl,
+      const double                  *vu,
       const dealii::types::blas_int *il,
       const dealii::types::blas_int *iu,
-      const double *                 abstol,
-      dealii::types::blas_int *      m,
-      double *                       w,
-      double *                       z,
+      const double                  *abstol,
+      dealii::types::blas_int       *m,
+      double                        *w,
+      double                        *z,
       const dealii::types::blas_int *ldz,
-      double *                       work,
+      double                        *work,
       const dealii::types::blas_int *lwork,
-      dealii::types::blas_int *      iwork,
-      dealii::types::blas_int *      ifail,
-      dealii::types::blas_int *      info)
+      dealii::types::blas_int       *iwork,
+      dealii::types::blas_int       *ifail,
+      dealii::types::blas_int       *info)
 {
 #ifdef DEAL_II_WITH_LAPACK
   DEAL_II_FORTRAN_MANGLE(dsygvx, DSYGVX)
@@ -5318,12 +5318,12 @@ syr(const char *,
 
 
 inline void
-syr(const char *                   uplo,
+syr(const char                    *uplo,
     const dealii::types::blas_int *n,
-    const float *                  alpha,
-    const float *                  x,
+    const float                   *alpha,
+    const float                   *x,
     const dealii::types::blas_int *incx,
-    float *                        a,
+    float                         *a,
     const dealii::types::blas_int *lda)
 {
 #ifdef DEAL_II_WITH_LAPACK
@@ -5343,12 +5343,12 @@ syr(const char *                   uplo,
 
 
 inline void
-syr(const char *                   uplo,
+syr(const char                    *uplo,
     const dealii::types::blas_int *n,
-    const double *                 alpha,
-    const double *                 x,
+    const double                  *alpha,
+    const double                  *x,
     const dealii::types::blas_int *incx,
-    double *                       a,
+    double                        *a,
     const dealii::types::blas_int *lda)
 {
 #ifdef DEAL_II_WITH_LAPACK
@@ -5389,15 +5389,15 @@ syrk(const char *,
 
 
 inline void
-syrk(const char *                   uplo,
-     const char *                   trans,
+syrk(const char                    *uplo,
+     const char                    *trans,
      const dealii::types::blas_int *n,
      const dealii::types::blas_int *k,
-     const float *                  alpha,
-     const float *                  a,
+     const float                   *alpha,
+     const float                   *a,
      const dealii::types::blas_int *lda,
-     const float *                  beta,
-     float *                        c,
+     const float                   *beta,
+     float                         *c,
      const dealii::types::blas_int *ldc)
 {
 #ifdef DEAL_II_WITH_LAPACK
@@ -5421,15 +5421,15 @@ syrk(const char *                   uplo,
 
 
 inline void
-syrk(const char *                   uplo,
-     const char *                   trans,
+syrk(const char                    *uplo,
+     const char                    *trans,
      const dealii::types::blas_int *n,
      const dealii::types::blas_int *k,
-     const double *                 alpha,
-     const double *                 a,
+     const double                  *alpha,
+     const double                  *a,
      const dealii::types::blas_int *lda,
-     const double *                 beta,
-     double *                       c,
+     const double                  *beta,
+     double                        *c,
      const dealii::types::blas_int *ldc)
 {
 #ifdef DEAL_II_WITH_LAPACK
@@ -5453,15 +5453,15 @@ syrk(const char *                   uplo,
 
 
 inline void
-syrk(const char *                   uplo,
-     const char *                   trans,
+syrk(const char                    *uplo,
+     const char                    *trans,
      const dealii::types::blas_int *n,
      const dealii::types::blas_int *k,
-     const std::complex<float> *    alpha,
-     const std::complex<float> *    a,
+     const std::complex<float>     *alpha,
+     const std::complex<float>     *a,
      const dealii::types::blas_int *lda,
-     const std::complex<float> *    beta,
-     std::complex<float> *          c,
+     const std::complex<float>     *beta,
+     std::complex<float>           *c,
      const dealii::types::blas_int *ldc)
 {
 #ifdef DEAL_II_WITH_LAPACK
@@ -5485,15 +5485,15 @@ syrk(const char *                   uplo,
 
 
 inline void
-syrk(const char *                   uplo,
-     const char *                   trans,
+syrk(const char                    *uplo,
+     const char                    *trans,
      const dealii::types::blas_int *n,
      const dealii::types::blas_int *k,
-     const std::complex<double> *   alpha,
-     const std::complex<double> *   a,
+     const std::complex<double>    *alpha,
+     const std::complex<double>    *a,
      const dealii::types::blas_int *lda,
-     const std::complex<double> *   beta,
-     std::complex<double> *         c,
+     const std::complex<double>    *beta,
+     std::complex<double>          *c,
      const dealii::types::blas_int *ldc)
 {
 #ifdef DEAL_II_WITH_LAPACK
@@ -5535,16 +5535,16 @@ trcon(const char *,
 
 
 inline void
-trcon(const char *                   norm,
-      const char *                   uplo,
-      const char *                   diag,
+trcon(const char                    *norm,
+      const char                    *uplo,
+      const char                    *diag,
       const dealii::types::blas_int *n,
-      const float *                  a,
+      const float                   *a,
       const dealii::types::blas_int *lda,
-      float *                        rcond,
-      float *                        work,
-      dealii::types::blas_int *      iwork,
-      dealii::types::blas_int *      info)
+      float                         *rcond,
+      float                         *work,
+      dealii::types::blas_int       *iwork,
+      dealii::types::blas_int       *info)
 {
 #ifdef DEAL_II_WITH_LAPACK
   DEAL_II_FORTRAN_MANGLE(strcon, STRCON)
@@ -5567,16 +5567,16 @@ trcon(const char *                   norm,
 
 
 inline void
-trcon(const char *                   norm,
-      const char *                   uplo,
-      const char *                   diag,
+trcon(const char                    *norm,
+      const char                    *uplo,
+      const char                    *diag,
       const dealii::types::blas_int *n,
-      const double *                 a,
+      const double                  *a,
       const dealii::types::blas_int *lda,
-      double *                       rcond,
-      double *                       work,
-      dealii::types::blas_int *      iwork,
-      dealii::types::blas_int *      info)
+      double                        *rcond,
+      double                        *work,
+      dealii::types::blas_int       *iwork,
+      dealii::types::blas_int       *info)
 {
 #ifdef DEAL_II_WITH_LAPACK
   DEAL_II_FORTRAN_MANGLE(dtrcon, DTRCON)
@@ -5599,16 +5599,16 @@ trcon(const char *                   norm,
 
 
 inline void
-trcon(const char *                   norm,
-      const char *                   uplo,
-      const char *                   diag,
+trcon(const char                    *norm,
+      const char                    *uplo,
+      const char                    *diag,
       const dealii::types::blas_int *n,
-      const std::complex<float> *    a,
+      const std::complex<float>     *a,
       const dealii::types::blas_int *lda,
-      float *                        rcond,
-      std::complex<float> *          work,
-      float *                        rwork,
-      dealii::types::blas_int *      info)
+      float                         *rcond,
+      std::complex<float>           *work,
+      float                         *rwork,
+      dealii::types::blas_int       *info)
 {
 #ifdef DEAL_II_WITH_LAPACK
   DEAL_II_FORTRAN_MANGLE(ctrcon, CTRCON)
@@ -5631,16 +5631,16 @@ trcon(const char *                   norm,
 
 
 inline void
-trcon(const char *                   norm,
-      const char *                   uplo,
-      const char *                   diag,
+trcon(const char                    *norm,
+      const char                    *uplo,
+      const char                    *diag,
       const dealii::types::blas_int *n,
-      const std::complex<double> *   a,
+      const std::complex<double>    *a,
       const dealii::types::blas_int *lda,
-      double *                       rcond,
-      std::complex<double> *         work,
-      double *                       rwork,
-      dealii::types::blas_int *      info)
+      double                        *rcond,
+      std::complex<double>          *work,
+      double                        *rwork,
+      dealii::types::blas_int       *info)
 {
 #ifdef DEAL_II_WITH_LAPACK
   DEAL_II_FORTRAN_MANGLE(ztrcon, ZTRCON)
@@ -5679,13 +5679,13 @@ trmv(const char *,
 
 
 inline void
-trmv(const char *                   uplo,
-     const char *                   trans,
-     const char *                   diag,
+trmv(const char                    *uplo,
+     const char                    *trans,
+     const char                    *diag,
      const dealii::types::blas_int *n,
-     const float *                  a,
+     const float                   *a,
      const dealii::types::blas_int *lda,
-     float *                        x,
+     float                         *x,
      const dealii::types::blas_int *incx)
 {
 #ifdef DEAL_II_WITH_LAPACK
@@ -5706,13 +5706,13 @@ trmv(const char *                   uplo,
 
 
 inline void
-trmv(const char *                   uplo,
-     const char *                   trans,
-     const char *                   diag,
+trmv(const char                    *uplo,
+     const char                    *trans,
+     const char                    *diag,
      const dealii::types::blas_int *n,
-     const double *                 a,
+     const double                  *a,
      const dealii::types::blas_int *lda,
-     double *                       x,
+     double                        *x,
      const dealii::types::blas_int *incx)
 {
 #ifdef DEAL_II_WITH_LAPACK
@@ -5733,13 +5733,13 @@ trmv(const char *                   uplo,
 
 
 inline void
-trmv(const char *                   uplo,
-     const char *                   trans,
-     const char *                   diag,
+trmv(const char                    *uplo,
+     const char                    *trans,
+     const char                    *diag,
      const dealii::types::blas_int *n,
-     const std::complex<float> *    a,
+     const std::complex<float>     *a,
      const dealii::types::blas_int *lda,
-     std::complex<float> *          x,
+     std::complex<float>           *x,
      const dealii::types::blas_int *incx)
 {
 #ifdef DEAL_II_WITH_LAPACK
@@ -5760,13 +5760,13 @@ trmv(const char *                   uplo,
 
 
 inline void
-trmv(const char *                   uplo,
-     const char *                   trans,
-     const char *                   diag,
+trmv(const char                    *uplo,
+     const char                    *trans,
+     const char                    *diag,
      const dealii::types::blas_int *n,
-     const std::complex<double> *   a,
+     const std::complex<double>    *a,
      const dealii::types::blas_int *lda,
-     std::complex<double> *         x,
+     std::complex<double>          *x,
      const dealii::types::blas_int *incx)
 {
 #ifdef DEAL_II_WITH_LAPACK
@@ -5805,16 +5805,16 @@ trtrs(const char *,
 
 
 inline void
-trtrs(const char *                   uplo,
-      const char *                   trans,
-      const char *                   diag,
+trtrs(const char                    *uplo,
+      const char                    *trans,
+      const char                    *diag,
       const dealii::types::blas_int *n,
       const dealii::types::blas_int *nrhs,
-      const float *                  a,
+      const float                   *a,
       const dealii::types::blas_int *lda,
-      float *                        b,
+      float                         *b,
       const dealii::types::blas_int *ldb,
-      dealii::types::blas_int *      info)
+      dealii::types::blas_int       *info)
 {
 #ifdef DEAL_II_WITH_LAPACK
   DEAL_II_FORTRAN_MANGLE(strtrs, STRTRS)
@@ -5837,16 +5837,16 @@ trtrs(const char *                   uplo,
 
 
 inline void
-trtrs(const char *                   uplo,
-      const char *                   trans,
-      const char *                   diag,
+trtrs(const char                    *uplo,
+      const char                    *trans,
+      const char                    *diag,
       const dealii::types::blas_int *n,
       const dealii::types::blas_int *nrhs,
-      const double *                 a,
+      const double                  *a,
       const dealii::types::blas_int *lda,
-      double *                       b,
+      double                        *b,
       const dealii::types::blas_int *ldb,
-      dealii::types::blas_int *      info)
+      dealii::types::blas_int       *info)
 {
 #ifdef DEAL_II_WITH_LAPACK
   DEAL_II_FORTRAN_MANGLE(dtrtrs, DTRTRS)
@@ -5869,16 +5869,16 @@ trtrs(const char *                   uplo,
 
 
 inline void
-trtrs(const char *                   uplo,
-      const char *                   trans,
-      const char *                   diag,
+trtrs(const char                    *uplo,
+      const char                    *trans,
+      const char                    *diag,
       const dealii::types::blas_int *n,
       const dealii::types::blas_int *nrhs,
-      const std::complex<float> *    a,
+      const std::complex<float>     *a,
       const dealii::types::blas_int *lda,
-      std::complex<float> *          b,
+      std::complex<float>           *b,
       const dealii::types::blas_int *ldb,
-      dealii::types::blas_int *      info)
+      dealii::types::blas_int       *info)
 {
 #ifdef DEAL_II_WITH_LAPACK
   DEAL_II_FORTRAN_MANGLE(ctrtrs, CTRTRS)
@@ -5901,16 +5901,16 @@ trtrs(const char *                   uplo,
 
 
 inline void
-trtrs(const char *                   uplo,
-      const char *                   trans,
-      const char *                   diag,
+trtrs(const char                    *uplo,
+      const char                    *trans,
+      const char                    *diag,
       const dealii::types::blas_int *n,
       const dealii::types::blas_int *nrhs,
-      const std::complex<double> *   a,
+      const std::complex<double>    *a,
       const dealii::types::blas_int *lda,
-      std::complex<double> *         b,
+      std::complex<double>          *b,
       const dealii::types::blas_int *ldb,
-      dealii::types::blas_int *      info)
+      dealii::types::blas_int       *info)
 {
 #ifdef DEAL_II_WITH_LAPACK
   DEAL_II_FORTRAN_MANGLE(ztrtrs, ZTRTRS)
index dad59d7d269632a8544e498f532a22d6a73c173b..ac9171334c02eda5877d02a9e37edf2564964e96 100644 (file)
@@ -582,7 +582,7 @@ template <typename Range,
           typename Domain,
           typename Payload>
 LinearOperator<Range, Domain, Payload>
-operator*(const LinearOperator<Range, Intermediate, Payload> first_op,
+operator*(const LinearOperator<Range, Intermediate, Payload>  &first_op,
           const LinearOperator<Intermediate, Domain, Payload> &second_op)
 {
   if (first_op.is_null_operator || second_op.is_null_operator)
@@ -697,8 +697,8 @@ template <typename Payload,
           typename Domain = Range>
 LinearOperator<Domain, Range, Payload>
 inverse_operator(const LinearOperator<Range, Domain, Payload> &op,
-                 Solver &                                      solver,
-                 const Preconditioner &                        preconditioner)
+                 Solver                                       &solver,
+                 const Preconditioner                         &preconditioner)
 {
   LinearOperator<Domain, Range, Payload> return_op{
     op.inverse_payload(solver, preconditioner)};
@@ -711,7 +711,7 @@ inverse_operator(const LinearOperator<Range, Domain, Payload> &op,
     solver.solve(op, v, u, preconditioner);
   };
 
-  return_op.vmult_add = [op, &solver, &preconditioner](Range &       v,
+  return_op.vmult_add = [op, &solver, &preconditioner](Range        &v,
                                                        const Domain &u) {
     GrowingVectorMemory<Range> vector_memory;
 
@@ -726,7 +726,7 @@ inverse_operator(const LinearOperator<Range, Domain, Payload> &op,
     solver.solve(transpose_operator(op), v, u, preconditioner);
   };
 
-  return_op.Tvmult_add = [op, &solver, &preconditioner](Range &       v,
+  return_op.Tvmult_add = [op, &solver, &preconditioner](Range        &v,
                                                         const Domain &u) {
     GrowingVectorMemory<Range> vector_memory;
 
@@ -754,7 +754,7 @@ template <typename Payload,
           typename Domain = Range>
 LinearOperator<Domain, Range, Payload>
 inverse_operator(const LinearOperator<Range, Domain, Payload> &op,
-                 Solver &                                      solver,
+                 Solver                                       &solver,
                  const LinearOperator<Range, Domain, Payload> &preconditioner)
 {
   LinearOperator<Domain, Range, Payload> return_op{
@@ -768,7 +768,7 @@ inverse_operator(const LinearOperator<Range, Domain, Payload> &op,
     solver.solve(op, v, u, preconditioner);
   };
 
-  return_op.vmult_add = [op, &solver, preconditioner](Range &       v,
+  return_op.vmult_add = [op, &solver, preconditioner](Range        &v,
                                                       const Domain &u) {
     GrowingVectorMemory<Range> vector_memory;
 
@@ -783,7 +783,7 @@ inverse_operator(const LinearOperator<Range, Domain, Payload> &op,
     solver.solve(transpose_operator(op), v, u, preconditioner);
   };
 
-  return_op.Tvmult_add = [op, &solver, preconditioner](Range &       v,
+  return_op.Tvmult_add = [op, &solver, preconditioner](Range        &v,
                                                        const Domain &u) {
     GrowingVectorMemory<Range> vector_memory;
 
@@ -812,7 +812,7 @@ template <typename Payload,
           typename Domain = Range>
 LinearOperator<Domain, Range, Payload>
 inverse_operator(const LinearOperator<Range, Domain, Payload> &op,
-                 Solver &                                      solver)
+                 Solver                                       &solver)
 {
   return inverse_operator(op, solver, identity_operator(op));
 }
@@ -832,7 +832,7 @@ template <typename Payload,
           typename Domain = Range>
 LinearOperator<Domain, Range, Payload>
 inverse_operator(const LinearOperator<Range, Domain, Payload> &op,
-                 Solver &                                      solver,
+                 Solver                                       &solver,
                  const PreconditionIdentity &)
 {
   return inverse_operator(op, solver);
@@ -1035,7 +1035,7 @@ namespace internal
       template <typename Matrix>
       static void
       reinit_range_vector(const Matrix &matrix,
-                          Vector &      v,
+                          Vector       &v,
                           bool          omit_zeroing_entries)
       {
         v.reinit(matrix.m(), omit_zeroing_entries);
@@ -1055,7 +1055,7 @@ namespace internal
       template <typename Matrix>
       static void
       reinit_domain_vector(const Matrix &matrix,
-                           Vector &      v,
+                           Vector       &v,
                            bool          omit_zeroing_entries)
       {
         v.reinit(matrix.n(), omit_zeroing_entries);
@@ -1181,7 +1181,7 @@ namespace internal
     template <typename Function, typename Range, typename Domain>
     void
     apply_with_intermediate_storage(Function      function,
-                                    Range &       v,
+                                    Range        &v,
                                     const Domain &u,
                                     bool          add)
     {
@@ -1208,7 +1208,7 @@ namespace internal
       template <typename Matrix>
       void
       operator()(LinearOperator<Range, Domain, Payload> &op,
-                 const Matrix &                          matrix)
+                 const Matrix                           &matrix)
       {
         op.vmult = [&matrix](Range &v, const Domain &u) {
           if (PointerComparison::equal(&v, &u))
@@ -1273,7 +1273,7 @@ namespace internal
       template <typename Matrix>
       void
       operator()(LinearOperator<Range, Domain, Payload> &op,
-                 const Matrix &                          matrix)
+                 const Matrix                           &matrix)
       {
         // As above ...
 
@@ -1458,7 +1458,7 @@ linear_operator(const OperatorExemplar &operator_exemplar, const Matrix &matrix)
 template <typename Range, typename Domain, typename Payload, typename Matrix>
 LinearOperator<Range, Domain, Payload>
 linear_operator(const LinearOperator<Range, Domain, Payload> &operator_exemplar,
-                const Matrix &                                matrix)
+                const Matrix                                 &matrix)
 {
   using namespace internal::LinearOperatorImplementation;
   // Initialize the payload based on the LinearOperator exemplar
index 84a2dc113aa14854d95f1416eb9f9ed38a938603..cd1e500f9cc072f7ade31a13874bbdbaff87b5c0 100644 (file)
@@ -49,7 +49,7 @@ namespace internal
   template <typename number>
   void
   reinit(MatrixBlock<dealii::SparseMatrix<number>> &v,
-         const BlockSparsityPattern &               p);
+         const BlockSparsityPattern                &p);
 } // namespace internal
 
 /**
@@ -183,7 +183,7 @@ public:
   template <typename number>
   void
   add(const std::vector<size_type> &indices,
-      const FullMatrix<number> &    full_matrix,
+      const FullMatrix<number>     &full_matrix,
       const bool                    elide_zero_values = true);
 
   /**
@@ -204,7 +204,7 @@ public:
   void
   add(const std::vector<size_type> &row_indices,
       const std::vector<size_type> &col_indices,
-      const FullMatrix<number> &    full_matrix,
+      const FullMatrix<number>     &full_matrix,
       const bool                    elide_zero_values = true);
 
   /**
@@ -227,7 +227,7 @@ public:
   void
   add(const size_type               row_index,
       const std::vector<size_type> &col_indices,
-      const std::vector<number> &   values,
+      const std::vector<number>    &values,
       const bool                    elide_zero_values = true);
 
   /**
@@ -244,7 +244,7 @@ public:
   add(const size_type  row,
       const size_type  n_cols,
       const size_type *col_indices,
-      const number *   values,
+      const number    *values,
       const bool       elide_zero_values      = true,
       const bool       col_indices_are_sorted = false);
 
@@ -336,7 +336,7 @@ private:
   template <typename number>
   friend void
   internal::reinit(MatrixBlock<dealii::SparseMatrix<number>> &v,
-                   const BlockSparsityPattern &               p);
+                   const BlockSparsityPattern                &p);
 };
 
 
@@ -625,7 +625,7 @@ namespace internal
   template <typename number>
   void
   reinit(MatrixBlock<dealii::SparseMatrix<number>> &v,
-         const BlockSparsityPattern &               p)
+         const BlockSparsityPattern                &p)
   {
     v.row_indices    = p.get_row_indices();
     v.column_indices = p.get_column_indices();
@@ -695,7 +695,7 @@ template <typename number>
 inline void
 MatrixBlock<MatrixType>::add(const std::vector<size_type> &r_indices,
                              const std::vector<size_type> &c_indices,
-                             const FullMatrix<number> &    values,
+                             const FullMatrix<number>     &values,
                              const bool                    elide_zero_values)
 {
   Assert(row_indices.size() != 0, ExcNotInitialized());
@@ -719,7 +719,7 @@ inline void
 MatrixBlock<MatrixType>::add(const size_type  b_row,
                              const size_type  n_cols,
                              const size_type *col_indices,
-                             const number *   values,
+                             const number    *values,
                              const bool,
                              const bool)
 {
@@ -737,7 +737,7 @@ MatrixBlock<MatrixType>::add(const size_type  b_row,
   // leave it at this. While it may
   // not be the most efficient way,
   // it is at least thread safe.
-  //#ifdef DEBUG
+  // #ifdef DEBUG
   Assert(bi.first == row, ExcBlockIndexMismatch(bi.first, row));
 
   for (size_type j = 0; j < n_cols; ++j)
@@ -748,7 +748,7 @@ MatrixBlock<MatrixType>::add(const size_type  b_row,
 
       matrix.add(bi.second, bj.second, values[j]);
     }
-  //#endif
+  // #endif
 }
 
 
@@ -756,7 +756,7 @@ template <typename MatrixType>
 template <typename number>
 inline void
 MatrixBlock<MatrixType>::add(const std::vector<size_type> &indices,
-                             const FullMatrix<number> &    values,
+                             const FullMatrix<number>     &values,
                              const bool                    elide_zero_values)
 {
   Assert(row_indices.size() != 0, ExcNotInitialized());
@@ -780,7 +780,7 @@ template <typename number>
 inline void
 MatrixBlock<MatrixType>::add(const size_type               row,
                              const std::vector<size_type> &col_indices,
-                             const std::vector<number> &   values,
+                             const std::vector<number>    &values,
                              const bool                    elide_zero_values)
 {
   Assert(row_indices.size() != 0, ExcNotInitialized());
index 01dcf8c22e915d7b338065bb2333c0c28446f16b..c1a437a8c86bdccb1f95c9cb3d1722be2df66eef 100644 (file)
@@ -47,7 +47,7 @@ public:
    * Constructor. Create an iterator into the matrix <tt>matrix</tt> for the
    * given <tt>row</tt> and the <tt>index</tt> within it.
    */
-  MatrixIterator(MatrixType *    matrix,
+  MatrixIterator(MatrixType     *matrix,
                  const size_type row   = 0,
                  const size_type index = 0);
 
@@ -129,7 +129,7 @@ private:
 //----------------------------------------------------------------------//
 
 template <class ACCESSOR>
-inline MatrixIterator<ACCESSOR>::MatrixIterator(MatrixType *    matrix,
+inline MatrixIterator<ACCESSOR>::MatrixIterator(MatrixType     *matrix,
                                                 const size_type r,
                                                 const size_type i)
   : accessor(matrix, r, i)
index 96866fb679c585b2a996d6ffc486e279b945015b..f3a1c2918d837261d4f34ed5fb56c57eda426676 100644 (file)
@@ -137,7 +137,7 @@ public:
    */
   template <class Matrix>
   void
-  build_patches(const Matrix &     matrix,
+  build_patches(const Matrix      &matrix,
                 const std::string &name,
                 const Options      options = Options(false, 1, false));
 
@@ -183,10 +183,10 @@ private:
    */
   template <class Matrix>
   static double
-  get_gridpoint_value(const Matrix &  matrix,
+  get_gridpoint_value(const Matrix   &matrix,
                       const size_type i,
                       const size_type j,
-                      const Options options);
+                      const Options  &options);
 };
 
 
@@ -266,7 +266,7 @@ namespace internal
      */
     template <class Matrix>
     double
-    get_element(const Matrix &                matrix,
+    get_element(const Matrix                 &matrix,
                 const types::global_dof_index i,
                 const types::global_dof_index j)
     {
@@ -279,10 +279,10 @@ namespace internal
 
 template <class Matrix>
 inline double
-MatrixOut::get_gridpoint_value(const Matrix &  matrix,
+MatrixOut::get_gridpoint_value(const Matrix   &matrix,
                                const size_type i,
                                const size_type j,
-                               const Options options)
+                               const Options  &options)
 {
   // special case if block size is
   // one since we then don't need all
@@ -322,7 +322,7 @@ MatrixOut::get_gridpoint_value(const Matrix &  matrix,
 
 template <class Matrix>
 void
-MatrixOut::build_patches(const Matrix &     matrix,
+MatrixOut::build_patches(const Matrix      &matrix,
                          const std::string &name,
                          const Options      options)
 {
index 20d23207ae0ec2ed6408b9cff943ed2d68e7a893..810870752d02d936867154a2f6941f69b9eaeae0 100644 (file)
@@ -729,7 +729,7 @@ operator*(const Range &u, const LinearOperator<Range, Domain, Payload> &op)
 template <typename Range, typename Domain, typename Payload>
 PackagedOperation<Range>
 operator*(const LinearOperator<Range, Domain, Payload> &op,
-          const PackagedOperation<Domain> &             comp)
+          const PackagedOperation<Domain>              &comp)
 {
   PackagedOperation<Range> return_comp;
 
@@ -772,7 +772,7 @@ operator*(const LinearOperator<Range, Domain, Payload> &op,
  */
 template <typename Range, typename Domain, typename Payload>
 PackagedOperation<Domain>
-operator*(const PackagedOperation<Range> &              comp,
+operator*(const PackagedOperation<Range>               &comp,
           const LinearOperator<Range, Domain, Payload> &op)
 {
   PackagedOperation<Range> return_comp;
index b9e264990214b1c408d657d365ab506c548079b0..6c4a6b3b5ff328138f264a88fa75cce644fc4089 100644 (file)
@@ -37,97 +37,97 @@ extern "C"
   // http://www.mathkeisan.com/usersguide/man/pdnaupd.html
   void
   pdnaupd_(MPI_Fint *comm,
-           int *     ido,
-           char *    bmat,
-           int *     n,
-           char *    which,
-           int *     nev,
-           double *  tol,
-           double *  resid,
-           int *     ncv,
-           double *  v,
-           int *     nloc,
-           int *     iparam,
-           int *     ipntr,
-           double *  workd,
-           double *  workl,
-           int *     lworkl,
-           int *     info);
+           int      *ido,
+           char     *bmat,
+           int      *n,
+           char     *which,
+           int      *nev,
+           double   *tol,
+           double   *resid,
+           int      *ncv,
+           double   *v,
+           int      *nloc,
+           int      *iparam,
+           int      *ipntr,
+           double   *workd,
+           double   *workl,
+           int      *lworkl,
+           int      *info);
 
   // http://www.mathkeisan.com/usersguide/man/pdsaupd.html
   void
   pdsaupd_(MPI_Fint *comm,
-           int *     ido,
-           char *    bmat,
-           int *     n,
-           char *    which,
-           int *     nev,
-           double *  tol,
-           double *  resid,
-           int *     ncv,
-           double *  v,
-           int *     nloc,
-           int *     iparam,
-           int *     ipntr,
-           double *  workd,
-           double *  workl,
-           int *     lworkl,
-           int *     info);
+           int      *ido,
+           char     *bmat,
+           int      *n,
+           char     *which,
+           int      *nev,
+           double   *tol,
+           double   *resid,
+           int      *ncv,
+           double   *v,
+           int      *nloc,
+           int      *iparam,
+           int      *ipntr,
+           double   *workd,
+           double   *workl,
+           int      *lworkl,
+           int      *info);
 
   // http://www.mathkeisan.com/usersguide/man/pdneupd.html
   void
   pdneupd_(MPI_Fint *comm,
-           int *     rvec,
-           char *    howmany,
-           int *     select,
-           double *  d,
-           double *  di,
-           double *  z,
-           int *     ldz,
-           double *  sigmar,
-           double *  sigmai,
-           double *  workev,
-           char *    bmat,
-           int *     n,
-           char *    which,
-           int *     nev,
-           double *  tol,
-           double *  resid,
-           int *     ncv,
-           double *  v,
-           int *     nloc,
-           int *     iparam,
-           int *     ipntr,
-           double *  workd,
-           double *  workl,
-           int *     lworkl,
-           int *     info);
+           int      *rvec,
+           char     *howmany,
+           int      *select,
+           double   *d,
+           double   *di,
+           double   *z,
+           int      *ldz,
+           double   *sigmar,
+           double   *sigmai,
+           double   *workev,
+           char     *bmat,
+           int      *n,
+           char     *which,
+           int      *nev,
+           double   *tol,
+           double   *resid,
+           int      *ncv,
+           double   *v,
+           int      *nloc,
+           int      *iparam,
+           int      *ipntr,
+           double   *workd,
+           double   *workl,
+           int      *lworkl,
+           int      *info);
 
   // http://www.mathkeisan.com/usersguide/man/pdseupd.html
   void
   pdseupd_(MPI_Fint *comm,
-           int *     rvec,
-           char *    howmany,
-           int *     select,
-           double *  d,
-           double *  z,
-           int *     ldz,
-           double *  sigmar,
-           char *    bmat,
-           int *     n,
-           char *    which,
-           int *     nev,
-           double *  tol,
-           double *  resid,
-           int *     ncv,
-           double *  v,
-           int *     nloc,
-           int *     iparam,
-           int *     ipntr,
-           double *  workd,
-           double *  workl,
-           int *     lworkl,
-           int *     info);
+           int      *rvec,
+           char     *howmany,
+           int      *select,
+           double   *d,
+           double   *z,
+           int      *ldz,
+           double   *sigmar,
+           char     *bmat,
+           int      *n,
+           char     *which,
+           int      *nev,
+           double   *tol,
+           double   *resid,
+           int      *ncv,
+           double   *v,
+           int      *nloc,
+           int      *iparam,
+           int      *ipntr,
+           double   *workd,
+           double   *workl,
+           int      *lworkl,
+           int      *info);
 
   // other resources:
   //    http://acts.nersc.gov/superlu/example5/pnslac.c.html
@@ -294,7 +294,7 @@ public:
   /**
    * Constructor.
    */
-  PArpackSolver(SolverControl &       control,
+  PArpackSolver(SolverControl        &control,
                 const MPI_Comm        mpi_communicator,
                 const AdditionalData &data = AdditionalData());
 
@@ -311,7 +311,7 @@ public:
    * blockvectors used.
    */
   void
-  reinit(const IndexSet &             locally_owned_dofs,
+  reinit(const IndexSet              &locally_owned_dofs,
          const std::vector<IndexSet> &partitioning);
 
   /**
@@ -348,11 +348,11 @@ public:
    */
   template <typename MatrixType1, typename MatrixType2, typename INVERSE>
   void
-  solve(const MatrixType1 &                A,
-        const MatrixType2 &                B,
-        const INVERSE &                    inverse,
+  solve(const MatrixType1                 &A,
+        const MatrixType2                 &B,
+        const INVERSE                     &inverse,
         std::vector<std::complex<double>> &eigenvalues,
-        std::vector<VectorType> &          eigenvectors,
+        std::vector<VectorType>           &eigenvectors,
         const unsigned int                 n_eigenvalues);
 
   /**
@@ -360,11 +360,11 @@ public:
    */
   template <typename MatrixType1, typename MatrixType2, typename INVERSE>
   void
-  solve(const MatrixType1 &                A,
-        const MatrixType2 &                B,
-        const INVERSE &                    inverse,
+  solve(const MatrixType1                 &A,
+        const MatrixType2                 &B,
+        const INVERSE                     &inverse,
         std::vector<std::complex<double>> &eigenvalues,
-        std::vector<VectorType *> &        eigenvectors,
+        std::vector<VectorType *>         &eigenvectors,
         const unsigned int                 n_eigenvalues);
 
   /**
@@ -637,7 +637,7 @@ PArpackSolver<VectorType>::AdditionalData::AdditionalData(
 
 
 template <typename VectorType>
-PArpackSolver<VectorType>::PArpackSolver(SolverControl &       control,
+PArpackSolver<VectorType>::PArpackSolver(SolverControl        &control,
                                          const MPI_Comm        mpi_communicator,
                                          const AdditionalData &data)
   : solver_control(control)
@@ -767,9 +767,9 @@ PArpackSolver<VectorType>::reinit(const IndexSet &locally_owned_dofs,
 template <typename VectorType>
 template <typename MatrixType1, typename MatrixType2, typename INVERSE>
 void
-PArpackSolver<VectorType>::solve(const MatrixType1 &                A,
-                                 const MatrixType2 &                B,
-                                 const INVERSE &                    inverse,
+PArpackSolver<VectorType>::solve(const MatrixType1                 &A,
+                                 const MatrixType2                 &B,
+                                 const INVERSE                     &inverse,
                                  std::vector<std::complex<double>> &eigenvalues,
                                  std::vector<VectorType> &eigenvectors,
                                  const unsigned int       n_eigenvalues)
@@ -787,7 +787,7 @@ template <typename MatrixType1, typename MatrixType2, typename INVERSE>
 void
 PArpackSolver<VectorType>::solve(const MatrixType1 &system_matrix,
                                  const MatrixType2 &mass_matrix,
-                                 const INVERSE &    inverse,
+                                 const INVERSE     &inverse,
                                  std::vector<std::complex<double>> &eigenvalues,
                                  std::vector<VectorType *> &eigenvectors,
                                  const unsigned int         n_eigenvalues)
index f40f4f3922aed457055cf7f9ef0e3cb2fe55bd36..778b3a14b5672e3aacf255c34f36b4b60a181c04 100644 (file)
@@ -169,8 +169,8 @@ namespace PETScWrappers
        * arguments.
        */
       void
-      reinit(const std::vector<IndexSet> &      rows,
-             const std::vector<IndexSet> &      cols,
+      reinit(const std::vector<IndexSet>       &rows,
+             const std::vector<IndexSet>       &cols,
              const BlockDynamicSparsityPattern &bdsp,
              const MPI_Comm                     com);
 
@@ -179,7 +179,7 @@ namespace PETScWrappers
        * Same as above but for a symmetric structure only.
        */
       void
-      reinit(const std::vector<IndexSet> &      sizes,
+      reinit(const std::vector<IndexSet>       &sizes,
              const BlockDynamicSparsityPattern &bdsp,
              const MPI_Comm                     com);
 
index 642e0e71d44a979b7744c45de9f3c86f23bb97a2..905c913ceb28f59747643a2a93c0980401dc06c0 100644 (file)
@@ -255,7 +255,7 @@ namespace PETScWrappers
       void
       reinit(
         const std::vector<std::shared_ptr<const Utilities::MPI::Partitioner>>
-          &        partitioners,
+                  &partitioners,
         const bool make_ghosted = true);
 
       /**
@@ -341,7 +341,7 @@ namespace PETScWrappers
        * Print to a stream.
        */
       void
-      print(std::ostream &     out,
+      print(std::ostream      &out,
             const unsigned int precision  = 3,
             const bool         scientific = true,
             const bool         across     = true) const;
@@ -585,7 +585,7 @@ namespace PETScWrappers
     inline void
     BlockVector::reinit(
       const std::vector<std::shared_ptr<const Utilities::MPI::Partitioner>>
-        &        partitioners,
+                &partitioners,
       const bool make_ghosted)
     {
       // update the number of blocks
@@ -635,7 +635,7 @@ namespace PETScWrappers
 
 
     inline void
-    BlockVector::print(std::ostream &     out,
+    BlockVector::print(std::ostream      &out,
                        const unsigned int precision,
                        const bool         scientific,
                        const bool         across) const
@@ -685,7 +685,7 @@ namespace internal
     public:
       template <typename Matrix>
       static void
-      reinit_range_vector(const Matrix &                   matrix,
+      reinit_range_vector(const Matrix                    &matrix,
                           PETScWrappers::MPI::BlockVector &v,
                           bool /*omit_zeroing_entries*/)
       {
@@ -695,7 +695,7 @@ namespace internal
 
       template <typename Matrix>
       static void
-      reinit_domain_vector(const Matrix &                   matrix,
+      reinit_domain_vector(const Matrix                    &matrix,
                            PETScWrappers::MPI::BlockVector &v,
                            bool /*omit_zeroing_entries*/)
       {
index 415b2752b105ae0d544793b7e3cbd5a59252a337..02e62e204f0c6b67f820dd882776bf590515508d 100644 (file)
@@ -97,7 +97,7 @@ namespace PETScWrappers
      */
     void
     reinit(const types::global_dof_index local_size,
-           const IndexSet &              ghost_indices,
+           const IndexSet               &ghost_indices,
            const MPI_Comm                communicator);
 
     /**
@@ -107,7 +107,7 @@ namespace PETScWrappers
     template <typename Number>
     void
     export_to_ghosted_array(const ArrayView<const Number> &locally_owned_array,
-                            const ArrayView<Number> &      ghost_array) const;
+                            const ArrayView<Number>       &ghost_array) const;
 
     /**
      * Start the communication round to fill the vector @p ghost_array according
@@ -118,7 +118,7 @@ namespace PETScWrappers
     void
     export_to_ghosted_array_start(
       const ArrayView<const Number> &locally_owned_array,
-      const ArrayView<Number> &      ghost_array) const;
+      const ArrayView<Number>       &ghost_array) const;
 
     /**
      * Finish the communication round to fill the vector @p ghost_array according
@@ -129,7 +129,7 @@ namespace PETScWrappers
     void
     export_to_ghosted_array_finish(
       const ArrayView<const Number> &locally_owned_array,
-      const ArrayView<Number> &      ghost_array) const;
+      const ArrayView<Number>       &ghost_array) const;
 
     /**
      * Modify the vector @p locally_owned_array according to the precomputed communication
@@ -140,7 +140,7 @@ namespace PETScWrappers
     import_from_ghosted_array(
       const VectorOperation::values  op,
       const ArrayView<const Number> &ghost_array,
-      const ArrayView<Number> &      locally_owned_array) const;
+      const ArrayView<Number>       &locally_owned_array) const;
 
     /**
      * Start the communication round to modify the vector @p locally_owned_array according
@@ -153,7 +153,7 @@ namespace PETScWrappers
     import_from_ghosted_array_start(
       const VectorOperation::values  op,
       const ArrayView<const Number> &ghost_array,
-      const ArrayView<Number> &      locally_owned_array) const;
+      const ArrayView<Number>       &locally_owned_array) const;
 
     /**
      * Finish the communication round to modify the vector @p locally_owned_array according
@@ -166,7 +166,7 @@ namespace PETScWrappers
     import_from_ghosted_array_finish(
       const VectorOperation::values  op,
       const ArrayView<const Number> &ghost_array,
-      const ArrayView<Number> &      locally_owned_array) const;
+      const ArrayView<Number>       &locally_owned_array) const;
 
     /**
      * Return the underlying MPI communicator.
@@ -278,7 +278,7 @@ namespace PETScWrappers
     template <typename Number>
     void
     export_to_ghosted_array(const ArrayView<const Number> &locally_owned_array,
-                            const ArrayView<Number> &      ghost_array) const;
+                            const ArrayView<Number>       &ghost_array) const;
 
     /**
      * Start the communication round to fill the vector @p ghost_array according
@@ -292,7 +292,7 @@ namespace PETScWrappers
     void
     export_to_ghosted_array_start(
       const ArrayView<const Number> &locally_owned_array,
-      const ArrayView<Number> &      ghost_array) const;
+      const ArrayView<Number>       &ghost_array) const;
 
     /**
      * Finish the communication round to fill the vector @p ghost_array according
@@ -306,7 +306,7 @@ namespace PETScWrappers
     void
     export_to_ghosted_array_finish(
       const ArrayView<const Number> &locally_owned_array,
-      const ArrayView<Number> &      ghost_array) const;
+      const ArrayView<Number>       &ghost_array) const;
 
     /**
      * Modify the vector @p locally_owned_array according to the precomputed communication
@@ -317,7 +317,7 @@ namespace PETScWrappers
     import_from_ghosted_array(
       const VectorOperation::values  op,
       const ArrayView<const Number> &ghost_array,
-      const ArrayView<Number> &      locally_owned_array) const;
+      const ArrayView<Number>       &locally_owned_array) const;
 
     /**
      * Start the communication round to modify the vector @p locally_owned_array according
@@ -333,7 +333,7 @@ namespace PETScWrappers
     import_from_ghosted_array_start(
       const VectorOperation::values  op,
       const ArrayView<const Number> &ghost_array,
-      const ArrayView<Number> &      locally_owned_array) const;
+      const ArrayView<Number>       &locally_owned_array) const;
 
     /**
      * Finish the communication round to modify the vector @p locally_owned_array according
@@ -349,7 +349,7 @@ namespace PETScWrappers
     import_from_ghosted_array_finish(
       const VectorOperation::values  op,
       const ArrayView<const Number> &ghost_array,
-      const ArrayView<Number> &      locally_owned_array) const;
+      const ArrayView<Number>       &locally_owned_array) const;
 
     /**
      * Return the underlying MPI communicator.
index 9ed6b20533cd6f53a8e9c3121f8d684ff2a5edc5..668bf31875e17339ca22ad7bce8f32d09c2ad2bf 100644 (file)
@@ -69,7 +69,7 @@ namespace PETScWrappers
    * before 3.0.0 since the corresponding function did not take this argument.
    */
   inline void
-  set_matrix_option(Mat &           matrix,
+  set_matrix_option(Mat            &matrix,
                     const MatOption option_name,
                     const PetscBool option_value = PETSC_FALSE)
   {
index da3c17591b36313b515905b008bbe6e7a36b6c7e..f715bfdac63a11630cf5f1251bcf239c491f6f4c 100644 (file)
@@ -404,7 +404,7 @@ namespace PETScWrappers
      * values are inserted/replaced.
      */
     void
-    set(const std::vector<size_type> indices,
+    set(const std::vector<size_type>  &indices,
         const FullMatrix<PetscScalar> &full_matrix,
         const bool                     elide_zero_values = false);
 
@@ -414,8 +414,8 @@ namespace PETScWrappers
      * rows and columns, respectively.
      */
     void
-    set(const std::vector<size_type> row_indices,
-        const std::vector<size_type> col_indices,
+    set(const std::vector<size_type>  &row_indices,
+        const std::vector<size_type>  &col_indices,
         const FullMatrix<PetscScalar> &full_matrix,
         const bool                     elide_zero_values = false);
 
@@ -435,7 +435,7 @@ namespace PETScWrappers
      */
     void
     set(const size_type                 row,
-        const std::vector<size_type> &  col_indices,
+        const std::vector<size_type>   &col_indices,
         const std::vector<PetscScalar> &values,
         const bool                      elide_zero_values = false);
 
@@ -456,7 +456,7 @@ namespace PETScWrappers
     void
     set(const size_type    row,
         const size_type    n_cols,
-        const size_type *  col_indices,
+        const size_type   *col_indices,
         const PetscScalar *values,
         const bool         elide_zero_values = false);
 
@@ -492,7 +492,7 @@ namespace PETScWrappers
      * <tt>true</tt>, i.e., zero values won't be added into the matrix.
      */
     void
-    add(const std::vector<size_type> indices,
+    add(const std::vector<size_type>  &indices,
         const FullMatrix<PetscScalar> &full_matrix,
         const bool                     elide_zero_values = true);
 
@@ -502,8 +502,8 @@ namespace PETScWrappers
      * rows and columns, respectively.
      */
     void
-    add(const std::vector<size_type> row_indices,
-        const std::vector<size_type> col_indices,
+    add(const std::vector<size_type>  &row_indices,
+        const std::vector<size_type>  &col_indices,
         const FullMatrix<PetscScalar> &full_matrix,
         const bool                     elide_zero_values = true);
 
@@ -523,7 +523,7 @@ namespace PETScWrappers
      */
     void
     add(const size_type                 row,
-        const std::vector<size_type> &  col_indices,
+        const std::vector<size_type>   &col_indices,
         const std::vector<PetscScalar> &values,
         const bool                      elide_zero_values = true);
 
@@ -544,7 +544,7 @@ namespace PETScWrappers
     void
     add(const size_type    row,
         const size_type    n_cols,
-        const size_type *  col_indices,
+        const size_type   *col_indices,
         const PetscScalar *values,
         const bool         elide_zero_values      = true,
         const bool         col_indices_are_sorted = false);
@@ -1275,7 +1275,7 @@ namespace PETScWrappers
 
 
   inline void
-  MatrixBase::set(const std::vector<size_type> indices,
+  MatrixBase::set(const std::vector<size_type>  &indices,
                   const FullMatrix<PetscScalar> &values,
                   const bool                     elide_zero_values)
   {
@@ -1294,8 +1294,8 @@ namespace PETScWrappers
 
 
   inline void
-  MatrixBase::set(const std::vector<size_type> row_indices,
-                  const std::vector<size_type> col_indices,
+  MatrixBase::set(const std::vector<size_type>  &row_indices,
+                  const std::vector<size_type>  &col_indices,
                   const FullMatrix<PetscScalar> &values,
                   const bool                     elide_zero_values)
   {
@@ -1316,7 +1316,7 @@ namespace PETScWrappers
 
   inline void
   MatrixBase::set(const size_type                 row,
-                  const std::vector<size_type> &  col_indices,
+                  const std::vector<size_type>   &col_indices,
                   const std::vector<PetscScalar> &values,
                   const bool                      elide_zero_values)
   {
@@ -1335,7 +1335,7 @@ namespace PETScWrappers
   inline void
   MatrixBase::set(const size_type    row,
                   const size_type    n_cols,
-                  const size_type *  col_indices,
+                  const size_type   *col_indices,
                   const PetscScalar *values,
                   const bool         elide_zero_values)
   {
@@ -1416,7 +1416,7 @@ namespace PETScWrappers
 
 
   inline void
-  MatrixBase::add(const std::vector<size_type> indices,
+  MatrixBase::add(const std::vector<size_type>  &indices,
                   const FullMatrix<PetscScalar> &values,
                   const bool                     elide_zero_values)
   {
@@ -1435,8 +1435,8 @@ namespace PETScWrappers
 
 
   inline void
-  MatrixBase::add(const std::vector<size_type> row_indices,
-                  const std::vector<size_type> col_indices,
+  MatrixBase::add(const std::vector<size_type>  &row_indices,
+                  const std::vector<size_type>  &col_indices,
                   const FullMatrix<PetscScalar> &values,
                   const bool                     elide_zero_values)
   {
@@ -1457,7 +1457,7 @@ namespace PETScWrappers
 
   inline void
   MatrixBase::add(const size_type                 row,
-                  const std::vector<size_type> &  col_indices,
+                  const std::vector<size_type>   &col_indices,
                   const std::vector<PetscScalar> &values,
                   const bool                      elide_zero_values)
   {
@@ -1476,7 +1476,7 @@ namespace PETScWrappers
   inline void
   MatrixBase::add(const size_type    row,
                   const size_type    n_cols,
-                  const size_type *  col_indices,
+                  const size_type   *col_indices,
                   const PetscScalar *values,
                   const bool         elide_zero_values,
                   const bool /*col_indices_are_sorted*/)
index c95e8444c0f55a5f8f7507629549fe30a3cf1d1d..8bad3c18a97956b3979afe43164019a6ced77f93 100644 (file)
@@ -167,7 +167,7 @@ namespace PETScWrappers
      * and additional flags if there are any.
      */
     PreconditionJacobi(
-      const MatrixBase &    matrix,
+      const MatrixBase     &matrix,
       const AdditionalData &additional_data = AdditionalData());
 
     /**
@@ -185,7 +185,7 @@ namespace PETScWrappers
      * used if you create the preconditioner without arguments.
      */
     void
-    initialize(const MatrixBase &    matrix,
+    initialize(const MatrixBase     &matrix,
                const AdditionalData &additional_data = AdditionalData());
 
   protected:
@@ -249,7 +249,7 @@ namespace PETScWrappers
      * and additional flags if there are any.
      */
     PreconditionBlockJacobi(
-      const MatrixBase &    matrix,
+      const MatrixBase     &matrix,
       const AdditionalData &additional_data = AdditionalData());
 
     /**
@@ -268,7 +268,7 @@ namespace PETScWrappers
      * used if you create the preconditioner without arguments.
      */
     void
-    initialize(const MatrixBase &    matrix,
+    initialize(const MatrixBase     &matrix,
                const AdditionalData &additional_data = AdditionalData());
 
   protected:
@@ -326,7 +326,7 @@ namespace PETScWrappers
      * Constructor. Take the matrix which is used to form the preconditioner,
      * and additional flags if there are any.
      */
-    PreconditionSOR(const MatrixBase &    matrix,
+    PreconditionSOR(const MatrixBase     &matrix,
                     const AdditionalData &additional_data = AdditionalData());
 
     /**
@@ -336,7 +336,7 @@ namespace PETScWrappers
      * used if you create the preconditioner without arguments.
      */
     void
-    initialize(const MatrixBase &    matrix,
+    initialize(const MatrixBase     &matrix,
                const AdditionalData &additional_data = AdditionalData());
 
   protected:
@@ -386,7 +386,7 @@ namespace PETScWrappers
      * Constructor. Take the matrix which is used to form the preconditioner,
      * and additional flags if there are any.
      */
-    PreconditionSSOR(const MatrixBase &    matrix,
+    PreconditionSSOR(const MatrixBase     &matrix,
                      const AdditionalData &additional_data = AdditionalData());
 
     /**
@@ -396,7 +396,7 @@ namespace PETScWrappers
      * used if you create the preconditioner without arguments.
      */
     void
-    initialize(const MatrixBase &    matrix,
+    initialize(const MatrixBase     &matrix,
                const AdditionalData &additional_data = AdditionalData());
 
   protected:
@@ -444,7 +444,7 @@ namespace PETScWrappers
      * Constructor. Take the matrix which is used to form the preconditioner,
      * and additional flags if there are any.
      */
-    PreconditionICC(const MatrixBase &    matrix,
+    PreconditionICC(const MatrixBase     &matrix,
                     const AdditionalData &additional_data = AdditionalData());
 
     /**
@@ -454,7 +454,7 @@ namespace PETScWrappers
      * used if you create the preconditioner without arguments.
      */
     void
-    initialize(const MatrixBase &    matrix,
+    initialize(const MatrixBase     &matrix,
                const AdditionalData &additional_data = AdditionalData());
 
   protected:
@@ -504,7 +504,7 @@ namespace PETScWrappers
      * Constructor. Take the matrix which is used to form the preconditioner,
      * and additional flags if there are any.
      */
-    PreconditionILU(const MatrixBase &    matrix,
+    PreconditionILU(const MatrixBase     &matrix,
                     const AdditionalData &additional_data = AdditionalData());
 
     /**
@@ -514,7 +514,7 @@ namespace PETScWrappers
      * used if you create the preconditioner without arguments.
      */
     void
-    initialize(const MatrixBase &    matrix,
+    initialize(const MatrixBase     &matrix,
                const AdditionalData &additional_data = AdditionalData());
 
   protected:
@@ -586,7 +586,7 @@ namespace PETScWrappers
      * Constructor. Take the matrix which is used to form the preconditioner,
      * and additional flags if there are any.
      */
-    PreconditionLU(const MatrixBase &    matrix,
+    PreconditionLU(const MatrixBase     &matrix,
                    const AdditionalData &additional_data = AdditionalData());
 
     /**
@@ -596,7 +596,7 @@ namespace PETScWrappers
      * used if you create the preconditioner without arguments.
      */
     void
-    initialize(const MatrixBase &    matrix,
+    initialize(const MatrixBase     &matrix,
                const AdditionalData &additional_data = AdditionalData());
 
   protected:
@@ -756,7 +756,7 @@ namespace PETScWrappers
      * and additional flags if there are any.
      */
     PreconditionBoomerAMG(
-      const MatrixBase &    matrix,
+      const MatrixBase     &matrix,
       const AdditionalData &additional_data = AdditionalData());
 
     /**
@@ -775,7 +775,7 @@ namespace PETScWrappers
      * used if you create the preconditioner without arguments.
      */
     void
-    initialize(const MatrixBase &    matrix,
+    initialize(const MatrixBase     &matrix,
                const AdditionalData &additional_data = AdditionalData());
 
   protected:
@@ -897,7 +897,7 @@ namespace PETScWrappers
      * and additional flags if there are any.
      */
     PreconditionParaSails(
-      const MatrixBase &    matrix,
+      const MatrixBase     &matrix,
       const AdditionalData &additional_data = AdditionalData());
 
     /**
@@ -907,7 +907,7 @@ namespace PETScWrappers
      * used if you create the preconditioner without arguments.
      */
     void
-    initialize(const MatrixBase &    matrix,
+    initialize(const MatrixBase     &matrix,
                const AdditionalData &additional_data = AdditionalData());
 
   private:
@@ -945,7 +945,7 @@ namespace PETScWrappers
      * and additional flags if there are any. The matrix is completely ignored
      * in computations.
      */
-    PreconditionNone(const MatrixBase &    matrix,
+    PreconditionNone(const MatrixBase     &matrix,
                      const AdditionalData &additional_data = AdditionalData());
 
     /**
@@ -956,7 +956,7 @@ namespace PETScWrappers
      * completely ignored in computations.
      */
     void
-    initialize(const MatrixBase &    matrix,
+    initialize(const MatrixBase     &matrix,
                const AdditionalData &additional_data = AdditionalData());
 
   private:
@@ -1051,7 +1051,7 @@ namespace PETScWrappers
      * Constructor. Take the matrix which is used to form the preconditioner,
      * and additional flags if there are any.
      */
-    PreconditionBDDC(const MatrixBase &    matrix,
+    PreconditionBDDC(const MatrixBase     &matrix,
                      const AdditionalData &additional_data = AdditionalData());
 
     /**
@@ -1068,7 +1068,7 @@ namespace PETScWrappers
      * used if you create the preconditioner without arguments.
      */
     void
-    initialize(const MatrixBase &    matrix,
+    initialize(const MatrixBase     &matrix,
                const AdditionalData &additional_data = AdditionalData());
 
   protected:
index 02a64de044695912359888cd84d9db449e969c75..d71c3f8dc947509db85fdf29897325a0d040e0ef 100644 (file)
@@ -411,7 +411,7 @@ namespace PETScWrappers
      * See there for a description of how to deal with errors and other
      * requirements and conventions.
      */
-    std::function<void(const VectorType x,
+    std::function<void(const VectorType  &x,
                        const unsigned int step_number,
                        const real_type    f_norm)>
       monitor;
index a7a093a0e69d5fbc708a35c47bea4a0ae516bc68..16ff2b720b97fa507b8300f3b615d921d46cb5c1 100644 (file)
@@ -72,8 +72,8 @@ namespace PETScWrappers
   template <typename F, typename... Args>
   int
   call_and_possibly_capture_snes_exception(
-    const F &                    f,
-    std::exception_ptr &         eptr,
+    const F                     &f,
+    std::exception_ptr          &eptr,
     const std::function<void()> &recoverable_action,
     Args &&...args)
   {
@@ -589,7 +589,7 @@ namespace PETScWrappers
       PetscObjectComm(reinterpret_cast<PetscObject>(snes)));
     if (solve_with_jacobian)
       {
-        precond.vmult = [&](VectorBase &      indst,
+        precond.vmult = [&](VectorBase       &indst,
                             const VectorBase &insrc) -> void {
           VectorType       dst(static_cast<const Vec &>(indst));
           const VectorType src(static_cast<const Vec &>(insrc));
@@ -669,7 +669,7 @@ namespace PETScWrappers
                  Mat>)&&(concepts::is_dealii_petsc_matrix_type<AMatrixType> ||
                          std::constructible_from<AMatrixType, Mat>))
   unsigned int NonlinearSolver<VectorType, PMatrixType, AMatrixType>::solve(
-    VectorType x,
+    VectorType  &x,
     PMatrixType &P)
   {
     set_matrix(P);
@@ -689,7 +689,7 @@ namespace PETScWrappers
                  Mat>)&&(concepts::is_dealii_petsc_matrix_type<AMatrixType> ||
                          std::constructible_from<AMatrixType, Mat>))
   unsigned int NonlinearSolver<VectorType, PMatrixType, AMatrixType>::solve(
-    VectorType x,
+    VectorType  &x,
     AMatrixType &A,
     PMatrixType &P)
   {
index 33d7812362fe0aa6e012391ee3e82a1bf21ef798..51ef469f69f98e4b34b7b1e187276957ab752df3 100644 (file)
@@ -116,9 +116,9 @@ namespace PETScWrappers
      * performance reasons. See class Documentation.
      */
     void
-    solve(const MatrixBase &      A,
-          VectorBase &            x,
-          const VectorBase &      b,
+    solve(const MatrixBase       &A,
+          VectorBase             &x,
+          const VectorBase       &b,
           const PreconditionBase &preconditioner);
 
     /**
@@ -217,7 +217,7 @@ namespace PETScWrappers
                      const PetscInt      iteration,
                      const PetscReal     residual_norm,
                      KSPConvergedReason *reason,
-                     void *              solver_control);
+                     void               *solver_control);
 
 
 #  ifdef DEAL_II_WITH_SLEPC
@@ -261,7 +261,7 @@ namespace PETScWrappers
      * The last argument takes a structure with additional, solver dependent
      * flags for tuning.
      */
-    SolverRichardson(SolverControl &       cn,
+    SolverRichardson(SolverControl        &cn,
                      const AdditionalData &data = AdditionalData());
 
     /**
@@ -271,7 +271,7 @@ namespace PETScWrappers
      * @deprecated
      */
     DEAL_II_DEPRECATED
-    SolverRichardson(SolverControl &       cn,
+    SolverRichardson(SolverControl        &cn,
                      const MPI_Comm        mpi_communicator,
                      const AdditionalData &data = AdditionalData());
 
@@ -313,7 +313,7 @@ namespace PETScWrappers
      * The last argument takes a structure with additional, solver dependent
      * flags for tuning.
      */
-    SolverChebychev(SolverControl &       cn,
+    SolverChebychev(SolverControl        &cn,
                     const AdditionalData &data = AdditionalData());
 
     /**
@@ -323,7 +323,7 @@ namespace PETScWrappers
      * @deprecated
      */
     DEAL_II_DEPRECATED
-    SolverChebychev(SolverControl &       cn,
+    SolverChebychev(SolverControl        &cn,
                     const MPI_Comm        mpi_communicator,
                     const AdditionalData &data = AdditionalData());
 
@@ -373,7 +373,7 @@ namespace PETScWrappers
      * @deprecated
      */
     DEAL_II_DEPRECATED
-    SolverCG(SolverControl &       cn,
+    SolverCG(SolverControl        &cn,
              const MPI_Comm        mpi_communicator,
              const AdditionalData &data = AdditionalData());
 
@@ -414,7 +414,7 @@ namespace PETScWrappers
      * The last argument takes a structure with additional, solver dependent
      * flags for tuning.
      */
-    SolverBiCG(SolverControl &       cn,
+    SolverBiCG(SolverControl        &cn,
                const AdditionalData &data = AdditionalData());
 
     /**
@@ -424,7 +424,7 @@ namespace PETScWrappers
      * @deprecated
      */
     DEAL_II_DEPRECATED
-    SolverBiCG(SolverControl &       cn,
+    SolverBiCG(SolverControl        &cn,
                const MPI_Comm        mpi_communicator,
                const AdditionalData &data = AdditionalData());
 
@@ -482,7 +482,7 @@ namespace PETScWrappers
      * The last argument takes a structure with additional, solver dependent
      * flags for tuning.
      */
-    SolverGMRES(SolverControl &       cn,
+    SolverGMRES(SolverControl        &cn,
                 const AdditionalData &data = AdditionalData());
 
     /**
@@ -492,7 +492,7 @@ namespace PETScWrappers
      * @deprecated
      */
     DEAL_II_DEPRECATED
-    SolverGMRES(SolverControl &       cn,
+    SolverGMRES(SolverControl        &cn,
                 const MPI_Comm        mpi_communicator,
                 const AdditionalData &data = AdditionalData());
 
@@ -534,7 +534,7 @@ namespace PETScWrappers
      * The last argument takes a structure with additional, solver dependent
      * flags for tuning.
      */
-    SolverBicgstab(SolverControl &       cn,
+    SolverBicgstab(SolverControl        &cn,
                    const AdditionalData &data = AdditionalData());
 
     /**
@@ -544,7 +544,7 @@ namespace PETScWrappers
      * @deprecated
      */
     DEAL_II_DEPRECATED
-    SolverBicgstab(SolverControl &       cn,
+    SolverBicgstab(SolverControl        &cn,
                    const MPI_Comm        mpi_communicator,
                    const AdditionalData &data = AdditionalData());
 
@@ -595,7 +595,7 @@ namespace PETScWrappers
      * @deprecated
      */
     DEAL_II_DEPRECATED
-    SolverCGS(SolverControl &       cn,
+    SolverCGS(SolverControl        &cn,
               const MPI_Comm        mpi_communicator,
               const AdditionalData &data = AdditionalData());
 
@@ -636,7 +636,7 @@ namespace PETScWrappers
      * The last argument takes a structure with additional, solver dependent
      * flags for tuning.
      */
-    SolverTFQMR(SolverControl &       cn,
+    SolverTFQMR(SolverControl        &cn,
                 const AdditionalData &data = AdditionalData());
 
     /**
@@ -646,7 +646,7 @@ namespace PETScWrappers
      * @deprecated
      */
     DEAL_II_DEPRECATED
-    SolverTFQMR(SolverControl &       cn,
+    SolverTFQMR(SolverControl        &cn,
                 const MPI_Comm        mpi_communicator,
                 const AdditionalData &data = AdditionalData());
 
@@ -692,7 +692,7 @@ namespace PETScWrappers
      * The last argument takes a structure with additional, solver dependent
      * flags for tuning.
      */
-    SolverTCQMR(SolverControl &       cn,
+    SolverTCQMR(SolverControl        &cn,
                 const AdditionalData &data = AdditionalData());
 
     /**
@@ -702,7 +702,7 @@ namespace PETScWrappers
      * @deprecated
      */
     DEAL_II_DEPRECATED
-    SolverTCQMR(SolverControl &       cn,
+    SolverTCQMR(SolverControl        &cn,
                 const MPI_Comm        mpi_communicator,
                 const AdditionalData &data = AdditionalData());
 
@@ -752,7 +752,7 @@ namespace PETScWrappers
      * @deprecated
      */
     DEAL_II_DEPRECATED
-    SolverCR(SolverControl &       cn,
+    SolverCR(SolverControl        &cn,
              const MPI_Comm        mpi_communicator,
              const AdditionalData &data = AdditionalData());
 
@@ -794,7 +794,7 @@ namespace PETScWrappers
      * The last argument takes a structure with additional, solver dependent
      * flags for tuning.
      */
-    SolverLSQR(SolverControl &       cn,
+    SolverLSQR(SolverControl        &cn,
                const AdditionalData &data = AdditionalData());
 
     /**
@@ -804,7 +804,7 @@ namespace PETScWrappers
      * @deprecated
      */
     DEAL_II_DEPRECATED
-    SolverLSQR(SolverControl &       cn,
+    SolverLSQR(SolverControl        &cn,
                const MPI_Comm        mpi_communicator,
                const AdditionalData &data = AdditionalData());
 
@@ -850,7 +850,7 @@ namespace PETScWrappers
      * The last argument takes a structure with additional, solver dependent
      * flags for tuning.
      */
-    SolverPreOnly(SolverControl &       cn,
+    SolverPreOnly(SolverControl        &cn,
                   const AdditionalData &data = AdditionalData());
 
     /**
@@ -860,7 +860,7 @@ namespace PETScWrappers
      * @deprecated
      */
     DEAL_II_DEPRECATED
-    SolverPreOnly(SolverControl &       cn,
+    SolverPreOnly(SolverControl        &cn,
                   const MPI_Comm        mpi_communicator,
                   const AdditionalData &data = AdditionalData());
 
@@ -913,7 +913,7 @@ namespace PETScWrappers
     /**
      * Constructor.
      */
-    SparseDirectMUMPS(SolverControl &       cn,
+    SparseDirectMUMPS(SolverControl        &cn,
                       const AdditionalData &data = AdditionalData());
 
     /**
@@ -923,7 +923,7 @@ namespace PETScWrappers
      * @deprecated
      */
     DEAL_II_DEPRECATED
-    SparseDirectMUMPS(SolverControl &       cn,
+    SparseDirectMUMPS(SolverControl        &cn,
                       const MPI_Comm        mpi_communicator,
                       const AdditionalData &data = AdditionalData());
 
index 8859a7e02ba5b25ed4927ff0b414401016b1413b..fea15af48b52c06a66b9e6e6aca2c0b5664934b9 100644 (file)
@@ -238,9 +238,9 @@ namespace PETScWrappers
      * This function calls MatrixBase::mmult() to do the actual work.
      */
     void
-    mmult(SparseMatrix &      C,
+    mmult(SparseMatrix       &C,
           const SparseMatrix &B,
-          const MPI::Vector V = MPI::Vector()) const;
+          const MPI::Vector  &V = MPI::Vector()) const;
 
     /**
      * Perform the matrix-matrix multiplication with the transpose of
@@ -250,9 +250,9 @@ namespace PETScWrappers
      * This function calls MatrixBase::Tmmult() to do the actual work.
      */
     void
-    Tmmult(SparseMatrix &      C,
+    Tmmult(SparseMatrix       &C,
            const SparseMatrix &B,
-           const MPI::Vector V = MPI::Vector()) const;
+           const MPI::Vector  &V = MPI::Vector()) const;
 
   private:
     /**
@@ -433,7 +433,7 @@ namespace PETScWrappers
        */
       template <typename SparsityPatternType>
       SparseMatrix(const MPI_Comm                communicator,
-                   const SparsityPatternType &   sparsity_pattern,
+                   const SparsityPatternType    &sparsity_pattern,
                    const std::vector<size_type> &local_rows_per_process,
                    const std::vector<size_type> &local_columns_per_process,
                    const unsigned int            this_process,
@@ -481,7 +481,7 @@ namespace PETScWrappers
       template <typename SparsityPatternType>
       void
       reinit(const MPI_Comm                communicator,
-             const SparsityPatternType &   sparsity_pattern,
+             const SparsityPatternType    &sparsity_pattern,
              const std::vector<size_type> &local_rows_per_process,
              const std::vector<size_type> &local_columns_per_process,
              const unsigned int            this_process,
@@ -495,7 +495,7 @@ namespace PETScWrappers
        */
       template <typename SparsityPatternType>
       void
-      reinit(const IndexSet &           local_partitioning,
+      reinit(const IndexSet            &local_partitioning,
              const SparsityPatternType &sparsity_pattern,
              const MPI_Comm             communicator);
 
@@ -507,8 +507,8 @@ namespace PETScWrappers
        */
       template <typename SparsityPatternType>
       void
-      reinit(const IndexSet &           local_rows,
-             const IndexSet &           local_columns,
+      reinit(const IndexSet            &local_rows,
+             const IndexSet            &local_columns,
              const SparsityPatternType &sparsity_pattern,
              const MPI_Comm             communicator);
 
@@ -531,10 +531,10 @@ namespace PETScWrappers
        */
       template <typename SparsityPatternType>
       void
-      reinit(const IndexSet &           local_rows,
-             const IndexSet &           local_active_rows,
-             const IndexSet &           local_columns,
-             const IndexSet &           local_active_columns,
+      reinit(const IndexSet            &local_rows,
+             const IndexSet            &local_active_rows,
+             const IndexSet            &local_columns,
+             const IndexSet            &local_active_columns,
              const SparsityPatternType &sparsity_pattern,
              const MPI_Comm             communicator);
 
@@ -604,9 +604,9 @@ namespace PETScWrappers
        * This function calls MatrixBase::mmult() to do the actual work.
        */
       void
-      mmult(SparseMatrix &      C,
+      mmult(SparseMatrix       &C,
             const SparseMatrix &B,
-            const MPI::Vector V = MPI::Vector()) const;
+            const MPI::Vector  &V = MPI::Vector()) const;
 
       /**
        * Perform the matrix-matrix multiplication with the transpose of
@@ -616,9 +616,9 @@ namespace PETScWrappers
        * This function calls MatrixBase::Tmmult() to do the actual work.
        */
       void
-      Tmmult(SparseMatrix &      C,
+      Tmmult(SparseMatrix       &C,
              const SparseMatrix &B,
-             const MPI::Vector V = MPI::Vector()) const;
+             const MPI::Vector  &V = MPI::Vector()) const;
 
     private:
       /**
@@ -627,7 +627,7 @@ namespace PETScWrappers
       template <typename SparsityPatternType>
       void
       do_reinit(const MPI_Comm                comm,
-                const SparsityPatternType &   sparsity_pattern,
+                const SparsityPatternType    &sparsity_pattern,
                 const std::vector<size_type> &local_rows_per_process,
                 const std::vector<size_type> &local_columns_per_process,
                 const unsigned int            this_process,
@@ -639,8 +639,8 @@ namespace PETScWrappers
       template <typename SparsityPatternType>
       void
       do_reinit(const MPI_Comm             comm,
-                const IndexSet &           local_rows,
-                const IndexSet &           local_columns,
+                const IndexSet            &local_rows,
+                const IndexSet            &local_columns,
                 const SparsityPatternType &sparsity_pattern);
 
       /**
@@ -650,10 +650,10 @@ namespace PETScWrappers
       template <typename SparsityPatternType>
       void
       do_reinit(const MPI_Comm             comm,
-                const IndexSet &           local_rows,
-                const IndexSet &           local_active_rows,
-                const IndexSet &           local_columns,
-                const IndexSet &           local_active_columns,
+                const IndexSet            &local_rows,
+                const IndexSet            &local_active_rows,
+                const IndexSet            &local_columns,
+                const IndexSet            &local_active_columns,
                 const SparsityPatternType &sparsity_pattern);
 
       // To allow calling protected prepare_add() and prepare_set().
index 7f32ec650b1f3b6ca3281dbb085825529b8f3728..d7e497a51aba291dca0bb569530235c58420578c 100644 (file)
@@ -317,17 +317,14 @@ namespace PETScWrappers
             typename AMatrixType = PMatrixType>
 #  if defined(DEAL_II_HAVE_CXX20) && \
     !defined(DEAL_II_DOXYGEN_DO_NOT_PARSE_REQUIRES_CLAUSES)
-  requires(
-    (concepts::is_dealii_petsc_vector_type<VectorType> ||
-     std::constructible_from<
-       VectorType,
-       Vec>)&&(concepts::is_dealii_petsc_matrix_type<PMatrixType> ||
-               std::constructible_from<
-                 PMatrixType,
-                 Mat>)&&(concepts::is_dealii_petsc_matrix_type<AMatrixType> ||
-                         std::constructible_from<AMatrixType, Mat>))
+    requires((concepts::is_dealii_petsc_vector_type<VectorType> ||
+              std::constructible_from<VectorType, Vec>) &&
+             (concepts::is_dealii_petsc_matrix_type<PMatrixType> ||
+              std::constructible_from<PMatrixType, Mat>) &&
+             (concepts::is_dealii_petsc_matrix_type<AMatrixType> ||
+              std::constructible_from<AMatrixType, Mat>))
 #  endif
-    class TimeStepper
+  class TimeStepper
   {
   public:
     /**
@@ -467,7 +464,7 @@ namespace PETScWrappers
     std::function<void(const real_type   t,
                        const VectorType &y,
                        const VectorType &y_dot,
-                       VectorType &      res)>
+                       VectorType       &res)>
       implicit_function;
 
     /**
@@ -488,8 +485,8 @@ namespace PETScWrappers
                        const VectorType &y,
                        const VectorType &y_dot,
                        const real_type   alpha,
-                       AMatrixType &     A,
-                       PMatrixType &     P)>
+                       AMatrixType      &A,
+                       PMatrixType      &P)>
       implicit_jacobian;
 
     /**
@@ -514,8 +511,8 @@ namespace PETScWrappers
      */
     std::function<void(const real_type   t,
                        const VectorType &y,
-                       AMatrixType &     A,
-                       PMatrixType &     P)>
+                       AMatrixType      &A,
+                       PMatrixType      &P)>
       explicit_jacobian;
 
     /**
@@ -530,7 +527,7 @@ namespace PETScWrappers
      * requirements and conventions.
      */
     std::function<void(const real_type    t,
-                       const VectorType y,
+                       const VectorType  &y,
                        const unsigned int step_number)>
       monitor;
 
@@ -616,8 +613,8 @@ namespace PETScWrappers
      */
     std::function<void(const real_type    t,
                        const unsigned int step,
-                       const VectorType y,
-                       bool &             resize)>
+                       const VectorType  &y,
+                       bool              &resize)>
       decide_for_coarsening_and_refinement;
 
     /**
@@ -635,7 +632,7 @@ namespace PETScWrappers
      * requirements and conventions.
      */
     std::function<void(const std::vector<VectorType> &all_in,
-                       std::vector<VectorType> &      all_out)>
+                       std::vector<VectorType>       &all_out)>
       interpolate;
 
   private:
index 9b2a068d50533bd880b5aacb04a68b84390ad2c6..4c21dcfbc4448a7ebc8ebd271fec0802f84183bc 100644 (file)
@@ -72,8 +72,8 @@ namespace PETScWrappers
   template <typename F, typename... Args>
   int
   call_and_possibly_capture_ts_exception(
-    const F &                    f,
-    std::exception_ptr &         eptr,
+    const F                     &f,
+    std::exception_ptr          &eptr,
     const std::function<void()> &recoverable_action,
     Args &&...args)
   {
@@ -465,7 +465,7 @@ namespace PETScWrappers
                                        PetscInt nv,
                                        Vec      vin[],
                                        Vec      vout[],
-                                       void *   ctx) -> PetscErrorCode {
+                                       void    *ctx) -> PetscErrorCode {
       PetscFunctionBeginUser;
       auto user = static_cast<TimeStepper *>(ctx);
 
@@ -685,7 +685,7 @@ namespace PETScWrappers
                                  PetscReal s,
                                  Mat       A,
                                  Mat       P,
-                                 void *    ctx) -> PetscErrorCode {
+                                 void     *ctx) -> PetscErrorCode {
       PetscFunctionBeginUser;
       auto user = static_cast<TimeStepper *>(ctx);
 
@@ -743,7 +743,7 @@ namespace PETScWrappers
                                             PetscReal s,
                                             Mat       A,
                                             Mat       P,
-                                            void *    ctx) -> PetscErrorCode {
+                                            void     *ctx) -> PetscErrorCode {
       PetscFunctionBeginUser;
       auto user = static_cast<TimeStepper *>(ctx);
 
@@ -1007,7 +1007,7 @@ namespace PETScWrappers
     // approximation of the tangent operator.
     if (solve_with_jacobian)
       {
-        solve_with_jacobian_pc.vmult = [&](VectorBase &      indst,
+        solve_with_jacobian_pc.vmult = [&](VectorBase       &indst,
                                            const VectorBase &insrc) -> void {
           VectorType       dst(static_cast<const Vec &>(indst));
           const VectorType src(static_cast<const Vec &>(insrc));
@@ -1215,7 +1215,7 @@ namespace PETScWrappers
                  Mat>)&&(concepts::is_dealii_petsc_matrix_type<AMatrixType> ||
                          std::constructible_from<AMatrixType, Mat>))
   unsigned int TimeStepper<VectorType, PMatrixType, AMatrixType>::solve(
-    VectorType y,
+    VectorType  &y,
     PMatrixType &P)
   {
     set_matrix(P);
@@ -1235,7 +1235,7 @@ namespace PETScWrappers
                  Mat>)&&(concepts::is_dealii_petsc_matrix_type<AMatrixType> ||
                          std::constructible_from<AMatrixType, Mat>))
   unsigned int TimeStepper<VectorType, PMatrixType, AMatrixType>::solve(
-    VectorType y,
+    VectorType  &y,
     AMatrixType &A,
     PMatrixType &P)
   {
index 53063e7e8ebfa1767a6fd78c33b7bf672933696e..dd383953c0925eee337053789378e461fbc0528d 100644 (file)
@@ -371,7 +371,7 @@ namespace PETScWrappers
        * distributed across processors.
        */
       void
-      print(std::ostream &     out,
+      print(std::ostream      &out,
             const unsigned int precision  = 3,
             const bool         scientific = true,
             const bool         across     = true) const;
@@ -516,7 +516,7 @@ namespace internal
     public:
       template <typename Matrix>
       static void
-      reinit_range_vector(const Matrix &              matrix,
+      reinit_range_vector(const Matrix               &matrix,
                           PETScWrappers::MPI::Vector &v,
                           bool /*omit_zeroing_entries*/)
       {
@@ -526,7 +526,7 @@ namespace internal
 
       template <typename Matrix>
       static void
-      reinit_domain_vector(const Matrix &              matrix,
+      reinit_domain_vector(const Matrix               &matrix,
                            PETScWrappers::MPI::Vector &v,
                            bool /*omit_zeroing_entries*/)
       {
index 8dea7f88261db7cf58badf63208affea6586ddb3..a2dec0f63e2034600f0f7c9ee8b74ce3578d1164 100644 (file)
@@ -458,7 +458,7 @@ namespace PETScWrappers
      * the corresponding values in the second.
      */
     void
-    set(const std::vector<size_type> &  indices,
+    set(const std::vector<size_type>   &indices,
         const std::vector<PetscScalar> &values);
 
     /**
@@ -478,7 +478,7 @@ namespace PETScWrappers
      */
     void
     extract_subvector_to(const std::vector<size_type> &indices,
-                         std::vector<PetscScalar> &    values) const;
+                         std::vector<PetscScalar>     &values) const;
 
     /**
      * Extract a range of elements all at once.
@@ -486,7 +486,7 @@ namespace PETScWrappers
     virtual void
     extract_subvector_to(
       const ArrayView<const types::global_dof_index> &indices,
-      ArrayView<PetscScalar> &                        elements) const override;
+      ArrayView<PetscScalar>                         &elements) const override;
 
     /**
      * Instead of getting individual elements of a vector via operator(),
@@ -526,7 +526,7 @@ namespace PETScWrappers
      * stored in @p values to the vector components specified by @p indices.
      */
     void
-    add(const std::vector<size_type> &  indices,
+    add(const std::vector<size_type>   &indices,
         const std::vector<PetscScalar> &values);
 
     /**
@@ -534,7 +534,7 @@ namespace PETScWrappers
      * function takes a deal.II vector of values.
      */
     void
-    add(const std::vector<size_type> &       indices,
+    add(const std::vector<size_type>        &indices,
         const ::dealii::Vector<PetscScalar> &values);
 
     /**
@@ -544,7 +544,7 @@ namespace PETScWrappers
      */
     void
     add(const size_type    n_elements,
-        const size_type *  indices,
+        const size_type   *indices,
         const PetscScalar *values);
 
     /**
@@ -719,7 +719,7 @@ namespace PETScWrappers
      * separate line each.
      */
     void
-    print(std::ostream &     out,
+    print(std::ostream      &out,
           const unsigned int precision  = 3,
           const bool         scientific = true,
           const bool         across     = true) const;
@@ -806,7 +806,7 @@ namespace PETScWrappers
      */
     void
     do_set_add_operation(const size_type    n_elements,
-                         const size_type *  indices,
+                         const size_type   *indices,
                          const PetscScalar *values,
                          const bool         add_values);
 
@@ -1145,7 +1145,7 @@ namespace PETScWrappers
 
   inline void
   VectorBase::extract_subvector_to(const std::vector<size_type> &indices,
-                                   std::vector<PetscScalar> &    values) const
+                                   std::vector<PetscScalar>     &values) const
   {
     Assert(indices.size() <= values.size(),
            ExcDimensionMismatch(indices.size(), values.size()));
@@ -1155,7 +1155,7 @@ namespace PETScWrappers
   inline void
   VectorBase::extract_subvector_to(
     const ArrayView<const types::global_dof_index> &indices,
-    ArrayView<PetscScalar> &                        elements) const
+    ArrayView<PetscScalar>                         &elements) const
   {
     AssertDimension(indices.size(), elements.size());
     extract_subvector_to(indices.begin(), indices.end(), elements.begin());
index 1a5146224f205281448edfd0bd16b75b9c8c264a..526b77cbeedc6680831b4ff938804f592e56316f 100644 (file)
@@ -111,7 +111,7 @@ public:
    */
   template <typename MatrixType>
   void
-  initialize(const MatrixType &    matrix,
+  initialize(const MatrixType     &matrix,
              const AdditionalData &additional_data = AdditionalData());
 
   /**
@@ -446,7 +446,7 @@ public:
    * zero and smaller than 2 for numerical reasons. It defaults to 1.
    */
   void
-  initialize(const MatrixType &    A,
+  initialize(const MatrixType     &A,
              const AdditionalData &parameters = AdditionalData());
 
   /**
@@ -543,7 +543,7 @@ namespace internal
             typename PreconditionerType>
   constexpr bool has_vmult_with_std_functions =
     is_supported_operation<vmult_functions_t, MatrixType, VectorType> &&
-      std::is_same_v<PreconditionerType, dealii::DiagonalMatrix<VectorType>> &&
+    std::is_same_v<PreconditionerType, dealii::DiagonalMatrix<VectorType>> &&
     (std::is_same_v<VectorType,
                     dealii::Vector<typename VectorType::value_type>> ||
      std::is_same_v<
@@ -559,17 +559,17 @@ namespace internal
   namespace PreconditionRelaxation
   {
     template <typename T, typename VectorType>
-    using Tvmult_t = decltype(
-      std::declval<const T>().Tvmult(std::declval<VectorType &>(),
-                                     std::declval<const VectorType &>()));
+    using Tvmult_t = decltype(std::declval<const T>().Tvmult(
+      std::declval<VectorType &>(),
+      std::declval<const VectorType &>()));
 
     template <typename T, typename VectorType>
     constexpr bool has_Tvmult = is_supported_operation<Tvmult_t, T, VectorType>;
 
     template <typename T, typename VectorType>
-    using step_t = decltype(
-      std::declval<const T>().step(std::declval<VectorType &>(),
-                                   std::declval<const VectorType &>()));
+    using step_t = decltype(std::declval<const T>().step(
+      std::declval<VectorType &>(),
+      std::declval<const VectorType &>()));
 
     template <typename T, typename VectorType>
     constexpr bool has_step = is_supported_operation<step_t, T, VectorType>;
@@ -585,9 +585,9 @@ namespace internal
       is_supported_operation<step_omega_t, T, VectorType>;
 
     template <typename T, typename VectorType>
-    using Tstep_t = decltype(
-      std::declval<const T>().Tstep(std::declval<VectorType &>(),
-                                    std::declval<const VectorType &>()));
+    using Tstep_t = decltype(std::declval<const T>().Tstep(
+      std::declval<VectorType &>(),
+      std::declval<const VectorType &>()));
 
     template <typename T, typename VectorType>
     constexpr bool has_Tstep = is_supported_operation<Tstep_t, T, VectorType>;
@@ -603,30 +603,30 @@ namespace internal
       is_supported_operation<Tstep_omega_t, T, VectorType>;
 
     template <typename T, typename VectorType>
-    using jacobi_step_t = decltype(
-      std::declval<const T>().Jacobi_step(std::declval<VectorType &>(),
-                                          std::declval<const VectorType &>(),
-                                          std::declval<const double>()));
+    using jacobi_step_t = decltype(std::declval<const T>().Jacobi_step(
+      std::declval<VectorType &>(),
+      std::declval<const VectorType &>(),
+      std::declval<const double>()));
 
     template <typename T, typename VectorType>
     constexpr bool has_jacobi_step =
       is_supported_operation<jacobi_step_t, T, VectorType>;
 
     template <typename T, typename VectorType>
-    using SOR_step_t = decltype(
-      std::declval<const T>().SOR_step(std::declval<VectorType &>(),
-                                       std::declval<const VectorType &>(),
-                                       std::declval<const double>()));
+    using SOR_step_t = decltype(std::declval<const T>().SOR_step(
+      std::declval<VectorType &>(),
+      std::declval<const VectorType &>(),
+      std::declval<const double>()));
 
     template <typename T, typename VectorType>
     constexpr bool has_SOR_step =
       is_supported_operation<SOR_step_t, T, VectorType>;
 
     template <typename T, typename VectorType>
-    using SSOR_step_t = decltype(
-      std::declval<const T>().SSOR_step(std::declval<VectorType &>(),
-                                        std::declval<const VectorType &>(),
-                                        std::declval<const double>()));
+    using SSOR_step_t = decltype(std::declval<const T>().SSOR_step(
+      std::declval<VectorType &>(),
+      std::declval<const VectorType &>(),
+      std::declval<const double>()));
 
     template <typename T, typename VectorType>
     constexpr bool has_SSOR_step =
@@ -860,7 +860,7 @@ namespace internal
     public:
       using size_type = typename MatrixType::size_type;
 
-      PreconditionPSORImpl(const MatrixType &            A,
+      PreconditionPSORImpl(const MatrixType             &A,
                            const double                  relaxation,
                            const std::vector<size_type> &permutation,
                            const std::vector<size_type> &inverse_permutation)
@@ -902,8 +902,8 @@ namespace internal
     void
     step(const MatrixType &,
          const PreconditionerType &preconditioner,
-         VectorType &              dst,
-         const VectorType &        src,
+         VectorType               &dst,
+         const VectorType         &src,
          const double              relaxation,
          VectorType &,
          VectorType &)
@@ -921,8 +921,8 @@ namespace internal
     void
     step(const MatrixType &,
          const PreconditionerType &preconditioner,
-         VectorType &              dst,
-         const VectorType &        src,
+         VectorType               &dst,
+         const VectorType         &src,
          const double              relaxation,
          VectorType &,
          VectorType &)
@@ -942,13 +942,13 @@ namespace internal
                          !has_step<PreconditionerType, VectorType>,
                        PreconditionerType> * = nullptr>
     void
-    step(const MatrixType &        A,
+    step(const MatrixType         &A,
          const PreconditionerType &preconditioner,
-         VectorType &              dst,
-         const VectorType &        src,
+         VectorType               &dst,
+         const VectorType         &src,
          const double              relaxation,
-         VectorType &              residual,
-         VectorType &              tmp)
+         VectorType               &residual,
+         VectorType               &tmp)
     {
       residual.reinit(dst, true);
       tmp.reinit(dst, true);
@@ -968,8 +968,8 @@ namespace internal
     void
     Tstep(const MatrixType &,
           const PreconditionerType &preconditioner,
-          VectorType &              dst,
-          const VectorType &        src,
+          VectorType               &dst,
+          const VectorType         &src,
           const double              relaxation,
           VectorType &,
           VectorType &)
@@ -987,8 +987,8 @@ namespace internal
     void
     Tstep(const MatrixType &,
           const PreconditionerType &preconditioner,
-          VectorType &              dst,
-          const VectorType &        src,
+          VectorType               &dst,
+          const VectorType         &src,
           const double              relaxation,
           VectorType &,
           VectorType &)
@@ -1029,13 +1029,13 @@ namespace internal
                          !has_Tstep<PreconditionerType, VectorType>,
                        PreconditionerType> * = nullptr>
     void
-    Tstep(const MatrixType &        A,
+    Tstep(const MatrixType         &A,
           const PreconditionerType &preconditioner,
-          VectorType &              dst,
-          const VectorType &        src,
+          VectorType               &dst,
+          const VectorType         &src,
           const double              relaxation,
-          VectorType &              residual,
-          VectorType &              tmp)
+          VectorType               &residual,
+          VectorType               &tmp)
     {
       residual.reinit(dst, true);
       tmp.reinit(dst, true);
@@ -1056,13 +1056,13 @@ namespace internal
                                  VectorType>,
                                int> * = nullptr>
     void
-    step_operations(const MatrixType &        A,
+    step_operations(const MatrixType         &A,
                     const PreconditionerType &preconditioner,
-                    VectorType &              dst,
-                    const VectorType &        src,
+                    VectorType               &dst,
+                    const VectorType         &src,
                     const double              relaxation,
-                    VectorType &              tmp1,
-                    VectorType &              tmp2,
+                    VectorType               &tmp1,
+                    VectorType               &tmp2,
                     const unsigned int        i,
                     const bool                transposed)
     {
@@ -1098,12 +1098,12 @@ namespace internal
                                                          VectorType>,
         int> * = nullptr>
     void
-    step_operations(const MatrixType &        A,
+    step_operations(const MatrixType         &A,
                     const PreconditionerType &preconditioner,
-                    VectorType &              dst,
-                    const VectorType &        src,
+                    VectorType               &dst,
+                    const VectorType         &src,
                     const double              relaxation,
-                    VectorType &              tmp,
+                    VectorType               &tmp,
                     VectorType &,
                     const unsigned int i,
                     const bool         transposed)
@@ -1113,7 +1113,7 @@ namespace internal
 
       if (i == 0)
         {
-          Number *      dst_ptr = dst.begin();
+          Number       *dst_ptr = dst.begin();
           const Number *src_ptr = src.begin();
 
           preconditioner.vmult(
@@ -1188,12 +1188,12 @@ namespace internal
           has_vmult_with_std_functions_for_precondition<MatrixType, VectorType>,
         int> * = nullptr>
     void
-    step_operations(const MatrixType &        A,
+    step_operations(const MatrixType         &A,
                     const PreconditionerType &preconditioner,
-                    VectorType &              dst,
-                    const VectorType &        src,
+                    VectorType               &dst,
+                    const VectorType         &src,
                     const double              relaxation,
-                    VectorType &              tmp,
+                    VectorType               &tmp,
                     VectorType &,
                     const unsigned int i,
                     const bool         transposed)
@@ -1203,7 +1203,7 @@ namespace internal
 
       if (i == 0)
         {
-          Number *      dst_ptr = dst.begin();
+          Number       *dst_ptr = dst.begin();
           const Number *src_ptr = src.begin();
 
           preconditioner.vmult(
@@ -1283,12 +1283,12 @@ namespace internal
                                    dealii::DiagonalMatrix<VectorType>>,
                                VectorType> * = nullptr>
     void
-    step_operations(const MatrixType &                        A,
+    step_operations(const MatrixType                         &A,
                     const dealii::DiagonalMatrix<VectorType> &preconditioner,
-                    VectorType &                              dst,
-                    const VectorType &                        src,
+                    VectorType                               &dst,
+                    const VectorType                         &src,
                     const double                              relaxation,
-                    VectorType &                              tmp,
+                    VectorType                               &tmp,
                     VectorType &,
                     const unsigned int i,
                     const bool         transposed)
@@ -1297,7 +1297,7 @@ namespace internal
 
       if (i == 0)
         {
-          Number *      dst_ptr  = dst.begin();
+          Number       *dst_ptr  = dst.begin();
           const Number *src_ptr  = src.begin();
           const Number *diag_ptr = preconditioner.get_vector().begin();
 
@@ -1318,7 +1318,7 @@ namespace internal
         {
           tmp.reinit(src, true);
 
-          Number *      dst_ptr  = dst.begin();
+          Number       *dst_ptr  = dst.begin();
           const Number *src_ptr  = src.begin();
           const Number *tmp_ptr  = tmp.begin();
           const Number *diag_ptr = preconditioner.get_vector().begin();
@@ -1355,12 +1355,12 @@ namespace internal
                                    dealii::DiagonalMatrix<VectorType>>,
                                VectorType> * = nullptr>
     void
-    step_operations(const MatrixType &                        A,
+    step_operations(const MatrixType                         &A,
                     const dealii::DiagonalMatrix<VectorType> &preconditioner,
-                    VectorType &                              dst,
-                    const VectorType &                        src,
+                    VectorType                               &dst,
+                    const VectorType                         &src,
                     const double                              relaxation,
-                    VectorType &                              tmp,
+                    VectorType                               &tmp,
                     VectorType &,
                     const unsigned int i,
                     const bool         transposed)
@@ -1370,7 +1370,7 @@ namespace internal
 
       if (i == 0)
         {
-          Number *      dst_ptr  = dst.begin();
+          Number       *dst_ptr  = dst.begin();
           const Number *src_ptr  = src.begin();
           const Number *diag_ptr = preconditioner.get_vector().begin();
 
@@ -1406,7 +1406,7 @@ namespace internal
             [&](const unsigned int begin, const unsigned int end) {
               const Number *dst_ptr  = dst.begin();
               const Number *src_ptr  = src.begin();
-              Number *      tmp_ptr  = tmp.begin();
+              Number       *tmp_ptr  = tmp.begin();
               const Number *diag_ptr = preconditioner.get_vector().begin();
 
               // for efficiency reason, write back to temp_vector that is
@@ -1485,7 +1485,7 @@ public:
    * @copydoc PreconditionRelaxation::initialize()
    */
   void
-  initialize(const MatrixType &    A,
+  initialize(const MatrixType     &A,
              const AdditionalData &parameters = AdditionalData());
 };
 
@@ -1555,7 +1555,7 @@ public:
    * @copydoc PreconditionRelaxation::initialize()
    */
   void
-  initialize(const MatrixType &    A,
+  initialize(const MatrixType     &A,
              const AdditionalData &parameters = AdditionalData());
 };
 
@@ -1609,7 +1609,7 @@ public:
    * zero and smaller than 2 for numerical reasons. It defaults to 1.
    */
   void
-  initialize(const MatrixType &    A,
+  initialize(const MatrixType     &A,
              const AdditionalData &parameters = AdditionalData());
 };
 
@@ -1706,9 +1706,9 @@ public:
    * for numerical reasons. It defaults to 1.
    */
   void
-  initialize(const MatrixType &                        A,
-             const std::vector<size_type> &            permutation,
-             const std::vector<size_type> &            inverse_permutation,
+  initialize(const MatrixType                         &A,
+             const std::vector<size_type>             &permutation,
+             const std::vector<size_type>             &inverse_permutation,
              const typename BaseClass::AdditionalData &parameters =
                typename BaseClass::AdditionalData());
 
@@ -2088,7 +2088,7 @@ public:
    * given number of iterations is positive.
    */
   void
-  initialize(const MatrixType &    matrix,
+  initialize(const MatrixType     &matrix,
              const AdditionalData &additional_data = AdditionalData());
 
   /**
@@ -2347,7 +2347,7 @@ PreconditionRichardson::initialize(
 template <typename MatrixType>
 inline void
 PreconditionRichardson::initialize(
-  const MatrixType &                            matrix,
+  const MatrixType                             &matrix,
   const PreconditionRichardson::AdditionalData &parameters)
 {
   relaxation = parameters.relaxation;
@@ -2424,7 +2424,7 @@ PreconditionRichardson::n() const
 template <typename MatrixType, typename PreconditionerType>
 inline void
 PreconditionRelaxation<MatrixType, PreconditionerType>::initialize(
-  const MatrixType &    rA,
+  const MatrixType     &rA,
   const AdditionalData &parameters)
 {
   A          = &rA;
@@ -2467,7 +2467,7 @@ template <typename MatrixType, typename PreconditionerType>
 template <typename VectorType>
 inline void
 PreconditionRelaxation<MatrixType, PreconditionerType>::vmult(
-  VectorType &      dst,
+  VectorType       &dst,
   const VectorType &src) const
 {
   Assert(this->A != nullptr, ExcNotInitialized());
@@ -2484,7 +2484,7 @@ template <typename MatrixType, typename PreconditionerType>
 template <typename VectorType>
 inline void
 PreconditionRelaxation<MatrixType, PreconditionerType>::Tvmult(
-  VectorType &      dst,
+  VectorType       &dst,
   const VectorType &src) const
 {
   Assert(this->A != nullptr, ExcNotInitialized());
@@ -2501,7 +2501,7 @@ template <typename MatrixType, typename PreconditionerType>
 template <typename VectorType>
 inline void
 PreconditionRelaxation<MatrixType, PreconditionerType>::step(
-  VectorType &      dst,
+  VectorType       &dst,
   const VectorType &src) const
 {
   Assert(this->A != nullptr, ExcNotInitialized());
@@ -2518,7 +2518,7 @@ template <typename MatrixType, typename PreconditionerType>
 template <typename VectorType>
 inline void
 PreconditionRelaxation<MatrixType, PreconditionerType>::Tstep(
-  VectorType &      dst,
+  VectorType       &dst,
   const VectorType &src) const
 {
   Assert(this->A != nullptr, ExcNotInitialized());
@@ -2535,7 +2535,7 @@ PreconditionRelaxation<MatrixType, PreconditionerType>::Tstep(
 
 template <typename MatrixType>
 inline void
-PreconditionJacobi<MatrixType>::initialize(const MatrixType &    A,
+PreconditionJacobi<MatrixType>::initialize(const MatrixType     &A,
                                            const AdditionalData &parameters_in)
 {
   Assert(parameters_in.preconditioner == nullptr, ExcInternalError());
@@ -2553,7 +2553,7 @@ PreconditionJacobi<MatrixType>::initialize(const MatrixType &    A,
 
 template <typename MatrixType>
 inline void
-PreconditionSOR<MatrixType>::initialize(const MatrixType &    A,
+PreconditionSOR<MatrixType>::initialize(const MatrixType     &A,
                                         const AdditionalData &parameters_in)
 {
   Assert(parameters_in.preconditioner == nullptr, ExcInternalError());
@@ -2571,7 +2571,7 @@ PreconditionSOR<MatrixType>::initialize(const MatrixType &    A,
 
 template <typename MatrixType>
 inline void
-PreconditionSSOR<MatrixType>::initialize(const MatrixType &    A,
+PreconditionSSOR<MatrixType>::initialize(const MatrixType     &A,
                                          const AdditionalData &parameters_in)
 {
   Assert(parameters_in.preconditioner == nullptr, ExcInternalError());
@@ -2592,9 +2592,9 @@ PreconditionSSOR<MatrixType>::initialize(const MatrixType &    A,
 template <typename MatrixType>
 inline void
 PreconditionPSOR<MatrixType>::initialize(
-  const MatrixType &                        A,
-  const std::vector<size_type> &            p,
-  const std::vector<size_type> &            ip,
+  const MatrixType                         &A,
+  const std::vector<size_type>             &p,
+  const std::vector<size_type>             &ip,
   const typename BaseClass::AdditionalData &parameters_in)
 {
   Assert(parameters_in.preconditioner == nullptr, ExcInternalError());
@@ -2611,7 +2611,7 @@ PreconditionPSOR<MatrixType>::initialize(
 
 template <typename MatrixType>
 inline void
-PreconditionPSOR<MatrixType>::initialize(const MatrixType &    A,
+PreconditionPSOR<MatrixType>::initialize(const MatrixType     &A,
                                          const AdditionalData &additional_data)
 {
   initialize(A,
@@ -2637,7 +2637,7 @@ PreconditionPSOR<MatrixType>::AdditionalData::AdditionalData(
 
 template <typename MatrixType, typename VectorType>
 PreconditionUseMatrix<MatrixType, VectorType>::PreconditionUseMatrix(
-  const MatrixType M,
+  const MatrixType  &M,
   const function_ptr method)
   : matrix(M)
   , precondition(method)
@@ -2648,7 +2648,7 @@ PreconditionUseMatrix<MatrixType, VectorType>::PreconditionUseMatrix(
 template <typename MatrixType, typename VectorType>
 void
 PreconditionUseMatrix<MatrixType, VectorType>::vmult(
-  VectorType &      dst,
+  VectorType       &dst,
   const VectorType &src) const
 {
   (matrix.*precondition)(dst, src);
@@ -2679,15 +2679,15 @@ namespace internal
     // generic part for non-deal.II vectors
     template <typename VectorType, typename PreconditionerType>
     inline void
-    vector_updates(const VectorType &        rhs,
+    vector_updates(const VectorType         &rhs,
                    const PreconditionerType &preconditioner,
                    const unsigned int        iteration_index,
                    const double              factor1,
                    const double              factor2,
-                   VectorType &              solution_old,
-                   VectorType &              temp_vector1,
-                   VectorType &              temp_vector2,
-                   VectorType &              solution)
+                   VectorType               &solution_old,
+                   VectorType               &temp_vector1,
+                   VectorType               &temp_vector2,
+                   VectorType               &solution)
     {
       if (iteration_index == 0)
         {
@@ -2892,14 +2892,14 @@ namespace internal
     template <typename Number>
     struct VectorUpdater
     {
-      VectorUpdater(const Number *     rhs,
-                    const Number *     matrix_diagonal_inverse,
+      VectorUpdater(const Number      *rhs,
+                    const Number      *matrix_diagonal_inverse,
                     const unsigned int iteration_index,
                     const Number       factor1,
                     const Number       factor2,
-                    Number *           solution_old,
-                    Number *           tmp_vector,
-                    Number *           solution)
+                    Number            *solution_old,
+                    Number            *tmp_vector,
+                    Number            *solution)
         : rhs(rhs)
         , matrix_diagonal_inverse(matrix_diagonal_inverse)
         , iteration_index(iteration_index)
@@ -2954,14 +2954,14 @@ namespace internal
           }
       }
 
-      const Number *     rhs;
-      const Number *     matrix_diagonal_inverse;
+      const Number      *rhs;
+      const Number      *matrix_diagonal_inverse;
       const unsigned int iteration_index;
       const Number       factor1;
       const Number       factor2;
-      mutable Number *   solution_old;
-      mutable Number *   tmp_vector;
-      mutable Number *   solution;
+      mutable Number    *solution_old;
+      mutable Number    *tmp_vector;
+      mutable Number    *solution;
     };
 
     template <typename Number>
@@ -2996,13 +2996,13 @@ namespace internal
     template <typename Number>
     inline void
     vector_updates(
-      const ::dealii::Vector<Number> &                        rhs,
+      const ::dealii::Vector<Number>                         &rhs,
       const dealii::DiagonalMatrix<::dealii::Vector<Number>> &jacobi,
       const unsigned int                                      iteration_index,
       const double                                            factor1,
       const double                                            factor2,
-      ::dealii::Vector<Number> &                              solution_old,
-      ::dealii::Vector<Number> &                              temp_vector1,
+      ::dealii::Vector<Number>                               &solution_old,
+      ::dealii::Vector<Number>                               &temp_vector1,
       ::dealii::Vector<Number> &,
       ::dealii::Vector<Number> &solution)
     {
@@ -3087,16 +3087,16 @@ namespace internal
                                                           VectorType>),
         int> * = nullptr>
     inline void
-    vmult_and_update(const MatrixType &        matrix,
+    vmult_and_update(const MatrixType         &matrix,
                      const PreconditionerType &preconditioner,
-                     const VectorType &        rhs,
+                     const VectorType         &rhs,
                      const unsigned int        iteration_index,
                      const double              factor1,
                      const double              factor2,
-                     VectorType &              solution,
-                     VectorType &              solution_old,
-                     VectorType &              temp_vector1,
-                     VectorType &              temp_vector2)
+                     VectorType               &solution,
+                     VectorType               &solution_old,
+                     VectorType               &temp_vector1,
+                     VectorType               &temp_vector2)
     {
       if (iteration_index > 0)
         matrix.vmult(temp_vector1, solution);
@@ -3127,16 +3127,16 @@ namespace internal
                                                          VectorType>),
         int> * = nullptr>
     inline void
-    vmult_and_update(const MatrixType &        matrix,
+    vmult_and_update(const MatrixType         &matrix,
                      const PreconditionerType &preconditioner,
-                     const VectorType &        rhs,
+                     const VectorType         &rhs,
                      const unsigned int        iteration_index,
                      const double              factor1_,
                      const double              factor2_,
-                     VectorType &              solution,
-                     VectorType &              solution_old,
-                     VectorType &              temp_vector1,
-                     VectorType &              temp_vector2)
+                     VectorType               &solution,
+                     VectorType               &solution_old,
+                     VectorType               &temp_vector1,
+                     VectorType               &temp_vector2)
     {
       using Number = typename VectorType::value_type;
 
@@ -3239,15 +3239,15 @@ namespace internal
                                                             PreconditionerType>,
                                int> * = nullptr>
     inline void
-    vmult_and_update(const MatrixType &        matrix,
+    vmult_and_update(const MatrixType         &matrix,
                      const PreconditionerType &preconditioner,
-                     const VectorType &        rhs,
+                     const VectorType         &rhs,
                      const unsigned int        iteration_index,
                      const double              factor1,
                      const double              factor2,
-                     VectorType &              solution,
-                     VectorType &              solution_old,
-                     VectorType &              temp_vector1,
+                     VectorType               &solution,
+                     VectorType               &solution_old,
+                     VectorType               &temp_vector1,
                      VectorType &)
     {
       using Number = typename VectorType::value_type;
@@ -3294,7 +3294,7 @@ namespace internal
     template <typename MatrixType, typename PreconditionerType>
     inline void
     initialize_preconditioner(
-      const MatrixType &                   matrix,
+      const MatrixType                    &matrix,
       std::shared_ptr<PreconditionerType> &preconditioner)
     {
       (void)matrix;
@@ -3305,7 +3305,7 @@ namespace internal
     template <typename MatrixType, typename VectorType>
     inline void
     initialize_preconditioner(
-      const MatrixType &                                   matrix,
+      const MatrixType                                    &matrix,
       std::shared_ptr<dealii::DiagonalMatrix<VectorType>> &preconditioner)
     {
       if (preconditioner.get() == nullptr || preconditioner->m() != matrix.m())
@@ -3378,7 +3378,7 @@ namespace internal
         first_local_range = vector.locally_owned_elements().nth_index_in_set(0);
 
       const auto n_local_elements = vector.locally_owned_size();
-      Number *   values_ptr       = vector.get_values();
+      Number    *values_ptr       = vector.get_values();
       Kokkos::RangePolicy<typename MemorySpace::kokkos_space::execution_space,
                           Kokkos::IndexType<types::global_dof_index>>
         policy(0, n_local_elements);
@@ -3410,8 +3410,8 @@ namespace internal
               typename VectorType,
               typename PreconditionerType>
     double
-    power_iteration(const MatrixType &        matrix,
-                    VectorType &              eigenvector,
+    power_iteration(const MatrixType         &matrix,
+                    VectorType               &eigenvector,
                     const PreconditionerType &preconditioner,
                     const unsigned int        n_iterations)
     {
@@ -3502,7 +3502,7 @@ inline PreconditionChebyshev<MatrixType, VectorType, PreconditionerType>::
 template <typename MatrixType, typename VectorType, typename PreconditionerType>
 inline void
 PreconditionChebyshev<MatrixType, VectorType, PreconditionerType>::initialize(
-  const MatrixType &    matrix,
+  const MatrixType     &matrix,
   const AdditionalData &additional_data)
 {
   matrix_ptr = &matrix;
@@ -3692,7 +3692,7 @@ PreconditionChebyshev<MatrixType, VectorType, PreconditionerType>::
 template <typename MatrixType, typename VectorType, typename PreconditionerType>
 inline void
 PreconditionChebyshev<MatrixType, VectorType, PreconditionerType>::vmult(
-  VectorType &      solution,
+  VectorType       &solution,
   const VectorType &rhs) const
 {
   std::lock_guard<std::mutex> lock(mutex);
@@ -3756,7 +3756,7 @@ PreconditionChebyshev<MatrixType, VectorType, PreconditionerType>::vmult(
 template <typename MatrixType, typename VectorType, typename PreconditionerType>
 inline void
 PreconditionChebyshev<MatrixType, VectorType, PreconditionerType>::Tvmult(
-  VectorType &      solution,
+  VectorType       &solution,
   const VectorType &rhs) const
 {
   std::lock_guard<std::mutex> lock(mutex);
@@ -3817,7 +3817,7 @@ PreconditionChebyshev<MatrixType, VectorType, PreconditionerType>::Tvmult(
 template <typename MatrixType, typename VectorType, typename PreconditionerType>
 inline void
 PreconditionChebyshev<MatrixType, VectorType, PreconditionerType>::step(
-  VectorType &      solution,
+  VectorType       &solution,
   const VectorType &rhs) const
 {
   std::lock_guard<std::mutex> lock(mutex);
@@ -3879,7 +3879,7 @@ PreconditionChebyshev<MatrixType, VectorType, PreconditionerType>::step(
 template <typename MatrixType, typename VectorType, typename PreconditionerType>
 inline void
 PreconditionChebyshev<MatrixType, VectorType, PreconditionerType>::Tstep(
-  VectorType &      solution,
+  VectorType       &solution,
   const VectorType &rhs) const
 {
   std::lock_guard<std::mutex> lock(mutex);
index 690f03ddefb02e4f93cef6965402ecd557afe2a8..475e28d9e2ca4cfadf17dfd58b21a7ae7e1037bc 100644 (file)
@@ -181,7 +181,7 @@ protected:
    * Additionally, a relaxation parameter for derived classes may be provided.
    */
   void
-  initialize(const MatrixType &            A,
+  initialize(const MatrixType             &A,
              const std::vector<size_type> &permutation,
              const std::vector<size_type> &inverse_permutation,
              const AdditionalData          parameters);
@@ -272,7 +272,7 @@ public:
    */
   template <typename number2>
   void
-  forward_step(Vector<number2> &      dst,
+  forward_step(Vector<number2>       &dst,
                const Vector<number2> &prev,
                const Vector<number2> &src,
                const bool             transpose_diagonal) const;
@@ -290,7 +290,7 @@ public:
    */
   template <typename number2>
   void
-  backward_step(Vector<number2> &      dst,
+  backward_step(Vector<number2>       &dst,
                 const Vector<number2> &prev,
                 const Vector<number2> &src,
                 const bool             transpose_diagonal) const;
index 258f938157475f39be43badfd27bef0c1fca2668..cbd6ab20f1b1a74be5de5085a56c863da96031b7 100644 (file)
@@ -70,7 +70,7 @@ PreconditionBlock<MatrixType, inverse_type>::clear()
 template <typename MatrixType, typename inverse_type>
 void
 PreconditionBlock<MatrixType, inverse_type>::initialize(
-  const MatrixType &   M,
+  const MatrixType    &M,
   const AdditionalData parameters)
 {
   const size_type bsize = parameters.block_size;
@@ -101,7 +101,7 @@ PreconditionBlock<MatrixType, inverse_type>::initialize(
 template <typename MatrixType, typename inverse_type>
 void
 PreconditionBlock<MatrixType, inverse_type>::initialize(
-  const MatrixType &            M,
+  const MatrixType             &M,
   const std::vector<size_type> &new_permutation,
   const std::vector<size_type> &new_inverse_permutation,
   const AdditionalData          parameters)
@@ -220,7 +220,7 @@ template <typename MatrixType, typename inverse_type>
 template <typename number2>
 void
 PreconditionBlock<MatrixType, inverse_type>::forward_step(
-  Vector<number2> &      dst,
+  Vector<number2>       &dst,
   const Vector<number2> &prev,
   const Vector<number2> &src,
   const bool             transpose_diagonal) const
@@ -319,7 +319,7 @@ template <typename MatrixType, typename inverse_type>
 template <typename number2>
 void
 PreconditionBlock<MatrixType, inverse_type>::backward_step(
-  Vector<number2> &      dst,
+  Vector<number2>       &dst,
   const Vector<number2> &prev,
   const Vector<number2> &src,
   const bool             transpose_diagonal) const
@@ -546,7 +546,7 @@ template <typename MatrixType, typename inverse_type>
 template <typename number2>
 void
 PreconditionBlockJacobi<MatrixType, inverse_type>::do_vmult(
-  Vector<number2> &      dst,
+  Vector<number2>       &dst,
   const Vector<number2> &src,
   bool                   adding) const
 {
@@ -623,7 +623,7 @@ template <typename MatrixType, typename inverse_type>
 template <typename number2>
 void
 PreconditionBlockJacobi<MatrixType, inverse_type>::vmult(
-  Vector<number2> &      dst,
+  Vector<number2>       &dst,
   const Vector<number2> &src) const
 {
   do_vmult(dst, src, false);
@@ -634,7 +634,7 @@ template <typename MatrixType, typename inverse_type>
 template <typename number2>
 void
 PreconditionBlockJacobi<MatrixType, inverse_type>::Tvmult(
-  Vector<number2> &      dst,
+  Vector<number2>       &dst,
   const Vector<number2> &src) const
 {
   do_vmult(dst, src, false);
@@ -645,7 +645,7 @@ template <typename MatrixType, typename inverse_type>
 template <typename number2>
 void
 PreconditionBlockJacobi<MatrixType, inverse_type>::vmult_add(
-  Vector<number2> &      dst,
+  Vector<number2>       &dst,
   const Vector<number2> &src) const
 {
   do_vmult(dst, src, true);
@@ -656,7 +656,7 @@ template <typename MatrixType, typename inverse_type>
 template <typename number2>
 void
 PreconditionBlockJacobi<MatrixType, inverse_type>::Tvmult_add(
-  Vector<number2> &      dst,
+  Vector<number2>       &dst,
   const Vector<number2> &src) const
 {
   do_vmult(dst, src, true);
@@ -667,7 +667,7 @@ template <typename MatrixType, typename inverse_type>
 template <typename number2>
 void
 PreconditionBlockJacobi<MatrixType, inverse_type>::step(
-  Vector<number2> &      dst,
+  Vector<number2>       &dst,
   const Vector<number2> &src) const
 {
   GrowingVectorMemory<Vector<number2>>            mem;
@@ -683,7 +683,7 @@ template <typename MatrixType, typename inverse_type>
 template <typename number2>
 void
 PreconditionBlockJacobi<MatrixType, inverse_type>::Tstep(
-  Vector<number2> &      dst,
+  Vector<number2>       &dst,
   const Vector<number2> &src) const
 {
   GrowingVectorMemory<Vector<number2>>            mem;
@@ -715,7 +715,7 @@ template <typename MatrixType, typename inverse_type>
 template <typename number2>
 void
 PreconditionBlockSOR<MatrixType, inverse_type>::forward(
-  Vector<number2> &      dst,
+  Vector<number2>       &dst,
   const Vector<number2> &src,
   const bool             transpose_diagonal,
   const bool) const
@@ -804,7 +804,7 @@ template <typename MatrixType, typename inverse_type>
 template <typename number2>
 void
 PreconditionBlockSOR<MatrixType, inverse_type>::backward(
-  Vector<number2> &      dst,
+  Vector<number2>       &dst,
   const Vector<number2> &src,
   const bool             transpose_diagonal,
   const bool) const
@@ -899,7 +899,7 @@ template <typename MatrixType, typename inverse_type>
 template <typename number2>
 void
 PreconditionBlockSOR<MatrixType, inverse_type>::vmult(
-  Vector<number2> &      dst,
+  Vector<number2>       &dst,
   const Vector<number2> &src) const
 {
   forward(dst, src, false, false);
@@ -910,7 +910,7 @@ template <typename MatrixType, typename inverse_type>
 template <typename number2>
 void
 PreconditionBlockSOR<MatrixType, inverse_type>::vmult_add(
-  Vector<number2> &      dst,
+  Vector<number2>       &dst,
   const Vector<number2> &src) const
 {
   forward(dst, src, false, true);
@@ -921,7 +921,7 @@ template <typename MatrixType, typename inverse_type>
 template <typename number2>
 void
 PreconditionBlockSOR<MatrixType, inverse_type>::Tvmult(
-  Vector<number2> &      dst,
+  Vector<number2>       &dst,
   const Vector<number2> &src) const
 {
   backward(dst, src, true, false);
@@ -932,7 +932,7 @@ template <typename MatrixType, typename inverse_type>
 template <typename number2>
 void
 PreconditionBlockSOR<MatrixType, inverse_type>::Tvmult_add(
-  Vector<number2> &      dst,
+  Vector<number2>       &dst,
   const Vector<number2> &src) const
 {
   backward(dst, src, true, true);
@@ -944,7 +944,7 @@ template <typename MatrixType, typename inverse_type>
 template <typename number2>
 void
 PreconditionBlockSOR<MatrixType, inverse_type>::step(
-  Vector<number2> &      dst,
+  Vector<number2>       &dst,
   const Vector<number2> &src) const
 {
   this->forward_step(dst, dst, src, false);
@@ -955,7 +955,7 @@ template <typename MatrixType, typename inverse_type>
 template <typename number2>
 void
 PreconditionBlockSOR<MatrixType, inverse_type>::Tstep(
-  Vector<number2> &      dst,
+  Vector<number2>       &dst,
   const Vector<number2> &src) const
 {
   this->backward_step(dst, dst, src, true);
@@ -977,7 +977,7 @@ template <typename MatrixType, typename inverse_type>
 template <typename number2>
 void
 PreconditionBlockSSOR<MatrixType, inverse_type>::vmult(
-  Vector<number2> &      dst,
+  Vector<number2>       &dst,
   const Vector<number2> &src) const
 {
   Vector<number2> help;
@@ -1010,7 +1010,7 @@ template <typename MatrixType, typename inverse_type>
 template <typename number2>
 void
 PreconditionBlockSSOR<MatrixType, inverse_type>::Tvmult(
-  Vector<number2> &      dst,
+  Vector<number2>       &dst,
   const Vector<number2> &src) const
 {
   Vector<number2> help;
@@ -1044,7 +1044,7 @@ template <typename MatrixType, typename inverse_type>
 template <typename number2>
 void
 PreconditionBlockSSOR<MatrixType, inverse_type>::step(
-  Vector<number2> &      dst,
+  Vector<number2>       &dst,
   const Vector<number2> &src) const
 {
   this->forward_step(dst, dst, src, false);
@@ -1056,7 +1056,7 @@ template <typename MatrixType, typename inverse_type>
 template <typename number2>
 void
 PreconditionBlockSSOR<MatrixType, inverse_type>::Tstep(
-  Vector<number2> &      dst,
+  Vector<number2>       &dst,
   const Vector<number2> &src) const
 {
   this->backward_step(dst, dst, src, true);
index eb53fbe0a15300bc42aaadc24c311747961f8d8d..6a1b4c76dc0a7a1f6de5a4cf9da6b4286ee3ff10 100644 (file)
@@ -148,7 +148,7 @@ public:
   template <typename number2>
   void
   inverse_vmult(size_type              i,
-                Vector<number2> &      dst,
+                Vector<number2>       &dst,
                 const Vector<number2> &src) const;
 
   /**
@@ -157,7 +157,7 @@ public:
   template <typename number2>
   void
   inverse_Tvmult(size_type              i,
-                 Vector<number2> &      dst,
+                 Vector<number2>       &dst,
                  const Vector<number2> &src) const;
 
   /**
@@ -417,7 +417,7 @@ template <typename number>
 template <typename number2>
 inline void
 PreconditionBlockBase<number>::inverse_vmult(size_type              i,
-                                             Vector<number2> &      dst,
+                                             Vector<number2>       &dst,
                                              const Vector<number2> &src) const
 {
   const size_type ii = same_diagonal() ? 0U : i;
@@ -446,7 +446,7 @@ template <typename number>
 template <typename number2>
 inline void
 PreconditionBlockBase<number>::inverse_Tvmult(size_type              i,
-                                              Vector<number2> &      dst,
+                                              Vector<number2>       &dst,
                                               const Vector<number2> &src) const
 {
   const size_type ii = same_diagonal() ? 0U : i;
@@ -650,9 +650,11 @@ PreconditionBlockBase<number>::log_statistics() const
               << ']' << std::endl;
     }
   else if (inversion == householder)
-    {}
+    {
+    }
   else if (inversion == gauss_jordan)
-    {}
+    {
+    }
   else
     {
       Assert(false, ExcNotImplemented());
index 760872d897c77d49dbac84e99d9914a7b154fa62..e89fd41badee131f01f21a3739174e7b08ed17e4 100644 (file)
@@ -110,7 +110,7 @@ public:
    * Constructor. @p omega denotes the damping parameter of the
    * preconditioning.
    */
-  PreconditionSelector(const std::string &                    preconditioning,
+  PreconditionSelector(const std::string                     &preconditioning,
                        const typename VectorType::value_type &omega = 1.);
 
   /**
@@ -204,7 +204,7 @@ private:
 
 template <typename MatrixType, typename VectorType>
 PreconditionSelector<MatrixType, VectorType>::PreconditionSelector(
-  const std::string &                    preconditioning,
+  const std::string                     &preconditioning,
   const typename VectorType::value_type &omega)
   : preconditioning(preconditioning)
   , omega(omega)
@@ -248,7 +248,7 @@ PreconditionSelector<MatrixType, VectorType>::n() const
 
 template <typename MatrixType, typename VectorType>
 void
-PreconditionSelector<MatrixType, VectorType>::vmult(VectorType &      dst,
+PreconditionSelector<MatrixType, VectorType>::vmult(VectorType       &dst,
                                                     const VectorType &src) const
 {
   if (preconditioning == "none")
@@ -280,7 +280,7 @@ PreconditionSelector<MatrixType, VectorType>::vmult(VectorType &      dst,
 template <typename MatrixType, typename VectorType>
 void
 PreconditionSelector<MatrixType, VectorType>::Tvmult(
-  VectorType &      dst,
+  VectorType       &dst,
   const VectorType &src) const
 {
   if (preconditioning == "none")
index fac1bb39d1ab66d27e1e233d9ddc327b5addaebc..81a6424c772a3dfb08b1422d416e7f7fde419380 100644 (file)
@@ -93,7 +93,7 @@ public:
    * If @p transpose is <code>true</code>, $R^Tx=y$ is solved instead.
    */
   void
-  solve(Vector<Number> &      x,
+  solve(Vector<Number>       &x,
         const Vector<Number> &y,
         const bool            transpose = false) const;
 
@@ -406,8 +406,8 @@ public:
   boost::signals2::connection
   connect_append_column_slot(
     const std::function<bool(const Vector<Number> &u,
-                             const Number &        rho2,
-                             const Number &        col_norm_sqr)> &slot);
+                             const Number         &rho2,
+                             const Number         &col_norm_sqr)> &slot);
 
 private:
   /**
@@ -425,8 +425,8 @@ private:
    * linearly independent.
    */
   boost::signals2::signal<bool(const Vector<Number> &u,
-                               const Number &        rho,
-                               const Number &        col_norm_sqr)>
+                               const Number         &rho,
+                               const Number         &col_norm_sqr)>
     column_signal;
 };
 
@@ -448,9 +448,9 @@ namespace internal
               const char            trans,
               const char            diag,
               const types::blas_int n,
-              const Number *        a,
+              const Number         *a,
               const types::blas_int lda,
-              Number *              x,
+              Number               *x,
               const types::blas_int incx);
 
     template <typename Number>
@@ -460,11 +460,11 @@ namespace internal
                const char            diag,
                const types::blas_int n,
                const types::blas_int nrhs,
-               const Number *        a,
+               const Number         *a,
                const types::blas_int lda,
-               Number *              b,
+               Number               *b,
                const types::blas_int ldb,
-               types::blas_int *     info);
+               types::blas_int      *info);
   } // namespace QRImplementation
 } // namespace internal
 
@@ -499,7 +499,7 @@ BaseQR<VectorType>::get_R() const
 
 template <typename VectorType>
 void
-BaseQR<VectorType>::solve(Vector<Number> &      x,
+BaseQR<VectorType>::solve(Vector<Number>       &x,
                           const Vector<Number> &y,
                           const bool            transpose) const
 {
@@ -533,7 +533,7 @@ BaseQR<VectorType>::solve(Vector<Number> &      x,
 
 template <typename VectorType>
 void
-BaseQR<VectorType>::multiply_with_cols(VectorType &          y,
+BaseQR<VectorType>::multiply_with_cols(VectorType           &y,
                                        const Vector<Number> &x) const
 {
   Assert(x.size() == this->current_size,
@@ -548,7 +548,7 @@ BaseQR<VectorType>::multiply_with_cols(VectorType &          y,
 
 template <typename VectorType>
 void
-BaseQR<VectorType>::multiply_with_colsT(Vector<Number> &  y,
+BaseQR<VectorType>::multiply_with_colsT(Vector<Number>   &y,
                                         const VectorType &x) const
 {
   Assert(y.size() == this->current_size,
@@ -576,8 +576,8 @@ template <typename VectorType>
 boost::signals2::connection
 ImplicitQR<VectorType>::connect_append_column_slot(
   const std::function<bool(const Vector<Number> &u,
-                           const Number &        rho,
-                           const Number &        col_norm_sqr)> &slot)
+                           const Number         &rho,
+                           const Number         &col_norm_sqr)> &slot)
 {
   return column_signal.connect(slot);
 }
@@ -698,7 +698,7 @@ ImplicitQR<VectorType>::remove_column(const unsigned int k)
 
 template <typename VectorType>
 void
-ImplicitQR<VectorType>::multiply_with_Q(VectorType &          y,
+ImplicitQR<VectorType>::multiply_with_Q(VectorType           &y,
                                         const Vector<Number> &x) const
 {
   // A = QR
@@ -712,7 +712,7 @@ ImplicitQR<VectorType>::multiply_with_Q(VectorType &          y,
 
 template <typename VectorType>
 void
-ImplicitQR<VectorType>::multiply_with_QT(Vector<Number> &  y,
+ImplicitQR<VectorType>::multiply_with_QT(Vector<Number>   &y,
                                          const VectorType &x) const
 {
   // A = QR
@@ -726,7 +726,7 @@ ImplicitQR<VectorType>::multiply_with_QT(Vector<Number> &  y,
 
 template <typename VectorType>
 void
-ImplicitQR<VectorType>::multiply_with_A(VectorType &          y,
+ImplicitQR<VectorType>::multiply_with_A(VectorType           &y,
                                         const Vector<Number> &x) const
 {
   BaseQR<VectorType>::multiply_with_cols(y, x);
@@ -736,7 +736,7 @@ ImplicitQR<VectorType>::multiply_with_A(VectorType &          y,
 
 template <typename VectorType>
 void
-ImplicitQR<VectorType>::multiply_with_AT(Vector<Number> &  y,
+ImplicitQR<VectorType>::multiply_with_AT(Vector<Number>   &y,
                                          const VectorType &x) const
 {
   BaseQR<VectorType>::multiply_with_colsT(y, x);
index 47857b8e071d0ac397d994281265550ab036f91d..0fae3f43c0f7db9491ba0ccfdda753acbcbbb975 100644 (file)
@@ -613,7 +613,7 @@ namespace LinearAlgebra
     template <typename Number2>
     void
     extract_subvector_to(const std::vector<size_type> &indices,
-                         std::vector<Number2> &        values) const;
+                         std::vector<Number2>         &values) const;
 
     /**
      * Extract a range of elements all at once.
@@ -621,7 +621,7 @@ namespace LinearAlgebra
     virtual void
     extract_subvector_to(
       const ArrayView<const types::global_dof_index> &indices,
-      ArrayView<Number> &                             entries) const override;
+      ArrayView<Number>                              &entries) const override;
 
     /**
      * Instead of getting individual elements of a vector via operator(),
@@ -696,7 +696,7 @@ namespace LinearAlgebra
     template <typename Number2>
     void
     add(const std::vector<size_type> &indices,
-        const std::vector<Number2> &  values);
+        const std::vector<Number2>   &values);
 
     /**
      * This function is similar to the previous one but takes a
@@ -704,7 +704,7 @@ namespace LinearAlgebra
      */
     template <typename Number2>
     void
-    add(const std::vector<size_type> &  indices,
+    add(const std::vector<size_type>   &indices,
         const ReadWriteVector<Number2> &values);
 
     /**
@@ -716,13 +716,13 @@ namespace LinearAlgebra
     void
     add(const size_type  n_elements,
         const size_type *indices,
-        const Number2 *  values);
+        const Number2   *values);
 
     /**
      * Prints the vector to the output stream @p out.
      */
     void
-    print(std::ostream &     out,
+    print(std::ostream      &out,
           const unsigned int precision  = 3,
           const bool         scientific = true) const;
 
@@ -746,8 +746,8 @@ namespace LinearAlgebra
                      dealii::is_tpetra_type<Number>::value>
     import_elements(
       const Tpetra::Vector<Number, int, types::signed_global_dof_index>
-        &                     tpetra_vector,
-      const IndexSet &        locally_owned_elements,
+                             &tpetra_vector,
+      const IndexSet         &locally_owned_elements,
       VectorOperation::values operation,
       const MPI_Comm          mpi_comm,
       const std::shared_ptr<const Utilities::MPI::CommunicationPatternBase>
@@ -762,7 +762,7 @@ namespace LinearAlgebra
     void
     import_elements(
       const Epetra_MultiVector &multivector,
-      const IndexSet &          locally_owned_elements,
+      const IndexSet           &locally_owned_elements,
       VectorOperation::values   operation,
       const MPI_Comm            mpi_comm,
       const std::shared_ptr<const Utilities::MPI::CommunicationPatternBase>
@@ -1031,7 +1031,7 @@ namespace LinearAlgebra
   inline void
   ReadWriteVector<Number>::extract_subvector_to(
     const std::vector<size_type> &indices,
-    std::vector<Number2> &        extracted_values) const
+    std::vector<Number2>         &extracted_values) const
   {
     for (size_type i = 0; i < indices.size(); ++i)
       extracted_values[i] = operator()(indices[i]);
@@ -1043,7 +1043,7 @@ namespace LinearAlgebra
   void
   ReadWriteVector<Number>::extract_subvector_to(
     const ArrayView<const types::global_dof_index> &indices,
-    ArrayView<Number> &                             entries) const
+    ArrayView<Number>                              &entries) const
   {
     AssertDimension(indices.size(), entries.size());
     for (unsigned int i = 0; i < indices.size(); ++i)
@@ -1096,7 +1096,7 @@ namespace LinearAlgebra
   template <typename Number2>
   inline void
   ReadWriteVector<Number>::add(const std::vector<size_type> &indices,
-                               const std::vector<Number2> &  values)
+                               const std::vector<Number2>   &values)
   {
     AssertDimension(indices.size(), values.size());
     add(indices.size(), indices.data(), values.data());
@@ -1107,7 +1107,7 @@ namespace LinearAlgebra
   template <typename Number>
   template <typename Number2>
   inline void
-  ReadWriteVector<Number>::add(const std::vector<size_type> &  indices,
+  ReadWriteVector<Number>::add(const std::vector<size_type>   &indices,
                                const ReadWriteVector<Number2> &values)
   {
     const size_type size = indices.size();
@@ -1128,7 +1128,7 @@ namespace LinearAlgebra
   inline void
   ReadWriteVector<Number>::add(const size_type  n_indices,
                                const size_type *indices,
-                               const Number2 *  values_to_add)
+                               const Number2   *values_to_add)
   {
     for (size_type i = 0; i < n_indices; ++i)
       {
@@ -1159,7 +1159,7 @@ namespace LinearAlgebra
   template <typename Functor>
   inline ReadWriteVector<Number>::FunctorTemplate<Functor>::FunctorTemplate(
     ReadWriteVector<Number> &parent,
-    const Functor &          functor)
+    const Functor           &functor)
     : parent(parent)
     , functor(functor)
   {}
index edc3178f69ff110ed0fb5d706c866e0ce4fb285a..710c5c7f85771778cd0fd5228e005ddec6716aac 100644 (file)
@@ -97,8 +97,8 @@ namespace LinearAlgebra
       static void
       import_elements(
         const std::shared_ptr<const ::dealii::Utilities::MPI::Partitioner>
-          &                                               communication_pattern,
-        const Number *                                    values,
+                                                         &communication_pattern,
+        const Number                                     *values,
         const VectorOperation::values                     operation,
         ::dealii::LinearAlgebra::ReadWriteVector<Number> &rw_vector)
       {
@@ -125,8 +125,8 @@ namespace LinearAlgebra
       static void
       import_elements(
         const std::shared_ptr<const ::dealii::Utilities::MPI::Partitioner>
-          &                                               communication_pattern,
-        const Number *                                    values,
+                                                         &communication_pattern,
+        const Number                                     *values,
         const VectorOperation::values                     operation,
         ::dealii::LinearAlgebra::ReadWriteVector<Number> &rw_vector)
       {
@@ -169,8 +169,8 @@ namespace LinearAlgebra
       static void
       import_elements(
         const std::shared_ptr<const ::dealii::Utilities::MPI::Partitioner>
-          &                                               communication_pattern,
-        const Number *                                    values,
+                                                         &communication_pattern,
+        const Number                                     *values,
         const VectorOperation::values                     operation,
         ::dealii::LinearAlgebra::ReadWriteVector<Number> &rw_vector)
       {
@@ -418,7 +418,7 @@ namespace LinearAlgebra
   {
     template <typename VectorType, typename Number>
     void
-    import_serial_vector(const VectorType &       values,
+    import_serial_vector(const VectorType        &values,
                          VectorOperation::values  operation,
                          ReadWriteVector<Number> &rw_vector)
     {
@@ -504,7 +504,7 @@ namespace LinearAlgebra
     void
     copy_petsc_vector(const PETSC_Number *petsc_start_ptr,
                       const PETSC_Number *petsc_end_ptr,
-                      Number *            ptr)
+                      Number             *ptr)
     {
       std::copy(petsc_start_ptr, petsc_end_ptr, ptr);
     }
@@ -513,7 +513,7 @@ namespace LinearAlgebra
     void
     copy_petsc_vector(const std::complex<PETSC_Number> *petsc_start_ptr,
                       const std::complex<PETSC_Number> *petsc_end_ptr,
-                      std::complex<Number> *            ptr)
+                      std::complex<Number>             *ptr)
     {
       std::copy(petsc_start_ptr, petsc_end_ptr, ptr);
     }
@@ -567,7 +567,7 @@ namespace LinearAlgebra
                    dealii::is_tpetra_type<Number>::value>
   ReadWriteVector<Number>::import_elements(
     const Tpetra::Vector<Number, int, types::signed_global_dof_index> &vector,
-    const IndexSet &        source_elements,
+    const IndexSet         &source_elements,
     VectorOperation::values operation,
     const MPI_Comm          mpi_comm,
     const std::shared_ptr<const Utilities::MPI::CommunicationPatternBase>
@@ -684,7 +684,7 @@ namespace LinearAlgebra
   void
   ReadWriteVector<Number>::import_elements(
     const Epetra_MultiVector &multivector,
-    const IndexSet &          source_elements,
+    const IndexSet           &source_elements,
     VectorOperation::values   operation,
     const MPI_Comm            mpi_comm,
     const std::shared_ptr<const Utilities::MPI::CommunicationPatternBase>
@@ -1001,7 +1001,7 @@ namespace LinearAlgebra
 
   template <typename Number>
   void
-  ReadWriteVector<Number>::print(std::ostream &     out,
+  ReadWriteVector<Number>::print(std::ostream      &out,
                                  const unsigned int precision,
                                  const bool         scientific) const
   {
index ca281adf08c97bf0b9706c5dd00bc8c93dbbce22..3d886980aa8d29ea196967317f3620c43a2d5e5d 100644 (file)
@@ -91,7 +91,7 @@ public:
       const typename PreconditionBlockBase<InverseNumberType>::Inversion
         inversion = PreconditionBlockBase<InverseNumberType>::gauss_jordan,
       const double threshold         = 0.,
-      VectorType temp_ghost_vector = nullptr);
+      VectorType  *temp_ghost_vector = nullptr);
 
     /**
      * The mapping from indices to blocks. Each row of this pattern enumerates
@@ -236,7 +236,7 @@ protected:
    * @p prev after this.
    */
   void
-  do_step(VectorType &      dst,
+  do_step(VectorType       &dst,
           const VectorType &prev,
           const VectorType &src,
           const bool        backward) const;
index bc76f86fb4767e4d5cad8943f46b6bb89dc08eea..abc2e8561070937a76d1cabb1cd681fbdc53a2c4 100644 (file)
@@ -34,7 +34,7 @@ inline RelaxationBlock<MatrixType, InverseNumberType, VectorType>::
     const typename PreconditionBlockBase<InverseNumberType>::Inversion
                  inversion,
     const double threshold,
-    VectorType temp_ghost_vector)
+    VectorType  *temp_ghost_vector)
   : relaxation(relaxation)
   , invert_diagonal(invert_diagonal)
   , same_diagonal(same_diagonal)
@@ -57,7 +57,7 @@ RelaxationBlock<MatrixType, InverseNumberType, VectorType>::AdditionalData::
 template <typename MatrixType, typename InverseNumberType, typename VectorType>
 inline void
 RelaxationBlock<MatrixType, InverseNumberType, VectorType>::initialize(
-  const MatrixType &    M,
+  const MatrixType     &M,
   const AdditionalData &parameters)
 {
   Assert(parameters.invert_diagonal, ExcNotImplemented());
@@ -117,7 +117,7 @@ RelaxationBlock<MatrixType, InverseNumberType, VectorType>::block_kernel(
   const size_type block_begin,
   const size_type block_end)
 {
-  const MatrixType &            M = *(this->A);
+  const MatrixType             &M = *(this->A);
   FullMatrix<InverseNumberType> M_cell;
 
   for (size_type block = block_begin; block < block_end; ++block)
@@ -199,7 +199,7 @@ namespace internal
   template <>
   inline const TrilinosWrappers::MPI::Vector &
   prepare_ghost_vector(const TrilinosWrappers::MPI::Vector &prev,
-                       TrilinosWrappers::MPI::Vector *      other)
+                       TrilinosWrappers::MPI::Vector       *other)
   {
     Assert(
       other != nullptr,
@@ -217,7 +217,7 @@ namespace internal
 template <typename MatrixType, typename InverseNumberType, typename VectorType>
 inline void
 RelaxationBlock<MatrixType, InverseNumberType, VectorType>::do_step(
-  VectorType &      dst,
+  VectorType       &dst,
   const VectorType &prev,
   const VectorType &src,
   const bool        backward) const
@@ -227,7 +227,7 @@ RelaxationBlock<MatrixType, InverseNumberType, VectorType>::do_step(
   const VectorType &ghosted_prev =
     internal::prepare_ghost_vector(prev, additional_data->temp_ghost_vector);
 
-  const MatrixType &                      M = *this->A;
+  const MatrixType                       &M = *this->A;
   Vector<typename VectorType::value_type> b_cell, x_cell;
 
   const bool         permutation_empty = additional_data->order.empty();
@@ -292,7 +292,7 @@ RelaxationBlock<MatrixType, InverseNumberType, VectorType>::do_step(
 template <typename MatrixType, typename InverseNumberType, typename VectorType>
 void
 RelaxationBlockJacobi<MatrixType, InverseNumberType, VectorType>::step(
-  VectorType &      dst,
+  VectorType       &dst,
   const VectorType &src) const
 {
   GrowingVectorMemory<VectorType>            mem;
@@ -306,7 +306,7 @@ RelaxationBlockJacobi<MatrixType, InverseNumberType, VectorType>::step(
 template <typename MatrixType, typename InverseNumberType, typename VectorType>
 void
 RelaxationBlockJacobi<MatrixType, InverseNumberType, VectorType>::Tstep(
-  VectorType &      dst,
+  VectorType       &dst,
   const VectorType &src) const
 {
   GrowingVectorMemory<VectorType>            mem;
@@ -320,7 +320,7 @@ RelaxationBlockJacobi<MatrixType, InverseNumberType, VectorType>::Tstep(
 template <typename MatrixType, typename InverseNumberType, typename VectorType>
 void
 RelaxationBlockJacobi<MatrixType, InverseNumberType, VectorType>::vmult(
-  VectorType &      dst,
+  VectorType       &dst,
   const VectorType &src) const
 {
   GrowingVectorMemory<VectorType>            mem;
@@ -334,7 +334,7 @@ RelaxationBlockJacobi<MatrixType, InverseNumberType, VectorType>::vmult(
 template <typename MatrixType, typename InverseNumberType, typename VectorType>
 void
 RelaxationBlockJacobi<MatrixType, InverseNumberType, VectorType>::Tvmult(
-  VectorType &      dst,
+  VectorType       &dst,
   const VectorType &src) const
 {
   GrowingVectorMemory<VectorType>            mem;
@@ -350,7 +350,7 @@ RelaxationBlockJacobi<MatrixType, InverseNumberType, VectorType>::Tvmult(
 template <typename MatrixType, typename InverseNumberType, typename VectorType>
 void
 RelaxationBlockSOR<MatrixType, InverseNumberType, VectorType>::step(
-  VectorType &      dst,
+  VectorType       &dst,
   const VectorType &src) const
 {
   this->do_step(dst, dst, src, false);
@@ -360,7 +360,7 @@ RelaxationBlockSOR<MatrixType, InverseNumberType, VectorType>::step(
 template <typename MatrixType, typename InverseNumberType, typename VectorType>
 void
 RelaxationBlockSOR<MatrixType, InverseNumberType, VectorType>::Tstep(
-  VectorType &      dst,
+  VectorType       &dst,
   const VectorType &src) const
 {
   this->do_step(dst, dst, src, true);
@@ -370,7 +370,7 @@ RelaxationBlockSOR<MatrixType, InverseNumberType, VectorType>::Tstep(
 template <typename MatrixType, typename InverseNumberType, typename VectorType>
 void
 RelaxationBlockSOR<MatrixType, InverseNumberType, VectorType>::vmult(
-  VectorType &      dst,
+  VectorType       &dst,
   const VectorType &src) const
 {
   dst = 0;
@@ -381,7 +381,7 @@ RelaxationBlockSOR<MatrixType, InverseNumberType, VectorType>::vmult(
 template <typename MatrixType, typename InverseNumberType, typename VectorType>
 void
 RelaxationBlockSOR<MatrixType, InverseNumberType, VectorType>::Tvmult(
-  VectorType &      dst,
+  VectorType       &dst,
   const VectorType &src) const
 {
   dst = 0;
@@ -394,7 +394,7 @@ RelaxationBlockSOR<MatrixType, InverseNumberType, VectorType>::Tvmult(
 template <typename MatrixType, typename InverseNumberType, typename VectorType>
 void
 RelaxationBlockSSOR<MatrixType, InverseNumberType, VectorType>::step(
-  VectorType &      dst,
+  VectorType       &dst,
   const VectorType &src) const
 {
   this->do_step(dst, dst, src, false);
@@ -405,7 +405,7 @@ RelaxationBlockSSOR<MatrixType, InverseNumberType, VectorType>::step(
 template <typename MatrixType, typename InverseNumberType, typename VectorType>
 void
 RelaxationBlockSSOR<MatrixType, InverseNumberType, VectorType>::Tstep(
-  VectorType &      dst,
+  VectorType       &dst,
   const VectorType &src) const
 {
   this->do_step(dst, dst, src, true);
@@ -416,7 +416,7 @@ RelaxationBlockSSOR<MatrixType, InverseNumberType, VectorType>::Tstep(
 template <typename MatrixType, typename InverseNumberType, typename VectorType>
 void
 RelaxationBlockSSOR<MatrixType, InverseNumberType, VectorType>::vmult(
-  VectorType &      dst,
+  VectorType       &dst,
   const VectorType &src) const
 {
   dst = 0;
@@ -428,7 +428,7 @@ RelaxationBlockSSOR<MatrixType, InverseNumberType, VectorType>::vmult(
 template <typename MatrixType, typename InverseNumberType, typename VectorType>
 void
 RelaxationBlockSSOR<MatrixType, InverseNumberType, VectorType>::Tvmult(
-  VectorType &      dst,
+  VectorType       &dst,
   const VectorType &src) const
 {
   dst = 0;
index b549be8ff9d85e80736e71036b39409e6224ef9b..e6555ae8ad9d721fbb5733a5e9e00275007715ce 100644 (file)
@@ -125,7 +125,7 @@ public:
    * In general, it is recommended to use powers of $2$, e.g. $16,32,64, \dots$.
    */
   ScaLAPACKMatrix(
-    const std::string &                                       filename,
+    const std::string                                        &filename,
     const std::shared_ptr<const Utilities::MPI::ProcessGrid> &process_grid,
     const size_type row_block_size    = 32,
     const size_type column_block_size = 32);
@@ -260,7 +260,7 @@ public:
    * with the same MPI communicator.
    */
   void
-  copy_to(ScaLAPACKMatrix<NumberType> &                B,
+  copy_to(ScaLAPACKMatrix<NumberType>                 &B,
           const std::pair<unsigned int, unsigned int> &offset_A,
           const std::pair<unsigned int, unsigned int> &offset_B,
           const std::pair<unsigned int, unsigned int> &submatrix_size) const;
@@ -341,7 +341,7 @@ public:
   mult(const NumberType                   b,
        const ScaLAPACKMatrix<NumberType> &B,
        const NumberType                   c,
-       ScaLAPACKMatrix<NumberType> &      C,
+       ScaLAPACKMatrix<NumberType>       &C,
        const bool                         transpose_A = false,
        const bool                         transpose_B = false) const;
 
@@ -363,7 +363,7 @@ public:
    * $NB_A=MB_B$ and $NB_B=NB_C$.
    */
   void
-  mmult(ScaLAPACKMatrix<NumberType> &      C,
+  mmult(ScaLAPACKMatrix<NumberType>       &C,
         const ScaLAPACKMatrix<NumberType> &B,
         const bool                         adding = false) const;
 
@@ -385,7 +385,7 @@ public:
    * $NB_A=MB_C$ and $NB_B=NB_C$.
    */
   void
-  Tmmult(ScaLAPACKMatrix<NumberType> &      C,
+  Tmmult(ScaLAPACKMatrix<NumberType>       &C,
          const ScaLAPACKMatrix<NumberType> &B,
          const bool                         adding = false) const;
 
@@ -407,7 +407,7 @@ public:
    * $NB_A=NB_B$ and $MB_B=NB_C$.
    */
   void
-  mTmult(ScaLAPACKMatrix<NumberType> &      C,
+  mTmult(ScaLAPACKMatrix<NumberType>       &C,
          const ScaLAPACKMatrix<NumberType> &B,
          const bool                         adding = false) const;
 
@@ -430,7 +430,7 @@ public:
    * $NB_A=MB_C$ and $MB_B=NB_C$.
    */
   void
-  TmTmult(ScaLAPACKMatrix<NumberType> &      C,
+  TmTmult(ScaLAPACKMatrix<NumberType>       &C,
           const ScaLAPACKMatrix<NumberType> &B,
           const bool                         adding = false) const;
 
@@ -455,7 +455,7 @@ public:
    * and <tt>chunk_size.second</tt> the number of columns.
    */
   void
-  save(const std::string &                          filename,
+  save(const std::string                           &filename,
        const std::pair<unsigned int, unsigned int> &chunk_size =
          std::make_pair(numbers::invalid_unsigned_int,
                         numbers::invalid_unsigned_int)) const;
@@ -855,7 +855,7 @@ private:
    * using serial routines
    */
   void
-  save_serial(const std::string &                          filename,
+  save_serial(const std::string                           &filename,
               const std::pair<unsigned int, unsigned int> &chunk_size) const;
 
   /*
@@ -870,7 +870,7 @@ private:
    * using parallel routines
    */
   void
-  save_parallel(const std::string &                          filename,
+  save_parallel(const std::string                           &filename,
                 const std::pair<unsigned int, unsigned int> &chunk_size) const;
 
   /*
index f2503345bd1304c36ab32a6ae6a1e022049dec45..d568e1e4ebc95bd466c58aee0c34f4cc1f30fa57 100644 (file)
@@ -76,7 +76,7 @@ extern "C"
    * https://www.ibm.com/support/knowledgecenter/en/SSNR5K_4.2.0/com.ibm.cluster.pessl.v4r2.pssl100.doc/am6gr_dbint.htm
    */
   void
-  Cblacs_gridinit(int *       context,
+  Cblacs_gridinit(int        *context,
                   const char *order,
                   int         grid_height,
                   int         grid_width);
@@ -169,20 +169,20 @@ extern "C"
    */
   void
   pdpotrf_(const char *UPLO,
-           const int N,
-           double *    A,
-           const int IA,
-           const int JA,
-           const int DESCA,
-           int *       INFO);
+           const int  *N,
+           double     *A,
+           const int  *IA,
+           const int  *JA,
+           const int  *DESCA,
+           int        *INFO);
   void
   pspotrf_(const char *UPLO,
-           const int N,
-           float *     A,
-           const int IA,
-           const int JA,
-           const int DESCA,
-           int *       INFO);
+           const int  *N,
+           float      *A,
+           const int  *IA,
+           const int  *JA,
+           const int  *DESCA,
+           int        *INFO);
 
   /**
    * Computes an LU factorization of a general distributed matrix sub( A )
@@ -194,21 +194,21 @@ extern "C"
   void
   pdgetrf_(const int *m,
            const int *n,
-           double *   A,
+           double    *A,
            const int *IA,
            const int *JA,
            const int *DESCA,
-           int *      ipiv,
-           int *      INFO);
+           int       *ipiv,
+           int       *INFO);
   void
   psgetrf_(const int *m,
            const int *n,
-           float *    A,
+           float     *A,
            const int *IA,
            const int *JA,
            const int *DESCA,
-           int *      ipiv,
-           int *      INFO);
+           int       *ipiv,
+           int       *INFO);
 
   /**
    * Compute the inverse of a real symmetric positive definite
@@ -222,20 +222,20 @@ extern "C"
    */
   void
   pdpotri_(const char *UPLO,
-           const int N,
-           double *    A,
-           const int IA,
-           const int JA,
-           const int DESCA,
-           int *       INFO);
+           const int  *N,
+           double     *A,
+           const int  *IA,
+           const int  *JA,
+           const int  *DESCA,
+           int        *INFO);
   void
   pspotri_(const char *UPLO,
-           const int N,
-           float *     A,
-           const int IA,
-           const int JA,
-           const int DESCA,
-           int *       INFO);
+           const int  *N,
+           float      *A,
+           const int  *IA,
+           const int  *JA,
+           const int  *DESCA,
+           int        *INFO);
 
   /**
    * PDGETRI computes the inverse of a distributed matrix using the LU
@@ -248,28 +248,28 @@ extern "C"
    */
   void
   pdgetri_(const int *N,
-           double *   A,
+           double    *A,
            const int *IA,
            const int *JA,
            const int *DESCA,
            const int *ipiv,
-           double *   work,
-           int *      lwork,
-           int *      iwork,
-           int *      liwork,
-           int *      info);
+           double    *work,
+           int       *lwork,
+           int       *iwork,
+           int       *liwork,
+           int       *info);
   void
   psgetri_(const int *N,
-           float *    A,
+           float     *A,
            const int *IA,
            const int *JA,
            const int *DESCA,
            const int *ipiv,
-           float *    work,
-           int *      lwork,
-           int *      iwork,
-           int *      liwork,
-           int *      info);
+           float     *work,
+           int       *lwork,
+           int       *iwork,
+           int       *liwork,
+           int       *info);
 
 
   /**
@@ -283,21 +283,21 @@ extern "C"
   void
   pdtrtri_(const char *UPLO,
            const char *DIAG,
-           const int N,
-           double *    A,
-           const int IA,
-           const int JA,
-           const int DESCA,
-           int *       INFO);
+           const int  *N,
+           double     *A,
+           const int  *IA,
+           const int  *JA,
+           const int  *DESCA,
+           int        *INFO);
   void
   pstrtri_(const char *UPLO,
            const char *DIAG,
-           const int N,
-           float *     A,
-           const int IA,
-           const int JA,
-           const int DESCA,
-           int *       INFO);
+           const int  *N,
+           float      *A,
+           const int  *IA,
+           const int  *JA,
+           const int  *DESCA,
+           int        *INFO);
 
   /**
    * Estimate the reciprocal of the condition number (in the
@@ -309,33 +309,33 @@ extern "C"
    * https://software.intel.com/en-us/mkl-developer-reference-fortran-pocon
    */
   void
-  pdpocon_(const char *  uplo,
-           const int *   N,
+  pdpocon_(const char   *uplo,
+           const int    *N,
            const double *A,
-           const int *   IA,
-           const int *   JA,
-           const int *   DESCA,
+           const int    *IA,
+           const int    *JA,
+           const int    *DESCA,
            const double *ANORM,
-           double *      RCOND,
-           double *      WORK,
-           const int *   LWORK,
-           int *         IWORK,
-           const int *   LIWORK,
-           int *         INFO);
+           double       *RCOND,
+           double       *WORK,
+           const int    *LWORK,
+           int          *IWORK,
+           const int    *LIWORK,
+           int          *INFO);
   void
-  pspocon_(const char uplo,
-           const int *  N,
+  pspocon_(const char  *uplo,
+           const int   *N,
            const float *A,
-           const int *  IA,
-           const int *  JA,
-           const int *  DESCA,
+           const int   *IA,
+           const int   *JA,
+           const int   *DESCA,
            const float *ANORM,
-           float *      RCOND,
-           float *      WORK,
-           const int *  LWORK,
-           int *        IWORK,
-           const int *  LIWORK,
-           int *        INFO);
+           float       *RCOND,
+           float       *WORK,
+           const int   *LWORK,
+           int         *IWORK,
+           const int   *LIWORK,
+           int         *INFO);
 
   /**
    * Norm of a real symmetric matrix
@@ -344,23 +344,23 @@ extern "C"
    * https://www.ibm.com/support/knowledgecenter/SSNR5K_4.2.0/com.ibm.cluster.pessl.v4r2.pssl100.doc/am6gr_pdlansy.htm#pdlansy
    */
   double
-  pdlansy_(const char *  norm,
-           const char *  uplo,
-           const int *   N,
+  pdlansy_(const char   *norm,
+           const char   *uplo,
+           const int    *N,
            const double *A,
-           const int *   IA,
-           const int *   JA,
-           const int *   DESCA,
-           double *      work);
+           const int    *IA,
+           const int    *JA,
+           const int    *DESCA,
+           double       *work);
   float
-  pslansy_(const char norm,
-           const char uplo,
-           const int *  N,
+  pslansy_(const char  *norm,
+           const char  *uplo,
+           const int   *N,
            const float *A,
-           const int *  IA,
-           const int *  JA,
-           const int *  DESCA,
-           float *      work);
+           const int   *IA,
+           const int   *JA,
+           const int   *DESCA,
+           float       *work);
 
   /**
    * Compute the Least Common Multiple (LCM) of two positive integers @p M and @p N.
@@ -384,7 +384,7 @@ extern "C"
    * Initialize the descriptor vector with the 8 input arguments
    */
   void
-  descinit_(int *      desc,
+  descinit_(int       *desc,
             const int *m,
             const int *n,
             const int *mb,
@@ -393,7 +393,7 @@ extern "C"
             const int *icsrc,
             const int *ictxt,
             const int *lld,
-            int *      info);
+            int       *info);
 
   /**
    * Compute the global index of a distributed matrix entry
@@ -423,29 +423,29 @@ extern "C"
   void
   pdgesv_(const int *n,
           const int *nrhs,
-          double *   A,
+          double    *A,
           const int *ia,
           const int *ja,
           const int *desca,
-          int *      ipiv,
-          double *   B,
+          int       *ipiv,
+          double    *B,
           const int *ib,
           const int *jb,
           const int *descb,
-          int *      info);
+          int       *info);
   void
   psgesv_(const int *n,
           const int *nrhs,
-          float *    A,
+          float     *A,
           const int *ia,
           const int *ja,
           const int *desca,
-          int *      ipiv,
-          float *    B,
+          int       *ipiv,
+          float     *B,
           const int *ib,
           const int *jb,
           const int *descb,
-          int *      info);
+          int       *info);
 
   /**
    * Perform one of the matrix-matrix operations:
@@ -460,68 +460,68 @@ extern "C"
    * $op(X) = X$ or $op(X) = X^T$.
    */
   void
-  pdgemm_(const char *  transa,
-          const char *  transb,
-          const int *   m,
-          const int *   n,
-          const int *   k,
+  pdgemm_(const char   *transa,
+          const char   *transb,
+          const int    *m,
+          const int    *n,
+          const int    *k,
           const double *alpha,
           const double *A,
-          const int *   IA,
-          const int *   JA,
-          const int *   DESCA,
+          const int    *IA,
+          const int    *JA,
+          const int    *DESCA,
           const double *B,
-          const int *   IB,
-          const int *   JB,
-          const int *   DESCB,
+          const int    *IB,
+          const int    *JB,
+          const int    *DESCB,
           const double *beta,
-          double *      C,
-          const int *   IC,
-          const int *   JC,
-          const int *   DESCC);
+          double       *C,
+          const int    *IC,
+          const int    *JC,
+          const int    *DESCC);
   void
-  psgemm_(const char transa,
-          const char transb,
-          const int *  m,
-          const int *  n,
-          const int *  k,
+  psgemm_(const char  *transa,
+          const char  *transb,
+          const int   *m,
+          const int   *n,
+          const int   *k,
           const float *alpha,
           const float *A,
-          const int *  IA,
-          const int *  JA,
-          const int *  DESCA,
+          const int   *IA,
+          const int   *JA,
+          const int   *DESCA,
           const float *B,
-          const int *  IB,
-          const int *  JB,
-          const int *  DESCB,
+          const int   *IB,
+          const int   *JB,
+          const int   *DESCB,
           const float *beta,
-          float *      C,
-          const int *  IC,
-          const int *  JC,
-          const int *  DESCC);
+          float       *C,
+          const int   *IC,
+          const int   *JC,
+          const int   *DESCC);
 
   /**
    * Return the value of the one norm, or the Frobenius norm, or the infinity
    * norm, or the element of largest absolute value of a distributed matrix
    */
   double
-  pdlange_(const char *  norm,
-           const int *   m,
-           const int *   n,
+  pdlange_(const char   *norm,
+           const int    *m,
+           const int    *n,
            const double *A,
-           const int *   ia,
-           const int *   ja,
-           const int *   desca,
-           double *      work);
+           const int    *ia,
+           const int    *ja,
+           const int    *desca,
+           double       *work);
   float
-  pslange_(const char norm,
-           const int *  m,
-           const int *  n,
+  pslange_(const char  *norm,
+           const int   *m,
+           const int   *n,
            const float *A,
-           const int *  ia,
-           const int *  ja,
-           const int *  desca,
-           float *      work);
+           const int   *ia,
+           const int   *ja,
+           const int   *desca,
+           float       *work);
 
   /**
    * Compute the process coordinate which possesses the entry of a
@@ -548,35 +548,35 @@ extern "C"
   void
   pdsyev_(const char *jobz,
           const char *uplo,
-          const int m,
-          double *    A,
-          const int ia,
-          const int ja,
-          int *       desca,
-          double *    w,
-          double *    z,
-          const int iz,
-          const int jz,
-          int *       descz,
-          double *    work,
-          const int lwork,
-          int *       info);
+          const int  *m,
+          double     *A,
+          const int  *ia,
+          const int  *ja,
+          int        *desca,
+          double     *w,
+          double     *z,
+          const int  *iz,
+          const int  *jz,
+          int        *descz,
+          double     *work,
+          const int  *lwork,
+          int        *info);
   void
   pssyev_(const char *jobz,
           const char *uplo,
-          const int m,
-          float *     A,
-          const int ia,
-          const int ja,
-          int *       desca,
-          float *     w,
-          float *     z,
-          const int iz,
-          const int jz,
-          int *       descz,
-          float *     work,
-          const int lwork,
-          int *       info);
+          const int  *m,
+          float      *A,
+          const int  *ia,
+          const int  *ja,
+          int        *desca,
+          float      *w,
+          float      *z,
+          const int  *iz,
+          const int  *jz,
+          int        *descz,
+          float      *work,
+          const int  *lwork,
+          int        *info);
 
   /**
    * Copy all or a part of a distributed matrix A to another distributed matrix
@@ -586,29 +586,29 @@ extern "C"
    * $B(ib:ib+m-1, jb:jb+n-1)$.
    */
   void
-  pdlacpy_(const char *  uplo,
-           const int *   m,
-           const int *   n,
+  pdlacpy_(const char   *uplo,
+           const int    *m,
+           const int    *n,
            const double *A,
-           const int *   ia,
-           const int *   ja,
-           const int *   desca,
-           double *      B,
-           const int *   ib,
-           const int *   jb,
-           const int *   descb);
+           const int    *ia,
+           const int    *ja,
+           const int    *desca,
+           double       *B,
+           const int    *ib,
+           const int    *jb,
+           const int    *descb);
   void
-  pslacpy_(const char uplo,
-           const int *  m,
-           const int *  n,
+  pslacpy_(const char  *uplo,
+           const int   *m,
+           const int   *n,
            const float *A,
-           const int *  ia,
-           const int *  ja,
-           const int *  desca,
-           float *      B,
-           const int *  ib,
-           const int *  jb,
-           const int *  descb);
+           const int   *ia,
+           const int   *ja,
+           const int   *desca,
+           float       *B,
+           const int   *ib,
+           const int   *jb,
+           const int   *descb);
 
   /**
    * Copies the content of a general rectangular distributed matrix @p A to another distributed matrix @p B
@@ -619,29 +619,29 @@ extern "C"
    * A and B
    */
   void
-  pdgemr2d_(const int *   m,
-            const int *   n,
+  pdgemr2d_(const int    *m,
+            const int    *n,
             const double *A,
-            const int *   ia,
-            const int *   ja,
-            const int *   desca,
-            double *      B,
-            const int *   ib,
-            const int *   jb,
-            const int *   descb,
-            const int *   ictxt);
+            const int    *ia,
+            const int    *ja,
+            const int    *desca,
+            double       *B,
+            const int    *ib,
+            const int    *jb,
+            const int    *descb,
+            const int    *ictxt);
   void
-  psgemr2d_(const int *  m,
-            const int *  n,
+  psgemr2d_(const int   *m,
+            const int   *n,
             const float *A,
-            const int *  ia,
-            const int *  ja,
-            const int *  desca,
-            float *      B,
-            const int *  ib,
-            const int *  jb,
-            const int *  descb,
-            const int *  ictxt);
+            const int   *ia,
+            const int   *ja,
+            const int   *desca,
+            float       *B,
+            const int   *ib,
+            const int   *jb,
+            const int   *descb,
+            const int   *ictxt);
 
   /**
    * helper routines determining machine precision
@@ -659,65 +659,65 @@ extern "C"
    * eigenvalues.
    */
   void
-  pdsyevx_(const char *  jobz,
-           const char *  range,
-           const char *  uplo,
-           const int *   n,
-           double *      A,
-           const int *   ia,
-           const int *   ja,
-           const int *   desca,
+  pdsyevx_(const char   *jobz,
+           const char   *range,
+           const char   *uplo,
+           const int    *n,
+           double       *A,
+           const int    *ia,
+           const int    *ja,
+           const int    *desca,
            const double *VL,
            const double *VU,
-           const int *   il,
-           const int *   iu,
+           const int    *il,
+           const int    *iu,
            const double *abstol,
-           const int *   m,
-           const int *   nz,
-           double *      w,
-           double *      orfac,
-           double *      Z,
-           const int *   iz,
-           const int *   jz,
-           const int *   descz,
-           double *      work,
-           int *         lwork,
-           int *         iwork,
-           int *         liwork,
-           int *         ifail,
-           int *         iclustr,
-           double *      gap,
-           int *         info);
+           const int    *m,
+           const int    *nz,
+           double       *w,
+           double       *orfac,
+           double       *Z,
+           const int    *iz,
+           const int    *jz,
+           const int    *descz,
+           double       *work,
+           int          *lwork,
+           int          *iwork,
+           int          *liwork,
+           int          *ifail,
+           int          *iclustr,
+           double       *gap,
+           int          *info);
   void
-  pssyevx_(const char jobz,
-           const char range,
-           const char uplo,
-           const int *  n,
-           float *      A,
-           const int *  ia,
-           const int *  ja,
-           const int *  desca,
+  pssyevx_(const char  *jobz,
+           const char  *range,
+           const char  *uplo,
+           const int   *n,
+           float       *A,
+           const int   *ia,
+           const int   *ja,
+           const int   *desca,
            const float *VL,
            const float *VU,
-           const int *  il,
-           const int *  iu,
+           const int   *il,
+           const int   *iu,
            const float *abstol,
-           const int *  m,
-           const int *  nz,
-           float *      w,
-           float *      orfac,
-           float *      Z,
-           const int *  iz,
-           const int *  jz,
-           const int *  descz,
-           float *      work,
-           int *        lwork,
-           int *        iwork,
-           int *        liwork,
-           int *        ifail,
-           int *        iclustr,
-           float *      gap,
-           int *        info);
+           const int   *m,
+           const int   *nz,
+           float       *w,
+           float       *orfac,
+           float       *Z,
+           const int   *iz,
+           const int   *jz,
+           const int   *descz,
+           float       *work,
+           int         *lwork,
+           int         *iwork,
+           int         *liwork,
+           int         *ifail,
+           int         *iclustr,
+           float       *gap,
+           int         *info);
 
   /*
    * PDGESVD computes the singular value decomposition (SVD) of an
@@ -727,45 +727,45 @@ extern "C"
   void
   pdgesvd_(const char *jobu,
            const char *jobvt,
-           const int m,
-           const int n,
-           double *    A,
-           const int ia,
-           const int ja,
-           const int desca,
-           double *    S,
-           double *    U,
-           const int iu,
-           const int ju,
-           const int descu,
-           double *    VT,
-           const int ivt,
-           const int jvt,
-           const int descvt,
-           double *    work,
-           int *       lwork,
-           int *       info);
+           const int  *m,
+           const int  *n,
+           double     *A,
+           const int  *ia,
+           const int  *ja,
+           const int  *desca,
+           double     *S,
+           double     *U,
+           const int  *iu,
+           const int  *ju,
+           const int  *descu,
+           double     *VT,
+           const int  *ivt,
+           const int  *jvt,
+           const int  *descvt,
+           double     *work,
+           int        *lwork,
+           int        *info);
   void
   psgesvd_(const char *jobu,
            const char *jobvt,
-           const int m,
-           const int n,
-           float *     A,
-           const int ia,
-           const int ja,
-           const int desca,
-           float *     S,
-           float *     U,
-           const int iu,
-           const int ju,
-           const int descu,
-           float *     VT,
-           const int ivt,
-           const int jvt,
-           const int descvt,
-           float *     work,
-           int *       lwork,
-           int *       info);
+           const int  *m,
+           const int  *n,
+           float      *A,
+           const int  *ia,
+           const int  *ja,
+           const int  *desca,
+           float      *S,
+           float      *U,
+           const int  *iu,
+           const int  *ju,
+           const int  *descu,
+           float      *VT,
+           const int  *ivt,
+           const int  *jvt,
+           const int  *descvt,
+           float      *work,
+           int        *lwork,
+           int        *info);
 
   /*
    * P_GELS solves overdetermined or underdetermined real linear
@@ -774,36 +774,36 @@ extern "C"
    */
   void
   pdgels_(const char *trans,
-          const int m,
-          const int n,
-          const int nrhs,
-          double *    A,
-          const int ia,
-          const int ja,
-          const int desca,
-          double *    B,
-          const int ib,
-          const int jb,
-          const int descb,
-          double *    work,
-          int *       lwork,
-          int *       info);
+          const int  *m,
+          const int  *n,
+          const int  *nrhs,
+          double     *A,
+          const int  *ia,
+          const int  *ja,
+          const int  *desca,
+          double     *B,
+          const int  *ib,
+          const int  *jb,
+          const int  *descb,
+          double     *work,
+          int        *lwork,
+          int        *info);
   void
   psgels_(const char *trans,
-          const int m,
-          const int n,
-          const int nrhs,
-          float *     A,
-          const int ia,
-          const int ja,
-          const int desca,
-          float *     B,
-          const int ib,
-          const int jb,
-          const int descb,
-          float *     work,
-          int *       lwork,
-          int *       info);
+          const int  *m,
+          const int  *n,
+          const int  *nrhs,
+          float      *A,
+          const int  *ia,
+          const int  *ja,
+          const int  *desca,
+          float      *B,
+          const int  *ib,
+          const int  *jb,
+          const int  *descb,
+          float      *work,
+          int        *lwork,
+          int        *info);
 
   /*
    * Perform matrix sum:
@@ -813,64 +813,64 @@ extern "C"
    * where $op(A)$ denotes either $op(A) = A$ or $op(A)=A^T$.
    */
   void
-  pdgeadd_(const char *  transa,
-           const int *   m,
-           const int *   n,
+  pdgeadd_(const char   *transa,
+           const int    *m,
+           const int    *n,
            const double *alpha,
            const double *A,
-           const int *   IA,
-           const int *   JA,
-           const int *   DESCA,
+           const int    *IA,
+           const int    *JA,
+           const int    *DESCA,
            const double *beta,
-           double *      C,
-           const int *   IC,
-           const int *   JC,
-           const int *   DESCC);
+           double       *C,
+           const int    *IC,
+           const int    *JC,
+           const int    *DESCC);
   void
-  psgeadd_(const char transa,
-           const int *  m,
-           const int *  n,
+  psgeadd_(const char  *transa,
+           const int   *m,
+           const int   *n,
            const float *alpha,
            const float *A,
-           const int *  IA,
-           const int *  JA,
-           const int *  DESCA,
+           const int   *IA,
+           const int   *JA,
+           const int   *DESCA,
            const float *beta,
-           float *      C,
-           const int *  IC,
-           const int *  JC,
-           const int *  DESCC);
+           float       *C,
+           const int   *IC,
+           const int   *JC,
+           const int   *DESCC);
 
   /**
    * Routine to transpose a matrix:
    * C = beta C + alpha A^T
    */
   void
-  pdtran_(const int *   m,
-          const int *   n,
+  pdtran_(const int    *m,
+          const int    *n,
           const double *alpha,
           const double *A,
-          const int *   IA,
-          const int *   JA,
-          const int *   DESCA,
+          const int    *IA,
+          const int    *JA,
+          const int    *DESCA,
           const double *beta,
-          double *      C,
-          const int *   IC,
-          const int *   JC,
-          const int *   DESCC);
+          double       *C,
+          const int    *IC,
+          const int    *JC,
+          const int    *DESCC);
   void
-  pstran_(const int *  m,
-          const int *  n,
+  pstran_(const int   *m,
+          const int   *n,
           const float *alpha,
           const float *A,
-          const int *  IA,
-          const int *  JA,
-          const int *  DESCA,
+          const int   *IA,
+          const int   *JA,
+          const int   *DESCA,
           const float *beta,
-          float *      C,
-          const int *  IC,
-          const int *  JC,
-          const int *  DESCC);
+          float       *C,
+          const int   *IC,
+          const int   *JC,
+          const int   *DESCC);
 
   /**
    * psyevr computes selected eigenvalues and, optionally, eigenvectors
@@ -879,55 +879,55 @@ extern "C"
    * values or a range of indices for the desired eigenvalues.
    */
   void
-  pdsyevr_(const char *  jobz,
-           const char *  range,
-           const char *  uplo,
-           const int *   n,
-           double *      A,
-           const int *   IA,
-           const int *   JA,
-           const int *   DESCA,
+  pdsyevr_(const char   *jobz,
+           const char   *range,
+           const char   *uplo,
+           const int    *n,
+           double       *A,
+           const int    *IA,
+           const int    *JA,
+           const int    *DESCA,
            const double *VL,
            const double *VU,
-           const int *   IL,
-           const int *   IU,
-           int *         m,
-           int *         nz,
-           double *      w,
-           double *      Z,
-           const int *   IZ,
-           const int *   JZ,
-           const int *   DESCZ,
-           double *      work,
-           int *         lwork,
-           int *         iwork,
-           int *         liwork,
-           int *         info);
+           const int    *IL,
+           const int    *IU,
+           int          *m,
+           int          *nz,
+           double       *w,
+           double       *Z,
+           const int    *IZ,
+           const int    *JZ,
+           const int    *DESCZ,
+           double       *work,
+           int          *lwork,
+           int          *iwork,
+           int          *liwork,
+           int          *info);
   void
-  pssyevr_(const char jobz,
-           const char range,
-           const char uplo,
-           const int *  n,
-           float *      A,
-           const int *  IA,
-           const int *  JA,
-           const int *  DESCA,
+  pssyevr_(const char  *jobz,
+           const char  *range,
+           const char  *uplo,
+           const int   *n,
+           float       *A,
+           const int   *IA,
+           const int   *JA,
+           const int   *DESCA,
            const float *VL,
            const float *VU,
-           const int *  IL,
-           const int *  IU,
-           int *        m,
-           int *        nz,
-           float *      w,
-           float *      Z,
-           const int *  IZ,
-           const int *  JZ,
-           const int *  DESCZ,
-           float *      work,
-           int *        lwork,
-           int *        iwork,
-           int *        liwork,
-           int *        info);
+           const int   *IL,
+           const int   *IU,
+           int         *m,
+           int         *nz,
+           float       *w,
+           float       *Z,
+           const int   *IZ,
+           const int   *JZ,
+           const int   *DESCZ,
+           float       *work,
+           int         *lwork,
+           int         *iwork,
+           int         *liwork,
+           int         *info);
 }
 
 
@@ -1003,24 +1003,24 @@ ppotrf(const char * /*UPLO*/,
 
 inline void
 ppotrf(const char *UPLO,
-       const int N,
-       double *    A,
-       const int IA,
-       const int JA,
-       const int DESCA,
-       int *       INFO)
+       const int  *N,
+       double     *A,
+       const int  *IA,
+       const int  *JA,
+       const int  *DESCA,
+       int        *INFO)
 {
   pdpotrf_(UPLO, N, A, IA, JA, DESCA, INFO);
 }
 
 inline void
 ppotrf(const char *UPLO,
-       const int N,
-       float *     A,
-       const int IA,
-       const int JA,
-       const int DESCA,
-       int *       INFO)
+       const int  *N,
+       float      *A,
+       const int  *IA,
+       const int  *JA,
+       const int  *DESCA,
+       int        *INFO)
 {
   pspotrf_(UPLO, N, A, IA, JA, DESCA, INFO);
 }
@@ -1043,12 +1043,12 @@ pgetrf(const int * /*m*/,
 inline void
 pgetrf(const int *m,
        const int *n,
-       double *   A,
+       double    *A,
        const int *IA,
        const int *JA,
        const int *DESCA,
-       int *      ipiv,
-       int *      INFO)
+       int       *ipiv,
+       int       *INFO)
 {
   pdgetrf_(m, n, A, IA, JA, DESCA, ipiv, INFO);
 }
@@ -1056,12 +1056,12 @@ pgetrf(const int *m,
 inline void
 pgetrf(const int *m,
        const int *n,
-       float *    A,
+       float     *A,
        const int *IA,
        const int *JA,
        const int *DESCA,
-       int *      ipiv,
-       int *      INFO)
+       int       *ipiv,
+       int       *INFO)
 {
   psgetrf_(m, n, A, IA, JA, DESCA, ipiv, INFO);
 }
@@ -1082,24 +1082,24 @@ ppotri(const char * /*UPLO*/,
 
 inline void
 ppotri(const char *UPLO,
-       const int N,
-       double *    A,
-       const int IA,
-       const int JA,
-       const int DESCA,
-       int *       INFO)
+       const int  *N,
+       double     *A,
+       const int  *IA,
+       const int  *JA,
+       const int  *DESCA,
+       int        *INFO)
 {
   pdpotri_(UPLO, N, A, IA, JA, DESCA, INFO);
 }
 
 inline void
 ppotri(const char *UPLO,
-       const int N,
-       float *     A,
-       const int IA,
-       const int JA,
-       const int DESCA,
-       int *       INFO)
+       const int  *N,
+       float      *A,
+       const int  *IA,
+       const int  *JA,
+       const int  *DESCA,
+       int        *INFO)
 {
   pspotri_(UPLO, N, A, IA, JA, DESCA, INFO);
 }
@@ -1124,32 +1124,32 @@ pgetri(const int * /*N*/,
 
 inline void
 pgetri(const int *N,
-       double *   A,
+       double    *A,
        const int *IA,
        const int *JA,
        const int *DESCA,
        const int *ipiv,
-       double *   work,
-       int *      lwork,
-       int *      iwork,
-       int *      liwork,
-       int *      info)
+       double    *work,
+       int       *lwork,
+       int       *iwork,
+       int       *liwork,
+       int       *info)
 {
   pdgetri_(N, A, IA, JA, DESCA, ipiv, work, lwork, iwork, liwork, info);
 }
 
 inline void
 pgetri(const int *N,
-       float *    A,
+       float     *A,
        const int *IA,
        const int *JA,
        const int *DESCA,
        const int *ipiv,
-       float *    work,
-       int *      lwork,
-       int *      iwork,
-       int *      liwork,
-       int *      info)
+       float     *work,
+       int       *lwork,
+       int       *iwork,
+       int       *liwork,
+       int       *info)
 {
   psgetri_(N, A, IA, JA, DESCA, ipiv, work, lwork, iwork, liwork, info);
 }
@@ -1171,12 +1171,12 @@ ptrtri(const char * /*UPLO*/,
 inline void
 ptrtri(const char *UPLO,
        const char *DIAG,
-       const int N,
-       double *    A,
-       const int IA,
-       const int JA,
-       const int DESCA,
-       int *       INFO)
+       const int  *N,
+       double     *A,
+       const int  *IA,
+       const int  *JA,
+       const int  *DESCA,
+       int        *INFO)
 {
   pdtrtri_(UPLO, DIAG, N, A, IA, JA, DESCA, INFO);
 }
@@ -1184,12 +1184,12 @@ ptrtri(const char *UPLO,
 inline void
 ptrtri(const char *UPLO,
        const char *DIAG,
-       const int N,
-       float *     A,
-       const int IA,
-       const int JA,
-       const int DESCA,
-       int *       INFO)
+       const int  *N,
+       float      *A,
+       const int  *IA,
+       const int  *JA,
+       const int  *DESCA,
+       int        *INFO)
 {
   pstrtri_(UPLO, DIAG, N, A, IA, JA, DESCA, INFO);
 }
@@ -1214,38 +1214,38 @@ ppocon(const char * /*uplo*/,
 }
 
 inline void
-ppocon(const char *  uplo,
-       const int *   N,
+ppocon(const char   *uplo,
+       const int    *N,
        const double *A,
-       const int *   IA,
-       const int *   JA,
-       const int *   DESCA,
+       const int    *IA,
+       const int    *JA,
+       const int    *DESCA,
        const double *ANORM,
-       double *      RCOND,
-       double *      WORK,
-       const int *   LWORK,
-       int *         IWORK,
-       const int *   LIWORK,
-       int *         INFO)
+       double       *RCOND,
+       double       *WORK,
+       const int    *LWORK,
+       int          *IWORK,
+       const int    *LIWORK,
+       int          *INFO)
 {
   pdpocon_(
     uplo, N, A, IA, JA, DESCA, ANORM, RCOND, WORK, LWORK, IWORK, LIWORK, INFO);
 }
 
 inline void
-ppocon(const char uplo,
-       const int *  N,
+ppocon(const char  *uplo,
+       const int   *N,
        const float *A,
-       const int *  IA,
-       const int *  JA,
-       const int *  DESCA,
+       const int   *IA,
+       const int   *JA,
+       const int   *DESCA,
        const float *ANORM,
-       float *      RCOND,
-       float *      WORK,
-       const int *  LWORK,
-       int *        IWORK,
-       const int *  LIWORK,
-       int *        INFO)
+       float       *RCOND,
+       float       *WORK,
+       const int   *LWORK,
+       int         *IWORK,
+       const int   *LIWORK,
+       int         *INFO)
 {
   pspocon_(
     uplo, N, A, IA, JA, DESCA, ANORM, RCOND, WORK, LWORK, IWORK, LIWORK, INFO);
@@ -1267,27 +1267,27 @@ plansy(const char * /*norm*/,
 }
 
 inline double
-plansy(const char *  norm,
-       const char *  uplo,
-       const int *   N,
+plansy(const char   *norm,
+       const char   *uplo,
+       const int    *N,
        const double *A,
-       const int *   IA,
-       const int *   JA,
-       const int *   DESCA,
-       double *      work)
+       const int    *IA,
+       const int    *JA,
+       const int    *DESCA,
+       double       *work)
 {
   return pdlansy_(norm, uplo, N, A, IA, JA, DESCA, work);
 }
 
 inline float
-plansy(const char norm,
-       const char uplo,
-       const int *  N,
+plansy(const char  *norm,
+       const char  *uplo,
+       const int   *N,
        const float *A,
-       const int *  IA,
-       const int *  JA,
-       const int *  DESCA,
-       float *      work)
+       const int   *IA,
+       const int   *JA,
+       const int   *DESCA,
+       float       *work)
 {
   return pslansy_(norm, uplo, N, A, IA, JA, DESCA, work);
 }
@@ -1314,16 +1314,16 @@ pgesv(const int * /*n*/,
 inline void
 pgesv(const int *n,
       const int *nrhs,
-      double *   A,
+      double    *A,
       const int *ia,
       const int *ja,
       const int *desca,
-      int *      ipiv,
-      double *   B,
+      int       *ipiv,
+      double    *B,
       const int *ib,
       const int *jb,
       const int *descb,
-      int *      info)
+      int       *info)
 {
   pdgesv_(n, nrhs, A, ia, ja, desca, ipiv, B, ib, jb, descb, info);
 }
@@ -1331,16 +1331,16 @@ pgesv(const int *n,
 inline void
 pgesv(const int *n,
       const int *nrhs,
-      float *    A,
+      float     *A,
       const int *ia,
       const int *ja,
       const int *desca,
-      int *      ipiv,
-      float *    B,
+      int       *ipiv,
+      float     *B,
       const int *ib,
       const int *jb,
       const int *descb,
-      int *      info)
+      int       *info)
 {
   psgesv_(n, nrhs, A, ia, ja, desca, ipiv, B, ib, jb, descb, info);
 }
@@ -1372,25 +1372,25 @@ pgemm(const char * /*transa*/,
 }
 
 inline void
-pgemm(const char *  transa,
-      const char *  transb,
-      const int *   m,
-      const int *   n,
-      const int *   k,
+pgemm(const char   *transa,
+      const char   *transb,
+      const int    *m,
+      const int    *n,
+      const int    *k,
       const double *alpha,
       const double *A,
-      const int *   IA,
-      const int *   JA,
-      const int *   DESCA,
+      const int    *IA,
+      const int    *JA,
+      const int    *DESCA,
       const double *B,
-      const int *   IB,
-      const int *   JB,
-      const int *   DESCB,
+      const int    *IB,
+      const int    *JB,
+      const int    *DESCB,
       const double *beta,
-      double *      C,
-      const int *   IC,
-      const int *   JC,
-      const int *   DESCC)
+      double       *C,
+      const int    *IC,
+      const int    *JC,
+      const int    *DESCC)
 {
   pdgemm_(transa,
           transb,
@@ -1414,25 +1414,25 @@ pgemm(const char *  transa,
 }
 
 inline void
-pgemm(const char transa,
-      const char transb,
-      const int *  m,
-      const int *  n,
-      const int *  k,
+pgemm(const char  *transa,
+      const char  *transb,
+      const int   *m,
+      const int   *n,
+      const int   *k,
       const float *alpha,
       const float *A,
-      const int *  IA,
-      const int *  JA,
-      const int *  DESCA,
+      const int   *IA,
+      const int   *JA,
+      const int   *DESCA,
       const float *B,
-      const int *  IB,
-      const int *  JB,
-      const int *  DESCB,
+      const int   *IB,
+      const int   *JB,
+      const int   *DESCB,
       const float *beta,
-      float *      C,
-      const int *  IC,
-      const int *  JC,
-      const int *  DESCC)
+      float       *C,
+      const int   *IC,
+      const int   *JC,
+      const int   *DESCC)
 {
   psgemm_(transa,
           transb,
@@ -1471,27 +1471,27 @@ plange(const char * /*norm*/,
 }
 
 inline double
-plange(const char *  norm,
-       const int *   m,
-       const int *   n,
+plange(const char   *norm,
+       const int    *m,
+       const int    *n,
        const double *A,
-       const int *   ia,
-       const int *   ja,
-       const int *   desca,
-       double *      work)
+       const int    *ia,
+       const int    *ja,
+       const int    *desca,
+       double       *work)
 {
   return pdlange_(norm, m, n, A, ia, ja, desca, work);
 }
 
 inline float
-plange(const char norm,
-       const int *  m,
-       const int *  n,
+plange(const char  *norm,
+       const int   *m,
+       const int   *n,
        const float *A,
-       const int *  ia,
-       const int *  ja,
-       const int *  desca,
-       float *      work)
+       const int   *ia,
+       const int   *ja,
+       const int   *desca,
+       float       *work)
 {
   return pslange_(norm, m, n, A, ia, ja, desca, work);
 }
@@ -1521,19 +1521,19 @@ psyev(const char * /*jobz*/,
 inline void
 psyev(const char *jobz,
       const char *uplo,
-      const int m,
-      double *    A,
-      const int ia,
-      const int ja,
-      int *       desca,
-      double *    w,
-      double *    z,
-      const int iz,
-      const int jz,
-      int *       descz,
-      double *    work,
-      const int lwork,
-      int *       info)
+      const int  *m,
+      double     *A,
+      const int  *ia,
+      const int  *ja,
+      int        *desca,
+      double     *w,
+      double     *z,
+      const int  *iz,
+      const int  *jz,
+      int        *descz,
+      double     *work,
+      const int  *lwork,
+      int        *info)
 {
   pdsyev_(
     jobz, uplo, m, A, ia, ja, desca, w, z, iz, jz, descz, work, lwork, info);
@@ -1542,19 +1542,19 @@ psyev(const char *jobz,
 inline void
 psyev(const char *jobz,
       const char *uplo,
-      const int m,
-      float *     A,
-      const int ia,
-      const int ja,
-      int *       desca,
-      float *     w,
-      float *     z,
-      const int iz,
-      const int jz,
-      int *       descz,
-      float *     work,
-      const int lwork,
-      int *       info)
+      const int  *m,
+      float      *A,
+      const int  *ia,
+      const int  *ja,
+      int        *desca,
+      float      *w,
+      float      *z,
+      const int  *iz,
+      const int  *jz,
+      int        *descz,
+      float      *work,
+      const int  *lwork,
+      int        *info)
 {
   pssyev_(
     jobz, uplo, m, A, ia, ja, desca, w, z, iz, jz, descz, work, lwork, info);
@@ -1579,33 +1579,33 @@ placpy(const char * /*uplo*/,
 }
 
 inline void
-placpy(const char *  uplo,
-       const int *   m,
-       const int *   n,
+placpy(const char   *uplo,
+       const int    *m,
+       const int    *n,
        const double *A,
-       const int *   ia,
-       const int *   ja,
-       const int *   desca,
-       double *      B,
-       const int *   ib,
-       const int *   jb,
-       const int *   descb)
+       const int    *ia,
+       const int    *ja,
+       const int    *desca,
+       double       *B,
+       const int    *ib,
+       const int    *jb,
+       const int    *descb)
 {
   pdlacpy_(uplo, m, n, A, ia, ja, desca, B, ib, jb, descb);
 }
 
 inline void
-placpy(const char uplo,
-       const int *  m,
-       const int *  n,
+placpy(const char  *uplo,
+       const int   *m,
+       const int   *n,
        const float *A,
-       const int *  ia,
-       const int *  ja,
-       const int *  desca,
-       float *      B,
-       const int *  ib,
-       const int *  jb,
-       const int *  descb)
+       const int   *ia,
+       const int   *ja,
+       const int   *desca,
+       float       *B,
+       const int   *ib,
+       const int   *jb,
+       const int   *descb)
 {
   pslacpy_(uplo, m, n, A, ia, ja, desca, B, ib, jb, descb);
 }
@@ -1629,33 +1629,33 @@ pgemr2d(const int * /*m*/,
 }
 
 inline void
-pgemr2d(const int *   m,
-        const int *   n,
+pgemr2d(const int    *m,
+        const int    *n,
         const double *A,
-        const int *   ia,
-        const int *   ja,
-        const int *   desca,
-        double *      B,
-        const int *   ib,
-        const int *   jb,
-        const int *   descb,
-        const int *   ictxt)
+        const int    *ia,
+        const int    *ja,
+        const int    *desca,
+        double       *B,
+        const int    *ib,
+        const int    *jb,
+        const int    *descb,
+        const int    *ictxt)
 {
   pdgemr2d_(m, n, A, ia, ja, desca, B, ib, jb, descb, ictxt);
 }
 
 inline void
-pgemr2d(const int *  m,
-        const int *  n,
+pgemr2d(const int   *m,
+        const int   *n,
         const float *A,
-        const int *  ia,
-        const int *  ja,
-        const int *  desca,
-        float *      B,
-        const int *  ib,
-        const int *  jb,
-        const int *  descb,
-        const int *  ictxt)
+        const int   *ia,
+        const int   *ja,
+        const int   *desca,
+        float       *B,
+        const int   *ib,
+        const int   *jb,
+        const int   *descb,
+        const int   *ictxt)
 {
   psgemr2d_(m, n, A, ia, ja, desca, B, ib, jb, descb, ictxt);
 }
@@ -1720,32 +1720,32 @@ inline void
 psyevx(const char *jobz,
        const char *range,
        const char *uplo,
-       const int n,
-       double *    A,
-       const int ia,
-       const int ja,
-       const int desca,
-       double *    VL,
-       double *    VU,
-       const int il,
-       const int iu,
-       double *    abstol,
-       const int m,
-       const int nz,
-       double *    w,
-       double *    orfac,
-       double *    Z,
-       const int iz,
-       const int jz,
-       const int descz,
-       double *    work,
-       int *       lwork,
-       int *       iwork,
-       int *       liwork,
-       int *       ifail,
-       int *       iclustr,
-       double *    gap,
-       int *       info)
+       const int  *n,
+       double     *A,
+       const int  *ia,
+       const int  *ja,
+       const int  *desca,
+       double     *VL,
+       double     *VU,
+       const int  *il,
+       const int  *iu,
+       double     *abstol,
+       const int  *m,
+       const int  *nz,
+       double     *w,
+       double     *orfac,
+       double     *Z,
+       const int  *iz,
+       const int  *jz,
+       const int  *descz,
+       double     *work,
+       int        *lwork,
+       int        *iwork,
+       int        *liwork,
+       int        *ifail,
+       int        *iclustr,
+       double     *gap,
+       int        *info)
 {
   pdsyevx_(jobz,
            range,
@@ -1782,32 +1782,32 @@ inline void
 psyevx(const char *jobz,
        const char *range,
        const char *uplo,
-       const int n,
-       float *     A,
-       const int ia,
-       const int ja,
-       const int desca,
-       float *     VL,
-       float *     VU,
-       const int il,
-       const int iu,
-       float *     abstol,
-       const int m,
-       const int nz,
-       float *     w,
-       float *     orfac,
-       float *     Z,
-       const int iz,
-       const int jz,
-       const int descz,
-       float *     work,
-       int *       lwork,
-       int *       iwork,
-       int *       liwork,
-       int *       ifail,
-       int *       iclustr,
-       float *     gap,
-       int *       info)
+       const int  *n,
+       float      *A,
+       const int  *ia,
+       const int  *ja,
+       const int  *desca,
+       float      *VL,
+       float      *VU,
+       const int  *il,
+       const int  *iu,
+       float      *abstol,
+       const int  *m,
+       const int  *nz,
+       float      *w,
+       float      *orfac,
+       float      *Z,
+       const int  *iz,
+       const int  *jz,
+       const int  *descz,
+       float      *work,
+       int        *lwork,
+       int        *iwork,
+       int        *liwork,
+       int        *ifail,
+       int        *iclustr,
+       float      *gap,
+       int        *info)
 {
   pssyevx_(jobz,
            range,
@@ -1870,24 +1870,24 @@ pgesvd(const char * /*jobu*/,
 inline void
 pgesvd(const char *jobu,
        const char *jobvt,
-       const int m,
-       const int n,
-       double *    A,
-       const int ia,
-       const int ja,
-       const int desca,
-       double *    S,
-       double *    U,
-       const int iu,
-       const int ju,
-       const int descu,
-       double *    VT,
-       const int ivt,
-       const int jvt,
-       const int descvt,
-       double *    work,
-       int *       lwork,
-       int *       info)
+       const int  *m,
+       const int  *n,
+       double     *A,
+       const int  *ia,
+       const int  *ja,
+       const int  *desca,
+       double     *S,
+       double     *U,
+       const int  *iu,
+       const int  *ju,
+       const int  *descu,
+       double     *VT,
+       const int  *ivt,
+       const int  *jvt,
+       const int  *descvt,
+       double     *work,
+       int        *lwork,
+       int        *info)
 {
   pdgesvd_(jobu,
            jobvt,
@@ -1914,24 +1914,24 @@ pgesvd(const char *jobu,
 inline void
 pgesvd(const char *jobu,
        const char *jobvt,
-       const int m,
-       const int n,
-       float *     A,
-       const int ia,
-       const int ja,
-       const int desca,
-       float *     S,
-       float *     U,
-       const int iu,
-       const int ju,
-       const int descu,
-       float *     VT,
-       const int ivt,
-       const int jvt,
-       const int descvt,
-       float *     work,
-       int *       lwork,
-       int *       info)
+       const int  *m,
+       const int  *n,
+       float      *A,
+       const int  *ia,
+       const int  *ja,
+       const int  *desca,
+       float      *S,
+       float      *U,
+       const int  *iu,
+       const int  *ju,
+       const int  *descu,
+       float      *VT,
+       const int  *ivt,
+       const int  *jvt,
+       const int  *descvt,
+       float      *work,
+       int        *lwork,
+       int        *info)
 {
   psgesvd_(jobu,
            jobvt,
@@ -1979,20 +1979,20 @@ pgels(const char * /*trans*/,
 
 inline void
 pgels(const char *trans,
-      const int m,
-      const int n,
-      const int nrhs,
-      double *    A,
-      const int ia,
-      const int ja,
-      const int desca,
-      double *    B,
-      const int ib,
-      const int jb,
-      const int descb,
-      double *    work,
-      int *       lwork,
-      int *       info)
+      const int  *m,
+      const int  *n,
+      const int  *nrhs,
+      double     *A,
+      const int  *ia,
+      const int  *ja,
+      const int  *desca,
+      double     *B,
+      const int  *ib,
+      const int  *jb,
+      const int  *descb,
+      double     *work,
+      int        *lwork,
+      int        *info)
 {
   pdgels_(
     trans, m, n, nrhs, A, ia, ja, desca, B, ib, jb, descb, work, lwork, info);
@@ -2000,20 +2000,20 @@ pgels(const char *trans,
 
 inline void
 pgels(const char *trans,
-      const int m,
-      const int n,
-      const int nrhs,
-      float *     A,
-      const int ia,
-      const int ja,
-      const int desca,
-      float *     B,
-      const int ib,
-      const int jb,
-      const int descb,
-      float *     work,
-      int *       lwork,
-      int *       info)
+      const int  *m,
+      const int  *n,
+      const int  *nrhs,
+      float      *A,
+      const int  *ia,
+      const int  *ja,
+      const int  *desca,
+      float      *B,
+      const int  *ib,
+      const int  *jb,
+      const int  *descb,
+      float      *work,
+      int        *lwork,
+      int        *info)
 {
   psgels_(
     trans, m, n, nrhs, A, ia, ja, desca, B, ib, jb, descb, work, lwork, info);
@@ -2040,37 +2040,37 @@ pgeadd(const char * /*transa*/,
 }
 
 inline void
-pgeadd(const char *  transa,
-       const int *   m,
-       const int *   n,
+pgeadd(const char   *transa,
+       const int    *m,
+       const int    *n,
        const double *alpha,
        const double *A,
-       const int *   IA,
-       const int *   JA,
-       const int *   DESCA,
+       const int    *IA,
+       const int    *JA,
+       const int    *DESCA,
        const double *beta,
-       double *      C,
-       const int *   IC,
-       const int *   JC,
-       const int *   DESCC)
+       double       *C,
+       const int    *IC,
+       const int    *JC,
+       const int    *DESCC)
 {
   pdgeadd_(transa, m, n, alpha, A, IA, JA, DESCA, beta, C, IC, JC, DESCC);
 }
 
 inline void
-pgeadd(const char transa,
-       const int *  m,
-       const int *  n,
+pgeadd(const char  *transa,
+       const int   *m,
+       const int   *n,
        const float *alpha,
        const float *A,
-       const int *  IA,
-       const int *  JA,
-       const int *  DESCA,
+       const int   *IA,
+       const int   *JA,
+       const int   *DESCA,
        const float *beta,
-       float *      C,
-       const int *  IC,
-       const int *  JC,
-       const int *  DESCC)
+       float       *C,
+       const int   *IC,
+       const int   *JC,
+       const int   *DESCC)
 {
   psgeadd_(transa, m, n, alpha, A, IA, JA, DESCA, beta, C, IC, JC, DESCC);
 }
@@ -2095,35 +2095,35 @@ ptran(const int * /*m*/,
 }
 
 inline void
-ptran(const int *   m,
-      const int *   n,
+ptran(const int    *m,
+      const int    *n,
       const double *alpha,
       const double *A,
-      const int *   IA,
-      const int *   JA,
-      const int *   DESCA,
+      const int    *IA,
+      const int    *JA,
+      const int    *DESCA,
       const double *beta,
-      double *      C,
-      const int *   IC,
-      const int *   JC,
-      const int *   DESCC)
+      double       *C,
+      const int    *IC,
+      const int    *JC,
+      const int    *DESCC)
 {
   pdtran_(m, n, alpha, A, IA, JA, DESCA, beta, C, IC, JC, DESCC);
 }
 
 inline void
-ptran(const int *  m,
-      const int *  n,
+ptran(const int   *m,
+      const int   *n,
       const float *alpha,
       const float *A,
-      const int *  IA,
-      const int *  JA,
-      const int *  DESCA,
+      const int   *IA,
+      const int   *JA,
+      const int   *DESCA,
       const float *beta,
-      float *      C,
-      const int *  IC,
-      const int *  JC,
-      const int *  DESCC)
+      float       *C,
+      const int   *IC,
+      const int   *JC,
+      const int   *DESCC)
 {
   pstran_(m, n, alpha, A, IA, JA, DESCA, beta, C, IC, JC, DESCC);
 }
@@ -2160,30 +2160,30 @@ psyevr(const char * /*jobz*/,
 }
 
 inline void
-psyevr(const char *  jobz,
-       const char *  range,
-       const char *  uplo,
-       const int *   n,
-       double *      A,
-       const int *   IA,
-       const int *   JA,
-       const int *   DESCA,
+psyevr(const char   *jobz,
+       const char   *range,
+       const char   *uplo,
+       const int    *n,
+       double       *A,
+       const int    *IA,
+       const int    *JA,
+       const int    *DESCA,
        const double *VL,
        const double *VU,
-       const int *   IL,
-       const int *   IU,
-       int *         m,
-       int *         nz,
-       double *      w,
-       double *      Z,
-       const int *   IZ,
-       const int *   JZ,
-       const int *   DESCZ,
-       double *      work,
-       int *         lwork,
-       int *         iwork,
-       int *         liwork,
-       int *         info)
+       const int    *IL,
+       const int    *IU,
+       int          *m,
+       int          *nz,
+       double       *w,
+       double       *Z,
+       const int    *IZ,
+       const int    *JZ,
+       const int    *DESCZ,
+       double       *work,
+       int          *lwork,
+       int          *iwork,
+       int          *liwork,
+       int          *info)
 {
   /*
    * Netlib ScaLAPACK performs floating point tests (e.g. divide-by-zero) within
@@ -2227,30 +2227,30 @@ psyevr(const char *  jobz,
 }
 
 inline void
-psyevr(const char jobz,
-       const char range,
-       const char uplo,
-       const int *  n,
-       float *      A,
-       const int *  IA,
-       const int *  JA,
-       const int *  DESCA,
+psyevr(const char  *jobz,
+       const char  *range,
+       const char  *uplo,
+       const int   *n,
+       float       *A,
+       const int   *IA,
+       const int   *JA,
+       const int   *DESCA,
        const float *VL,
        const float *VU,
-       const int *  IL,
-       const int *  IU,
-       int *        m,
-       int *        nz,
-       float *      w,
-       float *      Z,
-       const int *  IZ,
-       const int *  JZ,
-       const int *  DESCZ,
-       float *      work,
-       int *        lwork,
-       int *        iwork,
-       int *        liwork,
-       int *        info)
+       const int   *IL,
+       const int   *IU,
+       int         *m,
+       int         *nz,
+       float       *w,
+       float       *Z,
+       const int   *IZ,
+       const int   *JZ,
+       const int   *DESCZ,
+       float       *work,
+       int         *lwork,
+       int         *iwork,
+       int         *liwork,
+       int         *info)
 {
   /*
    * Netlib ScaLAPACK performs floating point tests (e.g. divide-by-zero) within
index 39dd858fb9a0f8b2589a5e2a5c696e3f744b2ba8..7470c06b6cfeae33b3fea2a8ff045c17fc33c20e 100644 (file)
@@ -297,8 +297,8 @@ template <typename Range_1,
 PackagedOperation<Range_2>
 condense_schur_rhs(const LinearOperator<Range_1, Domain_1, Payload> &A_inv,
                    const LinearOperator<Range_2, Domain_1, Payload> &C,
-                   const Range_1 &                                   f,
-                   const Range_2 &                                   g)
+                   const Range_1                                    &f,
+                   const Range_2                                    &g)
 {
   // We return the result of the compound PackagedOperation
   // directly, so as to ensure that the underlying Payload
@@ -336,8 +336,8 @@ PackagedOperation<Domain_1>
 postprocess_schur_solution(
   const LinearOperator<Range_1, Domain_1, Payload> &A_inv,
   const LinearOperator<Range_1, Domain_2, Payload> &B,
-  const Domain_2 &                                  y,
-  const Range_1 &                                   f)
+  const Domain_2                                   &y,
+  const Range_1                                    &f)
 {
   // We return the result of the compound PackagedOperation
   // directly, so as to ensure that the underlying Payload
index 56c893749bc43fbd0e17b321e25393891eda5e9a..03913cea058582c96c06ca925faab34407b2478e 100644 (file)
@@ -178,8 +178,8 @@ namespace SLEPcWrappers
     template <typename OutputVector>
     void
     solve(const PETScWrappers::MatrixBase &A,
-          std::vector<PetscScalar> &       eigenvalues,
-          std::vector<OutputVector> &      eigenvectors,
+          std::vector<PetscScalar>        &eigenvalues,
+          std::vector<OutputVector>       &eigenvectors,
           const unsigned int               n_eigenpairs = 1);
 
     /**
@@ -191,8 +191,8 @@ namespace SLEPcWrappers
     void
     solve(const PETScWrappers::MatrixBase &A,
           const PETScWrappers::MatrixBase &B,
-          std::vector<PetscScalar> &       eigenvalues,
-          std::vector<OutputVector> &      eigenvectors,
+          std::vector<PetscScalar>        &eigenvalues,
+          std::vector<OutputVector>       &eigenvectors,
           const unsigned int               n_eigenpairs = 1);
 
     /**
@@ -204,10 +204,10 @@ namespace SLEPcWrappers
     void
     solve(const PETScWrappers::MatrixBase &A,
           const PETScWrappers::MatrixBase &B,
-          std::vector<double> &            real_eigenvalues,
-          std::vector<double> &            imag_eigenvalues,
-          std::vector<OutputVector> &      real_eigenvectors,
-          std::vector<OutputVector> &      imag_eigenvectors,
+          std::vector<double>             &real_eigenvalues,
+          std::vector<double>             &imag_eigenvalues,
+          std::vector<OutputVector>       &real_eigenvectors,
+          std::vector<OutputVector>       &imag_eigenvectors,
           const unsigned int               n_eigenpairs = 1);
 
     /**
@@ -317,7 +317,7 @@ namespace SLEPcWrappers
      */
     void
     get_eigenpair(const unsigned int         index,
-                  PetscScalar &              eigenvalues,
+                  PetscScalar               &eigenvalues,
                   PETScWrappers::VectorBase &eigenvectors);
 
     /**
@@ -327,8 +327,8 @@ namespace SLEPcWrappers
      */
     void
     get_eigenpair(const unsigned int         index,
-                  double &                   real_eigenvalues,
-                  double &                   imag_eigenvalues,
+                  double                    &real_eigenvalues,
+                  double                    &imag_eigenvalues,
                   PETScWrappers::VectorBase &real_eigenvectors,
                   PETScWrappers::VectorBase &imag_eigenvectors);
 
@@ -371,8 +371,8 @@ namespace SLEPcWrappers
                      PetscScalar real_eigenvalue,
                      PetscScalar imag_eigenvalue,
                      PetscReal   residual_norm,
-                     PetscReal estimated_error,
-                     void *      solver_control);
+                     PetscReal  *estimated_error,
+                     void       *solver_control);
   };
 
 
@@ -405,7 +405,7 @@ namespace SLEPcWrappers
      * behavior as the PETScWrappers, but you can change that.
      */
     explicit SolverKrylovSchur(
-      SolverControl &       cn,
+      SolverControl        &cn,
       const MPI_Comm        mpi_communicator = PETSC_COMM_SELF,
       const AdditionalData &data             = AdditionalData());
 
@@ -599,7 +599,7 @@ namespace SLEPcWrappers
      * behavior as the PETScWrappers, but you can change that.
      */
     explicit SolverGeneralizedDavidson(
-      SolverControl &       cn,
+      SolverControl        &cn,
       const MPI_Comm        mpi_communicator = PETSC_COMM_SELF,
       const AdditionalData &data             = AdditionalData());
 
@@ -640,7 +640,7 @@ namespace SLEPcWrappers
      * behavior as the PETScWrappers, but you can change that.
      */
     explicit SolverJacobiDavidson(
-      SolverControl &       cn,
+      SolverControl        &cn,
       const MPI_Comm        mpi_communicator = PETSC_COMM_SELF,
       const AdditionalData &data             = AdditionalData());
 
@@ -704,8 +704,8 @@ namespace SLEPcWrappers
   template <typename OutputVector>
   void
   SolverBase::solve(const PETScWrappers::MatrixBase &A,
-                    std::vector<PetscScalar> &       eigenvalues,
-                    std::vector<OutputVector> &      eigenvectors,
+                    std::vector<PetscScalar>        &eigenvalues,
+                    std::vector<OutputVector>       &eigenvectors,
                     const unsigned int               n_eigenpairs)
   {
     // Panic if the number of eigenpairs wanted is out of bounds.
@@ -737,8 +737,8 @@ namespace SLEPcWrappers
   void
   SolverBase::solve(const PETScWrappers::MatrixBase &A,
                     const PETScWrappers::MatrixBase &B,
-                    std::vector<PetscScalar> &       eigenvalues,
-                    std::vector<OutputVector> &      eigenvectors,
+                    std::vector<PetscScalar>        &eigenvalues,
+                    std::vector<OutputVector>       &eigenvectors,
                     const unsigned int               n_eigenpairs)
   {
     // Guard against incompatible matrix sizes:
@@ -775,10 +775,10 @@ namespace SLEPcWrappers
   void
   SolverBase::solve(const PETScWrappers::MatrixBase &A,
                     const PETScWrappers::MatrixBase &B,
-                    std::vector<double> &            real_eigenvalues,
-                    std::vector<double> &            imag_eigenvalues,
-                    std::vector<OutputVector> &      real_eigenvectors,
-                    std::vector<OutputVector> &      imag_eigenvectors,
+                    std::vector<double>             &real_eigenvalues,
+                    std::vector<double>             &imag_eigenvalues,
+                    std::vector<OutputVector>       &real_eigenvectors,
+                    std::vector<OutputVector>       &imag_eigenvectors,
                     const unsigned int               n_eigenpairs)
   {
     // Guard against incompatible matrix sizes:
index 6491d614985ea0120660ac00b3e1e5c880dbda1f..77049be8f2cc86e5c52772da7ce6366f248adef7 100644 (file)
@@ -354,7 +354,7 @@ public:
    * responsibility to guarantee that the lifetime of the two arguments is at
    * least as long as that of the solver object.
    */
-  SolverBase(SolverControl &           solver_control,
+  SolverBase(SolverControl            &solver_control,
              VectorMemory<VectorType> &vector_memory);
 
   /**
@@ -465,7 +465,7 @@ protected:
   boost::signals2::signal<
     SolverControl::State(const unsigned int iteration,
                          const double       check_value,
-                         const VectorType current_iterate),
+                         const VectorType  &current_iterate),
     StateCombiner>
     iteration_status;
 };
@@ -513,7 +513,7 @@ SolverBase<VectorType>::StateCombiner::operator()(const Iterator begin,
 
 template <typename VectorType>
 inline SolverBase<VectorType>::SolverBase(
-  SolverControl &           solver_control,
+  SolverControl            &solver_control,
   VectorMemory<VectorType> &vector_memory)
   : memory(vector_memory)
 {
@@ -553,7 +553,7 @@ inline boost::signals2::connection
 SolverBase<VectorType>::connect(
   const std::function<SolverControl::State(const unsigned int iteration,
                                            const double       check_value,
-                                           const VectorType current_iterate)>
+                                           const VectorType  &current_iterate)>
     &slot)
 {
   return iteration_status.connect(slot);
index 674a9341c80cc8df326b8bb0af8ab9850e1e0e5f..a9ecab281cf1b67a818024a728aa074466a37420 100644 (file)
@@ -118,15 +118,15 @@ public:
   /**
    * Constructor.
    */
-  SolverBicgstab(SolverControl &           cn,
+  SolverBicgstab(SolverControl            &cn,
                  VectorMemory<VectorType> &mem,
-                 const AdditionalData &    data = AdditionalData());
+                 const AdditionalData     &data = AdditionalData());
 
   /**
    * Constructor. Use an object of type GrowingVectorMemory as a default to
    * allocate memory.
    */
-  SolverBicgstab(SolverControl &       cn,
+  SolverBicgstab(SolverControl        &cn,
                  const AdditionalData &data = AdditionalData());
 
   /**
@@ -139,9 +139,9 @@ public:
    */
   template <typename MatrixType, typename PreconditionerType>
   void
-  solve(const MatrixType &        A,
-        VectorType &              x,
-        const VectorType &        b,
+  solve(const MatrixType         &A,
+        VectorType               &x,
+        const VectorType         &b,
         const PreconditionerType &preconditioner);
 
 protected:
@@ -153,7 +153,7 @@ protected:
   criterion(const MatrixType &A,
             const VectorType &x,
             const VectorType &b,
-            VectorType &      t);
+            VectorType       &t);
 
   /**
    * Interface for derived class.  This function gets the current iteration
@@ -162,9 +162,9 @@ protected:
    */
   virtual void
   print_vectors(const unsigned int step,
-                const VectorType x,
-                const VectorType r,
-                const VectorType d) const;
+                const VectorType  &x,
+                const VectorType  &r,
+                const VectorType  &d) const;
 
   /**
    * Additional parameters.
@@ -195,9 +195,9 @@ private:
    */
   template <typename MatrixType, typename PreconditionerType>
   IterationResult
-  iterate(const MatrixType &        A,
-          VectorType &              x,
-          const VectorType &        b,
+  iterate(const MatrixType         &A,
+          VectorType               &x,
+          const VectorType         &b,
           const PreconditionerType &preconditioner,
           const unsigned int        step);
 };
@@ -224,9 +224,9 @@ SolverBicgstab<VectorType>::IterationResult::IterationResult(
 
 
 template <typename VectorType>
-SolverBicgstab<VectorType>::SolverBicgstab(SolverControl &           cn,
+SolverBicgstab<VectorType>::SolverBicgstab(SolverControl            &cn,
                                            VectorMemory<VectorType> &mem,
-                                           const AdditionalData &    data)
+                                           const AdditionalData     &data)
   : SolverBase<VectorType>(cn, mem)
   , additional_data(data)
 {}
@@ -234,7 +234,7 @@ SolverBicgstab<VectorType>::SolverBicgstab(SolverControl &           cn,
 
 
 template <typename VectorType>
-SolverBicgstab<VectorType>::SolverBicgstab(SolverControl &       cn,
+SolverBicgstab<VectorType>::SolverBicgstab(SolverControl        &cn,
                                            const AdditionalData &data)
   : SolverBase<VectorType>(cn)
   , additional_data(data)
@@ -248,7 +248,7 @@ double
 SolverBicgstab<VectorType>::criterion(const MatrixType &A,
                                       const VectorType &x,
                                       const VectorType &b,
-                                      VectorType &      t)
+                                      VectorType       &t)
 {
   A.vmult(t, x);
   return std::sqrt(t.add_and_dot(-1.0, b, t));
@@ -269,9 +269,9 @@ SolverBicgstab<VectorType>::print_vectors(const unsigned int,
 template <typename VectorType>
 template <typename MatrixType, typename PreconditionerType>
 typename SolverBicgstab<VectorType>::IterationResult
-SolverBicgstab<VectorType>::iterate(const MatrixType &        A,
-                                    VectorType &              x,
-                                    const VectorType &        b,
+SolverBicgstab<VectorType>::iterate(const MatrixType         &A,
+                                    VectorType               &x,
+                                    const VectorType         &b,
                                     const PreconditionerType &preconditioner,
                                     const unsigned int        last_step)
 {
@@ -400,9 +400,9 @@ SolverBicgstab<VectorType>::iterate(const MatrixType &        A,
 template <typename VectorType>
 template <typename MatrixType, typename PreconditionerType>
 void
-SolverBicgstab<VectorType>::solve(const MatrixType &        A,
-                                  VectorType &              x,
-                                  const VectorType &        b,
+SolverBicgstab<VectorType>::solve(const MatrixType         &A,
+                                  VectorType               &x,
+                                  const VectorType         &b,
                                   const PreconditionerType &preconditioner)
 {
   LogStream::Prefix prefix("Bicgstab");
index 95287056f3910278769a2eaf61eb9a6b4e6df8f3..fc2c5485a88ac546eb1650fb728bbc420bfa700f 100644 (file)
@@ -193,9 +193,9 @@ public:
   /**
    * Constructor.
    */
-  SolverCG(SolverControl &           cn,
+  SolverCG(SolverControl            &cn,
            VectorMemory<VectorType> &mem,
-           const AdditionalData &    data = AdditionalData());
+           const AdditionalData     &data = AdditionalData());
 
   /**
    * Constructor. Use an object of type GrowingVectorMemory as a default to
@@ -213,9 +213,9 @@ public:
    */
   template <typename MatrixType, typename PreconditionerType>
   void
-  solve(const MatrixType &        A,
-        VectorType &              x,
-        const VectorType &        b,
+  solve(const MatrixType         &A,
+        VectorType               &x,
+        const VectorType         &b,
         const PreconditionerType &preconditioner);
 
   /**
@@ -258,9 +258,9 @@ protected:
    */
   virtual void
   print_vectors(const unsigned int step,
-                const VectorType x,
-                const VectorType r,
-                const VectorType d) const;
+                const VectorType  &x,
+                const VectorType  &r,
+                const VectorType  &d) const;
 
   /**
    * Estimates the eigenvalues from diagonal and offdiagonal. Uses these
@@ -272,7 +272,7 @@ protected:
     const std::vector<typename VectorType::value_type> &diagonal,
     const std::vector<typename VectorType::value_type> &offdiagonal,
     const boost::signals2::signal<void(const std::vector<double> &)>
-      &                                          eigenvalues_signal,
+                                                &eigenvalues_signal,
     const boost::signals2::signal<void(double)> &cond_signal);
 
   /**
@@ -370,15 +370,15 @@ public:
   /**
    * Constructor.
    */
-  SolverFlexibleCG(SolverControl &           cn,
+  SolverFlexibleCG(SolverControl            &cn,
                    VectorMemory<VectorType> &mem,
-                   const AdditionalData &    data = AdditionalData());
+                   const AdditionalData     &data = AdditionalData());
 
   /**
    * Constructor. Use an object of type GrowingVectorMemory as a default to
    * allocate memory.
    */
-  SolverFlexibleCG(SolverControl &       cn,
+  SolverFlexibleCG(SolverControl        &cn,
                    const AdditionalData &data = AdditionalData());
 };
 
@@ -392,9 +392,9 @@ public:
 
 
 template <typename VectorType>
-SolverCG<VectorType>::SolverCG(SolverControl &           cn,
+SolverCG<VectorType>::SolverCG(SolverControl            &cn,
                                VectorMemory<VectorType> &mem,
-                               const AdditionalData &    data)
+                               const AdditionalData     &data)
   : SolverBase<VectorType>(cn, mem)
   , additional_data(data)
   , determine_beta_by_flexible_formula(false)
@@ -427,7 +427,7 @@ SolverCG<VectorType>::compute_eigs_and_cond(
   const std::vector<typename VectorType::value_type> &diagonal,
   const std::vector<typename VectorType::value_type> &offdiagonal,
   const boost::signals2::signal<void(const std::vector<double> &)>
-    &                                          eigenvalues_signal,
+                                              &eigenvalues_signal,
   const boost::signals2::signal<void(double)> &cond_signal)
 {
   // Avoid computing eigenvalues unless they are needed.
@@ -485,10 +485,10 @@ namespace internal
     {
       using Number = typename VectorType::value_type;
 
-      const MatrixType &        A;
+      const MatrixType         &A;
       const PreconditionerType &preconditioner;
       const bool                flexible;
-      VectorType &              x;
+      VectorType               &x;
 
       typename VectorMemory<VectorType>::Pointer r_pointer;
       typename VectorMemory<VectorType>::Pointer p_pointer;
@@ -512,11 +512,11 @@ namespace internal
       double residual_norm;
       Number previous_alpha;
 
-      IterationWorkerBase(const MatrixType &        A,
+      IterationWorkerBase(const MatrixType         &A,
                           const PreconditionerType &preconditioner,
                           const bool                flexible,
                           VectorMemory<VectorType> &memory,
-                          VectorType &              x)
+                          VectorType               &x)
         : A(A)
         , preconditioner(preconditioner)
         , flexible(flexible)
@@ -575,11 +575,11 @@ namespace internal
       using BaseClass =
         IterationWorkerBase<VectorType, MatrixType, PreconditionerType>;
 
-      IterationWorker(const MatrixType &        A,
+      IterationWorker(const MatrixType         &A,
                       const PreconditionerType &preconditioner,
                       const bool                flexible,
                       VectorMemory<VectorType> &memory,
-                      VectorType &              x)
+                      VectorType               &x)
         : BaseClass(A, preconditioner, flexible, memory, x)
       {}
 
@@ -717,11 +717,11 @@ namespace internal
       Number next_r_dot_preconditioner_dot_r;
       Number previous_beta;
 
-      IterationWorker(const MatrixType &        A,
+      IterationWorker(const MatrixType         &A,
                       const PreconditionerType &preconditioner,
                       const bool                flexible,
                       VectorMemory<VectorType> &memory,
-                      VectorType &              x)
+                      VectorType               &x)
         : IterationWorkerBase<VectorType, MatrixType, PreconditionerType>(
             A,
             preconditioner,
@@ -795,10 +795,10 @@ namespace internal
                             const unsigned int start_range,
                             const unsigned int end_range) const
       {
-        Number *               x       = this->x.begin();
-        Number *               r       = this->r.begin();
-        Number *               p       = this->p.begin();
-        Number *               v       = this->v.begin();
+        Number                *x       = this->x.begin();
+        Number                *r       = this->r.begin();
+        Number                *p       = this->p.begin();
+        Number                *v       = this->v.begin();
         const Number           alpha   = this->alpha;
         const Number           beta    = this->beta;
         constexpr unsigned int n_lanes = VectorizedArray<Number>::size();
@@ -933,9 +933,9 @@ namespace internal
         const unsigned int                      end_range,
         std::array<VectorizedArray<Number>, 7> &vectorized_sums) const
       {
-        const Number *                         r       = this->r.begin();
-        const Number *                         p       = this->p.begin();
-        const Number *                         v       = this->v.begin();
+        const Number                          *r       = this->r.begin();
+        const Number                          *p       = this->p.begin();
+        const Number                          *v       = this->v.begin();
         std::array<VectorizedArray<Number>, 7> my_sums = {};
         constexpr unsigned int n_lanes = VectorizedArray<Number>::size();
         const unsigned int     end_regular =
@@ -1021,10 +1021,10 @@ namespace internal
                             const unsigned int start_range,
                             const unsigned int end_range) const
       {
-        Number *                       x     = this->x.begin() + start_range;
-        Number *                       r     = this->r.begin() + start_range;
-        Number *                       p     = this->p.begin() + start_range;
-        Number *                       v     = this->v.begin() + start_range;
+        Number                        *x     = this->x.begin() + start_range;
+        Number                        *r     = this->r.begin() + start_range;
+        Number                        *p     = this->p.begin() + start_range;
+        Number                        *v     = this->v.begin() + start_range;
         const Number                   alpha = this->alpha;
         const Number                   beta  = this->beta;
         constexpr unsigned int         grain_size = 128;
@@ -1147,9 +1147,9 @@ namespace internal
         const unsigned int                      end_range,
         std::array<VectorizedArray<Number>, 7> &vectorized_sums) const
       {
-        const Number *                         r          = this->r.begin();
-        const Number *                         p          = this->p.begin();
-        const Number *                         v          = this->v.begin();
+        const Number                          *r          = this->r.begin();
+        const Number                          *p          = this->p.begin();
+        const Number                          *v          = this->v.begin();
         std::array<VectorizedArray<Number>, 7> my_sums    = {};
         constexpr unsigned int                 grain_size = 128;
         Assert(grain_size % VectorizedArray<Number>::size() == 0,
@@ -1224,9 +1224,9 @@ namespace internal
           {
             const unsigned int end_range = this->x.locally_owned_size();
 
-            Number *     x = this->x.begin();
-            Number *     r = this->r.begin();
-            Number *     p = this->p.begin();
+            Number      *x = this->x.begin();
+            Number      *r = this->r.begin();
+            Number      *p = this->p.begin();
             const Number alpha_plus_previous_alpha_over_beta =
               this->alpha + this->previous_alpha / this->beta;
             const Number previous_alpha_over_beta =
@@ -1261,9 +1261,9 @@ namespace internal
 template <typename VectorType>
 template <typename MatrixType, typename PreconditionerType>
 void
-SolverCG<VectorType>::solve(const MatrixType &        A,
-                            VectorType &              x,
-                            const VectorType &        b,
+SolverCG<VectorType>::solve(const MatrixType         &A,
+                            VectorType               &x,
+                            const VectorType         &b,
                             const PreconditionerType &preconditioner)
 {
   using number = typename VectorType::value_type;
@@ -1387,7 +1387,7 @@ SolverCG<VectorType>::connect_eigenvalues_slot(
 
 
 template <typename VectorType>
-SolverFlexibleCG<VectorType>::SolverFlexibleCG(SolverControl &           cn,
+SolverFlexibleCG<VectorType>::SolverFlexibleCG(SolverControl            &cn,
                                                VectorMemory<VectorType> &mem,
                                                const AdditionalData &)
   : SolverCG<VectorType>(cn, mem)
index c0404d9a1a3f76d7d3682a244b89502ddd38602e..e99cafa8c853899ed0e29e9bddc0328629fec1de 100644 (file)
@@ -124,15 +124,15 @@ public:
   /**
    * Constructor.
    */
-  SolverFIRE(SolverControl &           solver_control,
+  SolverFIRE(SolverControl            &solver_control,
              VectorMemory<VectorType> &vector_memory,
-             const AdditionalData &    data = AdditionalData());
+             const AdditionalData     &data = AdditionalData());
 
   /**
    * Constructor. Use an object of type GrowingVectorMemory as a default to
    * allocate memory.
    */
-  SolverFIRE(SolverControl &       solver_control,
+  SolverFIRE(SolverControl        &solver_control,
              const AdditionalData &data = AdditionalData());
 
   /**
@@ -147,7 +147,7 @@ public:
   template <typename PreconditionerType = DiagonalMatrix<VectorType>>
   void
   solve(const std::function<double(VectorType &, const VectorType &)> &compute,
-        VectorType &                                                   x,
+        VectorType                                                    &x,
         const PreconditionerType &inverse_mass_matrix);
 
   /**
@@ -157,9 +157,9 @@ public:
    */
   template <typename MatrixType, typename PreconditionerType>
   void
-  solve(const MatrixType &        A,
-        VectorType &              x,
-        const VectorType &        b,
+  solve(const MatrixType         &A,
+        VectorType               &x,
+        const VectorType         &b,
         const PreconditionerType &preconditioner);
 
 protected:
@@ -206,9 +206,9 @@ SolverFIRE<VectorType>::AdditionalData::AdditionalData(
 
 
 template <typename VectorType>
-SolverFIRE<VectorType>::SolverFIRE(SolverControl &           solver_control,
+SolverFIRE<VectorType>::SolverFIRE(SolverControl            &solver_control,
                                    VectorMemory<VectorType> &vector_memory,
-                                   const AdditionalData &    data)
+                                   const AdditionalData     &data)
   : SolverBase<VectorType>(solver_control, vector_memory)
   , additional_data(data)
 {}
@@ -216,7 +216,7 @@ SolverFIRE<VectorType>::SolverFIRE(SolverControl &           solver_control,
 
 
 template <typename VectorType>
-SolverFIRE<VectorType>::SolverFIRE(SolverControl &       solver_control,
+SolverFIRE<VectorType>::SolverFIRE(SolverControl        &solver_control,
                                    const AdditionalData &data)
   : SolverBase<VectorType>(solver_control)
   , additional_data(data)
@@ -229,7 +229,7 @@ template <typename PreconditionerType>
 void
 SolverFIRE<VectorType>::solve(
   const std::function<double(VectorType &, const VectorType &)> &compute,
-  VectorType &                                                   x,
+  VectorType                                                    &x,
   const PreconditionerType &inverse_mass_matrix)
 {
   LogStream::Prefix prefix("FIRE");
@@ -349,9 +349,9 @@ SolverFIRE<VectorType>::solve(
 template <typename VectorType>
 template <typename MatrixType, typename PreconditionerType>
 void
-SolverFIRE<VectorType>::solve(const MatrixType &        A,
-                              VectorType &              x,
-                              const VectorType &        b,
+SolverFIRE<VectorType>::solve(const MatrixType         &A,
+                              VectorType               &x,
+                              const VectorType         &b,
                               const PreconditionerType &preconditioner)
 {
   std::function<double(VectorType &, const VectorType &)> compute_func =
index b842915b9f5d3c20c0577963f94adfddb29d5e18..a5cc5e8860b7b055b43e5bce6afa69b85cae94c7 100644 (file)
@@ -263,9 +263,9 @@ public:
   /**
    * Constructor.
    */
-  SolverGMRES(SolverControl &           cn,
+  SolverGMRES(SolverControl            &cn,
               VectorMemory<VectorType> &mem,
-              const AdditionalData &    data = AdditionalData());
+              const AdditionalData     &data = AdditionalData());
 
   /**
    * Constructor. Use an object of type GrowingVectorMemory as a default to
@@ -283,9 +283,9 @@ public:
    */
   template <typename MatrixType, typename PreconditionerType>
   void
-  solve(const MatrixType &        A,
-        VectorType &              x,
-        const VectorType &        b,
+  solve(const MatrixType         &A,
+        VectorType               &x,
+        const VectorType         &b,
         const PreconditionerType &preconditioner);
 
   /**
@@ -444,7 +444,7 @@ protected:
     const boost::signals2::signal<
       void(const std::vector<std::complex<double>> &)> &eigenvalues_signal,
     const boost::signals2::signal<void(const FullMatrix<double> &)>
-      &                                          hessenberg_signal,
+                                                &hessenberg_signal,
     const boost::signals2::signal<void(double)> &cond_signal);
 
   /**
@@ -530,15 +530,15 @@ public:
   /**
    * Constructor.
    */
-  SolverFGMRES(SolverControl &           cn,
+  SolverFGMRES(SolverControl            &cn,
                VectorMemory<VectorType> &mem,
-               const AdditionalData &    data = AdditionalData());
+               const AdditionalData     &data = AdditionalData());
 
   /**
    * Constructor. Use an object of type GrowingVectorMemory as a default to
    * allocate memory.
    */
-  SolverFGMRES(SolverControl &       cn,
+  SolverFGMRES(SolverControl        &cn,
                const AdditionalData &data = AdditionalData());
 
   /**
@@ -546,9 +546,9 @@ public:
    */
   template <typename MatrixType, typename PreconditionerType>
   void
-  solve(const MatrixType &        A,
-        VectorType &              x,
-        const VectorType &        b,
+  solve(const MatrixType         &A,
+        VectorType               &x,
+        const VectorType         &b,
         const PreconditionerType &preconditioner);
 
 private:
@@ -601,7 +601,7 @@ namespace internal
     template <typename VectorType>
     inline VectorType &
     TmpVectors<VectorType>::operator()(const unsigned int i,
-                                       const VectorType temp)
+                                       const VectorType  &temp)
     {
       AssertIndexRange(i, data.size());
       if (data[i] == nullptr)
@@ -637,8 +637,8 @@ namespace internal
     inline void
     solve_triangular(const unsigned int        dim,
                      const FullMatrix<double> &H,
-                     const Vector<double> &    rhs,
-                     Vector<double> &          solution)
+                     const Vector<double>     &rhs,
+                     Vector<double>           &solution)
     {
       for (int i = dim - 1; i >= 0; --i)
         {
@@ -677,9 +677,9 @@ inline SolverGMRES<VectorType>::AdditionalData::AdditionalData(
 
 
 template <typename VectorType>
-SolverGMRES<VectorType>::SolverGMRES(SolverControl &           cn,
+SolverGMRES<VectorType>::SolverGMRES(SolverControl            &cn,
                                      VectorMemory<VectorType> &mem,
-                                     const AdditionalData &    data)
+                                     const AdditionalData     &data)
   : SolverBase<VectorType>(cn, mem)
   , additional_data(data)
   , solver_control(cn)
@@ -688,7 +688,7 @@ SolverGMRES<VectorType>::SolverGMRES(SolverControl &           cn,
 
 
 template <typename VectorType>
-SolverGMRES<VectorType>::SolverGMRES(SolverControl &       cn,
+SolverGMRES<VectorType>::SolverGMRES(SolverControl        &cn,
                                      const AdditionalData &data)
   : SolverBase<VectorType>(cn)
   , additional_data(data)
@@ -833,9 +833,9 @@ namespace internal
                 VectorType> * = nullptr>
     void
     Tvmult_add(const unsigned int dim,
-               const VectorType vv,
+               const VectorType  &vv,
                const internal::SolverGMRESImplementation::TmpVectors<VectorType>
-                 &             orthogonal_vectors,
+                              &orthogonal_vectors,
                Vector<double> &h)
     {
       for (unsigned int i = 0; i < dim; ++i)
@@ -850,9 +850,9 @@ namespace internal
                 VectorType> * = nullptr>
     void
     Tvmult_add(const unsigned int dim,
-               const VectorType vv,
+               const VectorType  &vv,
                const internal::SolverGMRESImplementation::TmpVectors<VectorType>
-                 &             orthogonal_vectors,
+                              &orthogonal_vectors,
                Vector<double> &h)
     {
       for (unsigned int b = 0; b < n_blocks(vv); ++b)
@@ -925,9 +925,9 @@ namespace internal
     subtract_and_norm(
       const unsigned int dim,
       const internal::SolverGMRESImplementation::TmpVectors<VectorType>
-        &                   orthogonal_vectors,
+                           &orthogonal_vectors,
       const Vector<double> &h,
-      VectorType &          vv)
+      VectorType           &vv)
     {
       Assert(dim > 0, ExcInternalError());
 
@@ -947,9 +947,9 @@ namespace internal
     subtract_and_norm(
       const unsigned int dim,
       const internal::SolverGMRESImplementation::TmpVectors<VectorType>
-        &                   orthogonal_vectors,
+                           &orthogonal_vectors,
       const Vector<double> &h,
-      VectorType &          vv)
+      VectorType           &vv)
     {
       static constexpr unsigned int n_lanes = VectorizedArray<double>::size();
 
@@ -1032,7 +1032,7 @@ namespace internal
                 !is_dealii_compatible_distributed_vector<VectorType>::value,
                 VectorType> * = nullptr>
     double
-    sadd_and_norm(VectorType &      v,
+    sadd_and_norm(VectorType       &v,
                   const double      factor_a,
                   const VectorType &b,
                   const double      factor_b)
@@ -1047,7 +1047,7 @@ namespace internal
                 is_dealii_compatible_distributed_vector<VectorType>::value,
                 VectorType> * = nullptr>
     double
-    sadd_and_norm(VectorType &      v,
+    sadd_and_norm(VectorType       &v,
                   const double      factor_a,
                   const VectorType &w,
                   const double      factor_b)
@@ -1076,11 +1076,11 @@ namespace internal
                 !is_dealii_compatible_distributed_vector<VectorType>::value,
                 VectorType> * = nullptr>
     void
-    add(VectorType &          p,
+    add(VectorType           &p,
         const unsigned int    dim,
         const Vector<double> &h,
         const internal::SolverGMRESImplementation::TmpVectors<VectorType>
-          &        tmp_vectors,
+                  &tmp_vectors,
         const bool zero_out)
     {
       if (zero_out)
@@ -1099,11 +1099,11 @@ namespace internal
                 is_dealii_compatible_distributed_vector<VectorType>::value,
                 VectorType> * = nullptr>
     void
-    add(VectorType &          p,
+    add(VectorType           &p,
         const unsigned int    dim,
         const Vector<double> &h,
         const internal::SolverGMRESImplementation::TmpVectors<VectorType>
-          &        tmp_vectors,
+                  &tmp_vectors,
         const bool zero_out)
     {
       for (unsigned int b = 0; b < n_blocks(p); ++b)
@@ -1134,12 +1134,12 @@ namespace internal
     iterated_gram_schmidt(
       const LinearAlgebra::OrthogonalizationStrategy orthogonalization_strategy,
       const internal::SolverGMRESImplementation::TmpVectors<VectorType>
-        &                                       orthogonal_vectors,
+                                               &orthogonal_vectors,
       const unsigned int                        dim,
       const unsigned int                        accumulated_iterations,
-      VectorType &                              vv,
-      Vector<double> &                          h,
-      bool &                                    reorthogonalize,
+      VectorType                               &vv,
+      Vector<double>                           &h,
+      bool                                     &reorthogonalize,
       const boost::signals2::signal<void(int)> &reorthogonalize_signal =
         boost::signals2::signal<void(int)>())
     {
@@ -1238,7 +1238,7 @@ SolverGMRES<VectorType>::compute_eigs_and_cond(
   const boost::signals2::signal<void(const std::vector<std::complex<double>> &)>
     &eigenvalues_signal,
   const boost::signals2::signal<void(const FullMatrix<double> &)>
-    &                                          hessenberg_signal,
+                                              &hessenberg_signal,
   const boost::signals2::signal<void(double)> &cond_signal)
 {
   // Avoid copying the Hessenberg matrix if it isn't needed.
@@ -1285,9 +1285,9 @@ SolverGMRES<VectorType>::compute_eigs_and_cond(
 template <typename VectorType>
 template <typename MatrixType, typename PreconditionerType>
 void
-SolverGMRES<VectorType>::solve(const MatrixType &        A,
-                               VectorType &              x,
-                               const VectorType &        b,
+SolverGMRES<VectorType>::solve(const MatrixType         &A,
+                               VectorType               &x,
+                               const VectorType         &b,
                                const PreconditionerType &preconditioner)
 {
   // TODO:[?] Check, why there are two different start residuals.
@@ -1690,9 +1690,9 @@ SolverGMRES<VectorType>::criterion()
 //----------------------------------------------------------------------//
 
 template <typename VectorType>
-SolverFGMRES<VectorType>::SolverFGMRES(SolverControl &           cn,
+SolverFGMRES<VectorType>::SolverFGMRES(SolverControl            &cn,
                                        VectorMemory<VectorType> &mem,
-                                       const AdditionalData &    data)
+                                       const AdditionalData     &data)
   : SolverBase<VectorType>(cn, mem)
   , additional_data(data)
 {}
@@ -1700,7 +1700,7 @@ SolverFGMRES<VectorType>::SolverFGMRES(SolverControl &           cn,
 
 
 template <typename VectorType>
-SolverFGMRES<VectorType>::SolverFGMRES(SolverControl &       cn,
+SolverFGMRES<VectorType>::SolverFGMRES(SolverControl        &cn,
                                        const AdditionalData &data)
   : SolverBase<VectorType>(cn)
   , additional_data(data)
@@ -1711,9 +1711,9 @@ SolverFGMRES<VectorType>::SolverFGMRES(SolverControl &       cn,
 template <typename VectorType>
 template <typename MatrixType, typename PreconditionerType>
 void
-SolverFGMRES<VectorType>::solve(const MatrixType &        A,
-                                VectorType &              x,
-                                const VectorType &        b,
+SolverFGMRES<VectorType>::solve(const MatrixType         &A,
+                                VectorType               &x,
+                                const VectorType         &b,
                                 const PreconditionerType &preconditioner)
 {
   LogStream::Prefix prefix("FGMRES");
index f9e4b3cf3dca921502f8f4e65cc549ca5f111b94..c4466df3518945e80d33a4e7c8d8abb1fac450a7 100644 (file)
@@ -137,15 +137,15 @@ public:
   /**
    * Constructor.
    */
-  SolverIDR(SolverControl &           cn,
+  SolverIDR(SolverControl            &cn,
             VectorMemory<VectorType> &mem,
-            const AdditionalData &    data = AdditionalData());
+            const AdditionalData     &data = AdditionalData());
 
   /**
    * Constructor. Use an object of type GrowingVectorMemory as a default to
    * allocate memory.
    */
-  explicit SolverIDR(SolverControl &       cn,
+  explicit SolverIDR(SolverControl        &cn,
                      const AdditionalData &data = AdditionalData());
 
   /**
@@ -158,9 +158,9 @@ public:
    */
   template <typename MatrixType, typename PreconditionerType>
   void
-  solve(const MatrixType &        A,
-        VectorType &              x,
-        const VectorType &        b,
+  solve(const MatrixType         &A,
+        VectorType               &x,
+        const VectorType         &b,
         const PreconditionerType &preconditioner);
 
 protected:
@@ -171,9 +171,9 @@ protected:
    */
   virtual void
   print_vectors(const unsigned int step,
-                const VectorType x,
-                const VectorType r,
-                const VectorType d) const;
+                const VectorType  &x,
+                const VectorType  &r,
+                const VectorType  &d) const;
 
 private:
   /**
@@ -216,7 +216,7 @@ namespace internal
     template <typename VectorType>
     inline VectorType &
     TmpVectors<VectorType>::operator()(const unsigned int i,
-                                       const VectorType temp)
+                                       const VectorType  &temp)
     {
       AssertIndexRange(i, data.size());
       if (data[i] == nullptr)
@@ -279,9 +279,9 @@ namespace internal
 
 
 template <typename VectorType>
-SolverIDR<VectorType>::SolverIDR(SolverControl &           cn,
+SolverIDR<VectorType>::SolverIDR(SolverControl            &cn,
                                  VectorMemory<VectorType> &mem,
-                                 const AdditionalData &    data)
+                                 const AdditionalData     &data)
   : SolverBase<VectorType>(cn, mem)
   , additional_data(data)
 {}
@@ -309,9 +309,9 @@ SolverIDR<VectorType>::print_vectors(const unsigned int,
 template <typename VectorType>
 template <typename MatrixType, typename PreconditionerType>
 void
-SolverIDR<VectorType>::solve(const MatrixType &        A,
-                             VectorType &              x,
-                             const VectorType &        b,
+SolverIDR<VectorType>::solve(const MatrixType         &A,
+                             VectorType               &x,
+                             const VectorType         &b,
                              const PreconditionerType &preconditioner)
 {
   LogStream::Prefix prefix("IDR(s)");
index 7a995aaca59b75ec9a9c2f2d05fd8d85a655bc77..79f697d457d69d674116a44fb5d67c53ab49b0e3 100644 (file)
@@ -80,15 +80,15 @@ public:
   /**
    * Constructor.
    */
-  SolverMinRes(SolverControl &           cn,
+  SolverMinRes(SolverControl            &cn,
                VectorMemory<VectorType> &mem,
-               const AdditionalData &    data = AdditionalData());
+               const AdditionalData     &data = AdditionalData());
 
   /**
    * Constructor. Use an object of type GrowingVectorMemory as a default to
    * allocate memory.
    */
-  SolverMinRes(SolverControl &       cn,
+  SolverMinRes(SolverControl        &cn,
                const AdditionalData &data = AdditionalData());
 
   /**
@@ -101,9 +101,9 @@ public:
    */
   template <typename MatrixType, typename PreconditionerType>
   void
-  solve(const MatrixType &        A,
-        VectorType &              x,
-        const VectorType &        b,
+  solve(const MatrixType         &A,
+        VectorType               &x,
+        const VectorType         &b,
         const PreconditionerType &preconditioner);
 
   /**
@@ -131,9 +131,9 @@ protected:
    */
   virtual void
   print_vectors(const unsigned int step,
-                const VectorType x,
-                const VectorType r,
-                const VectorType d) const;
+                const VectorType  &x,
+                const VectorType  &r,
+                const VectorType  &d) const;
 
   /**
    * Within the iteration loop, the square of the residual vector is stored in
@@ -150,7 +150,7 @@ protected:
 #ifndef DOXYGEN
 
 template <typename VectorType>
-SolverMinRes<VectorType>::SolverMinRes(SolverControl &           cn,
+SolverMinRes<VectorType>::SolverMinRes(SolverControl            &cn,
                                        VectorMemory<VectorType> &mem,
                                        const AdditionalData &)
   : SolverBase<VectorType>(cn, mem)
@@ -189,9 +189,9 @@ SolverMinRes<VectorType>::print_vectors(const unsigned int,
 template <typename VectorType>
 template <typename MatrixType, typename PreconditionerType>
 void
-SolverMinRes<VectorType>::solve(const MatrixType &        A,
-                                VectorType &              x,
-                                const VectorType &        b,
+SolverMinRes<VectorType>::solve(const MatrixType         &A,
+                                VectorType               &x,
+                                const VectorType         &b,
                                 const PreconditionerType &preconditioner)
 {
   LogStream::Prefix prefix("minres");
index 54a34f479fa494baf861d24aaf7812d36bebe4d9..1e05d8e59c9c99cac6529965459b0ce29dc59536 100644 (file)
@@ -161,9 +161,9 @@ public:
   /**
    * Constructor.
    */
-  SolverQMRS(SolverControl &           cn,
+  SolverQMRS(SolverControl            &cn,
              VectorMemory<VectorType> &mem,
-             const AdditionalData &    data = AdditionalData());
+             const AdditionalData     &data = AdditionalData());
 
   /**
    * Constructor. Use an object of type GrowingVectorMemory as a default to
@@ -176,9 +176,9 @@ public:
    */
   template <typename MatrixType, typename PreconditionerType>
   void
-  solve(const MatrixType &        A,
-        VectorType &              x,
-        const VectorType &        b,
+  solve(const MatrixType         &A,
+        VectorType               &x,
+        const VectorType         &b,
         const PreconditionerType &preconditioner);
 
   /**
@@ -188,9 +188,9 @@ public:
    */
   virtual void
   print_vectors(const unsigned int step,
-                const VectorType x,
-                const VectorType r,
-                const VectorType d) const;
+                const VectorType  &x,
+                const VectorType  &r,
+                const VectorType  &d) const;
 
 protected:
   /**
@@ -218,15 +218,15 @@ private:
    */
   template <typename MatrixType, typename PreconditionerType>
   IterationResult
-  iterate(const MatrixType &        A,
-          VectorType &              x,
-          const VectorType &        b,
+  iterate(const MatrixType         &A,
+          VectorType               &x,
+          const VectorType         &b,
           const PreconditionerType &preconditioner,
-          VectorType &              r,
-          VectorType &              u,
-          VectorType &              q,
-          VectorType &              t,
-          VectorType &              d);
+          VectorType               &r,
+          VectorType               &u,
+          VectorType               &q,
+          VectorType               &t,
+          VectorType               &d);
 
   /**
    * Number of the current iteration (accumulated over restarts)
@@ -251,16 +251,16 @@ SolverQMRS<VectorType>::IterationResult::IterationResult(
 
 
 template <typename VectorType>
-SolverQMRS<VectorType>::SolverQMRS(SolverControl &           cn,
+SolverQMRS<VectorType>::SolverQMRS(SolverControl            &cn,
                                    VectorMemory<VectorType> &mem,
-                                   const AdditionalData &    data)
+                                   const AdditionalData     &data)
   : SolverBase<VectorType>(cn, mem)
   , additional_data(data)
   , step(0)
 {}
 
 template <typename VectorType>
-SolverQMRS<VectorType>::SolverQMRS(SolverControl &       cn,
+SolverQMRS<VectorType>::SolverQMRS(SolverControl        &cn,
                                    const AdditionalData &data)
   : SolverBase<VectorType>(cn)
   , additional_data(data)
@@ -278,9 +278,9 @@ SolverQMRS<VectorType>::print_vectors(const unsigned int,
 template <typename VectorType>
 template <typename MatrixType, typename PreconditionerType>
 void
-SolverQMRS<VectorType>::solve(const MatrixType &        A,
-                              VectorType &              x,
-                              const VectorType &        b,
+SolverQMRS<VectorType>::solve(const MatrixType         &A,
+                              VectorType               &x,
+                              const VectorType         &b,
                               const PreconditionerType &preconditioner)
 {
   LogStream::Prefix prefix("SQMR");
@@ -326,15 +326,15 @@ SolverQMRS<VectorType>::solve(const MatrixType &        A,
 template <typename VectorType>
 template <typename MatrixType, typename PreconditionerType>
 typename SolverQMRS<VectorType>::IterationResult
-SolverQMRS<VectorType>::iterate(const MatrixType &        A,
-                                VectorType &              x,
-                                const VectorType &        b,
+SolverQMRS<VectorType>::iterate(const MatrixType         &A,
+                                VectorType               &x,
+                                const VectorType         &b,
                                 const PreconditionerType &preconditioner,
-                                VectorType &              r,
-                                VectorType &              u,
-                                VectorType &              q,
-                                VectorType &              t,
-                                VectorType &              d)
+                                VectorType               &r,
+                                VectorType               &u,
+                                VectorType               &q,
+                                VectorType               &t,
+                                VectorType               &d)
 {
   SolverControl::State state = SolverControl::iterate;
 
index 585b11baa303527d5514846aa881ac10d2be21d8..a3ef785b7955383859c18d0bf452d06c2737bbaa 100644 (file)
@@ -67,7 +67,7 @@ public:
   /**
    * Constructor.
    */
-  SolverRelaxation(SolverControl &       cn,
+  SolverRelaxation(SolverControl        &cn,
                    const AdditionalData &data = AdditionalData());
 
   /**
@@ -77,9 +77,9 @@ public:
    */
   template <typename MatrixType, typename RelaxationType>
   void
-  solve(const MatrixType &    A,
-        VectorType &          x,
-        const VectorType &    b,
+  solve(const MatrixType     &A,
+        VectorType           &x,
+        const VectorType     &b,
         const RelaxationType &R);
 };
 
@@ -96,9 +96,9 @@ SolverRelaxation<VectorType>::SolverRelaxation(SolverControl &cn,
 template <typename VectorType>
 template <typename MatrixType, typename RelaxationType>
 void
-SolverRelaxation<VectorType>::solve(const MatrixType &    A,
-                                    VectorType &          x,
-                                    const VectorType &    b,
+SolverRelaxation<VectorType>::solve(const MatrixType     &A,
+                                    VectorType           &x,
+                                    const VectorType     &b,
                                     const RelaxationType &R)
 {
   GrowingVectorMemory<VectorType> mem;
@@ -106,10 +106,10 @@ SolverRelaxation<VectorType>::solve(const MatrixType &    A,
 
   // Memory allocation
   typename VectorMemory<VectorType>::Pointer Vr(mem);
-  VectorType &                               r = *Vr;
+  VectorType                                &r = *Vr;
   r.reinit(x);
   typename VectorMemory<VectorType>::Pointer Vd(mem);
-  VectorType &                               d = *Vd;
+  VectorType                                &d = *Vd;
   d.reinit(x);
 
   LogStream::Prefix prefix("Relaxation");
index 68850ae3e8b90879eb975d805f9098557ee1cb7d..add3634f47bb0d127e8856c8811a6c23183f322d 100644 (file)
@@ -89,15 +89,15 @@ public:
   /**
    * Constructor.
    */
-  SolverRichardson(SolverControl &           cn,
+  SolverRichardson(SolverControl            &cn,
                    VectorMemory<VectorType> &mem,
-                   const AdditionalData &    data = AdditionalData());
+                   const AdditionalData     &data = AdditionalData());
 
   /**
    * Constructor. Use an object of type GrowingVectorMemory as a default to
    * allocate memory.
    */
-  SolverRichardson(SolverControl &       cn,
+  SolverRichardson(SolverControl        &cn,
                    const AdditionalData &data = AdditionalData());
 
   /**
@@ -110,9 +110,9 @@ public:
    */
   template <typename MatrixType, typename PreconditionerType>
   void
-  solve(const MatrixType &        A,
-        VectorType &              x,
-        const VectorType &        b,
+  solve(const MatrixType         &A,
+        VectorType               &x,
+        const VectorType         &b,
         const PreconditionerType &preconditioner);
 
   /**
@@ -120,9 +120,9 @@ public:
    */
   template <typename MatrixType, typename PreconditionerType>
   void
-  Tsolve(const MatrixType &        A,
-         VectorType &              x,
-         const VectorType &        b,
+  Tsolve(const MatrixType         &A,
+         VectorType               &x,
+         const VectorType         &b,
          const PreconditionerType &preconditioner);
 
   /**
@@ -138,9 +138,9 @@ public:
    */
   virtual void
   print_vectors(const unsigned int step,
-                const VectorType x,
-                const VectorType r,
-                const VectorType d) const;
+                const VectorType  &x,
+                const VectorType  &r,
+                const VectorType  &d) const;
 
 protected:
   /**
@@ -173,9 +173,9 @@ inline SolverRichardson<VectorType>::AdditionalData::AdditionalData(
 
 
 template <typename VectorType>
-SolverRichardson<VectorType>::SolverRichardson(SolverControl &           cn,
+SolverRichardson<VectorType>::SolverRichardson(SolverControl            &cn,
                                                VectorMemory<VectorType> &mem,
-                                               const AdditionalData &    data)
+                                               const AdditionalData     &data)
   : SolverBase<VectorType>(cn, mem)
   , additional_data(data)
 {}
@@ -183,7 +183,7 @@ SolverRichardson<VectorType>::SolverRichardson(SolverControl &           cn,
 
 
 template <typename VectorType>
-SolverRichardson<VectorType>::SolverRichardson(SolverControl &       cn,
+SolverRichardson<VectorType>::SolverRichardson(SolverControl        &cn,
                                                const AdditionalData &data)
   : SolverBase<VectorType>(cn)
   , additional_data(data)
@@ -194,9 +194,9 @@ SolverRichardson<VectorType>::SolverRichardson(SolverControl &       cn,
 template <typename VectorType>
 template <typename MatrixType, typename PreconditionerType>
 void
-SolverRichardson<VectorType>::solve(const MatrixType &        A,
-                                    VectorType &              x,
-                                    const VectorType &        b,
+SolverRichardson<VectorType>::solve(const MatrixType         &A,
+                                    VectorType               &x,
+                                    const VectorType         &b,
                                     const PreconditionerType &preconditioner)
 {
   SolverControl::State conv = SolverControl::iterate;
@@ -251,9 +251,9 @@ SolverRichardson<VectorType>::solve(const MatrixType &        A,
 template <typename VectorType>
 template <typename MatrixType, typename PreconditionerType>
 void
-SolverRichardson<VectorType>::Tsolve(const MatrixType &        A,
-                                     VectorType &              x,
-                                     const VectorType &        b,
+SolverRichardson<VectorType>::Tsolve(const MatrixType         &A,
+                                     VectorType               &x,
+                                     const VectorType         &b,
                                      const PreconditionerType &preconditioner)
 {
   SolverControl::State conv           = SolverControl::iterate;
index 6ade261c5512d62f4f83c758a4aefae9669c797f..70a8c1a2d4dbbd791736b4b13d761096a56258b4 100644 (file)
@@ -118,9 +118,9 @@ public:
    */
   template <class Matrix, class Preconditioner>
   void
-  solve(const Matrix &        A,
-        VectorType &          x,
-        const VectorType &    b,
+  solve(const Matrix         &A,
+        VectorType           &x,
+        const VectorType     &b,
         const Preconditioner &precond) const;
 
   /**
@@ -248,7 +248,7 @@ private:
 
 template <typename VectorType>
 SolverSelector<VectorType>::SolverSelector(const std::string &name,
-                                           SolverControl &    solver_control)
+                                           SolverControl     &solver_control)
   : solver_name(name)
   , control(&solver_control)
 {}
@@ -267,9 +267,9 @@ SolverSelector<VectorType>::select(const std::string &name)
 template <typename VectorType>
 template <class Matrix, class Preconditioner>
 void
-SolverSelector<VectorType>::solve(const Matrix &        A,
-                                  VectorType &          x,
-                                  const VectorType &    b,
+SolverSelector<VectorType>::solve(const Matrix         &A,
+                                  VectorType           &x,
+                                  const VectorType     &b,
                                   const Preconditioner &precond) const
 {
   if (solver_name == "richardson")
index 6c612843de1159e31fbbc4da56265072268b240c..373180734be99ff43f1197a8f7b070d275f2dcea 100644 (file)
@@ -383,7 +383,7 @@ SparseLUDecomposition<number>::n() const
 template <typename number>
 template <class OutVector, class InVector>
 inline void
-SparseLUDecomposition<number>::vmult_add(OutVector &     dst,
+SparseLUDecomposition<number>::vmult_add(OutVector      &dst,
                                          const InVector &src) const
 {
   OutVector tmp;
@@ -399,7 +399,7 @@ SparseLUDecomposition<number>::vmult_add(OutVector &     dst,
 template <typename number>
 template <class OutVector, class InVector>
 inline void
-SparseLUDecomposition<number>::Tvmult_add(OutVector &     dst,
+SparseLUDecomposition<number>::Tvmult_add(OutVector      &dst,
                                           const InVector &src) const
 {
   OutVector tmp;
index d13a6ed70e94a9902cf92d3e3312862858ccdec7..89750ccf0c5cc182c4fa4e9e1f0e2bc613fab615 100644 (file)
@@ -168,8 +168,8 @@ SparseLUDecomposition<number>::copy_from(const SparseMatrix<somenumber> &matrix)
   // pattern as the input matrix
   if (&this->get_sparsity_pattern() == &matrix.get_sparsity_pattern())
     {
-      const somenumber *  input_ptr = matrix.val.get();
-      number *            this_ptr  = this->val.get();
+      const somenumber   *input_ptr = matrix.val.get();
+      number             *this_ptr  = this->val.get();
       const number *const end_ptr   = this_ptr + this->n_nonzero_elements();
       if (std::is_same_v<somenumber, number> == true)
         std::memcpy(this_ptr,
index 519b5c8a5b7a30116d1e74d3bd2d8581a0981a6c..8cc8e200c7b40879e988731a1a3963cc882841d9 100644 (file)
@@ -151,7 +151,7 @@ public:
    */
   template <class Matrix>
   void
-  initialize(const Matrix &       matrix,
+  initialize(const Matrix        &matrix,
              const AdditionalData additional_data = AdditionalData());
 
   /**
@@ -278,7 +278,7 @@ public:
    */
   template <class Matrix>
   void
-  solve(const Matrix &  matrix,
+  solve(const Matrix   &matrix,
         Vector<double> &rhs_and_solution,
         const bool      transpose = false);
 
@@ -287,7 +287,7 @@ public:
    */
   template <class Matrix>
   void
-  solve(const Matrix &                matrix,
+  solve(const Matrix                 &matrix,
         Vector<std::complex<double>> &rhs_and_solution,
         const bool                    transpose = false);
 
@@ -296,7 +296,7 @@ public:
    */
   template <class Matrix>
   void
-  solve(const Matrix &       matrix,
+  solve(const Matrix        &matrix,
         BlockVector<double> &rhs_and_solution,
         const bool           transpose = false);
 
@@ -305,7 +305,7 @@ public:
    */
   template <class Matrix>
   void
-  solve(const Matrix &                     matrix,
+  solve(const Matrix                      &matrix,
         BlockVector<std::complex<double>> &rhs_and_solution,
         const bool                         transpose = false);
 
index 1d70b02e2e62c3a3571d68cdea5b697914439046..6e75ed57cad3dce4208f9a5b59a599b74a497413 100644 (file)
@@ -99,7 +99,7 @@ public:
   template <typename somenumber>
   void
   initialize(const SparseMatrix<somenumber> &matrix,
-             const AdditionalData &          parameters = AdditionalData());
+             const AdditionalData           &parameters = AdditionalData());
 
   /**
    * Apply the incomplete decomposition, i.e. do one forward-backward step
index 5816e3d1ff4919282d0e4ac9f47121162b828dc3..795b325e0bf5c21230615c836cfaac24da55612f 100644 (file)
@@ -34,7 +34,7 @@ template <typename number>
 template <typename somenumber>
 void
 SparseILU<number>::initialize(const SparseMatrix<somenumber> &matrix,
-                              const AdditionalData &          data)
+                              const AdditionalData           &data)
 {
   SparseLUDecomposition<number>::initialize(matrix, data);
 
@@ -55,7 +55,7 @@ SparseILU<number>::initialize(const SparseMatrix<somenumber> &matrix,
   // in the following, we implement algorithm 10.4 in the book by Saad by
   // translating in essence the algorithm given at the end of section 10.3.2,
   // using the names of variables used there
-  const SparsityPattern &  sparsity = this->get_sparsity_pattern();
+  const SparsityPattern   &sparsity = this->get_sparsity_pattern();
   const std::size_t *const ia       = sparsity.rowstart.get();
   const size_type *const   ja       = sparsity.colnums.get();
 
@@ -136,7 +136,7 @@ SparseILU<number>::initialize(const SparseMatrix<somenumber> &matrix,
 template <typename number>
 template <typename somenumber>
 void
-SparseILU<number>::vmult(Vector<somenumber> &      dst,
+SparseILU<number>::vmult(Vector<somenumber>       &dst,
                          const Vector<somenumber> &src) const
 {
   Assert(dst.size() == src.size(),
@@ -218,7 +218,7 @@ SparseILU<number>::vmult(Vector<somenumber> &      dst,
 template <typename number>
 template <typename somenumber>
 void
-SparseILU<number>::Tvmult(Vector<somenumber> &      dst,
+SparseILU<number>::Tvmult(Vector<somenumber>       &dst,
                           const Vector<somenumber> &src) const
 {
   Assert(dst.size() == src.size(),
@@ -259,7 +259,7 @@ SparseILU<number>::Tvmult(Vector<somenumber> &      dst,
         this->prebuilt_lower_bound[row];
 
       const somenumber dst_row = dst(row);
-      const number *   luval   = this->SparseMatrix<number>::val.get() +
+      const number    *luval   = this->SparseMatrix<number>::val.get() +
                             (first_after_diagonal - column_numbers);
       for (const size_type *col = first_after_diagonal; col != rowend;
            ++col, ++luval)
@@ -289,7 +289,7 @@ SparseILU<number>::Tvmult(Vector<somenumber> &      dst,
         this->prebuilt_lower_bound[row];
 
       const somenumber dst_row = dst(row);
-      const number *   luval =
+      const number    *luval =
         this->SparseMatrix<number>::val.get() + (rowstart - column_numbers);
       for (const size_type *col = rowstart; col != first_after_diagonal;
            ++col, ++luval)
index 135cf96f4ae5ce8f8d24a218465145c2e149d54c..cc3c481d044891a2963af34baafd13ce29f59ff8 100644 (file)
@@ -816,7 +816,7 @@ public:
   template <typename number2>
   void
   set(const std::vector<size_type> &indices,
-      const FullMatrix<number2> &   full_matrix,
+      const FullMatrix<number2>    &full_matrix,
       const bool                    elide_zero_values = false);
 
   /**
@@ -828,7 +828,7 @@ public:
   void
   set(const std::vector<size_type> &row_indices,
       const std::vector<size_type> &col_indices,
-      const FullMatrix<number2> &   full_matrix,
+      const FullMatrix<number2>    &full_matrix,
       const bool                    elide_zero_values = false);
 
   /**
@@ -845,7 +845,7 @@ public:
   void
   set(const size_type               row,
       const std::vector<size_type> &col_indices,
-      const std::vector<number2> &  values,
+      const std::vector<number2>   &values,
       const bool                    elide_zero_values = false);
 
   /**
@@ -862,7 +862,7 @@ public:
   set(const size_type  row,
       const size_type  n_cols,
       const size_type *col_indices,
-      const number2 *  values,
+      const number2   *values,
       const bool       elide_zero_values = false);
 
   /**
@@ -890,7 +890,7 @@ public:
   template <typename number2>
   void
   add(const std::vector<size_type> &indices,
-      const FullMatrix<number2> &   full_matrix,
+      const FullMatrix<number2>    &full_matrix,
       const bool                    elide_zero_values = true);
 
   /**
@@ -902,7 +902,7 @@ public:
   void
   add(const std::vector<size_type> &row_indices,
       const std::vector<size_type> &col_indices,
-      const FullMatrix<number2> &   full_matrix,
+      const FullMatrix<number2>    &full_matrix,
       const bool                    elide_zero_values = true);
 
   /**
@@ -918,7 +918,7 @@ public:
   void
   add(const size_type               row,
       const std::vector<size_type> &col_indices,
-      const std::vector<number2> &  values,
+      const std::vector<number2>   &values,
       const bool                    elide_zero_values = true);
 
   /**
@@ -935,7 +935,7 @@ public:
   add(const size_type  row,
       const size_type  n_cols,
       const size_type *col_indices,
-      const number2 *  values,
+      const number2   *values,
       const bool       elide_zero_values      = true,
       const bool       col_indices_are_sorted = false);
 
@@ -1235,7 +1235,7 @@ public:
    */
   template <typename somenumber>
   somenumber
-  residual(Vector<somenumber> &      dst,
+  residual(Vector<somenumber>       &dst,
            const Vector<somenumber> &x,
            const Vector<somenumber> &b) const;
 
@@ -1276,9 +1276,9 @@ public:
    */
   template <typename numberB, typename numberC>
   void
-  mmult(SparseMatrix<numberC> &      C,
+  mmult(SparseMatrix<numberC>       &C,
         const SparseMatrix<numberB> &B,
-        const Vector<number> &       V = Vector<number>(),
+        const Vector<number>        &V = Vector<number>(),
         const bool                   rebuild_sparsity_pattern = true) const;
 
   /**
@@ -1307,9 +1307,9 @@ public:
    */
   template <typename numberB, typename numberC>
   void
-  Tmmult(SparseMatrix<numberC> &      C,
+  Tmmult(SparseMatrix<numberC>       &C,
          const SparseMatrix<numberB> &B,
-         const Vector<number> &       V = Vector<number>(),
+         const Vector<number>        &V = Vector<number>(),
          const bool                   rebuild_sparsity_pattern = true) const;
 
   /** @} */
@@ -1357,7 +1357,7 @@ public:
    */
   template <typename somenumber>
   void
-  precondition_Jacobi(Vector<somenumber> &      dst,
+  precondition_Jacobi(Vector<somenumber>       &dst,
                       const Vector<somenumber> &src,
                       const number              omega = 1.) const;
 
@@ -1369,8 +1369,8 @@ public:
    */
   template <typename somenumber>
   void
-  precondition_SSOR(Vector<somenumber> &            dst,
-                    const Vector<somenumber> &      src,
+  precondition_SSOR(Vector<somenumber>             &dst,
+                    const Vector<somenumber>       &src,
                     const number                    omega = 1.,
                     const std::vector<std::size_t> &pos_right_of_diagonal =
                       std::vector<std::size_t>()) const;
@@ -1380,7 +1380,7 @@ public:
    */
   template <typename somenumber>
   void
-  precondition_SOR(Vector<somenumber> &      dst,
+  precondition_SOR(Vector<somenumber>       &dst,
                    const Vector<somenumber> &src,
                    const number              omega = 1.) const;
 
@@ -1389,7 +1389,7 @@ public:
    */
   template <typename somenumber>
   void
-  precondition_TSOR(Vector<somenumber> &      dst,
+  precondition_TSOR(Vector<somenumber>       &dst,
                     const Vector<somenumber> &src,
                     const number              omega = 1.) const;
 
@@ -1430,7 +1430,7 @@ public:
    */
   template <typename somenumber>
   void
-  PSOR(Vector<somenumber> &          v,
+  PSOR(Vector<somenumber>           &v,
        const std::vector<size_type> &permutation,
        const std::vector<size_type> &inverse_permutation,
        const number                  omega = 1.) const;
@@ -1447,7 +1447,7 @@ public:
    */
   template <typename somenumber>
   void
-  TPSOR(Vector<somenumber> &          v,
+  TPSOR(Vector<somenumber>           &v,
         const std::vector<size_type> &permutation,
         const std::vector<size_type> &inverse_permutation,
         const number                  omega = 1.) const;
@@ -1459,7 +1459,7 @@ public:
    */
   template <typename somenumber>
   void
-  Jacobi_step(Vector<somenumber> &      v,
+  Jacobi_step(Vector<somenumber>       &v,
               const Vector<somenumber> &b,
               const number              omega = 1.) const;
 
@@ -1469,7 +1469,7 @@ public:
    */
   template <typename somenumber>
   void
-  SOR_step(Vector<somenumber> &      v,
+  SOR_step(Vector<somenumber>       &v,
            const Vector<somenumber> &b,
            const number              omega = 1.) const;
 
@@ -1479,7 +1479,7 @@ public:
    */
   template <typename somenumber>
   void
-  TSOR_step(Vector<somenumber> &      v,
+  TSOR_step(Vector<somenumber>       &v,
             const Vector<somenumber> &b,
             const number              omega = 1.) const;
 
@@ -1489,7 +1489,7 @@ public:
    */
   template <typename somenumber>
   void
-  SSOR_step(Vector<somenumber> &      v,
+  SSOR_step(Vector<somenumber>       &v,
             const Vector<somenumber> &b,
             const number              omega = 1.) const;
   /** @} */
@@ -1604,11 +1604,11 @@ public:
    * applied to a large matrix!
    */
   void
-  print_formatted(std::ostream &     out,
+  print_formatted(std::ostream      &out,
                   const unsigned int precision   = 3,
                   const bool         scientific  = true,
                   const unsigned int width       = 0,
-                  const char *       zero_string = " ",
+                  const char        *zero_string = " ",
                   const double       denominator = 1.) const;
 
   /**
@@ -1628,7 +1628,7 @@ public:
    * </code>
    */
   void
-  print_as_numpy_arrays(std::ostream &     out,
+  print_as_numpy_arrays(std::ostream      &out,
                         const unsigned int precision = 9) const;
 
   /**
@@ -1851,7 +1851,7 @@ template <typename number>
 template <typename number2>
 inline void
 SparseMatrix<number>::set(const std::vector<size_type> &indices,
-                          const FullMatrix<number2> &   values,
+                          const FullMatrix<number2>    &values,
                           const bool                    elide_zero_values)
 {
   Assert(indices.size() == values.m(),
@@ -1873,7 +1873,7 @@ template <typename number2>
 inline void
 SparseMatrix<number>::set(const std::vector<size_type> &row_indices,
                           const std::vector<size_type> &col_indices,
-                          const FullMatrix<number2> &   values,
+                          const FullMatrix<number2>    &values,
                           const bool                    elide_zero_values)
 {
   Assert(row_indices.size() == values.m(),
@@ -1896,7 +1896,7 @@ template <typename number2>
 inline void
 SparseMatrix<number>::set(const size_type               row,
                           const std::vector<size_type> &col_indices,
-                          const std::vector<number2> &  values,
+                          const std::vector<number2>   &values,
                           const bool                    elide_zero_values)
 {
   Assert(col_indices.size() == values.size(),
@@ -1942,7 +1942,7 @@ template <typename number>
 template <typename number2>
 inline void
 SparseMatrix<number>::add(const std::vector<size_type> &indices,
-                          const FullMatrix<number2> &   values,
+                          const FullMatrix<number2>    &values,
                           const bool                    elide_zero_values)
 {
   Assert(indices.size() == values.m(),
@@ -1964,7 +1964,7 @@ template <typename number2>
 inline void
 SparseMatrix<number>::add(const std::vector<size_type> &row_indices,
                           const std::vector<size_type> &col_indices,
-                          const FullMatrix<number2> &   values,
+                          const FullMatrix<number2>    &values,
                           const bool                    elide_zero_values)
 {
   Assert(row_indices.size() == values.m(),
@@ -1987,7 +1987,7 @@ template <typename number2>
 inline void
 SparseMatrix<number>::add(const size_type               row,
                           const std::vector<size_type> &col_indices,
-                          const std::vector<number2> &  values,
+                          const std::vector<number2>   &values,
                           const bool                    elide_zero_values)
 {
   Assert(col_indices.size() == values.size(),
@@ -2010,7 +2010,7 @@ SparseMatrix<number>::operator*=(const number factor)
   Assert(cols != nullptr, ExcNeedsSparsityPattern());
   Assert(val != nullptr, ExcNotInitialized());
 
-  number *            val_ptr = val.get();
+  number             *val_ptr = val.get();
   const number *const end_ptr = val.get() + cols->n_nonzero_elements();
 
   while (val_ptr != end_ptr)
@@ -2031,7 +2031,7 @@ SparseMatrix<number>::operator/=(const number factor)
 
   const number factor_inv = number(1.) / factor;
 
-  number *            val_ptr = val.get();
+  number             *val_ptr = val.get();
   const number *const end_ptr = val.get() + cols->n_nonzero_elements();
 
   while (val_ptr != end_ptr)
@@ -2264,7 +2264,7 @@ namespace SparseMatrixIterators
 
 
   template <typename number>
-  inline Accessor<number, false>::Accessor(MatrixType *      matrix,
+  inline Accessor<number, false>::Accessor(MatrixType       *matrix,
                                            const std::size_t index)
     : SparsityPatternIterators::Accessor(&matrix->get_sparsity_pattern(), index)
     , matrix(matrix)
@@ -2299,7 +2299,7 @@ namespace SparseMatrixIterators
 
 
   template <typename number, bool Constness>
-  inline Iterator<number, Constness>::Iterator(MatrixType *      matrix,
+  inline Iterator<number, Constness>::Iterator(MatrixType       *matrix,
                                                const std::size_t index)
     : accessor(matrix, index)
   {}
index d1dcc6257eea9eb04345c8eddd8b54af60217cb1..5910ca5a7612e0ca47fe2de538d4a2dae11e674d 100644 (file)
@@ -134,7 +134,7 @@ SparseMatrix<number>::SparseMatrix(const SparsityPattern &c)
 
 template <typename number>
 SparseMatrix<number>::SparseMatrix(const SparsityPattern &c,
-                                   const IdentityMatrix id)
+                                   const IdentityMatrix  &id)
   : cols(nullptr, "SparseMatrix")
   , val(nullptr)
   , max_len(0)
@@ -347,7 +347,7 @@ SparseMatrix<number>::symmetrize()
       number *val_ptr = &val[cols->rowstart[row]];
       if (m() == n())
         ++val_ptr;
-      const size_type *   colnum_ptr = &cols->colnums[cols->rowstart[row] + 1];
+      const size_type    *colnum_ptr = &cols->colnums[cols->rowstart[row] + 1];
       const number *const val_end_of_row = &val[cols->rowstart[row + 1]];
 
       // treat lower left triangle
@@ -464,8 +464,8 @@ SparseMatrix<number>::add(const number                    factor,
   Assert(val != nullptr, ExcNotInitialized());
   Assert(cols == matrix.cols, ExcDifferentSparsityPatterns());
 
-  number *            val_ptr    = val.get();
-  const somenumber *  matrix_ptr = matrix.val.get();
+  number             *val_ptr    = val.get();
+  const somenumber   *matrix_ptr = matrix.val.get();
   const number *const end_ptr    = val.get() + cols->n_nonzero_elements();
 
   while (val_ptr != end_ptr)
@@ -490,15 +490,15 @@ namespace internal
     void
     vmult_on_subrange(const size_type    begin_row,
                       const size_type    end_row,
-                      const number *     values,
+                      const number      *values,
                       const std::size_t *rowstart,
-                      const size_type *  colnums,
-                      const InVector &   src,
-                      OutVector &        dst,
+                      const size_type   *colnums,
+                      const InVector    &src,
+                      OutVector         &dst,
                       const bool         add)
     {
-      const number *               val_ptr    = &values[rowstart[begin_row]];
-      const size_type *            colnum_ptr = &colnums[rowstart[begin_row]];
+      const number                *val_ptr    = &values[rowstart[begin_row]];
+      const size_type             *colnum_ptr = &colnums[rowstart[begin_row]];
       typename OutVector::iterator dst_ptr    = dst.begin() + begin_row;
 
       if (add == false)
@@ -532,7 +532,7 @@ void
 SparseMatrix<number>::add(const size_type  row,
                           const size_type  n_cols,
                           const size_type *col_indices,
-                          const number2 *  values,
+                          const number2   *values,
                           const bool       elide_zero_values,
                           const bool       col_indices_are_sorted)
 {
@@ -558,7 +558,7 @@ SparseMatrix<number>::add(const size_type  row,
 
       const size_type *this_cols    = &cols->colnums[cols->rowstart[row]];
       const size_type  row_length_1 = cols->row_length(row) - 1;
-      number *         val_ptr      = &val[cols->rowstart[row]];
+      number          *val_ptr      = &val[cols->rowstart[row]];
 
       if (m() == n())
         {
@@ -690,7 +690,7 @@ void
 SparseMatrix<number>::set(const size_type  row,
                           const size_type  n_cols,
                           const size_type *col_indices,
-                          const number2 *  values,
+                          const number2   *values,
                           const bool       elide_zero_values)
 {
   Assert(cols != nullptr, ExcNeedsSparsityPattern());
@@ -699,7 +699,7 @@ SparseMatrix<number>::set(const size_type  row,
   // First, search all the indices to find
   // out which values we actually need to
   // set.
-  const size_type my_cols = cols->colnums.get();
+  const size_type  *my_cols = cols->colnums.get();
   std::size_t       index = cols->rowstart[row], next_index = index;
   const std::size_t next_row_index = cols->rowstart[row + 1];
 
@@ -894,10 +894,10 @@ namespace internal
     typename InVector::value_type
     matrix_norm_sqr_on_subrange(const size_type    begin_row,
                                 const size_type    end_row,
-                                const number *     values,
+                                const number      *values,
                                 const std::size_t *rowstart,
-                                const size_type *  colnums,
-                                const InVector &   v)
+                                const size_type   *colnums,
+                                const InVector    &v)
     {
       typename InVector::value_type norm_sqr = 0.;
 
@@ -960,11 +960,11 @@ namespace internal
     typename InVector::value_type
     matrix_scalar_product_on_subrange(const size_type    begin_row,
                                       const size_type    end_row,
-                                      const number *     values,
+                                      const number      *values,
                                       const std::size_t *rowstart,
-                                      const size_type *  colnums,
-                                      const InVector &   u,
-                                      const InVector &   v)
+                                      const size_type   *colnums,
+                                      const InVector    &u,
+                                      const InVector    &v)
     {
       typename InVector::value_type norm_sqr = 0.;
 
@@ -1016,9 +1016,9 @@ SparseMatrix<number>::matrix_scalar_product(const Vector<somenumber> &u,
 template <typename number>
 template <typename numberB, typename numberC>
 void
-SparseMatrix<number>::mmult(SparseMatrix<numberC> &      C,
+SparseMatrix<number>::mmult(SparseMatrix<numberC>       &C,
                             const SparseMatrix<numberB> &B,
-                            const Vector<number> &       V,
+                            const Vector<number>        &V,
                             const bool rebuild_sparsity_C) const
 {
   const bool use_vector = V.size() == n() ? true : false;
@@ -1076,7 +1076,7 @@ SparseMatrix<number>::mmult(SparseMatrix<numberC> &      C,
   // elements in that row in B.
   for (size_type i = 0; i < C.m(); ++i)
     {
-      const size_type *      rows     = &sp_A.colnums[sp_A.rowstart[i]];
+      const size_type       *rows     = &sp_A.colnums[sp_A.rowstart[i]];
       const size_type *const end_rows = &sp_A.colnums[sp_A.rowstart[i + 1]];
       for (; rows != end_rows; ++rows)
         {
@@ -1099,7 +1099,7 @@ SparseMatrix<number>::mmult(SparseMatrix<numberC> &      C,
           // now the innermost loop that goes over all the elements in row
           // 'col' of matrix B. Cache the elements, and then write them into C
           // at once
-          numberC *      new_ptr = new_entries.data();
+          numberC       *new_ptr = new_entries.data();
           const numberB *B_val_ptr =
             &B.val[new_cols - &sp_B.colnums[sp_B.rowstart[0]]];
           const numberB *const end_cols = &B.val[sp_B.rowstart[col + 1]];
@@ -1122,9 +1122,9 @@ SparseMatrix<number>::mmult(SparseMatrix<numberC> &      C,
 template <typename number>
 template <typename numberB, typename numberC>
 void
-SparseMatrix<number>::Tmmult(SparseMatrix<numberC> &      C,
+SparseMatrix<number>::Tmmult(SparseMatrix<numberC>       &C,
                              const SparseMatrix<numberB> &B,
-                             const Vector<number> &       V,
+                             const Vector<number>        &V,
                              const bool rebuild_sparsity_C) const
 {
   const bool use_vector = V.size() == m() ? true : false;
@@ -1182,9 +1182,9 @@ SparseMatrix<number>::Tmmult(SparseMatrix<numberC> &      C,
   // elements in that row in B.
   for (size_type i = 0; i < m(); ++i)
     {
-      const size_type *      rows     = &sp_A.colnums[sp_A.rowstart[i]];
+      const size_type       *rows     = &sp_A.colnums[sp_A.rowstart[i]];
       const size_type *const end_rows = &sp_A.colnums[sp_A.rowstart[i + 1]];
-      const size_type *      new_cols = &sp_B.colnums[sp_B.rowstart[i]];
+      const size_type       *new_cols = &sp_B.colnums[sp_B.rowstart[i]];
       if (sp_B.n_rows() == sp_B.n_cols())
         ++new_cols;
 
@@ -1207,7 +1207,7 @@ SparseMatrix<number>::Tmmult(SparseMatrix<numberC> &      C,
           // now the innermost loop that goes over all the elements in row
           // 'col' of matrix B. Cache the elements, and then write them into C
           // at once
-          numberC *      new_ptr = new_entries.data();
+          numberC       *new_ptr = new_entries.data();
           const numberB *B_val_ptr =
             &B.val[new_cols - &sp_B.colnums[sp_B.rowstart[0]]];
           for (; B_val_ptr != end_cols; ++B_val_ptr)
@@ -1304,12 +1304,12 @@ namespace internal
     typename OutVector::value_type
     residual_sqr_on_subrange(const size_type    begin_row,
                              const size_type    end_row,
-                             const number *     values,
+                             const number      *values,
                              const std::size_t *rowstart,
-                             const size_type *  colnums,
-                             const InVector &   u,
-                             const InVector &   b,
-                             OutVector &        dst)
+                             const size_type   *colnums,
+                             const InVector    &u,
+                             const InVector    &b,
+                             OutVector         &dst)
     {
       typename OutVector::value_type norm_sqr = 0.;
 
@@ -1332,7 +1332,7 @@ namespace internal
 template <typename number>
 template <typename somenumber>
 somenumber
-SparseMatrix<number>::residual(Vector<somenumber> &      dst,
+SparseMatrix<number>::residual(Vector<somenumber>       &dst,
                                const Vector<somenumber> &u,
                                const Vector<somenumber> &b) const
 {
@@ -1400,7 +1400,7 @@ namespace internal
 template <typename number>
 template <typename somenumber>
 void
-SparseMatrix<number>::precondition_Jacobi(Vector<somenumber> &      dst,
+SparseMatrix<number>::precondition_Jacobi(Vector<somenumber>       &dst,
                                           const Vector<somenumber> &src,
                                           const number              omega) const
 {
@@ -1413,8 +1413,8 @@ SparseMatrix<number>::precondition_Jacobi(Vector<somenumber> &      dst,
   internal::SparseMatrixImplementation::AssertNoZerosOnDiagonal(*this);
 
   const size_type    n            = src.size();
-  somenumber *       dst_ptr      = dst.begin();
-  const somenumber src_ptr      = src.begin();
+  somenumber        *dst_ptr      = dst.begin();
+  const somenumber  *src_ptr      = src.begin();
   const std::size_t *rowstart_ptr = cols->rowstart.get();
 
   // optimize the following loop for
@@ -1442,8 +1442,8 @@ template <typename number>
 template <typename somenumber>
 void
 SparseMatrix<number>::precondition_SSOR(
-  Vector<somenumber> &            dst,
-  const Vector<somenumber> &      src,
+  Vector<somenumber>             &dst,
+  const Vector<somenumber>       &src,
   const number                    omega,
   const std::vector<std::size_t> &pos_right_of_diagonal) const
 {
@@ -1461,7 +1461,7 @@ SparseMatrix<number>::precondition_SSOR(
 
   const size_type    n            = src.size();
   const std::size_t *rowstart_ptr = cols->rowstart.get();
-  somenumber *       dst_ptr      = &dst(0);
+  somenumber        *dst_ptr      = &dst(0);
 
   // case when we have stored the position
   // just right of the diagonal (then we
@@ -1579,7 +1579,7 @@ SparseMatrix<number>::precondition_SSOR(
 template <typename number>
 template <typename somenumber>
 void
-SparseMatrix<number>::precondition_SOR(Vector<somenumber> &      dst,
+SparseMatrix<number>::precondition_SOR(Vector<somenumber>       &dst,
                                        const Vector<somenumber> &src,
                                        const number              omega) const
 {
@@ -1594,7 +1594,7 @@ SparseMatrix<number>::precondition_SOR(Vector<somenumber> &      dst,
 template <typename number>
 template <typename somenumber>
 void
-SparseMatrix<number>::precondition_TSOR(Vector<somenumber> &      dst,
+SparseMatrix<number>::precondition_TSOR(Vector<somenumber>       &dst,
                                         const Vector<somenumber> &src,
                                         const number              omega) const
 {
@@ -1666,7 +1666,7 @@ SparseMatrix<number>::TSOR(Vector<somenumber> &dst, const number omega) const
 template <typename number>
 template <typename somenumber>
 void
-SparseMatrix<number>::PSOR(Vector<somenumber> &          dst,
+SparseMatrix<number>::PSOR(Vector<somenumber>           &dst,
                            const std::vector<size_type> &permutation,
                            const std::vector<size_type> &inverse_permutation,
                            const number                  omega) const
@@ -1705,7 +1705,7 @@ SparseMatrix<number>::PSOR(Vector<somenumber> &          dst,
 template <typename number>
 template <typename somenumber>
 void
-SparseMatrix<number>::TPSOR(Vector<somenumber> &          dst,
+SparseMatrix<number>::TPSOR(Vector<somenumber>           &dst,
                             const std::vector<size_type> &permutation,
                             const std::vector<size_type> &inverse_permutation,
                             const number                  omega) const
@@ -1743,7 +1743,7 @@ SparseMatrix<number>::TPSOR(Vector<somenumber> &          dst,
 template <typename number>
 template <typename somenumber>
 void
-SparseMatrix<number>::Jacobi_step(Vector<somenumber> &      v,
+SparseMatrix<number>::Jacobi_step(Vector<somenumber>       &v,
                                   const Vector<somenumber> &b,
                                   const number              omega) const
 {
@@ -1774,7 +1774,7 @@ SparseMatrix<number>::Jacobi_step(Vector<somenumber> &      v,
 template <typename number>
 template <typename somenumber>
 void
-SparseMatrix<number>::SOR_step(Vector<somenumber> &      v,
+SparseMatrix<number>::SOR_step(Vector<somenumber>       &v,
                                const Vector<somenumber> &b,
                                const number              omega) const
 {
@@ -1802,7 +1802,7 @@ SparseMatrix<number>::SOR_step(Vector<somenumber> &      v,
 template <typename number>
 template <typename somenumber>
 void
-SparseMatrix<number>::TSOR_step(Vector<somenumber> &      v,
+SparseMatrix<number>::TSOR_step(Vector<somenumber>       &v,
                                 const Vector<somenumber> &b,
                                 const number              omega) const
 {
@@ -1830,7 +1830,7 @@ SparseMatrix<number>::TSOR_step(Vector<somenumber> &      v,
 template <typename number>
 template <typename somenumber>
 void
-SparseMatrix<number>::SSOR_step(Vector<somenumber> &      v,
+SparseMatrix<number>::SSOR_step(Vector<somenumber>       &v,
                                 const Vector<somenumber> &b,
                                 const number              omega) const
 {
@@ -1907,11 +1907,11 @@ SparseMatrix<number>::get_sparsity_pattern() const
 
 template <typename number>
 void
-SparseMatrix<number>::print_formatted(std::ostream &     out,
+SparseMatrix<number>::print_formatted(std::ostream      &out,
                                       const unsigned int precision,
                                       const bool         scientific,
                                       const unsigned int width_,
-                                      const char *       zero_string,
+                                      const char        *zero_string,
                                       const double       denominator) const
 {
   Assert(cols != nullptr, ExcNeedsSparsityPattern());
@@ -1980,7 +1980,7 @@ SparseMatrix<number>::print_pattern(std::ostream &out,
 
 template <typename number>
 void
-SparseMatrix<number>::print_as_numpy_arrays(std::ostream &     out,
+SparseMatrix<number>::print_as_numpy_arrays(std::ostream      &out,
                                             const unsigned int precision) const
 {
   AssertThrow(out.fail() == false, ExcIO());
@@ -2077,7 +2077,8 @@ SparseMatrix<number>::block_read(std::istream &in)
 
 
 template <typename number>
-void SparseMatrix<number>::compress(VectorOperation::values)
+void
+SparseMatrix<number>::compress(VectorOperation::values)
 {}
 
 
index 63b40104809f1dc2b64961fc550afb9e118d32fe..46fa52da60e6c4737365a2335b715ee99c38212e 100644 (file)
@@ -428,9 +428,9 @@ public:
    * printed as well.
    */
   void
-  compute_statistics(size_type &             used,
-                     size_type &             allocated,
-                     size_type &             reserved,
+  compute_statistics(size_type              &used,
+                     size_type              &allocated,
+                     size_type              &reserved,
                      std::vector<size_type> &used_by_line,
                      const bool              compute_by_line) const;
   /** @} */
@@ -491,7 +491,7 @@ public:
   template <typename number2>
   void
   add(const std::vector<size_type> &indices,
-      const FullMatrix<number2> &   full_matrix,
+      const FullMatrix<number2>    &full_matrix,
       const bool                    elide_zero_values = true);
 
   /**
@@ -503,7 +503,7 @@ public:
   void
   add(const std::vector<size_type> &row_indices,
       const std::vector<size_type> &col_indices,
-      const FullMatrix<number2> &   full_matrix,
+      const FullMatrix<number2>    &full_matrix,
       const bool                    elide_zero_values = true);
 
   /**
@@ -519,7 +519,7 @@ public:
   void
   add(const size_type               row,
       const std::vector<size_type> &col_indices,
-      const std::vector<number2> &  values,
+      const std::vector<number2>   &values,
       const bool                    elide_zero_values = true);
 
   /**
@@ -536,7 +536,7 @@ public:
   add(const size_type  row,
       const size_type  n_cols,
       const size_type *col_indices,
-      const number2 *  values,
+      const number2   *values,
       const bool       elide_zero_values      = true,
       const bool       col_indices_are_sorted = false);
 
@@ -658,7 +658,7 @@ public:
    */
   template <typename somenumber>
   void
-  precondition_Jacobi(Vector<somenumber> &      dst,
+  precondition_Jacobi(Vector<somenumber>       &dst,
                       const Vector<somenumber> &src,
                       const number              omega = 1.) const;
 
@@ -667,8 +667,8 @@ public:
    */
   template <typename somenumber>
   void
-  precondition_SSOR(Vector<somenumber> &            dst,
-                    const Vector<somenumber> &      src,
+  precondition_SSOR(Vector<somenumber>             &dst,
+                    const Vector<somenumber>       &src,
                     const number                    om = 1.,
                     const std::vector<std::size_t> &pos_right_of_diagonal =
                       std::vector<std::size_t>()) const;
@@ -679,7 +679,7 @@ public:
    */
   template <typename somenumber>
   void
-  precondition_SOR(Vector<somenumber> &      dst,
+  precondition_SOR(Vector<somenumber>       &dst,
                    const Vector<somenumber> &src,
                    const number              om = 1.) const;
 
@@ -689,7 +689,7 @@ public:
    */
   template <typename somenumber>
   void
-  precondition_TSOR(Vector<somenumber> &      dst,
+  precondition_TSOR(Vector<somenumber>       &dst,
                     const Vector<somenumber> &src,
                     const number              om = 1.) const;
 
@@ -769,11 +769,11 @@ public:
    * large matrix!
    */
   void
-  print_formatted(std::ostream &     out,
+  print_formatted(std::ostream      &out,
                   const unsigned int precision   = 3,
                   const bool         scientific  = true,
                   const unsigned int width       = 0,
-                  const char *       zero_string = " ",
+                  const char        *zero_string = " ",
                   const double       denominator = 1.) const;
 
   /**
@@ -851,7 +851,7 @@ private:
    */
   template <typename somenumber>
   void
-  threaded_vmult(Vector<somenumber> &      dst,
+  threaded_vmult(Vector<somenumber>       &dst,
                  const Vector<somenumber> &src,
                  const size_type           begin_row,
                  const size_type           end_row) const;
@@ -866,7 +866,7 @@ private:
   threaded_matrix_norm_square(const Vector<somenumber> &v,
                               const size_type           begin_row,
                               const size_type           end_row,
-                              somenumber *              partial_sum) const;
+                              somenumber               *partial_sum) const;
 
   /**
    * Version of @p matrix_scalar_product which only performs its actions on
@@ -879,7 +879,7 @@ private:
                                  const Vector<somenumber> &v,
                                  const size_type           begin_row,
                                  const size_type           end_row,
-                                 somenumber *              partial_sum) const;
+                                 somenumber               *partial_sum) const;
 
   /**
    * Number of columns. This is used to check vector dimensions only.
@@ -914,7 +914,7 @@ private:
 
 template <typename number>
 inline SparseMatrixEZ<number>::Entry::Entry(const size_type column,
-                                            const number &  value)
+                                            const number   &value)
   : column(column)
   , value(value)
 {}
@@ -1112,7 +1112,7 @@ SparseMatrixEZ<number>::locate(const size_type row, const size_type col)
   AssertIndexRange(row, m());
   AssertIndexRange(col, n());
 
-  const RowInfo r   = row_info[row];
+  const RowInfo  &r   = row_info[row];
   const size_type end = r.start + r.length;
   for (size_type i = r.start; i < end; ++i)
     {
@@ -1143,7 +1143,7 @@ SparseMatrixEZ<number>::allocate(const size_type row, const size_type col)
   AssertIndexRange(row, m());
   AssertIndexRange(col, n());
 
-  RowInfo &       r   = row_info[row];
+  RowInfo        &r   = row_info[row];
   const size_type end = r.start + r.length;
 
   size_type i = r.start;
@@ -1285,7 +1285,7 @@ template <typename number>
 template <typename number2>
 void
 SparseMatrixEZ<number>::add(const std::vector<size_type> &indices,
-                            const FullMatrix<number2> &   full_matrix,
+                            const FullMatrix<number2>    &full_matrix,
                             const bool                    elide_zero_values)
 {
   // TODO: This function can surely be made more efficient
@@ -1302,7 +1302,7 @@ template <typename number2>
 void
 SparseMatrixEZ<number>::add(const std::vector<size_type> &row_indices,
                             const std::vector<size_type> &col_indices,
-                            const FullMatrix<number2> &   full_matrix,
+                            const FullMatrix<number2>    &full_matrix,
                             const bool                    elide_zero_values)
 {
   // TODO: This function can surely be made more efficient
@@ -1319,7 +1319,7 @@ template <typename number2>
 void
 SparseMatrixEZ<number>::add(const size_type               row,
                             const std::vector<size_type> &col_indices,
-                            const std::vector<number2> &  values,
+                            const std::vector<number2>   &values,
                             const bool                    elide_zero_values)
 {
   // TODO: This function can surely be made more efficient
@@ -1336,7 +1336,7 @@ void
 SparseMatrixEZ<number>::add(const size_type  row,
                             const size_type  n_cols,
                             const size_type *col_indices,
-                            const number2 *  values,
+                            const number2   *values,
                             const bool       elide_zero_values,
                             const bool /*col_indices_are_sorted*/)
 {
index 58c39a9b7fee88ac0cb11f38d469014208dcf771..29d30e56724e5eb40a32f3f466f4cade51c06109 100644 (file)
@@ -145,7 +145,7 @@ SparseMatrixEZ<number>::empty() const
 template <typename number>
 template <typename somenumber>
 void
-SparseMatrixEZ<number>::vmult(Vector<somenumber> &      dst,
+SparseMatrixEZ<number>::vmult(Vector<somenumber>       &dst,
                               const Vector<somenumber> &src) const
 {
   Assert(m() == dst.size(), ExcDimensionMismatch(m(), dst.size()));
@@ -154,7 +154,7 @@ SparseMatrixEZ<number>::vmult(Vector<somenumber> &      dst,
   const size_type end_row = row_info.size();
   for (size_type row = 0; row < end_row; ++row)
     {
-      const RowInfo &                             ri = row_info[row];
+      const RowInfo                              &ri = row_info[row];
       typename std::vector<Entry>::const_iterator entry =
         data.begin() + ri.start;
       double s = 0.;
@@ -190,7 +190,7 @@ SparseMatrixEZ<number>::l2_norm() const
 template <typename number>
 template <typename somenumber>
 void
-SparseMatrixEZ<number>::Tvmult(Vector<somenumber> &      dst,
+SparseMatrixEZ<number>::Tvmult(Vector<somenumber>       &dst,
                                const Vector<somenumber> &src) const
 {
   dst = 0.;
@@ -201,7 +201,7 @@ SparseMatrixEZ<number>::Tvmult(Vector<somenumber> &      dst,
 template <typename number>
 template <typename somenumber>
 void
-SparseMatrixEZ<number>::vmult_add(Vector<somenumber> &      dst,
+SparseMatrixEZ<number>::vmult_add(Vector<somenumber>       &dst,
                                   const Vector<somenumber> &src) const
 {
   Assert(m() == dst.size(), ExcDimensionMismatch(m(), dst.size()));
@@ -210,7 +210,7 @@ SparseMatrixEZ<number>::vmult_add(Vector<somenumber> &      dst,
   const size_type end_row = row_info.size();
   for (size_type row = 0; row < end_row; ++row)
     {
-      const RowInfo &                             ri = row_info[row];
+      const RowInfo                              &ri = row_info[row];
       typename std::vector<Entry>::const_iterator entry =
         data.begin() + ri.start;
       double s = 0.;
@@ -226,7 +226,7 @@ SparseMatrixEZ<number>::vmult_add(Vector<somenumber> &      dst,
 template <typename number>
 template <typename somenumber>
 void
-SparseMatrixEZ<number>::Tvmult_add(Vector<somenumber> &      dst,
+SparseMatrixEZ<number>::Tvmult_add(Vector<somenumber>       &dst,
                                    const Vector<somenumber> &src) const
 {
   Assert(n() == dst.size(), ExcDimensionMismatch(n(), dst.size()));
@@ -235,7 +235,7 @@ SparseMatrixEZ<number>::Tvmult_add(Vector<somenumber> &      dst,
   const size_type end_row = row_info.size();
   for (size_type row = 0; row < end_row; ++row)
     {
-      const RowInfo &                             ri = row_info[row];
+      const RowInfo                              &ri = row_info[row];
       typename std::vector<Entry>::const_iterator entry =
         data.begin() + ri.start;
       for (unsigned short i = 0; i < ri.length; ++i, ++entry)
@@ -250,7 +250,7 @@ SparseMatrixEZ<number>::Tvmult_add(Vector<somenumber> &      dst,
 template <typename number>
 template <typename somenumber>
 void
-SparseMatrixEZ<number>::precondition_Jacobi(Vector<somenumber> &      dst,
+SparseMatrixEZ<number>::precondition_Jacobi(Vector<somenumber>       &dst,
                                             const Vector<somenumber> &src,
                                             const number              om) const
 {
@@ -258,8 +258,8 @@ SparseMatrixEZ<number>::precondition_Jacobi(Vector<somenumber> &      dst,
   Assert(dst.size() == n(), ExcDimensionMismatch(dst.size(), n()));
   Assert(src.size() == n(), ExcDimensionMismatch(src.size(), n()));
 
-  somenumber *                                        dst_ptr = dst.begin();
-  const somenumber *                                  src_ptr = src.begin();
+  somenumber                                         *dst_ptr = dst.begin();
+  const somenumber                                   *src_ptr = src.begin();
   typename std::vector<RowInfo>::const_iterator       ri  = row_info.begin();
   const typename std::vector<RowInfo>::const_iterator end = row_info.end();
 
@@ -275,7 +275,7 @@ SparseMatrixEZ<number>::precondition_Jacobi(Vector<somenumber> &      dst,
 template <typename number>
 template <typename somenumber>
 void
-SparseMatrixEZ<number>::precondition_SOR(Vector<somenumber> &      dst,
+SparseMatrixEZ<number>::precondition_SOR(Vector<somenumber>       &dst,
                                          const Vector<somenumber> &src,
                                          const number              om) const
 {
@@ -283,8 +283,8 @@ SparseMatrixEZ<number>::precondition_SOR(Vector<somenumber> &      dst,
   Assert(dst.size() == n(), ExcDimensionMismatch(dst.size(), n()));
   Assert(src.size() == n(), ExcDimensionMismatch(src.size(), n()));
 
-  somenumber *                                        dst_ptr = dst.begin();
-  const somenumber *                                  src_ptr = src.begin();
+  somenumber                                         *dst_ptr = dst.begin();
+  const somenumber                                   *src_ptr = src.begin();
   typename std::vector<RowInfo>::const_iterator       ri  = row_info.begin();
   const typename std::vector<RowInfo>::const_iterator end = row_info.end();
 
@@ -305,7 +305,7 @@ SparseMatrixEZ<number>::precondition_SOR(Vector<somenumber> &      dst,
 template <typename number>
 template <typename somenumber>
 void
-SparseMatrixEZ<number>::precondition_TSOR(Vector<somenumber> &      dst,
+SparseMatrixEZ<number>::precondition_TSOR(Vector<somenumber>       &dst,
                                           const Vector<somenumber> &src,
                                           const number              om) const
 {
@@ -313,7 +313,7 @@ SparseMatrixEZ<number>::precondition_TSOR(Vector<somenumber> &      dst,
   Assert(dst.size() == n(), ExcDimensionMismatch(dst.size(), n()));
   Assert(src.size() == n(), ExcDimensionMismatch(src.size(), n()));
 
-  somenumber *      dst_ptr = dst.begin() + dst.size() - 1;
+  somenumber       *dst_ptr = dst.begin() + dst.size() - 1;
   const somenumber *src_ptr = src.begin() + src.size() - 1;
   typename std::vector<RowInfo>::const_reverse_iterator ri = row_info.rbegin();
   const typename std::vector<RowInfo>::const_reverse_iterator end =
@@ -337,7 +337,7 @@ template <typename number>
 template <typename somenumber>
 void
 SparseMatrixEZ<number>::precondition_SSOR(
-  Vector<somenumber> &      dst,
+  Vector<somenumber>       &dst,
   const Vector<somenumber> &src,
   const number              om,
   const std::vector<std::size_t> &) const
@@ -346,8 +346,8 @@ SparseMatrixEZ<number>::precondition_SSOR(
   Assert(dst.size() == n(), ExcDimensionMismatch(dst.size(), n()));
   Assert(src.size() == n(), ExcDimensionMismatch(src.size(), n()));
 
-  somenumber *                                        dst_ptr = dst.begin();
-  const somenumber *                                  src_ptr = src.begin();
+  somenumber                                         *dst_ptr = dst.begin();
+  const somenumber                                   *src_ptr = src.begin();
   typename std::vector<RowInfo>::const_iterator       ri;
   const typename std::vector<RowInfo>::const_iterator end = row_info.end();
 
@@ -424,9 +424,9 @@ SparseMatrixEZ<number>::n_nonzero_elements() const
 
 template <typename number>
 void
-SparseMatrixEZ<number>::compute_statistics(size_type &             used,
-                                           size_type &             allocated,
-                                           size_type &             reserved,
+SparseMatrixEZ<number>::compute_statistics(size_type              &used,
+                                           size_type              &allocated,
+                                           size_type              &reserved,
                                            std::vector<size_type> &used_by_line,
                                            const bool              full) const
 {
@@ -480,11 +480,11 @@ SparseMatrixEZ<number>::print(std::ostream &out) const
 
 template <typename number>
 void
-SparseMatrixEZ<number>::print_formatted(std::ostream &     out,
+SparseMatrixEZ<number>::print_formatted(std::ostream      &out,
                                         const unsigned int precision,
                                         const bool         scientific,
                                         const unsigned int width_,
-                                        const char *       zero_string,
+                                        const char        *zero_string,
                                         const double       denominator) const
 {
   AssertThrow(out.fail() == false, ExcIO());
index cee81e6a057361eed456af870bd811fbbf54b154..6a78644174c0301d1b9f4fd66868c7b9d0c6fed2 100644 (file)
@@ -58,10 +58,10 @@ namespace SparseMatrixTools
             typename SparseMatrixType2,
             typename SparsityPatternType2>
   void
-  restrict_to_serial_sparse_matrix(const SparseMatrixType &   sparse_matrix_in,
+  restrict_to_serial_sparse_matrix(const SparseMatrixType    &sparse_matrix_in,
                                    const SparsityPatternType &sparsity_pattern,
-                                   const IndexSet &           requested_is,
-                                   SparseMatrixType2 &        system_matrix_out,
+                                   const IndexSet            &requested_is,
+                                   SparseMatrixType2         &system_matrix_out,
                                    SparsityPatternType2 &sparsity_pattern_out);
 
   /**
@@ -81,11 +81,11 @@ namespace SparseMatrixTools
             typename SparseMatrixType2,
             typename SparsityPatternType2>
   void
-  restrict_to_serial_sparse_matrix(const SparseMatrixType &   sparse_matrix_in,
+  restrict_to_serial_sparse_matrix(const SparseMatrixType    &sparse_matrix_in,
                                    const SparsityPatternType &sparsity_pattern,
-                                   const IndexSet &           index_set_0,
-                                   const IndexSet &           index_set_1,
-                                   SparseMatrixType2 &        system_matrix_out,
+                                   const IndexSet            &index_set_0,
+                                   const IndexSet            &index_set_1,
+                                   SparseMatrixType2         &system_matrix_out,
                                    SparsityPatternType2 &sparsity_pattern_out);
 
   /**
@@ -109,8 +109,8 @@ namespace SparseMatrixTools
             typename SparsityPatternType,
             typename Number>
   void
-  restrict_to_cells(const SparseMatrixType &         system_matrix,
-                    const SparsityPatternType &      sparsity_pattern,
+  restrict_to_cells(const SparseMatrixType          &system_matrix,
+                    const SparsityPatternType       &sparsity_pattern,
                     const DoFHandler<dim, spacedim> &dof_handler,
                     std::vector<FullMatrix<Number>> &blocks);
 
@@ -132,10 +132,10 @@ namespace SparseMatrixTools
             typename Number>
   void
   restrict_to_full_matrices(
-    const SparseMatrixType &                                 sparse_matrix_in,
-    const SparsityPatternType &                              sparsity_pattern,
+    const SparseMatrixType                                  &sparse_matrix_in,
+    const SparsityPatternType                               &sparsity_pattern,
     const std::vector<std::vector<types::global_dof_index>> &indices,
-    std::vector<FullMatrix<Number>> &                        blocks);
+    std::vector<FullMatrix<Number>>                         &blocks);
 
 
 #ifndef DOXYGEN
@@ -228,9 +228,9 @@ namespace SparseMatrixTools
               typename SparseMatrixType,
               typename SparsityPatternType>
     std::vector<std::vector<std::pair<types::global_dof_index, Number>>>
-    extract_remote_rows(const SparseMatrixType &   system_matrix,
+    extract_remote_rows(const SparseMatrixType    &system_matrix,
                         const SparsityPatternType &sparsity_pattern,
-                        const IndexSet &           locally_active_dofs,
+                        const IndexSet            &locally_active_dofs,
                         const MPI_Comm             comm)
     {
       std::vector<unsigned int> dummy(locally_active_dofs.n_elements());
@@ -336,11 +336,11 @@ namespace SparseMatrixTools
             typename SparseMatrixType2,
             typename SparsityPatternType2>
   void
-  restrict_to_serial_sparse_matrix(const SparseMatrixType &   system_matrix,
+  restrict_to_serial_sparse_matrix(const SparseMatrixType    &system_matrix,
                                    const SparsityPatternType &sparsity_pattern,
-                                   const IndexSet &           index_set_0,
-                                   const IndexSet &           index_set_1,
-                                   SparseMatrixType2 &        system_matrix_out,
+                                   const IndexSet            &index_set_0,
+                                   const IndexSet            &index_set_1,
+                                   SparseMatrixType2         &system_matrix_out,
                                    SparsityPatternType2 &sparsity_pattern_out)
   {
     Assert(index_set_1.size() == 0 || index_set_0.size() == index_set_1.size(),
@@ -457,10 +457,10 @@ namespace SparseMatrixTools
             typename SparseMatrixType2,
             typename SparsityPatternType2>
   void
-  restrict_to_serial_sparse_matrix(const SparseMatrixType &   system_matrix,
+  restrict_to_serial_sparse_matrix(const SparseMatrixType    &system_matrix,
                                    const SparsityPatternType &sparsity_pattern,
-                                   const IndexSet &           requested_is,
-                                   SparseMatrixType2 &        system_matrix_out,
+                                   const IndexSet            &requested_is,
+                                   SparseMatrixType2         &system_matrix_out,
                                    SparsityPatternType2 &sparsity_pattern_out)
   {
     restrict_to_serial_sparse_matrix(system_matrix,
@@ -478,10 +478,10 @@ namespace SparseMatrixTools
             typename Number>
   void
   restrict_to_full_matrices(
-    const SparseMatrixType &                                 system_matrix,
-    const SparsityPatternType &                              sparsity_pattern,
+    const SparseMatrixType                                  &system_matrix,
+    const SparsityPatternType                               &sparsity_pattern,
     const std::vector<std::vector<types::global_dof_index>> &indices,
-    std::vector<FullMatrix<Number>> &                        blocks)
+    std::vector<FullMatrix<Number>>                         &blocks)
   {
     // 0) determine which rows are locally owned and which ones are remote
     const auto local_size = internal::get_local_size(system_matrix);
@@ -525,7 +525,7 @@ namespace SparseMatrixTools
           continue;
 
         const auto &local_dof_indices = indices[c];
-        auto &      cell_matrix       = blocks[c];
+        auto       &cell_matrix       = blocks[c];
 
         // allocate memory
         const unsigned int dofs_per_cell = indices[c].size();
@@ -585,8 +585,8 @@ namespace SparseMatrixTools
             typename SparsityPatternType,
             typename Number>
   void
-  restrict_to_cells(const SparseMatrixType &         system_matrix,
-                    const SparsityPatternType &      sparsity_pattern,
+  restrict_to_cells(const SparseMatrixType          &system_matrix,
+                    const SparsityPatternType       &sparsity_pattern,
                     const DoFHandler<dim, spacedim> &dof_handler,
                     std::vector<FullMatrix<Number>> &blocks)
   {
index d9ac381d18cbf6820b54de417e432069d3a89391..42ac4910d81b390f8e48dba204d19a1408a66398 100644 (file)
@@ -95,7 +95,7 @@ public:
   template <typename somenumber>
   void
   initialize(const SparseMatrix<somenumber> &matrix,
-             const AdditionalData &          parameters = AdditionalData());
+             const AdditionalData           &parameters = AdditionalData());
 
   /**
    * Apply the incomplete decomposition, i.e. do one forward-backward step
index 29b31a94aa587e587f1796b1d9818e0b84816fe8..f457a0444e1ecebb40c4a48cbd2feaa8379dc712 100644 (file)
@@ -61,7 +61,7 @@ template <typename number>
 template <typename somenumber>
 inline void
 SparseMIC<number>::initialize(const SparseMatrix<somenumber> &matrix,
-                              const AdditionalData &          data)
+                              const AdditionalData           &data)
 {
   Assert(matrix.m() == matrix.n(), ExcNotQuadratic());
   Assert(data.strengthen_diagonal >= 0,
@@ -138,7 +138,7 @@ SparseMIC<number>::get_rowsum(const size_type row) const
 template <typename number>
 template <typename somenumber>
 void
-SparseMIC<number>::vmult(Vector<somenumber> &      dst,
+SparseMIC<number>::vmult(Vector<somenumber>       &dst,
                          const Vector<somenumber> &src) const
 {
   Assert(dst.size() == src.size(),
index f0443bd5fbf192e5b5693c271adf40207ebc0c1f..278561a23999d25e71dcf5e9fbbaf46a0c888cdb 100644 (file)
@@ -199,7 +199,7 @@ public:
    */
   void
   initialize(const SparseMatrix<number> &M,
-             const AdditionalData &      additional_data);
+             const AdditionalData       &additional_data);
 
   /**
    * Do the preconditioning. This function takes the residual in @p src and
@@ -261,8 +261,8 @@ protected:
    */
   template <typename number2>
   void
-  apply_preconditioner(Vector<number2> &              dst,
-                       const Vector<number2> &        src,
+  apply_preconditioner(Vector<number2>               &dst,
+                       const Vector<number2>         &src,
                        const std::vector<bool> *const dof_mask = nullptr) const;
 
   /**
@@ -501,7 +501,7 @@ public:
    * Constructor. Pass all arguments except for @p n_blocks to the base class.
    */
   SparseBlockVanka(const SparseMatrix<number> &M,
-                   const std::vector<bool> &   selected,
+                   const std::vector<bool>    &selected,
                    const unsigned int          n_blocks,
                    const BlockingStrategy      blocking_strategy);
 
@@ -540,7 +540,7 @@ private:
    */
   void
   compute_dof_masks(const SparseMatrix<number> &M,
-                    const std::vector<bool> &   selected,
+                    const std::vector<bool>    &selected,
                     const BlockingStrategy      blocking_strategy);
 };
 
index d762b4a7a6e7c04c919fe457dae7cbba0853ffd0..fc21ecba4676c8d07e7a1817893977a511197948 100644 (file)
@@ -43,7 +43,7 @@ SparseVanka<number>::SparseVanka()
 
 template <typename number>
 SparseVanka<number>::SparseVanka(const SparseMatrix<number> &M,
-                                 const std::vector<bool> &   selected_dofs)
+                                 const std::vector<bool>    &selected_dofs)
   : matrix(&M, typeid(*this).name())
   , selected(&selected_dofs)
   , inverses(M.m(), nullptr)
@@ -76,7 +76,7 @@ SparseVanka<number>::~SparseVanka()
 template <typename number>
 void
 SparseVanka<number>::initialize(const SparseMatrix<number> &M,
-                                const AdditionalData &      additional_data)
+                                const AdditionalData       &additional_data)
 {
   matrix   = &M;
   selected = &(additional_data.selected);
@@ -206,7 +206,7 @@ SparseVanka<number>::compute_inverse(const size_type         row,
 template <typename number>
 template <typename number2>
 void
-SparseVanka<number>::vmult(Vector<number2> &      dst,
+SparseVanka<number>::vmult(Vector<number2>       &dst,
                            const Vector<number2> &src) const
 {
   Assert(matrix != nullptr, ExcNotInitialized());
@@ -224,8 +224,8 @@ template <typename number>
 template <typename number2>
 void
 SparseVanka<number>::apply_preconditioner(
-  Vector<number2> &              dst,
-  const Vector<number2> &        src,
+  Vector<number2>               &dst,
+  const Vector<number2>         &src,
   const std::vector<bool> *const dof_mask) const
 {
   Assert(dst.size() == src.size(),
@@ -385,7 +385,7 @@ SparseVanka<number>::AdditionalData::AdditionalData(
 template <typename number>
 SparseBlockVanka<number>::SparseBlockVanka(
   const SparseMatrix<number> &M,
-  const std::vector<bool> &   selected,
+  const std::vector<bool>    &selected,
   const unsigned int          n_blocks,
   const BlockingStrategy      blocking_strategy)
   : SparseVanka<number>(M, selected)
@@ -400,7 +400,7 @@ template <typename number>
 void
 SparseBlockVanka<number>::compute_dof_masks(
   const SparseMatrix<number> &M,
-  const std::vector<bool> &   selected,
+  const std::vector<bool>    &selected,
   const BlockingStrategy      blocking_strategy)
 {
   Assert(n_blocks > 0, ExcInternalError());
@@ -561,7 +561,7 @@ SparseBlockVanka<number>::compute_dof_masks(
 template <typename number>
 template <typename number2>
 void
-SparseBlockVanka<number>::vmult(Vector<number2> &      dst,
+SparseBlockVanka<number>::vmult(Vector<number2>       &dst,
                                 const Vector<number2> &src) const
 {
   dst = 0;
index 7e7985e9bf32a0e113540149430018ae9b423829..8cd6c54a3b9aca6cff36ce7f0ea8083fa75b04fd 100644 (file)
@@ -731,7 +731,7 @@ public:
               const bool      indices_are_sorted = false);
 
   virtual void
-  add_row_entries(const size_type &                 row,
+  add_row_entries(const size_type                  &row,
                   const ArrayView<const size_type> &columns,
                   const bool indices_are_sorted = false) override;
 
@@ -1492,7 +1492,7 @@ SparsityPattern::copy_from(const size_type       n_rows,
     typename std::iterator_traits<ForwardIterator>::value_type::const_iterator;
   for (ForwardIterator i = begin; i != end; ++i, ++row)
     {
-      size_type *          cols = &colnums[rowstart[row]] + (is_square ? 1 : 0);
+      size_type           *cols = &colnums[rowstart[row]] + (is_square ? 1 : 0);
       const inner_iterator end_of_row = i->end();
       for (inner_iterator j = i->begin(); j != end_of_row; ++j)
         {
index d8fa38325bf7db099f0c0be5bccfb54cd1649471..a76a14fefd93db73f48bae57e73c1cedbd957170 100644 (file)
@@ -95,7 +95,7 @@ public:
    * Optimized function for adding new entries to a given row.
    */
   virtual void
-  add_row_entries(const size_type &                 row,
+  add_row_entries(const size_type                  &row,
                   const ArrayView<const size_type> &columns,
                   const bool indices_are_sorted = false) = 0;
 
index d831196f836bab9b263c79e368cc22077aa064c5..1b0a0735bff0dba2a613ba83a5c12c005ba09f88 100644 (file)
@@ -98,7 +98,7 @@ namespace SparsityTools
    * done by calling @p GridTools::partition_triangulation.
    */
   void
-  partition(const SparsityPattern &    sparsity_pattern,
+  partition(const SparsityPattern     &sparsity_pattern,
             const unsigned int         n_partitions,
             std::vector<unsigned int> &partition_indices,
             const Partitioner          partitioner = Partitioner::metis);
@@ -115,10 +115,10 @@ namespace SparsityTools
    * number of active cells in the triangulation.
    */
   void
-  partition(const SparsityPattern &          sparsity_pattern,
+  partition(const SparsityPattern           &sparsity_pattern,
             const std::vector<unsigned int> &cell_weights,
             const unsigned int               n_partitions,
-            std::vector<unsigned int> &      partition_indices,
+            std::vector<unsigned int>       &partition_indices,
             const Partitioner                partitioner = Partitioner::metis);
 
   /**
@@ -154,7 +154,7 @@ namespace SparsityTools
    * coloring arising in shared-memory parallel assembly of matrices.
    */
   unsigned int
-  color_sparsity_pattern(const SparsityPattern &    sparsity_pattern,
+  color_sparsity_pattern(const SparsityPattern     &sparsity_pattern,
                          std::vector<unsigned int> &color_indices);
 
   /**
@@ -208,8 +208,8 @@ namespace SparsityTools
    */
   void
   reorder_Cuthill_McKee(
-    const DynamicSparsityPattern &                        sparsity,
-    std::vector<DynamicSparsityPattern::size_type> &      new_indices,
+    const DynamicSparsityPattern                         &sparsity,
+    std::vector<DynamicSparsityPattern::size_type>       &new_indices,
     const std::vector<DynamicSparsityPattern::size_type> &starting_indices =
       std::vector<DynamicSparsityPattern::size_type>());
 
@@ -236,7 +236,7 @@ namespace SparsityTools
    */
   void
   reorder_hierarchical(
-    const DynamicSparsityPattern &                  sparsity,
+    const DynamicSparsityPattern                   &sparsity,
     std::vector<DynamicSparsityPattern::size_type> &new_indices);
 
 #ifdef DEAL_II_WITH_MPI
@@ -266,9 +266,9 @@ namespace SparsityTools
    */
   void
   distribute_sparsity_pattern(DynamicSparsityPattern &dsp,
-                              const IndexSet &        locally_owned_rows,
+                              const IndexSet         &locally_owned_rows,
                               const MPI_Comm          mpi_comm,
-                              const IndexSet &        locally_relevant_rows);
+                              const IndexSet         &locally_relevant_rows);
 
   /**
    * Communicate rows in a dynamic sparsity pattern over MPI, similar to the
@@ -282,10 +282,10 @@ namespace SparsityTools
    */
   void
   distribute_sparsity_pattern(
-    DynamicSparsityPattern &                              dsp,
+    DynamicSparsityPattern                               &dsp,
     const std::vector<DynamicSparsityPattern::size_type> &rows_per_cpu,
     const MPI_Comm                                        mpi_comm,
-    const IndexSet &                                      myrange);
+    const IndexSet                                       &myrange);
 
   /**
    * Similar to the function above, but for BlockDynamicSparsityPattern
@@ -303,7 +303,7 @@ namespace SparsityTools
    */
   void
   distribute_sparsity_pattern(BlockDynamicSparsityPattern &dsp,
-                              const IndexSet &             locally_owned_rows,
+                              const IndexSet              &locally_owned_rows,
                               const MPI_Comm               mpi_comm,
                               const IndexSet &locally_relevant_rows);
 
@@ -315,7 +315,7 @@ namespace SparsityTools
   distribute_sparsity_pattern(BlockDynamicSparsityPattern &dsp,
                               const std::vector<IndexSet> &owned_set_per_cpu,
                               const MPI_Comm               mpi_comm,
-                              const IndexSet &             myrange);
+                              const IndexSet              &myrange);
 
   /**
    * Gather rows in a dynamic sparsity pattern over MPI.
@@ -342,9 +342,9 @@ namespace SparsityTools
    */
   void
   gather_sparsity_pattern(DynamicSparsityPattern &dsp,
-                          const IndexSet &        locally_owned_rows,
+                          const IndexSet         &locally_owned_rows,
                           const MPI_Comm          mpi_comm,
-                          const IndexSet &        locally_relevant_rows);
+                          const IndexSet         &locally_relevant_rows);
 
 #endif
 
index 305a846b0951a5a1010e0928312215055932ca9b..4aee5b84dca84c2d662b410c1878dd5d4780aa66 100644 (file)
@@ -197,9 +197,9 @@ public:
    * internally to the needed size.
    */
   void
-  vmult(const ArrayView<Number> &      dst,
+  vmult(const ArrayView<Number>       &dst,
         const ArrayView<const Number> &src,
-        AlignedVector<Number> &        tmp) const;
+        AlignedVector<Number>         &tmp) const;
 
   /**
    * Implements a matrix-vector product with the underlying matrix as
@@ -208,7 +208,7 @@ public:
    * array bounds with respect to @p dst and @p src.
    */
   void
-  apply_inverse(const ArrayView<Number> &      dst,
+  apply_inverse(const ArrayView<Number>       &dst,
                 const ArrayView<const Number> &src) const;
 
   /**
@@ -397,7 +397,7 @@ public:
    */
   void
   apply_inverse(const unsigned int             index,
-                const ArrayView<Number> &      dst_in,
+                const ArrayView<Number>       &dst_in,
                 const ArrayView<const Number> &src_in) const;
 
   /**
@@ -513,12 +513,12 @@ namespace internal
      */
     template <typename Number>
     void
-    spectral_assembly(const Number *     mass_matrix,
-                      const Number *     derivative_matrix,
+    spectral_assembly(const Number      *mass_matrix,
+                      const Number      *derivative_matrix,
                       const unsigned int n_rows,
                       const unsigned int n_cols,
-                      Number *           eigenvalues,
-                      Number *           eigenvectors)
+                      Number            *eigenvalues,
+                      Number            *eigenvectors)
     {
       Assert(n_rows == n_cols, ExcNotImplemented());
 
@@ -543,8 +543,8 @@ namespace internal
             }
         }
 
-      const auto transpose_fill_nm = [&constrained_dofs](Number *           out,
-                                                         const Number *     in,
+      const auto transpose_fill_nm = [&constrained_dofs](Number            *out,
+                                                         const Number      *in,
                                                          const unsigned int n,
                                                          const unsigned int m) {
         for (unsigned int mm = 0, c = 0; mm < m; ++mm)
@@ -578,8 +578,8 @@ namespace internal
     inline void
     setup(const std::array<Table<2, Number>, dim> &mass_matrix,
           const std::array<Table<2, Number>, dim> &derivative_matrix,
-          std::array<Table<2, Number>, dim> &      eigenvectors,
-          std::array<AlignedVector<Number>, dim> eigenvalues)
+          std::array<Table<2, Number>, dim>       &eigenvectors,
+          std::array<AlignedVector<Number>, dim>  &eigenvalues)
     {
       const unsigned int n_rows_1d = mass_matrix[0].n_cols();
       (void)n_rows_1d;
@@ -663,8 +663,8 @@ namespace internal
 
           const Number *mass_cbegin    = mass_matrix_flat.data();
           const Number *deriv_cbegin   = deriv_matrix_flat.data();
-          Number *      eigenvec_begin = eigenvectors_flat.data();
-          Number *      eigenval_begin = eigenvalues_flat.data();
+          Number       *eigenvec_begin = eigenvectors_flat.data();
+          Number       *eigenval_begin = eigenvalues_flat.data();
           for (unsigned int lane = 0; lane < macro_size; ++lane)
             internal::TensorProductMatrixSymmetricSum::spectral_assembly<
               Number>(mass_cbegin + nm * lane,
@@ -733,9 +733,9 @@ namespace internal
 
     template <int n_rows_1d_templated, std::size_t dim, typename Number>
     void
-    vmult(Number *                               dst,
-          const Number *                         src,
-          AlignedVector<Number> &                tmp,
+    vmult(Number                                *dst,
+          const Number                          *src,
+          AlignedVector<Number>                 &tmp,
           const unsigned int                     n_rows_1d_non_templated,
           const std::array<const Number *, dim> &mass_matrix,
           const std::array<const Number *, dim> &derivative_matrix)
@@ -798,8 +798,8 @@ namespace internal
 
     template <int n_rows_1d_templated, std::size_t dim, typename Number>
     void
-    apply_inverse(Number *           dst,
-                  const Number *     src,
+    apply_inverse(Number            *dst,
+                  const Number      *src,
                   const unsigned int n_rows_1d_non_templated,
                   const std::array<const Number *, dim> &eigenvectors,
                   const std::array<const Number *, dim> &eigenvalues,
@@ -884,9 +884,9 @@ namespace internal
 
     template <int n_rows_1d_templated, std::size_t dim, typename Number>
     void
-    select_vmult(Number *                               dst,
-                 const Number *                         src,
-                 AlignedVector<Number> &                tmp,
+    select_vmult(Number                                *dst,
+                 const Number                          *src,
+                 AlignedVector<Number>                 &tmp,
                  const unsigned int                     n_rows_1d,
                  const std::array<const Number *, dim> &mass_matrix,
                  const std::array<const Number *, dim> &derivative_matrix);
@@ -895,8 +895,8 @@ namespace internal
 
     template <int n_rows_1d_templated, std::size_t dim, typename Number>
     void
-    select_apply_inverse(Number *                               dst,
-                         const Number *                         src,
+    select_apply_inverse(Number                                *dst,
+                         const Number                          *src,
                          const unsigned int                     n_rows_1d,
                          const std::array<const Number *, dim> &eigenvectors,
                          const std::array<const Number *, dim> &eigenvalues,
@@ -932,7 +932,7 @@ TensorProductMatrixSymmetricSum<dim, Number, n_rows_1d>::n() const
 template <int dim, typename Number, int n_rows_1d>
 inline void
 TensorProductMatrixSymmetricSum<dim, Number, n_rows_1d>::vmult(
-  const ArrayView<Number> &      dst_view,
+  const ArrayView<Number>       &dst_view,
   const ArrayView<const Number> &src_view) const
 {
   std::lock_guard<std::mutex> lock(this->mutex);
@@ -944,14 +944,14 @@ TensorProductMatrixSymmetricSum<dim, Number, n_rows_1d>::vmult(
 template <int dim, typename Number, int n_rows_1d>
 inline void
 TensorProductMatrixSymmetricSum<dim, Number, n_rows_1d>::vmult(
-  const ArrayView<Number> &      dst_view,
+  const ArrayView<Number>       &dst_view,
   const ArrayView<const Number> &src_view,
-  AlignedVector<Number> &        tmp_array) const
+  AlignedVector<Number>         &tmp_array) const
 {
   AssertDimension(dst_view.size(), this->m());
   AssertDimension(src_view.size(), this->n());
 
-  Number *      dst = dst_view.begin();
+  Number       *dst = dst_view.begin();
   const Number *src = src_view.begin();
 
   std::array<const Number *, dim> mass_matrix, derivative_matrix;
@@ -987,13 +987,13 @@ TensorProductMatrixSymmetricSum<dim, Number, n_rows_1d>::vmult(
 template <int dim, typename Number, int n_rows_1d>
 inline void
 TensorProductMatrixSymmetricSum<dim, Number, n_rows_1d>::apply_inverse(
-  const ArrayView<Number> &      dst_view,
+  const ArrayView<Number>       &dst_view,
   const ArrayView<const Number> &src_view) const
 {
   AssertDimension(dst_view.size(), this->n());
   AssertDimension(src_view.size(), this->m());
 
-  Number *      dst = dst_view.begin();
+  Number       *dst = dst_view.begin();
   const Number *src = src_view.begin();
 
   std::array<const Number *, dim> eigenvectors, eigenvalues;
@@ -1100,8 +1100,8 @@ template <typename T>
 void
 TensorProductMatrixSymmetricSumCollection<dim, Number, n_rows_1d>::insert(
   const unsigned int index,
-  const T &          Ms_in,
-  const T &          Ks_in)
+  const T           &Ms_in,
+  const T           &Ks_in)
 {
   const auto Ms =
     internal::TensorProductMatrixSymmetricSum::convert<dim>(Ms_in);
@@ -1477,10 +1477,10 @@ template <int dim, typename Number, int n_rows_1d>
 void
 TensorProductMatrixSymmetricSumCollection<dim, Number, n_rows_1d>::
   apply_inverse(const unsigned int             index,
-                const ArrayView<Number> &      dst_in,
+                const ArrayView<Number>       &dst_in,
                 const ArrayView<const Number> &src_in) const
 {
-  Number *      dst = dst_in.begin();
+  Number       *dst = dst_in.begin();
   const Number *src = src_in.begin();
 
   if (this->eigenvalues.empty() == false)
@@ -1513,7 +1513,7 @@ TensorProductMatrixSymmetricSumCollection<dim, Number, n_rows_1d>::
   else
     {
       std::array<const Number *, dim> eigenvectors;
-      const Number *                  inverted_eigenvalues    = nullptr;
+      const Number                   *inverted_eigenvalues    = nullptr;
       unsigned int                    n_rows_1d_non_templated = 0;
 
       for (unsigned int d = 0; d < dim; ++d)
index 108290d70743e8b08cc468885ae3907842acb353..e54ab0dffe27bd855d89fa741ca7f308b7a3d664 100644 (file)
@@ -43,9 +43,9 @@ namespace internal
   {
     template <int n_rows_1d_templated, std::size_t dim, typename Number>
     void
-    select_vmult(Number *                               dst,
-                 const Number *                         src,
-                 AlignedVector<Number> &                tmp,
+    select_vmult(Number                                *dst,
+                 const Number                          *src,
+                 AlignedVector<Number>                 &tmp,
                  const unsigned int                     n_rows_1d,
                  const std::array<const Number *, dim> &mass_matrix,
                  const std::array<const Number *, dim> &derivative_matrix)
@@ -64,8 +64,8 @@ namespace internal
 
     template <int n_rows_1d_templated, std::size_t dim, typename Number>
     void
-    select_apply_inverse(Number *                               dst,
-                         const Number *                         src,
+    select_apply_inverse(Number                                *dst,
+                         const Number                          *src,
                          const unsigned int                     n_rows_1d,
                          const std::array<const Number *, dim> &eigenvectors,
                          const std::array<const Number *, dim> &eigenvalues,
index eb8277ee7f2403b64ed07e560923a06e4dfcc0ac..09e59a70b545d576cea15fa2594eb015f70b269d 100644 (file)
@@ -141,7 +141,7 @@ public:
    * Source and destination must not be the same vector.
    */
   void
-  vmult(Vector<number> &      w,
+  vmult(Vector<number>       &w,
         const Vector<number> &v,
         const bool            adding = false) const;
 
@@ -164,7 +164,7 @@ public:
    * Source and destination must not be the same vector.
    */
   void
-  Tvmult(Vector<number> &      w,
+  Tvmult(Vector<number>       &w,
          const Vector<number> &v,
          const bool            adding = false) const;
 
@@ -224,7 +224,7 @@ public:
    */
   template <class OutputStream>
   void
-  print(OutputStream &     s,
+  print(OutputStream      &s,
         const unsigned int width     = 5,
         const unsigned int precision = 2) const;
   /** @} */
@@ -345,7 +345,7 @@ TridiagonalMatrix<number>::operator()(size_type i, size_type j)
 template <typename number>
 template <class OutputStream>
 void
-TridiagonalMatrix<number>::print(OutputStream &     s,
+TridiagonalMatrix<number>::print(OutputStream      &s,
                                  const unsigned int width,
                                  const unsigned int) const
 {
index 7a367039fba6aef772515fe3a39c3d88a31dcac7..6361218eda3b08b80614fd3dd6349dec1a1ce2aa 100644 (file)
@@ -154,7 +154,7 @@ namespace TrilinosWrappers
      */
     template <typename BlockSparsityPatternType>
     void
-    reinit(const std::vector<IndexSet> &   input_maps,
+    reinit(const std::vector<IndexSet>    &input_maps,
            const BlockSparsityPatternType &block_sparsity_pattern,
            const MPI_Comm                  communicator  = MPI_COMM_WORLD,
            const bool                      exchange_data = false);
@@ -176,7 +176,7 @@ namespace TrilinosWrappers
      */
     void
     reinit(
-      const std::vector<IndexSet> &              parallel_partitioning,
+      const std::vector<IndexSet>               &parallel_partitioning,
       const ::dealii::BlockSparseMatrix<double> &dealii_block_sparse_matrix,
       const MPI_Comm                             communicator = MPI_COMM_WORLD,
       const double                               drop_tolerance = 1e-13);
@@ -276,7 +276,7 @@ namespace TrilinosWrappers
      * This function only applicable if the matrix only has one block row.
      */
     TrilinosScalar
-    residual(MPI::BlockVector &      dst,
+    residual(MPI::BlockVector       &dst,
              const MPI::BlockVector &x,
              const MPI::BlockVector &b) const;
 
@@ -288,8 +288,8 @@ namespace TrilinosWrappers
      * This function is only applicable if the matrix only has one block row.
      */
     TrilinosScalar
-    residual(MPI::BlockVector &      dst,
-             const MPI::Vector &     x,
+    residual(MPI::BlockVector       &dst,
+             const MPI::Vector      &x,
              const MPI::BlockVector &b) const;
 
     /**
@@ -300,9 +300,9 @@ namespace TrilinosWrappers
      * This function is only applicable if the matrix only has one block column.
      */
     TrilinosScalar
-    residual(MPI::Vector &           dst,
+    residual(MPI::Vector            &dst,
              const MPI::BlockVector &x,
-             const MPI::Vector &     b) const;
+             const MPI::Vector      &b) const;
 
     /**
      * Compute the residual of an equation <i>Mx=b</i>, where the residual is
@@ -312,7 +312,7 @@ namespace TrilinosWrappers
      * This function is only applicable if the matrix only has one block.
      */
     TrilinosScalar
-    residual(MPI::Vector &      dst,
+    residual(MPI::Vector       &dst,
              const MPI::Vector &x,
              const MPI::Vector &b) const;
 
@@ -356,7 +356,7 @@ namespace TrilinosWrappers
      */
     template <typename VectorType1, typename VectorType2>
     void
-    vmult(VectorType1 &      dst,
+    vmult(VectorType1       &dst,
           const VectorType2 &src,
           const bool         transpose,
           const std::integral_constant<bool, true>,
@@ -368,7 +368,7 @@ namespace TrilinosWrappers
      */
     template <typename VectorType1, typename VectorType2>
     void
-    vmult(VectorType1 &      dst,
+    vmult(VectorType1       &dst,
           const VectorType2 &src,
           const bool         transpose,
           const std::integral_constant<bool, false>,
@@ -380,7 +380,7 @@ namespace TrilinosWrappers
      */
     template <typename VectorType1, typename VectorType2>
     void
-    vmult(VectorType1 &      dst,
+    vmult(VectorType1       &dst,
           const VectorType2 &src,
           const bool         transpose,
           const std::integral_constant<bool, true>,
@@ -393,7 +393,7 @@ namespace TrilinosWrappers
      */
     template <typename VectorType1, typename VectorType2>
     void
-    vmult(VectorType1 &      dst,
+    vmult(VectorType1       &dst,
           const VectorType2 &src,
           const bool         transpose,
           const std::integral_constant<bool, false>,
@@ -467,7 +467,7 @@ namespace TrilinosWrappers
 
   template <typename VectorType1, typename VectorType2>
   inline void
-  BlockSparseMatrix::vmult(VectorType1 &      dst,
+  BlockSparseMatrix::vmult(VectorType1       &dst,
                            const VectorType2 &src,
                            const bool         transpose,
                            std::integral_constant<bool, true>,
@@ -483,7 +483,7 @@ namespace TrilinosWrappers
 
   template <typename VectorType1, typename VectorType2>
   inline void
-  BlockSparseMatrix::vmult(VectorType1 &      dst,
+  BlockSparseMatrix::vmult(VectorType1       &dst,
                            const VectorType2 &src,
                            const bool         transpose,
                            std::integral_constant<bool, false>,
@@ -499,7 +499,7 @@ namespace TrilinosWrappers
 
   template <typename VectorType1, typename VectorType2>
   inline void
-  BlockSparseMatrix::vmult(VectorType1 &      dst,
+  BlockSparseMatrix::vmult(VectorType1       &dst,
                            const VectorType2 &src,
                            const bool         transpose,
                            std::integral_constant<bool, true>,
@@ -515,7 +515,7 @@ namespace TrilinosWrappers
 
   template <typename VectorType1, typename VectorType2>
   inline void
-  BlockSparseMatrix::vmult(VectorType1 &      dst,
+  BlockSparseMatrix::vmult(VectorType1       &dst,
                            const VectorType2 &src,
                            const bool         transpose,
                            std::integral_constant<bool, false>,
index ce5eba5d0bb735ab375b68e496d10f2a101a8df9..fede8c51b18d2de90545be5efd7fbd62d3acdbc0 100644 (file)
@@ -358,7 +358,7 @@ namespace LinearAlgebra
        * Prints the vector to the output stream @p out.
        */
       void
-      print(std::ostream &     out,
+      print(std::ostream      &out,
             const unsigned int precision  = 3,
             const bool         scientific = true,
             const bool         across     = true) const;
index 0bd45434cade2133a3fcfeacce0b5671c28d8253..88404ee59b41425e8d3229f789a61ebe40d1e47d 100644 (file)
@@ -75,7 +75,7 @@ namespace TrilinosWrappers
    * either the 32 or 64 bit function.
    */
   inline TrilinosWrappers::types::int_type
-  global_index(const Epetra_BlockMap &               map,
+  global_index(const Epetra_BlockMap                &map,
                const dealii::types::global_dof_index i)
   {
 #  ifdef DEAL_II_WITH_64BIT_INDICES
@@ -143,7 +143,7 @@ namespace TrilinosWrappers
    * either the 32 or 64 bit function.
    */
   inline TrilinosWrappers::types::int_type
-  global_row_index(const Epetra_CrsMatrix &              matrix,
+  global_row_index(const Epetra_CrsMatrix               &matrix,
                    const dealii::types::global_dof_index i)
   {
 #  ifdef DEAL_II_WITH_64BIT_INDICES
@@ -158,7 +158,7 @@ namespace TrilinosWrappers
    * either the 32 or 64 bit function.
    */
   inline TrilinosWrappers::types::int_type
-  global_column_index(const Epetra_CrsMatrix &              matrix,
+  global_column_index(const Epetra_CrsMatrix               &matrix,
                       const dealii::types::global_dof_index i)
   {
 #  ifdef DEAL_II_WITH_64BIT_INDICES
index a0e04a3490d65e4cc8748a72390a087e07709765..71957d1a0729ca63f066c66ede13f0ed7f3512d6 100644 (file)
@@ -74,7 +74,7 @@ namespace TrilinosWrappers
     Domain,
     TrilinosWrappers::internal::LinearOperatorImplementation::TrilinosPayload>
   linear_operator(const TrilinosWrappers::SparseMatrix &operator_exemplar,
-                  const Matrix &                        matrix)
+                  const Matrix                         &matrix)
   {
     using OperatorExemplar = TrilinosWrappers::SparseMatrix;
     using Payload =
@@ -137,7 +137,7 @@ namespace TrilinosWrappers
       Range,
       Domain,
       TrilinosWrappers::internal::LinearOperatorImplementation::TrilinosPayload>
-      &           operator_exemplar,
+                 &operator_exemplar,
     const Matrix &matrix)
   {
     using Payload =
index 7684e2bf8532a998e77901b58f5455a5dc7d8c79..3464f83dc9fa222525663204d2b3a859ceeba0ed 100644 (file)
@@ -228,7 +228,7 @@ namespace TrilinosWrappers
       void
       reinit(
         const std::vector<std::shared_ptr<const Utilities::MPI::Partitioner>>
-          &        partitioners,
+                  &partitioners,
         const bool make_ghosted    = true,
         const bool vector_writable = false);
 
@@ -277,7 +277,7 @@ namespace TrilinosWrappers
        */
       void
       import_nonlocal_data_for_fe(const TrilinosWrappers::BlockSparseMatrix &m,
-                                  const BlockVector &                        v);
+                                  const BlockVector                         &v);
 
       /**
        * Return if this Vector contains ghost elements.
@@ -312,7 +312,7 @@ namespace TrilinosWrappers
        * Print to a stream.
        */
       void
-      print(std::ostream &     out,
+      print(std::ostream      &out,
             const unsigned int precision  = 3,
             const bool         scientific = true,
             const bool         across     = true) const;
@@ -467,7 +467,7 @@ namespace internal
     public:
       template <typename Matrix>
       static void
-      reinit_range_vector(const Matrix &                      matrix,
+      reinit_range_vector(const Matrix                       &matrix,
                           TrilinosWrappers::MPI::BlockVector &v,
                           bool omit_zeroing_entries)
       {
@@ -478,7 +478,7 @@ namespace internal
 
       template <typename Matrix>
       static void
-      reinit_domain_vector(const Matrix &                      matrix,
+      reinit_domain_vector(const Matrix                       &matrix,
                            TrilinosWrappers::MPI::BlockVector &v,
                            bool omit_zeroing_entries)
       {
index ed9e3af9ecd7cc44a56eed0cc625a9028d55657c..4bf04d22537183d4108a85ac783333b4b3f46dd3 100644 (file)
@@ -155,7 +155,7 @@ namespace TrilinosWrappers
      * of the ones provided in the Trilinos wrapper class.
      */
     virtual void
-    Tvmult(dealii::Vector<double> &      dst,
+    Tvmult(dealii::Vector<double>       &dst,
            const dealii::Vector<double> &src) const;
 
     /**
@@ -163,7 +163,7 @@ namespace TrilinosWrappers
      * the ones provided in the Trilinos wrapper class.
      */
     virtual void
-    vmult(dealii::LinearAlgebra::distributed::Vector<double> &      dst,
+    vmult(dealii::LinearAlgebra::distributed::Vector<double>       &dst,
           const dealii::LinearAlgebra::distributed::Vector<double> &src) const;
 
     /**
@@ -171,7 +171,7 @@ namespace TrilinosWrappers
      * instead of the ones provided in the Trilinos wrapper class.
      */
     virtual void
-    Tvmult(dealii::LinearAlgebra::distributed::Vector<double> &      dst,
+    Tvmult(dealii::LinearAlgebra::distributed::Vector<double>       &dst,
            const dealii::LinearAlgebra::distributed::Vector<double> &src) const;
 
     /**
@@ -311,7 +311,7 @@ namespace TrilinosWrappers
      * and additional flags (damping parameter, etc.) if there are any.
      */
     void
-    initialize(const SparseMatrix &  matrix,
+    initialize(const SparseMatrix   &matrix,
                const AdditionalData &additional_data = AdditionalData());
   };
 
@@ -405,7 +405,7 @@ namespace TrilinosWrappers
      * computations, etc.) if there are any.
      */
     void
-    initialize(const SparseMatrix &  matrix,
+    initialize(const SparseMatrix   &matrix,
                const AdditionalData &additional_data = AdditionalData());
   };
 
@@ -499,7 +499,7 @@ namespace TrilinosWrappers
      * computations etc.) if there are any.
      */
     void
-    initialize(const SparseMatrix &  matrix,
+    initialize(const SparseMatrix   &matrix,
                const AdditionalData &additional_data = AdditionalData());
   };
 
@@ -593,7 +593,7 @@ namespace TrilinosWrappers
      * and additional flags (damping parameter, etc.) if there are any.
      */
     void
-    initialize(const SparseMatrix &  matrix,
+    initialize(const SparseMatrix   &matrix,
                const AdditionalData &additional_data = AdditionalData());
   };
 
@@ -704,7 +704,7 @@ namespace TrilinosWrappers
      * computations, etc.) if there are any.
      */
     void
-    initialize(const SparseMatrix &  matrix,
+    initialize(const SparseMatrix   &matrix,
                const AdditionalData &additional_data = AdditionalData());
   };
 
@@ -815,7 +815,7 @@ namespace TrilinosWrappers
      * computations etc.) if there are any.
      */
     void
-    initialize(const SparseMatrix &  matrix,
+    initialize(const SparseMatrix   &matrix,
                const AdditionalData &additional_data = AdditionalData());
   };
 
@@ -925,7 +925,7 @@ namespace TrilinosWrappers
      * computed of, and additional flags if there are any.
      */
     void
-    initialize(const SparseMatrix &  matrix,
+    initialize(const SparseMatrix   &matrix,
                const AdditionalData &additional_data = AdditionalData());
   };
 
@@ -1037,7 +1037,7 @@ namespace TrilinosWrappers
      * preconditioner, and additional flags if there are any.
      */
     void
-    initialize(const SparseMatrix &  matrix,
+    initialize(const SparseMatrix   &matrix,
                const AdditionalData &additional_data = AdditionalData());
   };
 
@@ -1156,7 +1156,7 @@ namespace TrilinosWrappers
      * preconditioner, and additional flags if there are any.
      */
     void
-    initialize(const SparseMatrix &  matrix,
+    initialize(const SparseMatrix   &matrix,
                const AdditionalData &additional_data = AdditionalData());
   };
 
@@ -1206,7 +1206,7 @@ namespace TrilinosWrappers
      * preconditioner, and additional flags if there are any.
      */
     void
-    initialize(const SparseMatrix &  matrix,
+    initialize(const SparseMatrix   &matrix,
                const AdditionalData &additional_data = AdditionalData());
   };
 
@@ -1287,7 +1287,7 @@ namespace TrilinosWrappers
      * preconditioner, and additional flags if there are any.
      */
     void
-    initialize(const SparseMatrix &  matrix,
+    initialize(const SparseMatrix   &matrix,
                const AdditionalData &additional_data = AdditionalData());
   };
 
@@ -1378,8 +1378,8 @@ namespace TrilinosWrappers
                      const unsigned int smoother_sweeps  = 2,
                      const unsigned int smoother_overlap = 0,
                      const bool         output_details   = false,
-                     const char *       smoother_type    = "Chebyshev",
-                     const char *       coarse_type      = "Amesos-KLU");
+                     const char        *smoother_type    = "Chebyshev",
+                     const char        *coarse_type      = "Amesos-KLU");
 
       /**
        * Fill in a @p parameter_list that can be used to initialize the
@@ -1413,9 +1413,9 @@ namespace TrilinosWrappers
        */
       void
       set_parameters(
-        Teuchos::ParameterList &             parameter_list,
+        Teuchos::ParameterList              &parameter_list,
         std::unique_ptr<Epetra_MultiVector> &distributed_constant_modes,
-        const Epetra_RowMatrix &             matrix) const;
+        const Epetra_RowMatrix              &matrix) const;
 
       /**
        * Fill in a parameter list that can be used to initialize the
@@ -1426,9 +1426,9 @@ namespace TrilinosWrappers
        */
       void
       set_parameters(
-        Teuchos::ParameterList &             parameter_list,
+        Teuchos::ParameterList              &parameter_list,
         std::unique_ptr<Epetra_MultiVector> &distributed_constant_modes,
-        const SparseMatrix &                 matrix) const;
+        const SparseMatrix                  &matrix) const;
 
       /**
        * Configure the null space setting in the @p parameter_list for
@@ -1437,9 +1437,9 @@ namespace TrilinosWrappers
        */
       void
       set_operator_null_space(
-        Teuchos::ParameterList &             parameter_list,
+        Teuchos::ParameterList              &parameter_list,
         std::unique_ptr<Epetra_MultiVector> &distributed_constant_modes,
-        const Epetra_RowMatrix &             matrix) const;
+        const Epetra_RowMatrix              &matrix) const;
 
       /**
        * Configure the null space setting in the @p parameter_list for
@@ -1448,9 +1448,9 @@ namespace TrilinosWrappers
        */
       void
       set_operator_null_space(
-        Teuchos::ParameterList &             parameter_list,
+        Teuchos::ParameterList              &parameter_list,
         std::unique_ptr<Epetra_MultiVector> &distributed_constant_modes,
-        const SparseMatrix &                 matrix) const;
+        const SparseMatrix                  &matrix) const;
 
       /**
        * Determines whether the AMG preconditioner should be optimized for
@@ -1596,7 +1596,7 @@ namespace TrilinosWrappers
      * format specified in TrilinosWrappers::SparseMatrix.
      */
     void
-    initialize(const SparseMatrix &  matrix,
+    initialize(const SparseMatrix   &matrix,
                const AdditionalData &additional_data = AdditionalData());
 
     /**
@@ -1619,7 +1619,7 @@ namespace TrilinosWrappers
      */
     void
     initialize(const Epetra_RowMatrix &matrix,
-               const AdditionalData &  additional_data = AdditionalData());
+               const AdditionalData   &additional_data = AdditionalData());
 
     /**
      * Let Trilinos compute a multilevel hierarchy for the solution of a
@@ -1636,7 +1636,7 @@ namespace TrilinosWrappers
      * solved.
      */
     void
-    initialize(const SparseMatrix &          matrix,
+    initialize(const SparseMatrix           &matrix,
                const Teuchos::ParameterList &ml_parameters);
 
     /**
@@ -1647,7 +1647,7 @@ namespace TrilinosWrappers
      * objects to the ML preconditioner.
      */
     void
-    initialize(const Epetra_RowMatrix &      matrix,
+    initialize(const Epetra_RowMatrix       &matrix,
                const Teuchos::ParameterList &ml_parameters);
 
     /**
@@ -1743,8 +1743,8 @@ namespace TrilinosWrappers
                      const unsigned int smoother_sweeps  = 2,
                      const unsigned int smoother_overlap = 0,
                      const bool         output_details   = false,
-                     const char *       smoother_type    = "Chebyshev",
-                     const char *       coarse_type      = "Amesos-KLU");
+                     const char        *smoother_type    = "Chebyshev",
+                     const char        *coarse_type      = "Amesos-KLU");
 
       /**
        * Determines whether the AMG preconditioner should be optimized for
@@ -1870,7 +1870,7 @@ namespace TrilinosWrappers
      * format specified in TrilinosWrappers::SparseMatrix.
      */
     void
-    initialize(const SparseMatrix &  matrix,
+    initialize(const SparseMatrix   &matrix,
                const AdditionalData &additional_data = AdditionalData());
 
     /**
@@ -1881,7 +1881,7 @@ namespace TrilinosWrappers
      */
     void
     initialize(const Epetra_CrsMatrix &matrix,
-               const AdditionalData &  additional_data = AdditionalData());
+               const AdditionalData   &additional_data = AdditionalData());
 
     /**
      * Let Trilinos compute a multilevel hierarchy for the solution of a
@@ -1897,7 +1897,7 @@ namespace TrilinosWrappers
      * MueLu option.
      */
     void
-    initialize(const SparseMatrix &    matrix,
+    initialize(const SparseMatrix     &matrix,
                Teuchos::ParameterList &muelu_parameters);
 
     /**
@@ -1968,7 +1968,7 @@ namespace TrilinosWrappers
      * wrapped in a LinearOperator without an exemplar materix.
      */
     void
-    initialize(const SparseMatrix &  matrix,
+    initialize(const SparseMatrix   &matrix,
                const AdditionalData &additional_data = AdditionalData());
 
     /**
@@ -1988,7 +1988,7 @@ namespace TrilinosWrappers
      * provided in the Trilinos wrapper class, i.e., dst = src.
      */
     void
-    vmult(dealii::Vector<double> &      dst,
+    vmult(dealii::Vector<double>       &dst,
           const dealii::Vector<double> &src) const override;
 
     /**
@@ -1996,7 +1996,7 @@ namespace TrilinosWrappers
      * of the ones provided in the Trilinos wrapper class, i.e. dst = src.
      */
     void
-    Tvmult(dealii::Vector<double> &      dst,
+    Tvmult(dealii::Vector<double>       &dst,
            const dealii::Vector<double> &src) const override;
 
     /**
@@ -2004,7 +2004,7 @@ namespace TrilinosWrappers
      * the ones provided in the Trilinos wrapper class, i.e., dst = src.
      */
     void
-    vmult(LinearAlgebra::distributed::Vector<double> &              dst,
+    vmult(LinearAlgebra::distributed::Vector<double>               &dst,
           const dealii::LinearAlgebra::distributed::Vector<double> &src)
       const override;
 
@@ -2014,7 +2014,7 @@ namespace TrilinosWrappers
      * src.
      */
     void
-    Tvmult(LinearAlgebra::distributed::Vector<double> &              dst,
+    Tvmult(LinearAlgebra::distributed::Vector<double>               &dst,
            const dealii::LinearAlgebra::distributed::Vector<double> &src)
       const override;
   };
@@ -2093,7 +2093,7 @@ namespace TrilinosWrappers
   // <code>const</code> in all deal.II calls) to non-constant value, as this
   // is the way Trilinos wants to have them.
   inline void
-  PreconditionBase::vmult(dealii::Vector<double> &      dst,
+  PreconditionBase::vmult(dealii::Vector<double>       &dst,
                           const dealii::Vector<double> &src) const
   {
     AssertDimension(dst.size(),
@@ -2113,7 +2113,7 @@ namespace TrilinosWrappers
 
 
   inline void
-  PreconditionBase::Tvmult(dealii::Vector<double> &      dst,
+  PreconditionBase::Tvmult(dealii::Vector<double>       &dst,
                            const dealii::Vector<double> &src) const
   {
     AssertDimension(dst.size(),
@@ -2137,7 +2137,7 @@ namespace TrilinosWrappers
 
   inline void
   PreconditionBase::vmult(
-    LinearAlgebra::distributed::Vector<double> &      dst,
+    LinearAlgebra::distributed::Vector<double>       &dst,
     const LinearAlgebra::distributed::Vector<double> &src) const
   {
     AssertDimension(dst.locally_owned_size(),
@@ -2157,7 +2157,7 @@ namespace TrilinosWrappers
 
   inline void
   PreconditionBase::Tvmult(
-    LinearAlgebra::distributed::Vector<double> &      dst,
+    LinearAlgebra::distributed::Vector<double>       &dst,
     const LinearAlgebra::distributed::Vector<double> &src) const
   {
     AssertDimension(dst.locally_owned_size(),
index 3172ad300355c74528baac5b360487543f9f2417..4c16d8b8791be0d615816861effcec7f4238db73 100644 (file)
@@ -141,7 +141,7 @@ namespace TrilinosWrappers
     /**
      * Constructor. Takes the solver control object and creates the solver.
      */
-    SolverBase(SolverControl &       cn,
+    SolverBase(SolverControl        &cn,
                const AdditionalData &data = AdditionalData());
 
     /**
@@ -149,7 +149,7 @@ namespace TrilinosWrappers
      * specifies the solver name and sets the appropriate Krylov method.
      */
     SolverBase(const enum SolverName solver_name,
-               SolverControl &       cn,
+               SolverControl        &cn,
                const AdditionalData &data = AdditionalData());
 
     /**
@@ -163,9 +163,9 @@ namespace TrilinosWrappers
      * one of the linear solvers and preconditioners of Trilinos is chosen.
      */
     void
-    solve(const SparseMatrix &    A,
-          MPI::Vector &           x,
-          const MPI::Vector &     b,
+    solve(const SparseMatrix     &A,
+          MPI::Vector            &x,
+          const MPI::Vector      &b,
           const PreconditionBase &preconditioner);
 
     /**
@@ -176,9 +176,9 @@ namespace TrilinosWrappers
      * Trilinos is chosen.
      */
     void
-    solve(const Epetra_Operator A,
-          MPI::Vector &           x,
-          const MPI::Vector &     b,
+    solve(const Epetra_Operator  &A,
+          MPI::Vector            &x,
+          const MPI::Vector      &b,
           const PreconditionBase &preconditioner);
 
     /**
@@ -192,8 +192,8 @@ namespace TrilinosWrappers
      */
     void
     solve(const Epetra_Operator &A,
-          MPI::Vector &          x,
-          const MPI::Vector &    b,
+          MPI::Vector           &x,
+          const MPI::Vector     &b,
           const Epetra_Operator &preconditioner);
 
     /**
@@ -206,10 +206,10 @@ namespace TrilinosWrappers
      * of Trilinos is chosen.
      */
     void
-    solve(const Epetra_Operator &   A,
-          Epetra_MultiVector &      x,
+    solve(const Epetra_Operator    &A,
+          Epetra_MultiVector       &x,
           const Epetra_MultiVector &b,
-          const PreconditionBase &  preconditioner);
+          const PreconditionBase   &preconditioner);
 
     /**
      * Solve the linear system <tt>Ax=b</tt> where both <tt>A</tt> and its
@@ -222,10 +222,10 @@ namespace TrilinosWrappers
      * of Trilinos is chosen.
      */
     void
-    solve(const Epetra_Operator &   A,
-          Epetra_MultiVector &      x,
+    solve(const Epetra_Operator    &A,
+          Epetra_MultiVector       &x,
           const Epetra_MultiVector &b,
-          const Epetra_Operator &   preconditioner);
+          const Epetra_Operator    &preconditioner);
 
 
 
@@ -240,10 +240,10 @@ namespace TrilinosWrappers
      * will be thrown.
      */
     void
-    solve(const SparseMatrix &          A,
-          dealii::Vector<double> &      x,
+    solve(const SparseMatrix           &A,
+          dealii::Vector<double>       &x,
           const dealii::Vector<double> &b,
-          const PreconditionBase &      preconditioner);
+          const PreconditionBase       &preconditioner);
 
     /**
      * Solve the linear system <tt>Ax=b</tt> where <tt>A</tt> is an operator.
@@ -257,10 +257,10 @@ namespace TrilinosWrappers
      * exception will be thrown.
      */
     void
-    solve(Epetra_Operator &             A,
-          dealii::Vector<double> &      x,
+    solve(Epetra_Operator              &A,
+          dealii::Vector<double>       &x,
           const dealii::Vector<double> &b,
-          const PreconditionBase &      preconditioner);
+          const PreconditionBase       &preconditioner);
 
     /**
      * Solve the linear system <tt>Ax=b</tt> for deal.II's parallel
@@ -269,8 +269,8 @@ namespace TrilinosWrappers
      * solvers and preconditioners of Trilinos is chosen.
      */
     void
-    solve(const SparseMatrix &                                      A,
-          dealii::LinearAlgebra::distributed::Vector<double> &      x,
+    solve(const SparseMatrix                                       &A,
+          dealii::LinearAlgebra::distributed::Vector<double>       &x,
           const dealii::LinearAlgebra::distributed::Vector<double> &b,
           const PreconditionBase &preconditioner);
 
@@ -282,8 +282,8 @@ namespace TrilinosWrappers
      * Trilinos is chosen.
      */
     void
-    solve(Epetra_Operator &                                         A,
-          dealii::LinearAlgebra::distributed::Vector<double> &      x,
+    solve(Epetra_Operator                                          &A,
+          dealii::LinearAlgebra::distributed::Vector<double>       &x,
           const dealii::LinearAlgebra::distributed::Vector<double> &b,
           const PreconditionBase &preconditioner);
 
@@ -356,12 +356,12 @@ namespace TrilinosWrappers
   // provide a declaration for two explicit specializations
   template <>
   void
-  SolverBase::set_preconditioner(AztecOO &               solver,
+  SolverBase::set_preconditioner(AztecOO                &solver,
                                  const PreconditionBase &preconditioner);
 
   template <>
   void
-  SolverBase::set_preconditioner(AztecOO &              solver,
+  SolverBase::set_preconditioner(AztecOO               &solver,
                                  const Epetra_Operator &preconditioner);
 
 
@@ -419,7 +419,7 @@ namespace TrilinosWrappers
      * The last argument takes a structure with additional, solver dependent
      * flags for tuning.
      */
-    SolverGMRES(SolverControl &       cn,
+    SolverGMRES(SolverControl        &cn,
                 const AdditionalData &data = AdditionalData());
   };
 
@@ -441,7 +441,7 @@ namespace TrilinosWrappers
      * The last argument takes a structure with additional, solver dependent
      * flags for tuning.
      */
-    SolverBicgstab(SolverControl &       cn,
+    SolverBicgstab(SolverControl        &cn,
                    const AdditionalData &data = AdditionalData());
   };
 
@@ -463,7 +463,7 @@ namespace TrilinosWrappers
      * The last argument takes a structure with additional, solver dependent
      * flags for tuning.
      */
-    SolverTFQMR(SolverControl &       cn,
+    SolverTFQMR(SolverControl        &cn,
                 const AdditionalData &data = AdditionalData());
   };
 
@@ -526,7 +526,7 @@ namespace TrilinosWrappers
     /**
      * Constructor. Takes the solver control object and creates the solver.
      */
-    SolverDirect(SolverControl &       cn,
+    SolverDirect(SolverControl        &cn,
                  const AdditionalData &data = AdditionalData());
 
     /**
@@ -557,7 +557,7 @@ namespace TrilinosWrappers
      * refactorized during this call.
      */
     void
-    solve(dealii::LinearAlgebra::distributed::Vector<double> &      x,
+    solve(dealii::LinearAlgebra::distributed::Vector<double>       &x,
           const dealii::LinearAlgebra::distributed::Vector<double> &b);
 
     /**
@@ -577,8 +577,8 @@ namespace TrilinosWrappers
      * exception will be thrown.
      */
     void
-    solve(const SparseMatrix &          A,
-          dealii::Vector<double> &      x,
+    solve(const SparseMatrix           &A,
+          dealii::Vector<double>       &x,
           const dealii::Vector<double> &b);
 
     /**
@@ -588,8 +588,8 @@ namespace TrilinosWrappers
      * there is no need for a preconditioner here.
      */
     void
-    solve(const SparseMatrix &                                      A,
-          dealii::LinearAlgebra::distributed::Vector<double> &      x,
+    solve(const SparseMatrix                                       &A,
+          dealii::LinearAlgebra::distributed::Vector<double>       &x,
           const dealii::LinearAlgebra::distributed::Vector<double> &b);
 
     /**
@@ -700,8 +700,8 @@ namespace TrilinosWrappers
     /**
      * Constructor.
      */
-    SolverBelos(SolverControl &                             solver_control,
-                const AdditionalData &                      additional_data,
+    SolverBelos(SolverControl                              &solver_control,
+                const AdditionalData                       &additional_data,
                 const Teuchos::RCP<Teuchos::ParameterList> &belos_parameters);
 
     /**
@@ -709,13 +709,13 @@ namespace TrilinosWrappers
      */
     template <typename OperatorType, typename PreconditionerType>
     void
-    solve(const OperatorType &      a,
-          VectorType &              x,
-          const VectorType &        b,
+    solve(const OperatorType       &a,
+          VectorType               &x,
+          const VectorType         &b,
           const PreconditionerType &p);
 
   private:
-    SolverControl &                             solver_control;
+    SolverControl                              &solver_control;
     const AdditionalData                        additional_data;
     const Teuchos::RCP<Teuchos::ParameterList> &belos_parameters;
   };
@@ -925,7 +925,7 @@ namespace TrilinosWrappers
        */
       virtual void
       MvTimesMatAddMv(const value_type                                   alpha,
-                      const Belos::MultiVec<value_type> &                A_,
+                      const Belos::MultiVec<value_type>                 &A_,
                       const Teuchos::SerialDenseMatrix<int, value_type> &B,
                       const value_type                                   beta)
       {
@@ -997,7 +997,7 @@ namespace TrilinosWrappers
        */
       virtual void
       MvTransMv(const value_type                             alpha,
-                const Belos::MultiVec<value_type> &          A_,
+                const Belos::MultiVec<value_type>           &A_,
                 Teuchos::SerialDenseMatrix<int, value_type> &B) const
       {
         const auto &A = try_to_get_underlying_vector(A_);
@@ -1021,7 +1021,7 @@ namespace TrilinosWrappers
        */
       virtual void
       MvDot(const Belos::MultiVec<value_type> &A_,
-            std::vector<value_type> &          b) const
+            std::vector<value_type>           &b) const
       {
         const auto &A = try_to_get_underlying_vector(A_);
 
@@ -1039,7 +1039,7 @@ namespace TrilinosWrappers
       virtual void
       MvNorm(
         std::vector<typename Teuchos::ScalarTraits<value_type>::magnitudeType>
-          &             normvec,
+                       &normvec,
         Belos::NormType type = Belos::TwoNorm) const
       {
         AssertThrow(type == Belos::TwoNorm, ExcNotImplemented());
@@ -1054,7 +1054,7 @@ namespace TrilinosWrappers
        */
       virtual void
       SetBlock(const Belos::MultiVec<value_type> &A,
-               const std::vector<int> &           index)
+               const std::vector<int>            &index)
       {
         AssertThrow(false, ExcNotImplemented());
         (void)A;
@@ -1213,7 +1213,7 @@ namespace TrilinosWrappers
        */
       virtual void
       Apply(const Belos::MultiVec<value_type> &x,
-            Belos::MultiVec<value_type> &      y,
+            Belos::MultiVec<value_type>       &y,
             Belos::ETrans                      trans = Belos::NOTRANS) const
       {
         // TODO: check for Tvmult
@@ -1248,8 +1248,8 @@ namespace TrilinosWrappers
 
   template <typename VectorType>
   SolverBelos<VectorType>::SolverBelos(
-    SolverControl &                             solver_control,
-    const AdditionalData &                      additional_data,
+    SolverControl                              &solver_control,
+    const AdditionalData                       &additional_data,
     const Teuchos::RCP<Teuchos::ParameterList> &belos_parameters)
     : solver_control(solver_control)
     , additional_data(additional_data)
@@ -1261,9 +1261,9 @@ namespace TrilinosWrappers
   template <typename VectorType>
   template <typename OperatorType, typename PreconditionerType>
   void
-  SolverBelos<VectorType>::solve(const OperatorType &      A_dealii,
-                                 VectorType &              x_dealii,
-                                 const VectorType &        b_dealii,
+  SolverBelos<VectorType>::solve(const OperatorType       &A_dealii,
+                                 VectorType               &x_dealii,
+                                 const VectorType         &b_dealii,
                                  const PreconditionerType &P_dealii)
   {
     using value_type = typename VectorType::value_type;
index 793f89e7b54a6f676fce0d2d12ca0c52dbff372e..b74256504f818136b83622c12ddd93a4ab1bc92a 100644 (file)
@@ -116,7 +116,7 @@ namespace TrilinosWrappers
       /**
        * Constructor.
        */
-      AccessorBase(SparseMatrix *  matrix,
+      AccessorBase(SparseMatrix   *matrix,
                    const size_type row,
                    const size_type index);
 
@@ -724,7 +724,7 @@ namespace TrilinosWrappers
     reinit(const ::dealii::SparseMatrix<number> &dealii_sparse_matrix,
            const double                          drop_tolerance    = 1e-13,
            const bool                            copy_values       = true,
-           const ::dealii::SparsityPattern *     use_this_sparsity = nullptr);
+           const ::dealii::SparsityPattern      *use_this_sparsity = nullptr);
 
     /**
      * This reinit function takes as input a Trilinos Epetra_CrsMatrix and
@@ -751,7 +751,7 @@ namespace TrilinosWrappers
      * vector products, since Trilinos reorganizes the matrix memory prior to
      * use (in the compress() step).
      */
-    SparseMatrix(const IndexSet &   parallel_partitioning,
+    SparseMatrix(const IndexSet    &parallel_partitioning,
                  const MPI_Comm     communicator          = MPI_COMM_WORLD,
                  const unsigned int n_max_entries_per_row = 0);
 
@@ -762,7 +762,7 @@ namespace TrilinosWrappers
      * makes the creation process including the insertion of nonzero elements
      * by the respective SparseMatrix::reinit call considerably faster.
      */
-    SparseMatrix(const IndexSet &                 parallel_partitioning,
+    SparseMatrix(const IndexSet                  &parallel_partitioning,
                  const MPI_Comm                   communicator,
                  const std::vector<unsigned int> &n_entries_per_row);
 
@@ -799,8 +799,8 @@ namespace TrilinosWrappers
      * in any case. The vector <tt>n_entries_per_row</tt> specifies the number
      * of entries in each row of the newly generated matrix.
      */
-    SparseMatrix(const IndexSet &                 row_parallel_partitioning,
-                 const IndexSet &                 col_parallel_partitioning,
+    SparseMatrix(const IndexSet                  &row_parallel_partitioning,
+                 const IndexSet                  &col_parallel_partitioning,
                  const MPI_Comm                   communicator,
                  const std::vector<unsigned int> &n_entries_per_row);
 
@@ -826,7 +826,7 @@ namespace TrilinosWrappers
      */
     template <typename SparsityPatternType>
     void
-    reinit(const IndexSet &           parallel_partitioning,
+    reinit(const IndexSet            &parallel_partitioning,
            const SparsityPatternType &sparsity_pattern,
            const MPI_Comm             communicator  = MPI_COMM_WORLD,
            const bool                 exchange_data = false);
@@ -846,8 +846,8 @@ namespace TrilinosWrappers
     template <typename SparsityPatternType>
     std::enable_if_t<
       !std::is_same_v<SparsityPatternType, dealii::SparseMatrix<double>>>
-    reinit(const IndexSet &           row_parallel_partitioning,
-           const IndexSet &           col_parallel_partitioning,
+    reinit(const IndexSet            &row_parallel_partitioning,
+           const IndexSet            &col_parallel_partitioning,
            const SparsityPatternType &sparsity_pattern,
            const MPI_Comm             communicator  = MPI_COMM_WORLD,
            const bool                 exchange_data = false);
@@ -870,12 +870,12 @@ namespace TrilinosWrappers
      */
     template <typename number>
     void
-    reinit(const IndexSet &                      parallel_partitioning,
+    reinit(const IndexSet                       &parallel_partitioning,
            const ::dealii::SparseMatrix<number> &dealii_sparse_matrix,
            const MPI_Comm                        communicator = MPI_COMM_WORLD,
            const double                          drop_tolerance    = 1e-13,
            const bool                            copy_values       = true,
-           const ::dealii::SparsityPattern *     use_this_sparsity = nullptr);
+           const ::dealii::SparsityPattern      *use_this_sparsity = nullptr);
 
     /**
      * This function is similar to the other initialization function with
@@ -892,13 +892,13 @@ namespace TrilinosWrappers
      */
     template <typename number>
     void
-    reinit(const IndexSet &                      row_parallel_partitioning,
-           const IndexSet &                      col_parallel_partitioning,
+    reinit(const IndexSet                       &row_parallel_partitioning,
+           const IndexSet                       &col_parallel_partitioning,
            const ::dealii::SparseMatrix<number> &dealii_sparse_matrix,
            const MPI_Comm                        communicator = MPI_COMM_WORLD,
            const double                          drop_tolerance    = 1e-13,
            const bool                            copy_values       = true,
-           const ::dealii::SparsityPattern *     use_this_sparsity = nullptr);
+           const ::dealii::SparsityPattern      *use_this_sparsity = nullptr);
     /** @} */
     /**
      * @name Information on the matrix
@@ -1097,7 +1097,7 @@ namespace TrilinosWrappers
      * structure before inserting elements.
      */
     void
-    set(const std::vector<size_type> &    indices,
+    set(const std::vector<size_type>     &indices,
         const FullMatrix<TrilinosScalar> &full_matrix,
         const bool                        elide_zero_values = false);
 
@@ -1107,8 +1107,8 @@ namespace TrilinosWrappers
      * rows and columns, respectively.
      */
     void
-    set(const std::vector<size_type> &    row_indices,
-        const std::vector<size_type> &    col_indices,
+    set(const std::vector<size_type>     &row_indices,
+        const std::vector<size_type>     &col_indices,
         const FullMatrix<TrilinosScalar> &full_matrix,
         const bool                        elide_zero_values = false);
 
@@ -1141,7 +1141,7 @@ namespace TrilinosWrappers
      */
     void
     set(const size_type                    row,
-        const std::vector<size_type> &     col_indices,
+        const std::vector<size_type>      &col_indices,
         const std::vector<TrilinosScalar> &values,
         const bool                         elide_zero_values = false);
 
@@ -1177,7 +1177,7 @@ namespace TrilinosWrappers
     set(const size_type  row,
         const size_type  n_cols,
         const size_type *col_indices,
-        const Number *   values,
+        const Number    *values,
         const bool       elide_zero_values = false);
 
     /**
@@ -1211,7 +1211,7 @@ namespace TrilinosWrappers
      * <tt>true</tt>, i.e., zero values won't be added into the matrix.
      */
     void
-    add(const std::vector<size_type> &    indices,
+    add(const std::vector<size_type>     &indices,
         const FullMatrix<TrilinosScalar> &full_matrix,
         const bool                        elide_zero_values = true);
 
@@ -1221,8 +1221,8 @@ namespace TrilinosWrappers
      * rows and columns, respectively.
      */
     void
-    add(const std::vector<size_type> &    row_indices,
-        const std::vector<size_type> &    col_indices,
+    add(const std::vector<size_type>     &row_indices,
+        const std::vector<size_type>     &col_indices,
         const FullMatrix<TrilinosScalar> &full_matrix,
         const bool                        elide_zero_values = true);
 
@@ -1241,7 +1241,7 @@ namespace TrilinosWrappers
      */
     void
     add(const size_type                    row,
-        const std::vector<size_type> &     col_indices,
+        const std::vector<size_type>      &col_indices,
         const std::vector<TrilinosScalar> &values,
         const bool                         elide_zero_values = true);
 
@@ -1261,7 +1261,7 @@ namespace TrilinosWrappers
     void
     add(const size_type       row,
         const size_type       n_cols,
-        const size_type *     col_indices,
+        const size_type      *col_indices,
         const TrilinosScalar *values,
         const bool            elide_zero_values      = true,
         const bool            col_indices_are_sorted = false);
@@ -1576,7 +1576,7 @@ namespace TrilinosWrappers
      * distributed. Otherwise, an exception will be thrown.
      */
     TrilinosScalar
-    residual(MPI::Vector &      dst,
+    residual(MPI::Vector       &dst,
              const MPI::Vector &x,
              const MPI::Vector &b) const;
 
@@ -1595,9 +1595,9 @@ namespace TrilinosWrappers
      * think twice before you use this function.
      */
     void
-    mmult(SparseMatrix &      C,
+    mmult(SparseMatrix       &C,
           const SparseMatrix &B,
-          const MPI::Vector V = MPI::Vector()) const;
+          const MPI::Vector  &V = MPI::Vector()) const;
 
 
     /**
@@ -1617,9 +1617,9 @@ namespace TrilinosWrappers
      * think twice before you use this function.
      */
     void
-    Tmmult(SparseMatrix &      C,
+    Tmmult(SparseMatrix       &C,
            const SparseMatrix &B,
-           const MPI::Vector V = MPI::Vector()) const;
+           const MPI::Vector  &V = MPI::Vector()) const;
 
     /** @} */
     /**
@@ -1989,7 +1989,7 @@ namespace TrilinosWrappers
   namespace internal
   {
     inline void
-    check_vector_map_equality(const Epetra_CrsMatrix &  mtrx,
+    check_vector_map_equality(const Epetra_CrsMatrix   &mtrx,
                               const Epetra_MultiVector &src,
                               const Epetra_MultiVector &dst,
                               const bool                transpose)
@@ -2016,7 +2016,7 @@ namespace TrilinosWrappers
     }
 
     inline void
-    check_vector_map_equality(const Epetra_Operator &   op,
+    check_vector_map_equality(const Epetra_Operator    &op,
                               const Epetra_MultiVector &src,
                               const Epetra_MultiVector &dst,
                               const bool                transpose)
@@ -2106,14 +2106,14 @@ namespace TrilinosWrappers
         /**
          * Constructor for a sparse matrix based on an exemplary payload
          */
-        TrilinosPayload(const TrilinosPayload &               payload_exemplar,
+        TrilinosPayload(const TrilinosPayload                &payload_exemplar,
                         const TrilinosWrappers::SparseMatrix &matrix);
 
         /**
          * Constructor for a preconditioner based on an exemplary matrix
          */
         TrilinosPayload(
-          const TrilinosWrappers::SparseMatrix &    matrix_exemplar,
+          const TrilinosWrappers::SparseMatrix     &matrix_exemplar,
           const TrilinosWrappers::PreconditionBase &preconditioner);
 
         /**
@@ -2127,7 +2127,7 @@ namespace TrilinosWrappers
          * Constructor for a preconditioner based on an exemplary payload
          */
         TrilinosPayload(
-          const TrilinosPayload &                   payload_exemplar,
+          const TrilinosPayload                    &payload_exemplar,
           const TrilinosWrappers::PreconditionBase &preconditioner);
 
         /**
@@ -2420,7 +2420,7 @@ namespace TrilinosWrappers
          * have such a facility.
          */
         template <typename EpetraOpType>
-        TrilinosPayload(EpetraOpType &  op,
+        TrilinosPayload(EpetraOpType   &op,
                         const bool      supports_inverse_operations,
                         const bool      use_transpose,
                         const MPI_Comm  mpi_communicator,
@@ -2535,7 +2535,7 @@ namespace TrilinosWrappers
     }
 
 
-    inline Accessor<true>::Accessor(MatrixType *    matrix,
+    inline Accessor<true>::Accessor(MatrixType     *matrix,
                                     const size_type row,
                                     const size_type index)
       : AccessorBase(const_cast<SparseMatrix *>(matrix), row, index)
@@ -2621,7 +2621,7 @@ namespace TrilinosWrappers
     }
 
 
-    inline Accessor<false>::Accessor(MatrixType *    matrix,
+    inline Accessor<false>::Accessor(MatrixType     *matrix,
                                      const size_type row,
                                      const size_type index)
       : AccessorBase(matrix, row, index)
@@ -2638,7 +2638,7 @@ namespace TrilinosWrappers
 
 
     template <bool Constness>
-    inline Iterator<Constness>::Iterator(MatrixType *    matrix,
+    inline Iterator<Constness>::Iterator(MatrixType     *matrix,
                                          const size_type row,
                                          const size_type index)
       : accessor(matrix, row, index)
@@ -2880,7 +2880,7 @@ namespace TrilinosWrappers
   void
   SparseMatrix::set<TrilinosScalar>(const size_type       row,
                                     const size_type       n_cols,
-                                    const size_type *     col_indices,
+                                    const size_type      *col_indices,
                                     const TrilinosScalar *values,
                                     const bool            elide_zero_values);
 
@@ -2891,7 +2891,7 @@ namespace TrilinosWrappers
   SparseMatrix::set(const size_type  row,
                     const size_type  n_cols,
                     const size_type *col_indices,
-                    const Number *   values,
+                    const Number    *values,
                     const bool       elide_zero_values)
   {
     std::vector<TrilinosScalar> trilinos_values(n_cols);
@@ -2915,7 +2915,7 @@ namespace TrilinosWrappers
 
 
   inline void
-  SparseMatrix::set(const std::vector<size_type> &    indices,
+  SparseMatrix::set(const std::vector<size_type>     &indices,
                     const FullMatrix<TrilinosScalar> &values,
                     const bool                        elide_zero_values)
   {
@@ -3032,7 +3032,7 @@ namespace TrilinosWrappers
 
   template <typename SparsityPatternType>
   inline void
-  SparseMatrix::reinit(const IndexSet &           parallel_partitioning,
+  SparseMatrix::reinit(const IndexSet            &parallel_partitioning,
                        const SparsityPatternType &sparsity_pattern,
                        const MPI_Comm             communicator,
                        const bool                 exchange_data)
@@ -3053,7 +3053,7 @@ namespace TrilinosWrappers
                        const MPI_Comm                        communicator,
                        const double                          drop_tolerance,
                        const bool                            copy_values,
-                       const ::dealii::SparsityPattern *     use_this_sparsity)
+                       const ::dealii::SparsityPattern      *use_this_sparsity)
   {
     Epetra_Map map =
       parallel_partitioning.make_trilinos_map(communicator, false);
@@ -3120,7 +3120,7 @@ namespace TrilinosWrappers
     {
       template <typename EpetraOpType>
       TrilinosPayload::TrilinosPayload(
-        EpetraOpType &  op,
+        EpetraOpType   &op,
         const bool      supports_inverse_operations,
         const bool      use_transpose,
         const MPI_Comm  mpi_communicator,
@@ -3222,7 +3222,7 @@ namespace TrilinosWrappers
           std::is_base_of_v<TrilinosWrappers::PreconditionBase, Preconditioner>,
         TrilinosPayload>
       TrilinosPayload::inverse_payload(
-        Solver &              solver,
+        Solver               &solver,
         const Preconditioner &preconditioner) const
       {
         const auto &payload = *this;
@@ -3232,7 +3232,7 @@ namespace TrilinosWrappers
         // Capture by copy so the payloads are always valid
 
         return_op.inv_vmult = [payload, &solver, &preconditioner](
-                                TrilinosPayload::Domain &     tril_dst,
+                                TrilinosPayload::Domain      &tril_dst,
                                 const TrilinosPayload::Range &tril_src) {
           // Duplicated from TrilinosWrappers::PreconditionBase::vmult
           // as well as from TrilinosWrappers::SparseMatrix::Tvmult
@@ -3246,7 +3246,7 @@ namespace TrilinosWrappers
         };
 
         return_op.inv_Tvmult = [payload, &solver, &preconditioner](
-                                 TrilinosPayload::Range &       tril_dst,
+                                 TrilinosPayload::Range        &tril_dst,
                                  const TrilinosPayload::Domain &tril_src) {
           // Duplicated from TrilinosWrappers::PreconditionBase::vmult
           // as well as from TrilinosWrappers::SparseMatrix::Tvmult
@@ -3303,7 +3303,7 @@ namespace TrilinosWrappers
   void
   SparseMatrix::set<TrilinosScalar>(const size_type       row,
                                     const size_type       n_cols,
-                                    const size_type *     col_indices,
+                                    const size_type      *col_indices,
                                     const TrilinosScalar *values,
                                     const bool            elide_zero_values);
 #    endif // DOXYGEN
index cac8a87bb9fb3dcd6d267198a96234109a8fbf12..82c4b88544cdca249c5dd601ae64b1e7ed97ba7f 100644 (file)
@@ -447,7 +447,7 @@ namespace TrilinosWrappers
      * knowing the indices of nonzero entries, which the sparsity pattern is
      * designed to describe.
      */
-    SparsityPattern(const IndexSet &              parallel_partitioning,
+    SparsityPattern(const IndexSet               &parallel_partitioning,
                     const MPI_Comm                communicator,
                     const std::vector<size_type> &n_entries_per_row);
 
@@ -481,8 +481,8 @@ namespace TrilinosWrappers
      * the same processor. The vector <tt>n_entries_per_row</tt> specifies the
      * number of entries in each row of the newly generated matrix.
      */
-    SparsityPattern(const IndexSet &              row_parallel_partitioning,
-                    const IndexSet &              col_parallel_partitioning,
+    SparsityPattern(const IndexSet               &row_parallel_partitioning,
+                    const IndexSet               &col_parallel_partitioning,
                     const MPI_Comm                communicator,
                     const std::vector<size_type> &n_entries_per_row);
 
@@ -549,7 +549,7 @@ namespace TrilinosWrappers
      * describe.
      */
     void
-    reinit(const IndexSet &              parallel_partitioning,
+    reinit(const IndexSet               &parallel_partitioning,
            const MPI_Comm                communicator,
            const std::vector<size_type> &n_entries_per_row);
 
@@ -612,8 +612,8 @@ namespace TrilinosWrappers
      * specifying the number of entries in each row of the sparsity pattern.
      */
     void
-    reinit(const IndexSet &              row_parallel_partitioning,
-           const IndexSet &              col_parallel_partitioning,
+    reinit(const IndexSet               &row_parallel_partitioning,
+           const IndexSet               &col_parallel_partitioning,
            const MPI_Comm                communicator,
            const std::vector<size_type> &n_entries_per_row);
 
@@ -628,8 +628,8 @@ namespace TrilinosWrappers
      */
     template <typename SparsityPatternType>
     void
-    reinit(const IndexSet &           row_parallel_partitioning,
-           const IndexSet &           col_parallel_partitioning,
+    reinit(const IndexSet            &row_parallel_partitioning,
+           const IndexSet            &col_parallel_partitioning,
            const SparsityPatternType &nontrilinos_sparsity_pattern,
            const MPI_Comm             communicator  = MPI_COMM_WORLD,
            const bool                 exchange_data = false);
@@ -644,7 +644,7 @@ namespace TrilinosWrappers
      */
     template <typename SparsityPatternType>
     void
-    reinit(const IndexSet &           parallel_partitioning,
+    reinit(const IndexSet            &parallel_partitioning,
            const SparsityPatternType &nontrilinos_sparsity_pattern,
            const MPI_Comm             communicator  = MPI_COMM_WORLD,
            const bool                 exchange_data = false);
@@ -774,7 +774,7 @@ namespace TrilinosWrappers
                 const bool      indices_are_sorted = false);
 
     virtual void
-    add_row_entries(const size_type &                 row,
+    add_row_entries(const size_type                  &row,
                     const ArrayView<const size_type> &columns,
                     const bool indices_are_sorted = false) override;
 
index 44a9921e37e50797c577263b760a2414aaebf41a..faa6f84026663406307d19c43d6b90eb37ea9c0e 100644 (file)
@@ -414,7 +414,7 @@ namespace LinearAlgebra
        * Prints the vector to the output stream @p out.
        */
       void
-      print(std::ostream &     out,
+      print(std::ostream      &out,
             const unsigned int precision  = 3,
             const bool         scientific = true,
             const bool         across     = true) const;
index 78ce85ce04fb9ac7b68060a1d8bc6ea3da11fe98..ee5d051143e4535f6ea56a5f2b3208395b6ae4bf 100644 (file)
@@ -115,7 +115,7 @@ namespace LinearAlgebra
     void
     Vector<Number>::extract_subvector_to(
       const ArrayView<const types::global_dof_index> &indices,
-      ArrayView<Number> &                             elements) const
+      ArrayView<Number>                              &elements) const
     {
       AssertDimension(indices.size(), elements.size());
       const auto &vector = trilinos_vector();
@@ -465,7 +465,7 @@ namespace LinearAlgebra
     {
       // get a representation of the vector and
       // loop over all the elements
-      Number *      start_ptr = vector->getDataNonConst().get();
+      Number       *start_ptr = vector->getDataNonConst().get();
       const Number *ptr       = start_ptr,
                    *eptr      = start_ptr + vector->getLocalLength();
       unsigned int flag       = 0;
@@ -628,7 +628,7 @@ namespace LinearAlgebra
 
     template <typename Number>
     void
-    Vector<Number>::print(std::ostream &     out,
+    Vector<Number>::print(std::ostream      &out,
                           const unsigned int precision,
                           const bool         scientific,
                           const bool         across) const
index 34348cd22b19a63bc3f2acde79554397da2e7038..ce036af8650e5f1c8dca42a665a415c8065a0ed1 100644 (file)
@@ -478,7 +478,7 @@ namespace TrilinosWrappers
        * @ref GlossGhostedVector "vectors with ghost elements"
        */
       Vector(const IndexSet &parallel_partitioning,
-             const Vector &  v,
+             const Vector   &v,
              const MPI_Comm  communicator = MPI_COMM_WORLD);
 
       /**
@@ -494,7 +494,7 @@ namespace TrilinosWrappers
        * @ref GlossGhostedVector "vectors with ghost elements"
        */
       template <typename Number>
-      Vector(const IndexSet &              parallel_partitioning,
+      Vector(const IndexSet               &parallel_partitioning,
              const dealii::Vector<Number> &v,
              const MPI_Comm                communicator = MPI_COMM_WORLD);
 
@@ -717,7 +717,7 @@ namespace TrilinosWrappers
       void
       import_nonlocal_data_for_fe(
         const dealii::TrilinosWrappers::SparseMatrix &matrix,
-        const Vector &                                vector);
+        const Vector                                 &vector);
 
       /**
        * Imports all the elements present in the vector's IndexSet from the
@@ -995,7 +995,7 @@ namespace TrilinosWrappers
        */
       void
       extract_subvector_to(const std::vector<size_type> &indices,
-                           std::vector<TrilinosScalar> values) const;
+                           std::vector<TrilinosScalar>  &values) const;
 
       /**
        * Extract a range of elements all at once.
@@ -1084,7 +1084,7 @@ namespace TrilinosWrappers
        * the corresponding values in the second.
        */
       void
-      set(const std::vector<size_type> &     indices,
+      set(const std::vector<size_type>      &indices,
           const std::vector<TrilinosScalar> &values);
 
       /**
@@ -1092,7 +1092,7 @@ namespace TrilinosWrappers
        * function takes a deal.II vector of values.
        */
       void
-      set(const std::vector<size_type> &          indices,
+      set(const std::vector<size_type>           &indices,
           const ::dealii::Vector<TrilinosScalar> &values);
 
       /**
@@ -1102,7 +1102,7 @@ namespace TrilinosWrappers
        */
       void
       set(const size_type       n_elements,
-          const size_type *     indices,
+          const size_type      *indices,
           const TrilinosScalar *values);
 
       /**
@@ -1110,7 +1110,7 @@ namespace TrilinosWrappers
        * stored in @p values to the vector components specified by @p indices.
        */
       void
-      add(const std::vector<size_type> &     indices,
+      add(const std::vector<size_type>      &indices,
           const std::vector<TrilinosScalar> &values);
 
       /**
@@ -1118,7 +1118,7 @@ namespace TrilinosWrappers
        * function takes a deal.II vector of values.
        */
       void
-      add(const std::vector<size_type> &          indices,
+      add(const std::vector<size_type>           &indices,
           const ::dealii::Vector<TrilinosScalar> &values);
 
       /**
@@ -1128,7 +1128,7 @@ namespace TrilinosWrappers
        */
       void
       add(const size_type       n_elements,
-          const size_type *     indices,
+          const size_type      *indices,
           const TrilinosScalar *values);
 
       /**
@@ -1188,9 +1188,9 @@ namespace TrilinosWrappers
        */
       void
       add(const TrilinosScalar a,
-          const Vector &       V,
+          const Vector        &V,
           const TrilinosScalar b,
-          const Vector &       W);
+          const Vector        &W);
 
       /**
        * Scaling and simple vector addition, i.e.  <tt>*this = s*(*this) +
@@ -1254,7 +1254,7 @@ namespace TrilinosWrappers
        * separate line each.
        */
       void
-      print(std::ostream &     out,
+      print(std::ostream      &out,
             const unsigned int precision  = 3,
             const bool         scientific = true,
             const bool         across     = true) const;
@@ -1399,7 +1399,7 @@ namespace TrilinosWrappers
 
   namespace internal
   {
-    inline VectorReference::VectorReference(MPI::Vector &   vector,
+    inline VectorReference::VectorReference(MPI::Vector    &vector,
                                             const size_type index)
       : vector(vector)
       , index(index)
@@ -1542,7 +1542,7 @@ namespace TrilinosWrappers
 
     inline void
     Vector::extract_subvector_to(const std::vector<size_type> &indices,
-                                 std::vector<TrilinosScalar> values) const
+                                 std::vector<TrilinosScalar>  &values) const
     {
       for (size_type i = 0; i < indices.size(); ++i)
         values[i] = operator()(indices[i]);
@@ -1613,7 +1613,7 @@ namespace TrilinosWrappers
 
 
     inline void
-    Vector::set(const std::vector<size_type> &     indices,
+    Vector::set(const std::vector<size_type>      &indices,
                 const std::vector<TrilinosScalar> &values)
     {
       // if we have ghost values, do not allow
@@ -1628,7 +1628,7 @@ namespace TrilinosWrappers
 
 
     inline void
-    Vector::set(const std::vector<size_type> &          indices,
+    Vector::set(const std::vector<size_type>           &indices,
                 const ::dealii::Vector<TrilinosScalar> &values)
     {
       // if we have ghost values, do not allow
@@ -1644,7 +1644,7 @@ namespace TrilinosWrappers
 
     inline void
     Vector::set(const size_type       n_elements,
-                const size_type *     indices,
+                const size_type      *indices,
                 const TrilinosScalar *values)
     {
       // if we have ghost values, do not allow
@@ -1684,7 +1684,7 @@ namespace TrilinosWrappers
 
 
     inline void
-    Vector::add(const std::vector<size_type> &     indices,
+    Vector::add(const std::vector<size_type>      &indices,
                 const std::vector<TrilinosScalar> &values)
     {
       // if we have ghost values, do not allow
@@ -1698,7 +1698,7 @@ namespace TrilinosWrappers
 
 
     inline void
-    Vector::add(const std::vector<size_type> &          indices,
+    Vector::add(const std::vector<size_type>           &indices,
                 const ::dealii::Vector<TrilinosScalar> &values)
     {
       // if we have ghost values, do not allow
@@ -1713,7 +1713,7 @@ namespace TrilinosWrappers
 
     inline void
     Vector::add(const size_type       n_elements,
-                const size_type *     indices,
+                const size_type      *indices,
                 const TrilinosScalar *values)
     {
       // if we have ghost values, do not allow
@@ -1945,8 +1945,8 @@ namespace TrilinosWrappers
 
     inline TrilinosScalar
     Vector::add_and_dot(const TrilinosScalar a,
-                        const Vector &       V,
-                        const Vector &       W)
+                        const Vector        &V,
+                        const Vector        &W)
     {
       this->add(a, V);
       return *this * W;
@@ -2052,9 +2052,9 @@ namespace TrilinosWrappers
 
     inline void
     Vector::add(const TrilinosScalar a,
-                const Vector &       v,
+                const Vector        &v,
                 const TrilinosScalar b,
-                const Vector &       w)
+                const Vector        &w)
     {
       // if we have ghost values, do not allow
       // writing to this vector at all.
@@ -2104,7 +2104,7 @@ namespace TrilinosWrappers
     inline void
     Vector::sadd(const TrilinosScalar s,
                  const TrilinosScalar a,
-                 const Vector &       v)
+                 const Vector        &v)
     {
       // if we have ghost values, do not allow
       // writing to this vector at all.
@@ -2208,7 +2208,7 @@ namespace TrilinosWrappers
 
 
     template <typename number>
-    Vector::Vector(const IndexSet &              parallel_partitioner,
+    Vector::Vector(const IndexSet               &parallel_partitioner,
                    const dealii::Vector<number> &v,
                    const MPI_Comm                communicator)
     {
@@ -2261,7 +2261,7 @@ namespace internal
     public:
       template <typename Matrix>
       static void
-      reinit_range_vector(const Matrix &                 matrix,
+      reinit_range_vector(const Matrix                  &matrix,
                           TrilinosWrappers::MPI::Vector &v,
                           bool                           omit_zeroing_entries)
       {
@@ -2272,7 +2272,7 @@ namespace internal
 
       template <typename Matrix>
       static void
-      reinit_domain_vector(const Matrix &                 matrix,
+      reinit_domain_vector(const Matrix                  &matrix,
                            TrilinosWrappers::MPI::Vector &v,
                            bool                           omit_zeroing_entries)
       {
index bc60738befb8d34494c1efd950202c491d3d0e03..df8517d7a13647a516bc3154ba792c13827474d1 100644 (file)
@@ -132,11 +132,11 @@ namespace Utilities
      */
     template <typename OperatorType, typename VectorType>
     double
-    lanczos_largest_eigenvalue(const OperatorType &      H,
-                               const VectorType &        v0,
+    lanczos_largest_eigenvalue(const OperatorType       &H,
+                               const VectorType         &v0,
                                const unsigned int        k,
                                VectorMemory<VectorType> &vector_memory,
-                               std::vector<double> *     eigenvalues = nullptr);
+                               std::vector<double>      *eigenvalues = nullptr);
 
     /**
      * Apply Chebyshev polynomial of the operator @p H to @p x. For a
@@ -187,12 +187,12 @@ namespace Utilities
      */
     template <typename OperatorType, typename VectorType>
     void
-    chebyshev_filter(VectorType &                    x,
-                     const OperatorType &            H,
+    chebyshev_filter(VectorType                     &x,
+                     const OperatorType             &H,
                      const unsigned int              n,
                      const std::pair<double, double> unwanted_spectrum,
                      const double                    tau,
-                     VectorMemory<VectorType> &      vector_memory);
+                     VectorMemory<VectorType>       &vector_memory);
 
   } // namespace LinearAlgebra
 
@@ -216,12 +216,12 @@ namespace internal
     void
     call_stev(const char            jobz,
               const types::blas_int n,
-              Number *              d,
-              Number *              e,
-              Number *              z,
+              Number               *d,
+              Number               *e,
+              Number               *z,
               const types::blas_int ldz,
-              Number *              work,
-              types::blas_int *     info);
+              Number               *work,
+              types::blas_int      *info);
   } // namespace UtilitiesImplementation
 } // namespace internal
 
@@ -329,11 +329,11 @@ namespace Utilities
 
     template <typename OperatorType, typename VectorType>
     double
-    lanczos_largest_eigenvalue(const OperatorType &      H,
-                               const VectorType &        v0_,
+    lanczos_largest_eigenvalue(const OperatorType       &H,
+                               const VectorType         &v0_,
                                const unsigned int        k,
                                VectorMemory<VectorType> &vector_memory,
-                               std::vector<double> *     eigenvalues)
+                               std::vector<double>      *eigenvalues)
     {
       // Do k-step Lanczos:
 
@@ -421,12 +421,12 @@ namespace Utilities
 
     template <typename OperatorType, typename VectorType>
     void
-    chebyshev_filter(VectorType &                    x,
-                     const OperatorType &            op,
+    chebyshev_filter(VectorType                     &x,
+                     const OperatorType             &op,
                      const unsigned int              degree,
                      const std::pair<double, double> unwanted_spectrum,
                      const double                    a_L,
-                     VectorMemory<VectorType> &      vector_memory)
+                     VectorMemory<VectorType>       &vector_memory)
     {
       const double a = unwanted_spectrum.first;
       const double b = unwanted_spectrum.second;
index adb6a1deb4448abc68a46c8886e3bd8aea79a4ec..be33cd187c8522a766a03c823104484b3f215ad4 100644 (file)
@@ -661,7 +661,7 @@ public:
   template <typename OtherNumber>
   void
   extract_subvector_to(const std::vector<size_type> &indices,
-                       std::vector<OtherNumber> &    values) const;
+                       std::vector<OtherNumber>     &values) const;
 
   /**
    * Extract a range of elements all at once.
@@ -732,7 +732,7 @@ public:
    */
   template <typename OtherNumber>
   void
-  add(const std::vector<size_type> &  indices,
+  add(const std::vector<size_type>   &indices,
       const std::vector<OtherNumber> &values);
 
   /**
@@ -751,7 +751,7 @@ public:
   template <typename OtherNumber>
   void
   add(const size_type    n_elements,
-      const size_type *  indices,
+      const size_type   *indices,
       const OtherNumber *values);
 
   /**
@@ -868,7 +868,7 @@ public:
    * while if @p false then the elements are printed on a separate line each.
    */
   void
-  print(std::ostream &     out,
+  print(std::ostream      &out,
         const unsigned int precision  = 3,
         const bool         scientific = true,
         const bool         across     = true) const;
@@ -1237,7 +1237,7 @@ template <typename Number>
 template <typename OtherNumber>
 inline void
 Vector<Number>::extract_subvector_to(const std::vector<size_type> &indices,
-                                     std::vector<OtherNumber> &    values) const
+                                     std::vector<OtherNumber>     &values) const
 {
   for (size_type i = 0; i < indices.size(); ++i)
     values[i] = operator()(indices[i]);
@@ -1278,7 +1278,7 @@ Vector<Number>::operator/=(const Number factor)
 template <typename Number>
 template <typename OtherNumber>
 inline void
-Vector<Number>::add(const std::vector<size_type> &  indices,
+Vector<Number>::add(const std::vector<size_type>   &indices,
                     const std::vector<OtherNumber> &values)
 {
   Assert(indices.size() == values.size(),
@@ -1292,7 +1292,7 @@ template <typename Number>
 template <typename OtherNumber>
 inline void
 Vector<Number>::add(const std::vector<size_type> &indices,
-                    const Vector<OtherNumber> &   values)
+                    const Vector<OtherNumber>    &values)
 {
   Assert(indices.size() == values.size(),
          ExcDimensionMismatch(indices.size(), values.size()));
@@ -1305,7 +1305,7 @@ template <typename Number>
 template <typename OtherNumber>
 inline void
 Vector<Number>::add(const size_type    n_indices,
-                    const size_type *  indices,
+                    const size_type   *indices,
                     const OtherNumber *values)
 {
   for (size_type i = 0; i < n_indices; ++i)
@@ -1333,7 +1333,8 @@ Vector<Number>::operator!=(const Vector<Number2> &v) const
 
 
 template <typename Number>
-inline void Vector<Number>::compress(VectorOperation::values) const
+inline void
+Vector<Number>::compress(VectorOperation::values) const
 {}
 
 
index 52cba5a014cb5fb28e4a6b9c456770ca1a707f31..4dbc78bc32dd0818df377a327e674bf04f34fad1 100644 (file)
@@ -62,7 +62,7 @@ Vector<Number>::apply_givens_rotation(const std::array<Number, 3> &csr,
                                       const size_type              i,
                                       const size_type              k)
 {
-  auto &       V = *this;
+  auto        &V = *this;
   const Number t = V(i);
   V(i)           = csr[0] * V(i) + csr[1] * V(k);
   V(k)           = -csr[1] * t + csr[0] * V(k);
@@ -85,7 +85,7 @@ namespace internal
   template <typename Number>
   void
   copy_petsc_vector(const PETScWrappers::VectorBase &v,
-                    ::dealii::Vector<Number> &       out)
+                    ::dealii::Vector<Number>        &out)
   {
     if (v.size() == 0)
       {
@@ -561,7 +561,7 @@ template <typename Number>
 void
 Vector<Number>::extract_subvector_to(
   const ArrayView<const types::global_dof_index> &indices,
-  ArrayView<Number> &                             elements) const
+  ArrayView<Number>                              &elements) const
 {
   AssertDimension(indices.size(), elements.size());
   for (unsigned int i = 0; i < indices.size(); ++i)
@@ -833,7 +833,7 @@ Vector<Number>::operator==(const Vector<Number2> &v) const
 
 template <typename Number>
 void
-Vector<Number>::print(std::ostream &     out,
+Vector<Number>::print(std::ostream      &out,
                       const unsigned int precision,
                       const bool         scientific,
                       const bool         across) const
index 4d7d6873011aba5e77ae7a08392c692292c29353..d5b1c65a69b62ec192e9605eeeb328a3695a395d 100644 (file)
@@ -33,12 +33,12 @@ namespace internal
     static void
     add(const typename VectorType::value_type value,
         const types::global_dof_index         i,
-        VectorType &                          V);
+        VectorType                           &V);
 
     static void
     set(typename VectorType::value_type value,
         const types::global_dof_index   i,
-        VectorType &                    V);
+        VectorType                     &V);
 
     static typename VectorType::value_type
     get(const VectorType &V, const types::global_dof_index i);
@@ -50,7 +50,7 @@ namespace internal
   inline void
   ElementAccess<VectorType>::add(const typename VectorType::value_type value,
                                  const types::global_dof_index         i,
-                                 VectorType &                          V)
+                                 VectorType                           &V)
   {
     V(i) += value;
   }
@@ -61,7 +61,7 @@ namespace internal
   inline void
   ElementAccess<VectorType>::set(const typename VectorType::value_type value,
                                  const types::global_dof_index         i,
-                                 VectorType &                          V)
+                                 VectorType                           &V)
   {
     V(i) = value;
   }
@@ -70,7 +70,7 @@ namespace internal
 
   template <typename VectorType>
   inline typename VectorType::value_type
-  ElementAccess<VectorType>::get(const VectorType &            V,
+  ElementAccess<VectorType>::get(const VectorType             &V,
                                  const types::global_dof_index i)
   {
     return V(i);
@@ -136,12 +136,12 @@ namespace internal
     static void
     add(const typename VectorType::value_type value,
         const types::global_dof_index         i,
-        VectorType &                          V);
+        VectorType                           &V);
 
     static void
     set(typename VectorType::value_type value,
         const types::global_dof_index   i,
-        VectorType &                    V);
+        VectorType                     &V);
 
     static typename VectorType::value_type
     get(const VectorType &V, const types::global_dof_index i);
@@ -230,7 +230,7 @@ namespace internal
     // Extract local indices in the vector.
 #    if DEAL_II_TRILINOS_VERSION_GTE(13, 2, 0)
     const Tpetra::Vector<NumberType, int, types::signed_global_dof_index>
-      &  vector = V.trilinos_vector();
+        &vector = V.trilinos_vector();
     auto vector_2d =
       vector.template getLocalView<Kokkos::HostSpace>(Tpetra::Access::ReadOnly);
 #    else
index 4cc7349507fc9808d1b17a7bcc6fc0b4a1074037..f2abc5c647600cbdf04e1ffa4f6be6d435721335 100644 (file)
@@ -72,7 +72,7 @@ namespace internal
     void
     copy(const std::complex<T> *begin,
          const std::complex<T> *end,
-         std::complex<U> *      dest)
+         std::complex<U>       *dest)
     {
       std::copy(begin, end, dest);
     }
@@ -100,7 +100,7 @@ namespace internal
     template <typename Functor>
     struct TBBForFunctor
     {
-      TBBForFunctor(Functor &       functor,
+      TBBForFunctor(Functor        &functor,
                     const size_type start,
                     const size_type end)
         : functor(functor)
@@ -135,7 +135,7 @@ namespace internal
         functor(r_begin, r_end);
       }
 
-      Functor &       functor;
+      Functor        &functor;
       const size_type start;
       const size_type end;
       unsigned int    n_chunks;
@@ -146,7 +146,7 @@ namespace internal
     template <typename Functor>
     void
     parallel_for(
-      Functor &       functor,
+      Functor        &functor,
       const size_type start,
       const size_type end,
       const std::shared_ptr<::dealii::parallel::internal::TBBPartitioner>
@@ -326,7 +326,7 @@ namespace internal
     template <typename Number>
     struct Vectorization_sadd_xav
     {
-      Vectorization_sadd_xav(Number *            val,
+      Vectorization_sadd_xav(Number             *val,
                              const Number *const v_val,
                              const Number        a,
                              const Number        x)
@@ -525,7 +525,7 @@ namespace internal
     template <typename Number>
     struct Vectorization_sadd_xavbw
     {
-      Vectorization_sadd_xavbw(Number *      val,
+      Vectorization_sadd_xavbw(Number       *val,
                                const Number *v_val,
                                const Number *w_val,
                                Number        x,
@@ -670,7 +670,7 @@ namespace internal
     template <typename Number>
     struct Vectorization_equ_aubvcw
     {
-      Vectorization_equ_aubvcw(Number *      val,
+      Vectorization_equ_aubvcw(Number       *val,
                                const Number *u_val,
                                const Number *v_val,
                                const Number *w_val,
@@ -867,7 +867,7 @@ namespace internal
         return std::pow(std::abs(x), p);
       }
 
-      const Number X;
+      const Number  *X;
       const RealType p;
     };
 
@@ -999,7 +999,7 @@ namespace internal
     accumulate_recursive(const Operation &op,
                          const size_type  first,
                          const size_type  last,
-                         ResultType &     result)
+                         ResultType      &result)
     {
       if (first == last)
         {
@@ -1113,7 +1113,7 @@ namespace internal
     do_accumulate(const Operation op,
                   const size_type vec_size,
                   const size_type start_index,
-                  ResultType *    outer_results,
+                  ResultType     *outer_results,
                   std::integral_constant<bool, false>)
     {
       // Create local copy to indicate no aliasing to the compiler
@@ -1195,7 +1195,7 @@ namespace internal
     do_accumulate(const Operation op,
                   const size_type vec_size,
                   const size_type start_index,
-                  Number *        outer_results,
+                  Number         *outer_results,
                   std::integral_constant<bool, true>)
     {
       // Create local copy to indicate no aliasing to the compiler
@@ -1413,7 +1413,7 @@ namespace internal
         const Operation &op,
         const size_type  start,
         const size_type  end,
-        ResultType &     result,
+        ResultType      &result,
         const std::shared_ptr<::dealii::parallel::internal::TBBPartitioner>
           &partitioner)
     {
@@ -1715,7 +1715,7 @@ namespace internal
     {
       static void
       copy(const std::shared_ptr<::dealii::parallel::internal::TBBPartitioner>
-             &             thread_loop_partitioner,
+                          &thread_loop_partitioner,
            const size_type size,
            const ::dealii::MemorySpace::
              MemorySpaceData<Number2, ::dealii::MemorySpace::Host> &v_data,
@@ -1730,7 +1730,7 @@ namespace internal
 
       static void
       set(const std::shared_ptr<::dealii::parallel::internal::TBBPartitioner>
-            &             thread_loop_partitioner,
+                         &thread_loop_partitioner,
           const size_type size,
           const Number    s,
           ::dealii::MemorySpace::MemorySpaceData<Number,
@@ -1744,7 +1744,7 @@ namespace internal
       static void
       add_vector(
         const std::shared_ptr<::dealii::parallel::internal::TBBPartitioner>
-          &             thread_loop_partitioner,
+                       &thread_loop_partitioner,
         const size_type size,
         const ::dealii::MemorySpace::
           MemorySpaceData<Number, ::dealii::MemorySpace::Host> &v_data,
@@ -1760,7 +1760,7 @@ namespace internal
       static void
       subtract_vector(
         const std::shared_ptr<::dealii::parallel::internal::TBBPartitioner>
-          &             thread_loop_partitioner,
+                       &thread_loop_partitioner,
         const size_type size,
         const ::dealii::MemorySpace::
           MemorySpaceData<Number, ::dealii::MemorySpace::Host> &v_data,
@@ -1776,7 +1776,7 @@ namespace internal
       static void
       add_factor(
         const std::shared_ptr<::dealii::parallel::internal::TBBPartitioner>
-          &             thread_loop_partitioner,
+                       &thread_loop_partitioner,
         const size_type size,
         Number          a,
         ::dealii::MemorySpace::MemorySpaceData<Number,
@@ -1789,7 +1789,7 @@ namespace internal
 
       static void
       add_av(const std::shared_ptr<::dealii::parallel::internal::TBBPartitioner>
-               &             thread_loop_partitioner,
+                            &thread_loop_partitioner,
              const size_type size,
              const Number    a,
              const ::dealii::MemorySpace::
@@ -1807,7 +1807,7 @@ namespace internal
       static void
       add_avpbw(
         const std::shared_ptr<::dealii::parallel::internal::TBBPartitioner>
-          &             thread_loop_partitioner,
+                       &thread_loop_partitioner,
         const size_type size,
         const Number    a,
         const Number    b,
@@ -1827,7 +1827,7 @@ namespace internal
       static void
       sadd_xv(
         const std::shared_ptr<::dealii::parallel::internal::TBBPartitioner>
-          &             thread_loop_partitioner,
+                       &thread_loop_partitioner,
         const size_type size,
         const Number    x,
         const ::dealii::MemorySpace::
@@ -1845,7 +1845,7 @@ namespace internal
       static void
       sadd_xav(
         const std::shared_ptr<::dealii::parallel::internal::TBBPartitioner>
-          &             thread_loop_partitioner,
+                       &thread_loop_partitioner,
         const size_type size,
         const Number    x,
         const Number    a,
@@ -1865,7 +1865,7 @@ namespace internal
       static void
       sadd_xavbw(
         const std::shared_ptr<::dealii::parallel::internal::TBBPartitioner>
-          &             thread_loop_partitioner,
+                       &thread_loop_partitioner,
         const size_type size,
         const Number    x,
         const Number    a,
@@ -1890,7 +1890,7 @@ namespace internal
       static void
       multiply_factor(
         const std::shared_ptr<::dealii::parallel::internal::TBBPartitioner>
-          &             thread_loop_partitioner,
+                       &thread_loop_partitioner,
         const size_type size,
         const Number    factor,
         ::dealii::MemorySpace::MemorySpaceData<Number,
@@ -1904,7 +1904,7 @@ namespace internal
 
       static void
       scale(const std::shared_ptr<::dealii::parallel::internal::TBBPartitioner>
-              &             thread_loop_partitioner,
+                           &thread_loop_partitioner,
             const size_type size,
             const ::dealii::MemorySpace::
               MemorySpaceData<Number, ::dealii::MemorySpace::Host> &v_data,
@@ -1919,7 +1919,7 @@ namespace internal
 
       static void
       equ_au(const std::shared_ptr<::dealii::parallel::internal::TBBPartitioner>
-               &             thread_loop_partitioner,
+                            &thread_loop_partitioner,
              const size_type size,
              const Number    a,
              const ::dealii::MemorySpace::
@@ -1937,7 +1937,7 @@ namespace internal
       static void
       equ_aubv(
         const std::shared_ptr<::dealii::parallel::internal::TBBPartitioner>
-          &             thread_loop_partitioner,
+                       &thread_loop_partitioner,
         const size_type size,
         const Number    a,
         const Number    b,
@@ -1956,7 +1956,7 @@ namespace internal
 
       static Number
       dot(const std::shared_ptr<::dealii::parallel::internal::TBBPartitioner>
-            &             thread_loop_partitioner,
+                         &thread_loop_partitioner,
           const size_type size,
           const ::dealii::MemorySpace::
             MemorySpaceData<Number2, ::dealii::MemorySpace::Host> &v_data,
@@ -1977,9 +1977,9 @@ namespace internal
       template <typename real_type>
       static void
       norm_2(const std::shared_ptr<::dealii::parallel::internal::TBBPartitioner>
-               &             thread_loop_partitioner,
+                            &thread_loop_partitioner,
              const size_type size,
-             real_type &     sum,
+             real_type      &sum,
              ::dealii::MemorySpace::MemorySpaceData<Number,
                                                     ::dealii::MemorySpace::Host>
                &data)
@@ -1991,7 +1991,7 @@ namespace internal
       static Number
       mean_value(
         const std::shared_ptr<::dealii::parallel::internal::TBBPartitioner>
-          &             thread_loop_partitioner,
+                       &thread_loop_partitioner,
         const size_type size,
         const ::dealii::MemorySpace::
           MemorySpaceData<Number, ::dealii::MemorySpace::Host> &data)
@@ -2006,9 +2006,9 @@ namespace internal
       template <typename real_type>
       static void
       norm_1(const std::shared_ptr<::dealii::parallel::internal::TBBPartitioner>
-               &             thread_loop_partitioner,
+                            &thread_loop_partitioner,
              const size_type size,
-             real_type &     sum,
+             real_type      &sum,
              ::dealii::MemorySpace::MemorySpaceData<Number,
                                                     ::dealii::MemorySpace::Host>
                &data)
@@ -2020,9 +2020,9 @@ namespace internal
       template <typename real_type>
       static void
       norm_p(const std::shared_ptr<::dealii::parallel::internal::TBBPartitioner>
-               &             thread_loop_partitioner,
+                            &thread_loop_partitioner,
              const size_type size,
-             real_type &     sum,
+             real_type      &sum,
              const real_type p,
              ::dealii::MemorySpace::MemorySpaceData<Number,
                                                     ::dealii::MemorySpace::Host>
@@ -2035,7 +2035,7 @@ namespace internal
       static Number
       add_and_dot(
         const std::shared_ptr<::dealii::parallel::internal::TBBPartitioner>
-          &             thread_loop_partitioner,
+                       &thread_loop_partitioner,
         const size_type size,
         const Number    a,
         const ::dealii::MemorySpace::
@@ -2060,7 +2060,7 @@ namespace internal
       static void
       import_elements(
         const std::shared_ptr<::dealii::parallel::internal::TBBPartitioner>
-          &                     thread_loop_partitioner,
+                               &thread_loop_partitioner,
         const size_type         size,
         VectorOperation::values operation,
         const ::dealii::MemorySpace::MemorySpaceData<Number, MemorySpace2>
@@ -2466,9 +2466,9 @@ namespace internal
       template <typename real_type>
       static void
       norm_2(const std::shared_ptr<::dealii::parallel::internal::TBBPartitioner>
-               &             thread_loop_partitioner,
+                            &thread_loop_partitioner,
              const size_type size,
-             real_type &     sum,
+             real_type      &sum,
              ::dealii::MemorySpace::
                MemorySpaceData<Number, ::dealii::MemorySpace::Default> &data)
       {
@@ -2505,7 +2505,7 @@ namespace internal
       norm_1(
         const std::shared_ptr<::dealii::parallel::internal::TBBPartitioner> &,
         const size_type size,
-        real_type &     sum,
+        real_type      &sum,
         ::dealii::MemorySpace::MemorySpaceData<Number,
                                                ::dealii::MemorySpace::Default>
           &data)
@@ -2534,7 +2534,7 @@ namespace internal
       norm_p(
         const std::shared_ptr<::dealii::parallel::internal::TBBPartitioner> &,
         const size_type size,
-        real_type &     sum,
+        real_type      &sum,
         real_type       exp,
         ::dealii::MemorySpace::MemorySpaceData<Number,
                                                ::dealii::MemorySpace::Default>
@@ -2597,7 +2597,7 @@ namespace internal
       static void
       import_elements(
         const std::shared_ptr<::dealii::parallel::internal::TBBPartitioner>
-          &                     thread_loop_partitioner,
+                               &thread_loop_partitioner,
         const size_type         size,
         VectorOperation::values operation,
         const ::dealii::MemorySpace::MemorySpaceData<Number, MemorySpace2>
index 57eeea61e6387172d4eed30cf3948d108bc7ecd5..27dc2648d393865a77883aabe5425816ab666787 100644 (file)
@@ -100,7 +100,7 @@ namespace internal
         const unsigned int                                    mg_level,
         const TriaIterator<DoFCellAccessor<dim, dim, false>> &cell,
         const dealii::AffineConstraints<typename Number::value_type>
-          &                                                       constraints,
+                                                                 &constraints,
         const std::shared_ptr<const Utilities::MPI::Partitioner> &partitioner);
 
       /**
@@ -112,7 +112,7 @@ namespace internal
       void
       read_dof_indices(
         const unsigned int                                        cell_no,
-        const std::vector<types::global_dof_index> &              dof_indices,
+        const std::vector<types::global_dof_index>               &dof_indices,
         const std::shared_ptr<const Utilities::MPI::Partitioner> &partitioner);
 
       void
@@ -120,9 +120,9 @@ namespace internal
 
       template <typename T, typename VectorType>
       void
-      read_write_operation(const T &          operation,
-                           VectorType &       global_vector,
-                           Number *           local_vector,
+      read_write_operation(const T           &operation,
+                           VectorType        &global_vector,
+                           Number            *local_vector,
                            const unsigned int first_cell,
                            const unsigned int n_cells,
                            const unsigned int n_dofs_per_cell,
@@ -314,9 +314,9 @@ namespace internal
     ConstraintInfo<dim, Number>::read_dof_indices(
       const unsigned int                                            cell_no,
       const unsigned int                                            mg_level,
-      const TriaIterator<DoFCellAccessor<dim, dim, false>> &        cell,
+      const TriaIterator<DoFCellAccessor<dim, dim, false>>         &cell,
       const dealii::AffineConstraints<typename Number::value_type> &constraints,
-      const std::shared_ptr<const Utilities::MPI::Partitioner> &    partitioner)
+      const std::shared_ptr<const Utilities::MPI::Partitioner>     &partitioner)
     {
       std::vector<types::global_dof_index> local_dof_indices(
         cell->get_fe().n_dofs_per_cell());
@@ -391,7 +391,7 @@ namespace internal
           // dof is constrained
           if (entries_ptr != nullptr)
             {
-              const auto &                  entries   = *entries_ptr;
+              const auto                   &entries   = *entries_ptr;
               const types::global_dof_index n_entries = entries.size();
               if (n_entries == 1 &&
                   std::abs(entries[0].second - 1.) <
@@ -574,9 +574,9 @@ namespace internal
     template <typename T, typename VectorType>
     inline void
     ConstraintInfo<dim, Number>::read_write_operation(
-      const T &          operation,
-      VectorType &       global_vector,
-      Number *           local_vector,
+      const T           &operation,
+      VectorType        &global_vector,
+      Number            *local_vector,
       const unsigned int first_cell,
       const unsigned int n_cells,
       const unsigned int n_dofs_per_cell,
index e14f432d6eba92ef790950ccabc3c683135ce35a..060fba7c4dcc33a5c1fdd9fe6fb2711079c34494 100644 (file)
@@ -214,7 +214,7 @@ namespace CUDAWrappers
     apply_for_each_quad_point(const Functor &func);
 
   private:
-    const data_type *        data;
+    const data_type         *data;
     SharedData<dim, Number> *shared_data;
     int                      cell_id;
   };
index a730d539f178d1966744070b7b66d66e5ebc3a4a..b02eaf42fa9a14bdaf647082c1bbfca81060f6b8 100644 (file)
@@ -54,7 +54,7 @@ namespace CUDAWrappers
     DEAL_II_HOST_DEVICE inline bool
     is_constrained_dof_2d(
       const dealii::internal::MatrixFreeFunctions::ConstraintKinds
-        &                constraint_mask,
+                        &constraint_mask,
       const unsigned int x_idx,
       const unsigned int y_idx)
     {
@@ -78,7 +78,7 @@ namespace CUDAWrappers
     DEAL_II_HOST_DEVICE inline bool
     is_constrained_dof_3d(
       const dealii::internal::MatrixFreeFunctions::ConstraintKinds
-        &                constraint_mask,
+                        &constraint_mask,
       const unsigned int x_idx,
       const unsigned int y_idx,
       const unsigned int z_idx,
@@ -131,7 +131,7 @@ namespace CUDAWrappers
       Kokkos::View<Number *, MemorySpace::Default::kokkos_space>
         constraint_weights,
       const dealii::internal::MatrixFreeFunctions::ConstraintKinds
-        &                                                   constraint_mask,
+                                                           &constraint_mask,
       Kokkos::View<Number *,
                    MemorySpace::Default::kokkos_space::execution_space::
                      scratch_memory_space,
index f93e0b3ea4c1a2e27dc6c3129a78bb253a8ec73e..b8afb77a5683bf81429c1505f9741b8d56ec2cc6 100644 (file)
@@ -282,31 +282,31 @@ namespace CUDAWrappers
      */
     template <typename IteratorFiltersType>
     void
-    reinit(const Mapping<dim> &             mapping,
-           const DoFHandler<dim> &          dof_handler,
+    reinit(const Mapping<dim>              &mapping,
+           const DoFHandler<dim>           &dof_handler,
            const AffineConstraints<Number> &constraints,
-           const Quadrature<1> &            quad,
-           const IteratorFiltersType &      iterator_filter,
-           const AdditionalData &           additional_data = AdditionalData());
+           const Quadrature<1>             &quad,
+           const IteratorFiltersType       &iterator_filter,
+           const AdditionalData            &additional_data = AdditionalData());
 
     /**
      * Same as above using Iterators::LocallyOwnedCell() as predicate.
      */
     void
-    reinit(const Mapping<dim> &             mapping,
-           const DoFHandler<dim> &          dof_handler,
+    reinit(const Mapping<dim>              &mapping,
+           const DoFHandler<dim>           &dof_handler,
            const AffineConstraints<Number> &constraints,
-           const Quadrature<1> &            quad,
-           const AdditionalData &           additional_data = AdditionalData());
+           const Quadrature<1>             &quad,
+           const AdditionalData            &additional_data = AdditionalData());
 
     /**
      * Initializes the data structures. Same as above but using a Q1 mapping.
      */
     void
-    reinit(const DoFHandler<dim> &          dof_handler,
+    reinit(const DoFHandler<dim>           &dof_handler,
            const AffineConstraints<Number> &constraints,
-           const Quadrature<1> &            quad,
-           const AdditionalData &           additional_data = AdditionalData());
+           const Quadrature<1>             &quad,
+           const AdditionalData            &additional_data = AdditionalData());
 
     /**
      * Return the Data structure associated with @p color.
@@ -335,9 +335,9 @@ namespace CUDAWrappers
     // clang-format on
     template <typename Functor, typename VectorType>
     void
-    cell_loop(const Functor &   func,
+    cell_loop(const Functor    &func,
               const VectorType &src,
-              VectorType &      dst) const;
+              VectorType       &dst) const;
 
     /**
      * This method runs the loop over all cells and apply the local operation on
@@ -432,11 +432,11 @@ namespace CUDAWrappers
      */
     template <typename IteratorFiltersType>
     void
-    internal_reinit(const Mapping<dim> &                   mapping,
-                    const DoFHandler<dim> &                dof_handler,
-                    const AffineConstraints<Number> &      constraints,
-                    const Quadrature<1> &                  quad,
-                    const IteratorFiltersType &            iterator_filter,
+    internal_reinit(const Mapping<dim>                    &mapping,
+                    const DoFHandler<dim>                 &dof_handler,
+                    const AffineConstraints<Number>       &constraints,
+                    const Quadrature<1>                   &quad,
+                    const IteratorFiltersType             &iterator_filter,
                     const std::shared_ptr<const MPI_Comm> &comm,
                     const AdditionalData                   additional_data);
 
@@ -446,9 +446,9 @@ namespace CUDAWrappers
      */
     template <typename Functor, typename VectorType>
     void
-    serial_cell_loop(const Functor &   func,
+    serial_cell_loop(const Functor    &func,
                      const VectorType &src,
-                     VectorType &      dst) const;
+                     VectorType       &dst) const;
 
     /**
      * Helper function. Loop over all the cells and apply the functor on each
@@ -459,7 +459,7 @@ namespace CUDAWrappers
     distributed_cell_loop(
       const Functor &func,
       const LinearAlgebra::distributed::Vector<Number, MemorySpace::Default>
-        &                                                               src,
+                                                                       &src,
       LinearAlgebra::distributed::Vector<Number, MemorySpace::Default> &dst)
       const;
 
@@ -472,9 +472,9 @@ namespace CUDAWrappers
     template <typename Functor>
     void
     distributed_cell_loop(
-      const Functor &                                    func,
+      const Functor                                     &func,
       const LinearAlgebra::CUDAWrappers::Vector<Number> &src,
-      LinearAlgebra::CUDAWrappers::Vector<Number> &      dst) const;
+      LinearAlgebra::CUDAWrappers::Vector<Number>       &dst) const;
 #endif
 
     /**
@@ -645,7 +645,7 @@ namespace CUDAWrappers
       Kokkos::MemoryTraits<Kokkos::Unmanaged>>;
 
     DEAL_II_HOST_DEVICE
-    SharedData(const TeamHandle &  team_member,
+    SharedData(const TeamHandle   &team_member,
                const SharedView1D &values,
                const SharedView2D &gradients)
       : team_member(team_member)
index 465ca9e94febd7c78d940758888214d6c26ce394..68a47ae8daac8afc12b97a45ab6851fb347d8d17 100644 (file)
@@ -55,14 +55,14 @@ namespace CUDAWrappers
     {
     public:
       ReinitHelper(
-        MatrixFree<dim, Number> *      data,
-        const Mapping<dim> &           mapping,
+        MatrixFree<dim, Number>       *data,
+        const Mapping<dim>            &mapping,
         const FiniteElement<dim, dim> &fe,
-        const Quadrature<1> &          quad,
+        const Quadrature<1>           &quad,
         const ::dealii::internal::MatrixFreeFunctions::ShapeInfo<Number>
-          &                    shape_info,
+                              &shape_info,
         const DoFHandler<dim> &dof_handler,
-        const UpdateFlags &    update_flags);
+        const UpdateFlags     &update_flags);
 
       void
       resize(const unsigned int n_colors);
@@ -71,7 +71,7 @@ namespace CUDAWrappers
       void
       fill_data(
         const unsigned int                                        color,
-        const std::vector<CellFilter> &                           graph,
+        const std::vector<CellFilter>                            &graph,
         const std::shared_ptr<const Utilities::MPI::Partitioner> &partitioner);
 
     private:
@@ -80,12 +80,12 @@ namespace CUDAWrappers
       std::vector<types::global_dof_index> local_dof_indices;
       FEValues<dim>                        fe_values;
       // Convert the default dof numbering to a lexicographic one
-      const std::vector<unsigned int> &    lexicographic_inv;
+      const std::vector<unsigned int>     &lexicographic_inv;
       std::vector<types::global_dof_index> lexicographic_dof_indices;
       const unsigned int                   fe_degree;
       const unsigned int                   dofs_per_cell;
       const unsigned int                   q_points_per_cell;
-      const UpdateFlags &                  update_flags;
+      const UpdateFlags                   &update_flags;
       const unsigned int                   padding_length;
       dealii::internal::MatrixFreeFunctions::HangingNodes<dim> hanging_nodes;
     };
@@ -94,14 +94,14 @@ namespace CUDAWrappers
 
     template <int dim, typename Number>
     ReinitHelper<dim, Number>::ReinitHelper(
-      MatrixFree<dim, Number> data,
-      const Mapping<dim> &      mapping,
+      MatrixFree<dim, Number>  *data,
+      const Mapping<dim>       &mapping,
       const FiniteElement<dim> &fe,
-      const Quadrature<1> &     quad,
+      const Quadrature<1>      &quad,
       const ::dealii::internal::MatrixFreeFunctions::ShapeInfo<Number>
-        &                    shape_info,
+                            &shape_info,
       const DoFHandler<dim> &dof_handler,
-      const UpdateFlags &    update_flags)
+      const UpdateFlags     &update_flags)
       : data(data)
       , fe_values(mapping,
                   fe,
@@ -151,7 +151,7 @@ namespace CUDAWrappers
     void
     ReinitHelper<dim, Number>::fill_data(
       const unsigned int                                        color,
-      const std::vector<CellFilter> &                           graph,
+      const std::vector<CellFilter>                            &graph,
       const std::shared_ptr<const Utilities::MPI::Partitioner> &partitioner)
     {
       const unsigned int n_cells = data->n_cells[color];
@@ -200,12 +200,12 @@ namespace CUDAWrappers
       auto constraint_mask_host =
         Kokkos::create_mirror_view(data->constraint_mask[color]);
 
-      typename std::remove_reference_t<decltype(
-        data->q_points[color])>::HostMirror q_points_host;
+      typename std::remove_reference_t<
+        decltype(data->q_points[color])>::HostMirror q_points_host;
       typename std::remove_reference_t<decltype(data->JxW[color])>::HostMirror
-                                                JxW_host;
-      typename std::remove_reference_t<decltype(
-        data->inv_jacobian[color])>::HostMirror inv_jacobian_host;
+        JxW_host;
+      typename std::remove_reference_t<
+        decltype(data->inv_jacobian[color])>::HostMirror inv_jacobian_host;
 #if KOKKOS_VERSION >= 30600
       auto local_to_global_host =
         Kokkos::create_mirror_view(Kokkos::WithoutInitializing,
@@ -302,7 +302,7 @@ namespace CUDAWrappers
     std::vector<types::global_dof_index>
     get_conflict_indices(
       const FilteredIterator<typename DoFHandler<dim>::active_cell_iterator>
-        &                              cell,
+                                      &cell,
       const AffineConstraints<number> &constraints)
     {
       std::vector<types::global_dof_index> local_dof_indices(
@@ -368,7 +368,7 @@ namespace CUDAWrappers
       ApplyKernel(Functor                                      func,
                   const typename MatrixFree<dim, Number>::Data gpu_data,
                   Number *const                                src,
-                  Number *                                     dst)
+                  Number                                      *dst)
         : func(func)
         , gpu_data(gpu_data)
         , src(src)
@@ -378,7 +378,7 @@ namespace CUDAWrappers
       Functor                                      func;
       const typename MatrixFree<dim, Number>::Data gpu_data;
       Number *const                                src;
-      Number *                                     dst;
+      Number                                      *dst;
 
 
       // Provide the shared memory capacity. This function takes the team_size
@@ -420,12 +420,12 @@ namespace CUDAWrappers
   template <int dim, typename Number>
   template <typename IteratorFiltersType>
   void
-  MatrixFree<dim, Number>::reinit(const Mapping<dim> &             mapping,
-                                  const DoFHandler<dim> &          dof_handler,
+  MatrixFree<dim, Number>::reinit(const Mapping<dim>              &mapping,
+                                  const DoFHandler<dim>           &dof_handler,
                                   const AffineConstraints<Number> &constraints,
-                                  const Quadrature<1> &            quad,
+                                  const Quadrature<1>             &quad,
                                   const IteratorFiltersType &iterator_filter,
-                                  const AdditionalData &     additional_data)
+                                  const AdditionalData      &additional_data)
   {
     const auto &triangulation = dof_handler.get_triangulation();
     if (const auto parallel_triangulation =
@@ -453,10 +453,10 @@ namespace CUDAWrappers
 
   template <int dim, typename Number>
   void
-  MatrixFree<dim, Number>::reinit(const Mapping<dim> &             mapping,
-                                  const DoFHandler<dim> &          dof_handler,
+  MatrixFree<dim, Number>::reinit(const Mapping<dim>              &mapping,
+                                  const DoFHandler<dim>           &dof_handler,
                                   const AffineConstraints<Number> &constraints,
-                                  const Quadrature<1> &            quad,
+                                  const Quadrature<1>             &quad,
                                   const AdditionalData &additional_data)
   {
     IteratorFilters::LocallyOwnedCell locally_owned_cell_filter;
@@ -472,9 +472,9 @@ namespace CUDAWrappers
 
   template <int dim, typename Number>
   void
-  MatrixFree<dim, Number>::reinit(const DoFHandler<dim> &          dof_handler,
+  MatrixFree<dim, Number>::reinit(const DoFHandler<dim>           &dof_handler,
                                   const AffineConstraints<Number> &constraints,
-                                  const Quadrature<1> &            quad,
+                                  const Quadrature<1>             &quad,
                                   const AdditionalData &additional_data)
   {
     reinit(StaticMappingQ1<dim>::mapping,
@@ -517,7 +517,7 @@ namespace CUDAWrappers
   template <typename VectorType>
   void
   MatrixFree<dim, Number>::copy_constrained_values(const VectorType &src,
-                                                   VectorType &      dst) const
+                                                   VectorType       &dst) const
   {
     static_assert(
       std::is_same_v<Number, typename VectorType::value_type>,
@@ -528,8 +528,8 @@ namespace CUDAWrappers
     // work-around can be removed.
     auto               constr_dofs = constrained_dofs;
     const unsigned int size = internal::VectorLocalSize<VectorType>::get(dst);
-    const Number *     src_ptr = src.get_values();
-    Number *           dst_ptr = dst.get_values();
+    const Number      *src_ptr = src.get_values();
+    Number            *dst_ptr = dst.get_values();
     Kokkos::parallel_for(
       "dealii::copy_constrained_values",
       Kokkos::RangePolicy<MemorySpace::Default::kokkos_space::execution_space>(
@@ -612,9 +612,9 @@ namespace CUDAWrappers
   template <int dim, typename Number>
   template <typename Functor, typename VectorType>
   void
-  MatrixFree<dim, Number>::cell_loop(const Functor &   func,
+  MatrixFree<dim, Number>::cell_loop(const Functor    &func,
                                      const VectorType &src,
-                                     VectorType &      dst) const
+                                     VectorType       &dst) const
   {
     if (partitioner)
       distributed_cell_loop(func, src, dst);
@@ -681,11 +681,11 @@ namespace CUDAWrappers
   template <typename IteratorFiltersType>
   void
   MatrixFree<dim, Number>::internal_reinit(
-    const Mapping<dim> &                   mapping,
-    const DoFHandler<dim> &                dof_handler_,
-    const AffineConstraints<Number> &      constraints,
-    const Quadrature<1> &                  quad,
-    const IteratorFiltersType &            iterator_filter,
+    const Mapping<dim>                    &mapping,
+    const DoFHandler<dim>                 &dof_handler_,
+    const AffineConstraints<Number>       &constraints,
+    const Quadrature<1>                   &quad,
+    const IteratorFiltersType             &iterator_filter,
     const std::shared_ptr<const MPI_Comm> &comm,
     const AdditionalData                   additional_data)
   {
@@ -928,9 +928,9 @@ namespace CUDAWrappers
   template <int dim, typename Number>
   template <typename Functor, typename VectorType>
   void
-  MatrixFree<dim, Number>::serial_cell_loop(const Functor &   func,
+  MatrixFree<dim, Number>::serial_cell_loop(const Functor    &func,
                                             const VectorType &src,
-                                            VectorType &      dst) const
+                                            VectorType       &dst) const
   {
     // Execute the loop on the cells
     for (unsigned int color = 0; color < n_colors; ++color)
index c26dd9ab519bc66932b54ea21e4d50288d094e65..ff82af38aec09349f847b84a3546e64d0b5a1f70 100644 (file)
@@ -362,7 +362,7 @@ namespace CUDAWrappers
 
       DEAL_II_HOST_DEVICE
       EvaluatorTensorProduct(
-        const TeamHandle &                                         team_member,
+        const TeamHandle                                          &team_member,
         Kokkos::View<Number *, MemorySpace::Default::kokkos_space> shape_values,
         Kokkos::View<Number *, MemorySpace::Default::kokkos_space>
           shape_gradients,
@@ -487,7 +487,7 @@ namespace CUDAWrappers
                            n_q_points_1d,
                            Number>::
       EvaluatorTensorProduct(
-        const TeamHandle &                                         team_member,
+        const TeamHandle                                          &team_member,
         Kokkos::View<Number *, MemorySpace::Default::kokkos_space> shape_values,
         Kokkos::View<Number *, MemorySpace::Default::kokkos_space>
           shape_gradients,
index fc201903246128f69dbb013ce4c235750ed045b3..dc078dc1ce9dffa9d87090916fb2e03ed618dca3 100644 (file)
@@ -206,10 +206,10 @@ namespace internal
         const std::vector<types::global_dof_index> &local_indices_resolved,
         const std::vector<types::global_dof_index> &local_indices,
         const bool                                  cell_has_hanging_nodes,
-        const dealii::AffineConstraints<number> &   constraints,
+        const dealii::AffineConstraints<number>    &constraints,
         const unsigned int                          cell_number,
-        ConstraintValues<double> &                  constraint_values,
-        bool &                                      cell_at_boundary);
+        ConstraintValues<double>                   &constraint_values,
+        bool                                       &cell_at_boundary);
 
       /**
        * For a given cell, determine if it has hanging node constraints. If yes,
@@ -218,11 +218,11 @@ namespace internal
       template <int dim>
       bool
       process_hanging_node_constraints(
-        const HangingNodes<dim> &                     hanging_nodes,
+        const HangingNodes<dim>                      &hanging_nodes,
         const std::vector<std::vector<unsigned int>> &lexicographic_mapping,
         const unsigned int                            cell_number,
         const TriaIterator<DoFCellAccessor<dim, dim, false>> &cell,
-        std::vector<types::global_dof_index> &                dof_indices);
+        std::vector<types::global_dof_index>                 &dof_indices);
 
       /**
        * This method assigns the correct indices to ghost indices from the
@@ -243,9 +243,9 @@ namespace internal
        * vectorization.
        */
       void
-      reorder_cells(const TaskInfo &                  task_info,
-                    const std::vector<unsigned int> renumbering,
-                    const std::vector<unsigned int> constraint_pool_row_index,
+      reorder_cells(const TaskInfo                   &task_info,
+                    const std::vector<unsigned int>  &renumbering,
+                    const std::vector<unsigned int>  &constraint_pool_row_index,
                     const std::vector<unsigned char> &irregular_cells);
 
       /**
@@ -271,7 +271,7 @@ namespace internal
        * fills the structure into a sparsity pattern.
        */
       void
-      make_connectivity_graph(const TaskInfo &                 task_info,
+      make_connectivity_graph(const TaskInfo                  &task_info,
                               const std::vector<unsigned int> &renumbering,
                               DynamicSparsityPattern &connectivity) const;
 
@@ -282,7 +282,7 @@ namespace internal
        */
       void
       compute_tight_partitioners(
-        const Table<2, ShapeInfo<double>> &       shape_info,
+        const Table<2, ShapeInfo<double>>        &shape_info,
         const unsigned int                        n_owned_cells,
         const unsigned int                        n_lanes,
         const std::vector<FaceToCellTopology<1>> &inner_faces,
@@ -327,7 +327,7 @@ namespace internal
       template <int length>
       void
       compute_vector_zero_access_pattern(
-        const TaskInfo &                               task_info,
+        const TaskInfo                                &task_info,
         const std::vector<FaceToCellTopology<length>> &faces);
 
       /**
@@ -342,7 +342,7 @@ namespace internal
        */
       template <typename StreamType>
       void
-      print_memory_consumption(StreamType &    out,
+      print_memory_consumption(StreamType     &out,
                                const TaskInfo &size_info) const;
 
       /**
@@ -351,9 +351,9 @@ namespace internal
        */
       template <typename Number>
       void
-      print(const std::vector<Number> &      constraint_pool_data,
+      print(const std::vector<Number>       &constraint_pool_data,
             const std::vector<unsigned int> &constraint_pool_row_index,
-            std::ostream &                   out) const;
+            std::ostream                    &out) const;
 
       /**
        * Enum for various storage variants of the indices. This storage format
index d9182c0b7d0277ae57eb8290fc782473a959e7eb..033bf476f35255ffd2b67f02002733d3e58e0d70 100644 (file)
@@ -44,10 +44,10 @@ namespace internal
       const std::vector<types::global_dof_index> &local_indices_resolved,
       const std::vector<types::global_dof_index> &local_indices,
       const bool                                  cell_has_hanging_nodes,
-      const dealii::AffineConstraints<number> &   constraints,
+      const dealii::AffineConstraints<number>    &constraints,
       const unsigned int                          cell_number,
-      ConstraintValues<double> &                  constraint_values,
-      bool &                                      cell_at_subdomain_boundary)
+      ConstraintValues<double>                   &constraint_values,
+      bool                                       &cell_at_subdomain_boundary)
     {
       Assert(vector_partitioner.get() != nullptr, ExcInternalError());
       const types::global_dof_index first_owned =
@@ -75,7 +75,7 @@ namespace internal
           for (; i < next; ++i)
             {
               types::global_dof_index current_dof = local_indices_resolved[i];
-              const auto *            entries_ptr =
+              const auto             *entries_ptr =
                 constraints.get_constraint_entries(current_dof);
 
               // dof is constrained
@@ -93,7 +93,7 @@ namespace internal
                   // check whether this dof is identity constrained to another
                   // dof. then we can simply insert that dof and there is no
                   // need to actually resolve the constraint entries
-                  const auto &                  entries   = *entries_ptr;
+                  const auto                   &entries   = *entries_ptr;
                   const types::global_dof_index n_entries = entries.size();
                   if (n_entries == 1 &&
                       std::abs(entries[0].second - 1.) <
@@ -209,11 +209,11 @@ namespace internal
     template <int dim>
     bool
     DoFInfo::process_hanging_node_constraints(
-      const HangingNodes<dim> &                     hanging_nodes,
+      const HangingNodes<dim>                      &hanging_nodes,
       const std::vector<std::vector<unsigned int>> &lexicographic_mapping,
       const unsigned int                            cell_number,
       const TriaIterator<DoFCellAccessor<dim, dim, false>> &cell,
-      std::vector<types::global_dof_index> &                dof_indices)
+      std::vector<types::global_dof_index>                 &dof_indices)
     {
       if (this->hanging_node_constraint_masks_comp.empty())
         return false;
@@ -374,7 +374,7 @@ namespace internal
     template <int length>
     void
     DoFInfo::compute_vector_zero_access_pattern(
-      const TaskInfo &                               task_info,
+      const TaskInfo                                &task_info,
       const std::vector<FaceToCellTopology<length>> &faces)
     {
       // compute a list that tells us the first time a degree of freedom is
@@ -615,7 +615,7 @@ namespace internal
 
     template <typename StreamType>
     void
-    DoFInfo::print_memory_consumption(StreamType &    out,
+    DoFInfo::print_memory_consumption(StreamType     &out,
                                       const TaskInfo &task_info) const
     {
       out << "       Memory row starts indices:    ";
@@ -642,9 +642,9 @@ namespace internal
 
     template <typename Number>
     void
-    DoFInfo::print(const std::vector<Number> &      constraint_pool_data,
+    DoFInfo::print(const std::vector<Number>       &constraint_pool_data,
                    const std::vector<unsigned int> &constraint_pool_row_index,
-                   std::ostream &                   out) const
+                   std::ostream                    &out) const
     {
       const unsigned int n_rows = row_starts.size() - 1;
       for (unsigned int row = 0; row < n_rows; ++row)
index 7e15b5f6ba7f559fcad838a5112dc7973a3a42ba..95583af217010e56fb12215a765d6768ca660510 100644 (file)
@@ -131,14 +131,14 @@ namespace internal
     static void
     evaluate(const unsigned int                     n_components,
              const EvaluationFlags::EvaluationFlags evaluation_flag,
-             const Number *                         values_dofs_actual,
-             FEEvaluationData<dim, Number, false> fe_eval);
+             const Number                          *values_dofs_actual,
+             FEEvaluationData<dim, Number, false>  &fe_eval);
 
     static void
     integrate(const unsigned int                     n_components,
               const EvaluationFlags::EvaluationFlags integration_flag,
-              Number *                               values_dofs_actual,
-              FEEvaluationData<dim, Number, false> fe_eval,
+              Number                                *values_dofs_actual,
+              FEEvaluationData<dim, Number, false>  &fe_eval,
               const bool                             add_into_values_array);
 
     static Eval
@@ -177,14 +177,14 @@ namespace internal
     static void
     evaluate(const unsigned int                     n_components,
              const EvaluationFlags::EvaluationFlags evaluation_flag,
-             const Number *                         values_dofs_actual,
-             FEEvaluationData<dim, Number, false> fe_eval);
+             const Number                          *values_dofs_actual,
+             FEEvaluationData<dim, Number, false>  &fe_eval);
 
     static void
     integrate(const unsigned int                     n_components,
               const EvaluationFlags::EvaluationFlags integration_flag,
-              Number *                               values_dofs_actual,
-              FEEvaluationData<dim, Number, false> fe_eval,
+              Number                                *values_dofs_actual,
+              FEEvaluationData<dim, Number, false>  &fe_eval,
               const bool                             add_into_values_array);
   };
 
@@ -203,8 +203,8 @@ namespace internal
     static void
     evaluate_or_integrate(
       const EvaluationFlags::EvaluationFlags evaluation_flag,
-      Number *                               values_dofs_actual,
-      FEEvaluationData<dim, Number, false> fe_eval,
+      Number                                *values_dofs_actual,
+      FEEvaluationData<dim, Number, false>  &fe_eval,
       const bool                             add_into_values_array = false);
 
   private:
@@ -222,8 +222,8 @@ namespace internal
     static void
     evaluate_tensor_product_per_component(
       const EvaluationFlags::EvaluationFlags evaluation_flag,
-      Number *                               values_dofs_actual,
-      FEEvaluationData<dim, Number, false> fe_eval,
+      Number                                *values_dofs_actual,
+      FEEvaluationData<dim, Number, false>  &fe_eval,
       const bool                             add_into_values_array,
       std::integral_constant<bool, false>);
 
@@ -231,8 +231,8 @@ namespace internal
     static void
     evaluate_tensor_product_per_component(
       const EvaluationFlags::EvaluationFlags evaluation_flag,
-      Number *                               values_dofs_actual,
-      FEEvaluationData<dim, Number, false> fe_eval,
+      Number                                *values_dofs_actual,
+      FEEvaluationData<dim, Number, false>  &fe_eval,
       const bool                             add_into_values_array,
       std::integral_constant<bool, true>);
   };
@@ -248,8 +248,8 @@ namespace internal
   FEEvaluationImpl<type, dim, fe_degree, n_q_points_1d, Number>::evaluate(
     const unsigned int                     n_components,
     const EvaluationFlags::EvaluationFlags evaluation_flag,
-    const Number *                         values_dofs_actual,
-    FEEvaluationData<dim, Number, false> fe_eval)
+    const Number                          *values_dofs_actual,
+    FEEvaluationData<dim, Number, false>  &fe_eval)
   {
     if (evaluation_flag == EvaluationFlags::nothing)
       return;
@@ -521,8 +521,8 @@ namespace internal
   FEEvaluationImpl<type, dim, fe_degree, n_q_points_1d, Number>::integrate(
     const unsigned int                     n_components,
     const EvaluationFlags::EvaluationFlags integration_flag,
-    Number *                               values_dofs_actual,
-    FEEvaluationData<dim, Number, false> fe_eval,
+    Number                                *values_dofs_actual,
+    FEEvaluationData<dim, Number, false>  &fe_eval,
     const bool                             add_into_values_array)
   {
     std::array<const MatrixFreeFunctions::UnivariateShapeData<Number2> *, 3>
@@ -835,8 +835,8 @@ namespace internal
     n_q_points_1d,
     Number>::evaluate(const unsigned int                     n_components,
                       const EvaluationFlags::EvaluationFlags evaluation_flag,
-                      const Number *                         values_dofs_actual,
-                      FEEvaluationData<dim, Number, false> fe_eval)
+                      const Number                          *values_dofs_actual,
+                      FEEvaluationData<dim, Number, false>  &fe_eval)
   {
     Assert(!(evaluation_flag & EvaluationFlags::hessians), ExcNotImplemented());
 
@@ -854,8 +854,8 @@ namespace internal
     if (evaluation_flag & EvaluationFlags::values)
       {
         const auto *const shape_values = shape_data.front().shape_values.data();
-        auto *            values_quad_ptr        = fe_eval.begin_values();
-        const auto *      values_dofs_actual_ptr = values_dofs_actual;
+        auto             *values_quad_ptr        = fe_eval.begin_values();
+        const auto       *values_dofs_actual_ptr = values_dofs_actual;
 
         Eval eval(shape_values, nullptr, nullptr, n_dofs, n_q_points);
         for (unsigned int c = 0; c < n_components; ++c)
@@ -872,7 +872,7 @@ namespace internal
       {
         const auto *const shape_gradients =
           shape_data.front().shape_gradients.data();
-        auto *      gradients_quad_ptr     = fe_eval.begin_gradients();
+        auto       *gradients_quad_ptr     = fe_eval.begin_gradients();
         const auto *values_dofs_actual_ptr = values_dofs_actual;
 
         for (unsigned int c = 0; c < n_components; ++c)
@@ -906,7 +906,7 @@ namespace internal
     n_q_points_1d,
     Number>::integrate(const unsigned int                     n_components,
                        const EvaluationFlags::EvaluationFlags integration_flag,
-                       Number *                              values_dofs_actual,
+                       Number                               *values_dofs_actual,
                        FEEvaluationData<dim, Number, false> &fe_eval,
                        const bool add_into_values_array)
   {
@@ -927,8 +927,8 @@ namespace internal
     if (integration_flag & EvaluationFlags::values)
       {
         const auto *const shape_values = shape_data.front().shape_values.data();
-        auto *            values_quad_ptr        = fe_eval.begin_values();
-        auto *            values_dofs_actual_ptr = values_dofs_actual;
+        auto             *values_quad_ptr        = fe_eval.begin_values();
+        auto             *values_dofs_actual_ptr = values_dofs_actual;
 
         Eval eval(shape_values, nullptr, nullptr, n_dofs, n_q_points);
         for (unsigned int c = 0; c < n_components; ++c)
@@ -989,8 +989,8 @@ namespace internal
                    Number>::
     evaluate_or_integrate(
       const EvaluationFlags::EvaluationFlags evaluation_flag,
-      Number *                               values_dofs_actual,
-      FEEvaluationData<dim, Number, false> fe_eval,
+      Number                                *values_dofs_actual,
+      FEEvaluationData<dim, Number, false>  &fe_eval,
       const bool                             add_into_values_array)
   {
     if (evaluation_flag == EvaluationFlags::nothing)
@@ -1036,8 +1036,8 @@ namespace internal
                    Number>::
     evaluate_tensor_product_per_component(
       const EvaluationFlags::EvaluationFlags evaluation_flag,
-      Number *                               values_dofs_actual,
-      FEEvaluationData<dim, Number, false> fe_eval,
+      Number                                *values_dofs_actual,
+      FEEvaluationData<dim, Number, false>  &fe_eval,
       const bool                             add_into_values_array,
       std::integral_constant<bool, false>)
   {
@@ -1231,8 +1231,8 @@ namespace internal
                    Number>::
     evaluate_tensor_product_per_component(
       const EvaluationFlags::EvaluationFlags evaluation_flag,
-      Number *                               values_dofs_actual,
-      FEEvaluationData<dim, Number, false> fe_eval,
+      Number                                *values_dofs_actual,
+      FEEvaluationData<dim, Number, false>  &fe_eval,
       const bool                             add_into_values_array,
       std::integral_constant<bool, true>)
   {
@@ -1483,8 +1483,8 @@ namespace internal
       static void
       do_forward(const unsigned int            n_components,
                  const AlignedVector<Number2> &transformation_matrix,
-                 const Number *                values_in,
-                 Number *                      values_out,
+                 const Number                 *values_in,
+                 Number                       *values_out,
                  const unsigned int            basis_size_1_variable =
                    numbers::invalid_unsigned_int,
                  const unsigned int basis_size_2_variable =
@@ -1513,8 +1513,8 @@ namespace internal
                              Number,
                              Number2>
                          eval_val(transformation_matrix,
-                 {},
-                 {},
+                                  {},
+                                  {},
                  basis_size_1_variable,
                  basis_size_2_variable);
       const unsigned int np_1 =
@@ -1606,8 +1606,8 @@ namespace internal
       do_backward(const unsigned int            n_components,
                   const AlignedVector<Number2> &transformation_matrix,
                   const bool                    add_into_result,
-                  Number *                      values_in,
-                  Number *                      values_out,
+                  Number                       *values_in,
+                  Number                       *values_out,
                   const unsigned int            basis_size_1_variable =
                     numbers::invalid_unsigned_int,
                   const unsigned int basis_size_2_variable =
@@ -1755,13 +1755,13 @@ namespace internal
     static void
     do_mass(const unsigned int            n_components,
             const AlignedVector<Number2> &transformation_matrix,
-            const AlignedVector<Number> coefficients,
-            const Number *                values_in,
-            Number *                      scratch_data,
-            Number *                      values_out)
+            const AlignedVector<Number>  &coefficients,
+            const Number                 *values_in,
+            Number                       *scratch_data,
+            Number                       *values_out)
     {
       constexpr int next_dim = dim > 1 ? dim - 1 : dim;
-      Number *      my_scratch =
+      Number       *my_scratch =
         basis_size_1 != basis_size_2 ? scratch_data : values_out;
 
       const unsigned int size_per_component = Utilities::pow(basis_size_2, dim);
@@ -1853,29 +1853,29 @@ namespace internal
     static void
     evaluate(const unsigned int                     n_components,
              const EvaluationFlags::EvaluationFlags evaluation_flag,
-             const Number *                         values_dofs,
-             FEEvaluationData<dim, Number, false> fe_eval);
+             const Number                          *values_dofs,
+             FEEvaluationData<dim, Number, false>  &fe_eval);
 
     static void
     do_evaluate(const MatrixFreeFunctions::UnivariateShapeData<Number2> &shape,
                 const EvaluationFlags::EvaluationFlags evaluation_flag,
-                const Number *                         values_dofs,
-                Number *                               gradients_quad,
-                Number *                               hessians_quad);
+                const Number                          *values_dofs,
+                Number                                *gradients_quad,
+                Number                                *hessians_quad);
 
     static void
     integrate(const unsigned int                     n_components,
               const EvaluationFlags::EvaluationFlags integration_flag,
-              Number *                               values_dofs,
-              FEEvaluationData<dim, Number, false> fe_eval,
+              Number                                *values_dofs,
+              FEEvaluationData<dim, Number, false>  &fe_eval,
               const bool                             add_into_values_array);
 
     static void
     do_integrate(const MatrixFreeFunctions::UnivariateShapeData<Number2> &shape,
                  const EvaluationFlags::EvaluationFlags integration_flag,
-                 Number *                               values_dofs,
-                 Number *                               gradients_quad,
-                 const Number *                         hessians_quad,
+                 Number                                *values_dofs,
+                 Number                                *gradients_quad,
+                 const Number                          *hessians_quad,
                  const bool                             add_into_values_array);
   };
 
@@ -1886,8 +1886,8 @@ namespace internal
   FEEvaluationImplCollocation<dim, fe_degree, Number>::evaluate(
     const unsigned int                     n_components,
     const EvaluationFlags::EvaluationFlags evaluation_flag,
-    const Number *                         values_dofs,
-    FEEvaluationData<dim, Number, false> fe_eval)
+    const Number                          *values_dofs,
+    FEEvaluationData<dim, Number, false>  &fe_eval)
   {
     constexpr std::size_t n_points = Utilities::pow(fe_degree + 1, dim);
 
@@ -1914,9 +1914,9 @@ namespace internal
   FEEvaluationImplCollocation<dim, fe_degree, Number>::do_evaluate(
     const MatrixFreeFunctions::UnivariateShapeData<Number2> &shape,
     const EvaluationFlags::EvaluationFlags                   evaluation_flag,
-    const Number *                                           values_dofs,
-    Number *                                                 gradients_quad,
-    Number *                                                 hessians_quad)
+    const Number                                            *values_dofs,
+    Number                                                  *gradients_quad,
+    Number                                                  *hessians_quad)
   {
     AssertDimension(shape.shape_gradients_collocation_eo.size(),
                     (fe_degree + 2) / 2 * (fe_degree + 1));
@@ -1970,8 +1970,8 @@ namespace internal
   FEEvaluationImplCollocation<dim, fe_degree, Number>::integrate(
     const unsigned int                     n_components,
     const EvaluationFlags::EvaluationFlags integration_flag,
-    Number *                               values_dofs,
-    FEEvaluationData<dim, Number, false> fe_eval,
+    Number                                *values_dofs,
+    FEEvaluationData<dim, Number, false>  &fe_eval,
     const bool                             add_into_values_array)
   {
     constexpr std::size_t n_points = Utilities::pow(fe_degree + 1, dim);
@@ -2008,9 +2008,9 @@ namespace internal
   FEEvaluationImplCollocation<dim, fe_degree, Number>::do_integrate(
     const MatrixFreeFunctions::UnivariateShapeData<Number2> &shape,
     const EvaluationFlags::EvaluationFlags                   integration_flag,
-    Number *                                                 values_dofs,
-    Number *                                                 gradients_quad,
-    const Number *                                           hessians_quad,
+    Number                                                  *values_dofs,
+    Number                                                  *gradients_quad,
+    const Number                                            *hessians_quad,
     const bool add_into_values_array)
   {
     AssertDimension(shape.shape_gradients_collocation_eo.size(),
@@ -2119,14 +2119,14 @@ namespace internal
     static void
     evaluate(const unsigned int                     n_components,
              const EvaluationFlags::EvaluationFlags evaluation_flag,
-             const Number *                         values_dofs,
-             FEEvaluationData<dim, Number, false> fe_eval);
+             const Number                          *values_dofs,
+             FEEvaluationData<dim, Number, false>  &fe_eval);
 
     static void
     integrate(const unsigned int                     n_components,
               const EvaluationFlags::EvaluationFlags evaluation_flag,
-              Number *                               values_dofs,
-              FEEvaluationData<dim, Number, false> fe_eval,
+              Number                                *values_dofs,
+              FEEvaluationData<dim, Number, false>  &fe_eval,
               const bool                             add_into_values_array);
   };
 
@@ -2140,8 +2140,8 @@ namespace internal
     n_q_points_1d,
     Number>::evaluate(const unsigned int                     n_components,
                       const EvaluationFlags::EvaluationFlags evaluation_flag,
-                      const Number *                         values_dofs,
-                      FEEvaluationData<dim, Number, false> fe_eval)
+                      const Number                          *values_dofs,
+                      FEEvaluationData<dim, Number, false>  &fe_eval)
   {
     const auto &shape_data = fe_eval.get_shape_info().data.front();
 
@@ -2189,8 +2189,8 @@ namespace internal
     n_q_points_1d,
     Number>::integrate(const unsigned int                     n_components,
                        const EvaluationFlags::EvaluationFlags integration_flag,
-                       Number *                               values_dofs,
-                       FEEvaluationData<dim, Number, false> fe_eval,
+                       Number                                *values_dofs,
+                       FEEvaluationData<dim, Number, false>  &fe_eval,
                        const bool add_into_values_array)
   {
     const auto &shape_data = fe_eval.get_shape_info().data.front();
@@ -2273,8 +2273,8 @@ namespace internal
     static bool
     run(const unsigned int                     n_components,
         const EvaluationFlags::EvaluationFlags evaluation_flag,
-        OtherNumber *                          values_dofs,
-        FEEvaluationData<dim, Number, false> fe_eval,
+        OtherNumber                           *values_dofs,
+        FEEvaluationData<dim, Number, false>  &fe_eval,
         const bool                             sum_into_values_array = false)
     {
       // `OtherNumber` is either `const Number` (evaluate()) or `Number`
@@ -2408,8 +2408,8 @@ namespace internal
     evaluate_or_integrate(
       const unsigned int                     n_components,
       const EvaluationFlags::EvaluationFlags evaluation_flag,
-      const Number *                         values_dofs,
-      FEEvaluationData<dim, Number, false> fe_eval,
+      const Number                          *values_dofs,
+      FEEvaluationData<dim, Number, false>  &fe_eval,
       const bool                             sum_into_values_array,
       std::integral_constant<bool, false>)
     {
@@ -2423,8 +2423,8 @@ namespace internal
     evaluate_or_integrate(
       const unsigned int                     n_components,
       const EvaluationFlags::EvaluationFlags evaluation_flag,
-      Number *                               values_dofs,
-      FEEvaluationData<dim, Number, false> fe_eval,
+      Number                                *values_dofs,
+      FEEvaluationData<dim, Number, false>  &fe_eval,
       const bool                             sum_into_values_array,
       std::integral_constant<bool, true>)
     {
@@ -2440,8 +2440,8 @@ namespace internal
     evaluate_or_integrate(
       const unsigned int                     n_components,
       const EvaluationFlags::EvaluationFlags evaluation_flag,
-      OtherNumber *                          values_dofs,
-      FEEvaluationData<dim, Number, false> fe_eval,
+      OtherNumber                           *values_dofs,
+      FEEvaluationData<dim, Number, false>  &fe_eval,
       const bool                             sum_into_values_array)
     {
       evaluate_or_integrate<T>(n_components,
@@ -2513,11 +2513,11 @@ namespace internal
       const unsigned int                                       n_components,
       const EvaluationFlags::EvaluationFlags                   evaluation_flag,
       const MatrixFreeFunctions::UnivariateShapeData<Number2> &data,
-      Number *                                                 values_dofs,
-      Number *                                                 values_quad,
-      Number *                                                 gradients_quad,
-      Number *                                                 hessians_quad,
-      Number *                                                 scratch_data,
+      Number                                                  *values_dofs,
+      Number                                                  *values_quad,
+      Number                                                  *gradients_quad,
+      Number                                                  *hessians_quad,
+      Number                                                  *scratch_data,
       const unsigned int                                       subface_index)
     {
       Eval eval0 = create_evaluator_tensor_product(data, subface_index, 0);
@@ -2713,11 +2713,11 @@ namespace internal
       const unsigned int                                       n_components,
       const EvaluationFlags::EvaluationFlags                   integration_flag,
       const MatrixFreeFunctions::UnivariateShapeData<Number2> &data,
-      Number *                                                 values_dofs,
-      Number *                                                 values_quad,
-      Number *                                                 gradients_quad,
-      Number *                                                 hessians_quad,
-      Number *                                                 scratch_data,
+      Number                                                  *values_dofs,
+      Number                                                  *values_quad,
+      Number                                                  *gradients_quad,
+      Number                                                  *hessians_quad,
+      Number                                                  *scratch_data,
       const unsigned int                                       subface_index)
     {
       Eval eval0 = create_evaluator_tensor_product(data, subface_index, 0);
@@ -2979,9 +2979,9 @@ namespace internal
     static void
     evaluate_or_integrate_in_face(
       const EvaluationFlags::EvaluationFlags evaluation_flag,
-      Number *                               values_dofs,
-      FEEvaluationData<dim, Number, true> &  fe_eval,
-      Number *                               scratch_data,
+      Number                                *values_dofs,
+      FEEvaluationData<dim, Number, true>   &fe_eval,
+      Number                                *scratch_data,
       const unsigned int                     subface_index,
       const unsigned int                     face_no)
     {
@@ -3042,9 +3042,9 @@ namespace internal
     template <int normal_dir>
     static inline void
     evaluate_in_face_apply(
-      Number *                               values_dofs,
-      FEEvaluationData<dim, Number, true> &  fe_eval,
-      Number *                               scratch_data,
+      Number                                *values_dofs,
+      FEEvaluationData<dim, Number, true>   &fe_eval,
+      Number                                *scratch_data,
       const EvaluationFlags::EvaluationFlags evaluation_flag,
       const unsigned int                     face_direction,
       const unsigned int                     subface_index,
@@ -3246,9 +3246,9 @@ namespace internal
     template <int normal_dir>
     static inline void
     evaluate_in_face_apply(
-      Number *                               values_dofs,
-      FEEvaluationData<dim, Number, true> &  fe_eval,
-      Number *                               scratch_data,
+      Number                                *values_dofs,
+      FEEvaluationData<dim, Number, true>   &fe_eval,
+      Number                                *scratch_data,
       const EvaluationFlags::EvaluationFlags evaluation_flag,
       const unsigned int                     face_direction,
       const unsigned int                     subface_index,
@@ -3490,8 +3490,8 @@ namespace internal
     interpolate(const unsigned int                             n_components,
                 const EvaluationFlags::EvaluationFlags         flags,
                 const MatrixFreeFunctions::ShapeInfo<Number2> &shape_info,
-                const Number *                                 input,
-                Number *                                       output,
+                const Number                                  *input,
+                Number                                        *output,
                 const unsigned int                             face_no)
     {
       Assert(static_cast<unsigned int>(fe_degree) ==
@@ -3523,8 +3523,8 @@ namespace internal
       const unsigned int                             n_components,
       const EvaluationFlags::EvaluationFlags         flags,
       const MatrixFreeFunctions::ShapeInfo<Number2> &shape_info,
-      const Number *                                 input,
-      Number *                                       output,
+      const Number                                  *input,
+      Number                                        *output,
       const unsigned int                             face_no)
     {
       Assert(static_cast<unsigned int>(fe_degree + 1) ==
@@ -3548,8 +3548,8 @@ namespace internal
     template <bool do_evaluate, bool add_into_output, int face_direction = 0>
     static void
     interpolate_generic(const unsigned int                     n_components,
-                        const Number *                         input,
-                        Number *                               output,
+                        const Number                          *input,
+                        Number                                *output,
                         const EvaluationFlags::EvaluationFlags flag,
                         const unsigned int                     face_no,
                         const unsigned int                     n_points_1d,
@@ -3632,8 +3632,8 @@ namespace internal
     static void
     interpolate_generic_raviart_thomas(
       const unsigned int                             n_components,
-      const Number *                                 input,
-      Number *                                       output,
+      const Number                                  *input,
+      Number                                        *output,
       const EvaluationFlags::EvaluationFlags         flag,
       const unsigned int                             face_no,
       const MatrixFreeFunctions::ShapeInfo<Number2> &shape_info)
@@ -3701,8 +3701,8 @@ namespace internal
     interpolate_generic_raviart_thomas_apply_face(
       const MatrixFreeFunctions::ShapeInfo<Number2> &shape_info,
       const unsigned int                             face_no,
-      const Number *                                 input,
-      Number *                                       output)
+      const Number                                  *input,
+      Number                                        *output)
     {
       // These types are evaluators in either normal or tangential direction
       // depending on the face direction, with different normal directions for
@@ -3849,8 +3849,8 @@ namespace internal
   // internal helper function for reading data; base version of different types
   template <typename VectorizedArrayType, typename Number2>
   void
-  do_vectorized_gather(const Number2 *      src_ptr,
-                       const unsigned int indices,
+  do_vectorized_gather(const Number2       *src_ptr,
+                       const unsigned int  *indices,
                        VectorizedArrayType &dst)
   {
     for (unsigned int v = 0; v < VectorizedArrayType::size(); ++v)
@@ -3863,8 +3863,8 @@ namespace internal
   // can use a dedicated gather function
   template <typename Number, std::size_t width>
   void
-  do_vectorized_gather(const Number *                  src_ptr,
-                       const unsigned int *            indices,
+  do_vectorized_gather(const Number                   *src_ptr,
+                       const unsigned int             *indices,
                        VectorizedArray<Number, width> &dst)
   {
     dst.gather(src_ptr, indices);
@@ -3900,8 +3900,8 @@ namespace internal
   template <typename VectorizedArrayType, typename Number2>
   void
   do_vectorized_scatter_add(const VectorizedArrayType src,
-                            const unsigned int *      indices,
-                            Number2 *                 dst_ptr)
+                            const unsigned int       *indices,
+                            Number2                  *dst_ptr)
   {
     for (unsigned int v = 0; v < VectorizedArrayType::size(); ++v)
       dst_ptr[indices[v]] += src[v];
@@ -3914,8 +3914,8 @@ namespace internal
   template <typename Number, std::size_t width>
   void
   do_vectorized_scatter_add(const VectorizedArray<Number, width> src,
-                            const unsigned int *                 indices,
-                            Number *                             dst_ptr)
+                            const unsigned int                  *indices,
+                            Number                              *dst_ptr)
   {
 #if DEAL_II_VECTORIZATION_WIDTH_IN_BITS < 512
     for (unsigned int v = 0; v < width; ++v)
@@ -3937,10 +3937,10 @@ namespace internal
                               const unsigned int *orientation,
                               const bool          integrate,
                               const std::size_t   n_q_points,
-                              Number *            tmp_values,
-                              Number *            values_quad,
-                              Number *            gradients_quad,
-                              Number *            hessians_quad)
+                              Number             *tmp_values,
+                              Number             *values_quad,
+                              Number             *gradients_quad,
+                              Number             *hessians_quad)
   {
     for (unsigned int c = 0; c < n_components; ++c)
       {
@@ -3999,13 +3999,13 @@ namespace internal
     const unsigned int                     n_components,
     const unsigned int                     v,
     const EvaluationFlags::EvaluationFlags flag,
-    const unsigned int *                   orientation,
+    const unsigned int                    *orientation,
     const bool                             integrate,
     const std::size_t                      n_q_points,
-    Number *                               tmp_values,
-    VectorizedArrayType *                  values_quad,
-    VectorizedArrayType *                  gradients_quad = nullptr,
-    VectorizedArrayType *                  hessians_quad  = nullptr)
+    Number                                *tmp_values,
+    VectorizedArrayType                   *values_quad,
+    VectorizedArrayType                   *gradients_quad = nullptr,
+    VectorizedArrayType                   *hessians_quad  = nullptr)
   {
     for (unsigned int c = 0; c < n_components; ++c)
       {
@@ -4067,8 +4067,8 @@ namespace internal
     static bool
     run(const unsigned int                     n_components,
         const EvaluationFlags::EvaluationFlags evaluation_flag,
-        const Number *                         values_dofs,
-        FEEvaluationData<dim, Number, true> &  fe_eval)
+        const Number                          *values_dofs,
+        FEEvaluationData<dim, Number, true>   &fe_eval)
     {
       const auto &shape_info = fe_eval.get_shape_info();
       const auto &shape_data = shape_info.data.front();
@@ -4111,7 +4111,7 @@ namespace internal
 
           if (evaluation_flag & EvaluationFlags::gradients)
             {
-              auto *      gradients_quad_ptr     = fe_eval.begin_gradients();
+              auto       *gradients_quad_ptr     = fe_eval.begin_gradients();
               const auto *values_dofs_actual_ptr = values_dofs;
 
               std::array<const Number2 *, dim> shape_gradients;
@@ -4306,8 +4306,8 @@ namespace internal
     static bool
     run(const unsigned int                     n_components,
         const EvaluationFlags::EvaluationFlags integration_flag,
-        Number *                               values_dofs,
-        FEEvaluationData<dim, Number, true> &  fe_eval)
+        Number                                *values_dofs,
+        FEEvaluationData<dim, Number, true>   &fe_eval)
     {
       const auto &shape_info = fe_eval.get_shape_info();
       const auto &shape_data = shape_info.data.front();
@@ -4545,13 +4545,13 @@ namespace internal
             const bool check_face_orientations = false>
   void
   fe_face_evaluation_process_and_io(
-    Processor &                            proc,
+    Processor                             &proc,
     const unsigned int                     n_components,
     const EvaluationFlags::EvaluationFlags evaluation_flag,
-    typename Processor::Number2_ *         global_vector_ptr,
+    typename Processor::Number2_          *global_vector_ptr,
     const std::vector<ArrayView<const typename Processor::Number2_>> *sm_ptr,
-    const EvaluationData &                                            fe_eval,
-    typename Processor::VectorizedArrayType_ *                        temp1)
+    const EvaluationData                                             &fe_eval,
+    typename Processor::VectorizedArrayType_                         *temp1)
   {
     constexpr int dim         = Processor::dim_;
     constexpr int fe_degree   = Processor::fe_degree_;
@@ -4561,10 +4561,10 @@ namespace internal
     using Number   = typename Processor::Number_;
     using Number2_ = typename Processor::Number2_;
 
-    const auto &       shape_data = fe_eval.get_shape_info().data.front();
+    const auto        &shape_data = fe_eval.get_shape_info().data.front();
     constexpr bool     integrate  = Processor::do_integrate;
     const unsigned int face_no    = fe_eval.get_face_no();
-    const auto &       dof_info   = fe_eval.get_dof_info();
+    const auto        &dof_info   = fe_eval.get_dof_info();
     const unsigned int cell       = fe_eval.get_cell_or_face_batch_id();
     const MatrixFreeFunctions::DoFInfo::DoFAccessIndex dof_access_index =
       fe_eval.get_dof_access_index();
@@ -5119,8 +5119,8 @@ namespace internal
     static bool
     run(const unsigned int                                n_components,
         const EvaluationFlags::EvaluationFlags            evaluation_flag,
-        const Number2 *                                   src_ptr,
-        const std::vector<ArrayView<const Number2>> *     sm_ptr,
+        const Number2                                    *src_ptr,
+        const std::vector<ArrayView<const Number2>>      *sm_ptr,
         FEEvaluationData<dim, VectorizedArrayType, true> &fe_eval)
     {
       Assert(fe_degree > -1, ExcInternalError());
@@ -5231,8 +5231,8 @@ namespace internal
     template <typename Number3>
     static bool
     supports(const EvaluationFlags::EvaluationFlags             evaluation_flag,
-             const MatrixFreeFunctions::ShapeInfo<Number3> &    shape_info,
-             const Number2 *                                    vector_ptr,
+             const MatrixFreeFunctions::ShapeInfo<Number3>     &shape_info,
+             const Number2                                     *vector_ptr,
              MatrixFreeFunctions::DoFInfo::IndexStorageVariants storage)
     {
       const unsigned int fe_degree = shape_info.data.front().fe_degree;
@@ -5265,8 +5265,8 @@ namespace internal
 
       template <typename T0, typename T1, typename T2>
       void
-      hermite_grad_vectorized(T0 &      temp_1,
-                              T0 &      temp_2,
+      hermite_grad_vectorized(T0       &temp_1,
+                              T0       &temp_2,
                               const T1  src_ptr_1,
                               const T1  src_ptr_2,
                               const T2 &grad_weight)
@@ -5285,8 +5285,8 @@ namespace internal
 
       template <typename T0, typename T1, typename T2, typename T3>
       void
-      hermite_grad_vectorized_indexed(T0 &      temp_1,
-                                      T0 &      temp_2,
+      hermite_grad_vectorized_indexed(T0       &temp_1,
+                                      T0       &temp_2,
                                       const T1  src_ptr_1,
                                       const T1  src_ptr_2,
                                       const T2 &grad_weight,
@@ -5307,8 +5307,8 @@ namespace internal
 
       template <typename T0, typename T1, typename T2>
       void
-      hermite_grad(T0 &      temp_1,
-                   T0 &      temp_2,
+      hermite_grad(T0       &temp_1,
+                   T0       &temp_2,
                    const T1 &src_ptr_1,
                    const T1 &src_ptr_2,
                    const T2 &grad_weight)
@@ -5339,8 +5339,8 @@ namespace internal
     static bool
     run(const unsigned int                                n_components,
         const EvaluationFlags::EvaluationFlags            integration_flag,
-        Number2 *                                         dst_ptr,
-        const std::vector<ArrayView<const Number2>> *     sm_ptr,
+        Number2                                          *dst_ptr,
+        const std::vector<ArrayView<const Number2>>      *sm_ptr,
         FEEvaluationData<dim, VectorizedArrayType, true> &fe_eval)
     {
       Assert(fe_degree > -1, ExcInternalError());
@@ -5509,8 +5509,8 @@ namespace internal
       void
       hermite_grad(const T0 &temp_1,
                    const T0 &temp_2,
-                   T1 &      dst_ptr_1,
-                   T1 &      dst_ptr_2,
+                   T1       &dst_ptr_1,
+                   T1       &dst_ptr_2,
                    const T2 &grad_weight)
       {
         // case 3a)
@@ -5546,8 +5546,8 @@ namespace internal
     static bool
     run(const unsigned int                          n_components,
         const FEEvaluationData<dim, Number, false> &fe_eval,
-        const Number *                              in_array,
-        Number *                                    out_array)
+        const Number                               *in_array,
+        Number                                     *out_array)
     {
       const unsigned int given_degree =
         (fe_degree > -1) ? fe_degree :
@@ -5576,7 +5576,7 @@ namespace internal
       for (unsigned int d = 0; d < n_components; ++d)
         {
           const Number *in  = in_array + d * dofs_per_component;
-          Number *      out = out_array + d * dofs_per_component;
+          Number       *out = out_array + d * dofs_per_component;
           // Need to select 'apply' method with hessian slot because values
           // assume symmetries that do not exist in the inverse shapes
           evaluator.template hessians<0, true, false>(in, out);
@@ -5622,10 +5622,10 @@ namespace internal
     static bool
     run(const unsigned int                          n_desired_components,
         const FEEvaluationData<dim, Number, false> &fe_eval,
-        const ArrayView<const Number> &             inverse_coefficients,
+        const ArrayView<const Number>              &inverse_coefficients,
         const bool                                  dyadic_coefficients,
-        const Number *                              in_array,
-        Number *                                    out_array)
+        const Number                               *in_array,
+        Number                                     *out_array)
     {
       const unsigned int given_degree =
         (fe_degree > -1) ? fe_degree :
@@ -5670,7 +5670,7 @@ namespace internal
                   given_degree + 1);
 
       const Number *in  = in_array;
-      Number *      out = out_array;
+      Number       *out = out_array;
 
       const Number *inv_coefficient = inverse_coefficients.data();
 
@@ -5686,7 +5686,7 @@ namespace internal
           for (unsigned int di = 0; di < n_comp_inner; ++di)
             {
               const Number *in_  = in + di * dofs_per_component;
-              Number *      out_ = out + di * dofs_per_component;
+              Number       *out_ = out + di * dofs_per_component;
               evaluator.template hessians<0, true, false>(in_, out_);
               if (dim > 1)
                 evaluator.template hessians<1, true, false>(out_, out_);
@@ -5740,9 +5740,9 @@ namespace internal
   private:
     template <int n_components>
     static inline void
-    vmult(const Number *     inverse_coefficients,
-          const Number *     src,
-          Number *           dst,
+    vmult(const Number      *inverse_coefficients,
+          const Number      *src,
+          Number            *dst,
           const unsigned int dofs_per_component,
           const unsigned int n_given_components = 0)
     {
@@ -5784,8 +5784,8 @@ namespace internal
     static bool
     run(const unsigned int                          n_desired_components,
         const FEEvaluationData<dim, Number, false> &fe_eval,
-        const Number *                              in_array,
-        Number *                                    out_array)
+        const Number                               *in_array,
+        Number                                     *out_array)
     {
       static const bool do_inplace =
         fe_degree > -1 && (fe_degree + 1 == n_q_points_1d);
@@ -5823,7 +5823,7 @@ namespace internal
       for (unsigned int d = 0; d < n_desired_components; ++d)
         {
           const Number *in  = in_array + d * n_q_points;
-          Number *      out = out_array + d * dofs_per_component;
+          Number       *out = out_array + d * dofs_per_component;
 
           auto *temp_1 = do_inplace ? out : fe_eval.get_scratch_data().begin();
           auto *temp_2 = do_inplace ?
index 4d0d6c679b4620edd5b2f7d57569b47485adb77f..58bc4e2497dba0ff0aed39f6aca9951f1f7d9986 100644 (file)
@@ -185,8 +185,8 @@ namespace internal
       const unsigned int                            n_components,
       const MatrixFreeFunctions::ShapeInfo<Number> &shape_info,
       const std::array<MatrixFreeFunctions::compressed_constraint_kind,
-                       Number::size()> &            constraint_mask,
-      Number *                                      values)
+                       Number::size()>             &constraint_mask,
+      Number                                       *values)
     {
       const unsigned int given_degree =
         fe_degree != -1 ? fe_degree : shape_info.data.front().fe_degree;
@@ -524,9 +524,9 @@ namespace internal
     }
 
     static inline DEAL_II_ALWAYS_INLINE_RELEASE void
-    set_value(T1 &                           result,
+    set_value(T1                            &result,
               const typename T1::value_type &value,
-              const index_type &             i)
+              const index_type              &i)
     {
       result[i] = value;
     }
@@ -757,16 +757,16 @@ namespace internal
   public:
     inline DEAL_II_ALWAYS_INLINE_RELEASE
     HelperBase(
-      const T &                                                    t,
-      const unsigned int &                                         given_degree,
-      const bool &                                                 type_x,
-      const bool &                                                 type_y,
-      const bool &                                                 type_z,
+      const T                                                     &t,
+      const unsigned int                                          &given_degree,
+      const bool                                                  &type_x,
+      const bool                                                  &type_y,
+      const bool                                                  &type_z,
       const typename Trait<Number, VectorizationType>::index_type &v,
       const std::array<
         AlignedVector<
           typename Trait<Number, VectorizationType>::interpolation_type>,
-        2> &  interpolation_matrices,
+        2>   &interpolation_matrices,
       Number *values)
       : t(t)
       , given_degree(given_degree)
@@ -1088,16 +1088,16 @@ namespace internal
     }
 
   private:
-    const T &                                                    t;
-    const unsigned int &                                         given_degree;
-    const bool &                                                 type_x;
-    const bool &                                                 type_y;
-    const bool &                                                 type_z;
+    const T                                                     &t;
+    const unsigned int                                          &given_degree;
+    const bool                                                  &type_x;
+    const bool                                                  &type_y;
+    const bool                                                  &type_z;
     const typename Trait<Number, VectorizationType>::index_type &v;
     const std::array<
       AlignedVector<
         typename Trait<Number, VectorizationType>::interpolation_type>,
-      2> &  interpolation_matrices;
+      2>   &interpolation_matrices;
     Number *values;
   };
 
@@ -1146,14 +1146,14 @@ namespace internal
   public:
     inline DEAL_II_ALWAYS_INLINE_RELEASE
     Helper(const unsigned int &given_degree,
-           const bool &        type_x,
-           const bool &        type_y,
-           const bool &        type_z,
+           const bool         &type_x,
+           const bool         &type_y,
+           const bool         &type_z,
            const typename Trait<Number, VectorizationType>::index_type &v,
            const std::array<
              AlignedVector<
                typename Trait<Number, VectorizationType>::interpolation_type>,
-             2> &  interpolation_matrices,
+             2>   &interpolation_matrices,
            Number *values)
       : HelperBase<Helper<HelperType::dynamic,
                           Number,
@@ -1249,8 +1249,8 @@ namespace internal
            {{0, points *points - points, 0, points *points - points}}}}}},
        {{{{{{points * points * points - points * points,
              points *points *points - points *points + points - 1,
-             points *                         points - points,
-             points *                         points - 1}},
+             points                          *points - points,
+             points                          *points - 1}},
            {{0, points - 1, points *points - points, points *points - 1}}}},
          {{{{points * points * points - points * points,
              points *points *points - points *points + points - 1,
@@ -1261,13 +1261,13 @@ namespace internal
     const dealii::ndarray<unsigned int, 3, 2, 2, 3> lines_array = {
       {{{{{{{points * points - points,
              points *points *points - points *points,
-             points *points *points - points}},
+             points *points                  *points - points}},
            {{0, points *points - points, points *points *points - points}}}},
          {{{{0,
              points *points *points - points *points,
-             points *points *points - points}},
+             points *points                  *points - points}},
            {{0,
-             points *points - points,
+             points         *points - points,
              points *points *points - points *points}}}}}},
        {{{{{{points - 1,
              points *points *points - points *points,
@@ -1306,14 +1306,14 @@ namespace internal
   public:
     inline DEAL_II_ALWAYS_INLINE_RELEASE
     Helper(const unsigned int &given_degree,
-           const bool &        type_x,
-           const bool &        type_y,
-           const bool &        type_z,
+           const bool         &type_x,
+           const bool         &type_y,
+           const bool         &type_z,
            const typename Trait<Number, VectorizationType>::index_type &v,
            const std::array<
              AlignedVector<
                typename Trait<Number, VectorizationType>::interpolation_type>,
-             2> &  interpolation_matrices,
+             2>   &interpolation_matrices,
            Number *values)
       : HelperBase<Helper<HelperType::constant,
                           Number,
@@ -1531,8 +1531,8 @@ namespace internal
       const unsigned int                            n_desired_components,
       const MatrixFreeFunctions::ShapeInfo<Number> &shape_info,
       const std::array<MatrixFreeFunctions::compressed_constraint_kind,
-                       Number::size()> &            constraint_mask,
-      Number *                                      values)
+                       Number::size()>             &constraint_mask,
+      Number                                       *values)
     {
       const unsigned int given_degree =
         fe_degree != -1 ? fe_degree : shape_info.data.front().fe_degree;
@@ -1710,8 +1710,8 @@ namespace internal
         const MatrixFreeFunctions::ShapeInfo<Number> &shape_info,
         const bool                                    transpose,
         const std::array<MatrixFreeFunctions::compressed_constraint_kind,
-                         Number::size()> &            c_mask,
-        Number *                                      values)
+                         Number::size()>             &c_mask,
+        Number                                       *values)
     {
       using RunnerType =
         FEEvaluationImplHangingNodesRunner<used_runner_type<fe_degree>(),
index 2e51ef6e6a974c2dfb37c6674afaff8e1d85322c..4cc5cec620c9d0de1be35128869eb41e0eb1d307 100644 (file)
@@ -45,8 +45,8 @@ struct SelectEvaluator
   static void
   evaluate(const unsigned int                     n_components,
            const EvaluationFlags::EvaluationFlags evaluation_flag,
-           const Number *                         values_dofs,
-           FEEvaluationData<dim, Number, false> eval);
+           const Number                          *values_dofs,
+           FEEvaluationData<dim, Number, false>  &eval);
 
   /**
    * Chooses an appropriate evaluation strategy for the integrate function, i.e.
@@ -58,8 +58,8 @@ struct SelectEvaluator
   static void
   integrate(const unsigned int                     n_components,
             const EvaluationFlags::EvaluationFlags integration_flag,
-            Number *                               values_dofs,
-            FEEvaluationData<dim, Number, false> eval,
+            Number                                *values_dofs,
+            FEEvaluationData<dim, Number, false>  &eval,
             const bool sum_into_values_array = false);
 };
 
@@ -71,8 +71,8 @@ inline void
 SelectEvaluator<dim, fe_degree, n_q_points_1d, Number>::evaluate(
   const unsigned int                     n_components,
   const EvaluationFlags::EvaluationFlags evaluation_flag,
-  const Number *                         values_dofs,
-  FEEvaluationData<dim, Number, false> eval)
+  const Number                          *values_dofs,
+  FEEvaluationData<dim, Number, false>  &eval)
 {
   Assert(fe_degree >= 0 && n_q_points_1d > 0, ExcInternalError());
 
@@ -88,8 +88,8 @@ inline void
 SelectEvaluator<dim, fe_degree, n_q_points_1d, Number>::integrate(
   const unsigned int                     n_components,
   const EvaluationFlags::EvaluationFlags integration_flag,
-  Number *                               values_dofs,
-  FEEvaluationData<dim, Number, false> eval,
+  Number                                *values_dofs,
+  FEEvaluationData<dim, Number, false>  &eval,
   const bool                             sum_into_values_array)
 {
   Assert(fe_degree >= 0 && n_q_points_1d > 0, ExcInternalError());
index e9c541136b4ae673ba25c13e144df64406549cca..a429df620887e3bc51f4dbd087900c46426473d9 100644 (file)
@@ -34,8 +34,8 @@ namespace internal
   FEFaceEvaluationFactory<dim, Number>::evaluate(
     const unsigned int                     n_components,
     const EvaluationFlags::EvaluationFlags evaluation_flag,
-    const Number *                         values_dofs,
-    FEEvaluationData<dim, Number, true> &  fe_eval)
+    const Number                          *values_dofs,
+    FEEvaluationData<dim, Number, true>   &fe_eval)
   {
     instantiation_helper_run<1,
                              FEFaceEvaluationImplEvaluateSelector<dim, Number>>(
@@ -54,8 +54,8 @@ namespace internal
   FEFaceEvaluationFactory<dim, Number>::integrate(
     const unsigned int                     n_components,
     const EvaluationFlags::EvaluationFlags integration_flag,
-    Number *                               values_dofs,
-    FEEvaluationData<dim, Number, true> &  fe_eval)
+    Number                                *values_dofs,
+    FEEvaluationData<dim, Number, true>   &fe_eval)
   {
     instantiation_helper_run<
       1,
@@ -75,8 +75,8 @@ namespace internal
   FEFaceEvaluationGatherFactory<dim, Number, VectorizedArrayType>::evaluate(
     const unsigned int                                n_components,
     const EvaluationFlags::EvaluationFlags            evaluation_flag,
-    const Number *                                    src_ptr,
-    const std::vector<ArrayView<const Number>> *      sm_ptr,
+    const Number                                     *src_ptr,
+    const std::vector<ArrayView<const Number>>       *sm_ptr,
     FEEvaluationData<dim, VectorizedArrayType, true> &fe_eval)
   {
     instantiation_helper_run<
@@ -100,8 +100,8 @@ namespace internal
   FEFaceEvaluationGatherFactory<dim, Number, VectorizedArrayType>::integrate(
     const unsigned int                                n_components,
     const EvaluationFlags::EvaluationFlags            integration_flag,
-    Number *                                          dst_ptr,
-    const std::vector<ArrayView<const Number>> *      sm_ptr,
+    Number                                           *dst_ptr,
+    const std::vector<ArrayView<const Number>>       *sm_ptr,
     FEEvaluationData<dim, VectorizedArrayType, true> &fe_eval)
   {
     instantiation_helper_run<
index 226d60e11b6973cdd6267d3f55a0c95e39af17b1..9e04bc977a21b24802c8ea2e3ba6ae64e15288ed 100644 (file)
@@ -40,14 +40,14 @@ namespace internal
     static void
     evaluate(const unsigned int                     n_components,
              const EvaluationFlags::EvaluationFlags evaluation_flag,
-             const Number *                         values_dofs,
-             FEEvaluationData<dim, Number, false> fe_eval);
+             const Number                          *values_dofs,
+             FEEvaluationData<dim, Number, false>  &fe_eval);
 
     static void
     integrate(const unsigned int                     n_components,
               const EvaluationFlags::EvaluationFlags integration_flag,
-              Number *                               values_dofs,
-              FEEvaluationData<dim, Number, false> fe_eval,
+              Number                                *values_dofs,
+              FEEvaluationData<dim, Number, false>  &fe_eval,
               const bool                             sum_into_values_array);
 
     static bool
@@ -63,14 +63,14 @@ namespace internal
     static void
     evaluate(const unsigned int                     n_components,
              const EvaluationFlags::EvaluationFlags evaluation_flag,
-             const Number *                         values_dofs,
-             FEEvaluationData<dim, Number, true> &  fe_eval);
+             const Number                          *values_dofs,
+             FEEvaluationData<dim, Number, true>   &fe_eval);
 
     static void
     integrate(const unsigned int                     n_components,
               const EvaluationFlags::EvaluationFlags integration_flag,
-              Number *                               values_dofs,
-              FEEvaluationData<dim, Number, true> &  fe_eval);
+              Number                                *values_dofs,
+              FEEvaluationData<dim, Number, true>   &fe_eval);
 
     static bool
     fast_evaluation_supported(const unsigned int given_degree,
@@ -85,14 +85,14 @@ namespace internal
     static void
     evaluate(const unsigned int                                n_components,
              const EvaluationFlags::EvaluationFlags            evaluation_flag,
-             const Number *                                    src_ptr,
-             const std::vector<ArrayView<const Number>> *      sm_ptr,
+             const Number                                     *src_ptr,
+             const std::vector<ArrayView<const Number>>       *sm_ptr,
              FEEvaluationData<dim, VectorizedArrayType, true> &fe_eval);
 
     static void
     integrate(const unsigned int                          n_components,
               const EvaluationFlags::EvaluationFlags      integration_flag,
-              Number *                                    dst_ptr,
+              Number                                     *dst_ptr,
               const std::vector<ArrayView<const Number>> *sm_ptr,
               FEEvaluationData<dim, VectorizedArrayType, true> &fe_eval);
   };
@@ -105,23 +105,23 @@ namespace internal
     static void
     apply(const unsigned int                          n_components,
           const FEEvaluationData<dim, Number, false> &fe_eval,
-          const Number *                              in_array,
-          Number *                                    out_array);
+          const Number                               *in_array,
+          Number                                     *out_array);
 
     static void
     apply(const unsigned int                          n_components,
           const FEEvaluationData<dim, Number, false> &fe_eval,
-          const ArrayView<const Number> &             inverse_coefficients,
+          const ArrayView<const Number>              &inverse_coefficients,
           const bool                                  dyadic_coefficients,
-          const Number *                              in_array,
-          Number *                                    out_array);
+          const Number                               *in_array,
+          Number                                     *out_array);
 
     static void
     transform_from_q_points_to_basis(
       const unsigned int                          n_components,
       const FEEvaluationData<dim, Number, false> &fe_eval,
-      const Number *                              in_array,
-      Number *                                    out_array);
+      const Number                               *in_array,
+      Number                                     *out_array);
   };
 
   template <int dim,
@@ -135,8 +135,8 @@ namespace internal
           const MatrixFreeFunctions::ShapeInfo<VectorizedArrayType> &shape_info,
           const bool                                                 transpose,
           const std::array<MatrixFreeFunctions::compressed_constraint_kind,
-                           VectorizedArrayType::size()> &            c_mask,
-          VectorizedArrayType *                                      values);
+                           VectorizedArrayType::size()>             &c_mask,
+          VectorizedArrayType                                       *values);
   };
 
 } // end of namespace internal
index 2264dc656dc08d4a533f155767e35da49caff1f4..568393ee3dc63d9035fd409039f05d01773a1c97 100644 (file)
@@ -34,8 +34,8 @@ namespace internal
   FEEvaluationFactory<dim, Number>::evaluate(
     const unsigned int                     n_components,
     const EvaluationFlags::EvaluationFlags evaluation_flag,
-    const Number *                         values_dofs,
-    FEEvaluationData<dim, Number, false> fe_eval)
+    const Number                          *values_dofs,
+    FEEvaluationData<dim, Number, false>  &fe_eval)
   {
     instantiation_helper_run<1, FEEvaluationImplSelector<dim, Number, false>>(
       fe_eval.get_shape_info().data[0].fe_degree,
@@ -53,8 +53,8 @@ namespace internal
   FEEvaluationFactory<dim, Number>::integrate(
     const unsigned int                     n_components,
     const EvaluationFlags::EvaluationFlags integration_flag,
-    Number *                               values_dofs,
-    FEEvaluationData<dim, Number, false> fe_eval,
+    Number                                *values_dofs,
+    FEEvaluationData<dim, Number, false>  &fe_eval,
     const bool                             sum_into_values_array)
   {
     instantiation_helper_run<1, FEEvaluationImplSelector<dim, Number, true>>(
@@ -90,8 +90,8 @@ namespace internal
   CellwiseInverseMassFactory<dim, Number>::apply(
     const unsigned int                          n_components,
     const FEEvaluationData<dim, Number, false> &fe_eval,
-    const Number *                              in_array,
-    Number *                                    out_array)
+    const Number                               *in_array,
+    Number                                     *out_array)
   {
     const unsigned int fe_degree = fe_eval.get_shape_info().data[0].fe_degree;
     instantiation_helper_run<1,
@@ -106,10 +106,10 @@ namespace internal
   CellwiseInverseMassFactory<dim, Number>::apply(
     const unsigned int                          n_components,
     const FEEvaluationData<dim, Number, false> &fe_eval,
-    const ArrayView<const Number> &             inverse_coefficients,
+    const ArrayView<const Number>              &inverse_coefficients,
     const bool                                  dyadic_coefficients,
-    const Number *                              in_array,
-    Number *                                    out_array)
+    const Number                               *in_array,
+    Number                                     *out_array)
   {
     const unsigned int fe_degree = fe_eval.get_shape_info().data[0].fe_degree;
     instantiation_helper_run<
@@ -131,8 +131,8 @@ namespace internal
   CellwiseInverseMassFactory<dim, Number>::transform_from_q_points_to_basis(
     const unsigned int                          n_components,
     const FEEvaluationData<dim, Number, false> &fe_eval,
-    const Number *                              in_array,
-    Number *                                    out_array)
+    const Number                               *in_array,
+    Number                                     *out_array)
   {
     const unsigned int fe_degree = fe_eval.get_shape_info().data[0].fe_degree;
     const unsigned int n_q_points_1d =
index 509886db34dac045c50c0eb368cc25e023dc18e2..aff84563c7c35e9b9c0c12b086308d8ae3955931 100644 (file)
@@ -37,8 +37,8 @@ namespace internal
     const MatrixFreeFunctions::ShapeInfo<VectorizedArrayType> &shape_info,
     const bool                                                 transpose,
     const std::array<MatrixFreeFunctions::compressed_constraint_kind,
-                     VectorizedArrayType::size()> &            c_mask,
-    VectorizedArrayType *                                      values)
+                     VectorizedArrayType::size()>             &c_mask,
+    VectorizedArrayType                                       *values)
   {
     instantiation_helper_degree_run<
       1,
index a78f45ddbcaf290f3fc9de7fee5ce46dffa94b9a..cba423e69f9c5d3050053fa4735b8b06308045b9 100644 (file)
@@ -93,9 +93,9 @@ namespace internal
        */
       void
       generate_faces(
-        const dealii::Triangulation<dim> &                        triangulation,
+        const dealii::Triangulation<dim>                         &triangulation,
         const std::vector<std::pair<unsigned int, unsigned int>> &cell_levels,
-        TaskInfo &                                                task_info);
+        TaskInfo                                                 &task_info);
 
       /**
        * Fills the information about the cell, the face number, and numbers
@@ -144,8 +144,8 @@ namespace internal
     void
     collect_faces_vectorization(
       const std::vector<FaceToCellTopology<1>> &faces_in,
-      const std::vector<bool> &                 hard_vectorization_boundary,
-      std::vector<unsigned int> &               face_partition_data,
+      const std::vector<bool>                  &hard_vectorization_boundary,
+      std::vector<unsigned int>                &face_partition_data,
       std::vector<FaceToCellTopology<vectorization_width>> &faces_out);
 
 
@@ -735,9 +735,9 @@ namespace internal
     template <int dim>
     void
     FaceSetup<dim>::generate_faces(
-      const dealii::Triangulation<dim> &                        triangulation,
+      const dealii::Triangulation<dim>                         &triangulation,
       const std::vector<std::pair<unsigned int, unsigned int>> &cell_levels,
-      TaskInfo &                                                task_info)
+      TaskInfo                                                 &task_info)
     {
       const bool is_mixed_mesh = triangulation.is_mixed_mesh();
 
@@ -1068,8 +1068,8 @@ namespace internal
      */
     inline bool
     compare_faces_for_vectorization(
-      const FaceToCellTopology<1> &    face1,
-      const FaceToCellTopology<1> &    face2,
+      const FaceToCellTopology<1>     &face1,
+      const FaceToCellTopology<1>     &face2,
       const std::vector<unsigned int> &active_fe_indices,
       const unsigned int               length)
     {
@@ -1185,10 +1185,10 @@ namespace internal
     void
     collect_faces_vectorization(
       const std::vector<FaceToCellTopology<1>> &faces_in,
-      const std::vector<bool> &                 hard_vectorization_boundary,
-      std::vector<unsigned int> &               face_partition_data,
+      const std::vector<bool>                  &hard_vectorization_boundary,
+      std::vector<unsigned int>                &face_partition_data,
       std::vector<FaceToCellTopology<vectorization_width>> &faces_out,
-      const std::vector<unsigned int> &                     active_fe_indices)
+      const std::vector<unsigned int>                      &active_fe_indices)
     {
       FaceToCellTopology<vectorization_width> face_batch;
       std::vector<std::vector<unsigned int>>  faces_type;
index 225c777f66ab9ea5cf4aad72e6b11d349c77c0df..d6381d957a456126a2b73768cc1ce9c8014c07e3 100644 (file)
@@ -144,7 +144,7 @@ public:
   template <typename VectorType>
   void
   read_dof_values(
-    const VectorType &          src,
+    const VectorType           &src,
     const unsigned int          first_index = 0,
     const std::bitset<n_lanes> &mask        = std::bitset<n_lanes>().flip());
 
@@ -179,7 +179,7 @@ public:
   template <typename VectorType>
   void
   read_dof_values_plain(
-    const VectorType &          src,
+    const VectorType           &src,
     const unsigned int          first_index = 0,
     const std::bitset<n_lanes> &mask        = std::bitset<n_lanes>().flip());
 
@@ -217,7 +217,7 @@ public:
   template <typename VectorType>
   void
   distribute_local_to_global(
-    VectorType &                dst,
+    VectorType                 &dst,
     const unsigned int          first_index = 0,
     const std::bitset<n_lanes> &mask = std::bitset<n_lanes>().flip()) const;
 
@@ -262,7 +262,7 @@ public:
   template <typename VectorType>
   void
   set_dof_values(
-    VectorType &                dst,
+    VectorType                 &dst,
     const unsigned int          first_index = 0,
     const std::bitset<n_lanes> &mask = std::bitset<n_lanes>().flip()) const;
 
@@ -272,7 +272,7 @@ public:
   template <typename VectorType>
   void
   set_dof_values_plain(
-    VectorType &                dst,
+    VectorType                 &dst,
     const unsigned int          first_index = 0,
     const std::bitset<n_lanes> &mask = std::bitset<n_lanes>().flip()) const;
 
@@ -643,9 +643,9 @@ protected:
    * conditions.
    */
   FEEvaluationBase(
-    const Mapping<dim> &      mapping,
+    const Mapping<dim>       &mapping,
     const FiniteElement<dim> &fe,
-    const Quadrature<1> &     quadrature,
+    const Quadrature<1>      &quadrature,
     const UpdateFlags         update_flags,
     const unsigned int        first_selected_component,
     const FEEvaluationData<dim, VectorizedArrayType, is_face> *other);
@@ -681,11 +681,11 @@ protected:
   template <typename VectorType, typename VectorOperation>
   void
   read_write_operation(
-    const VectorOperation &                        operation,
+    const VectorOperation                         &operation,
     const std::array<VectorType *, n_components_> &vectors,
     const std::array<
       const std::vector<ArrayView<const typename VectorType::value_type>> *,
-      n_components_> &          vectors_sm,
+      n_components_>           &vectors_sm,
     const std::bitset<n_lanes> &mask,
     const bool                  apply_constraints = true) const;
 
@@ -699,11 +699,11 @@ protected:
   template <typename VectorType, typename VectorOperation>
   void
   read_write_operation_contiguous(
-    const VectorOperation &                        operation,
+    const VectorOperation                         &operation,
     const std::array<VectorType *, n_components_> &vectors,
     const std::array<
       const std::vector<ArrayView<const typename VectorType::value_type>> *,
-      n_components_> &          vectors_sm,
+      n_components_>           &vectors_sm,
     const std::bitset<n_lanes> &mask) const;
 
   /**
@@ -716,7 +716,7 @@ protected:
   template <typename VectorType, typename VectorOperation>
   void
   read_write_operation_global(
-    const VectorOperation &                        operation,
+    const VectorOperation                         &operation,
     const std::array<VectorType *, n_components_> &vectors) const;
 
   /**
@@ -801,9 +801,9 @@ protected:
    * as FEValues, including matrix assembly.
    */
   FEEvaluationAccess(
-    const Mapping<dim> &      mapping,
+    const Mapping<dim>       &mapping,
     const FiniteElement<dim> &fe,
-    const Quadrature<1> &     quadrature,
+    const Quadrature<1>      &quadrature,
     const UpdateFlags         update_flags,
     const unsigned int        first_selected_component,
     const FEEvaluationData<dim, VectorizedArrayType, is_face> *other);
@@ -958,9 +958,9 @@ protected:
    * as FEValues, including matrix assembly.
    */
   FEEvaluationAccess(
-    const Mapping<dim> &      mapping,
+    const Mapping<dim>       &mapping,
     const FiniteElement<dim> &fe,
-    const Quadrature<1> &     quadrature,
+    const Quadrature<1>      &quadrature,
     const UpdateFlags         update_flags,
     const unsigned int        first_selected_component,
     const FEEvaluationData<dim, VectorizedArrayType, is_face> *other);
@@ -1136,9 +1136,9 @@ protected:
    * as FEValues, including matrix assembly.
    */
   FEEvaluationAccess(
-    const Mapping<dim> &      mapping,
+    const Mapping<dim>       &mapping,
     const FiniteElement<dim> &fe,
-    const Quadrature<1> &     quadrature,
+    const Quadrature<1>      &quadrature,
     const UpdateFlags         update_flags,
     const unsigned int        first_selected_component,
     const FEEvaluationData<dim, VectorizedArrayType, is_face> *other);
@@ -1317,9 +1317,9 @@ protected:
    * as FEValues, including matrix assembly.
    */
   FEEvaluationAccess(
-    const Mapping<1> &      mapping,
+    const Mapping<1>       &mapping,
     const FiniteElement<1> &fe,
-    const Quadrature<1> &   quadrature,
+    const Quadrature<1>    &quadrature,
     const UpdateFlags       update_flags,
     const unsigned int      first_selected_component,
     const FEEvaluationData<1, VectorizedArrayType, is_face> *other);
@@ -2056,7 +2056,7 @@ public:
    * The rest of the arguments are the same as in the constructor above.
    */
   FEEvaluation(const MatrixFree<dim, Number, VectorizedArrayType> &matrix_free,
-               const std::pair<unsigned int, unsigned int> &       range,
+               const std::pair<unsigned int, unsigned int>        &range,
                const unsigned int                                  dof_no  = 0,
                const unsigned int                                  quad_no = 0,
                const unsigned int first_selected_component                 = 0);
@@ -2089,9 +2089,9 @@ public:
    * possibly within the element if the evaluate/integrate routines are
    * combined inside user code (e.g. for computing cell matrices).
    */
-  FEEvaluation(const Mapping<dim> &      mapping,
+  FEEvaluation(const Mapping<dim>       &mapping,
                const FiniteElement<dim> &fe,
-               const Quadrature<1> &     quadrature,
+               const Quadrature<1>      &quadrature,
                const UpdateFlags         update_flags,
                const unsigned int        first_selected_component = 0);
 
@@ -2101,7 +2101,7 @@ public:
    * (i.e., an object of type MappingQ(1)) implicitly.
    */
   FEEvaluation(const FiniteElement<dim> &fe,
-               const Quadrature<1> &     quadrature,
+               const Quadrature<1>      &quadrature,
                const UpdateFlags         update_flags,
                const unsigned int        first_selected_component = 0);
 
@@ -2115,7 +2115,7 @@ public:
    * use the FEEvaluation object in %parallel to the given one because
    * otherwise the intended sharing may create race conditions.
    */
-  FEEvaluation(const FiniteElement<dim> &                               fe,
+  FEEvaluation(const FiniteElement<dim>                                &fe,
                const FEEvaluationData<dim, VectorizedArrayType, false> &other,
                const unsigned int first_selected_component = 0);
 
@@ -2217,7 +2217,7 @@ public:
    * useful information (unless these values have been set manually).
    */
   void
-  evaluate(const VectorizedArrayType *            values_array,
+  evaluate(const VectorizedArrayType             *values_array,
            const EvaluationFlags::EvaluationFlags evaluation_flag);
 
   /**
@@ -2235,7 +2235,7 @@ public:
    */
   template <typename VectorType>
   void
-  gather_evaluate(const VectorType &                     input_vector,
+  gather_evaluate(const VectorType                      &input_vector,
                   const EvaluationFlags::EvaluationFlags evaluation_flag);
 
   /**
@@ -2264,7 +2264,7 @@ public:
    */
   void
   integrate(const EvaluationFlags::EvaluationFlags integration_flag,
-            VectorizedArrayType *                  values_array,
+            VectorizedArrayType                   *values_array,
             const bool                             sum_into_values = false);
 
   /**
@@ -2283,7 +2283,7 @@ public:
   template <typename VectorType>
   void
   integrate_scatter(const EvaluationFlags::EvaluationFlags integration_flag,
-                    VectorType &                           output_vector);
+                    VectorType                            &output_vector);
 
   /**
    * Return an object that can be thought of as an array containing all indices
@@ -2539,7 +2539,7 @@ public:
    */
   FEFaceEvaluation(
     const MatrixFree<dim, Number, VectorizedArrayType> &matrix_free,
-    const std::pair<unsigned int, unsigned int> &       range,
+    const std::pair<unsigned int, unsigned int>        &range,
     const bool                                          is_interior_face = true,
     const unsigned int                                  dof_no           = 0,
     const unsigned int                                  quad_no          = 0,
@@ -2601,7 +2601,7 @@ public:
    * been set manually).
    */
   void
-  evaluate(const VectorizedArrayType *            values_array,
+  evaluate(const VectorizedArrayType             *values_array,
            const EvaluationFlags::EvaluationFlags evaluation_flag);
 
   /**
@@ -2617,7 +2617,7 @@ public:
    */
   template <typename VectorType>
   void
-  gather_evaluate(const VectorType &                     input_vector,
+  gather_evaluate(const VectorType                      &input_vector,
                   const EvaluationFlags::EvaluationFlags evaluation_flag);
 
   /**
@@ -2642,7 +2642,7 @@ public:
    */
   void
   integrate(const EvaluationFlags::EvaluationFlags integration_flag,
-            VectorizedArrayType *                  values_array);
+            VectorizedArrayType                   *values_array);
 
   /**
    * This function takes the values and/or gradients that are stored on
@@ -2658,7 +2658,7 @@ public:
   template <typename VectorType>
   void
   integrate_scatter(const EvaluationFlags::EvaluationFlags integration_flag,
-                    VectorType &                           output_vector);
+                    VectorType                            &output_vector);
 
   /**
    * @deprecated Please use the integrate_scatter() function with the EvaluationFlags argument.
@@ -2904,9 +2904,9 @@ inline FEEvaluationBase<dim,
                         is_face,
                         VectorizedArrayType>::
   FEEvaluationBase(
-    const Mapping<dim> &      mapping,
+    const Mapping<dim>       &mapping,
     const FiniteElement<dim> &fe,
-    const Quadrature<1> &     quadrature,
+    const Quadrature<1>      &quadrature,
     const UpdateFlags         update_flags,
     const unsigned int        first_selected_component,
     const FEEvaluationData<dim, VectorizedArrayType, is_face> *other)
@@ -3256,11 +3256,11 @@ template <typename VectorType, typename VectorOperation>
 inline void
 FEEvaluationBase<dim, n_components_, Number, is_face, VectorizedArrayType>::
   read_write_operation(
-    const VectorOperation &                        operation,
+    const VectorOperation                         &operation,
     const std::array<VectorType *, n_components_> &src,
     const std::array<
       const std::vector<ArrayView<const typename VectorType::value_type>> *,
-      n_components_> &          src_sm,
+      n_components_>           &src_sm,
     const std::bitset<n_lanes> &mask,
     const bool                  apply_constraints) const
 {
@@ -3707,7 +3707,7 @@ template <typename VectorType, typename VectorOperation>
 inline void
 FEEvaluationBase<dim, n_components_, Number, is_face, VectorizedArrayType>::
   read_write_operation_global(
-    const VectorOperation &                        operation,
+    const VectorOperation                         &operation,
     const std::array<VectorType *, n_components_> &src) const
 {
   Assert(!local_dof_indices.empty(), ExcNotInitialized());
@@ -3739,11 +3739,11 @@ template <typename VectorType, typename VectorOperation>
 inline void
 FEEvaluationBase<dim, n_components_, Number, is_face, VectorizedArrayType>::
   read_write_operation_contiguous(
-    const VectorOperation &                        operation,
+    const VectorOperation                         &operation,
     const std::array<VectorType *, n_components_> &src,
     const std::array<
       const std::vector<ArrayView<const typename VectorType::value_type>> *,
-      n_components_> &          vectors_sm,
+      n_components_>           &vectors_sm,
     const std::bitset<n_lanes> &mask) const
 {
   // This functions processes the functions read_dof_values,
@@ -3762,7 +3762,7 @@ FEEvaluationBase<dim, n_components_, Number, is_face, VectorizedArrayType>::
   const unsigned int n_active_lanes = mask.count();
 
   const internal::MatrixFreeFunctions::DoFInfo &dof_info = *this->dof_info;
-  const std::vector<unsigned int> &             dof_indices_cont =
+  const std::vector<unsigned int>              &dof_indices_cont =
     dof_info.dof_indices_contiguous[ind];
 
   const std::size_t dofs_per_component = this->data->dofs_per_component_on_cell;
@@ -4159,7 +4159,7 @@ namespace internal
             std::enable_if_t<has_shared_vector_data<VectorType>, VectorType> * =
               nullptr>
   const std::vector<ArrayView<const typename VectorType::value_type>> *
-  get_shared_vector_data(VectorType *       vec,
+  get_shared_vector_data(VectorType        *vec,
                          const bool         is_valid_mode_for_sm,
                          const unsigned int active_fe_index,
                          const internal::MatrixFreeFunctions::DoFInfo *dof_info)
@@ -4197,7 +4197,7 @@ namespace internal
         VectorType,
         IsBlockVector<VectorType>::value>::BaseVectorType::value_type>> *,
       n_components>>
-  get_vector_data(VectorType &       src,
+  get_vector_data(VectorType        &src,
                   const unsigned int first_index,
                   const bool         is_valid_mode_for_sm,
                   const unsigned int active_fe_index,
@@ -4304,7 +4304,7 @@ template <int dim,
 template <typename VectorType>
 inline void
 FEEvaluationBase<dim, n_components_, Number, is_face, VectorizedArrayType>::
-  read_dof_values(const VectorType &          src,
+  read_dof_values(const VectorType           &src,
                   const unsigned int          first_index,
                   const std::bitset<n_lanes> &mask)
 {
@@ -4336,7 +4336,7 @@ template <int dim,
 template <typename VectorType>
 inline void
 FEEvaluationBase<dim, n_components_, Number, is_face, VectorizedArrayType>::
-  read_dof_values_plain(const VectorType &          src,
+  read_dof_values_plain(const VectorType           &src,
                         const unsigned int          first_index,
                         const std::bitset<n_lanes> &mask)
 {
@@ -4366,7 +4366,7 @@ template <int dim,
 template <typename VectorType>
 inline void
 FEEvaluationBase<dim, n_components_, Number, is_face, VectorizedArrayType>::
-  distribute_local_to_global(VectorType &                dst,
+  distribute_local_to_global(VectorType                 &dst,
                              const unsigned int          first_index,
                              const std::bitset<n_lanes> &mask) const
 {
@@ -4400,7 +4400,7 @@ template <int dim,
 template <typename VectorType>
 inline void
 FEEvaluationBase<dim, n_components_, Number, is_face, VectorizedArrayType>::
-  set_dof_values(VectorType &                dst,
+  set_dof_values(VectorType                 &dst,
                  const unsigned int          first_index,
                  const std::bitset<n_lanes> &mask) const
 {
@@ -4431,7 +4431,7 @@ template <int dim,
 template <typename VectorType>
 inline void
 FEEvaluationBase<dim, n_components_, Number, is_face, VectorizedArrayType>::
-  set_dof_values_plain(VectorType &                dst,
+  set_dof_values_plain(VectorType                 &dst,
                        const unsigned int          first_index,
                        const std::bitset<n_lanes> &mask) const
 {
@@ -5317,9 +5317,9 @@ inline FEEvaluationAccess<dim,
                           is_face,
                           VectorizedArrayType>::
   FEEvaluationAccess(
-    const Mapping<dim> &      mapping,
+    const Mapping<dim>       &mapping,
     const FiniteElement<dim> &fe,
-    const Quadrature<1> &     quadrature,
+    const Quadrature<1>      &quadrature,
     const UpdateFlags         update_flags,
     const unsigned int        first_selected_component,
     const FEEvaluationData<dim, VectorizedArrayType, is_face> *other)
@@ -5416,9 +5416,9 @@ inline FEEvaluationAccess<dim, 1, Number, is_face, VectorizedArrayType>::
 template <int dim, typename Number, bool is_face, typename VectorizedArrayType>
 inline FEEvaluationAccess<dim, 1, Number, is_face, VectorizedArrayType>::
   FEEvaluationAccess(
-    const Mapping<dim> &      mapping,
+    const Mapping<dim>       &mapping,
     const FiniteElement<dim> &fe,
-    const Quadrature<1> &     quadrature,
+    const Quadrature<1>      &quadrature,
     const UpdateFlags         update_flags,
     const unsigned int        first_selected_component,
     const FEEvaluationData<dim, VectorizedArrayType, is_face> *other)
@@ -5752,9 +5752,9 @@ inline FEEvaluationAccess<dim, dim, Number, is_face, VectorizedArrayType>::
 template <int dim, typename Number, bool is_face, typename VectorizedArrayType>
 inline FEEvaluationAccess<dim, dim, Number, is_face, VectorizedArrayType>::
   FEEvaluationAccess(
-    const Mapping<dim> &      mapping,
+    const Mapping<dim>       &mapping,
     const FiniteElement<dim> &fe,
-    const Quadrature<1> &     quadrature,
+    const Quadrature<1>      &quadrature,
     const UpdateFlags         update_flags,
     const unsigned int        first_selected_component,
     const FEEvaluationData<dim, VectorizedArrayType, is_face> *other)
@@ -6732,9 +6732,9 @@ inline FEEvaluationAccess<1, 1, Number, is_face, VectorizedArrayType>::
 template <typename Number, bool is_face, typename VectorizedArrayType>
 inline FEEvaluationAccess<1, 1, Number, is_face, VectorizedArrayType>::
   FEEvaluationAccess(
-    const Mapping<1> &      mapping,
+    const Mapping<1>       &mapping,
     const FiniteElement<1> &fe,
-    const Quadrature<1> &   quadrature,
+    const Quadrature<1>    &quadrature,
     const UpdateFlags       update_flags,
     const unsigned int      first_selected_component,
     const FEEvaluationData<1, VectorizedArrayType, is_face> *other)
@@ -7074,7 +7074,7 @@ inline FEEvaluation<dim,
                     Number,
                     VectorizedArrayType>::
   FEEvaluation(const MatrixFree<dim, Number, VectorizedArrayType> &matrix_free,
-               const std::pair<unsigned int, unsigned int> &       range,
+               const std::pair<unsigned int, unsigned int>        &range,
                const unsigned int                                  dof_no,
                const unsigned int                                  quad_no,
                const unsigned int first_selected_component)
@@ -7099,9 +7099,9 @@ inline FEEvaluation<dim,
                     n_components_,
                     Number,
                     VectorizedArrayType>::
-  FEEvaluation(const Mapping<dim> &      mapping,
+  FEEvaluation(const Mapping<dim>       &mapping,
                const FiniteElement<dim> &fe,
-               const Quadrature<1> &     quadrature,
+               const Quadrature<1>      &quadrature,
                const UpdateFlags         update_flags,
                const unsigned int        first_selected_component)
   : BaseClass(mapping,
@@ -7132,7 +7132,7 @@ inline FEEvaluation<dim,
                     Number,
                     VectorizedArrayType>::
   FEEvaluation(const FiniteElement<dim> &fe,
-               const Quadrature<1> &     quadrature,
+               const Quadrature<1>      &quadrature,
                const UpdateFlags         update_flags,
                const unsigned int        first_selected_component)
   : BaseClass(StaticMappingQ1<dim>::mapping,
@@ -7162,7 +7162,7 @@ inline FEEvaluation<dim,
                     n_components_,
                     Number,
                     VectorizedArrayType>::
-  FEEvaluation(const FiniteElement<dim> &                               fe,
+  FEEvaluation(const FiniteElement<dim>                                &fe,
                const FEEvaluationData<dim, VectorizedArrayType, false> &other,
                const unsigned int first_selected_component)
   : BaseClass(other.mapped_geometry->get_fe_values().get_mapping(),
@@ -7832,7 +7832,7 @@ FEEvaluation<dim,
              n_components_,
              Number,
              VectorizedArrayType>::
-  evaluate(const VectorizedArrayType *            values_array,
+  evaluate(const VectorizedArrayType             *values_array,
            const EvaluationFlags::EvaluationFlags evaluation_flag)
 {
   const bool hessians_on_general_cells =
@@ -7893,7 +7893,7 @@ namespace internal
       return nullptr;
 
     const unsigned int cell     = fe_eval.get_cell_or_face_batch_id();
-    const auto &       dof_info = fe_eval.get_dof_info();
+    const auto        &dof_info = fe_eval.get_dof_info();
 
     // If the index storage is interleaved and contiguous and the vector
     // storage has the correct alignment, we can directly pass the pointer
@@ -7960,7 +7960,7 @@ FEEvaluation<dim,
              n_components_,
              Number,
              VectorizedArrayType>::
-  gather_evaluate(const VectorType &                     input_vector,
+  gather_evaluate(const VectorType                      &input_vector,
                   const EvaluationFlags::EvaluationFlags evaluation_flag)
 {
   const VectorizedArrayType *src_ptr =
@@ -8015,7 +8015,7 @@ FEEvaluation<dim,
              Number,
              VectorizedArrayType>::
   integrate(const EvaluationFlags::EvaluationFlags integration_flag,
-            VectorizedArrayType *                  values_array,
+            VectorizedArrayType                   *values_array,
             const bool                             sum_into_values_array)
 {
 #  ifdef DEBUG
@@ -8118,7 +8118,7 @@ FEEvaluation<dim,
              Number,
              VectorizedArrayType>::
   integrate_scatter(const EvaluationFlags::EvaluationFlags integration_flag,
-                    VectorType &                           destination)
+                    VectorType                            &destination)
 {
   VectorizedArrayType *dst_ptr =
     internal::check_vector_access_inplace<Number, VectorizedArrayType>(
@@ -8209,7 +8209,7 @@ inline FEFaceEvaluation<dim,
                         VectorizedArrayType>::
   FEFaceEvaluation(
     const MatrixFree<dim, Number, VectorizedArrayType> &matrix_free,
-    const std::pair<unsigned int, unsigned int> &       range,
+    const std::pair<unsigned int, unsigned int>        &range,
     const bool                                          is_interior_face,
     const unsigned int                                  dof_no,
     const unsigned int                                  quad_no,
@@ -8518,7 +8518,7 @@ FEFaceEvaluation<dim,
                  n_components_,
                  Number,
                  VectorizedArrayType>::
-  evaluate(const VectorizedArrayType *            values_array,
+  evaluate(const VectorizedArrayType             *values_array,
            const EvaluationFlags::EvaluationFlags evaluation_flag)
 {
   Assert((evaluation_flag &
@@ -8600,7 +8600,7 @@ FEFaceEvaluation<dim,
                  Number,
                  VectorizedArrayType>::
   integrate(const EvaluationFlags::EvaluationFlags integration_flag,
-            VectorizedArrayType *                  values_array)
+            VectorizedArrayType                   *values_array)
 {
   Assert((integration_flag &
           ~(EvaluationFlags::values | EvaluationFlags::gradients |
@@ -8673,7 +8673,7 @@ FEFaceEvaluation<dim,
                  n_components_,
                  Number,
                  VectorizedArrayType>::
-  gather_evaluate(const VectorType &                     input_vector,
+  gather_evaluate(const VectorType                      &input_vector,
                   const EvaluationFlags::EvaluationFlags evaluation_flag)
 {
   Assert((evaluation_flag &
@@ -8792,7 +8792,7 @@ FEFaceEvaluation<dim,
                  Number,
                  VectorizedArrayType>::
   integrate_scatter(const EvaluationFlags::EvaluationFlags integration_flag,
-                    VectorType &                           destination)
+                    VectorType                            &destination)
 {
   Assert((this->dof_access_index ==
             internal::MatrixFreeFunctions::DoFInfo::dof_access_cell &&
index 9e3d36d9d9f0abae454ac37e848dab1f55ca46b3..4b6c1c53e6a40baca1d72dd5883f8eeec4f1a475 100644 (file)
@@ -620,8 +620,8 @@ public:
    */
   struct InitializationData
   {
-    const ShapeInfoType *         shape_info;
-    const DoFInfo *               dof_info;
+    const ShapeInfoType          *shape_info;
+    const DoFInfo                *dof_info;
     const MappingInfoStorageType *mapping_data;
     unsigned int                  active_fe_index;
     unsigned int                  active_quad_index;
@@ -647,7 +647,7 @@ protected:
   FEEvaluationData(
     const std::shared_ptr<
       internal::MatrixFreeFunctions::MappingDataOnTheFly<dim, Number>>
-      &                mapping_data,
+                      &mapping_data,
     const unsigned int n_fe_components,
     const unsigned int first_selected_component);
 
@@ -1087,7 +1087,7 @@ template <int dim, typename Number, bool is_face>
 inline FEEvaluationData<dim, Number, is_face>::FEEvaluationData(
   const std::shared_ptr<
     internal::MatrixFreeFunctions::MappingDataOnTheFly<dim, Number>>
-    &                mapped_geometry,
+                    &mapped_geometry,
   const unsigned int n_fe_components,
   const unsigned int first_selected_component)
   : data(nullptr)
@@ -1660,9 +1660,9 @@ namespace internal
             typename FU>
   inline void
   process_cell_or_face_data(const std::array<unsigned int, N> indices,
-                            VectorOfArrayType &               array,
-                            ArrayType &                       out,
-                            const FU &                        fu)
+                            VectorOfArrayType                &array,
+                            ArrayType                        &out,
+                            const FU                         &fu)
   {
     for (unsigned int i = 0; i < N; ++i)
       if (indices[i] != numbers::invalid_unsigned_int)
@@ -1675,8 +1675,8 @@ namespace internal
   template <std::size_t N, typename VectorOfArrayType, typename ArrayType>
   inline void
   set_valid_element_to_array(const std::array<unsigned int, N> indices,
-                             const VectorOfArrayType &         array,
-                             ArrayType &                       out)
+                             const VectorOfArrayType          &array,
+                             ArrayType                        &out)
   {
     AssertDimension(indices.size(), out.size());
     AssertDimension(indices.size(), array[0].size());
index 841adb4725368dd5f2f2534e04c6de163e44a19b..696a16c8b2e8ca108b6e54be12659f8fc1b8fb92 100644 (file)
@@ -86,7 +86,7 @@ namespace internal
       }
 
       static void
-      write_value(VectorizedArrayType &        vector_entry,
+      write_value(VectorizedArrayType         &vector_entry,
                   const unsigned int           component,
                   const vectorized_value_type &result)
       {
@@ -97,7 +97,7 @@ namespace internal
       static void
       set_gradient(const interface_vectorized_gradient_type &value,
                    const unsigned int                        vector_lane,
-                   gradient_type &                           result)
+                   gradient_type                            &result)
       {
         for (unsigned int i = 0; i < n_components; ++i)
           for (unsigned int d = 0; d < dim; ++d)
@@ -109,7 +109,7 @@ namespace internal
       static void
       get_gradient(interface_vectorized_gradient_type &value,
                    const unsigned int                  vector_lane,
-                   const gradient_type &               result)
+                   const gradient_type                &result)
       {
         for (unsigned int i = 0; i < n_components; ++i)
           for (unsigned int d = 0; d < dim; ++d)
@@ -129,7 +129,7 @@ namespace internal
       static void
       set_value(const vectorized_value_type &value,
                 const unsigned int           vector_lane,
-                scalar_value_type &          result)
+                scalar_value_type           &result)
       {
         for (unsigned int i = 0; i < n_components; ++i)
           result[i] = value[i][vector_lane];
@@ -144,7 +144,7 @@ namespace internal
       }
 
       static void
-      get_value(vectorized_value_type &  value,
+      get_value(vectorized_value_type   &value,
                 const unsigned int       vector_lane,
                 const scalar_value_type &result)
       {
@@ -169,7 +169,7 @@ namespace internal
       }
 
       static void
-      access(value_type &        value,
+      access(value_type         &value,
              const unsigned int  vector_lane,
              const unsigned int  component,
              const ScalarNumber &shape_value)
@@ -179,7 +179,7 @@ namespace internal
       }
 
       static ScalarNumber
-      access(const value_type value,
+      access(const value_type  &value,
              const unsigned int vector_lane,
              const unsigned int component)
       {
@@ -188,7 +188,7 @@ namespace internal
       }
 
       static void
-      access(gradient_type &                     value,
+      access(gradient_type                      &value,
              const unsigned int                  vector_lane,
              const unsigned int                  component,
              const Tensor<1, dim, ScalarNumber> &shape_gradient)
@@ -248,7 +248,7 @@ namespace internal
       static void
       set_gradient(const vectorized_gradient_type &value,
                    const unsigned int              vector_lane,
-                   scalar_gradient_type &          result)
+                   scalar_gradient_type           &result)
       {
         for (unsigned int d = 0; d < dim; ++d)
           result[d] = value[d][vector_lane];
@@ -263,7 +263,7 @@ namespace internal
       }
 
       static void
-      get_gradient(vectorized_gradient_type &  value,
+      get_gradient(vectorized_gradient_type   &value,
                    const unsigned int          vector_lane,
                    const scalar_gradient_type &result)
       {
@@ -290,7 +290,7 @@ namespace internal
       static void
       set_value(const vectorized_value_type &value,
                 const unsigned int           vector_lane,
-                scalar_value_type &          result)
+                scalar_value_type           &result)
       {
         result = value[vector_lane];
       }
@@ -304,7 +304,7 @@ namespace internal
       }
 
       static void
-      get_value(vectorized_value_type &  value,
+      get_value(vectorized_value_type   &value,
                 const unsigned int       vector_lane,
                 const scalar_value_type &result)
       {
@@ -326,7 +326,7 @@ namespace internal
       }
 
       static void
-      access(value_type &       value,
+      access(value_type        &value,
              const unsigned int vector_lane,
              const unsigned int,
              const ScalarNumber &shape_value)
@@ -336,7 +336,7 @@ namespace internal
       }
 
       static ScalarNumber
-      access(const value_type value,
+      access(const value_type  &value,
              const unsigned int vector_lane,
              const unsigned int)
       {
@@ -344,7 +344,7 @@ namespace internal
       }
 
       static void
-      access(gradient_type &    value,
+      access(gradient_type     &value,
              const unsigned int vector_lane,
              const unsigned int,
              const scalar_gradient_type &shape_gradient)
@@ -393,7 +393,7 @@ namespace internal
       }
 
       static void
-      write_value(VectorizedArrayType &        vector_entry,
+      write_value(VectorizedArrayType         &vector_entry,
                   const unsigned int           component,
                   const vectorized_value_type &result)
       {
@@ -403,7 +403,7 @@ namespace internal
       static void
       set_gradient(const interface_vectorized_gradient_type &value,
                    const unsigned int                        vector_lane,
-                   gradient_type &                           result)
+                   gradient_type                            &result)
       {
         for (unsigned int i = 0; i < dim; ++i)
           for (unsigned int d = 0; d < dim; ++d)
@@ -415,7 +415,7 @@ namespace internal
       static void
       get_gradient(interface_vectorized_gradient_type &value,
                    const unsigned int                  vector_lane,
-                   const gradient_type &               result)
+                   const gradient_type                &result)
       {
         for (unsigned int i = 0; i < dim; ++i)
           for (unsigned int d = 0; d < dim; ++d)
@@ -435,7 +435,7 @@ namespace internal
       static void
       set_value(const vectorized_value_type &value,
                 const unsigned int           vector_lane,
-                scalar_value_type &          result)
+                scalar_value_type           &result)
       {
         for (unsigned int i = 0; i < dim; ++i)
           result[i] = value[i][vector_lane];
@@ -450,7 +450,7 @@ namespace internal
       }
 
       static void
-      get_value(vectorized_value_type &  value,
+      get_value(vectorized_value_type   &value,
                 const unsigned int       vector_lane,
                 const scalar_value_type &result)
       {
@@ -475,7 +475,7 @@ namespace internal
       }
 
       static void
-      access(value_type &        value,
+      access(value_type         &value,
              const unsigned int  vector_lane,
              const unsigned int  component,
              const ScalarNumber &shape_value)
@@ -485,7 +485,7 @@ namespace internal
       }
 
       static ScalarNumber
-      access(const value_type value,
+      access(const value_type  &value,
              const unsigned int vector_lane,
              const unsigned int component)
       {
@@ -494,7 +494,7 @@ namespace internal
       }
 
       static void
-      access(gradient_type &                     value,
+      access(gradient_type                      &value,
              const unsigned int                  vector_lane,
              const unsigned int                  component,
              const Tensor<1, dim, ScalarNumber> &shape_gradient)
@@ -554,7 +554,7 @@ namespace internal
       static void
       set_gradient(const vectorized_gradient_type &value,
                    const unsigned int              vector_lane,
-                   scalar_gradient_type &          result)
+                   scalar_gradient_type           &result)
       {
         result[0] = value[0][vector_lane];
       }
@@ -568,7 +568,7 @@ namespace internal
       }
 
       static void
-      get_gradient(vectorized_gradient_type &  value,
+      get_gradient(vectorized_gradient_type   &value,
                    const unsigned int          vector_lane,
                    const scalar_gradient_type &result)
       {
@@ -592,7 +592,7 @@ namespace internal
       static void
       set_value(const vectorized_value_type &value,
                 const unsigned int           vector_lane,
-                scalar_value_type &          result)
+                scalar_value_type           &result)
       {
         result = value[vector_lane];
       }
@@ -606,7 +606,7 @@ namespace internal
       }
 
       static void
-      get_value(vectorized_value_type &  value,
+      get_value(vectorized_value_type   &value,
                 const unsigned int       vector_lane,
                 const scalar_value_type &result)
       {
@@ -628,7 +628,7 @@ namespace internal
       }
 
       static void
-      access(value_type &       value,
+      access(value_type        &value,
              const unsigned int vector_lane,
              const unsigned int,
              const ScalarNumber &shape_value)
@@ -638,7 +638,7 @@ namespace internal
       }
 
       static ScalarNumber
-      access(const value_type value,
+      access(const value_type  &value,
              const unsigned int vector_lane,
              const unsigned int)
       {
@@ -646,7 +646,7 @@ namespace internal
       }
 
       static void
-      access(gradient_type &    value,
+      access(gradient_type     &value,
              const unsigned int vector_lane,
              const unsigned int,
              const scalar_gradient_type &shape_gradient)
@@ -757,7 +757,7 @@ public:
    * objects, this parameter allows to select a range of `n_components`
    * components starting from this parameter.
    */
-  FEPointEvaluation(const Mapping<dim> &      mapping,
+  FEPointEvaluation(const Mapping<dim>       &mapping,
                     const FiniteElement<dim> &fe,
                     const UpdateFlags         update_flags,
                     const unsigned int        first_selected_component = 0);
@@ -780,7 +780,7 @@ public:
    */
   FEPointEvaluation(
     NonMatching::MappingInfo<dim, spacedim, Number> &mapping_info,
-    const FiniteElement<dim> &                       fe,
+    const FiniteElement<dim>                        &fe,
     const unsigned int first_selected_component = 0);
 
   /**
@@ -846,7 +846,7 @@ public:
    * evaluated at the points.
    */
   void
-  evaluate(const ArrayView<const ScalarNumber> &   solution_values,
+  evaluate(const ArrayView<const ScalarNumber>    &solution_values,
            const EvaluationFlags::EvaluationFlags &evaluation_flags);
 
   /**
@@ -868,7 +868,7 @@ public:
    *
    */
   void
-  integrate(const ArrayView<ScalarNumber> &         solution_values,
+  integrate(const ArrayView<ScalarNumber>          &solution_values,
             const EvaluationFlags::EvaluationFlags &integration_flags);
 
   /**
@@ -894,7 +894,7 @@ public:
    *
    */
   void
-  test_and_sum(const ArrayView<ScalarNumber> &         solution_values,
+  test_and_sum(const ArrayView<ScalarNumber>          &solution_values,
                const EvaluationFlags::EvaluationFlags &integration_flags);
 
   /**
@@ -1041,7 +1041,7 @@ private:
    */
   void
   prepare_evaluate_fast(
-    const ArrayView<const ScalarNumber> &   solution_values,
+    const ArrayView<const ScalarNumber>    &solution_values,
     const EvaluationFlags::EvaluationFlags &evaluation_flags);
 
   /**
@@ -1053,21 +1053,21 @@ private:
     const EvaluationFlags::EvaluationFlags &evaluation_flags,
     const unsigned int                      n_shapes,
     const unsigned int                      qb,
-    vectorized_value_type &                 value,
-    interface_vectorized_gradient_type &    gradient);
+    vectorized_value_type                  &value,
+    interface_vectorized_gradient_type     &gradient);
 
   /**
    * Fast path of the evaluate function.
    */
   void
-  evaluate_fast(const ArrayView<const ScalarNumber> &   solution_values,
+  evaluate_fast(const ArrayView<const ScalarNumber>    &solution_values,
                 const EvaluationFlags::EvaluationFlags &evaluation_flags);
 
   /**
    * Slow path of the evaluate function using FEValues.
    */
   void
-  evaluate_slow(const ArrayView<const ScalarNumber> &   solution_values,
+  evaluate_slow(const ArrayView<const ScalarNumber>    &solution_values,
                 const EvaluationFlags::EvaluationFlags &evaluation_flags);
 
   /**
@@ -1077,10 +1077,10 @@ private:
    */
   void
   compute_integrate_fast(
-    const EvaluationFlags::EvaluationFlags &  integration_flags,
+    const EvaluationFlags::EvaluationFlags   &integration_flags,
     const unsigned int                        n_shapes,
     const unsigned int                        qb,
-    const vectorized_value_type &             value,
+    const vectorized_value_type              &value,
     const interface_vectorized_gradient_type &gradient);
 
   /**
@@ -1090,7 +1090,7 @@ private:
    */
   void
   finish_integrate_fast(
-    const ArrayView<ScalarNumber> &         solution_values,
+    const ArrayView<ScalarNumber>          &solution_values,
     const EvaluationFlags::EvaluationFlags &integration_flags);
 
   /**
@@ -1098,7 +1098,7 @@ private:
    */
   template <bool do_JxW>
   void
-  integrate_fast(const ArrayView<ScalarNumber> &         solution_values,
+  integrate_fast(const ArrayView<ScalarNumber>          &solution_values,
                  const EvaluationFlags::EvaluationFlags &integration_flags);
 
   /**
@@ -1106,7 +1106,7 @@ private:
    */
   template <bool do_JxW>
   void
-  integrate_slow(const ArrayView<ScalarNumber> &         solution_values,
+  integrate_slow(const ArrayView<ScalarNumber>          &solution_values,
                  const EvaluationFlags::EvaluationFlags &integration_flags);
 
   /**
@@ -1114,7 +1114,7 @@ private:
    */
   template <bool do_JxW>
   void
-  do_integrate(const ArrayView<ScalarNumber> &         solution_values,
+  do_integrate(const ArrayView<ScalarNumber>          &solution_values,
                const EvaluationFlags::EvaluationFlags &integration_flags);
 
   /**
@@ -1336,7 +1336,7 @@ private:
 
 template <int n_components_, int dim, int spacedim, typename Number>
 FEPointEvaluation<n_components_, dim, spacedim, Number>::FEPointEvaluation(
-  const Mapping<dim> &      mapping,
+  const Mapping<dim>       &mapping,
   const FiniteElement<dim> &fe,
   const UpdateFlags         update_flags,
   const unsigned int        first_selected_component)
@@ -1364,7 +1364,7 @@ FEPointEvaluation<n_components_, dim, spacedim, Number>::FEPointEvaluation(
 template <int n_components_, int dim, int spacedim, typename Number>
 FEPointEvaluation<n_components_, dim, spacedim, Number>::FEPointEvaluation(
   NonMatching::MappingInfo<dim, spacedim, Number> &mapping_info,
-  const FiniteElement<dim> &                       fe,
+  const FiniteElement<dim>                        &fe,
   const unsigned int                               first_selected_component)
   : n_q_points(numbers::invalid_unsigned_int)
   , n_q_points_scalar(numbers::invalid_unsigned_int)
@@ -1559,7 +1559,7 @@ template <int n_components_, int dim, int spacedim, typename Number>
 void
 FEPointEvaluation<n_components_, dim, spacedim, Number>::reinit(
   const typename Triangulation<dim, spacedim>::cell_iterator &cell,
-  const ArrayView<const Point<dim>> &                         unit_points)
+  const ArrayView<const Point<dim>>                          &unit_points)
 {
   // reinit is only allowed for mapping computation on the fly
   AssertThrow(mapping_info_on_the_fly.get() != nullptr, ExcNotImplemented());
@@ -1741,7 +1741,7 @@ FEPointEvaluation<n_components_, dim, spacedim, Number>::do_reinit()
 template <int n_components_, int dim, int spacedim, typename Number>
 inline void
 FEPointEvaluation<n_components_, dim, spacedim, Number>::prepare_evaluate_fast(
-  const ArrayView<const ScalarNumber> &   solution_values,
+  const ArrayView<const ScalarNumber>    &solution_values,
   const EvaluationFlags::EvaluationFlags &evaluation_flags)
 {
   if (use_face_path)
@@ -1823,8 +1823,8 @@ FEPointEvaluation<n_components_, dim, spacedim, Number>::compute_evaluate_fast(
   const EvaluationFlags::EvaluationFlags &evaluation_flags,
   const unsigned int                      n_shapes,
   const unsigned int                      qb,
-  vectorized_value_type &                 value,
-  interface_vectorized_gradient_type &    gradient)
+  vectorized_value_type                  &value,
+  interface_vectorized_gradient_type     &gradient)
 {
   if (use_face_path)
     {
@@ -1950,7 +1950,7 @@ FEPointEvaluation<n_components_, dim, spacedim, Number>::compute_evaluate_fast(
 template <int n_components_, int dim, int spacedim, typename Number>
 inline void
 FEPointEvaluation<n_components_, dim, spacedim, Number>::evaluate_fast(
-  const ArrayView<const ScalarNumber> &   solution_values,
+  const ArrayView<const ScalarNumber>    &solution_values,
   const EvaluationFlags::EvaluationFlags &evaluation_flags)
 {
   prepare_evaluate_fast(solution_values, evaluation_flags);
@@ -1996,7 +1996,7 @@ FEPointEvaluation<n_components_, dim, spacedim, Number>::evaluate_fast(
 template <int n_components_, int dim, int spacedim, typename Number>
 inline void
 FEPointEvaluation<n_components_, dim, spacedim, Number>::evaluate_slow(
-  const ArrayView<const ScalarNumber> &   solution_values,
+  const ArrayView<const ScalarNumber>    &solution_values,
   const EvaluationFlags::EvaluationFlags &evaluation_flags)
 {
   // slow path with FEValues
@@ -2078,7 +2078,7 @@ FEPointEvaluation<n_components_, dim, spacedim, Number>::evaluate_slow(
 template <int n_components_, int dim, int spacedim, typename Number>
 void
 FEPointEvaluation<n_components_, dim, spacedim, Number>::evaluate(
-  const ArrayView<const ScalarNumber> &   solution_values,
+  const ArrayView<const ScalarNumber>    &solution_values,
   const EvaluationFlags::EvaluationFlags &evaluation_flags)
 {
   if (!is_reinitialized)
@@ -2105,10 +2105,10 @@ FEPointEvaluation<n_components_, dim, spacedim, Number>::evaluate(
 template <int n_components_, int dim, int spacedim, typename Number>
 inline void
 FEPointEvaluation<n_components_, dim, spacedim, Number>::compute_integrate_fast(
-  const EvaluationFlags::EvaluationFlags &  integration_flags,
+  const EvaluationFlags::EvaluationFlags   &integration_flags,
   const unsigned int                        n_shapes,
   const unsigned int                        qb,
-  const vectorized_value_type &             value,
+  const vectorized_value_type              &value,
   const interface_vectorized_gradient_type &gradient)
 {
   if (use_face_path)
@@ -2215,7 +2215,7 @@ FEPointEvaluation<n_components_, dim, spacedim, Number>::compute_integrate_fast(
 template <int n_components_, int dim, int spacedim, typename Number>
 inline void
 FEPointEvaluation<n_components_, dim, spacedim, Number>::finish_integrate_fast(
-  const ArrayView<ScalarNumber> &         solution_values,
+  const ArrayView<ScalarNumber>          &solution_values,
   const EvaluationFlags::EvaluationFlags &integration_flags)
 {
   std::fill(solution_values.begin(), solution_values.end(), ScalarNumber());
@@ -2227,8 +2227,8 @@ FEPointEvaluation<n_components_, dim, spacedim, Number>::finish_integrate_fast(
       if (use_face_path)
         {
           const unsigned int size_input = 2 * dofs_per_component_face;
-          ScalarNumber *     input      = scratch_data_scalar.begin();
-          ScalarNumber *     output     = input + size_input;
+          ScalarNumber      *input      = scratch_data_scalar.begin();
+          ScalarNumber      *output     = input + size_input;
 
           for (unsigned int i = 0; i < 2 * dofs_per_component_face; ++i)
             {
@@ -2284,7 +2284,7 @@ template <int n_components_, int dim, int spacedim, typename Number>
 template <bool do_JxW>
 inline void
 FEPointEvaluation<n_components_, dim, spacedim, Number>::integrate_fast(
-  const ArrayView<ScalarNumber> &         solution_values,
+  const ArrayView<ScalarNumber>          &solution_values,
   const EvaluationFlags::EvaluationFlags &integration_flags)
 {
   // fast path with tensor product integration
@@ -2374,7 +2374,7 @@ template <int n_components_, int dim, int spacedim, typename Number>
 template <bool do_JxW>
 inline void
 FEPointEvaluation<n_components_, dim, spacedim, Number>::integrate_slow(
-  const ArrayView<ScalarNumber> &         solution_values,
+  const ArrayView<ScalarNumber>          &solution_values,
   const EvaluationFlags::EvaluationFlags &integration_flags)
 {
   // slow path with FEValues
@@ -2450,7 +2450,7 @@ template <int n_components_, int dim, int spacedim, typename Number>
 template <bool do_JxW>
 void
 FEPointEvaluation<n_components_, dim, spacedim, Number>::do_integrate(
-  const ArrayView<ScalarNumber> &         solution_values,
+  const ArrayView<ScalarNumber>          &solution_values,
   const EvaluationFlags::EvaluationFlags &integration_flags)
 {
   if (!is_reinitialized)
@@ -2489,7 +2489,7 @@ FEPointEvaluation<n_components_, dim, spacedim, Number>::do_integrate(
 template <int n_components_, int dim, int spacedim, typename Number>
 void
 FEPointEvaluation<n_components_, dim, spacedim, Number>::integrate(
-  const ArrayView<ScalarNumber> &         solution_values,
+  const ArrayView<ScalarNumber>          &solution_values,
   const EvaluationFlags::EvaluationFlags &integration_flags)
 {
   do_integrate<true>(solution_values, integration_flags);
@@ -2500,7 +2500,7 @@ FEPointEvaluation<n_components_, dim, spacedim, Number>::integrate(
 template <int n_components_, int dim, int spacedim, typename Number>
 void
 FEPointEvaluation<n_components_, dim, spacedim, Number>::test_and_sum(
-  const ArrayView<ScalarNumber> &         solution_values,
+  const ArrayView<ScalarNumber>          &solution_values,
   const EvaluationFlags::EvaluationFlags &integration_flags)
 {
   do_integrate<false>(solution_values, integration_flags);
@@ -2551,7 +2551,7 @@ inline const typename FEPointEvaluation<n_components_, dim, spacedim, Number>::
 template <int n_components_, int dim, int spacedim, typename Number>
 inline void
 FEPointEvaluation<n_components_, dim, spacedim, Number>::submit_value(
-  const value_type value,
+  const value_type  &value,
   const unsigned int point_index)
 {
   AssertIndexRange(point_index, n_q_points);
index b63b1406678887c9f92a41ac085c810fc4821f4b..cc770bc39c6aee61949924a88d9bdf86f0e848d7 100644 (file)
@@ -283,11 +283,11 @@ namespace internal
       template <typename CellIterator>
       bool
       setup_constraints(
-        const CellIterator &                                      cell,
+        const CellIterator                                       &cell,
         const std::shared_ptr<const Utilities::MPI::Partitioner> &partitioner,
         const std::vector<std::vector<unsigned int>> &lexicographic_mapping,
-        std::vector<types::global_dof_index> &        dof_indices,
-        const ArrayView<ConstraintKinds> &            mask) const;
+        std::vector<types::global_dof_index>         &dof_indices,
+        const ArrayView<ConstraintKinds>             &mask) const;
 
       /**
        * Compute the supported components of all entries of the given
@@ -310,12 +310,12 @@ namespace internal
       template <typename CellIterator>
       void
       update_dof_indices(
-        const CellIterator &                                      cell,
+        const CellIterator                                       &cell,
         const std::shared_ptr<const Utilities::MPI::Partitioner> &partitioner,
         const std::vector<std::vector<unsigned int>> &lexicographic_mapping,
-        const std::vector<std::vector<bool>> &        component_mask,
-        const ConstraintKinds &                       refinement_configuration,
-        std::vector<types::global_dof_index> &        dof_indices) const;
+        const std::vector<std::vector<bool>>         &component_mask,
+        const ConstraintKinds                        &refinement_configuration,
+        std::vector<types::global_dof_index>         &dof_indices) const;
 
     private:
       /**
@@ -615,12 +615,12 @@ namespace internal
     template <typename CellIterator>
     inline void
     HangingNodes<dim>::update_dof_indices(
-      const CellIterator &                                      cell,
+      const CellIterator                                       &cell,
       const std::shared_ptr<const Utilities::MPI::Partitioner> &partitioner,
       const std::vector<std::vector<unsigned int>> &lexicographic_mapping,
-      const std::vector<std::vector<bool>> &        supported_components,
-      const ConstraintKinds &                       refinement_configuration,
-      std::vector<types::global_dof_index> &        dof_indices) const
+      const std::vector<std::vector<bool>>         &supported_components,
+      const ConstraintKinds                        &refinement_configuration,
+      std::vector<types::global_dof_index>         &dof_indices) const
     {
       if (std::find(supported_components[cell->active_fe_index()].begin(),
                     supported_components[cell->active_fe_index()].end(),
@@ -862,11 +862,11 @@ namespace internal
     template <typename CellIterator>
     inline bool
     HangingNodes<dim>::setup_constraints(
-      const CellIterator &                                      cell,
+      const CellIterator                                       &cell,
       const std::shared_ptr<const Utilities::MPI::Partitioner> &partitioner,
       const std::vector<std::vector<unsigned int>> &lexicographic_mapping,
-      std::vector<types::global_dof_index> &        dof_indices,
-      const ArrayView<ConstraintKinds> &            masks) const
+      std::vector<types::global_dof_index>         &dof_indices,
+      const ArrayView<ConstraintKinds>             &masks) const
     {
       // 1) check if finite elements support fast hanging-node algorithm
       const auto supported_components = compute_supported_components(
index f0454861f4fab7084ef0d3045a473de73c96673a..91e8ff71f2114ce19ecf80fa29bd4cd171a922d0 100644 (file)
@@ -71,7 +71,7 @@ namespace internal
        * element, FE_Nothing, is used internally for the underlying FEValues
        * object.
        */
-      MappingDataOnTheFly(const Mapping<dim> mapping,
+      MappingDataOnTheFly(const Mapping<dim>  &mapping,
                           const Quadrature<1> &quadrature,
                           const UpdateFlags    update_flags);
 
@@ -171,7 +171,7 @@ namespace internal
 
     template <int dim, typename Number>
     inline MappingDataOnTheFly<dim, Number>::MappingDataOnTheFly(
-      const Mapping<dim> mapping,
+      const Mapping<dim>  &mapping,
       const Quadrature<1> &quadrature,
       const UpdateFlags    update_flags)
       : fe_values(std::make_unique<dealii::FEValues<dim>>(
index 138f8b02112200129fb663a3a42d1b06ddbd137f..1081be2c56a23a63a06f30e67d99ba9450e4c0e9 100644 (file)
@@ -64,12 +64,12 @@ namespace internal
        */
       void
       initialize(
-        const dealii::Triangulation<dim> &                        tria,
+        const dealii::Triangulation<dim>                         &tria,
         const std::vector<std::pair<unsigned int, unsigned int>> &cells,
-        const FaceInfo<VectorizedArrayType::size()> &             face_info,
+        const FaceInfo<VectorizedArrayType::size()>              &face_info,
         const std::vector<unsigned int> &active_fe_index,
         const std::shared_ptr<dealii::hp::MappingCollection<dim>> &mapping,
-        const std::vector<dealii::hp::QCollection<dim>> &          quad,
+        const std::vector<dealii::hp::QCollection<dim>>           &quad,
         const UpdateFlags update_flags_cells,
         const UpdateFlags update_flags_boundary_faces,
         const UpdateFlags update_flags_inner_faces,
@@ -84,9 +84,9 @@ namespace internal
        */
       void
       update_mapping(
-        const dealii::Triangulation<dim> &                        tria,
+        const dealii::Triangulation<dim>                         &tria,
         const std::vector<std::pair<unsigned int, unsigned int>> &cells,
-        const FaceInfo<VectorizedArrayType::size()> &             face_info,
+        const FaceInfo<VectorizedArrayType::size()>              &face_info,
         const std::vector<unsigned int> &active_fe_index,
         const std::shared_ptr<dealii::hp::MappingCollection<dim>> &mapping);
 
@@ -114,7 +114,7 @@ namespace internal
        */
       template <typename StreamType>
       void
-      print_memory_consumption(StreamType &    out,
+      print_memory_consumption(StreamType     &out,
                                const TaskInfo &task_info) const;
 
       /**
@@ -224,9 +224,9 @@ namespace internal
        */
       void
       compute_mapping_q(
-        const dealii::Triangulation<dim> &                        tria,
+        const dealii::Triangulation<dim>                         &tria,
         const std::vector<std::pair<unsigned int, unsigned int>> &cells,
-        const FaceInfo<VectorizedArrayType::size()> &             face_info);
+        const FaceInfo<VectorizedArrayType::size()>              &face_info);
 
       /**
        * Computes the information in the given cells, called within
@@ -234,9 +234,9 @@ namespace internal
        */
       void
       initialize_cells(
-        const dealii::Triangulation<dim> &                        tria,
+        const dealii::Triangulation<dim>                         &tria,
         const std::vector<std::pair<unsigned int, unsigned int>> &cells,
-        const std::vector<unsigned int> &         active_fe_index,
+        const std::vector<unsigned int>          &active_fe_index,
         const dealii::hp::MappingCollection<dim> &mapping);
 
       /**
@@ -245,11 +245,11 @@ namespace internal
        */
       void
       initialize_faces(
-        const dealii::Triangulation<dim> &                        tria,
+        const dealii::Triangulation<dim>                         &tria,
         const std::vector<std::pair<unsigned int, unsigned int>> &cells,
         const std::vector<FaceToCellTopology<VectorizedArrayType::size()>>
-          &                                       faces,
-        const std::vector<unsigned int> &         active_fe_index,
+                                                 &faces,
+        const std::vector<unsigned int>          &active_fe_index,
         const dealii::hp::MappingCollection<dim> &mapping);
 
       /**
@@ -258,10 +258,10 @@ namespace internal
        */
       void
       initialize_faces_by_cells(
-        const dealii::Triangulation<dim> &                        tria,
+        const dealii::Triangulation<dim>                         &tria,
         const std::vector<std::pair<unsigned int, unsigned int>> &cells,
-        const FaceInfo<VectorizedArrayType::size()> &             face_info,
-        const dealii::hp::MappingCollection<dim> &                mapping);
+        const FaceInfo<VectorizedArrayType::size()>              &face_info,
+        const dealii::hp::MappingCollection<dim>                 &mapping);
     };
 
 
index 8fb1dd5100220d54015c97564d8422a7922ea40f..dfbd342a040f52edc5856146a6ea38d6932d6f09 100644 (file)
@@ -62,12 +62,12 @@ namespace internal
     template <int dim, typename Number, typename VectorizedArrayType>
     void
     MappingInfo<dim, Number, VectorizedArrayType>::initialize(
-      const dealii::Triangulation<dim> &                        tria,
+      const dealii::Triangulation<dim>                         &tria,
       const std::vector<std::pair<unsigned int, unsigned int>> &cells,
-      const FaceInfo<VectorizedArrayType::size()> &             face_info,
-      const std::vector<unsigned int> &                         active_fe_index,
+      const FaceInfo<VectorizedArrayType::size()>              &face_info,
+      const std::vector<unsigned int>                          &active_fe_index,
       const std::shared_ptr<dealii::hp::MappingCollection<dim>> &mapping,
-      const std::vector<dealii::hp::QCollection<dim>> &          quad,
+      const std::vector<dealii::hp::QCollection<dim>>           &quad,
       const UpdateFlags update_flags_cells,
       const UpdateFlags update_flags_boundary_faces,
       const UpdateFlags update_flags_inner_faces,
@@ -205,10 +205,10 @@ namespace internal
     template <int dim, typename Number, typename VectorizedArrayType>
     void
     MappingInfo<dim, Number, VectorizedArrayType>::update_mapping(
-      const dealii::Triangulation<dim> &                        tria,
+      const dealii::Triangulation<dim>                         &tria,
       const std::vector<std::pair<unsigned int, unsigned int>> &cells,
-      const FaceInfo<VectorizedArrayType::size()> &             face_info,
-      const std::vector<unsigned int> &                         active_fe_index,
+      const FaceInfo<VectorizedArrayType::size()>              &face_info,
+      const std::vector<unsigned int>                          &active_fe_index,
       const std::shared_ptr<dealii::hp::MappingCollection<dim>> &mapping)
     {
       AssertDimension(cells.size() / VectorizedArrayType::size(),
@@ -245,7 +245,7 @@ namespace internal
     inline DEAL_II_ALWAYS_INLINE void
     store_vectorized_array(const VectorizedArrayType1 value,
                            const unsigned int         offset,
-                           VectorizedArrayType2 &     result)
+                           VectorizedArrayType2      &result)
     {
       static_assert(VectorizedArrayType2::size() >=
                       VectorizedArrayType1::size(),
@@ -409,15 +409,15 @@ namespace internal
        */
       template <int dim, typename VectorizedArrayType>
       void
-      evaluate_on_cell(const dealii::Triangulation<dim> &           tria,
+      evaluate_on_cell(const dealii::Triangulation<dim>            &tria,
                        const std::pair<unsigned int, unsigned int> *cells,
                        const unsigned int                           my_q,
-                       GeometryType &                               cell_t_prev,
-                       GeometryType *                               cell_t,
-                       dealii::FEValues<dim, dim> &                 fe_val,
+                       GeometryType                                &cell_t_prev,
+                       GeometryType                                *cell_t,
+                       dealii::FEValues<dim, dim>                  &fe_val,
                        LocalData<dim,
                                  typename VectorizedArrayType::value_type,
-                                 VectorizedArrayType> &             cell_data)
+                                 VectorizedArrayType>              &cell_data)
       {
         const unsigned int n_q_points   = fe_val.n_quadrature_points;
         const UpdateFlags  update_flags = fe_val.get_update_flags();
@@ -602,10 +602,10 @@ namespace internal
       void
       initialize_cell_range(
         const std::pair<unsigned int, unsigned int>               cell_range,
-        const dealii::Triangulation<dim> &                        tria,
+        const dealii::Triangulation<dim>                         &tria,
         const std::vector<std::pair<unsigned int, unsigned int>> &cells,
-        const std::vector<unsigned int> &              active_fe_index,
-        const dealii::hp::MappingCollection<dim> &     mapping,
+        const std::vector<unsigned int>               &active_fe_index,
+        const dealii::hp::MappingCollection<dim>      &mapping,
         MappingInfo<dim, Number, VectorizedArrayType> &mapping_info,
         std::pair<
           std::vector<MappingInfoStorage<dim, dim, VectorizedArrayType>>,
@@ -878,8 +878,8 @@ namespace internal
 
       template <typename CONTAINER>
       void
-      merge_compressed_data(const CONTAINER &          source,
-                            CONTAINER &                destination,
+      merge_compressed_data(const CONTAINER           &source,
+                            CONTAINER                 &destination,
                             std::vector<unsigned int> &indices)
       {
         indices.resize(source.size());
@@ -908,8 +908,8 @@ namespace internal
       copy_data(
         const unsigned int                first_cell,
         const std::array<std::size_t, 2> &data_shift,
-        const std::vector<unsigned int> indices_compressed,
-        const std::vector<GeometryType> cell_type,
+        const std::vector<unsigned int>  &indices_compressed,
+        const std::vector<GeometryType>  &cell_type,
         MappingInfoStorage<structdim, dim, VectorizedArrayType>
           &data_cells_local,
         MappingInfoStorage<structdim, dim, VectorizedArrayType> &data_cells)
@@ -994,12 +994,12 @@ namespace internal
       mapping_q_query_fe_values(
         const unsigned int                                        begin_cell,
         const unsigned int                                        end_cell,
-        const MappingQ<dim> &                                     mapping_q,
-        const dealii::Triangulation<dim> &                        tria,
+        const MappingQ<dim>                                      &mapping_q,
+        const dealii::Triangulation<dim>                         &tria,
         const std::vector<std::pair<unsigned int, unsigned int>> &cell_array,
         const double                                              jacobian_size,
         std::vector<GeometryType> &preliminary_cell_type,
-        AlignedVector<double> &    plain_quadrature_points,
+        AlignedVector<double>     &plain_quadrature_points,
         AlignedVector<std::array<Tensor<2, dim>, dim + 1>>
           &jacobians_on_stencil)
       {
@@ -1067,10 +1067,10 @@ namespace internal
       mapping_q_find_compression(
         const double jacobian_size,
         const AlignedVector<std::array<Tensor<2, dim>, dim + 1>>
-          &                          jacobians_on_stencil,
+                                    &jacobians_on_stencil,
         const unsigned int           n_mapping_points,
         const AlignedVector<double> &plain_quadrature_points,
-        std::vector<GeometryType> &  preliminary_cell_type)
+        std::vector<GeometryType>   &preliminary_cell_type)
       {
         std::vector<unsigned int> cell_data_index(jacobians_on_stencil.size());
 
@@ -1154,10 +1154,10 @@ namespace internal
       mapping_q_compute_range(
         const unsigned int                 begin_cell,
         const unsigned int                 end_cell,
-        const std::vector<GeometryType> &  cell_type,
-        const std::vector<bool> &          process_cell,
+        const std::vector<GeometryType>   &cell_type,
+        const std::vector<bool>           &process_cell,
         const UpdateFlags                  update_flags_cells,
-        const AlignedVector<double> &      plain_quadrature_points,
+        const AlignedVector<double>       &plain_quadrature_points,
         const ShapeInfo<VectorizedDouble> &shape_info,
         MappingInfoStorage<dim, dim, VectorizedArrayType> &my_data)
       {
@@ -1330,10 +1330,10 @@ namespace internal
     template <int dim, typename Number, typename VectorizedArrayType>
     void
     MappingInfo<dim, Number, VectorizedArrayType>::initialize_cells(
-      const dealii::Triangulation<dim> &                        tria,
+      const dealii::Triangulation<dim>                         &tria,
       const std::vector<std::pair<unsigned int, unsigned int>> &cells,
-      const std::vector<unsigned int> &                         active_fe_index,
-      const dealii::hp::MappingCollection<dim> &                mapping)
+      const std::vector<unsigned int>                          &active_fe_index,
+      const dealii::hp::MappingCollection<dim>                 &mapping)
     {
       const unsigned int n_cells = cells.size();
       const unsigned int n_lanes = VectorizedArrayType::size();
@@ -1575,12 +1575,12 @@ namespace internal
       void
       initialize_face_range(
         const std::pair<unsigned int, unsigned int>               face_range,
-        const dealii::Triangulation<dim> &                        tria,
+        const dealii::Triangulation<dim>                         &tria,
         const std::vector<std::pair<unsigned int, unsigned int>> &cells,
         const std::vector<FaceToCellTopology<VectorizedArrayType::size()>>
-          &                                            faces,
-        const std::vector<unsigned int> &              active_fe_index,
-        const dealii::hp::MappingCollection<dim> &     mapping_in,
+                                                      &faces,
+        const std::vector<unsigned int>               &active_fe_index,
+        const dealii::hp::MappingCollection<dim>      &mapping_in,
         MappingInfo<dim, Number, VectorizedArrayType> &mapping_info,
         std::pair<
           std::vector<MappingInfoStorage<dim - 1, dim, VectorizedArrayType>>,
@@ -2042,7 +2042,7 @@ namespace internal
         const unsigned int               last_face,
         const std::vector<GeometryType> &face_type,
         const std::vector<FaceToCellTopology<VectorizedArrayType::size()>>
-          &                                                    faces,
+                                                              &faces,
         MappingInfoStorage<dim - 1, dim, VectorizedArrayType> &data_faces)
       {
         for (unsigned int face = first_face; face < last_face; ++face)
@@ -2084,11 +2084,11 @@ namespace internal
         const unsigned int begin_face,
         const unsigned int end_face,
         const std::vector<FaceToCellTopology<VectorizedArrayType::size()>>
-          &                                faces,
-        const std::vector<GeometryType> &  face_type,
-        const std::vector<bool> &          process_face,
+                                          &faces,
+        const std::vector<GeometryType>   &face_type,
+        const std::vector<bool>           &process_face,
         const UpdateFlags                  update_flags_faces,
-        const AlignedVector<double> &      plain_quadrature_points,
+        const AlignedVector<double>       &plain_quadrature_points,
         const ShapeInfo<VectorizedDouble> &shape_info,
         MappingInfoStorage<dim - 1, dim, VectorizedArrayType> &my_data)
       {
@@ -2414,10 +2414,10 @@ namespace internal
     template <int dim, typename Number, typename VectorizedArrayType>
     void
     MappingInfo<dim, Number, VectorizedArrayType>::initialize_faces(
-      const dealii::Triangulation<dim> &                                  tria,
-      const std::vector<std::pair<unsigned int, unsigned int>> &          cells,
+      const dealii::Triangulation<dim>                                   &tria,
+      const std::vector<std::pair<unsigned int, unsigned int>>           &cells,
       const std::vector<FaceToCellTopology<VectorizedArrayType::size()>> &faces,
-      const std::vector<unsigned int> &         active_fe_index,
+      const std::vector<unsigned int>          &active_fe_index,
       const dealii::hp::MappingCollection<dim> &mapping)
     {
       face_type.resize(faces.size(), general);
@@ -2615,9 +2615,9 @@ namespace internal
     template <int dim, typename Number, typename VectorizedArrayType>
     void
     MappingInfo<dim, Number, VectorizedArrayType>::compute_mapping_q(
-      const dealii::Triangulation<dim> &                        tria,
+      const dealii::Triangulation<dim>                         &tria,
       const std::vector<std::pair<unsigned int, unsigned int>> &cell_array,
-      const FaceInfo<VectorizedArrayType::size()> &             face_info)
+      const FaceInfo<VectorizedArrayType::size()>              &face_info)
     {
       // step 1: extract quadrature point data with the data appropriate for
       // MappingQ
@@ -2987,10 +2987,10 @@ namespace internal
     template <int dim, typename Number, typename VectorizedArrayType>
     void
     MappingInfo<dim, Number, VectorizedArrayType>::initialize_faces_by_cells(
-      const dealii::Triangulation<dim> &                        tria,
+      const dealii::Triangulation<dim>                         &tria,
       const std::vector<std::pair<unsigned int, unsigned int>> &cells,
-      const FaceInfo<VectorizedArrayType::size()> &             face_info,
-      const dealii::hp::MappingCollection<dim> &                mapping_in)
+      const FaceInfo<VectorizedArrayType::size()>              &face_info,
+      const dealii::hp::MappingCollection<dim>                 &mapping_in)
     {
       if (update_flags_faces_by_cells == update_default)
         return;
@@ -3333,7 +3333,7 @@ namespace internal
     template <typename StreamType>
     void
     MappingInfo<dim, Number, VectorizedArrayType>::print_memory_consumption(
-      StreamType &    out,
+      StreamType     &out,
       const TaskInfo &task_info) const
     {
       out << "    Cell types:                      ";
index 7d3bb70cf86ea2828636c087398487a9ea7db93d..ed4da5e39fb0d2f7dbfde82e9ca3da85f8245ee8 100644 (file)
@@ -339,7 +339,7 @@ namespace internal
        */
       template <typename StreamType>
       void
-      print_memory_consumption(StreamType &    out,
+      print_memory_consumption(StreamType     &out,
                                const TaskInfo &task_info) const;
 
       /**
index 93191cf5e8eb5062acdeebf00f3831d2b8039b62..a30e475533d0e91eec92b1592cd5cd7a131e39cc 100644 (file)
@@ -197,7 +197,7 @@ namespace internal
     template <typename StreamType>
     void
     MappingInfoStorage<structdim, spacedim, Number>::print_memory_consumption(
-      StreamType &    out,
+      StreamType     &out,
       const TaskInfo &task_info) const
     {
       // print_memory_statistics involves global communication, so we can
index 7bee7b99fdd453ca54c9510cd1de15bb8cff3bc6..4a98536180dfa3607c09b9c4f5e2ffd605b5070d 100644 (file)
@@ -587,11 +587,11 @@ public:
    */
   template <typename QuadratureType, typename number2, typename MappingType>
   void
-  reinit(const MappingType &               mapping,
-         const DoFHandler<dim> &           dof_handler,
+  reinit(const MappingType                &mapping,
+         const DoFHandler<dim>            &dof_handler,
          const AffineConstraints<number2> &constraint,
-         const QuadratureType &            quad,
-         const AdditionalData &            additional_data = AdditionalData());
+         const QuadratureType             &quad,
+         const AdditionalData             &additional_data = AdditionalData());
 
   /**
    * Extracts the information needed to perform loops over cells. The
@@ -616,10 +616,10 @@ public:
    */
   template <typename QuadratureType, typename number2, typename MappingType>
   void
-  reinit(const MappingType &                                    mapping,
-         const std::vector<const DoFHandler<dim> *> &           dof_handler,
+  reinit(const MappingType                                     &mapping,
+         const std::vector<const DoFHandler<dim> *>            &dof_handler,
          const std::vector<const AffineConstraints<number2> *> &constraint,
-         const std::vector<QuadratureType> &                    quad,
+         const std::vector<QuadratureType>                     &quad,
          const AdditionalData &additional_data = AdditionalData());
 
   /**
@@ -631,10 +631,10 @@ public:
    */
   template <typename QuadratureType, typename number2, typename MappingType>
   void
-  reinit(const MappingType &                                    mapping,
-         const std::vector<const DoFHandler<dim> *> &           dof_handler,
+  reinit(const MappingType                                     &mapping,
+         const std::vector<const DoFHandler<dim> *>            &dof_handler,
          const std::vector<const AffineConstraints<number2> *> &constraint,
-         const QuadratureType &                                 quad,
+         const QuadratureType                                  &quad,
          const AdditionalData &additional_data = AdditionalData());
 
   /**
@@ -798,8 +798,8 @@ public:
               OutVector &,
               const InVector &,
               const std::pair<unsigned int, unsigned int> &)> &cell_operation,
-            OutVector &                                        dst,
-            const InVector &                                   src,
+            OutVector                                         &dst,
+            const InVector                                    &src,
             const bool zero_dst_vector = false) const;
 
   /**
@@ -855,8 +855,8 @@ public:
               OutVector &,
               const InVector &,
               const std::pair<unsigned int, unsigned int> &) const,
-            const CLASS *   owning_class,
-            OutVector &     dst,
+            const CLASS    *owning_class,
+            OutVector      &dst,
             const InVector &src,
             const bool      zero_dst_vector = false) const;
 
@@ -870,8 +870,8 @@ public:
               OutVector &,
               const InVector &,
               const std::pair<unsigned int, unsigned int> &),
-            CLASS *         owning_class,
-            OutVector &     dst,
+            CLASS          *owning_class,
+            OutVector      &dst,
             const InVector &src,
             const bool      zero_dst_vector = false) const;
 
@@ -966,13 +966,13 @@ public:
               OutVector &,
               const InVector &,
               const std::pair<unsigned int, unsigned int> &) const,
-            const CLASS *   owning_class,
-            OutVector &     dst,
+            const CLASS    *owning_class,
+            OutVector      &dst,
             const InVector &src,
             const std::function<void(const unsigned int, const unsigned int)>
               &operation_before_loop,
             const std::function<void(const unsigned int, const unsigned int)>
-              &                operation_after_loop,
+                              &operation_after_loop,
             const unsigned int dof_handler_index_pre_post = 0) const;
 
   /**
@@ -985,13 +985,13 @@ public:
               OutVector &,
               const InVector &,
               const std::pair<unsigned int, unsigned int> &),
-            CLASS *         owning_class,
-            OutVector &     dst,
+            CLASS          *owning_class,
+            OutVector      &dst,
             const InVector &src,
             const std::function<void(const unsigned int, const unsigned int)>
               &operation_before_loop,
             const std::function<void(const unsigned int, const unsigned int)>
-              &                operation_after_loop,
+                              &operation_after_loop,
             const unsigned int dof_handler_index_pre_post = 0) const;
 
   /**
@@ -1005,12 +1005,12 @@ public:
               OutVector &,
               const InVector &,
               const std::pair<unsigned int, unsigned int> &)> &cell_operation,
-            OutVector &                                        dst,
-            const InVector &                                   src,
+            OutVector                                         &dst,
+            const InVector                                    &src,
             const std::function<void(const unsigned int, const unsigned int)>
               &operation_before_loop,
             const std::function<void(const unsigned int, const unsigned int)>
-              &                operation_after_loop,
+                              &operation_after_loop,
             const unsigned int dof_handler_index_pre_post = 0) const;
 
   /**
@@ -1105,8 +1105,8 @@ public:
          OutVector &,
          const InVector &,
          const std::pair<unsigned int, unsigned int> &)> &boundary_operation,
-       OutVector &                                        dst,
-       const InVector &                                   src,
+       OutVector                                         &dst,
+       const InVector                                    &src,
        const bool              zero_dst_vector = false,
        const DataAccessOnFaces dst_vector_face_access =
          DataAccessOnFaces::unspecified,
@@ -1216,9 +1216,9 @@ public:
       OutVector &,
       const InVector &,
       const std::pair<unsigned int, unsigned int> &) const,
-    const CLASS *           owning_class,
-    OutVector &             dst,
-    const InVector &        src,
+    const CLASS            *owning_class,
+    OutVector              &dst,
+    const InVector         &src,
     const bool              zero_dst_vector = false,
     const DataAccessOnFaces dst_vector_face_access =
       DataAccessOnFaces::unspecified,
@@ -1245,9 +1245,9 @@ public:
          OutVector &,
          const InVector &,
          const std::pair<unsigned int, unsigned int> &),
-       CLASS *                 owning_class,
-       OutVector &             dst,
-       const InVector &        src,
+       CLASS                  *owning_class,
+       OutVector              &dst,
+       const InVector         &src,
        const bool              zero_dst_vector = false,
        const DataAccessOnFaces dst_vector_face_access =
          DataAccessOnFaces::unspecified,
@@ -1391,13 +1391,13 @@ public:
       OutVector &,
       const InVector &,
       const std::pair<unsigned int, unsigned int> &) const,
-    const CLASS *   owning_class,
-    OutVector &     dst,
+    const CLASS    *owning_class,
+    OutVector      &dst,
     const InVector &src,
     const std::function<void(const unsigned int, const unsigned int)>
       &operation_before_loop,
     const std::function<void(const unsigned int, const unsigned int)>
-      &                     operation_after_loop,
+                           &operation_after_loop,
     const unsigned int      dof_handler_index_pre_post = 0,
     const DataAccessOnFaces dst_vector_face_access =
       DataAccessOnFaces::unspecified,
@@ -1424,13 +1424,13 @@ public:
          OutVector &,
          const InVector &,
          const std::pair<unsigned int, unsigned int> &),
-       const CLASS *   owning_class,
-       OutVector &     dst,
+       const CLASS    *owning_class,
+       OutVector      &dst,
        const InVector &src,
        const std::function<void(const unsigned int, const unsigned int)>
          &operation_before_loop,
        const std::function<void(const unsigned int, const unsigned int)>
-         &                     operation_after_loop,
+                              &operation_after_loop,
        const unsigned int      dof_handler_index_pre_post = 0,
        const DataAccessOnFaces dst_vector_face_access =
          DataAccessOnFaces::unspecified,
@@ -1459,12 +1459,12 @@ public:
          OutVector &,
          const InVector &,
          const std::pair<unsigned int, unsigned int> &)> &boundary_operation,
-       OutVector &                                        dst,
-       const InVector &                                   src,
+       OutVector                                         &dst,
+       const InVector                                    &src,
        const std::function<void(const unsigned int, const unsigned int)>
          &operation_before_loop,
        const std::function<void(const unsigned int, const unsigned int)>
-         &                     operation_after_loop,
+                              &operation_after_loop,
        const unsigned int      dof_handler_index_pre_post = 0,
        const DataAccessOnFaces dst_vector_face_access =
          DataAccessOnFaces::unspecified,
@@ -1542,9 +1542,9 @@ public:
                       OutVector &,
                       const InVector &,
                       const std::pair<unsigned int, unsigned int> &) const,
-                    const CLASS *           owning_class,
-                    OutVector &             dst,
-                    const InVector &        src,
+                    const CLASS            *owning_class,
+                    OutVector              &dst,
+                    const InVector         &src,
                     const bool              zero_dst_vector = false,
                     const DataAccessOnFaces src_vector_face_access =
                       DataAccessOnFaces::unspecified) const;
@@ -1559,9 +1559,9 @@ public:
                       OutVector &,
                       const InVector &,
                       const std::pair<unsigned int, unsigned int> &),
-                    CLASS *                 owning_class,
-                    OutVector &             dst,
-                    const InVector &        src,
+                    CLASS                  *owning_class,
+                    OutVector              &dst,
+                    const InVector         &src,
                     const bool              zero_dst_vector = false,
                     const DataAccessOnFaces src_vector_face_access =
                       DataAccessOnFaces::unspecified) const;
@@ -1576,9 +1576,9 @@ public:
                              OutVector &,
                              const InVector &,
                              const std::pair<unsigned int, unsigned int> &)>
-      &                     cell_operation,
-    OutVector &             dst,
-    const InVector &        src,
+                           &cell_operation,
+    OutVector              &dst,
+    const InVector         &src,
     const bool              zero_dst_vector = false,
     const DataAccessOnFaces src_vector_face_access =
       DataAccessOnFaces::unspecified) const;
@@ -1666,7 +1666,7 @@ public:
    */
   template <typename VectorType>
   void
-  initialize_dof_vector(VectorType &       vec,
+  initialize_dof_vector(VectorType        &vec,
                         const unsigned int dof_handler_index = 0) const;
 
   /**
@@ -2217,12 +2217,12 @@ private:
   template <typename number2, int q_dim>
   void
   internal_reinit(
-    const std::shared_ptr<hp::MappingCollection<dim>> &    mapping,
-    const std::vector<const DoFHandler<dim, dim> *> &      dof_handlers,
+    const std::shared_ptr<hp::MappingCollection<dim>>     &mapping,
+    const std::vector<const DoFHandler<dim, dim> *>       &dof_handlers,
     const std::vector<const AffineConstraints<number2> *> &constraint,
-    const std::vector<IndexSet> &                          locally_owned_set,
-    const std::vector<hp::QCollection<q_dim>> &            quad,
-    const AdditionalData &                                 additional_data);
+    const std::vector<IndexSet>                           &locally_owned_set,
+    const std::vector<hp::QCollection<q_dim>>             &quad,
+    const AdditionalData                                  &additional_data);
 
   /**
    * Initializes the fields in DoFInfo together with the constraint pool that
@@ -2234,8 +2234,8 @@ private:
   void
   initialize_indices(
     const std::vector<const AffineConstraints<number2> *> &constraint,
-    const std::vector<IndexSet> &                          locally_owned_set,
-    const AdditionalData &                                 additional_data);
+    const std::vector<IndexSet>                           &locally_owned_set,
+    const AdditionalData                                  &additional_data);
 
   /**
    * Initializes the DoFHandlers based on a DoFHandler<dim> argument.
@@ -2243,7 +2243,7 @@ private:
   void
   initialize_dof_handlers(
     const std::vector<const DoFHandler<dim, dim> *> &dof_handlers,
-    const AdditionalData &                           additional_data);
+    const AdditionalData                            &additional_data);
 
   /**
    * Pointers to the DoFHandlers underlying the current problem.
@@ -2396,7 +2396,7 @@ template <int dim, typename Number, typename VectorizedArrayType>
 template <typename VectorType>
 inline void
 MatrixFree<dim, Number, VectorizedArrayType>::initialize_dof_vector(
-  VectorType &       vec,
+  VectorType        &vec,
   const unsigned int comp) const
 {
   static_assert(IsBlockVector<VectorType>::value == false,
@@ -3145,10 +3145,10 @@ template <int dim, typename Number, typename VectorizedArrayType>
 template <typename QuadratureType, typename number2, typename MappingType>
 void
 MatrixFree<dim, Number, VectorizedArrayType>::reinit(
-  const MappingType &               mapping,
-  const DoFHandler<dim> &           dof_handler,
+  const MappingType                &mapping,
+  const DoFHandler<dim>            &dof_handler,
   const AffineConstraints<number2> &constraints_in,
-  const QuadratureType &            quad,
+  const QuadratureType             &quad,
   const typename MatrixFree<dim, Number, VectorizedArrayType>::AdditionalData
     &additional_data)
 {
@@ -3179,10 +3179,10 @@ template <int dim, typename Number, typename VectorizedArrayType>
 template <typename QuadratureType, typename number2, typename MappingType>
 void
 MatrixFree<dim, Number, VectorizedArrayType>::reinit(
-  const MappingType &                                    mapping,
-  const std::vector<const DoFHandler<dim> *> &           dof_handler,
+  const MappingType                                     &mapping,
+  const std::vector<const DoFHandler<dim> *>            &dof_handler,
   const std::vector<const AffineConstraints<number2> *> &constraint,
-  const QuadratureType &                                 quad,
+  const QuadratureType                                  &quad,
   const typename MatrixFree<dim, Number, VectorizedArrayType>::AdditionalData
     &additional_data)
 {
@@ -3206,10 +3206,10 @@ template <int dim, typename Number, typename VectorizedArrayType>
 template <typename QuadratureType, typename number2, typename MappingType>
 void
 MatrixFree<dim, Number, VectorizedArrayType>::reinit(
-  const MappingType &                                    mapping,
-  const std::vector<const DoFHandler<dim> *> &           dof_handler,
+  const MappingType                                     &mapping,
+  const std::vector<const DoFHandler<dim> *>            &dof_handler,
   const std::vector<const AffineConstraints<number2> *> &constraint,
-  const std::vector<QuadratureType> &                    quad,
+  const std::vector<QuadratureType>                     &quad,
   const typename MatrixFree<dim, Number, VectorizedArrayType>::AdditionalData
     &additional_data)
 {
@@ -3399,7 +3399,7 @@ namespace internal
                                VectorType> * = nullptr>
     void
     update_ghost_values_start(const unsigned int component_in_block_vector,
-                              const VectorType vec)
+                              const VectorType  &vec)
     {
       (void)component_in_block_vector;
       const bool ghosts_set = vec.has_ghost_elements();
@@ -3427,7 +3427,7 @@ namespace internal
                                VectorType> * = nullptr>
     void
     update_ghost_values_start(const unsigned int component_in_block_vector,
-                              const VectorType vec)
+                              const VectorType  &vec)
     {
       (void)component_in_block_vector;
       const bool ghosts_set = vec.has_ghost_elements();
@@ -3456,7 +3456,7 @@ namespace internal
                                VectorType> * = nullptr>
     void
     update_ghost_values_start(const unsigned int component_in_block_vector,
-                              const VectorType vec)
+                              const VectorType  &vec)
     {
       static_assert(std::is_same_v<Number, typename VectorType::value_type>,
                     "Type mismatch between VectorType and VectorDataExchange");
@@ -3529,7 +3529,7 @@ namespace internal
                                VectorType> * = nullptr>
     void
     update_ghost_values_finish(const unsigned int component_in_block_vector,
-                               const VectorType vec)
+                               const VectorType  &vec)
     {
       (void)component_in_block_vector;
       vec.update_ghost_values_finish();
@@ -3549,7 +3549,7 @@ namespace internal
                                VectorType> * = nullptr>
     void
     update_ghost_values_finish(const unsigned int component_in_block_vector,
-                               const VectorType vec)
+                               const VectorType  &vec)
     {
       static_assert(std::is_same_v<Number, typename VectorType::value_type>,
                     "Type mismatch between VectorType and VectorDataExchange");
@@ -3613,7 +3613,7 @@ namespace internal
                                VectorType> * = nullptr>
     void
     compress_start(const unsigned int component_in_block_vector,
-                   VectorType &       vec)
+                   VectorType        &vec)
     {
       (void)component_in_block_vector;
       Assert(vec.has_ghost_elements() == false, ExcNotImplemented());
@@ -3633,7 +3633,7 @@ namespace internal
                                VectorType> * = nullptr>
     void
     compress_start(const unsigned int component_in_block_vector,
-                   VectorType &       vec)
+                   VectorType        &vec)
     {
       (void)component_in_block_vector;
       Assert(vec.has_ghost_elements() == false, ExcNotImplemented());
@@ -3654,7 +3654,7 @@ namespace internal
                                VectorType> * = nullptr>
     void
     compress_start(const unsigned int component_in_block_vector,
-                   VectorType &       vec)
+                   VectorType        &vec)
     {
       static_assert(std::is_same_v<Number, typename VectorType::value_type>,
                     "Type mismatch between VectorType and VectorDataExchange");
@@ -3720,7 +3720,7 @@ namespace internal
                                VectorType> * = nullptr>
     void
     compress_finish(const unsigned int component_in_block_vector,
-                    VectorType &       vec)
+                    VectorType        &vec)
     {
       (void)component_in_block_vector;
       vec.compress_finish(VectorOperation::add);
@@ -3740,7 +3740,7 @@ namespace internal
                                VectorType> * = nullptr>
     void
     compress_finish(const unsigned int component_in_block_vector,
-                    VectorType &       vec)
+                    VectorType        &vec)
     {
       static_assert(std::is_same_v<Number, typename VectorType::value_type>,
                     "Type mismatch between VectorType and VectorDataExchange");
@@ -3909,7 +3909,7 @@ namespace internal
      */
     template <typename VectorType,
               std::enable_if_t<!has_exchange_on_subset<VectorType>, VectorType>
-                *                               = nullptr,
+                                              * = nullptr,
               typename VectorType::value_type * = nullptr>
     void
     zero_vector_region(const unsigned int range_index, VectorType &vec) const
@@ -4067,7 +4067,7 @@ namespace internal
               * = nullptr>
   void
   update_ghost_values_start(
-    const VectorStruct &                                  vec,
+    const VectorStruct                                   &vec,
     VectorDataExchange<dim, Number, VectorizedArrayType> &exchanger,
     const unsigned int                                    channel = 0)
   {
@@ -4103,7 +4103,7 @@ namespace internal
               * = nullptr>
   void
   update_ghost_values_start(
-    const VectorStruct &                                  vec,
+    const VectorStruct                                   &vec,
     VectorDataExchange<dim, Number, VectorizedArrayType> &exchanger,
     const unsigned int                                    channel = 0)
   {
@@ -4119,7 +4119,7 @@ namespace internal
             typename VectorizedArrayType>
   inline void
   update_ghost_values_start(
-    const std::vector<VectorStruct> &                     vec,
+    const std::vector<VectorStruct>                      &vec,
     VectorDataExchange<dim, Number, VectorizedArrayType> &exchanger)
   {
     unsigned int component_index = 0;
@@ -4139,7 +4139,7 @@ namespace internal
             typename VectorizedArrayType>
   inline void
   update_ghost_values_start(
-    const std::vector<VectorStruct *> &                   vec,
+    const std::vector<VectorStruct *>                    &vec,
     VectorDataExchange<dim, Number, VectorizedArrayType> &exchanger)
   {
     unsigned int component_index = 0;
@@ -4165,7 +4165,7 @@ namespace internal
               * = nullptr>
   void
   update_ghost_values_finish(
-    const VectorStruct &                                  vec,
+    const VectorStruct                                   &vec,
     VectorDataExchange<dim, Number, VectorizedArrayType> &exchanger,
     const unsigned int                                    channel = 0)
   {
@@ -4190,7 +4190,7 @@ namespace internal
               * = nullptr>
   void
   update_ghost_values_finish(
-    const VectorStruct &                                  vec,
+    const VectorStruct                                   &vec,
     VectorDataExchange<dim, Number, VectorizedArrayType> &exchanger,
     const unsigned int                                    channel = 0)
   {
@@ -4206,7 +4206,7 @@ namespace internal
             typename VectorizedArrayType>
   inline void
   update_ghost_values_finish(
-    const std::vector<VectorStruct> &                     vec,
+    const std::vector<VectorStruct>                      &vec,
     VectorDataExchange<dim, Number, VectorizedArrayType> &exchanger)
   {
     unsigned int component_index = 0;
@@ -4226,7 +4226,7 @@ namespace internal
             typename VectorizedArrayType>
   inline void
   update_ghost_values_finish(
-    const std::vector<VectorStruct *> &                   vec,
+    const std::vector<VectorStruct *>                    &vec,
     VectorDataExchange<dim, Number, VectorizedArrayType> &exchanger)
   {
     unsigned int component_index = 0;
@@ -4252,7 +4252,7 @@ namespace internal
               * = nullptr>
   inline void
   compress_start(
-    VectorStruct &                                        vec,
+    VectorStruct                                         &vec,
     VectorDataExchange<dim, Number, VectorizedArrayType> &exchanger,
     const unsigned int                                    channel = 0)
   {
@@ -4274,7 +4274,7 @@ namespace internal
               * = nullptr>
   inline void
   compress_start(
-    VectorStruct &                                        vec,
+    VectorStruct                                         &vec,
     VectorDataExchange<dim, Number, VectorizedArrayType> &exchanger,
     const unsigned int                                    channel = 0)
   {
@@ -4290,7 +4290,7 @@ namespace internal
             typename VectorizedArrayType>
   inline void
   compress_start(
-    std::vector<VectorStruct> &                           vec,
+    std::vector<VectorStruct>                            &vec,
     VectorDataExchange<dim, Number, VectorizedArrayType> &exchanger)
   {
     unsigned int component_index = 0;
@@ -4310,7 +4310,7 @@ namespace internal
             typename VectorizedArrayType>
   inline void
   compress_start(
-    std::vector<VectorStruct *> &                         vec,
+    std::vector<VectorStruct *>                          &vec,
     VectorDataExchange<dim, Number, VectorizedArrayType> &exchanger)
   {
     unsigned int component_index = 0;
@@ -4336,7 +4336,7 @@ namespace internal
               * = nullptr>
   inline void
   compress_finish(
-    VectorStruct &                                        vec,
+    VectorStruct                                         &vec,
     VectorDataExchange<dim, Number, VectorizedArrayType> &exchanger,
     const unsigned int                                    channel = 0)
   {
@@ -4361,7 +4361,7 @@ namespace internal
               * = nullptr>
   inline void
   compress_finish(
-    VectorStruct &                                        vec,
+    VectorStruct                                         &vec,
     VectorDataExchange<dim, Number, VectorizedArrayType> &exchanger,
     const unsigned int                                    channel = 0)
   {
@@ -4377,7 +4377,7 @@ namespace internal
             typename VectorizedArrayType>
   inline void
   compress_finish(
-    std::vector<VectorStruct> &                           vec,
+    std::vector<VectorStruct>                            &vec,
     VectorDataExchange<dim, Number, VectorizedArrayType> &exchanger)
   {
     unsigned int component_index = 0;
@@ -4397,7 +4397,7 @@ namespace internal
             typename VectorizedArrayType>
   inline void
   compress_finish(
-    std::vector<VectorStruct *> &                         vec,
+    std::vector<VectorStruct *>                          &vec,
     VectorDataExchange<dim, Number, VectorizedArrayType> &exchanger)
   {
     unsigned int component_index = 0;
@@ -4427,7 +4427,7 @@ namespace internal
               * = nullptr>
   inline void
   reset_ghost_values(
-    const VectorStruct &                                  vec,
+    const VectorStruct                                   &vec,
     VectorDataExchange<dim, Number, VectorizedArrayType> &exchanger)
   {
     // return immediately if there is nothing to do.
@@ -4449,7 +4449,7 @@ namespace internal
               * = nullptr>
   inline void
   reset_ghost_values(
-    const VectorStruct &                                  vec,
+    const VectorStruct                                   &vec,
     VectorDataExchange<dim, Number, VectorizedArrayType> &exchanger)
   {
     exchanger.reset_ghost_values(vec);
@@ -4464,7 +4464,7 @@ namespace internal
             typename VectorizedArrayType>
   inline void
   reset_ghost_values(
-    const std::vector<VectorStruct> &                     vec,
+    const std::vector<VectorStruct>                      &vec,
     VectorDataExchange<dim, Number, VectorizedArrayType> &exchanger)
   {
     // return immediately if there is nothing to do.
@@ -4484,7 +4484,7 @@ namespace internal
             typename VectorizedArrayType>
   inline void
   reset_ghost_values(
-    const std::vector<VectorStruct *> &                   vec,
+    const std::vector<VectorStruct *>                    &vec,
     VectorDataExchange<dim, Number, VectorizedArrayType> &exchanger)
   {
     // return immediately if there is nothing to do.
@@ -4511,7 +4511,7 @@ namespace internal
   inline void
   zero_vector_region(
     const unsigned int                                    range_index,
-    VectorStruct &                                        vec,
+    VectorStruct                                         &vec,
     VectorDataExchange<dim, Number, VectorizedArrayType> &exchanger)
   {
     for (unsigned int i = 0; i < vec.n_blocks(); ++i)
@@ -4530,7 +4530,7 @@ namespace internal
   inline void
   zero_vector_region(
     const unsigned int                                    range_index,
-    VectorStruct &                                        vec,
+    VectorStruct                                         &vec,
     VectorDataExchange<dim, Number, VectorizedArrayType> &exchanger)
   {
     exchanger.zero_vector_region(range_index, vec);
@@ -4546,7 +4546,7 @@ namespace internal
   inline void
   zero_vector_region(
     const unsigned int                                    range_index,
-    std::vector<VectorStruct> &                           vec,
+    std::vector<VectorStruct>                            &vec,
     VectorDataExchange<dim, Number, VectorizedArrayType> &exchanger)
   {
     for (unsigned int comp = 0; comp < vec.size(); ++comp)
@@ -4563,7 +4563,7 @@ namespace internal
   inline void
   zero_vector_region(
     const unsigned int                                    range_index,
-    std::vector<VectorStruct *> &                         vec,
+    std::vector<VectorStruct *>                          &vec,
     VectorDataExchange<dim, Number, VectorizedArrayType> &exchanger)
   {
     for (unsigned int comp = 0; comp < vec.size(); ++comp)
@@ -4585,9 +4585,9 @@ namespace internal
   template <typename Number>
   inline void
   apply_operation_to_constrained_dofs(
-    const std::vector<unsigned int> &                 constrained_dofs,
+    const std::vector<unsigned int>                  &constrained_dofs,
     const LinearAlgebra::distributed::Vector<Number> &src,
-    LinearAlgebra::distributed::Vector<Number> &      dst)
+    LinearAlgebra::distributed::Vector<Number>       &dst)
   {
     for (const unsigned int i : constrained_dofs)
       dst.local_element(i) = src.local_element(i);
@@ -4649,11 +4649,11 @@ namespace internal
         function_type;
 
     // constructor, binds all the arguments to this class
-    MFWorker(const MF &                           matrix_free,
-             const InVector &                     src,
-             OutVector &                          dst,
+    MFWorker(const MF                            &matrix_free,
+             const InVector                      &src,
+             OutVector                           &dst,
              const bool                           zero_dst_vector_setting,
-             const Container &                    container,
+             const Container                     &container,
              function_type                        cell_function,
              function_type                        face_function,
              function_type                        boundary_function,
@@ -4664,7 +4664,7 @@ namespace internal
              const std::function<void(const unsigned int, const unsigned int)>
                &operation_before_loop = {},
              const std::function<void(const unsigned int, const unsigned int)>
-               &                operation_after_loop       = {},
+                               &operation_after_loop       = {},
              const unsigned int dof_handler_index_pre_post = 0)
       : matrix_free(matrix_free)
       , container(const_cast<Container &>(container))
@@ -4738,7 +4738,7 @@ namespace internal
 
   private:
     void
-    process_range(const function_type &            fu,
+    process_range(const function_type             &fu,
                   const std::vector<unsigned int> &ptr,
                   const std::vector<unsigned int> &data,
                   const unsigned int               range_index)
@@ -4875,14 +4875,14 @@ namespace internal
     }
 
   private:
-    const MF &    matrix_free;
-    Container &   container;
+    const MF     &matrix_free;
+    Container    &container;
     function_type cell_function;
     function_type face_function;
     function_type boundary_function;
 
     const InVector &src;
-    OutVector &     dst;
+    OutVector      &dst;
     VectorDataExchange<MF::dimension,
                        typename MF::value_type,
                        typename MF::vectorized_value_type>
@@ -4924,9 +4924,9 @@ namespace internal
     {}
 
     void
-    cell_integrator(const MF &                                   mf,
-                    OutVector &                                  dst,
-                    const InVector &                             src,
+    cell_integrator(const MF                                    &mf,
+                    OutVector                                   &dst,
+                    const InVector                              &src,
                     const std::pair<unsigned int, unsigned int> &range) const
     {
       if (cell)
@@ -4934,9 +4934,9 @@ namespace internal
     }
 
     void
-    face_integrator(const MF &                                   mf,
-                    OutVector &                                  dst,
-                    const InVector &                             src,
+    face_integrator(const MF                                    &mf,
+                    OutVector                                   &dst,
+                    const InVector                              &src,
                     const std::pair<unsigned int, unsigned int> &range) const
     {
       if (face)
@@ -4945,9 +4945,9 @@ namespace internal
 
     void
     boundary_integrator(
-      const MF &                                   mf,
-      OutVector &                                  dst,
-      const InVector &                             src,
+      const MF                                    &mf,
+      OutVector                                   &dst,
+      const InVector                              &src,
       const std::pair<unsigned int, unsigned int> &range) const
     {
       if (boundary)
@@ -4971,8 +4971,8 @@ MatrixFree<dim, Number, VectorizedArrayType>::cell_loop(
                            OutVector &,
                            const InVector &,
                            const std::pair<unsigned int, unsigned int> &)>
-    &             cell_operation,
-  OutVector &     dst,
+                 &cell_operation,
+  OutVector      &dst,
   const InVector &src,
   const bool      zero_dst_vector) const
 {
@@ -5008,13 +5008,13 @@ MatrixFree<dim, Number, VectorizedArrayType>::cell_loop(
                            OutVector &,
                            const InVector &,
                            const std::pair<unsigned int, unsigned int> &)>
-    &             cell_operation,
-  OutVector &     dst,
+                 &cell_operation,
+  OutVector      &dst,
   const InVector &src,
   const std::function<void(const unsigned int, const unsigned int)>
     &operation_before_loop,
   const std::function<void(const unsigned int, const unsigned int)>
-    &                operation_after_loop,
+                    &operation_after_loop,
   const unsigned int dof_handler_index_pre_post) const
 {
   using Wrapper =
@@ -5064,9 +5064,9 @@ MatrixFree<dim, Number, VectorizedArrayType>::loop(
                            OutVector &,
                            const InVector &,
                            const std::pair<unsigned int, unsigned int> &)>
-    &                     boundary_operation,
-  OutVector &             dst,
-  const InVector &        src,
+                         &boundary_operation,
+  OutVector              &dst,
+  const InVector         &src,
   const bool              zero_dst_vector,
   const DataAccessOnFaces dst_vector_face_access,
   const DataAccessOnFaces src_vector_face_access) const
@@ -5106,8 +5106,8 @@ MatrixFree<dim, Number, VectorizedArrayType>::cell_loop(
     OutVector &,
     const InVector &,
     const std::pair<unsigned int, unsigned int> &) const,
-  const CLASS *   owning_class,
-  OutVector &     dst,
+  const CLASS    *owning_class,
+  OutVector      &dst,
   const InVector &src,
   const bool      zero_dst_vector) const
 {
@@ -5138,13 +5138,13 @@ MatrixFree<dim, Number, VectorizedArrayType>::cell_loop(
     OutVector &,
     const InVector &,
     const std::pair<unsigned int, unsigned int> &) const,
-  const CLASS *   owning_class,
-  OutVector &     dst,
+  const CLASS    *owning_class,
+  OutVector      &dst,
   const InVector &src,
   const std::function<void(const unsigned int, const unsigned int)>
     &operation_before_loop,
   const std::function<void(const unsigned int, const unsigned int)>
-    &                operation_after_loop,
+                    &operation_after_loop,
   const unsigned int dof_handler_index_pre_post) const
 {
   internal::MFWorker<MatrixFree<dim, Number, VectorizedArrayType>,
@@ -5189,9 +5189,9 @@ MatrixFree<dim, Number, VectorizedArrayType>::loop(
     OutVector &,
     const InVector &,
     const std::pair<unsigned int, unsigned int> &) const,
-  const CLASS *           owning_class,
-  OutVector &             dst,
-  const InVector &        src,
+  const CLASS            *owning_class,
+  OutVector              &dst,
+  const InVector         &src,
   const bool              zero_dst_vector,
   const DataAccessOnFaces dst_vector_face_access,
   const DataAccessOnFaces src_vector_face_access) const
@@ -5225,8 +5225,8 @@ MatrixFree<dim, Number, VectorizedArrayType>::cell_loop(
     OutVector &,
     const InVector &,
     const std::pair<unsigned int, unsigned int> &),
-  CLASS *         owning_class,
-  OutVector &     dst,
+  CLASS          *owning_class,
+  OutVector      &dst,
   const InVector &src,
   const bool      zero_dst_vector) const
 {
@@ -5257,13 +5257,13 @@ MatrixFree<dim, Number, VectorizedArrayType>::cell_loop(
     OutVector &,
     const InVector &,
     const std::pair<unsigned int, unsigned int> &),
-  CLASS *         owning_class,
-  OutVector &     dst,
+  CLASS          *owning_class,
+  OutVector      &dst,
   const InVector &src,
   const std::function<void(const unsigned int, const unsigned int)>
     &operation_before_loop,
   const std::function<void(const unsigned int, const unsigned int)>
-    &                operation_after_loop,
+                    &operation_after_loop,
   const unsigned int dof_handler_index_pre_post) const
 {
   internal::MFWorker<MatrixFree<dim, Number, VectorizedArrayType>,
@@ -5308,9 +5308,9 @@ MatrixFree<dim, Number, VectorizedArrayType>::loop(
     OutVector &,
     const InVector &,
     const std::pair<unsigned int, unsigned int> &),
-  CLASS *                 owning_class,
-  OutVector &             dst,
-  const InVector &        src,
+  CLASS                  *owning_class,
+  OutVector              &dst,
+  const InVector         &src,
   const bool              zero_dst_vector,
   const DataAccessOnFaces dst_vector_face_access,
   const DataAccessOnFaces src_vector_face_access) const
@@ -5353,13 +5353,13 @@ MatrixFree<dim, Number, VectorizedArrayType>::loop(
                            OutVector &,
                            const InVector &,
                            const std::pair<unsigned int, unsigned int> &)>
-    &             boundary_operation,
-  OutVector &     dst,
+                 &boundary_operation,
+  OutVector      &dst,
   const InVector &src,
   const std::function<void(const unsigned int, const unsigned int)>
     &operation_before_loop,
   const std::function<void(const unsigned int, const unsigned int)>
-    &                     operation_after_loop,
+                         &operation_after_loop,
   const unsigned int      dof_handler_index_pre_post,
   const DataAccessOnFaces dst_vector_face_access,
   const DataAccessOnFaces src_vector_face_access) const
@@ -5412,13 +5412,13 @@ MatrixFree<dim, Number, VectorizedArrayType>::loop(
     OutVector &,
     const InVector &,
     const std::pair<unsigned int, unsigned int> &) const,
-  const CLASS *   owning_class,
-  OutVector &     dst,
+  const CLASS    *owning_class,
+  OutVector      &dst,
   const InVector &src,
   const std::function<void(const unsigned int, const unsigned int)>
     &operation_before_loop,
   const std::function<void(const unsigned int, const unsigned int)>
-    &                     operation_after_loop,
+                         &operation_after_loop,
   const unsigned int      dof_handler_index_pre_post,
   const DataAccessOnFaces dst_vector_face_access,
   const DataAccessOnFaces src_vector_face_access) const
@@ -5463,13 +5463,13 @@ MatrixFree<dim, Number, VectorizedArrayType>::loop(
     OutVector &,
     const InVector &,
     const std::pair<unsigned int, unsigned int> &),
-  const CLASS *   owning_class,
-  OutVector &     dst,
+  const CLASS    *owning_class,
+  OutVector      &dst,
   const InVector &src,
   const std::function<void(const unsigned int, const unsigned int)>
     &operation_before_loop,
   const std::function<void(const unsigned int, const unsigned int)>
-    &                     operation_after_loop,
+                         &operation_after_loop,
   const unsigned int      dof_handler_index_pre_post,
   const DataAccessOnFaces dst_vector_face_access,
   const DataAccessOnFaces src_vector_face_access) const
@@ -5506,9 +5506,9 @@ MatrixFree<dim, Number, VectorizedArrayType>::loop_cell_centric(
     OutVector &,
     const InVector &,
     const std::pair<unsigned int, unsigned int> &) const,
-  const CLASS *           owning_class,
-  OutVector &             dst,
-  const InVector &        src,
+  const CLASS            *owning_class,
+  OutVector              &dst,
+  const InVector         &src,
   const bool              zero_dst_vector,
   const DataAccessOnFaces src_vector_face_access) const
 {
@@ -5547,9 +5547,9 @@ MatrixFree<dim, Number, VectorizedArrayType>::loop_cell_centric(
     OutVector &,
     const InVector &,
     const std::pair<unsigned int, unsigned int> &),
-  CLASS *                 owning_class,
-  OutVector &             dst,
-  const InVector &        src,
+  CLASS                  *owning_class,
+  OutVector              &dst,
+  const InVector         &src,
   const bool              zero_dst_vector,
   const DataAccessOnFaces src_vector_face_access) const
 {
@@ -5587,9 +5587,9 @@ MatrixFree<dim, Number, VectorizedArrayType>::loop_cell_centric(
                            OutVector &,
                            const InVector &,
                            const std::pair<unsigned int, unsigned int> &)>
-    &                     cell_operation,
-  OutVector &             dst,
-  const InVector &        src,
+                         &cell_operation,
+  OutVector              &dst,
+  const InVector         &src,
   const bool              zero_dst_vector,
   const DataAccessOnFaces src_vector_face_access) const
 {
index 57738f52fc20af8a7296d1bf004d3661931dd1d6..2477979744913cb15f88ab735ca2e7d92e8c753a 100644 (file)
@@ -161,7 +161,7 @@ namespace
     template <int vectorization_width>
     bool
     operator()(const internal::MatrixFreeFunctions::FaceToCellTopology<
-                 vectorization_width> &           face,
+                 vectorization_width>            &face,
                const std::array<unsigned int, 2> &fe_index)
     {
       const unsigned int face_type = face.face_type;
@@ -178,7 +178,7 @@ namespace
     template <int vectorization_width>
     bool
     operator()(const internal::MatrixFreeFunctions::FaceToCellTopology<
-                 vectorization_width> &           face,
+                 vectorization_width>            &face,
                const std::array<unsigned int, 3> &fe_index)
     {
       const unsigned int face_type = face.face_type;
@@ -373,7 +373,7 @@ namespace internal
   template <typename Number>
   void
   store_affine_constraints(
-    const dealii::AffineConstraints<Number> *              affine_constraints,
+    const dealii::AffineConstraints<Number>               *affine_constraints,
     SmartPointer<const dealii::AffineConstraints<Number>> &stored_constraints)
   {
     stored_constraints = affine_constraints;
@@ -386,11 +386,11 @@ template <int dim, typename Number, typename VectorizedArrayType>
 template <typename number2, int q_dim>
 void
 MatrixFree<dim, Number, VectorizedArrayType>::internal_reinit(
-  const std::shared_ptr<hp::MappingCollection<dim>> &    mapping,
-  const std::vector<const DoFHandler<dim, dim> *> &      dof_handler,
+  const std::shared_ptr<hp::MappingCollection<dim>>     &mapping,
+  const std::vector<const DoFHandler<dim, dim> *>       &dof_handler,
   const std::vector<const AffineConstraints<number2> *> &constraints,
-  const std::vector<IndexSet> &                          locally_owned_dofs,
-  const std::vector<hp::QCollection<q_dim>> &            quad,
+  const std::vector<IndexSet>                           &locally_owned_dofs,
+  const std::vector<hp::QCollection<q_dim>>             &quad,
   const typename MatrixFree<dim, Number, VectorizedArrayType>::AdditionalData
     &additional_data)
 {
@@ -919,7 +919,7 @@ namespace internal
     // steps through all children and adds the active cells recursively
     template <typename InIterator>
     void
-    resolve_cell(const InIterator &                                  cell,
+    resolve_cell(const InIterator                                   &cell,
                  std::vector<std::pair<unsigned int, unsigned int>> &cell_its)
     {
       if (cell->has_children())
@@ -940,7 +940,7 @@ template <int dim, typename Number, typename VectorizedArrayType>
 void
 MatrixFree<dim, Number, VectorizedArrayType>::initialize_dof_handlers(
   const std::vector<const DoFHandler<dim, dim> *> &dof_handler_in,
-  const AdditionalData &                           additional_data)
+  const AdditionalData                            &additional_data)
 {
   cell_level_index.clear();
   dof_handlers.resize(dof_handler_in.size());
@@ -1031,7 +1031,7 @@ namespace internal
   fill_connectivity_subrange(
     const unsigned int                                        begin,
     const unsigned int                                        end,
-    const dealii::Triangulation<dim> &                        tria,
+    const dealii::Triangulation<dim>                         &tria,
     const std::vector<std::pair<unsigned int, unsigned int>> &cell_level_index,
     const tbb::concurrent_unordered_map<std::pair<unsigned int, unsigned int>,
                                         unsigned int
@@ -1040,7 +1040,7 @@ namespace internal
                                         unsigned_int_pair_hash
 #  endif
                                         > &map,
-    DynamicSparsityPattern &               connectivity_direct)
+    DynamicSparsityPattern                &connectivity_direct)
   {
     std::vector<types::global_dof_index> new_indices;
     for (unsigned int cell = begin; cell < end; ++cell)
@@ -1081,7 +1081,7 @@ namespace internal
     const unsigned int            begin,
     const unsigned int            end,
     const DynamicSparsityPattern &connectivity_direct,
-    DynamicSparsityPattern &      connectivity)
+    DynamicSparsityPattern       &connectivity)
   {
     std::vector<types::global_dof_index> new_indices;
     for (unsigned int block = begin; block < end; ++block)
@@ -1115,7 +1115,7 @@ namespace internal
   std::vector<bool>
   compute_dof_info(
     const std::vector<const dealii::AffineConstraints<number> *> &constraint,
-    const std::vector<IndexSet> &                           locally_owned_dofs,
+    const std::vector<IndexSet>                            &locally_owned_dofs,
     const std::vector<SmartPointer<const DoFHandler<dim>>> &dof_handlers,
     const Table<2, MatrixFreeFunctions::ShapeInfo<double>> &shape_infos,
     const unsigned int               cell_level_index_end_local,
@@ -1126,11 +1126,11 @@ namespace internal
     const bool                       do_face_integrals,
     const bool                       build_inner_faces,
     const bool                       overlap_communication_computation,
-    MatrixFreeFunctions::TaskInfo &  task_info,
+    MatrixFreeFunctions::TaskInfo   &task_info,
     std::vector<std::pair<unsigned int, unsigned int>> &cell_level_index,
-    std::vector<MatrixFreeFunctions::DoFInfo> &         dof_info,
-    MatrixFreeFunctions::FaceSetup<dim> &               face_setup,
-    MatrixFreeFunctions::ConstraintValues<double> &     constraint_values,
+    std::vector<MatrixFreeFunctions::DoFInfo>          &dof_info,
+    MatrixFreeFunctions::FaceSetup<dim>                &face_setup,
+    MatrixFreeFunctions::ConstraintValues<double>      &constraint_values,
     const bool use_vector_data_exchanger_full)
   {
     if (do_face_integrals)
@@ -1542,7 +1542,7 @@ namespace internal
                 &tria, cell_level_index[c].first, cell_level_index[c].second);
               Assert(cell->level() > 0, ExcInternalError());
               const auto parent = cell->parent();
-              auto &     entry = cell_parents[parent->level()][parent->index()];
+              auto      &entry = cell_parents[parent->level()][parent->index()];
               entry.second[entry.first++] = c;
             }
         unsigned int position = 0;
@@ -1847,8 +1847,8 @@ template <typename number2>
 void
 MatrixFree<dim, Number, VectorizedArrayType>::initialize_indices(
   const std::vector<const AffineConstraints<number2> *> &constraint,
-  const std::vector<IndexSet> &                          locally_owned_dofs,
-  const AdditionalData &                                 additional_data)
+  const std::vector<IndexSet>                           &locally_owned_dofs,
+  const AdditionalData                                  &additional_data)
 {
   // insert possible ghost cells and construct face topology
   const bool do_face_integrals =
index c8a77af809c277ba07249251ebbf589694a42c25..bc70b45ba0146384ab9f19eb9d1ba55bec46a4ff 100644 (file)
@@ -255,7 +255,7 @@ namespace MatrixFreeOperators
     void
     initialize(std::shared_ptr<
                  const MatrixFree<dim, value_type, VectorizedArrayType>> data,
-               const MGConstrainedDoFs &        mg_constrained_dofs,
+               const MGConstrainedDoFs         &mg_constrained_dofs,
                const unsigned int               level,
                const std::vector<unsigned int> &selected_row_blocks =
                  std::vector<unsigned int>());
@@ -279,7 +279,7 @@ namespace MatrixFreeOperators
                  const MatrixFree<dim, value_type, VectorizedArrayType>> data_,
                const std::vector<MGConstrainedDoFs> &mg_constrained_dofs,
                const unsigned int                    level,
-               const std::vector<unsigned int> &     selected_row_blocks =
+               const std::vector<unsigned int>      &selected_row_blocks =
                  std::vector<unsigned int>());
 
     /**
@@ -389,7 +389,7 @@ namespace MatrixFreeOperators
      * multiplies the result with the relaxation factor <tt>omega</tt>.
      */
     void
-    precondition_Jacobi(VectorType &      dst,
+    precondition_Jacobi(VectorType       &dst,
                         const VectorType &src,
                         const value_type  omega) const;
 
@@ -482,7 +482,7 @@ namespace MatrixFreeOperators
      * Tvmult_add (@p transpose = true).
      */
     void
-    mult_add(VectorType &      dst,
+    mult_add(VectorType       &dst,
              const VectorType &src,
              const bool        transpose) const;
 
@@ -649,8 +649,8 @@ namespace MatrixFreeOperators
     void
     apply(const AlignedVector<VectorizedArrayType> &inverse_coefficient,
           const unsigned int                        n_actual_components,
-          const VectorizedArrayType *               in_array,
-          VectorizedArrayType *                     out_array) const;
+          const VectorizedArrayType                *in_array,
+          VectorizedArrayType                      *out_array) const;
 
     /**
      * Applies the inverse @ref GlossMassMatrix "mass matrix" operation on an input array, using the
@@ -665,7 +665,7 @@ namespace MatrixFreeOperators
      */
     void
     apply(const VectorizedArrayType *in_array,
-          VectorizedArrayType *      out_array) const;
+          VectorizedArrayType       *out_array) const;
 
     /**
      * This operation applies the inverse @ref GlossMassMatrix "mass matrix"
@@ -681,9 +681,9 @@ namespace MatrixFreeOperators
      */
     void
     apply(const AlignedVector<Tensor<2, n_components, VectorizedArrayType>>
-            &                        inverse_dyadic_coefficients,
+                                    &inverse_dyadic_coefficients,
           const VectorizedArrayType *in_array,
-          VectorizedArrayType *      out_array) const;
+          VectorizedArrayType       *out_array) const;
 
     /**
      * This operation performs a projection from the data given in quadrature
@@ -831,9 +831,9 @@ namespace MatrixFreeOperators
     void
     local_apply_cell(
       const MatrixFree<dim, value_type, VectorizedArrayType> &data,
-      VectorType &                                            dst,
-      const VectorType &                                      src,
-      const std::pair<unsigned int, unsigned int> &           cell_range) const;
+      VectorType                                             &dst,
+      const VectorType                                       &src,
+      const std::pair<unsigned int, unsigned int>            &cell_range) const;
 
     /**
      * A shared pointer to a diagonal matrix that stores the
@@ -981,9 +981,9 @@ namespace MatrixFreeOperators
     void
     local_apply_cell(
       const MatrixFree<dim, value_type, VectorizedArrayType> &data,
-      VectorType &                                            dst,
-      const VectorType &                                      src,
-      const std::pair<unsigned int, unsigned int> &           cell_range) const;
+      VectorType                                             &dst,
+      const VectorType                                       &src,
+      const std::pair<unsigned int, unsigned int>            &cell_range) const;
 
     /**
      * Apply diagonal part of the Laplace operator on a cell.
@@ -991,7 +991,7 @@ namespace MatrixFreeOperators
     void
     local_diagonal_cell(
       const MatrixFree<dim, value_type, VectorizedArrayType> &data,
-      VectorType &                                            dst,
+      VectorType                                             &dst,
       const VectorType &,
       const std::pair<unsigned int, unsigned int> &cell_range) const;
 
@@ -1087,7 +1087,7 @@ namespace MatrixFreeOperators
     n_components,
     Number,
     VectorizedArrayType>::apply(const VectorizedArrayType *in_array,
-                                VectorizedArrayType *      out_array) const
+                                VectorizedArrayType       *out_array) const
   {
     if (fe_degree > -1)
       internal::CellwiseInverseMassMatrixImplBasic<dim, VectorizedArrayType>::
@@ -1112,8 +1112,8 @@ namespace MatrixFreeOperators
                             VectorizedArrayType>::
     apply(const AlignedVector<VectorizedArrayType> &inverse_coefficients,
           const unsigned int                        n_actual_components,
-          const VectorizedArrayType *               in_array,
-          VectorizedArrayType *                     out_array) const
+          const VectorizedArrayType                *in_array,
+          VectorizedArrayType                      *out_array) const
   {
     if (fe_degree > -1)
       internal::CellwiseInverseMassMatrixImplFlexible<
@@ -1147,9 +1147,9 @@ namespace MatrixFreeOperators
                             Number,
                             VectorizedArrayType>::
     apply(const AlignedVector<Tensor<2, n_components, VectorizedArrayType>>
-            &                        inverse_dyadic_coefficients,
+                                    &inverse_dyadic_coefficients,
           const VectorizedArrayType *in_array,
-          VectorizedArrayType *      out_array) const
+          VectorizedArrayType       *out_array) const
   {
     const unsigned int unrolled_size =
       inverse_dyadic_coefficients.size() * (n_components * n_components);
@@ -1191,7 +1191,7 @@ namespace MatrixFreeOperators
                             VectorizedArrayType>::
     transform_from_q_points_to_basis(const unsigned int n_actual_components,
                                      const VectorizedArrayType *in_array,
-                                     VectorizedArrayType *      out_array) const
+                                     VectorizedArrayType       *out_array) const
   {
     const auto n_q_points_1d = fe_eval.get_shape_info().data[0].n_q_points_1d;
 
@@ -1358,7 +1358,7 @@ namespace MatrixFreeOperators
   Base<dim, VectorType, VectorizedArrayType>::initialize(
     std::shared_ptr<const MatrixFree<dim, value_type, VectorizedArrayType>>
                                      data_,
-    const MGConstrainedDoFs &        mg_constrained_dofs,
+    const MGConstrainedDoFs         &mg_constrained_dofs,
     const unsigned int               level,
     const std::vector<unsigned int> &given_row_selection)
   {
@@ -1376,7 +1376,7 @@ namespace MatrixFreeOperators
                                           data_,
     const std::vector<MGConstrainedDoFs> &mg_constrained_dofs,
     const unsigned int                    level,
-    const std::vector<unsigned int> &     given_row_selection)
+    const std::vector<unsigned int>      &given_row_selection)
   {
     AssertThrow(level != numbers::invalid_unsigned_int,
                 ExcMessage("level is not set"));
@@ -1460,7 +1460,7 @@ namespace MatrixFreeOperators
 
   template <int dim, typename VectorType, typename VectorizedArrayType>
   void
-  Base<dim, VectorType, VectorizedArrayType>::vmult(VectorType &      dst,
+  Base<dim, VectorType, VectorizedArrayType>::vmult(VectorType       &dst,
                                                     const VectorType &src) const
   {
     using Number =
@@ -1474,7 +1474,7 @@ namespace MatrixFreeOperators
   template <int dim, typename VectorType, typename VectorizedArrayType>
   void
   Base<dim, VectorType, VectorizedArrayType>::vmult_add(
-    VectorType &      dst,
+    VectorType       &dst,
     const VectorType &src) const
   {
     mult_add(dst, src, false);
@@ -1485,7 +1485,7 @@ namespace MatrixFreeOperators
   template <int dim, typename VectorType, typename VectorizedArrayType>
   void
   Base<dim, VectorType, VectorizedArrayType>::Tvmult_add(
-    VectorType &      dst,
+    VectorType       &dst,
     const VectorType &src) const
   {
     mult_add(dst, src, true);
@@ -1538,7 +1538,7 @@ namespace MatrixFreeOperators
   template <int dim, typename VectorType, typename VectorizedArrayType>
   void
   Base<dim, VectorType, VectorizedArrayType>::preprocess_constraints(
-    VectorType &      dst,
+    VectorType       &dst,
     const VectorType &src) const
   {
     using Number =
@@ -1568,7 +1568,7 @@ namespace MatrixFreeOperators
   template <int dim, typename VectorType, typename VectorizedArrayType>
   void
   Base<dim, VectorType, VectorizedArrayType>::mult_add(
-    VectorType &      dst,
+    VectorType       &dst,
     const VectorType &src,
     const bool        transpose) const
   {
@@ -1588,7 +1588,7 @@ namespace MatrixFreeOperators
   template <int dim, typename VectorType, typename VectorizedArrayType>
   void
   Base<dim, VectorType, VectorizedArrayType>::postprocess_constraints(
-    VectorType &      dst,
+    VectorType       &dst,
     const VectorType &src) const
   {
     for (unsigned int j = 0; j < BlockHelper::n_blocks(dst); ++j)
@@ -1622,7 +1622,7 @@ namespace MatrixFreeOperators
   template <int dim, typename VectorType, typename VectorizedArrayType>
   void
   Base<dim, VectorType, VectorizedArrayType>::vmult_interface_down(
-    VectorType &      dst,
+    VectorType       &dst,
     const VectorType &src) const
   {
     using Number =
@@ -1676,7 +1676,7 @@ namespace MatrixFreeOperators
   template <int dim, typename VectorType, typename VectorizedArrayType>
   void
   Base<dim, VectorType, VectorizedArrayType>::vmult_interface_up(
-    VectorType &      dst,
+    VectorType       &dst,
     const VectorType &src) const
   {
     using Number =
@@ -1717,7 +1717,7 @@ namespace MatrixFreeOperators
   template <int dim, typename VectorType, typename VectorizedArrayType>
   void
   Base<dim, VectorType, VectorizedArrayType>::Tvmult(
-    VectorType &      dst,
+    VectorType       &dst,
     const VectorType &src) const
   {
     using Number =
@@ -1778,7 +1778,7 @@ namespace MatrixFreeOperators
   template <int dim, typename VectorType, typename VectorizedArrayType>
   void
   Base<dim, VectorType, VectorizedArrayType>::Tapply_add(
-    VectorType &      dst,
+    VectorType       &dst,
     const VectorType &src) const
   {
     apply_add(dst, src);
@@ -1789,8 +1789,8 @@ namespace MatrixFreeOperators
   template <int dim, typename VectorType, typename VectorizedArrayType>
   void
   Base<dim, VectorType, VectorizedArrayType>::precondition_Jacobi(
-    VectorType &                                                          dst,
-    const VectorType &                                                    src,
+    VectorType                                                           &dst,
+    const VectorType                                                     &src,
     const typename Base<dim, VectorType, VectorizedArrayType>::value_type omega)
     const
   {
@@ -1833,7 +1833,7 @@ namespace MatrixFreeOperators
   template <typename OperatorType>
   template <typename VectorType>
   void
-  MGInterfaceOperator<OperatorType>::vmult(VectorType &      dst,
+  MGInterfaceOperator<OperatorType>::vmult(VectorType       &dst,
                                            const VectorType &src) const
   {
 #ifndef DEAL_II_MSVC
@@ -1853,7 +1853,7 @@ namespace MatrixFreeOperators
   template <typename OperatorType>
   template <typename VectorType>
   void
-  MGInterfaceOperator<OperatorType>::Tvmult(VectorType &      dst,
+  MGInterfaceOperator<OperatorType>::Tvmult(VectorType       &dst,
                                             const VectorType &src) const
   {
 #ifndef DEAL_II_MSVC
@@ -2104,7 +2104,7 @@ namespace MatrixFreeOperators
                n_q_points_1d,
                n_components,
                VectorType,
-               VectorizedArrayType>::apply_add(VectorType &      dst,
+               VectorizedArrayType>::apply_add(VectorType       &dst,
                                                const VectorType &src) const
   {
     Base<dim, VectorType, VectorizedArrayType>::data->cell_loop(
@@ -2130,9 +2130,9 @@ namespace MatrixFreeOperators
       const MatrixFree<
         dim,
         typename Base<dim, VectorType, VectorizedArrayType>::value_type,
-        VectorizedArrayType> &                     data,
-      VectorType &                                 dst,
-      const VectorType &                           src,
+        VectorizedArrayType>                      &data,
+      VectorType                                  &dst,
+      const VectorType                            &src,
       const std::pair<unsigned int, unsigned int> &cell_range) const
   {
     using Number =
@@ -2299,7 +2299,7 @@ namespace MatrixFreeOperators
                   n_q_points_1d,
                   n_components,
                   VectorType,
-                  VectorizedArrayType>::apply_add(VectorType &      dst,
+                  VectorizedArrayType>::apply_add(VectorType       &dst,
                                                   const VectorType &src) const
   {
     Base<dim, VectorType, VectorizedArrayType>::data->cell_loop(
@@ -2405,9 +2405,9 @@ namespace MatrixFreeOperators
       const MatrixFree<
         dim,
         typename Base<dim, VectorType, VectorizedArrayType>::value_type,
-        VectorizedArrayType> &                     data,
-      VectorType &                                 dst,
-      const VectorType &                           src,
+        VectorizedArrayType>                      &data,
+      VectorType                                  &dst,
+      const VectorType                            &src,
       const std::pair<unsigned int, unsigned int> &cell_range) const
   {
     using Number =
@@ -2447,7 +2447,7 @@ namespace MatrixFreeOperators
         dim,
         typename Base<dim, VectorType, VectorizedArrayType>::value_type,
         VectorizedArrayType> &data,
-      VectorType &            dst,
+      VectorType             &dst,
       const VectorType &,
       const std::pair<unsigned int, unsigned int> &cell_range) const
   {
index 857490f6b67f2f725fa1feaa82128a07d6267adb..8f66fe0f7ba762699915bf819382b560965c0784 100644 (file)
@@ -156,7 +156,7 @@ namespace internal
       template <int dim, int spacedim>
       void
       evaluate_shape_functions(const FiniteElement<dim, spacedim> &fe,
-                               const Quadrature<1> &               quad,
+                               const Quadrature<1>                &quad,
                                const std::vector<unsigned int> &lexicographic,
                                const unsigned int               direction);
 
@@ -170,8 +170,8 @@ namespace internal
       void
       evaluate_collocation_space(
         const FiniteElement<dim, spacedim> &fe,
-        const Quadrature<1> &               quad,
-        const std::vector<unsigned int> &   lexicographic);
+        const Quadrature<1>                &quad,
+        const std::vector<unsigned int>    &lexicographic);
 
       /**
        * Check whether we have symmetries in the shape values. In that case,
@@ -409,7 +409,7 @@ namespace internal
        * Constructor that initializes the data fields using the reinit method.
        */
       template <int dim, int spacedim, int dim_q>
-      ShapeInfo(const Quadrature<dim_q> &           quad,
+      ShapeInfo(const Quadrature<dim_q>            &quad,
                 const FiniteElement<dim, spacedim> &fe,
                 const unsigned int                  base_element = 0);
 
@@ -423,7 +423,7 @@ namespace internal
        */
       template <int dim, int spacedim, int dim_q>
       void
-      reinit(const Quadrature<dim_q> &           quad,
+      reinit(const Quadrature<dim_q>            &quad,
              const FiniteElement<dim, spacedim> &fe_dim,
              const unsigned int                  base_element = 0);
 
index d49dbabc3131fda23aa844b112c149b1859d49ef..8500de0d81b68980746e7f6e7c00926a494e0304 100644 (file)
@@ -91,9 +91,9 @@ namespace internal
       const FiniteElement<dim, dim> &fe_in,
       const FiniteElement<dim, dim> &fe,
       const unsigned int             base_element_number,
-      ElementType &                  element_type,
-      std::vector<unsigned int> &    scalar_lexicographic,
-      std::vector<unsigned int> &    lexicographic_numbering)
+      ElementType                   &element_type,
+      std::vector<unsigned int>     &scalar_lexicographic,
+      std::vector<unsigned int>     &lexicographic_numbering)
     {
       element_type = tensor_general;
 
@@ -215,7 +215,7 @@ namespace internal
     template <typename Number>
     template <int dim, int spacedim, int dim_q>
     inline ShapeInfo<Number>::ShapeInfo(
-      const Quadrature<dim_q> &           quad,
+      const Quadrature<dim_q>            &quad,
       const FiniteElement<dim, spacedim> &fe_in,
       const unsigned int                  base_element_number)
       : element_type(tensor_general)
@@ -234,7 +234,7 @@ namespace internal
     template <typename Number>
     template <int dim, int spacedim, int dim_q>
     void
-    ShapeInfo<Number>::reinit(const Quadrature<dim_q> &           quad_in,
+    ShapeInfo<Number>::reinit(const Quadrature<dim_q>            &quad_in,
                               const FiniteElement<dim, spacedim> &fe_in,
                               const unsigned int base_element_number)
     {
@@ -728,7 +728,7 @@ namespace internal
     template <int dim, int spacedim>
     Point<dim>
     get_unit_point(const FiniteElement<dim, spacedim> &fe,
-                   const std::vector<unsigned int> &   lexicographic)
+                   const std::vector<unsigned int>    &lexicographic)
     {
       Point<dim> unit_point;
       // to evaluate 1d polynomials, evaluate along the line with the first
@@ -754,8 +754,8 @@ namespace internal
     void
     UnivariateShapeData<Number>::evaluate_shape_functions(
       const FiniteElement<dim, spacedim> &fe,
-      const Quadrature<1> &               quad,
-      const std::vector<unsigned int> &   lexicographic,
+      const Quadrature<1>                &quad,
+      const std::vector<unsigned int>    &lexicographic,
       const unsigned int                  direction)
     {
       const unsigned int n_dofs_1d =
@@ -845,8 +845,8 @@ namespace internal
     void
     UnivariateShapeData<Number>::evaluate_collocation_space(
       const FiniteElement<dim, spacedim> &fe,
-      const Quadrature<1> &               quad,
-      const std::vector<unsigned int> &   lexicographic)
+      const Quadrature<1>                &quad,
+      const std::vector<unsigned int>    &lexicographic)
     {
       const unsigned int n_dofs_1d =
         std::min(fe.n_dofs_per_cell(), fe_degree + 1);
index ca857b4958274d63649c9777a7c52892fffd1643..cfa37f6181242f8146f3f795276f0180196dbce6 100644 (file)
@@ -193,8 +193,8 @@ namespace internal
         const std::vector<unsigned int> &cell_vectorization_categories,
         const bool                       cell_vectorization_categories_strict,
         const std::vector<unsigned int> &parent_relation,
-        std::vector<unsigned int> &      renumbering,
-        std::vector<unsigned char> &     incompletely_filled_vectorization);
+        std::vector<unsigned int>       &renumbering,
+        std::vector<unsigned char>      &incompletely_filled_vectorization);
 
       /**
        * First step in the block creation for the task-parallel blocking setup.
@@ -216,8 +216,8 @@ namespace internal
       void
       initial_setup_blocks_tasks(
         const std::vector<unsigned int> &boundary_cells,
-        std::vector<unsigned int> &      renumbering,
-        std::vector<unsigned char> &     incompletely_filled_vectorization);
+        std::vector<unsigned int>       &renumbering,
+        std::vector<unsigned char>      &incompletely_filled_vectorization);
 
       /**
        * This helper function determines a block size if the user decided not
@@ -256,8 +256,8 @@ namespace internal
        */
       void
       make_thread_graph_partition_color(
-        DynamicSparsityPattern &    connectivity,
-        std::vector<unsigned int> renumbering,
+        DynamicSparsityPattern     &connectivity,
+        std::vector<unsigned int>  &renumbering,
         std::vector<unsigned char> &irregular_cells,
         const bool                  hp_bool);
 
@@ -296,9 +296,9 @@ namespace internal
       void
       make_thread_graph_partition_partition(
         const std::vector<unsigned int> &cell_active_fe_index,
-        DynamicSparsityPattern &         connectivity,
-        std::vector<unsigned int> &      renumbering,
-        std::vector<unsigned char> &     irregular_cells,
+        DynamicSparsityPattern          &connectivity,
+        std::vector<unsigned int>       &renumbering,
+        std::vector<unsigned char>      &irregular_cells,
         const bool                       hp_bool);
 
       /**
@@ -326,9 +326,9 @@ namespace internal
        */
       void
       make_thread_graph(const std::vector<unsigned int> &cell_active_fe_index,
-                        DynamicSparsityPattern &         connectivity,
-                        std::vector<unsigned int> &      renumbering,
-                        std::vector<unsigned char> &     irregular_cells,
+                        DynamicSparsityPattern          &connectivity,
+                        std::vector<unsigned int>       &renumbering,
+                        std::vector<unsigned char>      &irregular_cells,
                         const bool                       hp_bool);
 
       /**
@@ -338,8 +338,8 @@ namespace internal
       void
       make_connectivity_cells_to_blocks(
         const std::vector<unsigned char> &irregular_cells,
-        const DynamicSparsityPattern &    connectivity_cells,
-        DynamicSparsityPattern &          connectivity_blocks) const;
+        const DynamicSparsityPattern     &connectivity_cells,
+        DynamicSparsityPattern           &connectivity_blocks) const;
 
       /**
        * %Function to create coloring on the second layer within each
@@ -347,12 +347,12 @@ namespace internal
        */
       void
       make_coloring_within_partitions_pre_blocked(
-        const DynamicSparsityPattern &   connectivity,
+        const DynamicSparsityPattern    &connectivity,
         const unsigned int               partition,
         const std::vector<unsigned int> &cell_partition,
         const std::vector<unsigned int> &partition_list,
         const std::vector<unsigned int> &partition_size,
-        std::vector<unsigned int> &      partition_color_list);
+        std::vector<unsigned int>       &partition_color_list);
 
       /**
        * %Function to create partitioning on the second layer within each
@@ -360,7 +360,7 @@ namespace internal
        */
       void
       make_partitioning_within_partitions_post_blocked(
-        const DynamicSparsityPattern &   connectivity,
+        const DynamicSparsityPattern    &connectivity,
         const std::vector<unsigned int> &cell_active_fe_index,
         const unsigned int               partition,
         const unsigned int               cluster_size,
@@ -368,8 +368,8 @@ namespace internal
         const std::vector<unsigned int> &cell_partition,
         const std::vector<unsigned int> &partition_list,
         const std::vector<unsigned int> &partition_size,
-        std::vector<unsigned int> &      partition_partition_list,
-        std::vector<unsigned char> &     irregular_cells);
+        std::vector<unsigned int>       &partition_partition_list,
+        std::vector<unsigned char>      &irregular_cells);
 
       /**
        * This function creates partitions according to the provided connectivity
@@ -394,10 +394,10 @@ namespace internal
       void
       make_partitioning(const DynamicSparsityPattern &connectivity,
                         const unsigned int            cluster_size,
-                        std::vector<unsigned int> &   cell_partition,
-                        std::vector<unsigned int> &   partition_list,
-                        std::vector<unsigned int> &   partition_size,
-                        unsigned int &                partition) const;
+                        std::vector<unsigned int>    &cell_partition,
+                        std::vector<unsigned int>    &partition_list,
+                        std::vector<unsigned int>    &partition_size,
+                        unsigned int                 &partition) const;
 
       /**
        * Update fields of task info for task graph set up in
index fc64a6b23e1f86afcc5e2ad2fbd4252932f63fb9..91a42496c4277c1a670fc05d223b8b0b13e30a4b 100644 (file)
@@ -121,8 +121,8 @@ namespace internal
             typename Number2>
   std::enable_if_t<(variant == evaluate_general), void>
   apply_matrix_vector_product(const Number2 *matrix,
-                              const Number in,
-                              Number *       out)
+                              const Number  *in,
+                              Number        *out)
   {
     // We can only statically assert that one argument is non-zero because
     // face evaluation might instantiate some functions, so we need to use the
@@ -178,8 +178,8 @@ namespace internal
             typename Number2>
   std::enable_if_t<(variant == evaluate_general), void>
   apply_matrix_vector_product(const Number2 *matrix,
-                              const Number in,
-                              Number *       out,
+                              const Number  *in,
+                              Number        *out,
                               const int      n_rows,
                               const int      n_columns,
                               const int      stride_in,
@@ -280,8 +280,8 @@ namespace internal
             typename Number2>
   std::enable_if_t<(variant == evaluate_symmetric), void>
   apply_matrix_vector_product(const Number2 *matrix,
-                              const Number in,
-                              Number *       out)
+                              const Number  *in,
+                              Number        *out)
   {
     // We can only statically assert that one argument is non-zero because
     // face evaluation might instantiate some functions, so we need to use the
@@ -683,8 +683,8 @@ namespace internal
 #endif
     std::enable_if_t<(variant == evaluate_evenodd), void>
     apply_matrix_vector_product(const Number2 *matrix,
-                                const Number in,
-                                Number *       out,
+                                const Number  *in,
+                                Number        *out,
                                 int            n_rows_runtime     = 0,
                                 int            n_columns_runtime  = 0,
                                 int            stride_in_runtime  = 0,
@@ -865,8 +865,8 @@ namespace internal
             typename Number2>
   std::enable_if_t<(variant == evaluate_evenodd), void>
   apply_matrix_vector_product(const Number2 *matrix,
-                              const Number in,
-                              Number *       out,
+                              const Number  *in,
+                              Number        *out,
                               int            n_rows,
                               int            n_columns,
                               int            stride_in,
@@ -912,8 +912,8 @@ namespace internal
             typename Number2>
   std::enable_if_t<(variant == evaluate_symmetric_hierarchical), void>
   apply_matrix_vector_product(const Number2 *matrix,
-                              const Number in,
-                              Number *       out)
+                              const Number  *in,
+                              Number        *out)
   {
     static_assert(n_rows > 0 && n_columns > 0,
                   "Specialization requires n_rows, n_columns > 0");
@@ -1152,9 +1152,9 @@ namespace internal
     /**
      * Constructor, taking the data from ShapeInfo via raw pointers
      */
-    EvaluatorTensorProduct(const Number2 *    shape_values,
-                           const Number2 *    shape_gradients,
-                           const Number2 *    shape_hessians,
+    EvaluatorTensorProduct(const Number2     *shape_values,
+                           const Number2     *shape_gradients,
+                           const Number2     *shape_hessians,
                            const unsigned int dummy1 = 0,
                            const unsigned int dummy2 = 0)
       : shape_values(shape_values)
@@ -1266,8 +1266,8 @@ namespace internal
               EvaluatorQuantity = EvaluatorQuantity::value>
     static void
     apply(const Number2 *DEAL_II_RESTRICT shape_data,
-          const Number *                  in,
-          Number *                        out);
+          const Number                   *in,
+          Number                         *out);
 
     /**
      * This function applies the tensor product operation to produce face values
@@ -1328,8 +1328,8 @@ namespace internal
   inline void
   EvaluatorTensorProduct<variant, dim, n_rows, n_columns, Number, Number2>::
     apply(const Number2 *DEAL_II_RESTRICT shape_data,
-          const Number *                  in,
-          Number *                        out)
+          const Number                   *in,
+          Number                         *out)
   {
     static_assert(one_line == false || direction == dim - 1,
                   "Single-line evaluation only works for direction=dim-1.");
@@ -1600,9 +1600,9 @@ namespace internal
     /**
      * Constructor, taking the data from ShapeInfo
      */
-    EvaluatorTensorProduct(const Number2 *    shape_values,
-                           const Number2 *    shape_gradients,
-                           const Number2 *    shape_hessians,
+    EvaluatorTensorProduct(const Number2     *shape_values,
+                           const Number2     *shape_gradients,
+                           const Number2     *shape_hessians,
                            const unsigned int n_rows    = 0,
                            const unsigned int n_columns = 0)
       : shape_values(shape_values)
@@ -1685,8 +1685,8 @@ namespace internal
               EvaluatorQuantity quantity = EvaluatorQuantity::value>
     void
     apply(const Number2 *DEAL_II_RESTRICT shape_data,
-          const Number *                  in,
-          Number *                        out) const;
+          const Number                   *in,
+          Number                         *out) const;
 
     template <int  face_direction,
               bool contract_onto_face,
@@ -1696,9 +1696,9 @@ namespace internal
     apply_face(const Number *DEAL_II_RESTRICT in,
                Number *DEAL_II_RESTRICT       out) const;
 
-    const Number2 *    shape_values;
-    const Number2 *    shape_gradients;
-    const Number2 *    shape_hessians;
+    const Number2     *shape_values;
+    const Number2     *shape_gradients;
+    const Number2     *shape_hessians;
     const unsigned int n_rows;
     const unsigned int n_columns;
   };
@@ -1717,8 +1717,8 @@ namespace internal
   inline void
   EvaluatorTensorProduct<variant, dim, 0, 0, Number, Number2>::apply(
     const Number2 *DEAL_II_RESTRICT shape_data,
-    const Number *                  in,
-    Number *                        out) const
+    const Number                   *in,
+    Number                         *out) const
   {
     static_assert(one_line == false || direction == dim - 1,
                   "Single-line evaluation only works for direction=dim-1.");
@@ -2075,8 +2075,8 @@ namespace internal
               bool one_line = false>
     static void
     apply(const Number2 *DEAL_II_RESTRICT shape_data,
-          const Number *                  in,
-          Number *                        out);
+          const Number                   *in,
+          Number                         *out);
 
     template <int  face_direction,
               bool contract_onto_face,
@@ -2108,8 +2108,8 @@ namespace internal
     normal_dir,
     Number,
     Number2>::apply(const Number2 *DEAL_II_RESTRICT shape_data,
-                    const Number *                  in,
-                    Number *                        out)
+                    const Number                   *in,
+                    Number                         *out)
   {
     static_assert(one_line == false || direction == dim - 1,
                   "Single-line evaluation only works for direction=dim-1.");
@@ -2434,9 +2434,9 @@ namespace internal
   template <int dim, typename Number>
   inline void
   compute_values_of_array(
-    dealii::ndarray<Number, 2, dim> *                   shapes,
+    dealii::ndarray<Number, 2, dim>                    *shapes,
     const std::vector<Polynomials::Polynomial<double>> &poly,
-    const Point<dim, Number> &                          p,
+    const Point<dim, Number>                           &p,
     const unsigned int                                  derivative = 1)
   {
     const int n_shapes = poly.size();
@@ -2481,11 +2481,11 @@ namespace internal
 #endif
       std::array<typename ProductTypeNoPoint<Number, Number2>::type,
                  2 + n_values>
-      do_interpolate_xy(const Number *                          values,
-                        const std::vector<unsigned int> &       renumber,
+      do_interpolate_xy(const Number                           *values,
+                        const std::vector<unsigned int>        &renumber,
                         const dealii::ndarray<Number2, 2, dim> *shapes,
                         const int n_shapes_runtime,
-                        int &     i)
+                        int      &i)
   {
     static_assert(0 <= dim && dim <= 3, "Only dim=0,1,2,3 implemented");
     static_assert(1 <= n_values && n_values <= 2,
@@ -2571,8 +2571,8 @@ namespace internal
   evaluate_tensor_product_value_and_gradient_shapes(
     const dealii::ndarray<Number2, 2, dim> *shapes,
     const int                               n_shapes,
-    const Number *                          values,
-    const std::vector<unsigned int> &       renumber = {})
+    const Number                           *values,
+    const std::vector<unsigned int>        &renumber = {})
   {
     static_assert(0 <= dim && dim <= 3, "Only dim=0,1,2,3 implemented");
     static_assert(1 <= n_values && n_values <= 2,
@@ -2670,8 +2670,8 @@ namespace internal
                     dim + n_values>
   evaluate_tensor_product_value_and_gradient_linear(
     const unsigned int               n_shapes,
-    const Number *                   values,
-    const Point<dim, Number2> &      p,
+    const Number                    *values,
+    const Point<dim, Number2>       &p,
     const std::vector<unsigned int> &renumber = {})
   {
     static_assert(0 <= dim && dim <= 3, "Only dim=0,1,2,3 implemented");
@@ -2802,10 +2802,10 @@ namespace internal
     Tensor<1, dim, typename ProductTypeNoPoint<Number, Number2>::type>>
   evaluate_tensor_product_value_and_gradient(
     const std::vector<Polynomials::Polynomial<double>> &poly,
-    const std::vector<Number> &                         values,
-    const Point<dim, Number2> &                         p,
+    const std::vector<Number>                          &values,
+    const Point<dim, Number2>                          &p,
     const bool                                          d_linear = false,
-    const std::vector<unsigned int> &                   renumber = {})
+    const std::vector<unsigned int>                    &renumber = {})
   {
     using Number3 = typename ProductTypeNoPoint<Number, Number2>::type;
 
@@ -2842,11 +2842,11 @@ namespace internal
     DEAL_II_ALWAYS_INLINE
 #endif
     typename ProductTypeNoPoint<Number, Number2>::type
-    do_interpolate_xy_value(const Number *                          values,
-                            const std::vector<unsigned int> &       renumber,
+    do_interpolate_xy_value(const Number                           *values,
+                            const std::vector<unsigned int>        &renumber,
                             const dealii::ndarray<Number2, 2, dim> *shapes,
                             const int n_shapes_runtime,
-                            int &     i)
+                            int      &i)
   {
     const int n_shapes = length > 0 ? length : n_shapes_runtime;
     using Number3      = typename ProductTypeNoPoint<Number, Number2>::type;
@@ -2880,8 +2880,8 @@ namespace internal
   evaluate_tensor_product_value_shapes(
     const dealii::ndarray<Number2, 2, dim> *shapes,
     const int                               n_shapes,
-    const Number *                          values,
-    const std::vector<unsigned int> &       renumber = {})
+    const Number                           *values,
+    const std::vector<unsigned int>        &renumber = {})
   {
     static_assert(dim >= 0 && dim <= 3, "Only dim=0,1,2,3 implemented");
 
@@ -2945,8 +2945,8 @@ namespace internal
   inline typename ProductTypeNoPoint<Number, Number2>::type
   evaluate_tensor_product_value_linear(
     const unsigned int               n_shapes,
-    const Number *                   values,
-    const Point<dim, Number2> &      p,
+    const Number                    *values,
+    const Point<dim, Number2>       &p,
     const std::vector<unsigned int> &renumber = {})
   {
     (void)n_shapes;
@@ -3002,10 +3002,10 @@ namespace internal
   inline typename ProductTypeNoPoint<Number, Number2>::type
   evaluate_tensor_product_value(
     const std::vector<Polynomials::Polynomial<double>> &poly,
-    const std::vector<Number> &                         values,
-    const Point<dim, Number2> &                         p,
+    const std::vector<Number>                          &values,
+    const Point<dim, Number2>                          &p,
     const bool                                          d_linear = false,
-    const std::vector<unsigned int> &                   renumber = {})
+    const std::vector<unsigned int>                    &renumber = {})
   {
     typename ProductTypeNoPoint<Number, Number2>::type result;
     if (d_linear)
@@ -3041,9 +3041,9 @@ namespace internal
   inline Tensor<1, 1, typename ProductTypeNoPoint<Number, Number2>::type>
   evaluate_tensor_product_higher_derivatives(
     const std::vector<Polynomials::Polynomial<double>> &poly,
-    const std::vector<Number> &                         values,
-    const Point<1, Number2> &                           p,
-    const std::vector<unsigned int> &                   renumber = {})
+    const std::vector<Number>                          &values,
+    const Point<1, Number2>                            &p,
+    const std::vector<unsigned int>                    &renumber = {})
   {
     using Number3 = typename ProductTypeNoPoint<Number, Number2>::type;
 
@@ -3081,9 +3081,9 @@ namespace internal
                 typename ProductTypeNoPoint<Number, Number2>::type>
   evaluate_tensor_product_higher_derivatives(
     const std::vector<Polynomials::Polynomial<double>> &poly,
-    const std::vector<Number> &                         values,
-    const Point<2, Number2> &                           p,
-    const std::vector<unsigned int> &                   renumber = {})
+    const std::vector<Number>                          &values,
+    const Point<2, Number2>                            &p,
+    const std::vector<unsigned int>                    &renumber = {})
   {
     using Number3     = typename ProductTypeNoPoint<Number, Number2>::type;
     constexpr int dim = 2;
@@ -3133,9 +3133,9 @@ namespace internal
                 typename ProductTypeNoPoint<Number, Number2>::type>
   evaluate_tensor_product_higher_derivatives(
     const std::vector<Polynomials::Polynomial<double>> &poly,
-    const std::vector<Number> &                         values,
-    const Point<3, Number2> &                           p,
-    const std::vector<unsigned int> &                   renumber = {})
+    const std::vector<Number>                          &values,
+    const Point<3, Number2>                            &p,
+    const std::vector<unsigned int>                    &renumber = {})
   {
     using Number3     = typename ProductTypeNoPoint<Number, Number2>::type;
     constexpr int dim = 3;
@@ -3197,9 +3197,9 @@ namespace internal
   SymmetricTensor<2, dim, typename ProductTypeNoPoint<Number, Number2>::type>
   evaluate_tensor_product_hessian(
     const std::vector<Polynomials::Polynomial<double>> &poly,
-    const std::vector<Number> &                         values,
-    const Point<dim, Number2> &                         p,
-    const std::vector<unsigned int> &                   renumber = {})
+    const std::vector<Number>                          &values,
+    const Point<dim, Number2>                          &p,
+    const std::vector<unsigned int>                    &renumber = {})
   {
     static_assert(dim >= 1 && dim <= 3, "Only dim=1,2,3 implemented");
 
@@ -3245,11 +3245,11 @@ namespace internal
 #endif
     void
     do_apply_test_functions_xy(
-      Number2 *                                values,
-      const dealii::ndarray<Number, 2, dim> *  shapes,
+      Number2                                 *values,
+      const dealii::ndarray<Number, 2, dim>   *shapes,
       const std::array<Number2, 2 + n_values> &test_grads_value,
       const int                                n_shapes_runtime,
-      int &                                    i)
+      int                                     &i)
   {
     static_assert(0 <= dim && dim <= 3, "Only dim=0,1,2,3 implemented");
     static_assert(1 <= n_values && n_values <= 2,
@@ -3360,9 +3360,9 @@ namespace internal
   integrate_add_tensor_product_value_and_gradient_shapes(
     const dealii::ndarray<Number, 2, dim> *shapes,
     const int                              n_shapes,
-    const Number2 *                        value,
-    const Tensor<1, dim, Number2> &        gradient,
-    Number2 *                              values)
+    const Number2                         *value,
+    const Tensor<1, dim, Number2>         &gradient,
+    Number2                               *values)
   {
     static_assert(0 <= dim && dim <= 3, "Only dim=0,1,2,3 implemented");
     static_assert(1 <= n_values && n_values <= 2,
@@ -3443,10 +3443,10 @@ namespace internal
   inline void
   integrate_add_tensor_product_value_and_gradient_linear(
     const unsigned int             n_shapes,
-    const Number2 *                value,
+    const Number2                 *value,
     const Tensor<1, dim, Number2> &gradient,
-    Number2 *                      values,
-    const Point<dim, Number> &     p)
+    Number2                       *values,
+    const Point<dim, Number>      &p)
   {
     (void)n_shapes;
     static_assert(0 <= dim && dim <= 3, "Only dim=0,1,2,3 implemented");
@@ -3608,10 +3608,10 @@ namespace internal
   integrate_tensor_product_value_and_gradient(
     const dealii::ndarray<Number, 2, dim> *shapes,
     const unsigned int                     n_shapes,
-    const Number2 *                        value,
-    const Tensor<1, dim, Number2> &        gradient,
-    Number2 *                              values,
-    const Point<dim, Number> &             p,
+    const Number2                         *value,
+    const Tensor<1, dim, Number2>         &gradient,
+    Number2                               *values,
+    const Point<dim, Number>              &p,
     const bool                             is_linear,
     const bool                             do_add)
   {
@@ -3663,11 +3663,11 @@ namespace internal
 #endif
     void
     do_apply_test_functions_xy_value(
-      Number2 *                              values,
+      Number2                               *values,
       const dealii::ndarray<Number, 2, dim> *shapes,
-      const Number2 &                        test_value,
+      const Number2                         &test_value,
       const int                              n_shapes_runtime,
-      int &                                  i)
+      int                                   &i)
   {
     if (length > 0)
       {
@@ -3721,8 +3721,8 @@ namespace internal
   integrate_add_tensor_product_value_shapes(
     const dealii::ndarray<Number, 2, dim> *shapes,
     const int                              n_shapes,
-    const Number2 &                        value,
-    Number2 *                              values)
+    const Number2                         &value,
+    Number2                               *values)
   {
     static_assert(dim >= 0 && dim <= 3, "Only dim=0,1,2,3 implemented");
 
@@ -3776,8 +3776,8 @@ namespace internal
   template <int dim, typename Number, typename Number2, bool add>
   inline void
   integrate_add_tensor_product_value_linear(const unsigned int        n_shapes,
-                                            const Number2 &           value,
-                                            Number2 *                 values,
+                                            const Number2            &value,
+                                            Number2                  *values,
                                             const Point<dim, Number> &p)
   {
     (void)n_shapes;
@@ -3878,8 +3878,8 @@ namespace internal
   inline void
   integrate_tensor_product_value(const dealii::ndarray<Number, 2, dim> *shapes,
                                  const unsigned int        n_shapes,
-                                 const Number2 &           value,
-                                 Number2 *                 values,
+                                 const Number2            &value,
+                                 Number2                  *values,
                                  const Point<dim, Number> &p,
                                  const bool                is_linear,
                                  const bool                do_add)
@@ -3928,10 +3928,10 @@ namespace internal
 
   template <int dim, int n_points_1d_template, typename Number>
   inline void
-  weight_fe_q_dofs_by_entity(const Number *     weights,
+  weight_fe_q_dofs_by_entity(const Number      *weights,
                              const unsigned int n_components,
                              const int          n_points_1d_non_template,
-                             Number *           data)
+                             Number            *data)
   {
     const int n_points_1d = n_points_1d_template != -1 ?
                               n_points_1d_template :
@@ -3966,10 +3966,10 @@ namespace internal
 
   template <int dim, int n_points_1d_template, typename Number>
   inline void
-  weight_fe_q_dofs_by_entity_shifted(const Number *     weights,
+  weight_fe_q_dofs_by_entity_shifted(const Number      *weights,
                                      const unsigned int n_components,
                                      const int n_points_1d_non_template,
-                                     Number *  data)
+                                     Number   *data)
   {
     const int n_points_1d = n_points_1d_template != -1 ?
                               n_points_1d_template :
@@ -4013,10 +4013,10 @@ namespace internal
 
   template <int dim, int n_points_1d_template, typename Number>
   inline bool
-  compute_weights_fe_q_dofs_by_entity(const Number *     data,
+  compute_weights_fe_q_dofs_by_entity(const Number      *data,
                                       const unsigned int n_components,
                                       const int n_points_1d_non_template,
-                                      Number *  weights)
+                                      Number   *weights)
   {
     const int n_points_1d = n_points_1d_template != -1 ?
                               n_points_1d_template :
@@ -4075,10 +4075,10 @@ namespace internal
   template <int dim, int n_points_1d_template, typename Number>
   inline bool
   compute_weights_fe_q_dofs_by_entity_shifted(
-    const Number *     data,
+    const Number      *data,
     const unsigned int n_components,
     const int          n_points_1d_non_template,
-    Number *           weights)
+    Number            *weights)
   {
     const int n_points_1d = n_points_1d_template != -1 ?
                               n_points_1d_template :
index 4869dcf5578feae03b2a6664bd7cf17858782899..233b6a87803bf1f785152334dba70235a93ae48b 100644 (file)
@@ -41,7 +41,7 @@ namespace MatrixFreeTools
   template <int dim, typename AdditionalData>
   void
   categorize_by_boundary_ids(const Triangulation<dim> &tria,
-                             AdditionalData &          additional_data);
+                             AdditionalData           &additional_data);
 
   /**
    * Compute the diagonal of a linear operator (@p diagonal_global), given
@@ -61,7 +61,7 @@ namespace MatrixFreeTools
   void
   compute_diagonal(
     const MatrixFree<dim, Number, VectorizedArrayType> &matrix_free,
-    VectorType &                                        diagonal_global,
+    VectorType                                         &diagonal_global,
     const std::function<void(FEEvaluation<dim,
                                           fe_degree,
                                           n_q_points_1d,
@@ -86,14 +86,14 @@ namespace MatrixFreeTools
   void
   compute_diagonal(
     const MatrixFree<dim, Number, VectorizedArrayType> &matrix_free,
-    VectorType &                                        diagonal_global,
+    VectorType                                         &diagonal_global,
     void (CLASS::*cell_operation)(FEEvaluation<dim,
                                                fe_degree,
                                                n_q_points_1d,
                                                n_components,
                                                Number,
                                                VectorizedArrayType> &) const,
-    const CLASS *      owning_class,
+    const CLASS       *owning_class,
     const unsigned int dof_no                   = 0,
     const unsigned int quad_no                  = 0,
     const unsigned int first_selected_component = 0);
@@ -116,9 +116,9 @@ namespace MatrixFreeTools
             typename MatrixType>
   void
   compute_matrix(
-    const MatrixFree<dim, Number, VectorizedArrayType> &            matrix_free,
-    const AffineConstraints<Number> &                               constraints,
-    MatrixType &                                                    matrix,
+    const MatrixFree<dim, Number, VectorizedArrayType>             &matrix_free,
+    const AffineConstraints<Number>                                &constraints,
+    MatrixType                                                     &matrix,
     const std::function<void(FEEvaluation<dim,
                                           fe_degree,
                                           n_q_points_1d,
@@ -143,15 +143,15 @@ namespace MatrixFreeTools
   void
   compute_matrix(
     const MatrixFree<dim, Number, VectorizedArrayType> &matrix_free,
-    const AffineConstraints<Number> &                   constraints,
-    MatrixType &                                        matrix,
+    const AffineConstraints<Number>                    &constraints,
+    MatrixType                                         &matrix,
     void (CLASS::*cell_operation)(FEEvaluation<dim,
                                                fe_degree,
                                                n_q_points_1d,
                                                n_components,
                                                Number,
                                                VectorizedArrayType> &) const,
-    const CLASS *      owning_class,
+    const CLASS       *owning_class,
     const unsigned int dof_no                   = 0,
     const unsigned int quad_no                  = 0,
     const unsigned int first_selected_component = 0);
@@ -235,12 +235,12 @@ namespace MatrixFreeTools
                 VectorTypeOut &,
                 const VectorTypeIn &,
                 const std::pair<unsigned int, unsigned int> &)> &cell_operation,
-              VectorTypeOut &                                    dst,
-              const VectorTypeIn &                               src,
+              VectorTypeOut                                     &dst,
+              const VectorTypeIn                                &src,
               const bool zero_dst_vector = false) const
     {
       const auto ebd_cell_operation = [&](const auto &matrix_free,
-                                          auto &      dst,
+                                          auto       &dst,
                                           const auto &src,
                                           const auto &range) {
         const auto category = matrix_free.get_cell_range_category(range);
@@ -280,12 +280,12 @@ namespace MatrixFreeTools
                 const VectorTypeIn &,
                 const std::pair<unsigned int, unsigned int> &,
                 const bool)> &boundary_operation,
-         VectorTypeOut &      dst,
-         const VectorTypeIn src,
+         VectorTypeOut       &dst,
+         const VectorTypeIn  &src,
          const bool           zero_dst_vector = false) const
     {
       const auto ebd_cell_operation = [&](const auto &matrix_free,
-                                          auto &      dst,
+                                          auto       &dst,
                                           const auto &src,
                                           const auto &range) {
         const auto category = matrix_free.get_cell_range_category(range);
@@ -298,7 +298,7 @@ namespace MatrixFreeTools
 
       const auto ebd_internal_or_boundary_face_operation =
         [&](const auto &matrix_free,
-            auto &      dst,
+            auto       &dst,
             const auto &src,
             const auto &range) {
           const auto category = matrix_free.get_face_range_category(range);
@@ -346,7 +346,7 @@ namespace MatrixFreeTools
   template <int dim, typename AdditionalData>
   void
   categorize_by_boundary_ids(const Triangulation<dim> &tria,
-                             AdditionalData &          additional_data)
+                             AdditionalData           &additional_data)
   {
     // ... determine if we are on an active or a multigrid level
     const unsigned int level = additional_data.mg_level;
@@ -476,9 +476,9 @@ namespace MatrixFreeTools
         this->phi->reinit(cell);
 
         // STEP 1: get relevant information from FEEvaluation
-        const auto &       dof_info        = phi->get_dof_info();
+        const auto        &dof_info        = phi->get_dof_info();
         const unsigned int n_fe_components = dof_info.start_components.back();
-        const auto &       matrix_free     = phi->get_matrix_free();
+        const auto        &matrix_free     = phi->get_matrix_free();
 
         // if we have a block vector with components with the same DoFHandler,
         // each component is described with same set of constraints and
@@ -978,7 +978,7 @@ namespace MatrixFreeTools
   void
   compute_diagonal(
     const MatrixFree<dim, Number, VectorizedArrayType> &matrix_free,
-    VectorType &                                        diagonal_global,
+    VectorType                                         &diagonal_global,
     const std::function<void(FEEvaluation<dim,
                                           fe_degree,
                                           n_q_points_1d,
@@ -1078,14 +1078,14 @@ namespace MatrixFreeTools
   void
   compute_diagonal(
     const MatrixFree<dim, Number, VectorizedArrayType> &matrix_free,
-    VectorType &                                        diagonal_global,
+    VectorType                                         &diagonal_global,
     void (CLASS::*cell_operation)(FEEvaluation<dim,
                                                fe_degree,
                                                n_q_points_1d,
                                                n_components,
                                                Number,
                                                VectorizedArrayType> &) const,
-    const CLASS *      owning_class,
+    const CLASS       *owning_class,
     const unsigned int dof_no,
     const unsigned int quad_no,
     const unsigned int first_selected_component)
@@ -1164,8 +1164,8 @@ namespace MatrixFreeTools
   void
   compute_matrix(
     const MatrixFree<dim, Number, VectorizedArrayType> &matrix_free,
-    const AffineConstraints<Number> &                   constraints_in,
-    MatrixType &                                        matrix,
+    const AffineConstraints<Number>                    &constraints_in,
+    MatrixType                                         &matrix,
     const std::function<void(FEEvaluation<dim,
                                           fe_degree,
                                           n_q_points_1d,
@@ -1276,15 +1276,15 @@ namespace MatrixFreeTools
   void
   compute_matrix(
     const MatrixFree<dim, Number, VectorizedArrayType> &matrix_free,
-    const AffineConstraints<Number> &                   constraints,
-    MatrixType &                                        matrix,
+    const AffineConstraints<Number>                    &constraints,
+    MatrixType                                         &matrix,
     void (CLASS::*cell_operation)(FEEvaluation<dim,
                                                fe_degree,
                                                n_q_points_1d,
                                                n_components,
                                                Number,
                                                VectorizedArrayType> &) const,
-    const CLASS *      owning_class,
+    const CLASS       *owning_class,
     const unsigned int dof_no,
     const unsigned int quad_no,
     const unsigned int first_selected_component)
index 265cb73e04677bd89d61c590b11b184bbcb4456f..174869ba83b47a5d25c4563b7337b5c436346a9a 100644 (file)
@@ -163,8 +163,8 @@ namespace internal
   // We assume that if both begin() and local_element()
   // exist, then begin() + offset == local_element(offset)
   template <typename T>
-  constexpr bool   has_exchange_on_subset =
-    has_begin<T> &&has_local_element<T> &&has_partitioners_are_compatible<T>;
+  constexpr bool has_exchange_on_subset =
+    has_begin<T> && has_local_element<T> && has_partitioners_are_compatible<T>;
 
 
 
index 235d5e742cfe7b2051ec13a59c8e9b39b7f5b9be..9b5535d209ad700b81f3eb836574659536a0c913 100644 (file)
@@ -94,7 +94,7 @@ namespace internal
     typename VectorType,
     std::enable_if_t<has_add_local_element<VectorType>, VectorType> * = nullptr>
   inline void
-  vector_access_add(VectorType &                           vec,
+  vector_access_add(VectorType                            &vec,
                     const unsigned int                     entry,
                     const typename VectorType::value_type &val)
   {
@@ -107,7 +107,7 @@ namespace internal
             std::enable_if_t<!has_add_local_element<VectorType>, VectorType> * =
               nullptr>
   inline void
-  vector_access_add(VectorType &                           vec,
+  vector_access_add(VectorType                            &vec,
                     const unsigned int                     entry,
                     const typename VectorType::value_type &val)
   {
@@ -120,7 +120,7 @@ namespace internal
     typename VectorType,
     std::enable_if_t<has_add_local_element<VectorType>, VectorType> * = nullptr>
   inline void
-  vector_access_add_global(VectorType &                           vec,
+  vector_access_add_global(VectorType                            &vec,
                            const types::global_dof_index          entry,
                            const typename VectorType::value_type &val)
   {
@@ -133,7 +133,7 @@ namespace internal
             std::enable_if_t<!has_add_local_element<VectorType>, VectorType> * =
               nullptr>
   inline void
-  vector_access_add_global(VectorType &                           vec,
+  vector_access_add_global(VectorType                            &vec,
                            const types::global_dof_index          entry,
                            const typename VectorType::value_type &val)
   {
@@ -146,7 +146,7 @@ namespace internal
     typename VectorType,
     std::enable_if_t<has_set_local_element<VectorType>, VectorType> * = nullptr>
   inline void
-  vector_access_set(VectorType &                           vec,
+  vector_access_set(VectorType                            &vec,
                     const unsigned int                     entry,
                     const typename VectorType::value_type &val)
   {
@@ -159,7 +159,7 @@ namespace internal
             std::enable_if_t<!has_set_local_element<VectorType>, VectorType> * =
               nullptr>
   inline void
-  vector_access_set(VectorType &                           vec,
+  vector_access_set(VectorType                            &vec,
                     const unsigned int                     entry,
                     const typename VectorType::value_type &val)
   {
@@ -180,9 +180,9 @@ namespace internal
                              VectorType> * = nullptr>
   inline void
   check_vector_compatibility(
-    const VectorType &                                  vec,
+    const VectorType                                   &vec,
     const MatrixFree<dim, Number, VectorizedArrayType> &matrix_free,
-    const internal::MatrixFreeFunctions::DoFInfo &      dof_info)
+    const internal::MatrixFreeFunctions::DoFInfo       &dof_info)
   {
     (void)vec;
     (void)matrix_free;
@@ -202,9 +202,9 @@ namespace internal
                              VectorType> * = nullptr>
   inline void
   check_vector_compatibility(
-    const VectorType &                                  vec,
+    const VectorType                                   &vec,
     const MatrixFree<dim, Number, VectorizedArrayType> &matrix_free,
-    const internal::MatrixFreeFunctions::DoFInfo &      dof_info)
+    const internal::MatrixFreeFunctions::DoFInfo       &dof_info)
   {
     (void)vec;
     (void)matrix_free;
@@ -284,8 +284,8 @@ namespace internal
     template <typename VectorType>
     void
     process_dof(const unsigned int index,
-                const VectorType vec,
-                Number &           res) const
+                const VectorType  &vec,
+                Number            &res) const
     {
       res = vector_access(vec, index);
     }
@@ -305,7 +305,7 @@ namespace internal
     void
     process_dofs_vectorized(const unsigned int   dofs_per_cell,
                             const unsigned int   dof_index,
-                            VectorType &         vec,
+                            VectorType          &vec,
                             VectorizedArrayType *dof_values,
                             std::integral_constant<bool, true>) const
     {
@@ -331,7 +331,7 @@ namespace internal
     void
     process_dofs_vectorized(const unsigned int   dofs_per_cell,
                             const unsigned int   dof_index,
-                            const VectorType &   vec,
+                            const VectorType    &vec,
                             VectorizedArrayType *dof_values,
                             std::integral_constant<bool, false>) const
     {
@@ -346,8 +346,8 @@ namespace internal
     template <typename VectorType>
     void
     process_dofs_vectorized_transpose(const unsigned int   dofs_per_cell,
-                                      const unsigned int dof_indices,
-                                      VectorType &         vec,
+                                      const unsigned int  *dof_indices,
+                                      VectorType          &vec,
                                       const unsigned int   constant_offset,
                                       VectorizedArrayType *dof_values,
                                       std::integral_constant<bool, true>) const
@@ -363,8 +363,8 @@ namespace internal
     template <typename VectorType>
     void
     process_dofs_vectorized_transpose(const unsigned int   dofs_per_cell,
-                                      const unsigned int dof_indices,
-                                      const VectorType &   vec,
+                                      const unsigned int  *dof_indices,
+                                      const VectorType    &vec,
                                       const unsigned int   constant_offset,
                                       VectorizedArrayType *dof_values,
                                       std::integral_constant<bool, false>) const
@@ -381,9 +381,9 @@ namespace internal
     void
     process_dofs_vectorized_transpose(
       const unsigned int                 dofs_per_cell,
-      const unsigned int *               dof_indices,
-      VectorType &                       vec,
-      VectorizedArrayType *              dof_values,
+      const unsigned int                *dof_indices,
+      VectorType                        &vec,
+      VectorizedArrayType               *dof_values,
       std::integral_constant<bool, true> type) const
     {
       process_dofs_vectorized_transpose(
@@ -396,9 +396,9 @@ namespace internal
     void
     process_dofs_vectorized_transpose(
       const unsigned int                  dofs_per_cell,
-      const unsigned int *                dof_indices,
-      const VectorType &                  vec,
-      VectorizedArrayType *               dof_values,
+      const unsigned int                 *dof_indices,
+      const VectorType                   &vec,
+      VectorizedArrayType                *dof_values,
       std::integral_constant<bool, false> type) const
     {
       process_dofs_vectorized_transpose(
@@ -412,7 +412,7 @@ namespace internal
     process_dofs_vectorized_transpose(
       const unsigned int                                        dofs_per_cell,
       const std::array<Number2 *, VectorizedArrayType::size()> &global_ptr,
-      VectorizedArrayType *                                     dof_values,
+      VectorizedArrayType                                      *dof_values,
       std::integral_constant<bool, true>) const
     {
       dealii::vectorized_load_and_transpose(dofs_per_cell,
@@ -439,8 +439,8 @@ namespace internal
     // gather
     template <typename VectorType>
     void
-    process_dof_gather(const unsigned int indices,
-                       VectorType &         vec,
+    process_dof_gather(const unsigned int  *indices,
+                       VectorType          &vec,
                        const unsigned int   constant_offset,
                        VectorizedArrayType &res,
                        std::integral_constant<bool, true>) const
@@ -464,8 +464,8 @@ namespace internal
     // manually load the data
     template <typename VectorType>
     void
-    process_dof_gather(const unsigned int indices,
-                       const VectorType &   vec,
+    process_dof_gather(const unsigned int  *indices,
+                       const VectorType    &vec,
                        const unsigned int   constant_offset,
                        VectorizedArrayType &res,
                        std::integral_constant<bool, false>) const
@@ -479,8 +479,8 @@ namespace internal
     template <typename VectorType>
     void
     process_dof_global(const types::global_dof_index index,
-                       const VectorType &            vec,
-                       Number &                      res) const
+                       const VectorType             &vec,
+                       Number                       &res) const
     {
       res = vec(index);
     }
@@ -499,8 +499,8 @@ namespace internal
     void
     process_constraint(const unsigned int index,
                        const Number       weight,
-                       const VectorType vec,
-                       Number &           res) const
+                       const VectorType  &vec,
+                       Number            &res) const
     {
       res += weight * vector_access(vec, index);
     }
@@ -550,7 +550,7 @@ namespace internal
     void
     process_dofs_vectorized(const unsigned int   dofs_per_cell,
                             const unsigned int   dof_index,
-                            VectorType &         vec,
+                            VectorType          &vec,
                             VectorizedArrayType *dof_values,
                             std::integral_constant<bool, true>) const
     {
@@ -571,7 +571,7 @@ namespace internal
     void
     process_dofs_vectorized(const unsigned int   dofs_per_cell,
                             const unsigned int   dof_index,
-                            VectorType &         vec,
+                            VectorType          &vec,
                             VectorizedArrayType *dof_values,
                             std::integral_constant<bool, false>) const
     {
@@ -587,8 +587,8 @@ namespace internal
     template <typename VectorType>
     void
     process_dofs_vectorized_transpose(const unsigned int   dofs_per_cell,
-                                      const unsigned int dof_indices,
-                                      VectorType &         vec,
+                                      const unsigned int  *dof_indices,
+                                      VectorType          &vec,
                                       const unsigned int   constant_offset,
                                       VectorizedArrayType *dof_values,
                                       std::integral_constant<bool, true>) const
@@ -605,8 +605,8 @@ namespace internal
     template <typename VectorType>
     void
     process_dofs_vectorized_transpose(const unsigned int   dofs_per_cell,
-                                      const unsigned int dof_indices,
-                                      VectorType &         vec,
+                                      const unsigned int  *dof_indices,
+                                      VectorType          &vec,
                                       const unsigned int   constant_offset,
                                       VectorizedArrayType *dof_values,
                                       std::integral_constant<bool, false>) const
@@ -624,9 +624,9 @@ namespace internal
     void
     process_dofs_vectorized_transpose(
       const unsigned int                 dofs_per_cell,
-      const unsigned int *               dof_indices,
-      VectorType &                       vec,
-      VectorizedArrayType *              dof_values,
+      const unsigned int                *dof_indices,
+      VectorType                        &vec,
+      VectorizedArrayType               *dof_values,
       std::integral_constant<bool, true> type) const
     {
       process_dofs_vectorized_transpose(
@@ -639,9 +639,9 @@ namespace internal
     void
     process_dofs_vectorized_transpose(
       const unsigned int                  dofs_per_cell,
-      const unsigned int *                dof_indices,
-      VectorType &                        vec,
-      VectorizedArrayType *               dof_values,
+      const unsigned int                 *dof_indices,
+      VectorType                         &vec,
+      VectorizedArrayType                *dof_values,
       std::integral_constant<bool, false> type) const
     {
       process_dofs_vectorized_transpose(
@@ -655,7 +655,7 @@ namespace internal
     process_dofs_vectorized_transpose(
       const unsigned int                                  dofs_per_cell,
       std::array<Number2 *, VectorizedArrayType::size()> &global_ptr,
-      VectorizedArrayType *                               dof_values,
+      VectorizedArrayType                                *dof_values,
       std::integral_constant<bool, true>) const
     {
       vectorized_transpose_and_store(true,
@@ -683,8 +683,8 @@ namespace internal
     // scatter
     template <typename VectorType>
     void
-    process_dof_gather(const unsigned int indices,
-                       VectorType &         vec,
+    process_dof_gather(const unsigned int  *indices,
+                       VectorType          &vec,
                        const unsigned int   constant_offset,
                        VectorizedArrayType &res,
                        std::integral_constant<bool, true>) const
@@ -707,8 +707,8 @@ namespace internal
     // manually append all data
     template <typename VectorType>
     void
-    process_dof_gather(const unsigned int indices,
-                       VectorType &         vec,
+    process_dof_gather(const unsigned int  *indices,
+                       VectorType          &vec,
                        const unsigned int   constant_offset,
                        VectorizedArrayType &res,
                        std::integral_constant<bool, false>) const
@@ -722,8 +722,8 @@ namespace internal
     template <typename VectorType>
     void
     process_dof_global(const types::global_dof_index index,
-                       VectorType &                  vec,
-                       Number &                      res) const
+                       VectorType                   &vec,
+                       Number                       &res) const
     {
       vector_access_add_global(vec, index, res);
     }
@@ -742,8 +742,8 @@ namespace internal
     void
     process_constraint(const unsigned int index,
                        const Number       weight,
-                       VectorType &       vec,
-                       Number &           res) const
+                       VectorType        &vec,
+                       Number            &res) const
     {
       vector_access_add(vec, index, weight * res);
     }
@@ -789,7 +789,7 @@ namespace internal
     void
     process_dofs_vectorized(const unsigned int   dofs_per_cell,
                             const unsigned int   dof_index,
-                            VectorType &         vec,
+                            VectorType          &vec,
                             VectorizedArrayType *dof_values,
                             std::integral_constant<bool, true>) const
     {
@@ -805,7 +805,7 @@ namespace internal
     void
     process_dofs_vectorized(const unsigned int   dofs_per_cell,
                             const unsigned int   dof_index,
-                            VectorType &         vec,
+                            VectorType          &vec,
                             VectorizedArrayType *dof_values,
                             std::integral_constant<bool, false>) const
     {
@@ -820,8 +820,8 @@ namespace internal
     template <typename VectorType>
     void
     process_dofs_vectorized_transpose(const unsigned int   dofs_per_cell,
-                                      const unsigned int dof_indices,
-                                      VectorType &         vec,
+                                      const unsigned int  *dof_indices,
+                                      VectorType          &vec,
                                       const unsigned int   constant_offset,
                                       VectorizedArrayType *dof_values,
                                       std::integral_constant<bool, true>) const
@@ -838,8 +838,8 @@ namespace internal
     template <typename VectorType, bool booltype>
     void
     process_dofs_vectorized_transpose(const unsigned int   dofs_per_cell,
-                                      const unsigned int dof_indices,
-                                      VectorType &         vec,
+                                      const unsigned int  *dof_indices,
+                                      VectorType          &vec,
                                       const unsigned int   constant_offset,
                                       VectorizedArrayType *dof_values,
                                       std::integral_constant<bool, false>) const
@@ -856,9 +856,9 @@ namespace internal
     void
     process_dofs_vectorized_transpose(
       const unsigned int                 dofs_per_cell,
-      const unsigned int *               dof_indices,
-      VectorType &                       vec,
-      VectorizedArrayType *              dof_values,
+      const unsigned int                *dof_indices,
+      VectorType                        &vec,
+      VectorizedArrayType               *dof_values,
       std::integral_constant<bool, true> type) const
     {
       process_dofs_vectorized_transpose(
@@ -871,9 +871,9 @@ namespace internal
     void
     process_dofs_vectorized_transpose(
       const unsigned int                  dofs_per_cell,
-      const unsigned int *                dof_indices,
-      VectorType &                        vec,
-      VectorizedArrayType *               dof_values,
+      const unsigned int                 *dof_indices,
+      VectorType                         &vec,
+      VectorizedArrayType                *dof_values,
       std::integral_constant<bool, false> type) const
     {
       process_dofs_vectorized_transpose(
@@ -887,7 +887,7 @@ namespace internal
     process_dofs_vectorized_transpose(
       const unsigned int                                  dofs_per_cell,
       std::array<Number2 *, VectorizedArrayType::size()> &global_ptr,
-      VectorizedArrayType *                               dof_values,
+      VectorizedArrayType                                *dof_values,
       std::integral_constant<bool, true>) const
     {
       vectorized_transpose_and_store(false,
@@ -913,8 +913,8 @@ namespace internal
 
     template <typename VectorType>
     void
-    process_dof_gather(const unsigned int indices,
-                       VectorType &         vec,
+    process_dof_gather(const unsigned int  *indices,
+                       VectorType          &vec,
                        const unsigned int   constant_offset,
                        VectorizedArrayType &res,
                        std::integral_constant<bool, true>) const
@@ -926,8 +926,8 @@ namespace internal
 
     template <typename VectorType>
     void
-    process_dof_gather(const unsigned int indices,
-                       VectorType &         vec,
+    process_dof_gather(const unsigned int  *indices,
+                       VectorType          &vec,
                        const unsigned int   constant_offset,
                        VectorizedArrayType &res,
                        std::integral_constant<bool, false>) const
@@ -941,8 +941,8 @@ namespace internal
     template <typename VectorType>
     void
     process_dof_global(const types::global_dof_index index,
-                       VectorType &                  vec,
-                       Number &                      res) const
+                       VectorType                   &vec,
+                       Number                       &res) const
     {
       vec(index) = res;
     }
index b919ab827af351eaa00cd2adb436e421a037a9c3..d46c1a6e0beb31ba68e4d7e2fe0c0ca38713f448 100644 (file)
@@ -66,37 +66,37 @@ namespace internal
         virtual void
         export_to_ghosted_array_start(
           const unsigned int                          communication_channel,
-          const ArrayView<const double> &             locally_owned_array,
+          const ArrayView<const double>              &locally_owned_array,
           const std::vector<ArrayView<const double>> &shared_arrays,
-          const ArrayView<double> &                   ghost_array,
-          const ArrayView<double> &                   temporary_storage,
-          std::vector<MPI_Request> &                  requests) const = 0;
+          const ArrayView<double>                    &ghost_array,
+          const ArrayView<double>                    &temporary_storage,
+          std::vector<MPI_Request>                   &requests) const = 0;
 
         virtual void
         export_to_ghosted_array_finish(
-          const ArrayView<const double> &             locally_owned_array,
+          const ArrayView<const double>              &locally_owned_array,
           const std::vector<ArrayView<const double>> &shared_arrays,
-          const ArrayView<double> &                   ghost_array,
-          std::vector<MPI_Request> &                  requests) const = 0;
+          const ArrayView<double>                    &ghost_array,
+          std::vector<MPI_Request>                   &requests) const = 0;
 
         virtual void
         import_from_ghosted_array_start(
           const VectorOperation::values               vector_operation,
           const unsigned int                          communication_channel,
-          const ArrayView<const double> &             locally_owned_array,
+          const ArrayView<const double>              &locally_owned_array,
           const std::vector<ArrayView<const double>> &shared_arrays,
-          const ArrayView<double> &                   ghost_array,
-          const ArrayView<double> &                   temporary_storage,
-          std::vector<MPI_Request> &                  requests) const = 0;
+          const ArrayView<double>                    &ghost_array,
+          const ArrayView<double>                    &temporary_storage,
+          std::vector<MPI_Request>                   &requests) const = 0;
 
         virtual void
         import_from_ghosted_array_finish(
           const VectorOperation::values               vector_operation,
-          const ArrayView<double> &                   locally_owned_storage,
+          const ArrayView<double>                    &locally_owned_storage,
           const std::vector<ArrayView<const double>> &shared_arrays,
-          const ArrayView<double> &                   ghost_array,
-          const ArrayView<const double> &             temporary_storage,
-          std::vector<MPI_Request> &                  requests) const = 0;
+          const ArrayView<double>                    &ghost_array,
+          const ArrayView<const double>              &temporary_storage,
+          std::vector<MPI_Request>                   &requests) const = 0;
 
         virtual void
         reset_ghost_values(const ArrayView<double> &ghost_array) const = 0;
@@ -104,37 +104,37 @@ namespace internal
         virtual void
         export_to_ghosted_array_start(
           const unsigned int                         communication_channel,
-          const ArrayView<const float> &             locally_owned_array,
+          const ArrayView<const float>              &locally_owned_array,
           const std::vector<ArrayView<const float>> &shared_arrays,
-          const ArrayView<float> &                   ghost_array,
-          const ArrayView<float> &                   temporary_storage,
-          std::vector<MPI_Request> &                 requests) const = 0;
+          const ArrayView<float>                    &ghost_array,
+          const ArrayView<float>                    &temporary_storage,
+          std::vector<MPI_Request>                  &requests) const = 0;
 
         virtual void
         export_to_ghosted_array_finish(
-          const ArrayView<const float> &             locally_owned_array,
+          const ArrayView<const float>              &locally_owned_array,
           const std::vector<ArrayView<const float>> &shared_arrays,
-          const ArrayView<float> &                   ghost_array,
-          std::vector<MPI_Request> &                 requests) const = 0;
+          const ArrayView<float>                    &ghost_array,
+          std::vector<MPI_Request>                  &requests) const = 0;
 
         virtual void
         import_from_ghosted_array_start(
           const VectorOperation::values              vector_operation,
           const unsigned int                         communication_channel,
-          const ArrayView<const float> &             locally_owned_array,
+          const ArrayView<const float>              &locally_owned_array,
           const std::vector<ArrayView<const float>> &shared_arrays,
-          const ArrayView<float> &                   ghost_array,
-          const ArrayView<float> &                   temporary_storage,
-          std::vector<MPI_Request> &                 requests) const = 0;
+          const ArrayView<float>                    &ghost_array,
+          const ArrayView<float>                    &temporary_storage,
+          std::vector<MPI_Request>                  &requests) const = 0;
 
         virtual void
         import_from_ghosted_array_finish(
           const VectorOperation::values              vector_operation,
-          const ArrayView<float> &                   locally_owned_storage,
+          const ArrayView<float>                    &locally_owned_storage,
           const std::vector<ArrayView<const float>> &shared_arrays,
-          const ArrayView<float> &                   ghost_array,
-          const ArrayView<const float> &             temporary_storage,
-          std::vector<MPI_Request> &                 requests) const = 0;
+          const ArrayView<float>                    &ghost_array,
+          const ArrayView<const float>              &temporary_storage,
+          std::vector<MPI_Request>                  &requests) const = 0;
 
         virtual void
         reset_ghost_values(const ArrayView<float> &ghost_array) const = 0;
@@ -171,37 +171,37 @@ namespace internal
         void
         export_to_ghosted_array_start(
           const unsigned int                          communication_channel,
-          const ArrayView<const double> &             locally_owned_array,
+          const ArrayView<const double>              &locally_owned_array,
           const std::vector<ArrayView<const double>> &shared_arrays,
-          const ArrayView<double> &                   ghost_array,
-          const ArrayView<double> &                   temporary_storage,
-          std::vector<MPI_Request> &                  requests) const override;
+          const ArrayView<double>                    &ghost_array,
+          const ArrayView<double>                    &temporary_storage,
+          std::vector<MPI_Request>                   &requests) const override;
 
         void
         export_to_ghosted_array_finish(
-          const ArrayView<const double> &             locally_owned_array,
+          const ArrayView<const double>              &locally_owned_array,
           const std::vector<ArrayView<const double>> &shared_arrays,
-          const ArrayView<double> &                   ghost_array,
-          std::vector<MPI_Request> &                  requests) const override;
+          const ArrayView<double>                    &ghost_array,
+          std::vector<MPI_Request>                   &requests) const override;
 
         void
         import_from_ghosted_array_start(
           const VectorOperation::values               vector_operation,
           const unsigned int                          communication_channel,
-          const ArrayView<const double> &             locally_owned_array,
+          const ArrayView<const double>              &locally_owned_array,
           const std::vector<ArrayView<const double>> &shared_arrays,
-          const ArrayView<double> &                   ghost_array,
-          const ArrayView<double> &                   temporary_storage,
-          std::vector<MPI_Request> &                  requests) const override;
+          const ArrayView<double>                    &ghost_array,
+          const ArrayView<double>                    &temporary_storage,
+          std::vector<MPI_Request>                   &requests) const override;
 
         void
         import_from_ghosted_array_finish(
           const VectorOperation::values               vector_operation,
-          const ArrayView<double> &                   locally_owned_storage,
+          const ArrayView<double>                    &locally_owned_storage,
           const std::vector<ArrayView<const double>> &shared_arrays,
-          const ArrayView<double> &                   ghost_array,
-          const ArrayView<const double> &             temporary_storage,
-          std::vector<MPI_Request> &                  requests) const override;
+          const ArrayView<double>                    &ghost_array,
+          const ArrayView<const double>              &temporary_storage,
+          std::vector<MPI_Request>                   &requests) const override;
 
         void
         reset_ghost_values(const ArrayView<double> &ghost_array) const override;
@@ -209,37 +209,37 @@ namespace internal
         void
         export_to_ghosted_array_start(
           const unsigned int                         communication_channel,
-          const ArrayView<const float> &             locally_owned_array,
+          const ArrayView<const float>              &locally_owned_array,
           const std::vector<ArrayView<const float>> &shared_arrays,
-          const ArrayView<float> &                   ghost_array,
-          const ArrayView<float> &                   temporary_storage,
-          std::vector<MPI_Request> &                 requests) const override;
+          const ArrayView<float>                    &ghost_array,
+          const ArrayView<float>                    &temporary_storage,
+          std::vector<MPI_Request>                  &requests) const override;
 
         void
         export_to_ghosted_array_finish(
-          const ArrayView<const float> &             locally_owned_array,
+          const ArrayView<const float>              &locally_owned_array,
           const std::vector<ArrayView<const float>> &shared_arrays,
-          const ArrayView<float> &                   ghost_array,
-          std::vector<MPI_Request> &                 requests) const override;
+          const ArrayView<float>                    &ghost_array,
+          std::vector<MPI_Request>                  &requests) const override;
 
         void
         import_from_ghosted_array_start(
           const VectorOperation::values              vector_operation,
           const unsigned int                         communication_channel,
-          const ArrayView<const float> &             locally_owned_array,
+          const ArrayView<const float>              &locally_owned_array,
           const std::vector<ArrayView<const float>> &shared_arrays,
-          const ArrayView<float> &                   ghost_array,
-          const ArrayView<float> &                   temporary_storage,
-          std::vector<MPI_Request> &                 requests) const override;
+          const ArrayView<float>                    &ghost_array,
+          const ArrayView<float>                    &temporary_storage,
+          std::vector<MPI_Request>                  &requests) const override;
 
         void
         import_from_ghosted_array_finish(
           const VectorOperation::values              vector_operation,
-          const ArrayView<float> &                   locally_owned_storage,
+          const ArrayView<float>                    &locally_owned_storage,
           const std::vector<ArrayView<const float>> &shared_arrays,
-          const ArrayView<float> &                   ghost_array,
-          const ArrayView<const float> &             temporary_storage,
-          std::vector<MPI_Request> &                 requests) const override;
+          const ArrayView<float>                    &ghost_array,
+          const ArrayView<const float>              &temporary_storage,
+          std::vector<MPI_Request>                  &requests) const override;
 
         void
         reset_ghost_values(const ArrayView<float> &ghost_array) const override;
@@ -287,37 +287,37 @@ namespace internal
         void
         export_to_ghosted_array_start(
           const unsigned int                          communication_channel,
-          const ArrayView<const double> &             locally_owned_array,
+          const ArrayView<const double>              &locally_owned_array,
           const std::vector<ArrayView<const double>> &shared_arrays,
-          const ArrayView<double> &                   ghost_array,
-          const ArrayView<double> &                   temporary_storage,
-          std::vector<MPI_Request> &                  requests) const override;
+          const ArrayView<double>                    &ghost_array,
+          const ArrayView<double>                    &temporary_storage,
+          std::vector<MPI_Request>                   &requests) const override;
 
         void
         export_to_ghosted_array_finish(
-          const ArrayView<const double> &             locally_owned_array,
+          const ArrayView<const double>              &locally_owned_array,
           const std::vector<ArrayView<const double>> &shared_arrays,
-          const ArrayView<double> &                   ghost_array,
-          std::vector<MPI_Request> &                  requests) const override;
+          const ArrayView<double>                    &ghost_array,
+          std::vector<MPI_Request>                   &requests) const override;
 
         void
         import_from_ghosted_array_start(
           const VectorOperation::values               vector_operation,
           const unsigned int                          communication_channel,
-          const ArrayView<const double> &             locally_owned_array,
+          const ArrayView<const double>              &locally_owned_array,
           const std::vector<ArrayView<const double>> &shared_arrays,
-          const ArrayView<double> &                   ghost_array,
-          const ArrayView<double> &                   temporary_storage,
-          std::vector<MPI_Request> &                  requests) const override;
+          const ArrayView<double>                    &ghost_array,
+          const ArrayView<double>                    &temporary_storage,
+          std::vector<MPI_Request>                   &requests) const override;
 
         void
         import_from_ghosted_array_finish(
           const VectorOperation::values               vector_operation,
-          const ArrayView<double> &                   locally_owned_storage,
+          const ArrayView<double>                    &locally_owned_storage,
           const std::vector<ArrayView<const double>> &shared_arrays,
-          const ArrayView<double> &                   ghost_array,
-          const ArrayView<const double> &             temporary_storage,
-          std::vector<MPI_Request> &                  requests) const override;
+          const ArrayView<double>                    &ghost_array,
+          const ArrayView<const double>              &temporary_storage,
+          std::vector<MPI_Request>                   &requests) const override;
 
         void
         reset_ghost_values(const ArrayView<double> &ghost_array) const override;
@@ -325,37 +325,37 @@ namespace internal
         void
         export_to_ghosted_array_start(
           const unsigned int                         communication_channel,
-          const ArrayView<const float> &             locally_owned_array,
+          const ArrayView<const float>              &locally_owned_array,
           const std::vector<ArrayView<const float>> &shared_arrays,
-          const ArrayView<float> &                   ghost_array,
-          const ArrayView<float> &                   temporary_storage,
-          std::vector<MPI_Request> &                 requests) const override;
+          const ArrayView<float>                    &ghost_array,
+          const ArrayView<float>                    &temporary_storage,
+          std::vector<MPI_Request>                  &requests) const override;
 
         void
         export_to_ghosted_array_finish(
-          const ArrayView<const float> &             locally_owned_array,
+          const ArrayView<const float>              &locally_owned_array,
           const std::vector<ArrayView<const float>> &shared_arrays,
-          const ArrayView<float> &                   ghost_array,
-          std::vector<MPI_Request> &                 requests) const override;
+          const ArrayView<float>                    &ghost_array,
+          std::vector<MPI_Request>                  &requests) const override;
 
         void
         import_from_ghosted_array_start(
           const VectorOperation::values              vector_operation,
           const unsigned int                         communication_channel,
-          const ArrayView<const float> &             locally_owned_array,
+          const ArrayView<const float>              &locally_owned_array,
           const std::vector<ArrayView<const float>> &shared_arrays,
-          const ArrayView<float> &                   ghost_array,
-          const ArrayView<float> &                   temporary_storage,
-          std::vector<MPI_Request> &                 requests) const override;
+          const ArrayView<float>                    &ghost_array,
+          const ArrayView<float>                    &temporary_storage,
+          std::vector<MPI_Request>                  &requests) const override;
 
         void
         import_from_ghosted_array_finish(
           const VectorOperation::values              vector_operation,
-          const ArrayView<float> &                   locally_owned_storage,
+          const ArrayView<float>                    &locally_owned_storage,
           const std::vector<ArrayView<const float>> &shared_arrays,
-          const ArrayView<float> &                   ghost_array,
-          const ArrayView<const float> &             temporary_storage,
-          std::vector<MPI_Request> &                 requests) const override;
+          const ArrayView<float>                    &ghost_array,
+          const ArrayView<const float>              &temporary_storage,
+          std::vector<MPI_Request>                  &requests) const override;
 
         void
         reset_ghost_values(const ArrayView<float> &ghost_array) const override;
@@ -365,40 +365,40 @@ namespace internal
         void
         export_to_ghosted_array_start_impl(
           const unsigned int                          communication_channel,
-          const ArrayView<const Number> &             locally_owned_array,
+          const ArrayView<const Number>              &locally_owned_array,
           const std::vector<ArrayView<const Number>> &shared_arrays,
-          const ArrayView<Number> &                   ghost_array,
-          const ArrayView<Number> &                   temporary_storage,
-          std::vector<MPI_Request> &                  requests) const;
+          const ArrayView<Number>                    &ghost_array,
+          const ArrayView<Number>                    &temporary_storage,
+          std::vector<MPI_Request>                   &requests) const;
 
         template <typename Number>
         void
         export_to_ghosted_array_finish_impl(
-          const ArrayView<const Number> &             locally_owned_array,
+          const ArrayView<const Number>              &locally_owned_array,
           const std::vector<ArrayView<const Number>> &shared_arrays,
-          const ArrayView<Number> &                   ghost_array,
-          std::vector<MPI_Request> &                  requests) const;
+          const ArrayView<Number>                    &ghost_array,
+          std::vector<MPI_Request>                   &requests) const;
 
         template <typename Number>
         void
         import_from_ghosted_array_start_impl(
           const VectorOperation::values               vector_operation,
           const unsigned int                          communication_channel,
-          const ArrayView<const Number> &             locally_owned_array,
+          const ArrayView<const Number>              &locally_owned_array,
           const std::vector<ArrayView<const Number>> &shared_arrays,
-          const ArrayView<Number> &                   ghost_array,
-          const ArrayView<Number> &                   temporary_storage,
-          std::vector<MPI_Request> &                  requests) const;
+          const ArrayView<Number>                    &ghost_array,
+          const ArrayView<Number>                    &temporary_storage,
+          std::vector<MPI_Request>                   &requests) const;
 
         template <typename Number>
         void
         import_from_ghosted_array_finish_impl(
           const VectorOperation::values               vector_operation,
-          const ArrayView<Number> &                   locally_owned_storage,
+          const ArrayView<Number>                    &locally_owned_storage,
           const std::vector<ArrayView<const Number>> &shared_arrays,
-          const ArrayView<Number> &                   ghost_array,
-          const ArrayView<const Number> &             temporary_storage,
-          std::vector<MPI_Request> &                  requests) const;
+          const ArrayView<Number>                    &ghost_array,
+          const ArrayView<const Number>              &temporary_storage,
+          std::vector<MPI_Request>                   &requests) const;
 
         template <typename Number>
         void
index fade1111a6c490c1acf99f9515424738827eed83..3f304441a88044ea584461838a27031fdd455712 100644 (file)
@@ -155,8 +155,8 @@ namespace MeshWorker
        * Assemble a single local residual into the global.
        */
       void
-      assemble(VectorType &                                global,
-               const BlockVector<double> &                 local,
+      assemble(VectorType                                 &global,
+               const BlockVector<double>                  &local,
                const std::vector<types::global_dof_index> &dof);
 
       /**
@@ -221,7 +221,7 @@ namespace MeshWorker
        * initialize cell matrix vectors.
        */
       void
-      initialize(const BlockInfo *              block_info,
+      initialize(const BlockInfo               *block_info,
                  MatrixBlockVector<MatrixType> &matrices);
 
       /**
@@ -262,8 +262,8 @@ namespace MeshWorker
        * Assemble a single local matrix into a global one.
        */
       void
-      assemble(MatrixBlock<MatrixType> &                   global,
-               const FullMatrix<number> &                  local,
+      assemble(MatrixBlock<MatrixType>                    &global,
+               const FullMatrix<number>                   &local,
                const unsigned int                          block_row,
                const unsigned int                          block_col,
                const std::vector<types::global_dof_index> &dof1,
@@ -396,8 +396,8 @@ namespace MeshWorker
        * Assemble a single local matrix into a global one.
        */
       void
-      assemble(MatrixType &                                global,
-               const FullMatrix<number> &                  local,
+      assemble(MatrixType                                 &global,
+               const FullMatrix<number>                   &local,
                const unsigned int                          block_row,
                const unsigned int                          block_col,
                const std::vector<types::global_dof_index> &dof1,
@@ -410,8 +410,8 @@ namespace MeshWorker
        * Assemble a single local matrix into a global one.
        */
       void
-      assemble_fluxes(MatrixType &                                global,
-                      const FullMatrix<number> &                  local,
+      assemble_fluxes(MatrixType                                 &global,
+                      const FullMatrix<number>                   &local,
                       const unsigned int                          block_row,
                       const unsigned int                          block_col,
                       const std::vector<types::global_dof_index> &dof1,
@@ -423,8 +423,8 @@ namespace MeshWorker
        * Assemble a single local matrix into a global one.
        */
       void
-      assemble_up(MatrixType &                                global,
-                  const FullMatrix<number> &                  local,
+      assemble_up(MatrixType                                 &global,
+                  const FullMatrix<number>                   &local,
                   const unsigned int                          block_row,
                   const unsigned int                          block_col,
                   const std::vector<types::global_dof_index> &dof1,
@@ -436,8 +436,8 @@ namespace MeshWorker
        * Assemble a single local matrix into a global one.
        */
       void
-      assemble_down(MatrixType &                                global,
-                    const FullMatrix<number> &                  local,
+      assemble_down(MatrixType                                 &global,
+                    const FullMatrix<number>                   &local,
                     const unsigned int                          block_row,
                     const unsigned int                          block_col,
                     const std::vector<types::global_dof_index> &dof1,
@@ -449,8 +449,8 @@ namespace MeshWorker
        * Assemble a single local matrix into a global one.
        */
       void
-      assemble_in(MatrixType &                                global,
-                  const FullMatrix<number> &                  local,
+      assemble_in(MatrixType                                 &global,
+                  const FullMatrix<number>                   &local,
                   const unsigned int                          block_row,
                   const unsigned int                          block_col,
                   const std::vector<types::global_dof_index> &dof1,
@@ -462,8 +462,8 @@ namespace MeshWorker
        * Assemble a single local matrix into a global one.
        */
       void
-      assemble_out(MatrixType &                                global,
-                   const FullMatrix<number> &                  local,
+      assemble_out(MatrixType                                 &global,
+                   const FullMatrix<number>                   &local,
                    const unsigned int                          block_row,
                    const unsigned int                          block_col,
                    const std::vector<types::global_dof_index> &dof1,
@@ -529,7 +529,7 @@ namespace MeshWorker
     inline void
     ResidualLocalBlocksToGlobalBlocks<VectorType>::initialize(
       const BlockInfo *b,
-      AnyData &        m)
+      AnyData         &m)
     {
       block_info = b;
       residuals  = m;
@@ -557,8 +557,8 @@ namespace MeshWorker
     template <typename VectorType>
     inline void
     ResidualLocalBlocksToGlobalBlocks<VectorType>::assemble(
-      VectorType &                                global,
-      const BlockVector<double> &                 local,
+      VectorType                                 &global,
+      const BlockVector<double>                  &local,
       const std::vector<types::global_dof_index> &dof)
     {
       if (constraints == 0)
@@ -627,7 +627,7 @@ namespace MeshWorker
     template <typename MatrixType, typename number>
     inline void
     MatrixLocalBlocksToGlobalBlocks<MatrixType, number>::initialize(
-      const BlockInfo *              b,
+      const BlockInfo               *b,
       MatrixBlockVector<MatrixType> &m)
     {
       block_info = b;
@@ -661,8 +661,8 @@ namespace MeshWorker
     template <typename MatrixType, typename number>
     inline void
     MatrixLocalBlocksToGlobalBlocks<MatrixType, number>::assemble(
-      MatrixBlock<MatrixType> &                   global,
-      const FullMatrix<number> &                  local,
+      MatrixBlock<MatrixType>                    &global,
+      const FullMatrix<number>                   &local,
       const unsigned int                          block_row,
       const unsigned int                          block_col,
       const std::vector<types::global_dof_index> &dof1,
@@ -692,7 +692,7 @@ namespace MeshWorker
         }
       else
         {
-          const BlockIndices &                 bi = this->block_info->local();
+          const BlockIndices                  &bi = this->block_info->local();
           std::vector<types::global_dof_index> sliced_row_indices(
             bi.block_size(block_row));
           for (unsigned int i = 0; i < sliced_row_indices.size(); ++i)
@@ -842,8 +842,8 @@ namespace MeshWorker
     template <typename MatrixType, typename number>
     inline void
     MGMatrixLocalBlocksToGlobalBlocks<MatrixType, number>::assemble(
-      MatrixType &                                global,
-      const FullMatrix<number> &                  local,
+      MatrixType                                 &global,
+      const FullMatrix<number>                   &local,
       const unsigned int                          block_row,
       const unsigned int                          block_col,
       const std::vector<types::global_dof_index> &dof1,
@@ -931,8 +931,8 @@ namespace MeshWorker
     template <typename MatrixType, typename number>
     inline void
     MGMatrixLocalBlocksToGlobalBlocks<MatrixType, number>::assemble_fluxes(
-      MatrixType &                                global,
-      const FullMatrix<number> &                  local,
+      MatrixType                                 &global,
+      const FullMatrix<number>                   &local,
       const unsigned int                          block_row,
       const unsigned int                          block_col,
       const std::vector<types::global_dof_index> &dof1,
@@ -994,8 +994,8 @@ namespace MeshWorker
     template <typename MatrixType, typename number>
     inline void
     MGMatrixLocalBlocksToGlobalBlocks<MatrixType, number>::assemble_up(
-      MatrixType &                                global,
-      const FullMatrix<number> &                  local,
+      MatrixType                                 &global,
+      const FullMatrix<number>                   &local,
       const unsigned int                          block_row,
       const unsigned int                          block_col,
       const std::vector<types::global_dof_index> &dof1,
@@ -1057,8 +1057,8 @@ namespace MeshWorker
     template <typename MatrixType, typename number>
     inline void
     MGMatrixLocalBlocksToGlobalBlocks<MatrixType, number>::assemble_down(
-      MatrixType &                                global,
-      const FullMatrix<number> &                  local,
+      MatrixType                                 &global,
+      const FullMatrix<number>                   &local,
       const unsigned int                          block_row,
       const unsigned int                          block_col,
       const std::vector<types::global_dof_index> &dof1,
@@ -1120,8 +1120,8 @@ namespace MeshWorker
     template <typename MatrixType, typename number>
     inline void
     MGMatrixLocalBlocksToGlobalBlocks<MatrixType, number>::assemble_in(
-      MatrixType &                                global,
-      const FullMatrix<number> &                  local,
+      MatrixType                                 &global,
+      const FullMatrix<number>                   &local,
       const unsigned int                          block_row,
       const unsigned int                          block_col,
       const std::vector<types::global_dof_index> &dof1,
@@ -1195,8 +1195,8 @@ namespace MeshWorker
     template <typename MatrixType, typename number>
     inline void
     MGMatrixLocalBlocksToGlobalBlocks<MatrixType, number>::assemble_out(
-      MatrixType &                                global,
-      const FullMatrix<number> &                  local,
+      MatrixType                                 &global,
+      const FullMatrix<number>                   &local,
       const unsigned int                          block_row,
       const unsigned int                          block_col,
       const std::vector<types::global_dof_index> &dof1,
index b50c8a973fd88170388b9071061abc4f757f6792..f02186befbeeaf4f644d41cd10c53448b7ed449a 100644 (file)
@@ -70,8 +70,8 @@ namespace MeshWorker
      * For every object, specify the size they should have.
      */
     explicit CopyData(
-      const ndarray<unsigned int, n_matrices, 2> &   matrix_sizes,
-      const std::array<unsigned int, n_vectors> &    vector_sizes,
+      const ndarray<unsigned int, n_matrices, 2>    &matrix_sizes,
+      const std::array<unsigned int, n_vectors>     &vector_sizes,
       const std::array<unsigned int, n_dof_indices> &dof_indices_sizes);
 
     /**
@@ -163,8 +163,8 @@ namespace MeshWorker
             int n_dof_indices,
             typename ScalarType>
   CopyData<n_matrices, n_vectors, n_dof_indices, ScalarType>::CopyData(
-    const ndarray<unsigned int, n_matrices, 2> &   matrix_sizes,
-    const std::array<unsigned int, n_vectors> &    vector_sizes,
+    const ndarray<unsigned int, n_matrices, 2>    &matrix_sizes,
+    const std::array<unsigned int, n_vectors>     &vector_sizes,
     const std::array<unsigned int, n_dof_indices> &dof_indices_sizes)
   {
     for (unsigned int i = 0; i < n_matrices; ++i)
index 067a3666b3450c9a998415fa6202137b5d4bc87e..c138615eae67fc2fecf355b07aba3f3507cfcadc 100644 (file)
@@ -114,8 +114,8 @@ namespace MeshWorker
      */
     template <class FEVALUES>
     void
-    initialize(const FiniteElement<dim, spacedim> &            el,
-               const Mapping<dim, spacedim> &                  mapping,
+    initialize(const FiniteElement<dim, spacedim>             &el,
+               const Mapping<dim, spacedim>                   &mapping,
                const Quadrature<FEVALUES::integral_dimension> &quadrature,
                const UpdateFlags                               flags,
                const BlockInfo *local_block_info = nullptr);
@@ -232,7 +232,7 @@ namespace MeshWorker
     template <typename TYPE>
     void
     fill_local_data(std::vector<std::vector<std::vector<TYPE>>> &data,
-                    VectorSelector &                             selector,
+                    VectorSelector                              &selector,
                     bool split_fevalues) const;
     /**
      * Cache the number of components of the system element.
@@ -316,8 +316,8 @@ namespace MeshWorker
      */
     void
     initialize(const FiniteElement<dim, spacedim> &el,
-               const Mapping<dim, spacedim> &      mapping,
-               const BlockInfo *                   block_info = nullptr);
+               const Mapping<dim, spacedim>       &mapping,
+               const BlockInfo                    *block_info = nullptr);
 
     /**
      * Initialize the IntegrationInfo objects contained.
@@ -329,10 +329,10 @@ namespace MeshWorker
     template <typename VectorType>
     void
     initialize(const FiniteElement<dim, spacedim> &el,
-               const Mapping<dim, spacedim> &      mapping,
-               const AnyData &                     data,
-               const VectorType &                  dummy,
-               const BlockInfo *                   block_info = nullptr);
+               const Mapping<dim, spacedim>       &mapping,
+               const AnyData                      &data,
+               const VectorType                   &dummy,
+               const BlockInfo                    *block_info = nullptr);
     /**
      * Initialize the IntegrationInfo objects contained.
      *
@@ -343,10 +343,10 @@ namespace MeshWorker
     template <typename VectorType>
     void
     initialize(const FiniteElement<dim, spacedim> &el,
-               const Mapping<dim, spacedim> &      mapping,
-               const AnyData &                     data,
-               const MGLevelObject<VectorType> &   dummy,
-               const BlockInfo *                   block_info = nullptr);
+               const Mapping<dim, spacedim>       &mapping,
+               const AnyData                      &data,
+               const MGLevelObject<VectorType>    &dummy,
+               const BlockInfo                    *block_info = nullptr);
     /**
      * @name FEValues setup
      * @{
@@ -602,7 +602,7 @@ namespace MeshWorker
     for (unsigned int i = 0; i < other.fevalv.size(); ++i)
       {
         const FEValuesBase<dim, sdim> &p = *other.fevalv[i];
-        const FEValues<dim, sdim> *    pc =
+        const FEValues<dim, sdim>     *pc =
           dynamic_cast<const FEValues<dim, sdim> *>(&p);
         const FEFaceValues<dim, sdim> *pf =
           dynamic_cast<const FEFaceValues<dim, sdim> *>(&p);
@@ -639,11 +639,11 @@ namespace MeshWorker
   template <class FEVALUES>
   inline void
   IntegrationInfo<dim, sdim>::initialize(
-    const FiniteElement<dim, sdim> &                el,
-    const Mapping<dim, sdim> &                      mapping,
+    const FiniteElement<dim, sdim>                 &el,
+    const Mapping<dim, sdim>                       &mapping,
     const Quadrature<FEVALUES::integral_dimension> &quadrature,
     const UpdateFlags                               flags,
-    const BlockInfo *                               block_info)
+    const BlockInfo                                *block_info)
   {
     fe_pointer = &el;
     if (block_info == nullptr || block_info->local().size() == 0)
@@ -818,13 +818,13 @@ namespace MeshWorker
   void
   IntegrationInfoBox<dim, sdim>::initialize(const FiniteElement<dim, sdim> &el,
                                             const Mapping<dim, sdim> &mapping,
-                                            const AnyData &           data,
+                                            const AnyData            &data,
                                             const VectorType &,
                                             const BlockInfo *block_info)
   {
     initialize(el, mapping, block_info);
     std::shared_ptr<VectorData<VectorType, dim, sdim>> p;
-    VectorDataBase<dim, sdim> *                        pp;
+    VectorDataBase<dim, sdim>                         *pp;
 
     p = std::make_shared<VectorData<VectorType, dim, sdim>>(cell_selector);
     // Public member function of parent class was not found without
@@ -854,13 +854,13 @@ namespace MeshWorker
   void
   IntegrationInfoBox<dim, sdim>::initialize(const FiniteElement<dim, sdim> &el,
                                             const Mapping<dim, sdim> &mapping,
-                                            const AnyData &           data,
+                                            const AnyData            &data,
                                             const MGLevelObject<VectorType> &,
                                             const BlockInfo *block_info)
   {
     initialize(el, mapping, block_info);
     std::shared_ptr<MGVectorData<VectorType, dim, sdim>> p;
-    VectorDataBase<dim, sdim> *                          pp;
+    VectorDataBase<dim, sdim>                           *pp;
 
     p = std::make_shared<MGVectorData<VectorType, dim, sdim>>(cell_selector);
     // Public member function of parent class was not found without
index 0e36eba78f3f8ff0b4886ab763432320e772601b..7cd4239d32903875e2cc3522ab672882517c29f5 100644 (file)
@@ -191,16 +191,16 @@ namespace MeshWorker
   cell_action(
     ITERATOR                  cell,
     DoFInfoBox<dim, DOFINFO> &dof_info,
-    INFOBOX &                 info,
+    INFOBOX                  &info,
     const std::function<void(DOFINFO &, typename INFOBOX::CellInfo &)>
       &cell_worker,
     const std::function<void(DOFINFO &, typename INFOBOX::CellInfo &)>
-      &                                                      boundary_worker,
+                                                            &boundary_worker,
     const std::function<void(DOFINFO &,
                              DOFINFO &,
                              typename INFOBOX::CellInfo &,
                              typename INFOBOX::CellInfo &)> &face_worker,
-    const LoopControl &                                      loop_control)
+    const LoopControl                                       &loop_control)
   {
     const bool ignore_subdomain =
       (cell->get_triangulation().locally_owned_subdomain() ==
@@ -438,17 +438,17 @@ namespace MeshWorker
   void
   loop(ITERATOR                             begin,
        std_cxx20::type_identity_t<ITERATOR> end,
-       DOFINFO &                            dinfo,
-       INFOBOX &                            info,
+       DOFINFO                             &dinfo,
+       INFOBOX                             &info,
        const std::function<void(DOFINFO &, typename INFOBOX::CellInfo &)>
          &cell_worker,
        const std::function<void(DOFINFO &, typename INFOBOX::CellInfo &)>
-         &                                                      boundary_worker,
+                                                               &boundary_worker,
        const std::function<void(DOFINFO &,
                                 DOFINFO &,
                                 typename INFOBOX::CellInfo &,
                                 typename INFOBOX::CellInfo &)> &face_worker,
-       ASSEMBLER &                                              assembler,
+       ASSEMBLER                                               &assembler,
        const LoopControl &lctrl = LoopControl())
   {
     DoFInfoBox<dim, DOFINFO> dof_info(dinfo);
@@ -492,11 +492,11 @@ namespace MeshWorker
   void
   integration_loop(ITERATOR                              begin,
                    std_cxx20::type_identity_t<ITERATOR>  end,
-                   DoFInfo<dim, spacedim> &              dof_info,
-                   IntegrationInfoBox<dim, spacedim> &   box,
+                   DoFInfo<dim, spacedim>               &dof_info,
+                   IntegrationInfoBox<dim, spacedim>    &box,
                    const LocalIntegrator<dim, spacedim> &integrator,
-                   ASSEMBLER &                           assembler,
-                   const LoopControl &                   lctrl = LoopControl())
+                   ASSEMBLER                            &assembler,
+                   const LoopControl                    &lctrl = LoopControl())
   {
     std::function<void(DoFInfo<dim, spacedim> &,
                        IntegrationInfo<dim, spacedim> &)>
@@ -511,20 +511,20 @@ namespace MeshWorker
       face_worker;
     if (integrator.use_cell)
       cell_worker =
-        [&integrator](DoFInfo<dim, spacedim> &        dof_info,
+        [&integrator](DoFInfo<dim, spacedim>         &dof_info,
                       IntegrationInfo<dim, spacedim> &integration_info) {
           integrator.cell(dof_info, integration_info);
         };
     if (integrator.use_boundary)
       boundary_worker =
-        [&integrator](DoFInfo<dim, spacedim> &        dof_info,
+        [&integrator](DoFInfo<dim, spacedim>         &dof_info,
                       IntegrationInfo<dim, spacedim> &integration_info) {
           integrator.boundary(dof_info, integration_info);
         };
     if (integrator.use_face)
       face_worker =
-        [&integrator](DoFInfo<dim, spacedim> &        dof_info_1,
-                      DoFInfo<dim, spacedim> &        dof_info_2,
+        [&integrator](DoFInfo<dim, spacedim>         &dof_info_1,
+                      DoFInfo<dim, spacedim>         &dof_info_2,
                       IntegrationInfo<dim, spacedim> &integration_info_1,
                       IntegrationInfo<dim, spacedim> &integration_info_2) {
           integrator.face(dof_info_1,
index 8af89aa03cc9cc6a5c8709679447f39718a5f5eb..58fd0ea96c1b7d9a9f542840c0cdf497554a8711 100644 (file)
@@ -285,10 +285,10 @@ namespace MeshWorker
     const CellIteratorType &end,
 
     const CellWorkerFunctionType &cell_worker,
-    const CopierType &            copier,
+    const CopierType             &copier,
 
     const ScratchData &sample_scratch_data,
-    const CopyData &   sample_copy_data,
+    const CopyData    &sample_copy_data,
 
     const AssembleFlags flags = assemble_own_cells,
 
@@ -299,7 +299,7 @@ namespace MeshWorker
     const unsigned int queue_length = 2 * MultithreadInfo::n_threads(),
     const unsigned int chunk_size   = 8
 #else
-    const CellIteratorType &                            begin,
+    const CellIteratorType                             &begin,
     const std_cxx20::type_identity_t<CellIteratorType> &end,
 
     const std_cxx20::type_identity_t<std::function<
@@ -309,7 +309,7 @@ namespace MeshWorker
       &copier,
 
     const ScratchData &sample_scratch_data,
-    const CopyData &   sample_copy_data,
+    const CopyData    &sample_copy_data,
 
     const AssembleFlags flags = assemble_own_cells,
 
@@ -399,8 +399,8 @@ namespace MeshWorker
         "conditions is not satisfied."));
 
     auto cell_action = [&](const CellIteratorBaseType &cell,
-                           ScratchData &               scratch,
-                           CopyData &                  copy) {
+                           ScratchData                &scratch,
+                           CopyData                   &copy) {
       // First reset the CopyData class to the empty copy_data given by the
       // user.
       copy = sample_copy_data;
@@ -722,7 +722,7 @@ namespace MeshWorker
       &copier,
 
     const ScratchData &sample_scratch_data,
-    const CopyData &   sample_copy_data,
+    const CopyData    &sample_copy_data,
 
     const AssembleFlags flags = assemble_own_cells,
 
@@ -838,15 +838,15 @@ namespace MeshWorker
             class CopyData,
             class MainClass>
   void
-  mesh_loop(const CellIteratorType &                            begin,
+  mesh_loop(const CellIteratorType                             &begin,
             const std_cxx20::type_identity_t<CellIteratorType> &end,
-            MainClass &                                         main_class,
+            MainClass                                          &main_class,
             void (MainClass::*cell_worker)(const CellIteratorType &,
                                            ScratchData &,
                                            CopyData &),
             void (MainClass::*copier)(const CopyData &),
-            const ScratchData sample_scratch_data,
-            const CopyData &    sample_copy_data,
+            const ScratchData  &sample_scratch_data,
+            const CopyData     &sample_copy_data,
             const AssembleFlags flags                      = assemble_own_cells,
             void (MainClass::*boundary_worker)(const CellIteratorType &,
                                                const unsigned int,
@@ -883,8 +883,8 @@ namespace MeshWorker
     if (cell_worker != nullptr)
       f_cell_worker = [&main_class,
                        cell_worker](const CellIteratorType &cell_iterator,
-                                    ScratchData &           scratch_data,
-                                    CopyData &              copy_data) {
+                                    ScratchData            &scratch_data,
+                                    CopyData               &copy_data) {
         (main_class.*cell_worker)(cell_iterator, scratch_data, copy_data);
       };
 
@@ -892,8 +892,8 @@ namespace MeshWorker
       f_boundary_worker =
         [&main_class, boundary_worker](const CellIteratorType &cell_iterator,
                                        const unsigned int      face_no,
-                                       ScratchData &           scratch_data,
-                                       CopyData &              copy_data) {
+                                       ScratchData            &scratch_data,
+                                       CopyData               &copy_data) {
           (main_class.*
            boundary_worker)(cell_iterator, face_no, scratch_data, copy_data);
         };
@@ -906,8 +906,8 @@ namespace MeshWorker
                                     const CellIteratorType &cell_iterator_2,
                                     const unsigned int      face_index_2,
                                     const unsigned int      subface_index_2,
-                                    ScratchData &           scratch_data,
-                                    CopyData &              copy_data) {
+                                    ScratchData            &scratch_data,
+                                    CopyData               &copy_data) {
         (main_class.*face_worker)(cell_iterator_1,
                                   face_index_1,
                                   subface_index_1,
@@ -1021,13 +1021,13 @@ namespace MeshWorker
               typename internal::CellIteratorBaseType<CellIteratorType>::type>
   void
   mesh_loop(IteratorRange<CellIteratorType> iterator_range,
-            MainClass &                     main_class,
+            MainClass                      &main_class,
             void (MainClass::*cell_worker)(const CellIteratorBaseType &,
                                            ScratchData &,
                                            CopyData &),
             void (MainClass::*copier)(const CopyData &),
-            const ScratchData sample_scratch_data,
-            const CopyData &    sample_copy_data,
+            const ScratchData  &sample_scratch_data,
+            const CopyData     &sample_copy_data,
             const AssembleFlags flags                      = assemble_own_cells,
             void (MainClass::*boundary_worker)(const CellIteratorBaseType &,
                                                const unsigned int,
index 2d2423d64fdd17c6068cff870f3482bc6898c9f9..0baab792079bf27a02ba682375282f751bad9fe6 100644 (file)
@@ -242,12 +242,12 @@ namespace MeshWorker
      * FESubfaceValues for both the current cell and the neighbor cell
      */
     ScratchData(
-      const Mapping<dim, spacedim> &      mapping,
+      const Mapping<dim, spacedim>       &mapping,
       const FiniteElement<dim, spacedim> &fe,
-      const Quadrature<dim> &             quadrature,
-      const UpdateFlags &                 update_flags,
+      const Quadrature<dim>              &quadrature,
+      const UpdateFlags                  &update_flags,
       const Quadrature<dim - 1> &face_quadrature   = Quadrature<dim - 1>(),
-      const UpdateFlags &        face_update_flags = update_default);
+      const UpdateFlags         &face_update_flags = update_default);
 
     /**
      * Similar to the other constructor, but this one allows to specify
@@ -266,14 +266,14 @@ namespace MeshWorker
      * FESubfaceValues for the neighbor cell
      */
     ScratchData(
-      const Mapping<dim, spacedim> &      mapping,
+      const Mapping<dim, spacedim>       &mapping,
       const FiniteElement<dim, spacedim> &fe,
-      const Quadrature<dim> &             quadrature,
-      const UpdateFlags &                 update_flags,
-      const UpdateFlags &                 neighbor_update_flags,
+      const Quadrature<dim>              &quadrature,
+      const UpdateFlags                  &update_flags,
+      const UpdateFlags                  &neighbor_update_flags,
       const Quadrature<dim - 1> &face_quadrature   = Quadrature<dim - 1>(),
-      const UpdateFlags &        face_update_flags = update_default,
-      const UpdateFlags &        neighbor_face_update_flags = update_default);
+      const UpdateFlags         &face_update_flags = update_default,
+      const UpdateFlags         &neighbor_face_update_flags = update_default);
 
     /**
      * Same as the other constructor, using the default linear mapping.
@@ -289,10 +289,10 @@ namespace MeshWorker
      */
     ScratchData(
       const FiniteElement<dim, spacedim> &fe,
-      const Quadrature<dim> &             quadrature,
-      const UpdateFlags &                 update_flags,
+      const Quadrature<dim>              &quadrature,
+      const UpdateFlags                  &update_flags,
       const Quadrature<dim - 1> &face_quadrature   = Quadrature<dim - 1>(),
-      const UpdateFlags &        face_update_flags = update_default);
+      const UpdateFlags         &face_update_flags = update_default);
 
     /**
      * Same as the other constructor, using the default linear mapping.
@@ -310,12 +310,12 @@ namespace MeshWorker
      */
     ScratchData(
       const FiniteElement<dim, spacedim> &fe,
-      const Quadrature<dim> &             quadrature,
-      const UpdateFlags &                 update_flags,
-      const UpdateFlags &                 neighbor_update_flags,
+      const Quadrature<dim>              &quadrature,
+      const UpdateFlags                  &update_flags,
+      const UpdateFlags                  &neighbor_update_flags,
       const Quadrature<dim - 1> &face_quadrature   = Quadrature<dim - 1>(),
-      const UpdateFlags &        face_update_flags = update_default,
-      const UpdateFlags &        neighbor_face_update_flags = update_default);
+      const UpdateFlags         &face_update_flags = update_default,
+      const UpdateFlags         &neighbor_face_update_flags = update_default);
 
     /**
      * Create an empty ScratchData object. A SmartPointer pointing to
@@ -337,9 +337,9 @@ namespace MeshWorker
      * hp::FESubfaceValues for both the current cell and the neighbor cell
      */
     ScratchData(const hp::MappingCollection<dim, spacedim> &mapping_collection,
-                const hp::FECollection<dim, spacedim> &     fe_collection,
-                const hp::QCollection<dim> &    cell_quadrature_collection,
-                const UpdateFlags &             cell_update_flags,
+                const hp::FECollection<dim, spacedim>      &fe_collection,
+                const hp::QCollection<dim>     &cell_quadrature_collection,
+                const UpdateFlags              &cell_update_flags,
                 const hp::QCollection<dim - 1> &face_quadrature_collection =
                   hp::QCollection<dim - 1>(),
                 const UpdateFlags &face_update_flags = update_default);
@@ -361,10 +361,10 @@ namespace MeshWorker
      * hp::FESubfaceValues for the neighbor cell
      */
     ScratchData(const hp::MappingCollection<dim, spacedim> &mapping_collection,
-                const hp::FECollection<dim, spacedim> &     fe_collection,
-                const hp::QCollection<dim> &    cell_quadrature_collection,
-                const UpdateFlags &             cell_update_flags,
-                const UpdateFlags &             neighbor_cell_update_flags,
+                const hp::FECollection<dim, spacedim>      &fe_collection,
+                const hp::QCollection<dim>     &cell_quadrature_collection,
+                const UpdateFlags              &cell_update_flags,
+                const UpdateFlags              &neighbor_cell_update_flags,
                 const hp::QCollection<dim - 1> &face_quadrature_collection =
                   hp::QCollection<dim - 1>(),
                 const UpdateFlags &face_update_flags          = update_default,
@@ -383,8 +383,8 @@ namespace MeshWorker
      * hp::FESubfaceValues for both the current cell and the neighbor cell
      */
     ScratchData(const hp::FECollection<dim, spacedim> &fe_collection,
-                const hp::QCollection<dim> &    cell_quadrature_collection,
-                const UpdateFlags &             cell_update_flags,
+                const hp::QCollection<dim>     &cell_quadrature_collection,
+                const UpdateFlags              &cell_update_flags,
                 const hp::QCollection<dim - 1> &face_quadrature_collection =
                   hp::QCollection<dim - 1>(),
                 const UpdateFlags &face_update_flags = update_default);
@@ -404,9 +404,9 @@ namespace MeshWorker
      * hp::FESubfaceValues for the neighbor cell
      */
     ScratchData(const hp::FECollection<dim, spacedim> &fe_collection,
-                const hp::QCollection<dim> &    cell_quadrature_collection,
-                const UpdateFlags &             cell_update_flags,
-                const UpdateFlags &             neighbor_cell_update_flags,
+                const hp::QCollection<dim>     &cell_quadrature_collection,
+                const UpdateFlags              &cell_update_flags,
+                const UpdateFlags              &neighbor_cell_update_flags,
                 const hp::QCollection<dim - 1> &face_quadrature_collection =
                   hp::QCollection<dim - 1>(),
                 const UpdateFlags &face_update_flags          = update_default,
@@ -477,7 +477,7 @@ namespace MeshWorker
     reinit(const typename DoFHandler<dim, spacedim>::active_cell_iterator &cell,
            const unsigned int face_no,
            const typename DoFHandler<dim, spacedim>::active_cell_iterator
-             &                cell_neighbor,
+                             &cell_neighbor,
            const unsigned int face_no_neighbor);
 
     /**
@@ -499,7 +499,7 @@ namespace MeshWorker
            const unsigned int face_no,
            const unsigned int sub_face_no,
            const typename DoFHandler<dim, spacedim>::active_cell_iterator
-             &                cell_neighbor,
+                             &cell_neighbor,
            const unsigned int face_no_neighbor,
            const unsigned int sub_face_no_neighbor);
 
@@ -665,7 +665,7 @@ namespace MeshWorker
     const FEFaceValues<dim, spacedim> &
     reinit(const typename DoFHandler<dim, spacedim>::active_cell_iterator &cell,
            const typename DoFHandler<dim, spacedim>::active_cell_iterator
-             &                neighbor_cell,
+                             &neighbor_cell,
            const unsigned int face_no);
 
     /**
@@ -689,7 +689,7 @@ namespace MeshWorker
     const FEFaceValuesBase<dim, spacedim> &
     reinit(const typename DoFHandler<dim, spacedim>::active_cell_iterator &cell,
            const typename DoFHandler<dim, spacedim>::active_cell_iterator
-             &                neighbor_cell,
+                             &neighbor_cell,
            const unsigned int face_no,
            const unsigned int subface_no);
 
@@ -712,7 +712,7 @@ namespace MeshWorker
     reinit_neighbor(
       const typename DoFHandler<dim, spacedim>::active_cell_iterator &cell,
       const typename DoFHandler<dim, spacedim>::active_cell_iterator
-        &                neighbor_cell,
+                        &neighbor_cell,
       const unsigned int face_no);
 
     /**
@@ -737,7 +737,7 @@ namespace MeshWorker
     reinit_neighbor(
       const typename DoFHandler<dim, spacedim>::active_cell_iterator &cell,
       const typename DoFHandler<dim, spacedim>::active_cell_iterator
-        &                neighbor_cell,
+                        &neighbor_cell,
       const unsigned int face_no,
       const unsigned int subface_no);
 
@@ -875,7 +875,7 @@ namespace MeshWorker
     template <typename VectorType, typename Number = double>
     void
     extract_local_dof_values(const std::string &global_vector_name,
-                             const VectorType input_vector,
+                             const VectorType  &input_vector,
                              const Number       dummy = Number(0));
 
     /**
@@ -916,7 +916,7 @@ namespace MeshWorker
     const std::vector<typename FEValuesViews::View<dim, spacedim, Extractor>::
                         template solution_value_type<Number>> &
     get_values(const std::string &global_vector_name,
-               const Extractor &  variable,
+               const Extractor   &variable,
                const Number       dummy = Number(0));
 
     /**
@@ -944,7 +944,7 @@ namespace MeshWorker
     const std::vector<typename FEValuesViews::View<dim, spacedim, Extractor>::
                         template solution_gradient_type<Number>> &
     get_gradients(const std::string &global_vector_name,
-                  const Extractor &  variable,
+                  const Extractor   &variable,
                   const Number       dummy = Number(0));
 
     /**
@@ -973,7 +973,7 @@ namespace MeshWorker
     const std::vector<typename FEValuesViews::View<dim, spacedim, Extractor>::
                         template solution_symmetric_gradient_type<Number>> &
     get_symmetric_gradients(const std::string &global_vector_name,
-                            const Extractor &  variable,
+                            const Extractor   &variable,
                             const Number       dummy = Number(0));
 
     /**
@@ -1001,7 +1001,7 @@ namespace MeshWorker
     const std::vector<typename FEValuesViews::View<dim, spacedim, Extractor>::
                         template solution_divergence_type<Number>> &
     get_divergences(const std::string &global_vector_name,
-                    const Extractor &  variable,
+                    const Extractor   &variable,
                     const Number       dummy = Number(0));
 
     /**
@@ -1029,7 +1029,7 @@ namespace MeshWorker
     const std::vector<typename FEValuesViews::View<dim, spacedim, Extractor>::
                         template solution_curl_type<Number>> &
     get_curls(const std::string &global_vector_name,
-              const Extractor &  variable,
+              const Extractor   &variable,
               const Number       dummy = Number(0));
 
     /**
@@ -1057,7 +1057,7 @@ namespace MeshWorker
     const std::vector<typename FEValuesViews::View<dim, spacedim, Extractor>::
                         template solution_hessian_type<Number>> &
     get_hessians(const std::string &global_vector_name,
-                 const Extractor &  variable,
+                 const Extractor   &variable,
                  const Number       dummy = Number(0));
 
     /**
@@ -1085,7 +1085,7 @@ namespace MeshWorker
     const std::vector<typename FEValuesViews::View<dim, spacedim, Extractor>::
                         template solution_laplacian_type<Number>> &
     get_laplacians(const std::string &global_vector_name,
-                   const Extractor &  variable,
+                   const Extractor   &variable,
                    const Number       dummy = Number(0));
 
     /**
@@ -1113,7 +1113,7 @@ namespace MeshWorker
     const std::vector<typename FEValuesViews::View<dim, spacedim, Extractor>::
                         template solution_third_derivative_type<Number>> &
     get_third_derivatives(const std::string &global_vector_name,
-                          const Extractor &  variable,
+                          const Extractor   &variable,
                           const Number       dummy = Number(0));
 
     /** @} */ // CurrentCellEvaluation
@@ -1150,7 +1150,7 @@ namespace MeshWorker
       typename FEInterfaceViews::View<dim, spacedim, Extractor>::
         template solution_value_type<Number>> &
     get_jumps_in_values(const std::string &global_vector_name,
-                        const Extractor &  variable,
+                        const Extractor   &variable,
                         const Number       dummy = Number(0));
 
     /**
@@ -1180,7 +1180,7 @@ namespace MeshWorker
       typename FEInterfaceViews::View<dim, spacedim, Extractor>::
         template solution_gradient_type<Number>> &
     get_jumps_in_gradients(const std::string &global_vector_name,
-                           const Extractor &  variable,
+                           const Extractor   &variable,
                            const Number       dummy = Number(0));
 
     /**
@@ -1210,7 +1210,7 @@ namespace MeshWorker
       typename FEInterfaceViews::View<dim, spacedim, Extractor>::
         template solution_hessian_type<Number>> &
     get_jumps_in_hessians(const std::string &global_vector_name,
-                          const Extractor &  variable,
+                          const Extractor   &variable,
                           const Number       dummy = Number(0));
 
     /**
@@ -1240,7 +1240,7 @@ namespace MeshWorker
       typename FEInterfaceViews::View<dim, spacedim, Extractor>::
         template solution_third_derivative_type<Number>> &
     get_jumps_in_third_derivatives(const std::string &global_vector_name,
-                                   const Extractor &  variable,
+                                   const Extractor   &variable,
                                    const Number       dummy = Number(0));
 
     /** @} */ // CurrentInterfaceJumpEvaluation
@@ -1277,7 +1277,7 @@ namespace MeshWorker
       typename FEInterfaceViews::View<dim, spacedim, Extractor>::
         template solution_value_type<Number>> &
     get_averages_of_values(const std::string &global_vector_name,
-                           const Extractor &  variable,
+                           const Extractor   &variable,
                            const Number       dummy = Number(0));
 
     /**
@@ -1307,7 +1307,7 @@ namespace MeshWorker
       typename FEInterfaceViews::View<dim, spacedim, Extractor>::
         template solution_gradient_type<Number>> &
     get_averages_of_gradients(const std::string &global_vector_name,
-                              const Extractor &  variable,
+                              const Extractor   &variable,
                               const Number       dummy = Number(0));
 
     /**
@@ -1337,7 +1337,7 @@ namespace MeshWorker
       typename FEInterfaceViews::View<dim, spacedim, Extractor>::
         template solution_hessian_type<Number>> &
     get_averages_of_hessians(const std::string &global_vector_name,
-                             const Extractor &  variable,
+                             const Extractor   &variable,
                              const Number       dummy = Number(0));
 
     /** @} */ // CurrentInterfaceAverageEvaluation
@@ -1350,10 +1350,10 @@ namespace MeshWorker
     template <typename Extractor, typename Number = double>
     std::string
     get_unique_name(const std::string &global_vector_name,
-                    const Extractor &  variable,
+                    const Extractor   &variable,
                     const std::string &object_type,
                     const unsigned int size,
-                    const Number &     exemplar_number) const;
+                    const Number      &exemplar_number) const;
 
     /**
      * Construct a unique name to store local dof values.
@@ -1362,7 +1362,7 @@ namespace MeshWorker
     std::string
     get_unique_dofs_name(const std::string &global_vector_name,
                          const unsigned int size,
-                         const Number &     exemplar_number) const;
+                         const Number      &exemplar_number) const;
 
     /**
      * @name Data that supports the standard FE implementation
@@ -1581,10 +1581,10 @@ namespace MeshWorker
   std::string
   ScratchData<dim, spacedim>::get_unique_name(
     const std::string &global_vector_name,
-    const Extractor &  variable,
+    const Extractor   &variable,
     const std::string &object_type,
     const unsigned int size,
-    const Number &     exemplar_number) const
+    const Number      &exemplar_number) const
   {
     return global_vector_name + "_" + variable.get_name() + "_" + object_type +
            "_" + Utilities::int_to_string(size) + "_" +
@@ -1599,7 +1599,7 @@ namespace MeshWorker
   ScratchData<dim, spacedim>::get_unique_dofs_name(
     const std::string &global_vector_name,
     const unsigned int size,
-    const Number &     exemplar_number) const
+    const Number      &exemplar_number) const
   {
     return global_vector_name + "_independent_local_dofs_" +
            Utilities::int_to_string(size) + "_" +
@@ -1613,7 +1613,7 @@ namespace MeshWorker
   void
   ScratchData<dim, spacedim>::extract_local_dof_values(
     const std::string &global_vector_name,
-    const VectorType input_vector,
+    const VectorType  &input_vector,
     const Number       dummy)
   {
     const unsigned int n_dofs = local_dof_indices.size();
@@ -1670,7 +1670,7 @@ namespace MeshWorker
   const std::vector<typename FEValuesViews::View<dim, spacedim, Extractor>::
                       template solution_value_type<Number>> &
   ScratchData<dim, spacedim>::get_values(const std::string &global_vector_name,
-                                         const Extractor &  variable,
+                                         const Extractor   &variable,
                                          const Number       dummy)
   {
     const std::vector<Number> &independent_local_dofs =
@@ -1707,7 +1707,7 @@ namespace MeshWorker
                       template solution_gradient_type<Number>> &
   ScratchData<dim, spacedim>::get_gradients(
     const std::string &global_vector_name,
-    const Extractor &  variable,
+    const Extractor   &variable,
     const Number       dummy)
   {
     const std::vector<Number> &independent_local_dofs =
@@ -1744,7 +1744,7 @@ namespace MeshWorker
                       template solution_hessian_type<Number>> &
   ScratchData<dim, spacedim>::get_hessians(
     const std::string &global_vector_name,
-    const Extractor &  variable,
+    const Extractor   &variable,
     const Number       dummy)
   {
     const std::vector<Number> &independent_local_dofs =
@@ -1782,7 +1782,7 @@ namespace MeshWorker
                       template solution_laplacian_type<Number>> &
   ScratchData<dim, spacedim>::get_laplacians(
     const std::string &global_vector_name,
-    const Extractor &  variable,
+    const Extractor   &variable,
     const Number       dummy)
   {
     const std::vector<Number> &independent_local_dofs =
@@ -1820,7 +1820,7 @@ namespace MeshWorker
                       template solution_third_derivative_type<Number>> &
   ScratchData<dim, spacedim>::get_third_derivatives(
     const std::string &global_vector_name,
-    const Extractor &  variable,
+    const Extractor   &variable,
     const Number       dummy)
   {
     const std::vector<Number> &independent_local_dofs =
@@ -1858,7 +1858,7 @@ namespace MeshWorker
                       template solution_symmetric_gradient_type<Number>> &
   ScratchData<dim, spacedim>::get_symmetric_gradients(
     const std::string &global_vector_name,
-    const Extractor &  variable,
+    const Extractor   &variable,
     const Number       dummy)
   {
     const std::vector<Number> &independent_local_dofs =
@@ -1896,7 +1896,7 @@ namespace MeshWorker
                       template solution_divergence_type<Number>> &
   ScratchData<dim, spacedim>::get_divergences(
     const std::string &global_vector_name,
-    const Extractor &  variable,
+    const Extractor   &variable,
     const Number       dummy)
   {
     const std::vector<Number> &independent_local_dofs =
@@ -1933,7 +1933,7 @@ namespace MeshWorker
   const std::vector<typename FEValuesViews::View<dim, spacedim, Extractor>::
                       template solution_curl_type<Number>> &
   ScratchData<dim, spacedim>::get_curls(const std::string &global_vector_name,
-                                        const Extractor &  variable,
+                                        const Extractor   &variable,
                                         const Number       dummy)
   {
     const std::vector<Number> &independent_local_dofs =
@@ -1970,7 +1970,7 @@ namespace MeshWorker
                       template solution_value_type<Number>> &
   ScratchData<dim, spacedim>::get_jumps_in_values(
     const std::string &global_vector_name,
-    const Extractor &  variable,
+    const Extractor   &variable,
     const Number       dummy)
   {
     const std::vector<Number> &independent_local_dofs =
@@ -2011,7 +2011,7 @@ namespace MeshWorker
                       template solution_gradient_type<Number>> &
   ScratchData<dim, spacedim>::get_jumps_in_gradients(
     const std::string &global_vector_name,
-    const Extractor &  variable,
+    const Extractor   &variable,
     const Number       dummy)
   {
     const std::vector<Number> &independent_local_dofs =
@@ -2052,7 +2052,7 @@ namespace MeshWorker
                       template solution_hessian_type<Number>> &
   ScratchData<dim, spacedim>::get_jumps_in_hessians(
     const std::string &global_vector_name,
-    const Extractor &  variable,
+    const Extractor   &variable,
     const Number       dummy)
   {
     const std::vector<Number> &independent_local_dofs =
@@ -2093,7 +2093,7 @@ namespace MeshWorker
                       template solution_third_derivative_type<Number>> &
   ScratchData<dim, spacedim>::get_jumps_in_third_derivatives(
     const std::string &global_vector_name,
-    const Extractor &  variable,
+    const Extractor   &variable,
     const Number       dummy)
   {
     const std::vector<Number> &independent_local_dofs =
@@ -2137,7 +2137,7 @@ namespace MeshWorker
                       template solution_value_type<Number>> &
   ScratchData<dim, spacedim>::get_averages_of_values(
     const std::string &global_vector_name,
-    const Extractor &  variable,
+    const Extractor   &variable,
     const Number       dummy)
   {
     const std::vector<Number> &independent_local_dofs =
@@ -2178,7 +2178,7 @@ namespace MeshWorker
                       template solution_gradient_type<Number>> &
   ScratchData<dim, spacedim>::get_averages_of_gradients(
     const std::string &global_vector_name,
-    const Extractor &  variable,
+    const Extractor   &variable,
     const Number       dummy)
   {
     const std::vector<Number> &independent_local_dofs =
@@ -2219,7 +2219,7 @@ namespace MeshWorker
                       template solution_hessian_type<Number>> &
   ScratchData<dim, spacedim>::get_averages_of_hessians(
     const std::string &global_vector_name,
-    const Extractor &  variable,
+    const Extractor   &variable,
     const Number       dummy)
   {
     const std::vector<Number> &independent_local_dofs =
index 08a63724723d86cdffa6070b0eb3b29bd73791cb..9793a1ec7bb36e43f50b324155d76e2fd36084da 100644 (file)
@@ -227,7 +227,7 @@ namespace MeshWorker
        * <code>index</code> in the vector #matrix.
        */
       void
-      assemble(const FullMatrix<double> &                  M,
+      assemble(const FullMatrix<double>                   &M,
                const unsigned int                          index,
                const std::vector<types::global_dof_index> &i1,
                const std::vector<types::global_dof_index> &i2);
@@ -318,8 +318,8 @@ namespace MeshWorker
        * Assemble a single matrix into a global matrix.
        */
       void
-      assemble(MatrixType &                                G,
-               const FullMatrix<double> &                  M,
+      assemble(MatrixType                                 &G,
+               const FullMatrix<double>                   &M,
                const std::vector<types::global_dof_index> &i1,
                const std::vector<types::global_dof_index> &i2);
 
@@ -327,8 +327,8 @@ namespace MeshWorker
        * Assemble a single matrix into a global matrix.
        */
       void
-      assemble(MatrixType &                                G,
-               const FullMatrix<double> &                  M,
+      assemble(MatrixType                                 &G,
+               const FullMatrix<double>                   &M,
                const std::vector<types::global_dof_index> &i1,
                const std::vector<types::global_dof_index> &i2,
                const unsigned int                          level);
@@ -338,8 +338,8 @@ namespace MeshWorker
        */
 
       void
-      assemble_up(MatrixType &                                G,
-                  const FullMatrix<double> &                  M,
+      assemble_up(MatrixType                                 &G,
+                  const FullMatrix<double>                   &M,
                   const std::vector<types::global_dof_index> &i1,
                   const std::vector<types::global_dof_index> &i2,
                   const unsigned int level = numbers::invalid_unsigned_int);
@@ -348,8 +348,8 @@ namespace MeshWorker
        */
 
       void
-      assemble_down(MatrixType &                                G,
-                    const FullMatrix<double> &                  M,
+      assemble_down(MatrixType                                 &G,
+                    const FullMatrix<double>                   &M,
                     const std::vector<types::global_dof_index> &i1,
                     const std::vector<types::global_dof_index> &i2,
                     const unsigned int level = numbers::invalid_unsigned_int);
@@ -359,8 +359,8 @@ namespace MeshWorker
        */
 
       void
-      assemble_in(MatrixType &                                G,
-                  const FullMatrix<double> &                  M,
+      assemble_in(MatrixType                                 &G,
+                  const FullMatrix<double>                   &M,
                   const std::vector<types::global_dof_index> &i1,
                   const std::vector<types::global_dof_index> &i2,
                   const unsigned int level = numbers::invalid_unsigned_int);
@@ -370,8 +370,8 @@ namespace MeshWorker
        */
 
       void
-      assemble_out(MatrixType &                                G,
-                   const FullMatrix<double> &                  M,
+      assemble_out(MatrixType                                 &G,
+                   const FullMatrix<double>                   &M,
                    const std::vector<types::global_dof_index> &i1,
                    const std::vector<types::global_dof_index> &i2,
                    const unsigned int level = numbers::invalid_unsigned_int);
@@ -492,14 +492,14 @@ namespace MeshWorker
        * <code>index</code> in the vector #matrix.
        */
       void
-      assemble(const FullMatrix<double> &                  M,
-               const Vector<double> &                      vector,
+      assemble(const FullMatrix<double>                   &M,
+               const Vector<double>                       &vector,
                const unsigned int                          index,
                const std::vector<types::global_dof_index> &indices);
 
       void
-      assemble(const FullMatrix<double> &                  M,
-               const Vector<double> &                      vector,
+      assemble(const FullMatrix<double>                   &M,
+               const Vector<double>                       &vector,
                const unsigned int                          index,
                const std::vector<types::global_dof_index> &i1,
                const std::vector<types::global_dof_index> &i2);
@@ -643,7 +643,7 @@ namespace MeshWorker
     template <typename MatrixType>
     inline void
     MatrixSimple<MatrixType>::assemble(
-      const FullMatrix<double> &                  M,
+      const FullMatrix<double>                   &M,
       const unsigned int                          index,
       const std::vector<types::global_dof_index> &i1,
       const std::vector<types::global_dof_index> &i2)
@@ -831,8 +831,8 @@ namespace MeshWorker
     template <typename MatrixType>
     inline void
     MGMatrixSimple<MatrixType>::assemble(
-      MatrixType &                                G,
-      const FullMatrix<double> &                  M,
+      MatrixType                                 &G,
+      const FullMatrix<double>                   &M,
       const std::vector<types::global_dof_index> &i1,
       const std::vector<types::global_dof_index> &i2)
     {
@@ -851,8 +851,8 @@ namespace MeshWorker
     template <typename MatrixType>
     inline void
     MGMatrixSimple<MatrixType>::assemble(
-      MatrixType &                                G,
-      const FullMatrix<double> &                  M,
+      MatrixType                                 &G,
+      const FullMatrix<double>                   &M,
       const std::vector<types::global_dof_index> &i1,
       const std::vector<types::global_dof_index> &i2,
       const unsigned int                          level)
@@ -904,8 +904,8 @@ namespace MeshWorker
     template <typename MatrixType>
     inline void
     MGMatrixSimple<MatrixType>::assemble_up(
-      MatrixType &                                G,
-      const FullMatrix<double> &                  M,
+      MatrixType                                 &G,
+      const FullMatrix<double>                   &M,
       const std::vector<types::global_dof_index> &i1,
       const std::vector<types::global_dof_index> &i2,
       const unsigned int                          level)
@@ -933,8 +933,8 @@ namespace MeshWorker
     template <typename MatrixType>
     inline void
     MGMatrixSimple<MatrixType>::assemble_down(
-      MatrixType &                                G,
-      const FullMatrix<double> &                  M,
+      MatrixType                                 &G,
+      const FullMatrix<double>                   &M,
       const std::vector<types::global_dof_index> &i1,
       const std::vector<types::global_dof_index> &i2,
       const unsigned int                          level)
@@ -962,8 +962,8 @@ namespace MeshWorker
     template <typename MatrixType>
     inline void
     MGMatrixSimple<MatrixType>::assemble_in(
-      MatrixType &                                G,
-      const FullMatrix<double> &                  M,
+      MatrixType                                 &G,
+      const FullMatrix<double>                   &M,
       const std::vector<types::global_dof_index> &i1,
       const std::vector<types::global_dof_index> &i2,
       const unsigned int                          level)
@@ -1002,8 +1002,8 @@ namespace MeshWorker
     template <typename MatrixType>
     inline void
     MGMatrixSimple<MatrixType>::assemble_out(
-      MatrixType &                                G,
-      const FullMatrix<double> &                  M,
+      MatrixType                                 &G,
+      const FullMatrix<double>                   &M,
       const std::vector<types::global_dof_index> &i1,
       const std::vector<types::global_dof_index> &i2,
       const unsigned int                          level)
@@ -1248,8 +1248,8 @@ namespace MeshWorker
     template <typename MatrixType, typename VectorType>
     inline void
     SystemSimple<MatrixType, VectorType>::assemble(
-      const FullMatrix<double> &                  M,
-      const Vector<double> &                      vector,
+      const FullMatrix<double>                   &M,
+      const Vector<double>                       &vector,
       const unsigned int                          index,
       const std::vector<types::global_dof_index> &indices)
     {
@@ -1286,8 +1286,8 @@ namespace MeshWorker
     template <typename MatrixType, typename VectorType>
     inline void
     SystemSimple<MatrixType, VectorType>::assemble(
-      const FullMatrix<double> &                  M,
-      const Vector<double> &                      vector,
+      const FullMatrix<double>                   &M,
+      const Vector<double>                       &vector,
       const unsigned int                          index,
       const std::vector<types::global_dof_index> &i1,
       const std::vector<types::global_dof_index> &i2)
index 4eb2a48a49389730998d09b078a6baade4e73a81..270a3734fccbcc3738a4c503eb7e5062eb984d88 100644 (file)
@@ -262,8 +262,8 @@ namespace MeshWorker
          std::vector<std::vector<std::vector<Tensor<1, spacedim, Number>>>>
            &gradients,
          std::vector<std::vector<std::vector<Tensor<2, spacedim, Number>>>>
-           &                                         hessians,
-         const FEValuesBase<dim, spacedim> &         fe,
+                                                    &hessians,
+         const FEValuesBase<dim, spacedim>          &fe,
          const std::vector<types::global_dof_index> &index,
          const unsigned int                          component,
          const unsigned int                          n_comp,
@@ -281,8 +281,8 @@ namespace MeshWorker
             std::vector<std::vector<std::vector<Tensor<1, spacedim, Number>>>>
               &gradients,
             std::vector<std::vector<std::vector<Tensor<2, spacedim, Number>>>>
-              &                                         hessians,
-            const FEValuesBase<dim, spacedim> &         fe,
+                                                       &hessians,
+            const FEValuesBase<dim, spacedim>          &fe,
             const unsigned int                          level,
             const std::vector<types::global_dof_index> &index,
             const unsigned int                          component,
@@ -341,8 +341,8 @@ namespace MeshWorker
            &gradients,
          std::vector<std::vector<
            std::vector<Tensor<2, spacedim, typename VectorType::value_type>>>>
-           &                                         hessians,
-         const FEValuesBase<dim, spacedim> &         fe,
+                                                    &hessians,
+         const FEValuesBase<dim, spacedim>          &fe,
          const std::vector<types::global_dof_index> &index,
          const unsigned int                          component,
          const unsigned int                          n_comp,
@@ -358,8 +358,8 @@ namespace MeshWorker
         &gradients,
       std::vector<std::vector<
         std::vector<Tensor<2, spacedim, typename VectorType::value_type>>>>
-        &                                         hessians,
-      const FEValuesBase<dim, spacedim> &         fe,
+                                                 &hessians,
+      const FEValuesBase<dim, spacedim>          &fe,
       const unsigned int                          level,
       const std::vector<types::global_dof_index> &index,
       const unsigned int                          component,
index bed12c7e0e0e0254a1a3dec14db8d462d8bf79a8..4803b0ebec1fea59cb7399c1d59e66ba384334e2 100644 (file)
@@ -97,7 +97,7 @@ namespace MeshWorker
 
   template <typename VectorType, int dim, int spacedim>
   void
-  VectorData<VectorType, dim, spacedim>::initialize(const VectorType v,
+  VectorData<VectorType, dim, spacedim>::initialize(const VectorType  *v,
                                                     const std::string &name)
   {
     SmartPointer<const VectorType, VectorData<VectorType, dim, spacedim>> p = v;
@@ -116,8 +116,8 @@ namespace MeshWorker
       &gradients,
     std::vector<std::vector<
       std::vector<Tensor<2, spacedim, typename VectorType::value_type>>>>
-      &                                         hessians,
-    const FEValuesBase<dim, spacedim> &         fe,
+                                               &hessians,
+    const FEValuesBase<dim, spacedim>          &fe,
     const std::vector<types::global_dof_index> &index,
     const unsigned int                          component,
     const unsigned int                          n_comp,
@@ -194,7 +194,7 @@ namespace MeshWorker
   void
   MGVectorData<VectorType, dim, spacedim>::initialize(
     const MGLevelObject<VectorType> *v,
-    const std::string &              name)
+    const std::string               &name)
   {
     SmartPointer<const MGLevelObject<VectorType>,
                  MGVectorData<VectorType, dim, spacedim>>
@@ -214,8 +214,8 @@ namespace MeshWorker
       &gradients,
     std::vector<std::vector<
       std::vector<Tensor<2, spacedim, typename VectorType::value_type>>>>
-      &                                         hessians,
-    const FEValuesBase<dim, spacedim> &         fe,
+                                               &hessians,
+    const FEValuesBase<dim, spacedim>          &fe,
     const unsigned int                          level,
     const std::vector<types::global_dof_index> &index,
     const unsigned int                          component,
index 6dfcd7acb86d00ab270b02c95f1161be11e737fd..eab9cbe9b614b7d7316e0d8806a7af11311cb5f3 100644 (file)
@@ -58,32 +58,32 @@ public:
    */
   virtual void
   vmult(const unsigned int level,
-        VectorType &       dst,
-        const VectorType src) const = 0;
+        VectorType        &dst,
+        const VectorType  &src) const = 0;
 
   /**
    * Adding matrix-vector-multiplication on a certain level.
    */
   virtual void
   vmult_add(const unsigned int level,
-            VectorType &       dst,
-            const VectorType src) const = 0;
+            VectorType        &dst,
+            const VectorType  &src) const = 0;
 
   /**
    * Transpose matrix-vector-multiplication on a certain level.
    */
   virtual void
   Tvmult(const unsigned int level,
-         VectorType &       dst,
-         const VectorType src) const = 0;
+         VectorType        &dst,
+         const VectorType  &src) const = 0;
 
   /**
    * Adding transpose matrix-vector-multiplication on a certain level.
    */
   virtual void
   Tvmult_add(const unsigned int level,
-             VectorType &       dst,
-             const VectorType src) const = 0;
+             VectorType        &dst,
+             const VectorType  &src) const = 0;
 
   /**
    * Return the minimal level for which matrices are stored.
@@ -118,8 +118,8 @@ public:
    */
   virtual void
   operator()(const unsigned int level,
-             VectorType &       dst,
-             const VectorType src) const = 0;
+             VectorType        &dst,
+             const VectorType  &src) const = 0;
 };
 
 
@@ -189,8 +189,8 @@ public:
    */
   virtual void
   prolongate(const unsigned int to_level,
-             VectorType &       dst,
-             const VectorType src) const = 0;
+             VectorType        &dst,
+             const VectorType  &src) const = 0;
 
   /**
    * Prolongate a vector from level <tt>to_level-1</tt> to level
@@ -204,8 +204,8 @@ public:
    */
   virtual void
   prolongate_and_add(const unsigned int to_level,
-                     VectorType &       dst,
-                     const VectorType src) const;
+                     VectorType        &dst,
+                     const VectorType  &src) const;
 
   /**
    * Restrict a vector from level <tt>from_level</tt> to level
@@ -223,8 +223,8 @@ public:
    */
   virtual void
   restrict_and_add(const unsigned int from_level,
-                   VectorType &       dst,
-                   const VectorType src) const = 0;
+                   VectorType        &dst,
+                   const VectorType  &src) const = 0;
 };
 
 
@@ -269,8 +269,8 @@ public:
    */
   virtual void
   smooth(const unsigned int level,
-         VectorType &       u,
-         const VectorType rhs) const = 0;
+         VectorType        &u,
+         const VectorType  &rhs) const = 0;
 
   /**
    * As opposed to the smooth() function, this function applies the action of
index 45c03990414058fd4b3ebb38eae4f25a25f22a4c..97c2df0724028439fa17b8afcdb69adf957d37fa 100644 (file)
@@ -96,7 +96,7 @@ public:
    */
   virtual void
   smooth(const unsigned int         level,
-         BlockVector<number> &      u,
+         BlockVector<number>       &u,
          const BlockVector<number> &rhs) const;
 
   /**
@@ -165,7 +165,7 @@ template <typename MatrixType, typename RelaxationType, typename number>
 template <typename MGMatrixType, typename MGRelaxationType>
 inline void
 MGSmootherBlock<MatrixType, RelaxationType, number>::initialize(
-  const MGMatrixType &    m,
+  const MGMatrixType     &m,
   const MGRelaxationType &s)
 {
   const unsigned int min = m.min_level();
@@ -209,7 +209,7 @@ template <typename MatrixType, typename RelaxationType, typename number>
 inline void
 MGSmootherBlock<MatrixType, RelaxationType, number>::smooth(
   const unsigned int         level,
-  BlockVector<number> &      u,
+  BlockVector<number>       &u,
   const BlockVector<number> &rhs) const
 {
   LogStream::Prefix prefix("Smooth");
index 3e42cb7f9d49aa28992bf8391ce6c2a767e9e26a..33cfea503958cdc6a91a816cc5f6e61d94ddfb31 100644 (file)
@@ -67,8 +67,8 @@ public:
    */
   void
   operator()(const unsigned int level,
-             VectorType &       dst,
-             const VectorType src) const override;
+             VectorType        &dst,
+             const VectorType  &src) const override;
 
 private:
   /**
@@ -103,8 +103,8 @@ public:
    * Constructor. Only a reference to these objects is stored, so
    * their lifetime needs to exceed the usage in this class.
    */
-  MGCoarseGridIterativeSolver(SolverType &              solver,
-                              const MatrixType &        matrix,
+  MGCoarseGridIterativeSolver(SolverType               &solver,
+                              const MatrixType         &matrix,
                               const PreconditionerType &precondition);
 
   /**
@@ -112,8 +112,8 @@ public:
    * details.
    */
   void
-  initialize(SolverType &              solver,
-             const MatrixType &        matrix,
+  initialize(SolverType               &solver,
+             const MatrixType         &matrix,
              const PreconditionerType &precondition);
 
   /**
@@ -128,8 +128,8 @@ public:
    */
   virtual void
   operator()(const unsigned int level,
-             VectorType &       dst,
-             const VectorType src) const override;
+             VectorType        &dst,
+             const VectorType  &src) const override;
 
 private:
   /**
@@ -190,8 +190,8 @@ public:
 
   void
   operator()(const unsigned int level,
-             VectorType &       dst,
-             const VectorType src) const override;
+             VectorType        &dst,
+             const VectorType  &src) const override;
 
 private:
   /**
@@ -223,8 +223,8 @@ public:
 
   void
   operator()(const unsigned int level,
-             VectorType &       dst,
-             const VectorType src) const;
+             VectorType        &dst,
+             const VectorType  &src) const;
 
   /**
    * Write the singular values to @p deallog.
@@ -280,8 +280,8 @@ MGCoarseGridApplySmoother<VectorType>::clear()
 template <typename VectorType>
 void
 MGCoarseGridApplySmoother<VectorType>::operator()(const unsigned int level,
-                                                  VectorType &       dst,
-                                                  const VectorType src) const
+                                                  VectorType        &dst,
+                                                  const VectorType  &src) const
 {
   coarse_smooth->apply(level, dst, src);
 }
@@ -311,8 +311,8 @@ MGCoarseGridIterativeSolver<VectorType,
                             SolverType,
                             MatrixType,
                             PreconditionerType>::
-  MGCoarseGridIterativeSolver(SolverType &              solver,
-                              const MatrixType &        matrix,
+  MGCoarseGridIterativeSolver(SolverType               &solver,
+                              const MatrixType         &matrix,
                               const PreconditionerType &preconditioner)
   : solver(&solver, typeid(*this).name())
   , matrix(&matrix, typeid(*this).name())
@@ -330,8 +330,8 @@ MGCoarseGridIterativeSolver<
   VectorType,
   SolverType,
   MatrixType,
-  PreconditionerType>::initialize(SolverType &              solver_,
-                                  const MatrixType &        matrix_,
+  PreconditionerType>::initialize(SolverType               &solver_,
+                                  const MatrixType         &matrix_,
                                   const PreconditionerType &preconditioner_)
 {
   solver         = &solver_;
@@ -370,11 +370,11 @@ namespace internal
                 std::is_same_v<VectorType, typename SolverType::vector_type>,
                 VectorType> * = nullptr>
     void
-    solve(SolverType &              solver,
-          const MatrixType &        matrix,
+    solve(SolverType               &solver,
+          const MatrixType         &matrix,
           const PreconditionerType &preconditioner,
-          VectorType &              dst,
-          const VectorType &        src)
+          VectorType               &dst,
+          const VectorType         &src)
     {
       solver.solve(matrix, dst, src, preconditioner);
     }
@@ -387,11 +387,11 @@ namespace internal
                 !std::is_same_v<VectorType, typename SolverType::vector_type>,
                 VectorType> * = nullptr>
     void
-    solve(SolverType &              solver,
-          const MatrixType &        matrix,
+    solve(SolverType               &solver,
+          const MatrixType         &matrix,
           const PreconditionerType &preconditioner,
-          VectorType &              dst,
-          const VectorType &        src)
+          VectorType               &dst,
+          const VectorType         &src)
     {
       typename SolverType::vector_type src_;
       typename SolverType::vector_type dst_;
@@ -413,12 +413,12 @@ template <typename VectorType,
           typename MatrixType,
           typename PreconditionerType>
 void
-                       MGCoarseGridIterativeSolver<
-                         VectorType,
-                         SolverType,
-                         MatrixType,
-                         PreconditionerType>::operator()(const unsigned int /*level*/,
-                                  VectorType &      dst,
+MGCoarseGridIterativeSolver<
+  VectorType,
+  SolverType,
+  MatrixType,
+  PreconditionerType>::operator()(const unsigned int /*level*/,
+                                  VectorType       &dst,
                                   const VectorType &src) const
 {
   Assert(solver != nullptr, ExcNotInitialized());
@@ -458,7 +458,7 @@ template <typename number, typename VectorType>
 void
 MGCoarseGridHouseholder<number, VectorType>::operator()(
   const unsigned int /*level*/,
-  VectorType &      dst,
+  VectorType       &dst,
   const VectorType &src) const
 {
   householder.least_squares(dst, src);
@@ -482,7 +482,7 @@ MGCoarseGridSVD<number, VectorType>::initialize(const FullMatrix<number> &A,
 template <typename number, typename VectorType>
 void
 MGCoarseGridSVD<number, VectorType>::operator()(const unsigned int /*level*/,
-                                                VectorType &      dst,
+                                                VectorType       &dst,
                                                 const VectorType &src) const
 {
   matrix.vmult(dst, src);
index 2b33df807d6c53516c17cdd90a563789c7e9ffe3..1f4e2b17905426038ba4749d43c26d1a7f82ba26 100644 (file)
@@ -76,7 +76,7 @@ public:
   template <int dim, int spacedim>
   void
   initialize(const DoFHandler<dim, spacedim> &dof,
-             const MGLevelObject<IndexSet> &  level_relevant_dofs =
+             const MGLevelObject<IndexSet>   &level_relevant_dofs =
                MGLevelObject<IndexSet>());
 
   /**
@@ -92,9 +92,9 @@ public:
   template <int dim, int spacedim>
   void
   make_zero_boundary_constraints(
-    const DoFHandler<dim, spacedim> &   dof,
+    const DoFHandler<dim, spacedim>    &dof,
     const std::set<types::boundary_id> &boundary_ids,
-    const ComponentMask &               component_mask = {});
+    const ComponentMask                &component_mask = {});
 
   /**
    * Add Dirichlet boundary dofs to the internal data structures
@@ -106,7 +106,7 @@ public:
   void
   add_boundary_indices(const DoFHandler<dim, spacedim> &dof,
                        const unsigned int               level,
-                       const IndexSet &                 boundary_indices);
+                       const IndexSet                  &boundary_indices);
 
   /**
    * Add user defined constraints to be used on level @p level.
@@ -275,7 +275,7 @@ template <int dim, int spacedim>
 inline void
 MGConstrainedDoFs::initialize(
   const DoFHandler<dim, spacedim> &dof,
-  const MGLevelObject<IndexSet> &  level_relevant_dofs)
+  const MGLevelObject<IndexSet>   &level_relevant_dofs)
 {
   boundary_indices.clear();
   refinement_edge_indices.clear();
@@ -376,9 +376,9 @@ MGConstrainedDoFs::initialize(
 template <int dim, int spacedim>
 inline void
 MGConstrainedDoFs::make_zero_boundary_constraints(
-  const DoFHandler<dim, spacedim> &   dof,
+  const DoFHandler<dim, spacedim>    &dof,
   const std::set<types::boundary_id> &boundary_ids,
-  const ComponentMask &               component_mask)
+  const ComponentMask                &component_mask)
 {
   // allocate an IndexSet for each global level. Contents will be
   // overwritten inside make_boundary_list.
index bbfe9ea2dc3226008a06e0305dbf16cb683bed59..4e72fc3be7a78311783f53feb745d5a8b6568bf3 100644 (file)
@@ -80,20 +80,20 @@ namespace mg
 
     virtual void
     vmult(const unsigned int level,
-          VectorType &       dst,
-          const VectorType src) const override;
+          VectorType        &dst,
+          const VectorType  &src) const override;
     virtual void
     vmult_add(const unsigned int level,
-              VectorType &       dst,
-              const VectorType src) const override;
+              VectorType        &dst,
+              const VectorType  &src) const override;
     virtual void
     Tvmult(const unsigned int level,
-           VectorType &       dst,
-           const VectorType src) const override;
+           VectorType        &dst,
+           const VectorType  &src) const override;
     virtual void
     Tvmult_add(const unsigned int level,
-               VectorType &       dst,
-               const VectorType src) const override;
+               VectorType        &dst,
+               const VectorType  &src) const override;
     virtual unsigned int
     get_minlevel() const override;
     virtual unsigned int
@@ -150,7 +150,7 @@ public:
    */
   virtual void
   vmult(const unsigned int    level,
-        Vector<number> &      dst,
+        Vector<number>       &dst,
         const Vector<number> &src) const;
 
   /**
@@ -158,7 +158,7 @@ public:
    */
   virtual void
   vmult_add(const unsigned int    level,
-            Vector<number> &      dst,
+            Vector<number>       &dst,
             const Vector<number> &src) const;
 
   /**
@@ -166,7 +166,7 @@ public:
    */
   virtual void
   Tvmult(const unsigned int    level,
-         Vector<number> &      dst,
+         Vector<number>       &dst,
          const Vector<number> &src) const;
 
   /**
@@ -174,7 +174,7 @@ public:
    */
   virtual void
   Tvmult_add(const unsigned int    level,
-             Vector<number> &      dst,
+             Vector<number>       &dst,
              const Vector<number> &src) const;
 
 private:
@@ -249,8 +249,8 @@ namespace mg
   template <typename VectorType>
   void
   Matrix<VectorType>::vmult(const unsigned int level,
-                            VectorType &       dst,
-                            const VectorType src) const
+                            VectorType        &dst,
+                            const VectorType  &src) const
   {
     matrices[level].vmult(dst, src);
   }
@@ -260,8 +260,8 @@ namespace mg
   template <typename VectorType>
   void
   Matrix<VectorType>::vmult_add(const unsigned int level,
-                                VectorType &       dst,
-                                const VectorType src) const
+                                VectorType        &dst,
+                                const VectorType  &src) const
   {
     matrices[level].vmult_add(dst, src);
   }
@@ -271,8 +271,8 @@ namespace mg
   template <typename VectorType>
   void
   Matrix<VectorType>::Tvmult(const unsigned int level,
-                             VectorType &       dst,
-                             const VectorType src) const
+                             VectorType        &dst,
+                             const VectorType  &src) const
   {
     matrices[level].Tvmult(dst, src);
   }
@@ -282,8 +282,8 @@ namespace mg
   template <typename VectorType>
   void
   Matrix<VectorType>::Tvmult_add(const unsigned int level,
-                                 VectorType &       dst,
-                                 const VectorType src) const
+                                 VectorType        &dst,
+                                 const VectorType  &src) const
   {
     matrices[level].Tvmult_add(dst, src);
   }
@@ -353,7 +353,7 @@ MGMatrixSelect<MatrixType, number>::select_block(const unsigned int brow,
 template <typename MatrixType, typename number>
 void
 MGMatrixSelect<MatrixType, number>::vmult(const unsigned int    level,
-                                          Vector<number> &      dst,
+                                          Vector<number>       &dst,
                                           const Vector<number> &src) const
 {
   Assert(matrix != 0, ExcNotInitialized());
@@ -367,7 +367,7 @@ MGMatrixSelect<MatrixType, number>::vmult(const unsigned int    level,
 template <typename MatrixType, typename number>
 void
 MGMatrixSelect<MatrixType, number>::vmult_add(const unsigned int    level,
-                                              Vector<number> &      dst,
+                                              Vector<number>       &dst,
                                               const Vector<number> &src) const
 {
   Assert(matrix != 0, ExcNotInitialized());
@@ -381,7 +381,7 @@ MGMatrixSelect<MatrixType, number>::vmult_add(const unsigned int    level,
 template <typename MatrixType, typename number>
 void
 MGMatrixSelect<MatrixType, number>::Tvmult(const unsigned int    level,
-                                           Vector<number> &      dst,
+                                           Vector<number>       &dst,
                                            const Vector<number> &src) const
 {
   Assert(matrix != 0, ExcNotInitialized());
@@ -395,7 +395,7 @@ MGMatrixSelect<MatrixType, number>::Tvmult(const unsigned int    level,
 template <typename MatrixType, typename number>
 void
 MGMatrixSelect<MatrixType, number>::Tvmult_add(const unsigned int    level,
-                                               Vector<number> &      dst,
+                                               Vector<number>       &dst,
                                                const Vector<number> &src) const
 {
   Assert(matrix != 0, ExcNotInitialized());
index 92f7be6906905515fb96712e19efb204be35930c..5e4256f6d344308088b95bb6643eafda9182d2cc 100644 (file)
@@ -204,7 +204,7 @@ namespace mg
      */
     template <typename MatrixType2>
     void
-    initialize(const MGLevelObject<MatrixType2> &             matrices,
+    initialize(const MGLevelObject<MatrixType2>              &matrices,
                const typename RelaxationType::AdditionalData &additional_data =
                  typename RelaxationType::AdditionalData());
 
@@ -218,7 +218,7 @@ namespace mg
     template <typename MatrixType2, typename DataType>
     void
     initialize(const MGLevelObject<MatrixType2> &matrices,
-               const MGLevelObject<DataType> &   additional_data);
+               const MGLevelObject<DataType>    &additional_data);
 
     /**
      * Empty all vectors.
@@ -231,8 +231,8 @@ namespace mg
      */
     virtual void
     smooth(const unsigned int level,
-           VectorType &       u,
-           const VectorType rhs) const override;
+           VectorType        &u,
+           const VectorType  &rhs) const override;
 
     /**
      * The apply variant of smoothing, setting the vector u to zero before
@@ -252,8 +252,8 @@ namespace mg
      */
     virtual void
     apply(const unsigned int level,
-          VectorType &       u,
-          const VectorType rhs) const override;
+          VectorType        &u,
+          const VectorType  &rhs) const override;
 
     /**
      * Memory used by this object.
@@ -314,7 +314,7 @@ public:
    */
   template <typename MatrixType2>
   void
-  initialize(const MGLevelObject<MatrixType2> &             matrices,
+  initialize(const MGLevelObject<MatrixType2>              &matrices,
              const typename RelaxationType::AdditionalData &additional_data =
                typename RelaxationType::AdditionalData());
 
@@ -329,7 +329,7 @@ public:
   template <typename MatrixType2, typename DataType>
   void
   initialize(const MGLevelObject<MatrixType2> &matrices,
-             const MGLevelObject<DataType> &   additional_data);
+             const MGLevelObject<DataType>    &additional_data);
 
   /**
    * Initialize for single blocks of matrices. Of this block matrix, the block
@@ -343,7 +343,7 @@ public:
   template <typename MatrixType2, typename DataType>
   void
   initialize(const MGLevelObject<MatrixType2> &matrices,
-             const DataType &                  additional_data,
+             const DataType                   &additional_data,
              const unsigned int                block_row,
              const unsigned int                block_col);
 
@@ -359,7 +359,7 @@ public:
   template <typename MatrixType2, typename DataType>
   void
   initialize(const MGLevelObject<MatrixType2> &matrices,
-             const MGLevelObject<DataType> &   additional_data,
+             const MGLevelObject<DataType>    &additional_data,
              const unsigned int                block_row,
              const unsigned int                block_col);
 
@@ -492,7 +492,7 @@ public:
   template <typename MatrixType2, typename DataType>
   void
   initialize(const MGLevelObject<MatrixType2> &matrices,
-             const MGLevelObject<DataType> &   additional_data);
+             const MGLevelObject<DataType>    &additional_data);
 
   /**
    * Initialize for single blocks of matrices. Of this block matrix, the block
@@ -507,7 +507,7 @@ public:
   template <typename MatrixType2, typename DataType>
   void
   initialize(const MGLevelObject<MatrixType2> &matrices,
-             const DataType &                  additional_data,
+             const DataType                   &additional_data,
              const unsigned int                block_row,
              const unsigned int                block_col);
 
@@ -524,7 +524,7 @@ public:
   template <typename MatrixType2, typename DataType>
   void
   initialize(const MGLevelObject<MatrixType2> &matrices,
-             const MGLevelObject<DataType> &   additional_data,
+             const MGLevelObject<DataType>    &additional_data,
              const unsigned int                block_row,
              const unsigned int                block_col);
 
@@ -539,8 +539,8 @@ public:
    */
   virtual void
   smooth(const unsigned int level,
-         VectorType &       u,
-         const VectorType rhs) const override;
+         VectorType        &u,
+         const VectorType  &rhs) const override;
 
   /**
    * The apply variant of smoothing, setting the vector u to zero before
@@ -559,8 +559,8 @@ public:
    */
   virtual void
   apply(const unsigned int level,
-        VectorType &       u,
-        const VectorType rhs) const override;
+        VectorType        &u,
+        const VectorType  &rhs) const override;
 
   /**
    * Object containing relaxation methods.
@@ -680,7 +680,7 @@ namespace mg
   template <typename MatrixType2>
   inline void
   SmootherRelaxation<RelaxationType, VectorType>::initialize(
-    const MGLevelObject<MatrixType2> &             m,
+    const MGLevelObject<MatrixType2>              &m,
     const typename RelaxationType::AdditionalData &data)
   {
     const unsigned int min = m.min_level();
@@ -698,7 +698,7 @@ namespace mg
   inline void
   SmootherRelaxation<RelaxationType, VectorType>::initialize(
     const MGLevelObject<MatrixType2> &m,
-    const MGLevelObject<DataType> &   data)
+    const MGLevelObject<DataType>    &data)
   {
     const unsigned int min = std::max(m.min_level(), data.min_level());
     const unsigned int max = std::min(m.max_level(), data.max_level());
@@ -714,8 +714,8 @@ namespace mg
   inline void
   SmootherRelaxation<RelaxationType, VectorType>::smooth(
     const unsigned int level,
-    VectorType &       u,
-    const VectorType rhs) const
+    VectorType        &u,
+    const VectorType  &rhs) const
   {
     unsigned int maxlevel = this->max_level();
     unsigned int steps2   = this->steps;
@@ -745,8 +745,8 @@ namespace mg
   inline void
   SmootherRelaxation<RelaxationType, VectorType>::apply(
     const unsigned int level,
-    VectorType &       u,
-    const VectorType rhs) const
+    VectorType        &u,
+    const VectorType  &rhs) const
   {
     unsigned int maxlevel = this->max_level();
     unsigned int steps2   = this->steps;
@@ -818,7 +818,7 @@ template <typename MatrixType, typename RelaxationType, typename VectorType>
 template <typename MatrixType2>
 inline void
 MGSmootherRelaxation<MatrixType, RelaxationType, VectorType>::initialize(
-  const MGLevelObject<MatrixType2> &             m,
+  const MGLevelObject<MatrixType2>              &m,
   const typename RelaxationType::AdditionalData &data)
 {
   const unsigned int min = m.min_level();
@@ -844,7 +844,7 @@ template <typename MatrixType2, typename DataType>
 inline void
 MGSmootherRelaxation<MatrixType, RelaxationType, VectorType>::initialize(
   const MGLevelObject<MatrixType2> &m,
-  const MGLevelObject<DataType> &   data)
+  const MGLevelObject<DataType>    &data)
 {
   const unsigned int min = m.min_level();
   const unsigned int max = m.max_level();
@@ -872,7 +872,7 @@ template <typename MatrixType2, typename DataType>
 inline void
 MGSmootherRelaxation<MatrixType, RelaxationType, VectorType>::initialize(
   const MGLevelObject<MatrixType2> &m,
-  const DataType &                  data,
+  const DataType                   &data,
   const unsigned int                row,
   const unsigned int                col)
 {
@@ -898,7 +898,7 @@ template <typename MatrixType2, typename DataType>
 inline void
 MGSmootherRelaxation<MatrixType, RelaxationType, VectorType>::initialize(
   const MGLevelObject<MatrixType2> &m,
-  const MGLevelObject<DataType> &   data,
+  const MGLevelObject<DataType>    &data,
   const unsigned int                row,
   const unsigned int                col)
 {
@@ -927,8 +927,8 @@ template <typename MatrixType, typename RelaxationType, typename VectorType>
 inline void
 MGSmootherRelaxation<MatrixType, RelaxationType, VectorType>::smooth(
   const unsigned int level,
-  VectorType &       u,
-  const VectorType rhs) const
+  VectorType        &u,
+  const VectorType  &rhs) const
 {
   unsigned int maxlevel = smoothers.max_level();
   unsigned int steps2   = this->steps;
@@ -958,8 +958,8 @@ template <typename MatrixType, typename RelaxationType, typename VectorType>
 inline void
 MGSmootherRelaxation<MatrixType, RelaxationType, VectorType>::apply(
   const unsigned int level,
-  VectorType &       u,
-  const VectorType rhs) const
+  VectorType        &u,
+  const VectorType  &rhs) const
 {
   unsigned int maxlevel = smoothers.max_level();
   unsigned int steps2   = this->steps;
@@ -1033,7 +1033,7 @@ template <typename MatrixType, typename PreconditionerType, typename VectorType>
 template <typename MatrixType2>
 inline void
 MGSmootherPrecondition<MatrixType, PreconditionerType, VectorType>::initialize(
-  const MGLevelObject<MatrixType2> &                 m,
+  const MGLevelObject<MatrixType2>                  &m,
   const typename PreconditionerType::AdditionalData &data)
 {
   const unsigned int min = m.min_level();
@@ -1086,7 +1086,7 @@ template <typename MatrixType2, typename DataType>
 inline void
 MGSmootherPrecondition<MatrixType, PreconditionerType, VectorType>::initialize(
   const MGLevelObject<MatrixType2> &m,
-  const MGLevelObject<DataType> &   data)
+  const MGLevelObject<DataType>    &data)
 {
   const unsigned int min = m.min_level();
   const unsigned int max = m.max_level();
@@ -1116,7 +1116,7 @@ template <typename MatrixType2, typename DataType>
 inline void
 MGSmootherPrecondition<MatrixType, PreconditionerType, VectorType>::initialize(
   const MGLevelObject<MatrixType2> &m,
-  const DataType &                  data,
+  const DataType                   &data,
   const unsigned int                row,
   const unsigned int                col)
 {
@@ -1140,7 +1140,7 @@ template <typename MatrixType2, typename DataType>
 inline void
 MGSmootherPrecondition<MatrixType, PreconditionerType, VectorType>::initialize(
   const MGLevelObject<MatrixType2> &m,
-  const MGLevelObject<DataType> &   data,
+  const MGLevelObject<DataType>    &data,
   const unsigned int                row,
   const unsigned int                col)
 {
@@ -1166,8 +1166,8 @@ template <typename MatrixType, typename PreconditionerType, typename VectorType>
 inline void
 MGSmootherPrecondition<MatrixType, PreconditionerType, VectorType>::smooth(
   const unsigned int level,
-  VectorType &       u,
-  const VectorType rhs) const
+  VectorType        &u,
+  const VectorType  &rhs) const
 {
   unsigned int maxlevel = matrices.max_level();
   unsigned int steps2   = this->steps;
@@ -1227,8 +1227,8 @@ template <typename MatrixType, typename PreconditionerType, typename VectorType>
 inline void
 MGSmootherPrecondition<MatrixType, PreconditionerType, VectorType>::apply(
   const unsigned int level,
-  VectorType &       u,
-  const VectorType rhs) const
+  VectorType        &u,
+  const VectorType  &rhs) const
 {
   unsigned int maxlevel = matrices.max_level();
   unsigned int steps2   = this->steps;
index e16b3330af9149238b37347101d0b50287637d52..55390c572fa49470f0cd21957ceb80029a310fa3 100644 (file)
@@ -59,7 +59,7 @@ namespace MGTools
   compute_row_length_vector(
     const DoFHandler<dim, spacedim> &dofs,
     const unsigned int               level,
-    std::vector<unsigned int> &      row_lengths,
+    std::vector<unsigned int>       &row_lengths,
     const DoFTools::Coupling         flux_couplings = DoFTools::none);
 
   /**
@@ -68,9 +68,9 @@ namespace MGTools
    */
   template <int dim, int spacedim>
   void
-  compute_row_length_vector(const DoFHandler<dim, spacedim> &   dofs,
+  compute_row_length_vector(const DoFHandler<dim, spacedim>    &dofs,
                             const unsigned int                  level,
-                            std::vector<unsigned int> &         row_lengths,
+                            std::vector<unsigned int>          &row_lengths,
                             const Table<2, DoFTools::Coupling> &couplings,
                             const Table<2, DoFTools::Coupling> &flux_couplings);
 
@@ -89,7 +89,7 @@ namespace MGTools
   template <int dim, int spacedim, typename number = double>
   void
   make_sparsity_pattern(const DoFHandler<dim, spacedim> &dof_handler,
-                        SparsityPatternBase &            sparsity,
+                        SparsityPatternBase             &sparsity,
                         const unsigned int               level,
                         const AffineConstraints<number> &constraints = {},
                         const bool keep_constrained_dofs             = true);
@@ -105,7 +105,7 @@ namespace MGTools
   template <int dim, int spacedim, typename number = double>
   void
   make_flux_sparsity_pattern(const DoFHandler<dim, spacedim> &dof_handler,
-                             SparsityPatternBase &            sparsity,
+                             SparsityPatternBase             &sparsity,
                              const unsigned int               level,
                              const AffineConstraints<number> &constraints = {},
                              const bool keep_constrained_dofs = true);
@@ -120,7 +120,7 @@ namespace MGTools
   template <int dim, int spacedim>
   void
   make_flux_sparsity_pattern_edge(const DoFHandler<dim, spacedim> &dof_handler,
-                                  SparsityPatternBase &            sparsity,
+                                  SparsityPatternBase             &sparsity,
                                   const unsigned int               level);
   /**
    * This function does the same as the other with the same name, but it gets
@@ -133,8 +133,8 @@ namespace MGTools
    */
   template <int dim, int spacedim>
   void
-  make_flux_sparsity_pattern(const DoFHandler<dim, spacedim> &   dof,
-                             SparsityPatternBase &               sparsity,
+  make_flux_sparsity_pattern(const DoFHandler<dim, spacedim>    &dof,
+                             SparsityPatternBase                &sparsity,
                              const unsigned int                  level,
                              const Table<2, DoFTools::Coupling> &int_mask,
                              const Table<2, DoFTools::Coupling> &flux_mask);
@@ -150,8 +150,8 @@ namespace MGTools
   template <int dim, int spacedim>
   void
   make_flux_sparsity_pattern_edge(
-    const DoFHandler<dim, spacedim> &   dof_handler,
-    SparsityPatternBase &               sparsity,
+    const DoFHandler<dim, spacedim>    &dof_handler,
+    SparsityPatternBase                &sparsity,
     const unsigned int                  level,
     const Table<2, DoFTools::Coupling> &flux_mask);
 
@@ -166,7 +166,7 @@ namespace MGTools
   void
   make_interface_sparsity_pattern(const DoFHandler<dim, spacedim> &dof_handler,
                                   const MGConstrainedDoFs &mg_constrained_dofs,
-                                  SparsityPatternBase &    sparsity,
+                                  SparsityPatternBase     &sparsity,
                                   const unsigned int       level);
 
 
@@ -179,7 +179,7 @@ namespace MGTools
   template <int dim, int spacedim>
   void
   count_dofs_per_block(
-    const DoFHandler<dim, spacedim> &                  dof_handler,
+    const DoFHandler<dim, spacedim>                   &dof_handler,
     std::vector<std::vector<types::global_dof_index>> &dofs_per_block,
     std::vector<unsigned int>                          target_block = {});
 
@@ -193,7 +193,7 @@ namespace MGTools
   template <int dim, int spacedim>
   void
   count_dofs_per_component(
-    const DoFHandler<dim, spacedim> &                  mg_dof,
+    const DoFHandler<dim, spacedim>                   &mg_dof,
     std::vector<std::vector<types::global_dof_index>> &result,
     const bool                                         only_once        = false,
     std::vector<unsigned int>                          target_component = {});
@@ -222,9 +222,9 @@ namespace MGTools
   make_boundary_list(
     const DoFHandler<dim, spacedim> &mg_dof,
     const std::map<types::boundary_id, const Function<spacedim> *>
-      &                                             function_map,
+                                                   &function_map,
     std::vector<std::set<types::global_dof_index>> &boundary_indices,
-    const ComponentMask &                           component_mask = {});
+    const ComponentMask                            &component_mask = {});
 
   /**
    * The same function as above, but return an IndexSet rather than a
@@ -235,11 +235,11 @@ namespace MGTools
    */
   template <int dim, int spacedim>
   void
-  make_boundary_list(const DoFHandler<dim, spacedim> &           mg_dof,
+  make_boundary_list(const DoFHandler<dim, spacedim>            &mg_dof,
                      const std::map<types::boundary_id,
                                     const Function<spacedim> *> &function_map,
                      std::vector<IndexSet> &boundary_indices,
-                     const ComponentMask &  component_mask = {});
+                     const ComponentMask   &component_mask = {});
 
   /**
    * The same function as above, but return an IndexSet rather than a
@@ -250,10 +250,10 @@ namespace MGTools
    */
   template <int dim, int spacedim>
   void
-  make_boundary_list(const DoFHandler<dim, spacedim> &   mg_dof,
+  make_boundary_list(const DoFHandler<dim, spacedim>    &mg_dof,
                      const std::set<types::boundary_id> &boundary_ids,
-                     std::vector<IndexSet> &             boundary_indices,
-                     const ComponentMask &               component_mask = {});
+                     std::vector<IndexSet>              &boundary_indices,
+                     const ComponentMask                &component_mask = {});
 
   /**
    * For each level in a multigrid hierarchy, produce an IndexSet that
@@ -263,7 +263,7 @@ namespace MGTools
   template <int dim, int spacedim>
   void
   extract_inner_interface_dofs(const DoFHandler<dim, spacedim> &mg_dof_handler,
-                               std::vector<IndexSet> &          interface_dofs);
+                               std::vector<IndexSet>           &interface_dofs);
 
   /**
    * Return the highest possible level that can be used as the coarsest level in
index a4740892eb815661d1ed42fca41f882a1fc1681a..188b25c7e0fe5987cbaa8dcd0f9454f327779e17 100644 (file)
@@ -55,8 +55,8 @@ namespace internal
 
     template <typename SparsityPatternType, int dim, int spacedim>
     static void
-    reinit(Matrix &                   matrix,
-           Sparsity &                 sparsity,
+    reinit(Matrix                    &matrix,
+           Sparsity                  &sparsity,
            int                        level,
            const SparsityPatternType &sp,
            const DoFHandler<dim, spacedim> &)
@@ -81,7 +81,7 @@ namespace internal
     reinit(Matrix &matrix,
            Sparsity &,
            int                              level,
-           const SparsityPatternType &      sp,
+           const SparsityPatternType       &sp,
            const DoFHandler<dim, spacedim> &dh)
     {
       const MPI_Comm communicator = dh.get_communicator();
@@ -107,7 +107,7 @@ namespace internal
     reinit(Matrix &matrix,
            Sparsity &,
            int                              level,
-           const SparsityPatternType &      sp,
+           const SparsityPatternType       &sp,
            const DoFHandler<dim, spacedim> &dh)
     {
       const MPI_Comm communicator = dh.get_communicator();
@@ -135,7 +135,7 @@ namespace internal
     reinit(Matrix &matrix,
            Sparsity &,
            int                              level,
-           const SparsityPatternType &      sp,
+           const SparsityPatternType       &sp,
            const DoFHandler<dim, spacedim> &dh)
     {
       const MPI_Comm communicator = dh.get_communicator();
@@ -162,7 +162,7 @@ namespace internal
     reinit(Matrix &matrix,
            Sparsity &,
            int                              level,
-           const SparsityPatternType &      sp,
+           const SparsityPatternType       &sp,
            const DoFHandler<dim, spacedim> &dh)
     {
       const MPI_Comm communicator = dh.get_communicator();
@@ -218,7 +218,7 @@ namespace internal
     reinit(Matrix &matrix,
            Sparsity &,
            int                              level,
-           const SparsityPatternType &      sp,
+           const SparsityPatternType       &sp,
            const DoFHandler<dim, spacedim> &dh)
     {
       const MPI_Comm communicator = dh.get_communicator();
@@ -265,8 +265,8 @@ public:
   template <int dim, class InVector, int spacedim>
   void
   copy_to_mg(const DoFHandler<dim, spacedim> &dof_handler,
-             MGLevelObject<VectorType> &      dst,
-             const InVector &                 src) const;
+             MGLevelObject<VectorType>       &dst,
+             const InVector                  &src) const;
 
   /**
    * Transfer from multi-level vector to normal vector.
@@ -278,7 +278,7 @@ public:
   template <int dim, class OutVector, int spacedim>
   void
   copy_from_mg(const DoFHandler<dim, spacedim> &dof_handler,
-               OutVector &                      dst,
+               OutVector                       &dst,
                const MGLevelObject<VectorType> &src) const;
 
   /**
@@ -289,7 +289,7 @@ public:
   template <int dim, class OutVector, int spacedim>
   void
   copy_from_mg_add(const DoFHandler<dim, spacedim> &dof_handler,
-                   OutVector &                      dst,
+                   OutVector                       &dst,
                    const MGLevelObject<VectorType> &src) const;
 
   /**
@@ -440,7 +440,7 @@ public:
   template <int dim, typename Number2, int spacedim>
   void
   copy_from_mg(
-    const DoFHandler<dim, spacedim> &            dof_handler,
+    const DoFHandler<dim, spacedim>             &dof_handler,
     LinearAlgebra::distributed::Vector<Number2> &dst,
     const MGLevelObject<LinearAlgebra::distributed::Vector<Number>> &src) const;
 
@@ -452,7 +452,7 @@ public:
   template <int dim, typename Number2, int spacedim>
   void
   copy_from_mg_add(
-    const DoFHandler<dim, spacedim> &            dof_handler,
+    const DoFHandler<dim, spacedim>             &dof_handler,
     LinearAlgebra::distributed::Vector<Number2> &dst,
     const MGLevelObject<LinearAlgebra::distributed::Vector<Number>> &src) const;
 
@@ -495,7 +495,7 @@ protected:
   void
   copy_to_mg(const DoFHandler<dim, spacedim> &dof_handler,
              MGLevelObject<LinearAlgebra::distributed::Vector<Number>> &dst,
-             const LinearAlgebra::distributed::Vector<Number2> &        src,
+             const LinearAlgebra::distributed::Vector<Number2>         &src,
              const bool solution_transfer) const;
 
   /**
@@ -678,8 +678,8 @@ public:
    */
   virtual void
   prolongate(const unsigned int to_level,
-             VectorType &       dst,
-             const VectorType src) const override;
+             VectorType        &dst,
+             const VectorType  &src) const override;
 
   /**
    * Restrict a vector from level <tt>from_level</tt> to level
@@ -698,8 +698,8 @@ public:
    */
   virtual void
   restrict_and_add(const unsigned int from_level,
-                   VectorType &       dst,
-                   const VectorType src) const override;
+                   VectorType        &dst,
+                   const VectorType  &src) const override;
 
   /**
    * Finite element does not provide prolongation matrices.
index e3f93eebbdb7643eb1c956d12821875c75bfcd15..cd4bae727fbf8e92d07338f2c1fb9298b44d8f9d 100644 (file)
@@ -39,7 +39,7 @@
 #include <algorithm>
 
 // Here you can turn on some cout statements and MPI Barriers for debugging:
-//#define DEBUG_OUTPUT
+// #define DEBUG_OUTPUT
 
 DEAL_II_NAMESPACE_OPEN
 
@@ -75,7 +75,7 @@ namespace internal
      */
     template <int dim, typename number, int spacedim>
     void
-    reinit_vector(const DoFHandler<dim, spacedim> &   dof_handler,
+    reinit_vector(const DoFHandler<dim, spacedim>    &dof_handler,
                   std::vector<unsigned int>           target_component,
                   MGLevelObject<BlockVector<number>> &v)
     {
@@ -178,9 +178,9 @@ namespace internal
   void
   copy_vector(const std::vector<
                 std::pair<types::global_dof_index, types::global_dof_index>>
-                &      copy_indices,
+                      &copy_indices,
               const T &src,
-              V &      dst)
+              V       &dst)
   {
     // we should have copy_index.second == copy_index.first, therefore we can
     // use the same function for both copying to mg as well as copying from mg
@@ -195,7 +195,7 @@ namespace internal
   copy_vector(const std::vector<
                 std::pair<types::global_dof_index, types::global_dof_index>> &,
               const T &src,
-              T &      dst)
+              T       &dst)
   {
     dst = src;
   }
@@ -207,8 +207,8 @@ template <int dim, class InVector, int spacedim>
 void
 MGLevelGlobalTransfer<VectorType>::copy_to_mg(
   const DoFHandler<dim, spacedim> &dof_handler,
-  MGLevelObject<VectorType> &      dst,
-  const InVector &                 src) const
+  MGLevelObject<VectorType>       &dst,
+  const InVector                  &src) const
 {
   assert_built(dof_handler);
   AssertIndexRange(dst.max_level(),
@@ -273,7 +273,7 @@ template <int dim, class OutVector, int spacedim>
 void
 MGLevelGlobalTransfer<VectorType>::copy_from_mg(
   const DoFHandler<dim, spacedim> &dof_handler,
-  OutVector &                      dst,
+  OutVector                       &dst,
   const MGLevelObject<VectorType> &src) const
 {
   assert_built(dof_handler);
@@ -343,7 +343,7 @@ template <int dim, class OutVector, int spacedim>
 void
 MGLevelGlobalTransfer<VectorType>::copy_from_mg_add(
   const DoFHandler<dim, spacedim> &dof_handler,
-  OutVector &                      dst,
+  OutVector                       &dst,
   const MGLevelObject<VectorType> &src) const
 {
   assert_built(dof_handler);
@@ -399,9 +399,9 @@ template <typename Number>
 template <int dim, typename Number2, int spacedim>
 void
 MGLevelGlobalTransfer<LinearAlgebra::distributed::Vector<Number>>::copy_to_mg(
-  const DoFHandler<dim, spacedim> &                          dof_handler,
+  const DoFHandler<dim, spacedim>                           &dof_handler,
   MGLevelObject<LinearAlgebra::distributed::Vector<Number>> &dst,
-  const LinearAlgebra::distributed::Vector<Number2> &        src) const
+  const LinearAlgebra::distributed::Vector<Number2>         &src) const
 {
   assert_built(dof_handler);
   copy_to_mg(dof_handler, dst, src, false);
@@ -412,9 +412,9 @@ template <typename Number>
 template <int dim, typename Number2, int spacedim>
 void
 MGLevelGlobalTransfer<LinearAlgebra::distributed::Vector<Number>>::copy_to_mg(
-  const DoFHandler<dim, spacedim> &                          dof_handler,
+  const DoFHandler<dim, spacedim>                           &dof_handler,
   MGLevelObject<LinearAlgebra::distributed::Vector<Number>> &dst,
-  const LinearAlgebra::distributed::Vector<Number2> &        src,
+  const LinearAlgebra::distributed::Vector<Number2>         &src,
   const bool solution_transfer) const
 {
   assert_built(dof_handler);
@@ -518,8 +518,8 @@ template <typename Number>
 template <int dim, typename Number2, int spacedim>
 void
 MGLevelGlobalTransfer<LinearAlgebra::distributed::Vector<Number>>::copy_from_mg(
-  const DoFHandler<dim, spacedim> &                                dof_handler,
-  LinearAlgebra::distributed::Vector<Number2> &                    dst,
+  const DoFHandler<dim, spacedim>                                 &dof_handler,
+  LinearAlgebra::distributed::Vector<Number2>                     &dst,
   const MGLevelObject<LinearAlgebra::distributed::Vector<Number>> &src) const
 {
   assert_built(dof_handler);
@@ -604,7 +604,7 @@ template <int dim, typename Number2, int spacedim>
 void
 MGLevelGlobalTransfer<LinearAlgebra::distributed::Vector<Number>>::
   copy_from_mg_add(
-    const DoFHandler<dim, spacedim> &            dof_handler,
+    const DoFHandler<dim, spacedim>             &dof_handler,
     LinearAlgebra::distributed::Vector<Number2> &dst,
     const MGLevelObject<LinearAlgebra::distributed::Vector<Number>> &src) const
 {
index 3124272880f2c77c50f57cf08bf47c82e63cd1ad..eeb92921b5faf4d45e9a8ac76f90bcf663158aa5 100644 (file)
@@ -201,7 +201,7 @@ public:
    * blocks is to be weighted differently.
    */
   void
-  initialize(const std::vector<number> &   factors,
+  initialize(const std::vector<number>    &factors,
              VectorMemory<Vector<number>> &memory);
 
   /**
@@ -213,16 +213,16 @@ public:
   template <int dim, int spacedim>
   void
   build(const DoFHandler<dim, spacedim> &dof_handler,
-        const std::vector<bool> &        selected);
+        const std::vector<bool>         &selected);
 
   virtual void
   prolongate(const unsigned int         to_level,
-             BlockVector<number> &      dst,
+             BlockVector<number>       &dst,
              const BlockVector<number> &src) const override;
 
   virtual void
   restrict_and_add(const unsigned int         from_level,
-                   BlockVector<number> &      dst,
+                   BlockVector<number>       &dst,
                    const BlockVector<number> &src) const override;
 
   /**
@@ -238,9 +238,9 @@ public:
    */
   template <int dim, typename number2, int spacedim>
   void
-  copy_to_mg(const DoFHandler<dim, spacedim> &   dof_handler,
+  copy_to_mg(const DoFHandler<dim, spacedim>    &dof_handler,
              MGLevelObject<BlockVector<number>> &dst,
-             const BlockVector<number2> &        src) const;
+             const BlockVector<number2>         &src) const;
 
   /**
    * Transfer from multi-level vector to normal vector.
@@ -250,8 +250,8 @@ public:
    */
   template <int dim, typename number2, int spacedim>
   void
-  copy_from_mg(const DoFHandler<dim, spacedim> &         dof_handler,
-               BlockVector<number2> &                    dst,
+  copy_from_mg(const DoFHandler<dim, spacedim>          &dof_handler,
+               BlockVector<number2>                     &dst,
                const MGLevelObject<BlockVector<number>> &src) const;
 
   /**
@@ -261,8 +261,8 @@ public:
    */
   template <int dim, typename number2, int spacedim>
   void
-  copy_from_mg_add(const DoFHandler<dim, spacedim> &         dof_handler,
-                   BlockVector<number2> &                    dst,
+  copy_from_mg_add(const DoFHandler<dim, spacedim>          &dof_handler,
+                   BlockVector<number2>                     &dst,
                    const MGLevelObject<BlockVector<number>> &src) const;
 
   using MGTransferBlockBase::memory_consumption;
@@ -337,12 +337,12 @@ public:
 
   virtual void
   prolongate(const unsigned int    to_level,
-             Vector<number> &      dst,
+             Vector<number>       &dst,
              const Vector<number> &src) const override;
 
   virtual void
   restrict_and_add(const unsigned int    from_level,
-                   Vector<number> &      dst,
+                   Vector<number>       &dst,
                    const Vector<number> &src) const override;
 
   /**
@@ -354,8 +354,8 @@ public:
   template <int dim, typename number2, int spacedim>
   void
   copy_to_mg(const DoFHandler<dim, spacedim> &dof_handler,
-             MGLevelObject<Vector<number>> &  dst,
-             const Vector<number2> &          src) const;
+             MGLevelObject<Vector<number>>   &dst,
+             const Vector<number2>           &src) const;
 
   /**
    * Transfer from multilevel vector to normal vector.
@@ -365,8 +365,8 @@ public:
    */
   template <int dim, typename number2, int spacedim>
   void
-  copy_from_mg(const DoFHandler<dim, spacedim> &    dof_handler,
-               Vector<number2> &                    dst,
+  copy_from_mg(const DoFHandler<dim, spacedim>     &dof_handler,
+               Vector<number2>                     &dst,
                const MGLevelObject<Vector<number>> &src) const;
 
   /**
@@ -376,8 +376,8 @@ public:
    */
   template <int dim, typename number2, int spacedim>
   void
-  copy_from_mg_add(const DoFHandler<dim, spacedim> &    dof_handler,
-                   Vector<number2> &                    dst,
+  copy_from_mg_add(const DoFHandler<dim, spacedim>     &dof_handler,
+                   Vector<number2>                     &dst,
                    const MGLevelObject<Vector<number>> &src) const;
 
   /**
@@ -390,8 +390,8 @@ public:
   template <int dim, typename number2, int spacedim>
   void
   copy_to_mg(const DoFHandler<dim, spacedim> &dof_handler,
-             MGLevelObject<Vector<number>> &  dst,
-             const BlockVector<number2> &     src) const;
+             MGLevelObject<Vector<number>>   &dst,
+             const BlockVector<number2>      &src) const;
 
   /**
    * Transfer from multilevel vector to normal vector.
@@ -401,8 +401,8 @@ public:
    */
   template <int dim, typename number2, int spacedim>
   void
-  copy_from_mg(const DoFHandler<dim, spacedim> &    dof_handler,
-               BlockVector<number2> &               dst,
+  copy_from_mg(const DoFHandler<dim, spacedim>     &dof_handler,
+               BlockVector<number2>                &dst,
                const MGLevelObject<Vector<number>> &src) const;
 
   /**
@@ -412,8 +412,8 @@ public:
    */
   template <int dim, typename number2, int spacedim>
   void
-  copy_from_mg_add(const DoFHandler<dim, spacedim> &    dof_handler,
-                   BlockVector<number2> &               dst,
+  copy_from_mg_add(const DoFHandler<dim, spacedim>     &dof_handler,
+                   BlockVector<number2>                &dst,
                    const MGLevelObject<Vector<number>> &src) const;
 
   /**
@@ -428,8 +428,8 @@ private:
    */
   template <int dim, class OutVector, int spacedim>
   void
-  do_copy_from_mg(const DoFHandler<dim, spacedim> &    dof_handler,
-                  OutVector &                          dst,
+  do_copy_from_mg(const DoFHandler<dim, spacedim>     &dof_handler,
+                  OutVector                           &dst,
                   const MGLevelObject<Vector<number>> &src,
                   const unsigned int                   offset) const;
 
@@ -438,8 +438,8 @@ private:
    */
   template <int dim, class OutVector, int spacedim>
   void
-  do_copy_from_mg_add(const DoFHandler<dim, spacedim> &    dof_handler,
-                      OutVector &                          dst,
+  do_copy_from_mg_add(const DoFHandler<dim, spacedim>     &dof_handler,
+                      OutVector                           &dst,
                       const MGLevelObject<Vector<number>> &src,
                       const unsigned int                   offset) const;
 
@@ -449,8 +449,8 @@ private:
   template <int dim, class InVector, int spacedim>
   void
   do_copy_to_mg(const DoFHandler<dim, spacedim> &dof_handler,
-                MGLevelObject<Vector<number>> &  dst,
-                const InVector &                 src,
+                MGLevelObject<Vector<number>>   &dst,
+                const InVector                  &src,
                 const unsigned int               offset) const;
   /**
    * Selected block.
index 388fafac800d5ec6c165db8a19a1500d2058649d..ed69894f53b117593767d6fb459947d556454bf8 100644 (file)
@@ -46,8 +46,8 @@ template <typename number>
 template <int dim, typename number2, int spacedim>
 void
 MGTransferBlockSelect<number>::copy_from_mg(
-  const DoFHandler<dim, spacedim> &    dof_handler,
-  BlockVector<number2> &               dst,
+  const DoFHandler<dim, spacedim>     &dof_handler,
+  BlockVector<number2>                &dst,
   const MGLevelObject<Vector<number>> &src) const
 {
   for (unsigned int level = 0;
@@ -65,8 +65,8 @@ template <typename number>
 template <int dim, typename number2, int spacedim>
 void
 MGTransferBlockSelect<number>::copy_from_mg(
-  const DoFHandler<dim, spacedim> &    dof_handler,
-  Vector<number2> &                    dst,
+  const DoFHandler<dim, spacedim>     &dof_handler,
+  Vector<number2>                     &dst,
   const MGLevelObject<Vector<number>> &src) const
 {
   for (unsigned int level = 0;
@@ -84,8 +84,8 @@ template <typename number>
 template <int dim, typename number2, int spacedim>
 void
 MGTransferBlockSelect<number>::copy_from_mg_add(
-  const DoFHandler<dim, spacedim> &    dof_handler,
-  BlockVector<number2> &               dst,
+  const DoFHandler<dim, spacedim>     &dof_handler,
+  BlockVector<number2>                &dst,
   const MGLevelObject<Vector<number>> &src) const
 {
   for (unsigned int level = 0;
@@ -103,8 +103,8 @@ template <typename number>
 template <int dim, typename number2, int spacedim>
 void
 MGTransferBlockSelect<number>::copy_from_mg_add(
-  const DoFHandler<dim, spacedim> &    dof_handler,
-  Vector<number2> &                    dst,
+  const DoFHandler<dim, spacedim>     &dof_handler,
+  Vector<number2>                     &dst,
   const MGLevelObject<Vector<number>> &src) const
 {
   for (unsigned int level = 0;
@@ -134,8 +134,8 @@ template <typename number>
 template <int dim, typename number2, int spacedim>
 void
 MGTransferBlock<number>::copy_from_mg(
-  const DoFHandler<dim, spacedim> &         dof_handler,
-  BlockVector<number2> &                    dst,
+  const DoFHandler<dim, spacedim>          &dof_handler,
+  BlockVector<number2>                     &dst,
   const MGLevelObject<BlockVector<number>> &src) const
 {
   for (unsigned int block = 0; block < selected.size(); ++block)
@@ -156,8 +156,8 @@ template <typename number>
 template <int dim, typename number2, int spacedim>
 void
 MGTransferBlock<number>::copy_from_mg_add(
-  const DoFHandler<dim, spacedim> &         dof_handler,
-  BlockVector<number2> &                    dst,
+  const DoFHandler<dim, spacedim>          &dof_handler,
+  BlockVector<number2>                     &dst,
   const MGLevelObject<BlockVector<number>> &src) const
 {
   for (unsigned int block = 0; block < selected.size(); ++block)
index 4037380c7ef24290af1d63842ae568572184bb3b..ef9e131d9235acf70c978a6b9e48c0419c9b6573 100644 (file)
@@ -239,12 +239,12 @@ public:
 
   virtual void
   prolongate(const unsigned int    to_level,
-             Vector<number> &      dst,
+             Vector<number>       &dst,
              const Vector<number> &src) const override;
 
   virtual void
   restrict_and_add(const unsigned int    from_level,
-                   Vector<number> &      dst,
+                   Vector<number>       &dst,
                    const Vector<number> &src) const override;
 
   /**
@@ -256,8 +256,8 @@ public:
   template <int dim, typename number2, int spacedim>
   void
   copy_to_mg(const DoFHandler<dim, spacedim> &mg_dof,
-             MGLevelObject<Vector<number>> &  dst,
-             const Vector<number2> &          src) const;
+             MGLevelObject<Vector<number>>   &dst,
+             const Vector<number2>           &src) const;
 
   /**
    * Transfer from multilevel vector to normal vector.
@@ -267,8 +267,8 @@ public:
    */
   template <int dim, typename number2, int spacedim>
   void
-  copy_from_mg(const DoFHandler<dim, spacedim> &    mg_dof,
-               Vector<number2> &                    dst,
+  copy_from_mg(const DoFHandler<dim, spacedim>     &mg_dof,
+               Vector<number2>                     &dst,
                const MGLevelObject<Vector<number>> &src) const;
 
   /**
@@ -278,8 +278,8 @@ public:
    */
   template <int dim, typename number2, int spacedim>
   void
-  copy_from_mg_add(const DoFHandler<dim, spacedim> &    mg_dof,
-                   Vector<number2> &                    dst,
+  copy_from_mg_add(const DoFHandler<dim, spacedim>     &mg_dof,
+                   Vector<number2>                     &dst,
                    const MGLevelObject<Vector<number>> &src) const;
 
   /**
@@ -291,8 +291,8 @@ public:
   template <int dim, typename number2, int spacedim>
   void
   copy_to_mg(const DoFHandler<dim, spacedim> &mg_dof,
-             MGLevelObject<Vector<number>> &  dst,
-             const BlockVector<number2> &     src) const;
+             MGLevelObject<Vector<number>>   &dst,
+             const BlockVector<number2>      &src) const;
 
   /**
    * Transfer from multilevel vector to normal vector.
@@ -302,8 +302,8 @@ public:
    */
   template <int dim, typename number2, int spacedim>
   void
-  copy_from_mg(const DoFHandler<dim, spacedim> &    mg_dof,
-               BlockVector<number2> &               dst,
+  copy_from_mg(const DoFHandler<dim, spacedim>     &mg_dof,
+               BlockVector<number2>                &dst,
                const MGLevelObject<Vector<number>> &src) const;
 
   /**
@@ -313,8 +313,8 @@ public:
    */
   template <int dim, typename number2, int spacedim>
   void
-  copy_from_mg_add(const DoFHandler<dim, spacedim> &    mg_dof,
-                   BlockVector<number2> &               dst,
+  copy_from_mg_add(const DoFHandler<dim, spacedim>     &mg_dof,
+                   BlockVector<number2>                &dst,
                    const MGLevelObject<Vector<number>> &src) const;
 
   /**
@@ -329,8 +329,8 @@ private:
    */
   template <int dim, class OutVector, int spacedim>
   void
-  do_copy_from_mg(const DoFHandler<dim, spacedim> &    mg_dof,
-                  OutVector &                          dst,
+  do_copy_from_mg(const DoFHandler<dim, spacedim>     &mg_dof,
+                  OutVector                           &dst,
                   const MGLevelObject<Vector<number>> &src) const;
 
   /**
@@ -338,8 +338,8 @@ private:
    */
   template <int dim, class OutVector, int spacedim>
   void
-  do_copy_from_mg_add(const DoFHandler<dim, spacedim> &    mg_dof,
-                      OutVector &                          dst,
+  do_copy_from_mg_add(const DoFHandler<dim, spacedim>     &mg_dof,
+                      OutVector                           &dst,
                       const MGLevelObject<Vector<number>> &src) const;
 
   /**
@@ -348,8 +348,8 @@ private:
   template <int dim, class InVector, int spacedim>
   void
   do_copy_to_mg(const DoFHandler<dim, spacedim> &mg_dof,
-                MGLevelObject<Vector<number>> &  dst,
-                const InVector &                 src) const;
+                MGLevelObject<Vector<number>>   &dst,
+                const InVector                  &src) const;
   /**
    * Selected component of global vector.
    */
index 8c1ee60874dc22261bac41d69494c33b51c5f311..93d7ebacd50e67410f4fdf8a7af8dd0299196511 100644 (file)
@@ -49,8 +49,8 @@ template <int dim, typename number2, int spacedim>
 void
 MGTransferSelect<number>::copy_to_mg(
   const DoFHandler<dim, spacedim> &mg_dof_handler,
-  MGLevelObject<Vector<number>> &  dst,
-  const BlockVector<number2> &     src) const
+  MGLevelObject<Vector<number>>   &dst,
+  const BlockVector<number2>      &src) const
 {
   do_copy_to_mg(mg_dof_handler,
                 dst,
@@ -64,8 +64,8 @@ template <int dim, typename number2, int spacedim>
 void
 MGTransferSelect<number>::copy_to_mg(
   const DoFHandler<dim, spacedim> &mg_dof_handler,
-  MGLevelObject<Vector<number>> &  dst,
-  const Vector<number2> &          src) const
+  MGLevelObject<Vector<number>>   &dst,
+  const Vector<number2>           &src) const
 {
   do_copy_to_mg(mg_dof_handler, dst, src);
 }
@@ -76,8 +76,8 @@ template <typename number>
 template <int dim, typename number2, int spacedim>
 void
 MGTransferSelect<number>::copy_from_mg(
-  const DoFHandler<dim, spacedim> &    mg_dof_handler,
-  BlockVector<number2> &               dst,
+  const DoFHandler<dim, spacedim>     &mg_dof_handler,
+  BlockVector<number2>                &dst,
   const MGLevelObject<Vector<number>> &src) const
 {
   dst = 0;
@@ -94,8 +94,8 @@ template <typename number>
 template <int dim, typename number2, int spacedim>
 void
 MGTransferSelect<number>::copy_from_mg(
-  const DoFHandler<dim, spacedim> &    mg_dof_handler,
-  Vector<number2> &                    dst,
+  const DoFHandler<dim, spacedim>     &mg_dof_handler,
+  Vector<number2>                     &dst,
   const MGLevelObject<Vector<number>> &src) const
 {
   dst = 0;
@@ -131,8 +131,8 @@ template <typename number>
 template <int dim, typename number2, int spacedim>
 void
 MGTransferSelect<number>::copy_from_mg_add(
-  const DoFHandler<dim, spacedim> &    mg_dof_handler,
-  BlockVector<number2> &               dst,
+  const DoFHandler<dim, spacedim>     &mg_dof_handler,
+  BlockVector<number2>                &dst,
   const MGLevelObject<Vector<number>> &src) const
 {
   do_copy_from_mg_add(mg_dof_handler, dst, src);
@@ -144,8 +144,8 @@ template <typename number>
 template <int dim, typename number2, int spacedim>
 void
 MGTransferSelect<number>::copy_from_mg_add(
-  const DoFHandler<dim, spacedim> &    mg_dof_handler,
-  Vector<number2> &                    dst,
+  const DoFHandler<dim, spacedim>     &mg_dof_handler,
+  Vector<number2>                     &dst,
   const MGLevelObject<Vector<number>> &src) const
 {
   do_copy_from_mg_add(mg_dof_handler, dst, src);
@@ -157,8 +157,8 @@ template <typename number>
 template <int dim, class OutVector, int spacedim>
 void
 MGTransferSelect<number>::do_copy_from_mg(
-  const DoFHandler<dim, spacedim> &    mg_dof_handler,
-  OutVector &                          dst,
+  const DoFHandler<dim, spacedim>     &mg_dof_handler,
+  OutVector                           &dst,
   const MGLevelObject<Vector<number>> &src) const
 {
   typename DoFHandler<dim, spacedim>::active_cell_iterator level_cell =
@@ -189,8 +189,8 @@ template <typename number>
 template <int dim, class OutVector, int spacedim>
 void
 MGTransferSelect<number>::do_copy_from_mg_add(
-  const DoFHandler<dim, spacedim> &    mg_dof_handler,
-  OutVector &                          dst,
+  const DoFHandler<dim, spacedim>     &mg_dof_handler,
+  OutVector                           &dst,
   const MGLevelObject<Vector<number>> &src) const
 {
   typename DoFHandler<dim, spacedim>::active_cell_iterator level_cell =
index 11d7181354088a78375754436d5b885550178995..3e9a1fa1e842e0ae931bf8c3edbd0e8164a17cdc 100644 (file)
@@ -137,7 +137,7 @@ namespace MGTransferGlobalCoarseningTools
   template <int dim, int spacedim>
   std::vector<std::shared_ptr<const Triangulation<dim, spacedim>>>
   create_geometric_coarsening_sequence(
-    Triangulation<dim, spacedim> &                        tria,
+    Triangulation<dim, spacedim>                         &tria,
     const RepartitioningPolicyTools::Base<dim, spacedim> &policy,
     const bool preserve_fine_triangulation,
     const bool repartition_fine_triangulation);
@@ -150,7 +150,7 @@ namespace MGTransferGlobalCoarseningTools
   template <int dim, int spacedim>
   std::vector<std::shared_ptr<const Triangulation<dim, spacedim>>>
   create_geometric_coarsening_sequence(
-    const Triangulation<dim, spacedim> &                  tria,
+    const Triangulation<dim, spacedim>                   &tria,
     const RepartitioningPolicyTools::Base<dim, spacedim> &policy,
     const bool repartition_fine_triangulation = false);
 
@@ -260,7 +260,7 @@ protected:
    */
   virtual void
   prolongate_and_add_internal(
-    LinearAlgebra::distributed::Vector<Number> &      dst,
+    LinearAlgebra::distributed::Vector<Number>       &dst,
     const LinearAlgebra::distributed::Vector<Number> &src) const = 0;
 
   /**
@@ -268,7 +268,7 @@ protected:
    */
   virtual void
   restrict_and_add_internal(
-    LinearAlgebra::distributed::Vector<Number> &      dst,
+    LinearAlgebra::distributed::Vector<Number>       &dst,
     const LinearAlgebra::distributed::Vector<Number> &src) const = 0;
 
   /**
@@ -311,7 +311,7 @@ protected:
     internal::MatrixFreeFunctions::ConstraintInfo<
       dim,
       VectorizedArray<Number, width>> &constraint_info_coarse,
-    std::vector<unsigned int> &        dof_indices_fine);
+    std::vector<unsigned int>         &dof_indices_fine);
 
   /**
    * Flag if the finite elements on the fine cells are continuous. If yes,
@@ -442,8 +442,8 @@ public:
    */
   void
   reinit_geometric_transfer(
-    const DoFHandler<dim> &          dof_handler_fine,
-    const DoFHandler<dim> &          dof_handler_coarse,
+    const DoFHandler<dim>           &dof_handler_fine,
+    const DoFHandler<dim>           &dof_handler_coarse,
     const AffineConstraints<Number> &constraint_fine =
       AffineConstraints<Number>(),
     const AffineConstraints<Number> &constraint_coarse =
@@ -462,8 +462,8 @@ public:
    */
   void
   reinit_polynomial_transfer(
-    const DoFHandler<dim> &          dof_handler_fine,
-    const DoFHandler<dim> &          dof_handler_coarse,
+    const DoFHandler<dim>           &dof_handler_fine,
+    const DoFHandler<dim>           &dof_handler_coarse,
     const AffineConstraints<Number> &constraint_fine =
       AffineConstraints<Number>(),
     const AffineConstraints<Number> &constraint_coarse =
@@ -485,8 +485,8 @@ public:
    *   check if the given polynomial coarsening strategy is supported.
    */
   void
-  reinit(const DoFHandler<dim> &          dof_handler_fine,
-         const DoFHandler<dim> &          dof_handler_coarse,
+  reinit(const DoFHandler<dim>           &dof_handler_fine,
+         const DoFHandler<dim>           &dof_handler_coarse,
          const AffineConstraints<Number> &constraint_fine =
            AffineConstraints<Number>(),
          const AffineConstraints<Number> &constraint_coarse =
@@ -512,7 +512,7 @@ public:
    */
   void
   interpolate(
-    LinearAlgebra::distributed::Vector<Number> &      dst,
+    LinearAlgebra::distributed::Vector<Number>       &dst,
     const LinearAlgebra::distributed::Vector<Number> &src) const override;
 
   /**
@@ -535,12 +535,12 @@ public:
 protected:
   void
   prolongate_and_add_internal(
-    LinearAlgebra::distributed::Vector<Number> &      dst,
+    LinearAlgebra::distributed::Vector<Number>       &dst,
     const LinearAlgebra::distributed::Vector<Number> &src) const override;
 
   void
   restrict_and_add_internal(
-    LinearAlgebra::distributed::Vector<Number> &      dst,
+    LinearAlgebra::distributed::Vector<Number>       &dst,
     const LinearAlgebra::distributed::Vector<Number> &src) const override;
 
 private:
@@ -711,10 +711,10 @@ public:
    * @p dof_handler_fine and @p dof_handler_coarse).
    */
   void
-  reinit(const DoFHandler<dim> &          dof_handler_fine,
-         const DoFHandler<dim> &          dof_handler_coarse,
-         const Mapping<dim> &             mapping_fine,
-         const Mapping<dim> &             mapping_coarse,
+  reinit(const DoFHandler<dim>           &dof_handler_fine,
+         const DoFHandler<dim>           &dof_handler_coarse,
+         const Mapping<dim>              &mapping_fine,
+         const Mapping<dim>              &mapping_coarse,
          const AffineConstraints<Number> &constraint_fine =
            AffineConstraints<Number>(),
          const AffineConstraints<Number> &constraint_coarse =
@@ -728,7 +728,7 @@ public:
    */
   void
   interpolate(
-    LinearAlgebra::distributed::Vector<Number> &      dst,
+    LinearAlgebra::distributed::Vector<Number>       &dst,
     const LinearAlgebra::distributed::Vector<Number> &src) const override;
 
   /**
@@ -754,7 +754,7 @@ protected:
    */
   void
   prolongate_and_add_internal(
-    LinearAlgebra::distributed::Vector<Number> &      dst,
+    LinearAlgebra::distributed::Vector<Number>       &dst,
     const LinearAlgebra::distributed::Vector<Number> &src) const override;
 
   /**
@@ -762,7 +762,7 @@ protected:
    */
   void
   restrict_and_add_internal(
-    LinearAlgebra::distributed::Vector<Number> &      dst,
+    LinearAlgebra::distributed::Vector<Number>       &dst,
     const LinearAlgebra::distributed::Vector<Number> &src) const override;
 
 private:
@@ -772,7 +772,7 @@ private:
   template <int n_components>
   void
   prolongate_and_add_internal_comp(
-    LinearAlgebra::distributed::Vector<Number> &      dst,
+    LinearAlgebra::distributed::Vector<Number>       &dst,
     const LinearAlgebra::distributed::Vector<Number> &src) const;
 
   /**
@@ -781,7 +781,7 @@ private:
   template <int n_components>
   void
   restrict_and_add_internal_comp(
-    LinearAlgebra::distributed::Vector<Number> &      dst,
+    LinearAlgebra::distributed::Vector<Number>       &dst,
     const LinearAlgebra::distributed::Vector<Number> &src) const;
 
   /**
@@ -971,24 +971,24 @@ public:
    */
   void
   prolongate(const unsigned int to_level,
-             VectorType &       dst,
-             const VectorType src) const override;
+             VectorType        &dst,
+             const VectorType  &src) const override;
 
   /**
    * Perform prolongation.
    */
   void
   prolongate_and_add(const unsigned int to_level,
-                     VectorType &       dst,
-                     const VectorType src) const override;
+                     VectorType        &dst,
+                     const VectorType  &src) const override;
 
   /**
    * Perform restriction.
    */
   virtual void
   restrict_and_add(const unsigned int from_level,
-                   VectorType &       dst,
-                   const VectorType src) const override;
+                   VectorType        &dst,
+                   const VectorType  &src) const override;
 
   /**
    * Initialize internal vectors and copy @p src vector to the finest
@@ -998,9 +998,9 @@ public:
    */
   template <class InVector>
   void
-  copy_to_mg(const DoFHandler<dim> &    dof_handler,
+  copy_to_mg(const DoFHandler<dim>     &dof_handler,
              MGLevelObject<VectorType> &dst,
-             const InVector &           src) const;
+             const InVector            &src) const;
 
   /**
    * Initialize internal vectors and copy the values on the finest
@@ -1010,8 +1010,8 @@ public:
    */
   template <class OutVector>
   void
-  copy_from_mg(const DoFHandler<dim> &          dof_handler,
-               OutVector &                      dst,
+  copy_from_mg(const DoFHandler<dim>           &dof_handler,
+               OutVector                       &dst,
                const MGLevelObject<VectorType> &src) const;
 
   /**
@@ -1038,9 +1038,9 @@ public:
    */
   template <class InVector>
   void
-  interpolate_to_mg(const DoFHandler<dim> &    dof_handler,
+  interpolate_to_mg(const DoFHandler<dim>     &dof_handler,
                     MGLevelObject<VectorType> &dst,
-                    const InVector &           src) const;
+                    const InVector            &src) const;
 
   /** @} */
 
@@ -1087,7 +1087,7 @@ private:
    */
   void
   intitialize_internal_transfer(
-    const DoFHandler<dim> &                      dof_handler,
+    const DoFHandler<dim>                       &dof_handler,
     const SmartPointer<const MGConstrainedDoFs> &mg_constrained_dofs);
 
   /**
@@ -1104,8 +1104,8 @@ private:
   template <class InVector>
   void
   initialize_dof_vector(const unsigned int level,
-                        VectorType &       vector,
-                        const InVector &   vector_reference,
+                        VectorType        &vector,
+                        const InVector    &vector_reference,
                         const bool         omit_zeroing_entries) const;
 
   /**
@@ -1280,8 +1280,8 @@ template <class InVector>
 void
 MGTransferMF<dim, Number>::initialize_dof_vector(
   const unsigned int level,
-  VectorType &       vec,
-  const InVector &   vec_reference,
+  VectorType        &vec,
+  const InVector    &vec_reference,
   const bool         omit_zeroing_entries) const
 {
   std::shared_ptr<const Utilities::MPI::Partitioner> partitioner;
@@ -1326,9 +1326,9 @@ MGTransferMF<dim, Number>::initialize_dof_vector(
 template <int dim, typename Number>
 template <class InVector>
 void
-MGTransferMF<dim, Number>::copy_to_mg(const DoFHandler<dim> &    dof_handler,
+MGTransferMF<dim, Number>::copy_to_mg(const DoFHandler<dim>     &dof_handler,
                                       MGLevelObject<VectorType> &dst,
-                                      const InVector &           src) const
+                                      const InVector            &src) const
 {
   (void)dof_handler;
 
@@ -1385,8 +1385,8 @@ template <int dim, typename Number>
 template <class OutVector>
 void
 MGTransferMF<dim, Number>::copy_from_mg(
-  const DoFHandler<dim> &          dof_handler,
-  OutVector &                      dst,
+  const DoFHandler<dim>           &dof_handler,
+  OutVector                       &dst,
   const MGLevelObject<VectorType> &src) const
 {
   (void)dof_handler;
index a04d539aacdef989832df264e7a9726e5fc20d5e..d800ac2e324c27da185d9e130c9a798a7a14ff02 100644 (file)
@@ -121,8 +121,8 @@ namespace
   public:
     CellProlongator(const AlignedVector<Number> &prolongation_matrix,
                     const AlignedVector<Number> &prolongation_matrix_1d,
-                    const Number *               evaluation_data_coarse,
-                    Number *                     evaluation_data_fine)
+                    const Number                *evaluation_data_coarse,
+                    Number                      *evaluation_data_fine)
       : prolongation_matrix(prolongation_matrix)
       , prolongation_matrix_1d(prolongation_matrix_1d)
       , evaluation_data_coarse(evaluation_data_coarse)
@@ -170,8 +170,8 @@ namespace
   private:
     const AlignedVector<Number> &prolongation_matrix;
     const AlignedVector<Number> &prolongation_matrix_1d;
-    const Number *               evaluation_data_coarse;
-    Number *                     evaluation_data_fine;
+    const Number                *evaluation_data_coarse;
+    Number                      *evaluation_data_fine;
   };
 
   /**
@@ -183,8 +183,8 @@ namespace
   public:
     CellRestrictor(const AlignedVector<Number> &prolongation_matrix,
                    const AlignedVector<Number> &prolongation_matrix_1d,
-                   Number *                     evaluation_data_fine,
-                   Number *                     evaluation_data_coarse)
+                   Number                      *evaluation_data_fine,
+                   Number                      *evaluation_data_coarse)
       : prolongation_matrix(prolongation_matrix)
       , prolongation_matrix_1d(prolongation_matrix_1d)
       , evaluation_data_fine(evaluation_data_fine)
@@ -235,8 +235,8 @@ namespace
   private:
     const AlignedVector<Number> &prolongation_matrix;
     const AlignedVector<Number> &prolongation_matrix_1d;
-    Number *                     evaluation_data_fine;
-    Number *                     evaluation_data_coarse;
+    Number                      *evaluation_data_fine;
+    Number                      *evaluation_data_coarse;
   };
 
   class CellProlongatorTest
@@ -259,9 +259,9 @@ namespace internal
   {
     template <typename MeshType, typename OPType>
     DEAL_II_CXX20_REQUIRES(concepts::is_triangulation_or_dof_handler<MeshType>)
-    void loop_over_active_or_level_cells(const MeshType &   tria,
+    void loop_over_active_or_level_cells(const MeshType    &tria,
                                          const unsigned int level,
-                                         const OPType &     op)
+                                         const OPType      &op)
     {
       if (level == numbers::invalid_unsigned_int)
         {
@@ -488,7 +488,7 @@ namespace internal
     FineDoFHandlerViewCell(
       const std::function<bool()> &has_children_function,
       const std::function<void(std::vector<types::global_dof_index> &)>
-        &                                  get_dof_indices_function,
+                                          &get_dof_indices_function,
       const std::function<unsigned int()> &active_fe_index_function)
       : has_children_function(has_children_function)
       , get_dof_indices_function(get_dof_indices_function)
@@ -1622,7 +1622,7 @@ namespace internal
     compute_weights(
       const dealii::AffineConstraints<Number> &constraints_fine,
       const MGTwoLevelTransfer<dim, LinearAlgebra::distributed::Vector<Number>>
-        &                                         transfer,
+                                                 &transfer,
       LinearAlgebra::distributed::Vector<Number> &touch_count)
     {
       touch_count.reinit(transfer.partitioner_fine);
@@ -1716,7 +1716,7 @@ namespace internal
     template <int dim, typename Number>
     static std::shared_ptr<const Utilities::MPI::Partitioner>
     create_coarse_partitioner(
-      const DoFHandler<dim> &                  dof_handler_coarse,
+      const DoFHandler<dim>                   &dof_handler_coarse,
       const dealii::AffineConstraints<Number> &constraints_coarse,
       const unsigned int                       mg_level_coarse)
     {
@@ -1759,8 +1759,8 @@ namespace internal
     template <int dim, typename Number>
     static void
     reinit_geometric_transfer(
-      const DoFHandler<dim> &                  dof_handler_fine,
-      const DoFHandler<dim> &                  dof_handler_coarse,
+      const DoFHandler<dim>                   &dof_handler_fine,
+      const DoFHandler<dim>                   &dof_handler_coarse,
       const dealii::AffineConstraints<Number> &constraints_fine,
       const dealii::AffineConstraints<Number> &constraints_coarse,
       const unsigned int                       mg_level_fine,
@@ -2201,7 +2201,7 @@ namespace internal
           }
         else
           {
-            const auto &       fe              = fe_fine.base_element(0);
+            const auto        &fe              = fe_fine.base_element(0);
             const unsigned int n_dofs_per_cell = fe.n_dofs_per_cell();
 
             {
@@ -2299,8 +2299,8 @@ namespace internal
     template <int dim, typename Number>
     static void
     reinit_polynomial_transfer(
-      const DoFHandler<dim> &                  dof_handler_fine,
-      const DoFHandler<dim> &                  dof_handler_coarse,
+      const DoFHandler<dim>                   &dof_handler_fine,
+      const DoFHandler<dim>                   &dof_handler_coarse,
       const dealii::AffineConstraints<Number> &constraints_fine,
       const dealii::AffineConstraints<Number> &constraints_coarse,
       const unsigned int                       mg_level_fine,
@@ -2800,7 +2800,7 @@ namespace internal
   {
     SimpleVectorDataExchange(
       const std::shared_ptr<const Utilities::MPI::Partitioner>
-        &                    embedded_partitioner,
+                            &embedded_partitioner,
       AlignedVector<Number> &buffer)
       : embedded_partitioner(embedded_partitioner)
       , buffer(buffer)
@@ -2941,7 +2941,7 @@ namespace internal
   private:
     const std::shared_ptr<const Utilities::MPI::Partitioner>
                                      embedded_partitioner;
-    dealii::AlignedVector<Number> &  buffer;
+    dealii::AlignedVector<Number>   &buffer;
     mutable std::vector<MPI_Request> requests;
   };
 
@@ -3034,7 +3034,7 @@ namespace MGTransferGlobalCoarseningTools
   template <int dim, int spacedim>
   std::vector<std::shared_ptr<const Triangulation<dim, spacedim>>>
   create_geometric_coarsening_sequence(
-    Triangulation<dim, spacedim> &                        fine_triangulation_in,
+    Triangulation<dim, spacedim>                         &fine_triangulation_in,
     const RepartitioningPolicyTools::Base<dim, spacedim> &policy,
     const bool keep_fine_triangulation,
     const bool repartition_fine_triangulation)
@@ -3160,7 +3160,7 @@ namespace MGTransferGlobalCoarseningTools
   template <int dim, int spacedim>
   std::vector<std::shared_ptr<const Triangulation<dim, spacedim>>>
   create_geometric_coarsening_sequence(
-    const Triangulation<dim, spacedim> &                  fine_triangulation_in,
+    const Triangulation<dim, spacedim>                   &fine_triangulation_in,
     const RepartitioningPolicyTools::Base<dim, spacedim> &policy,
     const bool repartition_fine_triangulation)
   {
@@ -3180,7 +3180,7 @@ template <typename Number>
 void
 MGTwoLevelTransferBase<LinearAlgebra::distributed::Vector<Number>>::
   prolongate_and_add(
-    LinearAlgebra::distributed::Vector<Number> &      dst,
+    LinearAlgebra::distributed::Vector<Number>       &dst,
     const LinearAlgebra::distributed::Vector<Number> &src) const
 {
   const bool  use_dst_inplace = this->vec_fine.size() == 0;
@@ -3220,7 +3220,7 @@ template <int dim, typename Number>
 void
 MGTwoLevelTransfer<dim, LinearAlgebra::distributed::Vector<Number>>::
   prolongate_and_add_internal(
-    LinearAlgebra::distributed::Vector<Number> &      dst,
+    LinearAlgebra::distributed::Vector<Number>       &dst,
     const LinearAlgebra::distributed::Vector<Number> &src) const
 {
   const unsigned int n_lanes = VectorizedArrayType::size();
@@ -3228,7 +3228,7 @@ MGTwoLevelTransfer<dim, LinearAlgebra::distributed::Vector<Number>>::
   AlignedVector<VectorizedArrayType> evaluation_data_fine;
   AlignedVector<VectorizedArrayType> evaluation_data_coarse;
 
-  const Number *             weights            = nullptr;
+  const Number              *weights            = nullptr;
   const VectorizedArrayType *weights_compressed = nullptr;
 
   if (this->fine_element_is_continuous)
@@ -3347,7 +3347,7 @@ MGTwoLevelTransfer<dim, LinearAlgebra::distributed::Vector<Number>>::
 template <typename Number>
 void
 MGTwoLevelTransferBase<LinearAlgebra::distributed::Vector<Number>>::
-  restrict_and_add(LinearAlgebra::distributed::Vector<Number> &      dst,
+  restrict_and_add(LinearAlgebra::distributed::Vector<Number>       &dst,
                    const LinearAlgebra::distributed::Vector<Number> &src) const
 {
   const bool        use_src_inplace = this->vec_fine.size() == 0;
@@ -3396,7 +3396,7 @@ template <int dim, typename Number>
 void
 MGTwoLevelTransfer<dim, LinearAlgebra::distributed::Vector<Number>>::
   restrict_and_add_internal(
-    LinearAlgebra::distributed::Vector<Number> &      dst,
+    LinearAlgebra::distributed::Vector<Number>       &dst,
     const LinearAlgebra::distributed::Vector<Number> &src) const
 {
   const unsigned int n_lanes = VectorizedArrayType::size();
@@ -3404,7 +3404,7 @@ MGTwoLevelTransfer<dim, LinearAlgebra::distributed::Vector<Number>>::
   AlignedVector<VectorizedArrayType> evaluation_data_fine;
   AlignedVector<VectorizedArrayType> evaluation_data_coarse;
 
-  const Number *             weights            = nullptr;
+  const Number              *weights            = nullptr;
   const VectorizedArrayType *weights_compressed = nullptr;
 
   if (this->fine_element_is_continuous)
@@ -3524,7 +3524,7 @@ MGTwoLevelTransfer<dim, LinearAlgebra::distributed::Vector<Number>>::
 template <int dim, typename Number>
 void
 MGTwoLevelTransfer<dim, LinearAlgebra::distributed::Vector<Number>>::
-  interpolate(LinearAlgebra::distributed::Vector<Number> &      dst,
+  interpolate(LinearAlgebra::distributed::Vector<Number>       &dst,
               const LinearAlgebra::distributed::Vector<Number> &src) const
 {
   const unsigned int n_lanes = VectorizedArrayType::size();
@@ -3709,7 +3709,7 @@ MGTwoLevelTransferBase<LinearAlgebra::distributed::Vector<Number>>::
     internal::MatrixFreeFunctions::ConstraintInfo<
       dim,
       VectorizedArray<Number, width>> &constraint_info_coarse,
-    std::vector<unsigned int> &        dof_indices_fine)
+    std::vector<unsigned int>         &dof_indices_fine)
 {
   if (this->partitioner_coarse->is_globally_compatible(
         *external_partitioner_coarse))
@@ -3781,8 +3781,8 @@ MGTwoLevelTransfer<dim, LinearAlgebra::distributed::Vector<Number>>::
 template <int dim, typename Number>
 void
 MGTwoLevelTransfer<dim, LinearAlgebra::distributed::Vector<Number>>::
-  reinit_geometric_transfer(const DoFHandler<dim> &          dof_handler_fine,
-                            const DoFHandler<dim> &          dof_handler_coarse,
+  reinit_geometric_transfer(const DoFHandler<dim>           &dof_handler_fine,
+                            const DoFHandler<dim>           &dof_handler_coarse,
                             const AffineConstraints<Number> &constraints_fine,
                             const AffineConstraints<Number> &constraints_coarse,
                             const unsigned int               mg_level_fine,
@@ -3804,8 +3804,8 @@ template <int dim, typename Number>
 void
 MGTwoLevelTransfer<dim, LinearAlgebra::distributed::Vector<Number>>::
   reinit_polynomial_transfer(
-    const DoFHandler<dim> &          dof_handler_fine,
-    const DoFHandler<dim> &          dof_handler_coarse,
+    const DoFHandler<dim>           &dof_handler_fine,
+    const DoFHandler<dim>           &dof_handler_coarse,
     const AffineConstraints<Number> &constraints_fine,
     const AffineConstraints<Number> &constraints_coarse,
     const unsigned int               mg_level_fine,
@@ -3826,8 +3826,8 @@ MGTwoLevelTransfer<dim, LinearAlgebra::distributed::Vector<Number>>::
 template <int dim, typename Number>
 void
 MGTwoLevelTransfer<dim, LinearAlgebra::distributed::Vector<Number>>::reinit(
-  const DoFHandler<dim> &          dof_handler_fine,
-  const DoFHandler<dim> &          dof_handler_coarse,
+  const DoFHandler<dim>           &dof_handler_fine,
+  const DoFHandler<dim>           &dof_handler_coarse,
   const AffineConstraints<Number> &constraints_fine,
   const AffineConstraints<Number> &constraints_coarse,
   const unsigned int               mg_level_fine,
@@ -4048,7 +4048,7 @@ MGTransferMF<dim, Number>::initialize_constraints(
 template <int dim, typename Number>
 void
 MGTransferMF<dim, Number>::intitialize_internal_transfer(
-  const DoFHandler<dim> &                      dof_handler,
+  const DoFHandler<dim>                       &dof_handler,
   const SmartPointer<const MGConstrainedDoFs> &mg_constrained_dofs)
 {
   const unsigned int min_level = 0;
@@ -4184,8 +4184,8 @@ MGTransferMF<dim, Number>::build(
 template <int dim, typename Number>
 void
 MGTransferMF<dim, Number>::prolongate(const unsigned int to_level,
-                                      VectorType &       dst,
-                                      const VectorType src) const
+                                      VectorType        &dst,
+                                      const VectorType  &src) const
 {
   dst = 0;
   prolongate_and_add(to_level, dst, src);
@@ -4196,8 +4196,8 @@ MGTransferMF<dim, Number>::prolongate(const unsigned int to_level,
 template <int dim, typename Number>
 void
 MGTransferMF<dim, Number>::prolongate_and_add(const unsigned int to_level,
-                                              VectorType &       dst,
-                                              const VectorType src) const
+                                              VectorType        &dst,
+                                              const VectorType  &src) const
 {
   this->transfer[to_level]->prolongate_and_add(dst, src);
 }
@@ -4207,8 +4207,8 @@ MGTransferMF<dim, Number>::prolongate_and_add(const unsigned int to_level,
 template <int dim, typename Number>
 void
 MGTransferMF<dim, Number>::restrict_and_add(const unsigned int from_level,
-                                            VectorType &       dst,
-                                            const VectorType src) const
+                                            VectorType        &dst,
+                                            const VectorType  &src) const
 {
   this->transfer[from_level]->restrict_and_add(dst, src);
 }
@@ -4426,8 +4426,8 @@ namespace internal
                std::vector<unsigned int>,
                std::vector<types::global_dof_index>>
     support_point_indices_to_dof_indices(
-      const DoFHandler<dim, spacedim> &        dof_handler,
-      const DoFHandler<dim, spacedim> &        dof_handler_support_points,
+      const DoFHandler<dim, spacedim>         &dof_handler,
+      const DoFHandler<dim, spacedim>         &dof_handler_support_points,
       const dealii::AffineConstraints<Number> &constraint)
     {
       // in case a FE_DGQ space of order 0 is provided, DoFs indices are always
@@ -4659,8 +4659,8 @@ namespace internal
                std::vector<unsigned int>,
                std::vector<types::global_dof_index>>
     collect_unconstrained_unique_support_points(
-      const DoFHandler<dim> &                  dof_handler,
-      const Mapping<dim> &                     mapping,
+      const DoFHandler<dim>                   &dof_handler,
+      const Mapping<dim>                      &mapping,
       const dealii::AffineConstraints<Number> &constraint)
     {
       AssertThrow(dof_handler.get_fe().has_support_points(),
@@ -4696,7 +4696,7 @@ namespace internal
       for (unsigned int i = 0; i < local_support_point_indices.size(); ++i)
         indices_state[local_support_point_indices[i]] = i;
 
-      const auto &  fe_support_point = dof_handler_support_points->get_fe();
+      const auto   &fe_support_point = dof_handler_support_points->get_fe();
       FEValues<dim> fe_values(mapping,
                               fe_support_point,
                               Quadrature<dim>(
@@ -4741,10 +4741,10 @@ namespace internal
 template <int dim, typename Number>
 void
 MGTwoLevelTransferNonNested<dim, LinearAlgebra::distributed::Vector<Number>>::
-  reinit(const DoFHandler<dim> &          dof_handler_fine,
-         const DoFHandler<dim> &          dof_handler_coarse,
-         const Mapping<dim> &             mapping_fine,
-         const Mapping<dim> &             mapping_coarse,
+  reinit(const DoFHandler<dim>           &dof_handler_fine,
+         const DoFHandler<dim>           &dof_handler_coarse,
+         const Mapping<dim>              &mapping_fine,
+         const Mapping<dim>              &mapping_coarse,
          const AffineConstraints<Number> &constraint_fine,
          const AffineConstraints<Number> &constraint_coarse)
 {
@@ -4837,7 +4837,7 @@ MGTwoLevelTransferNonNested<dim, LinearAlgebra::distributed::Vector<Number>>::
 
   constraint_info.finalize();
 
-  const auto &       fe_base      = dof_handler_coarse.get_fe().base_element(0);
+  const auto        &fe_base      = dof_handler_coarse.get_fe().base_element(0);
   const unsigned int n_components = dof_handler_coarse.get_fe().n_components();
 
   if (const auto fe = dynamic_cast<const FE_Q<dim> *>(&fe_base))
@@ -4891,7 +4891,7 @@ template <int n_components>
 void
 MGTwoLevelTransferNonNested<dim, LinearAlgebra::distributed::Vector<Number>>::
   prolongate_and_add_internal_comp(
-    LinearAlgebra::distributed::Vector<Number> &      dst,
+    LinearAlgebra::distributed::Vector<Number>       &dst,
     const LinearAlgebra::distributed::Vector<Number> &src) const
 {
   using Traits =
@@ -4998,7 +4998,7 @@ template <int dim, typename Number>
 void
 MGTwoLevelTransferNonNested<dim, LinearAlgebra::distributed::Vector<Number>>::
   prolongate_and_add_internal(
-    LinearAlgebra::distributed::Vector<Number> &      dst,
+    LinearAlgebra::distributed::Vector<Number>       &dst,
     const LinearAlgebra::distributed::Vector<Number> &src) const
 {
   if (this->fe_coarse->n_components() == 1)
@@ -5016,7 +5016,7 @@ template <int n_components>
 void
 MGTwoLevelTransferNonNested<dim, LinearAlgebra::distributed::Vector<Number>>::
   restrict_and_add_internal_comp(
-    LinearAlgebra::distributed::Vector<Number> &      dst,
+    LinearAlgebra::distributed::Vector<Number>       &dst,
     const LinearAlgebra::distributed::Vector<Number> &src) const
 {
   using Traits =
@@ -5119,7 +5119,7 @@ template <int dim, typename Number>
 void
 MGTwoLevelTransferNonNested<dim, LinearAlgebra::distributed::Vector<Number>>::
   restrict_and_add_internal(
-    LinearAlgebra::distributed::Vector<Number> &      dst,
+    LinearAlgebra::distributed::Vector<Number>       &dst,
     const LinearAlgebra::distributed::Vector<Number> &src) const
 {
   if (this->fe_coarse->n_components() == 1)
@@ -5135,7 +5135,7 @@ MGTwoLevelTransferNonNested<dim, LinearAlgebra::distributed::Vector<Number>>::
 template <int dim, typename Number>
 void
 MGTwoLevelTransferNonNested<dim, LinearAlgebra::distributed::Vector<Number>>::
-  interpolate(LinearAlgebra::distributed::Vector<Number> &      dst,
+  interpolate(LinearAlgebra::distributed::Vector<Number>       &dst,
               const LinearAlgebra::distributed::Vector<Number> &src) const
 {
   AssertThrow(false, ExcNotImplemented());
index 4aa650ae36b4218c8004ed59cf3bd28ea8ac9f03..71f642c617358ebfea84830e313b8685c0a05bc6 100644 (file)
@@ -45,7 +45,7 @@ namespace internal
     void
     fill_copy_indices(
       const DoFHandler<dim, spacedim> &dof_handler,
-      const MGConstrainedDoFs *        mg_constrained_dofs,
+      const MGConstrainedDoFs         *mg_constrained_dofs,
       std::vector<std::vector<
         std::pair<types::global_dof_index, types::global_dof_index>>>
         &copy_indices,
@@ -54,7 +54,7 @@ namespace internal
         &copy_indices_global_mine,
       std::vector<std::vector<
         std::pair<types::global_dof_index, types::global_dof_index>>>
-        &        copy_indices_level_mine,
+                &copy_indices_level_mine,
       const bool skip_interface_dofs = true);
 
 
@@ -122,17 +122,17 @@ namespace internal
     template <int dim, typename Number>
     void
     setup_transfer(
-      const DoFHandler<dim> &  dof_handler,
+      const DoFHandler<dim>   &dof_handler,
       const MGConstrainedDoFs *mg_constrained_dofs,
       const std::vector<std::shared_ptr<const Utilities::MPI::Partitioner>>
-        &                                     external_partitioners,
-      ElementInfo<Number> &                   elem_info,
+                                             &external_partitioners,
+      ElementInfo<Number>                    &elem_info,
       std::vector<std::vector<unsigned int>> &level_dof_indices,
       std::vector<std::vector<std::pair<unsigned int, unsigned int>>>
-        &                        parent_child_connect,
+                                &parent_child_connect,
       std::vector<unsigned int> &n_owned_level_cells,
       std::vector<std::vector<std::vector<unsigned short>>> &dirichlet_indices,
-      std::vector<std::vector<Number>> &                     weights_on_refined,
+      std::vector<std::vector<Number>>                      &weights_on_refined,
       std::vector<Table<2, unsigned int>> &copy_indices_global_mine,
       MGLevelObject<std::shared_ptr<const Utilities::MPI::Partitioner>>
         &vector_partitioners);
@@ -146,7 +146,7 @@ namespace internal
      */
     void
     resolve_identity_constraints(
-      const MGConstrainedDoFs *             mg_constrained_dofs,
+      const MGConstrainedDoFs              *mg_constrained_dofs,
       const unsigned int                    level,
       std::vector<types::global_dof_index> &dof_indices);
 
index d4d53f059b1dcc525814b547440ef681bb87be3b..fc585ab85611e9e06750b2ca9ff289e07e906af5 100644 (file)
@@ -134,13 +134,13 @@ public:
   virtual void
   prolongate(
     const unsigned int                                to_level,
-    LinearAlgebra::distributed::Vector<Number> &      dst,
+    LinearAlgebra::distributed::Vector<Number>       &dst,
     const LinearAlgebra::distributed::Vector<Number> &src) const override;
 
   virtual void
   prolongate_and_add(
     const unsigned int                                to_level,
-    LinearAlgebra::distributed::Vector<Number> &      dst,
+    LinearAlgebra::distributed::Vector<Number>       &dst,
     const LinearAlgebra::distributed::Vector<Number> &src) const override;
 
   /**
@@ -164,7 +164,7 @@ public:
   virtual void
   restrict_and_add(
     const unsigned int                                from_level,
-    LinearAlgebra::distributed::Vector<Number> &      dst,
+    LinearAlgebra::distributed::Vector<Number>       &dst,
     const LinearAlgebra::distributed::Vector<Number> &src) const override;
 
   /**
@@ -184,9 +184,9 @@ public:
   template <typename BlockVectorType2>
   void
   interpolate_to_mg(
-    const DoFHandler<dim> &                                    dof_handler,
+    const DoFHandler<dim>                                     &dof_handler,
     MGLevelObject<LinearAlgebra::distributed::Vector<Number>> &dst,
-    const BlockVectorType2 &                                   src) const;
+    const BlockVectorType2                                    &src) const;
 
   /**
    * Memory used by this object.
@@ -293,7 +293,7 @@ private:
   void
   do_prolongate_add(
     const unsigned int                                to_level,
-    LinearAlgebra::distributed::Vector<Number> &      dst,
+    LinearAlgebra::distributed::Vector<Number>       &dst,
     const LinearAlgebra::distributed::Vector<Number> &src) const;
 
   /**
@@ -302,7 +302,7 @@ private:
   template <int degree>
   void
   do_restrict_add(const unsigned int                                from_level,
-                  LinearAlgebra::distributed::Vector<Number> &      dst,
+                  LinearAlgebra::distributed::Vector<Number>       &dst,
                   const LinearAlgebra::distributed::Vector<Number> &src) const;
 };
 
@@ -339,13 +339,13 @@ public:
   virtual void
   prolongate(
     const unsigned int                                     to_level,
-    LinearAlgebra::distributed::BlockVector<Number> &      dst,
+    LinearAlgebra::distributed::BlockVector<Number>       &dst,
     const LinearAlgebra::distributed::BlockVector<Number> &src) const override;
 
   virtual void
   prolongate_and_add(
     const unsigned int                                     to_level,
-    LinearAlgebra::distributed::BlockVector<Number> &      dst,
+    LinearAlgebra::distributed::BlockVector<Number>       &dst,
     const LinearAlgebra::distributed::BlockVector<Number> &src) const override;
 
   /**
@@ -369,7 +369,7 @@ public:
   virtual void
   restrict_and_add(
     const unsigned int                                     from_level,
-    LinearAlgebra::distributed::BlockVector<Number> &      dst,
+    LinearAlgebra::distributed::BlockVector<Number>       &dst,
     const LinearAlgebra::distributed::BlockVector<Number> &src) const override;
 
   /**
@@ -385,9 +385,9 @@ public:
   template <typename BlockVectorType2>
   void
   copy_to_mg(
-    const DoFHandler<dim> &                                         dof_handler,
+    const DoFHandler<dim>                                          &dof_handler,
     MGLevelObject<LinearAlgebra::distributed::BlockVector<Number>> &dst,
-    const BlockVectorType2 &                                        src) const;
+    const BlockVectorType2                                         &src) const;
 
   /**
    * Same as above for the case that each block has its own DoFHandler.
@@ -395,9 +395,9 @@ public:
   template <typename BlockVectorType2>
   void
   copy_to_mg(
-    const std::vector<const DoFHandler<dim> *> &                    dof_handler,
+    const std::vector<const DoFHandler<dim> *>                     &dof_handler,
     MGLevelObject<LinearAlgebra::distributed::BlockVector<Number>> &dst,
-    const BlockVectorType2 &                                        src) const;
+    const BlockVectorType2                                         &src) const;
 
   /**
    * Transfer from multi-level block-vector to normal vector.
@@ -406,7 +406,7 @@ public:
   void
   copy_from_mg(
     const DoFHandler<dim> &dof_handler,
-    BlockVectorType2 &     dst,
+    BlockVectorType2      &dst,
     const MGLevelObject<LinearAlgebra::distributed::BlockVector<Number>> &src)
     const;
 
@@ -417,7 +417,7 @@ public:
   void
   copy_from_mg(
     const std::vector<const DoFHandler<dim> *> &dof_handler,
-    BlockVectorType2 &                          dst,
+    BlockVectorType2                           &dst,
     const MGLevelObject<LinearAlgebra::distributed::BlockVector<Number>> &src)
     const;
 
@@ -547,9 +547,9 @@ template <int dim, typename Number>
 template <typename BlockVectorType2>
 void
 MGTransferMatrixFree<dim, Number>::interpolate_to_mg(
-  const DoFHandler<dim> &                                    dof_handler,
+  const DoFHandler<dim>                                     &dof_handler,
   MGLevelObject<LinearAlgebra::distributed::Vector<Number>> &dst,
-  const BlockVectorType2 &                                   src) const
+  const BlockVectorType2                                    &src) const
 {
   const unsigned int min_level = dst.min_level();
   const unsigned int max_level = dst.max_level();
@@ -643,9 +643,9 @@ template <int dim, typename Number, typename TransferType>
 template <typename BlockVectorType2>
 void
 MGTransferBlockMatrixFreeBase<dim, Number, TransferType>::copy_to_mg(
-  const DoFHandler<dim> &                                         dof_handler,
+  const DoFHandler<dim>                                          &dof_handler,
   MGLevelObject<LinearAlgebra::distributed::BlockVector<Number>> &dst,
-  const BlockVectorType2 &                                        src) const
+  const BlockVectorType2                                         &src) const
 {
   Assert(same_for_all,
          ExcMessage(
@@ -664,9 +664,9 @@ template <int dim, typename Number, typename TransferType>
 template <typename BlockVectorType2>
 void
 MGTransferBlockMatrixFreeBase<dim, Number, TransferType>::copy_to_mg(
-  const std::vector<const DoFHandler<dim> *> &                    dof_handler,
+  const std::vector<const DoFHandler<dim> *>                     &dof_handler,
   MGLevelObject<LinearAlgebra::distributed::BlockVector<Number>> &dst,
-  const BlockVectorType2 &                                        src) const
+  const BlockVectorType2                                         &src) const
 {
   const unsigned int n_blocks = src.n_blocks();
   AssertDimension(dof_handler.size(), n_blocks);
@@ -704,7 +704,7 @@ template <typename BlockVectorType2>
 void
 MGTransferBlockMatrixFreeBase<dim, Number, TransferType>::copy_from_mg(
   const DoFHandler<dim> &dof_handler,
-  BlockVectorType2 &     dst,
+  BlockVectorType2      &dst,
   const MGLevelObject<LinearAlgebra::distributed::BlockVector<Number>> &src)
   const
 {
@@ -724,7 +724,7 @@ template <typename BlockVectorType2>
 void
 MGTransferBlockMatrixFreeBase<dim, Number, TransferType>::copy_from_mg(
   const std::vector<const DoFHandler<dim> *> &dof_handler,
-  BlockVectorType2 &                          dst,
+  BlockVectorType2                           &dst,
   const MGLevelObject<LinearAlgebra::distributed::BlockVector<Number>> &src)
   const
 {
index 8a9a159ace4e831326628132dd3ac0897c32f925..f15e5f541354aa334c9b483c642b5ad4d42e5fbb 100644 (file)
@@ -27,7 +27,7 @@ template <int dim, typename Number, typename TransferType>
 void
 MGTransferBlockMatrixFreeBase<dim, Number, TransferType>::prolongate(
   const unsigned int                                     to_level,
-  LinearAlgebra::distributed::BlockVector<Number> &      dst,
+  LinearAlgebra::distributed::BlockVector<Number>       &dst,
   const LinearAlgebra::distributed::BlockVector<Number> &src) const
 {
   const unsigned int n_blocks = src.n_blocks();
@@ -47,7 +47,7 @@ template <int dim, typename Number, typename TransferType>
 void
 MGTransferBlockMatrixFreeBase<dim, Number, TransferType>::prolongate_and_add(
   const unsigned int                                     to_level,
-  LinearAlgebra::distributed::BlockVector<Number> &      dst,
+  LinearAlgebra::distributed::BlockVector<Number>       &dst,
   const LinearAlgebra::distributed::BlockVector<Number> &src) const
 {
   const unsigned int n_blocks = src.n_blocks();
@@ -67,7 +67,7 @@ template <int dim, typename Number, typename TransferType>
 void
 MGTransferBlockMatrixFreeBase<dim, Number, TransferType>::restrict_and_add(
   const unsigned int                                     from_level,
-  LinearAlgebra::distributed::BlockVector<Number> &      dst,
+  LinearAlgebra::distributed::BlockVector<Number>       &dst,
   const LinearAlgebra::distributed::BlockVector<Number> &src) const
 {
   const unsigned int n_blocks = src.n_blocks();
index 61957788b49fd0af96e67e003c4b409ba851866c..1777d46efb48321d232ea0f9e4e06259a6de535e 100644 (file)
@@ -188,11 +188,11 @@ public:
    * the course of the computations. You should therefore create objects of
    * this type as late as possible.
    */
-  Multigrid(const MGMatrixBase<VectorType> &    matrix,
+  Multigrid(const MGMatrixBase<VectorType>     &matrix,
             const MGCoarseGridBase<VectorType> &coarse,
-            const MGTransferBase<VectorType> &  transfer,
-            const MGSmootherBase<VectorType> &  pre_smooth,
-            const MGSmootherBase<VectorType> &  post_smooth,
+            const MGTransferBase<VectorType>   &transfer,
+            const MGSmootherBase<VectorType>   &pre_smooth,
+            const MGSmootherBase<VectorType>   &post_smooth,
             const unsigned int                  minlevel = 0,
             const unsigned int maxlevel = numbers::invalid_unsigned_int,
             Cycle              cycle    = v_cycle);
@@ -507,15 +507,15 @@ public:
    */
   PreconditionMG(const DoFHandler<dim> &dof_handler,
                  Multigrid<VectorType> &mg,
-                 const TransferType &   transfer);
+                 const TransferType    &transfer);
 
   /**
    * Same as above in case every component of a block vector
    * uses its own DoFHandler.
    */
   PreconditionMG(const std::vector<const DoFHandler<dim> *> &dof_handler,
-                 Multigrid<VectorType> &                     mg,
-                 const TransferType &                        transfer);
+                 Multigrid<VectorType>                      &mg,
+                 const TransferType                         &transfer);
 
   /**
    * Dummy function needed by other classes.
@@ -654,10 +654,10 @@ private:
 
 
 template <typename VectorType>
-Multigrid<VectorType>::Multigrid(const MGMatrixBase<VectorType> &    matrix,
+Multigrid<VectorType>::Multigrid(const MGMatrixBase<VectorType>     &matrix,
                                  const MGCoarseGridBase<VectorType> &coarse,
-                                 const MGTransferBase<VectorType> &  transfer,
-                                 const MGSmootherBase<VectorType> &  pre_smooth,
+                                 const MGTransferBase<VectorType>   &transfer,
+                                 const MGSmootherBase<VectorType>   &pre_smooth,
                                  const MGSmootherBase<VectorType> &post_smooth,
                                  const unsigned int                min_level,
                                  const unsigned int                max_level,
@@ -712,12 +712,12 @@ namespace internal
               typename OtherVectorType>
     std::enable_if_t<TransferType::supports_dof_handler_vector>
     vmult(const std::vector<const DoFHandler<dim> *> &dof_handler_vector,
-          Multigrid<VectorType> &                     multigrid,
-          const TransferType &                        transfer,
-          OtherVectorType &                           dst,
-          const OtherVectorType &                     src,
+          Multigrid<VectorType>                      &multigrid,
+          const TransferType                         &transfer,
+          OtherVectorType                            &dst,
+          const OtherVectorType                      &src,
           const bool                                  uses_dof_handler_vector,
-          const typename dealii::mg::Signals &        signals,
+          const typename dealii::mg::Signals         &signals,
           int)
     {
       signals.transfer_to_mg(true);
@@ -743,12 +743,12 @@ namespace internal
               typename OtherVectorType>
     void
     vmult(const std::vector<const DoFHandler<dim> *> &dof_handler_vector,
-          Multigrid<VectorType> &                     multigrid,
-          const TransferType &                        transfer,
-          OtherVectorType &                           dst,
-          const OtherVectorType &                     src,
+          Multigrid<VectorType>                      &multigrid,
+          const TransferType                         &transfer,
+          OtherVectorType                            &dst,
+          const OtherVectorType                      &src,
           const bool                                  uses_dof_handler_vector,
-          const typename dealii::mg::Signals &        signals,
+          const typename dealii::mg::Signals         &signals,
           ...)
     {
       (void)uses_dof_handler_vector;
@@ -771,10 +771,10 @@ namespace internal
               typename OtherVectorType>
     std::enable_if_t<TransferType::supports_dof_handler_vector>
     vmult_add(const std::vector<const DoFHandler<dim> *> &dof_handler_vector,
-              Multigrid<VectorType> &                     multigrid,
-              const TransferType &                        transfer,
-              OtherVectorType &                           dst,
-              const OtherVectorType &                     src,
+              Multigrid<VectorType>                      &multigrid,
+              const TransferType                         &transfer,
+              OtherVectorType                            &dst,
+              const OtherVectorType                      &src,
               const bool                          uses_dof_handler_vector,
               const typename dealii::mg::Signals &signals,
               int)
@@ -804,10 +804,10 @@ namespace internal
               typename OtherVectorType>
     void
     vmult_add(const std::vector<const DoFHandler<dim> *> &dof_handler_vector,
-              Multigrid<VectorType> &                     multigrid,
-              const TransferType &                        transfer,
-              OtherVectorType &                           dst,
-              const OtherVectorType &                     src,
+              Multigrid<VectorType>                      &multigrid,
+              const TransferType                         &transfer,
+              OtherVectorType                            &dst,
+              const OtherVectorType                      &src,
               const bool                          uses_dof_handler_vector,
               const typename dealii::mg::Signals &signals,
               ...)
@@ -834,7 +834,7 @@ template <int dim, typename VectorType, typename TransferType>
 PreconditionMG<dim, VectorType, TransferType>::PreconditionMG(
   const DoFHandler<dim> &dof_handler,
   Multigrid<VectorType> &mg,
-  const TransferType &   transfer)
+  const TransferType    &transfer)
   : dof_handler_vector(1, &dof_handler)
   , dof_handler_vector_raw(1, &dof_handler)
   , multigrid(&mg)
@@ -845,8 +845,8 @@ PreconditionMG<dim, VectorType, TransferType>::PreconditionMG(
 template <int dim, typename VectorType, typename TransferType>
 PreconditionMG<dim, VectorType, TransferType>::PreconditionMG(
   const std::vector<const DoFHandler<dim> *> &dof_handler,
-  Multigrid<VectorType> &                     mg,
-  const TransferType &                        transfer)
+  Multigrid<VectorType>                      &mg,
+  const TransferType                         &transfer)
   : dof_handler_vector(dof_handler.size())
   , dof_handler_vector_raw(dof_handler.size())
   , multigrid(&mg)
@@ -871,7 +871,7 @@ template <int dim, typename VectorType, typename TransferType>
 template <typename OtherVectorType>
 void
 PreconditionMG<dim, VectorType, TransferType>::vmult(
-  OtherVectorType &      dst,
+  OtherVectorType       &dst,
   const OtherVectorType &src) const
 {
   internal::PreconditionMGImplementation::vmult(dof_handler_vector_raw,
@@ -945,7 +945,7 @@ template <int dim, typename VectorType, typename TransferType>
 template <typename OtherVectorType>
 void
 PreconditionMG<dim, VectorType, TransferType>::vmult_add(
-  OtherVectorType &      dst,
+  OtherVectorType       &dst,
   const OtherVectorType &src) const
 {
   internal::PreconditionMGImplementation::vmult_add(dof_handler_vector_raw,
index 88824ee689a644ee5fde2b807f3deb9096f0cc51..9f92c196c0e26118e30f7deac1b93f2133630e68 100644 (file)
@@ -95,12 +95,12 @@ namespace NonMatching
   create_coupling_sparsity_pattern(
     const DoFHandler<dim0, spacedim> &space_dh,
     const DoFHandler<dim1, spacedim> &immersed_dh,
-    const Quadrature<dim1> &          quad,
-    SparsityPatternBase &             sparsity,
-    const AffineConstraints<number> constraints    = {},
-    const ComponentMask &             space_comps    = {},
-    const ComponentMask &             immersed_comps = {},
-    const Mapping<dim0, spacedim> &   space_mapping =
+    const Quadrature<dim1>           &quad,
+    SparsityPatternBase              &sparsity,
+    const AffineConstraints<number>  &constraints    = {},
+    const ComponentMask              &space_comps    = {},
+    const ComponentMask              &immersed_comps = {},
+    const Mapping<dim0, spacedim>    &space_mapping =
       StaticMappingQ1<dim0, spacedim>::mapping,
     const Mapping<dim1, spacedim> &immersed_mapping =
       StaticMappingQ1<dim1, spacedim>::mapping,
@@ -117,14 +117,14 @@ namespace NonMatching
   void
   create_coupling_sparsity_pattern(
     const GridTools::Cache<dim0, spacedim> &cache,
-    const DoFHandler<dim0, spacedim> &      space_dh,
-    const DoFHandler<dim1, spacedim> &      immersed_dh,
-    const Quadrature<dim1> &                quad,
-    SparsityPatternBase &                   sparsity,
-    const AffineConstraints<number> &       constraints    = {},
-    const ComponentMask &                   space_comps    = {},
-    const ComponentMask &                   immersed_comps = {},
-    const Mapping<dim1, spacedim> &         immersed_mapping =
+    const DoFHandler<dim0, spacedim>       &space_dh,
+    const DoFHandler<dim1, spacedim>       &immersed_dh,
+    const Quadrature<dim1>                 &quad,
+    SparsityPatternBase                    &sparsity,
+    const AffineConstraints<number>        &constraints    = {},
+    const ComponentMask                    &space_comps    = {},
+    const ComponentMask                    &immersed_comps = {},
+    const Mapping<dim1, spacedim>          &immersed_mapping =
       StaticMappingQ1<dim1, spacedim>::mapping,
     const AffineConstraints<number> &immersed_constraints =
       AffineConstraints<number>());
@@ -177,14 +177,14 @@ namespace NonMatching
   template <int dim0, int dim1, int spacedim, typename Matrix>
   void
   create_coupling_mass_matrix(
-    const DoFHandler<dim0, spacedim> &                    space_dh,
-    const DoFHandler<dim1, spacedim> &                    immersed_dh,
-    const Quadrature<dim1> &                              quad,
-    Matrix &                                              matrix,
+    const DoFHandler<dim0, spacedim>                     &space_dh,
+    const DoFHandler<dim1, spacedim>                     &immersed_dh,
+    const Quadrature<dim1>                               &quad,
+    Matrix                                               &matrix,
     const AffineConstraints<typename Matrix::value_type> &constraints =
       AffineConstraints<typename Matrix::value_type>(),
-    const ComponentMask &          space_comps    = {},
-    const ComponentMask &          immersed_comps = {},
+    const ComponentMask           &space_comps    = {},
+    const ComponentMask           &immersed_comps = {},
     const Mapping<dim0, spacedim> &space_mapping =
       StaticMappingQ1<dim0, spacedim>::mapping,
     const Mapping<dim1, spacedim> &immersed_mapping =
@@ -201,15 +201,15 @@ namespace NonMatching
   template <int dim0, int dim1, int spacedim, typename Matrix>
   void
   create_coupling_mass_matrix(
-    const GridTools::Cache<dim0, spacedim> &              cache,
-    const DoFHandler<dim0, spacedim> &                    space_dh,
-    const DoFHandler<dim1, spacedim> &                    immersed_dh,
-    const Quadrature<dim1> &                              quad,
-    Matrix &                                              matrix,
+    const GridTools::Cache<dim0, spacedim>               &cache,
+    const DoFHandler<dim0, spacedim>                     &space_dh,
+    const DoFHandler<dim1, spacedim>                     &immersed_dh,
+    const Quadrature<dim1>                               &quad,
+    Matrix                                               &matrix,
     const AffineConstraints<typename Matrix::value_type> &constraints =
       AffineConstraints<typename Matrix::value_type>(),
-    const ComponentMask &          space_comps    = {},
-    const ComponentMask &          immersed_comps = {},
+    const ComponentMask           &space_comps    = {},
+    const ComponentMask           &immersed_comps = {},
     const Mapping<dim1, spacedim> &immersed_mapping =
       StaticMappingQ1<dim1, spacedim>::mapping,
     const AffineConstraints<typename Matrix::value_type> &immersed_constraints =
@@ -264,16 +264,16 @@ namespace NonMatching
   template <int dim0, int dim1, int spacedim, typename Number = double>
   void
   create_coupling_sparsity_pattern(
-    const double &                          epsilon,
+    const double                           &epsilon,
     const GridTools::Cache<dim0, spacedim> &cache0,
     const GridTools::Cache<dim1, spacedim> &cache1,
-    const DoFHandler<dim0, spacedim> &      dh0,
-    const DoFHandler<dim1, spacedim> &      dh1,
-    const Quadrature<dim1> &                quad,
-    SparsityPatternBase &                   sparsity,
+    const DoFHandler<dim0, spacedim>       &dh0,
+    const DoFHandler<dim1, spacedim>       &dh1,
+    const Quadrature<dim1>                 &quad,
+    SparsityPatternBase                    &sparsity,
     const AffineConstraints<Number> &constraints0 = AffineConstraints<Number>(),
-    const ComponentMask &            comps0       = {},
-    const ComponentMask &            comps1       = {});
+    const ComponentMask             &comps0       = {},
+    const ComponentMask             &comps1       = {});
 
   /**
    * Create a coupling @ref GlossMassMatrix "mass matrix" for non-matching independent grids,
@@ -324,15 +324,15 @@ namespace NonMatching
   template <int dim0, int dim1, int spacedim, typename Matrix>
   void
   create_coupling_mass_matrix(
-    Functions::CutOffFunctionBase<spacedim> &             kernel,
-    const double &                                        epsilon,
-    const GridTools::Cache<dim0, spacedim> &              cache0,
-    const GridTools::Cache<dim1, spacedim> &              cache1,
-    const DoFHandler<dim0, spacedim> &                    dh0,
-    const DoFHandler<dim1, spacedim> &                    dh1,
-    const Quadrature<dim0> &                              quadrature0,
-    const Quadrature<dim1> &                              quadrature1,
-    Matrix &                                              matrix,
+    Functions::CutOffFunctionBase<spacedim>              &kernel,
+    const double                                         &epsilon,
+    const GridTools::Cache<dim0, spacedim>               &cache0,
+    const GridTools::Cache<dim1, spacedim>               &cache1,
+    const DoFHandler<dim0, spacedim>                     &dh0,
+    const DoFHandler<dim1, spacedim>                     &dh1,
+    const Quadrature<dim0>                               &quadrature0,
+    const Quadrature<dim1>                               &quadrature1,
+    Matrix                                               &matrix,
     const AffineConstraints<typename Matrix::value_type> &constraints0 =
       AffineConstraints<typename Matrix::value_type>(),
     const ComponentMask &comps0 = {},
index 48897206785265a035f39b3d08d70617a9242cfa..c4950e7e322f44ed3a774fdaa8c7651ba10a130e 100644 (file)
@@ -63,8 +63,8 @@ namespace NonMatching
      * @note Currently this class is only implemented for MappingCartesian,
      * MappingQ and MappingFEField.
      */
-    FEImmersedSurfaceValues(const Mapping<dim> &                  mapping,
-                            const FiniteElement<dim> &            element,
+    FEImmersedSurfaceValues(const Mapping<dim>                   &mapping,
+                            const FiniteElement<dim>             &element,
                             const ImmersedSurfaceQuadrature<dim> &quadrature,
                             const UpdateFlags                     update_flags);
 
index 51703da11b0917989b164363344cb599b42a3a7b..103bf612c06a016f809169626d6c0ed6deb326a4 100644 (file)
@@ -169,12 +169,12 @@ namespace NonMatching
      */
     template <typename VectorType>
     FEValues(const hp::FECollection<dim> &fe_collection,
-             const Quadrature<1> &        quadrature,
+             const Quadrature<1>         &quadrature,
              const RegionUpdateFlags      region_update_flags,
-             const MeshClassifier<dim> &  mesh_classifier,
-             const DoFHandler<dim> &      dof_handler,
-             const VectorType &           level_set,
-             const AdditionalData &       additional_data = AdditionalData());
+             const MeshClassifier<dim>   &mesh_classifier,
+             const DoFHandler<dim>       &dof_handler,
+             const VectorType            &level_set,
+             const AdditionalData        &additional_data = AdditionalData());
 
     /**
      * Constructor.
@@ -204,13 +204,13 @@ namespace NonMatching
      */
     template <typename VectorType>
     FEValues(const hp::MappingCollection<dim> &mapping_collection,
-             const hp::FECollection<dim> &     fe_collection,
-             const hp::QCollection<dim> &      q_collection,
-             const hp::QCollection<1> &        q_collection_1d,
+             const hp::FECollection<dim>      &fe_collection,
+             const hp::QCollection<dim>       &q_collection,
+             const hp::QCollection<1>         &q_collection_1d,
              const RegionUpdateFlags           region_update_flags,
-             const MeshClassifier<dim> &       mesh_classifier,
-             const DoFHandler<dim> &           dof_handler,
-             const VectorType &                level_set,
+             const MeshClassifier<dim>        &mesh_classifier,
+             const DoFHandler<dim>            &dof_handler,
+             const VectorType                 &level_set,
              const AdditionalData &additional_data = AdditionalData());
 
     /**
@@ -462,11 +462,11 @@ namespace NonMatching
      */
     template <typename VectorType>
     FEInterfaceValues(const hp::FECollection<dim> &fe_collection,
-                      const Quadrature<1> &        quadrature,
+                      const Quadrature<1>         &quadrature,
                       const RegionUpdateFlags      region_update_flags,
-                      const MeshClassifier<dim> &  mesh_classifier,
-                      const DoFHandler<dim> &      dof_handler,
-                      const VectorType &           level_set,
+                      const MeshClassifier<dim>   &mesh_classifier,
+                      const DoFHandler<dim>       &dof_handler,
+                      const VectorType            &level_set,
                       const AdditionalData &additional_data = AdditionalData());
 
     /**
@@ -497,13 +497,13 @@ namespace NonMatching
      */
     template <typename VectorType>
     FEInterfaceValues(const hp::MappingCollection<dim> &mapping_collection,
-                      const hp::FECollection<dim> &     fe_collection,
-                      const hp::QCollection<dim - 1> &  q_collection,
-                      const hp::QCollection<1> &        q_collection_1d,
+                      const hp::FECollection<dim>      &fe_collection,
+                      const hp::QCollection<dim - 1>   &q_collection,
+                      const hp::QCollection<1>         &q_collection_1d,
                       const RegionUpdateFlags           region_update_flags,
-                      const MeshClassifier<dim> &       mesh_classifier,
-                      const DoFHandler<dim> &           dof_handler,
-                      const VectorType &                level_set,
+                      const MeshClassifier<dim>        &mesh_classifier,
+                      const DoFHandler<dim>            &dof_handler,
+                      const VectorType                 &level_set,
                       const AdditionalData &additional_data = AdditionalData());
 
     /**
@@ -521,7 +521,7 @@ namespace NonMatching
      */
     template <typename CellIteratorType, typename CellNeighborIteratorType>
     void
-    reinit(const CellIteratorType &        cell,
+    reinit(const CellIteratorType         &cell,
            const unsigned int              face_no,
            const unsigned int              sub_face_no,
            const CellNeighborIteratorType &cell_neighbor,
@@ -707,7 +707,7 @@ namespace NonMatching
   template <int dim>
   template <typename CellIteratorType, typename CellNeighborIteratorType>
   inline void
-  FEInterfaceValues<dim>::reinit(const CellIteratorType &        cell,
+  FEInterfaceValues<dim>::reinit(const CellIteratorType         &cell,
                                  const unsigned int              face_no,
                                  const unsigned int              sub_face_no,
                                  const CellNeighborIteratorType &cell_neighbor,
index 9c315567537b1373a326dba17ef27eba21113ca7..b4deae960fabb3b5d94b37c218348fa6654e29bc 100644 (file)
@@ -118,8 +118,8 @@ namespace NonMatching
      * surface normals. The points, weights and normals should be with respect
      * to reference space, and the normals should be normalized.
      */
-    ImmersedSurfaceQuadrature(const std::vector<Point<dim>> &         points,
-                              const std::vector<double> &             weights,
+    ImmersedSurfaceQuadrature(const std::vector<Point<dim>>          &points,
+                              const std::vector<double>              &weights,
                               const std::vector<Tensor<1, spacedim>> &normals);
 
     /**
@@ -144,7 +144,7 @@ namespace NonMatching
      * quadrature formula.
      */
     void
-    push_back(const Point<dim> &         point,
+    push_back(const Point<dim>          &point,
               const double               weight,
               const Tensor<1, spacedim> &normal);
 
index 8cb66a73fe2ce812a12b49147b4368f1e99d3ef9..eb094cc43284cfebe2901f722c0ed4538b1ac188 100644 (file)
@@ -51,7 +51,7 @@ namespace NonMatching
       static UpdateFlags
       required_update_flags(
         const SmartPointer<const Mapping<dim, spacedim>> mapping,
-        const UpdateFlags &                              update_flags)
+        const UpdateFlags                               &update_flags)
       {
         return mapping->requires_update_flags(update_flags);
       }
@@ -59,10 +59,10 @@ namespace NonMatching
       static void
       compute_mapping_data_for_quadrature(
         const SmartPointer<const Mapping<dim, spacedim>> mapping,
-        const UpdateFlags &                              update_flags_mapping,
+        const UpdateFlags                               &update_flags_mapping,
         const typename Triangulation<dim, spacedim>::cell_iterator &cell,
         CellSimilarity::Similarity &cell_similarity,
-        const Quadrature<dim> &     quadrature,
+        const Quadrature<dim>      &quadrature,
         std::shared_ptr<typename Mapping<dim, spacedim>::InternalDataBase>
                      internal_mapping_data,
         MappingData &mapping_data)
@@ -99,9 +99,9 @@ namespace NonMatching
       static void
       compute_mapping_data_for_immersed_surface_quadrature(
         const SmartPointer<const Mapping<dim, spacedim>> mapping,
-        const UpdateFlags &                              update_flags_mapping,
+        const UpdateFlags                               &update_flags_mapping,
         const typename Triangulation<dim, spacedim>::cell_iterator &cell,
-        const ImmersedSurfaceQuadrature<dim> &                      quadrature,
+        const ImmersedSurfaceQuadrature<dim>                       &quadrature,
         std::shared_ptr<typename Mapping<dim, spacedim>::InternalDataBase>
                      internal_mapping_data,
         MappingData &mapping_data)
@@ -135,10 +135,10 @@ namespace NonMatching
       static void
       compute_mapping_data_for_face_quadrature(
         const SmartPointer<const Mapping<dim, spacedim>> mapping,
-        const UpdateFlags &                              update_flags_mapping,
+        const UpdateFlags                               &update_flags_mapping,
         const typename Triangulation<dim, spacedim>::cell_iterator &cell,
         const unsigned int                                          face_no,
-        const Quadrature<dim - 1> &                                 quadrature,
+        const Quadrature<dim - 1>                                  &quadrature,
         std::shared_ptr<typename Mapping<dim, spacedim>::InternalDataBase>
                      internal_mapping_data,
         MappingData &mapping_data)
@@ -251,7 +251,7 @@ namespace NonMatching
      * @param additional_data Additional data for the class to specify the
      * behavior during reinitialization.
      */
-    MappingInfo(const Mapping<dim> mapping,
+    MappingInfo(const Mapping<dim>  &mapping,
                 const UpdateFlags    update_flags,
                 const AdditionalData additional_data = AdditionalData());
 
@@ -293,7 +293,7 @@ namespace NonMatching
     template <typename ContainerType>
     void
     reinit_cells(
-      const ContainerType &                       cell_iterator_range,
+      const ContainerType                        &cell_iterator_range,
       const std::vector<std::vector<Point<dim>>> &unit_points_vector,
       const unsigned int n_unfiltered_cells = numbers::invalid_unsigned_int);
 
@@ -306,7 +306,7 @@ namespace NonMatching
     template <typename ContainerType>
     void
     reinit_cells(
-      const ContainerType &               cell_iterator_range,
+      const ContainerType                &cell_iterator_range,
       const std::vector<Quadrature<dim>> &quadrature_vector,
       const unsigned int n_unfiltered_cells = numbers::invalid_unsigned_int);
 
@@ -317,7 +317,7 @@ namespace NonMatching
     template <typename Iterator>
     void
     reinit_surface(
-      const IteratorRange<Iterator> &                    cell_iterator_range,
+      const IteratorRange<Iterator>                     &cell_iterator_range,
       const std::vector<ImmersedSurfaceQuadrature<dim>> &quadrature_vector,
       const unsigned int n_unfiltered_cells = numbers::invalid_unsigned_int);
 
@@ -328,7 +328,7 @@ namespace NonMatching
     template <typename Iterator>
     void
     reinit_faces(
-      const IteratorRange<Iterator> &                      cell_iterator_range,
+      const IteratorRange<Iterator>                       &cell_iterator_range,
       const std::vector<std::vector<Quadrature<dim - 1>>> &quadrature_vector,
       const unsigned int n_unfiltered_cells = numbers::invalid_unsigned_int);
 
@@ -502,7 +502,7 @@ namespace NonMatching
     store_mapping_data(const unsigned int         unit_points_index_offset,
                        const unsigned int         n_q_points,
                        const unsigned int         n_q_points_unvectorized,
-                       const MappingData &        mapping_data,
+                       const MappingData         &mapping_data,
                        const std::vector<double> &weights);
 
     /**
@@ -672,7 +672,7 @@ namespace NonMatching
 
   template <int dim, int spacedim, typename Number>
   MappingInfo<dim, spacedim, Number>::MappingInfo(
-    const Mapping<dim> mapping,
+    const Mapping<dim>  &mapping,
     const UpdateFlags    update_flags,
     const AdditionalData additional_data)
     : mapping(&mapping)
@@ -726,7 +726,7 @@ namespace NonMatching
   void
   MappingInfo<dim, spacedim, Number>::reinit(
     const typename Triangulation<dim, spacedim>::cell_iterator &cell,
-    const std::vector<Point<dim>> &                             unit_points_in)
+    const std::vector<Point<dim>>                              &unit_points_in)
   {
     reinit(cell, Quadrature<dim>(unit_points_in));
   }
@@ -737,7 +737,7 @@ namespace NonMatching
   void
   MappingInfo<dim, spacedim, Number>::reinit(
     const typename Triangulation<dim, spacedim>::cell_iterator &cell,
-    const ArrayView<const Point<dim>> &                         unit_points_in)
+    const ArrayView<const Point<dim>>                          &unit_points_in)
   {
     reinit(cell,
            std::vector<Point<dim>>(unit_points_in.begin(),
@@ -750,7 +750,7 @@ namespace NonMatching
   void
   MappingInfo<dim, spacedim, Number>::reinit(
     const typename Triangulation<dim, spacedim>::cell_iterator &cell,
-    const Quadrature<dim> &                                     quadrature)
+    const Quadrature<dim>                                      &quadrature)
   {
     n_q_points_unvectorized.resize(1);
     n_q_points_unvectorized[0] = quadrature.size();
@@ -800,7 +800,7 @@ namespace NonMatching
   template <typename ContainerType>
   void
   MappingInfo<dim, spacedim, Number>::reinit_cells(
-    const ContainerType &                       cell_iterator_range,
+    const ContainerType                        &cell_iterator_range,
     const std::vector<std::vector<Point<dim>>> &unit_points_vector,
     const unsigned int                          n_unfiltered_cells)
   {
@@ -823,7 +823,7 @@ namespace NonMatching
   template <typename ContainerType>
   void
   MappingInfo<dim, spacedim, Number>::reinit_cells(
-    const ContainerType &               cell_iterator_range,
+    const ContainerType                &cell_iterator_range,
     const std::vector<Quadrature<dim>> &quadrature_vector,
     const unsigned int                  n_unfiltered_cells)
   {
@@ -929,7 +929,7 @@ namespace NonMatching
   template <typename Iterator>
   void
   MappingInfo<dim, spacedim, Number>::reinit_surface(
-    const IteratorRange<Iterator> &                    cell_iterator_range,
+    const IteratorRange<Iterator>                     &cell_iterator_range,
     const std::vector<ImmersedSurfaceQuadrature<dim>> &quadrature_vector,
     const unsigned int                                 n_unfiltered_cells)
   {
@@ -1036,7 +1036,7 @@ namespace NonMatching
   template <typename Iterator>
   void
   MappingInfo<dim, spacedim, Number>::reinit_faces(
-    const IteratorRange<Iterator> &                      cell_iterator_range,
+    const IteratorRange<Iterator>                       &cell_iterator_range,
     const std::vector<std::vector<Quadrature<dim - 1>>> &quadrature_vector,
     const unsigned int                                   n_unfiltered_cells)
   {
@@ -1347,7 +1347,7 @@ namespace NonMatching
     const unsigned int              n_q_points,
     const unsigned int              n_q_points_unvectorized,
     const MappingInfo::MappingData &mapping_data,
-    const std::vector<double> &     weights)
+    const std::vector<double>      &weights)
   {
     const unsigned int n_lanes =
       dealii::internal::VectorizedArrayTrait<Number>::width();
index 91d94f351518275b7b3bc61d08bbbc8bb11b4c4c..ce2342f04b1aa9483de2d157e7ad5f10ab542930 100644 (file)
@@ -116,7 +116,7 @@ namespace NonMatching
      */
     template <typename VectorType>
     MeshClassifier(const DoFHandler<dim> &level_set_dof_handler,
-                   const VectorType &     level_set);
+                   const VectorType      &level_set);
 
     /**
      * Constructor. Takes the triangulation that should be classified, a
@@ -126,7 +126,7 @@ namespace NonMatching
      * @note The Function and the FiniteElement must both have a single component.
      */
     MeshClassifier(const Triangulation<dim> &triangulation,
-                   const Function<dim> &     level_set,
+                   const Function<dim>      &level_set,
                    const FiniteElement<dim> &element);
 
     /**
index 4612d95f5fbaf3ef5da732f02948e4af0c13ebe5..d1f42a9203938b0648afc86672ff2bf0d6eece33 100644 (file)
@@ -199,7 +199,7 @@ namespace NonMatching
      */
     QuadratureGenerator(
       const hp::QCollection<1> &quadratures1D,
-      const AdditionalData &    additional_data = AdditionalData());
+      const AdditionalData     &additional_data = AdditionalData());
 
     /**
      * Clears the inside, outside and surface quadratures.
@@ -227,7 +227,7 @@ namespace NonMatching
      * existing quadrature instead.
      */
     void
-    generate_append(const Function<dim> &   level_set,
+    generate_append(const Function<dim>    &level_set,
                     const BoundingBox<dim> &box);
 
     /**
@@ -317,7 +317,7 @@ namespace NonMatching
      */
     FaceQuadratureGenerator(
       const hp::QCollection<1> &quadratures1D,
-      const AdditionalData &    additional_data = AdditionalData());
+      const AdditionalData     &additional_data = AdditionalData());
 
     /**
      * Clears the inside, outside and surface quadratures.
@@ -338,7 +338,7 @@ namespace NonMatching
      * incoming function.
      */
     void
-    generate(const Function<dim> &   level_set,
+    generate(const Function<dim>    &level_set,
              const BoundingBox<dim> &box,
              const unsigned int      face_index);
 
@@ -347,7 +347,7 @@ namespace NonMatching
      * existing quadrature instead.
      */
     void
-    generate_append(const Function<dim> &   level_set,
+    generate_append(const Function<dim>    &level_set,
                     const BoundingBox<dim> &box,
                     const unsigned int      face_index);
 
@@ -430,7 +430,7 @@ namespace NonMatching
      */
     FaceQuadratureGenerator(
       const hp::QCollection<1> &quadratures1D,
-      const AdditionalData &    additional_data = AdditionalData());
+      const AdditionalData     &additional_data = AdditionalData());
 
     /**
      * Does nothing. Exists for compatibility reasons.
@@ -448,7 +448,7 @@ namespace NonMatching
      * get_surface_quadrature().
      */
     void
-    generate(const Function<1> &   level_set,
+    generate(const Function<1>    &level_set,
              const BoundingBox<1> &box,
              const unsigned int    face_index);
 
@@ -457,7 +457,7 @@ namespace NonMatching
      * existing quadrature instead.
      */
     void
-    generate_append(const Function<1> &   level_set,
+    generate_append(const Function<1>    &level_set,
                     const BoundingBox<1> &box,
                     const unsigned int    face_index);
 
@@ -547,9 +547,9 @@ namespace NonMatching
     template <typename VectorType>
     DiscreteQuadratureGenerator(
       const hp::QCollection<1> &quadratures1D,
-      const DoFHandler<dim> &   dof_handler,
-      const VectorType &        level_set,
-      const AdditionalData &    additional_data = AdditionalData());
+      const DoFHandler<dim>    &dof_handler,
+      const VectorType         &level_set,
+      const AdditionalData     &additional_data = AdditionalData());
 
     /**
      * Construct immersed quadratures rules based on the discrete level
@@ -609,9 +609,9 @@ namespace NonMatching
     template <typename VectorType>
     DiscreteFaceQuadratureGenerator(
       const hp::QCollection<1> &quadratures1D,
-      const DoFHandler<dim> &   dof_handler,
-      const VectorType &        level_set,
-      const AdditionalData &    additional_data = AdditionalData());
+      const DoFHandler<dim>    &dof_handler,
+      const VectorType         &level_set,
+      const AdditionalData     &additional_data = AdditionalData());
 
     /**
      * Construct immersed quadratures rules based on the discrete level
@@ -711,9 +711,9 @@ namespace NonMatching
          */
         void
         find_roots(const std::vector<std::reference_wrapper<const Function<1>>>
-                     &                   functions,
+                                        &functions,
                    const BoundingBox<1> &interval,
-                   std::vector<double> roots);
+                   std::vector<double>  &roots);
 
       private:
         /**
@@ -722,10 +722,10 @@ namespace NonMatching
          * of times this function has been called recursively.
          */
         void
-        find_roots(const Function<1> &   function,
+        find_roots(const Function<1>    &function,
                    const BoundingBox<1> &interval,
                    const unsigned int    recursion_depth,
-                   std::vector<double> roots);
+                   std::vector<double>  &roots);
 
         const AdditionalData additional_data;
       };
@@ -901,7 +901,7 @@ namespace NonMatching
          * Constructor. Takes the same parameters as QuadratureGenerator.
          */
         UpThroughDimensionCreator(
-          const hp::QCollection<1> &      q_collection1D,
+          const hp::QCollection<1>       &q_collection1D,
           const AdditionalQGeneratorData &additional_data);
 
         /**
@@ -911,11 +911,11 @@ namespace NonMatching
          */
         void
         generate(const std::vector<std::reference_wrapper<const Function<dim>>>
-                   &                        level_sets,
-                 const BoundingBox<dim> &   box,
+                                           &level_sets,
+                 const BoundingBox<dim>    &box,
                  const Quadrature<dim - 1> &low_dim_quadrature,
                  const unsigned int         height_function_direction,
-                 QPartitioning<dim> &       q_partitioning);
+                 QPartitioning<dim>        &q_partitioning);
 
         /**
          * Set which 1d-quadrature in the collection passed to the constructor
@@ -938,8 +938,8 @@ namespace NonMatching
           const Point<dim - 1> &point,
           const double          weight,
           const std::vector<std::reference_wrapper<const Function<dim>>>
-            &                             level_sets,
-          const BoundingBox<dim> &        box,
+                                         &level_sets,
+          const BoundingBox<dim>         &box,
           const unsigned int              height_function_direction,
           ImmersedSurfaceQuadrature<dim> &surface_quadrature);
 
@@ -1027,7 +1027,7 @@ namespace NonMatching
       class QGeneratorBase
       {
       public:
-        QGeneratorBase(const hp::QCollection<1> &      q_collection1D,
+        QGeneratorBase(const hp::QCollection<1>       &q_collection1D,
                        const AdditionalQGeneratorData &additional_data);
 
         /**
@@ -1157,7 +1157,7 @@ namespace NonMatching
         /**
          * Constructor. Takes the same parameters QuadratureGenerator.
          */
-        QGenerator(const hp::QCollection<1> &      q_collection1D,
+        QGenerator(const hp::QCollection<1>       &q_collection1D,
                    const AdditionalQGeneratorData &additional_data);
 
         /**
@@ -1172,7 +1172,7 @@ namespace NonMatching
          */
         void
         generate(const std::vector<std::reference_wrapper<const Function<dim>>>
-                   &                     level_sets,
+                                        &level_sets,
                  const BoundingBox<dim> &box,
                  const unsigned int      n_box_splits);
 
@@ -1194,7 +1194,7 @@ namespace NonMatching
         create_low_dim_quadratures(
           const unsigned int height_function_direction,
           const std::vector<std::reference_wrapper<const Function<dim>>>
-            &                     level_sets,
+                                 &level_sets,
           const BoundingBox<dim> &box,
           const unsigned int      n_box_splits);
 
@@ -1207,7 +1207,7 @@ namespace NonMatching
         create_high_dim_quadratures(
           const unsigned int height_function_direction,
           const std::vector<std::reference_wrapper<const Function<dim>>>
-            &                     level_sets,
+                                 &level_sets,
           const BoundingBox<dim> &box);
 
         /**
@@ -1218,8 +1218,8 @@ namespace NonMatching
         void
         split_box_and_recurse(
           const std::vector<std::reference_wrapper<const Function<dim>>>
-            &                                       level_sets,
-          const BoundingBox<dim> &                  box,
+                                                   &level_sets,
+          const BoundingBox<dim>                   &box,
           const std::optional<HeightDirectionData> &direction_data,
           const unsigned int                        n_box_splits);
 
@@ -1235,7 +1235,7 @@ namespace NonMatching
         void
         use_midpoint_method(
           const std::vector<std::reference_wrapper<const Function<dim>>>
-            &                     level_sets,
+                                 &level_sets,
           const BoundingBox<dim> &box);
 
         /**
@@ -1280,7 +1280,7 @@ namespace NonMatching
         /**
          * Constructor. Takes the same parameters QuadratureGenerator.
          */
-        QGenerator(const hp::QCollection<1> &      quadratures1D,
+        QGenerator(const hp::QCollection<1>       &quadratures1D,
                    const AdditionalQGeneratorData &additional_data);
 
         /**
@@ -1291,7 +1291,7 @@ namespace NonMatching
          */
         void
         generate(const std::vector<std::reference_wrapper<const Function<1>>>
-                   &                   level_sets,
+                                      &level_sets,
                  const BoundingBox<1> &box,
                  const unsigned int    n_box_splits);
 
@@ -1349,7 +1349,7 @@ namespace NonMatching
       void
       tensor_point_with_1D_quadrature(const Point<dim - 1> &point,
                                       const double          weight,
-                                      const Quadrature<1> quadrature1D,
+                                      const Quadrature<1>  &quadrature1D,
                                       const double          start,
                                       const double          end,
                                       const unsigned int    component_in_dim,
@@ -1366,7 +1366,7 @@ namespace NonMatching
       Definiteness
       pointwise_definiteness(
         const std::vector<std::reference_wrapper<const Function<dim>>>
-          &               functions,
+                         &functions,
         const Point<dim> &point);
 
 
@@ -1472,7 +1472,7 @@ namespace NonMatching
          */
         virtual void
         set_subcell(const std::vector<unsigned int> &mask,
-                    const BoundingBox<dim> &         subcell_box) = 0;
+                    const BoundingBox<dim>          &subcell_box) = 0;
 
         /**
          * Returns flag indicating if the finite element is FE_Q_iso_Q1.
index 8147b25a29de1786d1f47ef7004d248f547f97bf..3518fccd395e930ebb8064d338b389ea54bae389 100644 (file)
@@ -65,7 +65,7 @@ namespace AdaptationStrategies
     template <int dim, int spacedim, typename value_type>
     std::vector<value_type>
     preserve(const typename dealii::Triangulation<dim, spacedim>::cell_iterator
-               &              parent,
+                             &parent,
              const value_type parent_value);
 
     /**
@@ -84,7 +84,7 @@ namespace AdaptationStrategies
     template <int dim, int spacedim, typename value_type>
     std::vector<value_type>
     split(const typename dealii::Triangulation<dim, spacedim>::cell_iterator
-            &              parent,
+                          &parent,
           const value_type parent_value);
 
     /**
@@ -103,7 +103,7 @@ namespace AdaptationStrategies
     template <int dim, int spacedim, typename value_type>
     std::vector<value_type>
     l2_norm(const typename dealii::Triangulation<dim, spacedim>::cell_iterator
-              &              parent,
+                            &parent,
             const value_type parent_value);
   } // namespace Refinement
 
@@ -130,7 +130,7 @@ namespace AdaptationStrategies
     value_type
     check_equality(
       const typename dealii::Triangulation<dim, spacedim>::cell_iterator
-        &                            parent,
+                                    &parent,
       const std::vector<value_type> &children_values);
 
     /**
@@ -148,7 +148,7 @@ namespace AdaptationStrategies
     template <int dim, int spacedim, typename value_type>
     value_type
     sum(const typename dealii::Triangulation<dim, spacedim>::cell_iterator
-          &                            parent,
+                                      &parent,
         const std::vector<value_type> &children_values);
 
     /**
@@ -166,7 +166,7 @@ namespace AdaptationStrategies
     template <int dim, int spacedim, typename value_type>
     value_type
     l2_norm(const typename dealii::Triangulation<dim, spacedim>::cell_iterator
-              &                            parent,
+                                          &parent,
             const std::vector<value_type> &children_values);
 
     /**
@@ -181,7 +181,7 @@ namespace AdaptationStrategies
     template <int dim, int spacedim, typename value_type>
     value_type
     mean(const typename dealii::Triangulation<dim, spacedim>::cell_iterator
-           &                            parent,
+                                       &parent,
          const std::vector<value_type> &children_values);
 
     /**
@@ -196,7 +196,7 @@ namespace AdaptationStrategies
     template <int dim, int spacedim, typename value_type>
     value_type
     max(const typename dealii::Triangulation<dim, spacedim>::cell_iterator
-          &                            parent,
+                                      &parent,
         const std::vector<value_type> &children_values);
   } // namespace Coarsening
 } // namespace AdaptationStrategies
@@ -214,7 +214,7 @@ namespace AdaptationStrategies
     template <int dim, int spacedim, typename value_type>
     std::vector<value_type>
     preserve(const typename dealii::Triangulation<dim, spacedim>::cell_iterator
-               &              parent,
+                             &parent,
              const value_type parent_value)
     {
       Assert(parent->n_children() > 0, ExcInternalError());
@@ -226,7 +226,7 @@ namespace AdaptationStrategies
     template <int dim, int spacedim, typename value_type>
     std::vector<value_type>
     split(const typename dealii::Triangulation<dim, spacedim>::cell_iterator
-            &              parent,
+                          &parent,
           const value_type parent_value)
     {
       static_assert(std::is_arithmetic_v<value_type> &&
@@ -244,7 +244,7 @@ namespace AdaptationStrategies
     template <int dim, int spacedim, typename value_type>
     std::vector<value_type>
     l2_norm(const typename dealii::Triangulation<dim, spacedim>::cell_iterator
-              &              parent,
+                            &parent,
             const value_type parent_value)
     {
       static_assert(std::is_arithmetic_v<value_type> &&
@@ -325,7 +325,7 @@ namespace AdaptationStrategies
     template <int dim, int spacedim, typename value_type>
     value_type
     mean(const typename dealii::Triangulation<dim, spacedim>::cell_iterator
-           &                            parent,
+                                       &parent,
          const std::vector<value_type> &children_values)
     {
       return sum<dim, spacedim, value_type>(parent, children_values) /
index 60f0a95bb82fde9951521cdd8cce9874584e39da..e066f031da29590a6c2605d31e50899f8ff229f7 100644 (file)
@@ -51,7 +51,7 @@ namespace internal
 
 template <int dim, int spacedim, typename VectorType>
 CellDataTransfer<dim, spacedim, VectorType>::CellDataTransfer(
-  const Triangulation<dim, spacedim> &               triangulation,
+  const Triangulation<dim, spacedim>                &triangulation,
   const std::function<std::vector<value_type>(
     const typename Triangulation<dim, spacedim>::cell_iterator &parent,
     const value_type parent_value)>                  refinement_strategy,
@@ -138,7 +138,7 @@ CellDataTransfer<dim, spacedim, VectorType>::
 template <int dim, int spacedim, typename VectorType>
 void
 CellDataTransfer<dim, spacedim, VectorType>::unpack(const VectorType &in,
-                                                    VectorType &      out)
+                                                    VectorType       &out)
 {
 #ifdef DEBUG
   Assert(in.size() == n_active_cells_pre,
index 942d5f9987d6454118a34ea256c21e25ec417601..c9b54e453352197009bbf079b497b35d0c58d77a 100644 (file)
@@ -47,7 +47,7 @@ namespace internal
         const dealii::hp::MappingCollection<dim, spacedim> &mapping,
         const std::vector<
           std::shared_ptr<dealii::hp::FECollection<dim, spacedim>>>
-          &                                           finite_elements,
+                                                     &finite_elements,
         const UpdateFlags                             update_flags,
         const std::vector<std::vector<unsigned int>> &cell_to_patch_index_map);
 
@@ -366,7 +366,7 @@ public:
   void
   set_cell_selection(
     const std::function<cell_iterator(const Triangulation<dim, spacedim> &)>
-      &                                                        first_cell,
+                                                              &first_cell,
     const std::function<cell_iterator(const Triangulation<dim, spacedim> &,
                                       const cell_iterator &)> &next_cell);
 
index 59da95c6083aacbee0309f759fc1db0580da85fd..4cf9aea546e94774cd7288caf1c5f002d8701f15 100644 (file)
@@ -232,7 +232,7 @@ namespace internal
        * constructor assumes that no postprocessor is going to be used.
        */
       DataEntryBase(const DoFHandler<dim, spacedim> *dofs,
-                    const std::vector<std::string> names,
+                    const std::vector<std::string>  &names,
                     const std::vector<
                       DataComponentInterpretation::DataComponentInterpretation>
                       &data_component_interpretation);
@@ -242,7 +242,7 @@ namespace internal
        * case, the names and vector declarations are going to be acquired from
        * the postprocessor.
        */
-      DataEntryBase(const DoFHandler<dim, spacedim> *  dofs,
+      DataEntryBase(const DoFHandler<dim, spacedim>   *dofs,
                     const DataPostprocessor<spacedim> *data_postprocessor);
 
       /**
@@ -274,7 +274,7 @@ namespace internal
        */
       virtual void
       get_function_values(
-        const FEValuesBase<dim, spacedim> &  fe_patch_values,
+        const FEValuesBase<dim, spacedim>   &fe_patch_values,
         const ComponentExtractor             extract_component,
         std::vector<dealii::Vector<double>> &patch_values_system) const = 0;
 
@@ -286,7 +286,7 @@ namespace internal
       get_function_gradients(
         const FEValuesBase<dim, spacedim> &fe_patch_values,
         const ComponentExtractor           extract_component,
-        std::vector<Tensor<1, spacedim>> patch_gradients) const = 0;
+        std::vector<Tensor<1, spacedim>>  &patch_gradients) const = 0;
 
       /**
        * Given a FEValuesBase object, extract the gradients on the present
@@ -307,7 +307,7 @@ namespace internal
       get_function_hessians(
         const FEValuesBase<dim, spacedim> &fe_patch_values,
         const ComponentExtractor           extract_component,
-        std::vector<Tensor<2, spacedim>> patch_hessians) const = 0;
+        std::vector<Tensor<2, spacedim>>  &patch_hessians) const = 0;
 
       /**
        * Given a FEValuesBase object, extract the second derivatives on the
@@ -398,10 +398,10 @@ namespace internal
         const unsigned int               n_datasets,
         const unsigned int               n_subdivisions,
         const std::vector<unsigned int> &n_postprocessor_outputs,
-        const Mapping<dim, spacedim> &   mapping,
+        const Mapping<dim, spacedim>    &mapping,
         const std::vector<
           std::shared_ptr<dealii::hp::FECollection<dim, spacedim>>>
-          &               finite_elements,
+                         &finite_elements,
         const UpdateFlags update_flags,
         const bool        use_face_values);
 
@@ -412,7 +412,7 @@ namespace internal
         const dealii::hp::MappingCollection<dim, spacedim> &mapping,
         const std::vector<
           std::shared_ptr<dealii::hp::FECollection<dim, spacedim>>>
-          &               finite_elements,
+                         &finite_elements,
         const UpdateFlags update_flags,
         const bool        use_face_values);
 
@@ -422,7 +422,7 @@ namespace internal
       reinit_all_fe_values(
         std::vector<std::shared_ptr<DataEntryBase<dim, spacedim>>> &dof_data,
         const typename dealii::Triangulation<dim, spacedim>::cell_iterator
-          &                cell,
+                          &cell,
         const unsigned int face = numbers::invalid_unsigned_int);
 
       const FEValuesBase<dim, spacedim> &
@@ -729,7 +729,7 @@ public:
   template <typename VectorType>
   void
   add_data_vector(
-    const VectorType &              data,
+    const VectorType               &data,
     const std::vector<std::string> &names,
     const DataVectorType            type = type_automatic,
     const std::vector<DataComponentInterpretation::DataComponentInterpretation>
@@ -754,8 +754,8 @@ public:
   template <typename VectorType>
   void
   add_data_vector(
-    const VectorType &   data,
-    const std::string &  name,
+    const VectorType    &data,
+    const std::string   &name,
     const DataVectorType type = type_automatic,
     const std::vector<DataComponentInterpretation::DataComponentInterpretation>
       &data_component_interpretation = {});
@@ -779,8 +779,8 @@ public:
   void
   add_data_vector(
     const DoFHandler<dim, spacedim> &dof_handler,
-    const VectorType &               data,
-    const std::vector<std::string> names,
+    const VectorType                &data,
+    const std::vector<std::string>  &names,
     const std::vector<DataComponentInterpretation::DataComponentInterpretation>
       &data_component_interpretation = {});
 
@@ -793,8 +793,8 @@ public:
   void
   add_data_vector(
     const DoFHandler<dim, spacedim> &dof_handler,
-    const VectorType &               data,
-    const std::string &              name,
+    const VectorType                &data,
+    const std::string               &name,
     const std::vector<DataComponentInterpretation::DataComponentInterpretation>
       &data_component_interpretation = {});
 
@@ -826,7 +826,7 @@ public:
    */
   template <typename VectorType>
   void
-  add_data_vector(const VectorType &                 data,
+  add_data_vector(const VectorType                  &data,
                   const DataPostprocessor<spacedim> &data_postprocessor);
 
   /**
@@ -837,8 +837,8 @@ public:
    */
   template <typename VectorType>
   void
-  add_data_vector(const DoFHandler<dim, spacedim> &  dof_handler,
-                  const VectorType &                 data,
+  add_data_vector(const DoFHandler<dim, spacedim>   &dof_handler,
+                  const VectorType                  &data,
                   const DataPostprocessor<spacedim> &data_postprocessor);
 
   /**
@@ -863,7 +863,7 @@ public:
   add_mg_data_vector(
     const DoFHandler<dim, spacedim> &dof_handler,
     const MGLevelObject<VectorType> &data,
-    const std::vector<std::string> names,
+    const std::vector<std::string>  &names,
     const std::vector<DataComponentInterpretation::DataComponentInterpretation>
       &data_component_interpretation = std::vector<
         DataComponentInterpretation::DataComponentInterpretation>());
@@ -875,7 +875,7 @@ public:
   void
   add_mg_data_vector(const DoFHandler<dim, spacedim> &dof_handler,
                      const MGLevelObject<VectorType> &data,
-                     const std::string &              name);
+                     const std::string               &name);
 
   /**
    * Release the pointers to the data vectors. This allows output of a new set
@@ -1034,11 +1034,11 @@ private:
   void
   add_data_vector_internal(
     const DoFHandler<dim, spacedim> *dof_handler,
-    const VectorType &               data,
-    const std::vector<std::string> names,
+    const VectorType                &data,
+    const std::vector<std::string>  &names,
     const DataVectorType             type,
     const std::vector<DataComponentInterpretation::DataComponentInterpretation>
-      &        data_component_interpretation,
+              &data_component_interpretation,
     const bool deduce_output_names);
 };
 
@@ -1049,8 +1049,8 @@ template <int dim, int patch_dim, int spacedim, int patch_spacedim>
 template <typename VectorType>
 void
 DataOut_DoFData<dim, patch_dim, spacedim, patch_spacedim>::add_data_vector(
-  const VectorType &   vec,
-  const std::string &  name,
+  const VectorType    &vec,
+  const std::string   &name,
   const DataVectorType type,
   const std::vector<DataComponentInterpretation::DataComponentInterpretation>
     &data_component_interpretation)
@@ -1068,7 +1068,7 @@ template <int dim, int patch_dim, int spacedim, int patch_spacedim>
 template <typename VectorType>
 void
 DataOut_DoFData<dim, patch_dim, spacedim, patch_spacedim>::add_data_vector(
-  const VectorType &              vec,
+  const VectorType               &vec,
   const std::vector<std::string> &names,
   const DataVectorType            type,
   const std::vector<DataComponentInterpretation::DataComponentInterpretation>
@@ -1087,8 +1087,8 @@ template <typename VectorType>
 void
 DataOut_DoFData<dim, patch_dim, spacedim, patch_spacedim>::add_data_vector(
   const DoFHandler<dim, spacedim> &dof_handler,
-  const VectorType &               data,
-  const std::string &              name,
+  const VectorType                &data,
+  const std::string               &name,
   const std::vector<DataComponentInterpretation::DataComponentInterpretation>
     &data_component_interpretation)
 {
@@ -1108,8 +1108,8 @@ template <typename VectorType>
 void
 DataOut_DoFData<dim, patch_dim, spacedim, patch_spacedim>::add_data_vector(
   const DoFHandler<dim, spacedim> &dof_handler,
-  const VectorType &               data,
-  const std::vector<std::string> names,
+  const VectorType                &data,
+  const std::vector<std::string>  &names,
   const std::vector<DataComponentInterpretation::DataComponentInterpretation>
     &data_component_interpretation)
 {
@@ -1127,7 +1127,7 @@ template <int dim, int patch_dim, int spacedim, int patch_spacedim>
 template <typename VectorType>
 void
 DataOut_DoFData<dim, patch_dim, spacedim, patch_spacedim>::add_data_vector(
-  const VectorType &                 vec,
+  const VectorType                  &vec,
   const DataPostprocessor<spacedim> &data_postprocessor)
 {
   Assert(dofs != nullptr,
@@ -1142,7 +1142,7 @@ template <int dim2, int spacedim2>
 void
 DataOut_DoFData<dim, patch_dim, spacedim, patch_spacedim>::merge_patches(
   const DataOut_DoFData<dim2, patch_dim, spacedim2, patch_spacedim> &source,
-  const Point<patch_spacedim> &                                      shift)
+  const Point<patch_spacedim>                                       &shift)
 {
   const std::vector<Patch> &source_patches = source.get_patches();
   Assert((patches.size() != 0) && (source_patches.size() != 0),
index 44bcf8d2f811b25830870c0f198f468308a5ca0d..32ce2c2212331ed044531f1c42b8f5263ddba314 100644 (file)
@@ -68,11 +68,11 @@ namespace internal
     ParallelDataBase<dim, spacedim>::ParallelDataBase(
       const unsigned int                    n_datasets,
       const unsigned int                    n_subdivisions,
-      const std::vector<unsigned int> &     n_postprocessor_outputs,
+      const std::vector<unsigned int>      &n_postprocessor_outputs,
       const dealii::Mapping<dim, spacedim> &mapping,
       const std::vector<
         std::shared_ptr<dealii::hp::FECollection<dim, spacedim>>>
-        &               finite_elements,
+                       &finite_elements,
       const UpdateFlags update_flags,
       const bool        use_face_values)
       : ParallelDataBase<dim, spacedim>(
@@ -128,7 +128,7 @@ namespace internal
     generate_simplex_evaluation_points_recursively(
       const std::vector<Point<2>> &bounding_vertices,
       const unsigned int           n_subdivisions,
-      std::vector<Point<2>> &      evaluation_points)
+      std::vector<Point<2>>       &evaluation_points)
     {
       if (n_subdivisions == 0)
         {
@@ -214,7 +214,7 @@ namespace internal
       const dealii::hp::MappingCollection<dim, spacedim> &mapping_collection,
       const std::vector<
         std::shared_ptr<dealii::hp::FECollection<dim, spacedim>>>
-        &               finite_elements,
+                       &finite_elements,
       const UpdateFlags update_flags,
       const bool        use_face_values,
       std::vector<std::shared_ptr<dealii::hp::FEValues<dim, spacedim>>>
@@ -235,7 +235,7 @@ namespace internal
       // to test there if dim<3.
       static const auto has_fe_with_reference_cell =
         [](const dealii::hp::FECollection<dim, spacedim> &fe_collection,
-           const ReferenceCell &                          reference_cell) {
+           const ReferenceCell                           &reference_cell) {
           for (unsigned int i = 0; i < fe_collection.size(); ++i)
             if (fe_collection[i].reference_cell() == reference_cell)
               return true;
@@ -476,7 +476,7 @@ namespace internal
       const dealii::hp::MappingCollection<dim, spacedim> &mapping,
       const std::vector<
         std::shared_ptr<dealii::hp::FECollection<dim, spacedim>>>
-        &               finite_elements,
+                       &finite_elements,
       const UpdateFlags update_flags,
       const bool        use_face_values)
       : n_datasets(n_datasets)
@@ -640,7 +640,7 @@ namespace internal
     template <int dim, int spacedim>
     void
     append_patch_to_list(
-      const DataOutBase::Patch<dim, spacedim> &       patch,
+      const DataOutBase::Patch<dim, spacedim>        &patch,
       std::vector<DataOutBase::Patch<dim, spacedim>> &patches)
     {
       patches.push_back(patch);
@@ -722,7 +722,7 @@ namespace internal
     template <int dim, int spacedim>
     DataEntryBase<dim, spacedim>::DataEntryBase(
       const DoFHandler<dim, spacedim> *dofs,
-      const std::vector<std::string> names_in,
+      const std::vector<std::string>  &names_in,
       const std::vector<
         DataComponentInterpretation::DataComponentInterpretation>
         &data_component_interpretation)
@@ -757,7 +757,7 @@ namespace internal
 
     template <int dim, int spacedim>
     DataEntryBase<dim, spacedim>::DataEntryBase(
-      const DoFHandler<dim, spacedim> *  dofs,
+      const DoFHandler<dim, spacedim>   *dofs,
       const DataPostprocessor<spacedim> *data_postprocessor)
       : dof_handler(
           dofs,
@@ -800,7 +800,7 @@ namespace internal
       template <typename VectorType, typename Number>
       void
       copy_locally_owned_data_from(
-        const VectorType &                          src,
+        const VectorType                           &src,
         LinearAlgebra::distributed::Vector<Number> &dst)
       {
         LinearAlgebra::ReadWriteVector<typename VectorType::value_type> temp;
@@ -818,7 +818,7 @@ namespace internal
       template <typename Number>
       void
       copy_locally_owned_data_from(
-        const TrilinosWrappers::MPI::Vector &       src,
+        const TrilinosWrappers::MPI::Vector        &src,
         LinearAlgebra::distributed::Vector<Number> &dst)
       {
         // ReadWriteVector does not work for ghosted
@@ -840,8 +840,8 @@ namespace internal
                   * = nullptr>
       void
       create_dof_vector(
-        const DoFHandler<dim, spacedim> &                dof_handler,
-        const VectorType &                               src,
+        const DoFHandler<dim, spacedim>                 &dof_handler,
+        const VectorType                                &src,
         LinearAlgebra::distributed::BlockVector<Number> &dst,
         const unsigned int level = numbers::invalid_unsigned_int)
       {
@@ -908,8 +908,8 @@ namespace internal
                   * = nullptr>
       void
       create_dof_vector(
-        const DoFHandler<dim, spacedim> &                dof_handler,
-        const VectorType &                               src,
+        const DoFHandler<dim, spacedim>                 &dof_handler,
+        const VectorType                                &src,
         LinearAlgebra::distributed::BlockVector<Number> &dst,
         const unsigned int level = numbers::invalid_unsigned_int)
       {
@@ -950,7 +950,7 @@ namespace internal
                 std::enable_if_t<IsBlockVector<VectorType>::value, VectorType>
                   * = nullptr>
       void
-      create_cell_vector(const VectorType &                               src,
+      create_cell_vector(const VectorType                                &src,
                          LinearAlgebra::distributed::BlockVector<Number> &dst)
       {
         dst.reinit(src.n_blocks());
@@ -973,7 +973,7 @@ namespace internal
                 std::enable_if_t<!IsBlockVector<VectorType>::value, VectorType>
                   * = nullptr>
       void
-      create_cell_vector(const VectorType &                               src,
+      create_cell_vector(const VectorType                                &src,
                          LinearAlgebra::distributed::BlockVector<Number> &dst)
       {
         dst.reinit(1);
@@ -1004,11 +1004,11 @@ namespace internal
        */
       template <typename DataVectorType, typename VectorType>
       DataEntry(const DoFHandler<dim, spacedim> *dofs,
-                const VectorType *               data,
-                const std::vector<std::string> names,
+                const VectorType                *data,
+                const std::vector<std::string>  &names,
                 const std::vector<
                   DataComponentInterpretation::DataComponentInterpretation>
-                  &                  data_component_interpretation,
+                                    &data_component_interpretation,
                 const DataVectorType actual_type);
 
       /**
@@ -1017,8 +1017,8 @@ namespace internal
        * the postprocessor.
        */
       template <typename VectorType>
-      DataEntry(const DoFHandler<dim, spacedim> *  dofs,
-                const VectorType *                 data,
+      DataEntry(const DoFHandler<dim, spacedim>   *dofs,
+                const VectorType                  *data,
                 const DataPostprocessor<spacedim> *data_postprocessor);
 
       /**
@@ -1058,7 +1058,7 @@ namespace internal
       get_function_gradients(
         const FEValuesBase<dim, spacedim> &fe_patch_values,
         const ComponentExtractor           extract_component,
-        std::vector<Tensor<1, spacedim>> patch_gradients) const override;
+        std::vector<Tensor<1, spacedim>>  &patch_gradients) const override;
 
       /**
        * Given a FEValuesBase object, extract the gradients on the present
@@ -1079,7 +1079,7 @@ namespace internal
       get_function_hessians(
         const FEValuesBase<dim, spacedim> &fe_patch_values,
         const ComponentExtractor           extract_component,
-        std::vector<Tensor<2, spacedim>> patch_hessians) const override;
+        std::vector<Tensor<2, spacedim>>  &patch_hessians) const override;
 
       /**
        * Given a FEValuesBase object, extract the second derivatives on the
@@ -1127,11 +1127,11 @@ namespace internal
     template <typename DataVectorType, typename VectorType>
     DataEntry<dim, spacedim, ScalarType>::DataEntry(
       const DoFHandler<dim, spacedim> *dofs,
-      const VectorType *               data,
-      const std::vector<std::string> names,
+      const VectorType                *data,
+      const std::vector<std::string>  &names,
       const std::vector<
         DataComponentInterpretation::DataComponentInterpretation>
-        &                  data_component_interpretation,
+                          &data_component_interpretation,
       const DataVectorType actual_type)
       : DataEntryBase<dim, spacedim>(dofs, names, data_component_interpretation)
     {
@@ -1148,8 +1148,8 @@ namespace internal
     template <int dim, int spacedim, typename ScalarType>
     template <typename VectorType>
     DataEntry<dim, spacedim, ScalarType>::DataEntry(
-      const DoFHandler<dim, spacedim> *  dofs,
-      const VectorType *                 data,
+      const DoFHandler<dim, spacedim>   *dofs,
+      const VectorType                  *data,
       const DataPostprocessor<spacedim> *data_postprocessor)
       : DataEntryBase<dim, spacedim>(dofs, data_postprocessor)
     {
@@ -1175,7 +1175,7 @@ namespace internal
     template <int dim, int spacedim, typename ScalarType>
     void
     DataEntry<dim, spacedim, ScalarType>::get_function_values(
-      const FEValuesBase<dim, spacedim> &  fe_patch_values,
+      const FEValuesBase<dim, spacedim>   &fe_patch_values,
       const ComponentExtractor             extract_component,
       std::vector<dealii::Vector<double>> &patch_values_system) const
     {
@@ -1224,7 +1224,7 @@ namespace internal
     DataEntry<dim, spacedim, ScalarType>::get_function_values(
       const FEValuesBase<dim, spacedim> &fe_patch_values,
       const ComponentExtractor           extract_component,
-      std::vector<double> &              patch_values) const
+      std::vector<double>               &patch_values) const
     {
       if constexpr (std::is_same_v<ScalarType, double>)
         {
@@ -1251,7 +1251,7 @@ namespace internal
     template <int dim, int spacedim, typename ScalarType>
     void
     DataEntry<dim, spacedim, ScalarType>::get_function_gradients(
-      const FEValuesBase<dim, spacedim> &            fe_patch_values,
+      const FEValuesBase<dim, spacedim>             &fe_patch_values,
       const ComponentExtractor                       extract_component,
       std::vector<std::vector<Tensor<1, spacedim>>> &patch_gradients_system)
       const
@@ -1304,7 +1304,7 @@ namespace internal
     DataEntry<dim, spacedim, ScalarType>::get_function_gradients(
       const FEValuesBase<dim, spacedim> &fe_patch_values,
       const ComponentExtractor           extract_component,
-      std::vector<Tensor<1, spacedim>> patch_gradients) const
+      std::vector<Tensor<1, spacedim>>  &patch_gradients) const
     {
       if constexpr (std::is_same_v<ScalarType, double>)
         {
@@ -1332,7 +1332,7 @@ namespace internal
     template <int dim, int spacedim, typename ScalarType>
     void
     DataEntry<dim, spacedim, ScalarType>::get_function_hessians(
-      const FEValuesBase<dim, spacedim> &            fe_patch_values,
+      const FEValuesBase<dim, spacedim>             &fe_patch_values,
       const ComponentExtractor                       extract_component,
       std::vector<std::vector<Tensor<2, spacedim>>> &patch_hessians_system)
       const
@@ -1384,7 +1384,7 @@ namespace internal
     DataEntry<dim, spacedim, ScalarType>::get_function_hessians(
       const FEValuesBase<dim, spacedim> &fe_patch_values,
       const ComponentExtractor           extract_component,
-      std::vector<Tensor<2, spacedim>> patch_hessians) const
+      std::vector<Tensor<2, spacedim>>  &patch_hessians) const
     {
       if constexpr (std::is_same_v<ScalarType, double>)
         {
@@ -1451,7 +1451,7 @@ namespace internal
       template <typename VectorType>
       MGDataEntry(const DoFHandler<dim, spacedim> *dofs,
                   const MGLevelObject<VectorType> *vectors,
-                  const std::vector<std::string> names,
+                  const std::vector<std::string>  &names,
                   const std::vector<
                     DataComponentInterpretation::DataComponentInterpretation>
                     &data_component_interpretation)
@@ -1588,7 +1588,7 @@ namespace internal
       extract(const LinearAlgebra::distributed::BlockVector<ScalarType> &vector,
               const std::vector<types::global_dof_index> &indices,
               const ComponentExtractor                    extract_component,
-              std::vector<double> &                       values) const
+              std::vector<double>                        &values) const
       {
         for (unsigned int i = 0; i < values.size(); ++i)
           values[i] = get_component(vector[indices[i]], extract_component);
@@ -1617,7 +1617,7 @@ namespace internal
     MGDataEntry<dim, spacedim, ScalarType>::get_function_values(
       const FEValuesBase<dim, spacedim> &fe_patch_values,
       const ComponentExtractor           extract_component,
-      std::vector<double> &              patch_values) const
+      std::vector<double>               &patch_values) const
     {
       Assert(extract_component == ComponentExtractor::real_part,
              ExcNotImplemented());
@@ -1650,7 +1650,7 @@ namespace internal
     template <int dim, int spacedim, typename ScalarType>
     void
     MGDataEntry<dim, spacedim, ScalarType>::get_function_values(
-      const FEValuesBase<dim, spacedim> &  fe_patch_values,
+      const FEValuesBase<dim, spacedim>   &fe_patch_values,
       const ComponentExtractor             extract_component,
       std::vector<dealii::Vector<double>> &patch_values_system) const
     {
@@ -1753,8 +1753,8 @@ template <int dim, int patch_dim, int spacedim, int patch_spacedim>
 template <typename VectorType>
 void
 DataOut_DoFData<dim, patch_dim, spacedim, patch_spacedim>::add_data_vector(
-  const DoFHandler<dim, spacedim> &  dof_handler,
-  const VectorType &                 vec,
+  const DoFHandler<dim, spacedim>   &dof_handler,
+  const VectorType                  &vec,
   const DataPostprocessor<spacedim> &data_postprocessor)
 {
   // this is a specialized version of the other function where we have a
@@ -1798,11 +1798,11 @@ void
 DataOut_DoFData<dim, patch_dim, spacedim, patch_spacedim>::
   add_data_vector_internal(
     const DoFHandler<dim, spacedim> *dof_handler,
-    const VectorType &               data_vector,
-    const std::vector<std::string> names,
+    const VectorType                &data_vector,
+    const std::vector<std::string>  &names,
     const DataVectorType             type,
     const std::vector<DataComponentInterpretation::DataComponentInterpretation>
-      &        data_component_interpretation_,
+              &data_component_interpretation_,
     const bool deduce_output_names)
 {
   // Check available mesh information:
@@ -1929,7 +1929,7 @@ void
 DataOut_DoFData<dim, patch_dim, spacedim, patch_spacedim>::add_mg_data_vector(
   const DoFHandler<dim, spacedim> &dof_handler,
   const MGLevelObject<VectorType> &data,
-  const std::string &              name)
+  const std::string               &name)
 {
   // forward the call to the vector version:
   std::vector<std::string> names(1, name);
@@ -1944,7 +1944,7 @@ void
 DataOut_DoFData<dim, patch_dim, spacedim, patch_spacedim>::add_mg_data_vector(
   const DoFHandler<dim, spacedim> &dof_handler,
   const MGLevelObject<VectorType> &data,
-  const std::vector<std::string> names,
+  const std::vector<std::string>  &names,
   const std::vector<DataComponentInterpretation::DataComponentInterpretation>
     &data_component_interpretation_)
 {
index 9b9ecb8475a6666a64f52210f019fbf745ad6350..d035e911392bfde501b6e81e12b361a41337eac1 100644 (file)
@@ -43,10 +43,10 @@ namespace internal
       ParallelData(const unsigned int               n_datasets,
                    const unsigned int               n_subdivisions,
                    const std::vector<unsigned int> &n_postprocessor_outputs,
-                   const Mapping<dim, spacedim> &   mapping,
+                   const Mapping<dim, spacedim>    &mapping,
                    const std::vector<
                      std::shared_ptr<dealii::hp::FECollection<dim, spacedim>>>
-                     &               finite_elements,
+                                    &finite_elements,
                    const UpdateFlags update_flags);
 
       std::vector<Point<spacedim>> patch_evaluation_points;
@@ -240,7 +240,7 @@ private:
   build_one_patch(
     const FaceDescriptor *cell_and_face,
     internal::DataOutFacesImplementation::ParallelData<dim, spacedim> &data,
-    DataOutBase::Patch<patch_dim, patch_spacedim> &                    patch);
+    DataOutBase::Patch<patch_dim, patch_spacedim>                     &patch);
 };
 
 
index eb39c482b30dd4ba742d73e577d5d3254c54b6a2..83c2a1e9ffd56739d19d04d81c7e790dcdc7ba88 100644 (file)
@@ -67,7 +67,7 @@ public:
    * should be generated.
    */
   DataOutResample(const Triangulation<patch_dim, spacedim> &patch_tria,
-                  const Mapping<patch_dim, spacedim> &      patch_mapping);
+                  const Mapping<patch_dim, spacedim>       &patch_mapping);
 
   /**
    * Update the @p mapping of original triangulation. One needs to call this
index 7a4c5c296b9f903352efe18d40cb48a71a2b6ba8..7cc1f9eef12b84a0dc0c2a0165baa78b7a06b41b 100644 (file)
@@ -44,10 +44,10 @@ namespace internal
                    const unsigned int               n_subdivisions,
                    const unsigned int               n_patches_per_circle,
                    const std::vector<unsigned int> &n_postprocessor_outputs,
-                   const Mapping<dim, spacedim> &   mapping,
+                   const Mapping<dim, spacedim>    &mapping,
                    const std::vector<
                      std::shared_ptr<dealii::hp::FECollection<dim, spacedim>>>
-                     &               finite_elements,
+                                    &finite_elements,
                    const UpdateFlags update_flags);
 
       const unsigned int n_patches_per_circle;
@@ -197,7 +197,7 @@ private:
    */
   void
   build_one_patch(
-    const cell_iterator *                                                 cell,
+    const cell_iterator                                                  *cell,
     internal::DataOutRotationImplementation::ParallelData<dim, spacedim> &data,
     std::vector<DataOutBase::Patch<patch_dim, patch_spacedim>> &my_patches);
 };
index 23d344b34636e44b144dc9408d98db954726c790..d8a2612d3c3c006f405ead186b660c9d72bf0729 100644 (file)
@@ -240,7 +240,7 @@ public:
    */
   template <typename number>
   void
-  add_data_vector(const Vector<number> &          vec,
+  add_data_vector(const Vector<number>           &vec,
                   const std::vector<std::string> &names);
 
   /**
index a2aa74b8417b8c79ee66c6e52d855e1b9cdea003..2b154b082468f9733609b3857916ec54e0a14957 100644 (file)
@@ -177,10 +177,10 @@ namespace DerivativeApproximation
    */
   template <int dim, class InputVector, int spacedim>
   void
-  approximate_gradient(const Mapping<dim, spacedim> &   mapping,
+  approximate_gradient(const Mapping<dim, spacedim>    &mapping,
                        const DoFHandler<dim, spacedim> &dof,
-                       const InputVector &              solution,
-                       Vector<float> &                  derivative_norm,
+                       const InputVector               &solution,
+                       Vector<float>                   &derivative_norm,
                        const unsigned int               component = 0);
 
   /**
@@ -189,8 +189,8 @@ namespace DerivativeApproximation
   template <int dim, class InputVector, int spacedim>
   void
   approximate_gradient(const DoFHandler<dim, spacedim> &dof,
-                       const InputVector &              solution,
-                       Vector<float> &                  derivative_norm,
+                       const InputVector               &solution,
+                       Vector<float>                   &derivative_norm,
                        const unsigned int               component = 0);
 
   /**
@@ -212,10 +212,10 @@ namespace DerivativeApproximation
    */
   template <int dim, class InputVector, int spacedim>
   void
-  approximate_second_derivative(const Mapping<dim, spacedim> &   mapping,
+  approximate_second_derivative(const Mapping<dim, spacedim>    &mapping,
                                 const DoFHandler<dim, spacedim> &dof,
-                                const InputVector &              solution,
-                                Vector<float> &    derivative_norm,
+                                const InputVector               &solution,
+                                Vector<float>     &derivative_norm,
                                 const unsigned int component = 0);
 
   /**
@@ -224,8 +224,8 @@ namespace DerivativeApproximation
   template <int dim, class InputVector, int spacedim>
   void
   approximate_second_derivative(const DoFHandler<dim, spacedim> &dof,
-                                const InputVector &              solution,
-                                Vector<float> &    derivative_norm,
+                                const InputVector               &solution,
+                                Vector<float>     &derivative_norm,
                                 const unsigned int component = 0);
 
   /**
@@ -244,9 +244,9 @@ namespace DerivativeApproximation
   template <int dim, int spacedim, class InputVector, int order>
   void
   approximate_derivative_tensor(
-    const Mapping<dim, spacedim> &   mapping,
+    const Mapping<dim, spacedim>    &mapping,
     const DoFHandler<dim, spacedim> &dof,
-    const InputVector &              solution,
+    const InputVector               &solution,
 #ifndef _MSC_VER
     const typename DoFHandler<dim, spacedim>::active_cell_iterator &cell,
 #else
@@ -263,7 +263,7 @@ namespace DerivativeApproximation
   void
   approximate_derivative_tensor(
     const DoFHandler<dim, spacedim> &dof,
-    const InputVector &              solution,
+    const InputVector               &solution,
 #ifndef _MSC_VER
     const typename DoFHandler<dim, spacedim>::active_cell_iterator &cell,
 #else
index 8f507b815d95bd8202fd73afc010aad44b72d15e..75fb92bcd261d38e791303f1f178ea0c7b6c6b5f 100644 (file)
@@ -62,19 +62,19 @@ public:
    * One output file with the name <tt>basename.[step].[suffix]</tt> will be
    * produced for each iteration step.
    */
-  DoFPrintSolverStep(SolverControl &           control,
+  DoFPrintSolverStep(SolverControl            &control,
                      VectorMemory<VectorType> &mem,
-                     DataOut<dim> &            data_out,
-                     const std::string &       basename);
+                     DataOut<dim>             &data_out,
+                     const std::string        &basename);
 
   /**
    * Call-back function for the iterative method.
    */
   virtual void
   print_vectors(const unsigned int step,
-                const VectorType x,
-                const VectorType r,
-                const VectorType d) const;
+                const VectorType  &x,
+                const VectorType  &r,
+                const VectorType  &d) const;
 
 private:
   /**
@@ -93,10 +93,10 @@ private:
 
 template <int dim, typename SolverType, typename VectorType>
 DoFPrintSolverStep<dim, SolverType, VectorType>::DoFPrintSolverStep(
-  SolverControl &           control,
+  SolverControl            &control,
   VectorMemory<VectorType> &mem,
-  DataOut<dim> &            data_out,
-  const std::string &       basename)
+  DataOut<dim>             &data_out,
+  const std::string        &basename)
   : SolverType(control, mem)
   , out(data_out)
   , basename(basename)
@@ -107,9 +107,9 @@ template <int dim, typename SolverType, typename VectorType>
 void
 DoFPrintSolverStep<dim, SolverType, VectorType>::print_vectors(
   const unsigned int step,
-  const VectorType x,
-  const VectorType r,
-  const VectorType d) const
+  const VectorType  &x,
+  const VectorType  &r,
+  const VectorType  &d) const
 {
   out.clear_data_vectors();
   out.add_data_vector(x, "solution");
index 689ce02e5930fd603d3b1d67e552d0141dc39205..142501836c9c98cae249a0778fcd1665405bc650 100644 (file)
@@ -341,14 +341,14 @@ public:
   template <typename Number>
   static void
   estimate(
-    const Mapping<dim, spacedim> &   mapping,
+    const Mapping<dim, spacedim>    &mapping,
     const DoFHandler<dim, spacedim> &dof,
-    const Quadrature<dim - 1> &      quadrature,
+    const Quadrature<dim - 1>       &quadrature,
     const std::map<types::boundary_id, const Function<spacedim, Number> *>
-      &                       neumann_bc,
+                             &neumann_bc,
     const ReadVector<Number> &solution,
-    Vector<float> &           error,
-    const ComponentMask &     component_mask = {},
+    Vector<float>            &error,
+    const ComponentMask      &component_mask = {},
     const Function<spacedim> *coefficients   = nullptr,
     const unsigned int        n_threads      = numbers::invalid_unsigned_int,
     const types::subdomain_id subdomain_id   = numbers::invalid_subdomain_id,
@@ -363,12 +363,12 @@ public:
   static void
   estimate(
     const DoFHandler<dim, spacedim> &dof,
-    const Quadrature<dim - 1> &      quadrature,
+    const Quadrature<dim - 1>       &quadrature,
     const std::map<types::boundary_id, const Function<spacedim, Number> *>
-      &                       neumann_bc,
+                             &neumann_bc,
     const ReadVector<Number> &solution,
-    Vector<float> &           error,
-    const ComponentMask &     component_mask = {},
+    Vector<float>            &error,
+    const ComponentMask      &component_mask = {},
     const Function<spacedim> *coefficients   = nullptr,
     const unsigned int        n_threads      = numbers::invalid_unsigned_int,
     const types::subdomain_id subdomain_id   = numbers::invalid_subdomain_id,
@@ -391,15 +391,15 @@ public:
   template <typename Number>
   static void
   estimate(
-    const Mapping<dim, spacedim> &   mapping,
+    const Mapping<dim, spacedim>    &mapping,
     const DoFHandler<dim, spacedim> &dof,
-    const Quadrature<dim - 1> &      quadrature,
+    const Quadrature<dim - 1>       &quadrature,
     const std::map<types::boundary_id, const Function<spacedim, Number> *>
-      &                                          neumann_bc,
+                                                &neumann_bc,
     const ArrayView<const ReadVector<Number> *> &solutions,
-    ArrayView<Vector<float> *> &                 errors,
-    const ComponentMask &                        component_mask = {},
-    const Function<spacedim> *                   coefficients   = nullptr,
+    ArrayView<Vector<float> *>                  &errors,
+    const ComponentMask                         &component_mask = {},
+    const Function<spacedim>                    *coefficients   = nullptr,
     const unsigned int        n_threads    = numbers::invalid_unsigned_int,
     const types::subdomain_id subdomain_id = numbers::invalid_subdomain_id,
     const types::material_id  material_id  = numbers::invalid_material_id,
@@ -413,13 +413,13 @@ public:
   static void
   estimate(
     const DoFHandler<dim, spacedim> &dof,
-    const Quadrature<dim - 1> &      quadrature,
+    const Quadrature<dim - 1>       &quadrature,
     const std::map<types::boundary_id, const Function<spacedim, Number> *>
-      &                                          neumann_bc,
+                                                &neumann_bc,
     const ArrayView<const ReadVector<Number> *> &solutions,
-    ArrayView<Vector<float> *> &                 errors,
-    const ComponentMask &                        component_mask = {},
-    const Function<spacedim> *                   coefficients   = nullptr,
+    ArrayView<Vector<float> *>                  &errors,
+    const ComponentMask                         &component_mask = {},
+    const Function<spacedim>                    *coefficients   = nullptr,
     const unsigned int        n_threads    = numbers::invalid_unsigned_int,
     const types::subdomain_id subdomain_id = numbers::invalid_subdomain_id,
     const types::material_id  material_id  = numbers::invalid_material_id,
@@ -433,14 +433,14 @@ public:
   template <typename Number>
   static void
   estimate(
-    const Mapping<dim, spacedim> &   mapping,
+    const Mapping<dim, spacedim>    &mapping,
     const DoFHandler<dim, spacedim> &dof,
-    const hp::QCollection<dim - 1> quadrature,
+    const hp::QCollection<dim - 1>  &quadrature,
     const std::map<types::boundary_id, const Function<spacedim, Number> *>
-      &                       neumann_bc,
+                             &neumann_bc,
     const ReadVector<Number> &solution,
-    Vector<float> &           error,
-    const ComponentMask &     component_mask = {},
+    Vector<float>            &error,
+    const ComponentMask      &component_mask = {},
     const Function<spacedim> *coefficients   = nullptr,
     const unsigned int        n_threads      = numbers::invalid_unsigned_int,
     const types::subdomain_id subdomain_id   = numbers::invalid_subdomain_id,
@@ -456,12 +456,12 @@ public:
   static void
   estimate(
     const DoFHandler<dim, spacedim> &dof,
-    const hp::QCollection<dim - 1> quadrature,
+    const hp::QCollection<dim - 1>  &quadrature,
     const std::map<types::boundary_id, const Function<spacedim, Number> *>
-      &                       neumann_bc,
+                             &neumann_bc,
     const ReadVector<Number> &solution,
-    Vector<float> &           error,
-    const ComponentMask &     component_mask = {},
+    Vector<float>            &error,
+    const ComponentMask      &component_mask = {},
     const Function<spacedim> *coefficients   = nullptr,
     const unsigned int        n_threads      = numbers::invalid_unsigned_int,
     const types::subdomain_id subdomain_id   = numbers::invalid_subdomain_id,
@@ -476,15 +476,15 @@ public:
   template <typename Number>
   static void
   estimate(
-    const Mapping<dim, spacedim> &   mapping,
+    const Mapping<dim, spacedim>    &mapping,
     const DoFHandler<dim, spacedim> &dof,
-    const hp::QCollection<dim - 1> quadrature,
+    const hp::QCollection<dim - 1>  &quadrature,
     const std::map<types::boundary_id, const Function<spacedim, Number> *>
-      &                                          neumann_bc,
+                                                &neumann_bc,
     const ArrayView<const ReadVector<Number> *> &solutions,
-    ArrayView<Vector<float> *> &                 errors,
-    const ComponentMask &                        component_mask = {},
-    const Function<spacedim> *                   coefficients   = nullptr,
+    ArrayView<Vector<float> *>                  &errors,
+    const ComponentMask                         &component_mask = {},
+    const Function<spacedim>                    *coefficients   = nullptr,
     const unsigned int        n_threads    = numbers::invalid_unsigned_int,
     const types::subdomain_id subdomain_id = numbers::invalid_subdomain_id,
     const types::material_id  material_id  = numbers::invalid_material_id,
@@ -499,13 +499,13 @@ public:
   static void
   estimate(
     const DoFHandler<dim, spacedim> &dof,
-    const hp::QCollection<dim - 1> quadrature,
+    const hp::QCollection<dim - 1>  &quadrature,
     const std::map<types::boundary_id, const Function<spacedim, Number> *>
-      &                                          neumann_bc,
+                                                &neumann_bc,
     const ArrayView<const ReadVector<Number> *> &solutions,
-    ArrayView<Vector<float> *> &                 errors,
-    const ComponentMask &                        component_mask = {},
-    const Function<spacedim> *                   coefficients   = nullptr,
+    ArrayView<Vector<float> *>                  &errors,
+    const ComponentMask                         &component_mask = {},
+    const Function<spacedim>                    *coefficients   = nullptr,
     const unsigned int        n_threads    = numbers::invalid_unsigned_int,
     const types::subdomain_id subdomain_id = numbers::invalid_subdomain_id,
     const types::material_id  material_id  = numbers::invalid_material_id,
@@ -621,14 +621,14 @@ public:
   template <typename Number>
   static void
   estimate(
-    const Mapping<1, spacedim> &   mapping,
+    const Mapping<1, spacedim>    &mapping,
     const DoFHandler<1, spacedim> &dof,
-    const Quadrature<0> &          quadrature,
+    const Quadrature<0>           &quadrature,
     const std::map<types::boundary_id, const Function<spacedim, Number> *>
-      &                       neumann_bc,
+                             &neumann_bc,
     const ReadVector<Number> &solution,
-    Vector<float> &           error,
-    const ComponentMask &     component_mask = {},
+    Vector<float>            &error,
+    const ComponentMask      &component_mask = {},
     const Function<spacedim> *coefficient    = nullptr,
     const unsigned int        n_threads      = numbers::invalid_unsigned_int,
     const types::subdomain_id subdomain_id   = numbers::invalid_subdomain_id,
@@ -645,12 +645,12 @@ public:
   static void
   estimate(
     const DoFHandler<1, spacedim> &dof,
-    const Quadrature<0> &          quadrature,
+    const Quadrature<0>           &quadrature,
     const std::map<types::boundary_id, const Function<spacedim, Number> *>
-      &                       neumann_bc,
+                             &neumann_bc,
     const ReadVector<Number> &solution,
-    Vector<float> &           error,
-    const ComponentMask &     component_mask = {},
+    Vector<float>            &error,
+    const ComponentMask      &component_mask = {},
     const Function<spacedim> *coefficients   = nullptr,
     const unsigned int        n_threads      = numbers::invalid_unsigned_int,
     const types::subdomain_id subdomain_id   = numbers::invalid_subdomain_id,
@@ -675,15 +675,15 @@ public:
   template <typename Number>
   static void
   estimate(
-    const Mapping<1, spacedim> &   mapping,
+    const Mapping<1, spacedim>    &mapping,
     const DoFHandler<1, spacedim> &dof,
-    const Quadrature<0> &          quadrature,
+    const Quadrature<0>           &quadrature,
     const std::map<types::boundary_id, const Function<spacedim, Number> *>
-      &                                          neumann_bc,
+                                                &neumann_bc,
     const ArrayView<const ReadVector<Number> *> &solutions,
-    ArrayView<Vector<float> *> &                 errors,
-    const ComponentMask &                        component_mask = {},
-    const Function<spacedim> *                   coefficients   = nullptr,
+    ArrayView<Vector<float> *>                  &errors,
+    const ComponentMask                         &component_mask = {},
+    const Function<spacedim>                    *coefficients   = nullptr,
     const unsigned int        n_threads    = numbers::invalid_unsigned_int,
     const types::subdomain_id subdomain_id = numbers::invalid_subdomain_id,
     const types::material_id  material_id  = numbers::invalid_material_id,
@@ -699,13 +699,13 @@ public:
   static void
   estimate(
     const DoFHandler<1, spacedim> &dof,
-    const Quadrature<0> &          quadrature,
+    const Quadrature<0>           &quadrature,
     const std::map<types::boundary_id, const Function<spacedim, Number> *>
-      &                                          neumann_bc,
+                                                &neumann_bc,
     const ArrayView<const ReadVector<Number> *> &solutions,
-    ArrayView<Vector<float> *> &                 errors,
-    const ComponentMask &                        component_mask = {},
-    const Function<spacedim> *                   coefficients   = nullptr,
+    ArrayView<Vector<float> *>                  &errors,
+    const ComponentMask                         &component_mask = {},
+    const Function<spacedim>                    *coefficients   = nullptr,
     const unsigned int        n_threads    = numbers::invalid_unsigned_int,
     const types::subdomain_id subdomain_id = numbers::invalid_subdomain_id,
     const types::material_id  material_id  = numbers::invalid_material_id,
@@ -720,14 +720,14 @@ public:
   template <typename Number>
   static void
   estimate(
-    const Mapping<1, spacedim> &   mapping,
+    const Mapping<1, spacedim>    &mapping,
     const DoFHandler<1, spacedim> &dof,
-    const hp::QCollection<0> &     quadrature,
+    const hp::QCollection<0>      &quadrature,
     const std::map<types::boundary_id, const Function<spacedim, Number> *>
-      &                       neumann_bc,
+                             &neumann_bc,
     const ReadVector<Number> &solution,
-    Vector<float> &           error,
-    const ComponentMask &     component_mask = {},
+    Vector<float>            &error,
+    const ComponentMask      &component_mask = {},
     const Function<spacedim> *coefficients   = nullptr,
     const unsigned int        n_threads      = numbers::invalid_unsigned_int,
     const types::subdomain_id subdomain_id   = numbers::invalid_subdomain_id,
@@ -744,12 +744,12 @@ public:
   static void
   estimate(
     const DoFHandler<1, spacedim> &dof,
-    const hp::QCollection<0> &     quadrature,
+    const hp::QCollection<0>      &quadrature,
     const std::map<types::boundary_id, const Function<spacedim, Number> *>
-      &                       neumann_bc,
+                             &neumann_bc,
     const ReadVector<Number> &solution,
-    Vector<float> &           error,
-    const ComponentMask &     component_mask = {},
+    Vector<float>            &error,
+    const ComponentMask      &component_mask = {},
     const Function<spacedim> *coefficients   = nullptr,
     const unsigned int        n_threads      = numbers::invalid_unsigned_int,
     const types::subdomain_id subdomain_id   = numbers::invalid_subdomain_id,
@@ -765,15 +765,15 @@ public:
   template <typename Number>
   static void
   estimate(
-    const Mapping<1, spacedim> &   mapping,
+    const Mapping<1, spacedim>    &mapping,
     const DoFHandler<1, spacedim> &dof,
-    const hp::QCollection<0> &     quadrature,
+    const hp::QCollection<0>      &quadrature,
     const std::map<types::boundary_id, const Function<spacedim, Number> *>
-      &                                          neumann_bc,
+                                                &neumann_bc,
     const ArrayView<const ReadVector<Number> *> &solutions,
-    ArrayView<Vector<float> *> &                 errors,
-    const ComponentMask &                        component_mask = {},
-    const Function<spacedim> *                   coefficients   = nullptr,
+    ArrayView<Vector<float> *>                  &errors,
+    const ComponentMask                         &component_mask = {},
+    const Function<spacedim>                    *coefficients   = nullptr,
     const unsigned int        n_threads    = numbers::invalid_unsigned_int,
     const types::subdomain_id subdomain_id = numbers::invalid_subdomain_id,
     const types::material_id  material_id  = numbers::invalid_material_id,
@@ -789,13 +789,13 @@ public:
   static void
   estimate(
     const DoFHandler<1, spacedim> &dof,
-    const hp::QCollection<0> &     quadrature,
+    const hp::QCollection<0>      &quadrature,
     const std::map<types::boundary_id, const Function<spacedim, Number> *>
-      &                                          neumann_bc,
+                                                &neumann_bc,
     const ArrayView<const ReadVector<Number> *> &solutions,
-    ArrayView<Vector<float> *> &                 errors,
-    const ComponentMask &                        component_mask = {},
-    const Function<spacedim> *                   coefficients   = nullptr,
+    ArrayView<Vector<float> *>                  &errors,
+    const ComponentMask                         &component_mask = {},
+    const Function<spacedim>                    *coefficients   = nullptr,
     const unsigned int        n_threads    = numbers::invalid_unsigned_int,
     const types::subdomain_id subdomain_id = numbers::invalid_subdomain_id,
     const types::material_id  material_id  = numbers::invalid_material_id,
index 2b5e66c5001fef4a931e20c617b3b9f9ecc452ec..0f0fdaeebbdbc6c3c66d454333809690740c1317 100644 (file)
@@ -172,7 +172,7 @@ namespace internal
      * KellyErrorEstimator::estimate() function.
      */
     const std::map<types::boundary_id, const Function<spacedim, number> *>
-      *                       neumann_bc;
+                             *neumann_bc;
     const ComponentMask       component_mask;
     const Function<spacedim> *coefficients;
 
@@ -180,7 +180,7 @@ namespace internal
      * Constructor.
      */
     template <class FE>
-    ParallelData(const FE &                              fe,
+    ParallelData(const FE                               &fe,
                  const dealii::hp::QCollection<dim - 1> &face_quadratures,
                  const dealii::hp::MappingCollection<dim, spacedim> &mapping,
                  const bool                need_quadrature_points,
@@ -189,7 +189,7 @@ namespace internal
                  const types::material_id  material_id,
                  const std::map<types::boundary_id,
                                 const Function<spacedim, number> *> *neumann_bc,
-                 const ComponentMask &     component_mask,
+                 const ComponentMask      &component_mask,
                  const Function<spacedim> *coefficients);
 
     /**
@@ -205,16 +205,16 @@ namespace internal
   template <int dim, int spacedim, typename number>
   template <class FE>
   ParallelData<dim, spacedim, number>::ParallelData(
-    const FE &                                          fe,
-    const dealii::hp::QCollection<dim - 1> &            face_quadratures,
+    const FE                                           &fe,
+    const dealii::hp::QCollection<dim - 1>             &face_quadratures,
     const dealii::hp::MappingCollection<dim, spacedim> &mapping,
     const bool                                          need_quadrature_points,
     const unsigned int                                  n_solution_vectors,
     const types::subdomain_id                           subdomain_id,
     const types::material_id                            material_id,
     const std::map<types::boundary_id, const Function<spacedim, number> *>
-      *                       neumann_bc,
-    const ComponentMask &     component_mask,
+                             *neumann_bc,
+    const ComponentMask      &component_mask,
     const Function<spacedim> *coefficients)
     : finite_element(fe)
     , face_quadratures(face_quadratures)
@@ -306,7 +306,7 @@ namespace internal
     const std::map<typename DoFHandler<dim, spacedim>::face_iterator,
                    std::vector<double>> &local_face_integrals,
     std::map<typename DoFHandler<dim, spacedim>::face_iterator,
-             std::vector<double>> &      face_integrals)
+             std::vector<double>>       &face_integrals)
   {
     // now copy locally computed elements into the global map
     for (typename std::map<typename DoFHandler<dim, spacedim>::face_iterator,
@@ -338,7 +338,7 @@ namespace internal
   template <int dim, int spacedim, typename number>
   std::vector<double>
   integrate_over_face(
-    ParallelData<dim, spacedim, number> &                    parallel_data,
+    ParallelData<dim, spacedim, number>                     &parallel_data,
     const typename DoFHandler<dim, spacedim>::face_iterator &face,
     dealii::hp::FEFaceValues<dim, spacedim> &fe_face_values_cell)
   {
@@ -570,11 +570,11 @@ namespace internal
   irregular_face_factor(
     const typename DoFHandler<dim, spacedim>::active_cell_iterator &cell,
     const typename DoFHandler<dim, spacedim>::active_cell_iterator
-      &                                            neighbor_child,
+                                                  &neighbor_child,
     const unsigned int                             face_no,
     const unsigned int                             subface_no,
     const dealii::hp::FEFaceValues<dim, spacedim> &fe_face_values,
-    dealii::hp::FESubfaceValues<dim, spacedim> &   fe_subface_values,
+    dealii::hp::FESubfaceValues<dim, spacedim>    &fe_subface_values,
     const typename KellyErrorEstimator<dim, spacedim>::Strategy strategy)
   {
     switch (strategy)
@@ -655,9 +655,9 @@ namespace internal
   void
   integrate_over_regular_face(
     const ArrayView<const ReadVector<Number> *> &solutions,
-    ParallelData<dim, spacedim, Number> &        parallel_data,
+    ParallelData<dim, spacedim, Number>         &parallel_data,
     std::map<typename DoFHandler<dim, spacedim>::face_iterator,
-             std::vector<double>> &              local_face_integrals,
+             std::vector<double>>               &local_face_integrals,
     const typename DoFHandler<dim, spacedim>::active_cell_iterator &cell,
     const unsigned int                                              face_no,
     dealii::hp::FEFaceValues<dim, spacedim> &fe_face_values_cell,
@@ -748,12 +748,12 @@ namespace internal
   void
   integrate_over_irregular_face(
     const ArrayView<const ReadVector<Number> *> &solutions,
-    ParallelData<dim, spacedim, Number> &        parallel_data,
+    ParallelData<dim, spacedim, Number>         &parallel_data,
     std::map<typename DoFHandler<dim, spacedim>::face_iterator,
-             std::vector<double>> &              local_face_integrals,
+             std::vector<double>>               &local_face_integrals,
     const typename DoFHandler<dim, spacedim>::active_cell_iterator &cell,
     const unsigned int                                              face_no,
-    dealii::hp::FEFaceValues<dim, spacedim> &   fe_face_values,
+    dealii::hp::FEFaceValues<dim, spacedim>    &fe_face_values,
     dealii::hp::FESubfaceValues<dim, spacedim> &fe_subface_values,
     const typename KellyErrorEstimator<dim, spacedim>::Strategy strategy)
   {
@@ -862,9 +862,9 @@ namespace internal
   void
   estimate_one_cell(
     const typename DoFHandler<dim, spacedim>::active_cell_iterator &cell,
-    ParallelData<dim, spacedim, Number> &        parallel_data,
+    ParallelData<dim, spacedim, Number>         &parallel_data,
     std::map<typename DoFHandler<dim, spacedim>::face_iterator,
-             std::vector<double>> &              local_face_integrals,
+             std::vector<double>>               &local_face_integrals,
     const ArrayView<const ReadVector<Number> *> &solutions,
     const typename KellyErrorEstimator<dim, spacedim>::Strategy strategy)
   {
@@ -1000,14 +1000,14 @@ template <int dim, int spacedim>
 template <typename Number>
 void
 KellyErrorEstimator<dim, spacedim>::estimate(
-  const Mapping<dim, spacedim> &   mapping,
+  const Mapping<dim, spacedim>    &mapping,
   const DoFHandler<dim, spacedim> &dof_handler,
-  const Quadrature<dim - 1> &      quadrature,
+  const Quadrature<dim - 1>       &quadrature,
   const std::map<types::boundary_id, const Function<spacedim, Number> *>
-    &                       neumann_bc,
+                           &neumann_bc,
   const ReadVector<Number> &solution,
-  Vector<float> &           error,
-  const ComponentMask &     component_mask,
+  Vector<float>            &error,
+  const ComponentMask      &component_mask,
   const Function<spacedim> *coefficients,
   const unsigned int        n_threads,
   const types::subdomain_id subdomain_id,
@@ -1038,12 +1038,12 @@ template <typename Number>
 void
 KellyErrorEstimator<dim, spacedim>::estimate(
   const DoFHandler<dim, spacedim> &dof_handler,
-  const Quadrature<dim - 1> &      quadrature,
+  const Quadrature<dim - 1>       &quadrature,
   const std::map<types::boundary_id, const Function<spacedim, Number> *>
-    &                       neumann_bc,
+                           &neumann_bc,
   const ReadVector<Number> &solution,
-  Vector<float> &           error,
-  const ComponentMask &     component_mask,
+  Vector<float>            &error,
+  const ComponentMask      &component_mask,
   const Function<spacedim> *coefficients,
   const unsigned int        n_threads,
   const types::subdomain_id subdomain_id,
@@ -1069,14 +1069,14 @@ template <int dim, int spacedim>
 template <typename Number>
 void
 KellyErrorEstimator<dim, spacedim>::estimate(
-  const Mapping<dim, spacedim> &   mapping,
+  const Mapping<dim, spacedim>    &mapping,
   const DoFHandler<dim, spacedim> &dof_handler,
-  const hp::QCollection<dim - 1> quadrature,
+  const hp::QCollection<dim - 1>  &quadrature,
   const std::map<types::boundary_id, const Function<spacedim, Number> *>
-    &                       neumann_bc,
+                           &neumann_bc,
   const ReadVector<Number> &solution,
-  Vector<float> &           error,
-  const ComponentMask &     component_mask,
+  Vector<float>            &error,
+  const ComponentMask      &component_mask,
   const Function<spacedim> *coefficients,
   const unsigned int        n_threads,
   const types::subdomain_id subdomain_id,
@@ -1107,12 +1107,12 @@ template <typename Number>
 void
 KellyErrorEstimator<dim, spacedim>::estimate(
   const DoFHandler<dim, spacedim> &dof_handler,
-  const hp::QCollection<dim - 1> quadrature,
+  const hp::QCollection<dim - 1>  &quadrature,
   const std::map<types::boundary_id, const Function<spacedim, Number> *>
-    &                       neumann_bc,
+                           &neumann_bc,
   const ReadVector<Number> &solution,
-  Vector<float> &           error,
-  const ComponentMask &     component_mask,
+  Vector<float>            &error,
+  const ComponentMask      &component_mask,
   const Function<spacedim> *coefficients,
   const unsigned int        n_threads,
   const types::subdomain_id subdomain_id,
@@ -1139,15 +1139,15 @@ template <int dim, int spacedim>
 template <typename Number>
 void
 KellyErrorEstimator<dim, spacedim>::estimate(
-  const Mapping<dim, spacedim> &   mapping,
+  const Mapping<dim, spacedim>    &mapping,
   const DoFHandler<dim, spacedim> &dof_handler,
-  const hp::QCollection<dim - 1> face_quadratures,
+  const hp::QCollection<dim - 1>  &face_quadratures,
   const std::map<types::boundary_id, const Function<spacedim, Number> *>
-    &                                          neumann_bc,
+                                              &neumann_bc,
   const ArrayView<const ReadVector<Number> *> &solutions,
-  ArrayView<Vector<float> *> &                 errors,
-  const ComponentMask &                        component_mask,
-  const Function<spacedim> *                   coefficients,
+  ArrayView<Vector<float> *>                  &errors,
+  const ComponentMask                         &component_mask,
+  const Function<spacedim>                    *coefficients,
   const unsigned int,
   const types::subdomain_id subdomain_id_,
   const types::material_id  material_id,
@@ -1239,7 +1239,7 @@ KellyErrorEstimator<dim, spacedim>::estimate(
       const typename DoFHandler<dim, spacedim>::active_cell_iterator &cell,
       internal::ParallelData<dim, spacedim, Number> &parallel_data,
       std::map<typename DoFHandler<dim, spacedim>::face_iterator,
-               std::vector<double>> &                local_face_integrals) {
+               std::vector<double>>                 &local_face_integrals) {
       internal::estimate_one_cell(
         cell, parallel_data, local_face_integrals, solutions, strategy);
     },
@@ -1306,15 +1306,15 @@ template <int dim, int spacedim>
 template <typename Number>
 void
 KellyErrorEstimator<dim, spacedim>::estimate(
-  const Mapping<dim, spacedim> &   mapping,
+  const Mapping<dim, spacedim>    &mapping,
   const DoFHandler<dim, spacedim> &dof_handler,
-  const Quadrature<dim - 1> &      quadrature,
+  const Quadrature<dim - 1>       &quadrature,
   const std::map<types::boundary_id, const Function<spacedim, Number> *>
-    &                                          neumann_bc,
+                                              &neumann_bc,
   const ArrayView<const ReadVector<Number> *> &solutions,
-  ArrayView<Vector<float> *> &                 errors,
-  const ComponentMask &                        component_mask,
-  const Function<spacedim> *                   coefficients,
+  ArrayView<Vector<float> *>                  &errors,
+  const ComponentMask                         &component_mask,
+  const Function<spacedim>                    *coefficients,
   const unsigned int                           n_threads,
   const types::subdomain_id                    subdomain_id,
   const types::material_id                     material_id,
@@ -1341,13 +1341,13 @@ template <typename Number>
 void
 KellyErrorEstimator<dim, spacedim>::estimate(
   const DoFHandler<dim, spacedim> &dof_handler,
-  const Quadrature<dim - 1> &      quadrature,
+  const Quadrature<dim - 1>       &quadrature,
   const std::map<types::boundary_id, const Function<spacedim, Number> *>
-    &                                          neumann_bc,
+                                              &neumann_bc,
   const ArrayView<const ReadVector<Number> *> &solutions,
-  ArrayView<Vector<float> *> &                 errors,
-  const ComponentMask &                        component_mask,
-  const Function<spacedim> *                   coefficients,
+  ArrayView<Vector<float> *>                  &errors,
+  const ComponentMask                         &component_mask,
+  const Function<spacedim>                    *coefficients,
   const unsigned int                           n_threads,
   const types::subdomain_id                    subdomain_id,
   const types::material_id                     material_id,
@@ -1374,13 +1374,13 @@ template <typename Number>
 void
 KellyErrorEstimator<dim, spacedim>::estimate(
   const DoFHandler<dim, spacedim> &dof_handler,
-  const hp::QCollection<dim - 1> quadrature,
+  const hp::QCollection<dim - 1>  &quadrature,
   const std::map<types::boundary_id, const Function<spacedim, Number> *>
-    &                                          neumann_bc,
+                                              &neumann_bc,
   const ArrayView<const ReadVector<Number> *> &solutions,
-  ArrayView<Vector<float> *> &                 errors,
-  const ComponentMask &                        component_mask,
-  const Function<spacedim> *                   coefficients,
+  ArrayView<Vector<float> *>                  &errors,
+  const ComponentMask                         &component_mask,
+  const Function<spacedim>                    *coefficients,
   const unsigned int                           n_threads,
   const types::subdomain_id                    subdomain_id,
   const types::material_id                     material_id,
index 2b0922cdaaed6e1382af2ec7a6c6f7ddefab66cd..ac83d84f72a5ea3c61863661da8e1d9eaa34b3ce 100644 (file)
@@ -178,8 +178,8 @@ namespace Functions
      */
     FEFieldFunction(
       const DoFHandler<dim, spacedim> &dh,
-      const VectorType &               data_vector,
-      const Mapping<dim> &             mapping = StaticMappingQ1<dim>::mapping);
+      const VectorType                &data_vector,
+      const Mapping<dim>              &mapping = StaticMappingQ1<dim>::mapping);
 
     /**
      * Set the current cell. If you know in advance where your points lie, you
@@ -207,7 +207,7 @@ namespace Functions
      */
     virtual void
     vector_value(
-      const Point<dim> &                       p,
+      const Point<dim>                        &p,
       Vector<typename VectorType::value_type> &values) const override;
 
     /**
@@ -246,7 +246,7 @@ namespace Functions
      * information.
      */
     virtual void
-    value_list(const std::vector<Point<dim>> &               points,
+    value_list(const std::vector<Point<dim>>                &points,
                std::vector<typename VectorType::value_type> &values,
                const unsigned int component = 0) const override;
 
@@ -307,7 +307,7 @@ namespace Functions
      * information.
      */
     virtual Tensor<1, dim, typename VectorType::value_type>
-    gradient(const Point<dim> p,
+    gradient(const Point<dim>  &p,
              const unsigned int component = 0) const override;
 
     /**
@@ -344,7 +344,7 @@ namespace Functions
      */
     virtual void
     gradient_list(
-      const std::vector<Point<dim>> &                               p,
+      const std::vector<Point<dim>>                                &p,
       std::vector<Tensor<1, dim, typename VectorType::value_type>> &gradients,
       const unsigned int component = 0) const override;
 
@@ -361,7 +361,7 @@ namespace Functions
      * information.
      */
     virtual typename VectorType::value_type
-    laplacian(const Point<dim> p,
+    laplacian(const Point<dim>  &p,
               const unsigned int component = 0) const override;
 
     /**
@@ -378,7 +378,7 @@ namespace Functions
      */
     virtual void
     vector_laplacian(
-      const Point<dim> &                       p,
+      const Point<dim>                        &p,
       Vector<typename VectorType::value_type> &values) const override;
 
     /**
@@ -393,7 +393,7 @@ namespace Functions
      * information.
      */
     virtual void
-    laplacian_list(const std::vector<Point<dim>> &               points,
+    laplacian_list(const std::vector<Point<dim>>                &points,
                    std::vector<typename VectorType::value_type> &values,
                    const unsigned int component = 0) const override;
 
@@ -439,8 +439,8 @@ namespace Functions
     compute_point_locations(
       const std::vector<Point<dim>> &points,
       std::vector<typename DoFHandler<dim, spacedim>::active_cell_iterator>
-        &                                     cells,
-      std::vector<std::vector<Point<dim>>> &  qpoints,
+                                             &cells,
+      std::vector<std::vector<Point<dim>>>   &qpoints,
       std::vector<std::vector<unsigned int>> &maps) const;
 
   private:
index edee5b5eda40d630cd70a2e7fbe7554fd6d4775f..d98a6db2ea1aea61e232dabc12e27430236e958b 100644 (file)
@@ -45,8 +45,8 @@ namespace Functions
   template <int dim, typename VectorType, int spacedim>
   FEFieldFunction<dim, VectorType, spacedim>::FEFieldFunction(
     const DoFHandler<dim, spacedim> &mydh,
-    const VectorType &               myv,
-    const Mapping<dim> &             mymapping)
+    const VectorType                &myv,
+    const Mapping<dim>              &mymapping)
     : Function<dim, typename VectorType::value_type>(
         mydh.get_fe(0).n_components())
     , dh(&mydh, "FEFieldFunction")
@@ -71,7 +71,7 @@ namespace Functions
   template <int dim, typename VectorType, int spacedim>
   void
   FEFieldFunction<dim, VectorType, spacedim>::vector_value(
-    const Point<dim> &                       p,
+    const Point<dim>                        &p,
     Vector<typename VectorType::value_type> &values) const
   {
     Assert(values.size() == this->n_components,
@@ -118,7 +118,7 @@ namespace Functions
   template <int dim, typename VectorType, int spacedim>
   typename VectorType::value_type
   FEFieldFunction<dim, VectorType, spacedim>::value(
-    const Point<dim> p,
+    const Point<dim>  &p,
     const unsigned int comp) const
   {
     Vector<typename VectorType::value_type> values(this->n_components);
@@ -131,7 +131,7 @@ namespace Functions
   template <int dim, typename VectorType, int spacedim>
   void
   FEFieldFunction<dim, VectorType, spacedim>::vector_gradient(
-    const Point<dim> &                                            p,
+    const Point<dim>                                             &p,
     std::vector<Tensor<1, dim, typename VectorType::value_type>> &gradients)
     const
   {
@@ -195,7 +195,7 @@ namespace Functions
   template <int dim, typename VectorType, int spacedim>
   Tensor<1, dim, typename VectorType::value_type>
   FEFieldFunction<dim, VectorType, spacedim>::gradient(
-    const Point<dim> p,
+    const Point<dim>  &p,
     const unsigned int comp) const
   {
     std::vector<Tensor<1, dim, typename VectorType::value_type>> grads(
@@ -209,7 +209,7 @@ namespace Functions
   template <int dim, typename VectorType, int spacedim>
   void
   FEFieldFunction<dim, VectorType, spacedim>::vector_laplacian(
-    const Point<dim> &                       p,
+    const Point<dim>                        &p,
     Vector<typename VectorType::value_type> &values) const
   {
     Assert(values.size() == this->n_components,
@@ -256,7 +256,7 @@ namespace Functions
   template <int dim, typename VectorType, int spacedim>
   typename VectorType::value_type
   FEFieldFunction<dim, VectorType, spacedim>::laplacian(
-    const Point<dim> p,
+    const Point<dim>  &p,
     const unsigned int comp) const
   {
     Vector<typename VectorType::value_type> lap(this->n_components);
@@ -271,7 +271,7 @@ namespace Functions
   template <int dim, typename VectorType, int spacedim>
   void
   FEFieldFunction<dim, VectorType, spacedim>::vector_value_list(
-    const std::vector<Point<dim>> &                       points,
+    const std::vector<Point<dim>>                        &points,
     std::vector<Vector<typename VectorType::value_type>> &values) const
   {
     Assert(points.size() == values.size(),
@@ -324,7 +324,7 @@ namespace Functions
   template <int dim, typename VectorType, int spacedim>
   void
   FEFieldFunction<dim, VectorType, spacedim>::value_list(
-    const std::vector<Point<dim>> &               points,
+    const std::vector<Point<dim>>                &points,
     std::vector<typename VectorType::value_type> &values,
     const unsigned int                            component) const
   {
@@ -413,7 +413,7 @@ namespace Functions
   template <int dim, typename VectorType, int spacedim>
   void
   FEFieldFunction<dim, VectorType, spacedim>::gradient_list(
-    const std::vector<Point<dim>> &                               points,
+    const std::vector<Point<dim>>                                &points,
     std::vector<Tensor<1, dim, typename VectorType::value_type>> &values,
     const unsigned int component) const
   {
@@ -440,7 +440,7 @@ namespace Functions
   template <int dim, typename VectorType, int spacedim>
   void
   FEFieldFunction<dim, VectorType, spacedim>::vector_laplacian_list(
-    const std::vector<Point<dim>> &                       points,
+    const std::vector<Point<dim>>                        &points,
     std::vector<Vector<typename VectorType::value_type>> &values) const
   {
     Assert(points.size() == values.size(),
@@ -495,7 +495,7 @@ namespace Functions
   template <int dim, typename VectorType, int spacedim>
   void
   FEFieldFunction<dim, VectorType, spacedim>::laplacian_list(
-    const std::vector<Point<dim>> &               points,
+    const std::vector<Point<dim>>                &points,
     std::vector<typename VectorType::value_type> &values,
     const unsigned int                            component) const
   {
@@ -523,8 +523,8 @@ namespace Functions
   FEFieldFunction<dim, VectorType, spacedim>::compute_point_locations(
     const std::vector<Point<dim>> &points,
     std::vector<typename DoFHandler<dim, spacedim>::active_cell_iterator>
-      &                                     cells,
-    std::vector<std::vector<Point<dim>>> &  qpoints,
+                                           &cells,
+    std::vector<std::vector<Point<dim>>>   &qpoints,
     std::vector<std::vector<unsigned int>> &maps) const
   {
     // Calling the GridTools routine and preparing output
@@ -551,7 +551,7 @@ namespace Functions
   std::optional<Point<dim>>
   FEFieldFunction<dim, VectorType, spacedim>::get_reference_coordinates(
     const typename DoFHandler<dim, spacedim>::active_cell_iterator &cell,
-    const Point<dim> &                                              point) const
+    const Point<dim>                                               &point) const
   {
     try
       {
index 22d3896920a52985a9a0f125dd52695ec2866838..39c60dd12465336eaa93d25e54a525e37efd5a17 100644 (file)
@@ -113,7 +113,7 @@ public:
   template <typename number>
   void
   evaluate(const std::vector<Vector<number>> &values,
-           const std::vector<double> &        y_values,
+           const std::vector<double>         &y_values,
            const unsigned int                 n_intervals,
            const IntervalSpacing              interval_spacing = linear);
 
index 88f9d97d168c3b6d0daaee53dcacd24a51568602..3ce499be1f9d8753e6cfeaa3413b6a17d867a3d0 100644 (file)
@@ -217,10 +217,10 @@ namespace MatrixCreator
   template <int dim, int spacedim, typename SparseMatrixType>
   void
   create_mass_matrix(
-    const Mapping<dim, spacedim> &   mapping,
+    const Mapping<dim, spacedim>    &mapping,
     const DoFHandler<dim, spacedim> &dof,
-    const Quadrature<dim> &          q,
-    SparseMatrixType &               matrix,
+    const Quadrature<dim>           &q,
+    SparseMatrixType                &matrix,
     const Function<spacedim, typename SparseMatrixType::value_type> *const a =
       nullptr,
     const AffineConstraints<typename SparseMatrixType::value_type> &
@@ -234,8 +234,8 @@ namespace MatrixCreator
   void
   create_mass_matrix(
     const DoFHandler<dim, spacedim> &dof,
-    const Quadrature<dim> &          q,
-    SparseMatrixType &               matrix,
+    const Quadrature<dim>           &q,
+    SparseMatrixType                &matrix,
     const Function<spacedim, typename SparseMatrixType::value_type> *const a =
       nullptr,
     const AffineConstraints<typename SparseMatrixType::value_type> &
@@ -263,12 +263,12 @@ namespace MatrixCreator
   template <int dim, int spacedim, typename SparseMatrixType>
   void
   create_mass_matrix(
-    const Mapping<dim, spacedim> &                                   mapping,
-    const DoFHandler<dim, spacedim> &                                dof,
-    const Quadrature<dim> &                                          q,
-    SparseMatrixType &                                               matrix,
+    const Mapping<dim, spacedim>                                    &mapping,
+    const DoFHandler<dim, spacedim>                                 &dof,
+    const Quadrature<dim>                                           &q,
+    SparseMatrixType                                                &matrix,
     const Function<spacedim, typename SparseMatrixType::value_type> &rhs,
-    Vector<typename SparseMatrixType::value_type> &                  rhs_vector,
+    Vector<typename SparseMatrixType::value_type>                   &rhs_vector,
     const Function<spacedim, typename SparseMatrixType::value_type> *const a =
       nullptr,
     const AffineConstraints<typename SparseMatrixType::value_type> &
@@ -281,11 +281,11 @@ namespace MatrixCreator
   template <int dim, int spacedim, typename SparseMatrixType>
   void
   create_mass_matrix(
-    const DoFHandler<dim, spacedim> &                                dof,
-    const Quadrature<dim> &                                          q,
-    SparseMatrixType &                                               matrix,
+    const DoFHandler<dim, spacedim>                                 &dof,
+    const Quadrature<dim>                                           &q,
+    SparseMatrixType                                                &matrix,
     const Function<spacedim, typename SparseMatrixType::value_type> &rhs,
-    Vector<typename SparseMatrixType::value_type> &                  rhs_vector,
+    Vector<typename SparseMatrixType::value_type>                   &rhs_vector,
     const Function<spacedim, typename SparseMatrixType::value_type> *const a =
       nullptr,
     const AffineConstraints<typename SparseMatrixType::value_type> &
@@ -298,9 +298,9 @@ namespace MatrixCreator
   void
   create_mass_matrix(
     const hp::MappingCollection<dim, spacedim> &mapping,
-    const DoFHandler<dim, spacedim> &           dof,
-    const hp::QCollection<dim> &                q,
-    SparseMatrixType &                          matrix,
+    const DoFHandler<dim, spacedim>            &dof,
+    const hp::QCollection<dim>                 &q,
+    SparseMatrixType                           &matrix,
     const Function<spacedim, typename SparseMatrixType::value_type> *const a =
       nullptr,
     const AffineConstraints<typename SparseMatrixType::value_type> &
@@ -313,8 +313,8 @@ namespace MatrixCreator
   void
   create_mass_matrix(
     const DoFHandler<dim, spacedim> &dof,
-    const hp::QCollection<dim> &     q,
-    SparseMatrixType &               matrix,
+    const hp::QCollection<dim>      &q,
+    SparseMatrixType                &matrix,
     const Function<spacedim, typename SparseMatrixType::value_type> *const a =
       nullptr,
     const AffineConstraints<typename SparseMatrixType::value_type> &
@@ -326,12 +326,12 @@ namespace MatrixCreator
   template <int dim, int spacedim, typename SparseMatrixType>
   void
   create_mass_matrix(
-    const hp::MappingCollection<dim, spacedim> &                     mapping,
-    const DoFHandler<dim, spacedim> &                                dof,
-    const hp::QCollection<dim> &                                     q,
-    SparseMatrixType &                                               matrix,
+    const hp::MappingCollection<dim, spacedim>                      &mapping,
+    const DoFHandler<dim, spacedim>                                 &dof,
+    const hp::QCollection<dim>                                      &q,
+    SparseMatrixType                                                &matrix,
     const Function<spacedim, typename SparseMatrixType::value_type> &rhs,
-    Vector<typename SparseMatrixType::value_type> &                  rhs_vector,
+    Vector<typename SparseMatrixType::value_type>                   &rhs_vector,
     const Function<spacedim, typename SparseMatrixType::value_type> *const a =
       nullptr,
     const AffineConstraints<typename SparseMatrixType::value_type> &
@@ -343,11 +343,11 @@ namespace MatrixCreator
   template <int dim, int spacedim, typename SparseMatrixType>
   void
   create_mass_matrix(
-    const DoFHandler<dim, spacedim> &                                dof,
-    const hp::QCollection<dim> &                                     q,
-    SparseMatrixType &                                               matrix,
+    const DoFHandler<dim, spacedim>                                 &dof,
+    const hp::QCollection<dim>                                      &q,
+    SparseMatrixType                                                &matrix,
     const Function<spacedim, typename SparseMatrixType::value_type> &rhs,
-    Vector<typename SparseMatrixType::value_type> &                  rhs_vector,
+    Vector<typename SparseMatrixType::value_type>                   &rhs_vector,
     const Function<spacedim, typename SparseMatrixType::value_type> *const a =
       nullptr,
     const AffineConstraints<typename SparseMatrixType::value_type> &
@@ -382,14 +382,14 @@ namespace MatrixCreator
   template <int dim, int spacedim, typename number>
   void
   create_boundary_mass_matrix(
-    const Mapping<dim, spacedim> &   mapping,
+    const Mapping<dim, spacedim>    &mapping,
     const DoFHandler<dim, spacedim> &dof,
-    const Quadrature<dim - 1> &      q,
-    SparseMatrix<number> &           matrix,
+    const Quadrature<dim - 1>       &q,
+    SparseMatrix<number>            &matrix,
     const std::map<types::boundary_id, const Function<spacedim, number> *>
-      &                                     boundary_functions,
-    Vector<number> &                        rhs_vector,
-    std::vector<types::global_dof_index> &  dof_to_boundary_mapping,
+                                           &boundary_functions,
+    Vector<number>                         &rhs_vector,
+    std::vector<types::global_dof_index>   &dof_to_boundary_mapping,
     const Function<spacedim, number> *const weight            = 0,
     std::vector<unsigned int>               component_mapping = {});
 
@@ -402,12 +402,12 @@ namespace MatrixCreator
   void
   create_boundary_mass_matrix(
     const DoFHandler<dim, spacedim> &dof,
-    const Quadrature<dim - 1> &      q,
-    SparseMatrix<number> &           matrix,
+    const Quadrature<dim - 1>       &q,
+    SparseMatrix<number>            &matrix,
     const std::map<types::boundary_id, const Function<spacedim, number> *>
-      &                                     boundary_functions,
-    Vector<number> &                        rhs_vector,
-    std::vector<types::global_dof_index> &  dof_to_boundary_mapping,
+                                           &boundary_functions,
+    Vector<number>                         &rhs_vector,
+    std::vector<types::global_dof_index>   &dof_to_boundary_mapping,
     const Function<spacedim, number> *const a                 = nullptr,
     std::vector<unsigned int>               component_mapping = {});
 
@@ -418,13 +418,13 @@ namespace MatrixCreator
   void
   create_boundary_mass_matrix(
     const hp::MappingCollection<dim, spacedim> &mapping,
-    const DoFHandler<dim, spacedim> &           dof,
-    const hp::QCollection<dim - 1> &            q,
-    SparseMatrix<number> &                      matrix,
+    const DoFHandler<dim, spacedim>            &dof,
+    const hp::QCollection<dim - 1>             &q,
+    SparseMatrix<number>                       &matrix,
     const std::map<types::boundary_id, const Function<spacedim, number> *>
-      &                                     boundary_functions,
-    Vector<number> &                        rhs_vector,
-    std::vector<types::global_dof_index> &  dof_to_boundary_mapping,
+                                           &boundary_functions,
+    Vector<number>                         &rhs_vector,
+    std::vector<types::global_dof_index>   &dof_to_boundary_mapping,
     const Function<spacedim, number> *const a                 = nullptr,
     std::vector<unsigned int>               component_mapping = {});
 
@@ -435,12 +435,12 @@ namespace MatrixCreator
   void
   create_boundary_mass_matrix(
     const DoFHandler<dim, spacedim> &dof,
-    const hp::QCollection<dim - 1> q,
-    SparseMatrix<number> &           matrix,
+    const hp::QCollection<dim - 1>  &q,
+    SparseMatrix<number>            &matrix,
     const std::map<types::boundary_id, const Function<spacedim, number> *>
-      &                                     boundary_functions,
-    Vector<number> &                        rhs_vector,
-    std::vector<types::global_dof_index> &  dof_to_boundary_mapping,
+                                           &boundary_functions,
+    Vector<number>                         &rhs_vector,
+    std::vector<types::global_dof_index>   &dof_to_boundary_mapping,
     const Function<spacedim, number> *const a                 = nullptr,
     std::vector<unsigned int>               component_mapping = {});
 
@@ -466,10 +466,10 @@ namespace MatrixCreator
   template <int dim, int spacedim, typename SparseMatrixType>
   void
   create_laplace_matrix(
-    const Mapping<dim, spacedim> &   mapping,
+    const Mapping<dim, spacedim>    &mapping,
     const DoFHandler<dim, spacedim> &dof,
-    const Quadrature<dim> &          q,
-    SparseMatrixType &               matrix,
+    const Quadrature<dim>           &q,
+    SparseMatrixType                &matrix,
     const Function<spacedim, typename SparseMatrixType::value_type> *const a =
       nullptr,
     const AffineConstraints<typename SparseMatrixType::value_type> &
@@ -483,8 +483,8 @@ namespace MatrixCreator
   void
   create_laplace_matrix(
     const DoFHandler<dim, spacedim> &dof,
-    const Quadrature<dim> &          q,
-    SparseMatrixType &               matrix,
+    const Quadrature<dim>           &q,
+    SparseMatrixType                &matrix,
     const Function<spacedim, typename SparseMatrixType::value_type> *const a =
       nullptr,
     const AffineConstraints<typename SparseMatrixType::value_type> &
@@ -511,12 +511,12 @@ namespace MatrixCreator
   template <int dim, int spacedim, typename SparseMatrixType>
   void
   create_laplace_matrix(
-    const Mapping<dim, spacedim> &                                   mapping,
-    const DoFHandler<dim, spacedim> &                                dof,
-    const Quadrature<dim> &                                          q,
-    SparseMatrixType &                                               matrix,
+    const Mapping<dim, spacedim>                                    &mapping,
+    const DoFHandler<dim, spacedim>                                 &dof,
+    const Quadrature<dim>                                           &q,
+    SparseMatrixType                                                &matrix,
     const Function<spacedim, typename SparseMatrixType::value_type> &rhs,
-    Vector<typename SparseMatrixType::value_type> &                  rhs_vector,
+    Vector<typename SparseMatrixType::value_type>                   &rhs_vector,
     const Function<spacedim, typename SparseMatrixType::value_type> *const a =
       nullptr,
     const AffineConstraints<typename SparseMatrixType::value_type> &
@@ -529,11 +529,11 @@ namespace MatrixCreator
   template <int dim, int spacedim, typename SparseMatrixType>
   void
   create_laplace_matrix(
-    const DoFHandler<dim, spacedim> &                                dof,
-    const Quadrature<dim> &                                          q,
-    SparseMatrixType &                                               matrix,
+    const DoFHandler<dim, spacedim>                                 &dof,
+    const Quadrature<dim>                                           &q,
+    SparseMatrixType                                                &matrix,
     const Function<spacedim, typename SparseMatrixType::value_type> &rhs,
-    Vector<typename SparseMatrixType::value_type> &                  rhs_vector,
+    Vector<typename SparseMatrixType::value_type>                   &rhs_vector,
     const Function<spacedim, typename SparseMatrixType::value_type> *const a =
       nullptr,
     const AffineConstraints<typename SparseMatrixType::value_type> &
@@ -546,9 +546,9 @@ namespace MatrixCreator
   void
   create_laplace_matrix(
     const hp::MappingCollection<dim, spacedim> &mapping,
-    const DoFHandler<dim, spacedim> &           dof,
-    const hp::QCollection<dim> &                q,
-    SparseMatrixType &                          matrix,
+    const DoFHandler<dim, spacedim>            &dof,
+    const hp::QCollection<dim>                 &q,
+    SparseMatrixType                           &matrix,
     const Function<spacedim, typename SparseMatrixType::value_type> *const a =
       nullptr,
     const AffineConstraints<typename SparseMatrixType::value_type> &
@@ -561,8 +561,8 @@ namespace MatrixCreator
   void
   create_laplace_matrix(
     const DoFHandler<dim, spacedim> &dof,
-    const hp::QCollection<dim> &     q,
-    SparseMatrixType &               matrix,
+    const hp::QCollection<dim>      &q,
+    SparseMatrixType                &matrix,
     const Function<spacedim, typename SparseMatrixType::value_type> *const a =
       nullptr,
     const AffineConstraints<typename SparseMatrixType::value_type> &
@@ -574,12 +574,12 @@ namespace MatrixCreator
   template <int dim, int spacedim, typename SparseMatrixType>
   void
   create_laplace_matrix(
-    const hp::MappingCollection<dim, spacedim> &                     mapping,
-    const DoFHandler<dim, spacedim> &                                dof,
-    const hp::QCollection<dim> &                                     q,
-    SparseMatrixType &                                               matrix,
+    const hp::MappingCollection<dim, spacedim>                      &mapping,
+    const DoFHandler<dim, spacedim>                                 &dof,
+    const hp::QCollection<dim>                                      &q,
+    SparseMatrixType                                                &matrix,
     const Function<spacedim, typename SparseMatrixType::value_type> &rhs,
-    Vector<typename SparseMatrixType::value_type> &                  rhs_vector,
+    Vector<typename SparseMatrixType::value_type>                   &rhs_vector,
     const Function<spacedim, typename SparseMatrixType::value_type> *const a =
       nullptr,
     const AffineConstraints<typename SparseMatrixType::value_type> &
@@ -591,11 +591,11 @@ namespace MatrixCreator
   template <int dim, int spacedim, typename SparseMatrixType>
   void
   create_laplace_matrix(
-    const DoFHandler<dim, spacedim> &                                dof,
-    const hp::QCollection<dim> &                                     q,
-    SparseMatrixType &                                               matrix,
+    const DoFHandler<dim, spacedim>                                 &dof,
+    const hp::QCollection<dim>                                      &q,
+    SparseMatrixType                                                &matrix,
     const Function<spacedim, typename SparseMatrixType::value_type> &rhs,
-    Vector<typename SparseMatrixType::value_type> &                  rhs_vector,
+    Vector<typename SparseMatrixType::value_type>                   &rhs_vector,
     const Function<spacedim, typename SparseMatrixType::value_type> *const a =
       nullptr,
     const AffineConstraints<typename SparseMatrixType::value_type> &
index c994cbe859228ed1ea6f2854f76f592b73e7855e..79822427929cb3b55ff4e46668ee28505138a26f 100644 (file)
@@ -74,9 +74,9 @@ namespace MatrixCreator
       {
         Scratch(const ::dealii::hp::FECollection<dim, spacedim> &fe,
                 const UpdateFlags                                update_flags,
-                const Function<spacedim, number> *               coefficient,
-                const Function<spacedim, number> *               rhs_function,
-                const ::dealii::hp::QCollection<dim> &           quadrature,
+                const Function<spacedim, number>                *coefficient,
+                const Function<spacedim, number>                *rhs_function,
+                const ::dealii::hp::QCollection<dim>            &quadrature,
                 const ::dealii::hp::MappingCollection<dim, spacedim> &mapping)
           : fe_collection(fe)
           , quadrature_collection(quadrature)
@@ -124,7 +124,7 @@ namespace MatrixCreator
 
 
         const ::dealii::hp::FECollection<dim, spacedim> &fe_collection;
-        const ::dealii::hp::QCollection<dim> &           quadrature_collection;
+        const ::dealii::hp::QCollection<dim>            &quadrature_collection;
         const ::dealii::hp::MappingCollection<dim, spacedim>
           &mapping_collection;
 
@@ -148,7 +148,7 @@ namespace MatrixCreator
         std::vector<types::global_dof_index> dof_indices;
         FullMatrix<number>                   cell_matrix;
         dealii::Vector<number>               cell_rhs;
-        const AffineConstraints<number> *    constraints;
+        const AffineConstraints<number>     *constraints;
         bool                                 is_locally_owned;
       };
     } // namespace AssemblerData
@@ -159,7 +159,7 @@ namespace MatrixCreator
     mass_assembler(
       const CellIterator &cell,
       MatrixCreator::internal::AssemblerData::Scratch<dim, spacedim, number>
-        &                                                       data,
+                                                               &data,
       MatrixCreator::internal::AssemblerData::CopyData<number> &copy_data)
     {
       copy_data.is_locally_owned = cell->is_locally_owned();
@@ -370,7 +370,7 @@ namespace MatrixCreator
     laplace_assembler(
       const CellIterator &cell,
       MatrixCreator::internal::AssemblerData::Scratch<dim, spacedim, Number>
-        &                                                       data,
+                                                               &data,
       MatrixCreator::internal::AssemblerData::CopyData<Number> &copy_data)
     {
       copy_data.is_locally_owned = cell->is_locally_owned();
@@ -574,8 +574,8 @@ namespace MatrixCreator
     template <typename number, typename MatrixType, typename VectorType>
     void
     copy_local_to_global(const AssemblerData::CopyData<number> &data,
-                         MatrixType *                           matrix,
-                         VectorType *                           right_hand_side)
+                         MatrixType                            *matrix,
+                         VectorType                            *right_hand_side)
     {
       if (data.is_locally_owned == false)
         return;
@@ -640,10 +640,10 @@ namespace MatrixCreator
   template <int dim, int spacedim, typename SparseMatrixType>
   void
   create_mass_matrix(
-    const Mapping<dim, spacedim> &   mapping,
+    const Mapping<dim, spacedim>    &mapping,
     const DoFHandler<dim, spacedim> &dof,
-    const Quadrature<dim> &          q,
-    SparseMatrixType &               matrix,
+    const Quadrature<dim>           &q,
+    SparseMatrixType                &matrix,
     const Function<spacedim, typename SparseMatrixType::value_type>
       *const                                                        coefficient,
     const AffineConstraints<typename SparseMatrixType::value_type> &constraints)
@@ -653,7 +653,7 @@ namespace MatrixCreator
     Assert(matrix.n() == dof.n_dofs(),
            ExcDimensionMismatch(matrix.n(), dof.n_dofs()));
 
-    const auto &         fe_collection = dof.get_fe_collection();
+    const auto          &fe_collection = dof.get_fe_collection();
     hp::QCollection<dim> q_collection(q);
     hp::MappingCollection<dim, spacedim> mapping_collection(mapping);
     MatrixCreator::internal::AssemblerData::
@@ -707,8 +707,8 @@ namespace MatrixCreator
   void
   create_mass_matrix(
     const DoFHandler<dim, spacedim> &dof,
-    const Quadrature<dim> &          q,
-    SparseMatrixType &               matrix,
+    const Quadrature<dim>           &q,
+    SparseMatrixType                &matrix,
     const Function<spacedim, typename SparseMatrixType::value_type>
       *const                                                        coefficient,
     const AffineConstraints<typename SparseMatrixType::value_type> &constraints)
@@ -726,12 +726,12 @@ namespace MatrixCreator
   template <int dim, int spacedim, typename SparseMatrixType>
   void
   create_mass_matrix(
-    const Mapping<dim, spacedim> &                                   mapping,
-    const DoFHandler<dim, spacedim> &                                dof,
-    const Quadrature<dim> &                                          q,
-    SparseMatrixType &                                               matrix,
+    const Mapping<dim, spacedim>                                    &mapping,
+    const DoFHandler<dim, spacedim>                                 &dof,
+    const Quadrature<dim>                                           &q,
+    SparseMatrixType                                                &matrix,
     const Function<spacedim, typename SparseMatrixType::value_type> &rhs,
-    Vector<typename SparseMatrixType::value_type> &                  rhs_vector,
+    Vector<typename SparseMatrixType::value_type>                   &rhs_vector,
     const Function<spacedim, typename SparseMatrixType::value_type>
       *const                                                        coefficient,
     const AffineConstraints<typename SparseMatrixType::value_type> &constraints)
@@ -741,7 +741,7 @@ namespace MatrixCreator
     Assert(matrix.n() == dof.n_dofs(),
            ExcDimensionMismatch(matrix.n(), dof.n_dofs()));
 
-    const auto &         fe_collection = dof.get_fe_collection();
+    const auto          &fe_collection = dof.get_fe_collection();
     hp::QCollection<dim> q_collection(q);
     hp::MappingCollection<dim, spacedim> mapping_collection(mapping);
     MatrixCreator::internal::AssemblerData::
@@ -790,11 +790,11 @@ namespace MatrixCreator
   template <int dim, int spacedim, typename SparseMatrixType>
   void
   create_mass_matrix(
-    const DoFHandler<dim, spacedim> &                                dof,
-    const Quadrature<dim> &                                          q,
-    SparseMatrixType &                                               matrix,
+    const DoFHandler<dim, spacedim>                                 &dof,
+    const Quadrature<dim>                                           &q,
+    SparseMatrixType                                                &matrix,
     const Function<spacedim, typename SparseMatrixType::value_type> &rhs,
-    Vector<typename SparseMatrixType::value_type> &                  rhs_vector,
+    Vector<typename SparseMatrixType::value_type>                   &rhs_vector,
     const Function<spacedim, typename SparseMatrixType::value_type>
       *const                                                        coefficient,
     const AffineConstraints<typename SparseMatrixType::value_type> &constraints)
@@ -815,9 +815,9 @@ namespace MatrixCreator
   void
   create_mass_matrix(
     const hp::MappingCollection<dim, spacedim> &mapping,
-    const DoFHandler<dim, spacedim> &           dof,
-    const hp::QCollection<dim> &                q,
-    SparseMatrixType &                          matrix,
+    const DoFHandler<dim, spacedim>            &dof,
+    const hp::QCollection<dim>                 &q,
+    SparseMatrixType                           &matrix,
     const Function<spacedim, typename SparseMatrixType::value_type>
       *const                                                        coefficient,
     const AffineConstraints<typename SparseMatrixType::value_type> &constraints)
@@ -877,8 +877,8 @@ namespace MatrixCreator
   void
   create_mass_matrix(
     const DoFHandler<dim, spacedim> &dof,
-    const hp::QCollection<dim> &     q,
-    SparseMatrixType &               matrix,
+    const hp::QCollection<dim>      &q,
+    SparseMatrixType                &matrix,
     const Function<spacedim, typename SparseMatrixType::value_type>
       *const                                                        coefficient,
     const AffineConstraints<typename SparseMatrixType::value_type> &constraints)
@@ -896,12 +896,12 @@ namespace MatrixCreator
   template <int dim, int spacedim, typename SparseMatrixType>
   void
   create_mass_matrix(
-    const hp::MappingCollection<dim, spacedim> &                     mapping,
-    const DoFHandler<dim, spacedim> &                                dof,
-    const hp::QCollection<dim> &                                     q,
-    SparseMatrixType &                                               matrix,
+    const hp::MappingCollection<dim, spacedim>                      &mapping,
+    const DoFHandler<dim, spacedim>                                 &dof,
+    const hp::QCollection<dim>                                      &q,
+    SparseMatrixType                                                &matrix,
     const Function<spacedim, typename SparseMatrixType::value_type> &rhs,
-    Vector<typename SparseMatrixType::value_type> &                  rhs_vector,
+    Vector<typename SparseMatrixType::value_type>                   &rhs_vector,
     const Function<spacedim, typename SparseMatrixType::value_type>
       *const                                                        coefficient,
     const AffineConstraints<typename SparseMatrixType::value_type> &constraints)
@@ -957,11 +957,11 @@ namespace MatrixCreator
   template <int dim, int spacedim, typename SparseMatrixType>
   void
   create_mass_matrix(
-    const DoFHandler<dim, spacedim> &                                dof,
-    const hp::QCollection<dim> &                                     q,
-    SparseMatrixType &                                               matrix,
+    const DoFHandler<dim, spacedim>                                 &dof,
+    const hp::QCollection<dim>                                      &q,
+    SparseMatrixType                                                &matrix,
     const Function<spacedim, typename SparseMatrixType::value_type> &rhs,
-    Vector<typename SparseMatrixType::value_type> &                  rhs_vector,
+    Vector<typename SparseMatrixType::value_type>                   &rhs_vector,
     const Function<spacedim, typename SparseMatrixType::value_type>
       *const                                                        coefficient,
     const AffineConstraints<typename SparseMatrixType::value_type> &constraints)
@@ -985,14 +985,14 @@ namespace MatrixCreator
       const typename DoFHandler<dim, spacedim>::active_cell_iterator &cell,
       const MatrixCreator::internal::AssemblerBoundary::Scratch &,
       MatrixCreator::internal::AssemblerBoundary::
-        CopyData<dim, spacedim, number> copy_data,
-      const Mapping<dim, spacedim> &      mapping,
+        CopyData<dim, spacedim, number>  &copy_data,
+      const Mapping<dim, spacedim>       &mapping,
       const FiniteElement<dim, spacedim> &fe,
-      const Quadrature<dim - 1> &         q,
+      const Quadrature<dim - 1>          &q,
       const std::map<types::boundary_id, const Function<spacedim, number> *>
-        &                                     boundary_functions,
+                                             &boundary_functions,
       const Function<spacedim, number> *const coefficient,
-      const std::vector<unsigned int> &       component_mapping)
+      const std::vector<unsigned int>        &component_mapping)
     {
       // Most assertions for this function are in the calling function
       // before creating threads.
@@ -1220,10 +1220,10 @@ namespace MatrixCreator
       const MatrixCreator::internal::AssemblerBoundary::
         CopyData<dim, spacedim, number> &copy_data,
       const std::map<types::boundary_id, const Function<spacedim, number> *>
-        &                                         boundary_functions,
+                                                 &boundary_functions,
       const std::vector<types::global_dof_index> &dof_to_boundary_mapping,
-      SparseMatrix<number> &                      matrix,
-      Vector<number> &                            rhs_vector)
+      SparseMatrix<number>                       &matrix,
+      Vector<number>                             &rhs_vector)
     {
       // now transfer cell matrix and vector to the whole boundary matrix
       //
@@ -1329,14 +1329,14 @@ namespace MatrixCreator
   template <int dim, int spacedim, typename number>
   void
   create_boundary_mass_matrix(
-    const Mapping<dim, spacedim> &   mapping,
+    const Mapping<dim, spacedim>    &mapping,
     const DoFHandler<dim, spacedim> &dof,
-    const Quadrature<dim - 1> &      q,
-    SparseMatrix<number> &           matrix,
+    const Quadrature<dim - 1>       &q,
+    SparseMatrix<number>            &matrix,
     const std::map<types::boundary_id, const Function<spacedim, number> *>
-      &                                     boundary_functions,
-    Vector<number> &                        rhs_vector,
-    std::vector<types::global_dof_index> &  dof_to_boundary_mapping,
+                                           &boundary_functions,
+    Vector<number>                         &rhs_vector,
+    std::vector<types::global_dof_index>   &dof_to_boundary_mapping,
     const Function<spacedim, number> *const coefficient,
     std::vector<unsigned int>               component_mapping)
   {
@@ -1417,14 +1417,14 @@ namespace MatrixCreator
       const typename DoFHandler<dim, spacedim>::active_cell_iterator &cell,
       const MatrixCreator::internal::AssemblerBoundary::Scratch &,
       MatrixCreator::internal::AssemblerBoundary ::
-        CopyData<dim, spacedim, number> &         copy_data,
+        CopyData<dim, spacedim, number>          &copy_data,
       const hp::MappingCollection<dim, spacedim> &mapping,
-      const hp::FECollection<dim, spacedim> &     fe_collection,
-      const hp::QCollection<dim - 1> &            q,
+      const hp::FECollection<dim, spacedim>      &fe_collection,
+      const hp::QCollection<dim - 1>             &q,
       const std::map<types::boundary_id, const Function<spacedim, number> *>
-        &                                     boundary_functions,
+                                             &boundary_functions,
       const Function<spacedim, number> *const coefficient,
-      const std::vector<unsigned int> &       component_mapping)
+      const std::vector<unsigned int>        &component_mapping)
     {
       const unsigned int n_components = fe_collection.n_components();
       const unsigned int n_function_components =
@@ -1674,10 +1674,10 @@ namespace MatrixCreator
       const MatrixCreator::internal::AssemblerBoundary ::
         CopyData<dim, spacedim, number> &copy_data,
       const std::map<types::boundary_id, const Function<spacedim, number> *>
-        &                                         boundary_functions,
+                                                 &boundary_functions,
       const std::vector<types::global_dof_index> &dof_to_boundary_mapping,
-      SparseMatrix<number> &                      matrix,
-      Vector<number> &                            rhs_vector)
+      SparseMatrix<number>                       &matrix,
+      Vector<number>                             &rhs_vector)
     {
       // now transfer cell matrix and vector to the whole boundary matrix
       //
@@ -1774,11 +1774,11 @@ namespace MatrixCreator
   void
   create_boundary_mass_matrix(
     const DoFHandler<dim, spacedim> &dof,
-    const Quadrature<dim - 1> &      q,
-    SparseMatrix<number> &           matrix,
+    const Quadrature<dim - 1>       &q,
+    SparseMatrix<number>            &matrix,
     const std::map<types::boundary_id, const Function<spacedim, number> *> &rhs,
-    Vector<number> &                        rhs_vector,
-    std::vector<types::global_dof_index> &  dof_to_boundary_mapping,
+    Vector<number>                         &rhs_vector,
+    std::vector<types::global_dof_index>   &dof_to_boundary_mapping,
     const Function<spacedim, number> *const a,
     std::vector<unsigned int>               component_mapping)
   {
@@ -1800,13 +1800,13 @@ namespace MatrixCreator
   void
   create_boundary_mass_matrix(
     const hp::MappingCollection<dim, spacedim> &mapping,
-    const DoFHandler<dim, spacedim> &           dof,
-    const hp::QCollection<dim - 1> &            q,
-    SparseMatrix<number> &                      matrix,
+    const DoFHandler<dim, spacedim>            &dof,
+    const hp::QCollection<dim - 1>             &q,
+    SparseMatrix<number>                       &matrix,
     const std::map<types::boundary_id, const Function<spacedim, number> *>
-      &                                     boundary_functions,
-    Vector<number> &                        rhs_vector,
-    std::vector<types::global_dof_index> &  dof_to_boundary_mapping,
+                                           &boundary_functions,
+    Vector<number>                         &rhs_vector,
+    std::vector<types::global_dof_index>   &dof_to_boundary_mapping,
     const Function<spacedim, number> *const coefficient,
     std::vector<unsigned int>               component_mapping)
   {
@@ -1889,11 +1889,11 @@ namespace MatrixCreator
   void
   create_boundary_mass_matrix(
     const DoFHandler<dim, spacedim> &dof,
-    const hp::QCollection<dim - 1> q,
-    SparseMatrix<number> &           matrix,
+    const hp::QCollection<dim - 1>  &q,
+    SparseMatrix<number>            &matrix,
     const std::map<types::boundary_id, const Function<spacedim, number> *> &rhs,
-    Vector<number> &                        rhs_vector,
-    std::vector<types::global_dof_index> &  dof_to_boundary_mapping,
+    Vector<number>                         &rhs_vector,
+    std::vector<types::global_dof_index>   &dof_to_boundary_mapping,
     const Function<spacedim, number> *const a,
     std::vector<unsigned int>               component_mapping)
   {
@@ -1914,10 +1914,10 @@ namespace MatrixCreator
   template <int dim, int spacedim, typename SparseMatrixType>
   void
   create_laplace_matrix(
-    const Mapping<dim, spacedim> &   mapping,
+    const Mapping<dim, spacedim>    &mapping,
     const DoFHandler<dim, spacedim> &dof,
-    const Quadrature<dim> &          q,
-    SparseMatrixType &               matrix,
+    const Quadrature<dim>           &q,
+    SparseMatrixType                &matrix,
     const Function<spacedim, typename SparseMatrixType::value_type>
       *const                                                        coefficient,
     const AffineConstraints<typename SparseMatrixType::value_type> &constraints)
@@ -1927,7 +1927,7 @@ namespace MatrixCreator
     Assert(matrix.n() == dof.n_dofs(),
            ExcDimensionMismatch(matrix.n(), dof.n_dofs()));
 
-    const auto &         fe_collection = dof.get_fe_collection();
+    const auto          &fe_collection = dof.get_fe_collection();
     hp::QCollection<dim> q_collection(q);
     hp::MappingCollection<dim, spacedim> mapping_collection(mapping);
     MatrixCreator::internal::AssemblerData::
@@ -1980,8 +1980,8 @@ namespace MatrixCreator
   void
   create_laplace_matrix(
     const DoFHandler<dim, spacedim> &dof,
-    const Quadrature<dim> &          q,
-    SparseMatrixType &               matrix,
+    const Quadrature<dim>           &q,
+    SparseMatrixType                &matrix,
     const Function<spacedim, typename SparseMatrixType::value_type>
       *const                                                        coefficient,
     const AffineConstraints<typename SparseMatrixType::value_type> &constraints)
@@ -1999,12 +1999,12 @@ namespace MatrixCreator
   template <int dim, int spacedim, typename SparseMatrixType>
   void
   create_laplace_matrix(
-    const Mapping<dim, spacedim> &                                   mapping,
-    const DoFHandler<dim, spacedim> &                                dof,
-    const Quadrature<dim> &                                          q,
-    SparseMatrixType &                                               matrix,
+    const Mapping<dim, spacedim>                                    &mapping,
+    const DoFHandler<dim, spacedim>                                 &dof,
+    const Quadrature<dim>                                           &q,
+    SparseMatrixType                                                &matrix,
     const Function<spacedim, typename SparseMatrixType::value_type> &rhs,
-    Vector<typename SparseMatrixType::value_type> &                  rhs_vector,
+    Vector<typename SparseMatrixType::value_type>                   &rhs_vector,
     const Function<spacedim, typename SparseMatrixType::value_type>
       *const                                                        coefficient,
     const AffineConstraints<typename SparseMatrixType::value_type> &constraints)
@@ -2014,7 +2014,7 @@ namespace MatrixCreator
     Assert(matrix.n() == dof.n_dofs(),
            ExcDimensionMismatch(matrix.n(), dof.n_dofs()));
 
-    const auto &         fe_collection = dof.get_fe_collection();
+    const auto          &fe_collection = dof.get_fe_collection();
     hp::QCollection<dim> q_collection(q);
     hp::MappingCollection<dim, spacedim> mapping_collection(mapping);
     MatrixCreator::internal::AssemblerData::
@@ -2063,11 +2063,11 @@ namespace MatrixCreator
   template <int dim, int spacedim, typename SparseMatrixType>
   void
   create_laplace_matrix(
-    const DoFHandler<dim, spacedim> &                                dof,
-    const Quadrature<dim> &                                          q,
-    SparseMatrixType &                                               matrix,
+    const DoFHandler<dim, spacedim>                                 &dof,
+    const Quadrature<dim>                                           &q,
+    SparseMatrixType                                                &matrix,
     const Function<spacedim, typename SparseMatrixType::value_type> &rhs,
-    Vector<typename SparseMatrixType::value_type> &                  rhs_vector,
+    Vector<typename SparseMatrixType::value_type>                   &rhs_vector,
     const Function<spacedim, typename SparseMatrixType::value_type>
       *const                                                        coefficient,
     const AffineConstraints<typename SparseMatrixType::value_type> &constraints)
@@ -2088,9 +2088,9 @@ namespace MatrixCreator
   void
   create_laplace_matrix(
     const hp::MappingCollection<dim, spacedim> &mapping,
-    const DoFHandler<dim, spacedim> &           dof,
-    const hp::QCollection<dim> &                q,
-    SparseMatrixType &                          matrix,
+    const DoFHandler<dim, spacedim>            &dof,
+    const hp::QCollection<dim>                 &q,
+    SparseMatrixType                           &matrix,
     const Function<spacedim, typename SparseMatrixType::value_type>
       *const                                                        coefficient,
     const AffineConstraints<typename SparseMatrixType::value_type> &constraints)
@@ -2150,8 +2150,8 @@ namespace MatrixCreator
   void
   create_laplace_matrix(
     const DoFHandler<dim, spacedim> &dof,
-    const hp::QCollection<dim> &     q,
-    SparseMatrixType &               matrix,
+    const hp::QCollection<dim>      &q,
+    SparseMatrixType                &matrix,
     const Function<spacedim, typename SparseMatrixType::value_type>
       *const                                                        coefficient,
     const AffineConstraints<typename SparseMatrixType::value_type> &constraints)
@@ -2170,12 +2170,12 @@ namespace MatrixCreator
   template <int dim, int spacedim, typename SparseMatrixType>
   void
   create_laplace_matrix(
-    const hp::MappingCollection<dim, spacedim> &                     mapping,
-    const DoFHandler<dim, spacedim> &                                dof,
-    const hp::QCollection<dim> &                                     q,
-    SparseMatrixType &                                               matrix,
+    const hp::MappingCollection<dim, spacedim>                      &mapping,
+    const DoFHandler<dim, spacedim>                                 &dof,
+    const hp::QCollection<dim>                                      &q,
+    SparseMatrixType                                                &matrix,
     const Function<spacedim, typename SparseMatrixType::value_type> &rhs,
-    Vector<typename SparseMatrixType::value_type> &                  rhs_vector,
+    Vector<typename SparseMatrixType::value_type>                   &rhs_vector,
     const Function<spacedim, typename SparseMatrixType::value_type>
       *const                                                        coefficient,
     const AffineConstraints<typename SparseMatrixType::value_type> &constraints)
@@ -2231,11 +2231,11 @@ namespace MatrixCreator
   template <int dim, int spacedim, typename SparseMatrixType>
   void
   create_laplace_matrix(
-    const DoFHandler<dim, spacedim> &                                dof,
-    const hp::QCollection<dim> &                                     q,
-    SparseMatrixType &                                               matrix,
+    const DoFHandler<dim, spacedim>                                 &dof,
+    const hp::QCollection<dim>                                      &q,
+    SparseMatrixType                                                &matrix,
     const Function<spacedim, typename SparseMatrixType::value_type> &rhs,
-    Vector<typename SparseMatrixType::value_type> &                  rhs_vector,
+    Vector<typename SparseMatrixType::value_type>                   &rhs_vector,
     const Function<spacedim, typename SparseMatrixType::value_type>
       *const                                                        coefficient,
     const AffineConstraints<typename SparseMatrixType::value_type> &constraints)
index 89f6410e436feec725e0f581fe0e5a53358c93fc..a67d82c6fd44759a4c9ce3339a943535f6eefa11 100644 (file)
@@ -321,9 +321,9 @@ namespace MatrixTools
   void
   apply_boundary_values(
     const std::map<types::global_dof_index, number> &boundary_values,
-    SparseMatrix<number> &                           matrix,
-    Vector<number> &                                 solution,
-    Vector<number> &                                 right_hand_side,
+    SparseMatrix<number>                            &matrix,
+    Vector<number>                                  &solution,
+    Vector<number>                                  &right_hand_side,
     const bool                                       eliminate_columns = true);
 
   /**
@@ -335,9 +335,9 @@ namespace MatrixTools
   void
   apply_boundary_values(
     const std::map<types::global_dof_index, number> &boundary_values,
-    BlockSparseMatrix<number> &                      matrix,
-    BlockVector<number> &                            solution,
-    BlockVector<number> &                            right_hand_side,
+    BlockSparseMatrix<number>                       &matrix,
+    BlockVector<number>                             &solution,
+    BlockVector<number>                             &right_hand_side,
     const bool                                       eliminate_columns = true);
 
 #ifdef DEAL_II_WITH_PETSC
@@ -351,9 +351,9 @@ namespace MatrixTools
   void
   apply_boundary_values(
     const std::map<types::global_dof_index, PetscScalar> &boundary_values,
-    PETScWrappers::MatrixBase &                           matrix,
-    PETScWrappers::VectorBase &                           solution,
-    PETScWrappers::VectorBase &                           right_hand_side,
+    PETScWrappers::MatrixBase                            &matrix,
+    PETScWrappers::VectorBase                            &solution,
+    PETScWrappers::VectorBase                            &right_hand_side,
     const bool eliminate_columns = true);
 
   /**
@@ -362,9 +362,9 @@ namespace MatrixTools
   void
   apply_boundary_values(
     const std::map<types::global_dof_index, PetscScalar> &boundary_values,
-    PETScWrappers::MPI::BlockSparseMatrix &               matrix,
-    PETScWrappers::MPI::BlockVector &                     solution,
-    PETScWrappers::MPI::BlockVector &                     right_hand_side,
+    PETScWrappers::MPI::BlockSparseMatrix                &matrix,
+    PETScWrappers::MPI::BlockVector                      &solution,
+    PETScWrappers::MPI::BlockVector                      &right_hand_side,
     const bool eliminate_columns = true);
 
 #endif
@@ -406,9 +406,9 @@ namespace MatrixTools
   void
   apply_boundary_values(
     const std::map<types::global_dof_index, TrilinosScalar> &boundary_values,
-    TrilinosWrappers::SparseMatrix &                         matrix,
-    TrilinosWrappers::MPI::Vector &                          solution,
-    TrilinosWrappers::MPI::Vector &                          right_hand_side,
+    TrilinosWrappers::SparseMatrix                          &matrix,
+    TrilinosWrappers::MPI::Vector                           &solution,
+    TrilinosWrappers::MPI::Vector                           &right_hand_side,
     const bool eliminate_columns = true);
 
   /**
@@ -418,9 +418,9 @@ namespace MatrixTools
   void
   apply_boundary_values(
     const std::map<types::global_dof_index, TrilinosScalar> &boundary_values,
-    TrilinosWrappers::BlockSparseMatrix &                    matrix,
-    TrilinosWrappers::MPI::BlockVector &                     solution,
-    TrilinosWrappers::MPI::BlockVector &                     right_hand_side,
+    TrilinosWrappers::BlockSparseMatrix                     &matrix,
+    TrilinosWrappers::MPI::BlockVector                      &solution,
+    TrilinosWrappers::MPI::BlockVector                      &right_hand_side,
     const bool eliminate_columns = true);
 #endif
 
@@ -446,9 +446,9 @@ namespace MatrixTools
   void
   local_apply_boundary_values(
     const std::map<types::global_dof_index, number> &boundary_values,
-    const std::vector<types::global_dof_index> &     local_dof_indices,
-    FullMatrix<number> &                             local_matrix,
-    Vector<number> &                                 local_rhs,
+    const std::vector<types::global_dof_index>      &local_dof_indices,
+    FullMatrix<number>                              &local_matrix,
+    Vector<number>                                  &local_rhs,
     const bool                                       eliminate_columns);
 
   /**
index cf2ae9046a4f04e199d6db64ab3d50b736c91875..4510dbf548890223b00f577cc7f7c011933b6961 100644 (file)
@@ -141,7 +141,7 @@ public:
      * @param anderson_subspace_size Size of the Anderson acceleration
      *   subspace, use 0 to disable.
      */
-    AdditionalData(const SolverType &      solver_type = automatic,
+    AdditionalData(const SolverType       &solver_type = automatic,
                    const SolutionStrategy &strategy    = linesearch,
                    const unsigned int      maximum_non_linear_iterations = 200,
                    const double            function_tolerance            = 1e-8,
@@ -220,7 +220,7 @@ public:
    * @param mpi_communicator MPI communicator used by the nonlinear solver.
    */
   NonlinearSolverSelector(const AdditionalData &additional_data,
-                          const MPI_Comm &      mpi_communicator);
+                          const MPI_Comm       &mpi_communicator);
 
   /**
    * Select a new nonlinear solver. All solver names used in this class are
@@ -243,7 +243,7 @@ public:
   void
   set_data(
     const typename TrilinosWrappers::NOXSolver<VectorType>::AdditionalData
-      &                                         additional_data,
+                                               &additional_data,
     const Teuchos::RCP<Teuchos::ParameterList> &parameters =
       Teuchos::rcp(new Teuchos::ParameterList));
 #endif
@@ -500,7 +500,7 @@ NonlinearSolverSelector<VectorType>::NonlinearSolverSelector(
 template <typename VectorType>
 NonlinearSolverSelector<VectorType>::NonlinearSolverSelector(
   const AdditionalData &additional_data,
-  const MPI_Comm &      mpi_communicator)
+  const MPI_Comm       &mpi_communicator)
   : additional_data(additional_data)
   , mpi_communicator(mpi_communicator)
 {
@@ -521,7 +521,7 @@ NonlinearSolverSelector<VectorType>::select(
 
 template <typename VectorType>
 NonlinearSolverSelector<VectorType>::AdditionalData::AdditionalData(
-  const SolverType &      solver_type,
+  const SolverType       &solver_type,
   const SolutionStrategy &strategy,
   const unsigned int      maximum_non_linear_iterations,
   const double            function_tolerance,
@@ -544,7 +544,7 @@ template <typename VectorType>
 void
 NonlinearSolverSelector<VectorType>::set_data(
   const typename TrilinosWrappers::NOXSolver<VectorType>::AdditionalData
-    &                                         additional_data,
+                                             &additional_data,
   const Teuchos::RCP<Teuchos::ParameterList> &parameters)
 {
   additional_data_nox = additional_data;
@@ -592,7 +592,7 @@ NonlinearSolverSelector<PETScWrappers::MPI::Vector>::solve_with_petsc(
 
   nonlinear_solver.solve_with_jacobian =
     [&](const PETScWrappers::MPI::Vector &src,
-        PETScWrappers::MPI::Vector &      dst) {
+        PETScWrappers::MPI::Vector       &dst) {
       // PETSc does not gives a tolerance, so we have to choose something
       // reasonable to provide to the user:
       const double tolerance = 1e-6;
index 41445f54565c93d42e2f21da48f9726335e5c97a..5317ed3afde5fb77e6428f889d4c809bd0f611ca 100644 (file)
@@ -61,8 +61,8 @@ namespace internal
        * Only a constructor needed for this class (a struct really)
        */
       PointGeometryData(
-        const Point<dim> &                          new_requested_location,
-        const std::vector<Point<dim>> &             new_locations,
+        const Point<dim>                           &new_requested_location,
+        const std::vector<Point<dim>>              &new_locations,
         const std::vector<types::global_dof_index> &new_sol_indices);
       Point<dim>                           requested_location;
       std::vector<Point<dim>>              support_point_locations;
@@ -292,7 +292,7 @@ public:
    * called in any order.
    */
   void
-  add_field_name(const std::string &  vector_name,
+  add_field_name(const std::string   &vector_name,
                  const ComponentMask &component_mask = {});
 
   /**
@@ -312,7 +312,7 @@ public:
    * used instead of names generated from the field name, if supplied.
    */
   void
-  add_component_names(const std::string &             vector_name,
+  add_component_names(const std::string              &vector_name,
                       const std::vector<std::string> &component_names);
 
   /**
@@ -357,9 +357,9 @@ public:
   template <typename VectorType>
   void
   evaluate_field(const std::vector<std::string> &names,
-                 const VectorType &              solution,
-                 const DataPostprocessor<dim> &  data_postprocessor,
-                 const Quadrature<dim> &         quadrature);
+                 const VectorType               &solution,
+                 const DataPostprocessor<dim>   &data_postprocessor,
+                 const Quadrature<dim>          &quadrature);
 
   /**
    * Construct a std::vector <std::string> containing only vector_name and
@@ -368,10 +368,10 @@ public:
    */
   template <typename VectorType>
   void
-  evaluate_field(const std::string &           name,
-                 const VectorType &            solution,
+  evaluate_field(const std::string            &name,
+                 const VectorType             &solution,
                  const DataPostprocessor<dim> &data_postprocessor,
-                 const Quadrature<dim> &       quadrature);
+                 const Quadrature<dim>        &quadrature);
 
 
   /**
@@ -389,7 +389,7 @@ public:
   template <typename VectorType>
   void
   evaluate_field_at_requested_location(const std::string &name,
-                                       const VectorType solution);
+                                       const VectorType  &solution);
 
 
   /**
@@ -432,7 +432,7 @@ public:
    * locations output.
    */
   void
-  write_gnuplot(const std::string &            base_name,
+  write_gnuplot(const std::string             &base_name,
                 const std::vector<Point<dim>> &postprocessor_locations =
                   std::vector<Point<dim>>());
 
@@ -483,7 +483,7 @@ public:
    * correct number of points by the method.
    */
   void
-  get_postprocessor_locations(const Quadrature<dim> &  quadrature,
+  get_postprocessor_locations(const Quadrature<dim>   &quadrature,
                               std::vector<Point<dim>> &locations);
 
   /**
index 19605c65fa9e15aac7d48f9851b402e215f26a04..f3a27bf71f3452e8bad383fc271d99dd74b5f9a6 100644 (file)
@@ -334,7 +334,7 @@ struct ExtractLevelVisitor
    * @p target_level of the tree.
    */
   inline ExtractLevelVisitor(
-    const Translator translator,
+    const Translator  &translator,
     const unsigned int target_level,
     std::vector<BoundingBox<boost::geometry::dimension<Box>::value>> &boxes);
 
@@ -520,7 +520,7 @@ template <typename Value,
           typename Allocators>
 ExtractLevelVisitor<Value, Options, Translator, Box, Allocators>::
   ExtractLevelVisitor(
-    const Translator translator,
+    const Translator  &translator,
     const unsigned int target_level,
     std::vector<BoundingBox<boost::geometry::dimension<Box>::value>> &boxes)
   : translator(translator)
@@ -730,7 +730,7 @@ template <typename Value,
           typename Box,
           typename Allocators>
 NodeVisitor<Value, Options, Translator, Box, Allocators>::NodeVisitor(
-  const Translator translator,
+  const Translator  &translator,
   const unsigned int target_level,
   std::vector<std::vector<BoundingBox<boost::geometry::dimension<Box>::value>>>
     &bb_in_boxes)
index 53f5f5e30eb180b11fdbd24a0740ccf426b9bee0..934eaf349a73f9440e24f642f7e06b43437af3b8 100644 (file)
@@ -160,9 +160,9 @@ namespace SmoothnessEstimator
     template <int dim, int spacedim, typename VectorType>
     void
     coefficient_decay(FESeries::Legendre<dim, spacedim> &fe_legendre,
-                      const DoFHandler<dim, spacedim> &  dof_handler,
-                      const VectorType &                 solution,
-                      Vector<float> &                    smoothness_indicators,
+                      const DoFHandler<dim, spacedim>   &dof_handler,
+                      const VectorType                  &solution,
+                      Vector<float>                     &smoothness_indicators,
                       const VectorTools::NormType        regression_strategy =
                         VectorTools::Linfty_norm,
                       const double smallest_abs_coefficient = 1e-10,
@@ -217,10 +217,10 @@ namespace SmoothnessEstimator
     void
     coefficient_decay_per_direction(
       FESeries::Legendre<dim, spacedim> &fe_legendre,
-      const DoFHandler<dim, spacedim> &  dof_handler,
-      const VectorType &                 solution,
-      Vector<float> &                    smoothness_indicators,
-      const ComponentMask &              coefficients_predicate   = {},
+      const DoFHandler<dim, spacedim>   &dof_handler,
+      const VectorType                  &solution,
+      Vector<float>                     &smoothness_indicators,
+      const ComponentMask               &coefficients_predicate   = {},
       const double                       smallest_abs_coefficient = 1e-10,
       const bool                         only_flagged_cells       = false);
 
@@ -405,9 +405,9 @@ namespace SmoothnessEstimator
     template <int dim, int spacedim, typename VectorType>
     void
     coefficient_decay(FESeries::Fourier<dim, spacedim> &fe_fourier,
-                      const DoFHandler<dim, spacedim> dof_handler,
-                      const VectorType &                solution,
-                      Vector<float> &                   smoothness_indicators,
+                      const DoFHandler<dim, spacedim>  &dof_handler,
+                      const VectorType                 &solution,
+                      Vector<float>                    &smoothness_indicators,
                       const VectorTools::NormType       regression_strategy =
                         VectorTools::Linfty_norm,
                       const double smallest_abs_coefficient = 1e-10,
@@ -455,10 +455,10 @@ namespace SmoothnessEstimator
     void
     coefficient_decay_per_direction(
       FESeries::Fourier<dim, spacedim> &fe_fourier,
-      const DoFHandler<dim, spacedim> dof_handler,
-      const VectorType &                solution,
-      Vector<float> &                   smoothness_indicators,
-      const ComponentMask &             coefficients_predicate   = {},
+      const DoFHandler<dim, spacedim>  &dof_handler,
+      const VectorType                 &solution,
+      Vector<float>                    &smoothness_indicators,
+      const ComponentMask              &coefficients_predicate   = {},
       const double                      smallest_abs_coefficient = 1e-10,
       const bool                        only_flagged_cells       = false);
 
index b527113c9e3790aa3c51e667450100bea9fd654f..ff35c6d7507ed2cdcdfd96066d58c74cc210c609 100644 (file)
@@ -414,7 +414,7 @@ public:
    */
   void
   interpolate(const std::vector<VectorType> &all_in,
-              std::vector<VectorType> &      all_out) const;
+              std::vector<VectorType>       &all_out) const;
 
   /**
    * Same as the previous function. It interpolates only one function. It
@@ -546,7 +546,7 @@ private:
     std::size_t
     memory_consumption() const;
 
-    std::vector<types::global_dof_index> *                indices_ptr;
+    std::vector<types::global_dof_index>                 *indices_ptr;
     std::vector<Vector<typename VectorType::value_type>> *dof_values_ptr;
     unsigned int                                          active_fe_index;
   };
index ec4e3cdab8031ce45433d7daaa5080a70c6a1cdb..07982cf928f3108ae99563c620a37810e1f81b5f 100644 (file)
@@ -66,10 +66,10 @@ namespace TensorProductMatrixCreator
   std::pair<std::array<FullMatrix<Number>, dim>,
             std::array<FullMatrix<Number>, dim>>
   create_laplace_tensor_product_matrix(
-    const FiniteElement<1> &                            fe,
-    const Quadrature<1> &                               quadrature,
+    const FiniteElement<1>                             &fe,
+    const Quadrature<1>                                &quadrature,
     const dealii::ndarray<LaplaceBoundaryType, dim, 2> &boundary_ids,
-    const dealii::ndarray<double, dim, 3> &             cell_extent,
+    const dealii::ndarray<double, dim, 3>              &cell_extent,
     const unsigned int                                  n_overlap = 1);
 
   /**
@@ -81,11 +81,11 @@ namespace TensorProductMatrixCreator
             std::array<FullMatrix<Number>, dim>>
   create_laplace_tensor_product_matrix(
     const typename Triangulation<dim>::cell_iterator &cell,
-    const std::set<types::boundary_id> &              dirichlet_boundaries,
-    const std::set<types::boundary_id> &              neumann_boundaries,
-    const FiniteElement<1> &                          fe,
-    const Quadrature<1> &                             quadrature,
-    const dealii::ndarray<double, dim, 3> &           cell_extent,
+    const std::set<types::boundary_id>               &dirichlet_boundaries,
+    const std::set<types::boundary_id>               &neumann_boundaries,
+    const FiniteElement<1>                           &fe,
+    const Quadrature<1>                              &quadrature,
+    const dealii::ndarray<double, dim, 3>            &cell_extent,
     const unsigned int                                n_overlap = 1);
 
 } // namespace TensorProductMatrixCreator
@@ -116,7 +116,7 @@ namespace TensorProductMatrixCreator
     std::tuple<FullMatrix<Number>, FullMatrix<Number>, bool>
     create_reference_mass_and_stiffness_matrices(
       const FiniteElement<1> &fe,
-      const Quadrature<1> &   quadrature)
+      const Quadrature<1>    &quadrature)
     {
       Triangulation<1> tria;
       GridGenerator::hyper_cube(tria);
@@ -174,10 +174,10 @@ namespace TensorProductMatrixCreator
   std::pair<std::array<FullMatrix<Number>, dim>,
             std::array<FullMatrix<Number>, dim>>
   create_laplace_tensor_product_matrix(
-    const FiniteElement<1> &                            fe,
-    const Quadrature<1> &                               quadrature,
+    const FiniteElement<1>                             &fe,
+    const Quadrature<1>                                &quadrature,
     const dealii::ndarray<LaplaceBoundaryType, dim, 2> &boundary_ids,
-    const dealii::ndarray<double, dim, 3> &             cell_extent,
+    const dealii::ndarray<double, dim, 3>              &cell_extent,
     const unsigned int                                  n_overlap)
   {
     // 1) create element mass and siffness matrix (without overlap)
@@ -305,11 +305,11 @@ namespace TensorProductMatrixCreator
             std::array<FullMatrix<Number>, dim>>
   create_laplace_tensor_product_matrix(
     const typename Triangulation<dim>::cell_iterator &cell,
-    const std::set<types::boundary_id> &              dirichlet_boundaries,
-    const std::set<types::boundary_id> &              neumann_boundaries,
-    const FiniteElement<1> &                          fe,
-    const Quadrature<1> &                             quadrature,
-    const dealii::ndarray<double, dim, 3> &           cell_extent,
+    const std::set<types::boundary_id>               &dirichlet_boundaries,
+    const std::set<types::boundary_id>               &neumann_boundaries,
+    const FiniteElement<1>                           &fe,
+    const Quadrature<1>                              &quadrature,
+    const dealii::ndarray<double, dim, 3>            &cell_extent,
     const unsigned int                                n_overlap)
   {
     dealii::ndarray<LaplaceBoundaryType, dim, 2> boundary_ids;
index d316910495eb5cfe8d0b2ce7c6069ef26c9829e0..41d68715c3a3af8392f4e4a17e21927134f3f1cb 100644 (file)
@@ -1350,8 +1350,8 @@ public:
   TimeStepBase_Tria(
     const double                   time,
     const Triangulation<dim, dim> &coarse_grid,
-    const Flags &                  flags,
-    const RefinementFlags &        refinement_flags = RefinementFlags());
+    const Flags                   &flags,
+    const RefinementFlags         &refinement_flags = RefinementFlags());
 
   /**
    * Destructor. At present, this does not more than releasing the lock on the
index 772cf98c7f97a1048a5806613aee78b4027b1d3e..a2a3ccf3a725c1e5bcc6b0ac186b8aec0e51bb25 100644 (file)
@@ -150,12 +150,12 @@ namespace VectorTools
   template <int dim, int spacedim, typename number>
   void
   interpolate_boundary_values(
-    const Mapping<dim, spacedim> &   mapping,
+    const Mapping<dim, spacedim>    &mapping,
     const DoFHandler<dim, spacedim> &dof,
     const std::map<types::boundary_id, const Function<spacedim, number> *>
-      &                                        function_map,
+                                              &function_map,
     std::map<types::global_dof_index, number> &boundary_values,
-    const ComponentMask &                      component_mask = {});
+    const ComponentMask                       &component_mask = {});
 
   /**
    * Like the previous function, but take a mapping collection to go with
@@ -165,11 +165,11 @@ namespace VectorTools
   void
   interpolate_boundary_values(
     const hp::MappingCollection<dim, spacedim> &mapping,
-    const DoFHandler<dim, spacedim> &           dof,
+    const DoFHandler<dim, spacedim>            &dof,
     const std::map<types::boundary_id, const Function<spacedim, number> *>
-      &                                        function_map,
+                                              &function_map,
     std::map<types::global_dof_index, number> &boundary_values,
-    const ComponentMask &                      component_mask = {});
+    const ComponentMask                       &component_mask = {});
 
   /**
    * Like the previous functions but without Mapping argument, using
@@ -180,9 +180,9 @@ namespace VectorTools
   interpolate_boundary_values(
     const DoFHandler<dim, spacedim> &dof,
     const std::map<types::boundary_id, const Function<spacedim, number> *>
-      &                                        function_map,
+                                              &function_map,
     std::map<types::global_dof_index, number> &boundary_values,
-    const ComponentMask &                      component_mask = {});
+    const ComponentMask                       &component_mask = {});
 
   /**
    * Take only one boundary indicator with corresponding boundary function.
@@ -193,12 +193,12 @@ namespace VectorTools
   template <int dim, int spacedim, typename number>
   void
   interpolate_boundary_values(
-    const Mapping<dim, spacedim> &             mapping,
-    const DoFHandler<dim, spacedim> &          dof,
+    const Mapping<dim, spacedim>              &mapping,
+    const DoFHandler<dim, spacedim>           &dof,
     const types::boundary_id                   boundary_indicator,
-    const Function<spacedim, number> &         boundary_function,
+    const Function<spacedim, number>          &boundary_function,
     std::map<types::global_dof_index, number> &boundary_values,
-    const ComponentMask &                      component_mask = {});
+    const ComponentMask                       &component_mask = {});
 
   /**
    * Like the previous function, but take a mapping collection to go with
@@ -208,11 +208,11 @@ namespace VectorTools
   void
   interpolate_boundary_values(
     const hp::MappingCollection<dim, spacedim> &mapping,
-    const DoFHandler<dim, spacedim> &           dof,
+    const DoFHandler<dim, spacedim>            &dof,
     const types::boundary_id                    boundary_indicator,
-    const Function<spacedim, number> &          boundary_function,
-    std::map<types::global_dof_index, number> boundary_values,
-    const ComponentMask &                       component_mask = {});
+    const Function<spacedim, number>           &boundary_function,
+    std::map<types::global_dof_index, number>  &boundary_values,
+    const ComponentMask                        &component_mask = {});
 
   /**
    * Like the previous functions but without Mapping argument, using
@@ -224,11 +224,11 @@ namespace VectorTools
   template <int dim, int spacedim, typename number>
   void
   interpolate_boundary_values(
-    const DoFHandler<dim, spacedim> &          dof,
+    const DoFHandler<dim, spacedim>           &dof,
     const types::boundary_id                   boundary_indicator,
-    const Function<spacedim, number> &         boundary_function,
+    const Function<spacedim, number>          &boundary_function,
     std::map<types::global_dof_index, number> &boundary_values,
-    const ComponentMask &                      component_mask = {});
+    const ComponentMask                       &component_mask = {});
 
 
   /**
@@ -260,12 +260,12 @@ namespace VectorTools
   template <int dim, int spacedim, typename number>
   void
   interpolate_boundary_values(
-    const Mapping<dim, spacedim> &   mapping,
+    const Mapping<dim, spacedim>    &mapping,
     const DoFHandler<dim, spacedim> &dof,
     const std::map<types::boundary_id, const Function<spacedim, number> *>
-      &                        function_map,
+                              &function_map,
     AffineConstraints<number> &constraints,
-    const ComponentMask &      component_mask = {});
+    const ComponentMask       &component_mask = {});
 
   /**
    * Like the previous function, but take a mapping collection to go with
@@ -277,11 +277,11 @@ namespace VectorTools
   void
   interpolate_boundary_values(
     const hp::MappingCollection<dim, spacedim> &mapping,
-    const DoFHandler<dim, spacedim> &           dof,
+    const DoFHandler<dim, spacedim>            &dof,
     const std::map<types::boundary_id, const Function<spacedim, number> *>
-      &                        function_map,
+                              &function_map,
     AffineConstraints<number> &constraints,
-    const ComponentMask &      component_mask = {});
+    const ComponentMask       &component_mask = {});
 
   /**
    * Like the previous functions but without Mapping argument, using
@@ -294,9 +294,9 @@ namespace VectorTools
   interpolate_boundary_values(
     const DoFHandler<dim, spacedim> &dof,
     const std::map<types::boundary_id, const Function<spacedim, number> *>
-      &                        function_map,
+                              &function_map,
     AffineConstraints<number> &constraints,
-    const ComponentMask &      component_mask = {});
+    const ComponentMask       &component_mask = {});
 
   /**
    * Take only one boundary indicator with corresponding boundary function.
@@ -309,12 +309,12 @@ namespace VectorTools
   template <int dim, int spacedim, typename number>
   void
   interpolate_boundary_values(
-    const Mapping<dim, spacedim> &    mapping,
-    const DoFHandler<dim, spacedim> dof,
+    const Mapping<dim, spacedim>     &mapping,
+    const DoFHandler<dim, spacedim>  &dof,
     const types::boundary_id          boundary_indicator,
     const Function<spacedim, number> &boundary_function,
-    AffineConstraints<number> &       constraints,
-    const ComponentMask &             component_mask = {});
+    AffineConstraints<number>        &constraints,
+    const ComponentMask              &component_mask = {});
 
   /**
    * Like the previous function, but take a mapping collection to go with
@@ -326,11 +326,11 @@ namespace VectorTools
   void
   interpolate_boundary_values(
     const hp::MappingCollection<dim, spacedim> &mapping,
-    const DoFHandler<dim, spacedim> &           dof,
+    const DoFHandler<dim, spacedim>            &dof,
     const types::boundary_id                    boundary_indicator,
-    const Function<spacedim, number> &          boundary_function,
-    AffineConstraints<number> &                 constraints,
-    const ComponentMask &                       component_mask = {});
+    const Function<spacedim, number>           &boundary_function,
+    AffineConstraints<number>                  &constraints,
+    const ComponentMask                        &component_mask = {});
 
   /**
    * Like the previous functions but without Mapping argument, using
@@ -344,11 +344,11 @@ namespace VectorTools
   template <int dim, int spacedim, typename number>
   void
   interpolate_boundary_values(
-    const DoFHandler<dim, spacedim> dof,
+    const DoFHandler<dim, spacedim>  &dof,
     const types::boundary_id          boundary_indicator,
     const Function<spacedim, number> &boundary_function,
-    AffineConstraints<number> &       constraints,
-    const ComponentMask &             component_mask = {});
+    AffineConstraints<number>        &constraints,
+    const ComponentMask              &component_mask = {});
 
 
   /**
@@ -431,11 +431,11 @@ namespace VectorTools
   template <int dim, int spacedim, typename number>
   void
   project_boundary_values(
-    const Mapping<dim, spacedim> &   mapping,
+    const Mapping<dim, spacedim>    &mapping,
     const DoFHandler<dim, spacedim> &dof,
     const std::map<types::boundary_id, const Function<spacedim, number> *>
-      &                                        boundary_functions,
-    const Quadrature<dim - 1> &                q,
+                                              &boundary_functions,
+    const Quadrature<dim - 1>                 &q,
     std::map<types::global_dof_index, number> &boundary_values,
     std::vector<unsigned int>                  component_mapping = {});
 
@@ -448,8 +448,8 @@ namespace VectorTools
   project_boundary_values(
     const DoFHandler<dim, spacedim> &dof,
     const std::map<types::boundary_id, const Function<spacedim, number> *>
-      &                                        boundary_function,
-    const Quadrature<dim - 1> &                q,
+                                              &boundary_function,
+    const Quadrature<dim - 1>                 &q,
     std::map<types::global_dof_index, number> &boundary_values,
     std::vector<unsigned int>                  component_mapping = {});
 
@@ -460,10 +460,10 @@ namespace VectorTools
   void
   project_boundary_values(
     const hp::MappingCollection<dim, spacedim> &mapping,
-    const DoFHandler<dim, spacedim> &           dof,
+    const DoFHandler<dim, spacedim>            &dof,
     const std::map<types::boundary_id, const Function<spacedim, number> *>
-      &                                        boundary_functions,
-    const hp::QCollection<dim - 1> &           q,
+                                              &boundary_functions,
+    const hp::QCollection<dim - 1>            &q,
     std::map<types::global_dof_index, number> &boundary_values,
     std::vector<unsigned int>                  component_mapping = {});
 
@@ -476,8 +476,8 @@ namespace VectorTools
   project_boundary_values(
     const DoFHandler<dim, spacedim> &dof,
     const std::map<types::boundary_id, const Function<spacedim, number> *>
-      &                                        boundary_function,
-    const hp::QCollection<dim - 1> &           q,
+                                              &boundary_function,
+    const hp::QCollection<dim - 1>            &q,
     std::map<types::global_dof_index, number> &boundary_values,
     std::vector<unsigned int>                  component_mapping = {});
 
@@ -522,10 +522,10 @@ namespace VectorTools
   template <int dim, int spacedim, typename number>
   void
   project_boundary_values(
-    const Mapping<dim, spacedim> &   mapping,
+    const Mapping<dim, spacedim>    &mapping,
     const DoFHandler<dim, spacedim> &dof,
     const std::map<types::boundary_id, const Function<spacedim, number> *>
-      &                        boundary_functions,
+                              &boundary_functions,
     const Quadrature<dim - 1> &q,
     AffineConstraints<number> &constraints,
     std::vector<unsigned int>  component_mapping = {});
@@ -541,7 +541,7 @@ namespace VectorTools
   project_boundary_values(
     const DoFHandler<dim, spacedim> &dof,
     const std::map<types::boundary_id, const Function<spacedim, number> *>
-      &                        boundary_function,
+                              &boundary_function,
     const Quadrature<dim - 1> &q,
     AffineConstraints<number> &constraints,
     std::vector<unsigned int>  component_mapping = {});
@@ -644,12 +644,12 @@ namespace VectorTools
   template <int dim, typename number>
   void
   project_boundary_values_curl_conforming_l2(
-    const DoFHandler<dim, dim> dof_handler,
+    const DoFHandler<dim, dim>  &dof_handler,
     const unsigned int           first_vector_component,
     const Function<dim, number> &boundary_function,
     const types::boundary_id     boundary_component,
-    AffineConstraints<number> &  constraints,
-    const Mapping<dim> &         mapping);
+    AffineConstraints<number>   &constraints,
+    const Mapping<dim>          &mapping);
 
 
   /**
@@ -661,11 +661,11 @@ namespace VectorTools
   template <int dim, typename number>
   void
   project_boundary_values_curl_conforming_l2(
-    const DoFHandler<dim, dim> &           dof_handler,
+    const DoFHandler<dim, dim>            &dof_handler,
     const unsigned int                     first_vector_component,
-    const Function<dim, number> &          boundary_function,
+    const Function<dim, number>           &boundary_function,
     const types::boundary_id               boundary_component,
-    AffineConstraints<number> &            constraints,
+    AffineConstraints<number>             &constraints,
     const hp::MappingCollection<dim, dim> &mapping_collection =
       hp::StaticMappingQ1<dim>::mapping_collection);
 
@@ -719,12 +719,12 @@ namespace VectorTools
   template <int dim, typename number, typename number2 = number>
   void
   project_boundary_values_div_conforming(
-    const DoFHandler<dim, dim> &  dof_handler,
+    const DoFHandler<dim, dim>   &dof_handler,
     const unsigned int            first_vector_component,
     const Function<dim, number2> &boundary_function,
     const types::boundary_id      boundary_component,
-    AffineConstraints<number> &   constraints,
-    const Mapping<dim> &          mapping);
+    AffineConstraints<number>    &constraints,
+    const Mapping<dim>           &mapping);
 
   /**
    * Same as above for the hp-namespace.
@@ -737,11 +737,11 @@ namespace VectorTools
   template <int dim, typename number, typename number2 = number>
   void
   project_boundary_values_div_conforming(
-    const DoFHandler<dim, dim> &           dof_handler,
+    const DoFHandler<dim, dim>            &dof_handler,
     const unsigned int                     first_vector_component,
-    const Function<dim, number2> &         boundary_function,
+    const Function<dim, number2>          &boundary_function,
     const types::boundary_id               boundary_component,
-    AffineConstraints<number> &            constraints,
+    AffineConstraints<number>             &constraints,
     const hp::MappingCollection<dim, dim> &mapping_collection =
       hp::StaticMappingQ1<dim>::mapping_collection);
 
index aa4366c861c781b4daf1d1e60fbf838ee199fcff..3d51d2e1f2ab8587fc38852a08c4619e0d62c567 100644 (file)
@@ -58,12 +58,12 @@ namespace VectorTools
               class M_or_MC>
     static inline void
     do_interpolate_boundary_values(
-      const M_or_MC<dim, spacedim> &   mapping,
+      const M_or_MC<dim, spacedim>    &mapping,
       const DoFHandler<dim, spacedim> &dof,
       const std::map<types::boundary_id, const Function<spacedim, number> *>
-        &                                        function_map,
+                                                &function_map,
       std::map<types::global_dof_index, number> &boundary_values,
-      const ComponentMask &                      component_mask)
+      const ComponentMask                       &component_mask)
     {
       Assert(
         component_mask.represents_n_components(dof.get_fe(0).n_components()),
@@ -394,12 +394,12 @@ namespace VectorTools
   template <int dim, int spacedim, typename number>
   void
   interpolate_boundary_values(
-    const Mapping<dim, spacedim> &   mapping,
+    const Mapping<dim, spacedim>    &mapping,
     const DoFHandler<dim, spacedim> &dof,
     const std::map<types::boundary_id, const Function<spacedim, number> *>
-      &                                        function_map,
+                                              &function_map,
     std::map<types::global_dof_index, number> &boundary_values,
-    const ComponentMask &                      component_mask_)
+    const ComponentMask                       &component_mask_)
   {
     internal::do_interpolate_boundary_values(
       mapping, dof, function_map, boundary_values, component_mask_);
@@ -410,12 +410,12 @@ namespace VectorTools
   template <int dim, int spacedim, typename number>
   void
   interpolate_boundary_values(
-    const Mapping<dim, spacedim> &             mapping,
-    const DoFHandler<dim, spacedim> &          dof,
+    const Mapping<dim, spacedim>              &mapping,
+    const DoFHandler<dim, spacedim>           &dof,
     const types::boundary_id                   boundary_component,
-    const Function<spacedim, number> &         boundary_function,
+    const Function<spacedim, number>          &boundary_function,
     std::map<types::global_dof_index, number> &boundary_values,
-    const ComponentMask &                      component_mask)
+    const ComponentMask                       &component_mask)
   {
     std::map<types::boundary_id, const Function<spacedim, number> *>
       function_map = {{boundary_component, &boundary_function}};
@@ -428,11 +428,11 @@ namespace VectorTools
   void
   interpolate_boundary_values(
     const hp::MappingCollection<dim, spacedim> &mapping,
-    const DoFHandler<dim, spacedim> &           dof,
+    const DoFHandler<dim, spacedim>            &dof,
     const std::map<types::boundary_id, const Function<spacedim, number> *>
-      &                                        function_map,
+                                              &function_map,
     std::map<types::global_dof_index, number> &boundary_values,
-    const ComponentMask &                      component_mask_)
+    const ComponentMask                       &component_mask_)
   {
     internal::do_interpolate_boundary_values(
       mapping, dof, function_map, boundary_values, component_mask_);
@@ -444,11 +444,11 @@ namespace VectorTools
   void
   interpolate_boundary_values(
     const hp::MappingCollection<dim, spacedim> &mapping,
-    const DoFHandler<dim, spacedim> &           dof,
+    const DoFHandler<dim, spacedim>            &dof,
     const types::boundary_id                    boundary_component,
-    const Function<spacedim, number> &          boundary_function,
-    std::map<types::global_dof_index, number> boundary_values,
-    const ComponentMask &                       component_mask)
+    const Function<spacedim, number>           &boundary_function,
+    std::map<types::global_dof_index, number>  &boundary_values,
+    const ComponentMask                        &component_mask)
   {
     std::map<types::boundary_id, const Function<spacedim, number> *>
       function_map = {{boundary_component, &boundary_function}};
@@ -461,11 +461,11 @@ namespace VectorTools
   template <int dim, int spacedim, typename number>
   void
   interpolate_boundary_values(
-    const DoFHandler<dim, spacedim> &          dof,
+    const DoFHandler<dim, spacedim>           &dof,
     const types::boundary_id                   boundary_component,
-    const Function<spacedim, number> &         boundary_function,
+    const Function<spacedim, number>          &boundary_function,
     std::map<types::global_dof_index, number> &boundary_values,
-    const ComponentMask &                      component_mask)
+    const ComponentMask                       &component_mask)
   {
     interpolate_boundary_values(get_default_linear_mapping(
                                   dof.get_triangulation()),
@@ -483,9 +483,9 @@ namespace VectorTools
   interpolate_boundary_values(
     const DoFHandler<dim, spacedim> &dof,
     const std::map<types::boundary_id, const Function<spacedim, number> *>
-      &                                        function_map,
+                                              &function_map,
     std::map<types::global_dof_index, number> &boundary_values,
-    const ComponentMask &                      component_mask)
+    const ComponentMask                       &component_mask)
   {
     interpolate_boundary_values(get_default_linear_mapping(
                                   dof.get_triangulation()),
@@ -505,12 +505,12 @@ namespace VectorTools
   template <int dim, int spacedim, typename number>
   void
   interpolate_boundary_values(
-    const Mapping<dim, spacedim> &   mapping,
+    const Mapping<dim, spacedim>    &mapping,
     const DoFHandler<dim, spacedim> &dof,
     const std::map<types::boundary_id, const Function<spacedim, number> *>
-      &                        function_map,
+                              &function_map,
     AffineConstraints<number> &constraints,
-    const ComponentMask &      component_mask_)
+    const ComponentMask       &component_mask_)
   {
     std::map<types::global_dof_index, number> boundary_values;
     interpolate_boundary_values(
@@ -532,12 +532,12 @@ namespace VectorTools
   template <int dim, int spacedim, typename number>
   void
   interpolate_boundary_values(
-    const Mapping<dim, spacedim> &    mapping,
-    const DoFHandler<dim, spacedim> dof,
+    const Mapping<dim, spacedim>     &mapping,
+    const DoFHandler<dim, spacedim>  &dof,
     const types::boundary_id          boundary_component,
     const Function<spacedim, number> &boundary_function,
-    AffineConstraints<number> &       constraints,
-    const ComponentMask &             component_mask)
+    AffineConstraints<number>        &constraints,
+    const ComponentMask              &component_mask)
   {
     std::map<types::boundary_id, const Function<spacedim, number> *>
       function_map = {{boundary_component, &boundary_function}};
@@ -551,11 +551,11 @@ namespace VectorTools
   void
   interpolate_boundary_values(
     const hp::MappingCollection<dim, spacedim> &mapping,
-    const DoFHandler<dim, spacedim> &           dof,
+    const DoFHandler<dim, spacedim>            &dof,
     const std::map<types::boundary_id, const Function<spacedim, number> *>
-      &                        function_map,
+                              &function_map,
     AffineConstraints<number> &constraints,
-    const ComponentMask &      component_mask_)
+    const ComponentMask       &component_mask_)
   {
     std::map<types::global_dof_index, number> boundary_values;
     interpolate_boundary_values(
@@ -578,11 +578,11 @@ namespace VectorTools
   void
   interpolate_boundary_values(
     const hp::MappingCollection<dim, spacedim> &mapping,
-    const DoFHandler<dim, spacedim> &           dof,
+    const DoFHandler<dim, spacedim>            &dof,
     const types::boundary_id                    boundary_component,
-    const Function<spacedim, number> &          boundary_function,
-    AffineConstraints<number> &                 constraints,
-    const ComponentMask &                       component_mask)
+    const Function<spacedim, number>           &boundary_function,
+    AffineConstraints<number>                  &constraints,
+    const ComponentMask                        &component_mask)
   {
     std::map<types::boundary_id, const Function<spacedim, number> *>
       function_map = {{boundary_component, &boundary_function}};
@@ -595,11 +595,11 @@ namespace VectorTools
   template <int dim, int spacedim, typename number>
   void
   interpolate_boundary_values(
-    const DoFHandler<dim, spacedim> dof,
+    const DoFHandler<dim, spacedim>  &dof,
     const types::boundary_id          boundary_component,
     const Function<spacedim, number> &boundary_function,
-    AffineConstraints<number> &       constraints,
-    const ComponentMask &             component_mask)
+    AffineConstraints<number>        &constraints,
+    const ComponentMask              &component_mask)
   {
     interpolate_boundary_values(get_default_linear_mapping(
                                   dof.get_triangulation()),
@@ -617,9 +617,9 @@ namespace VectorTools
   interpolate_boundary_values(
     const DoFHandler<dim, spacedim> &dof,
     const std::map<types::boundary_id, const Function<spacedim, number> *>
-      &                        function_map,
+                              &function_map,
     AffineConstraints<number> &constraints,
-    const ComponentMask &      component_mask)
+    const ComponentMask       &component_mask)
   {
     interpolate_boundary_values(get_default_linear_mapping(
                                   dof.get_triangulation()),
@@ -698,11 +698,11 @@ namespace VectorTools
               typename number>
     void
     do_project_boundary_values(
-      const M_or_MC<dim, spacedim> &   mapping,
+      const M_or_MC<dim, spacedim>    &mapping,
       const DoFHandler<dim, spacedim> &dof,
       const std::map<types::boundary_id, const Function<spacedim, number> *>
-        &                                        boundary_functions,
-      const Q_or_QC<dim - 1> &                   q,
+                                                &boundary_functions,
+      const Q_or_QC<dim - 1>                    &q,
       std::map<types::global_dof_index, number> &boundary_values,
       std::vector<unsigned int>                  component_mapping)
     {
@@ -866,11 +866,11 @@ namespace VectorTools
   template <int dim, int spacedim, typename number>
   void
   project_boundary_values(
-    const Mapping<dim, spacedim> &   mapping,
+    const Mapping<dim, spacedim>    &mapping,
     const DoFHandler<dim, spacedim> &dof,
     const std::map<types::boundary_id, const Function<spacedim, number> *>
-      &                                        boundary_functions,
-    const Quadrature<dim - 1> &                q,
+                                              &boundary_functions,
+    const Quadrature<dim - 1>                 &q,
     std::map<types::global_dof_index, number> &boundary_values,
     std::vector<unsigned int>                  component_mapping)
   {
@@ -885,8 +885,8 @@ namespace VectorTools
   project_boundary_values(
     const DoFHandler<dim, spacedim> &dof,
     const std::map<types::boundary_id, const Function<spacedim, number> *>
-      &                                        boundary_functions,
-    const Quadrature<dim - 1> &                q,
+                                              &boundary_functions,
+    const Quadrature<dim - 1>                 &q,
     std::map<types::global_dof_index, number> &boundary_values,
     std::vector<unsigned int>                  component_mapping)
   {
@@ -904,10 +904,10 @@ namespace VectorTools
   void
   project_boundary_values(
     const hp::MappingCollection<dim, spacedim> &mapping,
-    const DoFHandler<dim, spacedim> &           dof,
+    const DoFHandler<dim, spacedim>            &dof,
     const std::map<types::boundary_id, const Function<spacedim, number> *>
-      &                                        boundary_functions,
-    const hp::QCollection<dim - 1> &           q,
+                                              &boundary_functions,
+    const hp::QCollection<dim - 1>            &q,
     std::map<types::global_dof_index, number> &boundary_values,
     std::vector<unsigned int>                  component_mapping)
   {
@@ -922,8 +922,8 @@ namespace VectorTools
   project_boundary_values(
     const DoFHandler<dim, spacedim> &dof,
     const std::map<types::boundary_id, const Function<spacedim, number> *>
-      &                                        boundary_function,
-    const hp::QCollection<dim - 1> &           q,
+                                              &boundary_function,
+    const hp::QCollection<dim - 1>            &q,
     std::map<types::global_dof_index, number> &boundary_values,
     std::vector<unsigned int>                  component_mapping)
   {
@@ -944,10 +944,10 @@ namespace VectorTools
   template <int dim, int spacedim, typename number>
   void
   project_boundary_values(
-    const Mapping<dim, spacedim> &   mapping,
+    const Mapping<dim, spacedim>    &mapping,
     const DoFHandler<dim, spacedim> &dof,
     const std::map<types::boundary_id, const Function<spacedim, number> *>
-      &                        boundary_functions,
+                              &boundary_functions,
     const Quadrature<dim - 1> &q,
     AffineConstraints<number> &constraints,
     std::vector<unsigned int>  component_mapping)
@@ -975,7 +975,7 @@ namespace VectorTools
   project_boundary_values(
     const DoFHandler<dim, spacedim> &dof,
     const std::map<types::boundary_id, const Function<spacedim, number> *>
-      &                        boundary_functions,
+                              &boundary_functions,
     const Quadrature<dim - 1> &q,
     AffineConstraints<number> &constraints,
     std::vector<unsigned int>  component_mapping)
@@ -993,14 +993,14 @@ namespace VectorTools
   {
     template <int dim, typename cell_iterator, typename number>
     std::enable_if_t<dim == 3>
-    compute_edge_projection_l2(const cell_iterator &        cell,
+    compute_edge_projection_l2(const cell_iterator         &cell,
                                const unsigned int           face,
                                const unsigned int           line,
-                               hp::FEValues<dim> &          hp_fe_values,
+                               hp::FEValues<dim>           &hp_fe_values,
                                const Function<dim, number> &boundary_function,
                                const unsigned int   first_vector_component,
                                std::vector<number> &dof_values,
-                               std::vector<bool> &  dofs_processed)
+                               std::vector<bool>   &dofs_processed)
     {
       // This function computes the L2-projection of the given
       // boundary function on 3d edges and returns the constraints
@@ -1301,13 +1301,13 @@ namespace VectorTools
     template <int dim, typename cell_iterator, typename number>
     void
     compute_face_projection_curl_conforming_l2(
-      const cell_iterator &        cell,
+      const cell_iterator         &cell,
       const unsigned int           face,
-      hp::FEFaceValues<dim> &      hp_fe_face_values,
+      hp::FEFaceValues<dim>       &hp_fe_face_values,
       const Function<dim, number> &boundary_function,
       const unsigned int           first_vector_component,
-      std::vector<number> &        dof_values,
-      std::vector<bool> &          dofs_processed)
+      std::vector<number>         &dof_values,
+      std::vector<bool>           &dofs_processed)
     {
       // This function computes the L2-projection of the boundary
       // function on the interior of faces only. In 3d, this should only be
@@ -1325,7 +1325,7 @@ namespace VectorTools
         hp_fe_face_values.get_present_fe_values();
 
       // Initialize the required objects.
-      const FiniteElement<dim> &     fe = cell->get_fe();
+      const FiniteElement<dim>      &fe = cell->get_fe();
       const std::vector<Point<dim>> &quadrature_points =
         fe_face_values.get_quadrature_points();
 
@@ -1794,11 +1794,11 @@ namespace VectorTools
     template <int dim, int spacedim, typename number>
     void
     compute_project_boundary_values_curl_conforming_l2(
-      const DoFHandler<dim, spacedim> &      dof_handler,
+      const DoFHandler<dim, spacedim>       &dof_handler,
       const unsigned int                     first_vector_component,
-      const Function<dim, number> &          boundary_function,
+      const Function<dim, number>           &boundary_function,
       const types::boundary_id               boundary_component,
-      AffineConstraints<number> &            constraints,
+      AffineConstraints<number>             &constraints,
       const hp::MappingCollection<dim, dim> &mapping_collection)
     {
       // L2-projection based interpolation formed in one (in 2d) or two (in 3d)
@@ -2107,12 +2107,12 @@ namespace VectorTools
   template <int dim, typename number>
   void
   project_boundary_values_curl_conforming_l2(
-    const DoFHandler<dim> &      dof_handler,
+    const DoFHandler<dim>       &dof_handler,
     const unsigned int           first_vector_component,
     const Function<dim, number> &boundary_function,
     const types::boundary_id     boundary_component,
-    AffineConstraints<number> &  constraints,
-    const Mapping<dim> &         mapping)
+    AffineConstraints<number>   &constraints,
+    const Mapping<dim>          &mapping)
   {
     // non-hp-version - calls the internal
     // compute_project_boundary_values_curl_conforming_l2() function
@@ -2131,11 +2131,11 @@ namespace VectorTools
   template <int dim, typename number>
   void
   project_boundary_values_curl_conforming_l2(
-    const DoFHandler<dim> &                dof_handler,
+    const DoFHandler<dim>                 &dof_handler,
     const unsigned int                     first_vector_component,
-    const Function<dim, number> &          boundary_function,
+    const Function<dim, number>           &boundary_function,
     const types::boundary_id               boundary_component,
-    AffineConstraints<number> &            constraints,
+    AffineConstraints<number>             &constraints,
     const hp::MappingCollection<dim, dim> &mapping_collection)
   {
     // hp-version - calls the internal
@@ -2158,19 +2158,19 @@ namespace VectorTools
     template <typename cell_iterator, typename number, typename number2>
     void
     compute_face_projection_div_conforming(
-      const cell_iterator &                       cell,
+      const cell_iterator                        &cell,
       const unsigned int                          face,
-      const FEFaceValues<2> &                     fe_values,
+      const FEFaceValues<2>                      &fe_values,
       const unsigned int                          first_vector_component,
-      const Function<2, number2> &                boundary_function,
+      const Function<2, number2>                 &boundary_function,
       const std::vector<DerivativeForm<1, 2, 2>> &jacobians,
-      AffineConstraints<number> &                 constraints)
+      AffineConstraints<number>                  &constraints)
     {
       // Compute the integral over the product of the normal components of
       // the boundary function times the normal components of the shape
       // functions supported on the boundary.
       const FEValuesExtractors::Vector vec(first_vector_component);
-      const FiniteElement<2> &         fe      = cell->get_fe();
+      const FiniteElement<2>          &fe      = cell->get_fe();
       const std::vector<Tensor<1, 2>> &normals = fe_values.get_normal_vectors();
       const unsigned int
         face_coordinate_direction[GeometryInfo<2>::faces_per_cell] = {1,
@@ -2263,20 +2263,20 @@ namespace VectorTools
     template <typename cell_iterator, typename number, typename number2>
     void
     compute_face_projection_div_conforming(
-      const cell_iterator &                       cell,
+      const cell_iterator                        &cell,
       const unsigned int                          face,
-      const FEFaceValues<3> &                     fe_values,
+      const FEFaceValues<3>                      &fe_values,
       const unsigned int                          first_vector_component,
-      const Function<3, number2> &                boundary_function,
+      const Function<3, number2>                 &boundary_function,
       const std::vector<DerivativeForm<1, 3, 3>> &jacobians,
-      std::vector<number> &                       dof_values,
-      std::vector<types::global_dof_index> &      projected_dofs)
+      std::vector<number>                        &dof_values,
+      std::vector<types::global_dof_index>       &projected_dofs)
     {
       // Compute the intergral over the product of the normal components of
       // the boundary function times the normal components of the shape
       // functions supported on the boundary.
       const FEValuesExtractors::Vector vec(first_vector_component);
-      const FiniteElement<3> &         fe      = cell->get_fe();
+      const FiniteElement<3>          &fe      = cell->get_fe();
       const std::vector<Tensor<1, 3>> &normals = fe_values.get_normal_vectors();
       const unsigned int
         face_coordinate_directions[GeometryInfo<3>::faces_per_cell][2] = {
@@ -2374,12 +2374,12 @@ namespace VectorTools
   template <int dim, typename number, typename number2>
   void
   project_boundary_values_div_conforming(
-    const DoFHandler<dim> &       dof_handler,
+    const DoFHandler<dim>        &dof_handler,
     const unsigned int            first_vector_component,
     const Function<dim, number2> &boundary_function,
     const types::boundary_id      boundary_component,
-    AffineConstraints<number> &   constraints,
-    const Mapping<dim> &          mapping)
+    AffineConstraints<number>    &constraints,
+    const Mapping<dim>           &mapping)
   {
     const unsigned int spacedim = dim;
     // Interpolate the normal components
@@ -2393,7 +2393,7 @@ namespace VectorTools
     // normal components of the shape
     // functions supported on the
     // boundary.
-    const FiniteElement<dim> &       fe = dof_handler.get_fe();
+    const FiniteElement<dim>        &fe = dof_handler.get_fe();
     QGauss<dim - 1>                  face_quadrature(fe.degree + 1);
     FEFaceValues<dim>                fe_face_values(mapping,
                                      fe,
@@ -2548,11 +2548,11 @@ namespace VectorTools
   template <int dim, typename number, typename number2>
   void
   project_boundary_values_div_conforming(
-    const DoFHandler<dim> &                dof_handler,
+    const DoFHandler<dim>                 &dof_handler,
     const unsigned int                     first_vector_component,
-    const Function<dim, number2> &         boundary_function,
+    const Function<dim, number2>          &boundary_function,
     const types::boundary_id               boundary_component,
-    AffineConstraints<number> &            constraints,
+    AffineConstraints<number>             &constraints,
     const hp::MappingCollection<dim, dim> &mapping_collection)
   {
     const unsigned int           spacedim = dim;
index eff98dc2b317a7603238b89212a4905872cea4e5..cb9edf30983888f0523d9c61e9bc92061f6b82a6 100644 (file)
@@ -351,7 +351,7 @@ namespace Patterns
        * Convert a string to a NormType.
        */
       static VectorTools::NormType
-      to_value(const std::string &          str,
+      to_value(const std::string           &str,
                const Patterns::PatternBase &p =
                  *Convert<VectorTools::NormType>::to_pattern())
       {
index 8150a2b05d4c8b7e402b05d5fe62b886cbcde74a..99445c9b00353f00df8324b5b74bef949ac588a7 100644 (file)
@@ -278,12 +278,12 @@ namespace VectorTools
   template <int dim, int spacedim>
   void
   compute_nonzero_normal_flux_constraints(
-    const DoFHandler<dim, spacedim> &   dof_handler,
+    const DoFHandler<dim, spacedim>    &dof_handler,
     const unsigned int                  first_vector_component,
     const std::set<types::boundary_id> &boundary_ids,
     const std::map<types::boundary_id, const Function<spacedim, double> *>
-      &                           function_map,
-    AffineConstraints<double> &   constraints,
+                                 &function_map,
+    AffineConstraints<double>    &constraints,
     const Mapping<dim, spacedim> &mapping =
       (ReferenceCells::get_hypercube<dim>()
 #ifndef _MSC_VER
@@ -305,12 +305,12 @@ namespace VectorTools
   template <int dim, int spacedim>
   void
   compute_nonzero_normal_flux_constraints_on_level(
-    const DoFHandler<dim, spacedim> &   dof_handler,
+    const DoFHandler<dim, spacedim>    &dof_handler,
     const unsigned int                  first_vector_component,
     const std::set<types::boundary_id> &boundary_ids,
     const std::map<types::boundary_id, const Function<spacedim, double> *>
-      &                           function_map,
-    AffineConstraints<double> &   constraints,
+                                 &function_map,
+    AffineConstraints<double>    &constraints,
     const Mapping<dim, spacedim> &mapping =
       (ReferenceCells::get_hypercube<dim>()
 #ifndef _MSC_VER
@@ -319,7 +319,7 @@ namespace VectorTools
          .ReferenceCell::get_default_linear_mapping<dim, spacedim>()
 #endif
          ),
-    const IndexSet &   refinement_edge_indices = IndexSet(),
+    const IndexSet    &refinement_edge_indices = IndexSet(),
     const unsigned int level                   = numbers::invalid_unsigned_int);
 
   /**
@@ -340,11 +340,11 @@ namespace VectorTools
   template <int dim, int spacedim>
   void
   compute_no_normal_flux_constraints(
-    const DoFHandler<dim, spacedim> &   dof_handler,
+    const DoFHandler<dim, spacedim>    &dof_handler,
     const unsigned int                  first_vector_component,
     const std::set<types::boundary_id> &boundary_ids,
-    AffineConstraints<double> &         constraints,
-    const Mapping<dim, spacedim> &      mapping =
+    AffineConstraints<double>          &constraints,
+    const Mapping<dim, spacedim>       &mapping =
       (ReferenceCells::get_hypercube<dim>()
 #ifndef _MSC_VER
          .template get_default_linear_mapping<dim, spacedim>()
@@ -365,11 +365,11 @@ namespace VectorTools
   template <int dim, int spacedim>
   void
   compute_no_normal_flux_constraints_on_level(
-    const DoFHandler<dim, spacedim> &   dof_handler,
+    const DoFHandler<dim, spacedim>    &dof_handler,
     const unsigned int                  first_vector_component,
     const std::set<types::boundary_id> &boundary_ids,
-    AffineConstraints<double> &         constraints,
-    const Mapping<dim, spacedim> &      mapping =
+    AffineConstraints<double>          &constraints,
+    const Mapping<dim, spacedim>       &mapping =
       (ReferenceCells::get_hypercube<dim>()
 #ifndef _MSC_VER
          .template get_default_linear_mapping<dim, spacedim>()
@@ -377,7 +377,7 @@ namespace VectorTools
          .ReferenceCell::get_default_linear_mapping<dim, spacedim>()
 #endif
          ),
-    const IndexSet &   refinement_edge_indices = IndexSet(),
+    const IndexSet    &refinement_edge_indices = IndexSet(),
     const unsigned int level                   = numbers::invalid_unsigned_int);
 
   /**
@@ -399,12 +399,12 @@ namespace VectorTools
   template <int dim, int spacedim>
   void
   compute_nonzero_tangential_flux_constraints(
-    const DoFHandler<dim, spacedim> &   dof_handler,
+    const DoFHandler<dim, spacedim>    &dof_handler,
     const unsigned int                  first_vector_component,
     const std::set<types::boundary_id> &boundary_ids,
     const std::map<types::boundary_id, const Function<spacedim, double> *>
-      &                           function_map,
-    AffineConstraints<double> &   constraints,
+                                 &function_map,
+    AffineConstraints<double>    &constraints,
     const Mapping<dim, spacedim> &mapping =
       (ReferenceCells::get_hypercube<dim>()
 #ifndef _MSC_VER
@@ -425,11 +425,11 @@ namespace VectorTools
   template <int dim, int spacedim>
   void
   compute_normal_flux_constraints(
-    const DoFHandler<dim, spacedim> &   dof_handler,
+    const DoFHandler<dim, spacedim>    &dof_handler,
     const unsigned int                  first_vector_component,
     const std::set<types::boundary_id> &boundary_ids,
-    AffineConstraints<double> &         constraints,
-    const Mapping<dim, spacedim> &      mapping =
+    AffineConstraints<double>          &constraints,
+    const Mapping<dim, spacedim>       &mapping =
       (ReferenceCells::get_hypercube<dim>()
 #ifndef _MSC_VER
          .template get_default_linear_mapping<dim, spacedim>()
index 9f4b162f7cd5627422f358712ae307a4c6f8f974..d40fd671aa2fd44f842e773e6435c20efb3b205a 100644 (file)
@@ -122,7 +122,7 @@ namespace VectorTools
     template <int dim>
     void
     add_constraint(const VectorDoFTuple<dim> &dof_indices,
-                   const Tensor<1, dim> &     constraining_vector,
+                   const Tensor<1, dim>      &constraining_vector,
                    AffineConstraints<double> &constraints,
                    const double               inhomogeneity = 0)
     {
@@ -335,9 +335,9 @@ namespace VectorTools
     void
     add_tangentiality_constraints(
       const VectorDoFTuple<dim> &dof_indices,
-      const Tensor<1, dim> &     tangent_vector,
+      const Tensor<1, dim>      &tangent_vector,
       AffineConstraints<double> &constraints,
-      const Vector<double> &     b_values = Vector<double>(dim))
+      const Vector<double>      &b_values = Vector<double>(dim))
     {
       // choose the DoF that has the
       // largest component in the
@@ -499,8 +499,8 @@ namespace VectorTools
       const typename DoFHandler<dim, spacedim>::cell_iterator &cell,
       const unsigned int                  first_vector_component,
       const std::set<types::boundary_id> &boundary_ids,
-      hp::FEFaceValues<dim, spacedim> &   x_fe_face_values,
-      const IndexSet &                    refinement_edge_indices,
+      hp::FEFaceValues<dim, spacedim>    &x_fe_face_values,
+      const IndexSet                     &refinement_edge_indices,
       const unsigned int                  level,
       std::map<FaceDoFInfo, std::array<unsigned int, dim>> &dof_to_vector_dof)
     {
@@ -578,16 +578,16 @@ namespace VectorTools
       const unsigned int                  first_vector_component,
       const std::set<types::boundary_id> &boundary_ids,
       const std::map<types::boundary_id, const Function<spacedim> *>
-        &                              function_map,
+                                      &function_map,
       hp::FEFaceValues<dim, spacedim> &x_fe_face_values,
       const unsigned int               n_dofs,
-      const IndexSet &                 refinement_edge_indices,
+      const IndexSet                  &refinement_edge_indices,
       const unsigned int               level,
       std::multimap<
         VectorDoFTuple<dim>,
         std::pair<Tensor<1, dim>,
                   typename DoFHandler<dim, spacedim>::cell_iterator>>
-        &                                            dof_to_normals_map,
+                                                    &dof_to_normals_map,
       std::map<VectorDoFTuple<dim>, Vector<double>> &dof_vector_to_b_values)
     {
       // mapping from (active_fe_index, face_no and local
@@ -759,14 +759,14 @@ namespace VectorTools
     template <int dim, int spacedim>
     void
     compute_nonzero_normal_flux_constraints_active_or_level(
-      const DoFHandler<dim, spacedim> &   dof_handler,
+      const DoFHandler<dim, spacedim>    &dof_handler,
       const unsigned int                  first_vector_component,
       const std::set<types::boundary_id> &boundary_ids,
       const std::map<types::boundary_id, const Function<spacedim> *>
-        &                           function_map,
-      AffineConstraints<double> &   constraints,
+                                   &function_map,
+      AffineConstraints<double>    &constraints,
       const Mapping<dim, spacedim> &mapping,
-      const IndexSet &              refinement_edge_indices = IndexSet(),
+      const IndexSet               &refinement_edge_indices = IndexSet(),
       const unsigned int            level = numbers::invalid_unsigned_int)
     {
       Assert(dim > 1,
@@ -1242,12 +1242,12 @@ namespace VectorTools
   template <int dim, int spacedim>
   void
   compute_nonzero_normal_flux_constraints(
-    const DoFHandler<dim, spacedim> &   dof_handler,
+    const DoFHandler<dim, spacedim>    &dof_handler,
     const unsigned int                  first_vector_component,
     const std::set<types::boundary_id> &boundary_ids,
     const std::map<types::boundary_id, const Function<spacedim> *>
-      &                           function_map,
-    AffineConstraints<double> &   constraints,
+                                 &function_map,
+    AffineConstraints<double>    &constraints,
     const Mapping<dim, spacedim> &mapping)
   {
     internal::compute_nonzero_normal_flux_constraints_active_or_level(
@@ -1264,14 +1264,14 @@ namespace VectorTools
   template <int dim, int spacedim>
   void
   compute_nonzero_normal_flux_constraints_on_level(
-    const DoFHandler<dim, spacedim> &   dof_handler,
+    const DoFHandler<dim, spacedim>    &dof_handler,
     const unsigned int                  first_vector_component,
     const std::set<types::boundary_id> &boundary_ids,
     const std::map<types::boundary_id, const Function<spacedim> *>
-      &                           function_map,
-    AffineConstraints<double> &   constraints,
+                                 &function_map,
+    AffineConstraints<double>    &constraints,
     const Mapping<dim, spacedim> &mapping,
-    const IndexSet &              refinement_edge_indices,
+    const IndexSet               &refinement_edge_indices,
     const unsigned int            level)
   {
     internal::compute_nonzero_normal_flux_constraints_active_or_level(
@@ -1305,12 +1305,12 @@ namespace VectorTools
   template <int dim, int spacedim>
   void
   compute_nonzero_tangential_flux_constraints(
-    const DoFHandler<dim, spacedim> &   dof_handler,
+    const DoFHandler<dim, spacedim>    &dof_handler,
     const unsigned int                  first_vector_component,
     const std::set<types::boundary_id> &boundary_ids,
     const std::map<types::boundary_id, const Function<spacedim> *>
-      &                           function_map,
-    AffineConstraints<double> &   constraints,
+                                 &function_map,
+    AffineConstraints<double>    &constraints,
     const Mapping<dim, spacedim> &mapping)
   {
     AffineConstraints<double> no_normal_flux_constraints(
@@ -1521,11 +1521,11 @@ namespace VectorTools
   template <int dim, int spacedim>
   void
   compute_no_normal_flux_constraints(
-    const DoFHandler<dim, spacedim> &   dof_handler,
+    const DoFHandler<dim, spacedim>    &dof_handler,
     const unsigned int                  first_vector_component,
     const std::set<types::boundary_id> &boundary_ids,
-    AffineConstraints<double> &         constraints,
-    const Mapping<dim, spacedim> &      mapping)
+    AffineConstraints<double>          &constraints,
+    const Mapping<dim, spacedim>       &mapping)
   {
     Functions::ZeroFunction<dim>                             zero_function(dim);
     std::map<types::boundary_id, const Function<spacedim> *> function_map;
@@ -1545,12 +1545,12 @@ namespace VectorTools
   template <int dim, int spacedim>
   void
   compute_no_normal_flux_constraints_on_level(
-    const DoFHandler<dim, spacedim> &   dof_handler,
+    const DoFHandler<dim, spacedim>    &dof_handler,
     const unsigned int                  first_vector_component,
     const std::set<types::boundary_id> &boundary_ids,
-    AffineConstraints<double> &         constraints,
-    const Mapping<dim, spacedim> &      mapping,
-    const IndexSet &                    refinement_edge_indices,
+    AffineConstraints<double>          &constraints,
+    const Mapping<dim, spacedim>       &mapping,
+    const IndexSet                     &refinement_edge_indices,
     const unsigned int                  level)
   {
     Functions::ZeroFunction<dim>                             zero_function(dim);
@@ -1573,11 +1573,11 @@ namespace VectorTools
   template <int dim, int spacedim>
   void
   compute_normal_flux_constraints(
-    const DoFHandler<dim, spacedim> &   dof_handler,
+    const DoFHandler<dim, spacedim>    &dof_handler,
     const unsigned int                  first_vector_component,
     const std::set<types::boundary_id> &boundary_ids,
-    AffineConstraints<double> &         constraints,
-    const Mapping<dim, spacedim> &      mapping)
+    AffineConstraints<double>          &constraints,
+    const Mapping<dim, spacedim>       &mapping)
   {
     Functions::ZeroFunction<dim>                             zero_function(dim);
     std::map<types::boundary_id, const Function<spacedim> *> function_map;
index 32a6e61a78206422fb117673f2e6120cc4570f86..69ecd574d9b3f4c248cd681b4011c4d4cb177a14 100644 (file)
@@ -148,14 +148,14 @@ namespace VectorTools
                                dim,
                                spacedim,
                                typename VectorType::value_type>::
-      value_type> point_values(const Mapping<dim> &           mapping,
+      value_type> point_values(const Mapping<dim>            &mapping,
                                const MeshType<dim, spacedim> &mesh,
-                               const VectorType &             vector,
+                               const VectorType              &vector,
                                const std::vector<Point<spacedim>>
                                  &evaluation_points,
                                Utilities::MPI::RemotePointEvaluation<dim,
                                                                      spacedim>
-                                 &                                    cache,
+                                                                     &cache,
                                const EvaluationFlags::EvaluationFlags flags =
                                  EvaluationFlags::avg,
                                const unsigned int first_selected_component = 0);
@@ -191,8 +191,8 @@ namespace VectorTools
                                typename VectorType::value_type>::
       value_type> point_values(const Utilities::MPI::
                                  RemotePointEvaluation<dim, spacedim> &cache,
-                               const MeshType<dim, spacedim> &         mesh,
-                               const VectorType &                      vector,
+                               const MeshType<dim, spacedim>          &mesh,
+                               const VectorType                       &vector,
                                const EvaluationFlags::EvaluationFlags  flags =
                                  EvaluationFlags::avg,
                                const unsigned int first_selected_component = 0);
@@ -224,9 +224,9 @@ namespace VectorTools
                                dim,
                                spacedim,
                                typename VectorType::value_type>::
-      gradient_type> point_gradients(const Mapping<dim> &           mapping,
+      gradient_type> point_gradients(const Mapping<dim>            &mapping,
                                      const MeshType<dim, spacedim> &mesh,
-                                     const VectorType &             vector,
+                                     const VectorType              &vector,
                                      const std::vector<Point<spacedim>>
                                        &evaluation_points,
                                      Utilities::MPI::RemotePointEvaluation<
@@ -267,9 +267,9 @@ namespace VectorTools
                                typename VectorType::value_type>::
       gradient_type> point_gradients(const Utilities::MPI::
                                        RemotePointEvaluation<dim, spacedim>
-                                         &                          cache,
+                                                                   &cache,
                                      const MeshType<dim, spacedim> &mesh,
-                                     const VectorType &             vector,
+                                     const VectorType              &vector,
                                      const EvaluationFlags::EvaluationFlags
                                        flags = EvaluationFlags::avg,
                                      const unsigned int
@@ -295,14 +295,14 @@ namespace VectorTools
                                dim,
                                spacedim,
                                typename VectorType::value_type>::
-      value_type> point_values(const Mapping<dim> &           mapping,
+      value_type> point_values(const Mapping<dim>            &mapping,
                                const MeshType<dim, spacedim> &mesh,
-                               const VectorType &             vector,
+                               const VectorType              &vector,
                                const std::vector<Point<spacedim>>
                                  &evaluation_points,
                                Utilities::MPI::RemotePointEvaluation<dim,
                                                                      spacedim>
-                                 &                                    cache,
+                                                                     &cache,
                                const EvaluationFlags::EvaluationFlags flags,
                                const unsigned int first_selected_component)
   {
@@ -328,9 +328,9 @@ namespace VectorTools
                                dim,
                                spacedim,
                                typename VectorType::value_type>::
-      gradient_type> point_gradients(const Mapping<dim> &           mapping,
+      gradient_type> point_gradients(const Mapping<dim>            &mapping,
                                      const MeshType<dim, spacedim> &mesh,
-                                     const VectorType &             vector,
+                                     const VectorType              &vector,
                                      const std::vector<Point<spacedim>>
                                        &evaluation_points,
                                      Utilities::MPI::RemotePointEvaluation<
@@ -357,7 +357,7 @@ namespace VectorTools
     template <typename T>
     T
     reduce(const EvaluationFlags::EvaluationFlags &flags,
-           const ArrayView<const T> &              values)
+           const ArrayView<const T>               &values)
     {
       switch (flags)
         {
@@ -385,7 +385,7 @@ namespace VectorTools
      */
     template <int rank, int dim, typename Number>
     Tensor<rank, dim, Number>
-    reduce(const EvaluationFlags::EvaluationFlags &          flags,
+    reduce(const EvaluationFlags::EvaluationFlags           &flags,
            const ArrayView<const Tensor<rank, dim, Number>> &values)
     {
       switch (flags)
@@ -453,10 +453,10 @@ namespace VectorTools
       const unsigned int i,
       const typename Utilities::MPI::RemotePointEvaluation<dim,
                                                            spacedim>::CellData
-        &                                                         cell_data,
+                                                                 &cell_data,
       const Utilities::MPI::RemotePointEvaluation<dim, spacedim> &cache,
-      const DoFHandler<dim, spacedim> &                           dof_handler,
-      const VectorType &                                          vector,
+      const DoFHandler<dim, spacedim>                            &dof_handler,
+      const VectorType                                           &vector,
       const UpdateFlags                                           update_flags,
       const dealii::EvaluationFlags::EvaluationFlags evaluation_flags,
       const unsigned int                             first_selected_component,
@@ -466,7 +466,7 @@ namespace VectorTools
                                            spacedim,
                                            typename VectorType::value_type> &,
                    const unsigned int &)>           process_quadrature_point,
-      const ArrayView<value_type> &                 values,
+      const ArrayView<value_type>                  &values,
       std::vector<typename VectorType::value_type> &solution_values,
       std::vector<
         std::unique_ptr<FEPointEvaluation<n_components,
@@ -521,8 +521,8 @@ namespace VectorTools
     template <int dim, int spacedim, typename Number>
     Number
     get_value(
-      const Triangulation<dim, spacedim> &                               tria,
-      const Vector<Number> &                                             vector,
+      const Triangulation<dim, spacedim>                                &tria,
+      const Vector<Number>                                              &vector,
       const typename Triangulation<dim, spacedim>::active_cell_iterator &cell)
     {
       (void)tria;
@@ -535,8 +535,8 @@ namespace VectorTools
     template <int dim, int spacedim, typename Number>
     Number
     get_value(
-      const Triangulation<dim, spacedim> &                               tria,
-      const LinearAlgebra::distributed::Vector<Number> &                 vector,
+      const Triangulation<dim, spacedim>                                &tria,
+      const LinearAlgebra::distributed::Vector<Number>                  &vector,
       const typename Triangulation<dim, spacedim>::active_cell_iterator &cell)
     {
       const auto distributed_tria =
@@ -596,7 +596,7 @@ namespace VectorTools
         &cell_data,
       const Utilities::MPI::RemotePointEvaluation<dim, spacedim> &,
       const Triangulation<dim, spacedim> &triangulation,
-      const VectorType &                  vector,
+      const VectorType                   &vector,
       const UpdateFlags,
       const dealii::EvaluationFlags::EvaluationFlags evaluation_flags,
       const unsigned int                             first_selected_component,
@@ -649,8 +649,8 @@ namespace VectorTools
         &&concepts::is_triangulation_or_dof_handler<MeshType>)
     inline std::vector<value_type> evaluate_at_points(
       const Utilities::MPI::RemotePointEvaluation<dim, spacedim> &cache,
-      const MeshType &                                            mesh,
-      const VectorType &                                          vector,
+      const MeshType                                             &mesh,
+      const VectorType                                           &vector,
       const EvaluationFlags::EvaluationFlags                      flags,
       const unsigned int                             first_selected_component,
       const UpdateFlags                              update_flags,
@@ -679,7 +679,7 @@ namespace VectorTools
       const auto evaluation_point_results = [&]() {
         // helper function for accessing the global vector and interpolating
         // the results onto the points
-        const auto evaluation_function = [&](auto &      values,
+        const auto evaluation_function = [&](auto       &values,
                                              const auto &cell_data) {
           std::vector<typename VectorType::value_type> solution_values;
 
@@ -762,8 +762,8 @@ namespace VectorTools
                                typename VectorType::value_type>::
       value_type> point_values(const Utilities::MPI::
                                  RemotePointEvaluation<dim, spacedim> &cache,
-                               const MeshType<dim, spacedim> &         mesh,
-                               const VectorType &                      vector,
+                               const MeshType<dim, spacedim>          &mesh,
+                               const VectorType                       &vector,
                                const EvaluationFlags::EvaluationFlags  flags,
                                const unsigned int first_selected_component)
   {
@@ -807,9 +807,9 @@ namespace VectorTools
                                typename VectorType::value_type>::
       gradient_type> point_gradients(const Utilities::MPI::
                                        RemotePointEvaluation<dim, spacedim>
-                                         &                          cache,
+                                                                   &cache,
                                      const MeshType<dim, spacedim> &mesh,
-                                     const VectorType &             vector,
+                                     const VectorType              &vector,
                                      const EvaluationFlags::EvaluationFlags
                                        flags,
                                      const unsigned int
index e2664e40b1f9252bd4c5d1305d75498c2deeea7b..ceadc51cfe8e4b65af3fac1ff136060bc9264ffd 100644 (file)
@@ -146,13 +146,13 @@ namespace VectorTools
    */
   template <int dim, typename Number, class OutVector, int spacedim>
   DEAL_II_CXX20_REQUIRES(concepts::is_writable_dealii_vector_type<OutVector>)
-  void integrate_difference(const Mapping<dim, spacedim> &    mapping,
-                            const DoFHandler<dim, spacedim> dof,
-                            const ReadVector<Number> &        fe_function,
+  void integrate_difference(const Mapping<dim, spacedim>     &mapping,
+                            const DoFHandler<dim, spacedim>  &dof,
+                            const ReadVector<Number>         &fe_function,
                             const Function<spacedim, Number> &exact_solution,
-                            OutVector &                       difference,
-                            const Quadrature<dim> &           q,
-                            const NormType &                  norm,
+                            OutVector                        &difference,
+                            const Quadrature<dim>            &q,
+                            const NormType                   &norm,
                             const Function<spacedim, double> *weight = nullptr,
                             const double                      exponent = 2.);
 
@@ -165,12 +165,12 @@ namespace VectorTools
    */
   template <int dim, typename Number, class OutVector, int spacedim>
   DEAL_II_CXX20_REQUIRES(concepts::is_writable_dealii_vector_type<OutVector>)
-  void integrate_difference(const DoFHandler<dim, spacedim> dof,
-                            const ReadVector<Number> &        fe_function,
+  void integrate_difference(const DoFHandler<dim, spacedim>  &dof,
+                            const ReadVector<Number>         &fe_function,
                             const Function<spacedim, Number> &exact_solution,
-                            OutVector &                       difference,
-                            const Quadrature<dim> &           q,
-                            const NormType &                  norm,
+                            OutVector                        &difference,
+                            const Quadrature<dim>            &q,
+                            const NormType                   &norm,
                             const Function<spacedim, double> *weight = nullptr,
                             const double                      exponent = 2.);
 
@@ -183,12 +183,12 @@ namespace VectorTools
   template <int dim, typename Number, class OutVector, int spacedim>
   DEAL_II_CXX20_REQUIRES(concepts::is_writable_dealii_vector_type<OutVector>)
   void integrate_difference(const hp::MappingCollection<dim, spacedim> &mapping,
-                            const DoFHandler<dim, spacedim> &           dof,
-                            const ReadVector<Number> &        fe_function,
+                            const DoFHandler<dim, spacedim>            &dof,
+                            const ReadVector<Number>         &fe_function,
                             const Function<spacedim, Number> &exact_solution,
-                            OutVector &                       difference,
-                            const hp::QCollection<dim> &      q,
-                            const NormType &                  norm,
+                            OutVector                        &difference,
+                            const hp::QCollection<dim>       &q,
+                            const NormType                   &norm,
                             const Function<spacedim, double> *weight = nullptr,
                             const double                      exponent = 2.);
 
@@ -201,12 +201,12 @@ namespace VectorTools
    */
   template <int dim, typename Number, class OutVector, int spacedim>
   DEAL_II_CXX20_REQUIRES(concepts::is_writable_dealii_vector_type<OutVector>)
-  void integrate_difference(const DoFHandler<dim, spacedim> dof,
-                            const ReadVector<Number> &        fe_function,
+  void integrate_difference(const DoFHandler<dim, spacedim>  &dof,
+                            const ReadVector<Number>         &fe_function,
                             const Function<spacedim, Number> &exact_solution,
-                            OutVector &                       difference,
-                            const hp::QCollection<dim> &      q,
-                            const NormType &                  norm,
+                            OutVector                        &difference,
+                            const hp::QCollection<dim>       &q,
+                            const NormType                   &norm,
                             const Function<spacedim, double> *weight = nullptr,
                             const double                      exponent = 2.);
 
index 9bc533ab823496355db7fd8f0f46536f4da31a90..13c04d0e0b095cb3ed02de3cea12cac71a52491b 100644 (file)
@@ -42,8 +42,8 @@ namespace VectorTools
     struct IDScratchData
     {
       IDScratchData(const dealii::hp::MappingCollection<dim, spacedim> &mapping,
-                    const dealii::hp::FECollection<dim, spacedim> &     fe,
-                    const dealii::hp::QCollection<dim> &                q,
+                    const dealii::hp::FECollection<dim, spacedim>      &fe,
+                    const dealii::hp::QCollection<dim>                 &q,
                     const UpdateFlags update_flags);
 
       IDScratchData(const IDScratchData &data);
@@ -74,8 +74,8 @@ namespace VectorTools
     template <int dim, int spacedim, typename Number>
     IDScratchData<dim, spacedim, Number>::IDScratchData(
       const dealii::hp::MappingCollection<dim, spacedim> &mapping,
-      const dealii::hp::FECollection<dim, spacedim> &     fe,
-      const dealii::hp::QCollection<dim> &                q,
+      const dealii::hp::FECollection<dim, spacedim>      &fe,
+      const dealii::hp::QCollection<dim>                 &q,
       const UpdateFlags                                   update_flags)
       : x_fe_values(mapping, fe, q, update_flags)
     {}
@@ -145,8 +145,8 @@ namespace VectorTools
     template <int dim, int spacedim, typename Number>
     double
     integrate_difference_inner(const Function<spacedim, Number> &exact_solution,
-                               const NormType &                  norm,
-                               const Function<spacedim> *        weight,
+                               const NormType                   &norm,
+                               const Function<spacedim>         *weight,
                                const UpdateFlags                 update_flags,
                                const double                      exponent,
                                const unsigned int                n_components,
@@ -434,13 +434,13 @@ namespace VectorTools
     DEAL_II_CXX20_REQUIRES(concepts::is_writable_dealii_vector_type<OutVector>)
     static void do_integrate_difference(
       const dealii::hp::MappingCollection<dim, spacedim> &mapping,
-      const DoFHandler<dim, spacedim> &                   dof,
-      const ReadVector<Number> &                          fe_function,
-      const Function<spacedim, Number> &                  exact_solution,
-      OutVector &                                         difference,
-      const dealii::hp::QCollection<dim> &                q,
-      const NormType &                                    norm,
-      const Function<spacedim> *                          weight,
+      const DoFHandler<dim, spacedim>                    &dof,
+      const ReadVector<Number>                           &fe_function,
+      const Function<spacedim, Number>                   &exact_solution,
+      OutVector                                          &difference,
+      const dealii::hp::QCollection<dim>                 &q,
+      const NormType                                     &norm,
+      const Function<spacedim>                           *weight,
       const double                                        exponent_1)
     {
       // we mark the "exponent" parameter to this function "const" since it is
@@ -551,14 +551,14 @@ namespace VectorTools
 
   template <int dim, typename Number, class OutVector, int spacedim>
   DEAL_II_CXX20_REQUIRES(concepts::is_writable_dealii_vector_type<OutVector>)
-  void integrate_difference(const Mapping<dim, spacedim> &    mapping,
-                            const DoFHandler<dim, spacedim> dof,
-                            const ReadVector<Number> &        fe_function,
+  void integrate_difference(const Mapping<dim, spacedim>     &mapping,
+                            const DoFHandler<dim, spacedim>  &dof,
+                            const ReadVector<Number>         &fe_function,
                             const Function<spacedim, Number> &exact_solution,
-                            OutVector &                       difference,
-                            const Quadrature<dim> &           q,
-                            const NormType &                  norm,
-                            const Function<spacedim> *        weight,
+                            OutVector                        &difference,
+                            const Quadrature<dim>            &q,
+                            const NormType                   &norm,
+                            const Function<spacedim>         *weight,
                             const double                      exponent)
   {
     internal::do_integrate_difference(hp::MappingCollection<dim, spacedim>(
@@ -576,13 +576,13 @@ namespace VectorTools
 
   template <int dim, typename Number, class OutVector, int spacedim>
   DEAL_II_CXX20_REQUIRES(concepts::is_writable_dealii_vector_type<OutVector>)
-  void integrate_difference(const DoFHandler<dim, spacedim> dof,
-                            const ReadVector<Number> &        fe_function,
+  void integrate_difference(const DoFHandler<dim, spacedim>  &dof,
+                            const ReadVector<Number>         &fe_function,
                             const Function<spacedim, Number> &exact_solution,
-                            OutVector &                       difference,
-                            const Quadrature<dim> &           q,
-                            const NormType &                  norm,
-                            const Function<spacedim> *        weight,
+                            OutVector                        &difference,
+                            const Quadrature<dim>            &q,
+                            const NormType                   &norm,
+                            const Function<spacedim>         *weight,
                             const double                      exponent)
   {
     internal::do_integrate_difference(
@@ -602,13 +602,13 @@ namespace VectorTools
   DEAL_II_CXX20_REQUIRES(concepts::is_writable_dealii_vector_type<OutVector>)
   void integrate_difference(
     const dealii::hp::MappingCollection<dim, spacedim> &mapping,
-    const DoFHandler<dim, spacedim> &                   dof,
-    const ReadVector<Number> &                          fe_function,
-    const Function<spacedim, Number> &                  exact_solution,
-    OutVector &                                         difference,
-    const dealii::hp::QCollection<dim> &                q,
-    const NormType &                                    norm,
-    const Function<spacedim> *                          weight,
+    const DoFHandler<dim, spacedim>                    &dof,
+    const ReadVector<Number>                           &fe_function,
+    const Function<spacedim, Number>                   &exact_solution,
+    OutVector                                          &difference,
+    const dealii::hp::QCollection<dim>                 &q,
+    const NormType                                     &norm,
+    const Function<spacedim>                           *weight,
     const double                                        exponent)
   {
     internal::do_integrate_difference(mapping,
@@ -624,13 +624,13 @@ namespace VectorTools
 
   template <int dim, typename Number, class OutVector, int spacedim>
   DEAL_II_CXX20_REQUIRES(concepts::is_writable_dealii_vector_type<OutVector>)
-  void integrate_difference(const DoFHandler<dim, spacedim> &   dof,
-                            const ReadVector<Number> &          fe_function,
-                            const Function<spacedim, Number> &  exact_solution,
-                            OutVector &                         difference,
+  void integrate_difference(const DoFHandler<dim, spacedim>    &dof,
+                            const ReadVector<Number>           &fe_function,
+                            const Function<spacedim, Number>   &exact_solution,
+                            OutVector                          &difference,
                             const dealii::hp::QCollection<dim> &q,
-                            const NormType &                    norm,
-                            const Function<spacedim> *          weight,
+                            const NormType                     &norm,
+                            const Function<spacedim>           *weight,
                             const double                        exponent)
   {
     internal::do_integrate_difference(
index 3bc169223573a7f2ad694377e45e9c57f4dbd73e..f31463d473d68e88d184fd2b839330db7613c831 100644 (file)
@@ -72,10 +72,10 @@ namespace VectorTools
   template <int dim, int spacedim, typename VectorType>
   DEAL_II_CXX20_REQUIRES(concepts::is_writable_dealii_vector_type<VectorType>)
   void interpolate(
-    const Mapping<dim, spacedim> &                             mapping,
-    const DoFHandler<dim, spacedim> &                          dof,
+    const Mapping<dim, spacedim>                              &mapping,
+    const DoFHandler<dim, spacedim>                           &dof,
     const Function<spacedim, typename VectorType::value_type> &function,
-    VectorType &                                               vec,
+    VectorType                                                &vec,
     const ComponentMask &component_mask = {});
 
   /**
@@ -86,10 +86,10 @@ namespace VectorTools
   template <int dim, int spacedim, typename VectorType>
   DEAL_II_CXX20_REQUIRES(concepts::is_writable_dealii_vector_type<VectorType>)
   void interpolate(
-    const hp::MappingCollection<dim, spacedim> &               mapping,
-    const DoFHandler<dim, spacedim> &                          dof,
+    const hp::MappingCollection<dim, spacedim>                &mapping,
+    const DoFHandler<dim, spacedim>                           &dof,
     const Function<spacedim, typename VectorType::value_type> &function,
-    VectorType &                                               vec,
+    VectorType                                                &vec,
     const ComponentMask &component_mask = {});
 
 
@@ -102,9 +102,9 @@ namespace VectorTools
   template <int dim, int spacedim, typename VectorType>
   DEAL_II_CXX20_REQUIRES(concepts::is_writable_dealii_vector_type<VectorType>)
   void interpolate(
-    const DoFHandler<dim, spacedim> &                          dof,
+    const DoFHandler<dim, spacedim>                           &dof,
     const Function<spacedim, typename VectorType::value_type> &function,
-    VectorType &                                               vec,
+    VectorType                                                &vec,
     const ComponentMask &component_mask = {});
 
   /**
@@ -133,9 +133,9 @@ namespace VectorTools
                            concepts::is_writable_dealii_vector_type<OutVector>)
   void interpolate(const DoFHandler<dim, spacedim> &dof_1,
                    const DoFHandler<dim, spacedim> &dof_2,
-                   const FullMatrix<double> &       transfer,
-                   const InVector &                 data_1,
-                   OutVector &                      data_2);
+                   const FullMatrix<double>        &transfer,
+                   const InVector                  &data_1,
+                   OutVector                       &data_2);
 
   /**
    * This function is a kind of generalization or modification of the very
@@ -188,12 +188,12 @@ namespace VectorTools
   template <int dim, int spacedim, typename VectorType>
   DEAL_II_CXX20_REQUIRES(concepts::is_writable_dealii_vector_type<VectorType>)
   void interpolate_based_on_material_id(
-    const Mapping<dim, spacedim> &   mapping,
+    const Mapping<dim, spacedim>    &mapping,
     const DoFHandler<dim, spacedim> &dof_handler,
     const std::map<types::material_id,
                    const Function<spacedim, typename VectorType::value_type> *>
-      &                  function_map,
-    VectorType &         dst,
+                        &function_map,
+    VectorType          &dst,
     const ComponentMask &component_mask = {});
 
   /**
@@ -225,9 +225,9 @@ namespace VectorTools
   template <int dim, int spacedim, typename VectorType>
   DEAL_II_CXX20_REQUIRES(concepts::is_writable_dealii_vector_type<VectorType>)
   void interpolate_to_different_mesh(const DoFHandler<dim, spacedim> &dof1,
-                                     const VectorType &               u1,
+                                     const VectorType                &u1,
                                      const DoFHandler<dim, spacedim> &dof2,
-                                     VectorType &                     u2);
+                                     VectorType                      &u2);
 
   /**
    * Compute the interpolation of a @p dof1-function @p u1 to a @p dof2-function
@@ -247,11 +247,11 @@ namespace VectorTools
   template <int dim, int spacedim, typename VectorType>
   DEAL_II_CXX20_REQUIRES(concepts::is_writable_dealii_vector_type<VectorType>)
   void interpolate_to_different_mesh(
-    const DoFHandler<dim, spacedim> &                         dof1,
-    const VectorType &                                        u1,
-    const DoFHandler<dim, spacedim> &                         dof2,
+    const DoFHandler<dim, spacedim>                          &dof1,
+    const VectorType                                         &u1,
+    const DoFHandler<dim, spacedim>                          &dof2,
     const AffineConstraints<typename VectorType::value_type> &constraints,
-    VectorType &                                              u2);
+    VectorType                                               &u2);
 
   /**
    * The same function as above, but takes an InterGridMap object directly as
@@ -265,10 +265,10 @@ namespace VectorTools
   template <int dim, int spacedim, typename VectorType>
   DEAL_II_CXX20_REQUIRES(concepts::is_writable_dealii_vector_type<VectorType>)
   void interpolate_to_different_mesh(
-    const InterGridMap<DoFHandler<dim, spacedim>> &           intergridmap,
-    const VectorType &                                        u1,
+    const InterGridMap<DoFHandler<dim, spacedim>>            &intergridmap,
+    const VectorType                                         &u1,
     const AffineConstraints<typename VectorType::value_type> &constraints,
-    VectorType &                                              u2);
+    VectorType                                               &u2);
 
   /** @} */
 
@@ -306,8 +306,8 @@ namespace VectorTools
   template <int dim, int spacedim, typename VectorType>
   DEAL_II_CXX20_REQUIRES(concepts::is_writable_dealii_vector_type<VectorType>)
   void get_position_vector(const DoFHandler<dim, spacedim> &dh,
-                           VectorType &                     vector,
-                           const ComponentMask &            mask = {});
+                           VectorType                      &vector,
+                           const ComponentMask             &mask = {});
 
   /**
    * Like the above function but also taking @p mapping as argument.
@@ -321,10 +321,10 @@ namespace VectorTools
    */
   template <int dim, int spacedim, typename VectorType>
   DEAL_II_CXX20_REQUIRES(concepts::is_writable_dealii_vector_type<VectorType>)
-  void get_position_vector(const Mapping<dim, spacedim> &   mapping,
+  void get_position_vector(const Mapping<dim, spacedim>    &mapping,
                            const DoFHandler<dim, spacedim> &dh,
-                           VectorType &                     vector,
-                           const ComponentMask &            mask = {});
+                           VectorType                      &vector,
+                           const ComponentMask             &mask = {});
 
   /** @} */
 } // namespace VectorTools
index 42e24dad1edc81985ccce7605b9a464f51e7cdfc..02a687b86e2df285d98a23fd8ef0c7a2f67b8004 100644 (file)
@@ -71,7 +71,7 @@ namespace VectorTools
     transform(const typename FiniteElementData<dim>::Conformity conformity,
               const unsigned int                                offset,
               const FEValuesType &fe_values_jacobians,
-              T3 &                function_values)
+              T3                 &function_values)
     {
       switch (conformity)
         {
@@ -172,8 +172,8 @@ namespace VectorTools
     unsigned int
     apply_transform(const FiniteElement<dim, spacedim> &fe,
                     const unsigned int                  offset,
-                    const FEValuesType &                fe_values_jacobians,
-                    T3 &                                function_values)
+                    const FEValuesType                 &fe_values_jacobians,
+                    T3                                 &function_values)
     {
       if (const auto *system =
             dynamic_cast<const FESystem<dim, spacedim> *>(&fe))
@@ -217,10 +217,10 @@ namespace VectorTools
     DEAL_II_CXX20_REQUIRES(concepts::is_writable_dealii_vector_type<VectorType>)
     void interpolate(
       const hp::MappingCollection<dim, spacedim> &mapping_collection,
-      const DoFHandler<dim, spacedim> &           dof_handler,
-      T &                                         function,
-      VectorType &                                vec,
-      const ComponentMask &                       component_mask)
+      const DoFHandler<dim, spacedim>            &dof_handler,
+      T                                          &function,
+      VectorType                                 &vec,
+      const ComponentMask                        &component_mask)
     {
       Assert(component_mask.represents_n_components(
                dof_handler.get_fe_collection().n_components()),
@@ -476,11 +476,11 @@ namespace VectorTools
   template <int dim, int spacedim, typename VectorType>
   DEAL_II_CXX20_REQUIRES(concepts::is_writable_dealii_vector_type<VectorType>)
   void interpolate(
-    const hp::MappingCollection<dim, spacedim> &               mapping,
-    const DoFHandler<dim, spacedim> &                          dof_handler,
+    const hp::MappingCollection<dim, spacedim>                &mapping,
+    const DoFHandler<dim, spacedim>                           &dof_handler,
     const Function<spacedim, typename VectorType::value_type> &function,
-    VectorType &                                               vec,
-    const ComponentMask &                                      component_mask)
+    VectorType                                                &vec,
+    const ComponentMask                                       &component_mask)
   {
     AssertDimension(dof_handler.get_fe_collection().n_components(),
                     function.n_components);
@@ -503,11 +503,11 @@ namespace VectorTools
   template <int dim, int spacedim, typename VectorType>
   DEAL_II_CXX20_REQUIRES(concepts::is_writable_dealii_vector_type<VectorType>)
   void interpolate(
-    const Mapping<dim, spacedim> &                             mapping,
-    const DoFHandler<dim, spacedim> &                          dof_handler,
+    const Mapping<dim, spacedim>                              &mapping,
+    const DoFHandler<dim, spacedim>                           &dof_handler,
     const Function<spacedim, typename VectorType::value_type> &function,
-    VectorType &                                               vec,
-    const ComponentMask &                                      component_mask)
+    VectorType                                                &vec,
+    const ComponentMask                                       &component_mask)
   {
     interpolate(hp::MappingCollection<dim, spacedim>(mapping),
                 dof_handler,
@@ -521,10 +521,10 @@ namespace VectorTools
   template <int dim, int spacedim, typename VectorType>
   DEAL_II_CXX20_REQUIRES(concepts::is_writable_dealii_vector_type<VectorType>)
   void interpolate(
-    const DoFHandler<dim, spacedim> &                          dof,
+    const DoFHandler<dim, spacedim>                           &dof,
     const Function<spacedim, typename VectorType::value_type> &function,
-    VectorType &                                               vec,
-    const ComponentMask &                                      component_mask)
+    VectorType                                                &vec,
+    const ComponentMask                                       &component_mask)
   {
     AssertDimension(dof.get_fe_collection().n_components(),
                     function.n_components);
@@ -542,9 +542,9 @@ namespace VectorTools
                            concepts::is_writable_dealii_vector_type<OutVector>)
   void interpolate(const DoFHandler<dim, spacedim> &dof_1,
                    const DoFHandler<dim, spacedim> &dof_2,
-                   const FullMatrix<double> &       transfer,
-                   const InVector &                 data_1,
-                   OutVector &                      data_2)
+                   const FullMatrix<double>        &transfer,
+                   const InVector                  &data_1,
+                   OutVector                       &data_2)
   {
     using number = typename OutVector::value_type;
     Vector<number> cell_data_1(dof_1.get_fe().n_dofs_per_cell());
@@ -620,8 +620,8 @@ namespace VectorTools
   template <int dim, int spacedim, typename VectorType>
   DEAL_II_CXX20_REQUIRES(concepts::is_writable_dealii_vector_type<VectorType>)
   void get_position_vector(const DoFHandler<dim, spacedim> &dh,
-                           VectorType &                     vector,
-                           const ComponentMask &            mask)
+                           VectorType                      &vector,
+                           const ComponentMask             &mask)
   {
     const FiniteElement<dim, spacedim> &fe = dh.get_fe();
     get_position_vector(
@@ -636,10 +636,10 @@ namespace VectorTools
 
   template <int dim, int spacedim, typename VectorType>
   DEAL_II_CXX20_REQUIRES(concepts::is_writable_dealii_vector_type<VectorType>)
-  void get_position_vector(const Mapping<dim, spacedim> &   map_q,
+  void get_position_vector(const Mapping<dim, spacedim>    &map_q,
                            const DoFHandler<dim, spacedim> &dh,
-                           VectorType &                     vector,
-                           const ComponentMask &            mask)
+                           VectorType                      &vector,
+                           const ComponentMask             &mask)
   {
     AssertDimension(vector.size(), dh.n_dofs());
     const FiniteElement<dim, spacedim> &fe = dh.get_fe();
@@ -811,12 +811,12 @@ namespace VectorTools
   template <int dim, int spacedim, typename VectorType>
   DEAL_II_CXX20_REQUIRES(concepts::is_writable_dealii_vector_type<VectorType>)
   void interpolate_based_on_material_id(
-    const Mapping<dim, spacedim> &   mapping,
+    const Mapping<dim, spacedim>    &mapping,
     const DoFHandler<dim, spacedim> &dof_handler,
     const std::map<types::material_id,
                    const Function<spacedim, typename VectorType::value_type> *>
-      &                  functions,
-    VectorType &         vec,
+                        &functions,
+    VectorType          &vec,
     const ComponentMask &component_mask)
   {
     // Create a small lambda capture wrapping the function map and call the
@@ -864,9 +864,9 @@ namespace VectorTools
   template <int dim, int spacedim, typename VectorType>
   DEAL_II_CXX20_REQUIRES(concepts::is_writable_dealii_vector_type<VectorType>)
   void interpolate_to_different_mesh(const DoFHandler<dim, spacedim> &dof1,
-                                     const VectorType &               u1,
+                                     const VectorType                &u1,
                                      const DoFHandler<dim, spacedim> &dof2,
-                                     VectorType &                     u2)
+                                     VectorType                      &u2)
   {
     Assert(GridTools::have_same_coarse_mesh(dof1, dof2),
            ExcMessage("The two DoF handlers must represent triangulations that "
@@ -886,11 +886,11 @@ namespace VectorTools
   template <int dim, int spacedim, typename VectorType>
   DEAL_II_CXX20_REQUIRES(concepts::is_writable_dealii_vector_type<VectorType>)
   void interpolate_to_different_mesh(
-    const DoFHandler<dim, spacedim> &                         dof1,
-    const VectorType &                                        u1,
-    const DoFHandler<dim, spacedim> &                         dof2,
+    const DoFHandler<dim, spacedim>                          &dof1,
+    const VectorType                                         &u1,
+    const DoFHandler<dim, spacedim>                          &dof2,
     const AffineConstraints<typename VectorType::value_type> &constraints,
-    VectorType &                                              u2)
+    VectorType                                               &u2)
   {
     Assert(GridTools::have_same_coarse_mesh(dof1, dof2),
            ExcMessage("The two DoF handlers must represent triangulations that "
@@ -907,10 +907,10 @@ namespace VectorTools
   template <int dim, int spacedim, typename VectorType>
   DEAL_II_CXX20_REQUIRES(concepts::is_writable_dealii_vector_type<VectorType>)
   void interpolate_to_different_mesh(
-    const InterGridMap<DoFHandler<dim, spacedim>> &           intergridmap,
-    const VectorType &                                        u1,
+    const InterGridMap<DoFHandler<dim, spacedim>>            &intergridmap,
+    const VectorType                                         &u1,
     const AffineConstraints<typename VectorType::value_type> &constraints,
-    VectorType &                                              u2)
+    VectorType                                               &u2)
   {
     const DoFHandler<dim, spacedim> &dof1 = intergridmap.get_source_grid();
     const DoFHandler<dim, spacedim> &dof2 = intergridmap.get_destination_grid();
index 3f4ecdda9a423125cb7fd6fca59a25e09f89deab..9bd26e0790f424bb703a63ab2fa64bc905b77cd3 100644 (file)
@@ -103,7 +103,7 @@ namespace VectorTools
    */
   template <typename VectorType>
   DEAL_II_CXX20_REQUIRES(concepts::is_writable_dealii_vector_type<VectorType>)
-  void subtract_mean_value(VectorType &             v,
+  void subtract_mean_value(VectorType              &v,
                            const std::vector<bool> &p_select = {});
 
   /**
@@ -136,8 +136,8 @@ namespace VectorTools
    */
   template <typename VectorType, int dim, int spacedim = dim>
   DEAL_II_CXX20_REQUIRES(concepts::is_writable_dealii_vector_type<VectorType>)
-  void add_constant(VectorType &                          solution,
-                    const DoFHandler<dim, spacedim> &     dof_handler,
+  void add_constant(VectorType                           &solution,
+                    const DoFHandler<dim, spacedim>      &dof_handler,
                     const unsigned int                    component,
                     const typename VectorType::value_type constant_adjustment);
 
@@ -168,9 +168,9 @@ namespace VectorTools
   Number
   compute_mean_value(
     const hp::MappingCollection<dim, spacedim> &mapping_collection,
-    const DoFHandler<dim, spacedim> &           dof,
-    const hp::QCollection<dim> &                q_collection,
-    const ReadVector<Number> &                  v,
+    const DoFHandler<dim, spacedim>            &dof,
+    const hp::QCollection<dim>                 &q_collection,
+    const ReadVector<Number>                   &v,
     const unsigned int                          component);
 
   /**
@@ -180,10 +180,10 @@ namespace VectorTools
    */
   template <int dim, typename Number, int spacedim>
   Number
-  compute_mean_value(const Mapping<dim, spacedim> &   mapping,
+  compute_mean_value(const Mapping<dim, spacedim>    &mapping,
                      const DoFHandler<dim, spacedim> &dof,
-                     const Quadrature<dim> &          quadrature,
-                     const ReadVector<Number> &       v,
+                     const Quadrature<dim>           &quadrature,
+                     const ReadVector<Number>        &v,
                      const unsigned int               component);
 
   /**
@@ -193,8 +193,8 @@ namespace VectorTools
   template <int dim, typename Number, int spacedim>
   Number
   compute_mean_value(const DoFHandler<dim, spacedim> &dof,
-                     const Quadrature<dim> &          quadrature,
-                     const ReadVector<Number> &       v,
+                     const Quadrature<dim>           &quadrature,
+                     const ReadVector<Number>        &v,
                      const unsigned int               component);
   /** @} */
 } // namespace VectorTools
index 4d9934a2774210267d0510d3f4277b5505f110c0..73b2aafd69e5ae49029d5cd31d3c1e65938a4c7a 100644 (file)
@@ -131,8 +131,8 @@ namespace VectorTools
 
   template <typename VectorType, int dim, int spacedim>
   DEAL_II_CXX20_REQUIRES(concepts::is_writable_dealii_vector_type<VectorType>)
-  void add_constant(VectorType &                          solution,
-                    const DoFHandler<dim, spacedim> &     dof_handler,
+  void add_constant(VectorType                           &solution,
+                    const DoFHandler<dim, spacedim>      &dof_handler,
                     const unsigned int                    component,
                     const typename VectorType::value_type constant_adjustment)
   {
@@ -293,9 +293,9 @@ namespace VectorTools
   Number
   compute_mean_value(
     const hp::MappingCollection<dim, spacedim> &mapping_collection,
-    const DoFHandler<dim, spacedim> &           dof,
-    const hp::QCollection<dim> &                q_collection,
-    const ReadVector<Number> &                  v,
+    const DoFHandler<dim, spacedim>            &dof,
+    const hp::QCollection<dim>                 &q_collection,
+    const ReadVector<Number>                   &v,
     const unsigned int                          component)
   {
     const hp::FECollection<dim, spacedim> &fe_collection =
@@ -370,10 +370,10 @@ namespace VectorTools
 
   template <int dim, typename Number, int spacedim>
   Number
-  compute_mean_value(const Mapping<dim, spacedim> &   mapping,
+  compute_mean_value(const Mapping<dim, spacedim>    &mapping,
                      const DoFHandler<dim, spacedim> &dof,
-                     const Quadrature<dim> &          quadrature,
-                     const ReadVector<Number> &       v,
+                     const Quadrature<dim>           &quadrature,
+                     const ReadVector<Number>        &v,
                      const unsigned int               component)
   {
     return compute_mean_value(hp::MappingCollection<dim, spacedim>(mapping),
@@ -387,8 +387,8 @@ namespace VectorTools
   template <int dim, typename Number, int spacedim>
   Number
   compute_mean_value(const DoFHandler<dim, spacedim> &dof,
-                     const Quadrature<dim> &          quadrature,
-                     const ReadVector<Number> &       v,
+                     const Quadrature<dim>           &quadrature,
+                     const ReadVector<Number>        &v,
                      const unsigned int               component)
   {
     return compute_mean_value(get_default_linear_mapping(
index e5b248895eeb8ad52049eb5fb53d30acdf725d70..287d52d9e2e4cc3018f308cacc9e39a86aa3e895 100644 (file)
@@ -92,8 +92,8 @@ namespace VectorTools
   DEAL_II_CXX20_REQUIRES(concepts::is_dealii_vector_type<VectorType>)
   void point_gradient(
     const DoFHandler<dim, spacedim> &dof,
-    const VectorType &               fe_function,
-    const Point<spacedim, double> &  point,
+    const VectorType                &fe_function,
+    const Point<spacedim, double>   &point,
     std::vector<Tensor<1, spacedim, typename VectorType::value_type>> &value);
 
   /**
@@ -118,8 +118,8 @@ namespace VectorTools
   DEAL_II_CXX20_REQUIRES(concepts::is_dealii_vector_type<VectorType>)
   void point_gradient(
     const DoFHandler<dim, spacedim> &dof,
-    const VectorType &               fe_function,
-    const Point<spacedim, double> &  point,
+    const VectorType                &fe_function,
+    const Point<spacedim, double>   &point,
     std::vector<Tensor<1, spacedim, typename VectorType::value_type>> &value);
 
   /**
@@ -160,8 +160,8 @@ namespace VectorTools
   DEAL_II_CXX20_REQUIRES(concepts::is_dealii_vector_type<VectorType>)
   Tensor<1, spacedim, typename VectorType::value_type> point_gradient(
     const DoFHandler<dim, spacedim> &dof,
-    const VectorType &               fe_function,
-    const Point<spacedim, double> &  point);
+    const VectorType                &fe_function,
+    const Point<spacedim, double>   &point);
 
   /**
    * Same as above for hp.
@@ -185,8 +185,8 @@ namespace VectorTools
   DEAL_II_CXX20_REQUIRES(concepts::is_dealii_vector_type<VectorType>)
   Tensor<1, spacedim, typename VectorType::value_type> point_gradient(
     const DoFHandler<dim, spacedim> &dof,
-    const VectorType &               fe_function,
-    const Point<spacedim, double> &  point);
+    const VectorType                &fe_function,
+    const Point<spacedim, double>   &point);
 
   /**
    * Evaluate a possibly vector-valued finite element function defined by the
@@ -225,10 +225,10 @@ namespace VectorTools
   template <int dim, typename VectorType, int spacedim>
   DEAL_II_CXX20_REQUIRES(concepts::is_dealii_vector_type<VectorType>)
   void point_gradient(
-    const Mapping<dim, spacedim> &   mapping,
+    const Mapping<dim, spacedim>    &mapping,
     const DoFHandler<dim, spacedim> &dof,
-    const VectorType &               fe_function,
-    const Point<spacedim, double> &  point,
+    const VectorType                &fe_function,
+    const Point<spacedim, double>   &point,
     std::vector<Tensor<1, spacedim, typename VectorType::value_type>> &value);
 
   /**
@@ -253,9 +253,9 @@ namespace VectorTools
   DEAL_II_CXX20_REQUIRES(concepts::is_dealii_vector_type<VectorType>)
   void point_gradient(
     const hp::MappingCollection<dim, spacedim> &mapping,
-    const DoFHandler<dim, spacedim> &           dof,
-    const VectorType &                          fe_function,
-    const Point<spacedim, double> &             point,
+    const DoFHandler<dim, spacedim>            &dof,
+    const VectorType                           &fe_function,
+    const Point<spacedim, double>              &point,
     std::vector<Tensor<1, spacedim, typename VectorType::value_type>> &value);
 
   /**
@@ -295,10 +295,10 @@ namespace VectorTools
   template <int dim, typename VectorType, int spacedim>
   DEAL_II_CXX20_REQUIRES(concepts::is_dealii_vector_type<VectorType>)
   Tensor<1, spacedim, typename VectorType::value_type> point_gradient(
-    const Mapping<dim, spacedim> &   mapping,
+    const Mapping<dim, spacedim>    &mapping,
     const DoFHandler<dim, spacedim> &dof,
-    const VectorType &               fe_function,
-    const Point<spacedim, double> &  point);
+    const VectorType                &fe_function,
+    const Point<spacedim, double>   &point);
 
   /**
    * Same as above for hp.
@@ -322,9 +322,9 @@ namespace VectorTools
   DEAL_II_CXX20_REQUIRES(concepts::is_dealii_vector_type<VectorType>)
   Tensor<1, spacedim, typename VectorType::value_type> point_gradient(
     const hp::MappingCollection<dim, spacedim> &mapping,
-    const DoFHandler<dim, spacedim> &           dof,
-    const VectorType &                          fe_function,
-    const Point<spacedim, double> &             point);
+    const DoFHandler<dim, spacedim>            &dof,
+    const VectorType                           &fe_function,
+    const Point<spacedim, double>              &point);
 
   /** @} */
 } // namespace VectorTools
index e2e32ed693aed125a763433ab1d62f062ce04214..b1555edc48fccf94da4a245d146edee229a8d362 100644 (file)
@@ -42,8 +42,8 @@ namespace VectorTools
   DEAL_II_CXX20_REQUIRES(concepts::is_dealii_vector_type<VectorType>)
   void point_gradient(
     const DoFHandler<dim, spacedim> &dof,
-    const VectorType &               fe_function,
-    const Point<spacedim> &          point,
+    const VectorType                &fe_function,
+    const Point<spacedim>           &point,
     std::vector<Tensor<1, spacedim, typename VectorType::value_type>>
       &gradients)
   {
@@ -66,8 +66,8 @@ namespace VectorTools
   DEAL_II_CXX20_REQUIRES(concepts::is_dealii_vector_type<VectorType>)
   Tensor<1, spacedim, typename VectorType::value_type> point_gradient(
     const DoFHandler<dim, spacedim> &dof,
-    const VectorType &               fe_function,
-    const Point<spacedim> &          point)
+    const VectorType                &fe_function,
+    const Point<spacedim>           &point)
   {
     if (dof.has_hp_capabilities() == false)
       return point_gradient(get_default_linear_mapping(dof.get_triangulation()),
@@ -86,10 +86,10 @@ namespace VectorTools
   template <int dim, typename VectorType, int spacedim>
   DEAL_II_CXX20_REQUIRES(concepts::is_dealii_vector_type<VectorType>)
   void point_gradient(
-    const Mapping<dim, spacedim> &   mapping,
+    const Mapping<dim, spacedim>    &mapping,
     const DoFHandler<dim, spacedim> &dof,
-    const VectorType &               fe_function,
-    const Point<spacedim> &          point,
+    const VectorType                &fe_function,
+    const Point<spacedim>           &point,
     std::vector<Tensor<1, spacedim, typename VectorType::value_type>> &gradient)
   {
     const FiniteElement<dim> &fe = dof.get_fe();
@@ -132,9 +132,9 @@ namespace VectorTools
   DEAL_II_CXX20_REQUIRES(concepts::is_dealii_vector_type<VectorType>)
   void point_gradient(
     const hp::MappingCollection<dim, spacedim> &mapping,
-    const DoFHandler<dim, spacedim> &           dof,
-    const VectorType &                          fe_function,
-    const Point<spacedim> &                     point,
+    const DoFHandler<dim, spacedim>            &dof,
+    const VectorType                           &fe_function,
+    const Point<spacedim>                      &point,
     std::vector<Tensor<1, spacedim, typename VectorType::value_type>> &gradient)
   {
     using Number                              = typename VectorType::value_type;
@@ -178,10 +178,10 @@ namespace VectorTools
   template <int dim, typename VectorType, int spacedim>
   DEAL_II_CXX20_REQUIRES(concepts::is_dealii_vector_type<VectorType>)
   Tensor<1, spacedim, typename VectorType::value_type> point_gradient(
-    const Mapping<dim, spacedim> &   mapping,
+    const Mapping<dim, spacedim>    &mapping,
     const DoFHandler<dim, spacedim> &dof,
-    const VectorType &               fe_function,
-    const Point<spacedim> &          point)
+    const VectorType                &fe_function,
+    const Point<spacedim>           &point)
   {
     Assert(dof.get_fe(0).n_components() == 1,
            ExcMessage(
@@ -199,9 +199,9 @@ namespace VectorTools
   DEAL_II_CXX20_REQUIRES(concepts::is_dealii_vector_type<VectorType>)
   Tensor<1, spacedim, typename VectorType::value_type> point_gradient(
     const hp::MappingCollection<dim, spacedim> &mapping,
-    const DoFHandler<dim, spacedim> &           dof,
-    const VectorType &                          fe_function,
-    const Point<spacedim> &                     point)
+    const DoFHandler<dim, spacedim>            &dof,
+    const VectorType                           &fe_function,
+    const Point<spacedim>                      &point)
   {
     Assert(dof.get_fe(0).n_components() == 1,
            ExcMessage(
index 668de2e744e08165da0f498cd4f215ac85967f1f..582ebda7b741b00f59ea45b7b6092ff49c1593df 100644 (file)
@@ -135,10 +135,10 @@ namespace VectorTools
    */
   template <int dim, int spacedim>
   void
-  create_point_source_vector(const Mapping<dim, spacedim> &   mapping,
+  create_point_source_vector(const Mapping<dim, spacedim>    &mapping,
                              const DoFHandler<dim, spacedim> &dof_handler,
-                             const Point<spacedim, double> &  p,
-                             Vector<double> &                 rhs_vector);
+                             const Point<spacedim, double>   &p,
+                             Vector<double>                  &rhs_vector);
 
   /**
    * Like the previous function, but for hp-objects.
@@ -147,9 +147,9 @@ namespace VectorTools
   void
   create_point_source_vector(
     const hp::MappingCollection<dim, spacedim> &mapping,
-    const DoFHandler<dim, spacedim> &           dof_handler,
-    const Point<spacedim, double> &             p,
-    Vector<double> &                            rhs_vector);
+    const DoFHandler<dim, spacedim>            &dof_handler,
+    const Point<spacedim, double>              &p,
+    Vector<double>                             &rhs_vector);
 
   /**
    * Call the create_point_source_vector() function, see above, with
@@ -162,8 +162,8 @@ namespace VectorTools
   template <int dim, int spacedim>
   void
   create_point_source_vector(const DoFHandler<dim, spacedim> &dof_handler,
-                             const Point<spacedim, double> &  p,
-                             Vector<double> &                 rhs_vector);
+                             const Point<spacedim, double>   &p,
+                             Vector<double>                  &rhs_vector);
 
   /**
    * Create a right hand side vector for a point source at point @p p. This
@@ -185,11 +185,11 @@ namespace VectorTools
    */
   template <int dim, int spacedim>
   void
-  create_point_source_vector(const Mapping<dim, spacedim> &   mapping,
+  create_point_source_vector(const Mapping<dim, spacedim>    &mapping,
                              const DoFHandler<dim, spacedim> &dof_handler,
-                             const Point<spacedim, double> &  p,
-                             const Point<dim, double> &       direction,
-                             Vector<double> &                 rhs_vector);
+                             const Point<spacedim, double>   &p,
+                             const Point<dim, double>        &direction,
+                             Vector<double>                  &rhs_vector);
 
   /**
    * Like the previous function, but for hp-objects.
@@ -198,10 +198,10 @@ namespace VectorTools
   void
   create_point_source_vector(
     const hp::MappingCollection<dim, spacedim> &mapping,
-    const DoFHandler<dim, spacedim> &           dof_handler,
-    const Point<spacedim, double> &             p,
-    const Point<dim, double> &                  direction,
-    Vector<double> &                            rhs_vector);
+    const DoFHandler<dim, spacedim>            &dof_handler,
+    const Point<spacedim, double>              &p,
+    const Point<dim, double>                   &direction,
+    Vector<double>                             &rhs_vector);
 
   /**
    * Call the create_point_source_vector() function for vector-valued finite
@@ -214,9 +214,9 @@ namespace VectorTools
   template <int dim, int spacedim>
   void
   create_point_source_vector(const DoFHandler<dim, spacedim> &dof_handler,
-                             const Point<spacedim, double> &  p,
-                             const Point<dim, double> &       direction,
-                             Vector<double> &                 rhs_vector);
+                             const Point<spacedim, double>   &p,
+                             const Point<dim, double>        &direction,
+                             Vector<double>                  &rhs_vector);
   /** @} */
 
   /**
@@ -241,11 +241,11 @@ namespace VectorTools
   template <int dim, typename VectorType, int spacedim>
   DEAL_II_CXX20_REQUIRES(concepts::is_dealii_vector_type<VectorType>)
   void point_difference(
-    const DoFHandler<dim, spacedim> &                          dof,
-    const VectorType &                                         fe_function,
+    const DoFHandler<dim, spacedim>                           &dof,
+    const VectorType                                          &fe_function,
     const Function<spacedim, typename VectorType::value_type> &exact_solution,
-    Vector<typename VectorType::value_type> &                  difference,
-    const Point<spacedim, double> &                            point);
+    Vector<typename VectorType::value_type>                   &difference,
+    const Point<spacedim, double>                             &point);
 
   /**
    * Point error evaluation. Find the first cell containing the given point
@@ -264,12 +264,12 @@ namespace VectorTools
   template <int dim, typename VectorType, int spacedim>
   DEAL_II_CXX20_REQUIRES(concepts::is_dealii_vector_type<VectorType>)
   void point_difference(
-    const Mapping<dim, spacedim> &                             mapping,
-    const DoFHandler<dim, spacedim> &                          dof,
-    const VectorType &                                         fe_function,
+    const Mapping<dim, spacedim>                              &mapping,
+    const DoFHandler<dim, spacedim>                           &dof,
+    const VectorType                                          &fe_function,
     const Function<spacedim, typename VectorType::value_type> &exact_solution,
-    Vector<typename VectorType::value_type> &                  difference,
-    const Point<spacedim, double> &                            point);
+    Vector<typename VectorType::value_type>                   &difference,
+    const Point<spacedim, double>                             &point);
 
   /**
    * Evaluate a possibly vector-valued finite element function defined by the
@@ -311,9 +311,9 @@ namespace VectorTools
    */
   template <int dim, typename VectorType, int spacedim>
   DEAL_II_CXX20_REQUIRES(concepts::is_dealii_vector_type<VectorType>)
-  void point_value(const DoFHandler<dim, spacedim> &        dof,
-                   const VectorType &                       fe_function,
-                   const Point<spacedim, double> &          point,
+  void point_value(const DoFHandler<dim, spacedim>         &dof,
+                   const VectorType                        &fe_function,
+                   const Point<spacedim, double>           &point,
                    Vector<typename VectorType::value_type> &value);
 
   /**
@@ -337,9 +337,9 @@ namespace VectorTools
    */
   template <int dim, typename VectorType, int spacedim>
   DEAL_II_CXX20_REQUIRES(concepts::is_dealii_vector_type<VectorType>)
-  void point_value(const DoFHandler<dim, spacedim> &        dof,
-                   const VectorType &                       fe_function,
-                   const Point<spacedim, double> &          point,
+  void point_value(const DoFHandler<dim, spacedim>         &dof,
+                   const VectorType                        &fe_function,
+                   const Point<spacedim, double>           &point,
                    Vector<typename VectorType::value_type> &value);
 
   /**
@@ -387,8 +387,8 @@ namespace VectorTools
   DEAL_II_CXX20_REQUIRES(concepts::is_dealii_vector_type<VectorType>)
   typename VectorType::value_type
     point_value(const DoFHandler<dim, spacedim> &dof,
-                const VectorType &               fe_function,
-                const Point<spacedim, double> &  point);
+                const VectorType                &fe_function,
+                const Point<spacedim, double>   &point);
 
   /**
    * Same as above for hp.
@@ -413,8 +413,8 @@ namespace VectorTools
   DEAL_II_CXX20_REQUIRES(concepts::is_dealii_vector_type<VectorType>)
   typename VectorType::value_type
     point_value(const DoFHandler<dim, spacedim> &dof,
-                const VectorType &               fe_function,
-                const Point<spacedim, double> &  point);
+                const VectorType                &fe_function,
+                const Point<spacedim, double>   &point);
 
   /**
    * Evaluate a possibly vector-valued finite element function defined by the
@@ -454,10 +454,10 @@ namespace VectorTools
    */
   template <int dim, typename VectorType, int spacedim>
   DEAL_II_CXX20_REQUIRES(concepts::is_dealii_vector_type<VectorType>)
-  void point_value(const Mapping<dim, spacedim> &           mapping,
-                   const DoFHandler<dim, spacedim> &        dof,
-                   const VectorType &                       fe_function,
-                   const Point<spacedim, double> &          point,
+  void point_value(const Mapping<dim, spacedim>            &mapping,
+                   const DoFHandler<dim, spacedim>         &dof,
+                   const VectorType                        &fe_function,
+                   const Point<spacedim, double>           &point,
                    Vector<typename VectorType::value_type> &value);
 
   /**
@@ -482,10 +482,10 @@ namespace VectorTools
   template <int dim, typename VectorType, int spacedim>
   DEAL_II_CXX20_REQUIRES(concepts::is_dealii_vector_type<VectorType>)
   void point_value(const hp::MappingCollection<dim, spacedim> &mapping,
-                   const DoFHandler<dim, spacedim> &           dof,
-                   const VectorType &                          fe_function,
-                   const Point<spacedim, double> &             point,
-                   Vector<typename VectorType::value_type> &   value);
+                   const DoFHandler<dim, spacedim>            &dof,
+                   const VectorType                           &fe_function,
+                   const Point<spacedim, double>              &point,
+                   Vector<typename VectorType::value_type>    &value);
 
   /**
    * Evaluate a scalar finite element function defined by the given DoFHandler
@@ -525,10 +525,10 @@ namespace VectorTools
   template <int dim, typename VectorType, int spacedim>
   DEAL_II_CXX20_REQUIRES(concepts::is_dealii_vector_type<VectorType>)
   typename VectorType::value_type
-    point_value(const Mapping<dim, spacedim> &   mapping,
+    point_value(const Mapping<dim, spacedim>    &mapping,
                 const DoFHandler<dim, spacedim> &dof,
-                const VectorType &               fe_function,
-                const Point<spacedim, double> &  point);
+                const VectorType                &fe_function,
+                const Point<spacedim, double>   &point);
 
   /**
    * Same as above for hp.
@@ -553,9 +553,9 @@ namespace VectorTools
   DEAL_II_CXX20_REQUIRES(concepts::is_dealii_vector_type<VectorType>)
   typename VectorType::value_type
     point_value(const hp::MappingCollection<dim, spacedim> &mapping,
-                const DoFHandler<dim, spacedim> &           dof,
-                const VectorType &                          fe_function,
-                const Point<spacedim, double> &             point);
+                const DoFHandler<dim, spacedim>            &dof,
+                const VectorType                           &fe_function,
+                const Point<spacedim, double>              &point);
   /** @} */
 } // namespace VectorTools
 
index 2ed9a2fbb52188388286b674c1b76638acd35985..f06a4c52c3e7302c79a82c0910430c083856dbdd 100644 (file)
@@ -42,9 +42,9 @@ namespace VectorTools
 {
   template <int dim, typename VectorType, int spacedim>
   DEAL_II_CXX20_REQUIRES(concepts::is_dealii_vector_type<VectorType>)
-  void point_value(const DoFHandler<dim, spacedim> &        dof,
-                   const VectorType &                       fe_function,
-                   const Point<spacedim> &                  point,
+  void point_value(const DoFHandler<dim, spacedim>         &dof,
+                   const VectorType                        &fe_function,
+                   const Point<spacedim>                   &point,
                    Vector<typename VectorType::value_type> &value)
   {
     if (dof.has_hp_capabilities() == false)
@@ -66,8 +66,8 @@ namespace VectorTools
   DEAL_II_CXX20_REQUIRES(concepts::is_dealii_vector_type<VectorType>)
   typename VectorType::value_type
     point_value(const DoFHandler<dim, spacedim> &dof,
-                const VectorType &               fe_function,
-                const Point<spacedim> &          point)
+                const VectorType                &fe_function,
+                const Point<spacedim>           &point)
   {
     if (dof.has_hp_capabilities() == false)
       return point_value(get_default_linear_mapping(dof.get_triangulation()),
@@ -84,10 +84,10 @@ namespace VectorTools
 
   template <int dim, typename VectorType, int spacedim>
   DEAL_II_CXX20_REQUIRES(concepts::is_dealii_vector_type<VectorType>)
-  void point_value(const Mapping<dim, spacedim> &           mapping,
-                   const DoFHandler<dim, spacedim> &        dof,
-                   const VectorType &                       fe_function,
-                   const Point<spacedim> &                  point,
+  void point_value(const Mapping<dim, spacedim>            &mapping,
+                   const DoFHandler<dim, spacedim>         &dof,
+                   const VectorType                        &fe_function,
+                   const Point<spacedim>                   &point,
                    Vector<typename VectorType::value_type> &value)
   {
     using Number                 = typename VectorType::value_type;
@@ -128,10 +128,10 @@ namespace VectorTools
   template <int dim, typename VectorType, int spacedim>
   DEAL_II_CXX20_REQUIRES(concepts::is_dealii_vector_type<VectorType>)
   void point_value(const hp::MappingCollection<dim, spacedim> &mapping,
-                   const DoFHandler<dim, spacedim> &           dof,
-                   const VectorType &                          fe_function,
-                   const Point<spacedim> &                     point,
-                   Vector<typename VectorType::value_type> &   value)
+                   const DoFHandler<dim, spacedim>            &dof,
+                   const VectorType                           &fe_function,
+                   const Point<spacedim>                      &point,
+                   Vector<typename VectorType::value_type>    &value)
   {
     using Number                              = typename VectorType::value_type;
     const hp::FECollection<dim, spacedim> &fe = dof.get_fe_collection();
@@ -175,10 +175,10 @@ namespace VectorTools
   template <int dim, typename VectorType, int spacedim>
   DEAL_II_CXX20_REQUIRES(concepts::is_dealii_vector_type<VectorType>)
   typename VectorType::value_type
-    point_value(const Mapping<dim, spacedim> &   mapping,
+    point_value(const Mapping<dim, spacedim>    &mapping,
                 const DoFHandler<dim, spacedim> &dof,
-                const VectorType &               fe_function,
-                const Point<spacedim> &          point)
+                const VectorType                &fe_function,
+                const Point<spacedim>           &point)
   {
     Assert(dof.get_fe(0).n_components() == 1,
            ExcMessage(
@@ -195,9 +195,9 @@ namespace VectorTools
   DEAL_II_CXX20_REQUIRES(concepts::is_dealii_vector_type<VectorType>)
   typename VectorType::value_type
     point_value(const hp::MappingCollection<dim, spacedim> &mapping,
-                const DoFHandler<dim, spacedim> &           dof,
-                const VectorType &                          fe_function,
-                const Point<spacedim> &                     point)
+                const DoFHandler<dim, spacedim>            &dof,
+                const VectorType                           &fe_function,
+                const Point<spacedim>                      &point)
   {
     Assert(dof.get_fe(0).n_components() == 1,
            ExcMessage(
@@ -213,11 +213,11 @@ namespace VectorTools
   template <int dim, typename VectorType, int spacedim>
   DEAL_II_CXX20_REQUIRES(concepts::is_dealii_vector_type<VectorType>)
   void point_difference(
-    const DoFHandler<dim, spacedim> &                          dof,
-    const VectorType &                                         fe_function,
+    const DoFHandler<dim, spacedim>                           &dof,
+    const VectorType                                          &fe_function,
     const Function<spacedim, typename VectorType::value_type> &exact_function,
-    Vector<typename VectorType::value_type> &                  difference,
-    const Point<spacedim> &                                    point)
+    Vector<typename VectorType::value_type>                   &difference,
+    const Point<spacedim>                                     &point)
   {
     point_difference(StaticMappingQ1<dim>::mapping,
                      dof,
@@ -231,12 +231,12 @@ namespace VectorTools
   template <int dim, typename VectorType, int spacedim>
   DEAL_II_CXX20_REQUIRES(concepts::is_dealii_vector_type<VectorType>)
   void point_difference(
-    const Mapping<dim, spacedim> &                             mapping,
-    const DoFHandler<dim, spacedim> &                          dof,
-    const VectorType &                                         fe_function,
+    const Mapping<dim, spacedim>                              &mapping,
+    const DoFHandler<dim, spacedim>                           &dof,
+    const VectorType                                          &fe_function,
     const Function<spacedim, typename VectorType::value_type> &exact_function,
-    Vector<typename VectorType::value_type> &                  difference,
-    const Point<spacedim> &                                    point)
+    Vector<typename VectorType::value_type>                   &difference,
+    const Point<spacedim>                                     &point)
   {
     using Number                 = typename VectorType::value_type;
     const FiniteElement<dim> &fe = dof.get_fe();
@@ -279,10 +279,10 @@ namespace VectorTools
 
   template <int dim, int spacedim>
   void
-  create_point_source_vector(const Mapping<dim, spacedim> &   mapping,
+  create_point_source_vector(const Mapping<dim, spacedim>    &mapping,
                              const DoFHandler<dim, spacedim> &dof_handler,
-                             const Point<spacedim> &          p,
-                             Vector<double> &                 rhs_vector)
+                             const Point<spacedim>           &p,
+                             Vector<double>                  &rhs_vector)
   {
     Assert(rhs_vector.size() == dof_handler.n_dofs(),
            ExcDimensionMismatch(rhs_vector.size(), dof_handler.n_dofs()));
@@ -322,8 +322,8 @@ namespace VectorTools
   template <int dim, int spacedim>
   void
   create_point_source_vector(const DoFHandler<dim, spacedim> &dof_handler,
-                             const Point<spacedim> &          p,
-                             Vector<double> &                 rhs_vector)
+                             const Point<spacedim>           &p,
+                             Vector<double>                  &rhs_vector)
   {
     if (dof_handler.has_hp_capabilities())
       create_point_source_vector(
@@ -344,9 +344,9 @@ namespace VectorTools
   void
   create_point_source_vector(
     const hp::MappingCollection<dim, spacedim> &mapping,
-    const DoFHandler<dim, spacedim> &           dof_handler,
-    const Point<spacedim> &                     p,
-    Vector<double> &                            rhs_vector)
+    const DoFHandler<dim, spacedim>            &dof_handler,
+    const Point<spacedim>                      &p,
+    Vector<double>                             &rhs_vector)
   {
     Assert(rhs_vector.size() == dof_handler.n_dofs(),
            ExcDimensionMismatch(rhs_vector.size(), dof_handler.n_dofs()));
@@ -386,11 +386,11 @@ namespace VectorTools
 
   template <int dim, int spacedim>
   void
-  create_point_source_vector(const Mapping<dim, spacedim> &   mapping,
+  create_point_source_vector(const Mapping<dim, spacedim>    &mapping,
                              const DoFHandler<dim, spacedim> &dof_handler,
-                             const Point<spacedim> &          p,
-                             const Point<dim> &               orientation,
-                             Vector<double> &                 rhs_vector)
+                             const Point<spacedim>           &p,
+                             const Point<dim>                &orientation,
+                             Vector<double>                  &rhs_vector)
   {
     Assert(rhs_vector.size() == dof_handler.n_dofs(),
            ExcDimensionMismatch(rhs_vector.size(), dof_handler.n_dofs()));
@@ -433,9 +433,9 @@ namespace VectorTools
   template <int dim, int spacedim>
   void
   create_point_source_vector(const DoFHandler<dim, spacedim> &dof_handler,
-                             const Point<spacedim> &          p,
-                             const Point<dim> &               orientation,
-                             Vector<double> &                 rhs_vector)
+                             const Point<spacedim>           &p,
+                             const Point<dim>                &orientation,
+                             Vector<double>                  &rhs_vector)
   {
     if (dof_handler.has_hp_capabilities())
       create_point_source_vector(
@@ -458,10 +458,10 @@ namespace VectorTools
   void
   create_point_source_vector(
     const hp::MappingCollection<dim, spacedim> &mapping,
-    const DoFHandler<dim, spacedim> &           dof_handler,
-    const Point<spacedim> &                     p,
-    const Point<dim> &                          orientation,
-    Vector<double> &                            rhs_vector)
+    const DoFHandler<dim, spacedim>            &dof_handler,
+    const Point<spacedim>                      &p,
+    const Point<dim>                           &orientation,
+    Vector<double>                             &rhs_vector)
   {
     Assert(rhs_vector.size() == dof_handler.n_dofs(),
            ExcDimensionMismatch(rhs_vector.size(), dof_handler.n_dofs()));
index f590b6e9277e4cabeddd276a5c93e31aab6a85cd..afaaf179e035e088bdba4ab5828a9360374a1f5b 100644 (file)
@@ -145,12 +145,12 @@ namespace VectorTools
   template <int dim, typename VectorType, int spacedim>
   DEAL_II_CXX20_REQUIRES(concepts::is_writable_dealii_vector_type<VectorType>)
   void project(
-    const Mapping<dim, spacedim> &                             mapping,
-    const DoFHandler<dim, spacedim> &                          dof,
-    const AffineConstraints<typename VectorType::value_type> constraints,
-    const Quadrature<dim> &                                    quadrature,
+    const Mapping<dim, spacedim>                              &mapping,
+    const DoFHandler<dim, spacedim>                           &dof,
+    const AffineConstraints<typename VectorType::value_type>  &constraints,
+    const Quadrature<dim>                                     &quadrature,
     const Function<spacedim, typename VectorType::value_type> &function,
-    VectorType &                                               vec,
+    VectorType                                                &vec,
     const bool                 enforce_zero_boundary = false,
     const Quadrature<dim - 1> &q_boundary = (dim > 1 ? QGauss<dim - 1>(2) :
                                                        Quadrature<dim - 1>(0)),
@@ -165,11 +165,11 @@ namespace VectorTools
   template <int dim, typename VectorType, int spacedim>
   DEAL_II_CXX20_REQUIRES(concepts::is_writable_dealii_vector_type<VectorType>)
   void project(
-    const DoFHandler<dim, spacedim> &                          dof,
-    const AffineConstraints<typename VectorType::value_type> constraints,
-    const Quadrature<dim> &                                    quadrature,
+    const DoFHandler<dim, spacedim>                           &dof,
+    const AffineConstraints<typename VectorType::value_type>  &constraints,
+    const Quadrature<dim>                                     &quadrature,
     const Function<spacedim, typename VectorType::value_type> &function,
-    VectorType &                                               vec,
+    VectorType                                                &vec,
     const bool                 enforce_zero_boundary = false,
     const Quadrature<dim - 1> &q_boundary = (dim > 1 ? QGauss<dim - 1>(2) :
                                                        Quadrature<dim - 1>(0)),
@@ -183,12 +183,12 @@ namespace VectorTools
   template <int dim, typename VectorType, int spacedim>
   DEAL_II_CXX20_REQUIRES(concepts::is_writable_dealii_vector_type<VectorType>)
   void project(
-    const hp::MappingCollection<dim, spacedim> &               mapping,
-    const DoFHandler<dim, spacedim> &                          dof,
-    const AffineConstraints<typename VectorType::value_type> constraints,
-    const hp::QCollection<dim> &                               quadrature,
+    const hp::MappingCollection<dim, spacedim>                &mapping,
+    const DoFHandler<dim, spacedim>                           &dof,
+    const AffineConstraints<typename VectorType::value_type>  &constraints,
+    const hp::QCollection<dim>                                &quadrature,
     const Function<spacedim, typename VectorType::value_type> &function,
-    VectorType &                                               vec,
+    VectorType                                                &vec,
     const bool                      enforce_zero_boundary = false,
     const hp::QCollection<dim - 1> &q_boundary = hp::QCollection<dim - 1>(
       dim > 1 ? QGauss<dim - 1>(2) : Quadrature<dim - 1>(0)),
@@ -203,11 +203,11 @@ namespace VectorTools
   template <int dim, typename VectorType, int spacedim>
   DEAL_II_CXX20_REQUIRES(concepts::is_writable_dealii_vector_type<VectorType>)
   void project(
-    const DoFHandler<dim, spacedim> &                          dof,
-    const AffineConstraints<typename VectorType::value_type> constraints,
-    const hp::QCollection<dim> &                               quadrature,
+    const DoFHandler<dim, spacedim>                           &dof,
+    const AffineConstraints<typename VectorType::value_type>  &constraints,
+    const hp::QCollection<dim>                                &quadrature,
     const Function<spacedim, typename VectorType::value_type> &function,
-    VectorType &                                               vec,
+    VectorType                                                &vec,
     const bool                      enforce_zero_boundary = false,
     const hp::QCollection<dim - 1> &q_boundary = hp::QCollection<dim - 1>(
       dim > 1 ? QGauss<dim - 1>(2) : Quadrature<dim - 1>(0)),
@@ -242,14 +242,14 @@ namespace VectorTools
   template <int dim, typename VectorType, int spacedim>
   DEAL_II_CXX20_REQUIRES(concepts::is_writable_dealii_vector_type<VectorType>)
   void project(
-    const Mapping<dim, spacedim> &                            mapping,
-    const DoFHandler<dim, spacedim> &                         dof,
+    const Mapping<dim, spacedim>                             &mapping,
+    const DoFHandler<dim, spacedim>                          &dof,
     const AffineConstraints<typename VectorType::value_type> &constraints,
-    const Quadrature<dim> &                                   quadrature,
+    const Quadrature<dim>                                    &quadrature,
     const std::function<typename VectorType::value_type(
       const typename DoFHandler<dim, spacedim>::active_cell_iterator &,
-      const unsigned int)> &                                  func,
-    VectorType &                                              vec_result);
+      const unsigned int)>                                   &func,
+    VectorType                                               &vec_result);
 
   /**
    * The same as above for projection of scalar-valued MatrixFree quadrature
@@ -292,8 +292,8 @@ namespace VectorTools
     const unsigned int                                        n_q_points_1d,
     const std::function<VectorizedArray<typename VectorType::value_type>(
       const unsigned int,
-      const unsigned int)> &                                  func,
-    VectorType &                                              vec_result,
+      const unsigned int)>                                   &func,
+    VectorType                                               &vec_result,
     const unsigned int                                        fe_component = 0);
 
   /**
@@ -312,8 +312,8 @@ namespace VectorTools
     const AffineConstraints<typename VectorType::value_type> &constraints,
     const std::function<VectorizedArray<typename VectorType::value_type>(
       const unsigned int,
-      const unsigned int)> &                                  func,
-    VectorType &                                              vec_result,
+      const unsigned int)>                                   &func,
+    VectorType                                               &vec_result,
     const unsigned int                                        fe_component = 0);
 
   /** @} */
index ff8cbd12ea839f49daa2245d9f16e5e0aefc9bb2..dfaefee818f5ac4019b4ce4d294c52efb3a5d43e 100644 (file)
@@ -54,7 +54,7 @@ namespace VectorTools
     template <int dim, int spacedim, typename Number>
     void
     interpolate_zero_boundary_values(
-      const DoFHandler<dim, spacedim> &          dof_handler,
+      const DoFHandler<dim, spacedim>           &dof_handler,
       std::map<types::global_dof_index, Number> &boundary_values)
     {
       // loop over all boundary faces
@@ -112,11 +112,11 @@ namespace VectorTools
               typename Number>
     void
     project_compute_b_v(
-      const M_or_MC<dim, spacedim> &             mapping,
-      const DoFHandler<dim, spacedim> &          dof,
-      const Function<spacedim, Number> &         function,
+      const M_or_MC<dim, spacedim>              &mapping,
+      const DoFHandler<dim, spacedim>           &dof,
+      const Function<spacedim, Number>          &function,
       const bool                                 enforce_zero_boundary,
-      const Q_or_QC<dim - 1> &                   q_boundary,
+      const Q_or_QC<dim - 1>                    &q_boundary,
       const bool                                 project_to_boundary_first,
       std::map<types::global_dof_index, Number> &boundary_values)
     {
@@ -130,24 +130,24 @@ namespace VectorTools
       else
         // no homogeneous boundary values
         if (project_to_boundary_first == true)
-        // boundary projection required
-        {
-          // set up a list of boundary
-          // functions for the
-          // different boundary
-          // parts. We want the
-          // function to hold on
-          // all parts of the boundary
-          const std::vector<types::boundary_id> used_boundary_ids =
-            dof.get_triangulation().get_boundary_ids();
-
-          std::map<types::boundary_id, const Function<spacedim, Number> *>
-            boundary_functions;
-          for (const auto used_boundary_id : used_boundary_ids)
-            boundary_functions[used_boundary_id] = &function;
-          project_boundary_values(
-            mapping, dof, boundary_functions, q_boundary, boundary_values);
-        }
+          // boundary projection required
+          {
+            // set up a list of boundary
+            // functions for the
+            // different boundary
+            // parts. We want the
+            // function to hold on
+            // all parts of the boundary
+            const std::vector<types::boundary_id> used_boundary_ids =
+              dof.get_triangulation().get_boundary_ids();
+
+            std::map<types::boundary_id, const Function<spacedim, Number> *>
+              boundary_functions;
+            for (const auto used_boundary_id : used_boundary_ids)
+              boundary_functions[used_boundary_id] = &function;
+            project_boundary_values(
+              mapping, dof, boundary_functions, q_boundary, boundary_values);
+          }
     }
 
 
@@ -159,17 +159,17 @@ namespace VectorTools
     template <int components, int dim, typename Number, int spacedim>
     void
     project_matrix_free(
-      const Mapping<dim, spacedim> &   mapping,
+      const Mapping<dim, spacedim>    &mapping,
       const DoFHandler<dim, spacedim> &dof,
       const AffineConstraints<Number> &constraints,
-      const Quadrature<dim> &          quadrature,
+      const Quadrature<dim>           &quadrature,
       const Function<
         spacedim,
         typename LinearAlgebra::distributed::Vector<Number>::value_type>
-        &                                         function,
+                                                 &function,
       LinearAlgebra::distributed::Vector<Number> &work_result,
       const bool                                  enforce_zero_boundary,
-      const Quadrature<dim - 1> &                 q_boundary,
+      const Quadrature<dim - 1>                  &q_boundary,
       const bool                                  project_to_boundary_first)
     {
       Assert(project_to_boundary_first == false, ExcNotImplemented());
@@ -331,17 +331,17 @@ namespace VectorTools
     template <int dim, typename Number, int spacedim>
     void
     project_matrix_free_component(
-      const Mapping<dim, spacedim> &   mapping,
+      const Mapping<dim, spacedim>    &mapping,
       const DoFHandler<dim, spacedim> &dof,
       const AffineConstraints<Number> &constraints,
-      const Quadrature<dim> &          quadrature,
+      const Quadrature<dim>           &quadrature,
       const Function<
         spacedim,
         typename LinearAlgebra::distributed::Vector<Number>::value_type>
-        &                                         function,
+                                                 &function,
       LinearAlgebra::distributed::Vector<Number> &work_result,
       const bool                                  enforce_zero_boundary,
-      const Quadrature<dim - 1> &                 q_boundary,
+      const Quadrature<dim - 1>                  &q_boundary,
       const bool                                  project_to_boundary_first)
     {
       switch (dof.get_fe(0).n_components())
@@ -411,12 +411,12 @@ namespace VectorTools
     template <int dim, typename VectorType, int spacedim>
     DEAL_II_CXX20_REQUIRES(concepts::is_writable_dealii_vector_type<VectorType>)
     void project_matrix_free_copy_vector(
-      const Mapping<dim, spacedim> &                             mapping,
-      const DoFHandler<dim, spacedim> &                          dof,
-      const AffineConstraints<typename VectorType::value_type> constraints,
-      const Quadrature<dim> &                                    quadrature,
+      const Mapping<dim, spacedim>                              &mapping,
+      const DoFHandler<dim, spacedim>                           &dof,
+      const AffineConstraints<typename VectorType::value_type>  &constraints,
+      const Quadrature<dim>                                     &quadrature,
       const Function<spacedim, typename VectorType::value_type> &function,
-      VectorType &                                               vec_result,
+      VectorType                                                &vec_result,
       const bool                 enforce_zero_boundary,
       const Quadrature<dim - 1> &q_boundary,
       const bool                 project_to_boundary_first)
@@ -451,7 +451,7 @@ namespace VectorTools
     template <typename Number>
     bool
     constraints_and_b_v_are_compatible(
-      const AffineConstraints<Number> &          constraints,
+      const AffineConstraints<Number>           &constraints,
       std::map<types::global_dof_index, Number> &boundary_values)
     {
       for (const auto &boundary_value : boundary_values)
@@ -483,12 +483,12 @@ namespace VectorTools
               class Q_or_QC>
     DEAL_II_CXX20_REQUIRES(concepts::is_writable_dealii_vector_type<VectorType>)
     void do_project(
-      const M_or_MC<dim, spacedim> &                             mapping,
-      const DoFHandler<dim, spacedim> &                          dof,
-      const AffineConstraints<typename VectorType::value_type> constraints,
-      const Q_or_QC<dim> &                                       quadrature,
+      const M_or_MC<dim, spacedim>                              &mapping,
+      const DoFHandler<dim, spacedim>                           &dof,
+      const AffineConstraints<typename VectorType::value_type>  &constraints,
+      const Q_or_QC<dim>                                        &quadrature,
       const Function<spacedim, typename VectorType::value_type> &function,
-      VectorType &                                               vec_result,
+      VectorType                                                &vec_result,
       const bool              enforce_zero_boundary,
       const Q_or_QC<dim - 1> &q_boundary,
       const bool              project_to_boundary_first)
@@ -584,14 +584,14 @@ namespace VectorTools
     template <int dim, typename VectorType, int spacedim>
     DEAL_II_CXX20_REQUIRES(concepts::is_writable_dealii_vector_type<VectorType>)
     void project_parallel(
-      const Mapping<dim, spacedim> &                            mapping,
-      const DoFHandler<dim, spacedim> &                         dof,
+      const Mapping<dim, spacedim>                             &mapping,
+      const DoFHandler<dim, spacedim>                          &dof,
       const AffineConstraints<typename VectorType::value_type> &constraints,
-      const Quadrature<dim> &                                   quadrature,
+      const Quadrature<dim>                                    &quadrature,
       const std::function<typename VectorType::value_type(
         const typename DoFHandler<dim, spacedim>::active_cell_iterator &,
-        const unsigned int)> &                                  func,
-      VectorType &                                              vec_result)
+        const unsigned int)>                                   &func,
+      VectorType                                               &vec_result)
     {
       using Number          = typename VectorType::value_type;
       using LocalVectorType = LinearAlgebra::distributed::Vector<Number>;
@@ -673,7 +673,7 @@ namespace VectorTools
 
       constraints.distribute(vec);
 
-      const IndexSet &          locally_owned_dofs = dof.locally_owned_dofs();
+      const IndexSet           &locally_owned_dofs = dof.locally_owned_dofs();
       IndexSet::ElementIterator it                 = locally_owned_dofs.begin();
       for (; it != locally_owned_dofs.end(); ++it)
         ::dealii::internal::ElementAccess<VectorType>::set(vec(*it),
@@ -692,8 +692,8 @@ namespace VectorTools
       const AffineConstraints<typename VectorType::value_type> &constraints,
       const std::function<VectorizedArray<typename VectorType::value_type>(
         const unsigned int,
-        const unsigned int)> &                                  func,
-      VectorType &                                              vec_result,
+        const unsigned int)>                                   &func,
+      VectorType                                               &vec_result,
       const unsigned int                                        fe_component)
     {
       const DoFHandler<dim, spacedim> &dof =
@@ -752,7 +752,7 @@ namespace VectorTools
 
       constraints.distribute(vec);
 
-      const IndexSet &          locally_owned_dofs = dof.locally_owned_dofs();
+      const IndexSet           &locally_owned_dofs = dof.locally_owned_dofs();
       IndexSet::ElementIterator it                 = locally_owned_dofs.begin();
       for (; it != locally_owned_dofs.end(); ++it)
         ::dealii::internal::ElementAccess<VectorType>::set(vec(*it),
@@ -776,14 +776,14 @@ namespace VectorTools
     std::enable_if_t<
       !numbers::NumberTraits<typename VectorType::value_type>::is_complex &&
         (dim == spacedim),
-      void> project(const Mapping<dim, spacedim> &   mapping,
+      void> project(const Mapping<dim, spacedim>    &mapping,
                     const DoFHandler<dim, spacedim> &dof,
                     const AffineConstraints<typename VectorType::value_type>
-                      &                    constraints,
+                                          &constraints,
                     const Quadrature<dim> &quadrature,
                     const Function<spacedim, typename VectorType::value_type>
-                      &                        function,
-                    VectorType &               vec_result,
+                                              &function,
+                    VectorType                &vec_result,
                     const bool                 enforce_zero_boundary,
                     const Quadrature<dim - 1> &q_boundary,
                     const bool                 project_to_boundary_first)
@@ -842,14 +842,14 @@ namespace VectorTools
     std::enable_if_t<
       numbers::NumberTraits<typename VectorType::value_type>::is_complex ||
         (dim < spacedim),
-      void> project(const Mapping<dim, spacedim> &   mapping,
+      void> project(const Mapping<dim, spacedim>    &mapping,
                     const DoFHandler<dim, spacedim> &dof,
                     const AffineConstraints<typename VectorType::value_type>
-                      &                    constraints,
+                                          &constraints,
                     const Quadrature<dim> &quadrature,
                     const Function<spacedim, typename VectorType::value_type>
-                      &                        function,
-                    VectorType &               vec_result,
+                                              &function,
+                    VectorType                &vec_result,
                     const bool                 enforce_zero_boundary,
                     const Quadrature<dim - 1> &q_boundary,
                     const bool                 project_to_boundary_first)
@@ -875,14 +875,14 @@ namespace VectorTools
   template <int dim, typename VectorType, int spacedim>
   DEAL_II_CXX20_REQUIRES(concepts::is_writable_dealii_vector_type<VectorType>)
   void project(
-    const Mapping<dim, spacedim> &                            mapping,
-    const DoFHandler<dim, spacedim> &                         dof,
+    const Mapping<dim, spacedim>                             &mapping,
+    const DoFHandler<dim, spacedim>                          &dof,
     const AffineConstraints<typename VectorType::value_type> &constraints,
-    const Quadrature<dim> &                                   quadrature,
+    const Quadrature<dim>                                    &quadrature,
     const std::function<typename VectorType::value_type(
       const typename DoFHandler<dim, spacedim>::active_cell_iterator &,
-      const unsigned int)> &                                  func,
-    VectorType &                                              vec_result)
+      const unsigned int)>                                   &func,
+    VectorType                                               &vec_result)
   {
     internal::project_parallel<dim, VectorType, spacedim>(
       mapping, dof, constraints, quadrature, func, vec_result);
@@ -902,7 +902,7 @@ namespace VectorTools
     const std::function<VectorizedArray<typename VectorType::value_type>(
       const unsigned int,
       const unsigned int)> &func,
-    VectorType &            vec_result,
+    VectorType             &vec_result,
     const unsigned int      fe_component)
   {
     internal::project_parallel<dim, VectorType, dim>(
@@ -921,8 +921,8 @@ namespace VectorTools
     const AffineConstraints<typename VectorType::value_type> &constraints,
     const std::function<VectorizedArray<typename VectorType::value_type>(
       const unsigned int,
-      const unsigned int)> &                                  func,
-    VectorType &                                              vec_result,
+      const unsigned int)>                                   &func,
+    VectorType                                               &vec_result,
     const unsigned int                                        fe_component)
   {
     project(matrix_free,
@@ -938,12 +938,12 @@ namespace VectorTools
   template <int dim, typename VectorType, int spacedim>
   DEAL_II_CXX20_REQUIRES(concepts::is_writable_dealii_vector_type<VectorType>)
   void project(
-    const Mapping<dim, spacedim> &                             mapping,
-    const DoFHandler<dim, spacedim> &                          dof,
-    const AffineConstraints<typename VectorType::value_type> constraints,
-    const Quadrature<dim> &                                    quadrature,
+    const Mapping<dim, spacedim>                              &mapping,
+    const DoFHandler<dim, spacedim>                           &dof,
+    const AffineConstraints<typename VectorType::value_type>  &constraints,
+    const Quadrature<dim>                                     &quadrature,
     const Function<spacedim, typename VectorType::value_type> &function,
-    VectorType &                                               vec_result,
+    VectorType                                                &vec_result,
     const bool                 enforce_zero_boundary,
     const Quadrature<dim - 1> &q_boundary,
     const bool                 project_to_boundary_first)
@@ -964,11 +964,11 @@ namespace VectorTools
   template <int dim, typename VectorType, int spacedim>
   DEAL_II_CXX20_REQUIRES(concepts::is_writable_dealii_vector_type<VectorType>)
   void project(
-    const DoFHandler<dim, spacedim> &                          dof,
-    const AffineConstraints<typename VectorType::value_type> constraints,
-    const Quadrature<dim> &                                    quadrature,
+    const DoFHandler<dim, spacedim>                           &dof,
+    const AffineConstraints<typename VectorType::value_type>  &constraints,
+    const Quadrature<dim>                                     &quadrature,
     const Function<spacedim, typename VectorType::value_type> &function,
-    VectorType &                                               vec,
+    VectorType                                                &vec,
     const bool                 enforce_zero_boundary,
     const Quadrature<dim - 1> &q_boundary,
     const bool                 project_to_boundary_first)
@@ -989,12 +989,12 @@ namespace VectorTools
   template <int dim, typename VectorType, int spacedim>
   DEAL_II_CXX20_REQUIRES(concepts::is_writable_dealii_vector_type<VectorType>)
   void project(
-    const hp::MappingCollection<dim, spacedim> &               mapping,
-    const DoFHandler<dim, spacedim> &                          dof,
-    const AffineConstraints<typename VectorType::value_type> constraints,
-    const hp::QCollection<dim> &                               quadrature,
+    const hp::MappingCollection<dim, spacedim>                &mapping,
+    const DoFHandler<dim, spacedim>                           &dof,
+    const AffineConstraints<typename VectorType::value_type>  &constraints,
+    const hp::QCollection<dim>                                &quadrature,
     const Function<spacedim, typename VectorType::value_type> &function,
-    VectorType &                                               vec_result,
+    VectorType                                                &vec_result,
     const bool                      enforce_zero_boundary,
     const hp::QCollection<dim - 1> &q_boundary,
     const bool                      project_to_boundary_first)
@@ -1019,11 +1019,11 @@ namespace VectorTools
   template <int dim, typename VectorType, int spacedim>
   DEAL_II_CXX20_REQUIRES(concepts::is_writable_dealii_vector_type<VectorType>)
   void project(
-    const DoFHandler<dim, spacedim> &                          dof,
-    const AffineConstraints<typename VectorType::value_type> constraints,
-    const hp::QCollection<dim> &                               quadrature,
+    const DoFHandler<dim, spacedim>                           &dof,
+    const AffineConstraints<typename VectorType::value_type>  &constraints,
+    const hp::QCollection<dim>                                &quadrature,
     const Function<spacedim, typename VectorType::value_type> &function,
-    VectorType &                                               vec,
+    VectorType                                                &vec,
     const bool                      enforce_zero_boundary,
     const hp::QCollection<dim - 1> &q_boundary,
     const bool                      project_to_boundary_first)
index b269fc8bab350b008f6dc509bcd7b8b68163ee78..f59b1dfb7c400207b524935750549f67e9553924 100644 (file)
@@ -62,12 +62,12 @@ namespace VectorTools
   template <int dim, int spacedim, typename VectorType>
   DEAL_II_CXX20_REQUIRES(concepts::is_writable_dealii_vector_type<VectorType>)
   void create_right_hand_side(
-    const Mapping<dim, spacedim> &                             mapping,
-    const DoFHandler<dim, spacedim> &                          dof,
-    const Quadrature<dim> &                                    q,
+    const Mapping<dim, spacedim>                              &mapping,
+    const DoFHandler<dim, spacedim>                           &dof,
+    const Quadrature<dim>                                     &q,
     const Function<spacedim, typename VectorType::value_type> &rhs,
-    VectorType &                                               rhs_vector,
-    const AffineConstraints<typename VectorType::value_type> constraints =
+    VectorType                                                &rhs_vector,
+    const AffineConstraints<typename VectorType::value_type>  &constraints =
       AffineConstraints<typename VectorType::value_type>());
 
   /**
@@ -79,11 +79,11 @@ namespace VectorTools
   template <int dim, int spacedim, typename VectorType>
   DEAL_II_CXX20_REQUIRES(concepts::is_writable_dealii_vector_type<VectorType>)
   void create_right_hand_side(
-    const DoFHandler<dim, spacedim> &                          dof,
-    const Quadrature<dim> &                                    q,
+    const DoFHandler<dim, spacedim>                           &dof,
+    const Quadrature<dim>                                     &q,
     const Function<spacedim, typename VectorType::value_type> &rhs,
-    VectorType &                                               rhs_vector,
-    const AffineConstraints<typename VectorType::value_type> constraints =
+    VectorType                                                &rhs_vector,
+    const AffineConstraints<typename VectorType::value_type>  &constraints =
       AffineConstraints<typename VectorType::value_type>());
 
   /**
@@ -94,12 +94,12 @@ namespace VectorTools
   template <int dim, int spacedim, typename VectorType>
   DEAL_II_CXX20_REQUIRES(concepts::is_writable_dealii_vector_type<VectorType>)
   void create_right_hand_side(
-    const hp::MappingCollection<dim, spacedim> &               mapping,
-    const DoFHandler<dim, spacedim> &                          dof,
-    const hp::QCollection<dim> &                               q,
+    const hp::MappingCollection<dim, spacedim>                &mapping,
+    const DoFHandler<dim, spacedim>                           &dof,
+    const hp::QCollection<dim>                                &q,
     const Function<spacedim, typename VectorType::value_type> &rhs,
-    VectorType &                                               rhs_vector,
-    const AffineConstraints<typename VectorType::value_type> constraints =
+    VectorType                                                &rhs_vector,
+    const AffineConstraints<typename VectorType::value_type>  &constraints =
       AffineConstraints<typename VectorType::value_type>());
 
   /**
@@ -110,11 +110,11 @@ namespace VectorTools
   template <int dim, int spacedim, typename VectorType>
   DEAL_II_CXX20_REQUIRES(concepts::is_writable_dealii_vector_type<VectorType>)
   void create_right_hand_side(
-    const DoFHandler<dim, spacedim> &                          dof,
-    const hp::QCollection<dim> &                               q,
+    const DoFHandler<dim, spacedim>                           &dof,
+    const hp::QCollection<dim>                                &q,
     const Function<spacedim, typename VectorType::value_type> &rhs,
-    VectorType &                                               rhs_vector,
-    const AffineConstraints<typename VectorType::value_type> constraints =
+    VectorType                                                &rhs_vector,
+    const AffineConstraints<typename VectorType::value_type>  &constraints =
       AffineConstraints<typename VectorType::value_type>());
 
   /**
@@ -131,12 +131,12 @@ namespace VectorTools
   template <int dim, int spacedim, typename VectorType>
   DEAL_II_CXX20_REQUIRES(concepts::is_writable_dealii_vector_type<VectorType>)
   void create_boundary_right_hand_side(
-    const Mapping<dim, spacedim> &                             mapping,
-    const DoFHandler<dim, spacedim> &                          dof,
-    const Quadrature<dim - 1> &                                q,
+    const Mapping<dim, spacedim>                              &mapping,
+    const DoFHandler<dim, spacedim>                           &dof,
+    const Quadrature<dim - 1>                                 &q,
     const Function<spacedim, typename VectorType::value_type> &rhs,
-    VectorType &                                               rhs_vector,
-    const std::set<types::boundary_id> &                       boundary_ids =
+    VectorType                                                &rhs_vector,
+    const std::set<types::boundary_id>                        &boundary_ids =
       std::set<types::boundary_id>());
 
   /**
@@ -151,11 +151,11 @@ namespace VectorTools
   template <int dim, int spacedim, typename VectorType>
   DEAL_II_CXX20_REQUIRES(concepts::is_writable_dealii_vector_type<VectorType>)
   void create_boundary_right_hand_side(
-    const DoFHandler<dim, spacedim> &                          dof,
-    const Quadrature<dim - 1> &                                q,
+    const DoFHandler<dim, spacedim>                           &dof,
+    const Quadrature<dim - 1>                                 &q,
     const Function<spacedim, typename VectorType::value_type> &rhs,
-    VectorType &                                               rhs_vector,
-    const std::set<types::boundary_id> &                       boundary_ids =
+    VectorType                                                &rhs_vector,
+    const std::set<types::boundary_id>                        &boundary_ids =
       std::set<types::boundary_id>());
 
   /**
@@ -169,12 +169,12 @@ namespace VectorTools
   template <int dim, int spacedim, typename VectorType>
   DEAL_II_CXX20_REQUIRES(concepts::is_writable_dealii_vector_type<VectorType>)
   void create_boundary_right_hand_side(
-    const hp::MappingCollection<dim, spacedim> &               mapping,
-    const DoFHandler<dim, spacedim> &                          dof,
-    const hp::QCollection<dim - 1> &                           q,
+    const hp::MappingCollection<dim, spacedim>                &mapping,
+    const DoFHandler<dim, spacedim>                           &dof,
+    const hp::QCollection<dim - 1>                            &q,
     const Function<spacedim, typename VectorType::value_type> &rhs,
-    VectorType &                                               rhs_vector,
-    const std::set<types::boundary_id> &                       boundary_ids =
+    VectorType                                                &rhs_vector,
+    const std::set<types::boundary_id>                        &boundary_ids =
       std::set<types::boundary_id>());
 
   /**
@@ -190,11 +190,11 @@ namespace VectorTools
   template <int dim, int spacedim, typename VectorType>
   DEAL_II_CXX20_REQUIRES(concepts::is_writable_dealii_vector_type<VectorType>)
   void create_boundary_right_hand_side(
-    const DoFHandler<dim, spacedim> &                          dof,
-    const hp::QCollection<dim - 1> &                           q,
+    const DoFHandler<dim, spacedim>                           &dof,
+    const hp::QCollection<dim - 1>                            &q,
     const Function<spacedim, typename VectorType::value_type> &rhs,
-    VectorType &                                               rhs_vector,
-    const std::set<types::boundary_id> &                       boundary_ids =
+    VectorType                                                &rhs_vector,
+    const std::set<types::boundary_id>                        &boundary_ids =
       std::set<types::boundary_id>());
   /** @} */
 } // namespace VectorTools
index 5aec03788eda5d40165d3c5004cfb1ac7c16fe24..cc6fee8d4e94d8c1d7e54fb12284f25ad7b2f3e9 100644 (file)
@@ -38,12 +38,12 @@ namespace VectorTools
   template <int dim, int spacedim, typename VectorType>
   DEAL_II_CXX20_REQUIRES(concepts::is_writable_dealii_vector_type<VectorType>)
   void create_boundary_right_hand_side(
-    const Mapping<dim, spacedim> &                             mapping,
-    const DoFHandler<dim, spacedim> &                          dof_handler,
-    const Quadrature<dim - 1> &                                quadrature,
+    const Mapping<dim, spacedim>                              &mapping,
+    const DoFHandler<dim, spacedim>                           &dof_handler,
+    const Quadrature<dim - 1>                                 &quadrature,
     const Function<spacedim, typename VectorType::value_type> &rhs_function,
-    VectorType &                                               rhs_vector,
-    const std::set<types::boundary_id> &                       boundary_ids)
+    VectorType                                                &rhs_vector,
+    const std::set<types::boundary_id>                        &boundary_ids)
   {
     const FiniteElement<dim> &fe = dof_handler.get_fe();
     AssertDimension(fe.n_components(), rhs_function.n_components);
@@ -160,11 +160,11 @@ namespace VectorTools
   template <int dim, int spacedim, typename VectorType>
   DEAL_II_CXX20_REQUIRES(concepts::is_writable_dealii_vector_type<VectorType>)
   void create_boundary_right_hand_side(
-    const DoFHandler<dim, spacedim> &                          dof_handler,
-    const Quadrature<dim - 1> &                                quadrature,
+    const DoFHandler<dim, spacedim>                           &dof_handler,
+    const Quadrature<dim - 1>                                 &quadrature,
     const Function<spacedim, typename VectorType::value_type> &rhs_function,
-    VectorType &                                               rhs_vector,
-    const std::set<types::boundary_id> &                       boundary_ids)
+    VectorType                                                &rhs_vector,
+    const std::set<types::boundary_id>                        &boundary_ids)
   {
     create_boundary_right_hand_side(StaticMappingQ1<dim>::mapping,
                                     dof_handler,
@@ -179,12 +179,12 @@ namespace VectorTools
   template <int dim, int spacedim, typename VectorType>
   DEAL_II_CXX20_REQUIRES(concepts::is_writable_dealii_vector_type<VectorType>)
   void create_boundary_right_hand_side(
-    const hp::MappingCollection<dim, spacedim> &               mapping,
-    const DoFHandler<dim, spacedim> &                          dof_handler,
-    const hp::QCollection<dim - 1> &                           quadrature,
+    const hp::MappingCollection<dim, spacedim>                &mapping,
+    const DoFHandler<dim, spacedim>                           &dof_handler,
+    const hp::QCollection<dim - 1>                            &quadrature,
     const Function<spacedim, typename VectorType::value_type> &rhs_function,
-    VectorType &                                               rhs_vector,
-    const std::set<types::boundary_id> &                       boundary_ids)
+    VectorType                                                &rhs_vector,
+    const std::set<types::boundary_id>                        &boundary_ids)
   {
     const hp::FECollection<dim> &fe = dof_handler.get_fe_collection();
     AssertDimension(fe.n_components(), rhs_function.n_components);
@@ -313,11 +313,11 @@ namespace VectorTools
   template <int dim, int spacedim, typename VectorType>
   DEAL_II_CXX20_REQUIRES(concepts::is_writable_dealii_vector_type<VectorType>)
   void create_boundary_right_hand_side(
-    const DoFHandler<dim, spacedim> &                          dof_handler,
-    const hp::QCollection<dim - 1> &                           quadrature,
+    const DoFHandler<dim, spacedim>                           &dof_handler,
+    const hp::QCollection<dim - 1>                            &quadrature,
     const Function<spacedim, typename VectorType::value_type> &rhs_function,
-    VectorType &                                               rhs_vector,
-    const std::set<types::boundary_id> &                       boundary_ids)
+    VectorType                                                &rhs_vector,
+    const std::set<types::boundary_id>                        &boundary_ids)
   {
     create_boundary_right_hand_side(
       hp::StaticMappingQ1<dim>::mapping_collection,
@@ -333,12 +333,12 @@ namespace VectorTools
   template <int dim, int spacedim, typename VectorType>
   DEAL_II_CXX20_REQUIRES(concepts::is_writable_dealii_vector_type<VectorType>)
   void create_right_hand_side(
-    const Mapping<dim, spacedim> &                             mapping,
-    const DoFHandler<dim, spacedim> &                          dof_handler,
-    const Quadrature<dim> &                                    quadrature,
+    const Mapping<dim, spacedim>                              &mapping,
+    const DoFHandler<dim, spacedim>                           &dof_handler,
+    const Quadrature<dim>                                     &quadrature,
     const Function<spacedim, typename VectorType::value_type> &rhs_function,
-    VectorType &                                               rhs_vector,
-    const AffineConstraints<typename VectorType::value_type> constraints)
+    VectorType                                                &rhs_vector,
+    const AffineConstraints<typename VectorType::value_type>  &constraints)
   {
     using Number = typename VectorType::value_type;
 
@@ -450,11 +450,11 @@ namespace VectorTools
   template <int dim, int spacedim, typename VectorType>
   DEAL_II_CXX20_REQUIRES(concepts::is_writable_dealii_vector_type<VectorType>)
   void create_right_hand_side(
-    const DoFHandler<dim, spacedim> &                          dof_handler,
-    const Quadrature<dim> &                                    quadrature,
+    const DoFHandler<dim, spacedim>                           &dof_handler,
+    const Quadrature<dim>                                     &quadrature,
     const Function<spacedim, typename VectorType::value_type> &rhs_function,
-    VectorType &                                               rhs_vector,
-    const AffineConstraints<typename VectorType::value_type> constraints)
+    VectorType                                                &rhs_vector,
+    const AffineConstraints<typename VectorType::value_type>  &constraints)
   {
     create_right_hand_side(get_default_linear_mapping(
                              dof_handler.get_triangulation()),
@@ -470,12 +470,12 @@ namespace VectorTools
   template <int dim, int spacedim, typename VectorType>
   DEAL_II_CXX20_REQUIRES(concepts::is_writable_dealii_vector_type<VectorType>)
   void create_right_hand_side(
-    const hp::MappingCollection<dim, spacedim> &               mapping,
-    const DoFHandler<dim, spacedim> &                          dof_handler,
-    const hp::QCollection<dim> &                               quadrature,
+    const hp::MappingCollection<dim, spacedim>                &mapping,
+    const DoFHandler<dim, spacedim>                           &dof_handler,
+    const hp::QCollection<dim>                                &quadrature,
     const Function<spacedim, typename VectorType::value_type> &rhs_function,
-    VectorType &                                               rhs_vector,
-    const AffineConstraints<typename VectorType::value_type> constraints)
+    VectorType                                                &rhs_vector,
+    const AffineConstraints<typename VectorType::value_type>  &constraints)
   {
     using Number = typename VectorType::value_type;
 
@@ -606,11 +606,11 @@ namespace VectorTools
   template <int dim, int spacedim, typename VectorType>
   DEAL_II_CXX20_REQUIRES(concepts::is_writable_dealii_vector_type<VectorType>)
   void create_right_hand_side(
-    const DoFHandler<dim, spacedim> &                          dof_handler,
-    const hp::QCollection<dim> &                               quadrature,
+    const DoFHandler<dim, spacedim>                           &dof_handler,
+    const hp::QCollection<dim>                                &quadrature,
     const Function<spacedim, typename VectorType::value_type> &rhs_function,
-    VectorType &                                               rhs_vector,
-    const AffineConstraints<typename VectorType::value_type> constraints)
+    VectorType                                                &rhs_vector,
+    const AffineConstraints<typename VectorType::value_type>  &constraints)
   {
     create_right_hand_side(
       hp::StaticMappingQ1<dim, spacedim>::mapping_collection,
index 54bc17f16dd7f97579fff83bf8b53506870cd190..88ea66f775e6c5c95e1e63c7adf5e12959ee8f76 100644 (file)
@@ -94,7 +94,7 @@ namespace OpenCASCADE
     virtual Point<spacedim>
     project_to_manifold(
       const ArrayView<const Point<spacedim>> &surrounding_points,
-      const Point<spacedim> &                 candidate) const override;
+      const Point<spacedim>                  &candidate) const override;
 
 
   protected:
@@ -139,7 +139,7 @@ namespace OpenCASCADE
      * Construct a Manifold object which will project points on the
      * TopoDS_Shape @p sh, along the given @p direction.
      */
-    DirectionalProjectionManifold(const TopoDS_Shape &       sh,
+    DirectionalProjectionManifold(const TopoDS_Shape        &sh,
                                   const Tensor<1, spacedim> &direction,
                                   const double               tolerance = 1e-7);
 
@@ -161,7 +161,7 @@ namespace OpenCASCADE
     virtual Point<spacedim>
     project_to_manifold(
       const ArrayView<const Point<spacedim>> &surrounding_points,
-      const Point<spacedim> &                 candidate) const override;
+      const Point<spacedim>                  &candidate) const override;
 
   protected:
     /**
@@ -253,7 +253,7 @@ namespace OpenCASCADE
     virtual Point<spacedim>
     project_to_manifold(
       const ArrayView<const Point<spacedim>> &surrounding_points,
-      const Point<spacedim> &                 candidate) const override;
+      const Point<spacedim>                  &candidate) const override;
 
   protected:
     /**
index f1e9272811a6c0dc58eef11df8d2cece234a03db..59587bc5399f351c4ea27d0a8897c38d91fe0ec5 100644 (file)
@@ -152,7 +152,7 @@ namespace OpenCASCADE
    */
   void
   write_STL(const TopoDS_Shape &shape,
-            const std::string filename,
+            const std::string  &filename,
             const double        deflection,
             const bool          sew_different_faces = false,
             const double        sewer_tolerance     = 1e-6,
@@ -237,7 +237,7 @@ namespace OpenCASCADE
   template <int dim>
   TopoDS_Edge
   interpolation_curve(std::vector<Point<dim>> &curve_points,
-                      const Tensor<1, dim> &   direction = Tensor<1, dim>(),
+                      const Tensor<1, dim>    &direction = Tensor<1, dim>(),
                       const bool               closed    = false,
                       const double             tolerance = 1e-7);
 
@@ -247,9 +247,9 @@ namespace OpenCASCADE
    * shape, the respective container will be empty.
    */
   void
-  extract_geometrical_shapes(const TopoDS_Shape &        shape,
-                             std::vector<TopoDS_Face> &  faces,
-                             std::vector<TopoDS_Edge> &  edges,
+  extract_geometrical_shapes(const TopoDS_Shape         &shape,
+                             std::vector<TopoDS_Face>   &faces,
+                             std::vector<TopoDS_Edge>   &edges,
                              std::vector<TopoDS_Vertex> &vertices);
 
   /**
@@ -266,7 +266,7 @@ namespace OpenCASCADE
    */
   template <int spacedim>
   void
-  create_triangulation(const TopoDS_Face &         face,
+  create_triangulation(const TopoDS_Face          &face,
                        Triangulation<2, spacedim> &tria);
 
 
@@ -292,7 +292,7 @@ namespace OpenCASCADE
   std::vector<TopoDS_Edge>
   create_curves_from_triangulation_boundary(
     const Triangulation<2, spacedim> &triangulation,
-    const Mapping<2, spacedim> &      mapping =
+    const Mapping<2, spacedim>       &mapping =
       StaticMappingQ1<2, spacedim>::mapping);
 
   /**
@@ -301,12 +301,12 @@ namespace OpenCASCADE
    * compound, the respective container will be empty.
    */
   void
-  extract_compound_shapes(const TopoDS_Shape &           shape,
-                          std::vector<TopoDS_Compound> compounds,
+  extract_compound_shapes(const TopoDS_Shape            &shape,
+                          std::vector<TopoDS_Compound>  &compounds,
                           std::vector<TopoDS_CompSolid> &compsolids,
-                          std::vector<TopoDS_Solid> &    solids,
-                          std::vector<TopoDS_Shell> &    shells,
-                          std::vector<TopoDS_Wire> &     wires);
+                          std::vector<TopoDS_Solid>     &solids,
+                          std::vector<TopoDS_Shell>     &shells,
+                          std::vector<TopoDS_Wire>      &wires);
 
   /**
    * Project the point @p origin on the topological shape given by @p
@@ -325,7 +325,7 @@ namespace OpenCASCADE
   template <int dim>
   std::tuple<Point<dim>, TopoDS_Shape, double, double>
   project_point_and_pull_back(const TopoDS_Shape &in_shape,
-                              const Point<dim> &  origin,
+                              const Point<dim>   &origin,
                               const double        tolerance = 1e-7);
 
   /**
@@ -337,7 +337,7 @@ namespace OpenCASCADE
   template <int dim>
   Point<dim>
   closest_point(const TopoDS_Shape &in_shape,
-                const Point<dim> &  origin,
+                const Point<dim>   &origin,
                 const double        tolerance = 1e-7);
 
   /**
@@ -374,7 +374,7 @@ namespace OpenCASCADE
    */
   std::tuple<Point<3>, Tensor<1, 3>, double, double>
   closest_point_and_differential_forms(const TopoDS_Shape &in_shape,
-                                       const Point<3> &    origin,
+                                       const Point<3>     &origin,
                                        const double        tolerance = 1e-7);
 
 
@@ -387,8 +387,8 @@ namespace OpenCASCADE
    */
   template <int dim>
   Point<dim>
-  line_intersection(const TopoDS_Shape &  in_shape,
-                    const Point<dim> &    origin,
+  line_intersection(const TopoDS_Shape   &in_shape,
+                    const Point<dim>     &origin,
                     const Tensor<1, dim> &direction,
                     const double          tolerance = 1e-7);
 
@@ -421,8 +421,8 @@ namespace OpenCASCADE
    */
   template <int dim>
   bool
-  point_compare(const Point<dim> &    p1,
-                const Point<dim> &    p2,
+  point_compare(const Point<dim>     &p1,
+                const Point<dim>     &p2,
                 const Tensor<1, dim> &direction = Tensor<1, dim>(),
                 const double          tolerance = 1e-10);
 
index bb0418b0a0253e7682e5c91c996e896ece8186d3..b4e99c51bb11b141d929bc027770772181d417b5 100644 (file)
@@ -110,9 +110,9 @@ namespace LineMinimization
            const NumberType                        x_hi,
            const NumberType                        f_hi,
            const NumberType                        g_hi,
-           const FiniteSizeHistory<NumberType> &   x_rec,
-           const FiniteSizeHistory<NumberType> &   f_rec,
-           const FiniteSizeHistory<NumberType> &   g_rec,
+           const FiniteSizeHistory<NumberType>    &x_rec,
+           const FiniteSizeHistory<NumberType>    &f_rec,
+           const FiniteSizeHistory<NumberType>    &g_rec,
            const std::pair<NumberType, NumberType> bounds);
 
   /**
@@ -127,9 +127,9 @@ namespace LineMinimization
                         const NumberType                        x_hi,
                         const NumberType                        f_hi,
                         const NumberType                        g_hi,
-                        const FiniteSizeHistory<NumberType> &   x_rec,
-                        const FiniteSizeHistory<NumberType> &   f_rec,
-                        const FiniteSizeHistory<NumberType> &   g_rec,
+                        const FiniteSizeHistory<NumberType>    &x_rec,
+                        const FiniteSizeHistory<NumberType>    &f_rec,
+                        const FiniteSizeHistory<NumberType>    &g_rec,
                         const std::pair<NumberType, NumberType> bounds);
 
 
@@ -323,7 +323,7 @@ namespace LineMinimization
   std::pair<NumberType, unsigned int>
   line_search(
     const std::function<std::pair<NumberType, NumberType>(const NumberType x)>
-      &              func,
+                    &func,
     const NumberType f0,
     const NumberType g0,
     const std::function<
@@ -333,9 +333,9 @@ namespace LineMinimization
                  const NumberType                        x_hi,
                  const NumberType                        f_hi,
                  const NumberType                        g_hi,
-                 const FiniteSizeHistory<NumberType> &   x_rec,
-                 const FiniteSizeHistory<NumberType> &   f_rec,
-                 const FiniteSizeHistory<NumberType> &   g_rec,
+                 const FiniteSizeHistory<NumberType>    &x_rec,
+                 const FiniteSizeHistory<NumberType>    &f_rec,
+                 const FiniteSizeHistory<NumberType>    &g_rec,
                  const std::pair<NumberType, NumberType> bounds)> &interpolate,
     const NumberType                                               a1,
     const NumberType                                               eta = 0.9,
@@ -521,7 +521,7 @@ namespace LineMinimization
   std::pair<NumberType, unsigned int>
   line_search(
     const std::function<std::pair<NumberType, NumberType>(const NumberType x)>
-      &              func,
+                    &func,
     const NumberType f0,
     const NumberType g0,
     const std::function<
@@ -531,9 +531,9 @@ namespace LineMinimization
                  const NumberType                        x_hi,
                  const NumberType                        f_hi,
                  const NumberType                        g_hi,
-                 const FiniteSizeHistory<NumberType> &   x_rec,
-                 const FiniteSizeHistory<NumberType> &   f_rec,
-                 const FiniteSizeHistory<NumberType> &   g_rec,
+                 const FiniteSizeHistory<NumberType>    &x_rec,
+                 const FiniteSizeHistory<NumberType>    &f_rec,
+                 const FiniteSizeHistory<NumberType>    &g_rec,
                  const std::pair<NumberType, NumberType> bounds)> &choose,
     const NumberType                                               a1,
     const NumberType                                               eta,
index 26f667570f70265f9e6b7e981df2c8183f55926d..dee7c582de665cfe4590477c8b3508a8765b6a6e 100644 (file)
@@ -235,7 +235,7 @@ namespace Rol
      */
     void
     applyBinary(const ROL::Elementwise::BinaryFunction<value_type> &f,
-                const ROL::Vector<value_type> &                     rol_vector);
+                const ROL::Vector<value_type>                      &rol_vector);
 
     /**
      * Return the accumulated value on applying reduction operation @p r on
@@ -439,7 +439,7 @@ namespace Rol
   void
   VectorAdaptor<VectorType>::applyBinary(
     const ROL::Elementwise::BinaryFunction<value_type> &f,
-    const ROL::Vector<value_type> &                     rol_vector)
+    const ROL::Vector<value_type>                      &rol_vector)
   {
     Assert(this->dimension() == rol_vector.dimension(),
            ExcDimensionMismatch(this->dimension(), rol_vector.dimension()));
index 7a291ab67e6371b370b68612c5099d5ae672bec4..81a21d771fe094514633ddca78c2dddeb5dde3b6 100644 (file)
@@ -90,7 +90,7 @@ public:
   /**
    * Constructor.
    */
-  explicit SolverBFGS(SolverControl &       residual_control,
+  explicit SolverBFGS(SolverControl        &residual_control,
                       const AdditionalData &data = AdditionalData());
 
   /**
@@ -109,7 +109,7 @@ public:
   void
   solve(
     const std::function<Number(const VectorType &x, VectorType &g)> &compute,
-    VectorType &                                                     x);
+    VectorType                                                      &x);
 
   /**
    * Connect a slot to perform a custom line-search.
@@ -153,7 +153,7 @@ public:
    */
   boost::signals2::connection
   connect_preconditioner_slot(
-    const std::function<void(VectorType &                         g,
+    const std::function<void(VectorType                          &g,
                              const FiniteSizeHistory<VectorType> &s,
                              const FiniteSizeHistory<VectorType> &y)> &slot);
 
@@ -174,7 +174,7 @@ protected:
   /**
    * Signal used to perform preconditioning.
    */
-  boost::signals2::signal<void(VectorType &                         g,
+  boost::signals2::signal<void(VectorType                          &g,
                                const FiniteSizeHistory<VectorType> &s,
                                const FiniteSizeHistory<VectorType> &y)>
     preconditioner_signal;
@@ -195,7 +195,7 @@ SolverBFGS<VectorType>::AdditionalData::AdditionalData(
 
 
 template <typename VectorType>
-SolverBFGS<VectorType>::SolverBFGS(SolverControl &       solver_control,
+SolverBFGS<VectorType>::SolverBFGS(SolverControl        &solver_control,
                                    const AdditionalData &data)
   : SolverBase<VectorType>(solver_control)
   , additional_data(data)
@@ -219,7 +219,7 @@ SolverBFGS<VectorType>::connect_line_search_slot(
 template <typename VectorType>
 boost::signals2::connection
 SolverBFGS<VectorType>::connect_preconditioner_slot(
-  const std::function<void(VectorType &                         g,
+  const std::function<void(VectorType                          &g,
                            const FiniteSizeHistory<VectorType> &s,
                            const FiniteSizeHistory<VectorType> &y)> &slot)
 {
@@ -236,7 +236,7 @@ void
 SolverBFGS<VectorType>::solve(
   const std::function<typename VectorType::value_type(const VectorType &x,
                                                       VectorType &f)> &compute,
-  VectorType &                                                         x)
+  VectorType                                                          &x)
 {
   // Also see scipy Fortran implementation
   // https://github.com/scipy/scipy/blob/master/scipy/optimize/lbfgsb_src/lbfgsb.f
index 790fe85f81016d559f676e5f5cdc158e16bfc6de..6f43bb5c4ea4d78747e60c93c293d142895964f5 100644 (file)
@@ -65,9 +65,9 @@ namespace Particles
     void
     regular_reference_locations(
       const Triangulation<dim, spacedim> &triangulation,
-      const std::vector<Point<dim>> &     particle_reference_locations,
-      ParticleHandler<dim, spacedim> &    particle_handler,
-      const Mapping<dim, spacedim> &      mapping =
+      const std::vector<Point<dim>>      &particle_reference_locations,
+      ParticleHandler<dim, spacedim>     &particle_handler,
+      const Mapping<dim, spacedim>       &mapping =
         (ReferenceCells::get_hypercube<dim>()
 #ifndef _MSC_VER
            .template get_default_linear_mapping<dim, spacedim>()
@@ -110,7 +110,7 @@ namespace Particles
     random_particle_in_cell(
       const typename Triangulation<dim, spacedim>::active_cell_iterator &cell,
       const types::particle_index                                        id,
-      std::mt19937 &                random_number_generator,
+      std::mt19937                 &random_number_generator,
       const Mapping<dim, spacedim> &mapping =
         (ReferenceCells::get_hypercube<dim>()
 #ifndef _MSC_VER
@@ -131,9 +131,9 @@ namespace Particles
     random_particle_in_cell_insert(
       const typename Triangulation<dim, spacedim>::active_cell_iterator &cell,
       const types::particle_index                                        id,
-      std::mt19937 &                  random_number_generator,
+      std::mt19937                   &random_number_generator,
       ParticleHandler<dim, spacedim> &particle_handler,
-      const Mapping<dim, spacedim> &  mapping =
+      const Mapping<dim, spacedim>   &mapping =
         (ReferenceCells::get_hypercube<dim>()
 #ifndef _MSC_VER
            .template get_default_linear_mapping<dim, spacedim>()
@@ -190,11 +190,11 @@ namespace Particles
     void
     probabilistic_locations(
       const Triangulation<dim, spacedim> &triangulation,
-      const Function<spacedim> &          probability_density_function,
+      const Function<spacedim>           &probability_density_function,
       const bool                          random_cell_selection,
       const types::particle_index         n_particles_to_create,
-      ParticleHandler<dim, spacedim> &    particle_handler,
-      const Mapping<dim, spacedim> &      mapping =
+      ParticleHandler<dim, spacedim>     &particle_handler,
+      const Mapping<dim, spacedim>       &mapping =
         (ReferenceCells::get_hypercube<dim>()
 #ifndef _MSC_VER
            .template get_default_linear_mapping<dim, spacedim>()),
@@ -243,16 +243,16 @@ namespace Particles
     dof_support_points(
       const DoFHandler<dim, spacedim> &dof_handler,
       const std::vector<std::vector<BoundingBox<spacedim>>>
-        &                             global_bounding_boxes,
+                                     &global_bounding_boxes,
       ParticleHandler<dim, spacedim> &particle_handler,
-      const Mapping<dim, spacedim> &  mapping =
+      const Mapping<dim, spacedim>   &mapping =
         (ReferenceCells::get_hypercube<dim>()
 #ifndef _MSC_VER
            .template get_default_linear_mapping<dim, spacedim>()),
 #else
            .ReferenceCell::get_default_linear_mapping<dim, spacedim>()),
 #endif
-      const ComponentMask &                   components = {},
+      const ComponentMask                    &components = {},
       const std::vector<std::vector<double>> &properties = {});
 
     /**
@@ -293,11 +293,11 @@ namespace Particles
     void
     quadrature_points(
       const Triangulation<dim, spacedim> &triangulation,
-      const Quadrature<dim> &             quadrature,
+      const Quadrature<dim>              &quadrature,
       const std::vector<std::vector<BoundingBox<spacedim>>>
-        &                             global_bounding_boxes,
+                                     &global_bounding_boxes,
       ParticleHandler<dim, spacedim> &particle_handler,
-      const Mapping<dim, spacedim> &  mapping =
+      const Mapping<dim, spacedim>   &mapping =
         (ReferenceCells::get_hypercube<dim>()
            .template get_default_linear_mapping<dim, spacedim>()),
       const std::vector<std::vector<double>> &properties = {});
index 56110e7857c7f44ccef817ac5095def397fae823..776969dd99f6629dba75758e85f84e9d020010cc 100644 (file)
@@ -115,8 +115,8 @@ namespace Particles
      * in the coordinate system of the reference cell.
      * @param[in] id Globally unique ID number of particle.
      */
-    Particle(const Point<spacedim> &     location,
-             const Point<dim> &          reference_location,
+    Particle(const Point<spacedim>      &location,
+             const Point<dim>           &reference_location,
              const types::particle_index id);
 
     /**
@@ -152,7 +152,7 @@ namespace Particles
      * succeed if a property pool is provided as second argument that is able to
      * store the correct number of properties per particle.
      */
-    Particle(const void *&                      begin_data,
+    Particle(const void                       *&begin_data,
              PropertyPool<dim, spacedim> *const property_pool = nullptr);
 
     /**
@@ -469,9 +469,9 @@ namespace Particles
   {
     unsigned int n_properties = 0;
 
-    Point<spacedim>       location;
-    Point<dim>            reference_location;
-    types::particle_index id;
+    Point<spacedim>                       location;
+    Point<dim>                            reference_location;
+    types::particle_index                 id;
     ar &location &reference_location &id &n_properties;
 
     set_location(location);
index 941a04a7d7faed6932a2c44714392706ccb7f387..2c51fc98a76208aa2f632b4db030b76cb5872580 100644 (file)
@@ -435,7 +435,7 @@ namespace Particles
      */
     ParticleAccessor(
       const typename particle_container::iterator particles_in_cell,
-      const PropertyPool<dim, spacedim> &         property_pool,
+      const PropertyPool<dim, spacedim>          &property_pool,
       const unsigned int                          particle_index_within_cell);
 
     /**
@@ -485,9 +485,9 @@ namespace Particles
   {
     unsigned int n_properties = 0;
 
-    Point<spacedim>       location;
-    Point<dim>            reference_location;
-    types::particle_index id;
+    Point<spacedim>                       location;
+    Point<dim>                            reference_location;
+    types::particle_index                 id;
     ar &location &reference_location &id &n_properties;
 
     set_location(location);
@@ -548,7 +548,7 @@ namespace Particles
   template <int dim, int spacedim>
   inline ParticleAccessor<dim, spacedim>::ParticleAccessor(
     const typename particle_container::iterator particles_in_cell,
-    const PropertyPool<dim, spacedim> &         property_pool,
+    const PropertyPool<dim, spacedim>          &property_pool,
     const unsigned int                          particle_index_within_cell)
     : particles_in_cell(particles_in_cell)
     , property_pool(const_cast<PropertyPool<dim, spacedim> *>(&property_pool))
index 46672d6bd7b7a372aafcf0044c8f8f9d2d7a3c34..4a5c98d20d47c2d8c164333b6be6e89382f24c38 100644 (file)
@@ -95,7 +95,7 @@ namespace Particles
      * the initialize function.
      */
     ParticleHandler(const Triangulation<dim, spacedim> &tria,
-                    const Mapping<dim, spacedim> &      mapping,
+                    const Mapping<dim, spacedim>       &mapping,
                     const unsigned int                  n_properties = 0);
 
     /**
@@ -110,7 +110,7 @@ namespace Particles
      */
     void
     initialize(const Triangulation<dim, spacedim> &tria,
-               const Mapping<dim, spacedim> &      mapping,
+               const Mapping<dim, spacedim>       &mapping,
                const unsigned int                  n_properties = 0);
 
     /**
@@ -303,8 +303,8 @@ namespace Particles
      */
     particle_iterator
     insert_particle(
-      const Point<spacedim> &     position,
-      const Point<dim> &          reference_position,
+      const Point<spacedim>      &position,
+      const Point<dim>           &reference_position,
       const types::particle_index particle_index,
       const typename Triangulation<dim, spacedim>::active_cell_iterator &cell,
       const ArrayView<const double> &properties = {});
@@ -397,8 +397,8 @@ namespace Particles
     insert_global_particles(
       const std::vector<Point<spacedim>> &positions,
       const std::vector<std::vector<BoundingBox<spacedim>>>
-        &                                       global_bounding_boxes,
-      const std::vector<std::vector<double>> &  properties = {},
+                                               &global_bounding_boxes,
+      const std::vector<std::vector<double>>   &properties = {},
       const std::vector<types::particle_index> &ids        = {});
 
     /**
@@ -878,7 +878,7 @@ namespace Particles
      */
     particle_iterator
     insert_particle(
-      const void *&                                                      data,
+      const void                                                       *&data,
       const typename Triangulation<dim, spacedim>::active_cell_iterator &cell);
 
     /**
@@ -1324,7 +1324,7 @@ namespace Particles
     // the domain is distributed differently after resuming from a checkpoint.
     ar //&particles
       &global_number_of_particles &global_max_particles_per_cell
-        &                          next_free_particle_index;
+        &next_free_particle_index;
   }
 
 
index 50274820186f2f8d0e0201bdc11e2b8c1dfb0333..e33f1bf772bba69fccf0a61fd8cc669924716294 100644 (file)
@@ -57,7 +57,7 @@ namespace Particles
      */
     ParticleIterator(
       const typename particle_container::iterator particles_in_cell,
-      const PropertyPool<dim, spacedim> &         property_pool,
+      const PropertyPool<dim, spacedim>          &property_pool,
       const unsigned int                          particle_index_within_cell);
 
     /**
@@ -163,7 +163,7 @@ namespace Particles
   template <int dim, int spacedim>
   inline ParticleIterator<dim, spacedim>::ParticleIterator(
     const typename particle_container::iterator particles_in_cell,
-    const PropertyPool<dim, spacedim> &         property_pool,
+    const PropertyPool<dim, spacedim>          &property_pool,
     const unsigned int                          particle_index_within_cell)
     : accessor(particles_in_cell, property_pool, particle_index_within_cell)
   {}
@@ -241,7 +241,7 @@ namespace Particles
   ParticleIterator<dim, spacedim>::operator++(int)
   {
     ParticleIterator tmp(*this);
-                     operator++();
+    operator++();
 
     return tmp;
   }
@@ -263,7 +263,7 @@ namespace Particles
   ParticleIterator<dim, spacedim>::operator--(int)
   {
     ParticleIterator tmp(*this);
-                     operator--();
+    operator--();
 
     return tmp;
   }
index 704c35cf8ca8d4f3a45367524e8855e8875c0637..ae181988c8731f508bf3772dda543996649c4bc2 100644 (file)
@@ -94,10 +94,10 @@ namespace Particles
     template <int dim, int spacedim, typename number = double>
     void
     create_interpolation_sparsity_pattern(
-      const DoFHandler<dim, spacedim> &                space_dh,
+      const DoFHandler<dim, spacedim>                 &space_dh,
       const Particles::ParticleHandler<dim, spacedim> &particle_handler,
-      SparsityPatternBase &                            sparsity,
-      const AffineConstraints<number> &                constraints =
+      SparsityPatternBase                             &sparsity,
+      const AffineConstraints<number>                 &constraints =
         AffineConstraints<number>(),
       const ComponentMask &space_comps = {});
 
@@ -147,9 +147,9 @@ namespace Particles
     template <int dim, int spacedim, typename MatrixType>
     void
     create_interpolation_matrix(
-      const DoFHandler<dim, spacedim> &                space_dh,
+      const DoFHandler<dim, spacedim>                 &space_dh,
       const Particles::ParticleHandler<dim, spacedim> &particle_handler,
-      MatrixType &                                     matrix,
+      MatrixType                                      &matrix,
       const AffineConstraints<typename MatrixType::value_type> &constraints =
         AffineConstraints<typename MatrixType::value_type>(),
       const ComponentMask &space_comps = {});
@@ -182,11 +182,11 @@ namespace Particles
               typename OutputVectorType>
     void
     interpolate_field_on_particles(
-      const DoFHandler<dim, spacedim> &                field_dh,
+      const DoFHandler<dim, spacedim>                 &field_dh,
       const Particles::ParticleHandler<dim, spacedim> &particle_handler,
-      const InputVectorType &                          field_vector,
-      OutputVectorType &                               interpolated_field,
-      const ComponentMask &                            field_comps = {})
+      const InputVectorType                           &field_vector,
+      OutputVectorType                                &interpolated_field,
+      const ComponentMask                             &field_comps = {})
     {
       if (particle_handler.n_locally_owned_particles() == 0)
         {
index 25a1d47bacdfdcb08633bf358f05e27c57ec1d72..ae4f7b45eae9716ce694570d2694921be3728591 100644 (file)
@@ -589,7 +589,7 @@ namespace Physics
        */
       template <int dim, typename Number>
       void
-      to_tensor(const FullMatrix<Number> &       mtrx,
+      to_tensor(const FullMatrix<Number>        &mtrx,
                 SymmetricTensor<2, dim, Number> &st);
 
 
@@ -620,7 +620,7 @@ namespace Physics
        */
       template <int dim, typename Number>
       void
-      to_tensor(const FullMatrix<Number> &       mtrx,
+      to_tensor(const FullMatrix<Number>        &mtrx,
                 SymmetricTensor<4, dim, Number> &st);
 
 
@@ -1326,7 +1326,7 @@ namespace Physics
 
       template <int dim, typename Number>
       void
-      to_tensor(const FullMatrix<Number> &       mtrx,
+      to_tensor(const FullMatrix<Number>        &mtrx,
                 SymmetricTensor<2, dim, Number> &st)
       {
         // Its impossible to fit the (dim^2 + dim)/2 entries into a square
@@ -1527,7 +1527,7 @@ namespace Physics
 
       template <int dim, typename Number>
       void
-      to_tensor(const FullMatrix<Number> &       mtrx,
+      to_tensor(const FullMatrix<Number>        &mtrx,
                 SymmetricTensor<4, dim, Number> &st)
       {
         Assert((mtrx.m() ==
index 2fef16048562aa721830f1b247e8226980adc501..64d9a8bb44aefa9a9243f988b830c3b7cdd11546 100644 (file)
@@ -182,7 +182,7 @@ namespace Physics
       template <int dim, typename Number>
       SymmetricTensor<2, dim, Number>
       push_forward(const SymmetricTensor<2, dim, Number> &T,
-                   const Tensor<2, dim, Number> &         F);
+                   const Tensor<2, dim, Number>          &F);
 
       /**
        * Return the result of the push forward transformation on a rank-4
@@ -221,7 +221,7 @@ namespace Physics
       template <int dim, typename Number>
       SymmetricTensor<4, dim, Number>
       push_forward(const SymmetricTensor<4, dim, Number> &H,
-                   const Tensor<2, dim, Number> &         F);
+                   const Tensor<2, dim, Number>          &F);
 
       /** @} */
 
@@ -284,7 +284,7 @@ namespace Physics
       template <int dim, typename Number>
       SymmetricTensor<2, dim, Number>
       pull_back(const SymmetricTensor<2, dim, Number> &t,
-                const Tensor<2, dim, Number> &         F);
+                const Tensor<2, dim, Number>          &F);
 
       /**
        * Return the result of the pull back transformation on a rank-4
@@ -322,7 +322,7 @@ namespace Physics
       template <int dim, typename Number>
       SymmetricTensor<4, dim, Number>
       pull_back(const SymmetricTensor<4, dim, Number> &h,
-                const Tensor<2, dim, Number> &         F);
+                const Tensor<2, dim, Number>          &F);
 
       /** @} */
     } // namespace Contravariant
@@ -407,7 +407,7 @@ namespace Physics
       template <int dim, typename Number>
       SymmetricTensor<2, dim, Number>
       push_forward(const SymmetricTensor<2, dim, Number> &T,
-                   const Tensor<2, dim, Number> &         F);
+                   const Tensor<2, dim, Number>          &F);
 
       /**
        * Return the result of the push forward transformation on a rank-4
@@ -446,7 +446,7 @@ namespace Physics
       template <int dim, typename Number>
       SymmetricTensor<4, dim, Number>
       push_forward(const SymmetricTensor<4, dim, Number> &H,
-                   const Tensor<2, dim, Number> &         F);
+                   const Tensor<2, dim, Number>          &F);
 
       /** @} */
 
@@ -509,7 +509,7 @@ namespace Physics
       template <int dim, typename Number>
       SymmetricTensor<2, dim, Number>
       pull_back(const SymmetricTensor<2, dim, Number> &t,
-                const Tensor<2, dim, Number> &         F);
+                const Tensor<2, dim, Number>          &F);
 
       /**
        * Return the result of the pull back transformation on a rank-4
@@ -547,7 +547,7 @@ namespace Physics
       template <int dim, typename Number>
       SymmetricTensor<4, dim, Number>
       pull_back(const SymmetricTensor<4, dim, Number> &h,
-                const Tensor<2, dim, Number> &         F);
+                const Tensor<2, dim, Number>          &F);
 
       /** @} */
     } // namespace Covariant
@@ -623,7 +623,7 @@ namespace Physics
       template <int dim, typename Number>
       SymmetricTensor<2, dim, Number>
       push_forward(const SymmetricTensor<2, dim, Number> &T,
-                   const Tensor<2, dim, Number> &         F);
+                   const Tensor<2, dim, Number>          &F);
 
       /**
        * Return the result of the push forward transformation on a rank-4
@@ -666,7 +666,7 @@ namespace Physics
       template <int dim, typename Number>
       SymmetricTensor<4, dim, Number>
       push_forward(const SymmetricTensor<4, dim, Number> &H,
-                   const Tensor<2, dim, Number> &         F);
+                   const Tensor<2, dim, Number>          &F);
 
       /** @} */
 
@@ -733,7 +733,7 @@ namespace Physics
       template <int dim, typename Number>
       SymmetricTensor<2, dim, Number>
       pull_back(const SymmetricTensor<2, dim, Number> &t,
-                const Tensor<2, dim, Number> &         F);
+                const Tensor<2, dim, Number>          &F);
 
       /**
        * Return the result of the pull back transformation on a rank-4
@@ -775,7 +775,7 @@ namespace Physics
       template <int dim, typename Number>
       SymmetricTensor<4, dim, Number>
       pull_back(const SymmetricTensor<4, dim, Number> &h,
-                const Tensor<2, dim, Number> &         F);
+                const Tensor<2, dim, Number>          &F);
 
       /** @} */
     } // namespace Piola
@@ -864,7 +864,7 @@ namespace Physics
     template <int dim, typename Number>
     SymmetricTensor<2, dim, Number>
     basis_transformation(const SymmetricTensor<2, dim, Number> &T,
-                         const Tensor<2, dim, Number> &         B);
+                         const Tensor<2, dim, Number>          &B);
 
     /**
      * Return a rank-4 tensor with a changed basis, i.e. (in index notation):
@@ -895,7 +895,7 @@ namespace Physics
     template <int dim, typename Number>
     SymmetricTensor<4, dim, Number>
     basis_transformation(const SymmetricTensor<4, dim, Number> &H,
-                         const Tensor<2, dim, Number> &         B);
+                         const Tensor<2, dim, Number>          &B);
 
     /** @} */
 
@@ -927,7 +927,7 @@ template <typename Number>
 Tensor<2, 3, Number>
 Physics::Transformations::Rotations::rotation_matrix_3d(
   const Tensor<1, 3, Number> &axis,
-  const Number &              angle)
+  const Number               &angle)
 {
   // Make things work with AD types
   using std::abs;
@@ -957,7 +957,7 @@ template <typename Number>
 Tensor<2, 3, Number>
 Physics::Transformations::Rotations::rotation_matrix_3d(
   const Point<3, Number> &axis,
-  const Number &          angle)
+  const Number           &angle)
 {
   return rotation_matrix_3d(static_cast<Tensor<1, 3, Number>>(axis), angle);
 }
@@ -990,7 +990,7 @@ template <int dim, typename Number>
 inline SymmetricTensor<2, dim, Number>
 Physics::Transformations::Contravariant::push_forward(
   const SymmetricTensor<2, dim, Number> &T,
-  const Tensor<2, dim, Number> &         F)
+  const Tensor<2, dim, Number>          &F)
 {
   return Physics::Transformations::basis_transformation(T, F);
 }
@@ -1012,7 +1012,7 @@ template <int dim, typename Number>
 inline SymmetricTensor<4, dim, Number>
 Physics::Transformations::Contravariant::push_forward(
   const SymmetricTensor<4, dim, Number> &H,
-  const Tensor<2, dim, Number> &         F)
+  const Tensor<2, dim, Number>          &F)
 {
   return Physics::Transformations::basis_transformation(H, F);
 }
@@ -1045,7 +1045,7 @@ template <int dim, typename Number>
 inline SymmetricTensor<2, dim, Number>
 Physics::Transformations::Contravariant::pull_back(
   const SymmetricTensor<2, dim, Number> &t,
-  const Tensor<2, dim, Number> &         F)
+  const Tensor<2, dim, Number>          &F)
 {
   return Physics::Transformations::basis_transformation(t, invert(F));
 }
@@ -1067,7 +1067,7 @@ template <int dim, typename Number>
 inline SymmetricTensor<4, dim, Number>
 Physics::Transformations::Contravariant::pull_back(
   const SymmetricTensor<4, dim, Number> &h,
-  const Tensor<2, dim, Number> &         F)
+  const Tensor<2, dim, Number>          &F)
 {
   return Physics::Transformations::basis_transformation(h, invert(F));
 }
@@ -1102,7 +1102,7 @@ template <int dim, typename Number>
 inline SymmetricTensor<2, dim, Number>
 Physics::Transformations::Covariant::push_forward(
   const SymmetricTensor<2, dim, Number> &T,
-  const Tensor<2, dim, Number> &         F)
+  const Tensor<2, dim, Number>          &F)
 {
   return Physics::Transformations::basis_transformation(T,
                                                         transpose(invert(F)));
@@ -1126,7 +1126,7 @@ template <int dim, typename Number>
 inline SymmetricTensor<4, dim, Number>
 Physics::Transformations::Covariant::push_forward(
   const SymmetricTensor<4, dim, Number> &H,
-  const Tensor<2, dim, Number> &         F)
+  const Tensor<2, dim, Number>          &F)
 {
   return Physics::Transformations::basis_transformation(H,
                                                         transpose(invert(F)));
@@ -1158,7 +1158,7 @@ template <int dim, typename Number>
 inline SymmetricTensor<2, dim, Number>
 Physics::Transformations::Covariant::pull_back(
   const SymmetricTensor<2, dim, Number> &t,
-  const Tensor<2, dim, Number> &         F)
+  const Tensor<2, dim, Number>          &F)
 {
   return Physics::Transformations::basis_transformation(t, transpose(F));
 }
@@ -1179,7 +1179,7 @@ template <int dim, typename Number>
 inline SymmetricTensor<4, dim, Number>
 Physics::Transformations::Covariant::pull_back(
   const SymmetricTensor<4, dim, Number> &h,
-  const Tensor<2, dim, Number> &         F)
+  const Tensor<2, dim, Number>          &F)
 {
   return Physics::Transformations::basis_transformation(h, transpose(F));
 }
@@ -1210,7 +1210,7 @@ template <int dim, typename Number>
 inline SymmetricTensor<2, dim, Number>
 Physics::Transformations::Piola::push_forward(
   const SymmetricTensor<2, dim, Number> &T,
-  const Tensor<2, dim, Number> &         F)
+  const Tensor<2, dim, Number>          &F)
 {
   return Number(1.0 / determinant(F)) * Contravariant::push_forward(T, F);
 }
@@ -1231,7 +1231,7 @@ template <int dim, typename Number>
 inline SymmetricTensor<4, dim, Number>
 Physics::Transformations::Piola::push_forward(
   const SymmetricTensor<4, dim, Number> &H,
-  const Tensor<2, dim, Number> &         F)
+  const Tensor<2, dim, Number>          &F)
 {
   return Number(1.0 / determinant(F)) * Contravariant::push_forward(H, F);
 }
@@ -1262,7 +1262,7 @@ template <int dim, typename Number>
 inline SymmetricTensor<2, dim, Number>
 Physics::Transformations::Piola::pull_back(
   const SymmetricTensor<2, dim, Number> &t,
-  const Tensor<2, dim, Number> &         F)
+  const Tensor<2, dim, Number>          &F)
 {
   return Number(determinant(F)) * Contravariant::pull_back(t, F);
 }
@@ -1283,7 +1283,7 @@ template <int dim, typename Number>
 inline SymmetricTensor<4, dim, Number>
 Physics::Transformations::Piola::pull_back(
   const SymmetricTensor<4, dim, Number> &h,
-  const Tensor<2, dim, Number> &         F)
+  const Tensor<2, dim, Number>          &F)
 {
   return Number(determinant(F)) * Contravariant::pull_back(h, F);
 }
@@ -1323,7 +1323,7 @@ template <int dim, typename Number>
 inline SymmetricTensor<2, dim, Number>
 Physics::Transformations::basis_transformation(
   const SymmetricTensor<2, dim, Number> &T,
-  const Tensor<2, dim, Number> &         B)
+  const Tensor<2, dim, Number>          &B)
 {
   Tensor<2, dim, Number> tmp_1;
   for (unsigned int i = 0; i < dim; ++i)
@@ -1377,7 +1377,7 @@ template <int dim, typename Number>
 inline SymmetricTensor<4, dim, Number>
 Physics::Transformations::basis_transformation(
   const SymmetricTensor<4, dim, Number> &H,
-  const Tensor<2, dim, Number> &         B)
+  const Tensor<2, dim, Number>          &B)
 {
   // The first and last transformation operations respectively
   // break and recover the symmetry properties of the tensors.
index e1a54fbe880f4d0c6db88a821faf1b962bd65492..7e254952cbbbab7f434614f346a59eb0e153f0f1 100644 (file)
@@ -534,7 +534,7 @@ namespace SUNDIALS
      *   calls to this function.
      */
     unsigned int
-    solve_ode_incrementally(VectorType solution,
+    solve_ode_incrementally(VectorType  &solution,
                             const double intermediate_time,
                             const bool   reset_solver = false);
 
@@ -696,7 +696,7 @@ namespace SUNDIALS
      * can throw exceptions of type RecoverableUserCallbackError.
      */
     std::function<void(const VectorType &v,
-                       VectorType &      Jv,
+                       VectorType       &Jv,
                        const double      t,
                        const VectorType &y,
                        const VectorType &fy)>
@@ -827,7 +827,7 @@ namespace SUNDIALS
                        const VectorType &y,
                        const VectorType &fy,
                        const VectorType &r,
-                       VectorType &      z,
+                       VectorType       &z,
                        const double      gamma,
                        const double      tol,
                        const int         lr)>
@@ -879,7 +879,7 @@ namespace SUNDIALS
                        const VectorType &y,
                        const VectorType &fy,
                        const int         jok,
-                       int &             jcur,
+                       int              &jcur,
                        const double      gamma)>
       jacobian_preconditioner_setup;
 
@@ -912,7 +912,7 @@ namespace SUNDIALS
      */
     std::function<void(const double      t,
                        const VectorType &r,
-                       VectorType &      z,
+                       VectorType       &z,
                        const double      tol,
                        const int         lr)>
       mass_preconditioner_solve;
@@ -958,7 +958,7 @@ namespace SUNDIALS
      *   actually been computed.
      */
     std::function<void(const double       t,
-                       const VectorType sol,
+                       const VectorType  &sol,
                        const unsigned int step_number)>
       output_step;
 
@@ -1029,7 +1029,7 @@ namespace SUNDIALS
      * Internal routine to call ARKode repeatedly.
      */
     int
-    do_evolve_time(VectorType &          solution,
+    do_evolve_time(VectorType           &solution,
                    dealii::DiscreteTime &time,
                    const bool            do_reset);
 
index b6c7d2486d5da61dea9c628cf8337272d6c07f2b..45dcc0d141ef45b197b9bb9d023d94b3399be2ab 100644 (file)
@@ -655,7 +655,7 @@ namespace SUNDIALS
     std::function<void(const double      t,
                        const VectorType &y,
                        const VectorType &y_dot,
-                       VectorType &      res)>
+                       VectorType       &res)>
       residual;
 
     /**
@@ -754,8 +754,8 @@ namespace SUNDIALS
      * computed.
      */
     std::function<void(const double       t,
-                       const VectorType sol,
-                       const VectorType sol_dot,
+                       const VectorType  &sol,
+                       const VectorType  &sol_dot,
                        const unsigned int step_number)>
       output_step;
 
index 7035cf5343104324ba1c10e46ef3f742a4da3f56..7f7eaad67dc2318996a8ca12365894c7f13b1c7f 100644 (file)
@@ -530,7 +530,8 @@ namespace SUNDIALS
 
     namespace NVectorOperations
     {
-      N_Vector_ID get_vector_id(N_Vector)
+      N_Vector_ID
+      get_vector_id(N_Vector)
       {
         return SUNDIALS_NVEC_CUSTOM;
       }
@@ -680,7 +681,7 @@ namespace SUNDIALS
       {
         // TODO copy can be avoided by a custom kernel
         VectorType tmp      = *unwrap_nvector_const<VectorType>(x);
-        auto *     w_dealii = unwrap_nvector_const<VectorType>(w);
+        auto      *w_dealii = unwrap_nvector_const<VectorType>(w);
         tmp.scale(*w_dealii);
         return tmp.l2_norm();
       }
@@ -750,7 +751,7 @@ namespace SUNDIALS
       {
         // TODO copy can be avoided by a custom kernel
         VectorType tmp      = *unwrap_nvector_const<VectorType>(x);
-        auto *     w_dealii = unwrap_nvector_const<VectorType>(w);
+        auto      *w_dealii = unwrap_nvector_const<VectorType>(w);
         const auto n        = tmp.size();
         tmp.scale(*w_dealii);
         return tmp.l2_norm() / std::sqrt(n);
@@ -764,8 +765,8 @@ namespace SUNDIALS
       {
         // TODO copy can be avoided by a custom kernel
         VectorType tmp         = *unwrap_nvector_const<VectorType>(x);
-        auto *     w_dealii    = unwrap_nvector_const<VectorType>(w);
-        auto *     mask_dealii = unwrap_nvector_const<VectorType>(mask);
+        auto      *w_dealii    = unwrap_nvector_const<VectorType>(w);
+        auto      *mask_dealii = unwrap_nvector_const<VectorType>(mask);
         const auto n           = tmp.size();
         tmp.scale(*w_dealii);
         tmp.scale(*mask_dealii);
index 7c336f7fe1e6878b2e0769374de6d595bb67cfd6..98a483fd5ba327ced356cce555c1486c6c987857 100644 (file)
@@ -125,7 +125,7 @@ namespace SUNDIALS
      * 6.0.0. If you are using an earlier version of SUNDIALS then you need to
      * use the other constructor.
      */
-    SundialsPreconditioner(void *     P_data,
+    SundialsPreconditioner(void      *P_data,
                            PSolveFn   p_solve_fn,
                            SUNContext linsol_ctx,
                            double     tol);
@@ -199,10 +199,10 @@ namespace SUNDIALS
    */
   template <typename VectorType>
   using LinearSolveFunction =
-    std::function<void(SundialsOperator<VectorType> &      op,
+    std::function<void(SundialsOperator<VectorType>       &op,
                        SundialsPreconditioner<VectorType> &prec,
-                       VectorType &                        x,
-                       const VectorType &                  b,
+                       VectorType                         &x,
+                       const VectorType                   &b,
                        double                              tol)>;
 
   namespace internal
@@ -219,7 +219,7 @@ namespace SUNDIALS
     public:
       explicit LinearSolverWrapper(
         const LinearSolveFunction<VectorType> &lsolve,
-        std::exception_ptr &                   pending_exception
+        std::exception_ptr                    &pending_exception
 #  if DEAL_II_SUNDIALS_VERSION_GTE(6, 0, 0)
         ,
         SUNContext linsol_ctx
index 7a509bb838b94a8ad03d066512e0a93c94dff8ce..7250b704af755aae2a4811f22cdb80dc2ab29598 100644 (file)
@@ -43,7 +43,7 @@ namespace SUNDIALS
      */
     template <typename F, typename... Args>
     int
-    call_and_possibly_capture_exception(const F &           f,
+    call_and_possibly_capture_exception(const F            &f,
                                         std::exception_ptr &eptr,
                                         Args &&...args)
     {
index 4004580d922ae16b744f8551d1b442a612a9e659..1705f9821e579adee9ddab23c7c754095f558d76 100644 (file)
@@ -168,7 +168,7 @@ namespace TrilinosWrappers
      * An overview of possible parameters is given at
      * https://docs.trilinos.org/dev/packages/nox/doc/html/parameters.html.
      */
-    NOXSolver(AdditionalData &                            additional_data,
+    NOXSolver(AdditionalData                             &additional_data,
               const Teuchos::RCP<Teuchos::ParameterList> &parameters =
                 Teuchos::rcp(new Teuchos::ParameterList));
 
@@ -337,8 +337,8 @@ namespace TrilinosWrappers
      */
     std::function<SolverControl::State(const unsigned int i,
                                        const double       norm_f,
-                                       const VectorType current_u,
-                                       const VectorType f)>
+                                       const VectorType  &current_u,
+                                       const VectorType  &f)>
       check_iteration_status;
 
     /**
index 98df8ffb7e155ae39ef25ebccc6b3706d72c31be..eab7ec5e860f0397f607033862325cfe6fa2614f 100644 (file)
@@ -56,7 +56,7 @@ namespace TrilinosWrappers
          */
         template <typename F, typename... Args>
         int
-        call_and_possibly_capture_exception(const F &           f,
+        call_and_possibly_capture_exception(const F            &f,
                                             std::exception_ptr &eptr,
                                             Args &&...args)
         {
@@ -359,11 +359,11 @@ namespace TrilinosWrappers
          * to solve the Jacobian.
          */
         Group(
-          VectorType &                                                solution,
+          VectorType                                                 &solution,
           const std::function<int(const VectorType &, VectorType &)> &residual,
           const std::function<int(const VectorType &)> &setup_jacobian,
           const std::function<int(const VectorType &, VectorType &)>
-            &                                     apply_jacobian,
+                                                 &apply_jacobian,
           const std::function<int(const VectorType &,
                                   VectorType &,
                                   const double)> &solve_with_jacobian)
@@ -464,7 +464,7 @@ namespace TrilinosWrappers
          * Compute the solution update `x = grp.x + step * d`.
          */
         void
-        computeX(const NOX::Abstract::Group grp,
+        computeX(const NOX::Abstract::Group  &grp,
                  const NOX::Abstract::Vector &d,
                  double                       step) override
         {
@@ -713,7 +713,7 @@ namespace TrilinosWrappers
          */
         NOX::Abstract::Group::ReturnType
         applyJacobian(const NOX::Abstract::Vector &input,
-                      NOX::Abstract::Vector &      result) const override
+                      NOX::Abstract::Vector       &result) const override
         {
           if (apply_jacobian == nullptr)
             return NOX::Abstract::Group::NotDefined;
@@ -898,8 +898,8 @@ namespace TrilinosWrappers
          */
         const std::function<SolverControl::State(const unsigned int i,
                                                  const double       f_norm,
-                                                 const VectorType x,
-                                                 const VectorType f)>
+                                                 const VectorType  &x,
+                                                 const VectorType  &f)>
           check_iteration_status;
 
         /**
@@ -932,7 +932,7 @@ namespace TrilinosWrappers
 
   template <typename VectorType>
   NOXSolver<VectorType>::NOXSolver(
-    AdditionalData &                            additional_data,
+    AdditionalData                             &additional_data,
     const Teuchos::RCP<Teuchos::ParameterList> &parameters)
     : additional_data(additional_data)
     , parameters(parameters)
index 45ca6c5b5480feadbba27cd0e15c8056b81d41be..32da50e190e3ceb0b9617b349779c815cc67bbc9 100644 (file)
@@ -36,7 +36,7 @@ for (DIM : DIMENSIONS; SCALAR : REAL_SCALARS)
           &spheres);
       template SphereNearestPredicate::SphereNearestPredicate(
         const std::vector<std::pair<dealii::Point<DIM, SCALAR>, SCALAR>>
-          &                spheres,
+                          &spheres,
         const unsigned int n_nearest_neighbors);
     \}
     DEAL_II_NAMESPACE_CLOSE
index 98914916cdc6d7a660c346ba0fb724c813de0fe8..4410e43a38711b026b04c17cdf255ba11a6b7663 100644 (file)
@@ -72,7 +72,7 @@ AutoDerivativeFunction<dim>::set_h(const double hh)
 
 template <int dim>
 Tensor<1, dim>
-AutoDerivativeFunction<dim>::gradient(const Point<dim> p,
+AutoDerivativeFunction<dim>::gradient(const Point<dim>  &p,
                                       const unsigned int comp) const
 {
   Tensor<1, dim> grad;
@@ -125,7 +125,7 @@ AutoDerivativeFunction<dim>::gradient(const Point<dim> & p,
 template <int dim>
 void
 AutoDerivativeFunction<dim>::vector_gradient(
-  const Point<dim> &           p,
+  const Point<dim>            &p,
   std::vector<Tensor<1, dim>> &gradients) const
 {
   Assert(gradients.size() == this->n_components,
@@ -203,7 +203,7 @@ template <int dim>
 void
 AutoDerivativeFunction<dim>::gradient_list(
   const std::vector<Point<dim>> &points,
-  std::vector<Tensor<1, dim>> &  gradients,
+  std::vector<Tensor<1, dim>>   &gradients,
   const unsigned int             comp) const
 {
   Assert(gradients.size() == points.size(),
@@ -266,7 +266,7 @@ AutoDerivativeFunction<dim>::gradient_list(
 template <int dim>
 void
 AutoDerivativeFunction<dim>::vector_gradient_list(
-  const std::vector<Point<dim>> &           points,
+  const std::vector<Point<dim>>            &points,
   std::vector<std::vector<Tensor<1, dim>>> &gradients) const
 {
   Assert(gradients.size() == points.size(),
index 04cab7e92726b9dd9399988b95bb5b1bc46ab1aa..9085cf123ff851d75509b1cb103720cc63cc5aac 100644 (file)
@@ -133,7 +133,7 @@ namespace
    */
   template <typename T>
   std::string
-  compress_array(const std::vector<T> &              data,
+  compress_array(const std::vector<T>               &data,
                  const DataOutBase::CompressionLevel compression_level)
   {
 #ifdef DEAL_II_WITH_ZLIB
@@ -209,7 +209,7 @@ namespace
    */
   template <typename T>
   std::string
-  vtu_stringize_array(const std::vector<T> &              data,
+  vtu_stringize_array(const std::vector<T>               &data,
                       const DataOutBase::CompressionLevel compression_level,
                       const int                           precision)
   {
@@ -654,7 +654,7 @@ namespace DataOutBase
 
 
   void
-  DataOutFilter::write_data_set(const std::string &     name,
+  DataOutFilter::write_data_set(const std::string      &name,
                                 const unsigned int      dimension,
                                 const unsigned int      set_num,
                                 const Table<2, double> &data_vectors)
@@ -775,7 +775,7 @@ namespace
   template <int dim, int spacedim>
   inline Point<spacedim>
   get_equispaced_location(
-    const DataOutBase::Patch<dim, spacedim> &  patch,
+    const DataOutBase::Patch<dim, spacedim>   &patch,
     const std::initializer_list<unsigned int> &lattice_location,
     const unsigned int                         n_subdivisions)
   {
@@ -1521,7 +1521,7 @@ namespace
 
 
 
-  TecplotStream::TecplotStream(std::ostream &                   out,
+  TecplotStream::TecplotStream(std::ostream                    &out,
                                const DataOutBase::TecplotFlags &f)
     : StreamBase<DataOutBase::TecplotFlags>(out, f)
   {}
@@ -2718,7 +2718,7 @@ namespace DataOutBase
   template <int dim, int spacedim, typename StreamType>
   void
   write_high_order_cells(const std::vector<Patch<dim, spacedim>> &patches,
-                         StreamType &                             out,
+                         StreamType                              &out,
                          const bool                               legacy_format)
   {
     Assert(dim <= 3 && dim > 1, ExcNotImplemented());
@@ -2831,7 +2831,7 @@ namespace DataOutBase
   write_data(const std::vector<Patch<dim, spacedim>> &patches,
              unsigned int                             n_data_sets,
              const bool                               double_precision,
-             StreamType &                             out)
+             StreamType                              &out)
   {
     Assert(dim <= 3, ExcNotImplemented());
     unsigned int count = 0;
@@ -3175,14 +3175,14 @@ namespace DataOutBase
   void
   write_ucd(
     const std::vector<Patch<dim, spacedim>> &patches,
-    const std::vector<std::string> &         data_names,
+    const std::vector<std::string>          &data_names,
     const std::vector<
       std::tuple<unsigned int,
                  unsigned int,
                  std::string,
                  DataComponentInterpretation::DataComponentInterpretation>> &,
     const UcdFlags &flags,
-    std::ostream &  out)
+    std::ostream   &out)
   {
     // Note that while in theory dim==0 should be implemented, this is not
     // tested, therefore currently not allowed.
@@ -3266,14 +3266,14 @@ namespace DataOutBase
   void
   write_dx(
     const std::vector<Patch<dim, spacedim>> &patches,
-    const std::vector<std::string> &         data_names,
+    const std::vector<std::string>          &data_names,
     const std::vector<
       std::tuple<unsigned int,
                  unsigned int,
                  std::string,
                  DataComponentInterpretation::DataComponentInterpretation>> &,
     const DXFlags &flags,
-    std::ostream out)
+    std::ostream  &out)
   {
     // Point output is currently not implemented.
     AssertThrow(dim > 0, ExcNotImplemented());
@@ -3556,14 +3556,14 @@ namespace DataOutBase
   void
   write_gnuplot(
     const std::vector<Patch<dim, spacedim>> &patches,
-    const std::vector<std::string> &         data_names,
+    const std::vector<std::string>          &data_names,
     const std::vector<
       std::tuple<unsigned int,
                  unsigned int,
                  std::string,
                  DataComponentInterpretation::DataComponentInterpretation>> &,
     const GnuplotFlags &flags,
-    std::ostream &      out)
+    std::ostream       &out)
   {
     AssertThrow(out.fail() == false, ExcIO());
 
@@ -3963,8 +3963,8 @@ namespace DataOutBase
     void
     do_write_povray(const std::vector<Patch<2, 2>> &patches,
                     const std::vector<std::string> &data_names,
-                    const PovrayFlags &             flags,
-                    std::ostream &                  out)
+                    const PovrayFlags              &flags,
+                    std::ostream                   &out)
     {
       AssertThrow(out.fail() == false, ExcIO());
 
@@ -4293,14 +4293,14 @@ namespace DataOutBase
   void
   write_povray(
     const std::vector<Patch<dim, spacedim>> &patches,
-    const std::vector<std::string> &         data_names,
+    const std::vector<std::string>          &data_names,
     const std::vector<
       std::tuple<unsigned int,
                  unsigned int,
                  std::string,
                  DataComponentInterpretation::DataComponentInterpretation>> &,
     const PovrayFlags &flags,
-    std::ostream &     out)
+    std::ostream      &out)
   {
     do_write_povray(patches, data_names, flags, out);
   }
@@ -4336,7 +4336,7 @@ namespace DataOutBase
                  std::string,
                  DataComponentInterpretation::DataComponentInterpretation>> &,
     const EpsFlags &flags,
-    std::ostream &  out)
+    std::ostream   &out)
   {
     AssertThrow(out.fail() == false, ExcIO());
 
@@ -4647,14 +4647,14 @@ namespace DataOutBase
   void
   write_gmv(
     const std::vector<Patch<dim, spacedim>> &patches,
-    const std::vector<std::string> &         data_names,
+    const std::vector<std::string>          &data_names,
     const std::vector<
       std::tuple<unsigned int,
                  unsigned int,
                  std::string,
                  DataComponentInterpretation::DataComponentInterpretation>> &,
     const GmvFlags &flags,
-    std::ostream &  out)
+    std::ostream   &out)
   {
     // The gmv format does not support cells that only consist of a single
     // point. It does support the output of point data using the keyword
@@ -4780,14 +4780,14 @@ namespace DataOutBase
   void
   write_tecplot(
     const std::vector<Patch<dim, spacedim>> &patches,
-    const std::vector<std::string> &         data_names,
+    const std::vector<std::string>          &data_names,
     const std::vector<
       std::tuple<unsigned int,
                  unsigned int,
                  std::string,
                  DataComponentInterpretation::DataComponentInterpretation>> &,
     const TecplotFlags &flags,
-    std::ostream &      out)
+    std::ostream       &out)
   {
     AssertThrow(out.fail() == false, ExcIO());
 
@@ -4933,15 +4933,15 @@ namespace DataOutBase
   void
   write_vtk(
     const std::vector<Patch<dim, spacedim>> &patches,
-    const std::vector<std::string> &         data_names,
+    const std::vector<std::string>          &data_names,
     const std::vector<
       std::tuple<unsigned int,
                  unsigned int,
                  std::string,
                  DataComponentInterpretation::DataComponentInterpretation>>
-      &             nonscalar_data_ranges,
+                   &nonscalar_data_ranges,
     const VtkFlags &flags,
-    std::ostream &  out)
+    std::ostream   &out)
   {
     AssertThrow(out.fail() == false, ExcIO());
 
@@ -5229,15 +5229,15 @@ namespace DataOutBase
   void
   write_vtu(
     const std::vector<Patch<dim, spacedim>> &patches,
-    const std::vector<std::string> &         data_names,
+    const std::vector<std::string>          &data_names,
     const std::vector<
       std::tuple<unsigned int,
                  unsigned int,
                  std::string,
                  DataComponentInterpretation::DataComponentInterpretation>>
-      &             nonscalar_data_ranges,
+                   &nonscalar_data_ranges,
     const VtkFlags &flags,
-    std::ostream &  out)
+    std::ostream   &out)
   {
     write_vtu_header(out, flags);
     write_vtu_main(patches, data_names, nonscalar_data_ranges, flags, out);
@@ -5251,15 +5251,15 @@ namespace DataOutBase
   void
   write_vtu_main(
     const std::vector<Patch<dim, spacedim>> &patches,
-    const std::vector<std::string> &         data_names,
+    const std::vector<std::string>          &data_names,
     const std::vector<
       std::tuple<unsigned int,
                  unsigned int,
                  std::string,
                  DataComponentInterpretation::DataComponentInterpretation>>
-      &             nonscalar_data_ranges,
+                   &nonscalar_data_ranges,
     const VtkFlags &flags,
-    std::ostream &  out)
+    std::ostream   &out)
   {
     AssertThrow(out.fail() == false, ExcIO());
 
@@ -5844,7 +5844,7 @@ namespace DataOutBase
        n_data_sets,
        n_nodes,
        output_precision = out.precision()](const Table<2, float> &data_vectors,
-                                           const auto &           range) {
+                                           const auto            &range) {
         std::ostringstream o;
 
         const auto  first_component = std::get<0>(range);
@@ -6103,7 +6103,7 @@ namespace DataOutBase
 
   void
   write_pvtu_record(
-    std::ostream &                  out,
+    std::ostream                   &out,
     const std::vector<std::string> &piece_names,
     const std::vector<std::string> &data_names,
     const std::vector<
@@ -6111,7 +6111,7 @@ namespace DataOutBase
                  unsigned int,
                  std::string,
                  DataComponentInterpretation::DataComponentInterpretation>>
-      &             nonscalar_data_ranges,
+                   &nonscalar_data_ranges,
     const VtkFlags &flags)
   {
     AssertThrow(out.fail() == false, ExcIO());
@@ -6256,7 +6256,7 @@ namespace DataOutBase
 
   void
   write_pvd_record(
-    std::ostream &                                     out,
+    std::ostream                                      &out,
     const std::vector<std::pair<double, std::string>> &times_and_names)
   {
     AssertThrow(out.fail() == false, ExcIO());
@@ -6292,7 +6292,7 @@ namespace DataOutBase
 
 
   void
-  write_visit_record(std::ostream &                  out,
+  write_visit_record(std::ostream                   &out,
                      const std::vector<std::string> &piece_names)
   {
     out << "!NBLOCKS " << piece_names.size() << '\n';
@@ -6305,7 +6305,7 @@ namespace DataOutBase
 
 
   void
-  write_visit_record(std::ostream &                               out,
+  write_visit_record(std::ostream                                &out,
                      const std::vector<std::vector<std::string>> &piece_names)
   {
     AssertThrow(out.fail() == false, ExcIO());
@@ -6395,7 +6395,7 @@ namespace DataOutBase
                  DataComponentInterpretation::DataComponentInterpretation>>
       & /*nonscalar_data_ranges*/,
     const SvgFlags &flags,
-    std::ostream &  out)
+    std::ostream   &out)
   {
     const unsigned int height = flags.height;
     unsigned int       width  = flags.width;
@@ -7353,7 +7353,7 @@ namespace DataOutBase
   void
   write_deal_II_intermediate(
     const std::vector<Patch<dim, spacedim>> &patches,
-    const std::vector<std::string> &         data_names,
+    const std::vector<std::string>          &data_names,
     const std::vector<
       std::tuple<unsigned int,
                  unsigned int,
@@ -7401,15 +7401,15 @@ namespace DataOutBase
   void
   write_deal_II_intermediate_in_parallel(
     const std::vector<Patch<dim, spacedim>> &patches,
-    const std::vector<std::string> &         data_names,
+    const std::vector<std::string>          &data_names,
     const std::vector<
       std::tuple<unsigned int,
                  unsigned int,
                  std::string,
                  DataComponentInterpretation::DataComponentInterpretation>>
-      &                              nonscalar_data_ranges,
+                                    &nonscalar_data_ranges,
     const Deal_II_IntermediateFlags &flags,
-    const std::string &              filename,
+    const std::string               &filename,
     const MPI_Comm                   comm,
     const CompressionLevel           compression)
   {
@@ -7766,7 +7766,7 @@ DataOutInterface<dim, spacedim>::write_vtu_in_parallel(
   AssertThrowMPI(ierr);
 
   {
-    const auto &                  patches      = get_patches();
+    const auto                   &patches      = get_patches();
     const types::global_dof_index my_n_patches = patches.size();
     const types::global_dof_index global_n_patches =
       Utilities::MPI::sum(my_n_patches, comm);
@@ -7839,7 +7839,7 @@ DataOutInterface<dim, spacedim>::write_vtu_in_parallel(
 template <int dim, int spacedim>
 void
 DataOutInterface<dim, spacedim>::write_pvtu_record(
-  std::ostream &                  out,
+  std::ostream                   &out,
   const std::vector<std::string> &piece_names) const
 {
   DataOutBase::write_pvtu_record(out,
@@ -7949,7 +7949,7 @@ DataOutInterface<dim, spacedim>::write_deal_II_intermediate(
 template <int dim, int spacedim>
 void
 DataOutInterface<dim, spacedim>::write_deal_II_intermediate_in_parallel(
-  const std::string &                 filename,
+  const std::string                  &filename,
   const MPI_Comm                      comm,
   const DataOutBase::CompressionLevel compression) const
 {
@@ -7969,7 +7969,7 @@ template <int dim, int spacedim>
 XDMFEntry
 DataOutInterface<dim, spacedim>::create_xdmf_entry(
   const DataOutBase::DataOutFilter &data_filter,
-  const std::string &               h5_filename,
+  const std::string                &h5_filename,
   const double                      cur_time,
   const MPI_Comm                    comm) const
 {
@@ -7983,8 +7983,8 @@ template <int dim, int spacedim>
 XDMFEntry
 DataOutInterface<dim, spacedim>::create_xdmf_entry(
   const DataOutBase::DataOutFilter &data_filter,
-  const std::string &               h5_mesh_filename,
-  const std::string &               h5_solution_filename,
+  const std::string                &h5_mesh_filename,
+  const std::string                &h5_solution_filename,
   const double                      cur_time,
   const MPI_Comm                    comm) const
 {
@@ -8122,7 +8122,7 @@ template <int dim, int spacedim>
 void
 DataOutInterface<dim, spacedim>::write_xdmf_file(
   const std::vector<XDMFEntry> &entries,
-  const std::string &           filename,
+  const std::string            &filename,
   const MPI_Comm                comm) const
 {
 #ifdef DEAL_II_WITH_MPI
@@ -8185,10 +8185,10 @@ namespace
   void
   do_write_hdf5(const std::vector<DataOutBase::Patch<dim, spacedim>> &patches,
                 const DataOutBase::DataOutFilter &data_filter,
-                const DataOutBase::Hdf5Flags &    flags,
+                const DataOutBase::Hdf5Flags     &flags,
                 const bool                        write_mesh_file,
-                const std::string &               mesh_filename,
-                const std::string &               solution_filename,
+                const std::string                &mesh_filename,
+                const std::string                &solution_filename,
                 const MPI_Comm                    comm)
   {
     hid_t h5_mesh_file_id = -1, h5_solution_file_id, file_plist_id, plist_id;
@@ -8534,13 +8534,13 @@ template <int dim, int spacedim>
 void
 DataOutBase::write_filtered_data(
   const std::vector<Patch<dim, spacedim>> &patches,
-  const std::vector<std::string> &         data_names,
+  const std::vector<std::string>          &data_names,
   const std::vector<
     std::tuple<unsigned int,
                unsigned int,
                std::string,
                DataComponentInterpretation::DataComponentInterpretation>>
-    &                         nonscalar_data_ranges,
+                             &nonscalar_data_ranges,
   DataOutBase::DataOutFilter &filtered_data)
 {
   const unsigned int n_data_sets = data_names.size();
@@ -8657,7 +8657,7 @@ template <int dim, int spacedim>
 void
 DataOutInterface<dim, spacedim>::write_hdf5_parallel(
   const DataOutBase::DataOutFilter &data_filter,
-  const std::string &               filename,
+  const std::string                &filename,
   const MPI_Comm                    comm) const
 {
   DataOutBase::write_hdf5_parallel(
@@ -8671,8 +8671,8 @@ void
 DataOutInterface<dim, spacedim>::write_hdf5_parallel(
   const DataOutBase::DataOutFilter &data_filter,
   const bool                        write_mesh_file,
-  const std::string &               mesh_filename,
-  const std::string &               solution_filename,
+  const std::string                &mesh_filename,
+  const std::string                &solution_filename,
   const MPI_Comm                    comm) const
 {
   DataOutBase::write_hdf5_parallel(get_patches(),
@@ -8690,9 +8690,9 @@ template <int dim, int spacedim>
 void
 DataOutBase::write_hdf5_parallel(
   const std::vector<Patch<dim, spacedim>> &patches,
-  const DataOutBase::DataOutFilter &       data_filter,
-  const DataOutBase::Hdf5Flags &           flags,
-  const std::string &                      filename,
+  const DataOutBase::DataOutFilter        &data_filter,
+  const DataOutBase::Hdf5Flags            &flags,
+  const std::string                       &filename,
   const MPI_Comm                           comm)
 {
   write_hdf5_parallel(
@@ -8705,11 +8705,11 @@ template <int dim, int spacedim>
 void
 DataOutBase::write_hdf5_parallel(
   const std::vector<Patch<dim, spacedim>> &patches,
-  const DataOutBase::DataOutFilter &       data_filter,
-  const DataOutBase::Hdf5Flags &           flags,
+  const DataOutBase::DataOutFilter        &data_filter,
+  const DataOutBase::Hdf5Flags            &flags,
   const bool                               write_mesh_file,
-  const std::string &                      mesh_filename,
-  const std::string &                      solution_filename,
+  const std::string                       &mesh_filename,
+  const std::string                       &solution_filename,
   const MPI_Comm                           comm)
 {
   AssertThrow(
@@ -8787,7 +8787,7 @@ DataOutBase::write_hdf5_parallel(
 template <int dim, int spacedim>
 void
 DataOutInterface<dim, spacedim>::write(
-  std::ostream &                  out,
+  std::ostream                   &out,
   const DataOutBase::OutputFormat output_format_) const
 {
   DataOutBase::OutputFormat output_format = output_format_;
@@ -9398,7 +9398,7 @@ XDMFEntry::XDMFEntry()
 
 
 
-XDMFEntry::XDMFEntry(const std::string filename,
+XDMFEntry::XDMFEntry(const std::string  &filename,
                      const double        time,
                      const std::uint64_t nodes,
                      const std::uint64_t cells,
@@ -9406,7 +9406,7 @@ XDMFEntry::XDMFEntry(const std::string & filename,
   : XDMFEntry(filename, filename, time, nodes, cells, dim, dim, ReferenceCell())
 {}
 
-XDMFEntry::XDMFEntry(const std::string &  filename,
+XDMFEntry::XDMFEntry(const std::string   &filename,
                      const double         time,
                      const std::uint64_t  nodes,
                      const std::uint64_t  cells,
@@ -9417,8 +9417,8 @@ XDMFEntry::XDMFEntry(const std::string &  filename,
 
 
 
-XDMFEntry::XDMFEntry(const std::string mesh_filename,
-                     const std::string solution_filename,
+XDMFEntry::XDMFEntry(const std::string  &mesh_filename,
+                     const std::string  &solution_filename,
                      const double        time,
                      const std::uint64_t nodes,
                      const std::uint64_t cells,
@@ -9435,8 +9435,8 @@ XDMFEntry::XDMFEntry(const std::string & mesh_filename,
 
 
 
-XDMFEntry::XDMFEntry(const std::string &  mesh_filename,
-                     const std::string &  solution_filename,
+XDMFEntry::XDMFEntry(const std::string   &mesh_filename,
+                     const std::string   &solution_filename,
                      const double         time,
                      const std::uint64_t  nodes,
                      const std::uint64_t  cells,
@@ -9454,8 +9454,8 @@ XDMFEntry::XDMFEntry(const std::string &  mesh_filename,
 
 
 
-XDMFEntry::XDMFEntry(const std::string mesh_filename,
-                     const std::string solution_filename,
+XDMFEntry::XDMFEntry(const std::string  &mesh_filename,
+                     const std::string  &solution_filename,
                      const double        time,
                      const std::uint64_t nodes,
                      const std::uint64_t cells,
@@ -9506,8 +9506,8 @@ namespace
 
 
 
-XDMFEntry::XDMFEntry(const std::string &  mesh_filename,
-                     const std::string &  solution_filename,
+XDMFEntry::XDMFEntry(const std::string   &mesh_filename,
+                     const std::string   &solution_filename,
                      const double         time,
                      const std::uint64_t  nodes,
                      const std::uint64_t  cells,
index f50ce64a73ccda0c589022f36e1d0c1ce68d9c32..188196924fcfbf7e60c998d0eb14954ebc5c88ea 100644 (file)
@@ -27,191 +27,191 @@ for (deal_II_dimension : OUTPUT_DIMENSIONS;
 
       template std::ostream &
       operator<<(
-        std::ostream &                                           out,
+        std::ostream                                            &out,
         const Patch<deal_II_dimension, deal_II_space_dimension> &patch);
 
       template std::istream &
-      operator>>(std::istream &                                     in,
+      operator>>(std::istream                                      &in,
                  Patch<deal_II_dimension, deal_II_space_dimension> &patch);
 
       template void
       write_vtk(
         const std::vector<Patch<deal_II_dimension, deal_II_space_dimension>>
-          &                             patches,
+                                       &patches,
         const std::vector<std::string> &data_names,
         const std::vector<
           std::tuple<unsigned int,
                      unsigned int,
                      std::string,
                      DataComponentInterpretation::DataComponentInterpretation>>
-          &             nonscalar_data_ranges,
+                       &nonscalar_data_ranges,
         const VtkFlags &flags,
-        std::ostream &  out);
+        std::ostream   &out);
 
       template void
       write_vtu(
         const std::vector<Patch<deal_II_dimension, deal_II_space_dimension>>
-          &                             patches,
+                                       &patches,
         const std::vector<std::string> &data_names,
         const std::vector<
           std::tuple<unsigned int,
                      unsigned int,
                      std::string,
                      DataComponentInterpretation::DataComponentInterpretation>>
-          &             nonscalar_data_ranges,
+                       &nonscalar_data_ranges,
         const VtkFlags &flags,
-        std::ostream &  out);
+        std::ostream   &out);
 
       template void
       write_ucd(
         const std::vector<Patch<deal_II_dimension, deal_II_space_dimension>>
-          &                             patches,
+                                       &patches,
         const std::vector<std::string> &data_names,
         const std::vector<
           std::tuple<unsigned int,
                      unsigned int,
                      std::string,
                      DataComponentInterpretation::DataComponentInterpretation>>
-          &             nonscalar_data_ranges,
+                       &nonscalar_data_ranges,
         const UcdFlags &flags,
-        std::ostream &  out);
+        std::ostream   &out);
 
       template void
       write_dx(
         const std::vector<Patch<deal_II_dimension, deal_II_space_dimension>>
-          &                             patches,
+                                       &patches,
         const std::vector<std::string> &data_names,
         const std::vector<
           std::tuple<unsigned int,
                      unsigned int,
                      std::string,
                      DataComponentInterpretation::DataComponentInterpretation>>
-          &            nonscalar_data_ranges,
+                      &nonscalar_data_ranges,
         const DXFlags &flags,
-        std::ostream out);
+        std::ostream  &out);
 
       template void
       write_gnuplot(
         const std::vector<Patch<deal_II_dimension, deal_II_space_dimension>>
-          &                             patches,
+                                       &patches,
         const std::vector<std::string> &data_names,
         const std::vector<
           std::tuple<unsigned int,
                      unsigned int,
                      std::string,
                      DataComponentInterpretation::DataComponentInterpretation>>
-          &                 nonscalar_data_ranges,
+                           &nonscalar_data_ranges,
         const GnuplotFlags &flags,
-        std::ostream &      out);
+        std::ostream       &out);
 
       template void
       write_povray(
         const std::vector<Patch<deal_II_dimension, deal_II_space_dimension>>
-          &                             patches,
+                                       &patches,
         const std::vector<std::string> &data_names,
         const std::vector<
           std::tuple<unsigned int,
                      unsigned int,
                      std::string,
                      DataComponentInterpretation::DataComponentInterpretation>>
-          &                nonscalar_data_ranges,
+                          &nonscalar_data_ranges,
         const PovrayFlags &flags,
-        std::ostream &     out);
+        std::ostream      &out);
 
       template void
       write_eps(
         const std::vector<Patch<deal_II_dimension, deal_II_space_dimension>>
-          &                             patches,
+                                       &patches,
         const std::vector<std::string> &data_names,
         const std::vector<
           std::tuple<unsigned int,
                      unsigned int,
                      std::string,
                      DataComponentInterpretation::DataComponentInterpretation>>
-          &             nonscalar_data_ranges,
+                       &nonscalar_data_ranges,
         const EpsFlags &flags,
-        std::ostream &  out);
+        std::ostream   &out);
 
       template void
       write_gmv(
         const std::vector<Patch<deal_II_dimension, deal_II_space_dimension>>
-          &                             patches,
+                                       &patches,
         const std::vector<std::string> &data_names,
         const std::vector<
           std::tuple<unsigned int,
                      unsigned int,
                      std::string,
                      DataComponentInterpretation::DataComponentInterpretation>>
-          &             nonscalar_data_ranges,
+                       &nonscalar_data_ranges,
         const GmvFlags &flags,
-        std::ostream &  out);
+        std::ostream   &out);
 
       template void
       write_tecplot(
         const std::vector<Patch<deal_II_dimension, deal_II_space_dimension>>
-          &                             patches,
+                                       &patches,
         const std::vector<std::string> &data_names,
         const std::vector<
           std::tuple<unsigned int,
                      unsigned int,
                      std::string,
                      DataComponentInterpretation::DataComponentInterpretation>>
-          &                 nonscalar_data_ranges,
+                           &nonscalar_data_ranges,
         const TecplotFlags &flags,
-        std::ostream &      out);
+        std::ostream       &out);
 
 #  if deal_II_space_dimension > 1
       template void
       write_svg(
         const std::vector<Patch<deal_II_dimension, deal_II_space_dimension>>
-          &                             patches,
+                                       &patches,
         const std::vector<std::string> &data_names,
         const std::vector<
           std::tuple<unsigned int,
                      unsigned int,
                      std::string,
                      DataComponentInterpretation::DataComponentInterpretation>>
-          &             nonscalar_data_ranges,
+                       &nonscalar_data_ranges,
         const SvgFlags &flags,
-        std::ostream &  out);
+        std::ostream   &out);
 #  endif
       template void
       write_deal_II_intermediate(
         const std::vector<Patch<deal_II_dimension, deal_II_space_dimension>>
-          &                             patches,
+                                       &patches,
         const std::vector<std::string> &data_names,
         const std::vector<
           std::tuple<unsigned int,
                      unsigned int,
                      std::string,
                      DataComponentInterpretation::DataComponentInterpretation>>
-          &                              nonscalar_data_ranges,
+                                        &nonscalar_data_ranges,
         const Deal_II_IntermediateFlags &flags,
-        std::ostream &                   out);
+        std::ostream                    &out);
 
       template void
       write_deal_II_intermediate_in_parallel(
         const std::vector<Patch<deal_II_dimension, deal_II_space_dimension>>
-          &                             patches,
+                                       &patches,
         const std::vector<std::string> &data_names,
         const std::vector<
           std::tuple<unsigned int,
                      unsigned int,
                      std::string,
                      DataComponentInterpretation::DataComponentInterpretation>>
-          &                              nonscalar_data_ranges,
+                                        &nonscalar_data_ranges,
         const Deal_II_IntermediateFlags &flags,
-        const std::string &              filename,
+        const std::string               &filename,
         const MPI_Comm                   comm,
         const CompressionLevel           compression);
 
       template void
       write_hdf5_parallel(
         const std::vector<Patch<deal_II_dimension, deal_II_space_dimension>>
-          &                           patches,
-        const DataOutFilter &         data_filter,
+                                     &patches,
+        const DataOutFilter          &data_filter,
         const DataOutBase::Hdf5Flags &flags,
-        const std::string &           filename,
+        const std::string            &filename,
         const MPI_Comm                comm);
 
       template void
index a6cd5840447e515254b011c343f0e3940e3127a9..55c13d91d6ae4b60aef6a3e3af52ac53c15ba337 100644 (file)
@@ -49,7 +49,7 @@ namespace Functions
   void
   FlowFunction<dim>::vector_value_list(
     const std::vector<Point<dim>> &points,
-    std::vector<Vector<double>> &  values) const
+    std::vector<Vector<double>>   &values) const
   {
     const unsigned int n_points = points.size();
     Assert(values.size() == n_points,
@@ -76,7 +76,7 @@ namespace Functions
   template <int dim>
   void
   FlowFunction<dim>::vector_value(const Point<dim> &point,
-                                  Vector<double> &  value) const
+                                  Vector<double>   &value) const
   {
     Assert(value.size() == dim + 1,
            ExcDimensionMismatch(value.size(), dim + 1));
@@ -100,7 +100,7 @@ namespace Functions
 
   template <int dim>
   double
-  FlowFunction<dim>::value(const Point<dim> point,
+  FlowFunction<dim>::value(const Point<dim>  &point,
                            const unsigned int comp) const
   {
     AssertIndexRange(comp, dim + 1);
@@ -123,7 +123,7 @@ namespace Functions
   template <int dim>
   void
   FlowFunction<dim>::vector_gradient_list(
-    const std::vector<Point<dim>> &           points,
+    const std::vector<Point<dim>>            &points,
     std::vector<std::vector<Tensor<1, dim>>> &values) const
   {
     const unsigned int n_points = points.size();
@@ -152,7 +152,7 @@ namespace Functions
   void
   FlowFunction<dim>::vector_laplacian_list(
     const std::vector<Point<dim>> &points,
-    std::vector<Vector<double>> &  values) const
+    std::vector<Vector<double>>   &values) const
   {
     const unsigned int n_points = points.size();
     Assert(values.size() == n_points,
@@ -200,7 +200,7 @@ namespace Functions
   template <int dim>
   void
   PoisseuilleFlow<dim>::vector_values(
-    const std::vector<Point<dim>> &   points,
+    const std::vector<Point<dim>>    &points,
     std::vector<std::vector<double>> &values) const
   {
     const unsigned int n = points.size();
@@ -236,7 +236,7 @@ namespace Functions
   template <int dim>
   void
   PoisseuilleFlow<dim>::vector_gradients(
-    const std::vector<Point<dim>> &           points,
+    const std::vector<Point<dim>>            &points,
     std::vector<std::vector<Tensor<1, dim>>> &values) const
   {
     const unsigned int n = points.size();
@@ -268,7 +268,7 @@ namespace Functions
   template <int dim>
   void
   PoisseuilleFlow<dim>::vector_laplacians(
-    const std::vector<Point<dim>> &   points,
+    const std::vector<Point<dim>>    &points,
     std::vector<std::vector<double>> &values) const
   {
     const unsigned int n = points.size();
@@ -304,7 +304,7 @@ namespace Functions
   template <int dim>
   void
   StokesCosine<dim>::vector_values(
-    const std::vector<Point<dim>> &   points,
+    const std::vector<Point<dim>>    &points,
     std::vector<std::vector<double>> &values) const
   {
     unsigned int n = points.size();
@@ -353,7 +353,7 @@ namespace Functions
   template <int dim>
   void
   StokesCosine<dim>::vector_gradients(
-    const std::vector<Point<dim>> &           points,
+    const std::vector<Point<dim>>            &points,
     std::vector<std::vector<Tensor<1, dim>>> &values) const
   {
     unsigned int n = points.size();
@@ -419,7 +419,7 @@ namespace Functions
   template <int dim>
   void
   StokesCosine<dim>::vector_laplacians(
-    const std::vector<Point<dim>> &   points,
+    const std::vector<Point<dim>>    &points,
     std::vector<std::vector<double>> &values) const
   {
     unsigned int n = points.size();
@@ -544,7 +544,7 @@ namespace Functions
 
   void
   StokesLSingularity::vector_values(
-    const std::vector<Point<2>> &     points,
+    const std::vector<Point<2>>      &points,
     std::vector<std::vector<double>> &values) const
   {
     unsigned int n = points.size();
@@ -584,7 +584,7 @@ namespace Functions
 
   void
   StokesLSingularity::vector_gradients(
-    const std::vector<Point<2>> &           points,
+    const std::vector<Point<2>>            &points,
     std::vector<std::vector<Tensor<1, 2>>> &values) const
   {
     unsigned int n = points.size();
@@ -644,7 +644,7 @@ namespace Functions
 
   void
   StokesLSingularity::vector_laplacians(
-    const std::vector<Point<2>> &     points,
+    const std::vector<Point<2>>      &points,
     std::vector<std::vector<double>> &values) const
   {
     unsigned int n = points.size();
@@ -677,7 +677,7 @@ namespace Functions
 
 
   void
-  Kovasznay::vector_values(const std::vector<Point<2>> &     points,
+  Kovasznay::vector_values(const std::vector<Point<2>>      &points,
                            std::vector<std::vector<double>> &values) const
   {
     unsigned int n = points.size();
@@ -702,7 +702,7 @@ namespace Functions
 
   void
   Kovasznay::vector_gradients(
-    const std::vector<Point<2>> &           points,
+    const std::vector<Point<2>>            &points,
     std::vector<std::vector<Tensor<1, 2>>> &gradients) const
   {
     unsigned int n = points.size();
@@ -734,7 +734,7 @@ namespace Functions
 
 
   void
-  Kovasznay::vector_laplacians(const std::vector<Point<2>> &     points,
+  Kovasznay::vector_laplacians(const std::vector<Point<2>>      &points,
                                std::vector<std::vector<double>> &values) const
   {
     unsigned int n = points.size();
index 09f51da76468e3baadf12f4fdb94f411eaaf28f4..9d467051d93f16736a7d7cf02e57f34043bde002 100644 (file)
@@ -24,7 +24,7 @@ DEAL_II_NAMESPACE_OPEN
 
 template <int dim>
 FunctionDerivative<dim>::FunctionDerivative(const Function<dim> &f,
-                                            const Point<dim> &   dir,
+                                            const Point<dim>    &dir,
                                             const double         h)
   : AutoDerivativeFunction<dim>(h, f.n_components, f.get_time())
   , f(f)
@@ -37,7 +37,7 @@ FunctionDerivative<dim>::FunctionDerivative(const Function<dim> &f,
 
 
 template <int dim>
-FunctionDerivative<dim>::FunctionDerivative(const Function<dim> &          f,
+FunctionDerivative<dim>::FunctionDerivative(const Function<dim>           &f,
                                             const std::vector<Point<dim>> &dir,
                                             const double                   h)
   : AutoDerivativeFunction<dim>(h, f.n_components, f.get_time())
@@ -89,7 +89,7 @@ FunctionDerivative<dim>::set_h(const double new_h)
 
 template <int dim>
 double
-FunctionDerivative<dim>::value(const Point<dim> p,
+FunctionDerivative<dim>::value(const Point<dim>  &p,
                                const unsigned int component) const
 {
   Assert(incr.size() == 1,
@@ -121,7 +121,7 @@ FunctionDerivative<dim>::value(const Point<dim> & p,
 template <int dim>
 void
 FunctionDerivative<dim>::vector_value(const Point<dim> &p,
-                                      Vector<double> &  result) const
+                                      Vector<double>   &result) const
 {
   Assert(incr.size() == 1,
          ExcMessage(
@@ -163,7 +163,7 @@ FunctionDerivative<dim>::vector_value(const Point<dim> &p,
 template <int dim>
 void
 FunctionDerivative<dim>::value_list(const std::vector<Point<dim>> &points,
-                                    std::vector<double> &          values,
+                                    std::vector<double>           &values,
                                     const unsigned int component) const
 {
   const unsigned int n                  = points.size();
index 502a66471a99a32c4babafda4d3d102334d97937..0209f542c9160fbbb4dc5542d490b1eeb14e03db 100644 (file)
@@ -40,7 +40,7 @@ namespace Functions
   template <int dim>
   void
   SquareFunction<dim>::vector_value(const Point<dim> &p,
-                                    Vector<double> &  values) const
+                                    Vector<double>   &values) const
   {
     AssertDimension(values.size(), 1);
     values(0) = p.square();
@@ -50,7 +50,7 @@ namespace Functions
   template <int dim>
   void
   SquareFunction<dim>::value_list(const std::vector<Point<dim>> &points,
-                                  std::vector<double> &          values,
+                                  std::vector<double>           &values,
                                   const unsigned int) const
   {
     Assert(values.size() == points.size(),
@@ -75,7 +75,7 @@ namespace Functions
   template <int dim>
   void
   SquareFunction<dim>::laplacian_list(const std::vector<Point<dim>> &points,
-                                      std::vector<double> &          values,
+                                      std::vector<double>           &values,
                                       const unsigned int) const
   {
     Assert(values.size() == points.size(),
@@ -98,7 +98,7 @@ namespace Functions
   template <int dim>
   void
   SquareFunction<dim>::vector_gradient(
-    const Point<dim> &           p,
+    const Point<dim>            &p,
     std::vector<Tensor<1, dim>> &values) const
   {
     AssertDimension(values.size(), 1);
@@ -110,7 +110,7 @@ namespace Functions
   template <int dim>
   void
   SquareFunction<dim>::gradient_list(const std::vector<Point<dim>> &points,
-                                     std::vector<Tensor<1, dim>> &  gradients,
+                                     std::vector<Tensor<1, dim>>   &gradients,
                                      const unsigned int) const
   {
     Assert(gradients.size() == points.size(),
@@ -137,7 +137,7 @@ namespace Functions
   template <int dim>
   void
   Q1WedgeFunction<dim>::value_list(const std::vector<Point<dim>> &points,
-                                   std::vector<double> &          values,
+                                   std::vector<double>           &values,
                                    const unsigned int) const
   {
     Assert(dim >= 2, ExcInternalError());
@@ -156,7 +156,7 @@ namespace Functions
   void
   Q1WedgeFunction<dim>::vector_value_list(
     const std::vector<Point<dim>> &points,
-    std::vector<Vector<double>> &  values) const
+    std::vector<Vector<double>>   &values) const
   {
     Assert(dim >= 2, ExcInternalError());
     Assert(values.size() == points.size(),
@@ -183,7 +183,7 @@ namespace Functions
   template <int dim>
   void
   Q1WedgeFunction<dim>::laplacian_list(const std::vector<Point<dim>> &points,
-                                       std::vector<double> &          values,
+                                       std::vector<double>           &values,
                                        const unsigned int) const
   {
     Assert(dim >= 2, ExcInternalError());
@@ -212,7 +212,7 @@ namespace Functions
   template <int dim>
   void
   Q1WedgeFunction<dim>::gradient_list(const std::vector<Point<dim>> &points,
-                                      std::vector<Tensor<1, dim>> &  gradients,
+                                      std::vector<Tensor<1, dim>>   &gradients,
                                       const unsigned int) const
   {
     Assert(dim >= 2, ExcInternalError());
@@ -230,7 +230,7 @@ namespace Functions
   template <int dim>
   void
   Q1WedgeFunction<dim>::vector_gradient_list(
-    const std::vector<Point<dim>> &           points,
+    const std::vector<Point<dim>>            &points,
     std::vector<std::vector<Tensor<1, dim>>> &gradients) const
   {
     Assert(dim >= 2, ExcInternalError());
@@ -278,7 +278,7 @@ namespace Functions
   template <int dim>
   void
   PillowFunction<dim>::value_list(const std::vector<Point<dim>> &points,
-                                  std::vector<double> &          values,
+                                  std::vector<double>           &values,
                                   const unsigned int) const
   {
     Assert(values.size() == points.size(),
@@ -331,7 +331,7 @@ namespace Functions
   template <int dim>
   void
   PillowFunction<dim>::laplacian_list(const std::vector<Point<dim>> &points,
-                                      std::vector<double> &          values,
+                                      std::vector<double>           &values,
                                       const unsigned int) const
   {
     Assert(values.size() == points.size(),
@@ -387,7 +387,7 @@ namespace Functions
   template <int dim>
   void
   PillowFunction<dim>::gradient_list(const std::vector<Point<dim>> &points,
-                                     std::vector<Tensor<1, dim>> &  gradients,
+                                     std::vector<Tensor<1, dim>>   &gradients,
                                      const unsigned int) const
   {
     Assert(gradients.size() == points.size(),
@@ -452,7 +452,7 @@ namespace Functions
   template <int dim>
   void
   CosineFunction<dim>::value_list(const std::vector<Point<dim>> &points,
-                                  std::vector<double> &          values,
+                                  std::vector<double>           &values,
                                   const unsigned int) const
   {
     Assert(values.size() == points.size(),
@@ -467,7 +467,7 @@ namespace Functions
   void
   CosineFunction<dim>::vector_value_list(
     const std::vector<Point<dim>> &points,
-    std::vector<Vector<double>> &  values) const
+    std::vector<Vector<double>>   &values) const
   {
     Assert(values.size() == points.size(),
            ExcDimensionMismatch(values.size(), points.size()));
@@ -508,7 +508,7 @@ namespace Functions
   template <int dim>
   void
   CosineFunction<dim>::laplacian_list(const std::vector<Point<dim>> &points,
-                                      std::vector<double> &          values,
+                                      std::vector<double>           &values,
                                       const unsigned int) const
   {
     Assert(values.size() == points.size(),
@@ -554,7 +554,7 @@ namespace Functions
   template <int dim>
   void
   CosineFunction<dim>::gradient_list(const std::vector<Point<dim>> &points,
-                                     std::vector<Tensor<1, dim>> &  gradients,
+                                     std::vector<Tensor<1, dim>>   &gradients,
                                      const unsigned int) const
   {
     Assert(gradients.size() == points.size(),
@@ -650,7 +650,7 @@ namespace Functions
   template <int dim>
   void
   CosineFunction<dim>::hessian_list(
-    const std::vector<Point<dim>> &       points,
+    const std::vector<Point<dim>>        &points,
     std::vector<SymmetricTensor<2, dim>> &hessians,
     const unsigned int) const
   {
@@ -719,7 +719,7 @@ namespace Functions
 
   template <int dim>
   double
-  CosineGradFunction<dim>::value(const Point<dim> p,
+  CosineGradFunction<dim>::value(const Point<dim>  &p,
                                  const unsigned int d) const
   {
     AssertIndexRange(d, dim);
@@ -746,7 +746,7 @@ namespace Functions
   template <int dim>
   void
   CosineGradFunction<dim>::vector_value(const Point<dim> &p,
-                                        Vector<double> &  result) const
+                                        Vector<double>   &result) const
   {
     AssertDimension(result.size(), dim);
     switch (dim)
@@ -780,7 +780,7 @@ namespace Functions
   template <int dim>
   void
   CosineGradFunction<dim>::value_list(const std::vector<Point<dim>> &points,
-                                      std::vector<double> &          values,
+                                      std::vector<double>           &values,
                                       const unsigned int             d) const
   {
     Assert(values.size() == points.size(),
@@ -817,7 +817,7 @@ namespace Functions
   void
   CosineGradFunction<dim>::vector_value_list(
     const std::vector<Point<dim>> &points,
-    std::vector<Vector<double>> &  values) const
+    std::vector<Vector<double>>   &values) const
   {
     Assert(values.size() == points.size(),
            ExcDimensionMismatch(values.size(), points.size()));
@@ -856,7 +856,7 @@ namespace Functions
 
   template <int dim>
   double
-  CosineGradFunction<dim>::laplacian(const Point<dim> p,
+  CosineGradFunction<dim>::laplacian(const Point<dim>  &p,
                                      const unsigned int d) const
   {
     return -numbers::PI_2 * numbers::PI_2 * value(p, d);
@@ -865,7 +865,7 @@ namespace Functions
 
   template <int dim>
   Tensor<1, dim>
-  CosineGradFunction<dim>::gradient(const Point<dim> p,
+  CosineGradFunction<dim>::gradient(const Point<dim>  &p,
                                     const unsigned int d) const
   {
     AssertIndexRange(d, dim);
@@ -919,7 +919,7 @@ namespace Functions
     for (unsigned int i = 0; i < points.size(); ++i)
       {
         const Point<dim> &p      = points[i];
-        Tensor<1, dim> &  result = gradients[i];
+        Tensor<1, dim>   &result = gradients[i];
 
         switch (dim)
           {
@@ -953,7 +953,7 @@ namespace Functions
   template <int dim>
   void
   CosineGradFunction<dim>::vector_gradient_list(
-    const std::vector<Point<dim>> &           points,
+    const std::vector<Point<dim>>            &points,
     std::vector<std::vector<Tensor<1, dim>>> &gradients) const
   {
     AssertVectorVectorDimension(gradients, points.size(), dim);
@@ -1035,7 +1035,7 @@ namespace Functions
   template <int dim>
   void
   ExpFunction<dim>::value_list(const std::vector<Point<dim>> &points,
-                               std::vector<double> &          values,
+                               std::vector<double>           &values,
                                const unsigned int) const
   {
     Assert(values.size() == points.size(),
@@ -1082,7 +1082,7 @@ namespace Functions
   template <int dim>
   void
   ExpFunction<dim>::laplacian_list(const std::vector<Point<dim>> &points,
-                                   std::vector<double> &          values,
+                                   std::vector<double>           &values,
                                    const unsigned int) const
   {
     Assert(values.size() == points.size(),
@@ -1136,7 +1136,7 @@ namespace Functions
   template <int dim>
   void
   ExpFunction<dim>::gradient_list(const std::vector<Point<dim>> &points,
-                                  std::vector<Tensor<1, dim>> &  gradients,
+                                  std::vector<Tensor<1, dim>>   &gradients,
                                   const unsigned int) const
   {
     Assert(gradients.size() == points.size(),
@@ -1188,7 +1188,7 @@ namespace Functions
 
   void
   LSingularityFunction::value_list(const std::vector<Point<2>> &points,
-                                   std::vector<double> &        values,
+                                   std::vector<double>         &values,
                                    const unsigned int) const
   {
     Assert(values.size() == points.size(),
@@ -1254,7 +1254,7 @@ namespace Functions
 
   void
   LSingularityFunction::laplacian_list(const std::vector<Point<2>> &points,
-                                       std::vector<double> &        values,
+                                       std::vector<double>         &values,
                                        const unsigned int) const
   {
     Assert(values.size() == points.size(),
@@ -1288,7 +1288,7 @@ namespace Functions
 
   void
   LSingularityFunction::gradient_list(const std::vector<Point<2>> &points,
-                                      std::vector<Tensor<1, 2>> &  gradients,
+                                      std::vector<Tensor<1, 2>>   &gradients,
                                       const unsigned int) const
   {
     Assert(gradients.size() == points.size(),
@@ -1315,7 +1315,7 @@ namespace Functions
 
   void
   LSingularityFunction::vector_gradient_list(
-    const std::vector<Point<2>> &           points,
+    const std::vector<Point<2>>            &points,
     std::vector<std::vector<Tensor<1, 2>>> &gradients) const
   {
     Assert(gradients.size() == points.size(),
@@ -1368,7 +1368,7 @@ namespace Functions
 
   void
   LSingularityGradFunction::value_list(const std::vector<Point<2>> &points,
-                                       std::vector<double> &        values,
+                                       std::vector<double>         &values,
                                        const unsigned int           d) const
   {
     AssertIndexRange(d, 2);
@@ -1428,7 +1428,7 @@ namespace Functions
 
   void
   LSingularityGradFunction::laplacian_list(const std::vector<Point<2>> &points,
-                                           std::vector<double> &        values,
+                                           std::vector<double>         &values,
                                            const unsigned int) const
   {
     Assert(values.size() == points.size(),
@@ -1488,7 +1488,7 @@ namespace Functions
   void
   SlitSingularityFunction<dim>::value_list(
     const std::vector<Point<dim>> &points,
-    std::vector<double> &          values,
+    std::vector<double>           &values,
     const unsigned int) const
   {
     Assert(values.size() == points.size(),
@@ -1511,7 +1511,7 @@ namespace Functions
   void
   SlitSingularityFunction<dim>::vector_value_list(
     const std::vector<Point<dim>> &points,
-    std::vector<Vector<double>> &  values) const
+    std::vector<Vector<double>>   &values) const
   {
     Assert(values.size() == points.size(),
            ExcDimensionMismatch(values.size(), points.size()));
@@ -1545,7 +1545,7 @@ namespace Functions
   void
   SlitSingularityFunction<dim>::laplacian_list(
     const std::vector<Point<dim>> &points,
-    std::vector<double> &          values,
+    std::vector<double>           &values,
     const unsigned int) const
   {
     Assert(values.size() == points.size(),
@@ -1581,7 +1581,7 @@ namespace Functions
   void
   SlitSingularityFunction<dim>::gradient_list(
     const std::vector<Point<dim>> &points,
-    std::vector<Tensor<1, dim>> &  gradients,
+    std::vector<Tensor<1, dim>>   &gradients,
     const unsigned int) const
   {
     Assert(gradients.size() == points.size(),
@@ -1609,7 +1609,7 @@ namespace Functions
   template <int dim>
   void
   SlitSingularityFunction<dim>::vector_gradient_list(
-    const std::vector<Point<dim>> &           points,
+    const std::vector<Point<dim>>            &points,
     std::vector<std::vector<Tensor<1, dim>>> &gradients) const
   {
     Assert(gradients.size() == points.size(),
@@ -1656,7 +1656,7 @@ namespace Functions
 
   void
   SlitHyperSingularityFunction::value_list(const std::vector<Point<2>> &points,
-                                           std::vector<double> &        values,
+                                           std::vector<double>         &values,
                                            const unsigned int) const
   {
     Assert(values.size() == points.size(),
@@ -1710,7 +1710,7 @@ namespace Functions
   void
   SlitHyperSingularityFunction::laplacian_list(
     const std::vector<Point<2>> &points,
-    std::vector<double> &        values,
+    std::vector<double>         &values,
     const unsigned int) const
   {
     Assert(values.size() == points.size(),
@@ -1745,7 +1745,7 @@ namespace Functions
   void
   SlitHyperSingularityFunction::gradient_list(
     const std::vector<Point<2>> &points,
-    std::vector<Tensor<1, 2>> &  gradients,
+    std::vector<Tensor<1, 2>>   &gradients,
     const unsigned int) const
   {
     Assert(gradients.size() == points.size(),
@@ -1771,7 +1771,7 @@ namespace Functions
 
   void
   SlitHyperSingularityFunction::vector_gradient_list(
-    const std::vector<Point<2>> &           points,
+    const std::vector<Point<2>>            &points,
     std::vector<std::vector<Tensor<1, 2>>> &gradients) const
   {
     Assert(gradients.size() == points.size(),
@@ -1835,7 +1835,7 @@ namespace Functions
   template <int dim>
   void
   JumpFunction<dim>::value_list(const std::vector<Point<dim>> &p,
-                                std::vector<double> &          values,
+                                std::vector<double>           &values,
                                 const unsigned int) const
   {
     Assert(values.size() == p.size(),
@@ -1862,7 +1862,7 @@ namespace Functions
   template <int dim>
   void
   JumpFunction<dim>::laplacian_list(const std::vector<Point<dim>> &p,
-                                    std::vector<double> &          values,
+                                    std::vector<double>           &values,
                                     const unsigned int) const
   {
     Assert(values.size() == p.size(),
@@ -1897,7 +1897,7 @@ namespace Functions
   template <int dim>
   void
   JumpFunction<dim>::gradient_list(const std::vector<Point<dim>> &p,
-                                   std::vector<Tensor<1, dim>> &  gradients,
+                                   std::vector<Tensor<1, dim>>   &gradients,
                                    const unsigned int) const
   {
     Assert(gradients.size() == p.size(),
@@ -1939,7 +1939,7 @@ namespace Functions
 
   template <int dim>
   double
-  FourierCosineFunction<dim>::value(const Point<dim> p,
+  FourierCosineFunction<dim>::value(const Point<dim>  &p,
                                     const unsigned int component) const
   {
     (void)component;
@@ -1951,7 +1951,7 @@ namespace Functions
 
   template <int dim>
   Tensor<1, dim>
-  FourierCosineFunction<dim>::gradient(const Point<dim> p,
+  FourierCosineFunction<dim>::gradient(const Point<dim>  &p,
                                        const unsigned int component) const
   {
     (void)component;
@@ -1963,7 +1963,7 @@ namespace Functions
 
   template <int dim>
   double
-  FourierCosineFunction<dim>::laplacian(const Point<dim> p,
+  FourierCosineFunction<dim>::laplacian(const Point<dim>  &p,
                                         const unsigned int component) const
   {
     (void)component;
@@ -1989,7 +1989,7 @@ namespace Functions
 
   template <int dim>
   double
-  FourierSineFunction<dim>::value(const Point<dim> p,
+  FourierSineFunction<dim>::value(const Point<dim>  &p,
                                   const unsigned int component) const
   {
     (void)component;
@@ -2001,7 +2001,7 @@ namespace Functions
 
   template <int dim>
   Tensor<1, dim>
-  FourierSineFunction<dim>::gradient(const Point<dim> p,
+  FourierSineFunction<dim>::gradient(const Point<dim>  &p,
                                      const unsigned int component) const
   {
     (void)component;
@@ -2013,7 +2013,7 @@ namespace Functions
 
   template <int dim>
   double
-  FourierSineFunction<dim>::laplacian(const Point<dim> p,
+  FourierSineFunction<dim>::laplacian(const Point<dim>  &p,
                                       const unsigned int component) const
   {
     (void)component;
@@ -2031,7 +2031,7 @@ namespace Functions
   template <int dim>
   FourierSineSum<dim>::FourierSineSum(
     const std::vector<Point<dim>> &fourier_coefficients,
-    const std::vector<double> &    weights)
+    const std::vector<double>     &weights)
     : Function<dim>(1)
     , fourier_coefficients(fourier_coefficients)
     , weights(weights)
@@ -2045,7 +2045,7 @@ namespace Functions
 
   template <int dim>
   double
-  FourierSineSum<dim>::value(const Point<dim> p,
+  FourierSineSum<dim>::value(const Point<dim>  &p,
                              const unsigned int component) const
   {
     (void)component;
@@ -2063,7 +2063,7 @@ namespace Functions
 
   template <int dim>
   Tensor<1, dim>
-  FourierSineSum<dim>::gradient(const Point<dim> p,
+  FourierSineSum<dim>::gradient(const Point<dim>  &p,
                                 const unsigned int component) const
   {
     (void)component;
@@ -2081,7 +2081,7 @@ namespace Functions
 
   template <int dim>
   double
-  FourierSineSum<dim>::laplacian(const Point<dim> p,
+  FourierSineSum<dim>::laplacian(const Point<dim>  &p,
                                  const unsigned int component) const
   {
     (void)component;
@@ -2105,7 +2105,7 @@ namespace Functions
   template <int dim>
   FourierCosineSum<dim>::FourierCosineSum(
     const std::vector<Point<dim>> &fourier_coefficients,
-    const std::vector<double> &    weights)
+    const std::vector<double>     &weights)
     : Function<dim>(1)
     , fourier_coefficients(fourier_coefficients)
     , weights(weights)
@@ -2119,7 +2119,7 @@ namespace Functions
 
   template <int dim>
   double
-  FourierCosineSum<dim>::value(const Point<dim> p,
+  FourierCosineSum<dim>::value(const Point<dim>  &p,
                                const unsigned int component) const
   {
     (void)component;
@@ -2137,7 +2137,7 @@ namespace Functions
 
   template <int dim>
   Tensor<1, dim>
-  FourierCosineSum<dim>::gradient(const Point<dim> p,
+  FourierCosineSum<dim>::gradient(const Point<dim>  &p,
                                   const unsigned int component) const
   {
     (void)component;
@@ -2155,7 +2155,7 @@ namespace Functions
 
   template <int dim>
   double
-  FourierCosineSum<dim>::laplacian(const Point<dim> p,
+  FourierCosineSum<dim>::laplacian(const Point<dim>  &p,
                                    const unsigned int component) const
   {
     (void)component;
@@ -2187,7 +2187,7 @@ namespace Functions
 
   template <int dim, typename Number>
   Number
-  Monomial<dim, Number>::value(const Point<dim> p,
+  Monomial<dim, Number>::value(const Point<dim>  &p,
                                const unsigned int component) const
   {
     (void)component;
@@ -2210,7 +2210,7 @@ namespace Functions
   template <int dim, typename Number>
   void
   Monomial<dim, Number>::vector_value(const Point<dim> &p,
-                                      Vector<Number> &  values) const
+                                      Vector<Number>   &values) const
   {
     Assert(values.size() == this->n_components,
            ExcDimensionMismatch(values.size(), this->n_components));
@@ -2223,7 +2223,7 @@ namespace Functions
 
   template <int dim, typename Number>
   Tensor<1, dim, Number>
-  Monomial<dim, Number>::gradient(const Point<dim> p,
+  Monomial<dim, Number>::gradient(const Point<dim>  &p,
                                   const unsigned int component) const
   {
     (void)component;
@@ -2263,7 +2263,7 @@ namespace Functions
   template <int dim, typename Number>
   void
   Monomial<dim, Number>::value_list(const std::vector<Point<dim>> &points,
-                                    std::vector<Number> &          values,
+                                    std::vector<Number>           &values,
                                     const unsigned int component) const
   {
     Assert(values.size() == points.size(),
@@ -2298,7 +2298,7 @@ namespace Functions
   template <int dim>
   void
   Bessel1<dim>::value_list(const std::vector<Point<dim>> &points,
-                           std::vector<double> &          values,
+                           std::vector<double>           &values,
                            const unsigned int) const
   {
     Assert(dim == 2, ExcNotImplemented());
@@ -2336,7 +2336,7 @@ namespace Functions
   template <int dim>
   void
   Bessel1<dim>::gradient_list(const std::vector<Point<dim>> &points,
-                              std::vector<Tensor<1, dim>> &  gradients,
+                              std::vector<Tensor<1, dim>>   &gradients,
                               const unsigned int) const
   {
     Assert(dim == 2, ExcNotImplemented());
@@ -2368,8 +2368,8 @@ namespace Functions
     // in, and p_unit denotes the point in unit coordinates to do so.
     double
     interpolate(const Table<1, double> &data_values,
-                const TableIndices<1> ix,
-                const Point<1> &        xi)
+                const TableIndices<1>  &ix,
+                const Point<1>         &xi)
     {
       return ((1 - xi[0]) * data_values[ix[0]] +
               xi[0] * data_values[ix[0] + 1]);
@@ -2377,8 +2377,8 @@ namespace Functions
 
     double
     interpolate(const Table<2, double> &data_values,
-                const TableIndices<2> ix,
-                const Point<2> &        p_unit)
+                const TableIndices<2>  &ix,
+                const Point<2>         &p_unit)
     {
       return (((1 - p_unit[0]) * data_values[ix[0]][ix[1]] +
                p_unit[0] * data_values[ix[0] + 1][ix[1]]) *
@@ -2390,8 +2390,8 @@ namespace Functions
 
     double
     interpolate(const Table<3, double> &data_values,
-                const TableIndices<3> ix,
-                const Point<3> &        p_unit)
+                const TableIndices<3>  &ix,
+                const Point<3>         &p_unit)
     {
       return ((((1 - p_unit[0]) * data_values[ix[0]][ix[1]][ix[2]] +
                 p_unit[0] * data_values[ix[0] + 1][ix[1]][ix[2]]) *
@@ -2416,9 +2416,9 @@ namespace Functions
     // denotes the width of the interval in each dimension.
     Tensor<1, 1>
     gradient_interpolate(const Table<1, double> &data_values,
-                         const TableIndices<1> ix,
-                         const Point<1> &        p_unit,
-                         const Point<1> &        dx)
+                         const TableIndices<1>  &ix,
+                         const Point<1>         &p_unit,
+                         const Point<1>         &dx)
     {
       (void)p_unit;
       Tensor<1, 1> grad;
@@ -2429,9 +2429,9 @@ namespace Functions
 
     Tensor<1, 2>
     gradient_interpolate(const Table<2, double> &data_values,
-                         const TableIndices<2> ix,
-                         const Point<2> &        p_unit,
-                         const Point<2> &        dx)
+                         const TableIndices<2>  &ix,
+                         const Point<2>         &p_unit,
+                         const Point<2>         &dx)
     {
       Tensor<1, 2> grad;
       double       u00 = data_values[ix[0]][ix[1]],
@@ -2449,9 +2449,9 @@ namespace Functions
 
     Tensor<1, 3>
     gradient_interpolate(const Table<3, double> &data_values,
-                         const TableIndices<3> ix,
-                         const Point<3> &        p_unit,
-                         const Point<3> &        dx)
+                         const TableIndices<3>  &ix,
+                         const Point<3>         &p_unit,
+                         const Point<3>         &dx)
     {
       Tensor<1, 3> grad;
       double       u000 = data_values[ix[0]][ix[1]][ix[2]],
@@ -2491,7 +2491,7 @@ namespace Functions
   template <int dim>
   InterpolatedTensorProductGridData<dim>::InterpolatedTensorProductGridData(
     const std::array<std::vector<double>, dim> &coordinate_values,
-    const Table<dim, double> &                  data_values)
+    const Table<dim, double>                   &data_values)
     : coordinate_values(coordinate_values)
     , data_values(data_values)
   {
@@ -2518,7 +2518,7 @@ namespace Functions
   template <int dim>
   InterpolatedTensorProductGridData<dim>::InterpolatedTensorProductGridData(
     std::array<std::vector<double>, dim> &&coordinate_values,
-    Table<dim, double> &&                  data_values)
+    Table<dim, double>                   &&data_values)
     : coordinate_values(std::move(coordinate_values))
     , data_values(std::move(data_values))
   {
@@ -2604,7 +2604,7 @@ namespace Functions
   template <int dim>
   double
   InterpolatedTensorProductGridData<dim>::value(
-    const Point<dim> p,
+    const Point<dim>  &p,
     const unsigned int component) const
   {
     (void)component;
@@ -2635,7 +2635,7 @@ namespace Functions
   template <int dim>
   Tensor<1, dim>
   InterpolatedTensorProductGridData<dim>::gradient(
-    const Point<dim> p,
+    const Point<dim>  &p,
     const unsigned int component) const
   {
     (void)component;
@@ -2665,8 +2665,8 @@ namespace Functions
   template <int dim>
   InterpolatedUniformGridData<dim>::InterpolatedUniformGridData(
     const std::array<std::pair<double, double>, dim> &interval_endpoints,
-    const std::array<unsigned int, dim> &             n_subintervals,
-    const Table<dim, double> &                        data_values)
+    const std::array<unsigned int, dim>              &n_subintervals,
+    const Table<dim, double>                         &data_values)
     : interval_endpoints(interval_endpoints)
     , n_subintervals(n_subintervals)
     , data_values(data_values)
@@ -2689,8 +2689,8 @@ namespace Functions
   template <int dim>
   InterpolatedUniformGridData<dim>::InterpolatedUniformGridData(
     std::array<std::pair<double, double>, dim> &&interval_endpoints,
-    std::array<unsigned int, dim> &&             n_subintervals,
-    Table<dim, double> &&                        data_values)
+    std::array<unsigned int, dim>              &&n_subintervals,
+    Table<dim, double>                         &&data_values)
     : interval_endpoints(std::move(interval_endpoints))
     , n_subintervals(std::move(n_subintervals))
     , data_values(std::move(data_values))
@@ -2713,7 +2713,7 @@ namespace Functions
 
   template <int dim>
   double
-  InterpolatedUniformGridData<dim>::value(const Point<dim> p,
+  InterpolatedUniformGridData<dim>::value(const Point<dim>  &p,
                                           const unsigned int component) const
   {
     (void)component;
@@ -2762,7 +2762,7 @@ namespace Functions
 
   template <int dim>
   Tensor<1, dim>
-  InterpolatedUniformGridData<dim>::gradient(const Point<dim> p,
+  InterpolatedUniformGridData<dim>::gradient(const Point<dim>  &p,
                                              const unsigned int component) const
   {
     (void)component;
@@ -2835,7 +2835,7 @@ namespace Functions
 
 
   template <int dim>
-  Polynomial<dim>::Polynomial(const Table<2, double> &   exponents,
+  Polynomial<dim>::Polynomial(const Table<2, double>    &exponents,
                               const std::vector<double> &coefficients)
     : Function<dim>(1)
     , exponents(exponents)
@@ -2851,7 +2851,7 @@ namespace Functions
 
   template <int dim>
   double
-  Polynomial<dim>::value(const Point<dim> p,
+  Polynomial<dim>::value(const Point<dim>  &p,
                          const unsigned int component) const
   {
     (void)component;
@@ -2879,7 +2879,7 @@ namespace Functions
   template <int dim>
   void
   Polynomial<dim>::value_list(const std::vector<Point<dim>> &points,
-                              std::vector<double> &          values,
+                              std::vector<double>           &values,
                               const unsigned int             component) const
   {
     Assert(values.size() == points.size(),
@@ -2893,7 +2893,7 @@ namespace Functions
 
   template <int dim>
   Tensor<1, dim>
-  Polynomial<dim>::gradient(const Point<dim> p,
+  Polynomial<dim>::gradient(const Point<dim>  &p,
                             const unsigned int component) const
   {
     (void)component;
index a32582db1308ae2832787c74174b977f43459798..0429ed7479c47a847d44482a9d3512b81cbdbadf 100644 (file)
@@ -103,7 +103,7 @@ namespace Functions
   template <int dim>
   CutOffFunctionTensorProduct<dim>::CutOffFunctionTensorProduct(
     double             radius,
-    const Point<dim> center,
+    const Point<dim>  &center,
     const unsigned int n_components,
     const unsigned int select,
     const bool         integrate_to_one)
@@ -143,7 +143,7 @@ namespace Functions
 
   template <int dim>
   double
-  CutOffFunctionTensorProduct<dim>::value(const Point<dim> p,
+  CutOffFunctionTensorProduct<dim>::value(const Point<dim>  &p,
                                           const unsigned int component) const
   {
     Assert(initialized, ExcNotInitialized());
@@ -157,7 +157,7 @@ namespace Functions
 
   template <int dim>
   Tensor<1, dim>
-  CutOffFunctionTensorProduct<dim>::gradient(const Point<dim> p,
+  CutOffFunctionTensorProduct<dim>::gradient(const Point<dim>  &p,
                                              const unsigned int component) const
   {
     Assert(initialized, ExcNotInitialized());
@@ -221,7 +221,7 @@ namespace Functions
 
   template <int dim>
   double
-  CutOffFunctionLinfty<dim>::value(const Point<dim> p,
+  CutOffFunctionLinfty<dim>::value(const Point<dim>  &p,
                                    const unsigned int component) const
   {
     if (this->selected == CutOffFunctionBase<dim>::no_component ||
@@ -234,7 +234,7 @@ namespace Functions
   template <int dim>
   void
   CutOffFunctionLinfty<dim>::value_list(const std::vector<Point<dim>> &points,
-                                        std::vector<double> &          values,
+                                        std::vector<double>           &values,
                                         const unsigned int component) const
   {
     Assert(values.size() == points.size(),
@@ -257,7 +257,7 @@ namespace Functions
   void
   CutOffFunctionLinfty<dim>::vector_value_list(
     const std::vector<Point<dim>> &points,
-    std::vector<Vector<double>> &  values) const
+    std::vector<Vector<double>>   &values) const
   {
     Assert(values.size() == points.size(),
            ExcDimensionMismatch(values.size(), points.size()));
@@ -294,7 +294,7 @@ namespace Functions
 
   template <int dim>
   double
-  CutOffFunctionW1<dim>::value(const Point<dim> p,
+  CutOffFunctionW1<dim>::value(const Point<dim>  &p,
                                const unsigned int component) const
   {
     if (this->selected == CutOffFunctionBase<dim>::no_component ||
@@ -312,7 +312,7 @@ namespace Functions
   template <int dim>
   void
   CutOffFunctionW1<dim>::value_list(const std::vector<Point<dim>> &points,
-                                    std::vector<double> &          values,
+                                    std::vector<double>           &values,
                                     const unsigned int component) const
   {
     Assert(values.size() == points.size(),
@@ -337,7 +337,7 @@ namespace Functions
   void
   CutOffFunctionW1<dim>::vector_value_list(
     const std::vector<Point<dim>> &points,
-    std::vector<Vector<double>> &  values) const
+    std::vector<Vector<double>>   &values) const
   {
     Assert(values.size() == points.size(),
            ExcDimensionMismatch(values.size(), points.size()));
@@ -378,7 +378,7 @@ namespace Functions
 
   template <int dim>
   double
-  CutOffFunctionCinfty<dim>::value(const Point<dim> p,
+  CutOffFunctionCinfty<dim>::value(const Point<dim>  &p,
                                    const unsigned int component) const
   {
     if (this->selected == CutOffFunctionBase<dim>::no_component ||
@@ -398,7 +398,7 @@ namespace Functions
   template <int dim>
   void
   CutOffFunctionCinfty<dim>::value_list(const std::vector<Point<dim>> &points,
-                                        std::vector<double> &          values,
+                                        std::vector<double>           &values,
                                         const unsigned int component) const
   {
     Assert(values.size() == points.size(),
@@ -431,7 +431,7 @@ namespace Functions
   void
   CutOffFunctionCinfty<dim>::vector_value_list(
     const std::vector<Point<dim>> &points,
-    std::vector<Vector<double>> &  values) const
+    std::vector<Vector<double>>   &values) const
   {
     Assert(values.size() == points.size(),
            ExcDimensionMismatch(values.size(), points.size()));
@@ -497,7 +497,7 @@ namespace Functions
 
   template <int dim>
   double
-  CutOffFunctionC1<dim>::value(const Point<dim> p,
+  CutOffFunctionC1<dim>::value(const Point<dim>  &p,
                                const unsigned int component) const
   {
     if (this->selected == CutOffFunctionBase<dim>::no_component ||
@@ -516,7 +516,7 @@ namespace Functions
   template <int dim>
   void
   CutOffFunctionC1<dim>::value_list(const std::vector<Point<dim>> &points,
-                                    std::vector<double> &          values,
+                                    std::vector<double>           &values,
                                     const unsigned int component) const
   {
     Assert(values.size() == points.size(),
@@ -548,7 +548,7 @@ namespace Functions
   void
   CutOffFunctionC1<dim>::vector_value_list(
     const std::vector<Point<dim>> &points,
-    std::vector<Vector<double>> &  values) const
+    std::vector<Vector<double>>   &values) const
   {
     Assert(values.size() == points.size(),
            ExcDimensionMismatch(values.size(), points.size()));
index 7765f08d1ebf8f8cf5a66ead3752dce31859aed9..238a0cf16d14a92344045c9b689f855fa4b6760d 100644 (file)
@@ -71,7 +71,7 @@ FunctionParser<dim>::FunctionParser(const std::string &expression,
 
 template <int dim>
 void
-FunctionParser<dim>::initialize(const std::string &             variables,
+FunctionParser<dim>::initialize(const std::string              &variables,
                                 const std::vector<std::string> &expressions,
                                 const std::map<std::string, double> &constants,
                                 const bool time_dependent)
@@ -86,8 +86,8 @@ FunctionParser<dim>::initialize(const std::string &             variables,
 
 template <int dim>
 void
-FunctionParser<dim>::initialize(const std::string &                  vars,
-                                const std::string &                  expression,
+FunctionParser<dim>::initialize(const std::string                   &vars,
+                                const std::string                   &expression,
                                 const std::map<std::string, double> &constants,
                                 const bool time_dependent)
 {
@@ -101,7 +101,7 @@ FunctionParser<dim>::initialize(const std::string &                  vars,
 
 template <int dim>
 double
-FunctionParser<dim>::value(const Point<dim> p,
+FunctionParser<dim>::value(const Point<dim>  &p,
                            const unsigned int component) const
 {
   return this->do_value(p, this->get_time(), component);
index 57fa91d83f39324146b3a176d66b44589fcbae69..dfcd2cd87b8a646b6fb18e54825cd0b935ec2816 100644 (file)
@@ -21,7 +21,7 @@ namespace internal
 {
   template <int dim>
   Point<dim + 1>
-  create_higher_dim_point(const Point<dim> point,
+  create_higher_dim_point(const Point<dim>  &point,
                           const unsigned int component_in_dim_plus_1,
                           const double       coordinate_value)
   {
@@ -61,7 +61,7 @@ namespace Functions
 
   template <int dim>
   double
-  CoordinateRestriction<dim>::value(const Point<dim> point,
+  CoordinateRestriction<dim>::value(const Point<dim>  &point,
                                     const unsigned int component) const
   {
     const Point<dim + 1> full_point =
@@ -76,7 +76,7 @@ namespace Functions
 
   template <int dim>
   Tensor<1, dim>
-  CoordinateRestriction<dim>::gradient(const Point<dim> point,
+  CoordinateRestriction<dim>::gradient(const Point<dim>  &point,
                                        const unsigned int component) const
   {
     const Point<dim + 1> full_point =
@@ -104,7 +104,7 @@ namespace Functions
 
   template <int dim>
   SymmetricTensor<2, dim>
-  CoordinateRestriction<dim>::hessian(const Point<dim> point,
+  CoordinateRestriction<dim>::hessian(const Point<dim>  &point,
                                       const unsigned int component) const
   {
     const Point<dim + 1> full_point =
@@ -139,7 +139,7 @@ namespace Functions
   template <int dim>
   PointRestriction<dim>::PointRestriction(const Function<dim + 1> &function,
                                           const unsigned int open_direction,
-                                          const Point<dim> point)
+                                          const Point<dim>  &point)
     : function(&function)
     , open_direction(open_direction)
     , point(point)
@@ -151,7 +151,7 @@ namespace Functions
 
   template <int dim>
   double
-  PointRestriction<dim>::value(const Point<1> &   point_1D,
+  PointRestriction<dim>::value(const Point<1>    &point_1D,
                                const unsigned int component) const
   {
     const Point<dim + 1> full_point =
@@ -163,7 +163,7 @@ namespace Functions
 
   template <int dim>
   Tensor<1, 1>
-  PointRestriction<dim>::gradient(const Point<1> &   point_1D,
+  PointRestriction<dim>::gradient(const Point<1>    &point_1D,
                                   const unsigned int component) const
   {
     const Point<dim + 1> full_point =
@@ -182,7 +182,7 @@ namespace Functions
 
   template <int dim>
   SymmetricTensor<2, 1>
-  PointRestriction<dim>::hessian(const Point<1> &   point_1D,
+  PointRestriction<dim>::hessian(const Point<1>    &point_1D,
                                  const unsigned int component) const
   {
     const Point<dim + 1> full_point =
index 04498acda8e266ecb9afa40d1d29e6758db231bd..94cc80cbdc1e4e3d967f0632b47bea5bd4850676 100644 (file)
@@ -37,7 +37,7 @@ namespace Functions
 
     template <int dim>
     double
-    Sphere<dim>::value(const Point<dim> point,
+    Sphere<dim>::value(const Point<dim>  &point,
                        const unsigned int component) const
     {
       AssertIndexRange(component, this->n_components);
@@ -50,7 +50,7 @@ namespace Functions
 
     template <int dim>
     Tensor<1, dim>
-    Sphere<dim>::gradient(const Point<dim> point,
+    Sphere<dim>::gradient(const Point<dim>  &point,
                           const unsigned int component) const
     {
       AssertIndexRange(component, this->n_components);
@@ -65,7 +65,7 @@ namespace Functions
 
     template <int dim>
     SymmetricTensor<2, dim>
-    Sphere<dim>::hessian(const Point<dim> point,
+    Sphere<dim>::hessian(const Point<dim>  &point,
                          const unsigned int component) const
     {
       AssertIndexRange(component, this->n_components);
@@ -96,7 +96,7 @@ namespace Functions
 
     template <int dim>
     double
-    Plane<dim>::value(const Point<dim> point,
+    Plane<dim>::value(const Point<dim>  &point,
                       const unsigned int component) const
     {
       AssertIndexRange(component, this->n_components);
@@ -132,7 +132,7 @@ namespace Functions
 
 
     template <int dim>
-    Ellipsoid<dim>::Ellipsoid(const Point<dim> &             center,
+    Ellipsoid<dim>::Ellipsoid(const Point<dim>              &center,
                               const std::array<double, dim> &radii,
                               const double                   tolerance,
                               const unsigned int             max_iter)
@@ -149,7 +149,7 @@ namespace Functions
 
     template <int dim>
     double
-    Ellipsoid<dim>::value(const Point<dim> point,
+    Ellipsoid<dim>::value(const Point<dim>  &point,
                           const unsigned int component) const
     {
       AssertIndexRange(component, this->n_components);
@@ -169,7 +169,7 @@ namespace Functions
 
     template <int dim>
     Tensor<1, dim>
-    Ellipsoid<dim>::gradient(const Point<dim> point,
+    Ellipsoid<dim>::gradient(const Point<dim>  &point,
                              const unsigned int component) const
     {
       AssertIndexRange(component, this->n_components);
@@ -352,7 +352,7 @@ namespace Functions
 
     template <int dim>
     double
-    Rectangle<dim>::value(const Point<dim> p,
+    Rectangle<dim>::value(const Point<dim>  &p,
                           const unsigned int component) const
     {
       AssertDimension(component, 0);
@@ -404,7 +404,7 @@ namespace Functions
 
     template <int dim>
     double
-    ZalesakDisk<dim>::value(const Point<dim> p,
+    ZalesakDisk<dim>::value(const Point<dim>  &p,
                             const unsigned int component) const
     {
       (void)component;
index 435e9e77ada3714cb42eda149baab474574ef9a3..e2f53917f843007dfd68932c1a3c43fb83999d73 100644 (file)
@@ -127,8 +127,8 @@ namespace Functions
     void
     add_outer_product(SymmetricTensor<2, dim> &out,
                       const double             val,
-                      const Tensor<1, dim> &   in1,
-                      const Tensor<1, dim> &   in2)
+                      const Tensor<1, dim>    &in1,
+                      const Tensor<1, dim>    &in2)
     {
       if (val != 0.)
         for (unsigned int i = 0; i < dim; ++i)
@@ -143,7 +143,7 @@ namespace Functions
     void
     add_outer_product(SymmetricTensor<2, dim> &out,
                       const double             val,
-                      const Tensor<1, dim> &   in)
+                      const Tensor<1, dim>    &in)
     {
       if (val != 0.)
         for (unsigned int i = 0; i < dim; ++i)
@@ -155,7 +155,7 @@ namespace Functions
 
 
   template <int dim>
-  Spherical<dim>::Spherical(const Point<dim> p,
+  Spherical<dim>::Spherical(const Point<dim>  &p,
                             const unsigned int n_components)
     : Function<dim>(n_components)
     , coordinate_system_offset(p)
@@ -167,7 +167,7 @@ namespace Functions
 
   template <int dim>
   double
-  Spherical<dim>::value(const Point<dim> p_,
+  Spherical<dim>::value(const Point<dim>  &p_,
                         const unsigned int component) const
   {
     const Point<dim>              p = p_ - coordinate_system_offset;
index 71c8566930dd5981ccd6f66277750f10832c3895..b32a7efcbfff7023a7d26066b678543b60b87450 100644 (file)
@@ -24,9 +24,9 @@ namespace FunctionTools
   template <int dim>
   void
   taylor_estimate_function_bounds(
-    const Function<dim> &                       function,
-    const BoundingBox<dim> &                    box,
-    std::pair<double, double> &                 value_bounds,
+    const Function<dim>                        &function,
+    const BoundingBox<dim>                     &box,
+    std::pair<double, double>                  &value_bounds,
     std::array<std::pair<double, double>, dim> &gradient_bounds,
     const unsigned int                          component)
   {
index 39b5399310d4683606bcbcc9128fc75ce05f1072..1844256e8b984d3bb0b16d1834e9a270de7f012f 100644 (file)
@@ -22,7 +22,7 @@ DEAL_II_NAMESPACE_OPEN
 namespace GraphColoring
 {
   unsigned int
-  color_sparsity_pattern(const SparsityPattern &    sparsity_pattern,
+  color_sparsity_pattern(const SparsityPattern     &sparsity_pattern,
                          std::vector<unsigned int> &color_indices)
   {
     return SparsityTools::color_sparsity_pattern(sparsity_pattern,
index 6018e3165717a2145258e48a900a7fbe2377b9a1..c3851bbc696976c4552e5d9dd085d8c3b40915e4 100644 (file)
@@ -87,7 +87,7 @@ namespace HDF5
 
 
   DataSet::DataSet(const std::string &name,
-                   const hid_t &      parent_group_id,
+                   const hid_t       &parent_group_id,
                    const bool         mpi)
     : HDF5Object(name, mpi)
     , query_io_mode(false)
@@ -141,9 +141,9 @@ namespace HDF5
 
 
 
-  DataSet::DataSet(const std::string &           name,
-                   const hid_t &                 parent_group_id,
-                   const std::vector<hsize_t> &  dimensions,
+  DataSet::DataSet(const std::string            &name,
+                   const hid_t                  &parent_group_id,
+                   const std::vector<hsize_t>   &dimensions,
                    const std::shared_ptr<hid_t> &t_type,
                    const bool                    mpi)
     : HDF5Object(name, mpi)
@@ -326,8 +326,8 @@ namespace HDF5
 
 
 
-  Group::Group(const std::string &   name,
-               const Group &         parentGroup,
+  Group::Group(const std::string    &name,
+               const Group          &parentGroup,
                const bool            mpi,
                const GroupAccessMode mode)
     : HDF5Object(name, mpi)
@@ -407,7 +407,7 @@ namespace HDF5
 
 
 
-  File::File(const std::string &  name,
+  File::File(const std::string   &name,
              const FileAccessMode mode,
              const MPI_Comm       mpi_communicator)
     : File(name, mode, true, mpi_communicator)
@@ -415,7 +415,7 @@ namespace HDF5
 
 
 
-  File::File(const std::string &  name,
+  File::File(const std::string   &name,
              const FileAccessMode mode,
              const bool           mpi,
              const MPI_Comm       mpi_communicator)
index 38739f9bd3039e688c9bfff7519baddca65cc56f..fc5246b95b9ad742d1456426fbf73c79b1d6407f 100644 (file)
@@ -48,7 +48,7 @@ namespace Functions
   template <int dim, typename RangeNumberType>
   RangeNumberType
   IncrementalFunction<dim, RangeNumberType>::value(
-    const Point<dim> p,
+    const Point<dim>  &p,
     const unsigned int comp) const
   {
     // since we modify a mutable member variable, lock the
@@ -77,7 +77,7 @@ namespace Functions
   template <int dim, typename RangeNumberType>
   void
   IncrementalFunction<dim, RangeNumberType>::vector_value(
-    const Point<dim> &       p,
+    const Point<dim>        &p,
     Vector<RangeNumberType> &values) const
   {
     // since we modify a mutable member variable, lock the
index cf73cf524b3fa5d3a5c3869563c42c669d2bb8ee..8582fd7f9c8499c771e5038f12dd6648c8ecf7c6 100644 (file)
@@ -56,7 +56,7 @@ IndexSet::IndexSet(const Epetra_BlockMap &map)
   else
     {
       const size_type n_indices = map.NumMyElements();
-      size_type *     indices =
+      size_type      *indices =
         reinterpret_cast<size_type *>(map.MyGlobalElements64());
       add_indices(indices, indices + n_indices);
     }
@@ -83,7 +83,7 @@ IndexSet::IndexSet(const Epetra_BlockMap &map)
   else
     {
       const size_type n_indices = map.NumMyElements();
-      unsigned int *  indices =
+      unsigned int   *indices =
         reinterpret_cast<unsigned int *>(map.MyGlobalElements());
       add_indices(indices, indices + n_indices);
     }
@@ -404,7 +404,7 @@ IndexSet::add_range_lower_bound(const Range &new_range)
 void
 IndexSet::add_ranges_internal(
   boost::container::small_vector<std::pair<size_type, size_type>, 200>
-    &        tmp_ranges,
+            &tmp_ranges,
   const bool ranges_are_sorted)
 {
   if (!ranges_are_sorted)
index e95afd2c9212e30430893e6b0447b4c9ed25c5c7..849d478e2953962d3a60a10d123a80ebba854ff2 100644 (file)
@@ -216,7 +216,7 @@ LogStream::operator<<(std::ostream &(*p)(std::ostream &))
 
 
 void
-LogStream::attach(std::ostream &                o,
+LogStream::attach(std::ostream                 &o,
                   const bool                    print_job_id,
                   const std::ios_base::fmtflags flags)
 {
@@ -402,7 +402,7 @@ LogStream::get_prefixes() const
 void
 LogStream::print_line_head()
 {
-  const std::string &   head   = get_prefix();
+  const std::string    &head   = get_prefix();
   const std::thread::id thread = std::this_thread::get_id();
 
   if (get_prefixes().size() <= std_depth)
index 0663721d447f9aee3e8d5feba7785dcd9aea0bc5..f2cd1b19c63a9840302fe8b0f35b91ecb6b11508 100644 (file)
@@ -221,7 +221,7 @@ namespace Utilities
     create_group(const MPI_Comm   comm,
                  const MPI_Group &group,
                  const int        tag,
-                 MPI_Comm *       new_comm)
+                 MPI_Comm        *new_comm)
     {
       const int ierr = MPI_Comm_create_group(comm, group, tag, new_comm);
       AssertThrowMPI(ierr);
@@ -502,12 +502,12 @@ namespace Utilities
       // custom MIP_Op for calculate_collective_mpi_min_max_avg
       void
       max_reduce(const void *in_lhs_,
-                 void *      inout_rhs_,
-                 int *       len,
+                 void       *inout_rhs_,
+                 int        *len,
                  MPI_Datatype *)
       {
         const MinMaxAvg *in_lhs    = static_cast<const MinMaxAvg *>(in_lhs_);
-        MinMaxAvg *      inout_rhs = static_cast<MinMaxAvg *>(inout_rhs_);
+        MinMaxAvg       *inout_rhs = static_cast<MinMaxAvg *>(inout_rhs_);
 
         for (int i = 0; i < *len; ++i)
           {
@@ -543,7 +543,7 @@ namespace Utilities
 
     void
     min_max_avg(const ArrayView<const double> &my_values,
-                const ArrayView<MinMaxAvg> &   result,
+                const ArrayView<MinMaxAvg>    &result,
                 const MPI_Comm                 mpi_communicator)
     {
       // If MPI was not started, we have a serial computation and cannot run
@@ -710,14 +710,15 @@ namespace Utilities
 
 
 
-    void free_communicator(MPI_Comm /*mpi_communicator*/)
+    void
+    free_communicator(MPI_Comm /*mpi_communicator*/)
     {}
 
 
 
     void
     min_max_avg(const ArrayView<const double> &my_values,
-                const ArrayView<MinMaxAvg> &   result,
+                const ArrayView<MinMaxAvg>    &result,
                 const MPI_Comm)
     {
       AssertDimension(my_values.size(), result.size());
@@ -740,8 +741,8 @@ namespace Utilities
       MPI_InitFinalize::Signals();
 
 
-    MPI_InitFinalize::MPI_InitFinalize(int &              argc,
-                                       char **&           argv,
+    MPI_InitFinalize::MPI_InitFinalize(int               &argc,
+                                       char            **&argv,
                                        const unsigned int max_num_threads)
     {
       static bool constructor_has_already_run = false;
index 1f4f97cddeccaef695c0401db52f3a69326779cf..51cb9dae39361b0edb875997753f982958356f94 100644 (file)
@@ -67,25 +67,25 @@ for (S : MPI_SCALARS)
                          const MPI_Comm,
                          const ArrayView<S> &);
 
-    template S reduce(const S &                                     vec,
+    template S reduce(const S                                      &vec,
                       const MPI_Comm                                comm,
                       const std::function<S(const S &, const S &)> &process,
                       const unsigned int root_process);
 
     template std::vector<S> reduce(
-      const std::vector<S> &                                       vec,
+      const std::vector<S>                                        &vec,
       const MPI_Comm                                               comm,
       const std::function<std::vector<S>(const std::vector<S> &,
                                          const std::vector<S> &)> &process,
       const unsigned int root_process);
 
     template S all_reduce(
-      const S &                                     vec,
+      const S                                      &vec,
       const MPI_Comm                                comm,
       const std::function<S(const S &, const S &)> &process);
 
     template std::vector<S> all_reduce(
-      const std::vector<S> &                                       vec,
+      const std::vector<S>                                        &vec,
       const MPI_Comm                                               comm,
       const std::function<std::vector<S>(const std::vector<S> &,
                                          const std::vector<S> &)> &process);
index 72e35521d44ab2dd57dcf970124326716264a287..a147963e3ee81a3629d77ab4ba10e5537f427760 100644 (file)
@@ -456,8 +456,8 @@ namespace Utilities
 
 
         ConsensusAlgorithmsPayload::ConsensusAlgorithmsPayload(
-          const IndexSet &           owned_indices,
-          const IndexSet &           indices_to_look_up,
+          const IndexSet            &owned_indices,
+          const IndexSet            &indices_to_look_up,
           const MPI_Comm             comm,
           std::vector<unsigned int> &owning_ranks,
           const bool                 track_index_requests)
@@ -480,7 +480,7 @@ namespace Utilities
           const unsigned int                                     other_rank,
           const std::vector<std::pair<types::global_dof_index,
                                       types::global_dof_index>> &buffer_recv,
-          std::vector<unsigned int> &                            request_buffer)
+          std::vector<unsigned int>                             &request_buffer)
         {
           unsigned int owner_index_guess = 0;
           for (const auto &interval : buffer_recv)
@@ -736,7 +736,7 @@ namespace Utilities
           const unsigned int index_within_dict,
           const unsigned int rank_of_request,
           const unsigned int rank_of_owner,
-          unsigned int &     owner_index_guess)
+          unsigned int      &owner_index_guess)
         {
           // remember who requested which index. We want to use an
           // std::vector with simple addressing, via a good guess from the
index e54bd6f5e473ab79a8732a77c6404a0d628ae08a..44c1fd08e0f1f594b7d73e76198b837a3c4c97cb 100644 (file)
@@ -24,13 +24,13 @@ for (S : REAL_SCALARS)
         template void
         NoncontiguousPartitioner::export_to_ghosted_array(
           const ArrayView<const S> &src,
-          const ArrayView<S> &      dst) const;
+          const ArrayView<S>       &dst) const;
 
         template void
         NoncontiguousPartitioner::import_from_ghosted_array(
           const VectorOperation::values vector_operation,
-          const ArrayView<S> &          src,
-          const ArrayView<S> &          dst) const;
+          const ArrayView<S>           &src,
+          const ArrayView<S>           &dst) const;
       \}
     \}
   }
index 61651fb55c70e79e21d201bcf40853bca84cf31a..07f67dfe540e1fe5d5868da6d7d7c5f59e786722 100644 (file)
@@ -64,7 +64,7 @@ namespace Utilities
     RemotePointEvaluation<dim, spacedim>::reinit(
       const std::vector<Point<spacedim>> &points,
       const Triangulation<dim, spacedim> &tria,
-      const Mapping<dim, spacedim> &      mapping)
+      const Mapping<dim, spacedim>       &mapping)
     {
 #ifndef DEAL_II_WITH_MPI
       Assert(false, ExcNeedsMPI());
@@ -113,8 +113,8 @@ namespace Utilities
     RemotePointEvaluation<dim, spacedim>::reinit(
       const GridTools::internal::
         DistributedComputePointLocationsInternal<dim, spacedim> &data,
-      const Triangulation<dim, spacedim> &                       tria,
-      const Mapping<dim, spacedim> &                             mapping)
+      const Triangulation<dim, spacedim>                        &tria,
+      const Mapping<dim, spacedim>                              &mapping)
     {
       this->tria    = &tria;
       this->mapping = &mapping;
index 13538856f31c7ac44a1ffafc71ec3e6f973de083..1f86157fc6c5b7e7c9e4e34a1902630551360954 100644 (file)
@@ -234,8 +234,8 @@ namespace internal
     template <int dim, typename Number>
     void
     ParserImplementation<dim, Number>::initialize(
-      const std::string &                  variables,
-      const std::vector<std::string> &     expressions,
+      const std::string                   &variables,
+      const std::vector<std::string>      &expressions,
       const std::map<std::string, double> &constants,
       const bool                           time_dependent)
     {
@@ -423,7 +423,7 @@ namespace internal
     template <int dim, typename Number>
     void
     ParserImplementation<dim, Number>::do_all_values(
-      const Point<dim> p,
+      const Point<dim>  &p,
       const double       time,
       ArrayView<Number> &values) const
     {
index c56f409248634842dc40a27a86f1296f6d2b25f9..54d6e5502314f39ecdbb4cb260ba1ee5a986afd3 100644 (file)
@@ -81,10 +81,10 @@ ParameterAcceptor::get_section_name() const
 
 void
 ParameterAcceptor::initialize(
-  const std::string &                 filename,
-  const std::string &                 output_filename,
+  const std::string                  &filename,
+  const std::string                  &output_filename,
   const ParameterHandler::OutputStyle output_style_for_output_filename,
-  ParameterHandler &                  prm,
+  ParameterHandler                   &prm,
   const ParameterHandler::OutputStyle output_style_for_filename)
 {
   declare_all_parameters(prm);
index 15a91d6e1a069be832d88cada4f4f7f07e0f7352..6d523ebd32610752dc31e7ad82332560fa4adb81 100644 (file)
@@ -284,7 +284,7 @@ namespace
   recursively_sort_parameters(
     const char                      separator,
     const std::vector<std::string> &target_subsection_path,
-    boost::property_tree::ptree &   tree)
+    boost::property_tree::ptree    &tree)
   {
     boost::property_tree::ptree &current_section =
       tree.get_child(collate_path_string(separator, target_subsection_path));
@@ -339,7 +339,7 @@ namespace
    */
   void
   recursively_demangle(const boost::property_tree::ptree &tree_in,
-                       boost::property_tree::ptree &      tree_out,
+                       boost::property_tree::ptree       &tree_out,
                        const bool is_parameter_or_alias_node = false)
   {
     for (const auto &p : tree_in)
@@ -410,7 +410,7 @@ ParameterHandler::get_current_full_path(const std::string &name) const
 std::string
 ParameterHandler::get_current_full_path(
   const std::vector<std::string> &sub_path,
-  const std::string &             name) const
+  const std::string              &name) const
 {
   std::string path = get_current_path();
   if (path.empty() == false)
@@ -427,7 +427,7 @@ ParameterHandler::get_current_full_path(
 
 
 void
-ParameterHandler::parse_input(std::istream &     input,
+ParameterHandler::parse_input(std::istream      &input,
                               const std::string &filename,
                               const std::string &last_line,
                               const bool         skip_undefined)
@@ -608,7 +608,7 @@ namespace
   void
   read_xml_recursively(
     const boost::property_tree::ptree &source,
-    const std::string &                current_path,
+    const std::string                 &current_path,
     const char                         path_separator,
     const std::vector<std::unique_ptr<const Patterns::PatternBase>> &patterns,
     const bool        skip_undefined,
@@ -715,7 +715,8 @@ namespace
             p.second.put_value<std::string>(temp);
           }
         else if (p.second.get_optional<std::string>("alias"))
-          {}
+          {
+          }
         else
           {
             // it must be a subsection
@@ -824,10 +825,10 @@ ParameterHandler::clear()
 
 
 void
-ParameterHandler::declare_entry(const std::string &          entry,
-                                const std::string &          default_value,
+ParameterHandler::declare_entry(const std::string           &entry,
+                                const std::string           &default_value,
                                 const Patterns::PatternBase &pattern,
-                                const std::string &          documentation,
+                                const std::string           &documentation,
                                 const bool                   has_to_be_set)
 {
   entries->put(get_current_full_path(entry) + path_separator + "value",
@@ -871,7 +872,7 @@ ParameterHandler::declare_entry(const std::string &          entry,
 
 void
 ParameterHandler::add_action(
-  const std::string &                             entry,
+  const std::string                              &entry,
   const std::function<void(const std::string &)> &action,
   const bool                                      execute_action)
 {
@@ -1035,7 +1036,7 @@ ParameterHandler::get(const std::string &entry_string) const
 
 std::string
 ParameterHandler::get(const std::vector<std::string> &entry_subsection_path,
-                      const std::string &             entry_string) const
+                      const std::string              &entry_string) const
 {
   // assert that the entry is indeed
   // declared
@@ -1076,7 +1077,7 @@ ParameterHandler::get_integer(const std::string &entry_string) const
 long int
 ParameterHandler::get_integer(
   const std::vector<std::string> &entry_subsection_path,
-  const std::string &             entry_string) const
+  const std::string              &entry_string) const
 {
   try
     {
@@ -1120,7 +1121,7 @@ ParameterHandler::get_double(const std::string &entry_string) const
 double
 ParameterHandler::get_double(
   const std::vector<std::string> &entry_subsection_path,
-  const std::string &             entry_string) const
+  const std::string              &entry_string) const
 {
   try
     {
@@ -1162,7 +1163,7 @@ ParameterHandler::get_bool(const std::string &entry_string) const
 bool
 ParameterHandler::get_bool(
   const std::vector<std::string> &entry_subsection_path,
-  const std::string &             entry_string) const
+  const std::string              &entry_string) const
 {
   const std::string s = get(entry_subsection_path, entry_string);
 
@@ -1280,7 +1281,7 @@ ParameterHandler::set(const std::string &entry_string, const bool new_value)
 
 
 std::ostream &
-ParameterHandler::print_parameters(std::ostream &    out,
+ParameterHandler::print_parameters(std::ostream     &out,
                                    const OutputStyle style) const
 {
   AssertThrow(out.fail() == false, ExcIO());
@@ -1387,7 +1388,7 @@ ParameterHandler::print_parameters(std::ostream &    out,
 
 void
 ParameterHandler::print_parameters(
-  const std::string &                 filename,
+  const std::string                  &filename,
   const ParameterHandler::OutputStyle style) const
 {
   std::string extension = filename.substr(filename.find_last_of('.') + 1);
@@ -1413,10 +1414,10 @@ ParameterHandler::print_parameters(
 void
 ParameterHandler::recursively_print_parameters(
   const boost::property_tree::ptree &tree,
-  const std::vector<std::string> &   target_subsection_path,
+  const std::vector<std::string>    &target_subsection_path,
   const OutputStyle                  style,
   const unsigned int                 indent_level,
-  std::ostream &                     out) const
+  std::ostream                      &out) const
 {
   AssertThrow(out.fail() == false, ExcIO());
 
@@ -1798,7 +1799,7 @@ ParameterHandler::log_parameters(LogStream &out, const OutputStyle style)
 
 
 void
-ParameterHandler::log_parameters_section(LogStream &       out,
+ParameterHandler::log_parameters_section(LogStream        &out,
                                          const OutputStyle style)
 {
   // Create entries copy and sort it, if needed.
@@ -2129,7 +2130,7 @@ MultipleParameterLoop::MultipleParameterLoop()
 
 
 void
-MultipleParameterLoop::parse_input(std::istream &     input,
+MultipleParameterLoop::parse_input(std::istream      &input,
                                    const std::string &filename,
                                    const std::string &last_line,
                                    const bool         skip_undefined)
@@ -2292,8 +2293,8 @@ MultipleParameterLoop::memory_consumption() const
 
 
 MultipleParameterLoop::Entry::Entry(const std::vector<std::string> &ssp,
-                                    const std::string &             Name,
-                                    const std::string &             Value)
+                                    const std::string              &Name,
+                                    const std::string              &Value)
   : subsection_path(ssp)
   , entry_name(Name)
   , entry_value(Value)
index c27523bbd76e570aa118e5ab72bda00832b3ba41..c859015add26aaad0a53e2bc4a3c7c052df9cbc1 100644 (file)
@@ -61,7 +61,7 @@ namespace
 
 
 ParsedConvergenceTable::ParsedConvergenceTable(
-  const std::vector<std::string> &                    solution_names,
+  const std::vector<std::string>                     &solution_names,
   const std::vector<std::set<VectorTools::NormType>> &list_of_error_norms)
   : ParsedConvergenceTable(solution_names,
                            list_of_error_norms,
@@ -77,13 +77,13 @@ ParsedConvergenceTable::ParsedConvergenceTable(
 
 
 ParsedConvergenceTable::ParsedConvergenceTable(
-  const std::vector<std::string> &                    component_names,
+  const std::vector<std::string>                     &component_names,
   const std::vector<std::set<VectorTools::NormType>> &list_of_error_norms,
   const double                                        exponent,
-  const std::set<std::string> &                       extra_columns,
-  const std::string &                                 rate_key,
-  const std::string &                                 rate_mode,
-  const std::string &                                 error_file_name,
+  const std::set<std::string>                        &extra_columns,
+  const std::string                                  &rate_key,
+  const std::string                                  &rate_mode,
+  const std::string                                  &error_file_name,
   const unsigned int                                  precision,
   const bool                                          compute_error)
   : component_names(component_names)
@@ -261,7 +261,7 @@ ParsedConvergenceTable::output_table()
 
 void
 ParsedConvergenceTable::add_extra_column(
-  const std::string &            column_name,
+  const std::string             &column_name,
   const std::function<double()> &custom_function,
   const bool                     compute_rate)
 {
index 727f06ff368674b96e95de64a92f5c06c0f55330..18de8dc0a9767af28d38b2d03705978f5ba2fabb 100644 (file)
@@ -32,7 +32,7 @@ namespace Functions
 
   template <int dim>
   void
-  ParsedFunction<dim>::declare_parameters(ParameterHandler prm,
+  ParsedFunction<dim>::declare_parameters(ParameterHandler  &prm,
                                           const unsigned int n_components)
   {
     Assert(n_components > 0, ExcZero());
@@ -164,7 +164,7 @@ namespace Functions
   template <int dim>
   void
   ParsedFunction<dim>::vector_value(const Point<dim> &p,
-                                    Vector<double> &  values) const
+                                    Vector<double>   &values) const
   {
     function_object.vector_value(p, values);
   }
index d64f65bb80244f3a495da86866ea09561f7c7a93..b246cbbedba83f8295e25f95f3a7315785ccc3eb 100644 (file)
@@ -111,7 +111,7 @@ PathSearch::PathSearch(const std::string &cls, const unsigned int debug)
 std::string
 PathSearch::find(const std::string &filename,
                  const std::string &suffix,
-                 const char *       open_mode)
+                 const char        *open_mode)
 {
   std::vector<std::string>::const_iterator       path;
   const std::vector<std::string>::const_iterator endp = my_path_list.end();
index 3ad6908ead187cbdf4ffa2087f81c1b19bf2f7ee..d4787dc1cff098a6613314ef9612e3e86a37d133 100644 (file)
@@ -1070,7 +1070,7 @@ namespace Patterns
 
 
   Tuple::Tuple(const std::vector<std::unique_ptr<PatternBase>> &ps,
-               const std::string &                              separator)
+               const std::string                               &separator)
     : separator(separator)
   {
     Assert(ps.size() > 0,
@@ -1085,7 +1085,7 @@ namespace Patterns
 
 
   Tuple::Tuple(const std::vector<std::unique_ptr<PatternBase>> &ps,
-               const char *                                     separator)
+               const char                                      *separator)
     : Tuple(ps, std::string(separator))
   {}
 
index 8c3e153cd1994fee3d298cc4fbcfe36bcb8fa89f..831d4a69e4f10d33016d9597e2a7cf92401e2ac8 100644 (file)
@@ -239,7 +239,7 @@ namespace Polynomials
     // well if necessary. copy the polynomial to
     // do this
     std::unique_ptr<Polynomial<number>> q_data;
-    const Polynomial<number> *          q = nullptr;
+    const Polynomial<number>           *q = nullptr;
     if (p.in_lagrange_product_form == true)
       {
         q_data = std::make_unique<Polynomial<number>>(p);
@@ -283,7 +283,7 @@ namespace Polynomials
     // well if necessary. copy the polynomial to
     // do this
     std::unique_ptr<Polynomial<number>> q_data;
-    const Polynomial<number> *          q = nullptr;
+    const Polynomial<number>           *q = nullptr;
     if (p.in_lagrange_product_form == true)
       {
         q_data = std::make_unique<Polynomial<number>>(p);
@@ -319,7 +319,7 @@ namespace Polynomials
     // well if necessary. copy the polynomial to
     // do this
     std::unique_ptr<Polynomial<number>> q_data;
-    const Polynomial<number> *          q = nullptr;
+    const Polynomial<number>           *q = nullptr;
     if (p.in_lagrange_product_form == true)
       {
         q_data = std::make_unique<Polynomial<number>>(p);
@@ -464,7 +464,7 @@ namespace Polynomials
       return Monomial<number>(0, 0.);
 
     std::unique_ptr<Polynomial<number>> q_data;
-    const Polynomial<number> *          q = nullptr;
+    const Polynomial<number>           *q = nullptr;
     if (in_lagrange_product_form == true)
       {
         q_data = std::make_unique<Polynomial<number>>(*this);
@@ -490,7 +490,7 @@ namespace Polynomials
     // no simple form possible for Lagrange
     // polynomial on product form
     std::unique_ptr<Polynomial<number>> q_data;
-    const Polynomial<number> *          q = nullptr;
+    const Polynomial<number>           *q = nullptr;
     if (in_lagrange_product_form == true)
       {
         q_data = std::make_unique<Polynomial<number>>(*this);
index 32e6369456ddc0e9fa0f83018cfe420c13929c92..40f57e27c4e3bd34f12b9ec8dc1af8a248092d37 100644 (file)
@@ -126,7 +126,7 @@ PolynomialSpace<dim>::set_numbering(const std::vector<unsigned int> &renumber)
 template <int dim>
 double
 PolynomialSpace<dim>::compute_value(const unsigned int i,
-                                    const Point<dim> p) const
+                                    const Point<dim>  &p) const
 {
   const auto ix = compute_index(i);
   // take the product of the
@@ -143,7 +143,7 @@ PolynomialSpace<dim>::compute_value(const unsigned int i,
 template <int dim>
 Tensor<1, dim>
 PolynomialSpace<dim>::compute_grad(const unsigned int i,
-                                   const Point<dim> p) const
+                                   const Point<dim>  &p) const
 {
   const auto ix = compute_index(i);
 
@@ -168,7 +168,7 @@ PolynomialSpace<dim>::compute_grad(const unsigned int i,
 template <int dim>
 Tensor<2, dim>
 PolynomialSpace<dim>::compute_grad_grad(const unsigned int i,
-                                        const Point<dim> p) const
+                                        const Point<dim>  &p) const
 {
   const auto ix = compute_index(i);
 
@@ -203,8 +203,8 @@ PolynomialSpace<dim>::compute_grad_grad(const unsigned int i,
 template <int dim>
 void
 PolynomialSpace<dim>::evaluate(
-  const Point<dim> &           p,
-  std::vector<double> &        values,
+  const Point<dim>            &p,
+  std::vector<double>         &values,
   std::vector<Tensor<1, dim>> &grads,
   std::vector<Tensor<2, dim>> &grad_grads,
   std::vector<Tensor<3, dim>> &third_derivatives,
index debe7c31015fe59dd08de6e26aad418d4fcd3e27..224cdee950676d3cc6487871524b65213dabc8fe 100644 (file)
@@ -62,7 +62,7 @@ PolynomialsABF<dim>::PolynomialsABF(const unsigned int k)
 template <int dim>
 void
 PolynomialsABF<dim>::evaluate(
-  const Point<dim> &           unit_point,
+  const Point<dim>            &unit_point,
   std::vector<Tensor<1, dim>> &values,
   std::vector<Tensor<2, dim>> &grads,
   std::vector<Tensor<3, dim>> &grad_grads,
index c505d656ef383914590db092ccd2cb03eabdc489..7a1505e01cd871462668fac4a020f93e471c5320 100644 (file)
@@ -136,8 +136,8 @@ PolynomialsAdini<dim>::PolynomialsAdini()
 template <int dim>
 void
 PolynomialsAdini<dim>::evaluate(
-  const Point<dim> &           unit_point,
-  std::vector<double> &        values,
+  const Point<dim>            &unit_point,
+  std::vector<double>         &values,
   std::vector<Tensor<1, dim>> &grads,
   std::vector<Tensor<2, dim>> &grad_grads,
   std::vector<Tensor<3, dim>> &third_derivatives,
@@ -191,7 +191,7 @@ PolynomialsAdini<dim>::evaluate(
 template <int dim>
 double
 PolynomialsAdini<dim>::compute_value(const unsigned int i,
-                                     const Point<dim> p) const
+                                     const Point<dim>  &p) const
 {
   const double x = p(0);
   const double y = p(1);
@@ -207,7 +207,7 @@ PolynomialsAdini<dim>::compute_value(const unsigned int i,
 template <int dim>
 Tensor<1, dim>
 PolynomialsAdini<dim>::compute_grad(const unsigned int i,
-                                    const Point<dim> p) const
+                                    const Point<dim>  &p) const
 {
   const double   x = p(0);
   const double   y = p(1);
@@ -231,7 +231,7 @@ PolynomialsAdini<dim>::compute_grad(const unsigned int i,
 template <int dim>
 Tensor<2, dim>
 PolynomialsAdini<dim>::compute_grad_grad(const unsigned int i,
-                                         const Point<dim> p) const
+                                         const Point<dim>  &p) const
 {
   const double   x = p(0);
   const double   y = p(1);
index 3475053d5042215387ff7836d0a7d788cb757fb7..bbda850c11c3c439ffcde481daab5ba68a514c8a 100644 (file)
@@ -147,8 +147,8 @@ BarycentricPolynomials<dim>::BarycentricPolynomials(
 template <int dim>
 void
 BarycentricPolynomials<dim>::evaluate(
-  const Point<dim> &           unit_point,
-  std::vector<double> &        values,
+  const Point<dim>            &unit_point,
+  std::vector<double>         &values,
   std::vector<Tensor<1, dim>> &grads,
   std::vector<Tensor<2, dim>> &grad_grads,
   std::vector<Tensor<3, dim>> &third_derivatives,
@@ -205,7 +205,7 @@ BarycentricPolynomials<dim>::evaluate(
 template <int dim>
 double
 BarycentricPolynomials<dim>::compute_value(const unsigned int i,
-                                           const Point<dim> p) const
+                                           const Point<dim>  &p) const
 {
   AssertIndexRange(i, this->n());
   return polys[i].value(p);
@@ -216,7 +216,7 @@ BarycentricPolynomials<dim>::compute_value(const unsigned int i,
 template <int dim>
 Tensor<1, dim>
 BarycentricPolynomials<dim>::compute_1st_derivative(const unsigned int i,
-                                                    const Point<dim> p) const
+                                                    const Point<dim>  &p) const
 {
   Tensor<1, dim> result;
   for (unsigned int d = 0; d < dim; ++d)
@@ -229,7 +229,7 @@ BarycentricPolynomials<dim>::compute_1st_derivative(const unsigned int i,
 template <int dim>
 Tensor<2, dim>
 BarycentricPolynomials<dim>::compute_2nd_derivative(const unsigned int i,
-                                                    const Point<dim> p) const
+                                                    const Point<dim>  &p) const
 {
   Tensor<2, dim> result;
   for (unsigned int d0 = 0; d0 < dim; ++d0)
@@ -244,7 +244,7 @@ BarycentricPolynomials<dim>::compute_2nd_derivative(const unsigned int i,
 template <int dim>
 Tensor<3, dim>
 BarycentricPolynomials<dim>::compute_3rd_derivative(const unsigned int i,
-                                                    const Point<dim> p) const
+                                                    const Point<dim>  &p) const
 {
   Tensor<3, dim> result;
   for (unsigned int d0 = 0; d0 < dim; ++d0)
@@ -260,7 +260,7 @@ BarycentricPolynomials<dim>::compute_3rd_derivative(const unsigned int i,
 template <int dim>
 Tensor<4, dim>
 BarycentricPolynomials<dim>::compute_4th_derivative(const unsigned int i,
-                                                    const Point<dim> p) const
+                                                    const Point<dim>  &p) const
 {
   Tensor<4, dim> result;
   for (unsigned int d0 = 0; d0 < dim; ++d0)
@@ -278,7 +278,7 @@ BarycentricPolynomials<dim>::compute_4th_derivative(const unsigned int i,
 template <int dim>
 Tensor<1, dim>
 BarycentricPolynomials<dim>::compute_grad(const unsigned int i,
-                                          const Point<dim> p) const
+                                          const Point<dim>  &p) const
 {
   return compute_1st_derivative(i, p);
 }
@@ -288,7 +288,7 @@ BarycentricPolynomials<dim>::compute_grad(const unsigned int i,
 template <int dim>
 Tensor<2, dim>
 BarycentricPolynomials<dim>::compute_grad_grad(const unsigned int i,
-                                               const Point<dim> p) const
+                                               const Point<dim>  &p) const
 {
   return compute_2nd_derivative(i, p);
 }
index 0d9e03668d6f1b87a16e276b899bf44d72420b55..b431d9718be4256a612384a8aaefe8796bd41b52 100644 (file)
@@ -54,7 +54,7 @@ PolynomialsBDM<dim>::PolynomialsBDM(const unsigned int k)
 template <int dim>
 void
 PolynomialsBDM<dim>::evaluate(
-  const Point<dim> &           unit_point,
+  const Point<dim>            &unit_point,
   std::vector<Tensor<1, dim>> &values,
   std::vector<Tensor<2, dim>> &grads,
   std::vector<Tensor<3, dim>> &grad_grads,
index c87cbc540714657f1037ec559beb2a9ec7e2488f..bed7318c2687fe11d2541a7490d59fd21e0fb7ea 100644 (file)
@@ -69,7 +69,7 @@ PolynomialsBernardiRaugel<dim>::create_polynomials_Q()
 template <int dim>
 void
 PolynomialsBernardiRaugel<dim>::evaluate(
-  const Point<dim> &           unit_point,
+  const Point<dim>            &unit_point,
   std::vector<Tensor<1, dim>> &values,
   std::vector<Tensor<2, dim>> &grads,
   std::vector<Tensor<3, dim>> &grad_grads,
index cb40917b3df955e7fced59a65e81949b035b242b..253eb7f8fd76f32ace70f9561caa2403a574cbe3 100644 (file)
@@ -52,7 +52,7 @@ PolynomialsNedelec<dim>::create_polynomials(const unsigned int k)
 template <int dim>
 void
 PolynomialsNedelec<dim>::evaluate(
-  const Point<dim> &           unit_point,
+  const Point<dim>            &unit_point,
   std::vector<Tensor<1, dim>> &values,
   std::vector<Tensor<2, dim>> &grads,
   std::vector<Tensor<3, dim>> &grad_grads,
index 8ca90d227a5aad6e06f7b7b0058d10e45482c214..f3ed8474fdf319342c47fec91681abf14e1b0858 100644 (file)
@@ -81,7 +81,7 @@ namespace Polynomials
   void
   PiecewisePolynomial<number>::value(const number       x,
                                      const unsigned int n_derivatives,
-                                     number *           values) const
+                                     number            *values) const
   {
     if (points.size() > 0)
       {
index f6d4595f4400fa095b31d39edeb9de5fa5fbabab..f9a6403346960d0910103ffdeb4a4136f31934c7 100644 (file)
@@ -50,7 +50,7 @@ ScalarLagrangePolynomialPyramid<dim>::ScalarLagrangePolynomialPyramid(
 template <int dim>
 double
 ScalarLagrangePolynomialPyramid<dim>::compute_value(const unsigned int i,
-                                                    const Point<dim> p) const
+                                                    const Point<dim>  &p) const
 {
   AssertDimension(dim, 3);
   AssertIndexRange(this->degree(), 2);
@@ -88,7 +88,7 @@ ScalarLagrangePolynomialPyramid<dim>::compute_value(const unsigned int i,
 template <int dim>
 Tensor<1, dim>
 ScalarLagrangePolynomialPyramid<dim>::compute_grad(const unsigned int i,
-                                                   const Point<dim> p) const
+                                                   const Point<dim>  &p) const
 {
   AssertDimension(dim, 3);
   AssertIndexRange(this->degree(), 4);
@@ -166,7 +166,7 @@ template <int dim>
 Tensor<2, dim>
 ScalarLagrangePolynomialPyramid<dim>::compute_grad_grad(
   const unsigned int i,
-  const Point<dim> p) const
+  const Point<dim>  &p) const
 {
   (void)i;
   (void)p;
@@ -180,8 +180,8 @@ ScalarLagrangePolynomialPyramid<dim>::compute_grad_grad(
 template <int dim>
 void
 ScalarLagrangePolynomialPyramid<dim>::evaluate(
-  const Point<dim> &           unit_point,
-  std::vector<double> &        values,
+  const Point<dim>            &unit_point,
+  std::vector<double>         &values,
   std::vector<Tensor<1, dim>> &grads,
   std::vector<Tensor<2, dim>> &grad_grads,
   std::vector<Tensor<3, dim>> &third_derivatives,
@@ -207,7 +207,7 @@ template <int dim>
 Tensor<1, dim>
 ScalarLagrangePolynomialPyramid<dim>::compute_1st_derivative(
   const unsigned int i,
-  const Point<dim> p) const
+  const Point<dim>  &p) const
 {
   return compute_grad(i, p);
 }
@@ -218,7 +218,7 @@ template <int dim>
 Tensor<2, dim>
 ScalarLagrangePolynomialPyramid<dim>::compute_2nd_derivative(
   const unsigned int i,
-  const Point<dim> p) const
+  const Point<dim>  &p) const
 {
   (void)i;
   (void)p;
@@ -234,7 +234,7 @@ template <int dim>
 Tensor<3, dim>
 ScalarLagrangePolynomialPyramid<dim>::compute_3rd_derivative(
   const unsigned int i,
-  const Point<dim> p) const
+  const Point<dim>  &p) const
 {
   (void)i;
   (void)p;
@@ -250,7 +250,7 @@ template <int dim>
 Tensor<4, dim>
 ScalarLagrangePolynomialPyramid<dim>::compute_4th_derivative(
   const unsigned int i,
-  const Point<dim> p) const
+  const Point<dim>  &p) const
 {
   (void)i;
   (void)p;
index ec134f71c6931a8757ec2bad071d88acc95f348a..b6836910df24f70ccaa16d35e1159f418d8d890d 100644 (file)
@@ -34,7 +34,7 @@ PolynomialsRannacherTurek<dim>::PolynomialsRannacherTurek()
 template <int dim>
 double
 PolynomialsRannacherTurek<dim>::compute_value(const unsigned int i,
-                                              const Point<dim> p) const
+                                              const Point<dim>  &p) const
 {
   Assert(dim == 2, ExcNotImplemented());
   if (i == 0)
@@ -67,7 +67,7 @@ PolynomialsRannacherTurek<dim>::compute_value(const unsigned int i,
 template <int dim>
 Tensor<1, dim>
 PolynomialsRannacherTurek<dim>::compute_grad(const unsigned int i,
-                                             const Point<dim> p) const
+                                             const Point<dim>  &p) const
 {
   Assert(dim == 2, ExcNotImplemented());
   Tensor<1, dim> grad;
@@ -145,8 +145,8 @@ PolynomialsRannacherTurek<dim>::compute_grad_grad(
 template <int dim>
 void
 PolynomialsRannacherTurek<dim>::evaluate(
-  const Point<dim> &           unit_point,
-  std::vector<double> &        values,
+  const Point<dim>            &unit_point,
+  std::vector<double>         &values,
   std::vector<Tensor<1, dim>> &grads,
   std::vector<Tensor<2, dim>> &grad_grads,
   std::vector<Tensor<3, dim>> &third_derivatives,
index 867bcba34470d17189f895860a7cc77843d5362a..56c8cc56ae4bbdac687a1527f6102638e3714db8 100644 (file)
@@ -132,7 +132,7 @@ PolynomialsRaviartThomas<dim>::PolynomialsRaviartThomas(const unsigned int k)
 template <int dim>
 void
 PolynomialsRaviartThomas<dim>::evaluate(
-  const Point<dim> &           unit_point,
+  const Point<dim>            &unit_point,
   std::vector<Tensor<1, dim>> &values,
   std::vector<Tensor<2, dim>> &grads,
   std::vector<Tensor<3, dim>> &grad_grads,
index 0487511b49d18c88018b81e6cb16822ca9b68c40..1a18565738237fe30b100fb6c6e7427f437dfa91 100644 (file)
@@ -42,7 +42,7 @@ PolynomialsRT_Bubbles<dim>::PolynomialsRT_Bubbles(const unsigned int k)
 template <int dim>
 void
 PolynomialsRT_Bubbles<dim>::evaluate(
-  const Point<dim> &           unit_point,
+  const Point<dim>            &unit_point,
   std::vector<Tensor<1, dim>> &values,
   std::vector<Tensor<2, dim>> &grads,
   std::vector<Tensor<3, dim>> &grad_grads,
index 1e0b75cd873f2f236381169e8a0dd716415654ca..df88adc6863086ac494d6d6d841b246ae5b30231 100644 (file)
@@ -53,7 +53,7 @@ ScalarLagrangePolynomialWedge<dim>::ScalarLagrangePolynomialWedge(
 template <int dim>
 double
 ScalarLagrangePolynomialWedge<dim>::compute_value(const unsigned int i,
-                                                  const Point<dim> p) const
+                                                  const Point<dim>  &p) const
 {
   const auto pair = this->degree() == 1 ? internal::wedge_table_1[i] :
                                           internal::wedge_table_2[i];
@@ -72,7 +72,7 @@ ScalarLagrangePolynomialWedge<dim>::compute_value(const unsigned int i,
 template <int dim>
 Tensor<1, dim>
 ScalarLagrangePolynomialWedge<dim>::compute_grad(const unsigned int i,
-                                                 const Point<dim> p) const
+                                                 const Point<dim>  &p) const
 {
   const auto pair = this->degree() == 1 ? internal::wedge_table_1[i] :
                                           internal::wedge_table_2[i];
@@ -112,8 +112,8 @@ ScalarLagrangePolynomialWedge<dim>::compute_grad_grad(const unsigned int i,
 template <int dim>
 void
 ScalarLagrangePolynomialWedge<dim>::evaluate(
-  const Point<dim> &           unit_point,
-  std::vector<double> &        values,
+  const Point<dim>            &unit_point,
+  std::vector<double>         &values,
   std::vector<Tensor<1, dim>> &grads,
   std::vector<Tensor<2, dim>> &grad_grads,
   std::vector<Tensor<3, dim>> &third_derivatives,
@@ -139,7 +139,7 @@ template <int dim>
 Tensor<1, dim>
 ScalarLagrangePolynomialWedge<dim>::compute_1st_derivative(
   const unsigned int i,
-  const Point<dim> p) const
+  const Point<dim>  &p) const
 {
   return compute_grad(i, p);
 }
@@ -150,7 +150,7 @@ template <int dim>
 Tensor<2, dim>
 ScalarLagrangePolynomialWedge<dim>::compute_2nd_derivative(
   const unsigned int i,
-  const Point<dim> p) const
+  const Point<dim>  &p) const
 {
   (void)i;
   (void)p;
@@ -166,7 +166,7 @@ template <int dim>
 Tensor<3, dim>
 ScalarLagrangePolynomialWedge<dim>::compute_3rd_derivative(
   const unsigned int i,
-  const Point<dim> p) const
+  const Point<dim>  &p) const
 {
   (void)i;
   (void)p;
@@ -182,7 +182,7 @@ template <int dim>
 Tensor<4, dim>
 ScalarLagrangePolynomialWedge<dim>::compute_4th_derivative(
   const unsigned int i,
-  const Point<dim> p) const
+  const Point<dim>  &p) const
 {
   (void)i;
   (void)p;
index 8c397d507cd62dcc8e9f49e01348d7ea0687f004..bdcb8bf7b2ecdd80df56a3fc6c9e3fabbdc236da 100644 (file)
@@ -86,7 +86,7 @@ namespace internal
       project_to_hex_face_and_append(
         const std::vector<Point<2>> &points,
         const unsigned int           face_no,
-        std::vector<Point<3>> &      q_points,
+        std::vector<Point<3>>       &q_points,
         const RefinementCase<2> &ref_case   = RefinementCase<2>::no_refinement,
         const unsigned int       subface_no = 0)
       {
@@ -358,8 +358,8 @@ QProjector<1>::project_to_face(const ReferenceCell &reference_cell,
 
 template <>
 void
-QProjector<2>::project_to_face(const ReferenceCell &  reference_cell,
-                               const Quadrature<1> &  quadrature,
+QProjector<2>::project_to_face(const ReferenceCell   &reference_cell,
+                               const Quadrature<1>   &quadrature,
                                const unsigned int     face_no,
                                std::vector<Point<2>> &q_points)
 {
@@ -420,8 +420,8 @@ QProjector<2>::project_to_face(const ReferenceCell &  reference_cell,
 
 template <>
 void
-QProjector<3>::project_to_face(const ReferenceCell &  reference_cell,
-                               const Quadrature<2> &  quadrature,
+QProjector<3>::project_to_face(const ReferenceCell   &reference_cell,
+                               const Quadrature<2>   &quadrature,
                                const unsigned int     face_no,
                                std::vector<Point<3>> &q_points)
 {
@@ -494,8 +494,8 @@ QProjector<1>::project_to_subface(const ReferenceCell &reference_cell,
 
 template <>
 void
-QProjector<2>::project_to_subface(const ReferenceCell &  reference_cell,
-                                  const Quadrature<1> &  quadrature,
+QProjector<2>::project_to_subface(const ReferenceCell   &reference_cell,
+                                  const Quadrature<1>   &quadrature,
                                   const unsigned int     face_no,
                                   const unsigned int     subface_no,
                                   std::vector<Point<2>> &q_points,
@@ -638,11 +638,11 @@ QProjector<2>::project_to_subface(const ReferenceCell &  reference_cell,
 
 template <>
 void
-QProjector<3>::project_to_subface(const ReferenceCell &    reference_cell,
-                                  const Quadrature<2> &    quadrature,
+QProjector<3>::project_to_subface(const ReferenceCell     &reference_cell,
+                                  const Quadrature<2>     &quadrature,
                                   const unsigned int       face_no,
                                   const unsigned int       subface_no,
-                                  std::vector<Point<3>> &  q_points,
+                                  std::vector<Point<3>>   &q_points,
                                   const RefinementCase<2> &ref_case)
 {
   Assert(reference_cell == ReferenceCells::Hexahedron, ExcNotImplemented());
@@ -663,7 +663,7 @@ QProjector<3>::project_to_subface(const ReferenceCell &    reference_cell,
 template <int dim>
 Quadrature<dim>
 QProjector<dim>::project_to_oriented_subface(
-  const ReferenceCell &      reference_cell,
+  const ReferenceCell       &reference_cell,
   const Quadrature<dim - 1> &quadrature,
   const unsigned int         face_no,
   const unsigned int         subface_no,
@@ -685,8 +685,8 @@ QProjector<dim>::project_to_oriented_subface(
 template <>
 Quadrature<3>
 QProjector<3>::project_to_oriented_subface(
-  const ReferenceCell &          reference_cell,
-  const Quadrature<2> &          quadrature,
+  const ReferenceCell           &reference_cell,
+  const Quadrature<2>           &quadrature,
   const unsigned int             face_no,
   const unsigned int             subface_no,
   const bool                     face_orientation,
@@ -716,7 +716,7 @@ QProjector<3>::project_to_oriented_subface(
 
 template <>
 Quadrature<1>
-QProjector<1>::project_to_all_faces(const ReferenceCell &     reference_cell,
+QProjector<1>::project_to_all_faces(const ReferenceCell      &reference_cell,
                                     const hp::QCollection<0> &quadrature)
 {
   AssertDimension(quadrature.size(), 1);
@@ -763,7 +763,7 @@ QProjector<1>::project_to_all_faces(const ReferenceCell &     reference_cell,
 
 template <>
 Quadrature<2>
-QProjector<2>::project_to_all_faces(const ReferenceCell &     reference_cell,
+QProjector<2>::project_to_all_faces(const ReferenceCell      &reference_cell,
                                     const hp::QCollection<1> &quadrature)
 {
   if (reference_cell == ReferenceCells::Triangle)
@@ -771,7 +771,7 @@ QProjector<2>::project_to_all_faces(const ReferenceCell &     reference_cell,
       const auto support_points_line =
         [](const auto &face, const auto &orientation) -> std::vector<Point<2>> {
         // MSVC struggles when using face.first.begin()
-        const Point<2, double> *  vertices_ptr = &face.first[0];
+        const Point<2, double>   *vertices_ptr = &face.first[0];
         ArrayView<const Point<2>> vertices(vertices_ptr, face.first.size());
         const auto                temp =
           ReferenceCells::Line.permute_by_combined_orientation(vertices,
@@ -888,7 +888,7 @@ QProjector<2>::project_to_all_faces(const ReferenceCell &     reference_cell,
 
 template <>
 Quadrature<3>
-QProjector<3>::project_to_all_faces(const ReferenceCell &     reference_cell,
+QProjector<3>::project_to_all_faces(const ReferenceCell      &reference_cell,
                                     const hp::QCollection<2> &quadrature)
 {
   const auto process = [&](const std::vector<std::vector<Point<3>>> &faces) {
@@ -1224,7 +1224,7 @@ QProjector<3>::project_to_all_subfaces(const ReferenceCell &reference_cell,
 
 template <int dim>
 Quadrature<dim>
-QProjector<dim>::project_to_child(const ReferenceCell &  reference_cell,
+QProjector<dim>::project_to_child(const ReferenceCell   &reference_cell,
                                   const Quadrature<dim> &quadrature,
                                   const unsigned int     child_no)
 {
@@ -1256,7 +1256,7 @@ QProjector<dim>::project_to_child(const ReferenceCell &  reference_cell,
 
 template <int dim>
 Quadrature<dim>
-QProjector<dim>::project_to_all_children(const ReferenceCell &  reference_cell,
+QProjector<dim>::project_to_all_children(const ReferenceCell   &reference_cell,
                                          const Quadrature<dim> &quadrature)
 {
   Assert(reference_cell == ReferenceCells::get_hypercube<dim>(),
@@ -1290,8 +1290,8 @@ template <int dim>
 Quadrature<dim>
 QProjector<dim>::project_to_line(const ReferenceCell &reference_cell,
                                  const Quadrature<1> &quadrature,
-                                 const Point<dim> &   p1,
-                                 const Point<dim> &   p2)
+                                 const Point<dim>    &p1,
+                                 const Point<dim>    &p2)
 {
   Assert(reference_cell == ReferenceCells::get_hypercube<dim>(),
          ExcNotImplemented());
@@ -1410,7 +1410,7 @@ QProjector<dim>::DataSetDescriptor::face(const ReferenceCell &reference_cell,
 template <int dim>
 typename QProjector<dim>::DataSetDescriptor
 QProjector<dim>::DataSetDescriptor::face(
-  const ReferenceCell &           reference_cell,
+  const ReferenceCell            &reference_cell,
   const unsigned int              face_no,
   const bool                      face_orientation,
   const bool                      face_flip,
@@ -1595,7 +1595,7 @@ QProjector<2>::DataSetDescriptor::subface(
 template <>
 QProjector<3>::DataSetDescriptor
 QProjector<3>::DataSetDescriptor::subface(
-  const ReferenceCell &          reference_cell,
+  const ReferenceCell           &reference_cell,
   const unsigned int             face_no,
   const unsigned int             subface_no,
   const bool                     face_orientation,
index a5dbc172675827f334a2c004c4d71b9019a379c9..b060625d09af6033a02e96fcc5b4d05a886eeacc 100644 (file)
@@ -50,7 +50,7 @@ Quadrature<dim>::Quadrature(const unsigned int n_q)
 template <int dim>
 void
 Quadrature<dim>::initialize(const std::vector<Point<dim>> &p,
-                            const std::vector<double> &    w)
+                            const std::vector<double>     &w)
 {
   AssertDimension(w.size(), p.size());
   quadrature_points      = p;
@@ -62,7 +62,7 @@ Quadrature<dim>::initialize(const std::vector<Point<dim>> &p,
 
 template <int dim>
 Quadrature<dim>::Quadrature(const std::vector<Point<dim>> &points,
-                            const std::vector<double> &    weights)
+                            const std::vector<double>     &weights)
   : quadrature_points(points)
   , weights(weights)
   , is_tensor_product_flag(dim == 1)
@@ -75,7 +75,7 @@ Quadrature<dim>::Quadrature(const std::vector<Point<dim>> &points,
 
 template <int dim>
 Quadrature<dim>::Quadrature(std::vector<Point<dim>> &&points,
-                            std::vector<double> &&    weights)
+                            std::vector<double>     &&weights)
   : quadrature_points(std::move(points))
   , weights(std::move(weights))
   , is_tensor_product_flag(dim == 1)
@@ -500,7 +500,7 @@ QIterated<0>::QIterated(const Quadrature<1> &, const unsigned int)
 
 
 template <>
-QIterated<1>::QIterated(const Quadrature<1> &        base_quadrature,
+QIterated<1>::QIterated(const Quadrature<1>         &base_quadrature,
                         const std::vector<Point<1>> &intervals)
   : Quadrature<1>(
       internal::QIteratedImplementation::uses_both_endpoints(base_quadrature) ?
@@ -627,7 +627,7 @@ QIterated<1>::QIterated(const Quadrature<1> &base_quadrature,
 // construct higher dimensional quadrature formula by tensor product
 // of lower dimensional iterated quadrature formulae
 template <int dim>
-QIterated<dim>::QIterated(const Quadrature<1> &        base_quadrature,
+QIterated<dim>::QIterated(const Quadrature<1>         &base_quadrature,
                           const std::vector<Point<1>> &intervals)
   : Quadrature<dim>(QIterated<dim - 1>(base_quadrature, intervals),
                     QIterated<1>(base_quadrature, intervals))
index 8ae5b0cd04863809c64596eb32c0c44cc2cd4dd2..93bb3245365af65b15b6f9a1bf0d05e93edf3917 100644 (file)
@@ -534,7 +534,7 @@ QGaussLog<1>::get_quadrature_weights(const unsigned int n)
 
 template <>
 QGaussLogR<1>::QGaussLogR(const unsigned int n,
-                          const Point<1> &   origin,
+                          const Point<1>    &origin,
                           const double       alpha,
                           const bool         factor_out_singularity)
   : Quadrature<1>(
@@ -634,7 +634,7 @@ QGaussOneOverR<2>::quad_size(const Point<2> &singularity, const unsigned int n)
 
 template <>
 QGaussOneOverR<2>::QGaussOneOverR(const unsigned int n,
-                                  const Point<2> &   singularity,
+                                  const Point<2>    &singularity,
                                   const bool         factor_out_singularity)
   : Quadrature<2>(quad_size(singularity, n))
 {
@@ -720,7 +720,7 @@ QGaussOneOverR<2>::QGaussOneOverR(const unsigned int n,
   // And we get rid of R to take into account the singularity,
   // unless specified differently in the constructor.
   std::vector<Point<2>> &ps  = this->quadrature_points;
-  std::vector<double> &  ws  = this->weights;
+  std::vector<double>   &ws  = this->weights;
   double                 pi4 = numbers::PI / 4;
 
   for (unsigned int q = 0; q < gauss.size(); ++q)
@@ -861,7 +861,7 @@ QWeddle<dim>::QWeddle()
 
 template <int dim>
 QTelles<dim>::QTelles(const Quadrature<1> &base_quad,
-                      const Point<dim> &   singularity)
+                      const Point<dim>    &singularity)
   : // We need the explicit implementation if dim == 1. If dim > 1 we use the
     // former implementation and apply a tensorial product to obtain the higher
     // dimensions.
index a60bd7ed7f41c7a9c62749c9e62c14c0b60cb033..9bc1bb9ea9a5ecc1078a5b20777924c7d51c6de8 100644 (file)
@@ -134,7 +134,7 @@ Subscriptor::operator=(Subscriptor &&s) noexcept
 
 void
 Subscriptor::subscribe(std::atomic<bool> *const validity,
-                       const std::string &      id) const
+                       const std::string       &id) const
 {
   std::lock_guard<std::mutex> lock(mutex);
 
@@ -154,7 +154,7 @@ Subscriptor::subscribe(std::atomic<bool> *const validity,
 
 void
 Subscriptor::unsubscribe(std::atomic<bool> *const validity,
-                         const std::string &      id) const
+                         const std::string       &id) const
 {
   const std::string &name = id.empty() ? unknown_subscriber : id;
 
index 4ef574accc4aedd197fac0e2cd57bd7155a31573..a0fe7b5e0efe995798d3e6d55e250b153fd5b46d 100644 (file)
@@ -72,8 +72,8 @@ TensorFunctionParser<rank, dim, Number>::TensorFunctionParser(
 template <int rank, int dim, typename Number>
 void
 TensorFunctionParser<rank, dim, Number>::initialize(
-  const std::string &                  variables,
-  const std::vector<std::string> &     expressions,
+  const std::string                   &variables,
+  const std::vector<std::string>      &expressions,
   const std::map<std::string, double> &constants,
   const bool                           time_dependent)
 {
@@ -88,8 +88,8 @@ TensorFunctionParser<rank, dim, Number>::initialize(
 template <int rank, int dim, typename Number>
 void
 TensorFunctionParser<rank, dim, Number>::initialize(
-  const std::string &                  vars,
-  const std::string &                  expression,
+  const std::string                   &vars,
+  const std::string                   &expression,
   const std::map<std::string, double> &constants,
   const bool                           time_dependent)
 {
@@ -119,7 +119,7 @@ TensorFunctionParser<rank, dim, Number>::value(const Point<dim> &p) const
 template <int rank, int dim, typename Number>
 void
 TensorFunctionParser<rank, dim, Number>::value_list(
-  const std::vector<Point<dim>> &         p,
+  const std::vector<Point<dim>>          &p,
   std::vector<Tensor<rank, dim, Number>> &values) const
 {
   Assert(p.size() == values.size(),
index ba0f9a705724f86b6dfa9aa9b5db9a80f50d8413..b6b913f2f29ac788384a5ca38ab305b8f8988234 100644 (file)
@@ -166,7 +166,7 @@ template <int dim, typename PolynomialType>
 double
 TensorProductPolynomials<dim, PolynomialType>::compute_value(
   const unsigned int i,
-  const Point<dim> p) const
+  const Point<dim>  &p) const
 {
   Assert(dim > 0, ExcNotImplemented());
 
@@ -200,7 +200,7 @@ template <int dim, typename PolynomialType>
 Tensor<1, dim>
 TensorProductPolynomials<dim, PolynomialType>::compute_grad(
   const unsigned int i,
-  const Point<dim> p) const
+  const Point<dim>  &p) const
 {
   std::array<unsigned int, dim> indices;
   compute_index(i, indices);
@@ -251,7 +251,7 @@ template <int dim, typename PolynomialType>
 Tensor<2, dim>
 TensorProductPolynomials<dim, PolynomialType>::compute_grad_grad(
   const unsigned int i,
-  const Point<dim> p) const
+  const Point<dim>  &p) const
 {
   std::array<unsigned int, dim> indices;
   compute_index(i, indices);
@@ -306,8 +306,8 @@ TensorProductPolynomials<0, Polynomials::Polynomial<double>>::compute_grad_grad(
 template <int dim, typename PolynomialType>
 void
 TensorProductPolynomials<dim, PolynomialType>::evaluate(
-  const Point<dim> &           p,
-  std::vector<double> &        values,
+  const Point<dim>            &p,
+  std::vector<double>         &values,
   std::vector<Tensor<1, dim>> &grads,
   std::vector<Tensor<2, dim>> &grad_grads,
   std::vector<Tensor<3, dim>> &third_derivatives,
@@ -546,7 +546,8 @@ AnisotropicPolynomials<dim>::compute_index(
 #endif
 
   if (dim == 0)
-    {}
+    {
+    }
   else if (dim == 1)
     internal::compute_tensor_index(i,
                                    polynomials[0].size(),
@@ -575,7 +576,7 @@ AnisotropicPolynomials<0>::compute_index(const unsigned int,
 template <int dim>
 double
 AnisotropicPolynomials<dim>::compute_value(const unsigned int i,
-                                           const Point<dim> p) const
+                                           const Point<dim>  &p) const
 {
   std::array<unsigned int, dim> indices;
   compute_index(i, indices);
@@ -605,7 +606,7 @@ AnisotropicPolynomials<0>::compute_value(const unsigned int,
 template <int dim>
 Tensor<1, dim>
 AnisotropicPolynomials<dim>::compute_grad(const unsigned int i,
-                                          const Point<dim> p) const
+                                          const Point<dim>  &p) const
 {
   std::array<unsigned int, dim> indices;
   compute_index(i, indices);
@@ -647,7 +648,7 @@ AnisotropicPolynomials<0>::compute_grad(const unsigned int,
 template <int dim>
 Tensor<2, dim>
 AnisotropicPolynomials<dim>::compute_grad_grad(const unsigned int i,
-                                               const Point<dim> p) const
+                                               const Point<dim>  &p) const
 {
   std::array<unsigned int, dim> indices;
   compute_index(i, indices);
@@ -696,8 +697,8 @@ AnisotropicPolynomials<0>::compute_grad_grad(const unsigned int,
 template <int dim>
 void
 AnisotropicPolynomials<dim>::evaluate(
-  const Point<dim> &           p,
-  std::vector<double> &        values,
+  const Point<dim>            &p,
+  std::vector<double>         &values,
   std::vector<Tensor<1, dim>> &grads,
   std::vector<Tensor<2, dim>> &grad_grads,
   std::vector<Tensor<3, dim>> &third_derivatives,
index c8d8c75e80241cff1cccb04b8e3338931950c42c..46fe84f8b6fdffd105698c16f02b9790a6e4e564 100644 (file)
@@ -67,7 +67,7 @@ TensorProductPolynomialsBubbles<dim>::set_numbering(
 template <int dim>
 double
 TensorProductPolynomialsBubbles<dim>::compute_value(const unsigned int i,
-                                                    const Point<dim> p) const
+                                                    const Point<dim>  &p) const
 {
   const unsigned int q_degree      = tensor_polys.polynomials.size() - 1;
   const unsigned int max_q_indices = tensor_polys.n();
@@ -108,7 +108,7 @@ TensorProductPolynomialsBubbles<0>::compute_value(const unsigned int,
 template <int dim>
 Tensor<1, dim>
 TensorProductPolynomialsBubbles<dim>::compute_grad(const unsigned int i,
-                                                   const Point<dim> p) const
+                                                   const Point<dim>  &p) const
 {
   const unsigned int q_degree      = tensor_polys.polynomials.size() - 1;
   const unsigned int max_q_indices = tensor_polys.n();
@@ -155,7 +155,7 @@ template <int dim>
 Tensor<2, dim>
 TensorProductPolynomialsBubbles<dim>::compute_grad_grad(
   const unsigned int i,
-  const Point<dim> p) const
+  const Point<dim>  &p) const
 {
   const unsigned int q_degree      = tensor_polys.polynomials.size() - 1;
   const unsigned int max_q_indices = tensor_polys.n();
@@ -258,8 +258,8 @@ TensorProductPolynomialsBubbles<dim>::compute_grad_grad(
 template <int dim>
 void
 TensorProductPolynomialsBubbles<dim>::evaluate(
-  const Point<dim> &           p,
-  std::vector<double> &        values,
+  const Point<dim>            &p,
+  std::vector<double>         &values,
   std::vector<Tensor<1, dim>> &grads,
   std::vector<Tensor<2, dim>> &grad_grads,
   std::vector<Tensor<3, dim>> &third_derivatives,
index 94a7d7d435e69a8ebf5ad75c22716d1db947104b..838fade87f8ba5767fec2df07dd77a86fe45bea0 100644 (file)
@@ -67,7 +67,7 @@ TensorProductPolynomialsConst<dim>::set_numbering(
 template <int dim>
 double
 TensorProductPolynomialsConst<dim>::compute_value(const unsigned int i,
-                                                  const Point<dim> p) const
+                                                  const Point<dim>  &p) const
 {
   const unsigned int max_indices = tensor_polys.n();
   Assert(i <= max_indices, ExcInternalError());
@@ -95,7 +95,7 @@ TensorProductPolynomialsConst<0>::compute_value(const unsigned int,
 template <int dim>
 Tensor<1, dim>
 TensorProductPolynomialsConst<dim>::compute_grad(const unsigned int i,
-                                                 const Point<dim> p) const
+                                                 const Point<dim>  &p) const
 {
   const unsigned int max_indices = tensor_polys.n();
   Assert(i <= max_indices, ExcInternalError());
@@ -127,8 +127,8 @@ TensorProductPolynomialsConst<dim>::compute_grad_grad(const unsigned int i,
 template <int dim>
 void
 TensorProductPolynomialsConst<dim>::evaluate(
-  const Point<dim> &           p,
-  std::vector<double> &        values,
+  const Point<dim>            &p,
+  std::vector<double>         &values,
   std::vector<Tensor<1, dim>> &grads,
   std::vector<Tensor<2, dim>> &grad_grads,
   std::vector<Tensor<3, dim>> &third_derivatives,
index 8dd27f5ded04e7dcf74210f50bb36b6a677dfb0d..5fc03b0ceee6fd54fc81734cd7791a62b5bba20a 100644 (file)
@@ -209,16 +209,15 @@ Timer::stop()
       if (sync_lap_times)
         {
           wall_times.last_lap_time =
-            internal::TimerImplementation::from_seconds<decltype(
-              wall_times)::duration_type>(last_lap_wall_time_data.max);
-          cpu_times.last_lap_time =
-            internal::TimerImplementation::from_seconds<decltype(
-              cpu_times)::duration_type>(
-              Utilities::MPI::min_max_avg(
-                internal::TimerImplementation::to_seconds(
-                  cpu_times.last_lap_time),
-                mpi_communicator)
-                .max);
+            internal::TimerImplementation::from_seconds<
+              decltype(wall_times)::duration_type>(last_lap_wall_time_data.max);
+          cpu_times.last_lap_time = internal::TimerImplementation::from_seconds<
+            decltype(cpu_times)::duration_type>(
+            Utilities::MPI::min_max_avg(
+              internal::TimerImplementation::to_seconds(
+                cpu_times.last_lap_time),
+              mpi_communicator)
+              .max);
         }
       wall_times.accumulated_time += wall_times.last_lap_time;
       cpu_times.accumulated_time += cpu_times.last_lap_time;
@@ -298,7 +297,7 @@ Timer::reset()
 
 /* ---------------------------- TimerOutput -------------------------- */
 
-TimerOutput::TimerOutput(std::ostream &        stream,
+TimerOutput::TimerOutput(std::ostream         &stream,
                          const OutputFrequency output_frequency,
                          const OutputType      output_type)
   : output_frequency(output_frequency)
@@ -310,7 +309,7 @@ TimerOutput::TimerOutput(std::ostream &        stream,
 
 
 
-TimerOutput::TimerOutput(ConditionalOStream &  stream,
+TimerOutput::TimerOutput(ConditionalOStream   &stream,
                          const OutputFrequency output_frequency,
                          const OutputType      output_type)
   : output_frequency(output_frequency)
@@ -323,7 +322,7 @@ TimerOutput::TimerOutput(ConditionalOStream &  stream,
 
 
 TimerOutput::TimerOutput(const MPI_Comm        mpi_communicator,
-                         std::ostream &        stream,
+                         std::ostream         &stream,
                          const OutputFrequency output_frequency,
                          const OutputType      output_type)
   : output_frequency(output_frequency)
@@ -336,7 +335,7 @@ TimerOutput::TimerOutput(const MPI_Comm        mpi_communicator,
 
 
 TimerOutput::TimerOutput(const MPI_Comm        mpi_communicator,
-                         ConditionalOStream &  stream,
+                         ConditionalOStream   &stream,
                          const OutputFrequency output_frequency,
                          const OutputType      output_type)
   : output_frequency(output_frequency)
index 32f11547149ac61aac8e5df0697ad5b4fa00a762..b2aa36ad779185c39fe0b9a47387ffdfbd5cd1fc 100644 (file)
@@ -108,9 +108,9 @@ namespace Utilities
     std::vector<std::array<std::uint64_t, effective_dim>>
     inverse_Hilbert_space_filling_curve_effective(
       const std::vector<Point<dim, Number>> &points,
-      const Point<dim, Number> &             bl,
-      const std::array<LongDouble, dim> &    extents,
-      const std::bitset<dim> &               valid_extents,
+      const Point<dim, Number>              &bl,
+      const std::array<LongDouble, dim>     &extents,
+      const std::bitset<dim>                &valid_extents,
       const int                              min_bits,
       const Integer                          max_int)
     {
@@ -1014,7 +1014,7 @@ namespace Utilities
     get_time()
     {
       std::time_t time1 = std::time(nullptr);
-      std::tm *   time  = std::localtime(&time1);
+      std::tm    *time  = std::localtime(&time1);
 
       std::ostringstream o;
       o << time->tm_hour << ":" << (time->tm_min < 10 ? "0" : "")
@@ -1030,7 +1030,7 @@ namespace Utilities
     get_date()
     {
       std::time_t time1 = std::time(nullptr);
-      std::tm *   time  = std::localtime(&time1);
+      std::tm    *time  = std::localtime(&time1);
 
       std::ostringstream o;
       o << time->tm_year + 1900 << "/" << time->tm_mon + 1 << "/"
index 3a990d7043608a17ab52649d8f7441bbe962d2c6..a7a94d993212d8e3b9fac5a6d94e0bb9b34163bc 100644 (file)
@@ -154,7 +154,7 @@ namespace CGALWrappers
 
 
     void
-    mark_domains(CDT &                 ct,
+    mark_domains(CDT                  &ct,
                  Face_handle           start,
                  int                   index,
                  std::list<CDT::Edge> &border)
@@ -407,7 +407,7 @@ namespace CGALWrappers
 
       if (!intersection_test.empty())
         {
-          const auto &       poly      = intersection_test[0].outer_boundary();
+          const auto        &poly      = intersection_test[0].outer_boundary();
           const unsigned int size_poly = poly.size();
           if (size_poly == 3)
             {
@@ -827,8 +827,8 @@ namespace CGALWrappers
   compute_intersection_of_cells(
     const typename Triangulation<dim0, spacedim>::cell_iterator &cell0,
     const typename Triangulation<dim1, spacedim>::cell_iterator &cell1,
-    const Mapping<dim0, spacedim> &                              mapping0,
-    const Mapping<dim1, spacedim> &                              mapping1,
+    const Mapping<dim0, spacedim>                               &mapping0,
+    const Mapping<dim1, spacedim>                               &mapping1,
     const double                                                 tol)
   {
     Assert(mapping0.get_vertices(cell0).size() ==
@@ -880,8 +880,8 @@ std::vector<std::array<Point<spacedim>, dim1 + 1>>
 compute_intersection_of_cells(
   const typename Triangulation<dim0, spacedim>::cell_iterator &cell0,
   const typename Triangulation<dim1, spacedim>::cell_iterator &cell1,
-  const Mapping<dim0, spacedim> &                              mapping0,
-  const Mapping<dim1, spacedim> &                              mapping1,
+  const Mapping<dim0, spacedim>                               &mapping0,
+  const Mapping<dim1, spacedim>                               &mapping1,
   const double                                                 tol)
 {
   (void)cell0;
index cc688af2a10c02e9b45221b7e75686cc696a28f8..47b1327a8bec7151bf7adf657c0f523af080417a 100644 (file)
@@ -23,8 +23,8 @@ for (dim0 : DIMENSIONS; dim1 : DIMENSIONS; spacedim : SPACE_DIMENSIONS)
     compute_intersection_of_cells<dim0, dim1, spacedim>(
       const typename Triangulation<dim0, spacedim>::cell_iterator &cell0,
       const typename Triangulation<dim1, spacedim>::cell_iterator &cell1,
-      const Mapping<dim0, spacedim> &                              mapping0,
-      const Mapping<dim1, spacedim> &                              mapping1,
+      const Mapping<dim0, spacedim>                               &mapping0,
+      const Mapping<dim1, spacedim>                               &mapping1,
       const double                                                 tol);
 
     template std::vector<std::array<Point<spacedim>, dim1 + 1>>
index da6fe521a6c82e0b790f5909bf2659f3b3f46bc7..c9273e7f801d54987e0fc84eb4a1754688dc55c8 100644 (file)
@@ -26,9 +26,9 @@ namespace
   template <typename dealiiFace, typename CGAL_Mesh>
   void
   add_facet(
-    const dealiiFace &                                              face,
+    const dealiiFace                                               &face,
     const std::map<unsigned int, typename CGAL_Mesh::Vertex_index> &deal2cgal,
-    CGAL_Mesh &                                                     mesh,
+    CGAL_Mesh                                                      &mesh,
     const bool clockwise_ordering = true)
   {
     const auto reference_cell_type = face->reference_cell();
@@ -71,9 +71,9 @@ namespace
   template <typename dealiiFace, typename CGAL_Mesh>
   void
   map_vertices(
-    const dealiiFace &                                        cell,
+    const dealiiFace                                         &cell,
     std::map<unsigned int, typename CGAL_Mesh::Vertex_index> &deal2cgal,
-    CGAL_Mesh &                                               mesh)
+    CGAL_Mesh                                                &mesh)
   {
     for (const auto i : cell->vertex_indices())
       {
@@ -94,8 +94,8 @@ namespace CGALWrappers
   void
   dealii_cell_to_cgal_surface_mesh(
     const typename Triangulation<dim, spacedim>::cell_iterator &cell,
-    const Mapping<dim, spacedim> &                              mapping,
-    CGAL::Surface_mesh<CGALPointType> &                         mesh)
+    const Mapping<dim, spacedim>                               &mapping,
+    CGAL::Surface_mesh<CGALPointType>                          &mesh)
   {
     Assert(dim > 1, ExcImpossibleInDim(dim));
     using Mesh           = CGAL::Surface_mesh<CGALPointType>;
@@ -147,7 +147,7 @@ namespace CGALWrappers
   void
   dealii_tria_to_cgal_surface_mesh(
     const dealii::Triangulation<dim, spacedim> &tria,
-    CGAL::Surface_mesh<CGALPointType> &         mesh)
+    CGAL::Surface_mesh<CGALPointType>          &mesh)
   {
     Assert(tria.n_cells() > 0,
            ExcMessage(
index 6b84c7a9fdaa3c8027c782712698caa3fdee6a46..981d9e2f90be73718bea5d04dffcb95d05a696e5 100644 (file)
@@ -23,13 +23,13 @@ for (dim : DIMENSIONS; spacedim : SPACE_DIMENSIONS; cgal_kernel : CGAL_KERNELS)
                                      dim,
                                      spacedim>(
       const typename Triangulation<dim, spacedim>::cell_iterator &cell,
-      const Mapping<dim, spacedim> &                              mapping,
-      CGAL::Surface_mesh<typename cgal_kernel::Point_3> &         mesh);
+      const Mapping<dim, spacedim>                               &mapping,
+      CGAL::Surface_mesh<typename cgal_kernel::Point_3>          &mesh);
 
     template void dealii_tria_to_cgal_surface_mesh<
       typename cgal_kernel::Point_3,
       dim,
-      spacedim>(const Triangulation<dim, spacedim> &               cell,
+      spacedim>(const Triangulation<dim, spacedim>                &cell,
                 CGAL::Surface_mesh<typename cgal_kernel::Point_3> &mesh);
 #endif
   }
index 99a437227d6a7c4a4a5042eeb0736fc739716ff6..d30c8b76066b9b843ae8e3fb3edbcec12da582a6 100644 (file)
@@ -619,7 +619,7 @@ namespace Differentiation
                                   NumberTypes::adolc_taped>>::
       print_tape_stats(
         const typename Types<ADNumberType>::tape_index tape_index,
-        std::ostream &                                 stream) const
+        std::ostream                                  &stream) const
     {
       // See ADOL-C manual section 2.1
       // and adolc/taping.h
@@ -690,7 +690,7 @@ namespace Differentiation
                                   NumberTypes::adolc_taped>>::
       gradient(const typename Types<ADNumberType>::tape_index active_tape_index,
                const std::vector<scalar_type> &independent_variables,
-               Vector<scalar_type> &           gradient) const
+               Vector<scalar_type>            &gradient) const
     {
       Assert(AD::ADNumberTraits<ADNumberType>::n_supported_derivative_levels >=
                1,
@@ -722,7 +722,7 @@ namespace Differentiation
                                   NumberTypes::adolc_taped>>::
       hessian(const typename Types<ADNumberType>::tape_index active_tape_index,
               const std::vector<scalar_type> &independent_variables,
-              FullMatrix<scalar_type> &       hessian) const
+              FullMatrix<scalar_type>        &hessian) const
     {
       Assert(AD::ADNumberTraits<ADNumberType>::n_supported_derivative_levels >=
                2,
@@ -765,7 +765,7 @@ namespace Differentiation
       values(const typename Types<ADNumberType>::tape_index active_tape_index,
              const unsigned int              n_dependent_variables,
              const std::vector<scalar_type> &independent_variables,
-             Vector<scalar_type> &           values) const
+             Vector<scalar_type>            &values) const
     {
       Assert(values.size() == n_dependent_variables,
              ExcDimensionMismatch(values.size(), n_dependent_variables));
@@ -793,7 +793,7 @@ namespace Differentiation
       jacobian(const typename Types<ADNumberType>::tape_index active_tape_index,
                const unsigned int              n_dependent_variables,
                const std::vector<scalar_type> &independent_variables,
-               FullMatrix<scalar_type> &       jacobian) const
+               FullMatrix<scalar_type>        &jacobian) const
     {
       Assert(AD::ADNumberTraits<ADNumberType>::n_supported_derivative_levels >=
                1,
@@ -1295,7 +1295,7 @@ namespace Differentiation
                                   NumberTypes::adolc_taped>>::
       print_tape_stats(
         const typename Types<ADNumberType>::tape_index tape_index,
-        std::ostream &                                 stream) const
+        std::ostream                                  &stream) const
     {
       // ADOL-C only supports 'double', not 'float', so we can forward to
       // the 'double' implementation of this function
@@ -1331,7 +1331,7 @@ namespace Differentiation
                                   NumberTypes::adolc_taped>>::
       gradient(const typename Types<ADNumberType>::tape_index active_tape_index,
                const std::vector<scalar_type> &independent_variables,
-               Vector<scalar_type> &           gradient) const
+               Vector<scalar_type>            &gradient) const
     {
       Vector<double> gradient_double(gradient.size());
       // ADOL-C only supports 'double', not 'float', so we can forward to
@@ -1351,7 +1351,7 @@ namespace Differentiation
                                   NumberTypes::adolc_taped>>::
       hessian(const typename Types<ADNumberType>::tape_index active_tape_index,
               const std::vector<scalar_type> &independent_variables,
-              FullMatrix<scalar_type> &       hessian) const
+              FullMatrix<scalar_type>        &hessian) const
     {
       FullMatrix<double> hessian_double(hessian.m(), hessian.n());
       // ADOL-C only supports 'double', not 'float', so we can forward to
@@ -1372,7 +1372,7 @@ namespace Differentiation
       values(const typename Types<ADNumberType>::tape_index active_tape_index,
              const unsigned int              n_dependent_variables,
              const std::vector<scalar_type> &independent_variables,
-             Vector<scalar_type> &           values) const
+             Vector<scalar_type>            &values) const
     {
       Vector<double> values_double(values.size());
       // ADOL-C only supports 'double', not 'float', so we can forward to
@@ -1394,7 +1394,7 @@ namespace Differentiation
       jacobian(const typename Types<ADNumberType>::tape_index active_tape_index,
                const unsigned int              n_dependent_variables,
                const std::vector<scalar_type> &independent_variables,
-               FullMatrix<scalar_type> &       jacobian) const
+               FullMatrix<scalar_type>        &jacobian) const
     {
       FullMatrix<double> jacobian_double(jacobian.m(), jacobian.n());
       // ADOL-C only supports 'double', not 'float', so we can forward to
@@ -1755,7 +1755,7 @@ namespace Differentiation
                                        NumberTypes::sacado_rad_dfad>>::
       gradient(const std::vector<ADNumberType> &independent_variables,
                const std::vector<ADNumberType> &dependent_variables,
-               Vector<ScalarType> &             gradient) const
+               Vector<ScalarType>              &gradient) const
     {
       Assert(AD::ADNumberTraits<ADNumberType>::n_supported_derivative_levels >=
                1,
@@ -1790,7 +1790,7 @@ namespace Differentiation
                                        NumberTypes::sacado_rad_dfad>>::
       hessian(const std::vector<ADNumberType> &independent_variables,
               const std::vector<ADNumberType> &dependent_variables,
-              FullMatrix<ScalarType> &         hessian) const
+              FullMatrix<ScalarType>          &hessian) const
     {
       Assert(AD::ADNumberTraits<ADNumberType>::n_supported_derivative_levels >=
                2,
@@ -1843,7 +1843,7 @@ namespace Differentiation
                                      ADNumberTraits<ADNumberType>::type_code ==
                                        NumberTypes::sacado_rad_dfad>>::
       values(const std::vector<ADNumberType> &dependent_variables,
-             Vector<ScalarType> &             values) const
+             Vector<ScalarType>              &values) const
     {
       Assert(values.size() == dependent_variables.size(),
              ExcDimensionMismatch(values.size(), dependent_variables.size()));
@@ -1865,7 +1865,7 @@ namespace Differentiation
                                        NumberTypes::sacado_rad_dfad>>::
       jacobian(const std::vector<ADNumberType> &independent_variables,
                const std::vector<ADNumberType> &dependent_variables,
-               FullMatrix<ScalarType> &         jacobian) const
+               FullMatrix<ScalarType>          &jacobian) const
     {
       Assert(AD::ADNumberTraits<ADNumberType>::n_supported_derivative_levels >=
                1,
@@ -2030,7 +2030,7 @@ namespace Differentiation
                                        NumberTypes::sacado_dfad_dfad>>::
       gradient(const std::vector<ADNumberType> &independent_variables,
                const std::vector<ADNumberType> &dependent_variables,
-               Vector<ScalarType> &             gradient) const
+               Vector<ScalarType>              &gradient) const
     {
       Assert(AD::ADNumberTraits<ADNumberType>::n_supported_derivative_levels >=
                1,
@@ -2065,7 +2065,7 @@ namespace Differentiation
                                        NumberTypes::sacado_dfad_dfad>>::
       hessian(const std::vector<ADNumberType> &independent_variables,
               const std::vector<ADNumberType> &dependent_variables,
-              FullMatrix<ScalarType> &         hessian) const
+              FullMatrix<ScalarType>          &hessian) const
     {
       Assert(AD::ADNumberTraits<ADNumberType>::n_supported_derivative_levels >=
                2,
@@ -2118,7 +2118,7 @@ namespace Differentiation
                                      ADNumberTraits<ADNumberType>::type_code ==
                                        NumberTypes::sacado_dfad_dfad>>::
       values(const std::vector<ADNumberType> &dependent_variables,
-             Vector<ScalarType> &             values) const
+             Vector<ScalarType>              &values) const
     {
       Assert(values.size() == dependent_variables.size(),
              ExcDimensionMismatch(values.size(), dependent_variables.size()));
@@ -2142,7 +2142,7 @@ namespace Differentiation
                                        NumberTypes::sacado_dfad_dfad>>::
       jacobian(const std::vector<ADNumberType> &independent_variables,
                const std::vector<ADNumberType> &dependent_variables,
-               FullMatrix<ScalarType> &         jacobian) const
+               FullMatrix<ScalarType>          &jacobian) const
     {
       Assert(AD::ADNumberTraits<ADNumberType>::n_supported_derivative_levels >=
                1,
index 52ec23430af56577091f1cb49ea01423d1ac2119..55554a579b0f914abcfc27185690ef97f7f8d7d9 100644 (file)
@@ -141,7 +141,7 @@ namespace Differentiation
     void
     HelperBase<ADNumberTypeCode, ScalarType>::mark_independent_variable(
       const unsigned int index,
-      ad_type &          out) const
+      ad_type           &out) const
     {
       Assert(index < n_independent_variables(), ExcInternalError());
       Assert(registered_independent_variable_values[index] == true,
@@ -372,7 +372,7 @@ namespace Differentiation
     void
     HelperBase<ADNumberTypeCode, ScalarType>::print_tape_stats(
       const typename Types<ad_type>::tape_index tape_index,
-      std::ostream &                            stream) const
+      std::ostream                             &stream) const
     {
       if (ADNumberTraits<ad_type>::is_tapeless == true)
         return;
@@ -678,7 +678,7 @@ namespace Differentiation
     void
     HelperBase<ADNumberTypeCode, ScalarType>::register_dependent_variable(
       const unsigned int index,
-      const ad_type &    func)
+      const ad_type     &func)
     {
       Assert(index < n_dependent_variables(), ExcMessage("Index out of range"));
       Assert(registered_marked_dependent_variables[index] == false,
@@ -1568,7 +1568,7 @@ namespace Differentiation
       dim,
       typename ScalarFunction<dim, ADNumberTypeCode, ScalarType>::scalar_type>
     ScalarFunction<dim, ADNumberTypeCode, ScalarType>::
-      extract_hessian_component(const FullMatrix<scalar_type> &   hessian,
+      extract_hessian_component(const FullMatrix<scalar_type>    &hessian,
                                 const FEValuesExtractors::Scalar &extractor_row,
                                 const FEValuesExtractors::Scalar &extractor_col)
     {
@@ -1606,7 +1606,7 @@ namespace Differentiation
       typename ScalarFunction<dim, ADNumberTypeCode, ScalarType>::scalar_type>
     ScalarFunction<dim, ADNumberTypeCode, ScalarType>::
       extract_hessian_component(
-        const FullMatrix<scalar_type> &               hessian,
+        const FullMatrix<scalar_type>                &hessian,
         const FEValuesExtractors::SymmetricTensor<2> &extractor_row,
         const FEValuesExtractors::SymmetricTensor<2> &extractor_col)
     {
@@ -1810,7 +1810,7 @@ namespace Differentiation
       typename VectorFunction<dim, ADNumberTypeCode, ScalarType>::scalar_type>
     VectorFunction<dim, ADNumberTypeCode, ScalarType>::
       extract_jacobian_component(
-        const FullMatrix<scalar_type> &   jacobian,
+        const FullMatrix<scalar_type>    &jacobian,
         const FEValuesExtractors::Scalar &extractor_row,
         const FEValuesExtractors::Scalar &extractor_col)
     {
@@ -1848,7 +1848,7 @@ namespace Differentiation
       typename VectorFunction<dim, ADNumberTypeCode, ScalarType>::scalar_type>
     VectorFunction<dim, ADNumberTypeCode, ScalarType>::
       extract_jacobian_component(
-        const FullMatrix<scalar_type> &               jacobian,
+        const FullMatrix<scalar_type>                &jacobian,
         const FEValuesExtractors::SymmetricTensor<2> &extractor_row,
         const FEValuesExtractors::SymmetricTensor<2> &extractor_col)
     {
index ce828f1d87e8cb1239cf4bc419c6e52ee890fb7c..705ff5fb8a79f99d2ae9694698deb4f61edaf5d7 100644 (file)
@@ -82,7 +82,7 @@ namespace Differentiation
 
 
     Expression::Expression(const std::vector<std::pair<Expression, Expression>>
-                             &               condition_expression,
+                                            &condition_expression,
                            const Expression &expression_otherwise)
     {
       SE::PiecewiseVec piecewise_function;
@@ -142,7 +142,7 @@ namespace Differentiation
     }
 
 
-    Expression::Expression(const std::string &         symbol_func,
+    Expression::Expression(const std::string          &symbol_func,
                            const types::symbol_vector &arguments)
       : expression(SE::function_symbol(
           symbol_func,
index 32ef8ebe2aa427b21b9581e547978ddcede4f959..7a54173a38ad5891cc7bed174d6549d5bc7b50c9 100644 (file)
@@ -44,7 +44,7 @@ namespace Differentiation
 
     template <typename ReturnType>
     BatchOptimizer<ReturnType>::BatchOptimizer(
-      const enum OptimizerType &    optimization_method,
+      const enum OptimizerType     &optimization_method,
       const enum OptimizationFlags &optimization_flags)
       : BatchOptimizer()
     {
@@ -88,7 +88,7 @@ namespace Differentiation
     template <typename ReturnType>
     void
     BatchOptimizer<ReturnType>::set_optimization_method(
-      const enum OptimizerType &    optimization_method,
+      const enum OptimizerType     &optimization_method,
       const enum OptimizationFlags &optimization_flags)
     {
       Assert(
@@ -444,7 +444,7 @@ namespace Differentiation
     void
     BatchOptimizer<ReturnType>::substitute(
       const SD::types::symbol_vector &symbols,
-      const std::vector<ReturnType> values) const
+      const std::vector<ReturnType>  &values) const
     {
       // Zip the two vectors and use the other function call
       // This ensures the ordering of the input vectors matches that of the
@@ -457,7 +457,7 @@ namespace Differentiation
     template <typename ReturnType>
     void
     BatchOptimizer<ReturnType>::substitute(
-      const SymEngine::vec_basic &   symbols,
+      const SymEngine::vec_basic    &symbols,
       const std::vector<ReturnType> &values) const
     {
       substitute(SD::Utilities::convert_basic_vector_to_expression_vector(
@@ -542,7 +542,7 @@ namespace Differentiation
     template <typename ReturnType>
     ReturnType
     BatchOptimizer<ReturnType>::extract(
-      const Expression &             func,
+      const Expression              &func,
       const std::vector<ReturnType> &cached_evaluation) const
     {
       // TODO[JPP]: Find a way to fix this bug that crops up in serialization
index 2bc7fbfc568423aeb333e630b7b025e938d19c14..fd354c26a16738d25ce2400a3bbb47920493efec 100644 (file)
@@ -46,7 +46,7 @@ namespace Differentiation
 
 #  ifndef DOXYGEN
     Expression
-    make_symbolic_function(const std::string &             symbol,
+    make_symbolic_function(const std::string              &symbol,
                            const SD::types::symbol_vector &arguments)
     {
       return Expression(symbol, arguments);
@@ -54,7 +54,7 @@ namespace Differentiation
 
 
     Expression
-    make_symbolic_function(const std::string &                symbol,
+    make_symbolic_function(const std::string                 &symbol,
                            const SD::types::substitution_map &arguments)
     {
       return make_symbolic_function(symbol,
@@ -127,7 +127,7 @@ namespace Differentiation
 
       void
       set_value_in_symbol_map(
-        types::substitution_map &                     substitution_map,
+        types::substitution_map                      &substitution_map,
         const SymEngine::RCP<const SymEngine::Basic> &symbol,
         const SymEngine::RCP<const SymEngine::Basic> &value)
       {
@@ -148,8 +148,8 @@ namespace Differentiation
 
     void
     set_value_in_symbol_map(types::substitution_map &substitution_map,
-                            const Expression &       symbol,
-                            const Expression &       value)
+                            const Expression        &symbol,
+                            const Expression        &value)
     {
       internal::set_value_in_symbol_map(substitution_map,
                                         symbol.get_RCP(),
@@ -158,7 +158,7 @@ namespace Differentiation
 
 
     void
-    set_value_in_symbol_map(types::substitution_map &      substitution_map,
+    set_value_in_symbol_map(types::substitution_map       &substitution_map,
                             const types::substitution_map &symbol_values)
     {
       for (const auto &entry : symbol_values)
@@ -184,7 +184,7 @@ namespace Differentiation
 
 
     void
-    merge_substitution_maps(types::substitution_map &      symb_map_out,
+    merge_substitution_maps(types::substitution_map       &symb_map_out,
                             const types::substitution_map &symb_map_in)
     {
       // Do this by hand so that we can perform some sanity checks
@@ -221,7 +221,7 @@ namespace Differentiation
           // Instead of checking by value (and thus having
           // to store a temporary value), we check to see
           // if the hash of the map entry changes.
-          Expression out = entry.second;
+          Expression  &out = entry.second;
           SE::hash_t   hash_old;
           SE::hash_t   hash_new = out.get_RCP()->hash();
           unsigned int iter     = 0;
@@ -260,7 +260,7 @@ namespace Differentiation
 
 
     Expression
-    substitute(const Expression &             expression,
+    substitute(const Expression              &expression,
                const types::substitution_map &substitution_map)
     {
       return expression.substitute(substitution_map);
index 85ef085fa66468b0c5b430fc22b9cf36c1e65b71..8ec3a396ec6f7a47bdd4f79118954b2f6cfcd89c 100644 (file)
@@ -141,7 +141,7 @@ namespace Differentiation
         struct Symbol_Function_Tensor
         {
           static Tensor<rank, dim, Expression>
-          create(const std::string &            sym,
+          create(const std::string             &sym,
                  const types::substitution_map &arguments)
           {
             Tensor<rank, dim, Expression> out;
@@ -165,7 +165,7 @@ namespace Differentiation
         struct Symbol_Function_Tensor<0, dim>
         {
           static Tensor<0, dim, Expression>
-          create(const std::string &            sym,
+          create(const std::string             &sym,
                  const types::substitution_map &arguments)
           {
             return make_symbolic_function(sym, arguments);
@@ -181,7 +181,7 @@ namespace Differentiation
         struct Symbol_Function_SymmetricTensor
         {
           static SymmetricTensor<2, dim, Expression>
-          create(const std::string &            sym,
+          create(const std::string             &sym,
                  const types::substitution_map &arguments)
           {
             SymmetricTensor<rank, dim, Expression> out;
@@ -205,7 +205,7 @@ namespace Differentiation
         struct Symbol_Function_SymmetricTensor<4, dim>
         {
           static SymmetricTensor<4, dim, Expression>
-          create(const std::string &            sym,
+          create(const std::string             &sym,
                  const types::substitution_map &arguments)
           {
             SymmetricTensor<4, dim, Expression> out;
@@ -243,7 +243,7 @@ namespace Differentiation
 #  ifndef DOXYGEN
     template <int dim>
     Tensor<1, dim, Expression>
-    make_vector_of_symbolic_functions(const std::string &            sym,
+    make_vector_of_symbolic_functions(const std::string             &sym,
                                       const types::substitution_map &arguments)
     {
       return internal::Symbol_Function_Tensor<1, dim>::create(sym, arguments);
@@ -270,7 +270,7 @@ namespace Differentiation
 #  ifndef DOXYGEN
     template <int rank, int dim>
     Tensor<rank, dim, Expression>
-    make_tensor_of_symbolic_functions(const std::string &            sym,
+    make_tensor_of_symbolic_functions(const std::string             &sym,
                                       const types::substitution_map &arguments)
     {
       return internal::Symbol_Function_Tensor<rank, dim>::create(sym,
@@ -281,7 +281,7 @@ namespace Differentiation
     template <int rank, int dim>
     SymmetricTensor<rank, dim, Expression>
     make_symmetric_tensor_of_symbolic_functions(
-      const std::string &            sym,
+      const std::string             &sym,
       const types::substitution_map &arguments)
     {
       return internal::Symbol_Function_SymmetricTensor<rank, dim>::create(
index 1a4a80204cbd71de797f3e26a9868cefe51c2310..d32d56ea190eac137b46b89fb9ae8349747ed0f6 100644 (file)
@@ -26,7 +26,7 @@ for (deal_II_dimension : DIMENSIONS)
 
         template Tensor<1, deal_II_dimension, Expression>
         make_vector_of_symbolic_functions<deal_II_dimension>(
-          const std::string &            symbol,
+          const std::string             &symbol,
           const types::substitution_map &arguments);
 
         /*--- Rank-0 definitions ---*/
@@ -36,7 +36,7 @@ for (deal_II_dimension : DIMENSIONS)
 
         template Tensor<0, deal_II_dimension, Expression>
         make_tensor_of_symbolic_functions<0, deal_II_dimension>(
-          const std::string &            symbol,
+          const std::string             &symbol,
           const types::substitution_map &arguments);
       \}
     \}
@@ -56,7 +56,7 @@ for (rank : RANKS; deal_II_dimension : DIMENSIONS)
 
         template Tensor<rank, deal_II_dimension, Expression>
         make_tensor_of_symbolic_functions<rank, deal_II_dimension>(
-          const std::string &            symbol,
+          const std::string             &symbol,
           const types::substitution_map &arguments);
 
       \}
@@ -77,7 +77,7 @@ for (rank : SYM_RANKS; deal_II_dimension : DIMENSIONS)
 
         template SymmetricTensor<rank, deal_II_dimension, Expression>
         make_symmetric_tensor_of_symbolic_functions<rank, deal_II_dimension>(
-          const std::string &            symbol,
+          const std::string             &symbol,
           const types::substitution_map &arguments);
 
       \}
index 1fa00597a6eae57f08777b9ea8e676f0679e7e60..fc3cc7bca5bb57aa923bcc061f9e1a62295cbea8 100644 (file)
@@ -28,7 +28,7 @@ namespace parallel
   template <int dim, int spacedim>
   CellWeights<dim, spacedim>::CellWeights(
     const DoFHandler<dim, spacedim> &dof_handler,
-    const WeightingFunction &        weighting_function)
+    const WeightingFunction         &weighting_function)
   {
     reinit(dof_handler, weighting_function);
   }
@@ -145,7 +145,7 @@ namespace parallel
 
     return [&dof_handler, tria, weighting_function](
              const typename dealii::Triangulation<dim, spacedim>::cell_iterator
-               &              cell,
+                             &cell,
              const CellStatus status) -> unsigned int {
       return CellWeights<dim, spacedim>::weighting_callback(cell,
                                                             status,
@@ -163,7 +163,7 @@ namespace parallel
   CellWeights<dim, spacedim>::weighting_callback(
     const typename dealii::Triangulation<dim, spacedim>::cell_iterator &cell_,
     const CellStatus                                                    status,
-    const DoFHandler<dim, spacedim> &                 dof_handler,
+    const DoFHandler<dim, spacedim>                  &dof_handler,
     const parallel::TriangulationBase<dim, spacedim> &triangulation,
     const typename CellWeights<dim, spacedim>::WeightingFunction
       &weighting_function)
index 657799cbe390aab84af99a0920e7221bb744c1b1..fc4b557f3bf98b704bad4de6b55398f646ddb008 100644 (file)
@@ -40,7 +40,7 @@ namespace parallel
         const auto coarsening_strategy =
           [this](
             const typename dealii::Triangulation<dim, spacedim>::cell_iterator
-              &                                parent,
+                                              &parent,
             const std::vector<Vector<Number>> &children_values) {
             // get the equivalent DoFCellAccessor
             typename DoFHandler<dim, spacedim>::cell_iterator dof_cell_iterator(
@@ -132,7 +132,7 @@ namespace parallel
       void
       FieldTransfer<dim, VectorType, spacedim>::
         prepare_for_coarsening_and_refinement(
-          const VectorType in,
+          const VectorType  &in,
           const unsigned int fe_nothing_index)
       {
         const unsigned int dofs_per_cell =
@@ -172,9 +172,9 @@ namespace parallel
       template <int dim, typename VectorType, int spacedim>
       void
       FieldTransfer<dim, VectorType, spacedim>::interpolate(
-        const Number &                   new_value,
+        const Number                    &new_value,
         const AffineConstraints<Number> &affine_constraints,
-        VectorType &                     out)
+        VectorType                      &out)
       {
         const unsigned int dofs_per_cell =
           dof_handler.get_fe_collection().max_dofs_per_cell();
index e3a7d82a59102f53d742dd771b743641edb2d2cd..81d0c3a99a51a015255143102628f5a11cbe652c 100644 (file)
@@ -219,9 +219,9 @@ namespace parallel
     template <int dim, int spacedim>
     DEAL_II_CXX20_REQUIRES((concepts::is_valid_dim_spacedim<dim, spacedim>))
     void Triangulation<dim, spacedim>::create_triangulation(
-      const std::vector<Point<spacedim>> &      vertices,
+      const std::vector<Point<spacedim>>       &vertices,
       const std::vector<dealii::CellData<dim>> &cells,
-      const SubCellData &                       subcelldata)
+      const SubCellData                        &subcelldata)
     {
       Assert(
         currently_processing_create_triangulation_for_internal_usage,
@@ -299,7 +299,7 @@ namespace parallel
     void Triangulation<dim, spacedim>::set_partitioner(
       const std::function<void(dealii::Triangulation<dim, spacedim> &,
                                const unsigned int)> &partitioner,
-      const TriangulationDescription::Settings &     settings)
+      const TriangulationDescription::Settings      &settings)
     {
       this->partitioner = partitioner;
       this->settings    = settings;
@@ -311,7 +311,7 @@ namespace parallel
     DEAL_II_CXX20_REQUIRES((concepts::is_valid_dim_spacedim<dim, spacedim>))
     void Triangulation<dim, spacedim>::set_partitioner(
       const RepartitioningPolicyTools::Base<dim, spacedim> &partitioner,
-      const TriangulationDescription::Settings &            settings)
+      const TriangulationDescription::Settings             &settings)
     {
       this->partitioner_distributed = &partitioner;
       this->settings                = settings;
index 71db910dff291f103d35158a78ca7519681fb9ad..55ca56fa1ad02e2f2baba7633d862c9014f2ac94 100644 (file)
@@ -182,7 +182,7 @@ namespace
   template <int dim, int spacedim, typename Number>
   void
   mark_cells(dealii::Triangulation<dim, spacedim> &tria,
-             const dealii::Vector<Number> &        criteria,
+             const dealii::Vector<Number>         &criteria,
              const double                          top_threshold,
              const double                          bottom_threshold)
   {
@@ -212,7 +212,7 @@ namespace
   void
   refine_and_coarsen_fixed_fraction_via_l1_norm(
     dealii::Triangulation<dim, spacedim> &tria,
-    const dealii::Vector<Number> &        criteria,
+    const dealii::Vector<Number>         &criteria,
     const double                          top_fraction_of_error,
     const double                          bottom_fraction_of_error)
   {
@@ -304,7 +304,7 @@ namespace internal
         {
           template <typename number>
           number
-          compute_threshold(const dealii::Vector<number> &   criteria,
+          compute_threshold(const dealii::Vector<number>    &criteria,
                             const std::pair<double, double> &global_min_and_max,
                             const types::global_cell_index   n_target_cells,
                             const MPI_Comm                   mpi_communicator)
@@ -387,7 +387,7 @@ namespace internal
         {
           template <typename number>
           number
-          compute_threshold(const dealii::Vector<number> &   criteria,
+          compute_threshold(const dealii::Vector<number>    &criteria,
                             const std::pair<double, double> &global_min_and_max,
                             const double                     target_error,
                             const MPI_Comm                   mpi_communicator)
@@ -503,7 +503,7 @@ namespace parallel
       void
       refine_and_coarsen_fixed_number(
         dealii::Triangulation<dim, spacedim> &tria,
-        const dealii::Vector<Number> &        criteria,
+        const dealii::Vector<Number>         &criteria,
         const double                          top_fraction_of_cells,
         const double                          bottom_fraction_of_cells,
         const types::global_cell_index        max_n_cells)
@@ -576,7 +576,7 @@ namespace parallel
       void
       refine_and_coarsen_fixed_fraction(
         dealii::Triangulation<dim, spacedim> &tria,
-        const dealii::Vector<Number> &        criteria,
+        const dealii::Vector<Number>         &criteria,
         const double                          top_fraction_of_error,
         const double                          bottom_fraction_of_error,
         const VectorTools::NormType           norm_type)
index 0afa94b2228dfa3af228c545256e3b683a210e50..85b8d60005b30759181aa66ccf89b00a4f24e2ae 100644 (file)
@@ -66,7 +66,7 @@ namespace internal
       {
         const typename dealii::parallel::distributed::Triangulation<dim,
                                                                     spacedim>
-          *         triangulation;
+                   *triangulation;
         sc_array_t *subids;
         std::map<unsigned int, std::set<dealii::types::subdomain_id>>
           *vertices_with_ghost_neighbors;
@@ -82,7 +82,7 @@ namespace internal
       void
       find_ghosts_corner(
         typename dealii::internal::p4est::iter<dim>::corner_info *info,
-        void *                                                    user_data)
+        void                                                     *user_data)
       {
         int   i, j;
         int   nsides = info->sides.elem_count;
@@ -93,7 +93,7 @@ namespace internal
           static_cast<FindGhosts<dim, spacedim> *>(user_data);
         sc_array_t *subids = fg->subids;
         const dealii::parallel::distributed::Triangulation<dim, spacedim>
-          *                          triangulation = fg->triangulation;
+                                    *triangulation = fg->triangulation;
         int                          nsubs;
         dealii::types::subdomain_id *subdomain_ids;
         std::map<unsigned int, std::set<dealii::types::subdomain_id>>
@@ -159,17 +159,17 @@ namespace internal
       void
       find_ghosts_edge(
         typename dealii::internal::p4est::iter<dim>::edge_info *info,
-        void *                                                  user_data)
+        void                                                   *user_data)
       {
         int   i, j, k;
         int   nsides = info->sides.elem_count;
         auto *sides  = reinterpret_cast<
           typename dealii::internal::p4est::iter<dim>::edge_side *>(
           info->sides.array);
-        auto *      fg = static_cast<FindGhosts<dim, spacedim> *>(user_data);
+        auto       *fg = static_cast<FindGhosts<dim, spacedim> *>(user_data);
         sc_array_t *subids = fg->subids;
         const dealii::parallel::distributed::Triangulation<dim, spacedim>
-          *                          triangulation = fg->triangulation;
+                                    *triangulation = fg->triangulation;
         int                          nsubs;
         dealii::types::subdomain_id *subdomain_ids;
         std::map<unsigned int, std::set<dealii::types::subdomain_id>>
@@ -243,7 +243,7 @@ namespace internal
       void
       find_ghosts_face(
         typename dealii::internal::p4est::iter<dim>::face_info *info,
-        void *                                                  user_data)
+        void                                                   *user_data)
       {
         int   i, j, k;
         int   nsides = info->sides.elem_count;
@@ -254,11 +254,11 @@ namespace internal
           static_cast<FindGhosts<dim, spacedim> *>(user_data);
         sc_array_t *subids = fg->subids;
         const dealii::parallel::distributed::Triangulation<dim, spacedim>
-          *                          triangulation = fg->triangulation;
+                                    *triangulation = fg->triangulation;
         int                          nsubs;
         dealii::types::subdomain_id *subdomain_ids;
         std::map<unsigned int, std::set<dealii::types::subdomain_id>>
-          vertices_with_ghost_neighbors = fg->vertices_with_ghost_neighbors;
+           *vertices_with_ghost_neighbors = fg->vertices_with_ghost_neighbors;
         int limit                         = (dim == 2) ? 2 : 4;
 
         subids->elem_count = 0;
@@ -343,7 +343,7 @@ namespace internal
                                              types<2>::quadrant        c[]) =
       p4est_quadrant_childrenv;
 
-    int (&functions<2>::quadrant_overlaps_tree)(types<2>::tree *          tree,
+    int (&functions<2>::quadrant_overlaps_tree)(types<2>::tree           *tree,
                                                 const types<2>::quadrant *q) =
       p4est_quadrant_overlaps_tree;
 
@@ -368,7 +368,7 @@ namespace internal
                                               int                       level) =
       p4est_quadrant_ancestor_id;
 
-    int (&functions<2>::comm_find_owner)(types<2>::forest *        p4est,
+    int (&functions<2>::comm_find_owner)(types<2>::forest         *p4est,
                                          const types<2>::locidx    which_tree,
                                          const types<2>::quadrant *q,
                                          const int                 guess) =
@@ -384,14 +384,14 @@ namespace internal
       types<2>::topidx        num_vertices,
       types<2>::topidx        num_trees,
       types<2>::topidx        num_corners,
-      const double *          vertices,
+      const double           *vertices,
       const types<2>::topidx *ttv,
       const types<2>::topidx *ttt,
-      const int8_t *          ttf,
+      const int8_t           *ttf,
       const types<2>::topidx *ttc,
       const types<2>::topidx *coff,
       const types<2>::topidx *ctt,
-      const int8_t *          ctc) = p4est_connectivity_new_copy;
+      const int8_t           *ctc) = p4est_connectivity_new_copy;
 
     void (&functions<2>::connectivity_join_faces)(types<2>::connectivity *conn,
                                                   types<2>::topidx tree_left,
@@ -412,7 +412,7 @@ namespace internal
       int                     fill_uniform,
       std::size_t             data_size,
       p4est_init_t            init_fn,
-      void *                  user_pointer) = p4est_new_ext;
+      void                   *user_pointer) = p4est_new_ext;
 
     types<2>::forest *(&functions<2>::copy_forest)(types<2>::forest *input,
                                                    int copy_data) = p4est_copy;
@@ -429,7 +429,7 @@ namespace internal
                                   p4est_coarsen_t   coarsen_fn,
                                   p4est_init_t      init_fn) = p4est_coarsen;
 
-    void (&functions<2>::balance)(types<2>::forest *     p4est,
+    void (&functions<2>::balance)(types<2>::forest      *p4est,
                                   types<2>::balance_type btype,
                                   p4est_init_t init_fn) = p4est_balance;
 
@@ -438,29 +438,29 @@ namespace internal
                                                 p4est_weight_t weight_fn) =
       p4est_partition_ext;
 
-    void (&functions<2>::save)(const char *      filename,
+    void (&functions<2>::save)(const char       *filename,
                                types<2>::forest *p4est,
                                int               save_data) = p4est_save;
 
     types<2>::forest *(&functions<2>::load_ext)(
-      const char *             filename,
+      const char              *filename,
       MPI_Comm                 mpicomm,
       std::size_t              data_size,
       int                      load_data,
       int                      autopartition,
       int                      broadcasthead,
-      void *                   user_pointer,
+      void                    *user_pointer,
       types<2>::connectivity **p4est) = p4est_load_ext;
 
     int (&functions<2>::connectivity_save)(
-      const char *            filename,
+      const char             *filename,
       types<2>::connectivity *connectivity) = p4est_connectivity_save;
 
     int (&functions<2>::connectivity_is_valid)(
       types<2>::connectivity *connectivity) = p4est_connectivity_is_valid;
 
     types<2>::connectivity *(&functions<2>::connectivity_load)(
-      const char filename,
+      const char  *filename,
       std::size_t *length) = p4est_connectivity_load;
 
     unsigned int (&functions<2>::checksum)(types<2>::forest *p4est) =
@@ -471,7 +471,7 @@ namespace internal
                                          const char *baseName) =
       p4est_vtk_write_file;
 
-    types<2>::ghost *(&functions<2>::ghost_new)(types<2>::forest *     p4est,
+    types<2>::ghost *(&functions<2>::ghost_new)(types<2>::forest      *p4est,
                                                 types<2>::balance_type btype) =
       p4est_ghost_new;
 
@@ -495,8 +495,8 @@ namespace internal
                                          const types<2>::gloidx *src_gfq,
                                          MPI_Comm                mpicomm,
                                          int                     tag,
-                                         void *                  dest_data,
-                                         const void *            src_data,
+                                         void                   *dest_data,
+                                         const void             *src_data,
                                          std::size_t             data_size) =
       p4est_transfer_fixed;
 
@@ -505,8 +505,8 @@ namespace internal
       const types<2>::gloidx *src_gfq,
       MPI_Comm                mpicomm,
       int                     tag,
-      void *                  dest_data,
-      const void *            src_data,
+      void                   *dest_data,
+      const void             *src_data,
       std::size_t             data_size) = p4est_transfer_fixed_begin;
 
     void (&functions<2>::transfer_fixed_end)(types<2>::transfer_context *tc) =
@@ -516,10 +516,10 @@ namespace internal
                                           const types<2>::gloidx *src_gfq,
                                           MPI_Comm                mpicomm,
                                           int                     tag,
-                                          void *                  dest_data,
-                                          const int *             dest_sizes,
-                                          const void *            src_data,
-                                          const int *             src_sizes) =
+                                          void                   *dest_data,
+                                          const int              *dest_sizes,
+                                          const void             *src_data,
+                                          const int              *src_sizes) =
       p4est_transfer_custom;
 
     types<2>::transfer_context *(&functions<2>::transfer_custom_begin)(
@@ -527,25 +527,25 @@ namespace internal
       const types<2>::gloidx *src_gfq,
       MPI_Comm                mpicomm,
       int                     tag,
-      void *                  dest_data,
-      const int *             dest_sizes,
-      const void *            src_data,
-      const int *             src_sizes) = p4est_transfer_custom_begin;
+      void                   *dest_data,
+      const int              *dest_sizes,
+      const void             *src_data,
+      const int              *src_sizes) = p4est_transfer_custom_begin;
 
     void (&functions<2>::transfer_custom_end)(types<2>::transfer_context *tc) =
       p4est_transfer_custom_end;
 
 #  ifdef P4EST_SEARCH_LOCAL
     void (&functions<2>::search_partition)(
-      types<2>::forest *                  p4est,
+      types<2>::forest                   *p4est,
       int                                 call_post,
       types<2>::search_partition_callback quadrant_fn,
       types<2>::search_partition_callback point_fn,
-      sc_array_t *                        points) = p4est_search_partition;
+      sc_array_t                         *points) = p4est_search_partition;
 #  endif
 
     void (&functions<2>::quadrant_coord_to_vertex)(
-      types<2>::connectivity connectivity,
+      types<2>::connectivity  *connectivity,
       types<2>::topidx         treeid,
       types<2>::quadrant_coord x,
       types<2>::quadrant_coord y,
@@ -558,7 +558,7 @@ namespace internal
                                              types<3>::quadrant        c[]) =
       p8est_quadrant_childrenv;
 
-    int (&functions<3>::quadrant_overlaps_tree)(types<3>::tree *          tree,
+    int (&functions<3>::quadrant_overlaps_tree)(types<3>::tree           *tree,
                                                 const types<3>::quadrant *q) =
       p8est_quadrant_overlaps_tree;
 
@@ -583,7 +583,7 @@ namespace internal
                                               int                       level) =
       p8est_quadrant_ancestor_id;
 
-    int (&functions<3>::comm_find_owner)(types<3>::forest *        p4est,
+    int (&functions<3>::comm_find_owner)(types<3>::forest         *p4est,
                                          const types<3>::locidx    which_tree,
                                          const types<3>::quadrant *q,
                                          const int                 guess) =
@@ -602,18 +602,18 @@ namespace internal
       types<3>::topidx        num_trees,
       types<3>::topidx        num_edges,
       types<3>::topidx        num_corners,
-      const double *          vertices,
+      const double           *vertices,
       const types<3>::topidx *ttv,
       const types<3>::topidx *ttt,
-      const int8_t *          ttf,
+      const int8_t           *ttf,
       const types<3>::topidx *tte,
       const types<3>::topidx *eoff,
       const types<3>::topidx *ett,
-      const int8_t *          ete,
+      const int8_t           *ete,
       const types<3>::topidx *ttc,
       const types<3>::topidx *coff,
       const types<3>::topidx *ctt,
-      const int8_t *          ctc) = p8est_connectivity_new_copy;
+      const int8_t           *ctc) = p8est_connectivity_new_copy;
 
     void (&functions<3>::connectivity_destroy)(
       p8est_connectivity_t *connectivity) = p8est_connectivity_destroy;
@@ -634,7 +634,7 @@ namespace internal
       int                     fill_uniform,
       std::size_t             data_size,
       p8est_init_t            init_fn,
-      void *                  user_pointer) = p8est_new_ext;
+      void                   *user_pointer) = p8est_new_ext;
 
     types<3>::forest *(&functions<3>::copy_forest)(types<3>::forest *input,
                                                    int copy_data) = p8est_copy;
@@ -651,7 +651,7 @@ namespace internal
                                   p8est_coarsen_t   coarsen_fn,
                                   p8est_init_t      init_fn) = p8est_coarsen;
 
-    void (&functions<3>::balance)(types<3>::forest *     p8est,
+    void (&functions<3>::balance)(types<3>::forest      *p8est,
                                   types<3>::balance_type btype,
                                   p8est_init_t init_fn) = p8est_balance;
 
@@ -660,29 +660,29 @@ namespace internal
                                                 p8est_weight_t weight_fn) =
       p8est_partition_ext;
 
-    void (&functions<3>::save)(const char *      filename,
+    void (&functions<3>::save)(const char       *filename,
                                types<3>::forest *p4est,
                                int               save_data) = p8est_save;
 
     types<3>::forest *(&functions<3>::load_ext)(
-      const char *             filename,
+      const char              *filename,
       MPI_Comm                 mpicomm,
       std::size_t              data_size,
       int                      load_data,
       int                      autopartition,
       int                      broadcasthead,
-      void *                   user_pointer,
+      void                    *user_pointer,
       types<3>::connectivity **p4est) = p8est_load_ext;
 
     int (&functions<3>::connectivity_save)(
-      const char *            filename,
+      const char             *filename,
       types<3>::connectivity *connectivity) = p8est_connectivity_save;
 
     int (&functions<3>::connectivity_is_valid)(
       types<3>::connectivity *connectivity) = p8est_connectivity_is_valid;
 
     types<3>::connectivity *(&functions<3>::connectivity_load)(
-      const char filename,
+      const char  *filename,
       std::size_t *length) = p8est_connectivity_load;
 
     unsigned int (&functions<3>::checksum)(types<3>::forest *p8est) =
@@ -693,7 +693,7 @@ namespace internal
                                          const char *baseName) =
       p8est_vtk_write_file;
 
-    types<3>::ghost *(&functions<3>::ghost_new)(types<3>::forest *     p4est,
+    types<3>::ghost *(&functions<3>::ghost_new)(types<3>::forest      *p4est,
                                                 types<3>::balance_type btype) =
       p8est_ghost_new;
 
@@ -717,8 +717,8 @@ namespace internal
                                          const types<3>::gloidx *src_gfq,
                                          MPI_Comm                mpicomm,
                                          int                     tag,
-                                         void *                  dest_data,
-                                         const void *            src_data,
+                                         void                   *dest_data,
+                                         const void             *src_data,
                                          std::size_t             data_size) =
       p8est_transfer_fixed;
 
@@ -727,8 +727,8 @@ namespace internal
       const types<3>::gloidx *src_gfq,
       MPI_Comm                mpicomm,
       int                     tag,
-      void *                  dest_data,
-      const void *            src_data,
+      void                   *dest_data,
+      const void             *src_data,
       std::size_t             data_size) = p8est_transfer_fixed_begin;
 
     void (&functions<3>::transfer_fixed_end)(types<3>::transfer_context *tc) =
@@ -738,10 +738,10 @@ namespace internal
                                           const types<3>::gloidx *src_gfq,
                                           MPI_Comm                mpicomm,
                                           int                     tag,
-                                          void *                  dest_data,
-                                          const int *             dest_sizes,
-                                          const void *            src_data,
-                                          const int *             src_sizes) =
+                                          void                   *dest_data,
+                                          const int              *dest_sizes,
+                                          const void             *src_data,
+                                          const int              *src_sizes) =
       p8est_transfer_custom;
 
     types<3>::transfer_context *(&functions<3>::transfer_custom_begin)(
@@ -749,25 +749,25 @@ namespace internal
       const types<3>::gloidx *src_gfq,
       MPI_Comm                mpicomm,
       int                     tag,
-      void *                  dest_data,
-      const int *             dest_sizes,
-      const void *            src_data,
-      const int *             src_sizes) = p8est_transfer_custom_begin;
+      void                   *dest_data,
+      const int              *dest_sizes,
+      const void             *src_data,
+      const int              *src_sizes) = p8est_transfer_custom_begin;
 
     void (&functions<3>::transfer_custom_end)(types<3>::transfer_context *tc) =
       p8est_transfer_custom_end;
 
 #  ifdef P4EST_SEARCH_LOCAL
     void (&functions<3>::search_partition)(
-      types<3>::forest *                  p4est,
+      types<3>::forest                   *p4est,
       int                                 call_post,
       types<3>::search_partition_callback quadrant_fn,
       types<3>::search_partition_callback point_fn,
-      sc_array_t *                        points) = p8est_search_partition;
+      sc_array_t                         *points) = p8est_search_partition;
 #  endif
 
     void (&functions<3>::quadrant_coord_to_vertex)(
-      types<3>::connectivity connectivity,
+      types<3>::connectivity  *connectivity,
       types<3>::topidx         treeid,
       types<3>::quadrant_coord x,
       types<3>::quadrant_coord y,
index c5e5f074ff915d49635f38965e1b9aeeb240327f..2cc1c893ec614dbcd8da585ec4f1b38e9e1c5d03 100644 (file)
@@ -34,8 +34,8 @@ namespace RepartitioningPolicyTools
     void
     add_indices_recursively_for_first_child_policy(
       const TriaIterator<CellAccessor<dim, spacedim>> &cell,
-      const internal::CellIDTranslator<dim> &          cell_id_translator,
-      IndexSet &                                       is_fine)
+      const internal::CellIDTranslator<dim>           &cell_id_translator,
+      IndexSet                                        &is_fine)
     {
       is_fine.add_index(cell_id_translator.translate(cell));
 
@@ -85,13 +85,14 @@ namespace RepartitioningPolicyTools
 
     unsigned int offset = 0;
 
-    const int ierr = MPI_Exscan(&process_has_active_locally_owned_cells,
-                                &offset,
-                                1,
-                                Utilities::MPI::mpi_type_id_for_type<decltype(
-                                  process_has_active_locally_owned_cells)>,
-                                MPI_SUM,
-                                comm);
+    const int ierr =
+      MPI_Exscan(&process_has_active_locally_owned_cells,
+                 &offset,
+                 1,
+                 Utilities::MPI::mpi_type_id_for_type<
+                   decltype(process_has_active_locally_owned_cells)>,
+                 MPI_SUM,
+                 comm);
     AssertThrowMPI(ierr);
 
     LinearAlgebra::distributed::Vector<double> partition(
index 045683fe1a39b7efacbf241d9bc0fc5d7f79654a..b8d2db266fa5e8049c37d9fc8fe7ceb52f195c4e 100644 (file)
@@ -429,8 +429,8 @@ namespace parallel
     DEAL_II_CXX20_REQUIRES((concepts::is_valid_dim_spacedim<dim, spacedim>))
     void Triangulation<dim, spacedim>::create_triangulation(
       const std::vector<Point<spacedim>> &vertices,
-      const std::vector<CellData<dim>> &  cells,
-      const SubCellData &                 subcelldata)
+      const std::vector<CellData<dim>>   &cells,
+      const SubCellData                  &subcelldata)
     {
       try
         {
index f389a711dc93dcd87b3aac79c89c9d89c08ca79e..a5a645d12514462f41f7eaffdffcf64cc018c7f2 100644 (file)
@@ -380,9 +380,9 @@ namespace parallel
       const typename Triangulation<dim, spacedim>::cell_iterator &cell_,
       const CellStatus                                            status,
       const boost::iterator_range<std::vector<char>::const_iterator>
-        &                        data_range,
+                                &data_range,
       std::vector<VectorType *> &all_out,
-      VectorType &               valence)
+      VectorType                &valence)
     {
       typename DoFHandler<dim, spacedim>::cell_iterator cell(*cell_,
                                                              dof_handler);
index 1aea431acc09324c41aeeb13b5c8815d6674bda8..adc93a90c692e5264b37380edd4771de1756e15a 100644 (file)
@@ -45,10 +45,10 @@ namespace
   void
   get_vertex_to_cell_mappings(
     const Triangulation<dim, spacedim> &triangulation,
-    std::vector<unsigned int> &         vertex_touch_count,
+    std::vector<unsigned int>          &vertex_touch_count,
     std::vector<std::list<
       std::pair<typename Triangulation<dim, spacedim>::active_cell_iterator,
-                unsigned int>>> &       vertex_to_cell)
+                unsigned int>>>        &vertex_to_cell)
   {
     vertex_touch_count.resize(triangulation.n_vertices());
     vertex_to_cell.resize(triangulation.n_vertices());
@@ -67,10 +67,10 @@ namespace
   void
   get_edge_to_cell_mappings(
     const Triangulation<dim, spacedim> &triangulation,
-    std::vector<unsigned int> &         edge_touch_count,
+    std::vector<unsigned int>          &edge_touch_count,
     std::vector<std::list<
       std::pair<typename Triangulation<dim, spacedim>::active_cell_iterator,
-                unsigned int>>> &       edge_to_cell)
+                unsigned int>>>        &edge_to_cell)
   {
     Assert(triangulation.n_levels() == 1, ExcInternalError());
 
@@ -95,12 +95,12 @@ namespace
   void
   set_vertex_and_cell_info(
     const Triangulation<dim, spacedim> &triangulation,
-    const std::vector<unsigned int> &   vertex_touch_count,
+    const std::vector<unsigned int>    &vertex_touch_count,
     const std::vector<std::list<
       std::pair<typename Triangulation<dim, spacedim>::active_cell_iterator,
-                unsigned int>>> &       vertex_to_cell,
+                unsigned int>>>        &vertex_to_cell,
     const std::vector<types::global_dof_index>
-      &        coarse_cell_to_p4est_tree_permutation,
+              &coarse_cell_to_p4est_tree_permutation,
     const bool set_vertex_info,
     typename internal::p4est::types<dim>::connectivity *connectivity)
   {
@@ -329,13 +329,13 @@ namespace
   template <int dim, int spacedim>
   void
   determine_level_subdomain_id_recursively(
-    const typename internal::p4est::types<dim>::tree &          tree,
-    const typename internal::p4est::types<dim>::locidx &        tree_index,
+    const typename internal::p4est::types<dim>::tree           &tree,
+    const typename internal::p4est::types<dim>::locidx         &tree_index,
     const typename Triangulation<dim, spacedim>::cell_iterator &dealii_cell,
-    const typename internal::p4est::types<dim>::quadrant &      p4est_cell,
-    typename internal::p4est::types<dim>::forest &              forest,
+    const typename internal::p4est::types<dim>::quadrant       &p4est_cell,
+    typename internal::p4est::types<dim>::forest               &forest,
     const types::subdomain_id                                   my_subdomain,
-    const std::vector<std::vector<bool>> &                      marked_vertices)
+    const std::vector<std::vector<bool>>                       &marked_vertices)
   {
     if (dealii_cell->level_subdomain_id() == numbers::artificial_subdomain_id)
       {
@@ -445,10 +445,10 @@ namespace
   template <int dim, int spacedim>
   void
   match_tree_recursively(
-    const typename internal::p4est::types<dim>::tree &          tree,
+    const typename internal::p4est::types<dim>::tree           &tree,
     const typename Triangulation<dim, spacedim>::cell_iterator &dealii_cell,
-    const typename internal::p4est::types<dim>::quadrant &      p4est_cell,
-    const typename internal::p4est::types<dim>::forest &        forest,
+    const typename internal::p4est::types<dim>::quadrant       &p4est_cell,
+    const typename internal::p4est::types<dim>::forest         &forest,
     const types::subdomain_id                                   my_subdomain)
   {
     // check if this cell exists in the local p4est cell
@@ -528,7 +528,7 @@ namespace
   template <int dim, int spacedim>
   void
   match_quadrant(
-    const dealii::Triangulation<dim, spacedim> *          tria,
+    const dealii::Triangulation<dim, spacedim>           *tria,
     unsigned int                                          dealii_index,
     const typename internal::p4est::types<dim>::quadrant &ghost_quadrant,
     types::subdomain_id                                   ghost_owner)
@@ -612,12 +612,12 @@ namespace
      * does not belong to a quadrant.
      */
     static int
-    local_point_fn(typename internal::p4est::types<dim>::forest *  forest,
+    local_point_fn(typename internal::p4est::types<dim>::forest   *forest,
                    typename internal::p4est::types<dim>::topidx    which_tree,
                    typename internal::p4est::types<dim>::quadrant *quadrant,
                    int                                             rank_begin,
                    int                                             rank_end,
-                   void *                                          point);
+                   void                                           *point);
 
   private:
     /**
@@ -631,7 +631,7 @@ namespace
 
       void
       set_cell_vertices(
-        typename internal::p4est::types<dim>::forest *  forest,
+        typename internal::p4est::types<dim>::forest   *forest,
         typename internal::p4est::types<dim>::topidx    which_tree,
         typename internal::p4est::types<dim>::quadrant *quadrant,
         const typename internal::p4est::types<dim>::quadrant_coord
@@ -671,7 +671,7 @@ namespace
   template <int dim>
   int
   PartitionSearch<dim>::local_quadrant_fn(
-    typename internal::p4est::types<dim>::forest *  forest,
+    typename internal::p4est::types<dim>::forest   *forest,
     typename internal::p4est::types<dim>::topidx    which_tree,
     typename internal::p4est::types<dim>::quadrant *quadrant,
     int /* rank_begin */,
@@ -912,7 +912,7 @@ namespace
   template <>
   void
   PartitionSearch<2>::QuadrantData::set_cell_vertices(
-    typename internal::p4est::types<2>::forest *  forest,
+    typename internal::p4est::types<2>::forest   *forest,
     typename internal::p4est::types<2>::topidx    which_tree,
     typename internal::p4est::types<2>::quadrant *quadrant,
     const typename internal::p4est::types<2>::quadrant_coord
@@ -996,7 +996,7 @@ namespace
   template <>
   void
   PartitionSearch<3>::QuadrantData::set_cell_vertices(
-    typename internal::p4est::types<3>::forest *  forest,
+    typename internal::p4est::types<3>::forest   *forest,
     typename internal::p4est::types<3>::topidx    which_tree,
     typename internal::p4est::types<3>::quadrant *quadrant,
     const typename internal::p4est::types<3>::quadrant_coord
@@ -1169,7 +1169,7 @@ namespace
      */
     static int
     refine_callback(
-      typename internal::p4est::types<dim>::forest *  forest,
+      typename internal::p4est::types<dim>::forest   *forest,
       typename internal::p4est::types<dim>::topidx    coarse_cell_index,
       typename internal::p4est::types<dim>::quadrant *quadrant);
 
@@ -1179,7 +1179,7 @@ namespace
      */
     static int
     coarsen_callback(
-      typename internal::p4est::types<dim>::forest *  forest,
+      typename internal::p4est::types<dim>::forest   *forest,
       typename internal::p4est::types<dim>::topidx    coarse_cell_index,
       typename internal::p4est::types<dim>::quadrant *children[]);
 
@@ -1198,7 +1198,7 @@ namespace
     void
     build_lists(
       const typename Triangulation<dim, spacedim>::cell_iterator &cell,
-      const typename internal::p4est::types<dim>::quadrant &      p4est_cell,
+      const typename internal::p4est::types<dim>::quadrant       &p4est_cell,
       const types::subdomain_id                                   myid);
   };
 
@@ -1218,7 +1218,7 @@ namespace
   RefineAndCoarsenList<dim, spacedim>::RefineAndCoarsenList(
     const Triangulation<dim, spacedim> &triangulation,
     const std::vector<types::global_dof_index>
-      &                       p4est_tree_to_coarse_cell_permutation,
+                             &p4est_tree_to_coarse_cell_permutation,
     const types::subdomain_id my_subdomain)
   {
     // count how many flags are set and allocate that much memory
@@ -1284,7 +1284,7 @@ namespace
   void
   RefineAndCoarsenList<dim, spacedim>::build_lists(
     const typename Triangulation<dim, spacedim>::cell_iterator &cell,
-    const typename internal::p4est::types<dim>::quadrant &      p4est_cell,
+    const typename internal::p4est::types<dim>::quadrant       &p4est_cell,
     const types::subdomain_id                                   my_subdomain)
   {
     if (cell->is_active())
@@ -1329,7 +1329,7 @@ namespace
   template <int dim, int spacedim>
   int
   RefineAndCoarsenList<dim, spacedim>::refine_callback(
-    typename internal::p4est::types<dim>::forest *  forest,
+    typename internal::p4est::types<dim>::forest   *forest,
     typename internal::p4est::types<dim>::topidx    coarse_cell_index,
     typename internal::p4est::types<dim>::quadrant *quadrant)
   {
@@ -1379,7 +1379,7 @@ namespace
   template <int dim, int spacedim>
   int
   RefineAndCoarsenList<dim, spacedim>::coarsen_callback(
-    typename internal::p4est::types<dim>::forest *  forest,
+    typename internal::p4est::types<dim>::forest   *forest,
     typename internal::p4est::types<dim>::topidx    coarse_cell_index,
     typename internal::p4est::types<dim>::quadrant *children[])
   {
@@ -1536,8 +1536,8 @@ namespace
   template <int dim, int spacedim>
   inline void
   add_single_cell_relation(
-    std::vector<cell_relation_t<dim, spacedim>> &               cell_rel,
-    const typename dealii::internal::p4est::types<dim>::tree &  tree,
+    std::vector<cell_relation_t<dim, spacedim>>                &cell_rel,
+    const typename dealii::internal::p4est::types<dim>::tree   &tree,
     const unsigned int                                          idx,
     const typename Triangulation<dim, spacedim>::cell_iterator &dealii_cell,
     const CellStatus                                            status)
@@ -1565,9 +1565,9 @@ namespace
   template <int dim, int spacedim>
   void
   update_cell_relations_recursively(
-    std::vector<cell_relation_t<dim, spacedim>> &                 cell_rel,
-    const typename dealii::internal::p4est::types<dim>::tree &    tree,
-    const typename Triangulation<dim, spacedim>::cell_iterator &  dealii_cell,
+    std::vector<cell_relation_t<dim, spacedim>>                  &cell_rel,
+    const typename dealii::internal::p4est::types<dim>::tree     &tree,
+    const typename Triangulation<dim, spacedim>::cell_iterator   &dealii_cell,
     const typename dealii::internal::p4est::types<dim>::quadrant &p4est_cell)
   {
     // find index of p4est_cell in the quadrants array of the corresponding tree
@@ -1746,8 +1746,8 @@ namespace parallel
     DEAL_II_CXX20_REQUIRES((concepts::is_valid_dim_spacedim<dim, spacedim>))
     void Triangulation<dim, spacedim>::create_triangulation(
       const std::vector<Point<spacedim>> &vertices,
-      const std::vector<CellData<dim>> &  cells,
-      const SubCellData &                 subcelldata)
+      const std::vector<CellData<dim>>   &cells,
+      const SubCellData                  &subcelldata)
     {
       try
         {
@@ -2262,7 +2262,8 @@ namespace parallel
 #  ifndef DOXYGEN
 
     template <>
-    void Triangulation<2, 2>::copy_new_triangulation_to_p4est(
+    void
+    Triangulation<2, 2>::copy_new_triangulation_to_p4est(
       std::integral_constant<int, 2>)
     {
       const unsigned int dim = 2, spacedim = 2;
@@ -2322,7 +2323,8 @@ namespace parallel
     // TODO: This is a verbatim copy of the 2,2 case. However, we can't just
     // specialize the dim template argument, but let spacedim open
     template <>
-    void Triangulation<2, 3>::copy_new_triangulation_to_p4est(
+    void
+    Triangulation<2, 3>::copy_new_triangulation_to_p4est(
       std::integral_constant<int, 2>)
     {
       const unsigned int dim = 2, spacedim = 3;
@@ -2380,7 +2382,8 @@ namespace parallel
 
 
     template <>
-    void Triangulation<3, 3>::copy_new_triangulation_to_p4est(
+    void
+    Triangulation<3, 3>::copy_new_triangulation_to_p4est(
       std::integral_constant<int, 3>)
     {
       const int dim = 3, spacedim = 3;
@@ -3654,9 +3657,9 @@ namespace parallel
       for (unsigned int repetition = 0; repetition < dim; ++repetition)
         for (const auto &it : this->get_periodic_face_map())
           {
-            const cell_iterator cell_1           = it.first.first;
+            const cell_iterator  &cell_1           = it.first.first;
             const unsigned int    face_no_1        = it.first.second;
-            const cell_iterator cell_2           = it.second.first.first;
+            const cell_iterator  &cell_2           = it.second.first.first;
             const unsigned int    face_no_2        = it.second.first.second;
             const std::bitset<3> &face_orientation = it.second.second;
 
index 841264442a2dc1798dcd7e1bd4377b11c56c2299..ab3fe03549c4f63275482f43719f791e566e535e 100644 (file)
@@ -64,7 +64,7 @@ BlockInfo::initialize_local(const DoFHandler<dim, spacedim> &dof)
   Assert(dof.has_hp_capabilities() == false,
          (typename DoFHandler<dim, spacedim>::ExcNotImplementedWithHP()));
 
-  const FiniteElement<dim, spacedim> fe = dof.get_fe();
+  const FiniteElement<dim, spacedim>  &fe = dof.get_fe();
   std::vector<types::global_dof_index> sizes(fe.n_blocks());
 
   base_elements.resize(fe.n_blocks());
index 7cba5ffc1affd234337511f18b850d6d08d27b7c..acb7979cccc6de4342ef2b24dc5519d9a47ccf68 100644 (file)
@@ -44,7 +44,7 @@ template <typename Number>
 void
 DoFCellAccessor<dim, spacedim, lda>::get_interpolated_dof_values(
   const ReadVector<Number> &values,
-  Vector<Number> &          interpolated_values,
+  Vector<Number>           &interpolated_values,
   const types::fe_index     fe_index_) const
 {
   const types::fe_index fe_index =
index 39d6d13997ddbc2f8498b5fff7f81fb9b4e70112..9592e130ac638b542e1874a3c2f20b924e8c381d 100644 (file)
@@ -129,8 +129,8 @@ namespace internal
             typename number>
   void
   set_dof_values(const DoFCellAccessor<dim, spacedim, lda> &cell,
-                 const Vector<number> &                     local_values,
-                 OutputVector &                             values,
+                 const Vector<number>                      &local_values,
+                 OutputVector                              &values,
                  const bool                                 perform_check)
   {
     (void)perform_check;
@@ -173,13 +173,13 @@ namespace internal
             typename number>
   void
   process_by_interpolation(
-    const DoFCellAccessor<dim, spacedim, lda> &      cell,
-    const Vector<number> &                           local_values,
-    OutputVector &                                   values,
+    const DoFCellAccessor<dim, spacedim, lda>       &cell,
+    const Vector<number>                            &local_values,
+    OutputVector                                    &values,
     const types::fe_index                            fe_index_,
     const std::function<void(const DoFCellAccessor<dim, spacedim, lda> &cell,
                              const Vector<number> &local_values,
-                             OutputVector &        values)> &processor)
+                             OutputVector         &values)> &processor)
   {
     const types::fe_index fe_index =
       (cell.get_dof_handler().has_hp_capabilities() == false &&
@@ -267,7 +267,7 @@ template <class OutputVector, typename number>
 void
 DoFCellAccessor<dim, spacedim, lda>::set_dof_values_by_interpolation(
   const Vector<number> &local_values,
-  OutputVector &        values,
+  OutputVector         &values,
   const types::fe_index fe_index_,
   const bool            perform_check) const
 {
@@ -277,8 +277,8 @@ DoFCellAccessor<dim, spacedim, lda>::set_dof_values_by_interpolation(
     values,
     fe_index_,
     [perform_check](const DoFCellAccessor<dim, spacedim, lda> &cell,
-                    const Vector<number> &                     local_values,
-                    OutputVector &                             values) {
+                    const Vector<number>                      &local_values,
+                    OutputVector                              &values) {
       internal::set_dof_values(cell, local_values, values, perform_check);
     });
 }
@@ -290,7 +290,7 @@ void
 DoFCellAccessor<dim, spacedim, lda>::
   distribute_local_to_global_by_interpolation(
     const Vector<number> &local_values,
-    OutputVector &        values,
+    OutputVector         &values,
     const types::fe_index fe_index_) const
 {
   internal::process_by_interpolation<dim, spacedim, lda, OutputVector, number>(
@@ -299,8 +299,8 @@ DoFCellAccessor<dim, spacedim, lda>::
     values,
     fe_index_,
     [](const DoFCellAccessor<dim, spacedim, lda> &cell,
-       const Vector<number> &                     local_values,
-       OutputVector &                             values) {
+       const Vector<number>                      &local_values,
+       OutputVector                              &values) {
       std::vector<types::global_dof_index> dof_indices(
         cell.get_fe().n_dofs_per_cell());
       cell.get_dof_indices(dof_indices);
index 168a7ae6844b0aaaa03f9f3a9e32e4e07ca01741..4118e356df024fe732705e421b3986c23ad954f6 100644 (file)
@@ -310,7 +310,7 @@ namespace internal
       reserve_subentities(DoFHandler<dim, spacedim> &dof_handler,
                           const unsigned int         structdim,
                           const unsigned int         n_raw_entities,
-                          const T &                  cell_process)
+                          const T                   &cell_process)
       {
         if (dof_handler.tria->n_cells() == 0)
           return;
@@ -1338,7 +1338,7 @@ namespace internal
               auto unpack =
                 [&dof_handler](
                   const typename DoFHandler<dim, spacedim>::active_cell_iterator
-                    &                   cell,
+                                       &cell,
                   const types::fe_index active_fe_index) -> void {
                 // we would like to say
                 //   cell->set_active_fe_index(active_fe_index);
@@ -1428,7 +1428,7 @@ namespace internal
               auto unpack =
                 [&dof_handler](
                   const typename DoFHandler<dim, spacedim>::active_cell_iterator
-                    &                   cell,
+                                       &cell,
                   const types::fe_index future_fe_index) -> void {
                 dof_handler
                   .hp_cell_future_fe_indices[cell->level()][cell->index()] =
@@ -1604,7 +1604,7 @@ namespace internal
         static types::fe_index
         determine_fe_from_children(
           const typename Triangulation<dim, spacedim>::cell_iterator &,
-          const std::vector<types::fe_index> &           children_fe_indices,
+          const std::vector<types::fe_index>            &children_fe_indices,
           const dealii::hp::FECollection<dim, spacedim> &fe_collection)
         {
           Assert(!children_fe_indices.empty(), ExcInternalError());
index 6affd59f2d448575ea8fe038a9b2d36cc01a3cc3..768d0cddbab6c472c052329114f52859bbbc207d 100644 (file)
@@ -82,7 +82,7 @@ namespace internal
           const dealii::hp::FECollection<dim, spacedim> &fes,
           const types::fe_index                          fe_index_1,
           const types::fe_index                          fe_index_2,
-          std::unique_ptr<DoFIdentities> &               identities,
+          std::unique_ptr<DoFIdentities>                &identities,
           const unsigned int face_no = numbers::invalid_unsigned_int)
         {
           Assert(structdim == 2 || face_no == numbers::invalid_unsigned_int,
@@ -938,7 +938,7 @@ namespace internal
           std::vector<types::global_dof_index> &new_dof_indices,
           const std::vector<
             std::map<types::global_dof_index, types::global_dof_index>>
-            &                           all_constrained_indices,
+                                       &all_constrained_indices,
           const types::global_dof_index start_dof_index)
         {
           // first preset the new DoF indices that are identities
@@ -1712,7 +1712,7 @@ namespace internal
         invalidate_dof_indices_on_weaker_ghost_cells_for_renumbering(
           std::vector<types::global_dof_index> &renumbering,
           const types::subdomain_id             subdomain_id,
-          const DoFHandler<dim, spacedim> &     dof_handler)
+          const DoFHandler<dim, spacedim>      &dof_handler)
         {
           std::vector<types::global_dof_index> local_dof_indices;
 
@@ -1808,8 +1808,8 @@ namespace internal
         static void
         renumber_face_dofs(
           const std::vector<types::global_dof_index> &new_numbers,
-          const IndexSet &                            indices_we_care_about,
-          DoFHandler<dim, spacedim> &                 dof_handler)
+          const IndexSet                             &indices_we_care_about,
+          DoFHandler<dim, spacedim>                  &dof_handler)
         {
           for (unsigned int d = 1; d < dim; ++d)
             for (auto &i : dof_handler.object_dof_indices[0][d])
@@ -1825,8 +1825,8 @@ namespace internal
         static void
         renumber_vertex_dofs(
           const std::vector<types::global_dof_index> &new_numbers,
-          const IndexSet &                            indices_we_care_about,
-          DoFHandler<dim, spacedim> &                 dof_handler,
+          const IndexSet                             &indices_we_care_about,
+          DoFHandler<dim, spacedim>                  &dof_handler,
           const bool                                  check_validity)
         {
           if (dof_handler.hp_capability_enabled == false)
@@ -1982,8 +1982,8 @@ namespace internal
         static void
         renumber_cell_dofs(
           const std::vector<types::global_dof_index> &new_numbers,
-          const IndexSet &                            indices_we_care_about,
-          DoFHandler<dim, spacedim> &                 dof_handler)
+          const IndexSet                             &indices_we_care_about,
+          DoFHandler<dim, spacedim>                  &dof_handler)
         {
           if (dof_handler.hp_capability_enabled == false)
             {
@@ -2068,8 +2068,8 @@ namespace internal
         static void
         renumber_face_dofs(
           const std::vector<types::global_dof_index> &new_numbers,
-          const IndexSet &                            indices_we_care_about,
-          DoFHandler<2, spacedim> &                   dof_handler)
+          const IndexSet                             &indices_we_care_about,
+          DoFHandler<2, spacedim>                    &dof_handler)
         {
           const unsigned int dim = 2;
 
@@ -2163,8 +2163,8 @@ namespace internal
         static void
         renumber_face_dofs(
           const std::vector<types::global_dof_index> &new_numbers,
-          const IndexSet &                            indices_we_care_about,
-          DoFHandler<3, spacedim> &                   dof_handler)
+          const IndexSet                             &indices_we_care_about,
+          DoFHandler<3, spacedim>                    &dof_handler)
         {
           const unsigned int dim = 3;
 
@@ -2334,7 +2334,7 @@ namespace internal
         template <int dim, int space_dim>
         static void
         renumber_dofs(const std::vector<types::global_dof_index> &new_numbers,
-                      const IndexSet &                  indices_we_care_about,
+                      const IndexSet                   &indices_we_care_about,
                       const DoFHandler<dim, space_dim> &dof_handler,
                       const bool                        check_validity)
         {
@@ -2383,7 +2383,7 @@ namespace internal
         static void
         renumber_vertex_mg_dofs(
           const std::vector<dealii::types::global_dof_index> &new_numbers,
-          const IndexSet &           indices_we_care_about,
+          const IndexSet            &indices_we_care_about,
           DoFHandler<dim, spacedim> &dof_handler,
           const unsigned int         level)
         {
@@ -2434,7 +2434,7 @@ namespace internal
         static void
         renumber_cell_mg_dofs(
           const std::vector<dealii::types::global_dof_index> &new_numbers,
-          const IndexSet &           indices_we_care_about,
+          const IndexSet            &indices_we_care_about,
           DoFHandler<dim, spacedim> &dof_handler,
           const unsigned int         level)
         {
@@ -2484,7 +2484,7 @@ namespace internal
         static void
         renumber_face_mg_dofs(
           const std::vector<dealii::types::global_dof_index> &new_numbers,
-          const IndexSet &           indices_we_care_about,
+          const IndexSet            &indices_we_care_about,
           DoFHandler<dim, spacedim> &dof_handler,
           const unsigned int         level,
           const bool                 check_validity)
@@ -2595,7 +2595,7 @@ namespace internal
         static void
         renumber_mg_dofs(
           const std::vector<dealii::types::global_dof_index> &new_numbers,
-          const IndexSet &           indices_we_care_about,
+          const IndexSet            &indices_we_care_about,
           DoFHandler<dim, spacedim> &dof_handler,
           const unsigned int         level,
           const bool                 check_validity)
@@ -3401,7 +3401,7 @@ namespace internal
       {
         template <int dim, int spacedim>
         void
-        communicate_mg_ghost_cells(DoFHandler<dim, spacedim> &     dof_handler,
+        communicate_mg_ghost_cells(DoFHandler<dim, spacedim>      &dof_handler,
                                    std::vector<std::vector<bool>> &cell_marked)
         {
           const auto pack = [](const auto &cell) {
@@ -3499,7 +3499,7 @@ namespace internal
         void
         communicate_dof_indices_on_marked_cells(
           const DoFHandler<dim, spacedim> &dof_handler,
-          std::vector<bool> &              cell_marked)
+          std::vector<bool>               &cell_marked)
         {
 #  ifndef DEAL_II_WITH_MPI
           (void)dof_handler;
index 2aded6fd6483f66d46b6e6d50e7128e325f66f36..6ddf1a96d00bdacf315077ae4480df9822debd7f 100644 (file)
@@ -94,7 +94,7 @@ namespace DoFRenumbering
       void
       create_graph(const DoFHandler<dim, spacedim> &dof_handler,
                    const bool                       use_constraints,
-                   boosttypes::Graph &              graph,
+                   boosttypes::Graph               &graph,
                    boosttypes::property_map<boosttypes::Graph,
                                             boosttypes::vertex_degree_t>::type
                      &graph_degree)
@@ -148,7 +148,7 @@ namespace DoFRenumbering
     template <int dim, int spacedim>
     void
     compute_Cuthill_McKee(std::vector<types::global_dof_index> &new_dof_indices,
-                          const DoFHandler<dim, spacedim> &     dof_handler,
+                          const DoFHandler<dim, spacedim>      &dof_handler,
                           const bool reversed_numbering,
                           const bool use_constraints)
     {
@@ -210,7 +210,7 @@ namespace DoFRenumbering
     template <int dim, int spacedim>
     void
     compute_king_ordering(std::vector<types::global_dof_index> &new_dof_indices,
-                          const DoFHandler<dim, spacedim> &     dof_handler,
+                          const DoFHandler<dim, spacedim>      &dof_handler,
                           const bool reversed_numbering,
                           const bool use_constraints)
     {
@@ -267,7 +267,7 @@ namespace DoFRenumbering
     void
     compute_minimum_degree(
       std::vector<types::global_dof_index> &new_dof_indices,
-      const DoFHandler<dim, spacedim> &     dof_handler,
+      const DoFHandler<dim, spacedim>      &dof_handler,
       const bool                            reversed_numbering,
       const bool                            use_constraints)
     {
@@ -364,7 +364,7 @@ namespace DoFRenumbering
 
   template <int dim, int spacedim>
   void
-  Cuthill_McKee(DoFHandler<dim, spacedim> &                 dof_handler,
+  Cuthill_McKee(DoFHandler<dim, spacedim>                  &dof_handler,
                 const bool                                  reversed_numbering,
                 const bool                                  use_constraints,
                 const std::vector<types::global_dof_index> &starting_indices)
@@ -389,8 +389,8 @@ namespace DoFRenumbering
   template <int dim, int spacedim>
   void
   compute_Cuthill_McKee(
-    std::vector<types::global_dof_index> &      new_indices,
-    const DoFHandler<dim, spacedim> &           dof_handler,
+    std::vector<types::global_dof_index>       &new_indices,
+    const DoFHandler<dim, spacedim>            &dof_handler,
     const bool                                  reversed_numbering,
     const bool                                  use_constraints,
     const std::vector<types::global_dof_index> &starting_indices,
@@ -650,7 +650,7 @@ namespace DoFRenumbering
 
   template <int dim, int spacedim>
   void
-  Cuthill_McKee(DoFHandler<dim, spacedim> &                 dof_handler,
+  Cuthill_McKee(DoFHandler<dim, spacedim>                  &dof_handler,
                 const unsigned int                          level,
                 const bool                                  reversed_numbering,
                 const std::vector<types::global_dof_index> &starting_indices)
@@ -679,7 +679,7 @@ namespace DoFRenumbering
 
   template <int dim, int spacedim>
   void
-  component_wise(DoFHandler<dim, spacedim> &      dof_handler,
+  component_wise(DoFHandler<dim, spacedim>       &dof_handler,
                  const std::vector<unsigned int> &component_order_arg)
   {
     std::vector<types::global_dof_index> renumbering(
@@ -718,7 +718,7 @@ namespace DoFRenumbering
 
   template <int dim, int spacedim>
   void
-  component_wise(DoFHandler<dim, spacedim> &      dof_handler,
+  component_wise(DoFHandler<dim, spacedim>       &dof_handler,
                  const unsigned int               level,
                  const std::vector<unsigned int> &component_order_arg)
   {
@@ -752,7 +752,7 @@ namespace DoFRenumbering
   template <int dim, int spacedim, typename CellIterator>
   types::global_dof_index
   compute_component_wise(std::vector<types::global_dof_index> &new_indices,
-                         const CellIterator &                  start,
+                         const CellIterator                   &start,
                          const std_cxx20::type_identity_t<CellIterator> &end,
                          const std::vector<unsigned int> &component_order_arg,
                          const bool                       is_level_operation)
@@ -1066,8 +1066,8 @@ namespace DoFRenumbering
   template <int dim, int spacedim, class ITERATOR, class ENDITERATOR>
   types::global_dof_index
   compute_block_wise(std::vector<types::global_dof_index> &new_indices,
-                     const ITERATOR &                      start,
-                     const ENDITERATOR &                   end,
+                     const ITERATOR                       &start,
+                     const ENDITERATOR                    &end,
                      const bool                            is_level_operation)
   {
     const hp::FECollection<dim, spacedim> &fe_collection =
@@ -1270,8 +1270,8 @@ namespace DoFRenumbering
     compute_hierarchical_recursive(
       const types::global_dof_index         next_free_dof_offset,
       const types::global_dof_index         my_starting_index,
-      const CellIteratorType &              cell,
-      const IndexSet &                      locally_owned_dof_indices,
+      const CellIteratorType               &cell,
+      const IndexSet                       &locally_owned_dof_indices,
       std::vector<types::global_dof_index> &new_indices)
     {
       types::global_dof_index current_next_free_dof_offset =
@@ -1463,7 +1463,7 @@ namespace DoFRenumbering
   template <int dim, int spacedim>
   void
   sort_selected_dofs_back(DoFHandler<dim, spacedim> &dof_handler,
-                          const std::vector<bool> &  selected_dofs)
+                          const std::vector<bool>   &selected_dofs)
   {
     std::vector<types::global_dof_index> renumbering(
       dof_handler.n_dofs(), numbers::invalid_dof_index);
@@ -1477,7 +1477,7 @@ namespace DoFRenumbering
   template <int dim, int spacedim>
   void
   sort_selected_dofs_back(DoFHandler<dim, spacedim> &dof_handler,
-                          const std::vector<bool> &  selected_dofs,
+                          const std::vector<bool>   &selected_dofs,
                           const unsigned int         level)
   {
     Assert(dof_handler.n_dofs(level) != numbers::invalid_dof_index,
@@ -1499,8 +1499,8 @@ namespace DoFRenumbering
   void
   compute_sort_selected_dofs_back(
     std::vector<types::global_dof_index> &new_indices,
-    const DoFHandler<dim, spacedim> &     dof_handler,
-    const std::vector<bool> &             selected_dofs)
+    const DoFHandler<dim, spacedim>      &dof_handler,
+    const std::vector<bool>              &selected_dofs)
   {
     const types::global_dof_index n_dofs = dof_handler.n_dofs();
     Assert(selected_dofs.size() == n_dofs,
@@ -1537,8 +1537,8 @@ namespace DoFRenumbering
   void
   compute_sort_selected_dofs_back(
     std::vector<types::global_dof_index> &new_indices,
-    const DoFHandler<dim, spacedim> &     dof_handler,
-    const std::vector<bool> &             selected_dofs,
+    const DoFHandler<dim, spacedim>      &dof_handler,
+    const std::vector<bool>              &selected_dofs,
     const unsigned int                    level)
   {
     Assert(dof_handler.n_dofs(level) != numbers::invalid_dof_index,
@@ -1596,7 +1596,7 @@ namespace DoFRenumbering
   compute_cell_wise(
     std::vector<types::global_dof_index> &new_indices,
     std::vector<types::global_dof_index> &reverse,
-    const DoFHandler<dim, spacedim> &     dof,
+    const DoFHandler<dim, spacedim>      &dof,
     const typename std::vector<
       typename DoFHandler<dim, spacedim>::active_cell_iterator> &cells)
   {
@@ -1689,7 +1689,7 @@ namespace DoFRenumbering
   compute_cell_wise(
     std::vector<types::global_dof_index> &new_order,
     std::vector<types::global_dof_index> &reverse,
-    const DoFHandler<dim, spacedim> &     dof,
+    const DoFHandler<dim, spacedim>      &dof,
     const unsigned int                    level,
     const typename std::vector<
       typename DoFHandler<dim, spacedim>::level_cell_iterator> &cells)
@@ -1758,8 +1758,8 @@ namespace DoFRenumbering
   void
   compute_downstream(std::vector<types::global_dof_index> &new_indices,
                      std::vector<types::global_dof_index> &reverse,
-                     const DoFHandler<dim, spacedim> &     dof,
-                     const Tensor<1, spacedim> &           direction,
+                     const DoFHandler<dim, spacedim>      &dof,
+                     const Tensor<1, spacedim>            &direction,
                      const bool                            dof_wise_renumbering)
   {
     Assert((dynamic_cast<const parallel::TriangulationBase<dim, spacedim> *>(
@@ -1866,9 +1866,9 @@ namespace DoFRenumbering
   void
   compute_downstream(std::vector<types::global_dof_index> &new_indices,
                      std::vector<types::global_dof_index> &reverse,
-                     const DoFHandler<dim, spacedim> &     dof,
+                     const DoFHandler<dim, spacedim>      &dof,
                      const unsigned int                    level,
-                     const Tensor<1, spacedim> &           direction,
+                     const Tensor<1, spacedim>            &direction,
                      const bool                            dof_wise_renumbering)
   {
     if (dof_wise_renumbering == false)
@@ -2022,7 +2022,7 @@ namespace DoFRenumbering
   template <int dim, int spacedim>
   void
   clockwise_dg(DoFHandler<dim, spacedim> &dof,
-               const Point<spacedim> &    center,
+               const Point<spacedim>     &center,
                const bool                 counter)
   {
     std::vector<types::global_dof_index> renumbering(dof.n_dofs());
@@ -2036,8 +2036,8 @@ namespace DoFRenumbering
   template <int dim, int spacedim>
   void
   compute_clockwise_dg(std::vector<types::global_dof_index> &new_indices,
-                       const DoFHandler<dim, spacedim> &     dof,
-                       const Point<spacedim> &               center,
+                       const DoFHandler<dim, spacedim>      &dof,
+                       const Point<spacedim>                &center,
                        const bool                            counter)
   {
     std::vector<typename DoFHandler<dim, spacedim>::active_cell_iterator>
@@ -2060,7 +2060,7 @@ namespace DoFRenumbering
   void
   clockwise_dg(DoFHandler<dim, spacedim> &dof,
                const unsigned int         level,
-               const Point<spacedim> &    center,
+               const Point<spacedim>     &center,
                const bool                 counter)
   {
     std::vector<typename DoFHandler<dim, spacedim>::level_cell_iterator>
@@ -2119,7 +2119,7 @@ namespace DoFRenumbering
   template <int dim, int spacedim>
   void
   compute_random(std::vector<types::global_dof_index> &new_indices,
-                 const DoFHandler<dim, spacedim> &     dof_handler)
+                 const DoFHandler<dim, spacedim>      &dof_handler)
   {
     const types::global_dof_index n_dofs = dof_handler.n_dofs();
     Assert(new_indices.size() == n_dofs,
@@ -2152,7 +2152,7 @@ namespace DoFRenumbering
   template <int dim, int spacedim>
   void
   compute_random(std::vector<types::global_dof_index> &new_indices,
-                 const DoFHandler<dim, spacedim> &     dof_handler,
+                 const DoFHandler<dim, spacedim>      &dof_handler,
                  const unsigned int                    level)
   {
     const types::global_dof_index n_dofs = dof_handler.n_dofs(level);
@@ -2205,7 +2205,7 @@ namespace DoFRenumbering
   template <int dim, int spacedim>
   void
   compute_subdomain_wise(std::vector<types::global_dof_index> &new_dof_indices,
-                         const DoFHandler<dim, spacedim> &     dof_handler)
+                         const DoFHandler<dim, spacedim>      &dof_handler)
   {
     const types::global_dof_index n_dofs = dof_handler.n_dofs();
     Assert(new_dof_indices.size() == n_dofs,
@@ -2274,7 +2274,7 @@ namespace DoFRenumbering
   void
   compute_support_point_wise(
     std::vector<types::global_dof_index> &new_dof_indices,
-    const DoFHandler<dim, spacedim> &     dof_handler)
+    const DoFHandler<dim, spacedim>      &dof_handler)
   {
     const types::global_dof_index n_dofs = dof_handler.n_locally_owned_dofs();
     Assert(new_dof_indices.size() == n_dofs,
@@ -2445,7 +2445,7 @@ namespace DoFRenumbering
             typename VectorizedArrayType>
   void
   matrix_free_data_locality(
-    DoFHandler<dim, spacedim> &                         dof_handler,
+    DoFHandler<dim, spacedim>                          &dof_handler,
     const MatrixFree<dim, Number, VectorizedArrayType> &matrix_free)
   {
     const std::vector<types::global_dof_index> new_global_numbers =
@@ -2460,9 +2460,9 @@ namespace DoFRenumbering
 
   template <int dim, int spacedim, typename Number, typename AdditionalDataType>
   void
-  matrix_free_data_locality(DoFHandler<dim, spacedim> &      dof_handler,
+  matrix_free_data_locality(DoFHandler<dim, spacedim>       &dof_handler,
                             const AffineConstraints<Number> &constraints,
-                            const AdditionalDataType &       matrix_free_data)
+                            const AdditionalDataType        &matrix_free_data)
   {
     const std::vector<types::global_dof_index> new_global_numbers =
       compute_matrix_free_data_locality(dof_handler,
@@ -2481,7 +2481,7 @@ namespace DoFRenumbering
   compute_matrix_free_data_locality(
     const DoFHandler<dim, spacedim> &dof_handler,
     const AffineConstraints<Number> &constraints,
-    const AdditionalDataType &       matrix_free_data)
+    const AdditionalDataType        &matrix_free_data)
   {
     AdditionalDataType my_mf_data    = matrix_free_data;
     my_mf_data.initialize_mapping    = false;
@@ -2675,8 +2675,8 @@ namespace DoFRenumbering
         }
 
       const auto renumber_func = [](const types::global_dof_index dof_index,
-                                    const IndexSet &              owned_dofs,
-                                    std::vector<unsigned int> &   result,
+                                    const IndexSet               &owned_dofs,
+                                    std::vector<unsigned int>    &result,
                                     unsigned int &counter_dof_numbers) {
         const types::global_dof_index local_dof_index =
           owned_dofs.index_within_set(dof_index);
@@ -2802,7 +2802,7 @@ namespace DoFRenumbering
             typename VectorizedArrayType>
   std::vector<types::global_dof_index>
   compute_matrix_free_data_locality(
-    const DoFHandler<dim, spacedim> &                   dof_handler,
+    const DoFHandler<dim, spacedim>                    &dof_handler,
     const MatrixFree<dim, Number, VectorizedArrayType> &matrix_free)
   {
     Assert(matrix_free.indices_initialized(),
index 184aac1d74426f8950e1a38e04e148df91fb9dde..acd841de0a34c1c486c8952cecb1196356376d06 100644 (file)
@@ -192,7 +192,7 @@ namespace DoFTools
     template <int dim, int spacedim>
     void
     get_component_association(const DoFHandler<dim, spacedim> &dof,
-                              const ComponentMask &            component_mask,
+                              const ComponentMask             &component_mask,
                               std::vector<unsigned char> &dofs_by_component)
     {
       const dealii::hp::FECollection<dim, spacedim> &fe_collection =
@@ -245,7 +245,7 @@ namespace DoFTools
     template <int dim, int spacedim>
     inline void
     get_block_association(const DoFHandler<dim, spacedim> &dof,
-                          std::vector<unsigned char> &     dofs_by_block)
+                          std::vector<unsigned char>      &dofs_by_block)
     {
       const dealii::hp::FECollection<dim, spacedim> &fe_collection =
         dof.get_fe_collection();
@@ -300,8 +300,8 @@ namespace DoFTools
   template <int dim, int spacedim, typename Number>
   void
   distribute_cell_to_dof_vector(const DoFHandler<dim, spacedim> &dof_handler,
-                                const Vector<Number> &           cell_data,
-                                Vector<double> &                 dof_data,
+                                const Vector<Number>            &cell_data,
+                                Vector<double>                  &dof_data,
                                 const unsigned int               component)
   {
     const Triangulation<dim, spacedim> &tria = dof_handler.get_triangulation();
@@ -384,7 +384,7 @@ namespace DoFTools
   template <int dim, int spacedim>
   IndexSet
   extract_dofs(const DoFHandler<dim, spacedim> &dof,
-               const ComponentMask &            component_mask)
+               const ComponentMask             &component_mask)
   {
     Assert(component_mask.represents_n_components(
              dof.get_fe_collection().n_components()),
@@ -425,7 +425,7 @@ namespace DoFTools
   template <int dim, int spacedim>
   IndexSet
   extract_dofs(const DoFHandler<dim, spacedim> &dof,
-               const BlockMask &                block_mask)
+               const BlockMask                 &block_mask)
   {
     // simply forward to the function that works based on a component mask
     return extract_dofs<dim, spacedim>(
@@ -472,8 +472,8 @@ namespace DoFTools
   void
   extract_level_dofs(const unsigned int               level,
                      const DoFHandler<dim, spacedim> &dof,
-                     const ComponentMask &            component_mask,
-                     std::vector<bool> &              selected_dofs)
+                     const ComponentMask             &component_mask,
+                     std::vector<bool>               &selected_dofs)
   {
     const FiniteElement<dim, spacedim> &fe = dof.get_fe();
 
@@ -528,8 +528,8 @@ namespace DoFTools
   void
   extract_level_dofs(const unsigned int               level,
                      const DoFHandler<dim, spacedim> &dof,
-                     const BlockMask &                block_mask,
-                     std::vector<bool> &              selected_dofs)
+                     const BlockMask                 &block_mask,
+                     std::vector<bool>               &selected_dofs)
   {
     // simply defer to the other extract_level_dofs() function
     extract_level_dofs(level,
@@ -542,9 +542,9 @@ namespace DoFTools
 
   template <int dim, int spacedim>
   void
-  extract_boundary_dofs(const DoFHandler<dim, spacedim> &   dof_handler,
-                        const ComponentMask &               component_mask,
-                        std::vector<bool> &                 selected_dofs,
+  extract_boundary_dofs(const DoFHandler<dim, spacedim>    &dof_handler,
+                        const ComponentMask                &component_mask,
+                        std::vector<bool>                  &selected_dofs,
                         const std::set<types::boundary_id> &boundary_ids)
   {
     Assert((dynamic_cast<
@@ -569,9 +569,9 @@ namespace DoFTools
 
   template <int dim, int spacedim>
   void
-  extract_boundary_dofs(const DoFHandler<dim, spacedim> &   dof_handler,
-                        const ComponentMask &               component_mask,
-                        IndexSet &                          selected_dofs,
+  extract_boundary_dofs(const DoFHandler<dim, spacedim>    &dof_handler,
+                        const ComponentMask                &component_mask,
+                        IndexSet                           &selected_dofs,
                         const std::set<types::boundary_id> &boundary_ids)
   {
     // Simply forward to the other function
@@ -583,8 +583,8 @@ namespace DoFTools
 
   template <int dim, int spacedim>
   IndexSet
-  extract_boundary_dofs(const DoFHandler<dim, spacedim> &   dof_handler,
-                        const ComponentMask &               component_mask,
+  extract_boundary_dofs(const DoFHandler<dim, spacedim>    &dof_handler,
+                        const ComponentMask                &component_mask,
                         const std::set<types::boundary_id> &boundary_ids)
   {
     Assert(component_mask.represents_n_components(
@@ -712,9 +712,9 @@ namespace DoFTools
   template <int dim, int spacedim>
   void
   extract_dofs_with_support_on_boundary(
-    const DoFHandler<dim, spacedim> &   dof_handler,
-    const ComponentMask &               component_mask,
-    std::vector<bool> &                 selected_dofs,
+    const DoFHandler<dim, spacedim>    &dof_handler,
+    const ComponentMask                &component_mask,
+    std::vector<bool>                  &selected_dofs,
     const std::set<types::boundary_id> &boundary_ids)
   {
     Assert(component_mask.represents_n_components(
@@ -797,7 +797,7 @@ namespace DoFTools
     const DoFHandler<dim, spacedim> &dof_handler,
     const std::function<
       bool(const typename DoFHandler<dim, spacedim>::active_cell_iterator &)>
-      &                              predicate,
+                                    &predicate,
     const AffineConstraints<number> &cm)
   {
     const std::function<bool(
@@ -1012,7 +1012,7 @@ namespace DoFTools
   void
   extract_subdomain_dofs(const DoFHandler<dim, spacedim> &dof_handler,
                          const types::subdomain_id        subdomain_id,
-                         std::vector<bool> &              selected_dofs)
+                         std::vector<bool>               &selected_dofs)
   {
     Assert(selected_dofs.size() == dof_handler.n_dofs(),
            ExcDimensionMismatch(selected_dofs.size(), dof_handler.n_dofs()));
@@ -1075,7 +1075,7 @@ namespace DoFTools
   template <int dim, int spacedim>
   void
   extract_locally_active_dofs(const DoFHandler<dim, spacedim> &dof_handler,
-                              IndexSet &                       dof_set)
+                              IndexSet                        &dof_set)
   {
     dof_set = extract_locally_active_dofs(dof_handler);
   }
@@ -1123,7 +1123,7 @@ namespace DoFTools
   void
   extract_locally_active_level_dofs(
     const DoFHandler<dim, spacedim> &dof_handler,
-    IndexSet &                       dof_set,
+    IndexSet                        &dof_set,
     const unsigned int               level)
   {
     dof_set = extract_locally_active_level_dofs(dof_handler, level);
@@ -1172,7 +1172,7 @@ namespace DoFTools
   template <int dim, int spacedim>
   void
   extract_locally_relevant_dofs(const DoFHandler<dim, spacedim> &dof_handler,
-                                IndexSet &                       dof_set)
+                                IndexSet                        &dof_set)
   {
     dof_set = extract_locally_relevant_dofs(dof_handler);
   }
@@ -1230,7 +1230,7 @@ namespace DoFTools
   extract_locally_relevant_level_dofs(
     const DoFHandler<dim, spacedim> &dof_handler,
     const unsigned int               level,
-    IndexSet &                       dof_set)
+    IndexSet                        &dof_set)
   {
     dof_set = extract_locally_relevant_level_dofs(dof_handler, level);
   }
@@ -1240,8 +1240,8 @@ namespace DoFTools
   template <int dim, int spacedim>
   void
   extract_constant_modes(const DoFHandler<dim, spacedim> &dof_handler,
-                         const ComponentMask &            component_mask,
-                         std::vector<std::vector<bool>> constant_modes)
+                         const ComponentMask             &component_mask,
+                         std::vector<std::vector<bool>>  &constant_modes)
   {
     // If there are no locally owned DoFs, return with an empty
     // constant_modes object:
@@ -1360,8 +1360,8 @@ namespace DoFTools
   map_boundary_to_bulk_dof_iterators(
     const std::map<typename Triangulation<dim - 1, spacedim>::cell_iterator,
                    typename Triangulation<dim, spacedim>::face_iterator>
-      &                                  c1_to_c0_face,
-    const DoFHandler<dim, spacedim> &    c0_dh,
+                                        &c1_to_c0_face,
+    const DoFHandler<dim, spacedim>     &c0_dh,
     const DoFHandler<dim - 1, spacedim> &c1_dh)
   {
     // This is the returned object: a map of codimension-1 active dof cell
@@ -1410,7 +1410,7 @@ namespace DoFTools
   template <int dim, int spacedim>
   void
   get_active_fe_indices(const DoFHandler<dim, spacedim> &dof_handler,
-                        std::vector<unsigned int> &      active_fe_indices)
+                        std::vector<unsigned int>       &active_fe_indices)
   {
     AssertDimension(active_fe_indices.size(),
                     dof_handler.get_triangulation().n_active_cells());
@@ -1594,7 +1594,7 @@ namespace DoFTools
   template <int dim, int spacedim>
   void
   get_subdomain_association(
-    const DoFHandler<dim, spacedim> dof_handler,
+    const DoFHandler<dim, spacedim>  &dof_handler,
     std::vector<types::subdomain_id> &subdomain_association)
   {
     // if the Triangulation is distributed, the only thing we can usefully
@@ -1754,7 +1754,7 @@ namespace DoFTools
   count_dofs_with_subdomain_association(
     const DoFHandler<dim, spacedim> &dof_handler,
     const types::subdomain_id        subdomain,
-    std::vector<unsigned int> &      n_dofs_on_subdomain)
+    std::vector<unsigned int>       &n_dofs_on_subdomain)
   {
     Assert(n_dofs_on_subdomain.size() == dof_handler.get_fe(0).n_components(),
            ExcDimensionMismatch(n_dofs_on_subdomain.size(),
@@ -1800,12 +1800,12 @@ namespace DoFTools
     // index
     template <int dim, int spacedim>
     void
-    resolve_components(const FiniteElement<dim, spacedim> &  fe,
-                       const std::vector<unsigned char> &    dofs_by_component,
-                       const std::vector<unsigned int> &     target_component,
+    resolve_components(const FiniteElement<dim, spacedim>   &fe,
+                       const std::vector<unsigned char>     &dofs_by_component,
+                       const std::vector<unsigned int>      &target_component,
                        const bool                            only_once,
                        std::vector<types::global_dof_index> &dofs_per_component,
-                       unsigned int &                        component)
+                       unsigned int                         &component)
     {
       for (unsigned int b = 0; b < fe.n_base_elements(); ++b)
         {
@@ -1846,11 +1846,11 @@ namespace DoFTools
     template <int dim, int spacedim>
     void
     resolve_components(const hp::FECollection<dim, spacedim> &fe_collection,
-                       const std::vector<unsigned char> &     dofs_by_component,
-                       const std::vector<unsigned int> &      target_component,
+                       const std::vector<unsigned char>      &dofs_by_component,
+                       const std::vector<unsigned int>       &target_component,
                        const bool                             only_once,
                        std::vector<types::global_dof_index> &dofs_per_component,
-                       unsigned int &                        component)
+                       unsigned int                         &component)
     {
       // assert that all elements in the collection have the same structure
       // (base elements and multiplicity, components per base element) and
@@ -2103,7 +2103,7 @@ namespace DoFTools
 
   template <int dim, int spacedim>
   void
-  map_dof_to_boundary_indices(const DoFHandler<dim, spacedim> &     dof_handler,
+  map_dof_to_boundary_indices(const DoFHandler<dim, spacedim>      &dof_handler,
                               std::vector<types::global_dof_index> &mapping)
   {
     mapping.clear();
@@ -2142,7 +2142,7 @@ namespace DoFTools
 
   template <int dim, int spacedim>
   void
-  map_dof_to_boundary_indices(const DoFHandler<dim, spacedim> &   dof_handler,
+  map_dof_to_boundary_indices(const DoFHandler<dim, spacedim>    &dof_handler,
                               const std::set<types::boundary_id> &boundary_ids,
                               std::vector<types::global_dof_index> &mapping)
   {
@@ -2190,8 +2190,8 @@ namespace DoFTools
       std::map<types::global_dof_index, Point<spacedim>>
       map_dofs_to_support_points(
         const hp::MappingCollection<dim, spacedim> &mapping,
-        const DoFHandler<dim, spacedim> &           dof_handler,
-        const ComponentMask &                       in_mask)
+        const DoFHandler<dim, spacedim>            &dof_handler,
+        const ComponentMask                        &in_mask)
       {
         std::map<types::global_dof_index, Point<spacedim>> support_points;
 
@@ -2262,8 +2262,8 @@ namespace DoFTools
       std::vector<Point<spacedim>>
       map_dofs_to_support_points_vector(
         const hp::MappingCollection<dim, spacedim> &mapping,
-        const DoFHandler<dim, spacedim> &           dof_handler,
-        const ComponentMask &                       mask)
+        const DoFHandler<dim, spacedim>            &dof_handler,
+        const ComponentMask                        &mask)
       {
         std::vector<Point<spacedim>> support_points(dof_handler.n_dofs());
 
@@ -2290,10 +2290,10 @@ namespace DoFTools
 
   template <int dim, int spacedim>
   void
-  map_dofs_to_support_points(const Mapping<dim, spacedim> &   mapping,
+  map_dofs_to_support_points(const Mapping<dim, spacedim>    &mapping,
                              const DoFHandler<dim, spacedim> &dof_handler,
-                             std::vector<Point<spacedim>> &   support_points,
-                             const ComponentMask &            mask)
+                             std::vector<Point<spacedim>>    &support_points,
+                             const ComponentMask             &mask)
   {
     AssertDimension(support_points.size(), dof_handler.n_dofs());
     Assert((dynamic_cast<
@@ -2318,9 +2318,9 @@ namespace DoFTools
   void
   map_dofs_to_support_points(
     const hp::MappingCollection<dim, spacedim> &mapping,
-    const DoFHandler<dim, spacedim> &           dof_handler,
-    std::vector<Point<spacedim>> &              support_points,
-    const ComponentMask &                       mask)
+    const DoFHandler<dim, spacedim>            &dof_handler,
+    std::vector<Point<spacedim>>               &support_points,
+    const ComponentMask                        &mask)
   {
     AssertDimension(support_points.size(), dof_handler.n_dofs());
     Assert((dynamic_cast<
@@ -2341,10 +2341,10 @@ namespace DoFTools
   template <int dim, int spacedim>
   DEAL_II_DEPRECATED void
   map_dofs_to_support_points(
-    const Mapping<dim, spacedim> &                      mapping,
-    const DoFHandler<dim, spacedim> &                   dof_handler,
+    const Mapping<dim, spacedim>                       &mapping,
+    const DoFHandler<dim, spacedim>                    &dof_handler,
     std::map<types::global_dof_index, Point<spacedim>> &support_points,
-    const ComponentMask &                               mask)
+    const ComponentMask                                &mask)
   {
     support_points.clear();
 
@@ -2362,10 +2362,10 @@ namespace DoFTools
   template <int dim, int spacedim>
   DEAL_II_DEPRECATED void
   map_dofs_to_support_points(
-    const hp::MappingCollection<dim, spacedim> &        mapping,
-    const DoFHandler<dim, spacedim> &                   dof_handler,
+    const hp::MappingCollection<dim, spacedim>         &mapping,
+    const DoFHandler<dim, spacedim>                    &dof_handler,
     std::map<types::global_dof_index, Point<spacedim>> &support_points,
-    const ComponentMask &                               mask)
+    const ComponentMask                                &mask)
   {
     support_points.clear();
 
@@ -2378,9 +2378,9 @@ namespace DoFTools
 
   template <int dim, int spacedim>
   std::map<types::global_dof_index, Point<spacedim>>
-  map_dofs_to_support_points(const Mapping<dim, spacedim> &   mapping,
+  map_dofs_to_support_points(const Mapping<dim, spacedim>    &mapping,
                              const DoFHandler<dim, spacedim> &dof_handler,
-                             const ComponentMask &            mask)
+                             const ComponentMask             &mask)
   {
     // Let the internal function do all the work, just make sure that it
     // gets a MappingCollection
@@ -2396,8 +2396,8 @@ namespace DoFTools
   std::map<types::global_dof_index, Point<spacedim>>
   map_dofs_to_support_points(
     const hp::MappingCollection<dim, spacedim> &mapping,
-    const DoFHandler<dim, spacedim> &           dof_handler,
-    const ComponentMask &                       mask)
+    const DoFHandler<dim, spacedim>            &dof_handler,
+    const ComponentMask                        &mask)
   {
     return internal::map_dofs_to_support_points(mapping, dof_handler, mask);
   }
@@ -2406,7 +2406,7 @@ namespace DoFTools
   template <int spacedim>
   void
   write_gnuplot_dof_support_point_info(
-    std::ostream &                                            out,
+    std::ostream                                             &out,
     const std::map<types::global_dof_index, Point<spacedim>> &support_points)
   {
     AssertThrow(out.fail() == false, ExcIO());
@@ -2445,7 +2445,7 @@ namespace DoFTools
   template <int dim, int spacedim>
   void
   convert_couplings_to_blocks(const DoFHandler<dim, spacedim> &dof_handler,
-                              const Table<2, Coupling> &       table,
+                              const Table<2, Coupling>        &table,
                               std::vector<Table<2, Coupling>> &tables_by_block)
   {
     if (dof_handler.has_hp_capabilities() == false)
@@ -2497,10 +2497,10 @@ namespace DoFTools
 
   template <int dim, int spacedim>
   void
-  make_cell_patches(SparsityPattern &                block_list,
+  make_cell_patches(SparsityPattern                 &block_list,
                     const DoFHandler<dim, spacedim> &dof_handler,
                     const unsigned int               level,
-                    const std::vector<bool> &        selected_dofs,
+                    const std::vector<bool>         &selected_dofs,
                     const types::global_dof_index    offset)
   {
     std::vector<types::global_dof_index> indices;
@@ -2540,7 +2540,7 @@ namespace DoFTools
 
   template <int dim, int spacedim>
   void
-  make_single_patch(SparsityPattern &                block_list,
+  make_single_patch(SparsityPattern                 &block_list,
                     const DoFHandler<dim, spacedim> &dof_handler,
                     const unsigned int               level,
                     const bool                       interior_only)
@@ -2582,7 +2582,7 @@ namespace DoFTools
 
   template <int dim, int spacedim>
   void
-  make_child_patches(SparsityPattern &                block_list,
+  make_child_patches(SparsityPattern                 &block_list,
                      const DoFHandler<dim, spacedim> &dof_handler,
                      const unsigned int               level,
                      const bool                       interior_dofs_only,
@@ -2645,7 +2645,7 @@ namespace DoFTools
 
   template <int dim, int spacedim>
   std::vector<unsigned int>
-  make_vertex_patches(SparsityPattern &                block_list,
+  make_vertex_patches(SparsityPattern                 &block_list,
                       const DoFHandler<dim, spacedim> &dof_handler,
                       const unsigned int               level,
                       const bool                       interior_only,
@@ -2668,10 +2668,10 @@ namespace DoFTools
 
   template <int dim, int spacedim>
   std::vector<unsigned int>
-  make_vertex_patches(SparsityPattern &                block_list,
+  make_vertex_patches(SparsityPattern                 &block_list,
                       const DoFHandler<dim, spacedim> &dof_handler,
                       const unsigned int               level,
-                      const BlockMask &                exclude_boundary_dofs,
+                      const BlockMask                 &exclude_boundary_dofs,
                       const bool                       boundary_patches,
                       const bool                       level_boundary_patches,
                       const bool                       single_cell_patches,
index 456ea317c8ffa2dbb081a2b11e735cf1f9d09ec7..ba105230784c65589c6e33403cbe20167fcabc9c 100644 (file)
@@ -27,23 +27,23 @@ for (deal_II_dimension, deal_II_space_dimension : DIMENSIONS)
       template void
       extract_locally_relevant_dofs<deal_II_dimension, deal_II_space_dimension>(
         const DoFHandler<deal_II_dimension, deal_II_space_dimension>
-          &       dof_handler,
+                 &dof_handler,
         IndexSet &dof_set);
 
       template IndexSet
       extract_locally_relevant_level_dofs<deal_II_dimension,
                                           deal_II_space_dimension>(
         const DoFHandler<deal_II_dimension, deal_II_space_dimension>
-          &                dof_handler,
+                          &dof_handler,
         const unsigned int level);
 
       template void
       extract_locally_relevant_level_dofs<deal_II_dimension,
                                           deal_II_space_dimension>(
         const DoFHandler<deal_II_dimension, deal_II_space_dimension>
-          &                dof_handler,
+                          &dof_handler,
         const unsigned int level,
-        IndexSet &         dof_set);
+        IndexSet          &dof_set);
 
       template IndexSet
       extract_locally_active_dofs<deal_II_dimension, deal_II_space_dimension>(
@@ -53,29 +53,29 @@ for (deal_II_dimension, deal_II_space_dimension : DIMENSIONS)
       template void
       extract_locally_active_dofs<deal_II_dimension, deal_II_space_dimension>(
         const DoFHandler<deal_II_dimension, deal_II_space_dimension>
-          &       dof_handler,
+                 &dof_handler,
         IndexSet &dof_set);
 
       template IndexSet
       extract_locally_active_level_dofs<deal_II_dimension,
                                         deal_II_space_dimension>(
         const DoFHandler<deal_II_dimension, deal_II_space_dimension>
-          &                dof_handler,
+                          &dof_handler,
         const unsigned int level);
 
       template void
       extract_locally_active_level_dofs<deal_II_dimension,
                                         deal_II_space_dimension>(
         const DoFHandler<deal_II_dimension, deal_II_space_dimension>
-          &                dof_handler,
-        IndexSet &         dof_set,
+                          &dof_handler,
+        IndexSet          &dof_set,
         const unsigned int level);
 
       template std::vector<IndexSet>
       locally_owned_dofs_per_component<deal_II_dimension,
                                        deal_II_space_dimension>(
         const DoFHandler<deal_II_dimension, deal_II_space_dimension>
-          &                  dof_handler,
+                            &dof_handler,
         const ComponentMask &components);
 
       template std::vector<types::global_dof_index>
@@ -187,20 +187,20 @@ for (deal_II_dimension : DIMENSIONS)
     template void DoFTools::extract_subdomain_dofs<deal_II_dimension>(
       const DoFHandler<deal_II_dimension> &dof_handler,
       const types::subdomain_id            subdomain_id,
-      std::vector<bool> &                  selected_dofs);
+      std::vector<bool>                   &selected_dofs);
 
     template void DoFTools::extract_constant_modes<deal_II_dimension>(
       const DoFHandler<deal_II_dimension> &dof_handler,
-      const ComponentMask &                selected_components,
-      std::vector<std::vector<bool>> &     constant_modes);
+      const ComponentMask                 &selected_components,
+      std::vector<std::vector<bool>>      &constant_modes);
 
     template void DoFTools::get_active_fe_indices<deal_II_dimension>(
       const DoFHandler<deal_II_dimension> &dof_handler,
-      std::vector<unsigned int> &          active_fe_indices);
+      std::vector<unsigned int>           &active_fe_indices);
 
     template void DoFTools::get_subdomain_association<deal_II_dimension>(
       const DoFHandler<deal_II_dimension> &dof_handler,
-      std::vector<types::subdomain_id> &   subdomain_association);
+      std::vector<types::subdomain_id>    &subdomain_association);
 
     template std::vector<IndexSet>
     DoFTools::locally_owned_dofs_per_subdomain<deal_II_dimension>(
@@ -289,7 +289,7 @@ for (deal_II_dimension : DIMENSIONS)
       const std::set<types::boundary_id> &);
 
     template void DoFTools::get_subdomain_association<1, 3>(
-      const DoFHandler<1, 3> &          dof_handler,
+      const DoFHandler<1, 3>           &dof_handler,
       std::vector<types::subdomain_id> &subdomain_association);
 
     template std::vector<IndexSet>
@@ -469,17 +469,17 @@ for (deal_II_dimension : DIMENSIONS; deal_II_space_dimension : DIMENSIONS)
       template void
       distribute_cell_to_dof_vector<deal_II_dimension, deal_II_space_dimension>(
         const DoFHandler<deal_II_dimension, deal_II_space_dimension>
-          &                  dof_handler,
+                            &dof_handler,
         const Vector<float> &cell_data,
-        Vector<double> &     dof_data,
+        Vector<double>      &dof_data,
         const unsigned int   component);
 
       template void
       distribute_cell_to_dof_vector<deal_II_dimension, deal_II_space_dimension>(
         const DoFHandler<deal_II_dimension, deal_II_space_dimension>
-          &                   dof_handler,
+                             &dof_handler,
         const Vector<double> &cell_data,
-        Vector<double> &      dof_data,
+        Vector<double>       &dof_data,
         const unsigned int    component);
     \}
 #endif
index bb837dbc0cb87ebd9980104db3c06120111e9105..c0d8d3bb6e25f7e53d760e6fe1b8bbd7e396b942 100644 (file)
@@ -59,7 +59,7 @@ namespace DoFTools
     {
       inline bool
       check_primary_dof_list(
-        const FullMatrix<double> &                  face_interpolation_matrix,
+        const FullMatrix<double>                   &face_interpolation_matrix,
         const std::vector<types::global_dof_index> &primary_dof_list)
       {
         const unsigned int N = primary_dof_list.size();
@@ -173,8 +173,8 @@ namespace DoFTools
       select_primary_dofs_for_face_restriction(
         const FiniteElement<dim, spacedim> &fe1,
         const FiniteElement<dim, spacedim> &fe2,
-        const FullMatrix<double> &          face_interpolation_matrix,
-        std::vector<bool> &                 primary_dof_mask)
+        const FullMatrix<double>           &face_interpolation_matrix,
+        std::vector<bool>                  &primary_dof_mask)
       {
         // TODO: the implementation makes the assumption that all faces have the
         // same number of dofs
@@ -313,7 +313,7 @@ namespace DoFTools
       ensure_existence_of_primary_dof_mask(
         const FiniteElement<dim, spacedim> &fe1,
         const FiniteElement<dim, spacedim> &fe2,
-        const FullMatrix<double> &          face_interpolation_matrix,
+        const FullMatrix<double>           &face_interpolation_matrix,
         std::unique_ptr<std::vector<bool>> &primary_dof_mask)
       {
         // TODO: the implementation makes the assumption that all faces have the
@@ -343,8 +343,8 @@ namespace DoFTools
       template <int dim, int spacedim>
       void
       ensure_existence_of_face_matrix(
-        const FiniteElement<dim, spacedim> fe1,
-        const FiniteElement<dim, spacedim> fe2,
+        const FiniteElement<dim, spacedim>  &fe1,
+        const FiniteElement<dim, spacedim>  &fe2,
         std::unique_ptr<FullMatrix<double>> &matrix)
       {
         // TODO: the implementation makes the assumption that all faces have the
@@ -369,8 +369,8 @@ namespace DoFTools
       template <int dim, int spacedim>
       void
       ensure_existence_of_subface_matrix(
-        const FiniteElement<dim, spacedim> fe1,
-        const FiniteElement<dim, spacedim> fe2,
+        const FiniteElement<dim, spacedim>  &fe1,
+        const FiniteElement<dim, spacedim>  &fe2,
         const unsigned int                   subface,
         std::unique_ptr<FullMatrix<double>> &matrix)
       {
@@ -401,7 +401,7 @@ namespace DoFTools
       void
       ensure_existence_of_split_face_matrix(
         const FullMatrix<double> &face_interpolation_matrix,
-        const std::vector<bool> primary_dof_mask,
+        const std::vector<bool>  &primary_dof_mask,
         std::unique_ptr<std::pair<FullMatrix<double>, FullMatrix<double>>>
           &split_matrix)
       {
@@ -488,8 +488,8 @@ namespace DoFTools
       filter_constraints(
         const std::vector<types::global_dof_index> &primary_dofs,
         const std::vector<types::global_dof_index> &dependent_dofs,
-        const FullMatrix<number1> &                 face_constraints,
-        AffineConstraints<number2> &                constraints)
+        const FullMatrix<number1>                  &face_constraints,
+        AffineConstraints<number2>                 &constraints)
       {
         Assert(face_constraints.n() == primary_dofs.size(),
                ExcDimensionMismatch(primary_dofs.size(), face_constraints.n()));
@@ -642,7 +642,7 @@ namespace DoFTools
     void
     make_oldstyle_hanging_node_constraints(
       const DoFHandler<dim_, spacedim> &dof_handler,
-      AffineConstraints<number> &       constraints,
+      AffineConstraints<number>        &constraints,
       std::integral_constant<int, 2>)
     {
       const unsigned int dim = 2;
@@ -794,7 +794,7 @@ namespace DoFTools
     void
     make_oldstyle_hanging_node_constraints(
       const DoFHandler<dim_, spacedim> &dof_handler,
-      AffineConstraints<number> &       constraints,
+      AffineConstraints<number>        &constraints,
       std::integral_constant<int, 3>)
     {
       const unsigned int dim = 3;
@@ -1038,7 +1038,7 @@ namespace DoFTools
     void
     make_hp_hanging_node_constraints(
       const DoFHandler<dim, spacedim> &dof_handler,
-      AffineConstraints<number> &      constraints)
+      AffineConstraints<number>       &constraints)
     {
       // note: this function is going to be hard to understand if you haven't
       // read the hp-paper. however, we try to follow the notation laid out
@@ -1794,7 +1794,7 @@ namespace DoFTools
   template <int dim, int spacedim, typename number>
   void
   make_hanging_node_constraints(const DoFHandler<dim, spacedim> &dof_handler,
-                                AffineConstraints<number> &      constraints)
+                                AffineConstraints<number>       &constraints)
   {
     Assert(dof_handler.has_active_dofs(),
            ExcMessage(
@@ -1844,11 +1844,11 @@ namespace DoFTools
     template <typename FaceIterator, typename number>
     void
     set_periodicity_constraints(
-      const FaceIterator &                            face_1,
+      const FaceIterator                             &face_1,
       const std_cxx20::type_identity_t<FaceIterator> &face_2,
-      const FullMatrix<double> &                      transformation,
-      AffineConstraints<number> &                     affine_constraints,
-      const ComponentMask &                           component_mask,
+      const FullMatrix<double>                       &transformation,
+      AffineConstraints<number>                      &affine_constraints,
+      const ComponentMask                            &component_mask,
       const bool                                      face_orientation,
       const bool                                      face_flip,
       const bool                                      face_rotation,
@@ -2196,8 +2196,8 @@ namespace DoFTools
     FullMatrix<double>
     compute_transformation(
       const FiniteElement<dim, spacedim> &fe,
-      const FullMatrix<double> &          matrix,
-      const std::vector<unsigned int> &   first_vector_components)
+      const FullMatrix<double>           &matrix,
+      const std::vector<unsigned int>    &first_vector_components)
     {
       // TODO: the implementation makes the assumption that all faces have the
       // same number of dofs
@@ -2295,15 +2295,15 @@ namespace DoFTools
   template <typename FaceIterator, typename number>
   void
   make_periodicity_constraints(
-    const FaceIterator &                            face_1,
+    const FaceIterator                             &face_1,
     const std_cxx20::type_identity_t<FaceIterator> &face_2,
-    AffineConstraints<number> &                     affine_constraints,
-    const ComponentMask &                           component_mask,
+    AffineConstraints<number>                      &affine_constraints,
+    const ComponentMask                            &component_mask,
     const bool                                      face_orientation,
     const bool                                      face_flip,
     const bool                                      face_rotation,
-    const FullMatrix<double> &                      matrix,
-    const std::vector<unsigned int> &               first_vector_components,
+    const FullMatrix<double>                       &matrix,
+    const std::vector<unsigned int>                &first_vector_components,
     const number                                    periodicity_factor)
   {
     static const int dim      = FaceIterator::AccessorType::dimension;
@@ -2550,8 +2550,8 @@ namespace DoFTools
   make_periodicity_constraints(
     const std::vector<GridTools::PeriodicFacePair<
       typename DoFHandler<dim, spacedim>::cell_iterator>> &periodic_faces,
-    AffineConstraints<number> &                            constraints,
-    const ComponentMask &                                  component_mask,
+    AffineConstraints<number>                             &constraints,
+    const ComponentMask                                   &component_mask,
     const std::vector<unsigned int> &first_vector_components,
     const number                     periodicity_factor)
   {
@@ -2588,7 +2588,7 @@ namespace DoFTools
 
   template <int dim, int spacedim, typename number>
   void
-  make_periodicity_constraints(const DoFHandler<dim, spacedim> &  dof_handler,
+  make_periodicity_constraints(const DoFHandler<dim, spacedim>   &dof_handler,
                                const types::boundary_id           b_id1,
                                const types::boundary_id           b_id2,
                                const unsigned int                 direction,
@@ -2624,8 +2624,8 @@ namespace DoFTools
   make_periodicity_constraints(const DoFHandler<dim, spacedim> &dof_handler,
                                const types::boundary_id         b_id,
                                const unsigned int               direction,
-                               AffineConstraints<number> &      constraints,
-                               const ComponentMask &            component_mask,
+                               AffineConstraints<number>       &constraints,
+                               const ComponentMask             &component_mask,
                                const number periodicity_factor)
   {
     AssertIndexRange(direction, spacedim);
@@ -2685,11 +2685,11 @@ namespace DoFTools
       compute_intergrid_weights_3(
         const typename DoFHandler<dim, spacedim>::active_cell_iterator &cell,
         const Assembler::Scratch &,
-        Assembler::CopyData<dim, spacedim> &           copy_data,
+        Assembler::CopyData<dim, spacedim>            &copy_data,
         const unsigned int                             coarse_component,
-        const FiniteElement<dim, spacedim> &           coarse_fe,
+        const FiniteElement<dim, spacedim>            &coarse_fe,
         const InterGridMap<DoFHandler<dim, spacedim>> &coarse_to_fine_grid_map,
-        const std::vector<dealii::Vector<double>> &    parameter_dofs)
+        const std::vector<dealii::Vector<double>>     &parameter_dofs)
       {
         // for each cell on the parameter grid: find out which degrees of
         // freedom on the fine grid correspond in which way to the degrees of
@@ -2776,9 +2776,9 @@ namespace DoFTools
       template <int dim, int spacedim>
       void
       copy_intergrid_weights_3(
-        const Assembler::CopyData<dim, spacedim> &  copy_data,
+        const Assembler::CopyData<dim, spacedim>   &copy_data,
         const unsigned int                          coarse_component,
-        const FiniteElement<dim, spacedim> &        coarse_fe,
+        const FiniteElement<dim, spacedim>         &coarse_fe,
         const std::vector<types::global_dof_index> &weight_mapping,
         const bool                                  is_called_in_parallel,
         std::vector<std::map<types::global_dof_index, float>> &weights)
@@ -2850,11 +2850,11 @@ namespace DoFTools
       template <int dim, int spacedim>
       void
       compute_intergrid_weights_2(
-        const DoFHandler<dim, spacedim> &              coarse_grid,
+        const DoFHandler<dim, spacedim>               &coarse_grid,
         const unsigned int                             coarse_component,
         const InterGridMap<DoFHandler<dim, spacedim>> &coarse_to_fine_grid_map,
-        const std::vector<dealii::Vector<double>> &    parameter_dofs,
-        const std::vector<types::global_dof_index> &   weight_mapping,
+        const std::vector<dealii::Vector<double>>     &parameter_dofs,
+        const std::vector<types::global_dof_index>    &weight_mapping,
         std::vector<std::map<types::global_dof_index, float>> &weights)
       {
         Assembler::Scratch                 scratch;
@@ -2916,8 +2916,8 @@ namespace DoFTools
            &coarse_to_fine_grid_map,
            &parameter_dofs](
             const typename DoFHandler<dim, spacedim>::active_cell_iterator
-              &                                 cell,
-            const Assembler::Scratch &          scratch_data,
+                                               &cell,
+            const Assembler::Scratch           &scratch_data,
             Assembler::CopyData<dim, spacedim> &copy_data) {
             compute_intergrid_weights_3<dim, spacedim>(cell,
                                                        scratch_data,
@@ -2967,13 +2967,13 @@ namespace DoFTools
       template <int dim, int spacedim>
       unsigned int
       compute_intergrid_weights_1(
-        const DoFHandler<dim, spacedim> &              coarse_grid,
+        const DoFHandler<dim, spacedim>               &coarse_grid,
         const unsigned int                             coarse_component,
-        const DoFHandler<dim, spacedim> &              fine_grid,
+        const DoFHandler<dim, spacedim>               &fine_grid,
         const unsigned int                             fine_component,
         const InterGridMap<DoFHandler<dim, spacedim>> &coarse_to_fine_grid_map,
         std::vector<std::map<types::global_dof_index, float>> &weights,
-        std::vector<types::global_dof_index> &                 weight_mapping)
+        std::vector<types::global_dof_index>                  &weight_mapping)
       {
         // aliases to the finite elements used by the dof handlers:
         const FiniteElement<dim, spacedim> &coarse_fe = coarse_grid.get_fe(),
@@ -3180,12 +3180,12 @@ namespace DoFTools
   template <int dim, int spacedim>
   void
   compute_intergrid_constraints(
-    const DoFHandler<dim, spacedim> &              coarse_grid,
+    const DoFHandler<dim, spacedim>               &coarse_grid,
     const unsigned int                             coarse_component,
-    const DoFHandler<dim, spacedim> &              fine_grid,
+    const DoFHandler<dim, spacedim>               &fine_grid,
     const unsigned int                             fine_component,
     const InterGridMap<DoFHandler<dim, spacedim>> &coarse_to_fine_grid_map,
-    AffineConstraints<double> &                    constraints)
+    AffineConstraints<double>                     &constraints)
   {
     Assert(coarse_grid.get_fe_collection().size() == 1 &&
              fine_grid.get_fe_collection().size() == 1,
@@ -3363,9 +3363,9 @@ namespace DoFTools
   template <int dim, int spacedim>
   void
   compute_intergrid_transfer_representation(
-    const DoFHandler<dim, spacedim> &              coarse_grid,
+    const DoFHandler<dim, spacedim>               &coarse_grid,
     const unsigned int                             coarse_component,
-    const DoFHandler<dim, spacedim> &              fine_grid,
+    const DoFHandler<dim, spacedim>               &fine_grid,
     const unsigned int                             fine_component,
     const InterGridMap<DoFHandler<dim, spacedim>> &coarse_to_fine_grid_map,
     std::vector<std::map<types::global_dof_index, float>>
@@ -3465,8 +3465,8 @@ namespace DoFTools
   make_zero_boundary_constraints(
     const DoFHandler<dim, spacedim> &dof,
     const types::boundary_id         boundary_id,
-    AffineConstraints<number> &      zero_boundary_constraints,
-    const ComponentMask &            component_mask)
+    AffineConstraints<number>       &zero_boundary_constraints,
+    const ComponentMask             &component_mask)
   {
     Assert(component_mask.represents_n_components(dof.get_fe(0).n_components()),
            ExcMessage("The number of components in the mask has to be either "
@@ -3550,8 +3550,8 @@ namespace DoFTools
   void
   make_zero_boundary_constraints(
     const DoFHandler<dim, spacedim> &dof,
-    AffineConstraints<number> &      zero_boundary_constraints,
-    const ComponentMask &            component_mask)
+    AffineConstraints<number>       &zero_boundary_constraints,
+    const ComponentMask             &component_mask)
   {
     make_zero_boundary_constraints(dof,
                                    numbers::invalid_boundary_id,
index 6228185fc11f130c5b93c1d027d9f4e573e3bf9c..cc1f656cfb27a7772a097ee6ccb396bf73a1e5b7 100644 (file)
@@ -54,7 +54,7 @@ namespace DoFTools
   template <int dim, int spacedim, typename number>
   void
   make_sparsity_pattern(const DoFHandler<dim, spacedim> &dof,
-                        SparsityPatternBase &            sparsity,
+                        SparsityPatternBase             &sparsity,
                         const AffineConstraints<number> &constraints,
                         const bool                       keep_constrained_dofs,
                         const types::subdomain_id        subdomain_id)
@@ -111,8 +111,8 @@ namespace DoFTools
   template <int dim, int spacedim, typename number>
   void
   make_sparsity_pattern(const DoFHandler<dim, spacedim> &dof,
-                        const Table<2, Coupling> &       couplings,
-                        SparsityPatternBase &            sparsity,
+                        const Table<2, Coupling>        &couplings,
+                        SparsityPatternBase             &sparsity,
                         const AffineConstraints<number> &constraints,
                         const bool                       keep_constrained_dofs,
                         const types::subdomain_id        subdomain_id)
@@ -202,7 +202,7 @@ namespace DoFTools
   void
   make_sparsity_pattern(const DoFHandler<dim, spacedim> &dof_row,
                         const DoFHandler<dim, spacedim> &dof_col,
-                        SparsityPatternBase &            sparsity)
+                        SparsityPatternBase             &sparsity)
   {
     const types::global_dof_index n_dofs_row = dof_row.n_dofs();
     const types::global_dof_index n_dofs_col = dof_col.n_dofs();
@@ -342,9 +342,9 @@ namespace DoFTools
   template <int dim, int spacedim>
   void
   make_boundary_sparsity_pattern(
-    const DoFHandler<dim, spacedim> &           dof,
+    const DoFHandler<dim, spacedim>            &dof,
     const std::vector<types::global_dof_index> &dof_to_boundary_mapping,
-    SparsityPatternBase &                       sparsity)
+    SparsityPatternBase                        &sparsity)
   {
     if (dim == 1)
       {
@@ -419,9 +419,9 @@ namespace DoFTools
   make_boundary_sparsity_pattern(
     const DoFHandler<dim, spacedim> &dof,
     const std::map<types::boundary_id, const Function<spacedim, number> *>
-      &                                         boundary_ids,
+                                               &boundary_ids,
     const std::vector<types::global_dof_index> &dof_to_boundary_mapping,
-    SparsityPatternBase &                       sparsity)
+    SparsityPatternBase                        &sparsity)
   {
     if (dim == 1)
       {
@@ -518,7 +518,7 @@ namespace DoFTools
   template <int dim, int spacedim, typename number>
   void
   make_flux_sparsity_pattern(const DoFHandler<dim, spacedim> &dof,
-                             SparsityPatternBase &            sparsity,
+                             SparsityPatternBase             &sparsity,
                              const AffineConstraints<number> &constraints,
                              const bool                keep_constrained_dofs,
                              const types::subdomain_id subdomain_id)
@@ -687,7 +687,7 @@ namespace DoFTools
   template <int dim, int spacedim>
   void
   make_flux_sparsity_pattern(const DoFHandler<dim, spacedim> &dof,
-                             SparsityPatternBase &            sparsity)
+                             SparsityPatternBase             &sparsity)
   {
     AffineConstraints<double> dummy;
     make_flux_sparsity_pattern(dof, sparsity, dummy);
@@ -697,7 +697,7 @@ namespace DoFTools
   Table<2, Coupling>
   dof_couplings_from_component_couplings(
     const FiniteElement<dim, spacedim> &fe,
-    const Table<2, Coupling> &          component_couplings)
+    const Table<2, Coupling>           &component_couplings)
   {
     Assert(component_couplings.n_rows() == fe.n_components(),
            ExcDimensionMismatch(component_couplings.n_rows(),
@@ -738,7 +738,7 @@ namespace DoFTools
   std::vector<Table<2, Coupling>>
   dof_couplings_from_component_couplings(
     const hp::FECollection<dim, spacedim> &fe,
-    const Table<2, Coupling> &             component_couplings)
+    const Table<2, Coupling>              &component_couplings)
   {
     std::vector<Table<2, Coupling>> return_value(fe.size());
     for (unsigned int i = 0; i < fe.size(); ++i)
@@ -760,11 +760,11 @@ namespace DoFTools
       void
       make_flux_sparsity_pattern(
         const DoFHandler<dim, spacedim> &dof,
-        SparsityPatternBase &            sparsity,
+        SparsityPatternBase             &sparsity,
         const AffineConstraints<number> &constraints,
         const bool                       keep_constrained_dofs,
-        const Table<2, Coupling> &       int_mask,
-        const Table<2, Coupling> &       flux_mask,
+        const Table<2, Coupling>        &int_mask,
+        const Table<2, Coupling>        &flux_mask,
         const types::subdomain_id        subdomain_id,
         const std::function<
           bool(const typename DoFHandler<dim, spacedim>::active_cell_iterator &,
@@ -1386,9 +1386,9 @@ namespace DoFTools
   template <int dim, int spacedim>
   void
   make_flux_sparsity_pattern(const DoFHandler<dim, spacedim> &dof,
-                             SparsityPatternBase &            sparsity,
-                             const Table<2, Coupling> &       int_mask,
-                             const Table<2, Coupling> &       flux_mask,
+                             SparsityPatternBase             &sparsity,
+                             const Table<2, Coupling>        &int_mask,
+                             const Table<2, Coupling>        &flux_mask,
                              const types::subdomain_id        subdomain_id)
   {
     AffineConstraints<double> dummy;
@@ -1411,11 +1411,11 @@ namespace DoFTools
   void
   make_flux_sparsity_pattern(
     const DoFHandler<dim, spacedim> &dof,
-    SparsityPatternBase &            sparsity,
+    SparsityPatternBase             &sparsity,
     const AffineConstraints<number> &constraints,
     const bool                       keep_constrained_dofs,
-    const Table<2, Coupling> &       int_mask,
-    const Table<2, Coupling> &       flux_mask,
+    const Table<2, Coupling>        &int_mask,
+    const Table<2, Coupling>        &flux_mask,
     const types::subdomain_id        subdomain_id,
     const std::function<
       bool(const typename DoFHandler<dim, spacedim>::active_cell_iterator &,
index 0a7430be4e7a7f41bf429b625ceca6ceef51d2f2..be492a6be9e66b300f3c6dbd258d2eed7b43067c 100644 (file)
@@ -18,11 +18,11 @@ for (scalar : REAL_AND_COMPLEX_SCALARS; deal_II_dimension : DIMENSIONS)
     template void DoFTools::make_boundary_sparsity_pattern<deal_II_dimension,
                                                            deal_II_dimension,
                                                            scalar>(
-      const DoFHandler<deal_II_dimension> &                        dof,
+      const DoFHandler<deal_II_dimension>                         &dof,
       const std::map<types::boundary_id,
                      const Function<deal_II_dimension, scalar> *> &boundary_ids,
       const std::vector<types::global_dof_index> &dof_to_boundary_mapping,
-      SparsityPatternBase &                       sparsity);
+      SparsityPatternBase                        &sparsity);
 
 #if deal_II_dimension < 3
 
@@ -33,9 +33,9 @@ for (scalar : REAL_AND_COMPLEX_SCALARS; deal_II_dimension : DIMENSIONS)
       const DoFHandler<deal_II_dimension, deal_II_dimension + 1> &dof,
       const std::map<types::boundary_id,
                      const Function<deal_II_dimension + 1, scalar> *>
-        &                                         boundary_ids,
+                                                 &boundary_ids,
       const std::vector<types::global_dof_index> &dof_to_boundary_mapping,
-      SparsityPatternBase &                       sparsity);
+      SparsityPatternBase                        &sparsity);
 
 #endif
 
@@ -47,9 +47,9 @@ for (scalar : REAL_AND_COMPLEX_SCALARS; deal_II_dimension : DIMENSIONS)
       const DoFHandler<deal_II_dimension, deal_II_dimension + 2> &dof,
       const std::map<types::boundary_id,
                      const Function<deal_II_dimension + 2, scalar> *>
-        &                                         boundary_ids,
+                                                 &boundary_ids,
       const std::vector<types::global_dof_index> &dof_to_boundary_mapping,
-      SparsityPatternBase &                       sparsity);
+      SparsityPatternBase                        &sparsity);
 #endif
   }
 
@@ -58,7 +58,7 @@ for (deal_II_dimension : DIMENSIONS; S : REAL_AND_COMPLEX_SCALARS)
     template void
     DoFTools::make_sparsity_pattern<deal_II_dimension, deal_II_dimension>(
       const DoFHandler<deal_II_dimension, deal_II_dimension> &dof,
-      SparsityPatternBase &                                   sparsity,
+      SparsityPatternBase                                    &sparsity,
       const AffineConstraints<S> &,
       const bool,
       const types::subdomain_id);
@@ -75,7 +75,7 @@ for (deal_II_dimension : DIMENSIONS; S : REAL_AND_COMPLEX_SCALARS)
     template void
     DoFTools::make_flux_sparsity_pattern<deal_II_dimension, deal_II_dimension>(
       const DoFHandler<deal_II_dimension> &dof,
-      SparsityPatternBase &                sparsity,
+      SparsityPatternBase                 &sparsity,
       const AffineConstraints<S> &,
       const bool,
       const Table<2, Coupling> &,
@@ -88,7 +88,7 @@ for (deal_II_dimension : DIMENSIONS; S : REAL_AND_COMPLEX_SCALARS)
     template void
     DoFTools::make_flux_sparsity_pattern<deal_II_dimension, deal_II_dimension>(
       const DoFHandler<deal_II_dimension> &dof,
-      SparsityPatternBase &                sparsity,
+      SparsityPatternBase                 &sparsity,
       const AffineConstraints<S> &,
       const bool,
       const types::subdomain_id);
@@ -98,7 +98,7 @@ for (deal_II_dimension : DIMENSIONS; S : REAL_AND_COMPLEX_SCALARS)
     template void
     DoFTools::make_sparsity_pattern<deal_II_dimension, deal_II_dimension + 1>(
       const DoFHandler<deal_II_dimension, deal_II_dimension + 1> &dof,
-      SparsityPatternBase &                                       sparsity,
+      SparsityPatternBase                                        &sparsity,
       const AffineConstraints<S> &,
       const bool,
       const types::subdomain_id);
@@ -115,7 +115,7 @@ for (deal_II_dimension : DIMENSIONS; S : REAL_AND_COMPLEX_SCALARS)
     template void DoFTools::make_flux_sparsity_pattern<deal_II_dimension,
                                                        deal_II_dimension + 1>(
       const DoFHandler<deal_II_dimension, deal_II_dimension + 1> &dof,
-      SparsityPatternBase &                                       sparsity,
+      SparsityPatternBase                                        &sparsity,
       const AffineConstraints<S> &,
       const bool,
       const Table<2, Coupling> &,
@@ -129,7 +129,7 @@ for (deal_II_dimension : DIMENSIONS; S : REAL_AND_COMPLEX_SCALARS)
     template void DoFTools::make_flux_sparsity_pattern<deal_II_dimension,
                                                        deal_II_dimension + 1>(
       const DoFHandler<deal_II_dimension, deal_II_dimension + 1> &dof,
-      SparsityPatternBase &                                       sparsity,
+      SparsityPatternBase                                        &sparsity,
       const AffineConstraints<S> &,
       const bool,
       const types::subdomain_id);
@@ -140,7 +140,7 @@ for (deal_II_dimension : DIMENSIONS; S : REAL_AND_COMPLEX_SCALARS)
 
     template void DoFTools::make_sparsity_pattern<1, 3>(
       const DoFHandler<1, 3> &dof,
-      SparsityPatternBase &   sparsity,
+      SparsityPatternBase    &sparsity,
       const AffineConstraints<S> &,
       const bool,
       const types::subdomain_id);
@@ -155,7 +155,7 @@ for (deal_II_dimension : DIMENSIONS; S : REAL_AND_COMPLEX_SCALARS)
 
     template void DoFTools::make_flux_sparsity_pattern<1, 3>(
       const DoFHandler<1, 3> &dof,
-      SparsityPatternBase &   sparsity,
+      SparsityPatternBase    &sparsity,
       const AffineConstraints<S> &,
       const bool,
       const Table<2, Coupling> &,
@@ -167,7 +167,7 @@ for (deal_II_dimension : DIMENSIONS; S : REAL_AND_COMPLEX_SCALARS)
 
     template void DoFTools::make_flux_sparsity_pattern<1, 3>(
       const DoFHandler<1, 3> &dof,
-      SparsityPatternBase &   sparsity,
+      SparsityPatternBase    &sparsity,
       const AffineConstraints<S> &,
       const bool,
       const types::subdomain_id);
@@ -181,7 +181,7 @@ for (deal_II_dimension : DIMENSIONS)
     DoFTools::make_sparsity_pattern<deal_II_dimension, deal_II_dimension>(
       const DoFHandler<deal_II_dimension, deal_II_dimension> &dof_row,
       const DoFHandler<deal_II_dimension, deal_II_dimension> &dof_col,
-      SparsityPatternBase &                                   sparsity);
+      SparsityPatternBase                                    &sparsity);
 
     template void DoFTools::make_boundary_sparsity_pattern<deal_II_dimension,
                                                            deal_II_dimension>(
@@ -196,7 +196,7 @@ for (deal_II_dimension : DIMENSIONS)
     template void
     DoFTools::make_flux_sparsity_pattern<deal_II_dimension, deal_II_dimension>(
       const DoFHandler<deal_II_dimension> &dof,
-      SparsityPatternBase &                sparsity,
+      SparsityPatternBase                 &sparsity,
       const Table<2, Coupling> &,
       const Table<2, Coupling> &,
       const types::subdomain_id);
@@ -206,12 +206,12 @@ for (deal_II_dimension : DIMENSIONS)
     template void DoFTools::make_flux_sparsity_pattern<deal_II_dimension,
                                                        deal_II_dimension + 1>(
       const DoFHandler<deal_II_dimension, deal_II_dimension + 1> &dof,
-      SparsityPatternBase &                                       sparsity);
+      SparsityPatternBase                                        &sparsity);
 
     template void DoFTools::make_flux_sparsity_pattern<deal_II_dimension,
                                                        deal_II_dimension + 1>(
       const DoFHandler<deal_II_dimension, deal_II_dimension + 1> &dof,
-      SparsityPatternBase &                                       sparsity,
+      SparsityPatternBase                                        &sparsity,
       const Table<2, Coupling> &,
       const Table<2, Coupling> &,
       const types::subdomain_id);
@@ -220,7 +220,7 @@ for (deal_II_dimension : DIMENSIONS)
     DoFTools::make_sparsity_pattern<deal_II_dimension, deal_II_dimension + 1>(
       const DoFHandler<deal_II_dimension, deal_II_dimension + 1> &dof_row,
       const DoFHandler<deal_II_dimension, deal_II_dimension + 1> &dof_col,
-      SparsityPatternBase &                                       sparsity);
+      SparsityPatternBase                                        &sparsity);
 
     template void
     DoFTools::make_boundary_sparsity_pattern<deal_II_dimension,
@@ -237,7 +237,7 @@ for (deal_II_dimension : DIMENSIONS)
     template void DoFTools::make_sparsity_pattern<1, 3>(
       const DoFHandler<1, 3> &dof_row,
       const DoFHandler<1, 3> &dof_col,
-      SparsityPatternBase &   sparsity);
+      SparsityPatternBase    &sparsity);
 
     template void DoFTools::make_boundary_sparsity_pattern<1, 3>(
       const DoFHandler<1, 3> &dof,
@@ -249,7 +249,7 @@ for (deal_II_dimension : DIMENSIONS)
 
     template void DoFTools::make_flux_sparsity_pattern<1, 3>(
       const DoFHandler<1, 3> &dof,
-      SparsityPatternBase &   sparsity,
+      SparsityPatternBase    &sparsity,
       const Table<2, Coupling> &,
       const Table<2, Coupling> &,
       const types::subdomain_id);
@@ -262,10 +262,10 @@ for (deal_II_dimension : DIMENSIONS)
     template Table<2, DoFTools::Coupling>
     DoFTools::dof_couplings_from_component_couplings(
       const FiniteElement<deal_II_dimension> &fe,
-      const Table<2, DoFTools::Coupling> &    component_couplings);
+      const Table<2, DoFTools::Coupling>     &component_couplings);
 
     template std::vector<Table<2, DoFTools::Coupling>>
     DoFTools::dof_couplings_from_component_couplings(
       const hp::FECollection<deal_II_dimension> &fe,
-      const Table<2, DoFTools::Coupling> &       component_couplings);
+      const Table<2, DoFTools::Coupling>        &component_couplings);
   }
index 5d8bffb88d2b0acb9ca709ec03d9027f4403ae26..7835f38764e5c77d1ba43f6ef4ffe505ecde4e07 100644 (file)
@@ -55,8 +55,8 @@ FiniteElement<dim, spacedim>::InternalDataBase::memory_consumption() const
 
 template <int dim, int spacedim>
 FiniteElement<dim, spacedim>::FiniteElement(
-  const FiniteElementData<dim> &    fe_data,
-  const std::vector<bool> &         r_i_a_f,
+  const FiniteElementData<dim>     &fe_data,
+  const std::vector<bool>          &r_i_a_f,
   const std::vector<ComponentMask> &nonzero_c)
   : FiniteElementData<dim>(fe_data)
   , adjust_line_dof_index_for_line_orientation_table(this->n_dofs_per_line())
@@ -1280,7 +1280,7 @@ template <int dim, int spacedim>
 std::unique_ptr<typename FiniteElement<dim, spacedim>::InternalDataBase>
 FiniteElement<dim, spacedim>::get_face_data(
   const UpdateFlags               flags,
-  const Mapping<dim, spacedim> &  mapping,
+  const Mapping<dim, spacedim>   &mapping,
   const hp::QCollection<dim - 1> &quadrature,
   dealii::internal::FEValuesImplementation::FiniteElementRelatedData<dim,
                                                                      spacedim>
@@ -1300,7 +1300,7 @@ std::unique_ptr<typename FiniteElement<dim, spacedim>::InternalDataBase>
 FiniteElement<dim, spacedim>::get_face_data(
   const UpdateFlags             flags,
   const Mapping<dim, spacedim> &mapping,
-  const Quadrature<dim - 1> &   quadrature,
+  const Quadrature<dim - 1>    &quadrature,
   dealii::internal::FEValuesImplementation::FiniteElementRelatedData<dim,
                                                                      spacedim>
     &output_data) const
@@ -1319,11 +1319,11 @@ inline void
 FiniteElement<dim, spacedim>::fill_fe_face_values(
   const typename Triangulation<dim, spacedim>::cell_iterator &cell,
   const unsigned int                                          face_no,
-  const hp::QCollection<dim - 1> &                            quadrature,
-  const Mapping<dim, spacedim> &                              mapping,
-  const typename Mapping<dim, spacedim>::InternalDataBase &   mapping_internal,
+  const hp::QCollection<dim - 1>                             &quadrature,
+  const Mapping<dim, spacedim>                               &mapping,
+  const typename Mapping<dim, spacedim>::InternalDataBase    &mapping_internal,
   const internal::FEValuesImplementation::MappingRelatedData<dim, spacedim>
-    &                                                            mapping_data,
+                                                                &mapping_data,
   const typename FiniteElement<dim, spacedim>::InternalDataBase &fe_internal,
   dealii::internal::FEValuesImplementation::FiniteElementRelatedData<dim,
                                                                      spacedim>
@@ -1348,11 +1348,11 @@ inline void
 FiniteElement<dim, spacedim>::fill_fe_face_values(
   const typename Triangulation<dim, spacedim>::cell_iterator &cell,
   const unsigned int                                          face_no,
-  const Quadrature<dim - 1> &                                 quadrature,
-  const Mapping<dim, spacedim> &                              mapping,
-  const typename Mapping<dim, spacedim>::InternalDataBase &   mapping_internal,
+  const Quadrature<dim - 1>                                  &quadrature,
+  const Mapping<dim, spacedim>                               &mapping,
+  const typename Mapping<dim, spacedim>::InternalDataBase    &mapping_internal,
   const internal::FEValuesImplementation::MappingRelatedData<dim, spacedim>
-    &                                                            mapping_data,
+                                                                &mapping_data,
   const typename FiniteElement<dim, spacedim>::InternalDataBase &fe_internal,
   dealii::internal::FEValuesImplementation::FiniteElementRelatedData<dim,
                                                                      spacedim>
@@ -1379,7 +1379,7 @@ std::unique_ptr<typename FiniteElement<dim, spacedim>::InternalDataBase>
 FiniteElement<dim, spacedim>::get_subface_data(
   const UpdateFlags             flags,
   const Mapping<dim, spacedim> &mapping,
-  const Quadrature<dim - 1> &   quadrature,
+  const Quadrature<dim - 1>    &quadrature,
   dealii::internal::FEValuesImplementation::FiniteElementRelatedData<dim,
                                                                      spacedim>
     &output_data) const
index 086df3c49e8e6ce93d0d38de014fd954f9df45ff..ad330c574ecce2095c99f529a6270a74158b8922 100644 (file)
@@ -563,7 +563,7 @@ template <int dim>
 void
 FE_ABF<dim>::convert_generalized_support_point_values_to_dof_values(
   const std::vector<Vector<double>> &support_point_values,
-  std::vector<double> &              nodal_values) const
+  std::vector<double>               &nodal_values) const
 {
   Assert(support_point_values.size() == this->generalized_support_points.size(),
          ExcDimensionMismatch(support_point_values.size(),
index 00737cfaae368c545fc128888bcba6e417ae8463..e409d40ecfdfef0f0312b797f8c2f97197d13968 100644 (file)
@@ -158,7 +158,7 @@ template <int dim>
 void
 FE_BDM<dim>::convert_generalized_support_point_values_to_dof_values(
   const std::vector<Vector<double>> &support_point_values,
-  std::vector<double> &              nodal_values) const
+  std::vector<double>               &nodal_values) const
 {
   Assert(support_point_values.size() == this->generalized_support_points.size(),
          ExcDimensionMismatch(support_point_values.size(),
@@ -310,7 +310,7 @@ namespace internal
       template <int dim>
       void
       initialize_test_values(std::vector<std::vector<double>> &test_values,
-                             const Quadrature<dim> &           quadrature,
+                             const Quadrature<dim>            &quadrature,
                              const unsigned int                deg)
       {
         PolynomialsP<dim>           poly(deg);
index c07a321a43013b40a845c8545250ebcc6e671b1d..81388090bb6190df758397ca14ebdd59bc9498a1 100644 (file)
@@ -111,7 +111,7 @@ template <int dim>
 void
 FE_BernardiRaugel<dim>::convert_generalized_support_point_values_to_dof_values(
   const std::vector<Vector<double>> &support_point_values,
-  std::vector<double> &              nodal_values) const
+  std::vector<double>               &nodal_values) const
 {
   Assert(support_point_values.size() == this->generalized_support_points.size(),
          ExcDimensionMismatch(support_point_values.size(),
index e45004636a676167cb1fd14c6f8e85e859c02e0d..6da8fc15a5b0c25bff315e84f2cb9b3fb485e311 100644 (file)
@@ -95,7 +95,7 @@ template <int dim, int spacedim>
 void
 FE_Bernstein<dim, spacedim>::get_face_interpolation_matrix(
   const FiniteElement<dim, spacedim> &source_fe,
-  FullMatrix<double> &                interpolation_matrix,
+  FullMatrix<double>                 &interpolation_matrix,
   const unsigned int                  face_no) const
 {
   get_subface_interpolation_matrix(source_fe,
@@ -110,7 +110,7 @@ void
 FE_Bernstein<dim, spacedim>::get_subface_interpolation_matrix(
   const FiniteElement<dim, spacedim> &x_source_fe,
   const unsigned int                  subface,
-  FullMatrix<double> &                interpolation_matrix,
+  FullMatrix<double>                 &interpolation_matrix,
   const unsigned int                  face_no) const
 {
   Assert(interpolation_matrix.m() == x_source_fe.n_dofs_per_face(face_no),
index 4cb0a4ccb0ede3534b1442c8b1332f6fdd1d61ce..726e68c83ec0fa84c4ac58bee2c5b07cb40757a7 100644 (file)
@@ -117,7 +117,7 @@ FiniteElementData<dim>::FiniteElementData(
   const unsigned int               n_components,
   const unsigned int               degree,
   const Conformity                 conformity,
-  const BlockIndices &             block_indices)
+  const BlockIndices              &block_indices)
   : FiniteElementData(dofs_per_object,
                       dim == 0 ?
                         ReferenceCells::Vertex :
@@ -137,7 +137,7 @@ FiniteElementData<dim>::FiniteElementData(
   const unsigned int               n_components,
   const unsigned int               degree,
   const Conformity                 conformity,
-  const BlockIndices &             block_indices)
+  const BlockIndices              &block_indices)
   : FiniteElementData(internal::expand(dim, dofs_per_object, cell_type),
                       cell_type,
                       n_components,
@@ -155,7 +155,7 @@ FiniteElementData<dim>::FiniteElementData(
   const unsigned int                    n_components,
   const unsigned int                    degree,
   const Conformity                      conformity,
-  const BlockIndices &                  block_indices)
+  const BlockIndices                   &block_indices)
   : reference_cell_kind(reference_cell)
   , number_of_unique_2d_subobjects(
       internal::number_unique_entries(data.dofs_per_object_inclusive[2]))
index dad2d33c3198c2c6ced3db2a99105fe99b5ce8b1..f8cdde42e1b4647e8afd2953d253ea536e51faac 100644 (file)
@@ -106,7 +106,7 @@ template <int dim, int spacedim>
 void
 FE_DGP<dim, spacedim>::get_face_interpolation_matrix(
   const FiniteElement<dim, spacedim> &x_source_fe,
-  FullMatrix<double> &                interpolation_matrix,
+  FullMatrix<double>                 &interpolation_matrix,
   const unsigned int) const
 {
   // this is only implemented, if the source FE is also a DGP element. in that
index 44b2a62e1769a223e61134ecb2d853bf62c2f96f..db48efebd4b84ad6b01f0d611e0a1a4f8e3250fc 100644 (file)
@@ -64,20 +64,20 @@ namespace internal
       // dofs 1  4 10 20 35 56 84 120
       const unsigned int start_index3d[6] = {0, 1, 5, 15 /*,35*/};
       const double       points3d[35][3]  = {{0, 0, 0},
-                                      {0, 0, 0},
-                                      {1, 0, 0},
-                                      {0, 1, 0},
-                                      {0, 0, 1},
-                                      {0, 0, 0},
-                                      {1, 0, 0},
-                                      {0, 1, 0},
-                                      {0, 0, 1},
-                                      {0.5, 0, 0},
-                                      {0, 0.5, 0},
-                                      {0, 0, 0.5},
-                                      {1, 1, 0},
-                                      {1, 0, 1},
-                                      {0, 1, 1}};
+                                             {0, 0, 0},
+                                             {1, 0, 0},
+                                             {0, 1, 0},
+                                             {0, 0, 1},
+                                             {0, 0, 0},
+                                             {1, 0, 0},
+                                             {0, 1, 0},
+                                             {0, 0, 1},
+                                             {0.5, 0, 0},
+                                             {0, 0.5, 0},
+                                             {0, 0, 0.5},
+                                             {1, 1, 0},
+                                             {1, 0, 1},
+                                             {0, 1, 1}};
 
 
       template <int dim>
@@ -195,7 +195,7 @@ template <int dim>
 void
 FE_DGPMonomial<dim>::get_interpolation_matrix(
   const FiniteElement<dim> &source_fe,
-  FullMatrix<double> &      interpolation_matrix) const
+  FullMatrix<double>       &interpolation_matrix) const
 {
   const FE_DGPMonomial<dim> *source_dgp_monomial =
     dynamic_cast<const FE_DGPMonomial<dim> *>(&source_fe);
@@ -280,7 +280,7 @@ template <int dim>
 void
 FE_DGPMonomial<dim>::get_face_interpolation_matrix(
   const FiniteElement<dim> &x_source_fe,
-  FullMatrix<double> &      interpolation_matrix,
+  FullMatrix<double>       &interpolation_matrix,
   const unsigned int) const
 {
   // this is only implemented, if the source
index 66d1f2d77c720ac496c0b5fef7fd7b2230552464..21e3f9e434447b92a418ce6332b1ecc87ae51b8d 100644 (file)
@@ -137,7 +137,7 @@ FE_DGPNonparametric<dim, spacedim>::clone() const
 template <int dim, int spacedim>
 double
 FE_DGPNonparametric<dim, spacedim>::shape_value(const unsigned int i,
-                                                const Point<dim> p) const
+                                                const Point<dim>  &p) const
 {
   (void)i;
   (void)p;
@@ -153,7 +153,7 @@ template <int dim, int spacedim>
 double
 FE_DGPNonparametric<dim, spacedim>::shape_value_component(
   const unsigned int i,
-  const Point<dim> p,
+  const Point<dim>  &p,
   const unsigned int component) const
 {
   (void)i;
@@ -171,7 +171,7 @@ FE_DGPNonparametric<dim, spacedim>::shape_value_component(
 template <int dim, int spacedim>
 Tensor<1, dim>
 FE_DGPNonparametric<dim, spacedim>::shape_grad(const unsigned int i,
-                                               const Point<dim> p) const
+                                               const Point<dim>  &p) const
 {
   (void)i;
   (void)p;
@@ -186,7 +186,7 @@ template <int dim, int spacedim>
 Tensor<1, dim>
 FE_DGPNonparametric<dim, spacedim>::shape_grad_component(
   const unsigned int i,
-  const Point<dim> p,
+  const Point<dim>  &p,
   const unsigned int component) const
 {
   (void)i;
@@ -204,7 +204,7 @@ FE_DGPNonparametric<dim, spacedim>::shape_grad_component(
 template <int dim, int spacedim>
 Tensor<2, dim>
 FE_DGPNonparametric<dim, spacedim>::shape_grad_grad(const unsigned int i,
-                                                    const Point<dim> p) const
+                                                    const Point<dim>  &p) const
 {
   (void)i;
   (void)p;
@@ -220,7 +220,7 @@ template <int dim, int spacedim>
 Tensor<2, dim>
 FE_DGPNonparametric<dim, spacedim>::shape_grad_grad_component(
   const unsigned int i,
-  const Point<dim> p,
+  const Point<dim>  &p,
   const unsigned int component) const
 {
   (void)i;
@@ -310,7 +310,7 @@ FE_DGPNonparametric<dim, spacedim>::fill_fe_values(
   const Mapping<dim, spacedim> &,
   const typename Mapping<dim, spacedim>::InternalDataBase &,
   const internal::FEValuesImplementation::MappingRelatedData<dim, spacedim>
-    &                                                            mapping_data,
+                                                                &mapping_data,
   const typename FiniteElement<dim, spacedim>::InternalDataBase &fe_internal,
   dealii::internal::FEValuesImplementation::FiniteElementRelatedData<dim,
                                                                      spacedim>
@@ -365,7 +365,7 @@ FE_DGPNonparametric<dim, spacedim>::fill_fe_face_values(
   const Mapping<dim, spacedim> &,
   const typename Mapping<dim, spacedim>::InternalDataBase &,
   const internal::FEValuesImplementation::MappingRelatedData<dim, spacedim>
-    &                                                            mapping_data,
+                                                                &mapping_data,
   const typename FiniteElement<dim, spacedim>::InternalDataBase &fe_internal,
   dealii::internal::FEValuesImplementation::FiniteElementRelatedData<dim,
                                                                      spacedim>
@@ -421,7 +421,7 @@ FE_DGPNonparametric<dim, spacedim>::fill_fe_subface_values(
   const Mapping<dim, spacedim> &,
   const typename Mapping<dim, spacedim>::InternalDataBase &,
   const internal::FEValuesImplementation::MappingRelatedData<dim, spacedim>
-    &                                                            mapping_data,
+                                                                &mapping_data,
   const typename FiniteElement<dim, spacedim>::InternalDataBase &fe_internal,
   dealii::internal::FEValuesImplementation::FiniteElementRelatedData<dim,
                                                                      spacedim>
@@ -471,7 +471,7 @@ template <int dim, int spacedim>
 void
 FE_DGPNonparametric<dim, spacedim>::get_face_interpolation_matrix(
   const FiniteElement<dim, spacedim> &x_source_fe,
-  FullMatrix<double> &                interpolation_matrix,
+  FullMatrix<double>                 &interpolation_matrix,
   const unsigned int) const
 {
   // this is only implemented, if the source
index ff25d2e10a18195ae145451f92c07745ff9ea999..ade082048e1176694b560d1f43e3489ec80e029f 100644 (file)
@@ -148,7 +148,7 @@ template <int dim, int spacedim>
 void
 FE_DGQ<dim, spacedim>::convert_generalized_support_point_values_to_dof_values(
   const std::vector<Vector<double>> &support_point_values,
-  std::vector<double> &              nodal_values) const
+  std::vector<double>               &nodal_values) const
 {
   AssertDimension(support_point_values.size(),
                   this->get_unit_support_points().size());
@@ -272,7 +272,7 @@ template <int dim, int spacedim>
 void
 FE_DGQ<dim, spacedim>::get_interpolation_matrix(
   const FiniteElement<dim, spacedim> &x_source_fe,
-  FullMatrix<double> &                interpolation_matrix) const
+  FullMatrix<double>                 &interpolation_matrix) const
 {
   // this is only implemented, if the
   // source FE is also a
@@ -354,7 +354,7 @@ template <int dim, int spacedim>
 void
 FE_DGQ<dim, spacedim>::get_face_interpolation_matrix(
   const FiniteElement<dim, spacedim> &x_source_fe,
-  FullMatrix<double> &                interpolation_matrix,
+  FullMatrix<double>                 &interpolation_matrix,
   const unsigned int) const
 {
   // this is only implemented, if the source
@@ -950,7 +950,7 @@ void
 FE_DGQArbitraryNodes<dim, spacedim>::
   convert_generalized_support_point_values_to_dof_values(
     const std::vector<Vector<double>> &support_point_values,
-    std::vector<double> &              nodal_values) const
+    std::vector<double>               &nodal_values) const
 {
   AssertDimension(support_point_values.size(),
                   this->get_unit_support_points().size());
index bb9a7caa0e772b0e49c2d8fa4c87a49ae7029ff6..9903b60a50ce0fa0cb3af48c02b3183fe51a464d 100644 (file)
@@ -53,7 +53,7 @@ namespace internal
       template <int dim, int spacedim>
       std::vector<const FiniteElement<dim, spacedim> *>
       build_fes(
-        const FiniteElement<dim, spacedim> *                     fe_base,
+        const FiniteElement<dim, spacedim>                      *fe_base,
         const std::vector<const FiniteElement<dim, spacedim> *> &fe_enriched)
       {
         std::vector<const FiniteElement<dim, spacedim> *> fes;
@@ -73,10 +73,10 @@ namespace internal
       bool
       consistency_check(
         const std::vector<const FiniteElement<dim, spacedim> *> &fes,
-        const std::vector<unsigned int> &                        multiplicities,
+        const std::vector<unsigned int>                         &multiplicities,
         const std::vector<std::vector<std::function<const Function<spacedim> *(
           const typename dealii::Triangulation<dim, spacedim>::cell_iterator
-            &)>>> &                                              functions)
+            &)>>>                                               &functions)
       {
         AssertThrow(fes.size() > 0, ExcMessage("FEs size should be >=1"));
         AssertThrow(fes.size() == multiplicities.size(),
@@ -147,7 +147,7 @@ template <int dim, int spacedim>
 FE_Enriched<dim, spacedim>::FE_Enriched(
   const FiniteElement<dim, spacedim> &fe_base,
   const FiniteElement<dim, spacedim> &fe_enriched,
-  const Function<spacedim> *          enrichment_function)
+  const Function<spacedim>           *enrichment_function)
   : FE_Enriched<dim, spacedim>(
       &fe_base,
       std::vector<const FiniteElement<dim, spacedim> *>(1, &fe_enriched),
@@ -164,7 +164,7 @@ FE_Enriched<dim, spacedim>::FE_Enriched(
 
 template <int dim, int spacedim>
 FE_Enriched<dim, spacedim>::FE_Enriched(
-  const FiniteElement<dim, spacedim> *                     fe_base,
+  const FiniteElement<dim, spacedim>                      *fe_base,
   const std::vector<const FiniteElement<dim, spacedim> *> &fe_enriched,
   const std::vector<std::vector<std::function<const Function<spacedim> *(
     const typename Triangulation<dim, spacedim>::cell_iterator &)>>> &functions)
@@ -178,7 +178,7 @@ FE_Enriched<dim, spacedim>::FE_Enriched(
 template <int dim, int spacedim>
 FE_Enriched<dim, spacedim>::FE_Enriched(
   const std::vector<const FiniteElement<dim, spacedim> *> &fes,
-  const std::vector<unsigned int> &                        multiplicities,
+  const std::vector<unsigned int>                         &multiplicities,
   const std::vector<std::vector<std::function<const Function<spacedim> *(
     const typename Triangulation<dim, spacedim>::cell_iterator &)>>> &functions)
   : FiniteElement<dim, spacedim>(
@@ -269,7 +269,7 @@ FE_Enriched<dim, spacedim>::get_enrichments() const
 template <int dim, int spacedim>
 double
 FE_Enriched<dim, spacedim>::shape_value(const unsigned int i,
-                                        const Point<dim> p) const
+                                        const Point<dim>  &p) const
 {
   Assert(
     !is_enriched,
@@ -367,7 +367,7 @@ template <int dim, int spacedim>
 std::unique_ptr<typename FiniteElement<dim, spacedim>::InternalDataBase>
 FE_Enriched<dim, spacedim>::get_face_data(
   const UpdateFlags               update_flags,
-  const Mapping<dim, spacedim> &  mapping,
+  const Mapping<dim, spacedim>   &mapping,
   const hp::QCollection<dim - 1> &quadrature,
   internal::FEValuesImplementation::FiniteElementRelatedData<dim, spacedim>
     &output_data) const
@@ -389,7 +389,7 @@ std::unique_ptr<typename FiniteElement<dim, spacedim>::InternalDataBase>
 FE_Enriched<dim, spacedim>::get_subface_data(
   const UpdateFlags             update_flags,
   const Mapping<dim, spacedim> &mapping,
-  const Quadrature<dim - 1> &   quadrature,
+  const Quadrature<dim - 1>    &quadrature,
   dealii::internal::FEValuesImplementation::FiniteElementRelatedData<dim,
                                                                      spacedim>
     &output_data) const
@@ -409,7 +409,7 @@ std::unique_ptr<typename FiniteElement<dim, spacedim>::InternalDataBase>
 FE_Enriched<dim, spacedim>::get_data(
   const UpdateFlags             flags,
   const Mapping<dim, spacedim> &mapping,
-  const Quadrature<dim> &       quadrature,
+  const Quadrature<dim>        &quadrature,
   internal::FEValuesImplementation::FiniteElementRelatedData<dim, spacedim>
     &output_data) const
 {
@@ -426,7 +426,7 @@ template <int dim, int spacedim>
 void
 FE_Enriched<dim, spacedim>::initialize(
   const std::vector<const FiniteElement<dim, spacedim> *> &fes,
-  const std::vector<unsigned int> &                        multiplicities)
+  const std::vector<unsigned int>                         &multiplicities)
 {
   Assert(fes.size() == multiplicities.size(),
          ExcDimensionMismatch(fes.size(), multiplicities.size()));
@@ -526,11 +526,11 @@ void
 FE_Enriched<dim, spacedim>::fill_fe_values(
   const typename Triangulation<dim, spacedim>::cell_iterator &cell,
   const CellSimilarity::Similarity                            cell_similarity,
-  const Quadrature<dim> &                                     quadrature,
-  const Mapping<dim, spacedim> &                              mapping,
-  const typename Mapping<dim, spacedim>::InternalDataBase &   mapping_internal,
+  const Quadrature<dim>                                      &quadrature,
+  const Mapping<dim, spacedim>                               &mapping,
+  const typename Mapping<dim, spacedim>::InternalDataBase    &mapping_internal,
   const internal::FEValuesImplementation::MappingRelatedData<dim, spacedim>
-    &                                                            mapping_data,
+                                                                &mapping_data,
   const typename FiniteElement<dim, spacedim>::InternalDataBase &fe_internal,
   internal::FEValuesImplementation::FiniteElementRelatedData<dim, spacedim>
     &output_data) const
@@ -560,11 +560,11 @@ void
 FE_Enriched<dim, spacedim>::fill_fe_face_values(
   const typename Triangulation<dim, spacedim>::cell_iterator &cell,
   const unsigned int                                          face_no,
-  const hp::QCollection<dim - 1> &                            quadrature,
-  const Mapping<dim, spacedim> &                              mapping,
-  const typename Mapping<dim, spacedim>::InternalDataBase &   mapping_internal,
+  const hp::QCollection<dim - 1>                             &quadrature,
+  const Mapping<dim, spacedim>                               &mapping,
+  const typename Mapping<dim, spacedim>::InternalDataBase    &mapping_internal,
   const internal::FEValuesImplementation::MappingRelatedData<dim, spacedim>
-    &                                                            mapping_data,
+                                                                &mapping_data,
   const typename FiniteElement<dim, spacedim>::InternalDataBase &fe_internal,
   internal::FEValuesImplementation::FiniteElementRelatedData<dim, spacedim>
     &output_data) const
@@ -597,11 +597,11 @@ FE_Enriched<dim, spacedim>::fill_fe_subface_values(
   const typename Triangulation<dim, spacedim>::cell_iterator &cell,
   const unsigned int                                          face_no,
   const unsigned int                                          sub_no,
-  const Quadrature<dim - 1> &                                 quadrature,
-  const Mapping<dim, spacedim> &                              mapping,
-  const typename Mapping<dim, spacedim>::InternalDataBase &   mapping_internal,
+  const Quadrature<dim - 1>                                  &quadrature,
+  const Mapping<dim, spacedim>                               &mapping,
+  const typename Mapping<dim, spacedim>::InternalDataBase    &mapping_internal,
   const internal::FEValuesImplementation::MappingRelatedData<dim, spacedim>
-    &                                                            mapping_data,
+                                                                &mapping_data,
   const typename FiniteElement<dim, spacedim>::InternalDataBase &fe_internal,
   internal::FEValuesImplementation::FiniteElementRelatedData<dim, spacedim>
     &output_data) const
@@ -632,9 +632,9 @@ template <int dim_1>
 void
 FE_Enriched<dim, spacedim>::multiply_by_enrichment(
   const Quadrature<dim_1> &quadrature,
-  const InternalData &     fe_data,
+  const InternalData      &fe_data,
   const internal::FEValuesImplementation::MappingRelatedData<dim, spacedim>
-    &                                                         mapping_data,
+                                                             &mapping_data,
   const typename Triangulation<dim, spacedim>::cell_iterator &cell,
   internal::FEValuesImplementation::FiniteElementRelatedData<dim, spacedim>
     &output_data) const
@@ -892,7 +892,7 @@ template <int dim, int spacedim>
 void
 FE_Enriched<dim, spacedim>::get_face_interpolation_matrix(
   const FiniteElement<dim, spacedim> &source,
-  FullMatrix<double> &                matrix,
+  FullMatrix<double>                 &matrix,
   const unsigned int                  face_no) const
 {
   if (const FE_Enriched<dim, spacedim> *fe_enr_other =
@@ -917,7 +917,7 @@ void
 FE_Enriched<dim, spacedim>::get_subface_interpolation_matrix(
   const FiniteElement<dim, spacedim> &source,
   const unsigned int                  subface,
-  FullMatrix<double> &                matrix,
+  FullMatrix<double>                 &matrix,
   const unsigned int                  face_no) const
 {
   if (const FE_Enriched<dim, spacedim> *fe_enr_other =
@@ -1083,7 +1083,7 @@ namespace ColorEnriched
     template <int dim, int spacedim>
     bool
     find_connection_between_subdomains(
-      const DoFHandler<dim, spacedim> &        dof_handler,
+      const DoFHandler<dim, spacedim>         &dof_handler,
       const predicate_function<dim, spacedim> &predicate_1,
       const predicate_function<dim, spacedim> &predicate_2)
     {
@@ -1113,9 +1113,9 @@ namespace ColorEnriched
     template <int dim, int spacedim>
     unsigned int
     color_predicates(
-      const DoFHandler<dim, spacedim> &                     mesh,
+      const DoFHandler<dim, spacedim>                      &mesh,
       const std::vector<predicate_function<dim, spacedim>> &predicates,
-      std::vector<unsigned int> &                           predicate_colors)
+      std::vector<unsigned int>                            &predicate_colors)
     {
       const unsigned int num_indices = predicates.size();
 
@@ -1153,11 +1153,11 @@ namespace ColorEnriched
     template <int dim, int spacedim>
     void
     set_cellwise_color_set_and_fe_index(
-      DoFHandler<dim, spacedim> &                           dof_handler,
+      DoFHandler<dim, spacedim>                            &dof_handler,
       const std::vector<predicate_function<dim, spacedim>> &predicates,
-      const std::vector<unsigned int> &                     predicate_colors,
+      const std::vector<unsigned int>                      &predicate_colors,
       std::map<unsigned int, std::map<unsigned int, unsigned int>>
-        &                                  cellwise_color_predicate_map,
+                                          &cellwise_color_predicate_map,
       std::vector<std::set<unsigned int>> &fe_sets)
     {
       // clear output variables first
@@ -1407,11 +1407,11 @@ namespace ColorEnriched
       const std::vector<std::set<unsigned int>> &fe_sets,
       const std::vector<std::function<const Function<spacedim> *(
         const typename Triangulation<dim, spacedim>::cell_iterator &)>>
-        &                                 color_enrichments,
+                                         &color_enrichments,
       const FiniteElement<dim, spacedim> &fe_base,
       const FiniteElement<dim, spacedim> &fe_enriched,
-      const FE_Nothing<dim, spacedim> &   fe_nothing,
-      hp::FECollection<dim, spacedim> &   fe_collection)
+      const FE_Nothing<dim, spacedim>    &fe_nothing,
+      hp::FECollection<dim, spacedim>    &fe_collection)
     {
       // define dummy function which is associated with FE_Nothing
       const std::function<const Function<spacedim> *(
@@ -1472,9 +1472,9 @@ namespace ColorEnriched
 
   template <int dim, int spacedim>
   Helper<dim, spacedim>::Helper(
-    const FiniteElement<dim, spacedim> &                    fe_base,
-    const FiniteElement<dim, spacedim> &                    fe_enriched,
-    const std::vector<predicate_function<dim, spacedim>> &  predicates,
+    const FiniteElement<dim, spacedim>                     &fe_base,
+    const FiniteElement<dim, spacedim>                     &fe_enriched,
+    const std::vector<predicate_function<dim, spacedim>>   &predicates,
     const std::vector<std::shared_ptr<Function<spacedim>>> &enrichments)
     : fe_base(fe_base)
     , fe_enriched(fe_enriched)
index a9ad092128eb3e66e2f35329db59d5792953c0cb..bdd8dcd8bcbba4ba6261758209511756ccea5251 100644 (file)
@@ -47,10 +47,10 @@ for (deal_II_dimension : DIMENSIONS; deal_II_space_dimension : SPACE_DIMENSIONS)
           DoFHandler<deal_II_dimension, deal_II_space_dimension> &dof_handler,
           const std::vector<
             predicate_function<deal_II_dimension, deal_II_space_dimension>>
-            &                              predicates,
+                                          &predicates,
           const std::vector<unsigned int> &predicate_colors,
           std::map<unsigned int, std::map<unsigned int, unsigned int>>
-            &                                  cellwise_color_predicate_map,
+                                              &cellwise_color_predicate_map,
           std::vector<std::set<unsigned int>> &fe_sets);
 
 
@@ -61,7 +61,7 @@ for (deal_II_dimension : DIMENSIONS; deal_II_space_dimension : SPACE_DIMENSIONS)
           const std::vector<std::shared_ptr<Function<deal_II_space_dimension>>>
             &enrichments,
           const std::map<unsigned int, std::map<unsigned int, unsigned int>>
-            &       cellwise_color_predicate_map,
+                   &cellwise_color_predicate_map,
           std::vector<std::function<const Function<deal_II_space_dimension> *(
             const typename Triangulation<deal_II_dimension,
                                          deal_II_space_dimension>::cell_iterator
index 3cd5f6a5bf0edb1c756b42f9bdc4f4830af102c2..a0667bac5ba9c91b4009321b8a38067b2a8a0ab5 100644 (file)
@@ -146,7 +146,7 @@ template <int dim, int spacedim>
 void
 FE_FaceQ<dim, spacedim>::get_face_interpolation_matrix(
   const FiniteElement<dim, spacedim> &source_fe,
-  FullMatrix<double> &                interpolation_matrix,
+  FullMatrix<double>                 &interpolation_matrix,
   const unsigned int                  face_no) const
 {
   get_subface_interpolation_matrix(source_fe,
@@ -162,7 +162,7 @@ void
 FE_FaceQ<dim, spacedim>::get_subface_interpolation_matrix(
   const FiniteElement<dim, spacedim> &x_source_fe,
   const unsigned int                  subface,
-  FullMatrix<double> &                interpolation_matrix,
+  FullMatrix<double>                 &interpolation_matrix,
   const unsigned int                  face_no) const
 {
   // this function is similar to the respective method in FE_Q
@@ -495,7 +495,7 @@ template <int dim, int spacedim>
 void
 FE_FaceQ<dim, spacedim>::convert_generalized_support_point_values_to_dof_values(
   const std::vector<Vector<double>> &support_point_values,
-  std::vector<double> &              nodal_values) const
+  std::vector<double>               &nodal_values) const
 {
   AssertDimension(support_point_values.size(),
                   this->get_unit_support_points().size());
@@ -561,7 +561,7 @@ template <int spacedim>
 void
 FE_FaceQ<1, spacedim>::get_face_interpolation_matrix(
   const FiniteElement<1, spacedim> &source_fe,
-  FullMatrix<double> &              interpolation_matrix,
+  FullMatrix<double>               &interpolation_matrix,
   const unsigned int                face_no) const
 {
   get_subface_interpolation_matrix(source_fe,
@@ -871,7 +871,7 @@ template <int dim, int spacedim>
 void
 FE_FaceP<dim, spacedim>::get_face_interpolation_matrix(
   const FiniteElement<dim, spacedim> &source_fe,
-  FullMatrix<double> &                interpolation_matrix,
+  FullMatrix<double>                 &interpolation_matrix,
   const unsigned int                  face_no) const
 {
   get_subface_interpolation_matrix(source_fe,
@@ -887,7 +887,7 @@ void
 FE_FaceP<dim, spacedim>::get_subface_interpolation_matrix(
   const FiniteElement<dim, spacedim> &x_source_fe,
   const unsigned int                  subface,
-  FullMatrix<double> &                interpolation_matrix,
+  FullMatrix<double>                 &interpolation_matrix,
   const unsigned int                  face_no) const
 {
   // this function is similar to the respective method in FE_Q
index 8a7a98527409b319b302152e4241e5ad341b0ff6..a1038ec5ee8cbf13871bd113d691861f3c7226a4 100644 (file)
@@ -39,7 +39,7 @@
 
 DEAL_II_NAMESPACE_OPEN
 
-//#define DEBUG_NEDELEC
+// #define DEBUG_NEDELEC
 
 namespace internal
 {
@@ -2483,7 +2483,7 @@ template <int dim>
 void
 FE_Nedelec<dim>::get_face_interpolation_matrix(
   const FiniteElement<dim> &source,
-  FullMatrix<double> &      interpolation_matrix,
+  FullMatrix<double>       &interpolation_matrix,
   const unsigned int        face_no) const
 {
   (void)face_no;
@@ -2591,7 +2591,7 @@ void
 FE_Nedelec<dim>::get_subface_interpolation_matrix(
   const FiniteElement<dim> &source,
   const unsigned int        subface,
-  FullMatrix<double> &      interpolation_matrix,
+  FullMatrix<double>       &interpolation_matrix,
   const unsigned int        face_no) const
 {
   // this is only implemented, if the
@@ -3147,7 +3147,7 @@ template <int dim>
 void
 FE_Nedelec<dim>::convert_generalized_support_point_values_to_dof_values(
   const std::vector<Vector<double>> &support_point_values,
-  std::vector<double> &              nodal_values) const
+  std::vector<double>               &nodal_values) const
 {
   // TODO: the implementation makes the assumption that all faces have the
   // same number of dofs
index d729595f31093b9c5765d37c95bff73ceec44287..dc6e6fa5f87947f0464d3e659e5f565139e558ca 100644 (file)
@@ -1471,8 +1471,8 @@ template <int dim, int spacedim>
 void
 FE_NedelecSZ<dim, spacedim>::fill_edge_values(
   const typename Triangulation<dim, dim>::cell_iterator &cell,
-  const Quadrature<dim> &                                quadrature,
-  const InternalData &                                   fe_data) const
+  const Quadrature<dim>                                 &quadrature,
+  const InternalData                                    &fe_data) const
 {
   // This function handles the cell-dependent construction of the EDGE-based
   // shape functions.
@@ -2023,8 +2023,8 @@ template <int dim, int spacedim>
 void
 FE_NedelecSZ<dim, spacedim>::fill_face_values(
   const typename Triangulation<dim, dim>::cell_iterator &cell,
-  const Quadrature<dim> &                                quadrature,
-  const InternalData &                                   fe_data) const
+  const Quadrature<dim>                                 &quadrature,
+  const InternalData                                    &fe_data) const
 {
   // This function handles the cell-dependent construction of the FACE-based
   // shape functions.
@@ -2602,11 +2602,11 @@ void
 FE_NedelecSZ<dim, spacedim>::fill_fe_values(
   const typename Triangulation<dim, dim>::cell_iterator &cell,
   const CellSimilarity::Similarity /*cell_similarity*/,
-  const Quadrature<dim> &                             quadrature,
-  const Mapping<dim, dim> &                           mapping,
+  const Quadrature<dim>                              &quadrature,
+  const Mapping<dim, dim>                            &mapping,
   const typename Mapping<dim, dim>::InternalDataBase &mapping_internal,
   const internal::FEValuesImplementation::MappingRelatedData<dim, dim>
-    &                                                       mapping_data,
+                                                           &mapping_data,
   const typename FiniteElement<dim, dim>::InternalDataBase &fe_internal,
   dealii::internal::FEValuesImplementation::FiniteElementRelatedData<dim, dim>
     &data) const
@@ -2783,11 +2783,11 @@ void
 FE_NedelecSZ<dim, spacedim>::fill_fe_face_values(
   const typename Triangulation<dim, dim>::cell_iterator &cell,
   const unsigned int                                     face_no,
-  const hp::QCollection<dim - 1> &                       quadrature,
-  const Mapping<dim, dim> &                              mapping,
-  const typename Mapping<dim, dim>::InternalDataBase &   mapping_internal,
+  const hp::QCollection<dim - 1>                        &quadrature,
+  const Mapping<dim, dim>                               &mapping,
+  const typename Mapping<dim, dim>::InternalDataBase    &mapping_internal,
   const internal::FEValuesImplementation::MappingRelatedData<dim, dim>
-    &                                                       mapping_data,
+                                                           &mapping_data,
   const typename FiniteElement<dim, dim>::InternalDataBase &fe_internal,
   dealii::internal::FEValuesImplementation::FiniteElementRelatedData<dim, dim>
     &data) const
index a1ea0d19a075411d297a6db7df15106d0e03c8d7..07a85344a0d7694e776fff531d10e5109d32fa55 100644 (file)
@@ -214,7 +214,7 @@ FE_P1NC::fill_fe_values(
   const Mapping<2, 2> &,
   const Mapping<2, 2>::InternalDataBase &,
   const internal::FEValuesImplementation::MappingRelatedData<2, 2>
-    &                                          mapping_data,
+                                              &mapping_data,
   const FiniteElement<2, 2>::InternalDataBase &fe_internal,
   internal::FEValuesImplementation::FiniteElementRelatedData<2, 2> &output_data)
   const
@@ -247,8 +247,8 @@ void
 FE_P1NC::fill_fe_face_values(
   const Triangulation<2, 2>::cell_iterator &cell,
   const unsigned int                        face_no,
-  const hp::QCollection<1> &                quadrature,
-  const Mapping<2, 2> &                     mapping,
+  const hp::QCollection<1>                 &quadrature,
+  const Mapping<2, 2>                      &mapping,
   const Mapping<2, 2>::InternalDataBase &,
   const internal::FEValuesImplementation::MappingRelatedData<2, 2> &,
   const InternalDataBase &fe_internal,
@@ -295,8 +295,8 @@ FE_P1NC::fill_fe_subface_values(
   const Triangulation<2, 2>::cell_iterator &cell,
   const unsigned int                        face_no,
   const unsigned int                        sub_no,
-  const Quadrature<1> &                     quadrature,
-  const Mapping<2, 2> &                     mapping,
+  const Quadrature<1>                      &quadrature,
+  const Mapping<2, 2>                      &mapping,
   const Mapping<2, 2>::InternalDataBase &,
   const internal::FEValuesImplementation::MappingRelatedData<2, 2> &,
   const InternalDataBase &fe_internal,
index 4d46ab189597d1cd6da9c4c7930ca4f3b4c3283b..bd89f996ae80ce3fe8bc7f339760b0c87726c6d0 100644 (file)
@@ -63,9 +63,9 @@ namespace internal
       void
       get_dof_sign_change_h_div(
         const typename dealii::Triangulation<2, spacedim>::cell_iterator &cell,
-        const FiniteElement<2, spacedim> &                                fe,
+        const FiniteElement<2, spacedim>                                 &fe,
         const std::vector<MappingKind> &mapping_kind,
-        std::vector<double> &           face_sign)
+        std::vector<double>            &face_sign)
       {
         const unsigned int dim = 2;
         // const unsigned int spacedim = 2;
@@ -143,7 +143,7 @@ namespace internal
         const typename dealii::Triangulation<2, spacedim>::cell_iterator &cell,
         const FiniteElement<2, spacedim> & /*fe*/,
         const std::vector<MappingKind> &mapping_kind,
-        std::vector<double> &           line_dof_sign)
+        std::vector<double>            &line_dof_sign)
       {
         const unsigned int dim = 2;
         // TODO: This fixes only lowest order
@@ -160,7 +160,7 @@ namespace internal
         const typename dealii::Triangulation<3, spacedim>::cell_iterator &cell,
         const FiniteElement<3, spacedim> & /*fe*/,
         const std::vector<MappingKind> &mapping_kind,
-        std::vector<double> &           line_dof_sign)
+        std::vector<double>            &line_dof_sign)
       {
         const unsigned int dim = 3;
         // TODO: This is probably only going to work for those elements for
@@ -178,8 +178,8 @@ namespace internal
 template <int dim, int spacedim>
 FE_PolyTensor<dim, spacedim>::FE_PolyTensor(
   const TensorPolynomialsBase<dim> &polynomials,
-  const FiniteElementData<dim> &    fe_data,
-  const std::vector<bool> &         restriction_is_additive_flags,
+  const FiniteElementData<dim>     &fe_data,
+  const std::vector<bool>          &restriction_is_additive_flags,
   const std::vector<ComponentMask> &nonzero_components)
   : FiniteElement<dim, spacedim>(fe_data,
                                  restriction_is_additive_flags,
@@ -300,7 +300,7 @@ template <int dim, int spacedim>
 double
 FE_PolyTensor<dim, spacedim>::shape_value_component(
   const unsigned int i,
-  const Point<dim> p,
+  const Point<dim>  &p,
   const unsigned int component) const
 {
   AssertIndexRange(i, this->n_dofs_per_cell());
@@ -345,7 +345,7 @@ template <int dim, int spacedim>
 Tensor<1, dim>
 FE_PolyTensor<dim, spacedim>::shape_grad_component(
   const unsigned int i,
-  const Point<dim> p,
+  const Point<dim>  &p,
   const unsigned int component) const
 {
   AssertIndexRange(i, this->n_dofs_per_cell());
@@ -391,7 +391,7 @@ template <int dim, int spacedim>
 Tensor<2, dim>
 FE_PolyTensor<dim, spacedim>::shape_grad_grad_component(
   const unsigned int i,
-  const Point<dim> p,
+  const Point<dim>  &p,
   const unsigned int component) const
 {
   AssertIndexRange(i, this->n_dofs_per_cell());
@@ -430,11 +430,11 @@ void
 FE_PolyTensor<dim, spacedim>::fill_fe_values(
   const typename Triangulation<dim, spacedim>::cell_iterator &cell,
   const CellSimilarity::Similarity                            cell_similarity,
-  const Quadrature<dim> &                                     quadrature,
-  const Mapping<dim, spacedim> &                              mapping,
-  const typename Mapping<dim, spacedim>::InternalDataBase &   mapping_internal,
+  const Quadrature<dim>                                      &quadrature,
+  const Mapping<dim, spacedim>                               &mapping,
+  const typename Mapping<dim, spacedim>::InternalDataBase    &mapping_internal,
   const internal::FEValuesImplementation::MappingRelatedData<dim, spacedim>
-    &                                                            mapping_data,
+                                                                &mapping_data,
   const typename FiniteElement<dim, spacedim>::InternalDataBase &fe_internal,
   dealii::internal::FEValuesImplementation::FiniteElementRelatedData<dim,
                                                                      spacedim>
@@ -1052,11 +1052,11 @@ void
 FE_PolyTensor<dim, spacedim>::fill_fe_face_values(
   const typename Triangulation<dim, spacedim>::cell_iterator &cell,
   const unsigned int                                          face_no,
-  const hp::QCollection<dim - 1> &                            quadrature,
-  const Mapping<dim, spacedim> &                              mapping,
-  const typename Mapping<dim, spacedim>::InternalDataBase &   mapping_internal,
+  const hp::QCollection<dim - 1>                             &quadrature,
+  const Mapping<dim, spacedim>                               &mapping,
+  const typename Mapping<dim, spacedim>::InternalDataBase    &mapping_internal,
   const internal::FEValuesImplementation::MappingRelatedData<dim, spacedim>
-    &                                                            mapping_data,
+                                                                &mapping_data,
   const typename FiniteElement<dim, spacedim>::InternalDataBase &fe_internal,
   dealii::internal::FEValuesImplementation::FiniteElementRelatedData<dim,
                                                                      spacedim>
@@ -1737,11 +1737,11 @@ FE_PolyTensor<dim, spacedim>::fill_fe_subface_values(
   const typename Triangulation<dim, spacedim>::cell_iterator &cell,
   const unsigned int                                          face_no,
   const unsigned int                                          sub_no,
-  const Quadrature<dim - 1> &                                 quadrature,
-  const Mapping<dim, spacedim> &                              mapping,
-  const typename Mapping<dim, spacedim>::InternalDataBase &   mapping_internal,
+  const Quadrature<dim - 1>                                  &quadrature,
+  const Mapping<dim, spacedim>                               &mapping,
+  const typename Mapping<dim, spacedim>::InternalDataBase    &mapping_internal,
   const internal::FEValuesImplementation::MappingRelatedData<dim, spacedim>
-    &                                                            mapping_data,
+                                                                &mapping_data,
   const typename FiniteElement<dim, spacedim>::InternalDataBase &fe_internal,
   dealii::internal::FEValuesImplementation::FiniteElementRelatedData<dim,
                                                                      spacedim>
index f0f87ffa3277f441323acd205554ca99c4b71826..e010ad4ae3633c04e28b581a8016913418781972 100644 (file)
@@ -75,7 +75,7 @@ namespace
 template <int dim, int spacedim>
 FE_PyramidPoly<dim, spacedim>::FE_PyramidPoly(
   const unsigned int                                degree,
-  const internal::GenericDoFsPerObject &            dpos,
+  const internal::GenericDoFsPerObject             &dpos,
   const typename FiniteElementData<dim>::Conformity conformity)
   : dealii::FE_Poly<dim, spacedim>(
       ScalarLagrangePolynomialPyramid<dim>(degree),
@@ -124,7 +124,7 @@ void
 FE_PyramidPoly<dim, spacedim>::
   convert_generalized_support_point_values_to_dof_values(
     const std::vector<Vector<double>> &support_point_values,
-    std::vector<double> &              nodal_values) const
+    std::vector<double>               &nodal_values) const
 {
   AssertDimension(support_point_values.size(),
                   this->get_unit_support_points().size());
index 47d5de838b42b6acd76667b3dddc689509111dff..356da8045ef045461920b4ade079ddd7336b9fdd 100644 (file)
@@ -154,7 +154,7 @@ template <int dim, int spacedim>
 void
 FE_Q<dim, spacedim>::convert_generalized_support_point_values_to_dof_values(
   const std::vector<Vector<double>> &support_point_values,
-  std::vector<double> &              nodal_values) const
+  std::vector<double>               &nodal_values) const
 {
   AssertDimension(support_point_values.size(),
                   this->get_unit_support_points().size());
index d9f8e072fa572c728951c9f78e9b207ee6bc65a0..d7ac577997dcd1653f15e28d0b93543ae5e4b382 100644 (file)
@@ -416,8 +416,8 @@ struct FE_Q_Base<xdim, xspacedim>::Implementation
 template <int dim, int spacedim>
 FE_Q_Base<dim, spacedim>::FE_Q_Base(
   const ScalarPolynomialsBase<dim> &poly_space,
-  const FiniteElementData<dim> &    fe_data,
-  const std::vector<bool> &         restriction_is_additive_flags)
+  const FiniteElementData<dim>     &fe_data,
+  const std::vector<bool>          &restriction_is_additive_flags)
   : FE_Poly<dim, spacedim>(
       poly_space,
       fe_data,
@@ -511,7 +511,7 @@ template <int dim, int spacedim>
 void
 FE_Q_Base<dim, spacedim>::get_interpolation_matrix(
   const FiniteElement<dim, spacedim> &x_source_fe,
-  FullMatrix<double> &                interpolation_matrix) const
+  FullMatrix<double>                 &interpolation_matrix) const
 {
   // go through the list of elements we can interpolate from
   if (const FE_Q_Base<dim, spacedim> *source_fe =
@@ -611,7 +611,7 @@ template <int dim, int spacedim>
 void
 FE_Q_Base<dim, spacedim>::get_face_interpolation_matrix(
   const FiniteElement<dim, spacedim> &source_fe,
-  FullMatrix<double> &                interpolation_matrix,
+  FullMatrix<double>                 &interpolation_matrix,
   const unsigned int                  face_no) const
 {
   get_subface_interpolation_matrix(source_fe,
@@ -627,7 +627,7 @@ void
 FE_Q_Base<dim, spacedim>::get_subface_interpolation_matrix(
   const FiniteElement<dim, spacedim> &source_fe,
   const unsigned int                  subface,
-  FullMatrix<double> &                interpolation_matrix,
+  FullMatrix<double>                 &interpolation_matrix,
   const unsigned int                  face_no) const
 {
   Assert(interpolation_matrix.m() == source_fe.n_dofs_per_face(face_no),
index dbd2b047f2d20d93c0cc53a6378a5670ed2f8746..274ace01a7e345b8e87e9f4b2f76d8ca3561810d 100644 (file)
@@ -46,7 +46,7 @@ namespace internal
       template <int dim, int spacedim>
       inline void
       compute_embedding_matrices(
-        const dealii::FE_Q_Bubbles<dim, spacedim> &   fe,
+        const dealii::FE_Q_Bubbles<dim, spacedim>    &fe,
         std::vector<std::vector<FullMatrix<double>>> &matrices,
         const bool                                    isotropic_only)
       {
@@ -355,7 +355,7 @@ void
 FE_Q_Bubbles<dim, spacedim>::
   convert_generalized_support_point_values_to_dof_values(
     const std::vector<Vector<double>> &support_point_values,
-    std::vector<double> &              nodal_values) const
+    std::vector<double>               &nodal_values) const
 {
   Assert(support_point_values.size() == this->unit_support_points.size(),
          ExcDimensionMismatch(support_point_values.size(),
@@ -384,7 +384,7 @@ template <int dim, int spacedim>
 void
 FE_Q_Bubbles<dim, spacedim>::get_interpolation_matrix(
   const FiniteElement<dim, spacedim> &x_source_fe,
-  FullMatrix<double> &                interpolation_matrix) const
+  FullMatrix<double>                 &interpolation_matrix) const
 {
   // We don't know how to do this properly, yet.
   // However, for SolutionTransfer to work we need to provide an implementation
index 1efc0542ab5e11ab39cee7916fbade944563aa4d..5161c294dd5992fa7faf29dd37cf949d71e8bc08 100644 (file)
@@ -180,7 +180,7 @@ template <int dim, int spacedim>
 void
 FE_Q_DG0<dim, spacedim>::convert_generalized_support_point_values_to_dof_values(
   const std::vector<Vector<double>> &support_point_values,
-  std::vector<double> &              nodal_dofs) const
+  std::vector<double>               &nodal_dofs) const
 {
   Assert(support_point_values.size() == this->unit_support_points.size(),
          ExcDimensionMismatch(support_point_values.size(),
@@ -208,7 +208,7 @@ template <int dim, int spacedim>
 void
 FE_Q_DG0<dim, spacedim>::get_interpolation_matrix(
   const FiniteElement<dim, spacedim> &x_source_fe,
-  FullMatrix<double> &                interpolation_matrix) const
+  FullMatrix<double>                 &interpolation_matrix) const
 {
   // this is only implemented, if the source FE is also a Q_DG0 element
   using FEQDG0 = FE_Q_DG0<dim, spacedim>;
index 61bcd21628ed63d99c906909c5ab0b2ec7618189..794f0d0e1f998300f32c1a0390fb43c6476b1da2 100644 (file)
@@ -152,7 +152,7 @@ template <int dim>
 void
 FE_Q_Hierarchical<dim>::get_interpolation_matrix(
   const FiniteElement<dim> &source,
-  FullMatrix<double> &      matrix) const
+  FullMatrix<double>       &matrix) const
 {
   // support interpolation between FE_Q_Hierarchical only.
   if (const FE_Q_Hierarchical<dim> *source_fe =
@@ -931,7 +931,7 @@ template <int dim>
 void
 FE_Q_Hierarchical<dim>::get_face_interpolation_matrix(
   const FiniteElement<dim> &x_source_fe,
-  FullMatrix<double> &      interpolation_matrix,
+  FullMatrix<double>       &interpolation_matrix,
   const unsigned int        face_no) const
 {
   // this is only implemented, if the
@@ -1020,7 +1020,7 @@ void
 FE_Q_Hierarchical<dim>::get_subface_interpolation_matrix(
   const FiniteElement<dim> &x_source_fe,
   const unsigned int        subface,
-  FullMatrix<double> &      interpolation_matrix,
+  FullMatrix<double>       &interpolation_matrix,
   const unsigned int        face_no) const
 {
   // this is only implemented, if the
index 1cf5b8e7ba82349ff0967d19000c98caf3598666..b8fa658733cc3848ec72b77c4e373d3d1114fe2e 100644 (file)
@@ -98,7 +98,7 @@ void
 FE_Q_iso_Q1<dim, spacedim>::
   convert_generalized_support_point_values_to_dof_values(
     const std::vector<Vector<double>> &support_point_values,
-    std::vector<double> &              nodal_values) const
+    std::vector<double>               &nodal_values) const
 {
   AssertDimension(support_point_values.size(),
                   this->get_unit_support_points().size());
index 02c732418031e3f017cb366d51ee848f3e51ba49..873b44c2c3a01835b6e24a6e2a1253f86404f029 100644 (file)
@@ -112,7 +112,7 @@ template <int dim>
 void
 FE_RannacherTurek<dim>::convert_generalized_support_point_values_to_dof_values(
   const std::vector<Vector<double>> &support_point_values,
-  std::vector<double> &              nodal_values) const
+  std::vector<double>               &nodal_values) const
 {
   AssertDimension(support_point_values.size(),
                   this->generalized_support_points.size());
index 1d40cdc3ef536ec53d5504d9861c8deaae78d135..367385db5785e2791115b9b63fa80511b0aa3d3a 100644 (file)
@@ -677,7 +677,7 @@ template <int dim>
 void
 FE_RaviartThomas<dim>::convert_generalized_support_point_values_to_dof_values(
   const std::vector<Vector<double>> &support_point_values,
-  std::vector<double> &              nodal_values) const
+  std::vector<double>               &nodal_values) const
 {
   Assert(support_point_values.size() == this->generalized_support_points.size(),
          ExcDimensionMismatch(support_point_values.size(),
index 50b3e5fd5ff17fe792218a762511da0ec80c7a33..f00b69c3958214019cba9f7437b16e22a397800b 100644 (file)
@@ -242,7 +242,7 @@ void
 FE_RaviartThomasNodal<dim>::
   convert_generalized_support_point_values_to_dof_values(
     const std::vector<Vector<double>> &support_point_values,
-    std::vector<double> &              nodal_values) const
+    std::vector<double>               &nodal_values) const
 {
   Assert(support_point_values.size() == this->generalized_support_points.size(),
          ExcDimensionMismatch(support_point_values.size(),
@@ -489,7 +489,7 @@ template <int dim>
 void
 FE_RaviartThomasNodal<dim>::get_face_interpolation_matrix(
   const FiniteElement<dim> &x_source_fe,
-  FullMatrix<double> &      interpolation_matrix,
+  FullMatrix<double>       &interpolation_matrix,
   const unsigned int        face_no) const
 {
   // this is only implemented, if the
@@ -580,7 +580,7 @@ void
 FE_RaviartThomasNodal<dim>::get_subface_interpolation_matrix(
   const FiniteElement<dim> &x_source_fe,
   const unsigned int        subface,
-  FullMatrix<double> &      interpolation_matrix,
+  FullMatrix<double>       &interpolation_matrix,
   const unsigned int        face_no) const
 {
   // this is only implemented, if the source FE is also a RaviartThomasNodal
index e2fdaad578cfd743e943e9ee86acf4d43e83015f..25ff68000c4f725bade0a3bf0f20c8fb238042ef 100644 (file)
@@ -307,7 +307,7 @@ template <int dim>
 void
 FE_RT_Bubbles<dim>::convert_generalized_support_point_values_to_dof_values(
   const std::vector<Vector<double>> &support_point_values,
-  std::vector<double> &              nodal_values) const
+  std::vector<double>               &nodal_values) const
 {
   Assert(support_point_values.size() == this->generalized_support_points.size(),
          ExcDimensionMismatch(support_point_values.size(),
index e780a98de87ce7465211a1430539fde07ba07eae..626541d53727243445cfe6fdcb93553b3852c58f 100644 (file)
@@ -66,8 +66,8 @@ namespace
   template <int dim, int spacedim>
   std::complex<double>
   integrate(const FiniteElement<dim, spacedim> &fe,
-            const Quadrature<dim> &             quadrature,
-            const Tensor<1, dim> &              k_vector,
+            const Quadrature<dim>              &quadrature,
+            const Tensor<1, dim>               &k_vector,
             const unsigned int                  j,
             const unsigned int                  component)
   {
@@ -91,10 +91,10 @@ namespace
   template <int spacedim>
   void
   ensure_existence(
-    const std::vector<unsigned int> &              n_coefficients_per_direction,
-    const hp::FECollection<1, spacedim> &          fe_collection,
-    const hp::QCollection<1> &                     q_collection,
-    const Table<1, Tensor<1, 1>> &                 k_vectors,
+    const std::vector<unsigned int>               &n_coefficients_per_direction,
+    const hp::FECollection<1, spacedim>           &fe_collection,
+    const hp::QCollection<1>                      &q_collection,
+    const Table<1, Tensor<1, 1>>                  &k_vectors,
     const unsigned int                             fe,
     const unsigned int                             component,
     std::vector<FullMatrix<std::complex<double>>> &fourier_transform_matrices)
@@ -117,10 +117,10 @@ namespace
   template <int spacedim>
   void
   ensure_existence(
-    const std::vector<unsigned int> &              n_coefficients_per_direction,
-    const hp::FECollection<2, spacedim> &          fe_collection,
-    const hp::QCollection<2> &                     q_collection,
-    const Table<2, Tensor<1, 2>> &                 k_vectors,
+    const std::vector<unsigned int>               &n_coefficients_per_direction,
+    const hp::FECollection<2, spacedim>           &fe_collection,
+    const hp::QCollection<2>                      &q_collection,
+    const Table<2, Tensor<1, 2>>                  &k_vectors,
     const unsigned int                             fe,
     const unsigned int                             component,
     std::vector<FullMatrix<std::complex<double>>> &fourier_transform_matrices)
@@ -151,10 +151,10 @@ namespace
   template <int spacedim>
   void
   ensure_existence(
-    const std::vector<unsigned int> &              n_coefficients_per_direction,
-    const hp::FECollection<3, spacedim> &          fe_collection,
-    const hp::QCollection<3> &                     q_collection,
-    const Table<3, Tensor<1, 3>> &                 k_vectors,
+    const std::vector<unsigned int>               &n_coefficients_per_direction,
+    const hp::FECollection<3, spacedim>           &fe_collection,
+    const hp::QCollection<3>                      &q_collection,
+    const Table<3, Tensor<1, 3>>                  &k_vectors,
     const unsigned int                             fe,
     const unsigned int                             component,
     std::vector<FullMatrix<std::complex<double>>> &fourier_transform_matrices)
@@ -190,9 +190,9 @@ namespace FESeries
 {
   template <int dim, int spacedim>
   Fourier<dim, spacedim>::Fourier(
-    const std::vector<unsigned int> &      n_coefficients_per_direction,
+    const std::vector<unsigned int>       &n_coefficients_per_direction,
     const hp::FECollection<dim, spacedim> &fe_collection,
-    const hp::QCollection<dim> &           q_collection,
+    const hp::QCollection<dim>            &q_collection,
     const unsigned int                     component_)
     : n_coefficients_per_direction(n_coefficients_per_direction)
     , fe_collection(&fe_collection)
@@ -276,7 +276,7 @@ namespace FESeries
   template <typename Number>
   void
   Fourier<dim, spacedim>::calculate(
-    const Vector<Number> &       local_dof_values,
+    const Vector<Number>        &local_dof_values,
     const unsigned int           cell_active_fe_index,
     Table<dim, CoefficientType> &fourier_coefficients)
   {
index b67f4eb368133cf737843092a09291a6942d1701..fcf08ce9b072260faa204aa96f41efe0f61ac56c 100644 (file)
@@ -72,8 +72,8 @@ namespace
   template <int dim, int spacedim>
   double
   integrate(const FiniteElement<dim, spacedim> &fe,
-            const Quadrature<dim> &             quadrature,
-            const TableIndices<dim> &           indices,
+            const Quadrature<dim>              &quadrature,
+            const TableIndices<dim>            &indices,
             const unsigned int                  dof,
             const unsigned int                  component)
   {
@@ -97,12 +97,12 @@ namespace
   template <int spacedim>
   void
   ensure_existence(
-    const std::vector<unsigned int> &    n_coefficients_per_direction,
+    const std::vector<unsigned int>     &n_coefficients_per_direction,
     const hp::FECollection<1, spacedim> &fe_collection,
-    const hp::QCollection<1> &           q_collection,
+    const hp::QCollection<1>            &q_collection,
     const unsigned int                   fe,
     const unsigned int                   component,
-    std::vector<FullMatrix<double>> &    legendre_transform_matrices)
+    std::vector<FullMatrix<double>>     &legendre_transform_matrices)
   {
     AssertIndexRange(fe, fe_collection.size());
 
@@ -126,12 +126,12 @@ namespace
   template <int spacedim>
   void
   ensure_existence(
-    const std::vector<unsigned int> &    n_coefficients_per_direction,
+    const std::vector<unsigned int>     &n_coefficients_per_direction,
     const hp::FECollection<2, spacedim> &fe_collection,
-    const hp::QCollection<2> &           q_collection,
+    const hp::QCollection<2>            &q_collection,
     const unsigned int                   fe,
     const unsigned int                   component,
-    std::vector<FullMatrix<double>> &    legendre_transform_matrices)
+    std::vector<FullMatrix<double>>     &legendre_transform_matrices)
   {
     AssertIndexRange(fe, fe_collection.size());
 
@@ -159,12 +159,12 @@ namespace
   template <int spacedim>
   void
   ensure_existence(
-    const std::vector<unsigned int> &    n_coefficients_per_direction,
+    const std::vector<unsigned int>     &n_coefficients_per_direction,
     const hp::FECollection<3, spacedim> &fe_collection,
-    const hp::QCollection<3> &           q_collection,
+    const hp::QCollection<3>            &q_collection,
     const unsigned int                   fe,
     const unsigned int                   component,
-    std::vector<FullMatrix<double>> &    legendre_transform_matrices)
+    std::vector<FullMatrix<double>>     &legendre_transform_matrices)
   {
     AssertIndexRange(fe, fe_collection.size());
 
@@ -197,9 +197,9 @@ namespace FESeries
 {
   template <int dim, int spacedim>
   Legendre<dim, spacedim>::Legendre(
-    const std::vector<unsigned int> &      n_coefficients_per_direction,
+    const std::vector<unsigned int>       &n_coefficients_per_direction,
     const hp::FECollection<dim, spacedim> &fe_collection,
-    const hp::QCollection<dim> &           q_collection,
+    const hp::QCollection<dim>            &q_collection,
     const unsigned int                     component_)
     : n_coefficients_per_direction(n_coefficients_per_direction)
     , fe_collection(&fe_collection)
@@ -282,7 +282,7 @@ namespace FESeries
   Legendre<dim, spacedim>::calculate(
     const dealii::Vector<Number> &local_dof_values,
     const unsigned int            cell_active_fe_index,
-    Table<dim, CoefficientType> legendre_coefficients)
+    Table<dim, CoefficientType>  &legendre_coefficients)
   {
     for (unsigned int d = 0; d < dim; ++d)
       AssertDimension(legendre_coefficients.size(d),
index b75e35be4535164edb0bf396f3020e1647a8039b..32f42a2167dba74d7b20938536bcd8c402e5f20a 100644 (file)
@@ -275,10 +275,10 @@ namespace
 template <int dim, int spacedim>
 FE_SimplexPoly<dim, spacedim>::FE_SimplexPoly(
   const BarycentricPolynomials<dim>              polynomials,
-  const FiniteElementData<dim> &                 fe_data,
-  const std::vector<Point<dim>> &                unit_support_points,
+  const FiniteElementData<dim>                  &fe_data,
+  const std::vector<Point<dim>>                 &unit_support_points,
   const std::vector<std::vector<Point<dim - 1>>> unit_face_support_points,
-  const FullMatrix<double> &                     interface_constraints)
+  const FullMatrix<double>                      &interface_constraints)
   : dealii::FE_Poly<dim, spacedim>(
       polynomials,
       fe_data,
@@ -393,7 +393,7 @@ template <int dim, int spacedim>
 void
 FE_SimplexPoly<dim, spacedim>::get_face_interpolation_matrix(
   const FiniteElement<dim, spacedim> &source_fe,
-  FullMatrix<double> &                interpolation_matrix,
+  FullMatrix<double>                 &interpolation_matrix,
   const unsigned int                  face_no) const
 {
   Assert(interpolation_matrix.m() == source_fe.n_dofs_per_face(face_no),
@@ -464,7 +464,7 @@ void
 FE_SimplexPoly<dim, spacedim>::get_subface_interpolation_matrix(
   const FiniteElement<dim, spacedim> &source_fe,
   const unsigned int                  subface,
-  FullMatrix<double> &                interpolation_matrix,
+  FullMatrix<double>                 &interpolation_matrix,
   const unsigned int                  face_no) const
 {
   Assert(interpolation_matrix.m() == source_fe.n_dofs_per_face(face_no),
@@ -546,7 +546,7 @@ void
 FE_SimplexPoly<dim, spacedim>::
   convert_generalized_support_point_values_to_dof_values(
     const std::vector<Vector<double>> &support_point_values,
-    std::vector<double> &              nodal_values) const
+    std::vector<double>               &nodal_values) const
 {
   AssertDimension(support_point_values.size(),
                   this->get_unit_support_points().size());
index e77e5a64f2045756ed9ca7d8e999dc3edc85e939..9c7fca6b3abc2a9191b4bedbaad6e806af74933f 100644 (file)
@@ -136,7 +136,7 @@ namespace internal
     const FESystem<dim, spacedim> &fe,
     const unsigned int             base_no,
     const UpdateFlags              base_flags,
-    const Table<2, unsigned int> base_to_system_table,
+    const Table<2, unsigned int>  &base_to_system_table,
     const FEValuesImplementation::FiniteElementRelatedData<dim, spacedim>
       &base_data,
     FEValuesImplementation::FiniteElementRelatedData<dim, spacedim>
@@ -483,7 +483,7 @@ FESystem<dim, spacedim>::FESystem(const FiniteElement<dim, spacedim> &fe1,
 template <int dim, int spacedim>
 FESystem<dim, spacedim>::FESystem(
   const std::vector<const FiniteElement<dim, spacedim> *> &fes,
-  const std::vector<unsigned int> &                        multiplicities)
+  const std::vector<unsigned int>                         &multiplicities)
   : FiniteElement<dim, spacedim>(
       FETools::Compositing::multiply_dof_numbers(fes, multiplicities),
       FETools::Compositing::compute_restriction_is_additive_flags(
@@ -575,7 +575,7 @@ FESystem<dim, spacedim>::get_sub_fe(
 template <int dim, int spacedim>
 double
 FESystem<dim, spacedim>::shape_value(const unsigned int i,
-                                     const Point<dim> p) const
+                                     const Point<dim>  &p) const
 {
   AssertIndexRange(i, this->n_dofs_per_cell());
   Assert(this->is_primitive(i),
@@ -592,7 +592,7 @@ template <int dim, int spacedim>
 double
 FESystem<dim, spacedim>::shape_value_component(
   const unsigned int i,
-  const Point<dim> p,
+  const Point<dim>  &p,
   const unsigned int component) const
 {
   AssertIndexRange(i, this->n_dofs_per_cell());
@@ -627,7 +627,7 @@ FESystem<dim, spacedim>::shape_value_component(
 template <int dim, int spacedim>
 Tensor<1, dim>
 FESystem<dim, spacedim>::shape_grad(const unsigned int i,
-                                    const Point<dim> p) const
+                                    const Point<dim>  &p) const
 {
   AssertIndexRange(i, this->n_dofs_per_cell());
   Assert(this->is_primitive(i),
@@ -644,7 +644,7 @@ template <int dim, int spacedim>
 Tensor<1, dim>
 FESystem<dim, spacedim>::shape_grad_component(
   const unsigned int i,
-  const Point<dim> p,
+  const Point<dim>  &p,
   const unsigned int component) const
 {
   AssertIndexRange(i, this->n_dofs_per_cell());
@@ -672,7 +672,7 @@ FESystem<dim, spacedim>::shape_grad_component(
 template <int dim, int spacedim>
 Tensor<2, dim>
 FESystem<dim, spacedim>::shape_grad_grad(const unsigned int i,
-                                         const Point<dim> p) const
+                                         const Point<dim>  &p) const
 {
   AssertIndexRange(i, this->n_dofs_per_cell());
   Assert(this->is_primitive(i),
@@ -689,7 +689,7 @@ template <int dim, int spacedim>
 Tensor<2, dim>
 FESystem<dim, spacedim>::shape_grad_grad_component(
   const unsigned int i,
-  const Point<dim> p,
+  const Point<dim>  &p,
   const unsigned int component) const
 {
   AssertIndexRange(i, this->n_dofs_per_cell());
@@ -717,7 +717,7 @@ FESystem<dim, spacedim>::shape_grad_grad_component(
 template <int dim, int spacedim>
 Tensor<3, dim>
 FESystem<dim, spacedim>::shape_3rd_derivative(const unsigned int i,
-                                              const Point<dim> p) const
+                                              const Point<dim>  &p) const
 {
   AssertIndexRange(i, this->n_dofs_per_cell());
   Assert(this->is_primitive(i),
@@ -734,7 +734,7 @@ template <int dim, int spacedim>
 Tensor<3, dim>
 FESystem<dim, spacedim>::shape_3rd_derivative_component(
   const unsigned int i,
-  const Point<dim> p,
+  const Point<dim>  &p,
   const unsigned int component) const
 {
   AssertIndexRange(i, this->n_dofs_per_cell());
@@ -762,7 +762,7 @@ FESystem<dim, spacedim>::shape_3rd_derivative_component(
 template <int dim, int spacedim>
 Tensor<4, dim>
 FESystem<dim, spacedim>::shape_4th_derivative(const unsigned int i,
-                                              const Point<dim> p) const
+                                              const Point<dim>  &p) const
 {
   AssertIndexRange(i, this->n_dofs_per_cell());
   Assert(this->is_primitive(i),
@@ -779,7 +779,7 @@ template <int dim, int spacedim>
 Tensor<4, dim>
 FESystem<dim, spacedim>::shape_4th_derivative_component(
   const unsigned int i,
-  const Point<dim> p,
+  const Point<dim>  &p,
   const unsigned int component) const
 {
   AssertIndexRange(i, this->n_dofs_per_cell());
@@ -808,7 +808,7 @@ template <int dim, int spacedim>
 void
 FESystem<dim, spacedim>::get_interpolation_matrix(
   const FiniteElement<dim, spacedim> &x_source_fe,
-  FullMatrix<double> &                interpolation_matrix) const
+  FullMatrix<double>                 &interpolation_matrix) const
 {
   // check that the size of the matrices is correct. for historical
   // reasons, if you call matrix.reinit(8,0), it sets the sizes
@@ -1102,7 +1102,7 @@ std::unique_ptr<typename FiniteElement<dim, spacedim>::InternalDataBase>
 FESystem<dim, spacedim>::get_data(
   const UpdateFlags             flags,
   const Mapping<dim, spacedim> &mapping,
-  const Quadrature<dim> &       quadrature,
+  const Quadrature<dim>        &quadrature,
   dealii::internal::FEValuesImplementation::FiniteElementRelatedData<dim,
                                                                      spacedim>
     & /*output_data*/) const
@@ -1164,7 +1164,7 @@ template <int dim, int spacedim>
 std::unique_ptr<typename FiniteElement<dim, spacedim>::InternalDataBase>
 FESystem<dim, spacedim>::get_face_data(
   const UpdateFlags               flags,
-  const Mapping<dim, spacedim> &  mapping,
+  const Mapping<dim, spacedim>   &mapping,
   const hp::QCollection<dim - 1> &quadrature,
   dealii::internal::FEValuesImplementation::FiniteElementRelatedData<dim,
                                                                      spacedim>
@@ -1228,7 +1228,7 @@ std::unique_ptr<typename FiniteElement<dim, spacedim>::InternalDataBase>
 FESystem<dim, spacedim>::get_subface_data(
   const UpdateFlags             flags,
   const Mapping<dim, spacedim> &mapping,
-  const Quadrature<dim - 1> &   quadrature,
+  const Quadrature<dim - 1>    &quadrature,
   dealii::internal::FEValuesImplementation::FiniteElementRelatedData<dim,
                                                                      spacedim>
     & /*output_data*/) const
@@ -1289,11 +1289,11 @@ void
 FESystem<dim, spacedim>::fill_fe_values(
   const typename Triangulation<dim, spacedim>::cell_iterator &cell,
   const CellSimilarity::Similarity                            cell_similarity,
-  const Quadrature<dim> &                                     quadrature,
-  const Mapping<dim, spacedim> &                              mapping,
-  const typename Mapping<dim, spacedim>::InternalDataBase &   mapping_internal,
+  const Quadrature<dim>                                      &quadrature,
+  const Mapping<dim, spacedim>                               &mapping,
+  const typename Mapping<dim, spacedim>::InternalDataBase    &mapping_internal,
   const internal::FEValuesImplementation::MappingRelatedData<dim, spacedim>
-    &                                                            mapping_data,
+                                                                &mapping_data,
   const typename FiniteElement<dim, spacedim>::InternalDataBase &fe_internal,
   dealii::internal::FEValuesImplementation::FiniteElementRelatedData<dim,
                                                                      spacedim>
@@ -1318,11 +1318,11 @@ void
 FESystem<dim, spacedim>::fill_fe_face_values(
   const typename Triangulation<dim, spacedim>::cell_iterator &cell,
   const unsigned int                                          face_no,
-  const hp::QCollection<dim - 1> &                            quadrature,
-  const Mapping<dim, spacedim> &                              mapping,
-  const typename Mapping<dim, spacedim>::InternalDataBase &   mapping_internal,
+  const hp::QCollection<dim - 1>                             &quadrature,
+  const Mapping<dim, spacedim>                               &mapping,
+  const typename Mapping<dim, spacedim>::InternalDataBase    &mapping_internal,
   const internal::FEValuesImplementation::MappingRelatedData<dim, spacedim>
-    &                                                            mapping_data,
+                                                                &mapping_data,
   const typename FiniteElement<dim, spacedim>::InternalDataBase &fe_internal,
   dealii::internal::FEValuesImplementation::FiniteElementRelatedData<dim,
                                                                      spacedim>
@@ -1348,11 +1348,11 @@ FESystem<dim, spacedim>::fill_fe_subface_values(
   const typename Triangulation<dim, spacedim>::cell_iterator &cell,
   const unsigned int                                          face_no,
   const unsigned int                                          sub_no,
-  const Quadrature<dim - 1> &                                 quadrature,
-  const Mapping<dim, spacedim> &                              mapping,
-  const typename Mapping<dim, spacedim>::InternalDataBase &   mapping_internal,
+  const Quadrature<dim - 1>                                  &quadrature,
+  const Mapping<dim, spacedim>                               &mapping,
+  const typename Mapping<dim, spacedim>::InternalDataBase    &mapping_internal,
   const internal::FEValuesImplementation::MappingRelatedData<dim, spacedim>
-    &                                                            mapping_data,
+                                                                &mapping_data,
   const typename FiniteElement<dim, spacedim>::InternalDataBase &fe_internal,
   dealii::internal::FEValuesImplementation::FiniteElementRelatedData<dim,
                                                                      spacedim>
@@ -1376,13 +1376,13 @@ template <int dim, int spacedim>
 template <class Q_or_QC>
 void
 FESystem<dim, spacedim>::compute_fill(
-  const Mapping<dim, spacedim> &                              mapping,
+  const Mapping<dim, spacedim>                               &mapping,
   const typename Triangulation<dim, spacedim>::cell_iterator &cell,
   const unsigned int                                          face_no,
   const unsigned int                                          sub_no,
-  const Q_or_QC &                                             quadrature,
+  const Q_or_QC                                              &quadrature,
   const CellSimilarity::Similarity                            cell_similarity,
-  const typename Mapping<dim, spacedim>::InternalDataBase &   mapping_internal,
+  const typename Mapping<dim, spacedim>::InternalDataBase    &mapping_internal,
   const typename FiniteElement<dim, spacedim>::InternalDataBase &fe_internal,
   const internal::FEValuesImplementation::MappingRelatedData<dim, spacedim>
     &mapping_data,
@@ -1423,9 +1423,9 @@ FESystem<dim, spacedim>::compute_fill(
 
         // If we have mixed meshes we need to support a QCollection here, hence
         // this pointer casting workaround:
-        const Quadrature<dim> *         cell_quadrature     = nullptr;
+        const Quadrature<dim>          *cell_quadrature     = nullptr;
         const hp::QCollection<dim - 1> *face_quadrature     = nullptr;
-        const Quadrature<dim - 1> *     sub_face_quadrature = nullptr;
+        const Quadrature<dim - 1>      *sub_face_quadrature = nullptr;
         unsigned int n_q_points = numbers::invalid_unsigned_int;
 
         // static cast through the common base class:
@@ -1647,88 +1647,90 @@ FESystem<dim, spacedim>::build_interface_constraints()
                   // then come the 12 sets of line indices
                   if (m < 5 * this->n_dofs_per_vertex() +
                             12 * this->n_dofs_per_line())
-                  {
-                    // for the meaning of all this, see the 2d part
-                    const unsigned int index_in_line =
-                      (m - 5 * this->n_dofs_per_vertex()) %
-                      this->n_dofs_per_line();
-                    const unsigned int sub_line =
-                      (m - 5 * this->n_dofs_per_vertex()) /
-                      this->n_dofs_per_line();
-                    Assert(sub_line < 12, ExcInternalError());
-
-                    const unsigned int tmp1 =
-                      4 * this->n_dofs_per_vertex() + index_in_line;
-                    m_index.first =
-                      this->face_system_to_base_table[face_no][tmp1].first;
-
-                    Assert(
-                      this->face_system_to_base_table[face_no][tmp1].second >=
+                    {
+                      // for the meaning of all this, see the 2d part
+                      const unsigned int index_in_line =
+                        (m - 5 * this->n_dofs_per_vertex()) %
+                        this->n_dofs_per_line();
+                      const unsigned int sub_line =
+                        (m - 5 * this->n_dofs_per_vertex()) /
+                        this->n_dofs_per_line();
+                      Assert(sub_line < 12, ExcInternalError());
+
+                      const unsigned int tmp1 =
+                        4 * this->n_dofs_per_vertex() + index_in_line;
+                      m_index.first =
+                        this->face_system_to_base_table[face_no][tmp1].first;
+
+                      Assert(
+                        this->face_system_to_base_table[face_no][tmp1].second >=
+                          4 * base_element(m_index.first.first)
+                                .n_dofs_per_vertex(),
+                        ExcInternalError());
+                      const unsigned int tmp2 =
+                        this->face_system_to_base_table[face_no][tmp1].second -
                         4 *
-                          base_element(m_index.first.first).n_dofs_per_vertex(),
-                      ExcInternalError());
-                    const unsigned int tmp2 =
-                      this->face_system_to_base_table[face_no][tmp1].second -
-                      4 * base_element(m_index.first.first).n_dofs_per_vertex();
-                    Assert(tmp2 < base_element(m_index.first.first)
-                                    .n_dofs_per_line(),
-                           ExcInternalError());
-                    m_index.second =
-                      5 *
-                        base_element(m_index.first.first).n_dofs_per_vertex() +
-                      base_element(m_index.first.first).n_dofs_per_line() *
-                        sub_line +
-                      tmp2;
-                  }
-                else
-                  // on one of the four sub-quads
-                  {
-                    // for the meaning of all this, see the 2d part
-                    const unsigned int index_in_quad =
-                      (m - 5 * this->n_dofs_per_vertex() -
-                       12 * this->n_dofs_per_line()) %
-                      this->n_dofs_per_quad(face_no);
-                    Assert(index_in_quad < this->n_dofs_per_quad(face_no),
-                           ExcInternalError());
-                    const unsigned int sub_quad =
-                      ((m - 5 * this->n_dofs_per_vertex() -
-                        12 * this->n_dofs_per_line()) /
-                       this->n_dofs_per_quad(face_no));
-                    Assert(sub_quad < 4, ExcInternalError());
-
-                    const unsigned int tmp1 = 4 * this->n_dofs_per_vertex() +
-                                              4 * this->n_dofs_per_line() +
-                                              index_in_quad;
-                    Assert(tmp1 <
-                             this->face_system_to_base_table[face_no].size(),
-                           ExcInternalError());
-                    m_index.first =
-                      this->face_system_to_base_table[face_no][tmp1].first;
-
-                    Assert(
-                      this->face_system_to_base_table[face_no][tmp1].second >=
+                          base_element(m_index.first.first).n_dofs_per_vertex();
+                      Assert(tmp2 < base_element(m_index.first.first)
+                                      .n_dofs_per_line(),
+                             ExcInternalError());
+                      m_index.second =
+                        5 * base_element(m_index.first.first)
+                              .n_dofs_per_vertex() +
+                        base_element(m_index.first.first).n_dofs_per_line() *
+                          sub_line +
+                        tmp2;
+                    }
+                  else
+                    // on one of the four sub-quads
+                    {
+                      // for the meaning of all this, see the 2d part
+                      const unsigned int index_in_quad =
+                        (m - 5 * this->n_dofs_per_vertex() -
+                         12 * this->n_dofs_per_line()) %
+                        this->n_dofs_per_quad(face_no);
+                      Assert(index_in_quad < this->n_dofs_per_quad(face_no),
+                             ExcInternalError());
+                      const unsigned int sub_quad =
+                        ((m - 5 * this->n_dofs_per_vertex() -
+                          12 * this->n_dofs_per_line()) /
+                         this->n_dofs_per_quad(face_no));
+                      Assert(sub_quad < 4, ExcInternalError());
+
+                      const unsigned int tmp1 = 4 * this->n_dofs_per_vertex() +
+                                                4 * this->n_dofs_per_line() +
+                                                index_in_quad;
+                      Assert(tmp1 <
+                               this->face_system_to_base_table[face_no].size(),
+                             ExcInternalError());
+                      m_index.first =
+                        this->face_system_to_base_table[face_no][tmp1].first;
+
+                      Assert(
+                        this->face_system_to_base_table[face_no][tmp1].second >=
+                          4 * base_element(m_index.first.first)
+                                .n_dofs_per_vertex() +
+                            4 * base_element(m_index.first.first)
+                                  .n_dofs_per_line(),
+                        ExcInternalError());
+                      const unsigned int tmp2 =
+                        this->face_system_to_base_table[face_no][tmp1].second -
                         4 * base_element(m_index.first.first)
+                              .n_dofs_per_vertex() -
+                        4 * base_element(m_index.first.first).n_dofs_per_line();
+                      Assert(tmp2 < base_element(m_index.first.first)
+                                      .n_dofs_per_quad(face_no),
+                             ExcInternalError());
+                      m_index.second =
+                        5 * base_element(m_index.first.first)
                               .n_dofs_per_vertex() +
-                          4 *
-                            base_element(m_index.first.first).n_dofs_per_line(),
-                      ExcInternalError());
-                    const unsigned int tmp2 =
-                      this->face_system_to_base_table[face_no][tmp1].second -
-                      4 *
-                        base_element(m_index.first.first).n_dofs_per_vertex() -
-                      4 * base_element(m_index.first.first).n_dofs_per_line();
-                    Assert(tmp2 < base_element(m_index.first.first)
-                                    .n_dofs_per_quad(face_no),
-                           ExcInternalError());
-                    m_index.second =
-                      5 *
-                        base_element(m_index.first.first).n_dofs_per_vertex() +
-                      12 * base_element(m_index.first.first).n_dofs_per_line() +
-                      base_element(m_index.first.first)
-                          .n_dofs_per_quad(face_no) *
-                        sub_quad +
-                      tmp2;
-                  }
+                        12 *
+                          base_element(m_index.first.first).n_dofs_per_line() +
+                        base_element(m_index.first.first)
+                            .n_dofs_per_quad(face_no) *
+                          sub_quad +
+                        tmp2;
+                    }
 
                 break;
               }
@@ -1753,7 +1755,7 @@ template <int dim, int spacedim>
 void
 FESystem<dim, spacedim>::initialize(
   const std::vector<const FiniteElement<dim, spacedim> *> &fes,
-  const std::vector<unsigned int> &                        multiplicities)
+  const std::vector<unsigned int>                         &multiplicities)
 {
   Assert(fes.size() == multiplicities.size(),
          ExcDimensionMismatch(fes.size(), multiplicities.size()));
@@ -2078,7 +2080,7 @@ template <int dim, int spacedim>
 void
 FESystem<dim, spacedim>::get_face_interpolation_matrix(
   const FiniteElement<dim, spacedim> &x_source_fe,
-  FullMatrix<double> &                interpolation_matrix,
+  FullMatrix<double>                 &interpolation_matrix,
   const unsigned int                  face_no) const
 {
   Assert(interpolation_matrix.n() == this->n_dofs_per_face(face_no),
@@ -2195,7 +2197,7 @@ void
 FESystem<dim, spacedim>::get_subface_interpolation_matrix(
   const FiniteElement<dim, spacedim> &x_source_fe,
   const unsigned int                  subface,
-  FullMatrix<double> &                interpolation_matrix,
+  FullMatrix<double>                 &interpolation_matrix,
   const unsigned int                  face_no) const
 {
   AssertThrow(
@@ -2641,7 +2643,7 @@ template <int dim, int spacedim>
 void
 FESystem<dim, spacedim>::convert_generalized_support_point_values_to_dof_values(
   const std::vector<Vector<double>> &point_values,
-  std::vector<double> &              dof_values) const
+  std::vector<double>               &dof_values) const
 {
   Assert(this->has_generalized_support_points(),
          ExcMessage("The FESystem does not have generalized support points"));
@@ -2662,7 +2664,7 @@ FESystem<dim, spacedim>::convert_generalized_support_point_values_to_dof_values(
       // We need access to the base_element, its multiplicity, the
       // number of generalized support points (n_base_points) and the
       // number of components we're dealing with.
-      const auto &       base_element      = this->base_element(base);
+      const auto        &base_element      = this->base_element(base);
       const unsigned int multiplicity      = this->element_multiplicity(base);
       const unsigned int n_base_dofs       = base_element.n_dofs_per_cell();
       const unsigned int n_base_components = base_element.n_components();
index d45ff66c35cc252d7490d85f16a353aa4e838e19..4d44541b9eb9ff6758483e3bab785e0cf6a80286 100644 (file)
@@ -25,7 +25,7 @@ for (deal_II_dimension : DIMENSIONS; deal_II_space_dimension : SPACE_DIMENSIONS)
         multiply_dof_numbers(
           const std::vector<
             const FiniteElement<deal_II_dimension, deal_II_space_dimension> *>
-            &                              fes,
+                                          &fes,
           const std::vector<unsigned int> &multiplicities,
           bool);
 
@@ -46,7 +46,7 @@ for (deal_II_dimension : DIMENSIONS; deal_II_space_dimension : SPACE_DIMENSIONS)
         compute_restriction_is_additive_flags(
           const std::vector<
             const FiniteElement<deal_II_dimension, deal_II_space_dimension> *>
-            &                              fes,
+                                          &fes,
           const std::vector<unsigned int> &multiplicities);
 
         template std::vector<bool>
@@ -66,7 +66,7 @@ for (deal_II_dimension : DIMENSIONS; deal_II_space_dimension : SPACE_DIMENSIONS)
         compute_nonzero_components(
           const std::vector<
             const FiniteElement<deal_II_dimension, deal_II_space_dimension> *>
-            &                              fes,
+                                          &fes,
           const std::vector<unsigned int> &multiplicities,
           const bool                       do_tensor_product);
 
@@ -89,7 +89,7 @@ for (deal_II_dimension : DIMENSIONS; deal_II_space_dimension : SPACE_DIMENSIONS)
           std::vector<std::pair<std::pair<unsigned int, unsigned int>,
                                 unsigned int>> &system_to_base_table,
           std::vector<std::pair<unsigned int, unsigned int>>
-            &                                   system_to_component_table,
+                                               &system_to_component_table,
           std::vector<std::pair<std::pair<unsigned int, unsigned int>,
                                 unsigned int>> &component_to_base_table,
           const FiniteElement<deal_II_dimension, deal_II_space_dimension> &fe,
index a076da260e5c7c542447ae58776fce73a7412390..e42cd128c7dba13270b5a4530a74b5c4fce1d45c 100644 (file)
@@ -132,7 +132,7 @@ void
 FE_TraceQ<dim, spacedim>::
   convert_generalized_support_point_values_to_dof_values(
     const std::vector<Vector<double>> &support_point_values,
-    std::vector<double> &              nodal_values) const
+    std::vector<double>               &nodal_values) const
 {
   AssertDimension(support_point_values.size(),
                   this->get_unit_support_points().size());
@@ -217,7 +217,7 @@ template <int dim, int spacedim>
 void
 FE_TraceQ<dim, spacedim>::get_face_interpolation_matrix(
   const FiniteElement<dim, spacedim> &source_fe,
-  FullMatrix<double> &                interpolation_matrix,
+  FullMatrix<double>                 &interpolation_matrix,
   const unsigned int                  face_no) const
 {
   get_subface_interpolation_matrix(source_fe,
@@ -233,7 +233,7 @@ void
 FE_TraceQ<dim, spacedim>::get_subface_interpolation_matrix(
   const FiniteElement<dim, spacedim> &x_source_fe,
   const unsigned int                  subface,
-  FullMatrix<double> &                interpolation_matrix,
+  FullMatrix<double>                 &interpolation_matrix,
   const unsigned int                  face_no) const
 {
   // this is the code from FE_FaceQ
index 9fe7158f8fa5d9bbcb7e5b17386e45e49995d5ca..cbcf35f08b9a4f1703eef0c5131bcea5af875876 100644 (file)
@@ -158,9 +158,9 @@ const unsigned int FEValues<dim, spacedim>::integral_dimension;
 
 
 template <int dim, int spacedim>
-FEValues<dim, spacedim>::FEValues(const Mapping<dim, spacedim> &      mapping,
+FEValues<dim, spacedim>::FEValues(const Mapping<dim, spacedim>       &mapping,
                                   const FiniteElement<dim, spacedim> &fe,
-                                  const Quadrature<dim> &             q,
+                                  const Quadrature<dim>              &q,
                                   const UpdateFlags update_flags)
   : FEValuesBase<dim, spacedim>(q.size(),
                                 fe.n_dofs_per_cell(),
@@ -175,9 +175,9 @@ FEValues<dim, spacedim>::FEValues(const Mapping<dim, spacedim> &      mapping,
 
 
 template <int dim, int spacedim>
-FEValues<dim, spacedim>::FEValues(const Mapping<dim, spacedim> &      mapping,
+FEValues<dim, spacedim>::FEValues(const Mapping<dim, spacedim>       &mapping,
                                   const FiniteElement<dim, spacedim> &fe,
-                                  const hp::QCollection<dim> &        q,
+                                  const hp::QCollection<dim>         &q,
                                   const UpdateFlags update_flags)
   : FEValues(mapping, fe, q[0], update_flags)
 {
@@ -188,7 +188,7 @@ FEValues<dim, spacedim>::FEValues(const Mapping<dim, spacedim> &      mapping,
 
 template <int dim, int spacedim>
 FEValues<dim, spacedim>::FEValues(const FiniteElement<dim, spacedim> &fe,
-                                  const Quadrature<dim> &             q,
+                                  const Quadrature<dim>              &q,
                                   const UpdateFlags update_flags)
   : FEValuesBase<dim, spacedim>(
       q.size(),
@@ -205,7 +205,7 @@ FEValues<dim, spacedim>::FEValues(const FiniteElement<dim, spacedim> &fe,
 
 template <int dim, int spacedim>
 FEValues<dim, spacedim>::FEValues(const FiniteElement<dim, spacedim> &fe,
-                                  const hp::QCollection<dim> &        q,
+                                  const hp::QCollection<dim>         &q,
                                   const UpdateFlags update_flags)
   : FEValues(fe, q[0], update_flags)
 {
@@ -377,9 +377,9 @@ template <int dim, int spacedim>
 FEFaceValuesBase<dim, spacedim>::FEFaceValuesBase(
   const unsigned int                  dofs_per_cell,
   const UpdateFlags                   flags,
-  const Mapping<dim, spacedim> &      mapping,
+  const Mapping<dim, spacedim>       &mapping,
   const FiniteElement<dim, spacedim> &fe,
-  const Quadrature<dim - 1> &         quadrature)
+  const Quadrature<dim - 1>          &quadrature)
   : FEFaceValuesBase<dim, spacedim>(dofs_per_cell,
                                     flags,
                                     mapping,
@@ -393,9 +393,9 @@ template <int dim, int spacedim>
 FEFaceValuesBase<dim, spacedim>::FEFaceValuesBase(
   const unsigned int dofs_per_cell,
   const UpdateFlags,
-  const Mapping<dim, spacedim> &      mapping,
+  const Mapping<dim, spacedim>       &mapping,
   const FiniteElement<dim, spacedim> &fe,
-  const hp::QCollection<dim - 1> &    quadrature)
+  const hp::QCollection<dim - 1>     &quadrature)
   : FEValuesBase<dim, spacedim>(quadrature.max_n_quadrature_points(),
                                 dofs_per_cell,
                                 update_default,
@@ -446,9 +446,9 @@ const unsigned int FEFaceValues<dim, spacedim>::integral_dimension;
 
 template <int dim, int spacedim>
 FEFaceValues<dim, spacedim>::FEFaceValues(
-  const Mapping<dim, spacedim> &      mapping,
+  const Mapping<dim, spacedim>       &mapping,
   const FiniteElement<dim, spacedim> &fe,
-  const Quadrature<dim - 1> &         quadrature,
+  const Quadrature<dim - 1>          &quadrature,
   const UpdateFlags                   update_flags)
   : FEFaceValues<dim, spacedim>(mapping,
                                 fe,
@@ -460,9 +460,9 @@ FEFaceValues<dim, spacedim>::FEFaceValues(
 
 template <int dim, int spacedim>
 FEFaceValues<dim, spacedim>::FEFaceValues(
-  const Mapping<dim, spacedim> &      mapping,
+  const Mapping<dim, spacedim>       &mapping,
   const FiniteElement<dim, spacedim> &fe,
-  const hp::QCollection<dim - 1> &    quadrature,
+  const hp::QCollection<dim - 1>     &quadrature,
   const UpdateFlags                   update_flags)
   : FEFaceValuesBase<dim, spacedim>(fe.n_dofs_per_cell(),
                                     update_flags,
@@ -478,7 +478,7 @@ FEFaceValues<dim, spacedim>::FEFaceValues(
 template <int dim, int spacedim>
 FEFaceValues<dim, spacedim>::FEFaceValues(
   const FiniteElement<dim, spacedim> &fe,
-  const Quadrature<dim - 1> &         quadrature,
+  const Quadrature<dim - 1>          &quadrature,
   const UpdateFlags                   update_flags)
   : FEFaceValues<dim, spacedim>(fe,
                                 hp::QCollection<dim - 1>(quadrature),
@@ -490,7 +490,7 @@ FEFaceValues<dim, spacedim>::FEFaceValues(
 template <int dim, int spacedim>
 FEFaceValues<dim, spacedim>::FEFaceValues(
   const FiniteElement<dim, spacedim> &fe,
-  const hp::QCollection<dim - 1> &    quadrature,
+  const hp::QCollection<dim - 1>     &quadrature,
   const UpdateFlags                   update_flags)
   : FEFaceValuesBase<dim, spacedim>(
       fe.n_dofs_per_cell(),
@@ -596,7 +596,7 @@ template <int dim, int spacedim>
 template <bool lda>
 void
 FEFaceValues<dim, spacedim>::reinit(
-  const TriaIterator<DoFCellAccessor<dim, spacedim, lda>> &   cell,
+  const TriaIterator<DoFCellAccessor<dim, spacedim, lda>>    &cell,
   const typename Triangulation<dim, spacedim>::face_iterator &face)
 {
   const auto face_n = cell->face_iterator_to_index(face);
@@ -685,9 +685,9 @@ const unsigned int FESubfaceValues<dim, spacedim>::integral_dimension;
 
 template <int dim, int spacedim>
 FESubfaceValues<dim, spacedim>::FESubfaceValues(
-  const Mapping<dim, spacedim> &      mapping,
+  const Mapping<dim, spacedim>       &mapping,
   const FiniteElement<dim, spacedim> &fe,
-  const Quadrature<dim - 1> &         quadrature,
+  const Quadrature<dim - 1>          &quadrature,
   const UpdateFlags                   update_flags)
   : FEFaceValuesBase<dim, spacedim>(fe.n_dofs_per_cell(),
                                     update_flags,
@@ -702,9 +702,9 @@ FESubfaceValues<dim, spacedim>::FESubfaceValues(
 
 template <int dim, int spacedim>
 FESubfaceValues<dim, spacedim>::FESubfaceValues(
-  const Mapping<dim, spacedim> &      mapping,
+  const Mapping<dim, spacedim>       &mapping,
   const FiniteElement<dim, spacedim> &fe,
-  const hp::QCollection<dim - 1> &    quadrature,
+  const hp::QCollection<dim - 1>     &quadrature,
   const UpdateFlags                   update_flags)
   : FESubfaceValues(mapping, fe, quadrature[0], update_flags)
 {
@@ -716,7 +716,7 @@ FESubfaceValues<dim, spacedim>::FESubfaceValues(
 template <int dim, int spacedim>
 FESubfaceValues<dim, spacedim>::FESubfaceValues(
   const FiniteElement<dim, spacedim> &fe,
-  const Quadrature<dim - 1> &         quadrature,
+  const Quadrature<dim - 1>          &quadrature,
   const UpdateFlags                   update_flags)
   : FEFaceValuesBase<dim, spacedim>(
       fe.n_dofs_per_cell(),
@@ -733,7 +733,7 @@ FESubfaceValues<dim, spacedim>::FESubfaceValues(
 template <int dim, int spacedim>
 FESubfaceValues<dim, spacedim>::FESubfaceValues(
   const FiniteElement<dim, spacedim> &fe,
-  const hp::QCollection<dim - 1> &    quadrature,
+  const hp::QCollection<dim - 1>     &quadrature,
   const UpdateFlags                   update_flags)
   : FESubfaceValues(fe, quadrature[0], update_flags)
 {
@@ -839,7 +839,7 @@ template <int dim, int spacedim>
 template <bool lda>
 void
 FESubfaceValues<dim, spacedim>::reinit(
-  const TriaIterator<DoFCellAccessor<dim, spacedim, lda>> &   cell,
+  const TriaIterator<DoFCellAccessor<dim, spacedim, lda>>    &cell,
   const typename Triangulation<dim, spacedim>::face_iterator &face,
   const typename Triangulation<dim, spacedim>::face_iterator &subface)
 {
index 4c9c4f4a12f41875b789c17166b747cd6af46012..c25863ca8598d295ceb65e1aa21fe5c231f6b3c7 100644 (file)
@@ -166,7 +166,7 @@ template <typename Number>
 void
 FEValuesBase<dim, spacedim>::CellIteratorContainer::get_interpolated_dof_values(
   const ReadVector<Number> &in,
-  Vector<Number> &          out) const
+  Vector<Number>           &out) const
 {
   Assert(is_initialized(), ExcNotReinited());
   Assert(dof_handler != nullptr, ExcNeedsDoFHandler());
@@ -190,7 +190,7 @@ FEValuesBase<dim, spacedim>::CellIteratorContainer::get_interpolated_dof_values(
 template <int dim, int spacedim>
 void
 FEValuesBase<dim, spacedim>::CellIteratorContainer::get_interpolated_dof_values(
-  const IndexSet &              in,
+  const IndexSet               &in,
   Vector<IndexSet::value_type> &out) const
 {
   Assert(is_initialized(), ExcNotReinited());
@@ -218,7 +218,7 @@ FEValuesBase<dim, spacedim>::FEValuesBase(
   const unsigned int                  n_q_points,
   const unsigned int                  dofs_per_cell,
   const UpdateFlags                   flags,
-  const Mapping<dim, spacedim> &      mapping,
+  const Mapping<dim, spacedim>       &mapping,
   const FiniteElement<dim, spacedim> &fe)
   : n_quadrature_points(n_q_points)
   , max_n_quadrature_points(n_q_points)
@@ -257,9 +257,9 @@ namespace internal
 
   template <typename Number, typename Number2>
   void
-  do_function_values(const ArrayView<Number2> &      dof_values,
+  do_function_values(const ArrayView<Number2>       &dof_values,
                      const dealii::Table<2, double> &shape_values,
-                     std::vector<Number> &           values)
+                     std::vector<Number>            &values)
   {
     // scalar finite elements, so shape_values.size() == dofs_per_cell
     const unsigned int dofs_per_cell       = shape_values.n_rows();
@@ -299,8 +299,8 @@ namespace internal
   void
   do_function_values(
     const ArrayView<typename VectorType::value_type> &dof_values,
-    const dealii::Table<2, double> &                  shape_values,
-    const FiniteElement<dim, spacedim> &              fe,
+    const dealii::Table<2, double>                   &shape_values,
+    const FiniteElement<dim, spacedim>               &fe,
     const std::vector<unsigned int> &shape_function_to_row_table,
     ArrayView<VectorType>            values,
     const bool                       quadrature_points_fastest = false,
@@ -384,7 +384,7 @@ namespace internal
                 const unsigned int row =
                   shape_function_to_row_table[shape_func * n_components + c];
 
-                const double *     shape_value_ptr = &shape_values(row, 0);
+                const double      *shape_value_ptr = &shape_values(row, 0);
                 const unsigned int comp            = c + mc * n_components;
 
                 if (quadrature_points_fastest)
@@ -409,9 +409,9 @@ namespace internal
   template <int order, int spacedim, typename Number>
   void
   do_function_derivatives(
-    const ArrayView<Number> &                        dof_values,
+    const ArrayView<Number>                         &dof_values,
     const dealii::Table<2, Tensor<order, spacedim>> &shape_derivatives,
-    std::vector<Tensor<order, spacedim, Number>> &   derivatives)
+    std::vector<Tensor<order, spacedim, Number>>    &derivatives)
   {
     const unsigned int dofs_per_cell       = shape_derivatives.size()[0];
     const unsigned int n_quadrature_points = derivatives.size();
@@ -449,9 +449,9 @@ namespace internal
   template <int order, int dim, int spacedim, typename Number>
   void
   do_function_derivatives(
-    const ArrayView<Number> &                        dof_values,
+    const ArrayView<Number>                         &dof_values,
     const dealii::Table<2, Tensor<order, spacedim>> &shape_derivatives,
-    const FiniteElement<dim, spacedim> &             fe,
+    const FiniteElement<dim, spacedim>              &fe,
     const std::vector<unsigned int> &shape_function_to_row_table,
     ArrayView<std::vector<Tensor<order, spacedim, Number>>> derivatives,
     const bool         quadrature_points_fastest = false,
@@ -556,9 +556,9 @@ namespace internal
   template <int spacedim, typename Number, typename Number2>
   void
   do_function_laplacians(
-    const ArrayView<Number2> &                   dof_values,
+    const ArrayView<Number2>                    &dof_values,
     const dealii::Table<2, Tensor<2, spacedim>> &shape_hessians,
-    std::vector<Number> &                        laplacians)
+    std::vector<Number>                         &laplacians)
   {
     const unsigned int dofs_per_cell       = shape_hessians.size()[0];
     const unsigned int n_quadrature_points = laplacians.size();
@@ -593,11 +593,11 @@ namespace internal
   template <int dim, int spacedim, typename VectorType, typename Number>
   void
   do_function_laplacians(
-    const ArrayView<Number> &                    dof_values,
+    const ArrayView<Number>                     &dof_values,
     const dealii::Table<2, Tensor<2, spacedim>> &shape_hessians,
-    const FiniteElement<dim, spacedim> &         fe,
-    const std::vector<unsigned int> &            shape_function_to_row_table,
-    std::vector<VectorType> &                    laplacians,
+    const FiniteElement<dim, spacedim>          &fe,
+    const std::vector<unsigned int>             &shape_function_to_row_table,
+    std::vector<VectorType>                     &laplacians,
     const bool         quadrature_points_fastest = false,
     const unsigned int component_multiple        = 1)
   {
@@ -709,7 +709,7 @@ template <typename Number>
 void
 FEValuesBase<dim, spacedim>::get_function_values(
   const ReadVector<Number> &fe_function,
-  std::vector<Number> &     values) const
+  std::vector<Number>      &values) const
 {
   Assert(this->update_flags & update_values,
          ExcAccessToUninitializedField("update_values"));
@@ -732,9 +732,9 @@ template <int dim, int spacedim>
 template <typename Number>
 void
 FEValuesBase<dim, spacedim>::get_function_values(
-  const ReadVector<Number> &                      fe_function,
+  const ReadVector<Number>                       &fe_function,
   const ArrayView<const types::global_dof_index> &indices,
-  std::vector<Number> &                           values) const
+  std::vector<Number>                            &values) const
 {
   Assert(this->update_flags & update_values,
          ExcAccessToUninitializedField("update_values"));
@@ -755,7 +755,7 @@ template <int dim, int spacedim>
 template <typename Number>
 void
 FEValuesBase<dim, spacedim>::get_function_values(
-  const ReadVector<Number> &   fe_function,
+  const ReadVector<Number>    &fe_function,
   std::vector<Vector<Number>> &values) const
 {
   Assert(present_cell.is_initialized(), ExcNotReinited());
@@ -781,9 +781,9 @@ template <int dim, int spacedim>
 template <typename Number>
 void
 FEValuesBase<dim, spacedim>::get_function_values(
-  const ReadVector<Number> &                      fe_function,
+  const ReadVector<Number>                       &fe_function,
   const ArrayView<const types::global_dof_index> &indices,
-  std::vector<Vector<Number>> &                   values) const
+  std::vector<Vector<Number>>                    &values) const
 {
   // Size of indices must be a multiple of dofs_per_cell such that an integer
   // number of function values is generated in each point.
@@ -811,7 +811,7 @@ template <int dim, int spacedim>
 template <typename Number>
 void
 FEValuesBase<dim, spacedim>::get_function_values(
-  const ReadVector<Number> &                      fe_function,
+  const ReadVector<Number>                       &fe_function,
   const ArrayView<const types::global_dof_index> &indices,
   ArrayView<std::vector<Number>>                  values,
   const bool quadrature_points_fastest) const
@@ -843,7 +843,7 @@ template <int dim, int spacedim>
 template <typename Number>
 void
 FEValuesBase<dim, spacedim>::get_function_gradients(
-  const ReadVector<Number> &                fe_function,
+  const ReadVector<Number>                 &fe_function,
   std::vector<Tensor<1, spacedim, Number>> &gradients) const
 {
   Assert(this->update_flags & update_gradients,
@@ -867,9 +867,9 @@ template <int dim, int spacedim>
 template <typename Number>
 void
 FEValuesBase<dim, spacedim>::get_function_gradients(
-  const ReadVector<Number> &                      fe_function,
+  const ReadVector<Number>                       &fe_function,
   const ArrayView<const types::global_dof_index> &indices,
-  std::vector<Tensor<1, spacedim, Number>> &      gradients) const
+  std::vector<Tensor<1, spacedim, Number>>       &gradients) const
 {
   Assert(this->update_flags & update_gradients,
          ExcAccessToUninitializedField("update_gradients"));
@@ -890,7 +890,7 @@ template <int dim, int spacedim>
 template <typename Number>
 void
 FEValuesBase<dim, spacedim>::get_function_gradients(
-  const ReadVector<Number> &                             fe_function,
+  const ReadVector<Number>                              &fe_function,
   std::vector<std::vector<Tensor<1, spacedim, Number>>> &gradients) const
 {
   Assert(this->update_flags & update_gradients,
@@ -915,8 +915,8 @@ template <int dim, int spacedim>
 template <typename Number>
 void
 FEValuesBase<dim, spacedim>::get_function_gradients(
-  const ReadVector<Number> &                          fe_function,
-  const ArrayView<const types::global_dof_index> &    indices,
+  const ReadVector<Number>                           &fe_function,
+  const ArrayView<const types::global_dof_index>     &indices,
   ArrayView<std::vector<Tensor<1, spacedim, Number>>> gradients,
   const bool quadrature_points_fastest) const
 {
@@ -946,7 +946,7 @@ template <int dim, int spacedim>
 template <typename Number>
 void
 FEValuesBase<dim, spacedim>::get_function_hessians(
-  const ReadVector<Number> &                fe_function,
+  const ReadVector<Number>                 &fe_function,
   std::vector<Tensor<2, spacedim, Number>> &hessians) const
 {
   AssertDimension(fe->n_components(), 1);
@@ -970,9 +970,9 @@ template <int dim, int spacedim>
 template <typename Number>
 void
 FEValuesBase<dim, spacedim>::get_function_hessians(
-  const ReadVector<Number> &                      fe_function,
+  const ReadVector<Number>                       &fe_function,
   const ArrayView<const types::global_dof_index> &indices,
-  std::vector<Tensor<2, spacedim, Number>> &      hessians) const
+  std::vector<Tensor<2, spacedim, Number>>       &hessians) const
 {
   Assert(this->update_flags & update_hessians,
          ExcAccessToUninitializedField("update_hessians"));
@@ -993,7 +993,7 @@ template <int dim, int spacedim>
 template <typename Number>
 void
 FEValuesBase<dim, spacedim>::get_function_hessians(
-  const ReadVector<Number> &                             fe_function,
+  const ReadVector<Number>                              &fe_function,
   std::vector<std::vector<Tensor<2, spacedim, Number>>> &hessians,
   const bool quadrature_points_fastest) const
 {
@@ -1020,8 +1020,8 @@ template <int dim, int spacedim>
 template <typename Number>
 void
 FEValuesBase<dim, spacedim>::get_function_hessians(
-  const ReadVector<Number> &                          fe_function,
-  const ArrayView<const types::global_dof_index> &    indices,
+  const ReadVector<Number>                           &fe_function,
+  const ArrayView<const types::global_dof_index>     &indices,
   ArrayView<std::vector<Tensor<2, spacedim, Number>>> hessians,
   const bool quadrature_points_fastest) const
 {
@@ -1050,7 +1050,7 @@ template <typename Number>
 void
 FEValuesBase<dim, spacedim>::get_function_laplacians(
   const ReadVector<Number> &fe_function,
-  std::vector<Number> &     laplacians) const
+  std::vector<Number>      &laplacians) const
 {
   Assert(this->update_flags & update_hessians,
          ExcAccessToUninitializedField("update_hessians"));
@@ -1073,9 +1073,9 @@ template <int dim, int spacedim>
 template <typename Number>
 void
 FEValuesBase<dim, spacedim>::get_function_laplacians(
-  const ReadVector<Number> &                      fe_function,
+  const ReadVector<Number>                       &fe_function,
   const ArrayView<const types::global_dof_index> &indices,
-  std::vector<Number> &                           laplacians) const
+  std::vector<Number>                            &laplacians) const
 {
   Assert(this->update_flags & update_hessians,
          ExcAccessToUninitializedField("update_hessians"));
@@ -1096,7 +1096,7 @@ template <int dim, int spacedim>
 template <typename Number>
 void
 FEValuesBase<dim, spacedim>::get_function_laplacians(
-  const ReadVector<Number> &   fe_function,
+  const ReadVector<Number>    &fe_function,
   std::vector<Vector<Number>> &laplacians) const
 {
   Assert(present_cell.is_initialized(), ExcNotReinited());
@@ -1121,9 +1121,9 @@ template <int dim, int spacedim>
 template <typename Number>
 void
 FEValuesBase<dim, spacedim>::get_function_laplacians(
-  const ReadVector<Number> &                      fe_function,
+  const ReadVector<Number>                       &fe_function,
   const ArrayView<const types::global_dof_index> &indices,
-  std::vector<Vector<Number>> &                   laplacians) const
+  std::vector<Vector<Number>>                    &laplacians) const
 {
   // Size of indices must be a multiple of dofs_per_cell such that an integer
   // number of function values is generated in each point.
@@ -1151,9 +1151,9 @@ template <int dim, int spacedim>
 template <typename Number>
 void
 FEValuesBase<dim, spacedim>::get_function_laplacians(
-  const ReadVector<Number> &                      fe_function,
+  const ReadVector<Number>                       &fe_function,
   const ArrayView<const types::global_dof_index> &indices,
-  std::vector<std::vector<Number>> &              laplacians,
+  std::vector<std::vector<Number>>               &laplacians,
   const bool quadrature_points_fastest) const
 {
   Assert(indices.size() % dofs_per_cell == 0,
@@ -1180,7 +1180,7 @@ template <int dim, int spacedim>
 template <typename Number>
 void
 FEValuesBase<dim, spacedim>::get_function_third_derivatives(
-  const ReadVector<Number> &                fe_function,
+  const ReadVector<Number>                 &fe_function,
   std::vector<Tensor<3, spacedim, Number>> &third_derivatives) const
 {
   AssertDimension(fe->n_components(), 1);
@@ -1204,9 +1204,9 @@ template <int dim, int spacedim>
 template <typename Number>
 void
 FEValuesBase<dim, spacedim>::get_function_third_derivatives(
-  const ReadVector<Number> &                      fe_function,
+  const ReadVector<Number>                       &fe_function,
   const ArrayView<const types::global_dof_index> &indices,
-  std::vector<Tensor<3, spacedim, Number>> &      third_derivatives) const
+  std::vector<Tensor<3, spacedim, Number>>       &third_derivatives) const
 {
   Assert(this->update_flags & update_3rd_derivatives,
          ExcAccessToUninitializedField("update_3rd_derivatives"));
@@ -1226,7 +1226,7 @@ template <int dim, int spacedim>
 template <typename Number>
 void
 FEValuesBase<dim, spacedim>::get_function_third_derivatives(
-  const ReadVector<Number> &                             fe_function,
+  const ReadVector<Number>                              &fe_function,
   std::vector<std::vector<Tensor<3, spacedim, Number>>> &third_derivatives,
   const bool quadrature_points_fastest) const
 {
@@ -1253,8 +1253,8 @@ template <int dim, int spacedim>
 template <typename Number>
 void
 FEValuesBase<dim, spacedim>::get_function_third_derivatives(
-  const ReadVector<Number> &                          fe_function,
-  const ArrayView<const types::global_dof_index> &    indices,
+  const ReadVector<Number>                           &fe_function,
+  const ArrayView<const types::global_dof_index>     &indices,
   ArrayView<std::vector<Tensor<3, spacedim, Number>>> third_derivatives,
   const bool quadrature_points_fastest) const
 {
@@ -1434,14 +1434,15 @@ FEValuesBase<dim, spacedim>::check_cell_similarity(
     // in MappingQ, data can have been modified during the last call. Then, we
     // can't use that data on the new cell.
     if (cell_similarity == CellSimilarity::invalid_next_cell)
-    cell_similarity = CellSimilarity::none;
-  else
-    cell_similarity =
-      (cell->is_translation_of(
-         static_cast<const typename Triangulation<dim, spacedim>::cell_iterator
-                       &>(this->present_cell)) ?
-         CellSimilarity::translation :
-         CellSimilarity::none);
+      cell_similarity = CellSimilarity::none;
+    else
+      cell_similarity =
+        (cell->is_translation_of(
+           static_cast<
+             const typename Triangulation<dim, spacedim>::cell_iterator &>(
+             this->present_cell)) ?
+           CellSimilarity::translation :
+           CellSimilarity::none);
 
   if ((dim < spacedim) && (cell_similarity == CellSimilarity::translation))
     {
index 8326181698304c15a588706e1fa3a6046d50710d..383f26608d227f0fbfc1b984156bde355b40fc95 100644 (file)
@@ -360,7 +360,7 @@ namespace FEValuesViews
   template <typename Number>
   void
   Scalar<dim, spacedim>::get_function_values(
-    const ReadVector<Number> &                fe_function,
+    const ReadVector<Number>                 &fe_function,
     std::vector<solution_value_type<Number>> &values) const
   {
     Assert(fe_values->update_flags & update_values,
@@ -411,7 +411,7 @@ namespace FEValuesViews
   template <typename Number>
   void
   Scalar<dim, spacedim>::get_function_gradients(
-    const ReadVector<Number> &                   fe_function,
+    const ReadVector<Number>                    &fe_function,
     std::vector<solution_gradient_type<Number>> &gradients) const
   {
     Assert(fe_values->update_flags & update_gradients,
@@ -463,7 +463,7 @@ namespace FEValuesViews
   template <typename Number>
   void
   Scalar<dim, spacedim>::get_function_hessians(
-    const ReadVector<Number> &                  fe_function,
+    const ReadVector<Number>                   &fe_function,
     std::vector<solution_hessian_type<Number>> &hessians) const
   {
     Assert(fe_values->update_flags & update_hessians,
@@ -515,7 +515,7 @@ namespace FEValuesViews
   template <typename Number>
   void
   Scalar<dim, spacedim>::get_function_laplacians(
-    const ReadVector<Number> &                    fe_function,
+    const ReadVector<Number>                     &fe_function,
     std::vector<solution_laplacian_type<Number>> &laplacians) const
   {
     Assert(fe_values->update_flags & update_hessians,
@@ -567,7 +567,7 @@ namespace FEValuesViews
   template <typename Number>
   void
   Scalar<dim, spacedim>::get_function_third_derivatives(
-    const ReadVector<Number> &                           fe_function,
+    const ReadVector<Number>                            &fe_function,
     std::vector<solution_third_derivative_type<Number>> &third_derivatives)
     const
   {
@@ -621,7 +621,7 @@ namespace FEValuesViews
   template <typename Number>
   void
   Vector<dim, spacedim>::get_function_values(
-    const ReadVector<Number> &                fe_function,
+    const ReadVector<Number>                 &fe_function,
     std::vector<solution_value_type<Number>> &values) const
   {
     Assert(fe_values->update_flags & update_values,
@@ -671,7 +671,7 @@ namespace FEValuesViews
   template <typename Number>
   void
   Vector<dim, spacedim>::get_function_gradients(
-    const ReadVector<Number> &                   fe_function,
+    const ReadVector<Number>                    &fe_function,
     std::vector<solution_gradient_type<Number>> &gradients) const
   {
     Assert(fe_values->update_flags & update_gradients,
@@ -723,7 +723,7 @@ namespace FEValuesViews
   template <typename Number>
   void
   Vector<dim, spacedim>::get_function_symmetric_gradients(
-    const ReadVector<Number> &                             fe_function,
+    const ReadVector<Number>                              &fe_function,
     std::vector<solution_symmetric_gradient_type<Number>> &symmetric_gradients)
     const
   {
@@ -777,7 +777,7 @@ namespace FEValuesViews
   template <typename Number>
   void
   Vector<dim, spacedim>::get_function_divergences(
-    const ReadVector<Number> &                     fe_function,
+    const ReadVector<Number>                      &fe_function,
     std::vector<solution_divergence_type<Number>> &divergences) const
   {
     Assert(fe_values->update_flags & update_gradients,
@@ -830,7 +830,7 @@ namespace FEValuesViews
   template <typename Number>
   void
   Vector<dim, spacedim>::get_function_curls(
-    const ReadVector<Number> &               fe_function,
+    const ReadVector<Number>                &fe_function,
     std::vector<solution_curl_type<Number>> &curls) const
   {
     Assert(fe_values->update_flags & update_gradients,
@@ -882,7 +882,7 @@ namespace FEValuesViews
   template <typename Number>
   void
   Vector<dim, spacedim>::get_function_hessians(
-    const ReadVector<Number> &                  fe_function,
+    const ReadVector<Number>                   &fe_function,
     std::vector<solution_hessian_type<Number>> &hessians) const
   {
     Assert(fe_values->update_flags & update_hessians,
@@ -934,7 +934,7 @@ namespace FEValuesViews
   template <typename Number>
   void
   Vector<dim, spacedim>::get_function_laplacians(
-    const ReadVector<Number> &                fe_function,
+    const ReadVector<Number>                 &fe_function,
     std::vector<solution_value_type<Number>> &laplacians) const
   {
     Assert(fe_values->update_flags & update_hessians,
@@ -994,7 +994,7 @@ namespace FEValuesViews
   template <typename Number>
   void
   Vector<dim, spacedim>::get_function_third_derivatives(
-    const ReadVector<Number> &                           fe_function,
+    const ReadVector<Number>                            &fe_function,
     std::vector<solution_third_derivative_type<Number>> &third_derivatives)
     const
   {
@@ -1048,7 +1048,7 @@ namespace FEValuesViews
   template <typename Number>
   void
   SymmetricTensor<2, dim, spacedim>::get_function_values(
-    const ReadVector<Number> &                fe_function,
+    const ReadVector<Number>                 &fe_function,
     std::vector<solution_value_type<Number>> &values) const
   {
     Assert(fe_values->update_flags & update_values,
@@ -1098,7 +1098,7 @@ namespace FEValuesViews
   template <typename Number>
   void
   SymmetricTensor<2, dim, spacedim>::get_function_divergences(
-    const ReadVector<Number> &                     fe_function,
+    const ReadVector<Number>                      &fe_function,
     std::vector<solution_divergence_type<Number>> &divergences) const
   {
     Assert(fe_values->update_flags & update_gradients,
@@ -1152,7 +1152,7 @@ namespace FEValuesViews
   template <typename Number>
   void
   Tensor<2, dim, spacedim>::get_function_values(
-    const ReadVector<Number> &                fe_function,
+    const ReadVector<Number>                 &fe_function,
     std::vector<solution_value_type<Number>> &values) const
   {
     Assert(fe_values->update_flags & update_values,
@@ -1202,7 +1202,7 @@ namespace FEValuesViews
   template <typename Number>
   void
   Tensor<2, dim, spacedim>::get_function_divergences(
-    const ReadVector<Number> &                     fe_function,
+    const ReadVector<Number>                      &fe_function,
     std::vector<solution_divergence_type<Number>> &divergences) const
   {
     Assert(fe_values->update_flags & update_gradients,
@@ -1255,7 +1255,7 @@ namespace FEValuesViews
   template <typename Number>
   void
   Tensor<2, dim, spacedim>::get_function_gradients(
-    const ReadVector<Number> &                   fe_function,
+    const ReadVector<Number>                    &fe_function,
     std::vector<solution_gradient_type<Number>> &gradients) const
   {
     Assert(fe_values->update_flags & update_gradients,
index 030db4d57a26d941e20331ae42f0f44e1649d3b5..66e2742dbc5c9ee829a6b083052d060ceadb8fb6 100644 (file)
@@ -64,7 +64,7 @@ namespace FEValuesViews
     void
     do_function_values(
       const ArrayView<const Number> &dof_values,
-      const Table<2, double> &       shape_values,
+      const Table<2, double>        &shape_values,
       const std::vector<typename Scalar<dim, spacedim>::ShapeFunctionData>
         &shape_function_data,
       std::vector<typename ProductType<Number, double>::type> &values)
@@ -101,7 +101,7 @@ namespace FEValuesViews
     template <int order, int dim, int spacedim, typename Number>
     void
     do_function_derivatives(
-      const ArrayView<const Number> &                  dof_values,
+      const ArrayView<const Number>                   &dof_values,
       const Table<2, dealii::Tensor<order, spacedim>> &shape_derivatives,
       const std::vector<typename Scalar<dim, spacedim>::ShapeFunctionData>
         &shape_function_data,
@@ -143,7 +143,7 @@ namespace FEValuesViews
     template <int dim, int spacedim, typename Number>
     void
     do_function_laplacians(
-      const ArrayView<const Number> &              dof_values,
+      const ArrayView<const Number>               &dof_values,
       const Table<2, dealii::Tensor<2, spacedim>> &shape_hessians,
       const std::vector<typename Scalar<dim, spacedim>::ShapeFunctionData>
         &shape_function_data,
@@ -187,7 +187,7 @@ namespace FEValuesViews
     void
     do_function_values(
       const ArrayView<const Number> &dof_values,
-      const Table<2, double> &       shape_values,
+      const Table<2, double>        &shape_values,
       const std::vector<typename Vector<dim, spacedim>::ShapeFunctionData>
         &shape_function_data,
       std::vector<
@@ -247,7 +247,7 @@ namespace FEValuesViews
     template <int order, int dim, int spacedim, typename Number>
     void
     do_function_derivatives(
-      const ArrayView<const Number> &                  dof_values,
+      const ArrayView<const Number>                   &dof_values,
       const Table<2, dealii::Tensor<order, spacedim>> &shape_derivatives,
       const std::vector<typename Vector<dim, spacedim>::ShapeFunctionData>
         &shape_function_data,
@@ -312,7 +312,7 @@ namespace FEValuesViews
     template <int dim, int spacedim, typename Number>
     void
     do_function_symmetric_gradients(
-      const ArrayView<const Number> &              dof_values,
+      const ArrayView<const Number>               &dof_values,
       const Table<2, dealii::Tensor<1, spacedim>> &shape_gradients,
       const std::vector<typename Vector<dim, spacedim>::ShapeFunctionData>
         &shape_function_data,
@@ -386,7 +386,7 @@ namespace FEValuesViews
     template <int dim, int spacedim, typename Number>
     void
     do_function_divergences(
-      const ArrayView<const Number> &              dof_values,
+      const ArrayView<const Number>               &dof_values,
       const Table<2, dealii::Tensor<1, spacedim>> &shape_gradients,
       const std::vector<typename Vector<dim, spacedim>::ShapeFunctionData>
         &shape_function_data,
@@ -449,7 +449,7 @@ namespace FEValuesViews
     template <int dim, int spacedim, typename Number>
     void
     do_function_curls(
-      const ArrayView<const Number> &              dof_values,
+      const ArrayView<const Number>               &dof_values,
       const Table<2, dealii::Tensor<1, spacedim>> &shape_gradients,
       const std::vector<typename Vector<dim, spacedim>::ShapeFunctionData>
         &shape_function_data,
@@ -709,7 +709,7 @@ namespace FEValuesViews
     template <int dim, int spacedim, typename Number>
     void
     do_function_laplacians(
-      const ArrayView<const Number> &              dof_values,
+      const ArrayView<const Number>               &dof_values,
       const Table<2, dealii::Tensor<2, spacedim>> &shape_hessians,
       const std::vector<typename Vector<dim, spacedim>::ShapeFunctionData>
         &shape_function_data,
@@ -776,7 +776,7 @@ namespace FEValuesViews
     template <int dim, int spacedim, typename Number>
     void
     do_function_values(
-      const ArrayView<const Number> dof_values,
+      const ArrayView<const Number>  &dof_values,
       const dealii::Table<2, double> &shape_values,
       const std::vector<
         typename SymmetricTensor<2, dim, spacedim>::ShapeFunctionData>
@@ -848,7 +848,7 @@ namespace FEValuesViews
     template <int dim, int spacedim, typename Number>
     void
     do_function_divergences(
-      const ArrayView<const Number> &              dof_values,
+      const ArrayView<const Number>               &dof_values,
       const Table<2, dealii::Tensor<1, spacedim>> &shape_gradients,
       const std::vector<
         typename SymmetricTensor<2, dim, spacedim>::ShapeFunctionData>
@@ -955,7 +955,7 @@ namespace FEValuesViews
     template <int dim, int spacedim, typename Number>
     void
     do_function_values(
-      const ArrayView<const Number> dof_values,
+      const ArrayView<const Number>  &dof_values,
       const dealii::Table<2, double> &shape_values,
       const std::vector<typename Tensor<2, dim, spacedim>::ShapeFunctionData>
         &shape_function_data,
@@ -1025,7 +1025,7 @@ namespace FEValuesViews
     template <int dim, int spacedim, typename Number>
     void
     do_function_divergences(
-      const ArrayView<const Number> &              dof_values,
+      const ArrayView<const Number>               &dof_values,
       const Table<2, dealii::Tensor<1, spacedim>> &shape_gradients,
       const std::vector<typename Tensor<2, dim, spacedim>::ShapeFunctionData>
         &shape_function_data,
@@ -1095,7 +1095,7 @@ namespace FEValuesViews
     template <int dim, int spacedim, typename Number>
     void
     do_function_gradients(
-      const ArrayView<const Number> &              dof_values,
+      const ArrayView<const Number>               &dof_values,
       const Table<2, dealii::Tensor<1, spacedim>> &shape_gradients,
       const std::vector<typename Tensor<2, dim, spacedim>::ShapeFunctionData>
         &shape_function_data,
index 905ce1932d7b2325a62a0204f67de51e57fc1765..21a7dfaadbbdb653e1e99c99d60eab5a17bf1887 100644 (file)
@@ -85,7 +85,7 @@ namespace
 template <int dim, int spacedim>
 FE_WedgePoly<dim, spacedim>::FE_WedgePoly(
   const unsigned int                                degree,
-  const internal::GenericDoFsPerObject &            dpos,
+  const internal::GenericDoFsPerObject             &dpos,
   const typename FiniteElementData<dim>::Conformity conformity)
   : dealii::FE_Poly<dim, spacedim>(
       ScalarLagrangePolynomialWedge<dim>(degree),
@@ -144,7 +144,7 @@ void
 FE_WedgePoly<dim, spacedim>::
   convert_generalized_support_point_values_to_dof_values(
     const std::vector<Vector<double>> &support_point_values,
-    std::vector<double> &              nodal_values) const
+    std::vector<double>               &nodal_values) const
 {
   AssertDimension(support_point_values.size(),
                   this->get_unit_support_points().size());
index 358eff7db845cfd7c7f652c9bc5498a6e226288c..d57f36d9350f6385b9ebf288819b50c99d40a6a7 100644 (file)
@@ -131,8 +131,8 @@ template <int dim, int spacedim>
 void
 Mapping<dim, spacedim>::transform_points_real_to_unit_cell(
   const typename Triangulation<dim, spacedim>::cell_iterator &cell,
-  const ArrayView<const Point<spacedim>> &                    real_points,
-  const ArrayView<Point<dim>> &                               unit_points) const
+  const ArrayView<const Point<spacedim>>                     &real_points,
+  const ArrayView<Point<dim>>                                &unit_points) const
 {
   AssertDimension(real_points.size(), unit_points.size());
   for (unsigned int i = 0; i < real_points.size(); ++i)
@@ -156,7 +156,7 @@ Point<dim - 1>
 Mapping<dim, spacedim>::project_real_point_to_unit_point_on_face(
   const typename Triangulation<dim, spacedim>::cell_iterator &cell,
   const unsigned int                                          face_no,
-  const Point<spacedim> &                                     p) const
+  const Point<spacedim>                                      &p) const
 {
   // The function doesn't make physical sense for dim=1
   Assert(dim > 1, ExcNotImplemented());
@@ -198,8 +198,8 @@ void
 Mapping<dim, spacedim>::fill_fe_face_values(
   const typename Triangulation<dim, spacedim>::cell_iterator &cell,
   const unsigned int                                          face_no,
-  const hp::QCollection<dim - 1> &                            quadrature,
-  const typename Mapping<dim, spacedim>::InternalDataBase &   internal_data,
+  const hp::QCollection<dim - 1>                             &quadrature,
+  const typename Mapping<dim, spacedim>::InternalDataBase    &internal_data,
   internal::FEValuesImplementation::MappingRelatedData<dim, spacedim>
     &output_data) const
 {
@@ -215,8 +215,8 @@ void
 Mapping<dim, spacedim>::fill_fe_face_values(
   const typename Triangulation<dim, spacedim>::cell_iterator &cell,
   const unsigned int                                          face_no,
-  const Quadrature<dim - 1> &                                 quadrature,
-  const typename Mapping<dim, spacedim>::InternalDataBase &   internal_data,
+  const Quadrature<dim - 1>                                  &quadrature,
+  const typename Mapping<dim, spacedim>::InternalDataBase    &internal_data,
   internal::FEValuesImplementation::MappingRelatedData<dim, spacedim>
     &output_data) const
 {
index 5ab72979d10f02823a75c4bd84090273e0529aa1..c620117c4713a92cdfb1f2307c06af23c327e43c 100644 (file)
@@ -20,9 +20,9 @@ for (deal_II_dimension : DIMENSIONS; deal_II_space_dimension : SPACE_DIMENSIONS)
 #if deal_II_dimension <= deal_II_space_dimension
     template class Mapping<deal_II_dimension, deal_II_space_dimension>;
 
-    template const Mapping<deal_II_dimension, deal_II_space_dimension>
-      &get_default_linear_mapping(
-        const Triangulation<deal_II_dimension, deal_II_space_dimension>
-          &triangulation);
+    template const Mapping<deal_II_dimension, deal_II_space_dimension> &
+    get_default_linear_mapping(
+      const Triangulation<deal_II_dimension, deal_II_space_dimension>
+        &triangulation);
 #endif
   }
index fd9ef9234367646fb2d71977a7ab460c3f86c099..d3f4bd5cc6642933a0c3c1b77555b689f5586a78 100644 (file)
@@ -52,7 +52,7 @@ template <>
 void
 MappingC1<2>::add_line_support_points(
   const Triangulation<2>::cell_iterator &cell,
-  std::vector<Point<2>> &                a) const
+  std::vector<Point<2>>                 &a) const
 {
   const unsigned int          dim = 2;
   const std::array<double, 2> interior_gl_points{
index 182a71a9f74aa6e10a8f9237240ff66decd95acc..2fbd42983baa10c2b53f1854f7de4e3463272d6a 100644 (file)
@@ -61,7 +61,7 @@ is_cartesian(const CellType &cell)
   const double abs_tol           = 1e-30;
   const double rel_tol           = 1e-28;
   const auto   bounding_box      = cell->bounding_box();
-  const auto bounding_vertices = bounding_box.get_boundary_points();
+  const auto  &bounding_vertices = bounding_box.get_boundary_points();
   const auto   bb_diagonal_length_squared =
     bounding_vertices.first.distance_square(bounding_vertices.second);
 
@@ -231,7 +231,7 @@ void
 MappingCartesian<dim, spacedim>::update_cell_extents(
   const typename Triangulation<dim, spacedim>::cell_iterator &cell,
   const CellSimilarity::Similarity                            cell_similarity,
-  const InternalData &                                        data) const
+  const InternalData                                         &data) const
 {
   // Compute start point and sizes
   // along axes.  Strange vertex
@@ -266,7 +266,7 @@ template <int dim, int spacedim>
 void
 MappingCartesian<dim, spacedim>::maybe_update_cell_quadrature_points(
   const typename Triangulation<dim, spacedim>::cell_iterator &cell,
-  const InternalData &                                        data,
+  const InternalData                                         &data,
   std::vector<Point<dim>> &quadrature_points) const
 {
   if (data.update_each & update_quadrature_points)
@@ -284,7 +284,7 @@ void
 MappingCartesian<dim, spacedim>::maybe_update_face_quadrature_points(
   const typename Triangulation<dim, spacedim>::cell_iterator &cell,
   const unsigned int                                          face_no,
-  const InternalData &                                        data,
+  const InternalData                                         &data,
   std::vector<Point<dim>> &quadrature_points) const
 {
   AssertIndexRange(face_no, GeometryInfo<dim>::faces_per_cell);
@@ -312,7 +312,7 @@ MappingCartesian<dim, spacedim>::maybe_update_subface_quadrature_points(
   const typename Triangulation<dim, spacedim>::cell_iterator &cell,
   const unsigned int                                          face_no,
   const unsigned int                                          sub_no,
-  const InternalData &                                        data,
+  const InternalData                                         &data,
   std::vector<Point<dim>> &quadrature_points) const
 {
   AssertIndexRange(face_no, GeometryInfo<dim>::faces_per_cell);
@@ -344,8 +344,8 @@ template <int dim, int spacedim>
 void
 MappingCartesian<dim, spacedim>::transform_quadrature_points(
   const typename Triangulation<dim, spacedim>::cell_iterator &cell,
-  const InternalData &                                        data,
-  const typename QProjector<dim>::DataSetDescriptor &         offset,
+  const InternalData                                         &data,
+  const typename QProjector<dim>::DataSetDescriptor          &offset,
   std::vector<Point<dim>> &quadrature_points) const
 {
   // let @p{start} be the origin of a local coordinate system. it is chosen
@@ -367,7 +367,7 @@ template <int dim, int spacedim>
 void
 MappingCartesian<dim, spacedim>::maybe_update_normal_vectors(
   const unsigned int           face_no,
-  const InternalData &         data,
+  const InternalData          &data,
   std::vector<Tensor<1, dim>> &normal_vectors) const
 {
   // compute normal vectors. All normals on a face have the same value.
@@ -385,7 +385,7 @@ MappingCartesian<dim, spacedim>::maybe_update_normal_vectors(
 template <int dim, int spacedim>
 void
 MappingCartesian<dim, spacedim>::maybe_update_jacobian_derivatives(
-  const InternalData &             data,
+  const InternalData              &data,
   const CellSimilarity::Similarity cell_similarity,
   internal::FEValuesImplementation::MappingRelatedData<dim, spacedim>
     &output_data) const
@@ -453,7 +453,7 @@ MappingCartesian<dim, spacedim>::maybe_update_volume_elements(
 template <int dim, int spacedim>
 void
 MappingCartesian<dim, spacedim>::maybe_update_jacobians(
-  const InternalData &             data,
+  const InternalData              &data,
   const CellSimilarity::Similarity cell_similarity,
   internal::FEValuesImplementation::MappingRelatedData<dim, spacedim>
     &output_data) const
@@ -475,7 +475,7 @@ MappingCartesian<dim, spacedim>::maybe_update_jacobians(
 template <int dim, int spacedim>
 void
 MappingCartesian<dim, spacedim>::maybe_update_inverse_jacobians(
-  const InternalData &             data,
+  const InternalData              &data,
   const CellSimilarity::Similarity cell_similarity,
   internal::FEValuesImplementation::MappingRelatedData<dim, spacedim>
     &output_data) const
@@ -499,8 +499,8 @@ CellSimilarity::Similarity
 MappingCartesian<dim, spacedim>::fill_fe_values(
   const typename Triangulation<dim, spacedim>::cell_iterator &cell,
   const CellSimilarity::Similarity                            cell_similarity,
-  const Quadrature<dim> &                                     quadrature,
-  const typename Mapping<dim, spacedim>::InternalDataBase &   internal_data,
+  const Quadrature<dim>                                      &quadrature,
+  const typename Mapping<dim, spacedim>::InternalDataBase    &internal_data,
   internal::FEValuesImplementation::MappingRelatedData<dim, spacedim>
     &output_data) const
 {
@@ -547,7 +547,7 @@ template <int dim, int spacedim>
 void
 MappingCartesian<dim, spacedim>::fill_mapping_data_for_generic_points(
   const typename Triangulation<dim, spacedim>::cell_iterator &cell,
-  const ArrayView<const Point<dim>> &                         unit_points,
+  const ArrayView<const Point<dim>>                          &unit_points,
   const UpdateFlags                                           update_flags,
   internal::FEValuesImplementation::MappingRelatedData<dim, spacedim>
     &output_data) const
@@ -586,8 +586,8 @@ void
 MappingCartesian<dim, spacedim>::fill_fe_face_values(
   const typename Triangulation<dim, spacedim>::cell_iterator &cell,
   const unsigned int                                          face_no,
-  const hp::QCollection<dim - 1> &                            quadrature,
-  const typename Mapping<dim, spacedim>::InternalDataBase &   internal_data,
+  const hp::QCollection<dim - 1>                             &quadrature,
+  const typename Mapping<dim, spacedim>::InternalDataBase    &internal_data,
   internal::FEValuesImplementation::MappingRelatedData<dim, spacedim>
     &output_data) const
 {
@@ -640,8 +640,8 @@ MappingCartesian<dim, spacedim>::fill_fe_subface_values(
   const typename Triangulation<dim, spacedim>::cell_iterator &cell,
   const unsigned int                                          face_no,
   const unsigned int                                          subface_no,
-  const Quadrature<dim - 1> &                                 quadrature,
-  const typename Mapping<dim, spacedim>::InternalDataBase &   internal_data,
+  const Quadrature<dim - 1>                                  &quadrature,
+  const typename Mapping<dim, spacedim>::InternalDataBase    &internal_data,
   internal::FEValuesImplementation::MappingRelatedData<dim, spacedim>
     &output_data) const
 {
@@ -697,8 +697,8 @@ template <int dim, int spacedim>
 void
 MappingCartesian<dim, spacedim>::fill_fe_immersed_surface_values(
   const typename Triangulation<dim, spacedim>::cell_iterator &cell,
-  const NonMatching::ImmersedSurfaceQuadrature<dim> &         quadrature,
-  const typename Mapping<dim, spacedim>::InternalDataBase &   internal_data,
+  const NonMatching::ImmersedSurfaceQuadrature<dim>          &quadrature,
+  const typename Mapping<dim, spacedim>::InternalDataBase    &internal_data,
   internal::FEValuesImplementation::MappingRelatedData<dim, spacedim>
     &output_data) const
 {
@@ -760,10 +760,10 @@ MappingCartesian<dim, spacedim>::fill_fe_immersed_surface_values(
 template <int dim, int spacedim>
 void
 MappingCartesian<dim, spacedim>::transform(
-  const ArrayView<const Tensor<1, dim>> &                  input,
+  const ArrayView<const Tensor<1, dim>>                   &input,
   const MappingKind                                        mapping_kind,
   const typename Mapping<dim, spacedim>::InternalDataBase &mapping_data,
-  const ArrayView<Tensor<1, spacedim>> &                   output) const
+  const ArrayView<Tensor<1, spacedim>>                    &output) const
 {
   AssertDimension(input.size(), output.size());
   Assert(dynamic_cast<const InternalData *>(&mapping_data) != nullptr,
@@ -823,7 +823,7 @@ MappingCartesian<dim, spacedim>::transform(
   const ArrayView<const DerivativeForm<1, dim, spacedim>> &input,
   const MappingKind                                        mapping_kind,
   const typename Mapping<dim, spacedim>::InternalDataBase &mapping_data,
-  const ArrayView<Tensor<2, spacedim>> &                   output) const
+  const ArrayView<Tensor<2, spacedim>>                    &output) const
 {
   AssertDimension(input.size(), output.size());
   Assert(dynamic_cast<const InternalData *>(&mapping_data) != nullptr,
@@ -930,10 +930,10 @@ MappingCartesian<dim, spacedim>::transform(
 template <int dim, int spacedim>
 void
 MappingCartesian<dim, spacedim>::transform(
-  const ArrayView<const Tensor<2, dim>> &                  input,
+  const ArrayView<const Tensor<2, dim>>                   &input,
   const MappingKind                                        mapping_kind,
   const typename Mapping<dim, spacedim>::InternalDataBase &mapping_data,
-  const ArrayView<Tensor<2, spacedim>> &                   output) const
+  const ArrayView<Tensor<2, spacedim>>                    &output) const
 {
   AssertDimension(input.size(), output.size());
   Assert(dynamic_cast<const InternalData *>(&mapping_data) != nullptr,
@@ -1043,7 +1043,7 @@ MappingCartesian<dim, spacedim>::transform(
   const ArrayView<const DerivativeForm<2, dim, spacedim>> &input,
   const MappingKind                                        mapping_kind,
   const typename Mapping<dim, spacedim>::InternalDataBase &mapping_data,
-  const ArrayView<Tensor<3, spacedim>> &                   output) const
+  const ArrayView<Tensor<3, spacedim>>                    &output) const
 {
   AssertDimension(input.size(), output.size());
   Assert(dynamic_cast<const InternalData *>(&mapping_data) != nullptr,
@@ -1079,10 +1079,10 @@ MappingCartesian<dim, spacedim>::transform(
 template <int dim, int spacedim>
 void
 MappingCartesian<dim, spacedim>::transform(
-  const ArrayView<const Tensor<3, dim>> &                  input,
+  const ArrayView<const Tensor<3, dim>>                   &input,
   const MappingKind                                        mapping_kind,
   const typename Mapping<dim, spacedim>::InternalDataBase &mapping_data,
-  const ArrayView<Tensor<3, spacedim>> &                   output) const
+  const ArrayView<Tensor<3, spacedim>>                    &output) const
 {
   AssertDimension(input.size(), output.size());
   Assert(dynamic_cast<const InternalData *>(&mapping_data) != nullptr,
@@ -1168,7 +1168,7 @@ template <int dim, int spacedim>
 Point<spacedim>
 MappingCartesian<dim, spacedim>::transform_unit_to_real_cell(
   const typename Triangulation<dim, spacedim>::cell_iterator &cell,
-  const Point<dim> &                                          p) const
+  const Point<dim>                                           &p) const
 {
   Assert(is_cartesian(cell), ExcCellNotCartesian());
 
@@ -1205,7 +1205,7 @@ template <int dim, int spacedim>
 Point<dim>
 MappingCartesian<dim, spacedim>::transform_real_to_unit_cell(
   const typename Triangulation<dim, spacedim>::cell_iterator &cell,
-  const Point<spacedim> &                                     p) const
+  const Point<spacedim>                                      &p) const
 {
   Assert(is_cartesian(cell), ExcCellNotCartesian());
 
index c2f9c78b9a1a4eae7617d2b6b089a5c3b028b356..916d14e19b9b515b6d41e088a9e0b72d7666f401 100644 (file)
@@ -284,7 +284,7 @@ namespace internal
         if (update_flags & update_quadrature_points)
           for (unsigned int point = 0; point < n_q_points; ++point)
             {
-              const double *  shape = &data.shape(point + data_set, 0);
+              const double   *shape = &data.shape(point + data_set, 0);
               Point<spacedim> result =
                 (shape[0] * data.mapping_support_points[0]);
               for (unsigned int k = 1; k < data.n_shape_functions; ++k)
@@ -562,7 +562,7 @@ namespace internal
         const typename QProjector<dim>::DataSetDescriptor data_set,
         const typename dealii::MappingFE<dim, spacedim>::InternalData &data,
         std::vector<Tensor<4, spacedim>>
-          &                jacobian_pushed_forward_2nd_derivatives,
+                          &jacobian_pushed_forward_2nd_derivatives,
         const unsigned int n_q_points)
       {
         const UpdateFlags update_flags = data.update_each;
@@ -724,7 +724,7 @@ namespace internal
         const typename QProjector<dim>::DataSetDescriptor data_set,
         const typename dealii::MappingFE<dim, spacedim>::InternalData &data,
         std::vector<Tensor<5, spacedim>>
-          &                jacobian_pushed_forward_3rd_derivatives,
+                          &jacobian_pushed_forward_3rd_derivatives,
         const unsigned int n_q_points)
       {
         const UpdateFlags update_flags = data.update_each;
@@ -901,7 +901,7 @@ template <int dim, int spacedim>
 Point<spacedim>
 MappingFE<dim, spacedim>::transform_unit_to_real_cell(
   const typename Triangulation<dim, spacedim>::cell_iterator &cell,
-  const Point<dim> &                                          p) const
+  const Point<dim>                                           &p) const
 {
   const std::vector<Point<spacedim>> support_points =
     this->compute_mapping_support_points(cell);
@@ -920,7 +920,7 @@ template <int dim, int spacedim>
 Point<dim>
 MappingFE<dim, spacedim>::transform_real_to_unit_cell(
   const typename Triangulation<dim, spacedim>::cell_iterator &cell,
-  const Point<spacedim> &                                     p) const
+  const Point<spacedim>                                      &p) const
 {
   const std::vector<Point<spacedim>> support_points =
     this->compute_mapping_support_points(cell);
@@ -1111,8 +1111,8 @@ CellSimilarity::Similarity
 MappingFE<dim, spacedim>::fill_fe_values(
   const typename Triangulation<dim, spacedim>::cell_iterator &cell,
   const CellSimilarity::Similarity                            cell_similarity,
-  const Quadrature<dim> &                                     quadrature,
-  const typename Mapping<dim, spacedim>::InternalDataBase &   internal_data,
+  const Quadrature<dim>                                      &quadrature,
+  const typename Mapping<dim, spacedim>::InternalDataBase    &internal_data,
   internal::FEValuesImplementation::MappingRelatedData<dim, spacedim>
     &output_data) const
 {
@@ -1342,7 +1342,7 @@ namespace internal
       maybe_compute_face_data(
         const dealii::MappingFE<dim, spacedim> &mapping,
         const typename dealii::Triangulation<dim, spacedim>::cell_iterator
-          &                                               cell,
+                                                         &cell,
         const unsigned int                                face_no,
         const unsigned int                                subface_no,
         const unsigned int                                n_q_points,
@@ -1512,11 +1512,11 @@ namespace internal
       do_fill_fe_face_values(
         const dealii::MappingFE<dim, spacedim> &mapping,
         const typename dealii::Triangulation<dim, spacedim>::cell_iterator
-          &                                               cell,
+                                                         &cell,
         const unsigned int                                face_no,
         const unsigned int                                subface_no,
         const typename QProjector<dim>::DataSetDescriptor data_set,
-        const Quadrature<dim - 1> &                       quadrature,
+        const Quadrature<dim - 1>                        &quadrature,
         const typename dealii::MappingFE<dim, spacedim>::InternalData &data,
         internal::FEValuesImplementation::MappingRelatedData<dim, spacedim>
           &output_data)
@@ -1587,8 +1587,8 @@ void
 MappingFE<dim, spacedim>::fill_fe_face_values(
   const typename Triangulation<dim, spacedim>::cell_iterator &cell,
   const unsigned int                                          face_no,
-  const hp::QCollection<dim - 1> &                            quadrature,
-  const typename Mapping<dim, spacedim>::InternalDataBase &   internal_data,
+  const hp::QCollection<dim - 1>                             &quadrature,
+  const typename Mapping<dim, spacedim>::InternalDataBase    &internal_data,
   internal::FEValuesImplementation::MappingRelatedData<dim, spacedim>
     &output_data) const
 {
@@ -1634,8 +1634,8 @@ MappingFE<dim, spacedim>::fill_fe_subface_values(
   const typename Triangulation<dim, spacedim>::cell_iterator &cell,
   const unsigned int                                          face_no,
   const unsigned int                                          subface_no,
-  const Quadrature<dim - 1> &                                 quadrature,
-  const typename Mapping<dim, spacedim>::InternalDataBase &   internal_data,
+  const Quadrature<dim - 1>                                  &quadrature,
+  const typename Mapping<dim, spacedim>::InternalDataBase    &internal_data,
   internal::FEValuesImplementation::MappingRelatedData<dim, spacedim>
     &output_data) const
 {
@@ -1686,10 +1686,10 @@ namespace internal
       template <int dim, int spacedim, int rank>
       void
       transform_fields(
-        const ArrayView<const Tensor<rank, dim>> &               input,
+        const ArrayView<const Tensor<rank, dim>>                &input,
         const MappingKind                                        mapping_kind,
         const typename Mapping<dim, spacedim>::InternalDataBase &mapping_data,
-        const ArrayView<Tensor<rank, spacedim>> &                output)
+        const ArrayView<Tensor<rank, spacedim>>                 &output)
       {
         // In the case of wedges and pyramids, faces might have different
         // numbers of quadrature points on each face with the result
@@ -1771,10 +1771,10 @@ namespace internal
       template <int dim, int spacedim, int rank>
       void
       transform_gradients(
-        const ArrayView<const Tensor<rank, dim>> &               input,
+        const ArrayView<const Tensor<rank, dim>>                &input,
         const MappingKind                                        mapping_kind,
         const typename Mapping<dim, spacedim>::InternalDataBase &mapping_data,
-        const ArrayView<Tensor<rank, spacedim>> &                output)
+        const ArrayView<Tensor<rank, spacedim>>                 &output)
       {
         AssertDimension(input.size(), output.size());
         Assert(
@@ -1874,10 +1874,10 @@ namespace internal
       template <int dim, int spacedim>
       void
       transform_hessians(
-        const ArrayView<const Tensor<3, dim>> &                  input,
+        const ArrayView<const Tensor<3, dim>>                   &input,
         const MappingKind                                        mapping_kind,
         const typename Mapping<dim, spacedim>::InternalDataBase &mapping_data,
-        const ArrayView<Tensor<3, spacedim>> &                   output)
+        const ArrayView<Tensor<3, spacedim>>                    &output)
       {
         AssertDimension(input.size(), output.size());
         Assert(
@@ -2047,7 +2047,7 @@ namespace internal
         const ArrayView<const DerivativeForm<rank, dim, spacedim>> &input,
         const MappingKind                                        mapping_kind,
         const typename Mapping<dim, spacedim>::InternalDataBase &mapping_data,
-        const ArrayView<Tensor<rank + 1, spacedim>> &            output)
+        const ArrayView<Tensor<rank + 1, spacedim>>             &output)
       {
         AssertDimension(input.size(), output.size());
         Assert(
@@ -2087,10 +2087,10 @@ namespace internal
 template <int dim, int spacedim>
 void
 MappingFE<dim, spacedim>::transform(
-  const ArrayView<const Tensor<1, dim>> &                  input,
+  const ArrayView<const Tensor<1, dim>>                   &input,
   const MappingKind                                        mapping_kind,
   const typename Mapping<dim, spacedim>::InternalDataBase &mapping_data,
-  const ArrayView<Tensor<1, spacedim>> &                   output) const
+  const ArrayView<Tensor<1, spacedim>>                    &output) const
 {
   internal::MappingFEImplementation::transform_fields(input,
                                                       mapping_kind,
@@ -2106,7 +2106,7 @@ MappingFE<dim, spacedim>::transform(
   const ArrayView<const DerivativeForm<1, dim, spacedim>> &input,
   const MappingKind                                        mapping_kind,
   const typename Mapping<dim, spacedim>::InternalDataBase &mapping_data,
-  const ArrayView<Tensor<2, spacedim>> &                   output) const
+  const ArrayView<Tensor<2, spacedim>>                    &output) const
 {
   internal::MappingFEImplementation::transform_differential_forms(input,
                                                                   mapping_kind,
@@ -2119,10 +2119,10 @@ MappingFE<dim, spacedim>::transform(
 template <int dim, int spacedim>
 void
 MappingFE<dim, spacedim>::transform(
-  const ArrayView<const Tensor<2, dim>> &                  input,
+  const ArrayView<const Tensor<2, dim>>                   &input,
   const MappingKind                                        mapping_kind,
   const typename Mapping<dim, spacedim>::InternalDataBase &mapping_data,
-  const ArrayView<Tensor<2, spacedim>> &                   output) const
+  const ArrayView<Tensor<2, spacedim>>                    &output) const
 {
   switch (mapping_kind)
     {
@@ -2154,7 +2154,7 @@ MappingFE<dim, spacedim>::transform(
   const ArrayView<const DerivativeForm<2, dim, spacedim>> &input,
   const MappingKind                                        mapping_kind,
   const typename Mapping<dim, spacedim>::InternalDataBase &mapping_data,
-  const ArrayView<Tensor<3, spacedim>> &                   output) const
+  const ArrayView<Tensor<3, spacedim>>                    &output) const
 {
   AssertDimension(input.size(), output.size());
   Assert(dynamic_cast<const InternalData *>(&mapping_data) != nullptr,
@@ -2200,10 +2200,10 @@ MappingFE<dim, spacedim>::transform(
 template <int dim, int spacedim>
 void
 MappingFE<dim, spacedim>::transform(
-  const ArrayView<const Tensor<3, dim>> &                  input,
+  const ArrayView<const Tensor<3, dim>>                   &input,
   const MappingKind                                        mapping_kind,
   const typename Mapping<dim, spacedim>::InternalDataBase &mapping_data,
-  const ArrayView<Tensor<3, spacedim>> &                   output) const
+  const ArrayView<Tensor<3, spacedim>>                    &output) const
 {
   switch (mapping_kind)
     {
index 86b90ae75c18e17b16f8fc88070875154585d974..8830248f91eb91c1d1af7dba2dba25200eb411f0 100644 (file)
@@ -59,7 +59,7 @@ DEAL_II_NAMESPACE_OPEN
 template <int dim, int spacedim, typename VectorType>
 MappingFEField<dim, spacedim, VectorType>::InternalData::InternalData(
   const FiniteElement<dim, spacedim> &fe,
-  const ComponentMask &               mask)
+  const ComponentMask                &mask)
   : unit_tangentials()
   , n_shape_functions(fe.n_dofs_per_cell())
   , mask(mask)
@@ -195,8 +195,8 @@ MappingFEField<dim, spacedim, VectorType>::InternalData::fourth_derivative(
 template <int dim, int spacedim, typename VectorType>
 MappingFEField<dim, spacedim, VectorType>::MappingFEField(
   const DoFHandler<dim, spacedim> &euler_dof_handler,
-  const VectorType &               euler_vector,
-  const ComponentMask &            mask)
+  const VectorType                &euler_vector,
+  const ComponentMask             &mask)
   : reference_cell(euler_dof_handler.get_fe().reference_cell())
   , uses_level_dofs(false)
   , euler_vector({&euler_vector})
@@ -225,8 +225,8 @@ MappingFEField<dim, spacedim, VectorType>::MappingFEField(
 template <int dim, int spacedim, typename VectorType>
 MappingFEField<dim, spacedim, VectorType>::MappingFEField(
   const DoFHandler<dim, spacedim> &euler_dof_handler,
-  const std::vector<VectorType> &  euler_vector,
-  const ComponentMask &            mask)
+  const std::vector<VectorType>   &euler_vector,
+  const ComponentMask             &mask)
   : reference_cell(euler_dof_handler.get_fe().reference_cell())
   , uses_level_dofs(true)
   , euler_dof_handler(&euler_dof_handler)
@@ -266,7 +266,7 @@ template <int dim, int spacedim, typename VectorType>
 MappingFEField<dim, spacedim, VectorType>::MappingFEField(
   const DoFHandler<dim, spacedim> &euler_dof_handler,
   const MGLevelObject<VectorType> &euler_vector,
-  const ComponentMask &            mask)
+  const ComponentMask             &mask)
   : reference_cell(euler_dof_handler.get_fe().reference_cell())
   , uses_level_dofs(true)
   , euler_dof_handler(&euler_dof_handler)
@@ -424,7 +424,7 @@ MappingFEField<dim, spacedim, VectorType>::get_vertices(
 template <int dim, int spacedim, typename VectorType>
 void
 MappingFEField<dim, spacedim, VectorType>::compute_shapes_virtual(
-  const std::vector<Point<dim>> &                                   unit_points,
+  const std::vector<Point<dim>>                                    &unit_points,
   typename MappingFEField<dim, spacedim, VectorType>::InternalData &data) const
 {
   const auto         fe       = &euler_dof_handler->get_fe();
@@ -519,7 +519,7 @@ MappingFEField<dim, spacedim, VectorType>::compute_data(
   const UpdateFlags      update_flags,
   const Quadrature<dim> &q,
   const unsigned int     n_original_q_points,
-  InternalData &         data) const
+  InternalData          &data) const
 {
   // store the flags in the internal data object so we can access them
   // in fill_fe_*_values(). use the transitive hull of the required
@@ -574,7 +574,7 @@ MappingFEField<dim, spacedim, VectorType>::compute_face_data(
   const UpdateFlags      update_flags,
   const Quadrature<dim> &q,
   const unsigned int     n_original_q_points,
-  InternalData &         data) const
+  InternalData          &data) const
 {
   compute_data(update_flags, q, n_original_q_points, data);
 
@@ -638,7 +638,7 @@ MappingFEField<dim, spacedim, VectorType>::get_face_data(
 
   std::unique_ptr<typename Mapping<dim, spacedim>::InternalDataBase> data_ptr =
     std::make_unique<InternalData>(euler_dof_handler->get_fe(), fe_mask);
-  auto &                data = dynamic_cast<InternalData &>(*data_ptr);
+  auto                 &data = dynamic_cast<InternalData &>(*data_ptr);
   const Quadrature<dim> q(
     QProjector<dim>::project_to_all_faces(reference_cell, quadrature[0]));
   this->compute_face_data(update_flags, q, quadrature[0].size(), data);
@@ -655,7 +655,7 @@ MappingFEField<dim, spacedim, VectorType>::get_subface_data(
 {
   std::unique_ptr<typename Mapping<dim, spacedim>::InternalDataBase> data_ptr =
     std::make_unique<InternalData>(euler_dof_handler->get_fe(), fe_mask);
-  auto &                data = dynamic_cast<InternalData &>(*data_ptr);
+  auto                 &data = dynamic_cast<InternalData &>(*data_ptr);
   const Quadrature<dim> q(
     QProjector<dim>::project_to_all_subfaces(reference_cell, quadrature));
   this->compute_face_data(update_flags, q, quadrature.size(), data);
@@ -682,11 +682,11 @@ namespace internal
       maybe_compute_q_points(
         const typename dealii::QProjector<dim>::DataSetDescriptor data_set,
         const typename dealii::MappingFEField<dim, spacedim, VectorType>::
-          InternalData &                    data,
+          InternalData                     &data,
         const FiniteElement<dim, spacedim> &fe,
-        const ComponentMask &               fe_mask,
-        const std::vector<unsigned int> &   fe_to_real,
-        std::vector<Point<spacedim>> &      quadrature_points)
+        const ComponentMask                &fe_mask,
+        const std::vector<unsigned int>    &fe_to_real,
+        std::vector<Point<spacedim>>       &quadrature_points)
       {
         const UpdateFlags update_flags = data.update_each;
 
@@ -696,7 +696,7 @@ namespace internal
                  ++point)
               {
                 Point<spacedim> result;
-                const double *  shape = &data.shape(point + data_set, 0);
+                const double   *shape = &data.shape(point + data_set, 0);
 
                 for (unsigned int k = 0; k < data.n_shape_functions; ++k)
                   {
@@ -724,10 +724,10 @@ namespace internal
       maybe_update_Jacobians(
         const typename dealii::QProjector<dim>::DataSetDescriptor data_set,
         const typename dealii::MappingFEField<dim, spacedim, VectorType>::
-          InternalData &                    data,
+          InternalData                     &data,
         const FiniteElement<dim, spacedim> &fe,
-        const ComponentMask &               fe_mask,
-        const std::vector<unsigned int> &   fe_to_real)
+        const ComponentMask                &fe_mask,
+        const std::vector<unsigned int>    &fe_to_real)
       {
         const UpdateFlags update_flags = data.update_each;
 
@@ -793,10 +793,10 @@ namespace internal
       maybe_update_jacobian_grads(
         const typename dealii::QProjector<dim>::DataSetDescriptor data_set,
         const typename dealii::MappingFEField<dim, spacedim, VectorType>::
-          InternalData &                               data,
-        const FiniteElement<dim, spacedim> &           fe,
-        const ComponentMask &                          fe_mask,
-        const std::vector<unsigned int> &              fe_to_real,
+          InternalData                                &data,
+        const FiniteElement<dim, spacedim>            &fe,
+        const ComponentMask                           &fe_mask,
+        const std::vector<unsigned int>               &fe_to_real,
         std::vector<DerivativeForm<2, dim, spacedim>> &jacobian_grads)
       {
         const UpdateFlags update_flags = data.update_each;
@@ -843,11 +843,11 @@ namespace internal
       maybe_update_jacobian_pushed_forward_grads(
         const typename dealii::QProjector<dim>::DataSetDescriptor data_set,
         const typename dealii::MappingFEField<dim, spacedim, VectorType>::
-          InternalData &                    data,
+          InternalData                     &data,
         const FiniteElement<dim, spacedim> &fe,
-        const ComponentMask &               fe_mask,
-        const std::vector<unsigned int> &   fe_to_real,
-        std::vector<Tensor<3, spacedim>> &  jacobian_pushed_forward_grads)
+        const ComponentMask                &fe_mask,
+        const std::vector<unsigned int>    &fe_to_real,
+        std::vector<Tensor<3, spacedim>>   &jacobian_pushed_forward_grads)
       {
         const UpdateFlags update_flags = data.update_each;
         if (update_flags & update_jacobian_pushed_forward_grads)
@@ -916,10 +916,10 @@ namespace internal
       maybe_update_jacobian_2nd_derivatives(
         const typename dealii::QProjector<dim>::DataSetDescriptor data_set,
         const typename dealii::MappingFEField<dim, spacedim, VectorType>::
-          InternalData &                               data,
-        const FiniteElement<dim, spacedim> &           fe,
-        const ComponentMask &                          fe_mask,
-        const std::vector<unsigned int> &              fe_to_real,
+          InternalData                                &data,
+        const FiniteElement<dim, spacedim>            &fe,
+        const ComponentMask                           &fe_mask,
+        const std::vector<unsigned int>               &fe_to_real,
         std::vector<DerivativeForm<3, dim, spacedim>> &jacobian_2nd_derivatives)
       {
         const UpdateFlags update_flags = data.update_each;
@@ -970,10 +970,10 @@ namespace internal
       maybe_update_jacobian_pushed_forward_2nd_derivatives(
         const typename dealii::QProjector<dim>::DataSetDescriptor data_set,
         const typename dealii::MappingFEField<dim, spacedim, VectorType>::
-          InternalData &                    data,
+          InternalData                     &data,
         const FiniteElement<dim, spacedim> &fe,
-        const ComponentMask &               fe_mask,
-        const std::vector<unsigned int> &   fe_to_real,
+        const ComponentMask                &fe_mask,
+        const std::vector<unsigned int>    &fe_to_real,
         std::vector<Tensor<4, spacedim>>
           &jacobian_pushed_forward_2nd_derivatives)
       {
@@ -1066,10 +1066,10 @@ namespace internal
       maybe_update_jacobian_3rd_derivatives(
         const typename dealii::QProjector<dim>::DataSetDescriptor data_set,
         const typename dealii::MappingFEField<dim, spacedim, VectorType>::
-          InternalData &                               data,
-        const FiniteElement<dim, spacedim> &           fe,
-        const ComponentMask &                          fe_mask,
-        const std::vector<unsigned int> &              fe_to_real,
+          InternalData                                &data,
+        const FiniteElement<dim, spacedim>            &fe,
+        const ComponentMask                           &fe_mask,
+        const std::vector<unsigned int>               &fe_to_real,
         std::vector<DerivativeForm<4, dim, spacedim>> &jacobian_3rd_derivatives)
       {
         const UpdateFlags update_flags = data.update_each;
@@ -1124,10 +1124,10 @@ namespace internal
       maybe_update_jacobian_pushed_forward_3rd_derivatives(
         const typename dealii::QProjector<dim>::DataSetDescriptor data_set,
         const typename dealii::MappingFEField<dim, spacedim, VectorType>::
-          InternalData &                    data,
+          InternalData                     &data,
         const FiniteElement<dim, spacedim> &fe,
-        const ComponentMask &               fe_mask,
-        const std::vector<unsigned int> &   fe_to_real,
+        const ComponentMask                &fe_mask,
+        const std::vector<unsigned int>    &fe_to_real,
         std::vector<Tensor<5, spacedim>>
           &jacobian_pushed_forward_3rd_derivatives)
       {
@@ -1250,7 +1250,7 @@ namespace internal
       maybe_compute_face_data(
         const dealii::Mapping<dim, spacedim> &mapping,
         const typename dealii::Triangulation<dim, spacedim>::cell_iterator
-          &                                               cell,
+                                                         &cell,
         const unsigned int                                face_no,
         const unsigned int                                subface_no,
         const typename QProjector<dim>::DataSetDescriptor data_set,
@@ -1395,15 +1395,15 @@ namespace internal
       do_fill_fe_face_values(
         const dealii::Mapping<dim, spacedim> &mapping,
         const typename dealii::Triangulation<dim, spacedim>::cell_iterator
-          &                                                       cell,
+                                                                 &cell,
         const unsigned int                                        face_no,
         const unsigned int                                        subface_no,
         const typename dealii::QProjector<dim>::DataSetDescriptor data_set,
         const typename dealii::MappingFEField<dim, spacedim, VectorType>::
-          InternalData &                    data,
+          InternalData                     &data,
         const FiniteElement<dim, spacedim> &fe,
-        const ComponentMask &               fe_mask,
-        const std::vector<unsigned int> &   fe_to_real,
+        const ComponentMask                &fe_mask,
+        const std::vector<unsigned int>    &fe_to_real,
         internal::FEValuesImplementation::MappingRelatedData<dim, spacedim>
           &output_data)
       {
@@ -1492,7 +1492,7 @@ CellSimilarity::Similarity
 MappingFEField<dim, spacedim, VectorType>::fill_fe_values(
   const typename Triangulation<dim, spacedim>::cell_iterator &cell,
   const CellSimilarity::Similarity,
-  const Quadrature<dim> &                                  quadrature,
+  const Quadrature<dim>                                   &quadrature,
   const typename Mapping<dim, spacedim>::InternalDataBase &internal_data,
   internal::FEValuesImplementation::MappingRelatedData<dim, spacedim>
     &output_data) const
@@ -1696,8 +1696,8 @@ void
 MappingFEField<dim, spacedim, VectorType>::fill_fe_face_values(
   const typename Triangulation<dim, spacedim>::cell_iterator &cell,
   const unsigned int                                          face_no,
-  const hp::QCollection<dim - 1> &                            quadrature,
-  const typename Mapping<dim, spacedim>::InternalDataBase &   internal_data,
+  const hp::QCollection<dim - 1>                             &quadrature,
+  const typename Mapping<dim, spacedim>::InternalDataBase    &internal_data,
   internal::FEValuesImplementation::MappingRelatedData<dim, spacedim>
     &output_data) const
 {
@@ -1737,8 +1737,8 @@ MappingFEField<dim, spacedim, VectorType>::fill_fe_subface_values(
   const typename Triangulation<dim, spacedim>::cell_iterator &cell,
   const unsigned int                                          face_no,
   const unsigned int                                          subface_no,
-  const Quadrature<dim - 1> &                                 quadrature,
-  const typename Mapping<dim, spacedim>::InternalDataBase &   internal_data,
+  const Quadrature<dim - 1>                                  &quadrature,
+  const typename Mapping<dim, spacedim>::InternalDataBase    &internal_data,
   internal::FEValuesImplementation::MappingRelatedData<dim, spacedim>
     &output_data) const
 {
@@ -1778,8 +1778,8 @@ template <int dim, int spacedim, typename VectorType>
 void
 MappingFEField<dim, spacedim, VectorType>::fill_fe_immersed_surface_values(
   const typename Triangulation<dim, spacedim>::cell_iterator &cell,
-  const NonMatching::ImmersedSurfaceQuadrature<dim> &         quadrature,
-  const typename Mapping<dim, spacedim>::InternalDataBase &   internal_data,
+  const NonMatching::ImmersedSurfaceQuadrature<dim>          &quadrature,
+  const typename Mapping<dim, spacedim>::InternalDataBase    &internal_data,
   internal::FEValuesImplementation::MappingRelatedData<dim, spacedim>
     &output_data) const
 {
@@ -1946,10 +1946,10 @@ namespace internal
       template <int dim, int spacedim, int rank, typename VectorType>
       void
       transform_fields(
-        const ArrayView<const Tensor<rank, dim>> &               input,
+        const ArrayView<const Tensor<rank, dim>>                &input,
         const MappingKind                                        mapping_kind,
         const typename Mapping<dim, spacedim>::InternalDataBase &mapping_data,
-        const ArrayView<Tensor<rank, spacedim>> &                output)
+        const ArrayView<Tensor<rank, spacedim>>                 &output)
       {
         AssertDimension(input.size(), output.size());
         Assert((dynamic_cast<
@@ -2027,7 +2027,7 @@ namespace internal
         const ArrayView<const DerivativeForm<rank, dim, spacedim>> &input,
         const MappingKind                                        mapping_kind,
         const typename Mapping<dim, spacedim>::InternalDataBase &mapping_data,
-        const ArrayView<Tensor<rank + 1, spacedim>> &            output)
+        const ArrayView<Tensor<rank + 1, spacedim>>             &output)
       {
         AssertDimension(input.size(), output.size());
         Assert((dynamic_cast<
@@ -2067,10 +2067,10 @@ namespace internal
 template <int dim, int spacedim, typename VectorType>
 void
 MappingFEField<dim, spacedim, VectorType>::transform(
-  const ArrayView<const Tensor<1, dim>> &                  input,
+  const ArrayView<const Tensor<1, dim>>                   &input,
   const MappingKind                                        mapping_kind,
   const typename Mapping<dim, spacedim>::InternalDataBase &mapping_data,
-  const ArrayView<Tensor<1, spacedim>> &                   output) const
+  const ArrayView<Tensor<1, spacedim>>                    &output) const
 {
   AssertDimension(input.size(), output.size());
 
@@ -2089,7 +2089,7 @@ MappingFEField<dim, spacedim, VectorType>::transform(
   const ArrayView<const DerivativeForm<1, dim, spacedim>> &input,
   const MappingKind                                        mapping_kind,
   const typename Mapping<dim, spacedim>::InternalDataBase &mapping_data,
-  const ArrayView<Tensor<2, spacedim>> &                   output) const
+  const ArrayView<Tensor<2, spacedim>>                    &output) const
 {
   AssertDimension(input.size(), output.size());
 
@@ -2108,7 +2108,7 @@ MappingFEField<dim, spacedim, VectorType>::transform(
   const ArrayView<const Tensor<2, dim>> &input,
   const MappingKind,
   const typename Mapping<dim, spacedim>::InternalDataBase &mapping_data,
-  const ArrayView<Tensor<2, spacedim>> &                   output) const
+  const ArrayView<Tensor<2, spacedim>>                    &output) const
 {
   (void)input;
   (void)output;
@@ -2126,7 +2126,7 @@ MappingFEField<dim, spacedim, VectorType>::transform(
   const ArrayView<const DerivativeForm<2, dim, spacedim>> &input,
   const MappingKind                                        mapping_kind,
   const typename Mapping<dim, spacedim>::InternalDataBase &mapping_data,
-  const ArrayView<Tensor<3, spacedim>> &                   output) const
+  const ArrayView<Tensor<3, spacedim>>                    &output) const
 {
   AssertDimension(input.size(), output.size());
   Assert(dynamic_cast<const InternalData *>(&mapping_data) != nullptr,
@@ -2174,7 +2174,7 @@ MappingFEField<dim, spacedim, VectorType>::transform(
   const ArrayView<const Tensor<3, dim>> &input,
   const MappingKind /*mapping_kind*/,
   const typename Mapping<dim, spacedim>::InternalDataBase &mapping_data,
-  const ArrayView<Tensor<3, spacedim>> &                   output) const
+  const ArrayView<Tensor<3, spacedim>>                    &output) const
 {
   (void)input;
   (void)output;
@@ -2190,7 +2190,7 @@ template <int dim, int spacedim, typename VectorType>
 Point<spacedim>
 MappingFEField<dim, spacedim, VectorType>::transform_unit_to_real_cell(
   const typename Triangulation<dim, spacedim>::cell_iterator &cell,
-  const Point<dim> &                                          p) const
+  const Point<dim>                                           &p) const
 {
   //  Use the get_data function to create an InternalData with data vectors of
   //  the right size and transformation shape values already computed at point
@@ -2232,7 +2232,7 @@ template <int dim, int spacedim, typename VectorType>
 Point<dim>
 MappingFEField<dim, spacedim, VectorType>::transform_real_to_unit_cell(
   const typename Triangulation<dim, spacedim>::cell_iterator &cell,
-  const Point<spacedim> &                                     p) const
+  const Point<spacedim>                                      &p) const
 {
   // first a Newton iteration based on the real mapping. It uses the center
   // point of the cell as a starting point
@@ -2276,9 +2276,9 @@ template <int dim, int spacedim, typename VectorType>
 Point<dim>
 MappingFEField<dim, spacedim, VectorType>::do_transform_real_to_unit_cell(
   const typename Triangulation<dim, spacedim>::cell_iterator &cell,
-  const Point<spacedim> &                                     p,
-  const Point<dim> &                                          initial_p_unit,
-  InternalData &                                              mdata) const
+  const Point<spacedim>                                      &p,
+  const Point<dim>                                           &initial_p_unit,
+  InternalData                                               &mdata) const
 {
   const unsigned int n_shapes = mdata.shape_values.size();
   (void)n_shapes;
@@ -2411,7 +2411,7 @@ MappingFEField<dim, spacedim, VectorType>::clone() const
 template <int dim, int spacedim, typename VectorType>
 void
 MappingFEField<dim, spacedim, VectorType>::update_internal_dofs(
-  const typename Triangulation<dim, spacedim>::cell_iterator &            cell,
+  const typename Triangulation<dim, spacedim>::cell_iterator             &cell,
   const typename MappingFEField<dim, spacedim, VectorType>::InternalData &data)
   const
 {
index 3dbad17094ce78c9e5e4cbedaf5e0d82719b92d2..a1f7f132be4a45a645f4da4466162af06ccf95af 100644 (file)
@@ -171,7 +171,7 @@ template <int dim, int spacedim>
 Point<spacedim>
 MappingManifold<dim, spacedim>::transform_unit_to_real_cell(
   const typename Triangulation<dim, spacedim>::cell_iterator &cell,
-  const Point<dim> &                                          p) const
+  const Point<dim>                                           &p) const
 {
   std::array<Point<spacedim>, GeometryInfo<dim>::vertices_per_cell> vertices;
   std::array<double, GeometryInfo<dim>::vertices_per_cell>          weights;
@@ -335,7 +335,7 @@ namespace internal
       maybe_compute_q_points(
         const typename QProjector<dim>::DataSetDescriptor data_set,
         const typename dealii::MappingManifold<dim, spacedim>::InternalData
-          &                           data,
+                                     &data,
         std::vector<Point<spacedim>> &quadrature_points)
       {
         const UpdateFlags update_flags = data.update_each;
@@ -465,7 +465,7 @@ CellSimilarity::Similarity
 MappingManifold<dim, spacedim>::fill_fe_values(
   const typename Triangulation<dim, spacedim>::cell_iterator &cell,
   const CellSimilarity::Similarity,
-  const Quadrature<dim> &                                  quadrature,
+  const Quadrature<dim>                                   &quadrature,
   const typename Mapping<dim, spacedim>::InternalDataBase &internal_data,
   internal::FEValuesImplementation::MappingRelatedData<dim, spacedim>
     &output_data) const
@@ -615,7 +615,7 @@ namespace internal
       maybe_compute_face_data(
         const dealii::MappingManifold<dim, spacedim> &mapping,
         const typename dealii::Triangulation<dim, spacedim>::cell_iterator
-          &                        cell,
+                                  &cell,
         const unsigned int         face_no,
         const unsigned int         subface_no,
         const unsigned int         n_q_points,
@@ -784,11 +784,11 @@ namespace internal
       do_fill_fe_face_values(
         const dealii::MappingManifold<dim, spacedim> &mapping,
         const typename dealii::Triangulation<dim, spacedim>::cell_iterator
-          &                                               cell,
+                                                         &cell,
         const unsigned int                                face_no,
         const unsigned int                                subface_no,
         const typename QProjector<dim>::DataSetDescriptor data_set,
-        const Quadrature<dim - 1> &                       quadrature,
+        const Quadrature<dim - 1>                        &quadrature,
         const typename dealii::MappingManifold<dim, spacedim>::InternalData
           &data,
         internal::FEValuesImplementation::MappingRelatedData<dim, spacedim>
@@ -816,10 +816,10 @@ namespace internal
       template <int dim, int spacedim, int rank>
       void
       transform_fields(
-        const ArrayView<const Tensor<rank, dim>> &               input,
+        const ArrayView<const Tensor<rank, dim>>                &input,
         const MappingKind                                        mapping_kind,
         const typename Mapping<dim, spacedim>::InternalDataBase &mapping_data,
-        const ArrayView<Tensor<rank, spacedim>> &                output)
+        const ArrayView<Tensor<rank, spacedim>>                 &output)
       {
         AssertDimension(input.size(), output.size());
         Assert((dynamic_cast<const typename dealii::
@@ -894,10 +894,10 @@ namespace internal
       template <int dim, int spacedim, int rank>
       void
       transform_gradients(
-        const ArrayView<const Tensor<rank, dim>> &               input,
+        const ArrayView<const Tensor<rank, dim>>                &input,
         const MappingKind                                        mapping_kind,
         const typename Mapping<dim, spacedim>::InternalDataBase &mapping_data,
-        const ArrayView<Tensor<rank, spacedim>> &                output)
+        const ArrayView<Tensor<rank, spacedim>>                 &output)
       {
         AssertDimension(input.size(), output.size());
         Assert((dynamic_cast<const typename dealii::
@@ -996,10 +996,10 @@ namespace internal
       template <int dim, int spacedim>
       void
       transform_hessians(
-        const ArrayView<const Tensor<3, dim>> &                  input,
+        const ArrayView<const Tensor<3, dim>>                   &input,
         const MappingKind                                        mapping_kind,
         const typename Mapping<dim, spacedim>::InternalDataBase &mapping_data,
-        const ArrayView<Tensor<3, spacedim>> &                   output)
+        const ArrayView<Tensor<3, spacedim>>                    &output)
       {
         AssertDimension(input.size(), output.size());
         Assert((dynamic_cast<const typename dealii::
@@ -1168,7 +1168,7 @@ namespace internal
         const ArrayView<const DerivativeForm<rank, dim, spacedim>> &input,
         const MappingKind                                        mapping_kind,
         const typename Mapping<dim, spacedim>::InternalDataBase &mapping_data,
-        const ArrayView<Tensor<rank + 1, spacedim>> &            output)
+        const ArrayView<Tensor<rank + 1, spacedim>>             &output)
       {
         AssertDimension(input.size(), output.size());
         Assert((dynamic_cast<const typename dealii::
@@ -1209,8 +1209,8 @@ void
 MappingManifold<dim, spacedim>::fill_fe_face_values(
   const typename Triangulation<dim, spacedim>::cell_iterator &cell,
   const unsigned int                                          face_no,
-  const hp::QCollection<dim - 1> &                            quadrature,
-  const typename Mapping<dim, spacedim>::InternalDataBase &   internal_data,
+  const hp::QCollection<dim - 1>                             &quadrature,
+  const typename Mapping<dim, spacedim>::InternalDataBase    &internal_data,
   internal::FEValuesImplementation::MappingRelatedData<dim, spacedim>
     &output_data) const
 {
@@ -1246,8 +1246,8 @@ MappingManifold<dim, spacedim>::fill_fe_subface_values(
   const typename Triangulation<dim, spacedim>::cell_iterator &cell,
   const unsigned int                                          face_no,
   const unsigned int                                          subface_no,
-  const Quadrature<dim - 1> &                                 quadrature,
-  const typename Mapping<dim, spacedim>::InternalDataBase &   internal_data,
+  const Quadrature<dim - 1>                                  &quadrature,
+  const typename Mapping<dim, spacedim>::InternalDataBase    &internal_data,
   internal::FEValuesImplementation::MappingRelatedData<dim, spacedim>
     &output_data) const
 {
@@ -1280,10 +1280,10 @@ MappingManifold<dim, spacedim>::fill_fe_subface_values(
 template <int dim, int spacedim>
 void
 MappingManifold<dim, spacedim>::transform(
-  const ArrayView<const Tensor<1, dim>> &                  input,
+  const ArrayView<const Tensor<1, dim>>                   &input,
   const MappingKind                                        mapping_kind,
   const typename Mapping<dim, spacedim>::InternalDataBase &mapping_data,
-  const ArrayView<Tensor<1, spacedim>> &                   output) const
+  const ArrayView<Tensor<1, spacedim>>                    &output) const
 {
   internal::MappingManifoldImplementation::transform_fields(input,
                                                             mapping_kind,
@@ -1299,7 +1299,7 @@ MappingManifold<dim, spacedim>::transform(
   const ArrayView<const DerivativeForm<1, dim, spacedim>> &input,
   const MappingKind                                        mapping_kind,
   const typename Mapping<dim, spacedim>::InternalDataBase &mapping_data,
-  const ArrayView<Tensor<2, spacedim>> &                   output) const
+  const ArrayView<Tensor<2, spacedim>>                    &output) const
 {
   internal::MappingManifoldImplementation::transform_differential_forms(
     input, mapping_kind, mapping_data, output);
@@ -1310,10 +1310,10 @@ MappingManifold<dim, spacedim>::transform(
 template <int dim, int spacedim>
 void
 MappingManifold<dim, spacedim>::transform(
-  const ArrayView<const Tensor<2, dim>> &                  input,
+  const ArrayView<const Tensor<2, dim>>                   &input,
   const MappingKind                                        mapping_kind,
   const typename Mapping<dim, spacedim>::InternalDataBase &mapping_data,
-  const ArrayView<Tensor<2, spacedim>> &                   output) const
+  const ArrayView<Tensor<2, spacedim>>                    &output) const
 {
   switch (mapping_kind)
     {
@@ -1343,7 +1343,7 @@ MappingManifold<dim, spacedim>::transform(
   const ArrayView<const DerivativeForm<2, dim, spacedim>> &input,
   const MappingKind                                        mapping_kind,
   const typename Mapping<dim, spacedim>::InternalDataBase &mapping_data,
-  const ArrayView<Tensor<3, spacedim>> &                   output) const
+  const ArrayView<Tensor<3, spacedim>>                    &output) const
 {
   AssertDimension(input.size(), output.size());
   Assert(dynamic_cast<const InternalData *>(&mapping_data) != nullptr,
@@ -1389,10 +1389,10 @@ MappingManifold<dim, spacedim>::transform(
 template <int dim, int spacedim>
 void
 MappingManifold<dim, spacedim>::transform(
-  const ArrayView<const Tensor<3, dim>> &                  input,
+  const ArrayView<const Tensor<3, dim>>                   &input,
   const MappingKind                                        mapping_kind,
   const typename Mapping<dim, spacedim>::InternalDataBase &mapping_data,
-  const ArrayView<Tensor<3, spacedim>> &                   output) const
+  const ArrayView<Tensor<3, spacedim>>                    &output) const
 {
   switch (mapping_kind)
     {
index 5563f8a1717b39058e80142a7768c924eff34b61..73444b89f974270b720593fc466b702a1b8543d3 100644 (file)
@@ -289,7 +289,7 @@ template <int dim, int spacedim>
 Point<spacedim>
 MappingQ<dim, spacedim>::transform_unit_to_real_cell(
   const typename Triangulation<dim, spacedim>::cell_iterator &cell,
-  const Point<dim> &                                          p) const
+  const Point<dim>                                           &p) const
 {
   return Point<spacedim>(internal::evaluate_tensor_product_value(
     polynomials_1d,
@@ -337,8 +337,8 @@ template <>
 Point<1>
 MappingQ<1, 1>::transform_real_to_unit_cell_internal(
   const Triangulation<1, 1>::cell_iterator &cell,
-  const Point<1> &                          p,
-  const Point<1> &                          initial_p_unit) const
+  const Point<1>                           &p,
+  const Point<1>                           &initial_p_unit) const
 {
   // dispatch to the various specializations for spacedim=dim,
   // spacedim=dim+1, etc
@@ -357,8 +357,8 @@ template <>
 Point<2>
 MappingQ<2, 2>::transform_real_to_unit_cell_internal(
   const Triangulation<2, 2>::cell_iterator &cell,
-  const Point<2> &                          p,
-  const Point<2> &                          initial_p_unit) const
+  const Point<2>                           &p,
+  const Point<2>                           &initial_p_unit) const
 {
   return internal::MappingQImplementation::
     do_transform_real_to_unit_cell_internal<2>(
@@ -375,8 +375,8 @@ template <>
 Point<3>
 MappingQ<3, 3>::transform_real_to_unit_cell_internal(
   const Triangulation<3, 3>::cell_iterator &cell,
-  const Point<3> &                          p,
-  const Point<3> &                          initial_p_unit) const
+  const Point<3>                           &p,
+  const Point<3>                           &initial_p_unit) const
 {
   return internal::MappingQImplementation::
     do_transform_real_to_unit_cell_internal<3>(
@@ -393,8 +393,8 @@ template <>
 Point<1>
 MappingQ<1, 2>::transform_real_to_unit_cell_internal(
   const Triangulation<1, 2>::cell_iterator &cell,
-  const Point<2> &                          p,
-  const Point<1> &                          initial_p_unit) const
+  const Point<2>                           &p,
+  const Point<1>                           &initial_p_unit) const
 {
   const int dim      = 1;
   const int spacedim = 2;
@@ -426,8 +426,8 @@ template <>
 Point<2>
 MappingQ<2, 3>::transform_real_to_unit_cell_internal(
   const Triangulation<2, 3>::cell_iterator &cell,
-  const Point<3> &                          p,
-  const Point<2> &                          initial_p_unit) const
+  const Point<3>                           &p,
+  const Point<2>                           &initial_p_unit) const
 {
   const int dim      = 2;
   const int spacedim = 3;
@@ -472,7 +472,7 @@ template <int dim, int spacedim>
 Point<dim>
 MappingQ<dim, spacedim>::transform_real_to_unit_cell(
   const typename Triangulation<dim, spacedim>::cell_iterator &cell,
-  const Point<spacedim> &                                     p) const
+  const Point<spacedim>                                      &p) const
 {
   // Use an exact formula if one is available. this is only the case
   // for Q1 mappings in 1d, and in 2d if dim==spacedim
@@ -592,8 +592,8 @@ template <int dim, int spacedim>
 void
 MappingQ<dim, spacedim>::transform_points_real_to_unit_cell(
   const typename Triangulation<dim, spacedim>::cell_iterator &cell,
-  const ArrayView<const Point<spacedim>> &                    real_points,
-  const ArrayView<Point<dim>> &                               unit_points) const
+  const ArrayView<const Point<spacedim>>                     &real_points,
+  const ArrayView<Point<dim>>                                &unit_points) const
 {
   // Go to base class functions for dim < spacedim because it is not yet
   // implemented with optimized code.
@@ -786,8 +786,8 @@ CellSimilarity::Similarity
 MappingQ<dim, spacedim>::fill_fe_values(
   const typename Triangulation<dim, spacedim>::cell_iterator &cell,
   const CellSimilarity::Similarity                            cell_similarity,
-  const Quadrature<dim> &                                     quadrature,
-  const typename Mapping<dim, spacedim>::InternalDataBase &   internal_data,
+  const Quadrature<dim>                                      &quadrature,
+  const typename Mapping<dim, spacedim>::InternalDataBase    &internal_data,
   internal::FEValuesImplementation::MappingRelatedData<dim, spacedim>
     &output_data) const
 {
@@ -1005,8 +1005,8 @@ void
 MappingQ<dim, spacedim>::fill_fe_face_values(
   const typename Triangulation<dim, spacedim>::cell_iterator &cell,
   const unsigned int                                          face_no,
-  const hp::QCollection<dim - 1> &                            quadrature,
-  const typename Mapping<dim, spacedim>::InternalDataBase &   internal_data,
+  const hp::QCollection<dim - 1>                             &quadrature,
+  const typename Mapping<dim, spacedim>::InternalDataBase    &internal_data,
   internal::FEValuesImplementation::MappingRelatedData<dim, spacedim>
     &output_data) const
 {
@@ -1058,8 +1058,8 @@ MappingQ<dim, spacedim>::fill_fe_subface_values(
   const typename Triangulation<dim, spacedim>::cell_iterator &cell,
   const unsigned int                                          face_no,
   const unsigned int                                          subface_no,
-  const Quadrature<dim - 1> &                                 quadrature,
-  const typename Mapping<dim, spacedim>::InternalDataBase &   internal_data,
+  const Quadrature<dim - 1>                                  &quadrature,
+  const typename Mapping<dim, spacedim>::InternalDataBase    &internal_data,
   internal::FEValuesImplementation::MappingRelatedData<dim, spacedim>
     &output_data) const
 {
@@ -1109,8 +1109,8 @@ template <int dim, int spacedim>
 void
 MappingQ<dim, spacedim>::fill_fe_immersed_surface_values(
   const typename Triangulation<dim, spacedim>::cell_iterator &cell,
-  const NonMatching::ImmersedSurfaceQuadrature<dim> &         quadrature,
-  const typename Mapping<dim, spacedim>::InternalDataBase &   internal_data,
+  const NonMatching::ImmersedSurfaceQuadrature<dim>          &quadrature,
+  const typename Mapping<dim, spacedim>::InternalDataBase    &internal_data,
   internal::FEValuesImplementation::MappingRelatedData<dim, spacedim>
     &output_data) const
 {
@@ -1240,7 +1240,7 @@ template <int dim, int spacedim>
 void
 MappingQ<dim, spacedim>::fill_mapping_data_for_generic_points(
   const typename Triangulation<dim, spacedim>::cell_iterator &cell,
-  const ArrayView<const Point<dim>> &                         unit_points,
+  const ArrayView<const Point<dim>>                          &unit_points,
   const UpdateFlags                                           update_flags,
   internal::FEValuesImplementation::MappingRelatedData<dim, spacedim>
     &output_data) const
@@ -1281,8 +1281,8 @@ void
 MappingQ<dim, spacedim>::fill_mapping_data_for_face_quadrature(
   const typename Triangulation<dim, spacedim>::cell_iterator &cell,
   const unsigned int                                          face_no,
-  const Quadrature<dim - 1> &                                 face_quadrature,
-  const typename Mapping<dim, spacedim>::InternalDataBase &   internal_data,
+  const Quadrature<dim - 1>                                  &face_quadrature,
+  const typename Mapping<dim, spacedim>::InternalDataBase    &internal_data,
   internal::FEValuesImplementation::MappingRelatedData<dim, spacedim>
     &output_data) const
 {
@@ -1315,10 +1315,10 @@ MappingQ<dim, spacedim>::fill_mapping_data_for_face_quadrature(
 template <int dim, int spacedim>
 void
 MappingQ<dim, spacedim>::transform(
-  const ArrayView<const Tensor<1, dim>> &                  input,
+  const ArrayView<const Tensor<1, dim>>                   &input,
   const MappingKind                                        mapping_kind,
   const typename Mapping<dim, spacedim>::InternalDataBase &mapping_data,
-  const ArrayView<Tensor<1, spacedim>> &                   output) const
+  const ArrayView<Tensor<1, spacedim>>                    &output) const
 {
   internal::MappingQImplementation::transform_fields(input,
                                                      mapping_kind,
@@ -1334,7 +1334,7 @@ MappingQ<dim, spacedim>::transform(
   const ArrayView<const DerivativeForm<1, dim, spacedim>> &input,
   const MappingKind                                        mapping_kind,
   const typename Mapping<dim, spacedim>::InternalDataBase &mapping_data,
-  const ArrayView<Tensor<2, spacedim>> &                   output) const
+  const ArrayView<Tensor<2, spacedim>>                    &output) const
 {
   internal::MappingQImplementation::transform_differential_forms(input,
                                                                  mapping_kind,
@@ -1347,10 +1347,10 @@ MappingQ<dim, spacedim>::transform(
 template <int dim, int spacedim>
 void
 MappingQ<dim, spacedim>::transform(
-  const ArrayView<const Tensor<2, dim>> &                  input,
+  const ArrayView<const Tensor<2, dim>>                   &input,
   const MappingKind                                        mapping_kind,
   const typename Mapping<dim, spacedim>::InternalDataBase &mapping_data,
-  const ArrayView<Tensor<2, spacedim>> &                   output) const
+  const ArrayView<Tensor<2, spacedim>>                    &output) const
 {
   switch (mapping_kind)
     {
@@ -1382,7 +1382,7 @@ MappingQ<dim, spacedim>::transform(
   const ArrayView<const DerivativeForm<2, dim, spacedim>> &input,
   const MappingKind                                        mapping_kind,
   const typename Mapping<dim, spacedim>::InternalDataBase &mapping_data,
-  const ArrayView<Tensor<3, spacedim>> &                   output) const
+  const ArrayView<Tensor<3, spacedim>>                    &output) const
 {
   AssertDimension(input.size(), output.size());
   Assert(dynamic_cast<const InternalData *>(&mapping_data) != nullptr,
@@ -1431,10 +1431,10 @@ MappingQ<dim, spacedim>::transform(
 template <int dim, int spacedim>
 void
 MappingQ<dim, spacedim>::transform(
-  const ArrayView<const Tensor<3, dim>> &                  input,
+  const ArrayView<const Tensor<3, dim>>                   &input,
   const MappingKind                                        mapping_kind,
   const typename Mapping<dim, spacedim>::InternalDataBase &mapping_data,
-  const ArrayView<Tensor<3, spacedim>> &                   output) const
+  const ArrayView<Tensor<3, spacedim>>                    &output) const
 {
   switch (mapping_kind)
     {
@@ -1457,7 +1457,7 @@ template <int dim, int spacedim>
 void
 MappingQ<dim, spacedim>::add_line_support_points(
   const typename Triangulation<dim, spacedim>::cell_iterator &cell,
-  std::vector<Point<spacedim>> &                              a) const
+  std::vector<Point<spacedim>>                               &a) const
 {
   // if we only need the midpoint, then ask for it.
   if (this->polynomial_degree == 2)
@@ -1524,7 +1524,7 @@ template <>
 void
 MappingQ<3, 3>::add_quad_support_points(
   const Triangulation<3, 3>::cell_iterator &cell,
-  std::vector<Point<3>> &                   a) const
+  std::vector<Point<3>>                    &a) const
 {
   const unsigned int faces_per_cell = GeometryInfo<3>::faces_per_cell;
 
@@ -1593,7 +1593,7 @@ template <>
 void
 MappingQ<2, 3>::add_quad_support_points(
   const Triangulation<2, 3>::cell_iterator &cell,
-  std::vector<Point<3>> &                   a) const
+  std::vector<Point<3>>                    &a) const
 {
   std::array<Point<3>, GeometryInfo<2>::vertices_per_cell> vertices;
   for (const unsigned int i : GeometryInfo<2>::vertex_indices())
index fa8e7dea278b499b7be3ca2af200ded5bc041798..7911a09759010386d4081bd5a9a2e542ba3938bc 100644 (file)
@@ -40,7 +40,7 @@ DEAL_II_NAMESPACE_OPEN
 template <int dim, typename VectorType, int spacedim>
 MappingQ1Eulerian<dim, VectorType, spacedim>::MappingQ1Eulerian(
   const DoFHandler<dim, spacedim> &shiftmap_dof_handler,
-  const VectorType &               euler_transform_vectors)
+  const VectorType                &euler_transform_vectors)
   : MappingQ<dim, spacedim>(1)
   , euler_transform_vectors(&euler_transform_vectors)
   , shiftmap_dof_handler(&shiftmap_dof_handler)
@@ -132,7 +132,7 @@ CellSimilarity::Similarity
 MappingQ1Eulerian<dim, VectorType, spacedim>::fill_fe_values(
   const typename Triangulation<dim, spacedim>::cell_iterator &cell,
   const CellSimilarity::Similarity,
-  const Quadrature<dim> &                                  quadrature,
+  const Quadrature<dim>                                   &quadrature,
   const typename Mapping<dim, spacedim>::InternalDataBase &internal_data,
   internal::FEValuesImplementation::MappingRelatedData<dim, spacedim>
     &output_data) const
index f9f003429f106cb7836aecbe688559d9bee61c6f..813f4a7c4fa80bb680710dbd23ef90752adf40cb 100644 (file)
@@ -87,7 +87,7 @@ MappingQCache<dim, spacedim>::preserves_vertex_locations() const
 template <int dim, int spacedim>
 void
 MappingQCache<dim, spacedim>::initialize(
-  const Mapping<dim, spacedim> &      mapping,
+  const Mapping<dim, spacedim>       &mapping,
   const Triangulation<dim, spacedim> &triangulation)
 {
   // FE and FEValues in the case they are needed
@@ -177,11 +177,11 @@ MappingQCache<dim, spacedim>::initialize(
 template <int dim, int spacedim>
 void
 MappingQCache<dim, spacedim>::initialize(
-  const Mapping<dim, spacedim> &      mapping,
+  const Mapping<dim, spacedim>       &mapping,
   const Triangulation<dim, spacedim> &tria,
   const std::function<Point<spacedim>(
     const typename Triangulation<dim, spacedim>::cell_iterator &,
-    const Point<spacedim> &)> &       transformation_function,
+    const Point<spacedim> &)>        &transformation_function,
   const bool                          function_describes_relative_displacement)
 {
   // FE and FEValues in the case they are needed
@@ -243,9 +243,9 @@ MappingQCache<dim, spacedim>::initialize(
 template <int dim, int spacedim>
 void
 MappingQCache<dim, spacedim>::initialize(
-  const Mapping<dim, spacedim> &      mapping,
+  const Mapping<dim, spacedim>       &mapping,
   const Triangulation<dim, spacedim> &tria,
-  const Function<spacedim> &          transformation_function,
+  const Function<spacedim>           &transformation_function,
   const bool                          function_describes_relative_displacement)
 {
   AssertDimension(transformation_function.n_components, spacedim);
@@ -288,9 +288,9 @@ template <int dim, int spacedim>
 template <typename VectorType>
 void
 MappingQCache<dim, spacedim>::initialize(
-  const Mapping<dim, spacedim> &   mapping,
+  const Mapping<dim, spacedim>    &mapping,
   const DoFHandler<dim, spacedim> &dof_handler,
-  const VectorType &               vector,
+  const VectorType                &vector,
   const bool                       vector_describes_relative_displacement)
 {
   AssertDimension(dof_handler.get_fe_collection().size(), 1);
@@ -484,7 +484,7 @@ template <int dim, int spacedim>
 template <typename VectorType>
 void
 MappingQCache<dim, spacedim>::initialize(
-  const Mapping<dim, spacedim> &   mapping,
+  const Mapping<dim, spacedim>    &mapping,
   const DoFHandler<dim, spacedim> &dof_handler,
   const MGLevelObject<VectorType> &vectors,
   const bool                       vector_describes_relative_displacement)
index e666ef55fa1bc0fe39349245b8686d6895eae36f..5f8b845bf33dd7b8b1c5f908ab8d59b91fd30d2f 100644 (file)
@@ -27,16 +27,16 @@ for (deal_II_vec : REAL_NONBLOCK_VECTORS; deal_II_dimension : DIMENSIONS;
 #if deal_II_dimension <= deal_II_space_dimension
     template void
     MappingQCache<deal_II_dimension, deal_II_space_dimension>::initialize(
-      const Mapping<deal_II_dimension, deal_II_space_dimension> &   mapping,
+      const Mapping<deal_II_dimension, deal_II_space_dimension>    &mapping,
       const DoFHandler<deal_II_dimension, deal_II_space_dimension> &dof_handler,
-      const deal_II_vec &                                           vector,
+      const deal_II_vec                                            &vector,
       const bool vector_describes_relative_displacement);
 
     template void
     MappingQCache<deal_II_dimension, deal_II_space_dimension>::initialize(
-      const Mapping<deal_II_dimension, deal_II_space_dimension> &   mapping,
+      const Mapping<deal_II_dimension, deal_II_space_dimension>    &mapping,
       const DoFHandler<deal_II_dimension, deal_II_space_dimension> &dof_handler,
-      const MGLevelObject<deal_II_vec> &                            vector,
+      const MGLevelObject<deal_II_vec>                             &vector,
       const bool vector_describes_relative_displacement);
 #endif
   }
index 9e3653d264d2a0bf555f93b63a49e2d2eff20cff..c7ff940f1a8e481c5da4cf7f73d34e7071c45a68 100644 (file)
@@ -47,7 +47,7 @@ template <int dim, typename VectorType, int spacedim>
 MappingQEulerian<dim, VectorType, spacedim>::MappingQEulerian(
   const unsigned int               degree,
   const DoFHandler<dim, spacedim> &euler_dof_handler,
-  const VectorType &               euler_vector,
+  const VectorType                &euler_vector,
   const unsigned int               level)
   : MappingQ<dim, spacedim>(degree)
   , euler_vector(&euler_vector)
@@ -195,7 +195,7 @@ CellSimilarity::Similarity
 MappingQEulerian<dim, VectorType, spacedim>::fill_fe_values(
   const typename Triangulation<dim, spacedim>::cell_iterator &cell,
   const CellSimilarity::Similarity,
-  const Quadrature<dim> &                                  quadrature,
+  const Quadrature<dim>                                   &quadrature,
   const typename Mapping<dim, spacedim>::InternalDataBase &internal_data,
   internal::FEValuesImplementation::MappingRelatedData<dim, spacedim>
     &output_data) const
index fedc13e86d17fbbc2c23ad666e2824453bb026c8..b37e0a3573559e95fbb152920d357c6866a35f6d 100644 (file)
@@ -55,7 +55,7 @@ namespace Gmsh
 #  ifdef DEAL_II_WITH_OPENCASCADE
   template <int spacedim>
   void
-  create_triangulation_from_boundary_curve(const TopoDS_Edge &         boundary,
+  create_triangulation_from_boundary_curve(const TopoDS_Edge          &boundary,
                                            Triangulation<2, spacedim> &tria,
                                            const AdditionalParameters &prm)
   {
index d5f8c5889bbcfca00a7a3375260aae91efdbac9b..5a9158289a8423149a38e8407bd786f8004f7975 100644 (file)
@@ -18,9 +18,9 @@ for (deal_II_dimension : DIMENSIONS)
 #if deal_II_dimension > 1
 
     template void create_triangulation_from_boundary_curve(
-      const TopoDS_Edge &                  boundary,
+      const TopoDS_Edge                   &boundary,
       Triangulation<2, deal_II_dimension> &tria,
-      const AdditionalParameters &         prm);
+      const AdditionalParameters          &prm);
 
 #endif
   }
index 6d523a7e4604abd31bf06608a96c553d6029b1bc..da46dbbcee02a753058d8c490771cf0d03116eda 100644 (file)
@@ -49,7 +49,7 @@ CellId::CellId(const types::coarse_cell_id      coarse_cell_id,
 
 CellId::CellId(const types::coarse_cell_id coarse_cell_id,
                const unsigned int          n_child_indices,
-               const std::uint8_t *        id)
+               const std::uint8_t         *id)
   : coarse_cell_id(coarse_cell_id)
   , n_child_indices(n_child_indices)
 {
index 9e5434400f2cab24821c9422a6254eba5ed902ee..90ee15377d0672dad0a2831e74e7e3bd991d1b37 100644 (file)
@@ -240,7 +240,7 @@ namespace GridGenerator
          */
         void
         create_triangulation(
-          Triangulation<2> &                            tria_grid,
+          Triangulation<2>                             &tria_grid,
           std::vector<GridTools::PeriodicFacePair<
             typename Triangulation<2>::cell_iterator>> *periodic_faces) const
         {
@@ -418,7 +418,7 @@ namespace GridGenerator
          *  airfoil points.
          */
         static std::array<std::vector<Point<2>>, 2>
-        joukowski(const Point<2> &   centerpoint,
+        joukowski(const Point<2>    &centerpoint,
                   const unsigned int number_points,
                   const unsigned int factor)
         {
@@ -510,7 +510,7 @@ namespace GridGenerator
          *  point with most negative x-component, then counterclockwise.
          */
         static std::vector<Point<2>>
-        joukowski_circle(const Point<2> &   center,
+        joukowski_circle(const Point<2>    &center,
                          const unsigned int number_points)
         {
           std::vector<Point<2>> circle_points;
@@ -834,8 +834,8 @@ namespace GridGenerator
           std::vector<Triangulation<2>> trias(10);
 
           // helper function to create a subdivided quadrilateral
-          auto make = [](Triangulation<2> &               tria,
-                         const std::vector<Point<2>> &    corner_vertices,
+          auto make = [](Triangulation<2>                &tria,
+                         const std::vector<Point<2>>     &corner_vertices,
                          const std::vector<unsigned int> &repetitions,
                          const unsigned int               material_id) {
             // create subdivided rectangle with corner points (-1,-1)
@@ -848,7 +848,7 @@ namespace GridGenerator
             // move all vertices to the correct position
             for (auto it = tria.begin_vertex(); it < tria.end_vertex(); ++it)
               {
-                auto &       point = it->vertex();
+                auto        &point = it->vertex();
                 const double xi    = point(0);
                 const double eta   = point(1);
 
@@ -1160,10 +1160,10 @@ namespace GridGenerator
 
     void
     internal_create_triangulation(
-      Triangulation<2, 2> &                            tria,
+      Triangulation<2, 2>                             &tria,
       std::vector<GridTools::PeriodicFacePair<
         typename Triangulation<2, 2>::cell_iterator>> *periodic_faces,
-      const AdditionalData &                           additional_data)
+      const AdditionalData                            &additional_data)
     {
       MeshGenerator mesh_generator(additional_data);
       // Cast the triangulation to the right type so that the right
@@ -1203,7 +1203,7 @@ namespace GridGenerator
 
     template <>
     void
-    create_triangulation(Triangulation<2, 2> tria,
+    create_triangulation(Triangulation<2, 2>  &tria,
                          const AdditionalData &additional_data)
     {
       internal_create_triangulation(tria, nullptr, additional_data);
@@ -1214,10 +1214,10 @@ namespace GridGenerator
     template <>
     void
     create_triangulation(
-      Triangulation<2, 2> &                            tria,
+      Triangulation<2, 2>                             &tria,
       std::vector<GridTools::PeriodicFacePair<
         typename Triangulation<2, 2>::cell_iterator>> &periodic_faces,
-      const AdditionalData &                           additional_data)
+      const AdditionalData                            &additional_data)
     {
       internal_create_triangulation(tria, &periodic_faces, additional_data);
     }
@@ -1227,10 +1227,10 @@ namespace GridGenerator
     template <>
     void
     create_triangulation(
-      Triangulation<3, 3> &                            tria,
+      Triangulation<3, 3>                             &tria,
       std::vector<GridTools::PeriodicFacePair<
         typename Triangulation<3, 3>::cell_iterator>> &periodic_faces,
-      const AdditionalData &                           additional_data)
+      const AdditionalData                            &additional_data)
     {
       Assert(false, ExcMessage("3d airfoils are not implemented yet!"));
       (void)tria;
@@ -1286,8 +1286,8 @@ namespace GridGenerator
     template <int dim, int spacedim>
     void
     colorize_subdivided_hyper_rectangle(Triangulation<dim, spacedim> &tria,
-                                        const Point<spacedim> &       p1,
-                                        const Point<spacedim> &       p2,
+                                        const Point<spacedim>        &p1,
+                                        const Point<spacedim>        &p2,
                                         const double                  epsilon)
     {
       // run through all faces and check
@@ -1450,7 +1450,7 @@ namespace GridGenerator
      */
     void
     colorize_quarter_hyper_shell(Triangulation<3> &tria,
-                                 const Point<3> &  center,
+                                 const Point<3>   &center,
                                  const double      inner_radius,
                                  const double      outer_radius)
     {
@@ -1537,8 +1537,8 @@ namespace GridGenerator
   template <int dim, int spacedim>
   void
   hyper_rectangle(Triangulation<dim, spacedim> &tria,
-                  const Point<dim> &            p_1,
-                  const Point<dim> &            p_2,
+                  const Point<dim>             &p_1,
+                  const Point<dim>             &p_2,
                   const bool                    colorize)
   {
     // First, extend dimensions from dim to spacedim and
@@ -1736,7 +1736,7 @@ namespace GridGenerator
   template <int dim, int spacedim>
   void
   reference_cell(Triangulation<dim, spacedim> &tria,
-                 const ReferenceCell &         reference_cell)
+                 const ReferenceCell          &reference_cell)
   {
     AssertDimension(dim, reference_cell.get_dimension());
 
@@ -1773,7 +1773,7 @@ namespace GridGenerator
   }
 
   void
-  moebius(Triangulation<3> tria,
+  moebius(Triangulation<3>  &tria,
           const unsigned int n_cells,
           const unsigned int n_rotations,
           const double       R,
@@ -2127,7 +2127,7 @@ namespace GridGenerator
 
   template <int dim, int spacedim>
   void
-  general_cell(Triangulation<dim, spacedim> &      tria,
+  general_cell(Triangulation<dim, spacedim>       &tria,
                const std::vector<Point<spacedim>> &vertices,
                const bool                          colorize)
   {
@@ -2155,7 +2155,7 @@ namespace GridGenerator
   template <>
   void
   parallelogram(Triangulation<3> &,
-                const Point<3> (&/*corners*/)[3],
+                const Point<3> (& /*corners*/)[3],
                 const bool /*colorize*/)
   {
     Assert(false, ExcNotImplemented());
@@ -2164,7 +2164,7 @@ namespace GridGenerator
   template <>
   void
   parallelogram(Triangulation<1> &,
-                const Point<1> (&/*corners*/)[1],
+                const Point<1> (& /*corners*/)[1],
                 const bool /*colorize*/)
   {
     Assert(false, ExcNotImplemented());
@@ -2248,8 +2248,8 @@ namespace GridGenerator
   // similar to parallelogram().
   template <int dim, int spacedim>
   void
-  subdivided_parallelepiped(Triangulation<dim, spacedim> &              tria,
-                            const Point<spacedim> &                     origin,
+  subdivided_parallelepiped(Triangulation<dim, spacedim>               &tria,
+                            const Point<spacedim>                      &origin,
                             const std::array<Tensor<1, spacedim>, dim> &edges,
                             const std::vector<unsigned int> &subdivisions,
                             const bool                       colorize)
@@ -2512,10 +2512,10 @@ namespace GridGenerator
 
   template <int dim, int spacedim>
   void
-  subdivided_hyper_rectangle(Triangulation<dim, spacedim> &   tria,
+  subdivided_hyper_rectangle(Triangulation<dim, spacedim>    &tria,
                              const std::vector<unsigned int> &repetitions,
-                             const Point<dim> &               p_1,
-                             const Point<dim> &               p_2,
+                             const Point<dim>                &p_1,
+                             const Point<dim>                &p_2,
                              const bool                       colorize)
   {
     Assert(repetitions.size() == dim, ExcInvalidRepetitionsDimension(dim));
@@ -2662,10 +2662,10 @@ namespace GridGenerator
 
   template <int dim>
   void
-  subdivided_hyper_rectangle(Triangulation<dim> &                    tria,
+  subdivided_hyper_rectangle(Triangulation<dim>                     &tria,
                              const std::vector<std::vector<double>> &step_sz,
-                             const Point<dim> &                      p_1,
-                             const Point<dim> &                      p_2,
+                             const Point<dim>                       &p_1,
+                             const Point<dim>                       &p_2,
                              const bool                              colorize)
   {
     Assert(step_sz.size() == dim, ExcInvalidRepetitionsDimension(dim));
@@ -2884,9 +2884,9 @@ namespace GridGenerator
 
   template <>
   void
-  subdivided_hyper_rectangle(Triangulation<1> &                      tria,
+  subdivided_hyper_rectangle(Triangulation<1>                       &tria,
                              const std::vector<std::vector<double>> &spacing,
-                             const Point<1> &                        p,
+                             const Point<1>                         &p,
                              const Table<1, types::material_id> &material_id,
                              const bool                          colorize)
   {
@@ -2942,9 +2942,9 @@ namespace GridGenerator
 
   template <>
   void
-  subdivided_hyper_rectangle(Triangulation<2> &                      tria,
+  subdivided_hyper_rectangle(Triangulation<2>                       &tria,
                              const std::vector<std::vector<double>> &spacing,
-                             const Point<2> &                        p,
+                             const Point<2>                         &p,
                              const Table<2, types::material_id> &material_id,
                              const bool                          colorize)
   {
@@ -3034,9 +3034,9 @@ namespace GridGenerator
 
   template <>
   void
-  subdivided_hyper_rectangle(Triangulation<3> &                      tria,
+  subdivided_hyper_rectangle(Triangulation<3>                       &tria,
                              const std::vector<std::vector<double>> &spacing,
-                             const Point<3> &                        p,
+                             const Point<3>                         &p,
                              const Table<3, types::material_id> &material_id,
                              const bool                          colorize)
   {
@@ -3142,7 +3142,7 @@ namespace GridGenerator
 
   template <int dim, int spacedim>
   void
-  cheese(Triangulation<dim, spacedim> &   tria,
+  cheese(Triangulation<dim, spacedim>    &tria,
          const std::vector<unsigned int> &holes)
   {
     AssertDimension(holes.size(), dim);
@@ -3326,14 +3326,14 @@ namespace GridGenerator
 
   template <>
   void
-  plate_with_a_hole(Triangulation<2> &       tria,
+  plate_with_a_hole(Triangulation<2>        &tria,
                     const double             inner_radius,
                     const double             outer_radius,
                     const double             pad_bottom,
                     const double             pad_top,
                     const double             pad_left,
                     const double             pad_right,
-                    const Point<2> &         new_center,
+                    const Point<2>          &new_center,
                     const types::manifold_id polar_manifold_id,
                     const types::manifold_id tfi_manifold_id,
                     const double             L,
@@ -3510,14 +3510,14 @@ namespace GridGenerator
 
   template <>
   void
-  plate_with_a_hole(Triangulation<3> &       tria,
+  plate_with_a_hole(Triangulation<3>        &tria,
                     const double             inner_radius,
                     const double             outer_radius,
                     const double             pad_bottom,
                     const double             pad_top,
                     const double             pad_left,
                     const double             pad_right,
-                    const Point<3> &         new_center,
+                    const Point<3>          &new_center,
                     const types::manifold_id polar_manifold_id,
                     const types::manifold_id tfi_manifold_id,
                     const double             L,
@@ -3560,7 +3560,7 @@ namespace GridGenerator
 
   template <>
   void
-  channel_with_cylinder(Triangulation<2> tria,
+  channel_with_cylinder(Triangulation<2>  &tria,
                         const double       shell_region_width,
                         const unsigned int n_shells,
                         const double       skewness,
@@ -3790,7 +3790,7 @@ namespace GridGenerator
 
   template <>
   void
-  channel_with_cylinder(Triangulation<3> tria,
+  channel_with_cylinder(Triangulation<3>  &tria,
                         const double       shell_region_width,
                         const unsigned int n_shells,
                         const double       skewness,
@@ -3830,7 +3830,7 @@ namespace GridGenerator
 
   template <int dim, int spacedim>
   void
-  hyper_cross(Triangulation<dim, spacedim> &   tria,
+  hyper_cross(Triangulation<dim, spacedim>    &tria,
               const std::vector<unsigned int> &sizes,
               const bool                       colorize)
   {
@@ -4100,19 +4100,19 @@ namespace GridGenerator
   {
     const double             rl2                 = (right + left) / 2;
     const Point<2>           vertices[10]        = {Point<2>(left, left),
-                                   Point<2>(rl2, left),
-                                   Point<2>(rl2, rl2),
-                                   Point<2>(left, rl2),
-                                   Point<2>(right, left),
-                                   Point<2>(right, rl2),
-                                   Point<2>(rl2, right),
-                                   Point<2>(left, right),
-                                   Point<2>(right, right),
-                                   Point<2>(rl2, left)};
+                                                    Point<2>(rl2, left),
+                                                    Point<2>(rl2, rl2),
+                                                    Point<2>(left, rl2),
+                                                    Point<2>(right, left),
+                                                    Point<2>(right, rl2),
+                                                    Point<2>(rl2, right),
+                                                    Point<2>(left, right),
+                                                    Point<2>(right, right),
+                                                    Point<2>(rl2, left)};
     const int                cell_vertices[4][4] = {{0, 1, 3, 2},
-                                     {9, 4, 2, 5},
-                                     {3, 2, 7, 6},
-                                     {2, 5, 6, 8}};
+                                                    {9, 4, 2, 5},
+                                                    {3, 2, 7, 6},
+                                                    {2, 5, 6, 8}};
     std::vector<CellData<2>> cells(4, CellData<2>());
     for (unsigned int i = 0; i < 4; ++i)
       {
@@ -4185,13 +4185,13 @@ namespace GridGenerator
           const bool        colorize)
   {
     const Point<2> vertices[8]    = {Point<2>(a, a),
-                                  Point<2>((a + b) / 2, a),
-                                  Point<2>(b, a),
-                                  Point<2>(a, (a + b) / 2),
-                                  Point<2>((a + b) / 2, (a + b) / 2),
-                                  Point<2>(b, (a + b) / 2),
-                                  Point<2>(a, b),
-                                  Point<2>((a + b) / 2, b)};
+                                     Point<2>((a + b) / 2, a),
+                                     Point<2>(b, a),
+                                     Point<2>(a, (a + b) / 2),
+                                     Point<2>((a + b) / 2, (a + b) / 2),
+                                     Point<2>(b, (a + b) / 2),
+                                     Point<2>(a, b),
+                                     Point<2>((a + b) / 2, b)};
     const int cell_vertices[3][4] = {{0, 1, 3, 4}, {1, 2, 4, 5}, {3, 4, 6, 7}};
 
     std::vector<CellData<2>> cells(3, CellData<2>());
@@ -4231,11 +4231,11 @@ namespace GridGenerator
 
   template <int dim, int spacedim>
   void
-  subdivided_hyper_L(Triangulation<dim, spacedim> &   tria,
+  subdivided_hyper_L(Triangulation<dim, spacedim>    &tria,
                      const std::vector<unsigned int> &repetitions,
-                     const Point<dim> &               bottom_left,
-                     const Point<dim> &               top_right,
-                     const std::vector<int> &         n_cells_to_remove)
+                     const Point<dim>                &bottom_left,
+                     const Point<dim>                &top_right,
+                     const std::vector<int>          &n_cells_to_remove)
   {
     Assert(dim > 1, ExcNotImplemented());
     // Check the consistency of the dimensions provided.
@@ -4300,7 +4300,7 @@ namespace GridGenerator
   template <>
   void
   hyper_ball(Triangulation<2> &tria,
-             const Point<2> &  p,
+             const Point<2>   &p,
              const double      radius,
              const bool        internal_manifolds)
   {
@@ -4345,8 +4345,8 @@ namespace GridGenerator
 
   template <>
   void
-  hyper_shell(Triangulation<2> tria,
-              const Point<2> &   center,
+  hyper_shell(Triangulation<2>  &tria,
+              const Point<2>    &center,
               const double       inner_radius,
               const double       outer_radius,
               const unsigned int n_cells,
@@ -4416,8 +4416,8 @@ namespace GridGenerator
   template <int dim>
   void
   eccentric_hyper_shell(Triangulation<dim> &tria,
-                        const Point<dim> &  inner_center,
-                        const Point<dim> &  outer_center,
+                        const Point<dim>   &inner_center,
+                        const Point<dim>   &outer_center,
                         const double        inner_radius,
                         const double        outer_radius,
                         const unsigned int  n_cells)
@@ -4526,7 +4526,7 @@ namespace GridGenerator
   template <>
   void
   quarter_hyper_ball(Triangulation<2> &tria,
-                     const Point<2> &  p,
+                     const Point<2>   &p,
                      const double      radius)
   {
     const unsigned int dim = 2;
@@ -4590,7 +4590,7 @@ namespace GridGenerator
   template <>
   void
   half_hyper_ball(Triangulation<2> &tria,
-                  const Point<2> &  p,
+                  const Point<2>   &p,
                   const double      radius)
   {
     // equilibrate cell sizes at
@@ -4656,8 +4656,8 @@ namespace GridGenerator
   // Implementation for 2d only
   template <>
   void
-  half_hyper_shell(Triangulation<2> tria,
-                   const Point<2> &   center,
+  half_hyper_shell(Triangulation<2>  &tria,
+                   const Point<2>    &center,
                    const double       inner_radius,
                    const double       outer_radius,
                    const unsigned int n_cells,
@@ -4740,8 +4740,8 @@ namespace GridGenerator
 
   template <>
   void
-  quarter_hyper_shell(Triangulation<2> tria,
-                      const Point<2> &   center,
+  quarter_hyper_shell(Triangulation<2>  &tria,
+                      const Point<2>    &center,
                       const double       inner_radius,
                       const double       outer_radius,
                       const unsigned int n_cells,
@@ -5053,7 +5053,7 @@ namespace GridGenerator
   template <>
   void
   hyper_ball(Triangulation<3> &tria,
-             const Point<3> &  p,
+             const Point<3>   &p,
              const double      radius,
              const bool        internal_manifold)
   {
@@ -5120,7 +5120,7 @@ namespace GridGenerator
 
 
   void
-  non_standard_orientation_mesh(Triangulation<2> tria,
+  non_standard_orientation_mesh(Triangulation<2>  &tria,
                                 const unsigned int n_rotate_middle_square)
   {
     AssertThrow(n_rotate_middle_square < 4,
@@ -5478,7 +5478,7 @@ namespace GridGenerator
   template <int spacedim>
   void
   hyper_sphere(Triangulation<spacedim - 1, spacedim> &tria,
-               const Point<spacedim> &                p,
+               const Point<spacedim>                 &p,
                const double                           radius)
   {
     Triangulation<spacedim> volume_mesh;
@@ -5494,7 +5494,7 @@ namespace GridGenerator
   // Implementation for 3d only
   template <>
   void
-  subdivided_cylinder(Triangulation<3> tria,
+  subdivided_cylinder(Triangulation<3>  &tria,
                       const unsigned int x_subdivisions,
                       const double       radius,
                       const double       half_length)
@@ -5635,7 +5635,7 @@ namespace GridGenerator
   template <>
   void
   quarter_hyper_ball(Triangulation<3> &tria,
-                     const Point<3> &  center,
+                     const Point<3>   &center,
                      const double      radius)
   {
     const unsigned int dim = 3;
@@ -5734,7 +5734,7 @@ namespace GridGenerator
   template <>
   void
   half_hyper_ball(Triangulation<3> &tria,
-                  const Point<3> &  center,
+                  const Point<3>   &center,
                   const double      radius)
   {
     // These are for the two lower squares
@@ -5840,7 +5840,7 @@ namespace GridGenerator
   template <int dim>
   void
   hyper_ball_balanced(Triangulation<dim> &tria,
-                      const Point<dim> &  p,
+                      const Point<dim>   &p,
                       const double        radius)
   {
     // We create the ball by duplicating the information in each dimension at
@@ -5940,7 +5940,7 @@ namespace GridGenerator
     {
       void
       hyper_shell_6(Triangulation<3> &tria,
-                    const Point<3> &  p,
+                    const Point<3>   &p,
                     const double      inner_radius,
                     const double      outer_radius)
       {
@@ -5991,7 +5991,7 @@ namespace GridGenerator
 
       void
       hyper_shell_12(Triangulation<3> &tria,
-                     const Point<3> &  p,
+                     const Point<3>   &p,
                      const double      inner_radius,
                      const double      outer_radius)
       {
@@ -6063,10 +6063,10 @@ namespace GridGenerator
       }
 
       void
-      hyper_shell_24_48(Triangulation<3> tria,
+      hyper_shell_24_48(Triangulation<3>  &tria,
                         const unsigned int n,
                         const unsigned int n_refinement_steps,
-                        const Point<3> &   p,
+                        const Point<3>    &p,
                         const double       inner_radius,
                         const double       outer_radius)
       {
@@ -6141,8 +6141,8 @@ namespace GridGenerator
 
   template <>
   void
-  hyper_shell(Triangulation<3> tria,
-              const Point<3> &   p,
+  hyper_shell(Triangulation<3>  &tria,
+              const Point<3>    &p,
               const double       inner_radius,
               const double       outer_radius,
               const unsigned int n_cells,
@@ -6214,7 +6214,7 @@ namespace GridGenerator
   template <>
   void
   half_hyper_shell(Triangulation<3> &tria,
-                   const Point<3> &  center,
+                   const Point<3>   &center,
                    const double      inner_radius,
                    const double      outer_radius,
                    const unsigned int /*n_cells*/,
@@ -6314,8 +6314,8 @@ namespace GridGenerator
   // Implementation for 3d only
   template <>
   void
-  quarter_hyper_shell(Triangulation<3> tria,
-                      const Point<3> &   center,
+  quarter_hyper_shell(Triangulation<3>  &tria,
+                      const Point<3>    &center,
                       const double       inner_radius,
                       const double       outer_radius,
                       const unsigned int n,
@@ -6383,7 +6383,7 @@ namespace GridGenerator
   // Implementation for 3d only
   template <>
   void
-  cylinder_shell(Triangulation<3> tria,
+  cylinder_shell(Triangulation<3>  &tria,
                  const double       length,
                  const double       inner_radius,
                  const double       outer_radius,
@@ -6471,7 +6471,7 @@ namespace GridGenerator
   void
   merge_triangulations(
     const std::vector<const Triangulation<dim, spacedim> *> &triangulations,
-    Triangulation<dim, spacedim> &                           result,
+    Triangulation<dim, spacedim>                            &result,
     const double duplicated_vertex_tolerance,
     const bool   copy_manifold_ids,
     const bool   copy_boundary_ids)
@@ -6581,7 +6581,7 @@ namespace GridGenerator
   void
   merge_triangulations(const Triangulation<dim, spacedim> &triangulation_1,
                        const Triangulation<dim, spacedim> &triangulation_2,
-                       Triangulation<dim, spacedim> &      result,
+                       Triangulation<dim, spacedim>       &result,
                        const double duplicated_vertex_tolerance,
                        const bool   copy_manifold_ids,
                        const bool   copy_boundary_ids)
@@ -6732,8 +6732,8 @@ namespace GridGenerator
   template <int dim, int spacedim>
   void
   replicate_triangulation(const Triangulation<dim, spacedim> &input,
-                          const std::vector<unsigned int> &   extents,
-                          Triangulation<dim, spacedim> &      result)
+                          const std::vector<unsigned int>    &extents,
+                          Triangulation<dim, spacedim>       &result)
   {
     AssertDimension(dim, extents.size());
 #  ifdef DEBUG
@@ -6743,8 +6743,8 @@ namespace GridGenerator
                         "each coordinate dimension."));
 #  endif
     const BoundingBox<spacedim> bbox(input.get_vertices());
-    const auto &                min = bbox.get_boundary_points().first;
-    const auto &                max = bbox.get_boundary_points().second;
+    const auto                 &min = bbox.get_boundary_points().first;
+    const auto                 &max = bbox.get_boundary_points().second;
 
     std::array<Tensor<1, spacedim>, dim> offsets;
     for (unsigned int d = 0; d < dim; ++d)
@@ -6835,7 +6835,7 @@ namespace GridGenerator
   create_union_triangulation(
     const Triangulation<dim, spacedim> &triangulation_1,
     const Triangulation<dim, spacedim> &triangulation_2,
-    Triangulation<dim, spacedim> &      result)
+    Triangulation<dim, spacedim>       &result)
   {
     Assert(GridTools::have_same_coarse_mesh(triangulation_1, triangulation_2),
            ExcMessage("The two input triangulations are not derived from "
@@ -6893,7 +6893,7 @@ namespace GridGenerator
   create_triangulation_with_removed_cells(
     const Triangulation<dim, spacedim> &input_triangulation,
     const std::set<typename Triangulation<dim, spacedim>::active_cell_iterator>
-      &                           cells_to_remove,
+                                 &cells_to_remove,
     Triangulation<dim, spacedim> &result)
   {
     // simply copy the vertices; we will later strip those
@@ -6939,10 +6939,10 @@ namespace GridGenerator
 
   void
   extrude_triangulation(
-    const Triangulation<2, 2> &            input,
+    const Triangulation<2, 2>             &input,
     const unsigned int                     n_slices,
     const double                           height,
-    Triangulation<3, 3> &                  result,
+    Triangulation<3, 3>                   &result,
     const bool                             copy_manifold_ids,
     const std::vector<types::manifold_id> &manifold_priorities)
   {
@@ -6970,10 +6970,10 @@ namespace GridGenerator
 
   void
   extrude_triangulation(
-    const Triangulation<2, 2> &            input,
+    const Triangulation<2, 2>             &input,
     const unsigned int                     n_slices,
     const double                           height,
-    Triangulation<2, 2> &                  result,
+    Triangulation<2, 2>                   &result,
     const bool                             copy_manifold_ids,
     const std::vector<types::manifold_id> &manifold_priorities)
   {
@@ -6994,9 +6994,9 @@ namespace GridGenerator
 
   void
   extrude_triangulation(
-    const Triangulation<2, 2> &            input,
-    const std::vector<double> &            slice_coordinates,
-    Triangulation<3, 3> &                  result,
+    const Triangulation<2, 2>             &input,
+    const std::vector<double>             &slice_coordinates,
+    Triangulation<3, 3>                   &result,
     const bool                             copy_manifold_ids,
     const std::vector<types::manifold_id> &manifold_priorities)
   {
@@ -7224,9 +7224,9 @@ namespace GridGenerator
 
   void
   extrude_triangulation(
-    const Triangulation<2, 2> &            input,
-    const std::vector<double> &            slice_coordinates,
-    Triangulation<2, 2> &                  result,
+    const Triangulation<2, 2>             &input,
+    const std::vector<double>             &slice_coordinates,
+    Triangulation<2, 2>                   &result,
     const bool                             copy_manifold_ids,
     const std::vector<types::manifold_id> &manifold_priorities)
   {
@@ -7341,7 +7341,7 @@ namespace GridGenerator
   template <int dim>
   void
   concentric_hyper_shells(Triangulation<dim> &triangulation,
-                          const Point<dim> &  center,
+                          const Point<dim>   &center,
                           const double        inner_radius,
                           const double        outer_radius,
                           const unsigned int  n_shells,
@@ -7454,7 +7454,7 @@ namespace GridGenerator
 
   template <>
   void
-  hyper_cube_with_cylindrical_hole(Triangulation<3> triangulation,
+  hyper_cube_with_cylindrical_hole(Triangulation<3>  &triangulation,
                                    const double       inner_radius,
                                    const double       outer_radius,
                                    const double       L,
@@ -7574,7 +7574,7 @@ namespace GridGenerator
   template <int dim, int spacedim1, int spacedim2>
   void
   flatten_triangulation(const Triangulation<dim, spacedim1> &in_tria,
-                        Triangulation<dim, spacedim2> &      out_tria)
+                        Triangulation<dim, spacedim2>       &out_tria)
   {
     Assert((dynamic_cast<
               const parallel::distributed::Triangulation<dim, spacedim1> *>(
@@ -7655,21 +7655,21 @@ namespace GridGenerator
                   // above once.)
                   if ((face->user_flag_set() == false) &&
                       (face->manifold_id() != numbers::flat_manifold_id))
-                  {
-                    CellData<1> boundary_line;
+                    {
+                      CellData<1> boundary_line;
 
-                    boundary_line.vertices.resize(face->n_vertices());
-                    for (const auto i : face->vertex_indices())
-                      boundary_line.vertices[i] = face->vertex_index(i);
-                    boundary_line.boundary_id =
-                      numbers::internal_face_boundary_id;
-                    boundary_line.manifold_id = face->manifold_id();
+                      boundary_line.vertices.resize(face->n_vertices());
+                      for (const auto i : face->vertex_indices())
+                        boundary_line.vertices[i] = face->vertex_index(i);
+                      boundary_line.boundary_id =
+                        numbers::internal_face_boundary_id;
+                      boundary_line.manifold_id = face->manifold_id();
 
-                    subcelldata.boundary_lines.emplace_back(
-                      std::move(boundary_line));
+                      subcelldata.boundary_lines.emplace_back(
+                        std::move(boundary_line));
 
-                    face->set_user_flag();
-                  }
+                      face->set_user_flag();
+                    }
               }
 
             // Reset the user flags to their previous values:
@@ -7749,50 +7749,52 @@ namespace GridGenerator
                   // have also already dealt with the edges and don't have
                   // to worry about that any more separately.
                   if (face->user_flag_set() == false)
-                  {
-                    if (face->manifold_id() != numbers::flat_manifold_id)
-                      {
-                        CellData<2> boundary_face;
-
-                        boundary_face.vertices.resize(face->n_vertices());
-                        for (const auto i : face->vertex_indices())
-                          boundary_face.vertices[i] = face->vertex_index(i);
-                        boundary_face.boundary_id =
-                          numbers::internal_face_boundary_id;
-                        boundary_face.manifold_id = face->manifold_id();
-
-                        subcelldata.boundary_quads.emplace_back(
-                          std::move(boundary_face));
+                    {
+                      if (face->manifold_id() != numbers::flat_manifold_id)
+                        {
+                          CellData<2> boundary_face;
 
-                        face->set_user_flag();
-                      }
+                          boundary_face.vertices.resize(face->n_vertices());
+                          for (const auto i : face->vertex_indices())
+                            boundary_face.vertices[i] = face->vertex_index(i);
+                          boundary_face.boundary_id =
+                            numbers::internal_face_boundary_id;
+                          boundary_face.manifold_id = face->manifold_id();
 
-                    // Then also loop over the edges of this face. Because every
-                    // boundary edge must also be a part of a boundary face, we
-                    // can ignore these. But it is possible that we have already
-                    // encountered an interior edge through a previous face, and
-                    // in that case we have to just ignore it
-                    for (unsigned int e = 0; e < face->n_lines(); ++e)
-                      if (face->line(e)->at_boundary() == false)
-                        if (face->line(e)->user_flag_set() == false)
-                          {
-                            const typename Triangulation<dim, spacedim1>::
-                              line_iterator edge = face->line(e);
-                            CellData<1>     boundary_edge;
-
-                            boundary_edge.vertices.resize(edge->n_vertices());
-                            for (const auto i : edge->vertex_indices())
-                              boundary_edge.vertices[i] = edge->vertex_index(i);
-                            boundary_edge.boundary_id =
-                              numbers::internal_face_boundary_id;
-                            boundary_edge.manifold_id = edge->manifold_id();
+                          subcelldata.boundary_quads.emplace_back(
+                            std::move(boundary_face));
 
-                            subcelldata.boundary_lines.emplace_back(
-                              std::move(boundary_edge));
+                          face->set_user_flag();
+                        }
 
-                            edge->set_user_flag();
-                          }
-                  }
+                      // Then also loop over the edges of this face. Because
+                      // every boundary edge must also be a part of a boundary
+                      // face, we can ignore these. But it is possible that we
+                      // have already encountered an interior edge through a
+                      // previous face, and in that case we have to just ignore
+                      // it
+                      for (unsigned int e = 0; e < face->n_lines(); ++e)
+                        if (face->line(e)->at_boundary() == false)
+                          if (face->line(e)->user_flag_set() == false)
+                            {
+                              const typename Triangulation<dim, spacedim1>::
+                                line_iterator edge = face->line(e);
+                              CellData<1>     boundary_edge;
+
+                              boundary_edge.vertices.resize(edge->n_vertices());
+                              for (const auto i : edge->vertex_indices())
+                                boundary_edge.vertices[i] =
+                                  edge->vertex_index(i);
+                              boundary_edge.boundary_id =
+                                numbers::internal_face_boundary_id;
+                              boundary_edge.manifold_id = edge->manifold_id();
+
+                              subcelldata.boundary_lines.emplace_back(
+                                std::move(boundary_edge));
+
+                              edge->set_user_flag();
+                            }
+                    }
               }
 
             // Reset the user flags to their previous values:
@@ -8030,7 +8032,7 @@ namespace GridGenerator
 
         // helper function for creating cells and subcells
         const auto add_cell = [&](const unsigned int struct_dim,
-                                  const auto &       index_vertices,
+                                  const auto        &index_vertices,
                                   const unsigned int material_or_boundary_id,
                                   const unsigned int manifold_id = 0) {
           // sub-cell data only has to be stored if the information differs
@@ -8225,7 +8227,7 @@ namespace GridGenerator
   template <int spacedim>
   void
   convert_hypercube_to_simplex_mesh(const Triangulation<1, spacedim> &in_tria,
-                                    Triangulation<1, spacedim> &      out_tria)
+                                    Triangulation<1, spacedim>       &out_tria)
   {
     out_tria.copy_triangulation(in_tria);
     return;
@@ -8242,8 +8244,8 @@ namespace GridGenerator
 #  else
   typename ExtractBoundaryMesh<MeshType, dim, spacedim>::return_type
 #  endif
-    extract_boundary_mesh(const MeshType<dim, spacedim> &     volume_mesh,
-                          MeshType<dim - 1, spacedim> &       surface_mesh,
+    extract_boundary_mesh(const MeshType<dim, spacedim>      &volume_mesh,
+                          MeshType<dim - 1, spacedim>        &surface_mesh,
                           const std::set<types::boundary_id> &boundary_ids)
   {
     Assert((dynamic_cast<
@@ -8526,10 +8528,10 @@ namespace GridGenerator
   template <int dim, int spacedim>
   void
   subdivided_hyper_rectangle_with_simplices(
-    Triangulation<dim, spacedim> &   tria,
+    Triangulation<dim, spacedim>    &tria,
     const std::vector<unsigned int> &repetitions,
-    const Point<dim> &               p1,
-    const Point<dim> &               p2,
+    const Point<dim>                &p1,
+    const Point<dim>                &p2,
     const bool                       colorize)
   {
     AssertDimension(dim, spacedim);
index 66ce492433cab1e0d5ae7234748ce97ce138404c..26858a4acc83cf6100ef510dbdef5e503bf2b198 100644 (file)
@@ -101,7 +101,7 @@ for (deal_II_dimension : DIMENSIONS; deal_II_space_dimension : SPACE_DIMENSIONS)
       template void
       replicate_triangulation(
         const Triangulation<deal_II_dimension, deal_II_space_dimension> &input,
-        const std::vector<unsigned int> &                          extents,
+        const std::vector<unsigned int>                           &extents,
         Triangulation<deal_II_dimension, deal_II_space_dimension> &result);
 
       template void
@@ -153,7 +153,7 @@ for (deal_II_dimension : DIMENSIONS; deal_II_space_dimension : SPACE_DIMENSIONS;
         extract_boundary_mesh(
           const Container<deal_II_dimension, deal_II_space_dimension> &mesh,
           Container<deal_II_dimension - 1, deal_II_space_dimension>
-            &                                 boundary_mesh,
+                                             &boundary_mesh,
           const std::set<types::boundary_id> &boundary_ids);
 #  endif
     \}
@@ -290,8 +290,8 @@ for (deal_II_dimension : DIMENSIONS)
     template void GridGenerator::subdivided_hyper_rectangle_with_simplices(
       Triangulation<deal_II_dimension> & tria,
       const std::vector<unsigned int> &repetitions,
-      const Point<deal_II_dimension> p1,
-      const Point<deal_II_dimension> p2,
+      const Point<deal_II_dimension>  &p1,
+      const Point<deal_II_dimension>  &p2,
       const bool                       colorize);
 
     template void GridGenerator::subdivided_hyper_cube_with_simplices(
index 2b49372c5efa952376109094ad7fefa7c71448bb..3574034bbeee15d8a5461bbac2a9311f7942e349 100644 (file)
@@ -34,10 +34,10 @@ namespace GridGenerator
   template <int dim>
   void
   implicit_function(Triangulation<dim, 3> &tria,
-                    const Function<3> &    dealii_implicit_function,
+                    const Function<3>     &dealii_implicit_function,
                     const CGALWrappers::AdditionalData<dim> &data,
-                    const Point<3> &                         interior_point,
-                    const double &                           outer_ball_radius)
+                    const Point<3>                          &interior_point,
+                    const double                            &outer_ball_radius)
   {
 #  ifdef DEAL_II_WITH_CGAL
     Assert(dealii_implicit_function.n_components == 1,
@@ -150,7 +150,7 @@ namespace GridGenerator
 
   void
   surface_mesh_to_volumetric_mesh(const Triangulation<2, 3> &surface_tria,
-                                  Triangulation<3> &         vol_tria,
+                                  Triangulation<3>          &vol_tria,
                                   const CGALWrappers::AdditionalData<3> &data)
   {
 #  ifdef DEAL_II_WITH_CGAL
index 3206e1d29ff4c401944f135fed6cd044d7966c89..134ce1433d71b61bc0efedf7ca1dfc4c6caff688 100644 (file)
@@ -33,7 +33,7 @@ namespace GridGenerator
     void
     parse_and_create(void (*generator)(Triangulation<dim, spacedim> &,
                                        Arguments...),
-                     const std::string &           arguments,
+                     const std::string            &arguments,
                      Triangulation<dim, spacedim> &tria)
     {
       std::function<void(Arguments...)> wrapper =
@@ -65,8 +65,8 @@ namespace GridGenerator
      */
     template <int dim>
     bool
-    generate_codimension_zero_grid(const std::string name,
-                                   const std::string arguments,
+    generate_codimension_zero_grid(const std::string  &name,
+                                   const std::string  &arguments,
                                    Triangulation<dim> &tria)
     {
       if (name == "simplex")
@@ -273,8 +273,8 @@ namespace GridGenerator
      */
     template <int dim>
     bool
-    generate_codimension_one_grid(const std::string &          name,
-                                  const std::string &          arguments,
+    generate_codimension_one_grid(const std::string           &name,
+                                  const std::string           &arguments,
                                   Triangulation<dim, dim + 1> &tria)
     {
       if (name == "hyper_sphere")
@@ -305,8 +305,8 @@ namespace GridGenerator
      * Return true if a grid was actually generated, false otherwise.
      */
     bool
-    generate_special(const std::string &  name,
-                     const std::string &  arguments,
+    generate_special(const std::string   &name,
+                     const std::string   &arguments,
                      Triangulation<3, 3> &tria)
     {
       if (name == "moebius")
@@ -329,8 +329,8 @@ namespace GridGenerator
      * Return true if a grid was actually generated, false otherwise.
      */
     bool
-    generate_special(const std::string &  name,
-                     const std::string &  arguments,
+    generate_special(const std::string   &name,
+                     const std::string   &arguments,
                      Triangulation<2, 3> &tria)
     {
       if (name == "torus")
@@ -350,8 +350,8 @@ namespace GridGenerator
   template <int dim, int spacedim>
   void
   generate_from_name_and_arguments(Triangulation<dim, spacedim> &tria,
-                                   const std::string &           name,
-                                   const std::string &           arguments)
+                                   const std::string            &name,
+                                   const std::string            &arguments)
   {
     // We begin with all function calls that are implemented for all
     // combinations of dim and spacedim.
@@ -387,11 +387,14 @@ namespace GridGenerator
     //
     // If one of the function call succeeds, we skip the rest and return.
     else if (generate_codimension_zero_grid(name, arguments, tria))
-      {}
+      {
+      }
     else if (generate_codimension_one_grid(name, arguments, tria))
-      {}
+      {
+      }
     else if (generate_special(name, arguments, tria))
-      {}
+      {
+      }
     else
       // If we got here, we really have no idea what grid the user wants to
       // generate.
index b3b1a93ce9610f5b9b103d458f41ecb684b9a3c7..5108cfcda23061ae1d855e8e27449e16610f25ea 100644 (file)
@@ -103,8 +103,8 @@ namespace
        */
       Manifold(const Tensor<1, spacedim> &normal_direction,
                const Tensor<1, spacedim> &direction,
-               const Point<spacedim> &    point_on_axis,
-               const AdditionalData &     data,
+               const Point<spacedim>     &point_on_axis,
+               const AdditionalData      &data,
                const double               tolerance = 1e-10);
 
       /**
@@ -171,8 +171,8 @@ namespace
     Manifold<dim, spacedim>::Manifold(
       const Tensor<1, spacedim> &normal_direction,
       const Tensor<1, spacedim> &direction,
-      const Point<spacedim> &    point_on_axis,
-      const AdditionalData &     data,
+      const Point<spacedim>     &point_on_axis,
+      const AdditionalData      &data,
       const double               tolerance)
       : ChartManifold<dim, spacedim, 3>(Tensor<1, 3>({0, 2. * numbers::PI, 0}))
       , normal_direction(normal_direction)
@@ -279,9 +279,9 @@ namespace GridGenerator
 
   template <>
   void
-  pipe_junction(Triangulation<3, 3> &                           tria,
+  pipe_junction(Triangulation<3, 3>                            &tria,
                 const std::vector<std::pair<Point<3>, double>> &openings,
-                const std::pair<Point<3>, double> &             bifurcation,
+                const std::pair<Point<3>, double>              &bifurcation,
                 const double                                    aspect_ratio)
   {
     constexpr unsigned int dim      = 3;
index 0d07c4a4cd26be3507bb250856533614616ac2ca..513a879d8e18d09cddde5ca9a875ec2919905db9 100644 (file)
@@ -78,7 +78,7 @@ namespace
   void
   assign_1d_boundary_ids(
     const std::vector<std::pair<Point<spacedim>, types::boundary_id>>
-      &                         boundary_ids,
+                               &boundary_ids,
     Triangulation<1, spacedim> &triangulation)
   {
     for (auto &cell : triangulation.active_cell_iterators())
@@ -110,8 +110,8 @@ namespace
   template <int dim, int spacedim>
   void
   apply_grid_fixup_functions(std::vector<Point<spacedim>> &vertices,
-                             std::vector<CellData<dim>> &  cells,
-                             SubCellData &                 subcelldata)
+                             std::vector<CellData<dim>>   &cells,
+                             SubCellData                  &subcelldata)
   {
     // check that no forbidden arrays are used
     Assert(subcelldata.check_consistency(dim), ExcInternalError());
@@ -2925,14 +2925,14 @@ GridIn<dim, spacedim>::read_msh(const std::string &fname)
 template <int dim, int spacedim>
 void
 GridIn<dim, spacedim>::parse_tecplot_header(
-  std::string &              header,
+  std::string               &header,
   std::vector<unsigned int> &tecplot2deal,
-  unsigned int &             n_vars,
-  unsigned int &             n_vertices,
-  unsigned int &             n_cells,
+  unsigned int              &n_vars,
+  unsigned int              &n_vertices,
+  unsigned int              &n_cells,
   std::vector<unsigned int> &IJK,
-  bool &                     structured,
-  bool &                     blocked)
+  bool                      &structured,
+  bool                      &blocked)
 {
   Assert(tecplot2deal.size() == dim, ExcInternalError());
   Assert(IJK.size() == dim, ExcInternalError());
@@ -3469,11 +3469,11 @@ GridIn<dim, spacedim>::read_assimp(const std::string &filename,
         }
       // Vertices
       const unsigned int n_vertices = mesh->mNumVertices;
-      const aiVector3D mVertices  = mesh->mVertices;
+      const aiVector3D  *mVertices  = mesh->mVertices;
 
       // Faces
       const unsigned int n_faces = mesh->mNumFaces;
-      const aiFace *     mFaces  = mesh->mFaces;
+      const aiFace      *mFaces  = mesh->mFaces;
 
       vertices.resize(v_offset + n_vertices);
       cells.resize(c_offset + n_faces);
@@ -4002,8 +4002,8 @@ GridIn<dim, spacedim>::debug_output_grid(
 template <>
 void
 GridIn<2>::debug_output_grid(const std::vector<CellData<2>> &cells,
-                             const std::vector<Point<2>> &   vertices,
-                             std::ostream &                  out)
+                             const std::vector<Point<2>>    &vertices,
+                             std::ostream                   &out)
 {
   double min_x = vertices[cells[0].vertices[0]](0),
          max_x = vertices[cells[0].vertices[0]](0),
@@ -4063,8 +4063,8 @@ GridIn<2>::debug_output_grid(const std::vector<CellData<2>> &cells,
 template <>
 void
 GridIn<3>::debug_output_grid(const std::vector<CellData<3>> &cells,
-                             const std::vector<Point<3>> &   vertices,
-                             std::ostream &                  out)
+                             const std::vector<Point<3>>    &vertices,
+                             std::ostream                   &out)
 {
   for (const auto &cell : cells)
     {
index d243b8291989fe78cf5f5d1ffe711d0e53ff224e..203083bc258d5ffc4414b3b0262d5387034b2de0 100644 (file)
@@ -780,14 +780,14 @@ GridOut::write_dx(const Triangulation<1, 3> &, std::ostream &) const
 template <int dim, int spacedim>
 void
 GridOut::write_dx(const Triangulation<dim, spacedim> &tria,
-                  std::ostream &                      out) const
+                  std::ostream                       &out) const
 {
   // TODO:[GK] allow for boundary faces only
   Assert(dx_flags.write_all_faces, ExcNotImplemented());
   AssertThrow(out.fail() == false, ExcIO());
   // Copied and adapted from write_ucd
   const std::vector<Point<spacedim>> &vertices    = tria.get_vertices();
-  const std::vector<bool> &           vertex_used = tria.get_used_vertices();
+  const std::vector<bool>            &vertex_used = tria.get_used_vertices();
 
   const unsigned int n_vertices = tria.n_used_vertices();
 
@@ -965,9 +965,11 @@ GridOut::write_dx(const Triangulation<dim, spacedim> &tria,
   // Write additional face information
 
   if (write_faces)
-    {}
+    {
+    }
   else
-    {}
+    {
+    }
 
   // The wrapper
   out << "object \"deal data\" class field" << '\n'
@@ -1018,7 +1020,7 @@ GridOut::write_dx(const Triangulation<dim, spacedim> &tria,
 template <int dim, int spacedim>
 void
 GridOut::write_msh(const Triangulation<dim, spacedim> &tria,
-                   std::ostream &                      out) const
+                   std::ostream                       &out) const
 {
   AssertThrow(out.fail() == false, ExcIO());
 
@@ -1026,7 +1028,7 @@ GridOut::write_msh(const Triangulation<dim, spacedim> &tria,
   // vertices and whether they are
   // used.
   const std::vector<Point<spacedim>> &vertices    = tria.get_vertices();
-  const std::vector<bool> &           vertex_used = tria.get_used_vertices();
+  const std::vector<bool>            &vertex_used = tria.get_used_vertices();
 
   const unsigned int n_vertices = tria.n_used_vertices();
 
@@ -1123,7 +1125,7 @@ GridOut::write_msh(const Triangulation<dim, spacedim> &tria,
 template <int dim, int spacedim>
 void
 GridOut::write_ucd(const Triangulation<dim, spacedim> &tria,
-                   std::ostream &                      out) const
+                   std::ostream                       &out) const
 {
   AssertThrow(out.fail() == false, ExcIO());
 
@@ -1131,7 +1133,7 @@ GridOut::write_ucd(const Triangulation<dim, spacedim> &tria,
   // vertices and whether they are
   // used.
   const std::vector<Point<spacedim>> &vertices    = tria.get_vertices();
-  const std::vector<bool> &           vertex_used = tria.get_used_vertices();
+  const std::vector<bool>            &vertex_used = tria.get_used_vertices();
 
   const unsigned int n_vertices = tria.n_used_vertices();
 
@@ -1142,7 +1144,7 @@ GridOut::write_ucd(const Triangulation<dim, spacedim> &tria,
       // variables destroyed after
       // use
       std::time_t time1 = std::time(nullptr);
-      std::tm *   time  = std::localtime(&time1);
+      std::tm    *time  = std::localtime(&time1);
       out
         << "# This file was generated by the deal.II library." << '\n'
         << "# Date =  " << time->tm_year + 1900 << "/" << time->tm_mon + 1
@@ -1251,7 +1253,7 @@ GridOut::write_xfig(const Triangulation<dim, spacedim> &,
 template <>
 void
 GridOut::write_xfig(const Triangulation<2> &tria,
-                    std::ostream &          out,
+                    std::ostream           &out,
                     const Mapping<2> * /*mapping*/) const
 {
   const int dim      = 2;
@@ -1444,7 +1446,7 @@ GridOut::write_xfig(const Triangulation<2> &tria,
 template <int dim, int spacedim>
 void
 GridOut::write_msh(const Triangulation<dim, spacedim> &tria,
-                   const std::string &                 filename) const
+                   const std::string                  &filename) const
 {
   // mesh Type renumbering
   const std::array<int, 8> dealii_to_gmsh_type = {{15, 1, 2, 3, 4, 7, 6, 5}};
@@ -1462,7 +1464,7 @@ GridOut::write_msh(const Triangulation<dim, spacedim> &tria,
 
   // Extract all vertices (nodes in gmsh terminology), and store their three
   // dimensional coordinates (regardless of dim).
-  const auto &             vertices = tria.get_vertices();
+  const auto              &vertices = tria.get_vertices();
   std::vector<double>      coords(3 * vertices.size());
   std::vector<std::size_t> nodes(vertices.size());
 
@@ -1546,7 +1548,7 @@ GridOut::write_msh(const Triangulation<dim, spacedim> &tria,
   std::set<std::pair<int, int>> dim_entity_tag;
 
   auto maybe_add_element =
-    [&](const auto &              element,
+    [&](const auto               &element,
         const types::boundary_id &boundary_or_material_id) {
       const auto struct_dim  = element->structure_dimension;
       const auto manifold_id = element->manifold_id();
@@ -1654,8 +1656,8 @@ namespace
    * For SVG output of grids.
    */
   Point<2>
-  svg_project_point(const Point<3> &    point,
-                    const Point<3> &    camera_position,
+  svg_project_point(const Point<3>     &point,
+                    const Point<3>     &camera_position,
                     const Tensor<1, 3> &camera_direction,
                     const Tensor<1, 3> &camera_horizontal,
                     const float         camera_focus)
@@ -2979,7 +2981,7 @@ GridOut::write_mathgl(const Triangulation<1> &, std::ostream &) const
 template <int dim, int spacedim>
 void
 GridOut::write_mathgl(const Triangulation<dim, spacedim> &tria,
-                      std::ostream &                      out) const
+                      std::ostream                       &out) const
 {
   AssertThrow(out.fail() == false, ExcIO());
 
@@ -2987,7 +2989,7 @@ GridOut::write_mathgl(const Triangulation<dim, spacedim> &tria,
   {
     // block this to have local variables destroyed after use
     const std::time_t time1 = std::time(nullptr);
-    const std::tm *   time  = std::localtime(&time1);
+    const std::tm    *time  = std::localtime(&time1);
 
     out
       << "\n#"
@@ -3302,7 +3304,7 @@ namespace
 template <int dim, int spacedim>
 void
 GridOut::write_vtk(const Triangulation<dim, spacedim> &tria,
-                   std::ostream &                      out) const
+                   std::ostream                       &out) const
 {
   AssertThrow(out.fail() == false, ExcIO());
 
@@ -3541,7 +3543,7 @@ GridOut::write_vtk(const Triangulation<dim, spacedim> &tria,
 template <int dim, int spacedim>
 void
 GridOut::write_vtu(const Triangulation<dim, spacedim> &tria,
-                   std::ostream &                      out) const
+                   std::ostream                       &out) const
 {
   AssertThrow(out.fail() == false, ExcIO());
 
@@ -3589,7 +3591,7 @@ template <int dim, int spacedim>
 void
 GridOut::write_mesh_per_processor_as_vtu(
   const Triangulation<dim, spacedim> &tria,
-  const std::string &                 filename_without_extension,
+  const std::string                  &filename_without_extension,
   const bool                          view_levels,
   const bool                          include_artificial) const
 {
@@ -3897,7 +3899,7 @@ template <int dim, int spacedim>
 unsigned int
 GridOut::write_msh_faces(const Triangulation<dim, spacedim> &tria,
                          const unsigned int                  next_element_index,
-                         std::ostream &                      out) const
+                         std::ostream                       &out) const
 {
   unsigned int current_element_index = next_element_index;
 
@@ -3936,7 +3938,7 @@ template <int dim, int spacedim>
 unsigned int
 GridOut::write_msh_lines(const Triangulation<dim, spacedim> &tria,
                          const unsigned int                  next_element_index,
-                         std::ostream &                      out) const
+                         std::ostream                       &out) const
 {
   unsigned int current_element_index = next_element_index;
   // save the user flags for lines so
@@ -4056,7 +4058,7 @@ template <int dim, int spacedim>
 unsigned int
 GridOut::write_ucd_faces(const Triangulation<dim, spacedim> &tria,
                          const unsigned int                  next_element_index,
-                         std::ostream &                      out) const
+                         std::ostream                       &out) const
 {
   unsigned int current_element_index = next_element_index;
   typename Triangulation<dim, spacedim>::active_face_iterator face, endf;
@@ -4098,7 +4100,7 @@ template <int dim, int spacedim>
 unsigned int
 GridOut::write_ucd_lines(const Triangulation<dim, spacedim> &tria,
                          const unsigned int                  next_element_index,
-                         std::ostream &                      out) const
+                         std::ostream                       &out) const
 {
   unsigned int current_element_index = next_element_index;
   // save the user flags for lines so
@@ -4178,7 +4180,7 @@ namespace internal
     template <int spacedim>
     void
     write_gnuplot(const dealii::Triangulation<1, spacedim> &tria,
-                  std::ostream &                            out,
+                  std::ostream                             &out,
                   const Mapping<1, spacedim> *,
                   const GridOutFlags::Gnuplot &gnuplot_flags)
     {
@@ -4208,9 +4210,9 @@ namespace internal
     template <int spacedim>
     void
     write_gnuplot(const dealii::Triangulation<2, spacedim> &tria,
-                  std::ostream &                            out,
-                  const Mapping<2, spacedim> *              mapping,
-                  const GridOutFlags::Gnuplot &             gnuplot_flags)
+                  std::ostream                             &out,
+                  const Mapping<2, spacedim>               *mapping,
+                  const GridOutFlags::Gnuplot              &gnuplot_flags)
     {
       AssertThrow(out.fail() == false, ExcIO());
 
@@ -4325,9 +4327,9 @@ namespace internal
     template <int spacedim>
     void
     write_gnuplot(const dealii::Triangulation<3, spacedim> &tria,
-                  std::ostream &                            out,
-                  const Mapping<3, spacedim> *              mapping,
-                  const GridOutFlags::Gnuplot &             gnuplot_flags)
+                  std::ostream                             &out,
+                  const Mapping<3, spacedim>               *mapping,
+                  const GridOutFlags::Gnuplot              &gnuplot_flags)
     {
       AssertThrow(out.fail() == false, ExcIO());
 
@@ -4595,8 +4597,8 @@ namespace internal
 template <int dim, int spacedim>
 void
 GridOut::write_gnuplot(const Triangulation<dim, spacedim> &tria,
-                       std::ostream &                      out,
-                       const Mapping<dim, spacedim> *      mapping) const
+                       std::ostream                       &out,
+                       const Mapping<dim, spacedim>       *mapping) const
 {
   internal::write_gnuplot(tria, out, mapping, gnuplot_flags);
 }
@@ -4613,8 +4615,8 @@ namespace internal
       Point<2>     second;
       bool         colorize;
       unsigned int level;
-      LineEntry(const Point<2> &   f,
-                const Point<2> &   s,
+      LineEntry(const Point<2>    &f,
+                const Point<2>    &s,
                 const bool         c,
                 const unsigned int l)
         : first(f)
@@ -4670,10 +4672,10 @@ namespace internal
     template <int dim, int spacedim>
     void
     write_eps(const dealii::Triangulation<dim, spacedim> &tria,
-              std::ostream &                              out,
-              const Mapping<dim, spacedim> *              mapping,
-              const GridOutFlags::Eps<2> &                eps_flags_2,
-              const GridOutFlags::Eps<3> &                eps_flags_3)
+              std::ostream                               &out,
+              const Mapping<dim, spacedim>               *mapping,
+              const GridOutFlags::Eps<2>                 &eps_flags_2,
+              const GridOutFlags::Eps<3>                 &eps_flags_3)
     {
       using LineList = std::list<LineEntry>;
 
@@ -4955,7 +4957,7 @@ namespace internal
         // variables destroyed after
         // use
         std::time_t time1 = std::time(nullptr);
-        std::tm *   time  = std::localtime(&time1);
+        std::tm    *time  = std::localtime(&time1);
         out << "%!PS-Adobe-2.0 EPSF-1.2" << '\n'
             << "%%Title: deal.II Output" << '\n'
             << "%%Creator: the deal.II library" << '\n'
@@ -5106,8 +5108,8 @@ namespace internal
 template <int dim, int spacedim>
 void
 GridOut::write_eps(const Triangulation<dim, spacedim> &tria,
-                   std::ostream &                      out,
-                   const Mapping<dim, spacedim> *      mapping) const
+                   std::ostream                       &out,
+                   const Mapping<dim, spacedim>       *mapping) const
 {
   internal::write_eps(tria, out, mapping, eps_flags_2, eps_flags_3);
 }
@@ -5116,9 +5118,9 @@ GridOut::write_eps(const Triangulation<dim, spacedim> &tria,
 template <int dim, int spacedim>
 void
 GridOut::write(const Triangulation<dim, spacedim> &tria,
-               std::ostream &                      out,
+               std::ostream                       &out,
                const OutputFormat                  output_format,
-               const Mapping<dim, spacedim> *      mapping) const
+               const Mapping<dim, spacedim>       *mapping) const
 {
   switch (output_format)
     {
@@ -5173,8 +5175,8 @@ GridOut::write(const Triangulation<dim, spacedim> &tria,
 template <int dim, int spacedim>
 void
 GridOut::write(const Triangulation<dim, spacedim> &tria,
-               std::ostream &                      out,
-               const Mapping<dim, spacedim> *      mapping) const
+               std::ostream                       &out,
+               const Mapping<dim, spacedim>       *mapping) const
 {
   write(tria, out, default_format, mapping);
 }
index 76666131f3479a6173d7790f35717dd86bd8feb8..9163212f094947bc516598388aeb68f5f0dbb6a7 100644 (file)
@@ -47,7 +47,7 @@ namespace
   void
   refine_and_coarsen_fixed_fraction_via_l1_norm(
     Triangulation<dim, spacedim> &tria,
-    const Vector<Number> &        criteria,
+    const Vector<Number>         &criteria,
     const double                  top_fraction,
     const double                  bottom_fraction,
     const unsigned int            max_n_cells)
@@ -163,7 +163,7 @@ namespace
 template <int dim, typename Number, int spacedim>
 void
 GridRefinement::refine(Triangulation<dim, spacedim> &tria,
-                       const Vector<Number> &        criteria,
+                       const Vector<Number>         &criteria,
                        const double                  threshold,
                        const unsigned int            max_to_mark)
 {
@@ -213,7 +213,7 @@ GridRefinement::refine(Triangulation<dim, spacedim> &tria,
 template <int dim, typename Number, int spacedim>
 void
 GridRefinement::coarsen(Triangulation<dim, spacedim> &tria,
-                        const Vector<Number> &        criteria,
+                        const Vector<Number>         &criteria,
                         const double                  threshold)
 {
   Assert(criteria.size() == tria.n_active_cells(),
@@ -318,7 +318,7 @@ template <int dim, typename Number, int spacedim>
 void
 GridRefinement::refine_and_coarsen_fixed_number(
   Triangulation<dim, spacedim> &tria,
-  const Vector<Number> &        criteria,
+  const Vector<Number>         &criteria,
   const double                  top_fraction,
   const double                  bottom_fraction,
   const unsigned int            max_n_cells)
@@ -386,7 +386,7 @@ template <int dim, typename Number, int spacedim>
 void
 GridRefinement::refine_and_coarsen_fixed_fraction(
   Triangulation<dim, spacedim> &tria,
-  const Vector<Number> &        criteria,
+  const Vector<Number>         &criteria,
   const double                  top_fraction,
   const double                  bottom_fraction,
   const unsigned int            max_n_cells,
index 856745b8b35fa194a17c9b253d511a05cf97d036..32448796bda6916d0b6f7e0a20d83c569d92ff6e 100644 (file)
@@ -179,7 +179,7 @@ namespace GridTools
   template <int dim, int spacedim>
   double
   volume(const Triangulation<dim, spacedim> &triangulation,
-         const Mapping<dim, spacedim> &      mapping)
+         const Mapping<dim, spacedim>       &mapping)
   {
     // get the degree of the mapping if possible. if not, just assume 1
     unsigned int mapping_degree = 1;
@@ -353,9 +353,9 @@ namespace GridTools
 
   template <int dim>
   Vector<double>
-  compute_aspect_ratio_of_cells(const Mapping<dim> &      mapping,
+  compute_aspect_ratio_of_cells(const Mapping<dim>       &mapping,
                                 const Triangulation<dim> &triangulation,
-                                const Quadrature<dim> &   quadrature)
+                                const Quadrature<dim>    &quadrature)
   {
     FE_Nothing<dim> fe;
     FEValues<dim>   fe_values(mapping, fe, quadrature, update_jacobians);
@@ -419,9 +419,9 @@ namespace GridTools
 
   template <int dim>
   double
-  compute_maximum_aspect_ratio(const Mapping<dim> &      mapping,
+  compute_maximum_aspect_ratio(const Mapping<dim>       &mapping,
                                const Triangulation<dim> &triangulation,
-                               const Quadrature<dim> &   quadrature)
+                               const Quadrature<dim>    &quadrature)
   {
     Vector<double> aspect_ratio_vector =
       compute_aspect_ratio_of_cells(mapping, triangulation, quadrature);
@@ -659,8 +659,8 @@ namespace GridTools
   template <int dim, int spacedim>
   void
   delete_unused_vertices(std::vector<Point<spacedim>> &vertices,
-                         std::vector<CellData<dim>> &  cells,
-                         SubCellData &                 subcelldata)
+                         std::vector<CellData<dim>>   &cells,
+                         SubCellData                  &subcelldata)
   {
     Assert(
       subcelldata.check_consistency(dim),
@@ -764,9 +764,9 @@ namespace GridTools
   template <int dim, int spacedim>
   void
   delete_duplicated_vertices(std::vector<Point<spacedim>> &vertices,
-                             std::vector<CellData<dim>> &  cells,
-                             SubCellData &                 subcelldata,
-                             std::vector<unsigned int> &   considered_vertices,
+                             std::vector<CellData<dim>>   &cells,
+                             SubCellData                  &subcelldata,
+                             std::vector<unsigned int>    &considered_vertices,
                              const double                  tol)
   {
     if (tol == 0.0)
@@ -927,7 +927,7 @@ namespace GridTools
   std::size_t
   invert_cells_with_negative_measure(
     const std::vector<Point<spacedim>> &all_vertices,
-    std::vector<CellData<dim>> &        cells)
+    std::vector<CellData<dim>>         &cells)
   {
     // This function is presently only implemented for volumetric (codimension
     // 0) elements.
@@ -1007,7 +1007,7 @@ namespace GridTools
   void
   invert_all_negative_measure_cells(
     const std::vector<Point<spacedim>> &all_vertices,
-    std::vector<CellData<dim>> &        cells)
+    std::vector<CellData<dim>>         &cells)
   {
     const std::size_t n_negative_cells =
       invert_cells_with_negative_measure(all_vertices, cells);
@@ -1576,7 +1576,7 @@ namespace GridTools
     template <int dim>
     std::vector<Cell<dim>>
     build_cells_and_connect_edges(const std::vector<CellData<dim>> &cells,
-                                  std::vector<Edge<dim>> &          edges)
+                                  std::vector<Edge<dim>>           &edges)
     {
       std::vector<Cell<dim>> cell_list;
       cell_list.reserve(cells.size());
@@ -1628,7 +1628,7 @@ namespace GridTools
     template <int dim>
     void
     orient_one_set_of_parallel_edges(const std::vector<Cell<dim>> &cells,
-                                     std::vector<Edge<dim>> &      edges,
+                                     std::vector<Edge<dim>>       &edges,
                                      const unsigned int            cell,
                                      const unsigned int            local_edge)
     {
@@ -1821,7 +1821,7 @@ namespace GridTools
     rotate_cell(const std::vector<Cell<dim>> &cell_list,
                 const std::vector<Edge<dim>> &edge_list,
                 const unsigned int            cell_index,
-                std::vector<CellData<dim>> &  raw_cells)
+                std::vector<CellData<dim>>   &raw_cells)
     {
       // find the first vertex of the cell. this is the vertex where dim edges
       // originate, so for each of the edges record which the starting vertex is
@@ -2138,7 +2138,7 @@ namespace GridTools
 
   template <int dim, int spacedim>
   void
-  shift(const Tensor<1, spacedim> &   shift_vector,
+  shift(const Tensor<1, spacedim>    &shift_vector,
         Triangulation<dim, spacedim> &triangulation)
   {
     transform(internal::Shift<spacedim>(shift_vector), triangulation);
@@ -2181,7 +2181,7 @@ namespace GridTools
   void
   rotate(const Tensor<1, 3, double> &axis,
          const double                angle,
-         Triangulation<dim, 3> &     triangulation)
+         Triangulation<dim, 3>      &triangulation)
   {
     transform(internal::Rotate3d(axis, angle), triangulation);
   }
@@ -2220,9 +2220,9 @@ namespace GridTools
      * in order to allow parallel execution.
      */
     inline void
-    laplace_solve(const SparseMatrix<double> &     S,
+    laplace_solve(const SparseMatrix<double>      &S,
                   const AffineConstraints<double> &constraints,
-                  Vector<double> &                 u)
+                  Vector<double>                  &u)
     {
       const unsigned int n_dofs = S.n();
       const auto         op     = linear_operator(S);
@@ -2249,8 +2249,8 @@ namespace GridTools
   template <int dim>
   void
   laplace_transform(const std::map<unsigned int, Point<dim>> &new_points,
-                    Triangulation<dim> &                      triangulation,
-                    const Function<dim> *                     coefficient,
+                    Triangulation<dim>                       &triangulation,
+                    const Function<dim>                      *coefficient,
                     const bool solve_for_absolute_positions)
   {
     if (dim == 1)
@@ -2298,7 +2298,7 @@ namespace GridTools
         for (const unsigned int vertex_no : cell->vertex_indices())
           {
             const unsigned int vertex_index = cell->vertex_index(vertex_no);
-            const Point<dim> vertex_point = cell->vertex(vertex_no);
+            const Point<dim>  &vertex_point = cell->vertex(vertex_no);
 
             const typename std::map<unsigned int, Point<dim>>::const_iterator
               map_iter = new_points.find(vertex_index);
@@ -2611,7 +2611,7 @@ namespace GridTools
   DEAL_II_CXX20_REQUIRES(
     (concepts::is_triangulation_or_dof_handler<MeshType<dim, spacedim>>))
   unsigned int find_closest_vertex(const MeshType<dim, spacedim> &mesh,
-                                   const Point<spacedim> &        p,
+                                   const Point<spacedim>         &p,
                                    const std::vector<bool> &marked_vertices)
   {
     // first get the underlying triangulation from the mesh and determine
@@ -2676,9 +2676,9 @@ namespace GridTools
   template <int dim, template <int, int> class MeshType, int spacedim>
   DEAL_II_CXX20_REQUIRES(
     (concepts::is_triangulation_or_dof_handler<MeshType<dim, spacedim>>))
-  unsigned int find_closest_vertex(const Mapping<dim, spacedim> mapping,
+  unsigned int find_closest_vertex(const Mapping<dim, spacedim>  &mapping,
                                    const MeshType<dim, spacedim> &mesh,
-                                   const Point<spacedim> &        p,
+                                   const Point<spacedim>         &p,
                                    const std::vector<bool> &marked_vertices)
   {
     // Take a shortcut in the simple case.
@@ -2774,7 +2774,7 @@ namespace GridTools
     compare_point_association(
       const unsigned int                      a,
       const unsigned int                      b,
-      const Tensor<1, spacedim> &             point_direction,
+      const Tensor<1, spacedim>              &point_direction,
       const std::vector<Tensor<1, spacedim>> &center_directions)
     {
       const double scalar_product_a = center_directions[a] * point_direction;
@@ -2798,9 +2798,9 @@ namespace GridTools
             Point<dim>>
 #endif
     find_active_cell_around_point(
-      const Mapping<dim, spacedim> mapping,
+      const Mapping<dim, spacedim>  &mapping,
       const MeshType<dim, spacedim> &mesh,
-      const Point<spacedim> &        p,
+      const Point<spacedim>         &p,
       const std::vector<
         std::set<typename MeshType<dim, spacedim>::active_cell_iterator>>
         &vertex_to_cells,
@@ -2809,7 +2809,7 @@ namespace GridTools
       const typename MeshType<dim, spacedim>::active_cell_iterator &cell_hint,
       const std::vector<bool> &marked_vertices,
       const RTree<std::pair<Point<spacedim>, unsigned int>>
-        &          used_vertices_rtree,
+                  &used_vertices_rtree,
       const double tolerance,
       const RTree<
         std::pair<BoundingBox<spacedim>,
@@ -3053,8 +3053,8 @@ namespace GridTools
   unsigned int
   find_closest_vertex_of_cell(
     const typename Triangulation<dim, spacedim>::active_cell_iterator &cell,
-    const Point<spacedim> &                                            position,
-    const Mapping<dim, spacedim> &                                     mapping)
+    const Point<spacedim>                                             &position,
+    const Mapping<dim, spacedim>                                      &mapping)
   {
     const auto   vertices         = mapping.get_vertices(cell);
     double       minimum_distance = position.distance_square(vertices[0]);
@@ -3142,7 +3142,7 @@ namespace GridTools
     vector<BoundingBox<MeshType::space_dimension>> compute_mesh_predicate_bounding_box(
       const MeshType &mesh,
       const std::function<bool(const typename MeshType::active_cell_iterator &)>
-        &                predicate,
+                        &predicate,
       const unsigned int refinement_level,
       const bool         allow_merge,
       const unsigned int max_boxes)
@@ -3288,7 +3288,7 @@ namespace GridTools
 #endif
   guess_point_owner(
     const std::vector<std::vector<BoundingBox<spacedim>>> &global_bboxes,
-    const std::vector<Point<spacedim>> &                   points)
+    const std::vector<Point<spacedim>>                    &points)
   {
     unsigned int                           n_procs = global_bboxes.size();
     std::vector<std::vector<unsigned int>> point_owners(n_procs);
@@ -3336,7 +3336,7 @@ namespace GridTools
 #endif
   guess_point_owner(
     const RTree<std::pair<BoundingBox<spacedim>, unsigned int>> &covering_rtree,
-    const std::vector<Point<spacedim>> &                         points)
+    const std::vector<Point<spacedim>>                          &points)
   {
     std::map<unsigned int, std::vector<unsigned int>> point_owners;
     std::map<unsigned int, unsigned int>              map_owners_found;
@@ -3799,7 +3799,7 @@ namespace GridTools
   void
   get_face_connectivity_of_cells(
     const Triangulation<dim, spacedim> &triangulation,
-    DynamicSparsityPattern &            cell_connectivity)
+    DynamicSparsityPattern             &cell_connectivity)
   {
     cell_connectivity.reinit(triangulation.n_active_cells(),
                              triangulation.n_active_cells());
@@ -3833,7 +3833,7 @@ namespace GridTools
   void
   get_vertex_connectivity_of_cells(
     const Triangulation<dim, spacedim> &triangulation,
-    DynamicSparsityPattern &            cell_connectivity)
+    DynamicSparsityPattern             &cell_connectivity)
   {
     std::vector<std::vector<unsigned int>> vertex_to_cell(
       triangulation.n_vertices());
@@ -3863,7 +3863,7 @@ namespace GridTools
   get_vertex_connectivity_of_cells_on_level(
     const Triangulation<dim, spacedim> &triangulation,
     const unsigned int                  level,
-    DynamicSparsityPattern &            cell_connectivity)
+    DynamicSparsityPattern             &cell_connectivity)
   {
     std::vector<std::vector<unsigned int>> vertex_to_cell(
       triangulation.n_vertices());
@@ -3897,7 +3897,7 @@ namespace GridTools
   template <int dim, int spacedim>
   void
   partition_triangulation(const unsigned int               n_partitions,
-                          Triangulation<dim, spacedim> &   triangulation,
+                          Triangulation<dim, spacedim>    &triangulation,
                           const SparsityTools::Partitioner partitioner)
   {
     Assert((dynamic_cast<parallel::distributed::Triangulation<dim, spacedim> *>(
@@ -3955,7 +3955,7 @@ namespace GridTools
   void
   partition_triangulation(const unsigned int               n_partitions,
                           const std::vector<unsigned int> &cell_weights,
-                          Triangulation<dim, spacedim> &   triangulation,
+                          Triangulation<dim, spacedim>    &triangulation,
                           const SparsityTools::Partitioner partitioner)
   {
     Assert((dynamic_cast<parallel::distributed::Triangulation<dim, spacedim> *>(
@@ -3996,7 +3996,7 @@ namespace GridTools
   template <int dim, int spacedim>
   void
   partition_triangulation(const unsigned int            n_partitions,
-                          const SparsityPattern &       cell_connection_graph,
+                          const SparsityPattern        &cell_connection_graph,
                           Triangulation<dim, spacedim> &triangulation,
                           const SparsityTools::Partitioner partitioner)
   {
@@ -4056,7 +4056,7 @@ namespace GridTools
   void
   partition_triangulation(const unsigned int               n_partitions,
                           const std::vector<unsigned int> &cell_weights,
-                          const SparsityPattern &       cell_connection_graph,
+                          const SparsityPattern        &cell_connection_graph,
                           Triangulation<dim, spacedim> &triangulation,
                           const SparsityTools::Partitioner partitioner)
   {
@@ -4107,8 +4107,8 @@ namespace GridTools
     template <class IT>
     void
     set_subdomain_id_in_zorder_recursively(IT                 cell,
-                                           unsigned int &     current_proc_idx,
-                                           unsigned int &     current_cell_idx,
+                                           unsigned int      &current_proc_idx,
+                                           unsigned int      &current_cell_idx,
                                            const unsigned int n_active_cells,
                                            const unsigned int n_partitions)
     {
@@ -4272,8 +4272,8 @@ namespace GridTools
       void
       get_subdomain_association(
         const parallel::distributed::Triangulation<dim, spacedim>
-          &                               triangulation,
-        const std::vector<CellId> &       cell_ids,
+                                         &triangulation,
+        const std::vector<CellId>        &cell_ids,
         std::vector<types::subdomain_id> &subdomain_ids)
       {
 #ifndef DEAL_II_WITH_P4EST
@@ -4341,7 +4341,7 @@ namespace GridTools
   template <int dim, int spacedim>
   std::vector<types::subdomain_id>
   get_subdomain_association(const Triangulation<dim, spacedim> &triangulation,
-                            const std::vector<CellId> &         cell_ids)
+                            const std::vector<CellId>          &cell_ids)
   {
     std::vector<types::subdomain_id> subdomain_ids;
     subdomain_ids.reserve(cell_ids.size());
@@ -4397,7 +4397,7 @@ namespace GridTools
   template <int dim, int spacedim>
   void
   get_subdomain_association(const Triangulation<dim, spacedim> &triangulation,
-                            std::vector<types::subdomain_id> &  subdomain)
+                            std::vector<types::subdomain_id>   &subdomain)
   {
     Assert(subdomain.size() == triangulation.n_active_cells(),
            ExcDimensionMismatch(subdomain.size(),
@@ -4454,7 +4454,7 @@ namespace GridTools
   template <int dim, int spacedim>
   double
   minimal_cell_diameter(const Triangulation<dim, spacedim> &triangulation,
-                        const Mapping<dim, spacedim> &      mapping)
+                        const Mapping<dim, spacedim>       &mapping)
   {
     double min_diameter = std::numeric_limits<double>::max();
     for (const auto &cell : triangulation.active_cell_iterators())
@@ -4481,7 +4481,7 @@ namespace GridTools
   template <int dim, int spacedim>
   double
   maximal_cell_diameter(const Triangulation<dim, spacedim> &triangulation,
-                        const Mapping<dim, spacedim> &      mapping)
+                        const Mapping<dim, spacedim>       &mapping)
   {
     double max_diameter = 0.;
     for (const auto &cell : triangulation.active_cell_iterators())
@@ -4532,7 +4532,7 @@ namespace GridTools
       // function
       template <typename Iterator, int spacedim>
       double
-      objective_function(const Iterator &       object,
+      objective_function(const Iterator        &object,
                          const Point<spacedim> &object_mid_point)
       {
         const unsigned int structdim =
@@ -4628,7 +4628,7 @@ namespace GridTools
        */
       template <typename Iterator>
       Point<Iterator::AccessorType::space_dimension>
-      get_face_midpoint(const Iterator &   object,
+      get_face_midpoint(const Iterator    &object,
                         const unsigned int f,
                         std::integral_constant<int, 1>)
       {
@@ -4644,7 +4644,7 @@ namespace GridTools
        */
       template <typename Iterator>
       Point<Iterator::AccessorType::space_dimension>
-      get_face_midpoint(const Iterator &   object,
+      get_face_midpoint(const Iterator    &object,
                         const unsigned int f,
                         std::integral_constant<int, 2>)
       {
@@ -4660,7 +4660,7 @@ namespace GridTools
        */
       template <typename Iterator>
       Point<Iterator::AccessorType::space_dimension>
-      get_face_midpoint(const Iterator &   object,
+      get_face_midpoint(const Iterator    &object,
                         const unsigned int f,
                         std::integral_constant<int, 3>)
       {
@@ -5016,7 +5016,7 @@ namespace GridTools
   map_boundary_to_manifold_ids(
     const std::vector<types::boundary_id> &src_boundary_ids,
     const std::vector<types::manifold_id> &dst_manifold_ids,
-    Triangulation<dim, spacedim> &         tria,
+    Triangulation<dim, spacedim>          &tria,
     const std::vector<types::boundary_id> &reset_boundary_ids_)
   {
     AssertDimension(src_boundary_ids.size(), dst_manifold_ids.size());
@@ -5109,7 +5109,7 @@ namespace GridTools
   template <int dim, int spacedim>
   void
   assign_co_dimensional_manifold_indicators(
-    Triangulation<dim, spacedim> &            tria,
+    Triangulation<dim, spacedim>             &tria,
     const std::function<types::manifold_id(
       const std::set<types::manifold_id> &)> &disambiguation_function,
     bool                                      overwrite_only_flat_manifold_ids)
@@ -5607,7 +5607,7 @@ namespace GridTools
   return_type
 #endif
   compute_point_locations(
-    const Cache<dim, spacedim> &        cache,
+    const Cache<dim, spacedim>         &cache,
     const std::vector<Point<spacedim>> &points,
     const typename Triangulation<dim, spacedim>::active_cell_iterator
       &cell_hint)
@@ -5636,7 +5636,7 @@ namespace GridTools
   return_type
 #endif
   compute_point_locations_try_all(
-    const Cache<dim, spacedim> &        cache,
+    const Cache<dim, spacedim>         &cache,
     const std::vector<Point<spacedim>> &points,
     const typename Triangulation<dim, spacedim>::active_cell_iterator
       &cell_hint)
@@ -5692,7 +5692,7 @@ namespace GridTools
     const auto store_cell_point_and_id =
       [&](
         const typename Triangulation<dim, spacedim>::active_cell_iterator &cell,
-        const Point<dim> &  ref_point,
+        const Point<dim>   &ref_point,
         const unsigned int &id) {
         const auto it = std::find(cells_out.rbegin(), cells_out.rend(), cell);
         if (it != cells_out.rend())
@@ -5806,11 +5806,11 @@ namespace GridTools
   return_type
 #endif
   distributed_compute_point_locations(
-    const GridTools::Cache<dim, spacedim> &                cache,
-    const std::vector<Point<spacedim>> &                   points,
+    const GridTools::Cache<dim, spacedim>                 &cache,
+    const std::vector<Point<spacedim>>                    &points,
     const std::vector<std::vector<BoundingBox<spacedim>>> &global_bboxes,
     const double                                           tolerance,
-    const std::vector<bool> &                              marked_vertices,
+    const std::vector<bool>                               &marked_vertices,
     const bool enforce_unique_mapping)
   {
     // run internal function ...
@@ -5882,7 +5882,7 @@ namespace GridTools
     guess_owners_of_entities(
       const MPI_Comm                                         comm,
       const std::vector<std::vector<BoundingBox<spacedim>>> &global_bboxes,
-      const std::vector<T> &                                 entities,
+      const std::vector<T>                                  &entities,
       const double                                           tolerance)
     {
       std::vector<std::pair<unsigned int, unsigned int>> ranks_and_indices;
@@ -6019,8 +6019,8 @@ namespace GridTools
       std::pair<typename Triangulation<dim, spacedim>::active_cell_iterator,
                 Point<dim>>>
     find_all_locally_owned_active_cells_around_point(
-      const Cache<dim, spacedim> &                                 cache,
-      const Point<spacedim> &                                      point,
+      const Cache<dim, spacedim>                                  &cache,
+      const Point<spacedim>                                       &point,
       typename Triangulation<dim, spacedim>::active_cell_iterator &cell_hint,
       const std::vector<bool> &marked_vertices,
       const double             tolerance,
@@ -6219,10 +6219,10 @@ namespace GridTools
     template <int dim, int spacedim>
     DistributedComputePointLocationsInternal<dim, spacedim>
     distributed_compute_point_locations(
-      const GridTools::Cache<dim, spacedim> &                cache,
-      const std::vector<Point<spacedim>> &                   points,
+      const GridTools::Cache<dim, spacedim>                 &cache,
+      const std::vector<Point<spacedim>>                    &points,
       const std::vector<std::vector<BoundingBox<spacedim>>> &global_bboxes,
-      const std::vector<bool> &                              marked_vertices,
+      const std::vector<bool>                               &marked_vertices,
       const double                                           tolerance,
       const bool                                             perform_handshake,
       const bool enforce_unique_mapping)
@@ -6294,7 +6294,7 @@ namespace GridTools
 
       const auto answer_request =
         [&](const unsigned int &other_rank,
-            const RequestType request) -> AnswerType {
+            const RequestType  &request) -> AnswerType {
         AnswerType answer(request.size(), 0);
 
         if (has_relevant_vertices)
@@ -6347,7 +6347,7 @@ namespace GridTools
       };
 
       const auto process_answer = [&](const unsigned int other_rank,
-                                      const AnswerType answer) {
+                                      const AnswerType  &answer) {
         if (perform_handshake)
           {
             const auto other_rank_index = translate(other_rank);
@@ -6383,7 +6383,7 @@ namespace GridTools
       convert_to_distributed_compute_point_locations_internal(
         const unsigned int                  n_points_1D,
         const Triangulation<dim, spacedim> &tria,
-        const Mapping<dim, spacedim> &      mapping,
+        const Mapping<dim, spacedim>       &mapping,
         const bool consistent_numbering_of_sender_and_receiver) const
     {
       using CellIterator =
@@ -6489,7 +6489,7 @@ namespace GridTools
     DistributedComputeIntersectionLocationsInternal<structdim, spacedim>::
       communicate_indices(
         const std::vector<std::tuple<unsigned int, unsigned int, unsigned int>>
-          &            point_recv_components,
+                      &point_recv_components,
         const MPI_Comm comm) const
     {
 #ifndef DEAL_II_WITH_MPI
@@ -6600,10 +6600,10 @@ namespace GridTools
     template <int structdim, int dim, int spacedim>
     DistributedComputeIntersectionLocationsInternal<structdim, spacedim>
     distributed_compute_intersection_locations(
-      const Cache<dim, spacedim> &                     cache,
+      const Cache<dim, spacedim>                      &cache,
       const std::vector<std::vector<Point<spacedim>>> &intersection_requests,
       const std::vector<std::vector<BoundingBox<spacedim>>> &global_bboxes,
-      const std::vector<bool> &                              marked_vertices,
+      const std::vector<bool>                               &marked_vertices,
       const double                                           tolerance)
     {
       using IntersectionRequest = std::vector<Point<spacedim>>;
@@ -6724,7 +6724,7 @@ namespace GridTools
 
       const auto answer_request =
         [&](const unsigned int &other_rank,
-            const RequestType request) -> AnswerType {
+            const RequestType  &request) -> AnswerType {
         AnswerType answer;
 
         if (has_relevant_vertices)
@@ -6791,7 +6791,7 @@ namespace GridTools
       };
 
       const auto process_answer = [&](const unsigned int other_rank,
-                                      const AnswerType answer) {
+                                      const AnswerType  &answer) {
         for (unsigned int i = 0; i < answer.size(); ++i)
           recv_components.emplace_back(other_rank,
                                        answer[i].first,
@@ -6848,7 +6848,7 @@ namespace GridTools
   template <int dim, int spacedim>
   std::map<unsigned int, Point<spacedim>>
   extract_used_vertices(const Triangulation<dim, spacedim> &container,
-                        const Mapping<dim, spacedim> &      mapping)
+                        const Mapping<dim, spacedim>       &mapping)
   {
     std::map<unsigned int, Point<spacedim>> result;
     for (const auto &cell : container.active_cell_iterators())
@@ -6867,7 +6867,7 @@ namespace GridTools
   template <int spacedim>
   unsigned int
   find_closest_vertex(const std::map<unsigned int, Point<spacedim>> &vertices,
-                      const Point<spacedim> &                        p)
+                      const Point<spacedim>                         &p)
   {
     auto id_and_v = std::min_element(
       vertices.begin(),
@@ -6885,9 +6885,9 @@ namespace GridTools
             Point<dim>>
   find_active_cell_around_point(
     const Cache<dim, spacedim> &cache,
-    const Point<spacedim> &     p,
+    const Point<spacedim>      &p,
     const typename Triangulation<dim, spacedim>::active_cell_iterator
-      &                      cell_hint,
+                            &cell_hint,
     const std::vector<bool> &marked_vertices,
     const double             tolerance)
   {
@@ -7072,7 +7072,7 @@ namespace GridTools
   template <int dim, int spacedim>
   void
   collect_coinciding_vertices(
-    const Triangulation<dim, spacedim> &               tria,
+    const Triangulation<dim, spacedim>                &tria,
     std::map<unsigned int, std::vector<unsigned int>> &coinciding_vertex_groups,
     std::map<unsigned int, unsigned int> &vertex_to_coinciding_vertex_group)
   {
@@ -7262,15 +7262,15 @@ namespace GridTools
               typename value_type>
     void
     process_sub_cell(
-      const std::array<unsigned int, n_configurations> &     cut_line_table,
+      const std::array<unsigned int, n_configurations>      &cut_line_table,
       const ndarray<unsigned int, n_configurations, n_cols> &new_line_table,
-      const ndarray<unsigned int, n_lines, 2> &      line_to_vertex_table,
-      const std::vector<value_type> &                ls_values,
-      const std::vector<Point<dim>> &                points,
-      const std::vector<unsigned int> &              mask,
+      const ndarray<unsigned int, n_lines, 2>       &line_to_vertex_table,
+      const std::vector<value_type>                 &ls_values,
+      const std::vector<Point<dim>>                 &points,
+      const std::vector<unsigned int>               &mask,
       const double                                   iso_level,
       const double                                   tolerance,
-      std::vector<Point<dim>> &                      vertices,
+      std::vector<Point<dim>>                       &vertices,
       std::vector<CellData<dim == 1 ? 1 : dim - 1>> &cells,
       const bool                                     write_back_cell_data)
     {
@@ -7353,7 +7353,7 @@ namespace GridTools
 
   template <int dim, typename VectorType>
   MarchingCubeAlgorithm<dim, VectorType>::MarchingCubeAlgorithm(
-    const Mapping<dim, dim> &      mapping,
+    const Mapping<dim, dim>       &mapping,
     const FiniteElement<dim, dim> &fe,
     const unsigned int             n_subdivisions,
     const double                   tolerance)
@@ -7405,10 +7405,10 @@ namespace GridTools
   template <int dim, typename VectorType>
   void
   MarchingCubeAlgorithm<dim, VectorType>::process(
-    const DoFHandler<dim> &                        background_dof_handler,
-    const VectorType &                             ls_vector,
+    const DoFHandler<dim>                         &background_dof_handler,
+    const VectorType                              &ls_vector,
     const double                                   iso_level,
-    std::vector<Point<dim>> &                      vertices,
+    std::vector<Point<dim>>                       &vertices,
     std::vector<CellData<dim == 1 ? 1 : dim - 1>> &cells) const
   {
     AssertThrow(
@@ -7425,8 +7425,8 @@ namespace GridTools
   template <int dim, typename VectorType>
   void
   MarchingCubeAlgorithm<dim, VectorType>::process(
-    const DoFHandler<dim> &  background_dof_handler,
-    const VectorType &       ls_vector,
+    const DoFHandler<dim>   &background_dof_handler,
+    const VectorType        &ls_vector,
     const double             iso_level,
     std::vector<Point<dim>> &vertices) const
   {
@@ -7442,10 +7442,10 @@ namespace GridTools
   void
   MarchingCubeAlgorithm<dim, VectorType>::process_cell(
     const typename DoFHandler<dim>::active_cell_iterator &cell,
-    const VectorType &                                    ls_vector,
+    const VectorType                                     &ls_vector,
     const double                                          iso_level,
-    std::vector<Point<dim>> &                             vertices,
-    std::vector<CellData<dim == 1 ? 1 : dim - 1>> &       cells) const
+    std::vector<Point<dim>>                              &vertices,
+    std::vector<CellData<dim == 1 ? 1 : dim - 1>>        &cells) const
   {
     AssertThrow(
       dim > 1,
@@ -7466,9 +7466,9 @@ namespace GridTools
   void
   MarchingCubeAlgorithm<dim, VectorType>::process_cell(
     const typename DoFHandler<dim>::active_cell_iterator &cell,
-    const VectorType &                                    ls_vector,
+    const VectorType                                     &ls_vector,
     const double                                          iso_level,
-    std::vector<Point<dim>> &                             vertices) const
+    std::vector<Point<dim>>                              &vertices) const
   {
     // This vector is just a placeholder to reuse the process_cell function.
     std::vector<CellData<dim == 1 ? 1 : dim - 1>> dummy_cells;
@@ -7491,10 +7491,10 @@ namespace GridTools
   template <int dim, typename VectorType>
   void
   MarchingCubeAlgorithm<dim, VectorType>::process_cell(
-    std::vector<value_type> &                      ls_values,
-    const std::vector<Point<dim>> &                points,
+    std::vector<value_type>                       &ls_values,
+    const std::vector<Point<dim>>                 &points,
     const double                                   iso_level,
-    std::vector<Point<dim>> &                      vertices,
+    std::vector<Point<dim>>                       &vertices,
     std::vector<CellData<dim == 1 ? 1 : dim - 1>> &cells,
     const bool                                     write_back_cell_data) const
   {
@@ -7581,12 +7581,12 @@ namespace GridTools
   template <int dim, typename VectorType>
   void
   MarchingCubeAlgorithm<dim, VectorType>::process_sub_cell(
-    const std::vector<value_type> &  ls_values,
-    const std::vector<Point<2>> &    points,
+    const std::vector<value_type>   &ls_values,
+    const std::vector<Point<2>>     &points,
     const std::vector<unsigned int> &mask,
     const double                     iso_level,
-    std::vector<Point<2>> &          vertices,
-    std::vector<CellData<1>> &       cells,
+    std::vector<Point<2>>           &vertices,
+    std::vector<CellData<1>>        &cells,
     const bool                       write_back_cell_data) const
   {
     // set up dimension-dependent sizes and tables
@@ -7664,12 +7664,12 @@ namespace GridTools
   template <int dim, typename VectorType>
   void
   MarchingCubeAlgorithm<dim, VectorType>::process_sub_cell(
-    const std::vector<value_type> &  ls_values,
-    const std::vector<Point<3>> &    points,
+    const std::vector<value_type>   &ls_values,
+    const std::vector<Point<3>>     &points,
     const std::vector<unsigned int> &mask,
     const double                     iso_level,
-    std::vector<Point<3>> &          vertices,
-    std::vector<CellData<2>> &       cells,
+    std::vector<Point<3>>           &vertices,
+    std::vector<CellData<2>>        &cells,
     const bool                       write_back_cell_data) const
   {
     // set up dimension-dependent sizes and tables
index a317867e4717d11f93294014b3114581b25ae83b..446fd33c27788492f658ca879f63434e999ec5df 100644 (file)
@@ -228,7 +228,7 @@ for (deal_II_space_dimension : SPACE_DIMENSIONS)
 
     template unsigned int GridTools::find_closest_vertex(
       const std::map<unsigned int, Point<deal_II_space_dimension>> &vertices,
-      const Point<deal_II_space_dimension> &                        p);
+      const Point<deal_II_space_dimension>                         &p);
 
     template std::vector<std::vector<BoundingBox<deal_II_space_dimension>>>
     GridTools::exchange_local_bounding_boxes(
@@ -368,19 +368,19 @@ for (deal_II_dimension : DIMENSIONS; deal_II_space_dimension : SPACE_DIMENSIONS)
       template void
       get_face_connectivity_of_cells(
         const Triangulation<deal_II_dimension, deal_II_space_dimension>
-          &                     triangulation,
+                               &triangulation,
         DynamicSparsityPattern &cell_connectivity);
 
       template void
       get_vertex_connectivity_of_cells(
         const Triangulation<deal_II_dimension, deal_II_space_dimension>
-          &                     triangulation,
+                               &triangulation,
         DynamicSparsityPattern &cell_connectivity);
 
       template void
       get_vertex_connectivity_of_cells_on_level(
         const Triangulation<deal_II_dimension, deal_II_space_dimension>
-          &                     triangulation,
+                               &triangulation,
         const unsigned int      level,
         DynamicSparsityPattern &cell_connectivity);
 
@@ -476,8 +476,8 @@ for (deal_II_dimension : DIMENSIONS; deal_II_space_dimension : SPACE_DIMENSIONS)
       template void
       laplace_transform(
         const std::map<unsigned int, Point<deal_II_dimension>> &new_points,
-        Triangulation<deal_II_dimension> &                      triangulation,
-        const Function<deal_II_dimension> *                     coefficient,
+        Triangulation<deal_II_dimension>                       &triangulation,
+        const Function<deal_II_dimension>                      *coefficient,
         const bool);
 
       template Triangulation<deal_II_dimension,
index 5b11e854dd2159097cd41c74aa50caaf82d875b7..c186e3efcc068c95a8791e4bbf4b9a1f6fb5ae68 100644 (file)
@@ -26,7 +26,7 @@ namespace GridTools
 {
   template <int dim, int spacedim>
   Cache<dim, spacedim>::Cache(const Triangulation<dim, spacedim> &tria,
-                              const Mapping<dim, spacedim> &      mapping)
+                              const Mapping<dim, spacedim>       &mapping)
     : update_flags(update_all)
     , tria(&tria)
     , mapping(&mapping)
index bdff701db9854ef55ad4a271a24e0b78108a0a16..8b781f1040d5e8f408b6c7c93f7b5833632dc0fd 100644 (file)
@@ -55,7 +55,7 @@ namespace GridTools
   DEAL_II_CXX20_REQUIRES(
     (concepts::is_triangulation_or_dof_handler<MeshType<dim, spacedim>>))
   unsigned int find_closest_vertex(const MeshType<dim, spacedim> &mesh,
-                                   const Point<spacedim> &        p,
+                                   const Point<spacedim>         &p,
                                    const std::vector<bool> &marked_vertices)
   {
     // first get the underlying
@@ -130,9 +130,9 @@ namespace GridTools
   template <int dim, template <int, int> class MeshType, int spacedim>
   DEAL_II_CXX20_REQUIRES(
     (concepts::is_triangulation_or_dof_handler<MeshType<dim, spacedim>>))
-  unsigned int find_closest_vertex(const Mapping<dim, spacedim> mapping,
+  unsigned int find_closest_vertex(const Mapping<dim, spacedim>  &mapping,
                                    const MeshType<dim, spacedim> &mesh,
-                                   const Point<spacedim> &        p,
+                                   const Point<spacedim>         &p,
                                    const std::vector<bool> &marked_vertices)
   {
     // Take a shortcut in the simple case.
@@ -198,7 +198,7 @@ namespace GridTools
                                                   MeshType::space_dimension,
                                                   MeshType>::type>
 #endif
-    find_cells_adjacent_to_vertex(const MeshType &   mesh,
+    find_cells_adjacent_to_vertex(const MeshType    &mesh,
                                   const unsigned int vertex)
   {
     const int dim      = MeshType::dimension;
@@ -411,7 +411,7 @@ namespace GridTools
     ActiveCellIterator<dim, spacedim, MeshType<dim, spacedim>>::type
 #endif
     find_active_cell_around_point(const MeshType<dim, spacedim> &mesh,
-                                  const Point<spacedim> &        p,
+                                  const Point<spacedim>         &p,
                                   const std::vector<bool> &marked_vertices,
                                   const double             tolerance)
   {
@@ -436,9 +436,9 @@ namespace GridTools
               ActiveCellIterator<dim, spacedim, MeshType<dim, spacedim>>::type,
             Point<dim>>
 #endif
-    find_active_cell_around_point(const Mapping<dim, spacedim> mapping,
+    find_active_cell_around_point(const Mapping<dim, spacedim>  &mapping,
                                   const MeshType<dim, spacedim> &mesh,
-                                  const Point<spacedim> &        p,
+                                  const Point<spacedim>         &p,
                                   const std::vector<bool> &marked_vertices,
                                   const double             tolerance)
   {
@@ -579,9 +579,9 @@ namespace GridTools
       ActiveCellIterator<dim, spacedim, MeshType<dim, spacedim>>::type,
     Point<dim>>>
 #endif
-    find_all_active_cells_around_point(const Mapping<dim, spacedim> mapping,
+    find_all_active_cells_around_point(const Mapping<dim, spacedim>  &mapping,
                                        const MeshType<dim, spacedim> &mesh,
-                                       const Point<spacedim> &        p,
+                                       const Point<spacedim>         &p,
                                        const double                   tolerance,
                                        const std::vector<bool> &marked_vertices)
   {
@@ -610,12 +610,12 @@ namespace GridTools
     Point<dim>>>
 #endif
     find_all_active_cells_around_point(
-      const Mapping<dim, spacedim> mapping,
+      const Mapping<dim, spacedim>  &mapping,
       const MeshType<dim, spacedim> &mesh,
-      const Point<spacedim> &        p,
+      const Point<spacedim>         &p,
       const double                   tolerance,
       const std::pair<typename MeshType<dim, spacedim>::active_cell_iterator,
-                      Point<dim>> &  first_cell,
+                      Point<dim>>   &first_cell,
       const std::vector<
         std::set<typename MeshType<dim, spacedim>::active_cell_iterator>>
         *vertex_to_cells)
@@ -855,7 +855,7 @@ namespace GridTools
     vector<typename MeshType::cell_iterator> compute_cell_halo_layer_on_level(
       const MeshType &mesh,
       const std::function<bool(const typename MeshType::cell_iterator &)>
-        &                predicate,
+                        &predicate,
       const unsigned int level)
   {
     std::vector<typename MeshType::cell_iterator> level_halo_layer;
@@ -961,7 +961,7 @@ namespace GridTools
     vector<typename MeshType::active_cell_iterator> compute_active_cell_layer_within_distance(
       const MeshType &mesh,
       const std::function<bool(const typename MeshType::active_cell_iterator &)>
-        &          predicate,
+                  &predicate,
       const double layer_thickness)
   {
     std::vector<typename MeshType::active_cell_iterator>
@@ -1352,8 +1352,8 @@ namespace GridTools
             Point<dim>>
   find_active_cell_around_point(
     const hp::MappingCollection<dim, spacedim> &mapping,
-    const DoFHandler<dim, spacedim> &           mesh,
-    const Point<spacedim> &                     p,
+    const DoFHandler<dim, spacedim>            &mesh,
+    const Point<spacedim>                      &p,
     const double                                tolerance)
   {
     Assert((mapping.size() == 1) ||
@@ -1498,26 +1498,26 @@ namespace GridTools
             // children of the neighbor because they can not be further refined
             // and, consequently, the children is active
             if (MeshType::dimension > 1)
-            {
-              for (unsigned int subface = 0;
-                   subface < cell->face(face_number)->n_children();
-                   ++subface)
-                patch.push_back(
-                  cell->neighbor_child_on_subface(face_number, subface));
-            }
-          else
-            {
-              // in 1d, we need to work a bit harder: iterate until we find
-              // the child by going from cell to child to child etc
-              typename MeshType::cell_iterator neighbor =
-                cell->neighbor(face_number);
-              while (neighbor->has_children())
-                neighbor = neighbor->child(1 - face_number);
-
-              Assert(neighbor->neighbor(1 - face_number) == cell,
-                     ExcInternalError());
-              patch.push_back(neighbor);
-            }
+              {
+                for (unsigned int subface = 0;
+                     subface < cell->face(face_number)->n_children();
+                     ++subface)
+                  patch.push_back(
+                    cell->neighbor_child_on_subface(face_number, subface));
+              }
+            else
+              {
+                // in 1d, we need to work a bit harder: iterate until we find
+                // the child by going from cell to child to child etc
+                typename MeshType::cell_iterator neighbor =
+                  cell->neighbor(face_number);
+                while (neighbor->has_children())
+                  neighbor = neighbor->child(1 - face_number);
+
+                Assert(neighbor->neighbor(1 - face_number) == cell,
+                       ExcInternalError());
+                patch.push_back(neighbor);
+              }
         }
     return patch;
   }
@@ -2107,11 +2107,11 @@ namespace GridTools
   match_periodic_face_pairs(
     std::set<std::pair<CellIterator, unsigned int>> &pairs1,
     std::set<std::pair<std_cxx20::type_identity_t<CellIterator>, unsigned int>>
-      &                                          pairs2,
+                                                &pairs2,
     const unsigned int                           direction,
     std::vector<PeriodicFacePair<CellIterator>> &matched_pairs,
     const dealii::Tensor<1, CellIterator::AccessorType::space_dimension>
-      &                       offset,
+                             &offset,
     const FullMatrix<double> &matrix)
   {
     static const int space_dim = CellIterator::AccessorType::space_dimension;
@@ -2199,13 +2199,13 @@ namespace GridTools
   template <typename MeshType>
   DEAL_II_CXX20_REQUIRES(concepts::is_triangulation_or_dof_handler<MeshType>)
   void collect_periodic_faces(
-    const MeshType &         mesh,
+    const MeshType          &mesh,
     const types::boundary_id b_id,
     const unsigned int       direction,
     std::vector<PeriodicFacePair<typename MeshType::cell_iterator>>
-      &                                         matched_pairs,
+                                               &matched_pairs,
     const Tensor<1, MeshType::space_dimension> &offset,
-    const FullMatrix<double> &                  matrix)
+    const FullMatrix<double>                   &matrix)
   {
     static const int dim       = MeshType::dimension;
     static const int space_dim = MeshType::space_dimension;
@@ -2280,14 +2280,14 @@ namespace GridTools
   template <typename MeshType>
   DEAL_II_CXX20_REQUIRES(concepts::is_triangulation_or_dof_handler<MeshType>)
   void collect_periodic_faces(
-    const MeshType &         mesh,
+    const MeshType          &mesh,
     const types::boundary_id b_id1,
     const types::boundary_id b_id2,
     const unsigned int       direction,
     std::vector<PeriodicFacePair<typename MeshType::cell_iterator>>
-      &                                         matched_pairs,
+                                               &matched_pairs,
     const Tensor<1, MeshType::space_dimension> &offset,
-    const FullMatrix<double> &                  matrix)
+    const FullMatrix<double>                   &matrix)
   {
     static const int dim       = MeshType::dimension;
     static const int space_dim = MeshType::space_dimension;
@@ -2368,11 +2368,11 @@ namespace GridTools
    */
   template <int spacedim>
   inline bool
-  orthogonal_equality(const Point<spacedim> &    point1,
-                      const Point<spacedim> &    point2,
+  orthogonal_equality(const Point<spacedim>     &point1,
+                      const Point<spacedim>     &point2,
                       const unsigned int         direction,
                       const Tensor<1, spacedim> &offset,
-                      const FullMatrix<double> matrix)
+                      const FullMatrix<double>  &matrix)
   {
     AssertIndexRange(direction, spacedim);
 
@@ -2506,12 +2506,12 @@ namespace GridTools
   template <typename FaceIterator>
   inline bool
   orthogonal_equality(
-    std::bitset<3> &                                              orientation,
-    const FaceIterator &                                          face1,
-    const FaceIterator &                                          face2,
+    std::bitset<3>                                               &orientation,
+    const FaceIterator                                           &face1,
+    const FaceIterator                                           &face2,
     const unsigned int                                            direction,
     const Tensor<1, FaceIterator::AccessorType::space_dimension> &offset,
-    const FullMatrix<double> &                                    matrix)
+    const FullMatrix<double>                                     &matrix)
   {
     Assert(matrix.m() == matrix.n(),
            ExcMessage("The supplied matrix must be a square matrix"));
@@ -2559,11 +2559,11 @@ namespace GridTools
   template <typename FaceIterator>
   inline bool
   orthogonal_equality(
-    const FaceIterator &                                          face1,
-    const FaceIterator &                                          face2,
+    const FaceIterator                                           &face1,
+    const FaceIterator                                           &face2,
     const unsigned int                                            direction,
     const Tensor<1, FaceIterator::AccessorType::space_dimension> &offset,
-    const FullMatrix<double> &                                    matrix)
+    const FullMatrix<double>                                     &matrix)
   {
     // Call the function above with a dummy orientation array
     std::bitset<3> dummy;
index 5ba0eed507b94b8058d66124d6a49fd6bbff3a7a..6f3d4686a6660c8a46327f390bf41d8194c8511d 100644 (file)
@@ -31,7 +31,7 @@ namespace GridTools
 {
   template <>
   double
-  cell_measure<1>(const std::vector<Point<1>> &        all_vertices,
+  cell_measure<1>(const std::vector<Point<1>>         &all_vertices,
                   const ArrayView<const unsigned int> &vertex_indices)
   {
     AssertDimension(vertex_indices.size(), GeometryInfo<1>::vertices_per_cell);
@@ -44,7 +44,7 @@ namespace GridTools
 
   template <>
   double
-  cell_measure<2>(const std::vector<Point<2>> &        all_vertices,
+  cell_measure<2>(const std::vector<Point<2>>         &all_vertices,
                   const ArrayView<const unsigned int> &vertex_indices)
   {
     if (vertex_indices.size() == 3) // triangle
@@ -118,7 +118,7 @@ namespace GridTools
 
   template <>
   double
-  cell_measure<3>(const std::vector<Point<3>> &        all_vertices,
+  cell_measure<3>(const std::vector<Point<3>>         &all_vertices,
                   const ArrayView<const unsigned int> &vertex_indices)
   {
     if (vertex_indices.size() == 4) // tetrahedron
index 1be7de257a5f9fa64917dae4a9f32454f9f065a7..598df92373ccff80429f5e86ecd405d2dff6909b 100644 (file)
@@ -63,7 +63,7 @@ template <int dim, int spacedim>
 Point<spacedim>
 Manifold<dim, spacedim>::get_new_point(
   const ArrayView<const Point<spacedim>> &surrounding_points,
-  const ArrayView<const double> &         weights) const
+  const ArrayView<const double>          &weights) const
 {
   const double       tol      = 1e-10;
   const unsigned int n_points = surrounding_points.size();
@@ -123,7 +123,7 @@ template <int dim, int spacedim>
 void
 Manifold<dim, spacedim>::get_new_points(
   const ArrayView<const Point<spacedim>> &surrounding_points,
-  const Table<2, double> &                weights,
+  const Table<2, double>                 &weights,
   ArrayView<Point<spacedim>>              new_points) const
 {
   AssertDimension(surrounding_points.size(), weights.size(1));
@@ -142,7 +142,7 @@ Manifold<dim, spacedim>::get_new_points(
 template <>
 Tensor<1, 2>
 Manifold<2, 2>::normal_vector(const Triangulation<2, 2>::face_iterator &face,
-                              const Point<2> &                          p) const
+                              const Point<2>                           &p) const
 {
   const int spacedim = 2;
 
@@ -163,7 +163,7 @@ Manifold<2, 2>::normal_vector(const Triangulation<2, 2>::face_iterator &face,
 template <>
 Tensor<1, 3>
 Manifold<3, 3>::normal_vector(const Triangulation<3, 3>::face_iterator &face,
-                              const Point<3> &                          p) const
+                              const Point<3>                           &p) const
 {
   const int spacedim = 3;
 
@@ -285,7 +285,7 @@ template <>
 void
 Manifold<2, 2>::get_normals_at_vertices(
   const Triangulation<2, 2>::face_iterator &face,
-  FaceVertexNormals &                       n) const
+  FaceVertexNormals                        &n) const
 {
   n[0] = cross_product_2d(get_tangent_vector(face->vertex(0), face->vertex(1)));
   n[1] =
@@ -307,7 +307,7 @@ template <>
 void
 Manifold<3, 3>::get_normals_at_vertices(
   const Triangulation<3, 3>::face_iterator &face,
-  FaceVertexNormals &                       n) const
+  FaceVertexNormals                        &n) const
 {
   n[0] = cross_product_3d(get_tangent_vector(face->vertex(0), face->vertex(1)),
                           get_tangent_vector(face->vertex(0), face->vertex(2)));
@@ -337,7 +337,7 @@ template <int dim, int spacedim>
 void
 Manifold<dim, spacedim>::get_normals_at_vertices(
   const typename Triangulation<dim, spacedim>::face_iterator &face,
-  FaceVertexNormals &                                         n) const
+  FaceVertexNormals                                          &n) const
 {
   for (unsigned int v = 0; v < face->reference_cell().n_vertices(); ++v)
     {
@@ -574,7 +574,7 @@ template <int dim, int spacedim>
 Point<spacedim>
 FlatManifold<dim, spacedim>::get_new_point(
   const ArrayView<const Point<spacedim>> &surrounding_points,
-  const ArrayView<const double> &         weights) const
+  const ArrayView<const double>          &weights) const
 {
   Assert(std::abs(std::accumulate(weights.begin(), weights.end(), 0.0) - 1.0) <
            1e-10,
@@ -635,7 +635,7 @@ template <int dim, int spacedim>
 void
 FlatManifold<dim, spacedim>::get_new_points(
   const ArrayView<const Point<spacedim>> &surrounding_points,
-  const Table<2, double> &                weights,
+  const Table<2, double>                 &weights,
   ArrayView<Point<spacedim>>              new_points) const
 {
   AssertDimension(surrounding_points.size(), weights.size(1));
@@ -791,7 +791,7 @@ template <>
 void
 FlatManifold<2>::get_normals_at_vertices(
   const Triangulation<2>::face_iterator &face,
-  Manifold<2, 2>::FaceVertexNormals &    face_vertex_normals) const
+  Manifold<2, 2>::FaceVertexNormals     &face_vertex_normals) const
 {
   const Tensor<1, 2> tangent = face->vertex(1) - face->vertex(0);
   // We're in 2d. Faces are edges:
@@ -817,7 +817,7 @@ template <>
 void
 FlatManifold<3>::get_normals_at_vertices(
   const Triangulation<3>::face_iterator &face,
-  Manifold<3, 3>::FaceVertexNormals &    face_vertex_normals) const
+  Manifold<3, 3>::FaceVertexNormals     &face_vertex_normals) const
 {
   const unsigned int vertices_per_face = GeometryInfo<3>::vertices_per_face;
 
@@ -878,7 +878,7 @@ template <>
 Tensor<1, 2>
 FlatManifold<2, 2>::normal_vector(
   const Triangulation<2, 2>::face_iterator &face,
-  const Point<2> &                          p) const
+  const Point<2>                           &p) const
 {
   // In 2d, a face is just a straight line and
   // we can use the 'standard' implementation.
@@ -891,7 +891,7 @@ template <int dim, int spacedim>
 Tensor<1, spacedim>
 FlatManifold<dim, spacedim>::normal_vector(
   const typename Triangulation<dim, spacedim>::face_iterator &face,
-  const Point<spacedim> &                                     p) const
+  const Point<spacedim>                                      &p) const
 {
   // I don't think the implementation below will work when dim!=spacedim;
   // in fact, I believe that we don't even have enough information here,
@@ -1034,7 +1034,7 @@ template <int dim, int spacedim, int chartdim>
 Point<spacedim>
 ChartManifold<dim, spacedim, chartdim>::get_new_point(
   const ArrayView<const Point<spacedim>> &surrounding_points,
-  const ArrayView<const double> &         weights) const
+  const ArrayView<const double>          &weights) const
 {
   const std::size_t n_points = surrounding_points.size();
 
@@ -1055,7 +1055,7 @@ template <int dim, int spacedim, int chartdim>
 void
 ChartManifold<dim, spacedim, chartdim>::get_new_points(
   const ArrayView<const Point<spacedim>> &surrounding_points,
-  const Table<2, double> &                weights,
+  const Table<2, double>                 &weights,
   ArrayView<Point<spacedim>>              new_points) const
 {
   Assert(weights.size(0) > 0, ExcEmptyObject());
index e4c3880f99a5b767ef71394415d79f05d3efa1bf..6d23e129663c6c0536c8b0162036c010a3ed75dc 100644 (file)
@@ -286,7 +286,7 @@ namespace
   bool
   spherical_face_is_horizontal(
     const typename Triangulation<dim, spacedim>::face_iterator &face,
-    const Point<spacedim> &                                     manifold_center)
+    const Point<spacedim>                                      &manifold_center)
   {
     // We test whether a face is horizontal by checking that the vertices
     // all have roughly the same distance from the center: If the
@@ -325,7 +325,7 @@ template <int dim, int spacedim>
 Tensor<1, spacedim>
 PolarManifold<dim, spacedim>::normal_vector(
   const typename Triangulation<dim, spacedim>::face_iterator &face,
-  const Point<spacedim> &                                     p) const
+  const Point<spacedim>                                      &p) const
 {
   // Let us first test whether we are on a "horizontal" face
   // (tangential to the sphere).  In this case, the normal vector is
@@ -494,7 +494,7 @@ template <int dim, int spacedim>
 Tensor<1, spacedim>
 SphericalManifold<dim, spacedim>::normal_vector(
   const typename Triangulation<dim, spacedim>::face_iterator &face,
-  const Point<spacedim> &                                     p) const
+  const Point<spacedim>                                      &p) const
 {
   // Let us first test whether we are on a "horizontal" face
   // (tangential to the sphere).  In this case, the normal vector is
@@ -573,7 +573,7 @@ template <int dim, int spacedim>
 void
 SphericalManifold<dim, spacedim>::get_new_points(
   const ArrayView<const Point<spacedim>> &surrounding_points,
-  const Table<2, double> &                weights,
+  const Table<2, double>                 &weights,
   ArrayView<Point<spacedim>>              new_points) const
 {
   AssertDimension(new_points.size(), weights.size(0));
@@ -590,7 +590,7 @@ template <int dim, int spacedim>
 Point<spacedim>
 SphericalManifold<dim, spacedim>::get_new_point(
   const ArrayView<const Point<spacedim>> &vertices,
-  const ArrayView<const double> &         weights) const
+  const ArrayView<const double>          &weights) const
 {
   // To avoid duplicating all of the logic in get_new_points, simply call it
   // for one position.
@@ -608,7 +608,7 @@ template <int dim, int spacedim>
 void
 SphericalManifold<dim, spacedim>::get_new_points(
   const ArrayView<const Point<spacedim>> &surrounding_points,
-  const ArrayView<const double> &         weights,
+  const ArrayView<const double>          &weights,
   ArrayView<Point<spacedim>>              new_points) const
 {
   AssertDimension(weights.size(),
@@ -817,8 +817,8 @@ template <int dim, int spacedim>
 std::pair<double, Tensor<1, spacedim>>
 SphericalManifold<dim, spacedim>::guess_new_point(
   const ArrayView<const Tensor<1, spacedim>> &directions,
-  const ArrayView<const double> &             distances,
-  const ArrayView<const double> &             weights) const
+  const ArrayView<const double>              &distances,
+  const ArrayView<const double>              &weights) const
 {
   const double        tolerance = 1e-10;
   double              rho       = 0.;
@@ -864,9 +864,9 @@ namespace
   template <>
   Point<3>
   do_get_new_point(const ArrayView<const Tensor<1, 3>> &directions,
-                   const ArrayView<const double> &      distances,
-                   const ArrayView<const double> &      weights,
-                   const Point<3> &                     candidate_point)
+                   const ArrayView<const double>       &distances,
+                   const ArrayView<const double>       &weights,
+                   const Point<3>                      &candidate_point)
   {
     (void)distances;
 
@@ -1002,9 +1002,9 @@ template <>
 Point<3>
 SphericalManifold<1, 3>::get_new_point(
   const ArrayView<const Tensor<1, 3>> &directions,
-  const ArrayView<const double> &      distances,
-  const ArrayView<const double> &      weights,
-  const Point<3> &                     candidate_point) const
+  const ArrayView<const double>       &distances,
+  const ArrayView<const double>       &weights,
+  const Point<3>                      &candidate_point) const
 {
   return do_get_new_point(directions, distances, weights, candidate_point);
 }
@@ -1015,9 +1015,9 @@ template <>
 Point<3>
 SphericalManifold<2, 3>::get_new_point(
   const ArrayView<const Tensor<1, 3>> &directions,
-  const ArrayView<const double> &      distances,
-  const ArrayView<const double> &      weights,
-  const Point<3> &                     candidate_point) const
+  const ArrayView<const double>       &distances,
+  const ArrayView<const double>       &weights,
+  const Point<3>                      &candidate_point) const
 {
   return do_get_new_point(directions, distances, weights, candidate_point);
 }
@@ -1028,9 +1028,9 @@ template <>
 Point<3>
 SphericalManifold<3, 3>::get_new_point(
   const ArrayView<const Tensor<1, 3>> &directions,
-  const ArrayView<const double> &      distances,
-  const ArrayView<const double> &      weights,
-  const Point<3> &                     candidate_point) const
+  const ArrayView<const double>       &distances,
+  const ArrayView<const double>       &weights,
+  const Point<3>                      &candidate_point) const
 {
   return do_get_new_point(directions, distances, weights, candidate_point);
 }
@@ -1058,7 +1058,7 @@ CylindricalManifold<dim, spacedim>::CylindricalManifold(const unsigned int axis,
 template <int dim, int spacedim>
 CylindricalManifold<dim, spacedim>::CylindricalManifold(
   const Tensor<1, spacedim> &direction,
-  const Point<spacedim> &    point_on_axis,
+  const Point<spacedim>     &point_on_axis,
   const double               tolerance)
   : ChartManifold<dim, spacedim, 3>(Tensor<1, 3>({0, 2. * numbers::PI, 0}))
   , normal_direction(internal::compute_normal(direction, true))
@@ -1088,7 +1088,7 @@ template <int dim, int spacedim>
 Point<spacedim>
 CylindricalManifold<dim, spacedim>::get_new_point(
   const ArrayView<const Point<spacedim>> &surrounding_points,
-  const ArrayView<const double> &         weights) const
+  const ArrayView<const double>          &weights) const
 {
   Assert(spacedim == 3,
          ExcMessage("CylindricalManifold can only be used for spacedim==3!"));
@@ -1205,7 +1205,7 @@ CylindricalManifold<dim, spacedim>::push_forward_gradient(
 // ============================================================
 template <int dim, int spacedim>
 EllipticalManifold<dim, spacedim>::EllipticalManifold(
-  const Point<spacedim> &    center,
+  const Point<spacedim>     &center,
   const Tensor<1, spacedim> &major_axis_direction,
   const double               eccentricity)
   : ChartManifold<dim, spacedim, spacedim>(
@@ -1360,8 +1360,8 @@ EllipticalManifold<2, 2>::push_forward_gradient(
 // ============================================================
 template <int dim, int spacedim, int chartdim>
 FunctionManifold<dim, spacedim, chartdim>::FunctionManifold(
-  const Function<chartdim> push_forward_function,
-  const Function<spacedim> pull_back_function,
+  const Function<chartdim>  &push_forward_function,
+  const Function<spacedim>  &pull_back_function,
   const Tensor<1, chartdim> &periodicity,
   const double               tolerance)
   : ChartManifold<dim, spacedim, chartdim>(periodicity)
@@ -1382,7 +1382,7 @@ template <int dim, int spacedim, int chartdim>
 FunctionManifold<dim, spacedim, chartdim>::FunctionManifold(
   std::unique_ptr<Function<chartdim>> push_forward,
   std::unique_ptr<Function<spacedim>> pull_back,
-  const Tensor<1, chartdim> &         periodicity,
+  const Tensor<1, chartdim>          &periodicity,
   const double                        tolerance)
   : ChartManifold<dim, spacedim, chartdim>(periodicity)
   , const_map()
@@ -1402,7 +1402,7 @@ template <int dim, int spacedim, int chartdim>
 FunctionManifold<dim, spacedim, chartdim>::FunctionManifold(
   const std::string                                 push_forward_expression,
   const std::string                                 pull_back_expression,
-  const Tensor<1, chartdim> &                       periodicity,
+  const Tensor<1, chartdim>                        &periodicity,
   const typename FunctionParser<spacedim>::ConstMap const_map,
   const std::string                                 chart_vars,
   const std::string                                 space_vars,
@@ -1726,7 +1726,7 @@ namespace
   template <typename AccessorType>
   Point<AccessorType::space_dimension>
   compute_transfinite_interpolation(const AccessorType &cell,
-                                    const Point<1> &    chart_point,
+                                    const Point<1>     &chart_point,
                                     const bool /*cell_is_flat*/)
   {
     return cell.vertex(0) * (1. - chart_point[0]) +
@@ -1737,7 +1737,7 @@ namespace
   template <typename AccessorType>
   Point<AccessorType::space_dimension>
   compute_transfinite_interpolation(const AccessorType &cell,
-                                    const Point<2> &    chart_point,
+                                    const Point<2>     &chart_point,
                                     const bool          cell_is_flat)
   {
     const unsigned int       dim             = AccessorType::dimension;
@@ -1852,7 +1852,7 @@ namespace
   template <typename AccessorType>
   Point<AccessorType::space_dimension>
   compute_transfinite_interpolation(const AccessorType &cell,
-                                    const Point<3> &    chart_point,
+                                    const Point<3>     &chart_point,
                                     const bool          cell_is_flat)
   {
     const unsigned int       dim             = AccessorType::dimension;
@@ -2035,7 +2035,7 @@ template <int dim, int spacedim>
 Point<spacedim>
 TransfiniteInterpolationManifold<dim, spacedim>::push_forward(
   const typename Triangulation<dim, spacedim>::cell_iterator &cell,
-  const Point<dim> &                                          chart_point) const
+  const Point<dim>                                           &chart_point) const
 {
   AssertDimension(cell->level(), level_coarse);
 
@@ -2056,7 +2056,7 @@ template <int dim, int spacedim>
 DerivativeForm<1, dim, spacedim>
 TransfiniteInterpolationManifold<dim, spacedim>::push_forward_gradient(
   const typename Triangulation<dim, spacedim>::cell_iterator &cell,
-  const Point<dim> &                                          chart_point,
+  const Point<dim>                                           &chart_point,
   const Point<spacedim> &pushed_forward_chart_point) const
 {
   // compute the derivative with the help of finite differences
@@ -2085,7 +2085,7 @@ template <int dim, int spacedim>
 Point<dim>
 TransfiniteInterpolationManifold<dim, spacedim>::pull_back(
   const typename Triangulation<dim, spacedim>::cell_iterator &cell,
-  const Point<spacedim> &                                     point,
+  const Point<spacedim>                                      &point,
   const Point<dim> &initial_guess) const
 {
   Point<dim> outside;
@@ -2582,7 +2582,7 @@ template <int dim, int spacedim>
 Point<spacedim>
 TransfiniteInterpolationManifold<dim, spacedim>::get_new_point(
   const ArrayView<const Point<spacedim>> &surrounding_points,
-  const ArrayView<const double> &         weights) const
+  const ArrayView<const double>          &weights) const
 {
   boost::container::small_vector<Point<dim>, 100> chart_points(
     surrounding_points.size());
@@ -2602,7 +2602,7 @@ template <int dim, int spacedim>
 void
 TransfiniteInterpolationManifold<dim, spacedim>::get_new_points(
   const ArrayView<const Point<spacedim>> &surrounding_points,
-  const Table<2, double> &                weights,
+  const Table<2, double>                 &weights,
   ArrayView<Point<spacedim>>              new_points) const
 {
   Assert(weights.size(0) > 0, ExcEmptyObject());
index 5130f123a5dbbf2d0d30bb905722f32578c93794..00df4e62fbe21f09fdfa00a2ab4396ccff79c1cd 100644 (file)
@@ -870,7 +870,7 @@ namespace
   template <>
   std::pair<Point<3>, double>
   project_to_quad(const std::array<Point<3>, 3> &vertices,
-                  const Point<3> &               p,
+                  const Point<3>                &p,
                   const ReferenceCell            face_reference_cell)
   {
     Assert(face_reference_cell == ReferenceCells::Triangle ||
index 3b846a739d90a0467fedc3c0d475abc5e7160ff3..6d0d12b07d9d4ae6335e50f6bf35eaf5399a8a18 100644 (file)
@@ -20,8 +20,8 @@ for (deal_II_dimension : DIMENSIONS; deal_II_space_dimension : SPACE_DIMENSIONS)
       Mapping<deal_II_dimension, deal_II_space_dimension>>
     ReferenceCell::get_default_mapping(const unsigned int degree) const;
 
-    template const Mapping<deal_II_dimension, deal_II_space_dimension>
-      &ReferenceCell::get_default_linear_mapping() const;
+    template const Mapping<deal_II_dimension, deal_II_space_dimension> &
+    ReferenceCell::get_default_linear_mapping() const;
 #endif
   }
 
@@ -30,8 +30,8 @@ for (deal_II_dimension : DIMENSIONS)
     template Quadrature<deal_II_dimension>
     ReferenceCell::get_gauss_type_quadrature(const unsigned n_points_1D) const;
 
-    template const Quadrature<deal_II_dimension>
-      &ReferenceCell::get_nodal_type_quadrature() const;
+    template const Quadrature<deal_II_dimension> &
+    ReferenceCell::get_nodal_type_quadrature() const;
 
     template Point<deal_II_dimension> ReferenceCell::closest_point(
       const Point<deal_II_dimension> &) const;
index 4e1d7c0595bf85809efc48b0d3b2ec36aa51ccff..e3a004a552bc0e110432839537707611a6df625b 100644 (file)
@@ -144,7 +144,7 @@ namespace internal
       &pack_callbacks_fixed,
     const std::vector<
       typename internal::CellAttachedData<dim, spacedim>::pack_callback_t>
-      &             pack_callbacks_variable,
+                   &pack_callbacks_variable,
     const MPI_Comm &mpi_communicator)
   {
     Assert(src_data_fixed.empty(),
@@ -504,7 +504,7 @@ namespace internal
   void CellAttachedDataSerializer<dim, spacedim>::unpack_data(
     const std::vector<
       typename CellAttachedDataSerializer<dim, spacedim>::cell_relation_t>
-      &                cell_relations,
+                      &cell_relations,
     const unsigned int handle,
     const std::function<
       void(const cell_iterator &,
@@ -672,7 +672,7 @@ namespace internal
     const unsigned int global_first_cell,
     const unsigned int global_num_cells,
     const std::string &filename,
-    const MPI_Comm &   mpi_communicator) const
+    const MPI_Comm    &mpi_communicator) const
   {
     Assert(sizes_fixed_cumulative.size() > 0,
            ExcMessage("No data has been packed!"));
@@ -904,7 +904,7 @@ namespace internal
     const std::string &filename,
     const unsigned int n_attached_deserialize_fixed,
     const unsigned int n_attached_deserialize_variable,
-    const MPI_Comm &   mpi_communicator)
+    const MPI_Comm    &mpi_communicator)
   {
     Assert(dest_data_fixed.empty(),
            ExcMessage("Previously loaded data has not been released yet!"));
@@ -1643,7 +1643,7 @@ namespace
     const typename Triangulation<dim, spacedim>::cell_iterator &cell_2,
     unsigned int                                                n_face_1,
     unsigned int                                                n_face_2,
-    const std::bitset<3> &                                      orientation,
+    const std::bitset<3>                                       &orientation,
     typename std::map<
       std::pair<typename Triangulation<dim, spacedim>::cell_iterator,
                 unsigned int>,
@@ -2046,7 +2046,7 @@ namespace internal
      * @note Used only for dim=3.
      */
     void
-    reserve_space(TriaFaces &        tria_faces,
+    reserve_space(TriaFaces         &tria_faces,
                   const unsigned int new_quads_in_pairs,
                   const unsigned int new_quads_single)
     {
@@ -2127,7 +2127,7 @@ namespace internal
      */
 
     void
-    reserve_space(TriaLevel &        tria_level,
+    reserve_space(TriaLevel         &tria_level,
                   const unsigned int total_cells,
                   const unsigned int dimension,
                   const unsigned int space_dimension)
@@ -2238,7 +2238,7 @@ namespace internal
      * should be called from the functions of the higher TriaLevel classes.
      */
     void
-    monitor_memory(const TriaLevel &  tria_level,
+    monitor_memory(const TriaLevel   &tria_level,
                    const unsigned int true_dimension)
     {
       (void)tria_level;
@@ -2268,7 +2268,7 @@ namespace internal
      * lines in the interior of refined cells can be stored as single lines.
      */
     void
-    reserve_space(TriaObjects &      tria_objects,
+    reserve_space(TriaObjects       &tria_objects,
                   const unsigned int new_objects_in_pairs,
                   const unsigned int new_objects_single = 0)
     {
@@ -2522,9 +2522,9 @@ namespace internal
        */
       virtual void
       delete_children(
-        Triangulation<dim, spacedim> &                        triangulation,
+        Triangulation<dim, spacedim>                         &triangulation,
         typename Triangulation<dim, spacedim>::cell_iterator &cell,
-        std::vector<unsigned int> &                           line_cell_count,
+        std::vector<unsigned int>                            &line_cell_count,
         std::vector<unsigned int> &quad_cell_count) = 0;
 
       /**
@@ -2584,9 +2584,9 @@ namespace internal
 
       void
       delete_children(
-        Triangulation<dim, spacedim> &                        tria,
+        Triangulation<dim, spacedim>                         &tria,
         typename Triangulation<dim, spacedim>::cell_iterator &cell,
-        std::vector<unsigned int> &                           line_cell_count,
+        std::vector<unsigned int>                            &line_cell_count,
         std::vector<unsigned int> &quad_cell_count) override
       {
         T::delete_children(tria, cell, line_cell_count, quad_cell_count);
@@ -2741,7 +2741,7 @@ namespace internal
       template <int dim, int spacedim>
       static void
       compute_number_cache_dim(
-        const Triangulation<dim, spacedim> &                   triangulation,
+        const Triangulation<dim, spacedim>                    &triangulation,
         const unsigned int                                     level_objects,
         internal::TriangulationImplementation::NumberCache<1> &number_cache)
       {
@@ -2829,7 +2829,7 @@ namespace internal
       template <int dim, int spacedim>
       static void
       compute_number_cache_dim(
-        const Triangulation<dim, spacedim> &                   triangulation,
+        const Triangulation<dim, spacedim>                    &triangulation,
         const unsigned int                                     level_objects,
         internal::TriangulationImplementation::NumberCache<2> &number_cache)
       {
@@ -2936,7 +2936,7 @@ namespace internal
       template <int dim, int spacedim>
       static void
       compute_number_cache_dim(
-        const Triangulation<dim, spacedim> &                   triangulation,
+        const Triangulation<dim, spacedim>                    &triangulation,
         const unsigned int                                     level_objects,
         internal::TriangulationImplementation::NumberCache<3> &number_cache)
       {
@@ -3029,7 +3029,7 @@ namespace internal
       template <int dim, int spacedim>
       static void
       compute_number_cache(
-        const Triangulation<dim, spacedim> &                     triangulation,
+        const Triangulation<dim, spacedim>                      &triangulation,
         const unsigned int                                       level_objects,
         internal::TriangulationImplementation::NumberCache<dim> &number_cache)
       {
@@ -3236,9 +3236,9 @@ namespace internal
       template <int dim, int spacedim>
       static void
       create_triangulation(const std::vector<Point<spacedim>> &vertices,
-                           const std::vector<CellData<dim>> &  cells,
-                           const SubCellData &                 subcelldata,
-                           Triangulation<dim, spacedim> &      tria)
+                           const std::vector<CellData<dim>>   &cells,
+                           const SubCellData                  &subcelldata,
+                           Triangulation<dim, spacedim>       &tria)
       {
         AssertThrow(vertices.size() > 0, ExcMessage("No vertices given"));
         AssertThrow(cells.size() > 0, ExcMessage("No cells given"));
@@ -3288,7 +3288,7 @@ namespace internal
             auto &lines_0 = tria.faces->lines; // data structure to be filled
 
             // get connectivity between quads and lines
-            const auto &       crs     = connectivity.entity_to_entities(1, 0);
+            const auto        &crs     = connectivity.entity_to_entities(1, 0);
             const unsigned int n_lines = crs.ptr.size() - 1;
 
             // allocate memory
@@ -3309,7 +3309,7 @@ namespace internal
             auto &faces   = *tria.faces;
 
             // get connectivity between quads and lines
-            const auto &       crs     = connectivity.entity_to_entities(2, 1);
+            const auto        &crs     = connectivity.entity_to_entities(2, 1);
             const unsigned int n_quads = crs.ptr.size() - 1;
 
             // allocate memory
@@ -3499,10 +3499,10 @@ namespace internal
       template <int structdim, int spacedim, typename T>
       static void
       process_subcelldata(
-        const CRS<T> &                          crs,
-        TriaObjects &                           obj,
+        const CRS<T>                           &crs,
+        TriaObjects                            &obj,
         const std::vector<CellData<structdim>> &boundary_objects_in,
-        const std::vector<Point<spacedim>> &    vertex_locations)
+        const std::vector<Point<spacedim>>     &vertex_locations)
       {
         AssertDimension(obj.structdim, structdim);
 
@@ -3606,7 +3606,7 @@ namespace internal
 
 
       static void
-      reserve_space_(TriaFaces &        faces,
+      reserve_space_(TriaFaces         &faces,
                      const unsigned     structdim,
                      const unsigned int size)
       {
@@ -3628,7 +3628,7 @@ namespace internal
 
 
       static void
-      reserve_space_(TriaLevel &        level,
+      reserve_space_(TriaLevel         &level,
                      const unsigned int spacedim,
                      const unsigned int size,
                      const bool         orientation_needed)
@@ -4591,7 +4591,7 @@ namespace internal
       static void
       create_children(
         Triangulation<2, spacedim> &triangulation,
-        unsigned int &              next_unused_vertex,
+        unsigned int               &next_unused_vertex,
         typename Triangulation<2, spacedim>::raw_line_iterator
           &next_unused_line,
         typename Triangulation<2, spacedim>::raw_cell_iterator
@@ -5140,11 +5140,11 @@ namespace internal
         typename Triangulation<dim, spacedim>::raw_line_iterator
           next_unused_line = triangulation.begin_raw_line();
 
-        const auto create_children = [](auto &        triangulation,
+        const auto create_children = [](auto         &triangulation,
                                         unsigned int &next_unused_vertex,
-                                        auto &        next_unused_line,
-                                        auto &        next_unused_cell,
-                                        const auto &  cell) {
+                                        auto         &next_unused_line,
+                                        auto         &next_unused_cell,
+                                        const auto   &cell) {
           const auto ref_case = cell->refine_flag_set();
           cell->clear_refine_flag();
 
@@ -12023,10 +12023,10 @@ namespace internal
       template <int dim, int spacedim>
       static void
       delete_children(
-        Triangulation<dim, spacedim> &                        triangulation,
+        Triangulation<dim, spacedim>                         &triangulation,
         typename Triangulation<dim, spacedim>::cell_iterator &cell,
-        std::vector<unsigned int> &                           line_cell_count,
-        std::vector<unsigned int> &                           quad_cell_count)
+        std::vector<unsigned int>                            &line_cell_count,
+        std::vector<unsigned int>                            &quad_cell_count)
       {
         AssertThrow(false, ExcNotImplemented());
         (void)triangulation;
@@ -12561,8 +12561,8 @@ template <int dim, int spacedim>
 DEAL_II_CXX20_REQUIRES((concepts::is_valid_dim_spacedim<dim, spacedim>))
 void Triangulation<dim, spacedim>::create_triangulation(
   const std::vector<Point<spacedim>> &v,
-  const std::vector<CellData<dim>> &  cells,
-  const SubCellData &                 subcelldata)
+  const std::vector<CellData<dim>>   &cells,
+  const SubCellData                  &subcelldata)
 {
   Assert((vertices.empty()) && (levels.empty()) && (faces == nullptr),
          ExcTriangulationNotEmpty(vertices.size(), levels.size()));
@@ -13160,7 +13160,7 @@ namespace
     unsigned int dim,
     std::vector<
       std::unique_ptr<internal::TriangulationImplementation::TriaLevel>>
-      &                                               levels,
+                                                     &levels,
     internal::TriangulationImplementation::TriaFaces *faces)
   {
     if (dim == 1)
@@ -13196,7 +13196,7 @@ namespace
     unsigned int dim,
     std::vector<
       std::unique_ptr<internal::TriangulationImplementation::TriaLevel>>
-      &                                               levels,
+                                                     &levels,
     internal::TriangulationImplementation::TriaFaces *faces)
   {
     if (dim == 1)
@@ -15925,7 +15925,7 @@ DEAL_II_CXX20_REQUIRES((concepts::is_valid_dim_spacedim<dim, spacedim>))
 unsigned int Triangulation<dim, spacedim>::register_data_attach(
   const std::function<std::vector<char>(const cell_iterator &,
                                         const ::dealii::CellStatus)>
-    &        pack_callback,
+            &pack_callback,
   const bool returns_variable_size_data)
 {
   unsigned int handle = numbers::invalid_unsigned_int;
@@ -17635,10 +17635,10 @@ void Triangulation<dim, spacedim>::write_bool_vector(
   const unsigned int       magic_number1,
   const std::vector<bool> &v,
   const unsigned int       magic_number2,
-  std::ostream &           out)
+  std::ostream            &out)
 {
   const unsigned int N     = v.size();
-  unsigned char *    flags = new unsigned char[N / 8 + 1];
+  unsigned char     *flags = new unsigned char[N / 8 + 1];
   for (unsigned int i = 0; i < N / 8 + 1; ++i)
     flags[i] = 0;
 
@@ -17670,7 +17670,7 @@ void Triangulation<dim, spacedim>::read_bool_vector(
   const unsigned int magic_number1,
   std::vector<bool> &v,
   const unsigned int magic_number2,
-  std::istream &     in)
+  std::istream      &in)
 {
   AssertThrow(in.fail() == false, ExcIO());
 
@@ -17682,7 +17682,7 @@ void Triangulation<dim, spacedim>::read_bool_vector(
   in >> N;
   v.resize(N);
 
-  unsigned char *    flags = new unsigned char[N / 8 + 1];
+  unsigned char     *flags = new unsigned char[N / 8 + 1];
   unsigned short int tmp;
   for (unsigned int i = 0; i < N / 8 + 1; ++i)
     {
index 2043e65c2425332b071431ec690c2acfb9a60a04..3c04bfde22e3a09740007deea46fa85acd8a4d15 100644 (file)
@@ -109,7 +109,7 @@ namespace TriangulationDescription
          */
         void
         collect(
-          const std::vector<unsigned int> &                  relevant_processes,
+          const std::vector<unsigned int>                   &relevant_processes,
           const std::vector<DescriptionTemp<dim, spacedim>> &description_temp,
           const MPI_Comm                                     comm,
           const bool vertices_have_unique_ids)
@@ -385,7 +385,7 @@ namespace TriangulationDescription
       void
       mark_cell_and_its_parents(
         const TriaIterator<CellAccessor<dim, spacedim>> &cell,
-        std::vector<std::vector<bool>> &                 cell_marked)
+        std::vector<std::vector<bool>>                  &cell_marked)
       {
         cell_marked[cell->level()][cell->index()] = true;
         if (cell->level() != 0)
@@ -405,10 +405,10 @@ namespace TriangulationDescription
           const dealii::Triangulation<dim, spacedim> &tria,
           const std::function<types::subdomain_id(
             const typename dealii::Triangulation<dim, spacedim>::cell_iterator
-              &)> &                                   subdomain_id_function,
+              &)>                                    &subdomain_id_function,
           const std::function<types::subdomain_id(
             const typename dealii::Triangulation<dim, spacedim>::cell_iterator
-              &)> &                                level_subdomain_id_function,
+              &)>                                 &level_subdomain_id_function,
           const MPI_Comm                           comm,
           const TriangulationDescription::Settings settings)
           : tria(tria)
@@ -447,7 +447,7 @@ namespace TriangulationDescription
           // (also taking into account periodicity)
           const auto
             add_vertices_of_cell_to_vertices_owned_by_locally_owned_cells =
-              [this](const auto &       cell,
+              [this](const auto        &cell,
                      std::vector<bool> &vertices_owned_by_locally_owned_cells) {
                 // add local vertices
                 for (const auto v : cell->vertex_indices())
@@ -794,7 +794,7 @@ namespace TriangulationDescription
     Description<dim, spacedim>
     create_description_from_triangulation_in_groups(
       const std::function<void(dealii::Triangulation<dim, spacedim> &)>
-        &                                            serial_grid_generator,
+                                                    &serial_grid_generator,
       const std::function<void(dealii::Triangulation<dim, spacedim> &,
                                const MPI_Comm,
                                const unsigned int)> &serial_grid_partitioner,
@@ -923,7 +923,7 @@ namespace TriangulationDescription
     template <int dim, int spacedim>
     Description<dim, spacedim>
     create_description_from_triangulation(
-      const Triangulation<dim, spacedim> &              tria,
+      const Triangulation<dim, spacedim>               &tria,
       const LinearAlgebra::distributed::Vector<double> &partition,
       const TriangulationDescription::Settings          settings)
     {
@@ -990,10 +990,10 @@ namespace TriangulationDescription
     template <int dim, int spacedim>
     Description<dim, spacedim>
     create_description_from_triangulation(
-      const Triangulation<dim, spacedim> &              tria,
+      const Triangulation<dim, spacedim>               &tria,
       const LinearAlgebra::distributed::Vector<double> &partition,
       const std::vector<LinearAlgebra::distributed::Vector<double>>
-        &                                      partitions_mg,
+                                              &partitions_mg,
       const TriangulationDescription::Settings settings_in)
     {
 #ifdef DEAL_II_WITH_MPI
index 5ca3f53c7209192f94ba955029ecfc279b28ccdb..cf57a4ad3c3231b6e79754b1b9c2d9c54a138b01 100644 (file)
@@ -34,7 +34,7 @@ for (deal_II_dimension : DIMENSIONS; deal_II_space_dimension : DIMENSIONS)
         create_description_from_triangulation_in_groups(
           const std::function<void(
             dealii::Triangulation<deal_II_dimension, deal_II_space_dimension>
-              &)> &               serial_grid_generator,
+              &)>                &serial_grid_generator,
           const std::function<void(
             dealii::Triangulation<deal_II_dimension, deal_II_space_dimension> &,
             const MPI_Comm,
@@ -57,7 +57,7 @@ for (deal_II_dimension : DIMENSIONS; deal_II_space_dimension : DIMENSIONS)
           const Triangulation<deal_II_dimension, deal_II_space_dimension> &tria,
           const LinearAlgebra::distributed::Vector<double> &partition,
           const std::vector<LinearAlgebra::distributed::Vector<double>>
-            &                                      mg_partitions,
+                                                  &mg_partitions,
           const TriangulationDescription::Settings settings);
 #endif
       \}
index 177960b26af2aa90ab77b1a62451f77a1fcb66e7..7138ed9cdbad3f4737915eb15f9beec5bea6f779 100644 (file)
@@ -337,7 +337,7 @@ namespace hp
       const std::set<unsigned int> &fes,
       const std::function<std::vector<std::pair<unsigned int, unsigned int>>(
         const unsigned int,
-        const unsigned int)> &      query_identities)
+        const unsigned int)>       &query_identities)
     {
       // Let's deal with the easy cases first. If the set of fe indices is empty
       // or has only one entry, then there are no identities:
index 77e3da57cbf79ecfa0ff3b445f35cdb1c4e44288..23779930a9a52996eadde2f7c0861ce63456ed95 100644 (file)
@@ -65,9 +65,9 @@ namespace hp
   template <int dim, int q_dim, typename FEValuesType>
   FEValuesBase<dim, q_dim, FEValuesType>::FEValuesBase(
     const MappingCollection<dim, FEValuesType::space_dimension>
-      &                                                     mapping_collection,
+                                                           &mapping_collection,
     const FECollection<dim, FEValuesType::space_dimension> &fe_collection,
-    const QCollection<q_dim> &                              q_collection,
+    const QCollection<q_dim>                               &q_collection,
     const UpdateFlags                                       update_flags)
     : fe_collection(&fe_collection)
     , mapping_collection(&mapping_collection)
@@ -85,9 +85,9 @@ namespace hp
   template <int dim, int q_dim, typename FEValuesType>
   FEValuesBase<dim, q_dim, FEValuesType>::FEValuesBase(
     const MappingCollection<dim, FEValuesType::space_dimension>
-      &                                                     mapping_collection,
+                                                           &mapping_collection,
     const FECollection<dim, FEValuesType::space_dimension> &fe_collection,
-    const std::vector<QCollection<q_dim>> &                 q_collections,
+    const std::vector<QCollection<q_dim>>                  &q_collections,
     const UpdateFlags                                       update_flags)
     : fe_collection(&fe_collection)
     , mapping_collection(&mapping_collection)
@@ -106,7 +106,7 @@ namespace hp
   template <int dim, int q_dim, typename FEValuesType>
   FEValuesBase<dim, q_dim, FEValuesType>::FEValuesBase(
     const FECollection<dim, FEValuesType::space_dimension> &fe_collection,
-    const QCollection<q_dim> &                              q_collection,
+    const QCollection<q_dim>                               &q_collection,
     const UpdateFlags                                       update_flags)
     : FEValuesBase(
         dealii::hp::StaticMappingQ1<dim, FEValuesType::space_dimension>::
@@ -120,7 +120,7 @@ namespace hp
   template <int dim, int q_dim, typename FEValuesType>
   FEValuesBase<dim, q_dim, FEValuesType>::FEValuesBase(
     const FECollection<dim, FEValuesType::space_dimension> &fe_collection,
-    const std::vector<QCollection<q_dim>> &                 q_collection,
+    const std::vector<QCollection<q_dim>>                  &q_collection,
     const UpdateFlags                                       update_flags)
     : FEValuesBase(
         dealii::hp::StaticMappingQ1<dim, FEValuesType::space_dimension>::
@@ -267,8 +267,8 @@ namespace hp
   template <int dim, int spacedim>
   FEValues<dim, spacedim>::FEValues(
     const MappingCollection<dim, spacedim> &mapping,
-    const FECollection<dim, spacedim> &     fe_collection,
-    const QCollection<dim> &                q_collection,
+    const FECollection<dim, spacedim>      &fe_collection,
+    const QCollection<dim>                 &q_collection,
     const UpdateFlags                       update_flags)
     : hp::FEValuesBase<dim, dim, dealii::FEValues<dim, spacedim>>(mapping,
                                                                   fe_collection,
@@ -280,7 +280,7 @@ namespace hp
   template <int dim, int spacedim>
   FEValues<dim, spacedim>::FEValues(
     const FECollection<dim, spacedim> &fe_collection,
-    const QCollection<dim> &           q_collection,
+    const QCollection<dim>            &q_collection,
     const UpdateFlags                  update_flags)
     : hp::FEValuesBase<dim, dim, dealii::FEValues<dim, spacedim>>(fe_collection,
                                                                   q_collection,
@@ -370,8 +370,8 @@ namespace hp
   template <int dim, int spacedim>
   FEFaceValues<dim, spacedim>::FEFaceValues(
     const hp::MappingCollection<dim, spacedim> &mapping,
-    const hp::FECollection<dim, spacedim> &     fe_collection,
-    const hp::QCollection<dim - 1> &            q_collection,
+    const hp::FECollection<dim, spacedim>      &fe_collection,
+    const hp::QCollection<dim - 1>             &q_collection,
     const UpdateFlags                           update_flags)
     : hp::FEValuesBase<dim, dim - 1, dealii::FEFaceValues<dim, spacedim>>(
         mapping,
@@ -382,8 +382,8 @@ namespace hp
 
   template <int dim, int spacedim>
   FEFaceValues<dim, spacedim>::FEFaceValues(
-    const hp::MappingCollection<dim, spacedim> mapping,
-    const hp::FECollection<dim, spacedim> &      fe_collection,
+    const hp::MappingCollection<dim, spacedim>  &mapping,
+    const hp::FECollection<dim, spacedim>       &fe_collection,
     const std::vector<hp::QCollection<dim - 1>> &q_collection,
     const UpdateFlags                            update_flags)
     : hp::FEValuesBase<dim, dim - 1, dealii::FEFaceValues<dim, spacedim>>(
@@ -397,7 +397,7 @@ namespace hp
   template <int dim, int spacedim>
   FEFaceValues<dim, spacedim>::FEFaceValues(
     const hp::FECollection<dim, spacedim> &fe_collection,
-    const hp::QCollection<dim - 1> &       q_collection,
+    const hp::QCollection<dim - 1>        &q_collection,
     const UpdateFlags                      update_flags)
     : hp::FEValuesBase<dim, dim - 1, dealii::FEFaceValues<dim, spacedim>>(
         fe_collection,
@@ -408,7 +408,7 @@ namespace hp
 
   template <int dim, int spacedim>
   FEFaceValues<dim, spacedim>::FEFaceValues(
-    const hp::FECollection<dim, spacedim> &      fe_collection,
+    const hp::FECollection<dim, spacedim>       &fe_collection,
     const std::vector<hp::QCollection<dim - 1>> &q_collection,
     const UpdateFlags                            update_flags)
     : hp::FEValuesBase<dim, dim - 1, dealii::FEFaceValues<dim, spacedim>>(
@@ -468,7 +468,7 @@ namespace hp
   template <bool lda>
   void
   FEFaceValues<dim, spacedim>::reinit(
-    const TriaIterator<DoFCellAccessor<dim, spacedim, lda>> &   cell,
+    const TriaIterator<DoFCellAccessor<dim, spacedim, lda>>    &cell,
     const typename Triangulation<dim, spacedim>::face_iterator &face,
     const unsigned int                                          q_index,
     const unsigned int                                          mapping_index,
@@ -535,8 +535,8 @@ namespace hp
   template <int dim, int spacedim>
   FESubfaceValues<dim, spacedim>::FESubfaceValues(
     const hp::MappingCollection<dim, spacedim> &mapping,
-    const hp::FECollection<dim, spacedim> &     fe_collection,
-    const hp::QCollection<dim - 1> &            q_collection,
+    const hp::FECollection<dim, spacedim>      &fe_collection,
+    const hp::QCollection<dim - 1>             &q_collection,
     const UpdateFlags                           update_flags)
     : hp::FEValuesBase<dim, dim - 1, dealii::FESubfaceValues<dim, spacedim>>(
         mapping,
@@ -549,7 +549,7 @@ namespace hp
   template <int dim, int spacedim>
   FESubfaceValues<dim, spacedim>::FESubfaceValues(
     const hp::FECollection<dim, spacedim> &fe_collection,
-    const hp::QCollection<dim - 1> &       q_collection,
+    const hp::QCollection<dim - 1>        &q_collection,
     const UpdateFlags                      update_flags)
     : hp::FEValuesBase<dim, dim - 1, dealii::FESubfaceValues<dim, spacedim>>(
         fe_collection,
index 14dc45896f2ea2e5db4421f2f9ff4b186f0a8d42..d5d6eede70413c4178c62c5ab6e963012456eeb3 100644 (file)
@@ -66,7 +66,7 @@ namespace hp
     template <int dim, int spacedim>
     void
     p_adaptivity_from_flags(const DoFHandler<dim, spacedim> &dof_handler,
-                            const std::vector<bool> &        p_flags)
+                            const std::vector<bool>         &p_flags)
     {
       if (dof_handler.get_fe_collection().size() == 0)
         // nothing to do
@@ -109,7 +109,7 @@ namespace hp
     void
     p_adaptivity_from_absolute_threshold(
       const DoFHandler<dim, spacedim> &dof_handler,
-      const Vector<Number> &           criteria,
+      const Vector<Number>            &criteria,
       const Number                     p_refine_threshold,
       const Number                     p_coarsen_threshold,
       const ComparisonFunction<std_cxx20::type_identity_t<Number>>
@@ -148,7 +148,7 @@ namespace hp
     void
     p_adaptivity_from_relative_threshold(
       const DoFHandler<dim, spacedim> &dof_handler,
-      const Vector<Number> &           criteria,
+      const Vector<Number>            &criteria,
       const double                     p_refine_fraction,
       const double                     p_coarsen_fraction,
       const ComparisonFunction<std_cxx20::type_identity_t<Number>>
@@ -245,7 +245,7 @@ namespace hp
     void
     p_adaptivity_fixed_number(
       const DoFHandler<dim, spacedim> &dof_handler,
-      const Vector<Number> &           criteria,
+      const Vector<Number>            &criteria,
       const double                     p_refine_fraction,
       const double                     p_coarsen_fraction,
       const ComparisonFunction<std_cxx20::type_identity_t<Number>>
@@ -502,8 +502,8 @@ namespace hp
     void
     p_adaptivity_from_reference(
       const DoFHandler<dim, spacedim> &dof_handler,
-      const Vector<Number> &           criteria,
-      const Vector<Number> &           references,
+      const Vector<Number>            &criteria,
+      const Vector<Number>            &references,
       const ComparisonFunction<std_cxx20::type_identity_t<Number>>
         &compare_refine,
       const ComparisonFunction<std_cxx20::type_identity_t<Number>>
@@ -544,8 +544,8 @@ namespace hp
     template <int dim, typename Number, int spacedim>
     void
     predict_error(const DoFHandler<dim, spacedim> &dof_handler,
-                  const Vector<Number> &           error_indicators,
-                  Vector<Number> &                 predicted_errors,
+                  const Vector<Number>            &error_indicators,
+                  Vector<Number>                  &predicted_errors,
                   const double                     gamma_p,
                   const double                     gamma_h,
                   const double                     gamma_n)
@@ -723,7 +723,7 @@ namespace hp
                     continue;
                   }
 
-                const auto &       parent     = cell->parent();
+                const auto        &parent     = cell->parent();
                 const unsigned int n_children = parent->n_children();
 
                 unsigned int h_flagged_children = 0, p_flagged_children = 0;
index 8f7caefddd3685d277db74c9f86f8e6ff297d444..f523f5b32b901fb2dd91e3b357617924c8082755 100644 (file)
@@ -157,12 +157,12 @@ namespace internal
   {
     template void
     set_zero_all(
-      const std::vector<types::global_dof_index> &                     cm,
+      const std::vector<types::global_dof_index>                      &cm,
       LinearAlgebra::distributed::Vector<float, MemorySpace::Default> &vec);
 
     template void
     set_zero_all(
-      const std::vector<types::global_dof_index> &                      cm,
+      const std::vector<types::global_dof_index>                       &cm,
       LinearAlgebra::distributed::Vector<double, MemorySpace::Default> &vec);
   } // namespace AffineConstraintsImplementation
 } // namespace internal
index 2c71280fb3d5ebf56d3bd0633311c40edb2c7575..050a2bc55cca1344489564a47fef6d1cc610ce43 100644 (file)
@@ -373,8 +373,8 @@ BlockSparsityPattern::BlockSparsityPattern(const size_type n_rows,
 
 void
 BlockSparsityPattern::reinit(
-  const BlockIndices &                          rows,
-  const BlockIndices &                          cols,
+  const BlockIndices                           &rows,
+  const BlockIndices                           &cols,
   const std::vector<std::vector<unsigned int>> &row_lengths)
 {
   AssertDimension(row_lengths.size(), cols.size());
index 69c2e60f1b6b39d18ec1c6697b9bae4fd6f464eb..6103018e499ba1023b3a8c4a83abe6259b541cba 100644 (file)
@@ -30,109 +30,109 @@ namespace LinearAlgebra
       template __global__ void
       vec_scale<float>(float *, const float a, const size_type);
       template __global__ void
-      vector_bin_op<float, Binop_Addition>(float *         v1,
-                                           const float *   v2,
+      vector_bin_op<float, Binop_Addition>(float          *v1,
+                                           const float    *v2,
                                            const size_type N);
       template __global__ void
-      vector_bin_op<float, Binop_Subtraction>(float *         v1,
-                                              const float *   v2,
+      vector_bin_op<float, Binop_Subtraction>(float          *v1,
+                                              const float    *v2,
                                               const size_type N);
       template __global__ void
       masked_vector_bin_op<float, Binop_Addition>(const unsigned int *mask,
-                                                  float *             v1,
-                                                  const float *       v2,
+                                                  float              *v1,
+                                                  const float        *v2,
                                                   const size_type     N);
       template __global__ void
       masked_vector_bin_op<float, Binop_Subtraction>(const unsigned int *mask,
-                                                     float *             v1,
-                                                     const float *       v2,
+                                                     float              *v1,
+                                                     const float        *v2,
                                                      const size_type     N);
       template struct ElemSum<float>;
       template struct L1Norm<float>;
       template struct LInfty<float>;
       template __global__ void
-      reduction<float, ElemSum<float>>(float *         result,
-                                       const float *   v,
+      reduction<float, ElemSum<float>>(float          *result,
+                                       const float    *v,
                                        const size_type N);
       template __global__ void
-      reduction<float, L1Norm<float>>(float *         result,
-                                      const float *   v,
+      reduction<float, L1Norm<float>>(float          *result,
+                                      const float    *v,
                                       const size_type N);
       template __global__ void
-      reduction<float, LInfty<float>>(float *         result,
-                                      const float *   v,
+      reduction<float, LInfty<float>>(float          *result,
+                                      const float    *v,
                                       const size_type N);
       template struct DotProduct<float>;
       template __global__ void
-      double_vector_reduction<float, DotProduct<float>>(float *         result,
-                                                        const float *   v1,
-                                                        const float *   v2,
+      double_vector_reduction<float, DotProduct<float>>(float          *result,
+                                                        const float    *v1,
+                                                        const float    *v2,
                                                         const size_type N);
       template __global__ void
       vec_add<float>(float *val, const float, const size_type N);
       template __global__ void
-      add_aV<float>(float *         val,
+      add_aV<float>(float          *val,
                     const float     a,
-                    const float *   V_val,
+                    const float    *V_val,
                     const size_type N);
       template __global__ void
-      add_aVbW<float>(float *         val,
+      add_aVbW<float>(float          *val,
                       const float     a,
-                      const float *   V_val,
+                      const float    *V_val,
                       const float     b,
-                      const float *   W_val,
+                      const float    *W_val,
                       const size_type N);
       template __global__ void
       sadd<float>(const float     s,
-                  float *         val,
+                  float          *val,
                   const float     a,
-                  const float *   V_val,
+                  const float    *V_val,
                   const size_type N);
       template __global__ void
       sadd<float>(const float     s,
-                  float *         val,
+                  float          *val,
                   const float     a,
-                  const float *   V_val,
+                  const float    *V_val,
                   const float     b,
-                  const float *   W_val,
+                  const float    *W_val,
                   const size_type N);
       template __global__ void
       scale<float>(float *val, const float *V_val, const size_type N);
       template __global__ void
-      equ<float>(float *         val,
+      equ<float>(float          *val,
                  const float     a,
-                 const float *   V_val,
+                 const float    *V_val,
                  const size_type N);
       template __global__ void
-      equ<float>(float *         val,
+      equ<float>(float          *val,
                  const float     a,
-                 const float *   V_val,
+                 const float    *V_val,
                  const float     b,
-                 const float *   W_val,
+                 const float    *W_val,
                  const size_type N);
       template __global__ void
-      add_and_dot<float>(float *         res,
-                         float *         v1,
-                         const float *   v2,
-                         const float *   v3,
+      add_and_dot<float>(float          *res,
+                         float          *v1,
+                         const float    *v2,
+                         const float    *v3,
                          const float     a,
                          const size_type N);
       template __global__ void
       set<float>(float *val, const float s, const size_type N);
       template __global__ void
       set_permutated<float, size_type>(const size_type *indices,
-                                       float *          val,
-                                       const float *    v,
+                                       float           *val,
+                                       const float     *v,
                                        const size_type  N);
       template __global__ void
-      gather<float, size_type>(float *          val,
+      gather<float, size_type>(float           *val,
                                const size_type *indices,
-                               const float *    v,
+                               const float     *v,
                                const size_type  N);
       template __global__ void
       add_permutated<float>(const size_type *indices,
-                            float *          val,
-                            const float *    v,
+                            float           *val,
+                            const float     *v,
                             const size_type  N);
 
 
@@ -140,109 +140,109 @@ namespace LinearAlgebra
       template __global__ void
       vec_scale<double>(double *, const double a, const size_type);
       template __global__ void
-      vector_bin_op<double, Binop_Addition>(double *        v1,
-                                            const double *  v2,
+      vector_bin_op<double, Binop_Addition>(double         *v1,
+                                            const double   *v2,
                                             const size_type N);
       template __global__ void
-      vector_bin_op<double, Binop_Subtraction>(double *        v1,
-                                               const double *  v2,
+      vector_bin_op<double, Binop_Subtraction>(double         *v1,
+                                               const double   *v2,
                                                const size_type N);
       template __global__ void
       masked_vector_bin_op<double, Binop_Addition>(const unsigned int *mask,
-                                                   double *            v1,
-                                                   const double *      v2,
+                                                   double             *v1,
+                                                   const double       *v2,
                                                    const size_type     N);
       template __global__ void
       masked_vector_bin_op<double, Binop_Subtraction>(const unsigned int *mask,
-                                                      double *            v1,
-                                                      const double *      v2,
+                                                      double             *v1,
+                                                      const double       *v2,
                                                       const size_type     N);
       template struct ElemSum<double>;
       template struct L1Norm<double>;
       template struct LInfty<double>;
       template __global__ void
-      reduction<double, ElemSum<double>>(double *        result,
-                                         const double *  v,
+      reduction<double, ElemSum<double>>(double         *result,
+                                         const double   *v,
                                          const size_type N);
       template __global__ void
-      reduction<double, L1Norm<double>>(double *        result,
-                                        const double *  v,
+      reduction<double, L1Norm<double>>(double         *result,
+                                        const double   *v,
                                         const size_type N);
       template __global__ void
-      reduction<double, LInfty<double>>(double *        result,
-                                        const double *  v,
+      reduction<double, LInfty<double>>(double         *result,
+                                        const double   *v,
                                         const size_type N);
       template struct DotProduct<double>;
       template __global__ void
-      double_vector_reduction<double, DotProduct<double>>(double *      result,
+      double_vector_reduction<double, DotProduct<double>>(double       *result,
                                                           const double *v1,
                                                           const double *v2,
                                                           const size_type N);
       template __global__ void
       vec_add<double>(double *val, const double, const size_type N);
       template __global__ void
-      add_aV<double>(double *        val,
+      add_aV<double>(double         *val,
                      const double    a,
-                     const double *  V_val,
+                     const double   *V_val,
                      const size_type N);
       template __global__ void
-      add_aVbW<double>(double *        val,
+      add_aVbW<double>(double         *val,
                        const double    a,
-                       const double *  V_val,
+                       const double   *V_val,
                        const double    b,
-                       const double *  W_val,
+                       const double   *W_val,
                        const size_type N);
       template __global__ void
       sadd<double>(const double    s,
-                   double *        val,
+                   double         *val,
                    const double    a,
-                   const double *  V_val,
+                   const double   *V_val,
                    const size_type N);
       template __global__ void
       sadd<double>(const double    s,
-                   double *        val,
+                   double         *val,
                    const double    a,
-                   const double *  V_val,
+                   const double   *V_val,
                    const double    b,
-                   const double *  W_val,
+                   const double   *W_val,
                    const size_type N);
       template __global__ void
       scale<double>(double *val, const double *V_val, const size_type N);
       template __global__ void
-      equ<double>(double *        val,
+      equ<double>(double         *val,
                   const double    a,
-                  const double *  V_val,
+                  const double   *V_val,
                   const size_type N);
       template __global__ void
-      equ<double>(double *        val,
+      equ<double>(double         *val,
                   const double    a,
-                  const double *  V_val,
+                  const double   *V_val,
                   const double    b,
-                  const double *  W_val,
+                  const double   *W_val,
                   const size_type N);
       template __global__ void
-      add_and_dot<double>(double *        res,
-                          double *        v1,
-                          const double *  v2,
-                          const double *  v3,
+      add_and_dot<double>(double         *res,
+                          double         *v1,
+                          const double   *v2,
+                          const double   *v3,
                           const double    a,
                           const size_type N);
       template __global__ void
       set<double>(double *val, const double s, const size_type N);
       template __global__ void
       set_permutated<double, size_type>(const size_type *indices,
-                                        double *         val,
-                                        const double *   v,
+                                        double          *val,
+                                        const double    *v,
                                         const size_type  N);
       template __global__ void
-      gather<double, size_type>(double *         val,
+      gather<double, size_type>(double          *val,
                                 const size_type *indices,
-                                const double *   v,
+                                const double    *v,
                                 const size_type  N);
       template __global__ void
       add_permutated<double>(const size_type *indices,
-                             double *         val,
-                             const double *   v,
+                             double          *val,
+                             const double    *v,
                              const size_type  N);
     } // namespace kernel
   }   // namespace CUDAWrappers
index 211aca7ab40f89607a3c790b6d01b4a94d11ea96..42fa69f7006aec3c0face5af021b7ad308210ceb 100644 (file)
@@ -49,12 +49,12 @@ namespace
                            int                      m,
                            int                      nnz,
                            const cusparseMatDescr_t descrA,
-                           float *                  csrValA_valM,
-                           const int *              csrRowPtrA,
-                           const int *              csrColIndA,
+                           float                   *csrValA_valM,
+                           const int               *csrRowPtrA,
+                           const int               *csrColIndA,
                            csrilu02Info_t           info,
                            cusparseSolvePolicy_t    policy,
-                           void *                   pBuffer)
+                           void                    *pBuffer)
   {
     return cusparseScsrilu02(handle,
                              m,
@@ -74,12 +74,12 @@ namespace
                             int                      m,
                             int                      nnz,
                             const cusparseMatDescr_t descrA,
-                            double *                 csrValA_valM,
-                            const int *              csrRowPtrA,
-                            const int *              csrColIndA,
+                            double                  *csrValA_valM,
+                            const int               *csrRowPtrA,
+                            const int               *csrColIndA,
                             csrilu02Info_t           info,
                             cusparseSolvePolicy_t    policy,
-                            void *                   pBuffer)
+                            void                    *pBuffer)
   {
     return cusparseDcsrilu02(handle,
                              m,
@@ -176,12 +176,12 @@ namespace
                                     int                      m,
                                     int                      nnz,
                                     const cusparseMatDescr_t descrA,
-                                    const float *            csrValA,
-                                    const int *              csrRowPtrA,
-                                    const int *              csrColIndA,
+                                    const float             *csrValA,
+                                    const int               *csrRowPtrA,
+                                    const int               *csrColIndA,
                                     csrilu02Info_t           info,
                                     cusparseSolvePolicy_t    policy,
-                                    void *                   pBuffer)
+                                    void                    *pBuffer)
   {
     return cusparseScsrilu02_analysis(handle,
                                       m,
@@ -201,12 +201,12 @@ namespace
                                      int                      m,
                                      int                      nnz,
                                      const cusparseMatDescr_t descrA,
-                                     const double *           csrValA,
-                                     const int *              csrRowPtrA,
-                                     const int *              csrColIndA,
+                                     const double            *csrValA,
+                                     const int               *csrRowPtrA,
+                                     const int               *csrColIndA,
                                      csrilu02Info_t           info,
                                      cusparseSolvePolicy_t    policy,
-                                     void *                   pBuffer)
+                                     void                    *pBuffer)
   {
     return cusparseDcsrilu02_analysis(handle,
                                       m,
@@ -302,9 +302,9 @@ namespace
                                       int                      m,
                                       int                      nnz,
                                       const cusparseMatDescr_t descrA,
-                                      float *                  csrValA,
-                                      const int *              csrRowPtrA,
-                                      const int *              csrColIndA,
+                                      float                   *csrValA,
+                                      const int               *csrRowPtrA,
+                                      const int               *csrColIndA,
                                       csrilu02Info_t           info,
                                       int *pBufferSizeInBytes)
   {
@@ -325,9 +325,9 @@ namespace
                                        int                      m,
                                        int                      nnz,
                                        const cusparseMatDescr_t descrA,
-                                       double *                 csrValA,
-                                       const int *              csrRowPtrA,
-                                       const int *              csrColIndA,
+                                       double                  *csrValA,
+                                       const int               *csrRowPtrA,
+                                       const int               *csrColIndA,
                                        csrilu02Info_t           info,
                                        int *pBufferSizeInBytes)
   {
@@ -419,12 +419,12 @@ namespace
                           int                      m,
                           int                      nnz,
                           const cusparseMatDescr_t descrA,
-                          float *                  csrValA_valM,
-                          const int *              csrRowPtrA,
-                          const int *              csrColIndA,
+                          float                   *csrValA_valM,
+                          const int               *csrRowPtrA,
+                          const int               *csrColIndA,
                           csric02Info_t            info,
                           cusparseSolvePolicy_t    policy,
-                          void *                   pBuffer)
+                          void                    *pBuffer)
   {
     return cusparseScsric02(handle,
                             m,
@@ -444,12 +444,12 @@ namespace
                            int                      m,
                            int                      nnz,
                            const cusparseMatDescr_t descrA,
-                           double *                 csrValA_valM,
-                           const int *              csrRowPtrA,
-                           const int *              csrColIndA,
+                           double                  *csrValA_valM,
+                           const int               *csrRowPtrA,
+                           const int               *csrColIndA,
                            csric02Info_t            info,
                            cusparseSolvePolicy_t    policy,
-                           void *                   pBuffer)
+                           void                    *pBuffer)
   {
     return cusparseDcsric02(handle,
                             m,
@@ -550,16 +550,16 @@ namespace
                                cusparseOperation_t      transA,
                                int                      m,
                                int                      nnz,
-                               const float *            alpha,
+                               const float             *alpha,
                                const cusparseMatDescr_t descra,
-                               const float *            csrValA,
-                               const int *              csrRowPtrA,
-                               const int *              csrColIndA,
+                               const float             *csrValA,
+                               const int               *csrRowPtrA,
+                               const int               *csrColIndA,
                                csrsv2Info_t             info,
-                               const float *            x,
-                               float *                  y,
+                               const float             *x,
+                               float                   *y,
                                cusparseSolvePolicy_t    policy,
-                               void *                   pBuffer)
+                               void                    *pBuffer)
   {
     return cusparseScsrsv2_solve(handle,
                                  transA,
@@ -583,16 +583,16 @@ namespace
                                 cusparseOperation_t      transA,
                                 int                      m,
                                 int                      nnz,
-                                const double *           alpha,
+                                const double            *alpha,
                                 const cusparseMatDescr_t descra,
-                                const double *           csrValA,
-                                const int *              csrRowPtrA,
-                                const int *              csrColIndA,
+                                const double            *csrValA,
+                                const int               *csrRowPtrA,
+                                const int               *csrColIndA,
                                 csrsv2Info_t             info,
-                                const double *           x,
-                                double *                 y,
+                                const double            *x,
+                                double                  *y,
                                 cusparseSolvePolicy_t    policy,
-                                void *                   pBuffer)
+                                void                    *pBuffer)
   {
     return cusparseDcsrsv2_solve(handle,
                                  transA,
@@ -711,12 +711,12 @@ namespace
                                   int                      m,
                                   int                      nnz,
                                   const cusparseMatDescr_t descrA,
-                                  const float *            csrValA,
-                                  const int *              csrRowPtrA,
-                                  const int *              csrColIndA,
+                                  const float             *csrValA,
+                                  const int               *csrRowPtrA,
+                                  const int               *csrColIndA,
                                   csrsv2Info_t             info,
                                   cusparseSolvePolicy_t    policy,
-                                  void *                   pBuffer)
+                                  void                    *pBuffer)
   {
     return cusparseScsrsv2_analysis(handle,
                                     transA,
@@ -738,12 +738,12 @@ namespace
                                    int                      m,
                                    int                      nnz,
                                    const cusparseMatDescr_t descrA,
-                                   const double *           csrValA,
-                                   const int *              csrRowPtrA,
-                                   const int *              csrColIndA,
+                                   const double            *csrValA,
+                                   const int               *csrRowPtrA,
+                                   const int               *csrColIndA,
                                    csrsv2Info_t             info,
                                    cusparseSolvePolicy_t    policy,
-                                   void *                   pBuffer)
+                                   void                    *pBuffer)
   {
     return cusparseDcsrsv2_analysis(handle,
                                     transA,
@@ -844,12 +844,12 @@ namespace
                                    int                      m,
                                    int                      nnz,
                                    const cusparseMatDescr_t descrA,
-                                   const float *            csrValA,
-                                   const int *              csrRowPtrA,
-                                   const int *              csrColIndA,
+                                   const float             *csrValA,
+                                   const int               *csrRowPtrA,
+                                   const int               *csrColIndA,
                                    csric02Info_t            info,
                                    cusparseSolvePolicy_t    policy,
-                                   void *                   pBuffer)
+                                   void                    *pBuffer)
   {
     return cusparseScsric02_analysis(handle,
                                      m,
@@ -869,12 +869,12 @@ namespace
                                     int                      m,
                                     int                      nnz,
                                     const cusparseMatDescr_t descrA,
-                                    const double *           csrValA,
-                                    const int *              csrRowPtrA,
-                                    const int *              csrColIndA,
+                                    const double            *csrValA,
+                                    const int               *csrRowPtrA,
+                                    const int               *csrColIndA,
                                     csric02Info_t            info,
                                     cusparseSolvePolicy_t    policy,
-                                    void *                   pBuffer)
+                                    void                    *pBuffer)
   {
     return cusparseDcsric02_analysis(handle,
                                      m,
@@ -972,11 +972,11 @@ namespace
                                     int                      m,
                                     int                      nnz,
                                     const cusparseMatDescr_t descrA,
-                                    float *                  csrValA,
-                                    const int *              csrRowPtrA,
-                                    const int *              csrColIndA,
+                                    float                   *csrValA,
+                                    const int               *csrRowPtrA,
+                                    const int               *csrColIndA,
                                     csrsv2Info_t             info,
-                                    int *                    pBufferSizeInBytes)
+                                    int                     *pBufferSizeInBytes)
   {
     return cusparseScsrsv2_bufferSize(handle,
                                       transA,
@@ -997,9 +997,9 @@ namespace
                                      int                      m,
                                      int                      nnz,
                                      const cusparseMatDescr_t descrA,
-                                     double *                 csrValA,
-                                     const int *              csrRowPtrA,
-                                     const int *              csrColIndA,
+                                     double                  *csrValA,
+                                     const int               *csrRowPtrA,
+                                     const int               *csrColIndA,
                                      csrsv2Info_t             info,
                                      int *pBufferSizeInBytes)
   {
@@ -1097,9 +1097,9 @@ namespace
                                      int                      m,
                                      int                      nnz,
                                      const cusparseMatDescr_t descrA,
-                                     float *                  csrValA,
-                                     const int *              csrRowPtrA,
-                                     const int *              csrColIndA,
+                                     float                   *csrValA,
+                                     const int               *csrRowPtrA,
+                                     const int               *csrColIndA,
                                      csric02Info_t            info,
                                      int *pBufferSizeInBytes)
   {
@@ -1120,9 +1120,9 @@ namespace
                                       int                      m,
                                       int                      nnz,
                                       const cusparseMatDescr_t descrA,
-                                      double *                 csrValA,
-                                      const int *              csrRowPtrA,
-                                      const int *              csrColIndA,
+                                      double                  *csrValA,
+                                      const int               *csrRowPtrA,
+                                      const int               *csrColIndA,
                                       csric02Info_t            info,
                                       int *pBufferSizeInBytes)
   {
@@ -1429,7 +1429,7 @@ namespace CUDAWrappers
   template <typename Number>
   void
   PreconditionIC<Number>::vmult(
-    LinearAlgebra::CUDAWrappers::Vector<Number> &      dst,
+    LinearAlgebra::CUDAWrappers::Vector<Number>       &dst,
     const LinearAlgebra::CUDAWrappers::Vector<Number> &src) const
   {
     Assert(P_val_dev != nullptr, ExcNotInitialized());
@@ -1483,7 +1483,7 @@ namespace CUDAWrappers
   template <typename Number>
   void
   PreconditionIC<Number>::Tvmult(
-    LinearAlgebra::CUDAWrappers::Vector<Number> &      dst,
+    LinearAlgebra::CUDAWrappers::Vector<Number>       &dst,
     const LinearAlgebra::CUDAWrappers::Vector<Number> &src) const
   {
     // the constructed preconditioner is symmetric
@@ -1750,7 +1750,7 @@ namespace CUDAWrappers
   template <typename Number>
   void
   PreconditionILU<Number>::vmult(
-    LinearAlgebra::CUDAWrappers::Vector<Number> &      dst,
+    LinearAlgebra::CUDAWrappers::Vector<Number>       &dst,
     const LinearAlgebra::CUDAWrappers::Vector<Number> &src) const
   {
     Assert(P_val_dev != nullptr, ExcNotInitialized());
index 02fa4d1bfffc67087d95e2ee222c2f8ea2b78907..1940e913d7b51f1245faee8fb1321d76a94f410e 100644 (file)
@@ -24,7 +24,7 @@ namespace CUDAWrappers
     void
     cusparsecsr2dense(cusparseHandle_t           cusparse_handle,
                       const SparseMatrix<float> &matrix,
-                      float *                    dense_matrix_dev)
+                      float                     *dense_matrix_dev)
     {
       auto cusparse_matrix = matrix.get_cusparse_matrix();
 
@@ -46,7 +46,7 @@ namespace CUDAWrappers
     void
     cusparsecsr2dense(cusparseHandle_t            cusparse_handle,
                       const SparseMatrix<double> &matrix,
-                      double *                    dense_matrix_dev)
+                      double                     *dense_matrix_dev)
     {
       auto cusparse_matrix = matrix.get_cusparse_matrix();
 
@@ -69,8 +69,8 @@ namespace CUDAWrappers
     cusolverDngetrf_buffer_size(cusolverDnHandle_t cusolver_dn_handle,
                                 int                m,
                                 int                n,
-                                float *            dense_matrix_dev,
-                                int &              workspace_size)
+                                float             *dense_matrix_dev,
+                                int               &workspace_size)
     {
       const cusolverStatus_t cusolver_error_code = cusolverDnSgetrf_bufferSize(
         cusolver_dn_handle, m, n, dense_matrix_dev, m, &workspace_size);
@@ -83,8 +83,8 @@ namespace CUDAWrappers
     cusolverDngetrf_buffer_size(cusolverDnHandle_t cusolver_dn_handle,
                                 int                m,
                                 int                n,
-                                double *           dense_matrix_dev,
-                                int &              workspace_size)
+                                double            *dense_matrix_dev,
+                                int               &workspace_size)
     {
       const cusolverStatus_t cusolver_error_code = cusolverDnDgetrf_bufferSize(
         cusolver_dn_handle, m, n, dense_matrix_dev, m, &workspace_size);
@@ -97,10 +97,10 @@ namespace CUDAWrappers
     cusolverDngetrf(cusolverDnHandle_t cusolver_dn_handle,
                     int                m,
                     int                n,
-                    float *            dense_matrix_dev,
-                    float *            workspace_dev,
-                    int *              pivot_dev,
-                    int *              info_dev)
+                    float             *dense_matrix_dev,
+                    float             *workspace_dev,
+                    int               *pivot_dev,
+                    int               *info_dev)
     {
       const cusolverStatus_t cusolver_error_code =
         cusolverDnSgetrf(cusolver_dn_handle,
@@ -120,10 +120,10 @@ namespace CUDAWrappers
     cusolverDngetrf(cusolverDnHandle_t cusolver_dn_handle,
                     int                m,
                     int                n,
-                    double *           dense_matrix_dev,
-                    double *           workspace_dev,
-                    int *              pivot_dev,
-                    int *              info_dev)
+                    double            *dense_matrix_dev,
+                    double            *workspace_dev,
+                    int               *pivot_dev,
+                    int               *info_dev)
     {
       const cusolverStatus_t cusolver_error_code =
         cusolverDnDgetrf(cusolver_dn_handle,
@@ -142,10 +142,10 @@ namespace CUDAWrappers
     void
     cusolverDngetrs(cusolverDnHandle_t cusolver_dn_handle,
                     int                m,
-                    float *            dense_matrix_dev,
-                    int *              pivot_dev,
-                    float *            b,
-                    int *              info_dev)
+                    float             *dense_matrix_dev,
+                    int               *pivot_dev,
+                    float             *b,
+                    int               *info_dev)
     {
       const int              n_rhs = 1;
       const cusolverStatus_t cusolver_error_code =
@@ -167,10 +167,10 @@ namespace CUDAWrappers
     void
     cusolverDngetrs(cusolverDnHandle_t cusolver_dn_handle,
                     int                m,
-                    double *           dense_matrix_dev,
-                    int *              pivot_dev,
-                    double *           b,
-                    int *              info_dev)
+                    double            *dense_matrix_dev,
+                    int               *pivot_dev,
+                    double            *b,
+                    int               *info_dev)
     {
       const int              n_rhs = 1;
       const cusolverStatus_t cusolver_error_code =
@@ -194,11 +194,11 @@ namespace CUDAWrappers
                            const unsigned int n_rows,
                            const unsigned int nnz,
                            cusparseMatDescr_t descr,
-                           const float *      val_host,
-                           const int *        row_ptr_host,
-                           const int *        column_index_host,
-                           const float *      b_host,
-                           float *            x_host)
+                           const float       *val_host,
+                           const int         *row_ptr_host,
+                           const int         *column_index_host,
+                           const float       *b_host,
+                           float             *x_host)
     {
       int                    singularity = 0;
       const cusolverStatus_t cusolver_error_code =
@@ -225,11 +225,11 @@ namespace CUDAWrappers
                            const unsigned int n_rows,
                            unsigned int       nnz,
                            cusparseMatDescr_t descr,
-                           const double *     val_host,
-                           const int *        row_ptr_host,
-                           const int *        column_index_host,
-                           const double *     b_host,
-                           double *           x_host)
+                           const double      *val_host,
+                           const int         *row_ptr_host,
+                           const int         *column_index_host,
+                           const double      *b_host,
+                           double            *x_host)
     {
       int                    singularity = 0;
       const cusolverStatus_t cusolver_error_code =
@@ -254,8 +254,8 @@ namespace CUDAWrappers
     void
     cholesky_factorization(cusolverSpHandle_t         cusolver_sp_handle,
                            const SparseMatrix<float> &matrix,
-                           const float *              b,
-                           float *                    x)
+                           const float               *b,
+                           float                     *x)
     {
       auto cusparse_matrix = matrix.get_cusparse_matrix();
       int  singularity     = 0;
@@ -282,8 +282,8 @@ namespace CUDAWrappers
     void
     cholesky_factorization(cusolverSpHandle_t          cusolver_sp_handle,
                            const SparseMatrix<double> &matrix,
-                           const double *              b,
-                           double *                    x)
+                           const double               *b,
+                           double                     *x)
     {
       auto cusparse_matrix = matrix.get_cusparse_matrix();
       int  singularity     = 0;
@@ -312,8 +312,8 @@ namespace CUDAWrappers
     lu_factorization(cusparseHandle_t            cusparse_handle,
                      cusolverDnHandle_t          cusolver_dn_handle,
                      const SparseMatrix<Number> &matrix,
-                     const Number *              b_dev,
-                     Number *                    x_dev)
+                     const Number               *b_dev,
+                     Number                     *x_dev)
     {
       // Change the format of the matrix from sparse to dense
       const unsigned int m = matrix.m();
@@ -382,8 +382,8 @@ namespace CUDAWrappers
     void
     lu_factorization(cusolverSpHandle_t          cusolver_sp_handle,
                      const SparseMatrix<Number> &matrix,
-                     const Number *              b_dev,
-                     Number *                    x_dev)
+                     const Number               *b_dev,
+                     Number                     *x_dev)
     {
       // cuSOLVER does not support LU factorization of sparse matrix on the
       // device, so we need to move everything to the host first and then back
@@ -430,8 +430,8 @@ namespace CUDAWrappers
 
   template <typename Number>
   SolverDirect<Number>::SolverDirect(const Utilities::CUDA::Handle &handle,
-                                     SolverControl &                cn,
-                                     const AdditionalData &         data)
+                                     SolverControl                 &cn,
+                                     const AdditionalData          &data)
     : cuda_handle(handle)
     , solver_control(cn)
     , additional_data(data.solver_type)
@@ -451,8 +451,8 @@ namespace CUDAWrappers
   template <typename Number>
   void
   SolverDirect<Number>::solve(
-    const SparseMatrix<Number> &                       A,
-    LinearAlgebra::CUDAWrappers::Vector<Number> &      x,
+    const SparseMatrix<Number>                        &A,
+    LinearAlgebra::CUDAWrappers::Vector<Number>       &x,
     const LinearAlgebra::CUDAWrappers::Vector<Number> &b)
   {
     if (additional_data.solver_type == "Cholesky")
index 1cce237c1e8168a29150c5af8ab613779ddf4575..77a7e643854fc2e503e9ecd05234bee3fb7d7520 100644 (file)
@@ -31,7 +31,7 @@ namespace CUDAWrappers
   {
     template <typename Number>
     __global__ void
-    scale(Number *                                       val,
+    scale(Number                                        *val,
           const Number                                   a,
           const typename SparseMatrix<Number>::size_type N)
     {
@@ -47,9 +47,9 @@ namespace CUDAWrappers
     create_sp_mat_descr(int                   m,
                         int                   n,
                         int                   nnz,
-                        const float *         A_val_dev,
-                        const int *           A_row_ptr_dev,
-                        const int *           A_column_index_dev,
+                        const float          *A_val_dev,
+                        const int            *A_row_ptr_dev,
+                        const int            *A_column_index_dev,
                         cusparseSpMatDescr_t &sp_descr)
     {
       cusparseStatus_t error_code = cusparseCreateCsr(
@@ -73,9 +73,9 @@ namespace CUDAWrappers
     create_sp_mat_descr(int                   m,
                         int                   n,
                         int                   nnz,
-                        const double *        A_val_dev,
-                        const int *           A_row_ptr_dev,
-                        const int *           A_column_index_dev,
+                        const double         *A_val_dev,
+                        const int            *A_row_ptr_dev,
+                        const int            *A_column_index_dev,
                         cusparseSpMatDescr_t &sp_descr)
     {
       cusparseStatus_t error_code = cusparseCreateCsr(
@@ -101,9 +101,9 @@ namespace CUDAWrappers
           int                        m,
           int                        n,
           const cusparseSpMatDescr_t sp_descr,
-          const float *              x,
+          const float               *x,
           bool                       add,
-          float *                    y)
+          float                     *y)
     {
       float               alpha = 1.;
       float               beta  = add ? 1. : 0.;
@@ -141,7 +141,7 @@ namespace CUDAWrappers
                                            CUSPARSE_MV_ALG_DEFAULT,
                                            &buffer_size);
 
-      void *      buffer          = nullptr;
+      void       *buffer          = nullptr;
       cudaError_t cuda_error_code = cudaMalloc(&buffer, buffer_size);
       AssertCuda(cuda_error_code);
 
@@ -174,9 +174,9 @@ namespace CUDAWrappers
           int                        m,
           int                        n,
           const cusparseSpMatDescr_t sp_descr,
-          const double *             x,
+          const double              *x,
           bool                       add,
-          double *                   y)
+          double                    *y)
     {
       double              alpha = 1.;
       double              beta  = add ? 1. : 0.;
@@ -214,7 +214,7 @@ namespace CUDAWrappers
                                            CUSPARSE_MV_ALG_DEFAULT,
                                            &buffer_size);
 
-      void *      buffer          = nullptr;
+      void       *buffer          = nullptr;
       cudaError_t cuda_error_code = cudaMalloc(&buffer, buffer_size);
       AssertCuda(cuda_error_code);
 
@@ -244,10 +244,10 @@ namespace CUDAWrappers
     template <typename Number>
     __global__ void
     l1_norm(const typename SparseMatrix<Number>::size_type n_rows,
-            const Number *                                 val_dev,
-            const int *                                    column_index_dev,
-            const int *                                    row_ptr_dev,
-            Number *                                       sums)
+            const Number                                  *val_dev,
+            const int                                     *column_index_dev,
+            const int                                     *row_ptr_dev,
+            Number                                        *sums)
     {
       const typename SparseMatrix<Number>::size_type row =
         threadIdx.x + blockIdx.x * blockDim.x;
@@ -264,10 +264,10 @@ namespace CUDAWrappers
     template <typename Number>
     __global__ void
     linfty_norm(const typename SparseMatrix<Number>::size_type n_rows,
-                const Number *                                 val_dev,
+                const Number                                  *val_dev,
                 const int * /*column_index_dev*/,
                 const int *row_ptr_dev,
-                Number *   sums)
+                Number    *sums)
     {
       const typename SparseMatrix<Number>::size_type row =
         threadIdx.x + blockIdx.x * blockDim.x;
@@ -298,7 +298,7 @@ namespace CUDAWrappers
 
   template <typename Number>
   SparseMatrix<Number>::SparseMatrix(
-    Utilities::CUDA::Handle &             handle,
+    Utilities::CUDA::Handle              &handle,
     const ::dealii::SparseMatrix<Number> &sparse_matrix_host)
     : val_dev(nullptr, Utilities::CUDA::delete_device_data<Number>)
     , column_index_dev(nullptr, Utilities::CUDA::delete_device_data<int>)
@@ -385,7 +385,7 @@ namespace CUDAWrappers
   template <typename Number>
   void
   SparseMatrix<Number>::reinit(
-    Utilities::CUDA::Handle &             handle,
+    Utilities::CUDA::Handle              &handle,
     const ::dealii::SparseMatrix<Number> &sparse_matrix_host)
   {
     cusparse_handle                  = handle.cusparse_handle;
@@ -510,7 +510,7 @@ namespace CUDAWrappers
   template <typename Number>
   void
   SparseMatrix<Number>::vmult(
-    LinearAlgebra::CUDAWrappers::Vector<Number> &      dst,
+    LinearAlgebra::CUDAWrappers::Vector<Number>       &dst,
     const LinearAlgebra::CUDAWrappers::Vector<Number> &src) const
   {
     internal::csrmv(cusparse_handle,
@@ -528,7 +528,7 @@ namespace CUDAWrappers
   template <typename Number>
   void
   SparseMatrix<Number>::Tvmult(
-    LinearAlgebra::CUDAWrappers::Vector<Number> &      dst,
+    LinearAlgebra::CUDAWrappers::Vector<Number>       &dst,
     const LinearAlgebra::CUDAWrappers::Vector<Number> &src) const
   {
     internal::csrmv(cusparse_handle,
@@ -546,7 +546,7 @@ namespace CUDAWrappers
   template <typename Number>
   void
   SparseMatrix<Number>::vmult_add(
-    LinearAlgebra::CUDAWrappers::Vector<Number> &      dst,
+    LinearAlgebra::CUDAWrappers::Vector<Number>       &dst,
     const LinearAlgebra::CUDAWrappers::Vector<Number> &src) const
   {
     internal::csrmv(cusparse_handle,
@@ -564,7 +564,7 @@ namespace CUDAWrappers
   template <typename Number>
   void
   SparseMatrix<Number>::Tvmult_add(
-    LinearAlgebra::CUDAWrappers::Vector<Number> &      dst,
+    LinearAlgebra::CUDAWrappers::Vector<Number>       &dst,
     const LinearAlgebra::CUDAWrappers::Vector<Number> &src) const
   {
     internal::csrmv(cusparse_handle,
@@ -609,7 +609,7 @@ namespace CUDAWrappers
   template <typename Number>
   Number
   SparseMatrix<Number>::residual(
-    LinearAlgebra::CUDAWrappers::Vector<Number> &      dst,
+    LinearAlgebra::CUDAWrappers::Vector<Number>       &dst,
     const LinearAlgebra::CUDAWrappers::Vector<Number> &x,
     const LinearAlgebra::CUDAWrappers::Vector<Number> &b) const
   {
index 60d24750a7c4851851b8383e4773cdd5bc1f520e..61a0b8142765a5820cb602916b3df81e85bb4621 100644 (file)
@@ -142,7 +142,7 @@ namespace LinearAlgebra
       else if (operation == VectorOperation::add)
         {
           // Create a temporary vector on the device
-          Number *    tmp;
+          Number     *tmp;
           cudaError_t error_code =
             cudaMalloc(&tmp, n_elements * sizeof(Number));
           AssertCuda(error_code);
@@ -263,7 +263,7 @@ namespace LinearAlgebra
              ExcMessage(
                "Cannot add two vectors with different numbers of elements"));
 
-      Number *    result_device;
+      Number     *result_device;
       cudaError_t error_code =
         cudaMalloc(&result_device, n_elements * sizeof(Number));
       AssertCuda(error_code);
@@ -422,7 +422,7 @@ namespace LinearAlgebra
     typename Vector<Number>::value_type
     Vector<Number>::mean_value() const
     {
-      Number *    result_device;
+      Number     *result_device;
       cudaError_t error_code = cudaMalloc(&result_device, sizeof(Number));
       AssertCuda(error_code);
       error_code = cudaMemset(result_device, 0, sizeof(Number));
@@ -453,7 +453,7 @@ namespace LinearAlgebra
     typename Vector<Number>::real_type
     Vector<Number>::l1_norm() const
     {
-      Number *    result_device;
+      Number     *result_device;
       cudaError_t error_code = cudaMalloc(&result_device, sizeof(Number));
       AssertCuda(error_code);
       error_code = cudaMemset(result_device, 0, sizeof(Number));
@@ -501,7 +501,7 @@ namespace LinearAlgebra
     typename Vector<Number>::real_type
     Vector<Number>::linfty_norm() const
     {
-      Number *    result_device;
+      Number     *result_device;
       cudaError_t error_code = cudaMalloc(&result_device, sizeof(Number));
       AssertCuda(error_code);
       error_code = cudaMemset(result_device, 0, sizeof(Number));
@@ -540,7 +540,7 @@ namespace LinearAlgebra
       Assert(W.size() == this->size(),
              ExcMessage("Vector W has the wrong size."));
 
-      Number *    result_device;
+      Number     *result_device;
       cudaError_t error_code = cudaMalloc(&result_device, sizeof(Number));
       AssertCuda(error_code);
       error_code = cudaMemset(result_device, 0, sizeof(Number));
@@ -564,7 +564,7 @@ namespace LinearAlgebra
 
     template <typename Number>
     void
-    Vector<Number>::print(std::ostream &     out,
+    Vector<Number>::print(std::ostream      &out,
                           const unsigned int precision,
                           const bool         scientific,
                           const bool) const
index 6f8841f9f2abc3182e3b497a368910eb8d3ce0f7..538ee52af91ec1c8a1a4fefee3bb87b5bd5d2e63 100644 (file)
@@ -345,7 +345,7 @@ DynamicSparsityPattern::max_entries_per_row() const
 
 void
 DynamicSparsityPattern::add_row_entries(
-  const size_type &                 row,
+  const size_type                  &row,
   const ArrayView<const size_type> &columns,
   const bool                        indices_are_sorted)
 {
@@ -454,7 +454,7 @@ DynamicSparsityPattern::get_view(const IndexSet &rows) const
 template <typename SparsityPatternTypeLeft, typename SparsityPatternTypeRight>
 void
 DynamicSparsityPattern::compute_Tmmult_pattern(
-  const SparsityPatternTypeLeft sp_A,
+  const SparsityPatternTypeLeft  &sp_A,
   const SparsityPatternTypeRight &sp_B)
 {
   Assert(sp_A.n_rows() == sp_B.n_rows(),
@@ -477,7 +477,7 @@ DynamicSparsityPattern::compute_Tmmult_pattern(
       new_cols.resize(sp_B.row_length(i));
       {
         const auto last_il = sp_B.end(i);
-        auto *     col_ptr = new_cols.data();
+        auto      *col_ptr = new_cols.data();
         for (auto il = sp_B.begin(i); il != last_il; ++il)
           *col_ptr++ = il->column();
       }
@@ -495,7 +495,7 @@ DynamicSparsityPattern::compute_Tmmult_pattern(
 template <typename SparsityPatternTypeLeft, typename SparsityPatternTypeRight>
 void
 DynamicSparsityPattern::compute_mmult_pattern(
-  const SparsityPatternTypeLeft left,
+  const SparsityPatternTypeLeft  &left,
   const SparsityPatternTypeRight &right)
 {
   Assert(left.n_cols() == right.n_rows(),
index a1de99319b5dd9abfa9d0fc5e25a90508ced7642..f47c346064240a6dd5b8d4f20048fd05144974bd 100644 (file)
@@ -37,7 +37,7 @@ namespace LACExceptions
 #ifdef DEAL_II_WITH_PETSC
     // PetscErrorMessage changes the value in a pointer to refer to a
     // statically allocated description of the current error message.
-    const char *         petsc_message;
+    const char          *petsc_message;
     const PetscErrorCode ierr =
       PetscErrorMessage(static_cast<PetscErrorCode>(error_code),
                         &petsc_message,
index a1e5eef41799f8973f182dd2dec53e44ab4d2291..73bcc6b9eeb946e0190237bd93847c9179077e32 100644 (file)
@@ -85,7 +85,7 @@ namespace GinkgoWrappers
 
   template <typename ValueType, typename IndexType>
   void
-  SolverBase<ValueType, IndexType>::apply(Vector<ValueType> &      solution,
+  SolverBase<ValueType, IndexType>::apply(Vector<ValueType>       &solution,
                                           const Vector<ValueType> &rhs)
   {
     // some shortcuts.
@@ -290,7 +290,7 @@ namespace GinkgoWrappers
   template <typename ValueType, typename IndexType>
   void
   SolverBase<ValueType, IndexType>::solve(const SparseMatrix<ValueType> &matrix,
-                                          Vector<ValueType> &      solution,
+                                          Vector<ValueType>       &solution,
                                           const Vector<ValueType> &rhs)
   {
     initialize(matrix);
@@ -301,8 +301,8 @@ namespace GinkgoWrappers
 
   /* ---------------------- SolverCG ------------------------ */
   template <typename ValueType, typename IndexType>
-  SolverCG<ValueType, IndexType>::SolverCG(SolverControl &       solver_control,
-                                           const std::string &   exec_type,
+  SolverCG<ValueType, IndexType>::SolverCG(SolverControl        &solver_control,
+                                           const std::string    &exec_type,
                                            const AdditionalData &data)
     : SolverBase<ValueType, IndexType>(solver_control, exec_type)
     , additional_data(data)
@@ -316,10 +316,10 @@ namespace GinkgoWrappers
 
   template <typename ValueType, typename IndexType>
   SolverCG<ValueType, IndexType>::SolverCG(
-    SolverControl &                           solver_control,
-    const std::string &                       exec_type,
+    SolverControl                            &solver_control,
+    const std::string                        &exec_type,
     const std::shared_ptr<gko::LinOpFactory> &preconditioner,
-    const AdditionalData &                    data)
+    const AdditionalData                     &data)
     : SolverBase<ValueType, IndexType>(solver_control, exec_type)
     , additional_data(data)
   {
@@ -335,8 +335,8 @@ namespace GinkgoWrappers
   /* ---------------------- SolverBicgstab ------------------------ */
   template <typename ValueType, typename IndexType>
   SolverBicgstab<ValueType, IndexType>::SolverBicgstab(
-    SolverControl &       solver_control,
-    const std::string &   exec_type,
+    SolverControl        &solver_control,
+    const std::string    &exec_type,
     const AdditionalData &data)
     : SolverBase<ValueType, IndexType>(solver_control, exec_type)
     , additional_data(data)
@@ -351,10 +351,10 @@ namespace GinkgoWrappers
 
   template <typename ValueType, typename IndexType>
   SolverBicgstab<ValueType, IndexType>::SolverBicgstab(
-    SolverControl &                           solver_control,
-    const std::string &                       exec_type,
+    SolverControl                            &solver_control,
+    const std::string                        &exec_type,
     const std::shared_ptr<gko::LinOpFactory> &preconditioner,
-    const AdditionalData &                    data)
+    const AdditionalData                     &data)
     : SolverBase<ValueType, IndexType>(solver_control, exec_type)
     , additional_data(data)
   {
@@ -369,7 +369,7 @@ namespace GinkgoWrappers
 
   /* ---------------------- SolverCGS ------------------------ */
   template <typename ValueType, typename IndexType>
-  SolverCGS<ValueType, IndexType>::SolverCGS(SolverControl &    solver_control,
+  SolverCGS<ValueType, IndexType>::SolverCGS(SolverControl     &solver_control,
                                              const std::string &exec_type,
                                              const AdditionalData &data)
     : SolverBase<ValueType, IndexType>(solver_control, exec_type)
@@ -384,10 +384,10 @@ namespace GinkgoWrappers
 
   template <typename ValueType, typename IndexType>
   SolverCGS<ValueType, IndexType>::SolverCGS(
-    SolverControl &                           solver_control,
-    const std::string &                       exec_type,
+    SolverControl                            &solver_control,
+    const std::string                        &exec_type,
     const std::shared_ptr<gko::LinOpFactory> &preconditioner,
-    const AdditionalData &                    data)
+    const AdditionalData                     &data)
     : SolverBase<ValueType, IndexType>(solver_control, exec_type)
     , additional_data(data)
   {
@@ -402,7 +402,7 @@ namespace GinkgoWrappers
 
   /* ---------------------- SolverFCG ------------------------ */
   template <typename ValueType, typename IndexType>
-  SolverFCG<ValueType, IndexType>::SolverFCG(SolverControl &    solver_control,
+  SolverFCG<ValueType, IndexType>::SolverFCG(SolverControl     &solver_control,
                                              const std::string &exec_type,
                                              const AdditionalData &data)
     : SolverBase<ValueType, IndexType>(solver_control, exec_type)
@@ -417,10 +417,10 @@ namespace GinkgoWrappers
 
   template <typename ValueType, typename IndexType>
   SolverFCG<ValueType, IndexType>::SolverFCG(
-    SolverControl &                           solver_control,
-    const std::string &                       exec_type,
+    SolverControl                            &solver_control,
+    const std::string                        &exec_type,
     const std::shared_ptr<gko::LinOpFactory> &preconditioner,
-    const AdditionalData &                    data)
+    const AdditionalData                     &data)
     : SolverBase<ValueType, IndexType>(solver_control, exec_type)
     , additional_data(data)
   {
@@ -460,10 +460,10 @@ namespace GinkgoWrappers
 
   template <typename ValueType, typename IndexType>
   SolverGMRES<ValueType, IndexType>::SolverGMRES(
-    SolverControl &                           solver_control,
-    const std::string &                       exec_type,
+    SolverControl                            &solver_control,
+    const std::string                        &exec_type,
     const std::shared_ptr<gko::LinOpFactory> &preconditioner,
-    const AdditionalData &                    data)
+    const AdditionalData                     &data)
     : SolverBase<ValueType, IndexType>(solver_control, exec_type)
     , additional_data(data)
   {
@@ -479,8 +479,8 @@ namespace GinkgoWrappers
 
   /* ---------------------- SolverIR ------------------------ */
   template <typename ValueType, typename IndexType>
-  SolverIR<ValueType, IndexType>::SolverIR(SolverControl &       solver_control,
-                                           const std::string &   exec_type,
+  SolverIR<ValueType, IndexType>::SolverIR(SolverControl        &solver_control,
+                                           const std::string    &exec_type,
                                            const AdditionalData &data)
     : SolverBase<ValueType, IndexType>(solver_control, exec_type)
     , additional_data(data)
@@ -494,10 +494,10 @@ namespace GinkgoWrappers
 
   template <typename ValueType, typename IndexType>
   SolverIR<ValueType, IndexType>::SolverIR(
-    SolverControl &                           solver_control,
-    const std::string &                       exec_type,
+    SolverControl                            &solver_control,
+    const std::string                        &exec_type,
     const std::shared_ptr<gko::LinOpFactory> &inner_solver,
-    const AdditionalData &                    data)
+    const AdditionalData                     &data)
     : SolverBase<ValueType, IndexType>(solver_control, exec_type)
     , additional_data(data)
   {
index d5a1e7d95d85661c6cc380a96afe11145c138a9c..b4cf7c9f7fc5d2f41799d98b1d1b82a54281c086 100644 (file)
@@ -29,10 +29,10 @@ namespace LinearAlgebra
 {
   namespace distributed
   {
-#define TEMPL_COPY_CONSTRUCTOR(S1, S2)                  \
-  template Vector<S1, ::dealii::MemorySpace::Host>      \
-    &Vector<S1, ::dealii::MemorySpace::Host>::operator= \
-      <S2>(const Vector<S2, ::dealii::MemorySpace::Host> &)
+#define TEMPL_COPY_CONSTRUCTOR(S1, S2)               \
+  template Vector<S1, ::dealii::MemorySpace::Host> & \
+  Vector<S1, ::dealii::MemorySpace::Host>::operator= \
+    <S2>(const Vector<S2, ::dealii::MemorySpace::Host> &)
 
     TEMPL_COPY_CONSTRUCTOR(double, float);
     TEMPL_COPY_CONSTRUCTOR(float, double);
index f90d59c8d5836e6871bac51a53bd50439401c5dc..3a08525826259d4ccf633ce1b46fddc97a2586a1 100644 (file)
@@ -46,16 +46,16 @@ namespace internal
     void
     geev_helper(const char            vl,
                 const char            vr,
-                AlignedVector<T> &    matrix,
+                AlignedVector<T>     &matrix,
                 const types::blas_int n_rows,
-                std::vector<T> &      real_part_eigenvalues,
-                std::vector<T> &      imag_part_eigenvalues,
-                std::vector<T> &      left_eigenvectors,
-                std::vector<T> &      right_eigenvectors,
-                std::vector<T> &      real_work,
+                std::vector<T>       &real_part_eigenvalues,
+                std::vector<T>       &imag_part_eigenvalues,
+                std::vector<T>       &left_eigenvectors,
+                std::vector<T>       &right_eigenvectors,
+                std::vector<T>       &real_work,
                 std::vector<T> & /*complex_work*/,
                 const types::blas_int work_flag,
-                types::blas_int &     info)
+                types::blas_int      &info)
     {
       static_assert(std::is_same_v<T, double> || std::is_same_v<T, float>,
                     "Only implemented for double and float");
@@ -107,9 +107,9 @@ namespace internal
                 std::vector<std::complex<T>> &left_eigenvectors,
                 std::vector<std::complex<T>> &right_eigenvectors,
                 std::vector<std::complex<T>> &complex_work,
-                std::vector<T> &              real_work,
+                std::vector<T>               &real_work,
                 const types::blas_int         work_flag,
-                types::blas_int &             info)
+                types::blas_int              &info)
     {
       static_assert(
         std::is_same_v<T, double> || std::is_same_v<T, float>,
@@ -155,15 +155,15 @@ namespace internal
     gesdd_helper(const char            job,
                  const types::blas_int n_rows,
                  const types::blas_int n_cols,
-                 AlignedVector<T> &    matrix,
-                 std::vector<T> &      singular_values,
-                 AlignedVector<T> &    left_vectors,
-                 AlignedVector<T> &    right_vectors,
-                 std::vector<T> &      real_work,
+                 AlignedVector<T>     &matrix,
+                 std::vector<T>       &singular_values,
+                 AlignedVector<T>     &left_vectors,
+                 AlignedVector<T>     &right_vectors,
+                 std::vector<T>       &real_work,
                  std::vector<T> & /*complex work*/,
                  std::vector<types::blas_int> &integer_work,
                  const types::blas_int         work_flag,
-                 types::blas_int &             info)
+                 types::blas_int              &info)
     {
       Assert(job == 'A' || job == 'S' || job == 'O' || job == 'N',
              ExcInternalError());
@@ -200,14 +200,14 @@ namespace internal
                  const types::blas_int           n_rows,
                  const types::blas_int           n_cols,
                  AlignedVector<std::complex<T>> &matrix,
-                 std::vector<T> &                singular_values,
+                 std::vector<T>                 &singular_values,
                  AlignedVector<std::complex<T>> &left_vectors,
                  AlignedVector<std::complex<T>> &right_vectors,
-                 std::vector<std::complex<T>> &  work,
-                 std::vector<T> &                real_work,
-                 std::vector<types::blas_int> &  integer_work,
-                 const types::blas_int &         work_flag,
-                 types::blas_int &               info)
+                 std::vector<std::complex<T>>   &work,
+                 std::vector<T>                 &real_work,
+                 std::vector<types::blas_int>   &integer_work,
+                 const types::blas_int          &work_flag,
+                 types::blas_int                &info)
     {
       Assert(job == 'A' || job == 'S' || job == 'O' || job == 'N',
              ExcInternalError());
@@ -275,8 +275,8 @@ LAPACKFullMatrix<number> &
 LAPACKFullMatrix<number>::operator=(const LAPACKFullMatrix<number> &M)
 {
   TransposeTable<number>::operator=(M);
-  state                           = M.state;
-  property                        = M.property;
+  state    = M.state;
+  property = M.property;
   return *this;
 }
 
@@ -446,7 +446,7 @@ LAPACKFullMatrix<number>::operator*=(const number factor)
   types::blas_int       info  = 0;
   // kl and ku will not be referenced for type = G (dense matrices).
   const types::blas_int kl     = 0;
-  number *              values = this->values.data();
+  number               *values = this->values.data();
 
   lascl(&type, &kl, &kl, &cfrom, &factor, &m, &n, values, &lda, &info);
 
@@ -477,7 +477,7 @@ LAPACKFullMatrix<number>::operator/=(const number factor)
   types::blas_int       info = 0;
   // kl and ku will not be referenced for type = G (dense matrices).
   const types::blas_int kl     = 0;
-  number *              values = this->values.data();
+  number               *values = this->values.data();
 
   lascl(&type, &kl, &kl, &factor, &cto, &m, &n, values, &lda, &info);
 
@@ -507,8 +507,8 @@ LAPACKFullMatrix<number>::add(const number a, const LAPACKFullMatrix<number> &A)
   // ==> use BLAS 1 for adding vectors
   const types::blas_int n        = this->m() * this->n();
   const types::blas_int inc      = 1;
-  number *              values   = this->values.data();
-  const number *        values_A = A.values.data();
+  number               *values   = this->values.data();
+  const number         *values_A = A.values.data();
 
   axpy(&n, &a, values_A, &inc, values, &inc);
 }
@@ -521,7 +521,7 @@ namespace
   void
   cholesky_rank1(LAPACKFullMatrix<number> &A,
                  const number              a,
-                 const Vector<number> &    v)
+                 const Vector<number>     &v)
   {
     const typename LAPACKFullMatrix<number>::size_type N = A.n();
     Vector<number>                                     z(v);
@@ -658,7 +658,7 @@ LAPACKFullMatrix<number>::rank1_update(const number a, const Vector<number> &v)
 
 template <typename number>
 void
-LAPACKFullMatrix<number>::vmult(Vector<number> &      w,
+LAPACKFullMatrix<number>::vmult(Vector<number>       &w,
                                 const Vector<number> &v,
                                 const bool            adding) const
 {
@@ -794,7 +794,7 @@ LAPACKFullMatrix<number>::vmult(Vector<number> &      w,
 
 template <typename number>
 void
-LAPACKFullMatrix<number>::Tvmult(Vector<number> &      w,
+LAPACKFullMatrix<number>::Tvmult(Vector<number>       &w,
                                  const Vector<number> &v,
                                  const bool            adding) const
 {
@@ -933,7 +933,7 @@ LAPACKFullMatrix<number>::Tvmult(Vector<number> &      w,
 
 template <typename number>
 void
-LAPACKFullMatrix<number>::vmult_add(Vector<number> &      w,
+LAPACKFullMatrix<number>::vmult_add(Vector<number>       &w,
                                     const Vector<number> &v) const
 {
   vmult(w, v, true);
@@ -943,7 +943,7 @@ LAPACKFullMatrix<number>::vmult_add(Vector<number> &      w,
 
 template <typename number>
 void
-LAPACKFullMatrix<number>::Tvmult_add(Vector<number> &      w,
+LAPACKFullMatrix<number>::Tvmult_add(Vector<number>       &w,
                                      const Vector<number> &v) const
 {
   Tvmult(w, v, true);
@@ -953,7 +953,7 @@ LAPACKFullMatrix<number>::Tvmult_add(Vector<number> &      w,
 
 template <typename number>
 void
-LAPACKFullMatrix<number>::mmult(LAPACKFullMatrix<number> &      C,
+LAPACKFullMatrix<number>::mmult(LAPACKFullMatrix<number>       &C,
                                 const LAPACKFullMatrix<number> &B,
                                 const bool                      adding) const
 {
@@ -988,7 +988,7 @@ LAPACKFullMatrix<number>::mmult(LAPACKFullMatrix<number> &      C,
 
 template <typename number>
 void
-LAPACKFullMatrix<number>::mmult(FullMatrix<number> &            C,
+LAPACKFullMatrix<number>::mmult(FullMatrix<number>             &C,
                                 const LAPACKFullMatrix<number> &B,
                                 const bool                      adding) const
 {
@@ -1024,9 +1024,9 @@ LAPACKFullMatrix<number>::mmult(FullMatrix<number> &            C,
 
 template <typename number>
 void
-LAPACKFullMatrix<number>::Tmmult(LAPACKFullMatrix<number> &      C,
+LAPACKFullMatrix<number>::Tmmult(LAPACKFullMatrix<number>       &C,
                                  const LAPACKFullMatrix<number> &B,
-                                 const Vector<number> &          V,
+                                 const Vector<number>           &V,
                                  const bool                      adding) const
 {
   Assert(state == matrix || state == inverse_matrix, ExcState(state));
@@ -1124,7 +1124,7 @@ LAPACKFullMatrix<number>::scale_rows(const Vector<number> &V)
 
 template <typename number>
 void
-LAPACKFullMatrix<number>::Tmmult(LAPACKFullMatrix<number> &      C,
+LAPACKFullMatrix<number>::Tmmult(LAPACKFullMatrix<number>       &C,
                                  const LAPACKFullMatrix<number> &B,
                                  const bool                      adding) const
 {
@@ -1182,7 +1182,7 @@ LAPACKFullMatrix<number>::Tmmult(LAPACKFullMatrix<number> &      C,
 
 template <typename number>
 void
-LAPACKFullMatrix<number>::Tmmult(FullMatrix<number> &            C,
+LAPACKFullMatrix<number>::Tmmult(FullMatrix<number>             &C,
                                  const LAPACKFullMatrix<number> &B,
                                  const bool                      adding) const
 {
@@ -1218,7 +1218,7 @@ LAPACKFullMatrix<number>::Tmmult(FullMatrix<number> &            C,
 
 template <typename number>
 void
-LAPACKFullMatrix<number>::mTmult(LAPACKFullMatrix<number> &      C,
+LAPACKFullMatrix<number>::mTmult(LAPACKFullMatrix<number>       &C,
                                  const LAPACKFullMatrix<number> &B,
                                  const bool                      adding) const
 {
@@ -1276,7 +1276,7 @@ LAPACKFullMatrix<number>::mTmult(LAPACKFullMatrix<number> &      C,
 
 template <typename number>
 void
-LAPACKFullMatrix<number>::mTmult(FullMatrix<number> &            C,
+LAPACKFullMatrix<number>::mTmult(FullMatrix<number>             &C,
                                  const LAPACKFullMatrix<number> &B,
                                  const bool                      adding) const
 {
@@ -1312,7 +1312,7 @@ LAPACKFullMatrix<number>::mTmult(FullMatrix<number> &            C,
 
 template <typename number>
 void
-LAPACKFullMatrix<number>::TmTmult(LAPACKFullMatrix<number> &      C,
+LAPACKFullMatrix<number>::TmTmult(LAPACKFullMatrix<number>       &C,
                                   const LAPACKFullMatrix<number> &B,
                                   const bool                      adding) const
 {
@@ -1347,7 +1347,7 @@ LAPACKFullMatrix<number>::TmTmult(LAPACKFullMatrix<number> &      C,
 
 template <typename number>
 void
-LAPACKFullMatrix<number>::TmTmult(FullMatrix<number> &            C,
+LAPACKFullMatrix<number>::TmTmult(FullMatrix<number>             &C,
                                   const LAPACKFullMatrix<number> &B,
                                   const bool                      adding) const
 {
@@ -1531,7 +1531,7 @@ LAPACKFullMatrix<number>::reciprocal_condition_number(const number a_norm) const
   number rcond = 0.;
 
   const types::blas_int N      = this->m();
-  const number *        values = this->values.data();
+  const number         *values = this->values.data();
   types::blas_int       info   = 0;
   const types::blas_int lda    = std::max<types::blas_int>(1, N);
   work.resize(3 * N);
@@ -1763,7 +1763,7 @@ LAPACKFullMatrix<number>::solve(Vector<number> &v, const bool transposed) const
 {
   Assert(this->m() == this->n(), LACExceptions::ExcNotQuadratic());
   AssertDimension(this->m(), v.size());
-  const char *          trans  = transposed ? &T : &N;
+  const char           *trans  = transposed ? &T : &N;
   const types::blas_int nn     = this->n();
   const number *const   values = this->values.data();
   const types::blas_int n_rhs  = 1;
@@ -1809,7 +1809,7 @@ LAPACKFullMatrix<number>::solve(LAPACKFullMatrix<number> &B,
 
   Assert(this->m() == this->n(), LACExceptions::ExcNotQuadratic());
   AssertDimension(this->m(), B.m());
-  const char *          trans  = transposed ? &T : &N;
+  const char           *trans  = transposed ? &T : &N;
   const types::blas_int nn     = this->n();
   const number *const   values = this->values.data();
   const types::blas_int n_rhs  = B.n();
@@ -2008,10 +2008,10 @@ namespace
   template <typename RealNumber>
   void
   unpack_lapack_eigenvector_and_increment_index(
-    const std::vector<RealNumber> &       vr,
-    const std::complex<RealNumber> &      eigenvalue,
+    const std::vector<RealNumber>        &vr,
+    const std::complex<RealNumber>       &eigenvalue,
     FullMatrix<std::complex<RealNumber>> &result,
-    unsigned int &                        index)
+    unsigned int                         &index)
   {
     const std::size_t n = result.n();
     if (eigenvalue.imag() != 0.)
@@ -2046,7 +2046,7 @@ namespace
     const std::vector<ComplexNumber> &vr,
     const ComplexNumber &,
     FullMatrix<ComplexNumber> &result,
-    unsigned int &             index)
+    unsigned int              &index)
   {
     const std::size_t n = result.n();
     for (unsigned int j = 0; j < n; ++j)
@@ -2105,7 +2105,7 @@ LAPACKFullMatrix<number>::compute_eigenvalues_symmetric(
   const number        lower_bound,
   const number        upper_bound,
   const number        abs_accuracy,
-  Vector<number> &    eigenvalues,
+  Vector<number>     &eigenvalues,
   FullMatrix<number> &eigenvectors)
 {
   Assert(state == matrix, ExcState(state));
@@ -2234,11 +2234,11 @@ LAPACKFullMatrix<number>::compute_eigenvalues_symmetric(
 template <typename number>
 void
 LAPACKFullMatrix<number>::compute_generalized_eigenvalues_symmetric(
-  LAPACKFullMatrix<number> &   B,
+  LAPACKFullMatrix<number>    &B,
   const number                 lower_bound,
   const number                 upper_bound,
   const number                 abs_accuracy,
-  Vector<number> &             eigenvalues,
+  Vector<number>              &eigenvalues,
   std::vector<Vector<number>> &eigenvectors,
   const types::blas_int        itype)
 {
@@ -2392,7 +2392,7 @@ LAPACKFullMatrix<number>::compute_generalized_eigenvalues_symmetric(
 template <typename number>
 void
 LAPACKFullMatrix<number>::compute_generalized_eigenvalues_symmetric(
-  LAPACKFullMatrix<number> &   B,
+  LAPACKFullMatrix<number>    &B,
   std::vector<Vector<number>> &eigenvectors,
   const types::blas_int        itype)
 {
@@ -2517,11 +2517,11 @@ LAPACKFullMatrix<number>::compute_generalized_eigenvalues_symmetric(
 
 template <typename number>
 void
-LAPACKFullMatrix<number>::print_formatted(std::ostream &     out,
+LAPACKFullMatrix<number>::print_formatted(std::ostream      &out,
                                           const unsigned int precision,
                                           const bool         scientific,
                                           const unsigned int width_,
-                                          const char *       zero_string,
+                                          const char        *zero_string,
                                           const double       denominator,
                                           const double       threshold) const
 {
@@ -2588,7 +2588,7 @@ PreconditionLU<number>::initialize(const LAPACKFullMatrix<number> &M)
 template <typename number>
 void
 PreconditionLU<number>::initialize(const LAPACKFullMatrix<number> &M,
-                                   VectorMemory<Vector<number>> &  V)
+                                   VectorMemory<Vector<number>>   &V)
 {
   matrix = &M;
   mem    = &V;
@@ -2597,7 +2597,7 @@ PreconditionLU<number>::initialize(const LAPACKFullMatrix<number> &M,
 
 template <typename number>
 void
-PreconditionLU<number>::vmult(Vector<number> &      dst,
+PreconditionLU<number>::vmult(Vector<number>       &dst,
                               const Vector<number> &src) const
 {
   dst = src;
@@ -2607,7 +2607,7 @@ PreconditionLU<number>::vmult(Vector<number> &      dst,
 
 template <typename number>
 void
-PreconditionLU<number>::Tvmult(Vector<number> &      dst,
+PreconditionLU<number>::Tvmult(Vector<number>       &dst,
                                const Vector<number> &src) const
 {
   dst = src;
@@ -2617,7 +2617,7 @@ PreconditionLU<number>::Tvmult(Vector<number> &      dst,
 
 template <typename number>
 void
-PreconditionLU<number>::vmult(BlockVector<number> &      dst,
+PreconditionLU<number>::vmult(BlockVector<number>       &dst,
                               const BlockVector<number> &src) const
 {
   Assert(mem != nullptr, ExcNotInitialized());
@@ -2630,7 +2630,7 @@ PreconditionLU<number>::vmult(BlockVector<number> &      dst,
 
 template <typename number>
 void
-PreconditionLU<number>::Tvmult(BlockVector<number> &      dst,
+PreconditionLU<number>::Tvmult(BlockVector<number>       &dst,
                                const BlockVector<number> &src) const
 {
   Assert(mem != nullptr, ExcNotInitialized());
index 61124d223321f3661df59f5587efcbc6e8287d8b..e13fc381757dea8712c59f4faf8b6b6bdd9d26f4 100644 (file)
@@ -48,7 +48,7 @@ namespace PETScWrappers
 
   void
   CommunicationPattern::reinit(const types::global_dof_index local_size,
-                               const IndexSet &              ghost_indices,
+                               const IndexSet               &ghost_indices,
                                const MPI_Comm                communicator)
   {
     clear();
@@ -275,7 +275,7 @@ namespace PETScWrappers
   void
   CommunicationPattern::export_to_ghosted_array_start(
     const ArrayView<const Number> &src,
-    const ArrayView<Number> &      dst) const
+    const ArrayView<Number>       &dst) const
   {
     auto datatype = Utilities::MPI::mpi_type_id_for_type<Number>;
 
@@ -293,7 +293,7 @@ namespace PETScWrappers
   void
   CommunicationPattern::export_to_ghosted_array_finish(
     const ArrayView<const Number> &src,
-    const ArrayView<Number> &      dst) const
+    const ArrayView<Number>       &dst) const
   {
     auto datatype = Utilities::MPI::mpi_type_id_for_type<Number>;
 
@@ -311,7 +311,7 @@ namespace PETScWrappers
   void
   CommunicationPattern::export_to_ghosted_array(
     const ArrayView<const Number> &src,
-    const ArrayView<Number> &      dst) const
+    const ArrayView<Number>       &dst) const
   {
     export_to_ghosted_array_start(src, dst);
     export_to_ghosted_array_finish(src, dst);
@@ -324,7 +324,7 @@ namespace PETScWrappers
   CommunicationPattern::import_from_ghosted_array_start(
     const VectorOperation::values  op,
     const ArrayView<const Number> &src,
-    const ArrayView<Number> &      dst) const
+    const ArrayView<Number>       &dst) const
   {
     MPI_Op mpiop    = (op == VectorOperation::insert) ? MPI_REPLACE : MPI_SUM;
     auto   datatype = Utilities::MPI::mpi_type_id_for_type<Number>;
@@ -340,7 +340,7 @@ namespace PETScWrappers
   CommunicationPattern::import_from_ghosted_array_finish(
     const VectorOperation::values  op,
     const ArrayView<const Number> &src,
-    const ArrayView<Number> &      dst) const
+    const ArrayView<Number>       &dst) const
   {
     MPI_Op mpiop    = (op == VectorOperation::insert) ? MPI_REPLACE : MPI_SUM;
     auto   datatype = Utilities::MPI::mpi_type_id_for_type<Number>;
@@ -355,7 +355,7 @@ namespace PETScWrappers
   CommunicationPattern::import_from_ghosted_array(
     const VectorOperation::values  op,
     const ArrayView<const Number> &src,
-    const ArrayView<Number> &      dst) const
+    const ArrayView<Number>       &dst) const
   {
     import_from_ghosted_array_start(op, src, dst);
     import_from_ghosted_array_finish(op, src, dst);
@@ -446,7 +446,7 @@ namespace PETScWrappers
   void
   Partitioner::export_to_ghosted_array_finish(
     const ArrayView<const Number> &src,
-    const ArrayView<Number> &      dst) const
+    const ArrayView<Number>       &dst) const
   {
     if (dst.size() == n_ghost_indices_larger)
       {
@@ -461,7 +461,7 @@ namespace PETScWrappers
   template <typename Number>
   void
   Partitioner::export_to_ghosted_array(const ArrayView<const Number> &src,
-                                       const ArrayView<Number> &      dst) const
+                                       const ArrayView<Number>       &dst) const
   {
     export_to_ghosted_array_start(src, dst);
     export_to_ghosted_array_finish(src, dst);
@@ -472,7 +472,7 @@ namespace PETScWrappers
   Partitioner::import_from_ghosted_array_start(
     const VectorOperation::values  op,
     const ArrayView<const Number> &src,
-    const ArrayView<Number> &      dst) const
+    const ArrayView<Number>       &dst) const
   {
     if (src.size() == n_ghost_indices_larger)
       {
@@ -489,7 +489,7 @@ namespace PETScWrappers
   Partitioner::import_from_ghosted_array_finish(
     const VectorOperation::values  op,
     const ArrayView<const Number> &src,
-    const ArrayView<Number> &      dst) const
+    const ArrayView<Number>       &dst) const
   {
     if (src.size() == n_ghost_indices_larger)
       {
index 932a5967d2e8d302f88b76402e593cd349055565..e7fe7b0c09efd9360c4027528c817668a7912481 100644 (file)
@@ -22,39 +22,39 @@ for (S : MPI_SCALARS)
       template void
       CommunicationPattern::export_to_ghosted_array(
         const ArrayView<const S> &src,
-        const ArrayView<S> &      dst) const;
+        const ArrayView<S>       &dst) const;
 
       template void
       CommunicationPattern::export_to_ghosted_array_start(
         const ArrayView<const S> &src,
-        const ArrayView<S> &      dst) const;
+        const ArrayView<S>       &dst) const;
 
       template void
       CommunicationPattern::export_to_ghosted_array_finish(
         const ArrayView<const S> &src,
-        const ArrayView<S> &      dst) const;
+        const ArrayView<S>       &dst) const;
 
       template void
       CommunicationPattern::import_from_ghosted_array(
         const VectorOperation::values op,
-        const ArrayView<const S> &    src,
-        const ArrayView<S> &          dst) const;
+        const ArrayView<const S>     &src,
+        const ArrayView<S>           &dst) const;
 
       template void
       CommunicationPattern::import_from_ghosted_array_start(
         const VectorOperation::values op,
-        const ArrayView<const S> &    src,
-        const ArrayView<S> &          dst) const;
+        const ArrayView<const S>     &src,
+        const ArrayView<S>           &dst) const;
 
       template void
       CommunicationPattern::import_from_ghosted_array_finish(
         const VectorOperation::values op,
-        const ArrayView<const S> &    src,
-        const ArrayView<S> &          dst) const;
+        const ArrayView<const S>     &src,
+        const ArrayView<S>           &dst) const;
 
       template void
       Partitioner::export_to_ghosted_array(const ArrayView<const S> &src,
-                                           const ArrayView<S> &      dst) const;
+                                           const ArrayView<S>       &dst) const;
 
       template void
       Partitioner::export_to_ghosted_array_start(const ArrayView<const S> &src,
@@ -63,23 +63,23 @@ for (S : MPI_SCALARS)
       template void
       Partitioner::export_to_ghosted_array_finish(
         const ArrayView<const S> &src,
-        const ArrayView<S> &      dst) const;
+        const ArrayView<S>       &dst) const;
 
       template void
       Partitioner::import_from_ghosted_array(const VectorOperation::values op,
-                                             const ArrayView<const S> &    src,
+                                             const ArrayView<const S>     &src,
                                              const ArrayView<S> &dst) const;
 
       template void
       Partitioner::import_from_ghosted_array_start(
         const VectorOperation::values op,
-        const ArrayView<const S> &    src,
-        const ArrayView<S> &          dst) const;
+        const ArrayView<const S>     &src,
+        const ArrayView<S>           &dst) const;
 
       template void
       Partitioner::import_from_ghosted_array_finish(
         const VectorOperation::values op,
-        const ArrayView<const S> &    src,
-        const ArrayView<S> &          dst) const;
+        const ArrayView<const S>     &src,
+        const ArrayView<S>           &dst) const;
     \}
   }
index 4246a864e6e51047de6572a1c9093080136b7482..2475988e230b306aa4eb604e473f96109c7f06d0 100644 (file)
@@ -46,7 +46,7 @@ namespace PETScWrappers
 
       // get a representation of the present row
       PetscInt           ncols;
-      const PetscInt *   colnums;
+      const PetscInt    *colnums;
       const PetscScalar *values;
 
       PetscErrorCode ierr =
@@ -395,7 +395,7 @@ namespace PETScWrappers
     // get a representation of the present
     // row
     PetscInt           ncols;
-    const PetscInt *   colnums;
+    const PetscInt    *colnums;
     const PetscScalar *values;
 
     // TODO: this is probably horribly inefficient; we should lobby for a way to
@@ -568,7 +568,7 @@ namespace PETScWrappers
     void
     perform_mmult(const MatrixBase &inputleft,
                   const MatrixBase &inputright,
-                  MatrixBase &      result,
+                  MatrixBase       &result,
                   const VectorBase &V,
                   const bool        transpose_left)
     {
@@ -638,7 +638,7 @@ namespace PETScWrappers
   } // namespace internals
 
   void
-  MatrixBase::mmult(MatrixBase &      C,
+  MatrixBase::mmult(MatrixBase       &C,
                     const MatrixBase &B,
                     const VectorBase &V) const
   {
@@ -646,7 +646,7 @@ namespace PETScWrappers
   }
 
   void
-  MatrixBase::Tmmult(MatrixBase &      C,
+  MatrixBase::Tmmult(MatrixBase       &C,
                      const MatrixBase &B,
                      const VectorBase &V) const
   {
@@ -654,7 +654,7 @@ namespace PETScWrappers
   }
 
   PetscScalar
-  MatrixBase::residual(VectorBase &      dst,
+  MatrixBase::residual(VectorBase       &dst,
                        const VectorBase &x,
                        const VectorBase &b) const
   {
@@ -750,7 +750,7 @@ namespace PETScWrappers
       local_range();
 
     PetscInt           ncols;
-    const PetscInt *   colnums;
+    const PetscInt    *colnums;
     const PetscScalar *values;
 
     MatrixBase::size_type row;
index d05a92f61b7427d1a81b2eed77ca52f55e9229b4..2859e5ad250dd11fa858759b58ed00e9d3c66b5c 100644 (file)
@@ -198,7 +198,7 @@ namespace PETScWrappers
     // object and link the given matrix A
     // to the matrix-vector multiplication
     // of this MatrixFree object,
-    void *               this_object;
+    void                *this_object;
     const PetscErrorCode ierr = MatShellGetContext(A, &this_object);
     AssertThrow(ierr == 0, ExcPETScError(ierr));
 
index 9db5f83f2fc2e3aac0c9399d6db8f9355333a051..f5d2074840d116b5d0d50d7d4fc75960df26e333 100644 (file)
@@ -108,8 +108,8 @@ namespace PETScWrappers
 
 
     void
-    BlockSparseMatrix::reinit(const std::vector<IndexSet> &      rows,
-                              const std::vector<IndexSet> &      cols,
+    BlockSparseMatrix::reinit(const std::vector<IndexSet>       &rows,
+                              const std::vector<IndexSet>       &cols,
                               const BlockDynamicSparsityPattern &bdsp,
                               const MPI_Comm                     com)
     {
@@ -147,7 +147,7 @@ namespace PETScWrappers
     }
 
     void
-    BlockSparseMatrix::reinit(const std::vector<IndexSet> &      sizes,
+    BlockSparseMatrix::reinit(const std::vector<IndexSet>       &sizes,
                               const BlockDynamicSparsityPattern &bdsp,
                               const MPI_Comm                     com)
     {
index f22b5b28aa0902874373b68ee741b4fff928ee67..ae8fbfc6d5a55dbf387c1c6333fb05300f0e613d 100644 (file)
@@ -58,7 +58,7 @@ namespace PETScWrappers
     template <typename SparsityPatternType>
     SparseMatrix::SparseMatrix(
       const MPI_Comm                communicator,
-      const SparsityPatternType &   sparsity_pattern,
+      const SparsityPatternType    &sparsity_pattern,
       const std::vector<size_type> &local_rows_per_process,
       const std::vector<size_type> &local_columns_per_process,
       const unsigned int            this_process,
@@ -89,10 +89,10 @@ namespace PETScWrappers
 
     template <typename SparsityPatternType>
     void
-    SparseMatrix::reinit(const IndexSet &           local_rows,
-                         const IndexSet &           local_active_rows,
-                         const IndexSet &           local_columns,
-                         const IndexSet &           local_active_columns,
+    SparseMatrix::reinit(const IndexSet            &local_rows,
+                         const IndexSet            &local_active_rows,
+                         const IndexSet            &local_columns,
+                         const IndexSet            &local_active_columns,
                          const SparsityPatternType &sparsity_pattern,
                          const MPI_Comm             communicator)
     {
@@ -133,7 +133,7 @@ namespace PETScWrappers
     void
     SparseMatrix::reinit(
       const MPI_Comm                communicator,
-      const SparsityPatternType &   sparsity_pattern,
+      const SparsityPatternType    &sparsity_pattern,
       const std::vector<size_type> &local_rows_per_process,
       const std::vector<size_type> &local_columns_per_process,
       const unsigned int            this_process,
@@ -156,7 +156,7 @@ namespace PETScWrappers
 
     template <typename SparsityPatternType>
     void
-    SparseMatrix::reinit(const IndexSet &           local_rows,
+    SparseMatrix::reinit(const IndexSet            &local_rows,
                          const SparsityPatternType &sparsity_pattern,
                          const MPI_Comm             communicator)
     {
@@ -165,8 +165,8 @@ namespace PETScWrappers
 
     template <typename SparsityPatternType>
     void
-    SparseMatrix::reinit(const IndexSet &           local_rows,
-                         const IndexSet &           local_columns,
+    SparseMatrix::reinit(const IndexSet            &local_rows,
+                         const IndexSet            &local_columns,
                          const SparsityPatternType &sparsity_pattern,
                          const MPI_Comm             communicator)
     {
@@ -182,8 +182,8 @@ namespace PETScWrappers
     template <typename SparsityPatternType>
     void
     SparseMatrix::do_reinit(const MPI_Comm             communicator,
-                            const IndexSet &           local_rows,
-                            const IndexSet &           local_columns,
+                            const IndexSet            &local_rows,
+                            const IndexSet            &local_columns,
                             const SparsityPatternType &sparsity_pattern)
     {
       Assert(sparsity_pattern.n_rows() == local_rows.size(),
@@ -341,7 +341,7 @@ namespace PETScWrappers
     void
     SparseMatrix::do_reinit(
       const MPI_Comm                communicator,
-      const SparsityPatternType &   sparsity_pattern,
+      const SparsityPatternType    &sparsity_pattern,
       const std::vector<size_type> &local_rows_per_process,
       const std::vector<size_type> &local_columns_per_process,
       const unsigned int            this_process,
@@ -466,10 +466,10 @@ namespace PETScWrappers
     template <typename SparsityPatternType>
     void
     SparseMatrix::do_reinit(const MPI_Comm             communicator,
-                            const IndexSet &           local_rows,
-                            const IndexSet &           local_active_rows,
-                            const IndexSet &           local_columns,
-                            const IndexSet &           local_active_columns,
+                            const IndexSet            &local_rows,
+                            const IndexSet            &local_active_rows,
+                            const IndexSet            &local_columns,
+                            const IndexSet            &local_active_columns,
                             const SparsityPatternType &sparsity_pattern)
     {
 #  if DEAL_II_PETSC_VERSION_GTE(3, 10, 0)
@@ -873,9 +873,9 @@ namespace PETScWrappers
     }
 
     void
-    SparseMatrix::mmult(SparseMatrix &      C,
+    SparseMatrix::mmult(SparseMatrix       &C,
                         const SparseMatrix &B,
-                        const MPI::Vector V) const
+                        const MPI::Vector  &V) const
     {
       // Simply forward to the protected member function of the base class
       // that takes abstract matrix and vector arguments (to which the compiler
@@ -884,9 +884,9 @@ namespace PETScWrappers
     }
 
     void
-    SparseMatrix::Tmmult(SparseMatrix &      C,
+    SparseMatrix::Tmmult(SparseMatrix       &C,
                          const SparseMatrix &B,
-                         const MPI::Vector V) const
+                         const MPI::Vector  &V) const
     {
       // Simply forward to the protected member function of the base class
       // that takes abstract matrix and vector arguments (to which the compiler
index 2db8381ddd1a45374ed30b76da9d241147e845f8..0263b4da5f62d2a8a8542c370654b4e3febeba1c 100644 (file)
@@ -358,7 +358,7 @@ namespace PETScWrappers
 
 
     void
-    Vector::print(std::ostream &     out,
+    Vector::print(std::ostream      &out,
                   const unsigned int precision,
                   const bool         scientific,
                   const bool         across) const
index e7f221de42e6aee522811e420a3b06468970ee25..369b285ea9a39c1bdc783bde9958044360c5e0a2 100644 (file)
@@ -151,7 +151,7 @@ namespace PETScWrappers
 
 
 
-  PreconditionJacobi::PreconditionJacobi(const MatrixBase &    matrix,
+  PreconditionJacobi::PreconditionJacobi(const MatrixBase     &matrix,
                                          const AdditionalData &additional_data)
     : PreconditionBase(matrix.get_mpi_communicator())
   {
@@ -175,7 +175,7 @@ namespace PETScWrappers
 
 
   void
-  PreconditionJacobi::initialize(const MatrixBase &    matrix_,
+  PreconditionJacobi::initialize(const MatrixBase     &matrix_,
                                  const AdditionalData &additional_data_)
   {
     clear();
@@ -209,7 +209,7 @@ namespace PETScWrappers
 
 
   PreconditionBlockJacobi::PreconditionBlockJacobi(
-    const MatrixBase &    matrix,
+    const MatrixBase     &matrix,
     const AdditionalData &additional_data)
     : PreconditionBase(matrix.get_mpi_communicator())
   {
@@ -231,7 +231,7 @@ namespace PETScWrappers
 
 
   void
-  PreconditionBlockJacobi::initialize(const MatrixBase &    matrix_,
+  PreconditionBlockJacobi::initialize(const MatrixBase     &matrix_,
                                       const AdditionalData &additional_data_)
   {
     clear();
@@ -257,7 +257,7 @@ namespace PETScWrappers
 
 
 
-  PreconditionSOR::PreconditionSOR(const MatrixBase &    matrix,
+  PreconditionSOR::PreconditionSOR(const MatrixBase     &matrix,
                                    const AdditionalData &additional_data)
     : PreconditionBase(matrix.get_mpi_communicator())
   {
@@ -266,7 +266,7 @@ namespace PETScWrappers
 
 
   void
-  PreconditionSOR::initialize(const MatrixBase &    matrix_,
+  PreconditionSOR::initialize(const MatrixBase     &matrix_,
                               const AdditionalData &additional_data_)
   {
     clear();
@@ -301,7 +301,7 @@ namespace PETScWrappers
 
 
 
-  PreconditionSSOR::PreconditionSSOR(const MatrixBase &    matrix,
+  PreconditionSSOR::PreconditionSSOR(const MatrixBase     &matrix,
                                      const AdditionalData &additional_data)
     : PreconditionBase(matrix.get_mpi_communicator())
   {
@@ -310,7 +310,7 @@ namespace PETScWrappers
 
 
   void
-  PreconditionSSOR::initialize(const MatrixBase &    matrix_,
+  PreconditionSSOR::initialize(const MatrixBase     &matrix_,
                                const AdditionalData &additional_data_)
   {
     clear();
@@ -349,7 +349,7 @@ namespace PETScWrappers
 
 
 
-  PreconditionICC::PreconditionICC(const MatrixBase &    matrix,
+  PreconditionICC::PreconditionICC(const MatrixBase     &matrix,
                                    const AdditionalData &additional_data)
     : PreconditionBase(matrix.get_mpi_communicator())
   {
@@ -358,7 +358,7 @@ namespace PETScWrappers
 
 
   void
-  PreconditionICC::initialize(const MatrixBase &    matrix_,
+  PreconditionICC::initialize(const MatrixBase     &matrix_,
                               const AdditionalData &additional_data_)
   {
     clear();
@@ -393,7 +393,7 @@ namespace PETScWrappers
 
 
 
-  PreconditionILU::PreconditionILU(const MatrixBase &    matrix,
+  PreconditionILU::PreconditionILU(const MatrixBase     &matrix,
                                    const AdditionalData &additional_data)
     : PreconditionBase(matrix.get_mpi_communicator())
   {
@@ -402,7 +402,7 @@ namespace PETScWrappers
 
 
   void
-  PreconditionILU::initialize(const MatrixBase &    matrix_,
+  PreconditionILU::initialize(const MatrixBase     &matrix_,
                               const AdditionalData &additional_data_)
   {
     clear();
@@ -562,7 +562,7 @@ namespace PETScWrappers
 
 
   PreconditionBoomerAMG::PreconditionBoomerAMG(
-    const MatrixBase &    matrix,
+    const MatrixBase     &matrix,
     const AdditionalData &additional_data)
     : PreconditionBase(matrix.get_mpi_communicator())
   {
@@ -682,7 +682,7 @@ namespace PETScWrappers
 
 
   void
-  PreconditionBoomerAMG::initialize(const MatrixBase &    matrix_,
+  PreconditionBoomerAMG::initialize(const MatrixBase     &matrix_,
                                     const AdditionalData &additional_data_)
   {
 #  ifdef DEAL_II_PETSC_WITH_HYPRE
@@ -727,7 +727,7 @@ namespace PETScWrappers
 
 
   PreconditionParaSails::PreconditionParaSails(
-    const MatrixBase &    matrix,
+    const MatrixBase     &matrix,
     const AdditionalData &additional_data)
     : PreconditionBase(matrix.get_mpi_communicator())
   {
@@ -736,7 +736,7 @@ namespace PETScWrappers
 
 
   void
-  PreconditionParaSails::initialize(const MatrixBase &    matrix_,
+  PreconditionParaSails::initialize(const MatrixBase     &matrix_,
                                     const AdditionalData &additional_data_)
   {
     clear();
@@ -824,7 +824,7 @@ namespace PETScWrappers
 
 
 
-  PreconditionNone::PreconditionNone(const MatrixBase &    matrix,
+  PreconditionNone::PreconditionNone(const MatrixBase     &matrix,
                                      const AdditionalData &additional_data)
     : PreconditionBase(matrix.get_mpi_communicator())
   {
@@ -833,7 +833,7 @@ namespace PETScWrappers
 
 
   void
-  PreconditionNone::initialize(const MatrixBase &    matrix_,
+  PreconditionNone::initialize(const MatrixBase     &matrix_,
                                const AdditionalData &additional_data_)
   {
     clear();
@@ -868,7 +868,7 @@ namespace PETScWrappers
 
 
 
-  PreconditionLU::PreconditionLU(const MatrixBase &    matrix,
+  PreconditionLU::PreconditionLU(const MatrixBase     &matrix,
                                  const AdditionalData &additional_data)
     : PreconditionBase(matrix.get_mpi_communicator())
   {
@@ -877,7 +877,7 @@ namespace PETScWrappers
 
 
   void
-  PreconditionLU::initialize(const MatrixBase &    matrix_,
+  PreconditionLU::initialize(const MatrixBase     &matrix_,
                              const AdditionalData &additional_data_)
   {
     clear();
@@ -945,7 +945,7 @@ namespace PETScWrappers
 
 
   template <int dim>
-  PreconditionBDDC<dim>::PreconditionBDDC(const MatrixBase &    matrix,
+  PreconditionBDDC<dim>::PreconditionBDDC(const MatrixBase     &matrix,
                                           const AdditionalData &additional_data)
     : PreconditionBase(matrix.get_mpi_communicator())
   {
@@ -1039,7 +1039,7 @@ namespace PETScWrappers
 
   template <int dim>
   void
-  PreconditionBDDC<dim>::initialize(const MatrixBase &    matrix_,
+  PreconditionBDDC<dim>::initialize(const MatrixBase     &matrix_,
                                     const AdditionalData &additional_data_)
   {
     clear();
index 7b9308fefded336d6d76119f3d103dd6e0091a8a..7dc7d53cd7c6bab28d9e978665c1e69e6a52bc59 100644 (file)
@@ -81,9 +81,9 @@ namespace PETScWrappers
 
 
   void
-  SolverBase::solve(const MatrixBase &      A,
-                    VectorBase &            x,
-                    const VectorBase &      b,
+  SolverBase::solve(const MatrixBase       &A,
+                    VectorBase             &x,
+                    const VectorBase       &b,
                     const PreconditionBase &preconditioner)
   {
     // first create a solver object if this
@@ -168,7 +168,7 @@ namespace PETScWrappers
                                const PetscInt      iteration,
                                const PetscReal     residual_norm,
                                KSPConvergedReason *reason,
-                               void *              solver_control_x)
+                               void               *solver_control_x)
   {
     PetscFunctionBeginUser;
     SolverControl &solver_control =
@@ -254,7 +254,7 @@ namespace PETScWrappers
 
 
 
-  SolverRichardson::SolverRichardson(SolverControl &       cn,
+  SolverRichardson::SolverRichardson(SolverControl        &cn,
                                      const AdditionalData &data)
     : SolverBase(cn)
     , additional_data(data)
@@ -305,7 +305,7 @@ namespace PETScWrappers
 
   /* ---------------------- SolverChebychev ------------------------ */
 
-  SolverChebychev::SolverChebychev(SolverControl &       cn,
+  SolverChebychev::SolverChebychev(SolverControl        &cn,
                                    const AdditionalData &data)
     : SolverBase(cn)
     , additional_data(data)
@@ -639,7 +639,7 @@ namespace PETScWrappers
 
   /* ---------------------- SparseDirectMUMPS------------------------ */
 
-  SparseDirectMUMPS::SparseDirectMUMPS(SolverControl &       cn,
+  SparseDirectMUMPS::SparseDirectMUMPS(SolverControl        &cn,
                                        const AdditionalData &data)
     : SolverBase(cn)
     , additional_data(data)
@@ -683,7 +683,7 @@ namespace PETScWrappers
 
   void
   SparseDirectMUMPS::solve(const MatrixBase &A,
-                           VectorBase &      x,
+                           VectorBase       &x,
                            const VectorBase &b)
   {
 #  ifdef DEAL_II_PETSC_WITH_MUMPS
index fffa598b6a184622e2d6ddec848be3c1a9968622..190519ed7dbf7681197364cd0629460d153ed3f0 100644 (file)
@@ -255,9 +255,9 @@ namespace PETScWrappers
   }
 
   void
-  SparseMatrix::mmult(SparseMatrix &      C,
+  SparseMatrix::mmult(SparseMatrix       &C,
                       const SparseMatrix &B,
-                      const MPI::Vector V) const
+                      const MPI::Vector  &V) const
   {
     // Simply forward to the protected member function of the base class
     // that takes abstract matrix and vector arguments (to which the compiler
@@ -266,9 +266,9 @@ namespace PETScWrappers
   }
 
   void
-  SparseMatrix::Tmmult(SparseMatrix &      C,
+  SparseMatrix::Tmmult(SparseMatrix       &C,
                        const SparseMatrix &B,
-                       const MPI::Vector V) const
+                       const MPI::Vector  &V) const
   {
     // Simply forward to the protected member function of the base class
     // that takes abstract matrix and vector arguments (to which the compiler
index 14d32912e3b6cd21d852d205e595379f0c97b4ec..78c3b6927ce95b6ac55e4ac563f97cc0025e4e5b 100644 (file)
@@ -462,7 +462,7 @@ namespace PETScWrappers
 
 
   void
-  VectorBase::set(const std::vector<size_type> &  indices,
+  VectorBase::set(const std::vector<size_type>   &indices,
                   const std::vector<PetscScalar> &values)
   {
     Assert(indices.size() == values.size(),
@@ -473,7 +473,7 @@ namespace PETScWrappers
 
 
   void
-  VectorBase::add(const std::vector<size_type> &  indices,
+  VectorBase::add(const std::vector<size_type>   &indices,
                   const std::vector<PetscScalar> &values)
   {
     Assert(indices.size() == values.size(),
@@ -484,7 +484,7 @@ namespace PETScWrappers
 
 
   void
-  VectorBase::add(const std::vector<size_type> &       indices,
+  VectorBase::add(const std::vector<size_type>        &indices,
                   const ::dealii::Vector<PetscScalar> &values)
   {
     Assert(indices.size() == values.size(),
@@ -496,7 +496,7 @@ namespace PETScWrappers
 
   void
   VectorBase::add(const size_type    n_elements,
-                  const size_type *  indices,
+                  const size_type   *indices,
                   const PetscScalar *values)
   {
     do_set_add_operation(n_elements, indices, values, true);
@@ -960,7 +960,7 @@ namespace PETScWrappers
 
 
   void
-  VectorBase::print(std::ostream &     out,
+  VectorBase::print(std::ostream      &out,
                     const unsigned int precision,
                     const bool         scientific,
                     const bool         across) const
@@ -1056,7 +1056,7 @@ namespace PETScWrappers
 
   void
   VectorBase::do_set_add_operation(const size_type    n_elements,
-                                   const size_type *  indices,
+                                   const size_type   *indices,
                                    const PetscScalar *values,
                                    const bool         add_values)
   {
index 10612fddcfc2327596be81904174c9c555930105..96c225e0bde2038adcaea94654e5e4ec966d855e 100644 (file)
@@ -33,9 +33,9 @@ namespace internal
               const char            trans,
               const char            diag,
               const types::blas_int n,
-              const Number *        a,
+              const Number         *a,
               const types::blas_int lda,
-              Number *              x,
+              Number               *x,
               const types::blas_int incx)
     {
       trmv(&uplo, &trans, &diag, &n, a, &lda, x, &incx);
@@ -48,11 +48,11 @@ namespace internal
                const char            diag,
                const types::blas_int n,
                const types::blas_int nrhs,
-               const Number *        a,
+               const Number         *a,
                const types::blas_int lda,
-               Number *              b,
+               Number               *b,
                const types::blas_int ldb,
-               types::blas_int *     info)
+               types::blas_int      *info)
     {
       trtrs(&uplo, &trans, &diag, &n, &nrhs, a, &lda, b, &ldb, info);
     }
index b9fb39307797325c89ee9d20385af0e3435944a9..c9954a8438e1c1b9b416db1eeb9dbbace91b7a3a 100644 (file)
@@ -120,7 +120,7 @@ ScaLAPACKMatrix<NumberType>::ScaLAPACKMatrix(
 
 template <typename NumberType>
 ScaLAPACKMatrix<NumberType>::ScaLAPACKMatrix(
-  const std::string &                                       filename,
+  const std::string                                        &filename,
   const std::shared_ptr<const Utilities::MPI::ProcessGrid> &process_grid,
   const size_type                                           row_block_size,
   const size_type                                           column_block_size)
@@ -722,7 +722,7 @@ ScaLAPACKMatrix<NumberType>::copy_to(FullMatrix<NumberType> &matrix) const
 template <typename NumberType>
 void
 ScaLAPACKMatrix<NumberType>::copy_to(
-  ScaLAPACKMatrix<NumberType> &                B,
+  ScaLAPACKMatrix<NumberType>                 &B,
   const std::pair<unsigned int, unsigned int> &offset_A,
   const std::pair<unsigned int, unsigned int> &offset_B,
   const std::pair<unsigned int, unsigned int> &submatrix_size) const
@@ -799,7 +799,7 @@ ScaLAPACKMatrix<NumberType>::copy_to(
   std::array<int, 9> desc_A, desc_B;
 
   const NumberType *loc_vals_A = nullptr;
-  NumberType *      loc_vals_B = nullptr;
+  NumberType       *loc_vals_B = nullptr;
 
   // Note: the function pgemr2d has to be called for all processes in the union
   // BLACS context If the calling process is not part of the BLACS context of A,
@@ -925,7 +925,7 @@ ScaLAPACKMatrix<NumberType>::copy_to(ScaLAPACKMatrix<NumberType> &dest) const
                       union_n_process_columns);
 
       const NumberType *loc_vals_source = nullptr;
-      NumberType *      loc_vals_dest   = nullptr;
+      NumberType       *loc_vals_dest   = nullptr;
 
       if (this->grid->mpi_process_is_active && (this->values.size() > 0))
         {
@@ -968,7 +968,7 @@ ScaLAPACKMatrix<NumberType>::copy_to(ScaLAPACKMatrix<NumberType> &dest) const
   else
     // process is active in the process grid
     if (this->grid->mpi_process_is_active)
-    dest.values = this->values;
+      dest.values = this->values;
 
   dest.state    = state;
   dest.property = property;
@@ -1067,7 +1067,7 @@ void
 ScaLAPACKMatrix<NumberType>::mult(const NumberType                   b,
                                   const ScaLAPACKMatrix<NumberType> &B,
                                   const NumberType                   c,
-                                  ScaLAPACKMatrix<NumberType> &      C,
+                                  ScaLAPACKMatrix<NumberType>       &C,
                                   const bool transpose_A,
                                   const bool transpose_B) const
 {
@@ -1181,7 +1181,7 @@ ScaLAPACKMatrix<NumberType>::mult(const NumberType                   b,
 
 template <typename NumberType>
 void
-ScaLAPACKMatrix<NumberType>::mmult(ScaLAPACKMatrix<NumberType> &      C,
+ScaLAPACKMatrix<NumberType>::mmult(ScaLAPACKMatrix<NumberType>       &C,
                                    const ScaLAPACKMatrix<NumberType> &B,
                                    const bool adding) const
 {
@@ -1195,7 +1195,7 @@ ScaLAPACKMatrix<NumberType>::mmult(ScaLAPACKMatrix<NumberType> &      C,
 
 template <typename NumberType>
 void
-ScaLAPACKMatrix<NumberType>::Tmmult(ScaLAPACKMatrix<NumberType> &      C,
+ScaLAPACKMatrix<NumberType>::Tmmult(ScaLAPACKMatrix<NumberType>       &C,
                                     const ScaLAPACKMatrix<NumberType> &B,
                                     const bool adding) const
 {
@@ -1209,7 +1209,7 @@ ScaLAPACKMatrix<NumberType>::Tmmult(ScaLAPACKMatrix<NumberType> &      C,
 
 template <typename NumberType>
 void
-ScaLAPACKMatrix<NumberType>::mTmult(ScaLAPACKMatrix<NumberType> &      C,
+ScaLAPACKMatrix<NumberType>::mTmult(ScaLAPACKMatrix<NumberType>       &C,
                                     const ScaLAPACKMatrix<NumberType> &B,
                                     const bool adding) const
 {
@@ -1223,7 +1223,7 @@ ScaLAPACKMatrix<NumberType>::mTmult(ScaLAPACKMatrix<NumberType> &      C,
 
 template <typename NumberType>
 void
-ScaLAPACKMatrix<NumberType>::TmTmult(ScaLAPACKMatrix<NumberType> &      C,
+ScaLAPACKMatrix<NumberType>::TmTmult(ScaLAPACKMatrix<NumberType>       &C,
                                      const ScaLAPACKMatrix<NumberType> &B,
                                      const bool adding) const
 {
@@ -1473,7 +1473,7 @@ std::vector<NumberType>
 ScaLAPACKMatrix<NumberType>::eigenpairs_symmetric(
   const bool                                   compute_eigenvectors,
   const std::pair<unsigned int, unsigned int> &eigenvalue_idx,
-  const std::pair<NumberType, NumberType> &    eigenvalue_limits)
+  const std::pair<NumberType, NumberType>     &eigenvalue_limits)
 {
   Assert(state == LAPACKSupport::matrix,
          ExcMessage(
@@ -1814,7 +1814,7 @@ std::vector<NumberType>
 ScaLAPACKMatrix<NumberType>::eigenpairs_symmetric_MRRR(
   const bool                                   compute_eigenvectors,
   const std::pair<unsigned int, unsigned int> &eigenvalue_idx,
-  const std::pair<NumberType, NumberType> &    eigenvalue_limits)
+  const std::pair<NumberType, NumberType>     &eigenvalue_limits)
 {
   Assert(state == LAPACKSupport::matrix,
          ExcMessage(
@@ -2616,7 +2616,7 @@ namespace internal
 template <typename NumberType>
 void
 ScaLAPACKMatrix<NumberType>::save(
-  const std::string &                          filename,
+  const std::string                           &filename,
   const std::pair<unsigned int, unsigned int> &chunk_size) const
 {
 #  ifndef DEAL_II_WITH_HDF5
@@ -2658,7 +2658,7 @@ ScaLAPACKMatrix<NumberType>::save(
 template <typename NumberType>
 void
 ScaLAPACKMatrix<NumberType>::save_serial(
-  const std::string &                          filename,
+  const std::string                           &filename,
   const std::pair<unsigned int, unsigned int> &chunk_size) const
 {
 #  ifndef DEAL_II_WITH_HDF5
@@ -2815,7 +2815,7 @@ ScaLAPACKMatrix<NumberType>::save_serial(
 template <typename NumberType>
 void
 ScaLAPACKMatrix<NumberType>::save_parallel(
-  const std::string &                          filename,
+  const std::string                           &filename,
   const std::pair<unsigned int, unsigned int> &chunk_size) const
 {
 #  ifndef DEAL_II_WITH_HDF5
@@ -3463,7 +3463,7 @@ namespace internal
   {
     template <typename NumberType>
     void
-    scale_columns(ScaLAPACKMatrix<NumberType> &      matrix,
+    scale_columns(ScaLAPACKMatrix<NumberType>       &matrix,
                   const ArrayView<const NumberType> &factors)
     {
       Assert(matrix.n() == factors.size(),
@@ -3480,7 +3480,7 @@ namespace internal
 
     template <typename NumberType>
     void
-    scale_rows(ScaLAPACKMatrix<NumberType> &      matrix,
+    scale_rows(ScaLAPACKMatrix<NumberType>       &matrix,
                const ArrayView<const NumberType> &factors)
     {
       Assert(matrix.m() == factors.size(),
index ff45b25fd5b6bc3c3945cf2f143745f445676562..dfa8c1048937e6d880c032269ea74043264b4da3 100644 (file)
@@ -258,7 +258,7 @@ namespace SLEPcWrappers
 
   void
   SolverBase::get_eigenpair(const unsigned int         index,
-                            PetscScalar &              eigenvalues,
+                            PetscScalar               &eigenvalues,
                             PETScWrappers::VectorBase &eigenvectors)
   {
     // get converged eigenpair
@@ -271,8 +271,8 @@ namespace SLEPcWrappers
 
   void
   SolverBase::get_eigenpair(const unsigned int         index,
-                            double &                   real_eigenvalues,
-                            double &                   imag_eigenvalues,
+                            double                    &real_eigenvalues,
+                            double                    &imag_eigenvalues,
                             PETScWrappers::VectorBase &real_eigenvectors,
                             PETScWrappers::VectorBase &imag_eigenvectors)
   {
@@ -359,7 +359,7 @@ namespace SLEPcWrappers
 
 
   /* ---------------------- SolverKrylovSchur ------------------------ */
-  SolverKrylovSchur::SolverKrylovSchur(SolverControl &       cn,
+  SolverKrylovSchur::SolverKrylovSchur(SolverControl        &cn,
                                        const MPI_Comm        mpi_communicator,
                                        const AdditionalData &data)
     : SolverBase(cn, mpi_communicator)
@@ -380,7 +380,7 @@ namespace SLEPcWrappers
 
 
 
-  SolverArnoldi::SolverArnoldi(SolverControl &       cn,
+  SolverArnoldi::SolverArnoldi(SolverControl        &cn,
                                const MPI_Comm        mpi_communicator,
                                const AdditionalData &data)
     : SolverBase(cn, mpi_communicator)
@@ -407,7 +407,7 @@ namespace SLEPcWrappers
 
 
 
-  SolverLanczos::SolverLanczos(SolverControl &       cn,
+  SolverLanczos::SolverLanczos(SolverControl        &cn,
                                const MPI_Comm        mpi_communicator,
                                const AdditionalData &data)
     : SolverBase(cn, mpi_communicator)
@@ -423,7 +423,7 @@ namespace SLEPcWrappers
 
 
   /* ----------------------- Power ------------------------- */
-  SolverPower::SolverPower(SolverControl &       cn,
+  SolverPower::SolverPower(SolverControl        &cn,
                            const MPI_Comm        mpi_communicator,
                            const AdditionalData &data)
     : SolverBase(cn, mpi_communicator)
@@ -444,7 +444,7 @@ namespace SLEPcWrappers
 
 
   SolverGeneralizedDavidson::SolverGeneralizedDavidson(
-    SolverControl &       cn,
+    SolverControl        &cn,
     const MPI_Comm        mpi_communicator,
     const AdditionalData &data)
     : SolverBase(cn, mpi_communicator)
@@ -476,7 +476,7 @@ namespace SLEPcWrappers
 
 
   /* ---------------------- LAPACK ------------------------- */
-  SolverLAPACK::SolverLAPACK(SolverControl &       cn,
+  SolverLAPACK::SolverLAPACK(SolverControl        &cn,
                              const MPI_Comm        mpi_communicator,
                              const AdditionalData &data)
     : SolverBase(cn, mpi_communicator)
index 4d2fb6df2a7e4b7822a3e23e512c8adf7105c26a..ecf626a743ea9741bdf5b686badc2c82c1cb2ba6 100644 (file)
@@ -374,7 +374,7 @@ ConsecutiveControl::ConsecutiveControl(const SolverControl &c)
 ConsecutiveControl &
 ConsecutiveControl::operator=(const SolverControl &c)
 {
-  SolverControl::operator  =(c);
+  SolverControl::operator=(c);
   n_consecutive_iterations = 1;
   n_converged_iterations   = 0;
   return *this;
index b4e96182554a05ef72ae3fe591b26755575fdd01..1e0a0ce10e6bccfa10d50fdc9bb46ba24bbc0bc3 100644 (file)
@@ -571,7 +571,7 @@ SparseDirectUMFPACK::solve(BlockVector<std::complex<double>> &rhs_and_solution,
 
 template <class Matrix>
 void
-SparseDirectUMFPACK::solve(const Matrix &  matrix,
+SparseDirectUMFPACK::solve(const Matrix   &matrix,
                            Vector<double> &rhs_and_solution,
                            const bool      transpose /*=false*/)
 {
@@ -583,7 +583,7 @@ SparseDirectUMFPACK::solve(const Matrix &  matrix,
 
 template <class Matrix>
 void
-SparseDirectUMFPACK::solve(const Matrix &                matrix,
+SparseDirectUMFPACK::solve(const Matrix                 &matrix,
                            Vector<std::complex<double>> &rhs_and_solution,
                            const bool                    transpose /*=false*/)
 {
@@ -607,7 +607,7 @@ SparseDirectUMFPACK::solve(const Matrix &                matrix,
 
 template <class Matrix>
 void
-SparseDirectUMFPACK::solve(const Matrix &       matrix,
+SparseDirectUMFPACK::solve(const Matrix        &matrix,
                            BlockVector<double> &rhs_and_solution,
                            const bool           transpose /*=false*/)
 {
@@ -619,7 +619,7 @@ SparseDirectUMFPACK::solve(const Matrix &       matrix,
 
 template <class Matrix>
 void
-SparseDirectUMFPACK::solve(const Matrix &                     matrix,
+SparseDirectUMFPACK::solve(const Matrix                      &matrix,
                            BlockVector<std::complex<double>> &rhs_and_solution,
                            const bool transpose /*=false*/)
 {
@@ -802,7 +802,7 @@ SparseDirectUMFPACK::vmult(Vector<double> &dst, const Vector<double> &src) const
 
 
 void
-SparseDirectUMFPACK::vmult(BlockVector<double> &      dst,
+SparseDirectUMFPACK::vmult(BlockVector<double>       &dst,
                            const BlockVector<double> &src) const
 {
   dst = src;
@@ -811,7 +811,7 @@ SparseDirectUMFPACK::vmult(BlockVector<double> &      dst,
 
 
 void
-SparseDirectUMFPACK::Tvmult(Vector<double> &      dst,
+SparseDirectUMFPACK::Tvmult(Vector<double>       &dst,
                             const Vector<double> &src) const
 {
   dst = src;
@@ -821,7 +821,7 @@ SparseDirectUMFPACK::Tvmult(Vector<double> &      dst,
 
 
 void
-SparseDirectUMFPACK::Tvmult(BlockVector<double> &      dst,
+SparseDirectUMFPACK::Tvmult(BlockVector<double>       &dst,
                             const BlockVector<double> &src) const
 {
   dst = src;
index 118ed392121aa9fef5958103bb33a35df6a737f0..50e4e46ed246953c833f3a660a67b4261c89a1eb 100644 (file)
@@ -23,10 +23,10 @@ template class SparseVanka<float>;
 template class SparseVanka<double>;
 
 template void
-SparseVanka<double>::vmult<float>(Vector<float> &      dst,
+SparseVanka<double>::vmult<float>(Vector<float>       &dst,
                                   const Vector<float> &src) const;
 template void
-SparseVanka<double>::vmult<double>(Vector<double> &      dst,
+SparseVanka<double>::vmult<double>(Vector<double>       &dst,
                                    const Vector<double> &src) const;
 
 
@@ -34,10 +34,10 @@ template class SparseBlockVanka<float>;
 template class SparseBlockVanka<double>;
 
 template void
-SparseBlockVanka<double>::vmult<float>(Vector<float> &      dst,
+SparseBlockVanka<double>::vmult<float>(Vector<float>       &dst,
                                        const Vector<float> &src) const;
 template void
-SparseBlockVanka<double>::vmult<double>(Vector<double> &      dst,
+SparseBlockVanka<double>::vmult<double>(Vector<double>       &dst,
                                         const Vector<double> &src) const;
 
 DEAL_II_NAMESPACE_CLOSE
index eecbfb61e227d90c2baf16c52bcdafac5a6282e0..f20e8cae8d31abd728132af465988dc66eac9cd6 100644 (file)
@@ -587,10 +587,10 @@ SparsityPattern::copy_from(const FullMatrix<number> &matrix)
           // anyway because it's the diagonal entry of a square
           // matrix
           if (matrix_is_square && (col == row))
-          {
-            column_indices[current_index] = row;
-            ++current_index;
-          }
+            {
+              column_indices[current_index] = row;
+              ++current_index;
+            }
 
       // check that we really added the correct number of indices
       Assert(current_index == entries_per_row[row], ExcInternalError());
@@ -829,7 +829,7 @@ SparsityPattern::add_entries(const size_type row,
 
 
 void
-SparsityPattern::add_row_entries(const size_type &                 row,
+SparsityPattern::add_row_entries(const size_type                  &row,
                                  const ArrayView<const size_type> &columns,
                                  const bool indices_are_sorted)
 {
index f6844f0b7b3e0e2efda0cd5a68905d393c6e92d9..b11d573c082d05f9e1060a303562910bc556d103 100644 (file)
@@ -54,10 +54,10 @@ namespace SparsityTools
   namespace
   {
     void
-    partition_metis(const SparsityPattern &          sparsity_pattern,
+    partition_metis(const SparsityPattern           &sparsity_pattern,
                     const std::vector<unsigned int> &cell_weights,
                     const unsigned int               n_partitions,
-                    std::vector<unsigned int> &      partition_indices)
+                    std::vector<unsigned int>       &partition_indices)
     {
       // Make sure that METIS is actually
       // installed and detected
@@ -254,7 +254,7 @@ namespace SparsityTools
                   ZOLTAN_ID_PTR /*localID*/,
                   int * /*num_edges*/,
                   ZOLTAN_ID_PTR nborGID,
-                  int *         nborProc,
+                  int          *nborProc,
                   int /*wgt_dim*/,
                   float * /*ewgts*/,
                   int *ierr)
@@ -263,7 +263,7 @@ namespace SparsityTools
       *ierr                  = ZOLTAN_OK;
 
       ZOLTAN_ID_PTR nextNborGID  = nborGID;
-      int *         nextNborProc = nborProc;
+      int          *nextNborProc = nborProc;
 
       // Loop through rows corresponding to indices in globalID implicitly
       for (SparsityPattern::size_type i = 0;
@@ -289,10 +289,10 @@ namespace SparsityTools
 
 
     void
-    partition_zoltan(const SparsityPattern &          sparsity_pattern,
+    partition_zoltan(const SparsityPattern           &sparsity_pattern,
                      const std::vector<unsigned int> &cell_weights,
                      const unsigned int               n_partitions,
-                     std::vector<unsigned int> &      partition_indices)
+                     std::vector<unsigned int>       &partition_indices)
     {
       // Make sure that ZOLTAN is actually
       // installed and detected
@@ -354,13 +354,13 @@ namespace SparsityTools
       int           num_import        = 0;
       ZOLTAN_ID_PTR import_global_ids = nullptr;
       ZOLTAN_ID_PTR import_local_ids  = nullptr;
-      int *         import_procs      = nullptr;
-      int *         import_to_part    = nullptr;
+      int          *import_procs      = nullptr;
+      int          *import_to_part    = nullptr;
       int           num_export        = 0;
       ZOLTAN_ID_PTR export_global_ids = nullptr;
       ZOLTAN_ID_PTR export_local_ids  = nullptr;
-      int *         export_procs      = nullptr;
-      int *         export_to_part    = nullptr;
+      int          *export_procs      = nullptr;
+      int          *export_to_part    = nullptr;
 
       // call partitioner
       const int rc = zz->LB_Partition(changes,
@@ -396,7 +396,7 @@ namespace SparsityTools
 
 
   void
-  partition(const SparsityPattern &    sparsity_pattern,
+  partition(const SparsityPattern     &sparsity_pattern,
             const unsigned int         n_partitions,
             std::vector<unsigned int> &partition_indices,
             const Partitioner          partitioner)
@@ -413,10 +413,10 @@ namespace SparsityTools
 
 
   void
-  partition(const SparsityPattern &          sparsity_pattern,
+  partition(const SparsityPattern           &sparsity_pattern,
             const std::vector<unsigned int> &cell_weights,
             const unsigned int               n_partitions,
-            std::vector<unsigned int> &      partition_indices,
+            std::vector<unsigned int>       &partition_indices,
             const Partitioner                partitioner)
   {
     Assert(sparsity_pattern.n_rows() == sparsity_pattern.n_cols(),
@@ -452,7 +452,7 @@ namespace SparsityTools
 
 
   unsigned int
-  color_sparsity_pattern(const SparsityPattern &    sparsity_pattern,
+  color_sparsity_pattern(const SparsityPattern     &sparsity_pattern,
                          std::vector<unsigned int> &color_indices)
   {
     // Make sure that ZOLTAN is actually
@@ -486,12 +486,12 @@ namespace SparsityTools
     zz->Set_Edge_List_Multi_Fn(get_edge_list, &graph);
 
     // Variables needed by coloring function
-    int num_gid_entries = 1;
-    const int num_objects = graph.n_rows();
+    int       num_gid_entries = 1;
+    const int num_objects     = graph.n_rows();
 
     // Preallocate input variables. Element type fixed by ZOLTAN.
     std::vector<ZOLTAN_ID_TYPE> global_ids(num_objects);
-    std::vector<int> color_exp(num_objects);
+    std::vector<int>            color_exp(num_objects);
 
     // Set ids for which coloring needs to be done
     for (int i = 0; i < num_objects; ++i)
@@ -530,7 +530,7 @@ namespace SparsityTools
      */
     DynamicSparsityPattern::size_type
     find_unnumbered_starting_index(
-      const DynamicSparsityPattern &                        sparsity,
+      const DynamicSparsityPattern                         &sparsity,
       const std::vector<DynamicSparsityPattern::size_type> &new_indices)
     {
       DynamicSparsityPattern::size_type starting_point =
@@ -577,8 +577,8 @@ namespace SparsityTools
 
   void
   reorder_Cuthill_McKee(
-    const DynamicSparsityPattern &                        sparsity,
-    std::vector<DynamicSparsityPattern::size_type> &      new_indices,
+    const DynamicSparsityPattern                         &sparsity,
+    std::vector<DynamicSparsityPattern::size_type>       &new_indices,
     const std::vector<DynamicSparsityPattern::size_type> &starting_indices)
   {
     Assert(sparsity.n_rows() == sparsity.n_cols(),
@@ -724,7 +724,7 @@ namespace SparsityTools
   {
     void
     reorder_hierarchical(
-      const DynamicSparsityPattern &                  connectivity,
+      const DynamicSparsityPattern                   &connectivity,
       std::vector<DynamicSparsityPattern::size_type> &renumbering)
     {
       AssertDimension(connectivity.n_rows(), connectivity.n_cols());
@@ -896,7 +896,7 @@ namespace SparsityTools
 
   void
   reorder_hierarchical(
-    const DynamicSparsityPattern &                  connectivity,
+    const DynamicSparsityPattern                   &connectivity,
     std::vector<DynamicSparsityPattern::size_type> &renumbering)
   {
     // the internal renumbering keeps the numbering the wrong way around (but
@@ -912,9 +912,9 @@ namespace SparsityTools
 
   void
   gather_sparsity_pattern(DynamicSparsityPattern &dsp,
-                          const IndexSet &        locally_owned_rows,
+                          const IndexSet         &locally_owned_rows,
                           const MPI_Comm          mpi_comm,
-                          const IndexSet &        locally_relevant_rows)
+                          const IndexSet         &locally_relevant_rows)
   {
     using map_vec_t =
       std::map<unsigned int, std::vector<DynamicSparsityPattern::size_type>>;
@@ -1004,10 +1004,10 @@ namespace SparsityTools
 
   void
   distribute_sparsity_pattern(
-    DynamicSparsityPattern &                              dsp,
+    DynamicSparsityPattern                               &dsp,
     const std::vector<DynamicSparsityPattern::size_type> &rows_per_cpu,
     const MPI_Comm                                        mpi_comm,
-    const IndexSet &                                      myrange)
+    const IndexSet                                       &myrange)
   {
     const unsigned int myid = Utilities::MPI::this_mpi_process(mpi_comm);
     std::vector<DynamicSparsityPattern::size_type> start_index(
@@ -1026,9 +1026,9 @@ namespace SparsityTools
 
   void
   distribute_sparsity_pattern(DynamicSparsityPattern &dsp,
-                              const IndexSet &        locally_owned_rows,
+                              const IndexSet         &locally_owned_rows,
                               const MPI_Comm          mpi_comm,
-                              const IndexSet &        locally_relevant_rows)
+                              const IndexSet         &locally_relevant_rows)
   {
     IndexSet requested_rows(locally_relevant_rows);
     requested_rows.subtract_set(locally_owned_rows);
@@ -1095,7 +1095,7 @@ namespace SparsityTools
   distribute_sparsity_pattern(BlockDynamicSparsityPattern &dsp,
                               const std::vector<IndexSet> &owned_set_per_cpu,
                               const MPI_Comm               mpi_comm,
-                              const IndexSet &             myrange)
+                              const IndexSet              &myrange)
   {
     const unsigned int myid = Utilities::MPI::this_mpi_process(mpi_comm);
     distribute_sparsity_pattern(dsp,
@@ -1108,7 +1108,7 @@ namespace SparsityTools
 
   void
   distribute_sparsity_pattern(BlockDynamicSparsityPattern &dsp,
-                              const IndexSet &             locally_owned_rows,
+                              const IndexSet              &locally_owned_rows,
                               const MPI_Comm               mpi_comm,
                               const IndexSet &locally_relevant_rows)
   {
index 3f7e8b47aec22cea95725bbe51375d08eb730bc5..4f301a89801ca3a07622d0fbf32cbbc75bc8aad1 100644 (file)
@@ -19,7 +19,7 @@ for (deal_II_dimension : DIMENSIONS;
   {
     template void select_vmult<1>(
       deal_II_scalar_vectorized * dst,
-      const deal_II_scalar_vectorized *         src,
+      const deal_II_scalar_vectorized          *src,
       AlignedVector<deal_II_scalar_vectorized> &tmp,
       const unsigned int                        n_rows,
       const std::array<const deal_II_scalar_vectorized *, deal_II_dimension>
@@ -34,7 +34,7 @@ for (deal_II_dimension : DIMENSIONS;
       const std::array<const deal_II_scalar_vectorized *, deal_II_dimension>
         &eigenvectors,
       const std::array<const deal_II_scalar_vectorized *, deal_II_dimension>
-        &                              eigenvalues,
+                                      &eigenvalues,
       const deal_II_scalar_vectorized *inverted_eigenvalues);
   }
 
@@ -42,8 +42,8 @@ for (deal_II_dimension : DIMENSIONS; deal_II_scalar : REAL_SCALARS)
   {
     template void select_vmult<1>(
       deal_II_scalar * dst,
-      const deal_II_scalar *                                       src,
-      AlignedVector<deal_II_scalar> &                              tmp,
+      const deal_II_scalar                                        *src,
+      AlignedVector<deal_II_scalar>                               &tmp,
       const unsigned int                                           n_rows,
       const std::array<const deal_II_scalar *, deal_II_dimension> &mass_matrix,
       const std::array<const deal_II_scalar *, deal_II_dimension>
@@ -51,7 +51,7 @@ for (deal_II_dimension : DIMENSIONS; deal_II_scalar : REAL_SCALARS)
 
     template void select_apply_inverse<1>(
       deal_II_scalar * dst,
-      const deal_II_scalar *                                       src,
+      const deal_II_scalar                                        *src,
       const unsigned int                                           n_rows,
       const std::array<const deal_II_scalar *, deal_II_dimension> &eigenvectors,
       const std::array<const deal_II_scalar *, deal_II_dimension> &eigenvalues,
index a53eb76f5319bc36a7f5d4c36f8c6f3a3592dcd6..847ddd7973e5d2da79881d42583d98ad30e6927e 100644 (file)
@@ -78,7 +78,7 @@ TridiagonalMatrix<number>::all_zero() const
 
 template <typename number>
 void
-TridiagonalMatrix<number>::vmult(Vector<number> &      w,
+TridiagonalMatrix<number>::vmult(Vector<number>       &w,
                                  const Vector<number> &v,
                                  const bool            adding) const
 {
@@ -129,7 +129,7 @@ TridiagonalMatrix<number>::vmult(Vector<number> &      w,
 
 template <typename number>
 void
-TridiagonalMatrix<number>::vmult_add(Vector<number> &      w,
+TridiagonalMatrix<number>::vmult_add(Vector<number>       &w,
                                      const Vector<number> &v) const
 {
   vmult(w, v, /*adding = */ true);
@@ -139,7 +139,7 @@ TridiagonalMatrix<number>::vmult_add(Vector<number> &      w,
 
 template <typename number>
 void
-TridiagonalMatrix<number>::Tvmult(Vector<number> &      w,
+TridiagonalMatrix<number>::Tvmult(Vector<number>       &w,
                                   const Vector<number> &v,
                                   const bool            adding) const
 {
@@ -184,7 +184,7 @@ TridiagonalMatrix<number>::Tvmult(Vector<number> &      w,
 
 template <typename number>
 void
-TridiagonalMatrix<number>::Tvmult_add(Vector<number> &      w,
+TridiagonalMatrix<number>::Tvmult_add(Vector<number>       &w,
                                       const Vector<number> &v) const
 {
   Tvmult(w, v, true);
index f5606a0a1d1e69d59e449a381a57ec27d8ed9f4d..e76955a47897603af322098c93ab5fe19ed0462a 100644 (file)
@@ -71,7 +71,7 @@ namespace TrilinosWrappers
   template <typename BlockSparsityPatternType>
   void
   BlockSparseMatrix::reinit(
-    const std::vector<IndexSet> &   parallel_partitioning,
+    const std::vector<IndexSet>    &parallel_partitioning,
     const BlockSparsityPatternType &block_sparsity_pattern,
     const MPI_Comm                  communicator,
     const bool                      exchange_data)
@@ -162,7 +162,7 @@ namespace TrilinosWrappers
 
   void
   BlockSparseMatrix::reinit(
-    const std::vector<IndexSet> &              parallel_partitioning,
+    const std::vector<IndexSet>               &parallel_partitioning,
     const ::dealii::BlockSparseMatrix<double> &dealii_block_sparse_matrix,
     const MPI_Comm                             communicator,
     const double                               drop_tolerance)
@@ -246,7 +246,7 @@ namespace TrilinosWrappers
 
 
   TrilinosScalar
-  BlockSparseMatrix::residual(MPI::BlockVector &      dst,
+  BlockSparseMatrix::residual(MPI::BlockVector       &dst,
                               const MPI::BlockVector &x,
                               const MPI::BlockVector &b) const
   {
@@ -264,8 +264,8 @@ namespace TrilinosWrappers
   // above three more times. Use
   // templates.
   TrilinosScalar
-  BlockSparseMatrix::residual(MPI::BlockVector &      dst,
-                              const MPI::Vector &     x,
+  BlockSparseMatrix::residual(MPI::BlockVector       &dst,
+                              const MPI::Vector      &x,
                               const MPI::BlockVector &b) const
   {
     vmult(dst, x);
@@ -278,9 +278,9 @@ namespace TrilinosWrappers
 
 
   TrilinosScalar
-  BlockSparseMatrix::residual(MPI::Vector &           dst,
+  BlockSparseMatrix::residual(MPI::Vector            &dst,
                               const MPI::BlockVector &x,
-                              const MPI::Vector &     b) const
+                              const MPI::Vector      &b) const
   {
     vmult(dst, x);
     dst -= b;
@@ -292,7 +292,7 @@ namespace TrilinosWrappers
 
 
   TrilinosScalar
-  BlockSparseMatrix::residual(MPI::Vector &      dst,
+  BlockSparseMatrix::residual(MPI::Vector       &dst,
                               const MPI::Vector &x,
                               const MPI::Vector &b) const
   {
index 2b02c012e0d17d68666e861df93fcd11f56a030f..ccea3109ccd412a2a6d95f83a99cb6bce2656645 100644 (file)
@@ -116,7 +116,7 @@ namespace TrilinosWrappers
     void
     BlockVector::reinit(
       const std::vector<std::shared_ptr<const Utilities::MPI::Partitioner>>
-        &        partitioners,
+                &partitioners,
       const bool make_ghosted,
       const bool vector_writable)
     {
@@ -168,7 +168,7 @@ namespace TrilinosWrappers
     void
     BlockVector::import_nonlocal_data_for_fe(
       const TrilinosWrappers::BlockSparseMatrix &m,
-      const BlockVector &                        v)
+      const BlockVector                         &v)
     {
       AssertDimension(m.n_block_rows(), v.n_blocks());
       AssertDimension(m.n_block_cols(), v.n_blocks());
@@ -187,7 +187,7 @@ namespace TrilinosWrappers
 
 
     void
-    BlockVector::print(std::ostream &     out,
+    BlockVector::print(std::ostream      &out,
                        const unsigned int precision,
                        const bool         scientific,
                        const bool         across) const
index e800a2595f832895be7d2ca7b94ce3821fe38bc4..b1b87fffbca7a9b340762ad7494bb294328f9c40 100644 (file)
@@ -102,7 +102,7 @@ namespace LinearAlgebra
     void
     Vector::extract_subvector_to(
       const ArrayView<const types::global_dof_index> &indices,
-      ArrayView<double> &                             elements) const
+      ArrayView<double>                              &elements) const
     {
       AssertDimension(indices.size(), elements.size());
       const auto &vector = trilinos_vector();
@@ -202,7 +202,7 @@ namespace LinearAlgebra
 
       // The TargetMap and the SourceMap have their roles inverted.
       Epetra_FEVector source_vector(import_map.TargetMap());
-      double *        values = source_vector.Values();
+      double         *values = source_vector.Values();
       std::copy(V.begin(), V.end(), values);
 
       if (operation == VectorOperation::insert)
@@ -406,7 +406,7 @@ namespace LinearAlgebra
     {
       // get a representation of the vector and
       // loop over all the elements
-      double *      start_ptr = (*vector)[0];
+      double       *start_ptr = (*vector)[0];
       const double *ptr = start_ptr, *eptr = start_ptr + vector->MyLength();
       unsigned int  flag = 0;
       while (ptr != eptr)
@@ -580,7 +580,7 @@ namespace LinearAlgebra
 
 
     void
-    Vector::print(std::ostream &     out,
+    Vector::print(std::ostream      &out,
                   const unsigned int precision,
                   const bool         scientific,
                   const bool         across) const
index 140962f5cdec5101c83ccac97c6d7b6b17aa464d..e64008c27e719eeb50a18000496cc65710644c40 100644 (file)
@@ -98,7 +98,7 @@ namespace TrilinosWrappers
 
 
   void
-  PreconditionJacobi::initialize(const SparseMatrix &  matrix,
+  PreconditionJacobi::initialize(const SparseMatrix   &matrix,
                                  const AdditionalData &additional_data)
   {
     // release memory before reallocation
@@ -151,7 +151,7 @@ namespace TrilinosWrappers
 
 
   void
-  PreconditionSSOR::initialize(const SparseMatrix &  matrix,
+  PreconditionSSOR::initialize(const SparseMatrix   &matrix,
                                const AdditionalData &additional_data)
   {
     preconditioner.reset();
@@ -204,7 +204,7 @@ namespace TrilinosWrappers
 
 
   void
-  PreconditionSOR::initialize(const SparseMatrix &  matrix,
+  PreconditionSOR::initialize(const SparseMatrix   &matrix,
                               const AdditionalData &additional_data)
   {
     preconditioner.reset();
@@ -260,7 +260,7 @@ namespace TrilinosWrappers
 
 
   void
-  PreconditionBlockJacobi::initialize(const SparseMatrix &  matrix,
+  PreconditionBlockJacobi::initialize(const SparseMatrix   &matrix,
                                       const AdditionalData &additional_data)
   {
     // release memory before reallocation
@@ -329,7 +329,7 @@ namespace TrilinosWrappers
 
 
   void
-  PreconditionBlockSSOR::initialize(const SparseMatrix &  matrix,
+  PreconditionBlockSSOR::initialize(const SparseMatrix   &matrix,
                                     const AdditionalData &additional_data)
   {
     preconditioner.reset();
@@ -398,7 +398,7 @@ namespace TrilinosWrappers
 
 
   void
-  PreconditionBlockSOR::initialize(const SparseMatrix &  matrix,
+  PreconditionBlockSOR::initialize(const SparseMatrix   &matrix,
                                    const AdditionalData &additional_data)
   {
     preconditioner.reset();
@@ -462,7 +462,7 @@ namespace TrilinosWrappers
 
 
   void
-  PreconditionIC::initialize(const SparseMatrix &  matrix,
+  PreconditionIC::initialize(const SparseMatrix   &matrix,
                              const AdditionalData &additional_data)
   {
     preconditioner.reset();
@@ -512,7 +512,7 @@ namespace TrilinosWrappers
 
 
   void
-  PreconditionILU::initialize(const SparseMatrix &  matrix,
+  PreconditionILU::initialize(const SparseMatrix   &matrix,
                               const AdditionalData &additional_data)
   {
     preconditioner.reset();
@@ -565,7 +565,7 @@ namespace TrilinosWrappers
 
 
   void
-  PreconditionILUT::initialize(const SparseMatrix &  matrix,
+  PreconditionILUT::initialize(const SparseMatrix   &matrix,
                                const AdditionalData &additional_data)
   {
     preconditioner.reset();
@@ -612,7 +612,7 @@ namespace TrilinosWrappers
 
 
   void
-  PreconditionBlockwiseDirect::initialize(const SparseMatrix &  matrix,
+  PreconditionBlockwiseDirect::initialize(const SparseMatrix   &matrix,
                                           const AdditionalData &additional_data)
   {
     preconditioner.reset();
@@ -664,7 +664,7 @@ namespace TrilinosWrappers
 
 
   void
-  PreconditionChebyshev::initialize(const SparseMatrix &  matrix,
+  PreconditionChebyshev::initialize(const SparseMatrix   &matrix,
                                     const AdditionalData &additional_data)
   {
     preconditioner =
@@ -763,14 +763,14 @@ namespace TrilinosWrappers
   }
 
   void
-  PreconditionIdentity::vmult(dealii::Vector<double> &      dst,
+  PreconditionIdentity::vmult(dealii::Vector<double>       &dst,
                               const dealii::Vector<double> &src) const
   {
     dst = src;
   }
 
   void
-  PreconditionIdentity::Tvmult(dealii::Vector<double> &      dst,
+  PreconditionIdentity::Tvmult(dealii::Vector<double>       &dst,
                                const dealii::Vector<double> &src) const
   {
     dst = src;
@@ -779,7 +779,7 @@ namespace TrilinosWrappers
 #  ifndef DOXYGEN
   void
   PreconditionIdentity::vmult(
-    LinearAlgebra::distributed::Vector<double> &      dst,
+    LinearAlgebra::distributed::Vector<double>       &dst,
     const LinearAlgebra::distributed::Vector<double> &src) const
   {
     dst = src;
@@ -787,7 +787,7 @@ namespace TrilinosWrappers
 
   void
   PreconditionIdentity::Tvmult(
-    LinearAlgebra::distributed::Vector<double> &      dst,
+    LinearAlgebra::distributed::Vector<double>       &dst,
     const LinearAlgebra::distributed::Vector<double> &src) const
   {
     dst = src;
index d668c1c12ceb562fb06ad66353564f75f89764cb..302fee6b5f8139fd1204399c0f037b766ab7e769 100644 (file)
@@ -46,8 +46,8 @@ namespace TrilinosWrappers
     const unsigned int                    smoother_sweeps,
     const unsigned int                    smoother_overlap,
     const bool                            output_details,
-    const char *                          smoother_type,
-    const char *                          coarse_type)
+    const char                           *smoother_type,
+    const char                           *coarse_type)
     : elliptic(elliptic)
     , higher_order_elements(higher_order_elements)
     , n_cycles(n_cycles)
@@ -65,9 +65,9 @@ namespace TrilinosWrappers
 
   void
   PreconditionAMG::AdditionalData::set_parameters(
-    Teuchos::ParameterList &             parameter_list,
+    Teuchos::ParameterList              &parameter_list,
     std::unique_ptr<Epetra_MultiVector> &distributed_constant_modes,
-    const Epetra_RowMatrix &             matrix) const
+    const Epetra_RowMatrix              &matrix) const
   {
     if (elliptic == true)
       {
@@ -125,9 +125,9 @@ namespace TrilinosWrappers
 
   void
   PreconditionAMG::AdditionalData::set_operator_null_space(
-    Teuchos::ParameterList &             parameter_list,
+    Teuchos::ParameterList              &parameter_list,
     std::unique_ptr<Epetra_MultiVector> &ptr_distributed_constant_modes,
-    const Epetra_RowMatrix &             matrix) const
+    const Epetra_RowMatrix              &matrix) const
   {
     const Epetra_Map &domain_map = matrix.OperatorDomainMap();
 
@@ -186,9 +186,9 @@ namespace TrilinosWrappers
 
   void
   PreconditionAMG::AdditionalData::set_parameters(
-    Teuchos::ParameterList &             parameter_list,
+    Teuchos::ParameterList              &parameter_list,
     std::unique_ptr<Epetra_MultiVector> &distributed_constant_modes,
-    const SparseMatrix &                 matrix) const
+    const SparseMatrix                  &matrix) const
   {
     return set_parameters(parameter_list,
                           distributed_constant_modes,
@@ -199,9 +199,9 @@ namespace TrilinosWrappers
 
   void
   PreconditionAMG::AdditionalData::set_operator_null_space(
-    Teuchos::ParameterList &             parameter_list,
+    Teuchos::ParameterList              &parameter_list,
     std::unique_ptr<Epetra_MultiVector> &distributed_constant_modes,
-    const SparseMatrix &                 matrix) const
+    const SparseMatrix                  &matrix) const
   {
     return set_operator_null_space(parameter_list,
                                    distributed_constant_modes,
@@ -219,7 +219,7 @@ namespace TrilinosWrappers
 
 
   void
-  PreconditionAMG::initialize(const SparseMatrix &  matrix,
+  PreconditionAMG::initialize(const SparseMatrix   &matrix,
                               const AdditionalData &additional_data)
   {
     initialize(matrix.trilinos_matrix(), additional_data);
@@ -229,7 +229,7 @@ namespace TrilinosWrappers
 
   void
   PreconditionAMG::initialize(const Epetra_RowMatrix &matrix,
-                              const AdditionalData &  additional_data)
+                              const AdditionalData   &additional_data)
   {
     // Build the AMG preconditioner.
     Teuchos::ParameterList              ml_parameters;
@@ -254,7 +254,7 @@ namespace TrilinosWrappers
 
 
   void
-  PreconditionAMG::initialize(const SparseMatrix &          matrix,
+  PreconditionAMG::initialize(const SparseMatrix           &matrix,
                               const Teuchos::ParameterList &ml_parameters)
   {
     initialize(matrix.trilinos_matrix(), ml_parameters);
@@ -263,7 +263,7 @@ namespace TrilinosWrappers
 
 
   void
-  PreconditionAMG::initialize(const Epetra_RowMatrix &      matrix,
+  PreconditionAMG::initialize(const Epetra_RowMatrix       &matrix,
                               const Teuchos::ParameterList &ml_parameters)
   {
     preconditioner.reset(
@@ -276,9 +276,9 @@ namespace TrilinosWrappers
   void
   PreconditionAMG::initialize(
     const ::dealii::SparseMatrix<number> &deal_ii_sparse_matrix,
-    const AdditionalData &                additional_data,
+    const AdditionalData                 &additional_data,
     const double                          drop_tolerance,
-    const ::dealii::SparsityPattern *     use_this_sparsity)
+    const ::dealii::SparsityPattern      *use_this_sparsity)
   {
     preconditioner.reset();
     const size_type n_rows = deal_ii_sparse_matrix.m();
index c0c6c77d69b7983c4abca4dd9a81c0fda2e6de91..58810669a92cdd1908241fa7bc2f0371242f5cdf 100644 (file)
@@ -37,8 +37,8 @@ namespace TrilinosWrappers
     const unsigned int                    smoother_sweeps,
     const unsigned int                    smoother_overlap,
     const bool                            output_details,
-    const char *                          smoother_type,
-    const char *                          coarse_type)
+    const char                           *smoother_type,
+    const char                           *coarse_type)
     : elliptic(elliptic)
     , n_cycles(n_cycles)
     , w_cycle(w_cycle)
@@ -70,7 +70,7 @@ namespace TrilinosWrappers
 
 
   void
-  PreconditionAMGMueLu::initialize(const SparseMatrix &  matrix,
+  PreconditionAMGMueLu::initialize(const SparseMatrix   &matrix,
                                    const AdditionalData &additional_data)
   {
     initialize(matrix.trilinos_matrix(), additional_data);
@@ -80,7 +80,7 @@ namespace TrilinosWrappers
 
   void
   PreconditionAMGMueLu::initialize(const Epetra_CrsMatrix &matrix,
-                                   const AdditionalData &  additional_data)
+                                   const AdditionalData   &additional_data)
   {
     // Build the AMG preconditioner.
     Teuchos::ParameterList parameter_list;
@@ -183,7 +183,7 @@ namespace TrilinosWrappers
 
 
   void
-  PreconditionAMGMueLu::initialize(const SparseMatrix &    matrix,
+  PreconditionAMGMueLu::initialize(const SparseMatrix     &matrix,
                                    Teuchos::ParameterList &muelu_parameters)
   {
     initialize(matrix.trilinos_matrix(), muelu_parameters);
@@ -207,9 +207,9 @@ namespace TrilinosWrappers
   void
   PreconditionAMGMueLu::initialize(
     const ::dealii::SparseMatrix<number> &deal_ii_sparse_matrix,
-    const AdditionalData &                additional_data,
+    const AdditionalData                 &additional_data,
     const double                          drop_tolerance,
-    const ::dealii::SparsityPattern *     use_this_sparsity)
+    const ::dealii::SparsityPattern      *use_this_sparsity)
   {
     preconditioner.reset();
     const size_type n_rows = deal_ii_sparse_matrix.m();
index 1a73295d1a1c7fe33ab0cbd71002ce54359aaa51..fc2c67c517d79046edeaa363490c46c1dbabcafe 100644 (file)
@@ -55,8 +55,8 @@ namespace TrilinosWrappers
 
 
   SolverBase::SolverBase(const SolverBase::SolverName solver_name,
-                         SolverControl &              cn,
-                         const AdditionalData &       data)
+                         SolverControl               &cn,
+                         const AdditionalData        &data)
     : solver_name(solver_name)
     , solver_control(cn)
     , additional_data(data)
@@ -73,9 +73,9 @@ namespace TrilinosWrappers
 
 
   void
-  SolverBase::solve(const SparseMatrix &    A,
-                    MPI::Vector &           x,
-                    const MPI::Vector &     b,
+  SolverBase::solve(const SparseMatrix     &A,
+                    MPI::Vector            &x,
+                    const MPI::Vector      &b,
                     const PreconditionBase &preconditioner)
   {
     // We need an Epetra_LinearProblem object to let the AztecOO solver know
@@ -93,9 +93,9 @@ namespace TrilinosWrappers
   // Note: "A" is set as a constant reference so that all patterns for ::solve
   //       can be used by the inverse_operator of LinearOperator
   void
-  SolverBase::solve(const Epetra_Operator A,
-                    MPI::Vector &           x,
-                    const MPI::Vector &     b,
+  SolverBase::solve(const Epetra_Operator  &A,
+                    MPI::Vector            &x,
+                    const MPI::Vector      &b,
                     const PreconditionBase &preconditioner)
   {
     // We need an Epetra_LinearProblem object to let the AztecOO solver know
@@ -115,8 +115,8 @@ namespace TrilinosWrappers
   //       can be used by the inverse_operator of LinearOperator
   void
   SolverBase::solve(const Epetra_Operator &A,
-                    MPI::Vector &          x,
-                    const MPI::Vector &    b,
+                    MPI::Vector           &x,
+                    const MPI::Vector     &b,
                     const Epetra_Operator &preconditioner)
   {
     // We need an Epetra_LinearProblem object to let the AztecOO solver know
@@ -135,10 +135,10 @@ namespace TrilinosWrappers
   // Note: "A" is set as a constant reference so that all patterns for ::solve
   //       can be used by the inverse_operator of LinearOperator
   void
-  SolverBase::solve(const Epetra_Operator &   A,
-                    Epetra_MultiVector &      x,
+  SolverBase::solve(const Epetra_Operator    &A,
+                    Epetra_MultiVector       &x,
                     const Epetra_MultiVector &b,
-                    const PreconditionBase &  preconditioner)
+                    const PreconditionBase   &preconditioner)
   {
     // We need an Epetra_LinearProblem object to let the AztecOO solver know
     // about the matrix and vectors.
@@ -156,10 +156,10 @@ namespace TrilinosWrappers
   // Note: "A" is set as a constant reference so that all patterns for ::solve
   //       can be used by the inverse_operator of LinearOperator
   void
-  SolverBase::solve(const Epetra_Operator &   A,
-                    Epetra_MultiVector &      x,
+  SolverBase::solve(const Epetra_Operator    &A,
+                    Epetra_MultiVector       &x,
                     const Epetra_MultiVector &b,
-                    const Epetra_Operator &   preconditioner)
+                    const Epetra_Operator    &preconditioner)
   {
     // We need an Epetra_LinearProblem object to let the AztecOO solver know
     // about the matrix and vectors.
@@ -175,10 +175,10 @@ namespace TrilinosWrappers
 
 
   void
-  SolverBase::solve(const SparseMatrix &          A,
-                    dealii::Vector<double> &      x,
+  SolverBase::solve(const SparseMatrix           &A,
+                    dealii::Vector<double>       &x,
                     const dealii::Vector<double> &b,
-                    const PreconditionBase &      preconditioner)
+                    const PreconditionBase       &preconditioner)
   {
     // In case we call the solver with deal.II vectors, we create views of the
     // vectors in Epetra format.
@@ -205,10 +205,10 @@ namespace TrilinosWrappers
 
 
   void
-  SolverBase::solve(Epetra_Operator &             A,
-                    dealii::Vector<double> &      x,
+  SolverBase::solve(Epetra_Operator              &A,
+                    dealii::Vector<double>       &x,
                     const dealii::Vector<double> &b,
-                    const PreconditionBase &      preconditioner)
+                    const PreconditionBase       &preconditioner)
   {
     Epetra_Vector ep_x(View, A.OperatorDomainMap(), x.begin());
     Epetra_Vector ep_b(View,
@@ -225,8 +225,8 @@ namespace TrilinosWrappers
 
 
   void
-  SolverBase::solve(const SparseMatrix &                                      A,
-                    dealii::LinearAlgebra::distributed::Vector<double> &      x,
+  SolverBase::solve(const SparseMatrix                                       &A,
+                    dealii::LinearAlgebra::distributed::Vector<double>       &x,
                     const dealii::LinearAlgebra::distributed::Vector<double> &b,
                     const PreconditionBase &preconditioner)
   {
@@ -253,8 +253,8 @@ namespace TrilinosWrappers
 
 
   void
-  SolverBase::solve(Epetra_Operator &                                         A,
-                    dealii::LinearAlgebra::distributed::Vector<double> &      x,
+  SolverBase::solve(Epetra_Operator                                          &A,
+                    dealii::LinearAlgebra::distributed::Vector<double>       &x,
                     const dealii::LinearAlgebra::distributed::Vector<double> &b,
                     const PreconditionBase &preconditioner)
   {
@@ -564,7 +564,7 @@ namespace TrilinosWrappers
 
   template <>
   void
-  SolverBase::set_preconditioner(AztecOO &               solver,
+  SolverBase::set_preconditioner(AztecOO                &solver,
                                  const PreconditionBase &preconditioner)
   {
     // Introduce the preconditioner, if the identity preconditioner is used,
@@ -582,7 +582,7 @@ namespace TrilinosWrappers
 
   template <>
   void
-  SolverBase::set_preconditioner(AztecOO &              solver,
+  SolverBase::set_preconditioner(AztecOO               &solver,
                                  const Epetra_Operator &preconditioner)
   {
     const int ierr =
@@ -727,7 +727,7 @@ namespace TrilinosWrappers
 
   void
   SolverDirect::solve(
-    dealii::LinearAlgebra::distributed::Vector<double> &      x,
+    dealii::LinearAlgebra::distributed::Vector<double>       &x,
     const dealii::LinearAlgebra::distributed::Vector<double> &b)
   {
     Epetra_Vector ep_x(View,
@@ -813,8 +813,8 @@ namespace TrilinosWrappers
 
   void
   SolverDirect::solve(const SparseMatrix &A,
-                      MPI::Vector &       x,
-                      const MPI::Vector b)
+                      MPI::Vector        &x,
+                      const MPI::Vector  &b)
   {
     // We need an Epetra_LinearProblem object to let the Amesos solver know
     // about the matrix and vectors.
@@ -829,8 +829,8 @@ namespace TrilinosWrappers
 
 
   void
-  SolverDirect::solve(const SparseMatrix &          A,
-                      dealii::Vector<double> &      x,
+  SolverDirect::solve(const SparseMatrix           &A,
+                      dealii::Vector<double>       &x,
                       const dealii::Vector<double> &b)
   {
     // In case we call the solver with deal.II vectors, we create views of the
@@ -856,8 +856,8 @@ namespace TrilinosWrappers
 
   void
   SolverDirect::solve(
-    const SparseMatrix &                                      A,
-    dealii::LinearAlgebra::distributed::Vector<double> &      x,
+    const SparseMatrix                                       &A,
+    dealii::LinearAlgebra::distributed::Vector<double>       &x,
     const dealii::LinearAlgebra::distributed::Vector<double> &b)
   {
     AssertDimension(x.locally_owned_size(),
index 971b7ccca205ba150a9a775b5dbab19ab51faa66..1d0fec67b2a87ae225dc3b46d3091de0948f926b 100644 (file)
@@ -268,7 +268,7 @@ namespace TrilinosWrappers
 
 
 
-  SparseMatrix::SparseMatrix(const IndexSet &   parallel_partitioning,
+  SparseMatrix::SparseMatrix(const IndexSet    &parallel_partitioning,
                              const MPI_Comm     communicator,
                              const unsigned int n_max_entries_per_row)
     : column_space_map(new Epetra_Map(
@@ -396,7 +396,7 @@ namespace TrilinosWrappers
 
             int             n_entries, rhs_n_entries;
             TrilinosScalar *value_ptr, *rhs_value_ptr;
-            int *           index_ptr, *rhs_index_ptr;
+            int            *index_ptr, *rhs_index_ptr;
             int             ierr = rhs.matrix->ExtractMyRowView(row_local,
                                                     rhs_n_entries,
                                                     rhs_value_ptr,
@@ -448,15 +448,15 @@ namespace TrilinosWrappers
 
     template <typename SparsityPatternType>
     void
-    reinit_matrix(const IndexSet &             row_parallel_partitioning,
-                  const IndexSet &             column_parallel_partitioning,
-                  const SparsityPatternType &  sparsity_pattern,
+    reinit_matrix(const IndexSet              &row_parallel_partitioning,
+                  const IndexSet              &column_parallel_partitioning,
+                  const SparsityPatternType   &sparsity_pattern,
                   const bool                   exchange_data,
                   const MPI_Comm               communicator,
                   std::unique_ptr<Epetra_Map> &column_space_map,
                   std::unique_ptr<Epetra_FECrsMatrix> &matrix,
-                  std::unique_ptr<Epetra_CrsMatrix> &  nonlocal_matrix,
-                  std::unique_ptr<Epetra_Export> &     nonlocal_matrix_exporter)
+                  std::unique_ptr<Epetra_CrsMatrix>   &nonlocal_matrix,
+                  std::unique_ptr<Epetra_Export>      &nonlocal_matrix_exporter)
     {
       // release memory before reallocation
       matrix.reset();
@@ -584,7 +584,7 @@ namespace TrilinosWrappers
     {
     public:
       Epetra_CrsGraphMod(const Epetra_Map &row_map,
-                         const int *       n_entries_per_row)
+                         const int        *n_entries_per_row)
         : Epetra_CrsGraph(Copy, row_map, n_entries_per_row, true)
       {}
 
@@ -601,15 +601,15 @@ namespace TrilinosWrappers
     // more information about the non-locally owned rows
     template <>
     void
-    reinit_matrix(const IndexSet &              row_parallel_partitioning,
-                  const IndexSet &              column_parallel_partitioning,
+    reinit_matrix(const IndexSet               &row_parallel_partitioning,
+                  const IndexSet               &column_parallel_partitioning,
                   const DynamicSparsityPattern &sparsity_pattern,
                   const bool                    exchange_data,
                   const MPI_Comm                communicator,
-                  std::unique_ptr<Epetra_Map> column_space_map,
+                  std::unique_ptr<Epetra_Map>  &column_space_map,
                   std::unique_ptr<Epetra_FECrsMatrix> &matrix,
-                  std::unique_ptr<Epetra_CrsMatrix> &  nonlocal_matrix,
-                  std::unique_ptr<Epetra_Export> &     nonlocal_matrix_exporter)
+                  std::unique_ptr<Epetra_CrsMatrix>   &nonlocal_matrix,
+                  std::unique_ptr<Epetra_Export>      &nonlocal_matrix_exporter)
     {
       matrix.reset();
       nonlocal_matrix.reset();
@@ -797,8 +797,8 @@ namespace TrilinosWrappers
   template <typename SparsityPatternType>
   inline std::enable_if_t<
     !std::is_same_v<SparsityPatternType, dealii::SparseMatrix<double>>>
-  SparseMatrix::reinit(const IndexSet &           row_parallel_partitioning,
-                       const IndexSet &           col_parallel_partitioning,
+  SparseMatrix::reinit(const IndexSet            &row_parallel_partitioning,
+                       const IndexSet            &col_parallel_partitioning,
                        const SparsityPatternType &sparsity_pattern,
                        const MPI_Comm             communicator,
                        const bool                 exchange_data)
@@ -874,13 +874,13 @@ namespace TrilinosWrappers
   template <typename number>
   inline void
   SparseMatrix::reinit(
-    const IndexSet &                      row_parallel_partitioning,
-    const IndexSet &                      col_parallel_partitioning,
+    const IndexSet                       &row_parallel_partitioning,
+    const IndexSet                       &col_parallel_partitioning,
     const ::dealii::SparseMatrix<number> &dealii_sparse_matrix,
     const MPI_Comm                        communicator,
     const double                          drop_tolerance,
     const bool                            copy_values,
-    const ::dealii::SparsityPattern *     use_this_sparsity)
+    const ::dealii::SparsityPattern      *use_this_sparsity)
   {
     if (copy_values == false)
       {
@@ -989,7 +989,7 @@ namespace TrilinosWrappers
     const ::dealii::SparseMatrix<number> &dealii_sparse_matrix,
     const double                          drop_tolerance,
     const bool                            copy_values,
-    const ::dealii::SparsityPattern *     use_this_sparsity)
+    const ::dealii::SparsityPattern      *use_this_sparsity)
   {
     reinit(complete_index_set(dealii_sparse_matrix.m()),
            complete_index_set(dealii_sparse_matrix.n()),
@@ -1025,7 +1025,7 @@ namespace TrilinosWrappers
         // point to the first data entry in the two
         // matrices and copy the content
         const TrilinosScalar *in_values   = input_matrix[0];
-        TrilinosScalar *      values      = (*matrix)[0];
+        TrilinosScalar       *values      = (*matrix)[0];
         const size_type       my_nonzeros = input_matrix.NumMyNonzeros();
         std::memcpy(values, in_values, my_nonzeros * sizeof(TrilinosScalar));
       }
@@ -1126,7 +1126,7 @@ namespace TrilinosWrappers
     if (local_row >= 0)
       {
         TrilinosScalar *values;
-        int *           col_indices;
+        int            *col_indices;
         int             num_entries;
         const int       ierr =
           matrix->ExtractMyRowView(local_row, num_entries, values, col_indices);
@@ -1193,7 +1193,7 @@ namespace TrilinosWrappers
         // of a view of the row.
         int             nnz_present = matrix->NumMyEntries(trilinos_i);
         int             nnz_extracted;
-        int *           col_indices;
+        int            *col_indices;
         TrilinosScalar *values;
 
         // Generate the view and make
@@ -1269,7 +1269,7 @@ namespace TrilinosWrappers
         // of a view of the row.
         int             nnz_present = matrix->NumMyEntries(trilinos_i);
         int             nnz_extracted;
-        int *           col_indices;
+        int            *col_indices;
         TrilinosScalar *values;
 
         // Generate the view and make
@@ -1358,8 +1358,8 @@ namespace TrilinosWrappers
 
 
   void
-  SparseMatrix::set(const std::vector<size_type> &    row_indices,
-                    const std::vector<size_type> &    col_indices,
+  SparseMatrix::set(const std::vector<size_type>     &row_indices,
+                    const std::vector<size_type>     &col_indices,
                     const FullMatrix<TrilinosScalar> &values,
                     const bool                        elide_zero_values)
   {
@@ -1380,7 +1380,7 @@ namespace TrilinosWrappers
 
   void
   SparseMatrix::set(const size_type                    row,
-                    const std::vector<size_type> &     col_indices,
+                    const std::vector<size_type>      &col_indices,
                     const std::vector<TrilinosScalar> &values,
                     const bool                         elide_zero_values)
   {
@@ -1400,7 +1400,7 @@ namespace TrilinosWrappers
   void
   SparseMatrix::set<TrilinosScalar>(const size_type       row,
                                     const size_type       n_cols,
-                                    const size_type *     col_indices,
+                                    const size_type      *col_indices,
                                     const TrilinosScalar *values,
                                     const bool            elide_zero_values)
   {
@@ -1418,7 +1418,7 @@ namespace TrilinosWrappers
     last_action = Insert;
 
     const TrilinosWrappers::types::int_type *col_index_ptr;
-    const TrilinosScalar *                   col_value_ptr;
+    const TrilinosScalar                    *col_value_ptr;
     const TrilinosWrappers::types::int_type  trilinos_row = row;
     TrilinosWrappers::types::int_type        n_columns;
 
@@ -1532,7 +1532,7 @@ namespace TrilinosWrappers
 
 
   void
-  SparseMatrix::add(const std::vector<size_type> &    indices,
+  SparseMatrix::add(const std::vector<size_type>     &indices,
                     const FullMatrix<TrilinosScalar> &values,
                     const bool                        elide_zero_values)
   {
@@ -1551,8 +1551,8 @@ namespace TrilinosWrappers
 
 
   void
-  SparseMatrix::add(const std::vector<size_type> &    row_indices,
-                    const std::vector<size_type> &    col_indices,
+  SparseMatrix::add(const std::vector<size_type>     &row_indices,
+                    const std::vector<size_type>     &col_indices,
                     const FullMatrix<TrilinosScalar> &values,
                     const bool                        elide_zero_values)
   {
@@ -1573,7 +1573,7 @@ namespace TrilinosWrappers
 
   void
   SparseMatrix::add(const size_type                    row,
-                    const std::vector<size_type> &     col_indices,
+                    const std::vector<size_type>      &col_indices,
                     const std::vector<TrilinosScalar> &values,
                     const bool                         elide_zero_values)
   {
@@ -1592,7 +1592,7 @@ namespace TrilinosWrappers
   void
   SparseMatrix::add(const size_type       row,
                     const size_type       n_cols,
-                    const size_type *     col_indices,
+                    const size_type      *col_indices,
                     const TrilinosScalar *values,
                     const bool            elide_zero_values,
                     const bool /*col_indices_are_sorted*/)
@@ -1612,7 +1612,7 @@ namespace TrilinosWrappers
     last_action = Add;
 
     const TrilinosWrappers::types::int_type *col_index_ptr;
-    const TrilinosScalar *                   col_value_ptr;
+    const TrilinosScalar                    *col_value_ptr;
     const TrilinosWrappers::types::int_type  trilinos_row = row;
     TrilinosWrappers::types::int_type        n_columns;
 
@@ -1731,7 +1731,7 @@ namespace TrilinosWrappers
                         "")
                   << " has the following indices:" << std::endl;
         std::vector<TrilinosWrappers::types::int_type> indices;
-        const Epetra_CrsGraph *                        graph =
+        const Epetra_CrsGraph                         *graph =
           (nonlocal_matrix.get() != nullptr &&
            matrix->RowMap().MyGID(
              static_cast<TrilinosWrappers::types::int_type>(row)) == false) ?
@@ -1801,7 +1801,7 @@ namespace TrilinosWrappers
         // map.
         int             n_entries, rhs_n_entries;
         TrilinosScalar *value_ptr, *rhs_value_ptr;
-        int *           index_ptr, *rhs_index_ptr;
+        int            *index_ptr, *rhs_index_ptr;
         int             ierr = rhs.matrix->ExtractMyRowView(row_local,
                                                 rhs_n_entries,
                                                 rhs_value_ptr,
@@ -1946,7 +1946,7 @@ namespace TrilinosWrappers
       {}
 
       inline void
-      check_vector_map_equality(const Epetra_CrsMatrix &             m,
+      check_vector_map_equality(const Epetra_CrsMatrix              &m,
                                 const TrilinosWrappers::MPI::Vector &in,
                                 const TrilinosWrappers::MPI::Vector &out)
       {
@@ -2117,7 +2117,7 @@ namespace TrilinosWrappers
 
 
   TrilinosScalar
-  SparseMatrix::residual(MPI::Vector &      dst,
+  SparseMatrix::residual(MPI::Vector       &dst,
                          const MPI::Vector &x,
                          const MPI::Vector &b) const
   {
@@ -2137,8 +2137,8 @@ namespace TrilinosWrappers
     void
     perform_mmult(const SparseMatrix &inputleft,
                   const SparseMatrix &inputright,
-                  SparseMatrix &      result,
-                  const MPI::Vector V,
+                  SparseMatrix       &result,
+                  const MPI::Vector  &V,
                   const bool          transpose_left)
     {
       const bool use_vector = (V.size() == inputright.m() ? true : false);
@@ -2228,9 +2228,9 @@ namespace TrilinosWrappers
 
 
   void
-  SparseMatrix::mmult(SparseMatrix &      C,
+  SparseMatrix::mmult(SparseMatrix       &C,
                       const SparseMatrix &B,
-                      const MPI::Vector V) const
+                      const MPI::Vector  &V) const
   {
     internals::perform_mmult(*this, B, C, V, false);
   }
@@ -2238,9 +2238,9 @@ namespace TrilinosWrappers
 
 
   void
-  SparseMatrix::Tmmult(SparseMatrix &      C,
+  SparseMatrix::Tmmult(SparseMatrix       &C,
                        const SparseMatrix &B,
-                       const MPI::Vector V) const
+                       const MPI::Vector  &V) const
   {
     internals::perform_mmult(*this, B, C, V, true);
   }
@@ -2267,7 +2267,7 @@ namespace TrilinosWrappers
     else
       {
         double *values;
-        int *   indices;
+        int    *indices;
         int     num_entries;
 
         for (int i = 0; i < matrix->NumMyRows(); ++i)
@@ -2368,7 +2368,7 @@ namespace TrilinosWrappers
 
 
       TrilinosPayload::TrilinosPayload(
-        const TrilinosPayload &               payload_exemplar,
+        const TrilinosPayload                &payload_exemplar,
         const TrilinosWrappers::SparseMatrix &matrix)
 
         : TrilinosPayload(const_cast<Epetra_CrsMatrix &>(
@@ -2383,7 +2383,7 @@ namespace TrilinosWrappers
 
 
       TrilinosPayload::TrilinosPayload(
-        const TrilinosWrappers::SparseMatrix &    matrix_exemplar,
+        const TrilinosWrappers::SparseMatrix     &matrix_exemplar,
         const TrilinosWrappers::PreconditionBase &preconditioner)
         : TrilinosPayload(preconditioner.trilinos_operator(),
                           /*op_supports_inverse_operations = */ true,
@@ -2410,7 +2410,7 @@ namespace TrilinosWrappers
 
 
       TrilinosPayload::TrilinosPayload(
-        const TrilinosPayload &                   payload_exemplar,
+        const TrilinosPayload                    &payload_exemplar,
         const TrilinosWrappers::PreconditionBase &preconditioner)
         : TrilinosPayload(preconditioner.trilinos_operator(),
                           /*op_supports_inverse_operations = */ true,
@@ -2672,7 +2672,7 @@ namespace TrilinosWrappers
         TrilinosPayload return_op(first_op, second_op);
 
         // Capture by copy so the payloads are always valid
-        return_op.vmult = [first_op, second_op](Range &       tril_dst,
+        return_op.vmult = [first_op, second_op](Range        &tril_dst,
                                                 const Domain &tril_src) {
           // Duplicated from LinearOperator::operator*
           // TODO: Template the constructor on GrowingVectorMemory vector type?
@@ -2705,7 +2705,7 @@ namespace TrilinosWrappers
           AssertThrow(ierr == 0, ExcTrilinosError(ierr));
         };
 
-        return_op.Tvmult = [first_op, second_op](Domain &     tril_dst,
+        return_op.Tvmult = [first_op, second_op](Domain      &tril_dst,
                                                  const Range &tril_src) {
           // Duplicated from LinearOperator::operator*
           // TODO: Template the constructor on GrowingVectorMemory vector type?
@@ -2749,7 +2749,7 @@ namespace TrilinosWrappers
           const_cast<TrilinosPayload &>(second_op).transpose();
         };
 
-        return_op.inv_vmult = [first_op, second_op](Domain &     tril_dst,
+        return_op.inv_vmult = [first_op, second_op](Domain      &tril_dst,
                                                     const Range &tril_src) {
           // Duplicated from LinearOperator::operator*
           // TODO: Template the constructor on GrowingVectorMemory vector type?
@@ -2782,7 +2782,7 @@ namespace TrilinosWrappers
           AssertThrow(ierr == 0, ExcTrilinosError(ierr));
         };
 
-        return_op.inv_Tvmult = [first_op, second_op](Range &       tril_dst,
+        return_op.inv_Tvmult = [first_op, second_op](Range        &tril_dst,
                                                      const Domain &tril_src) {
           // Duplicated from LinearOperator::operator*
           // TODO: Template the constructor on GrowingVectorMemory vector type?
@@ -2848,7 +2848,7 @@ namespace TrilinosWrappers
         TrilinosPayload return_op(first_op, second_op);
 
         // Capture by copy so the payloads are always valid
-        return_op.vmult = [first_op, second_op](Range &       tril_dst,
+        return_op.vmult = [first_op, second_op](Range        &tril_dst,
                                                 const Domain &tril_src) {
           // Duplicated from LinearOperator::operator*
           // TODO: Template the constructor on GrowingVectorMemory vector type?
@@ -2879,7 +2879,7 @@ namespace TrilinosWrappers
           first_op.Apply(tril_int, tril_dst);
         };
 
-        return_op.Tvmult = [first_op, second_op](Domain &     tril_dst,
+        return_op.Tvmult = [first_op, second_op](Domain      &tril_dst,
                                                  const Range &tril_src) {
           // Duplicated from LinearOperator::operator*
           // TODO: Template the constructor on GrowingVectorMemory vector type?
@@ -2920,7 +2920,7 @@ namespace TrilinosWrappers
           const_cast<TrilinosPayload &>(second_op).transpose();
         };
 
-        return_op.inv_vmult = [first_op, second_op](Domain &     tril_dst,
+        return_op.inv_vmult = [first_op, second_op](Domain      &tril_dst,
                                                     const Range &tril_src) {
           // Duplicated from LinearOperator::operator*
           // TODO: Template the constructor on GrowingVectorMemory vector type?
@@ -2951,7 +2951,7 @@ namespace TrilinosWrappers
           second_op.ApplyInverse(tril_int, tril_dst);
         };
 
-        return_op.inv_Tvmult = [first_op, second_op](Range &       tril_dst,
+        return_op.inv_Tvmult = [first_op, second_op](Range        &tril_dst,
                                                      const Domain &tril_src) {
           // Duplicated from LinearOperator::operator*
           // TODO: Template the constructor on GrowingVectorMemory vector type?
index 59784cf5c749328c4834520035e6b19c376928e1..ccf17e785fd241c6f7437bfffa39fd4eaf14d8fc 100644 (file)
@@ -156,7 +156,7 @@ namespace TrilinosWrappers
 
 
   SparsityPattern::SparsityPattern(
-    const IndexSet &              parallel_partitioning,
+    const IndexSet               &parallel_partitioning,
     const MPI_Comm                communicator,
     const std::vector<size_type> &n_entries_per_row)
   {
@@ -182,8 +182,8 @@ namespace TrilinosWrappers
 
 
   SparsityPattern::SparsityPattern(
-    const IndexSet &              row_parallel_partitioning,
-    const IndexSet &              col_parallel_partitioning,
+    const IndexSet               &row_parallel_partitioning,
+    const IndexSet               &col_parallel_partitioning,
     const MPI_Comm                communicator,
     const std::vector<size_type> &n_entries_per_row)
   {
@@ -241,12 +241,12 @@ namespace TrilinosWrappers
     using size_type = SparsityPattern::size_type;
 
     void
-    reinit_sp(const Epetra_Map &                  row_map,
-              const Epetra_Map &                  col_map,
+    reinit_sp(const Epetra_Map                   &row_map,
+              const Epetra_Map                   &col_map,
               const size_type                     n_entries_per_row,
-              std::unique_ptr<Epetra_Map> &       column_space_map,
+              std::unique_ptr<Epetra_Map>        &column_space_map,
               std::unique_ptr<Epetra_FECrsGraph> &graph,
-              std::unique_ptr<Epetra_CrsGraph> &  nonlocal_graph)
+              std::unique_ptr<Epetra_CrsGraph>   &nonlocal_graph)
     {
       Assert(row_map.IsOneToOne(),
              ExcMessage("Row map must be 1-to-1, i.e., no overlap between "
@@ -284,9 +284,9 @@ namespace TrilinosWrappers
           Copy, row_map, n_entries_per_row, false
           // TODO: Check which new Trilinos version supports this...
           // Remember to change tests/trilinos/assemble_matrix_parallel_07, too.
-          //#if DEAL_II_TRILINOS_VERSION_GTE(11,14,0)
+          // #if DEAL_II_TRILINOS_VERSION_GTE(11,14,0)
           //                 , true
-          //#endif
+          // #endif
         );
       else
         graph = std::make_unique<Epetra_FECrsGraph>(
@@ -296,12 +296,12 @@ namespace TrilinosWrappers
 
 
     void
-    reinit_sp(const Epetra_Map &                  row_map,
-              const Epetra_Map &                  col_map,
-              const std::vector<size_type> &      n_entries_per_row,
-              std::unique_ptr<Epetra_Map> &       column_space_map,
+    reinit_sp(const Epetra_Map                   &row_map,
+              const Epetra_Map                   &col_map,
+              const std::vector<size_type>       &n_entries_per_row,
+              std::unique_ptr<Epetra_Map>        &column_space_map,
               std::unique_ptr<Epetra_FECrsGraph> &graph,
-              std::unique_ptr<Epetra_CrsGraph> &  nonlocal_graph)
+              std::unique_ptr<Epetra_CrsGraph>   &nonlocal_graph)
     {
       Assert(row_map.IsOneToOne(),
              ExcMessage("Row map must be 1-to-1, i.e., no overlap between "
@@ -343,9 +343,9 @@ namespace TrilinosWrappers
           Copy, row_map, local_entries_per_row.data(), false
           // TODO: Check which new Trilinos version supports this...
           // Remember to change tests/trilinos/assemble_matrix_parallel_07, too.
-          //#if DEAL_II_TRILINOS_VERSION_GTE(11,14,0)
+          // #if DEAL_II_TRILINOS_VERSION_GTE(11,14,0)
           //                , true
-          //#endif
+          // #endif
         );
       else
         graph = std::make_unique<Epetra_FECrsGraph>(
@@ -356,13 +356,13 @@ namespace TrilinosWrappers
 
     template <typename SparsityPatternType>
     void
-    reinit_sp(const Epetra_Map &                  row_map,
-              const Epetra_Map &                  col_map,
-              const SparsityPatternType &         sp,
+    reinit_sp(const Epetra_Map                   &row_map,
+              const Epetra_Map                   &col_map,
+              const SparsityPatternType          &sp,
               const bool                          exchange_data,
-              std::unique_ptr<Epetra_Map> &       column_space_map,
+              std::unique_ptr<Epetra_Map>        &column_space_map,
               std::unique_ptr<Epetra_FECrsGraph> &graph,
-              std::unique_ptr<Epetra_CrsGraph> &  nonlocal_graph)
+              std::unique_ptr<Epetra_CrsGraph>   &nonlocal_graph)
     {
       nonlocal_graph.reset();
       graph.reset();
@@ -494,7 +494,7 @@ namespace TrilinosWrappers
 
 
   void
-  SparsityPattern::reinit(const IndexSet &              parallel_partitioning,
+  SparsityPattern::reinit(const IndexSet               &parallel_partitioning,
                           const MPI_Comm                communicator,
                           const std::vector<size_type> &n_entries_per_row)
   {
@@ -601,8 +601,8 @@ namespace TrilinosWrappers
   template <typename SparsityPatternType>
   void
   SparsityPattern::reinit(
-    const IndexSet &           row_parallel_partitioning,
-    const IndexSet &           col_parallel_partitioning,
+    const IndexSet            &row_parallel_partitioning,
+    const IndexSet            &col_parallel_partitioning,
     const SparsityPatternType &nontrilinos_sparsity_pattern,
     const MPI_Comm             communicator,
     const bool                 exchange_data)
@@ -627,7 +627,7 @@ namespace TrilinosWrappers
   template <typename SparsityPatternType>
   void
   SparsityPattern::reinit(
-    const IndexSet &           parallel_partitioning,
+    const IndexSet            &parallel_partitioning,
     const SparsityPatternType &nontrilinos_sparsity_pattern,
     const MPI_Comm             communicator,
     const bool                 exchange_data)
@@ -981,7 +981,7 @@ namespace TrilinosWrappers
 
 
   void
-  SparsityPattern::add_row_entries(const size_type &                 row,
+  SparsityPattern::add_row_entries(const size_type                  &row,
                                    const ArrayView<const size_type> &columns,
                                    const bool indices_are_sorted)
   {
index a862ec2c03572d939d66b6e413ebe34047e90fc0..0431f266b93afbc4aba133f2a382c5458b05f9f5 100644 (file)
@@ -109,7 +109,7 @@ namespace TrilinosWrappers
 
 
     Vector::Vector(const IndexSet &parallel_partitioner,
-                   const Vector &  v,
+                   const Vector   &v,
                    const MPI_Comm  communicator)
       : Vector()
     {
@@ -543,7 +543,7 @@ namespace TrilinosWrappers
 
     void
     Vector::import_nonlocal_data_for_fe(const TrilinosWrappers::SparseMatrix &m,
-                                        const Vector &                        v)
+                                        const Vector                         &v)
     {
       Assert(m.trilinos_matrix().Filled() == true,
              ExcMessage("Matrix is not compressed. "
@@ -760,7 +760,7 @@ namespace TrilinosWrappers
     {
       // get a representation of the vector and
       // loop over all the elements
-      TrilinosScalar *      start_ptr = (*vector)[0];
+      TrilinosScalar       *start_ptr = (*vector)[0];
       const TrilinosScalar *ptr       = start_ptr,
                            *eptr = start_ptr + vector->Map().NumMyElements();
       unsigned int flag          = 0;
@@ -790,7 +790,7 @@ namespace TrilinosWrappers
     {
       // get a representation of the vector and
       // loop over all the elements
-      TrilinosScalar *      start_ptr = (*vector)[0];
+      TrilinosScalar       *start_ptr = (*vector)[0];
       const TrilinosScalar *ptr       = start_ptr,
                            *eptr = start_ptr + vector->Map().NumMyElements();
       unsigned int flag          = 0;
@@ -814,7 +814,7 @@ namespace TrilinosWrappers
 
 
     void
-    Vector::print(std::ostream &     out,
+    Vector::print(std::ostream      &out,
                   const unsigned int precision,
                   const bool         scientific,
                   const bool         across) const
index 78318693de2d9f898ec0927f1694727b55f7f43c..f853e40f261bb87cfffc3a88598ebe6862e45212 100644 (file)
@@ -31,12 +31,12 @@ namespace internal
     void
     call_stev(const char            jobz,
               const types::blas_int n,
-              Number *              d,
-              Number *              e,
-              Number *              z,
+              Number               *d,
+              Number               *e,
+              Number               *z,
               const types::blas_int ldz,
-              Number *              work,
-              types::blas_int *     info)
+              Number               *work,
+              types::blas_int      *info)
     {
       stev(&jobz, &n, d, e, z, &ldz, work, info);
     }
index ac2b2fcaaa8e533ed38208c40a7be382d84dd5a9..f3ff806e4283ef0d984d4069be1759b2e8d2d200 100644 (file)
@@ -31,13 +31,13 @@ for (SCALAR : REAL_AND_COMPLEX_SCALARS)
 for (S1, S2 : REAL_SCALARS)
   {
     template bool Vector<S1>::operator==<S2>(const Vector<S2> &) const;
-    template S1 Vector<S1>::operator*<S2>(const Vector<S2> &) const;
+    template S1   Vector<S1>::operator*<S2>(const Vector<S2> &) const;
   }
 
 for (S1, S2 : COMPLEX_SCALARS)
   {
     template bool Vector<S1>::operator==<S2>(const Vector<S2> &) const;
-    template S1 Vector<S1>::operator*<S2>(const Vector<S2> &) const;
+    template S1   Vector<S1>::operator*<S2>(const Vector<S2> &) const;
   }
 
 for (S1 : COMPLEX_SCALARS; S2 : REAL_SCALARS)
index 82196c0e2ed2250787f5865e397fb407d9501b98..83c399bfbfd78fbd2f0602f6022bedc4d5a397a9 100644 (file)
@@ -297,9 +297,9 @@ namespace internal
 
     void
     DoFInfo::reorder_cells(
-      const TaskInfo &                  task_info,
-      const std::vector<unsigned int> renumbering,
-      const std::vector<unsigned int> constraint_pool_row_index,
+      const TaskInfo                   &task_info,
+      const std::vector<unsigned int>  &renumbering,
+      const std::vector<unsigned int>  &constraint_pool_row_index,
       const std::vector<unsigned char> &irregular_cells)
     {
       (void)constraint_pool_row_index;
@@ -894,7 +894,7 @@ namespace internal
 
     void
     DoFInfo::compute_tight_partitioners(
-      const Table<2, ShapeInfo<double>> &       shape_info,
+      const Table<2, ShapeInfo<double>>        &shape_info,
       const unsigned int                        n_owned_cells,
       const unsigned int                        n_lanes,
       const std::vector<FaceToCellTopology<1>> &inner_faces,
@@ -1277,8 +1277,8 @@ namespace internal
       void
       compute_row_lengths(const unsigned int         begin,
                           const unsigned int         end,
-                          const DoFInfo &            dof_info,
-                          std::vector<std::mutex> &  mutexes,
+                          const DoFInfo             &dof_info,
+                          std::vector<std::mutex>   &mutexes,
                           std::vector<unsigned int> &row_lengths)
       {
         std::vector<unsigned int> scratch;
@@ -1316,10 +1316,10 @@ namespace internal
       void
       fill_connectivity_dofs(const unsigned int               begin,
                              const unsigned int               end,
-                             const DoFInfo &                  dof_info,
+                             const DoFInfo                   &dof_info,
                              const std::vector<unsigned int> &row_lengths,
-                             std::vector<std::mutex> &        mutexes,
-                             dealii::SparsityPattern &        connectivity_dof)
+                             std::vector<std::mutex>         &mutexes,
+                             dealii::SparsityPattern         &connectivity_dof)
       {
         std::vector<unsigned int> scratch;
         const unsigned int n_components = dof_info.start_components.back();
@@ -1354,10 +1354,10 @@ namespace internal
       void
       fill_connectivity(const unsigned int               begin,
                         const unsigned int               end,
-                        const DoFInfo &                  dof_info,
+                        const DoFInfo                   &dof_info,
                         const std::vector<unsigned int> &renumbering,
-                        const dealii::SparsityPattern &  connectivity_dof,
-                        DynamicSparsityPattern &         connectivity)
+                        const dealii::SparsityPattern   &connectivity_dof,
+                        DynamicSparsityPattern          &connectivity)
       {
         ordered_vector     row_entries;
         const unsigned int n_components = dof_info.start_components.back();
@@ -1389,9 +1389,9 @@ namespace internal
 
     void
     DoFInfo::make_connectivity_graph(
-      const TaskInfo &                 task_info,
+      const TaskInfo                  &task_info,
       const std::vector<unsigned int> &renumbering,
-      DynamicSparsityPattern &         connectivity) const
+      DynamicSparsityPattern          &connectivity) const
     {
       unsigned int n_rows = (vector_partitioner->local_range().second -
                              vector_partitioner->local_range().first) +
index 8bea79250097e4216310afe1502e20f3bde0f8ee..ab3090bc14637a2d889f270376258236d8dcd048 100644 (file)
@@ -76,7 +76,7 @@ namespace internal
       public:
         ActualCellWork(MFWorkerInterface **worker_pointer,
                        const unsigned int  partition,
-                       const TaskInfo &    task_info)
+                       const TaskInfo     &task_info)
           : worker(nullptr)
           , worker_pointer(worker_pointer)
           , partition(partition)
@@ -85,7 +85,7 @@ namespace internal
 
         ActualCellWork(MFWorkerInterface &worker,
                        const unsigned int partition,
-                       const TaskInfo &   task_info)
+                       const TaskInfo    &task_info)
           : worker(&worker)
           , worker_pointer(nullptr)
           , partition(partition)
@@ -108,10 +108,10 @@ namespace internal
         }
 
       private:
-        MFWorkerInterface worker;
+        MFWorkerInterface  *worker;
         MFWorkerInterface **worker_pointer;
         const unsigned int  partition;
-        const TaskInfo &    task_info;
+        const TaskInfo     &task_info;
       };
 
       class CellWork : public tbb::task
@@ -119,7 +119,7 @@ namespace internal
       public:
         CellWork(MFWorkerInterface &worker,
                  const unsigned int partition,
-                 const TaskInfo &   task_info,
+                 const TaskInfo    &task_info,
                  const bool         is_blocked)
           : dummy(nullptr)
           , work(worker, partition, task_info)
@@ -150,7 +150,7 @@ namespace internal
       public:
         PartitionWork(MFWorkerInterface &function_in,
                       const unsigned int partition_in,
-                      const TaskInfo &   task_info_in,
+                      const TaskInfo    &task_info_in,
                       const bool         is_blocked_in = false)
           : dummy(nullptr)
           , function(function_in)
@@ -232,7 +232,7 @@ namespace internal
       private:
         MFWorkerInterface &function;
         const unsigned int partition;
-        const TaskInfo &   task_info;
+        const TaskInfo    &task_info;
         const bool         is_blocked;
       };
 
@@ -246,7 +246,7 @@ namespace internal
       {
       public:
         CellWork(MFWorkerInterface &worker_in,
-                 const TaskInfo &   task_info_in,
+                 const TaskInfo    &task_info_in,
                  const unsigned int partition_in)
           : worker(worker_in)
           , task_info(task_info_in)
@@ -272,7 +272,7 @@ namespace internal
 
       private:
         MFWorkerInterface &worker;
-        const TaskInfo &   task_info;
+        const TaskInfo    &task_info;
         const unsigned int partition;
       };
 
@@ -283,7 +283,7 @@ namespace internal
       public:
         PartitionWork(MFWorkerInterface &worker_in,
                       const unsigned int partition_in,
-                      const TaskInfo &   task_info_in,
+                      const TaskInfo    &task_info_in,
                       const bool         is_blocked_in)
           : dummy(nullptr)
           , worker(worker_in)
@@ -312,7 +312,7 @@ namespace internal
       private:
         MFWorkerInterface &worker;
         const unsigned int partition;
-        const TaskInfo &   task_info;
+        const TaskInfo    &task_info;
         const bool         is_blocked;
       };
 
@@ -688,7 +688,7 @@ namespace internal
 
     template <typename StreamType>
     void
-    TaskInfo::print_memory_statistics(StreamType &      out,
+    TaskInfo::print_memory_statistics(StreamType       &out,
                                       const std::size_t data_length) const
     {
       Utilities::MPI::MinMaxAvg memory_c =
@@ -799,8 +799,8 @@ namespace internal
       const std::vector<unsigned int> &cell_vectorization_categories,
       const bool                       cell_vectorization_categories_strict,
       const std::vector<unsigned int> &parent_relation,
-      std::vector<unsigned int> &      renumbering,
-      std::vector<unsigned char> &     incompletely_filled_vectorization)
+      std::vector<unsigned int>       &renumbering,
+      std::vector<unsigned char>      &incompletely_filled_vectorization)
     {
       Assert(dofs_per_cell > 0, ExcInternalError());
       // This function is decomposed into several steps to determine a good
@@ -1150,8 +1150,8 @@ namespace internal
     void
     TaskInfo::initial_setup_blocks_tasks(
       const std::vector<unsigned int> &boundary_cells,
-      std::vector<unsigned int> &      renumbering,
-      std::vector<unsigned char> &     incompletely_filled_vectorization)
+      std::vector<unsigned int>       &renumbering,
+      std::vector<unsigned char>      &incompletely_filled_vectorization)
     {
       const unsigned int n_cell_batches =
         (n_active_cells + vectorization_length - 1) / vectorization_length;
@@ -1243,8 +1243,8 @@ namespace internal
 
     void
     TaskInfo::make_thread_graph_partition_color(
-      DynamicSparsityPattern &    connectivity_large,
-      std::vector<unsigned int> renumbering,
+      DynamicSparsityPattern     &connectivity_large,
+      std::vector<unsigned int>  &renumbering,
       std::vector<unsigned char> &irregular_cells,
       const bool)
     {
@@ -1391,9 +1391,9 @@ namespace internal
     void
     TaskInfo::make_thread_graph(
       const std::vector<unsigned int> &cell_active_fe_index,
-      DynamicSparsityPattern &         connectivity,
-      std::vector<unsigned int> &      renumbering,
-      std::vector<unsigned char> &     irregular_cells,
+      DynamicSparsityPattern          &connectivity,
+      std::vector<unsigned int>       &renumbering,
+      std::vector<unsigned char>      &irregular_cells,
       const bool                       hp_bool)
     {
       const unsigned int n_cell_batches = *(cell_partition_data.end() - 2);
@@ -1586,9 +1586,9 @@ namespace internal
     void
     TaskInfo::make_thread_graph_partition_partition(
       const std::vector<unsigned int> &cell_active_fe_index,
-      DynamicSparsityPattern &         connectivity,
-      std::vector<unsigned int> &      renumbering,
-      std::vector<unsigned char> &     irregular_cells,
+      DynamicSparsityPattern          &connectivity,
+      std::vector<unsigned int>       &renumbering,
+      std::vector<unsigned char>      &irregular_cells,
       const bool                       hp_bool)
     {
       const unsigned int n_cell_batches = *(cell_partition_data.end() - 2);
@@ -1654,8 +1654,8 @@ namespace internal
     void
     TaskInfo::make_connectivity_cells_to_blocks(
       const std::vector<unsigned char> &irregular_cells,
-      const DynamicSparsityPattern &    connectivity_cells,
-      DynamicSparsityPattern &          connectivity_blocks) const
+      const DynamicSparsityPattern     &connectivity_cells,
+      DynamicSparsityPattern           &connectivity_blocks) const
     {
       std::vector<std::vector<unsigned int>> cell_blocks(n_blocks);
       std::vector<unsigned int>              touched_cells(n_active_cells);
@@ -1697,7 +1697,7 @@ namespace internal
     // partition. Version without preblocking.
     void
     TaskInfo::make_partitioning_within_partitions_post_blocked(
-      const DynamicSparsityPattern &   connectivity,
+      const DynamicSparsityPattern    &connectivity,
       const std::vector<unsigned int> &cell_active_fe_index,
       const unsigned int               partition,
       const unsigned int               cluster_size,
@@ -1705,8 +1705,8 @@ namespace internal
       const std::vector<unsigned int> &cell_partition,
       const std::vector<unsigned int> &partition_list,
       const std::vector<unsigned int> &partition_size,
-      std::vector<unsigned int> &      partition_partition_list,
-      std::vector<unsigned char> &     irregular_cells)
+      std::vector<unsigned int>       &partition_partition_list,
+      std::vector<unsigned char>      &irregular_cells)
     {
       const unsigned int n_cell_batches = *(cell_partition_data.end() - 2);
       const unsigned int n_ghost_slots =
@@ -2018,12 +2018,12 @@ namespace internal
     // Version assumes preblocking.
     void
     TaskInfo::make_coloring_within_partitions_pre_blocked(
-      const DynamicSparsityPattern &   connectivity,
+      const DynamicSparsityPattern    &connectivity,
       const unsigned int               partition,
       const std::vector<unsigned int> &cell_partition,
       const std::vector<unsigned int> &partition_list,
       const std::vector<unsigned int> &partition_size,
-      std::vector<unsigned int> &      partition_color_list)
+      std::vector<unsigned int>       &partition_color_list)
     {
       const unsigned int n_cell_batches = *(cell_partition_data.end() - 2);
       std::vector<unsigned int> cell_color(n_blocks, n_cell_batches);
@@ -2095,10 +2095,10 @@ namespace internal
     void
     TaskInfo::make_partitioning(const DynamicSparsityPattern &connectivity,
                                 const unsigned int            cluster_size,
-                                std::vector<unsigned int> &   cell_partition,
-                                std::vector<unsigned int> &   partition_list,
-                                std::vector<unsigned int> &   partition_size,
-                                unsigned int &                partition) const
+                                std::vector<unsigned int>    &cell_partition,
+                                std::vector<unsigned int>    &partition_list,
+                                std::vector<unsigned int>    &partition_size,
+                                unsigned int                 &partition) const
 
     {
       // For each block of cells, this variable saves to which partitions the
index 2ce26db2c04f0adb4f7f185b45b1af742f903fdc..72b0f2f3f769570fa3c968863f83ee05eb751484 100644 (file)
@@ -87,11 +87,11 @@ namespace internal
       void
       PartitionerWrapper::export_to_ghosted_array_start(
         const unsigned int                          communication_channel,
-        const ArrayView<const double> &             locally_owned_array,
+        const ArrayView<const double>              &locally_owned_array,
         const std::vector<ArrayView<const double>> &shared_arrays,
-        const ArrayView<double> &                   ghost_array,
-        const ArrayView<double> &                   temporary_storage,
-        std::vector<MPI_Request> &                  requests) const
+        const ArrayView<double>                    &ghost_array,
+        const ArrayView<double>                    &temporary_storage,
+        std::vector<MPI_Request>                   &requests) const
       {
         (void)shared_arrays;
 #ifndef DEAL_II_WITH_MPI
@@ -113,10 +113,10 @@ namespace internal
 
       void
       PartitionerWrapper::export_to_ghosted_array_finish(
-        const ArrayView<const double> &             locally_owned_array,
+        const ArrayView<const double>              &locally_owned_array,
         const std::vector<ArrayView<const double>> &shared_arrays,
-        const ArrayView<double> &                   ghost_array,
-        std::vector<MPI_Request> &                  requests) const
+        const ArrayView<double>                    &ghost_array,
+        std::vector<MPI_Request>                   &requests) const
       {
         (void)locally_owned_array;
         (void)shared_arrays;
@@ -134,11 +134,11 @@ namespace internal
       PartitionerWrapper::import_from_ghosted_array_start(
         const VectorOperation::values               vector_operation,
         const unsigned int                          communication_channel,
-        const ArrayView<const double> &             locally_owned_array,
+        const ArrayView<const double>              &locally_owned_array,
         const std::vector<ArrayView<const double>> &shared_arrays,
-        const ArrayView<double> &                   ghost_array,
-        const ArrayView<double> &                   temporary_storage,
-        std::vector<MPI_Request> &                  requests) const
+        const ArrayView<double>                    &ghost_array,
+        const ArrayView<double>                    &temporary_storage,
+        std::vector<MPI_Request>                   &requests) const
       {
         (void)locally_owned_array;
         (void)shared_arrays;
@@ -162,11 +162,11 @@ namespace internal
       void
       PartitionerWrapper::import_from_ghosted_array_finish(
         const VectorOperation::values               vector_operation,
-        const ArrayView<double> &                   locally_owned_storage,
+        const ArrayView<double>                    &locally_owned_storage,
         const std::vector<ArrayView<const double>> &shared_arrays,
-        const ArrayView<double> &                   ghost_array,
-        const ArrayView<const double> &             temporary_storage,
-        std::vector<MPI_Request> &                  requests) const
+        const ArrayView<double>                    &ghost_array,
+        const ArrayView<const double>              &temporary_storage,
+        std::vector<MPI_Request>                   &requests) const
       {
         (void)shared_arrays;
 #ifndef DEAL_II_WITH_MPI
@@ -198,11 +198,11 @@ namespace internal
       void
       PartitionerWrapper::export_to_ghosted_array_start(
         const unsigned int                         communication_channel,
-        const ArrayView<const float> &             locally_owned_array,
+        const ArrayView<const float>              &locally_owned_array,
         const std::vector<ArrayView<const float>> &shared_arrays,
-        const ArrayView<float> &                   ghost_array,
-        const ArrayView<float> &                   temporary_storage,
-        std::vector<MPI_Request> &                 requests) const
+        const ArrayView<float>                    &ghost_array,
+        const ArrayView<float>                    &temporary_storage,
+        std::vector<MPI_Request>                  &requests) const
       {
         (void)shared_arrays;
 #ifndef DEAL_II_WITH_MPI
@@ -224,10 +224,10 @@ namespace internal
 
       void
       PartitionerWrapper::export_to_ghosted_array_finish(
-        const ArrayView<const float> &             locally_owned_array,
+        const ArrayView<const float>              &locally_owned_array,
         const std::vector<ArrayView<const float>> &shared_arrays,
-        const ArrayView<float> &                   ghost_array,
-        std::vector<MPI_Request> &                 requests) const
+        const ArrayView<float>                    &ghost_array,
+        std::vector<MPI_Request>                  &requests) const
       {
         (void)locally_owned_array;
         (void)shared_arrays;
@@ -245,11 +245,11 @@ namespace internal
       PartitionerWrapper::import_from_ghosted_array_start(
         const VectorOperation::values              vector_operation,
         const unsigned int                         communication_channel,
-        const ArrayView<const float> &             locally_owned_array,
+        const ArrayView<const float>              &locally_owned_array,
         const std::vector<ArrayView<const float>> &shared_arrays,
-        const ArrayView<float> &                   ghost_array,
-        const ArrayView<float> &                   temporary_storage,
-        std::vector<MPI_Request> &                 requests) const
+        const ArrayView<float>                    &ghost_array,
+        const ArrayView<float>                    &temporary_storage,
+        std::vector<MPI_Request>                  &requests) const
       {
         (void)locally_owned_array;
         (void)shared_arrays;
@@ -273,11 +273,11 @@ namespace internal
       void
       PartitionerWrapper::import_from_ghosted_array_finish(
         const VectorOperation::values              vector_operation,
-        const ArrayView<float> &                   locally_owned_storage,
+        const ArrayView<float>                    &locally_owned_storage,
         const std::vector<ArrayView<const float>> &shared_arrays,
-        const ArrayView<float> &                   ghost_array,
-        const ArrayView<const float> &             temporary_storage,
-        std::vector<MPI_Request> &                 requests) const
+        const ArrayView<float>                    &ghost_array,
+        const ArrayView<const float>              &temporary_storage,
+        std::vector<MPI_Request>                  &requests) const
       {
         (void)shared_arrays;
 #ifndef DEAL_II_WITH_MPI
@@ -688,11 +688,11 @@ namespace internal
       void
       Full::export_to_ghosted_array_start(
         const unsigned int                          communication_channel,
-        const ArrayView<const double> &             locally_owned_array,
+        const ArrayView<const double>              &locally_owned_array,
         const std::vector<ArrayView<const double>> &shared_arrays,
-        const ArrayView<double> &                   ghost_array,
-        const ArrayView<double> &                   temporary_storage,
-        std::vector<MPI_Request> &                  requests) const
+        const ArrayView<double>                    &ghost_array,
+        const ArrayView<double>                    &temporary_storage,
+        std::vector<MPI_Request>                   &requests) const
       {
         export_to_ghosted_array_start_impl(communication_channel,
                                            locally_owned_array,
@@ -706,10 +706,10 @@ namespace internal
 
       void
       Full::export_to_ghosted_array_finish(
-        const ArrayView<const double> &             locally_owned_array,
+        const ArrayView<const double>              &locally_owned_array,
         const std::vector<ArrayView<const double>> &shared_arrays,
-        const ArrayView<double> &                   ghost_array,
-        std::vector<MPI_Request> &                  requests) const
+        const ArrayView<double>                    &ghost_array,
+        std::vector<MPI_Request>                   &requests) const
       {
         export_to_ghosted_array_finish_impl(locally_owned_array,
                                             shared_arrays,
@@ -723,11 +723,11 @@ namespace internal
       Full::import_from_ghosted_array_start(
         const VectorOperation::values               vector_operation,
         const unsigned int                          communication_channel,
-        const ArrayView<const double> &             locally_owned_array,
+        const ArrayView<const double>              &locally_owned_array,
         const std::vector<ArrayView<const double>> &shared_arrays,
-        const ArrayView<double> &                   ghost_array,
-        const ArrayView<double> &                   temporary_storage,
-        std::vector<MPI_Request> &                  requests) const
+        const ArrayView<double>                    &ghost_array,
+        const ArrayView<double>                    &temporary_storage,
+        std::vector<MPI_Request>                   &requests) const
       {
         import_from_ghosted_array_start_impl(vector_operation,
                                              communication_channel,
@@ -743,11 +743,11 @@ namespace internal
       void
       Full::import_from_ghosted_array_finish(
         const VectorOperation::values               vector_operation,
-        const ArrayView<double> &                   locally_owned_storage,
+        const ArrayView<double>                    &locally_owned_storage,
         const std::vector<ArrayView<const double>> &shared_arrays,
-        const ArrayView<double> &                   ghost_array,
-        const ArrayView<const double> &             temporary_storage,
-        std::vector<MPI_Request> &                  requests) const
+        const ArrayView<double>                    &ghost_array,
+        const ArrayView<const double>              &temporary_storage,
+        std::vector<MPI_Request>                   &requests) const
       {
         import_from_ghosted_array_finish_impl(vector_operation,
                                               locally_owned_storage,
@@ -762,11 +762,11 @@ namespace internal
       void
       Full::export_to_ghosted_array_start(
         const unsigned int                         communication_channel,
-        const ArrayView<const float> &             locally_owned_array,
+        const ArrayView<const float>              &locally_owned_array,
         const std::vector<ArrayView<const float>> &shared_arrays,
-        const ArrayView<float> &                   ghost_array,
-        const ArrayView<float> &                   temporary_storage,
-        std::vector<MPI_Request> &                 requests) const
+        const ArrayView<float>                    &ghost_array,
+        const ArrayView<float>                    &temporary_storage,
+        std::vector<MPI_Request>                  &requests) const
       {
         export_to_ghosted_array_start_impl(communication_channel,
                                            locally_owned_array,
@@ -780,10 +780,10 @@ namespace internal
 
       void
       Full::export_to_ghosted_array_finish(
-        const ArrayView<const float> &             locally_owned_array,
+        const ArrayView<const float>              &locally_owned_array,
         const std::vector<ArrayView<const float>> &shared_arrays,
-        const ArrayView<float> &                   ghost_array,
-        std::vector<MPI_Request> &                 requests) const
+        const ArrayView<float>                    &ghost_array,
+        std::vector<MPI_Request>                  &requests) const
       {
         export_to_ghosted_array_finish_impl(locally_owned_array,
                                             shared_arrays,
@@ -797,11 +797,11 @@ namespace internal
       Full::import_from_ghosted_array_start(
         const VectorOperation::values              vector_operation,
         const unsigned int                         communication_channel,
-        const ArrayView<const float> &             locally_owned_array,
+        const ArrayView<const float>              &locally_owned_array,
         const std::vector<ArrayView<const float>> &shared_arrays,
-        const ArrayView<float> &                   ghost_array,
-        const ArrayView<float> &                   temporary_storage,
-        std::vector<MPI_Request> &                 requests) const
+        const ArrayView<float>                    &ghost_array,
+        const ArrayView<float>                    &temporary_storage,
+        std::vector<MPI_Request>                  &requests) const
       {
         import_from_ghosted_array_start_impl(vector_operation,
                                              communication_channel,
@@ -817,11 +817,11 @@ namespace internal
       void
       Full::import_from_ghosted_array_finish(
         const VectorOperation::values              vector_operation,
-        const ArrayView<float> &                   locally_owned_storage,
+        const ArrayView<float>                    &locally_owned_storage,
         const std::vector<ArrayView<const float>> &shared_arrays,
-        const ArrayView<float> &                   ghost_array,
-        const ArrayView<const float> &             temporary_storage,
-        std::vector<MPI_Request> &                 requests) const
+        const ArrayView<float>                    &ghost_array,
+        const ArrayView<const float>              &temporary_storage,
+        std::vector<MPI_Request>                  &requests) const
       {
         import_from_ghosted_array_finish_impl(vector_operation,
                                               locally_owned_storage,
@@ -837,11 +837,11 @@ namespace internal
       void
       Full::export_to_ghosted_array_start_impl(
         const unsigned int                          communication_channel,
-        const ArrayView<const Number> &             data_this,
+        const ArrayView<const Number>              &data_this,
         const std::vector<ArrayView<const Number>> &data_others,
-        const ArrayView<Number> &                   buffer,
-        const ArrayView<Number> &                   temporary_storage,
-        std::vector<MPI_Request> &                  requests) const
+        const ArrayView<Number>                    &buffer,
+        const ArrayView<Number>                    &temporary_storage,
+        std::vector<MPI_Request>                   &requests) const
       {
 #ifndef DEAL_II_WITH_MPI
         Assert(false, ExcNeedsMPI());
@@ -936,10 +936,10 @@ namespace internal
       template <typename Number>
       void
       Full::export_to_ghosted_array_finish_impl(
-        const ArrayView<const Number> &             data_this,
+        const ArrayView<const Number>              &data_this,
         const std::vector<ArrayView<const Number>> &data_others,
-        const ArrayView<Number> &                   ghost_array,
-        std::vector<MPI_Request> &                  requests) const
+        const ArrayView<Number>                    &ghost_array,
+        std::vector<MPI_Request>                   &requests) const
       {
         (void)data_this;
 
@@ -1077,11 +1077,11 @@ namespace internal
       Full::import_from_ghosted_array_start_impl(
         const VectorOperation::values               operation,
         const unsigned int                          communication_channel,
-        const ArrayView<const Number> &             data_this,
+        const ArrayView<const Number>              &data_this,
         const std::vector<ArrayView<const Number>> &data_others,
-        const ArrayView<Number> &                   buffer,
-        const ArrayView<Number> &                   temporary_storage,
-        std::vector<MPI_Request> &                  requests) const
+        const ArrayView<Number>                    &buffer,
+        const ArrayView<Number>                    &temporary_storage,
+        std::vector<MPI_Request>                   &requests) const
       {
         (void)data_this;
 
@@ -1186,8 +1186,8 @@ namespace internal
             const int ierr =
               MPI_Irecv(temporary_storage.data() + import_targets_data[i][1],
                         import_targets_data[i][2],
-                        Utilities::MPI::mpi_type_id_for_type<decltype(
-                          *temporary_storage.data())>,
+                        Utilities::MPI::mpi_type_id_for_type<
+                          decltype(*temporary_storage.data())>,
                         import_targets_data[i][0],
                         communication_channel + 0,
                         comm,
@@ -1205,11 +1205,11 @@ namespace internal
       void
       Full::import_from_ghosted_array_finish_impl(
         const VectorOperation::values               operation,
-        const ArrayView<Number> &                   data_this,
+        const ArrayView<Number>                    &data_this,
         const std::vector<ArrayView<const Number>> &data_others,
-        const ArrayView<Number> &                   buffer,
-        const ArrayView<const Number> &             temporary_storage,
-        std::vector<MPI_Request> &                  requests) const
+        const ArrayView<Number>                    &buffer,
+        const ArrayView<const Number>              &temporary_storage,
+        std::vector<MPI_Request>                   &requests) const
       {
 #ifndef DEAL_II_WITH_MPI
         Assert(false, ExcNeedsMPI());
index 6899003ec21856b1920246fb3b68e8aafd0eb59c..943f48fec09e733c574c638dc4431e6ce561c909 100644 (file)
@@ -23,12 +23,12 @@ namespace MeshWorker
 {
   template <int dim, int spacedim>
   ScratchData<dim, spacedim>::ScratchData(
-    const Mapping<dim, spacedim> &      mapping,
+    const Mapping<dim, spacedim>       &mapping,
     const FiniteElement<dim, spacedim> &fe,
-    const Quadrature<dim> &             quadrature,
-    const UpdateFlags &                 update_flags,
-    const Quadrature<dim - 1> &         face_quadrature,
-    const UpdateFlags &                 face_update_flags)
+    const Quadrature<dim>              &quadrature,
+    const UpdateFlags                  &update_flags,
+    const Quadrature<dim - 1>          &face_quadrature,
+    const UpdateFlags                  &face_update_flags)
     : mapping(&mapping)
     , fe(&fe)
     , cell_quadrature(quadrature)
@@ -46,14 +46,14 @@ namespace MeshWorker
 
   template <int dim, int spacedim>
   ScratchData<dim, spacedim>::ScratchData(
-    const Mapping<dim, spacedim> &      mapping,
+    const Mapping<dim, spacedim>       &mapping,
     const FiniteElement<dim, spacedim> &fe,
-    const Quadrature<dim> &             quadrature,
-    const UpdateFlags &                 update_flags,
-    const UpdateFlags &                 neighbor_update_flags,
-    const Quadrature<dim - 1> &         face_quadrature,
-    const UpdateFlags &                 face_update_flags,
-    const UpdateFlags &                 neighbor_face_update_flags)
+    const Quadrature<dim>              &quadrature,
+    const UpdateFlags                  &update_flags,
+    const UpdateFlags                  &neighbor_update_flags,
+    const Quadrature<dim - 1>          &face_quadrature,
+    const UpdateFlags                  &face_update_flags,
+    const UpdateFlags                  &neighbor_face_update_flags)
     : mapping(&mapping)
     , fe(&fe)
     , cell_quadrature(quadrature)
@@ -72,10 +72,10 @@ namespace MeshWorker
   template <int dim, int spacedim>
   ScratchData<dim, spacedim>::ScratchData(
     const FiniteElement<dim, spacedim> &fe,
-    const Quadrature<dim> &             quadrature,
-    const UpdateFlags &                 update_flags,
-    const Quadrature<dim - 1> &         face_quadrature,
-    const UpdateFlags &                 face_update_flags)
+    const Quadrature<dim>              &quadrature,
+    const UpdateFlags                  &update_flags,
+    const Quadrature<dim - 1>          &face_quadrature,
+    const UpdateFlags                  &face_update_flags)
     : ScratchData(fe.reference_cell()
                     .template get_default_linear_mapping<dim, spacedim>(),
                   fe,
@@ -90,12 +90,12 @@ namespace MeshWorker
   template <int dim, int spacedim>
   ScratchData<dim, spacedim>::ScratchData(
     const FiniteElement<dim, spacedim> &fe,
-    const Quadrature<dim> &             quadrature,
-    const UpdateFlags &                 update_flags,
-    const UpdateFlags &                 neighbor_update_flags,
-    const Quadrature<dim - 1> &         face_quadrature,
-    const UpdateFlags &                 face_update_flags,
-    const UpdateFlags &                 neighbor_face_update_flags)
+    const Quadrature<dim>              &quadrature,
+    const UpdateFlags                  &update_flags,
+    const UpdateFlags                  &neighbor_update_flags,
+    const Quadrature<dim - 1>          &face_quadrature,
+    const UpdateFlags                  &face_update_flags,
+    const UpdateFlags                  &neighbor_face_update_flags)
     : ScratchData(fe.reference_cell()
                     .template get_default_linear_mapping<dim, spacedim>(),
                   fe,
@@ -112,11 +112,11 @@ namespace MeshWorker
   template <int dim, int spacedim>
   ScratchData<dim, spacedim>::ScratchData(
     const hp::MappingCollection<dim, spacedim> &mapping_collection,
-    const hp::FECollection<dim, spacedim> &     fe_collection,
-    const hp::QCollection<dim> &                cell_quadrature_collection,
-    const UpdateFlags &                         cell_update_flags,
-    const hp::QCollection<dim - 1> &            face_quadrature_collection,
-    const UpdateFlags &                         face_update_flags)
+    const hp::FECollection<dim, spacedim>      &fe_collection,
+    const hp::QCollection<dim>                 &cell_quadrature_collection,
+    const UpdateFlags                          &cell_update_flags,
+    const hp::QCollection<dim - 1>             &face_quadrature_collection,
+    const UpdateFlags                          &face_update_flags)
     : mapping_collection(&mapping_collection)
     , fe_collection(&fe_collection)
     , cell_quadrature_collection(cell_quadrature_collection)
@@ -136,13 +136,13 @@ namespace MeshWorker
   template <int dim, int spacedim>
   ScratchData<dim, spacedim>::ScratchData(
     const hp::MappingCollection<dim, spacedim> &mapping_collection,
-    const hp::FECollection<dim, spacedim> &     fe_collection,
-    const hp::QCollection<dim> &                cell_quadrature_collection,
-    const UpdateFlags &                         cell_update_flags,
-    const UpdateFlags &                         neighbor_cell_update_flags,
-    const hp::QCollection<dim - 1> &            face_quadrature_collection,
-    const UpdateFlags &                         face_update_flags,
-    const UpdateFlags &                         neighbor_face_update_flags)
+    const hp::FECollection<dim, spacedim>      &fe_collection,
+    const hp::QCollection<dim>                 &cell_quadrature_collection,
+    const UpdateFlags                          &cell_update_flags,
+    const UpdateFlags                          &neighbor_cell_update_flags,
+    const hp::QCollection<dim - 1>             &face_quadrature_collection,
+    const UpdateFlags                          &face_update_flags,
+    const UpdateFlags                          &neighbor_face_update_flags)
     : mapping_collection(&mapping_collection)
     , fe_collection(&fe_collection)
     , cell_quadrature_collection(cell_quadrature_collection)
@@ -162,10 +162,10 @@ namespace MeshWorker
   template <int dim, int spacedim>
   ScratchData<dim, spacedim>::ScratchData(
     const hp::FECollection<dim, spacedim> &fe_collection,
-    const hp::QCollection<dim> &           cell_quadrature_collection,
-    const UpdateFlags &                    cell_update_flags,
-    const hp::QCollection<dim - 1> &       face_quadrature_collection,
-    const UpdateFlags &                    face_update_flags)
+    const hp::QCollection<dim>            &cell_quadrature_collection,
+    const UpdateFlags                     &cell_update_flags,
+    const hp::QCollection<dim - 1>        &face_quadrature_collection,
+    const UpdateFlags                     &face_update_flags)
     : ScratchData(fe_collection.get_reference_cell_default_linear_mapping(),
                   fe_collection,
                   cell_quadrature_collection,
@@ -179,12 +179,12 @@ namespace MeshWorker
   template <int dim, int spacedim>
   ScratchData<dim, spacedim>::ScratchData(
     const hp::FECollection<dim, spacedim> &fe_collection,
-    const hp::QCollection<dim> &           cell_quadrature_collection,
-    const UpdateFlags &                    cell_update_flags,
-    const UpdateFlags &                    neighbor_cell_update_flags,
-    const hp::QCollection<dim - 1> &       face_quadrature_collection,
-    const UpdateFlags &                    face_update_flags,
-    const UpdateFlags &                    neighbor_face_update_flags)
+    const hp::QCollection<dim>            &cell_quadrature_collection,
+    const UpdateFlags                     &cell_update_flags,
+    const UpdateFlags                     &neighbor_cell_update_flags,
+    const hp::QCollection<dim - 1>        &face_quadrature_collection,
+    const UpdateFlags                     &face_update_flags,
+    const UpdateFlags                     &neighbor_face_update_flags)
     : ScratchData(fe_collection.get_reference_cell_default_linear_mapping(),
                   fe_collection,
                   cell_quadrature_collection,
@@ -294,7 +294,7 @@ namespace MeshWorker
   ScratchData<dim, spacedim>::reinit(
     const typename DoFHandler<dim, spacedim>::active_cell_iterator &cell,
     const typename DoFHandler<dim, spacedim>::active_cell_iterator
-      &                neighbor_cell,
+                      &neighbor_cell,
     const unsigned int face_no)
   {
     Assert(hp_capability_enabled, ExcOnlyAvailableWithHP());
@@ -383,7 +383,7 @@ namespace MeshWorker
   ScratchData<dim, spacedim>::reinit(
     const typename DoFHandler<dim, spacedim>::active_cell_iterator &cell,
     const typename DoFHandler<dim, spacedim>::active_cell_iterator
-      &                neighbor_cell,
+                      &neighbor_cell,
     const unsigned int face_no,
     const unsigned int subface_no)
   {
@@ -451,7 +451,7 @@ namespace MeshWorker
     const typename DoFHandler<dim, spacedim>::active_cell_iterator &cell,
     const unsigned int                                              face_no,
     const typename DoFHandler<dim, spacedim>::active_cell_iterator
-      &                cell_neighbor,
+                      &cell_neighbor,
     const unsigned int face_no_neighbor)
   {
     return reinit(cell,
@@ -471,7 +471,7 @@ namespace MeshWorker
     const unsigned int                                              face_no,
     const unsigned int                                              sub_face_no,
     const typename DoFHandler<dim, spacedim>::active_cell_iterator
-      &                cell_neighbor,
+                      &cell_neighbor,
     const unsigned int face_no_neighbor,
     const unsigned int sub_face_no_neighbor)
   {
@@ -605,7 +605,7 @@ namespace MeshWorker
   ScratchData<dim, spacedim>::reinit_neighbor(
     const typename DoFHandler<dim, spacedim>::active_cell_iterator &cell,
     const typename DoFHandler<dim, spacedim>::active_cell_iterator
-      &                neighbor_cell,
+                      &neighbor_cell,
     const unsigned int face_no)
   {
     Assert(hp_capability_enabled, ExcOnlyAvailableWithHP());
@@ -695,7 +695,7 @@ namespace MeshWorker
   ScratchData<dim, spacedim>::reinit_neighbor(
     const typename DoFHandler<dim, spacedim>::active_cell_iterator &cell,
     const typename DoFHandler<dim, spacedim>::active_cell_iterator
-      &                neighbor_cell,
+                      &neighbor_cell,
     const unsigned int face_no,
     const unsigned int subface_no)
   {
index ec5904ae3f4cbde5eede2b495b55f5f95cd40bd0..9a1afba77a929898c726ba2fe6ad8f4f96f485ed 100644 (file)
@@ -32,8 +32,8 @@ DEAL_II_NAMESPACE_OPEN
 template <typename VectorType>
 void
 MGSmootherBase<VectorType>::apply(const unsigned int level,
-                                  VectorType &       u,
-                                  const VectorType rhs) const
+                                  VectorType        &u,
+                                  const VectorType  &rhs) const
 {
   u = typename VectorType::value_type(0.);
   smooth(level, u, rhs);
@@ -44,8 +44,8 @@ MGSmootherBase<VectorType>::apply(const unsigned int level,
 template <typename VectorType>
 void
 MGTransferBase<VectorType>::prolongate_and_add(const unsigned int to_level,
-                                               VectorType &       dst,
-                                               const VectorType src) const
+                                               VectorType        &dst,
+                                               const VectorType  &src) const
 {
   VectorType temp;
   temp.reinit(dst, true);
index 61fd9ba060c66fff091da87f76e7ce0149ee65af..709ba18794c6d5d94ba1d4840745b3e3c6c3440a 100644 (file)
@@ -160,13 +160,13 @@ namespace
   template <int dim, int spacedim, typename Number>
   void
   fill_internal(
-    const DoFHandler<dim, spacedim> &           mg_dof,
+    const DoFHandler<dim, spacedim>            &mg_dof,
     SmartPointer<const MGConstrainedDoFs>       mg_constrained_dofs,
     const MPI_Comm                              mpi_communicator,
     const bool                                  transfer_solution_vectors,
-    std::vector<Table<2, unsigned int>> &       copy_indices,
-    std::vector<Table<2, unsigned int>> &       copy_indices_global_mine,
-    std::vector<Table<2, unsigned int>> &       copy_indices_level_mine,
+    std::vector<Table<2, unsigned int>>        &copy_indices,
+    std::vector<Table<2, unsigned int>>        &copy_indices_global_mine,
+    std::vector<Table<2, unsigned int>>        &copy_indices_level_mine,
     LinearAlgebra::distributed::Vector<Number> &ghosted_global_vector,
     MGLevelObject<LinearAlgebra::distributed::Vector<Number>>
       &ghosted_level_vector)
@@ -249,7 +249,7 @@ namespace
         auto translate_indices =
           [&](const std::vector<
                 std::pair<types::global_dof_index, types::global_dof_index>>
-                &                     global_copy_indices,
+                                     &global_copy_indices,
               Table<2, unsigned int> &local_copy_indices) {
             local_copy_indices.reinit(2, global_copy_indices.size());
             for (unsigned int i = 0; i < global_copy_indices.size(); ++i)
index 06932c4e39e9680e24cb318eee0f613bd55eaa04..3723b8ed698b6d7a3f92db63b45bd326daf2d540 100644 (file)
@@ -106,7 +106,7 @@ namespace MGTools
   void
   compute_row_length_vector(const DoFHandler<dim, spacedim> &dofs,
                             const unsigned int               level,
-                            std::vector<unsigned int> &      row_lengths,
+                            std::vector<unsigned int>       &row_lengths,
                             const DoFTools::Coupling         flux_coupling)
   {
     Assert(row_lengths.size() == dofs.n_dofs(),
@@ -289,9 +289,9 @@ namespace MGTools
   // This is the template for 2d and 3d. See version for 1d above
   template <int dim, int spacedim>
   void
-  compute_row_length_vector(const DoFHandler<dim, spacedim> &   dofs,
+  compute_row_length_vector(const DoFHandler<dim, spacedim>    &dofs,
                             const unsigned int                  level,
-                            std::vector<unsigned int> &         row_lengths,
+                            std::vector<unsigned int>          &row_lengths,
                             const Table<2, DoFTools::Coupling> &couplings,
                             const Table<2, DoFTools::Coupling> &flux_couplings)
   {
@@ -574,7 +574,7 @@ namespace MGTools
   template <int dim, int spacedim, typename number>
   void
   make_sparsity_pattern(const DoFHandler<dim, spacedim> &dof,
-                        SparsityPatternBase &            sparsity,
+                        SparsityPatternBase             &sparsity,
                         const unsigned int               level,
                         const AffineConstraints<number> &constraints,
                         const bool                       keep_constrained_dofs)
@@ -604,7 +604,7 @@ namespace MGTools
   template <int dim, int spacedim, typename number>
   void
   make_flux_sparsity_pattern(const DoFHandler<dim, spacedim> &dof,
-                             SparsityPatternBase &            sparsity,
+                             SparsityPatternBase             &sparsity,
                              const unsigned int               level,
                              const AffineConstraints<number> &constraints,
                              const bool keep_constrained_dofs)
@@ -678,7 +678,7 @@ namespace MGTools
   template <int dim, int spacedim>
   void
   make_flux_sparsity_pattern_edge(const DoFHandler<dim, spacedim> &dof,
-                                  SparsityPatternBase &            sparsity,
+                                  SparsityPatternBase             &sparsity,
                                   const unsigned int               level)
   {
     Assert((level >= 1) && (level < dof.get_triangulation().n_global_levels()),
@@ -739,13 +739,13 @@ namespace MGTools
 
   template <int dim, int spacedim>
   void
-  make_flux_sparsity_pattern(const DoFHandler<dim, spacedim> &   dof,
-                             SparsityPatternBase &               sparsity,
+  make_flux_sparsity_pattern(const DoFHandler<dim, spacedim>    &dof,
+                             SparsityPatternBase                &sparsity,
                              const unsigned int                  level,
                              const Table<2, DoFTools::Coupling> &int_mask,
                              const Table<2, DoFTools::Coupling> &flux_mask)
   {
-    const FiniteElement<dim> &    fe     = dof.get_fe();
+    const FiniteElement<dim>     &fe     = dof.get_fe();
     const types::global_dof_index n_dofs = dof.n_dofs(level);
     const unsigned int            n_comp = fe.n_components();
     (void)n_dofs;
@@ -917,8 +917,8 @@ namespace MGTools
 
   template <int dim, int spacedim>
   void
-  make_flux_sparsity_pattern_edge(const DoFHandler<dim, spacedim> &   dof,
-                                  SparsityPatternBase &               sparsity,
+  make_flux_sparsity_pattern_edge(const DoFHandler<dim, spacedim>    &dof,
+                                  SparsityPatternBase                &sparsity,
                                   const unsigned int                  level,
                                   const Table<2, DoFTools::Coupling> &flux_mask)
   {
@@ -1013,7 +1013,7 @@ namespace MGTools
   void
   make_interface_sparsity_pattern(const DoFHandler<dim, spacedim> &dof,
                                   const MGConstrainedDoFs &mg_constrained_dofs,
-                                  SparsityPatternBase &    sparsity,
+                                  SparsityPatternBase     &sparsity,
                                   const unsigned int       level)
   {
     const types::global_dof_index n_dofs = dof.n_dofs(level);
@@ -1053,7 +1053,7 @@ namespace MGTools
   template <int dim, int spacedim>
   void
   count_dofs_per_component(
-    const DoFHandler<dim, spacedim> &                  dof_handler,
+    const DoFHandler<dim, spacedim>                   &dof_handler,
     std::vector<std::vector<types::global_dof_index>> &result,
     bool                                               only_once,
     std::vector<unsigned int>                          target_component)
@@ -1155,7 +1155,7 @@ namespace MGTools
   template <int dim, int spacedim>
   void
   count_dofs_per_block(
-    const DoFHandler<dim, spacedim> &                  dof_handler,
+    const DoFHandler<dim, spacedim>                   &dof_handler,
     std::vector<std::vector<types::global_dof_index>> &dofs_per_block,
     std::vector<unsigned int>                          target_block)
   {
@@ -1240,9 +1240,9 @@ namespace MGTools
   make_boundary_list(
     const DoFHandler<dim, spacedim> &dof,
     const std::map<types::boundary_id, const Function<spacedim> *>
-      &                                             function_map,
+                                                   &function_map,
     std::vector<std::set<types::global_dof_index>> &boundary_indices,
-    const ComponentMask &                           component_mask)
+    const ComponentMask                            &component_mask)
   {
     Assert(boundary_indices.size() == dof.get_triangulation().n_global_levels(),
            ExcDimensionMismatch(boundary_indices.size(),
@@ -1262,11 +1262,11 @@ namespace MGTools
 
   template <int dim, int spacedim>
   void
-  make_boundary_list(const DoFHandler<dim, spacedim> &           dof,
+  make_boundary_list(const DoFHandler<dim, spacedim>            &dof,
                      const std::map<types::boundary_id,
                                     const Function<spacedim> *> &function_map,
                      std::vector<IndexSet> &boundary_indices,
-                     const ComponentMask &  component_mask)
+                     const ComponentMask   &component_mask)
   {
     Assert(boundary_indices.size() == dof.get_triangulation().n_global_levels(),
            ExcDimensionMismatch(boundary_indices.size(),
@@ -1283,10 +1283,10 @@ namespace MGTools
 
   template <int dim, int spacedim>
   void
-  make_boundary_list(const DoFHandler<dim, spacedim> &   dof,
+  make_boundary_list(const DoFHandler<dim, spacedim>    &dof,
                      const std::set<types::boundary_id> &boundary_ids,
-                     std::vector<IndexSet> &             boundary_indices,
-                     const ComponentMask &               component_mask)
+                     std::vector<IndexSet>              &boundary_indices,
+                     const ComponentMask                &component_mask)
   {
     boundary_indices.resize(dof.get_triangulation().n_global_levels());
 
@@ -1442,7 +1442,7 @@ namespace MGTools
   template <int dim, int spacedim>
   void
   extract_inner_interface_dofs(const DoFHandler<dim, spacedim> &mg_dof_handler,
-                               std::vector<IndexSet> &          interface_dofs)
+                               std::vector<IndexSet>           &interface_dofs)
   {
     Assert(interface_dofs.size() ==
              mg_dof_handler.get_triangulation().n_global_levels(),
index 3ef092a5c5a2ac7578743570feaa22d72700c681..f36ff688a85f7582576316635be307452fe84b3b 100644 (file)
@@ -160,7 +160,7 @@ for (deal_II_dimension : DIMENSIONS)
       template void
       extract_inner_interface_dofs(
         const DoFHandler<deal_II_dimension> &mg_dof_handler,
-        std::vector<IndexSet> &              interface_dofs);
+        std::vector<IndexSet>               &interface_dofs);
 
 #if deal_II_dimension < 3
       template void
index ff0057a3a7b151ac64d3a99894989185e65b17df..72312c2d198b64de8ff8f9f844834833fa3e8bf2 100644 (file)
@@ -52,9 +52,9 @@ namespace
   template <int dim, typename number, int spacedim>
   void
   reinit_vector_by_blocks(
-    const DoFHandler<dim, spacedim> &                  dof_handler,
-    MGLevelObject<BlockVector<number>> &               v,
-    const std::vector<bool> &                          sel,
+    const DoFHandler<dim, spacedim>                   &dof_handler,
+    MGLevelObject<BlockVector<number>>                &v,
+    const std::vector<bool>                           &sel,
     std::vector<std::vector<types::global_dof_index>> &ndofs)
   {
     std::vector<bool> selected = sel;
@@ -98,8 +98,8 @@ namespace
   template <int dim, typename number, int spacedim>
   void
   reinit_vector_by_blocks(
-    const DoFHandler<dim, spacedim> &                  dof_handler,
-    MGLevelObject<dealii::Vector<number>> &            v,
+    const DoFHandler<dim, spacedim>                   &dof_handler,
+    MGLevelObject<dealii::Vector<number>>             &v,
     const unsigned int                                 selected_block,
     std::vector<std::vector<types::global_dof_index>> &ndofs)
   {
@@ -131,8 +131,8 @@ template <int dim, typename number2, int spacedim>
 void
 MGTransferBlockSelect<number>::copy_to_mg(
   const DoFHandler<dim, spacedim> &dof_handler,
-  MGLevelObject<Vector<number>> &  dst,
-  const BlockVector<number2> &     src) const
+  MGLevelObject<Vector<number>>   &dst,
+  const BlockVector<number2>      &src) const
 {
   reinit_vector_by_blocks(dof_handler, dst, selected_block, sizes);
   // For MGTransferBlockSelect, the
@@ -157,8 +157,8 @@ template <int dim, typename number2, int spacedim>
 void
 MGTransferBlockSelect<number>::copy_to_mg(
   const DoFHandler<dim, spacedim> &dof_handler,
-  MGLevelObject<Vector<number>> &  dst,
-  const Vector<number2> &          src) const
+  MGLevelObject<Vector<number>>   &dst,
+  const Vector<number2>           &src) const
 {
   reinit_vector_by_blocks(dof_handler, dst, selected_block, sizes);
   // For MGTransferBlockSelect, the
@@ -181,9 +181,9 @@ template <typename number>
 template <int dim, typename number2, int spacedim>
 void
 MGTransferBlock<number>::copy_to_mg(
-  const DoFHandler<dim, spacedim> &   dof_handler,
+  const DoFHandler<dim, spacedim>    &dof_handler,
   MGLevelObject<BlockVector<number>> &dst,
-  const BlockVector<number2> &        src) const
+  const BlockVector<number2>         &src) const
 {
   reinit_vector_by_blocks(dof_handler, dst, selected, sizes);
   for (unsigned int level = dof_handler.get_triangulation().n_levels();
@@ -558,7 +558,7 @@ template <typename number>
 template <int dim, int spacedim>
 void
 MGTransferBlock<number>::build(const DoFHandler<dim, spacedim> &dof_handler,
-                               const std::vector<bool> &        sel)
+                               const std::vector<bool>         &sel)
 {
   const FiniteElement<dim> &fe       = dof_handler.get_fe();
   unsigned int              n_blocks = dof_handler.get_fe().n_blocks();
index 082d1c34fcdf5173f3c2afc687417c9f2a69ae8b..7b01db3d3ff7997e500853a2be55b94125239a9a 100644 (file)
@@ -79,10 +79,10 @@ namespace
   template <int dim, typename number, int spacedim>
   void
   reinit_vector_by_components(
-    const DoFHandler<dim, spacedim> &                  mg_dof,
-    MGLevelObject<BlockVector<number>> &               v,
-    const std::vector<bool> &                          sel,
-    const std::vector<unsigned int> &                  target_comp,
+    const DoFHandler<dim, spacedim>                   &mg_dof,
+    MGLevelObject<BlockVector<number>>                &v,
+    const std::vector<bool>                           &sel,
+    const std::vector<unsigned int>                   &target_comp,
     std::vector<std::vector<types::global_dof_index>> &ndofs)
   {
     std::vector<bool>         selected         = sel;
@@ -178,10 +178,10 @@ namespace
   template <int dim, typename number, int spacedim>
   void
   reinit_vector_by_components(
-    const DoFHandler<dim, spacedim> &                  mg_dof,
-    MGLevelObject<dealii::Vector<number>> &            v,
-    const ComponentMask &                              component_mask,
-    const std::vector<unsigned int> &                  target_component,
+    const DoFHandler<dim, spacedim>                   &mg_dof,
+    MGLevelObject<dealii::Vector<number>>             &v,
+    const ComponentMask                               &component_mask,
+    const std::vector<unsigned int>                   &target_component,
     std::vector<std::vector<types::global_dof_index>> &ndofs)
   {
     Assert(component_mask.represents_n_components(target_component.size()),
@@ -214,8 +214,8 @@ template <int dim, class InVector, int spacedim>
 void
 MGTransferSelect<number>::do_copy_to_mg(
   const DoFHandler<dim, spacedim> &mg_dof_handler,
-  MGLevelObject<Vector<number>> &  dst,
-  const InVector &                 src) const
+  MGLevelObject<Vector<number>>   &dst,
+  const InVector                  &src) const
 {
   dst = 0;
 
@@ -562,11 +562,11 @@ template <typename number>
 template <int dim, int spacedim>
 void
 MGTransferSelect<number>::build(
-  const DoFHandler<dim, spacedim> &                     mg_dof,
+  const DoFHandler<dim, spacedim>                      &mg_dof,
   unsigned int                                          select,
   unsigned int                                          mg_select,
-  const std::vector<unsigned int> &                     t_component,
-  const std::vector<unsigned int> &                     mg_t_component,
+  const std::vector<unsigned int>                      &t_component,
+  const std::vector<unsigned int>                      &mg_t_component,
   const std::vector<std::set<types::global_dof_index>> &bdry_indices)
 {
   const FiniteElement<dim> &fe    = mg_dof.get_fe();
index 37409e6c558a8be5e7307447e8f1550886b771b3..2bbafff46317ad8b1c707b6ffcb3bc95d60e6a0c 100644 (file)
@@ -60,7 +60,7 @@ namespace internal
     void
     fill_copy_indices(
       const DoFHandler<dim, spacedim> &dof_handler,
-      const MGConstrainedDoFs *        mg_constrained_dofs,
+      const MGConstrainedDoFs         *mg_constrained_dofs,
       std::vector<std::vector<
         std::pair<types::global_dof_index, types::global_dof_index>>>
         &copy_indices,
@@ -69,7 +69,7 @@ namespace internal
         &copy_indices_global_mine,
       std::vector<std::vector<
         std::pair<types::global_dof_index, types::global_dof_index>>>
-        &        copy_indices_level_mine,
+                &copy_indices_level_mine,
       const bool skip_interface_dofs)
     {
       // Now we are filling the variables copy_indices*, which are essentially
@@ -99,7 +99,7 @@ namespace internal
       for (unsigned int level = 0; level < n_levels; ++level)
         {
           std::vector<bool> dof_touched(owned_dofs.n_elements(), false);
-          const IndexSet &  owned_level_dofs =
+          const IndexSet   &owned_level_dofs =
             dof_handler.locally_owned_mg_dofs(level);
 
           // for the most common case where copy_indices are locally owned
@@ -396,10 +396,10 @@ namespace internal
     // content in copy_indices_global_mine)
     void
     reinit_level_partitioner(
-      const IndexSet &                      locally_owned,
+      const IndexSet                       &locally_owned,
       std::vector<types::global_dof_index> &ghosted_level_dofs,
       const std::shared_ptr<const Utilities::MPI::Partitioner>
-        &                                                 external_partitioner,
+                                                         &external_partitioner,
       const MPI_Comm                                      communicator,
       std::shared_ptr<const Utilities::MPI::Partitioner> &target_partitioner,
       Table<2, unsigned int> &copy_indices_global_mine)
@@ -462,10 +462,10 @@ namespace internal
     // Transform the ghost indices to local index space for the vector
     inline void
     copy_indices_to_mpi_local_numbers(
-      const Utilities::MPI::Partitioner &         part,
+      const Utilities::MPI::Partitioner          &part,
       const std::vector<types::global_dof_index> &mine,
       const std::vector<types::global_dof_index> &remote,
-      std::vector<unsigned int> &                 localized_indices)
+      std::vector<unsigned int>                  &localized_indices)
     {
       localized_indices.resize(mine.size() + remote.size(),
                                numbers::invalid_unsigned_int);
@@ -518,9 +518,9 @@ namespace internal
       const unsigned int                          child,
       const unsigned int                          fe_shift_1d,
       const unsigned int                          fe_degree,
-      const std::vector<unsigned int> &           lexicographic_numbering,
+      const std::vector<unsigned int>            &lexicographic_numbering,
       const std::vector<types::global_dof_index> &local_dof_indices,
-      types::global_dof_index *                   target_indices)
+      types::global_dof_index                    *target_indices)
     {
       const unsigned int n_child_dofs_1d = fe_degree + 1 + fe_shift_1d;
       const unsigned int shift =
@@ -551,9 +551,9 @@ namespace internal
 
     template <int dim, typename Number>
     void
-    setup_element_info(ElementInfo<Number> &   elem_info,
+    setup_element_info(ElementInfo<Number>    &elem_info,
                        const FiniteElement<1> &fe,
-                       const DoFHandler<dim> dof_handler)
+                       const DoFHandler<dim>  &dof_handler)
     {
       // currently, we have only FE_Q and FE_DGQ type elements implemented
       elem_info.n_components = dof_handler.get_fe().element_multiplicity(0);
@@ -616,17 +616,17 @@ namespace internal
     template <int dim, typename Number>
     void
     setup_transfer(
-      const DoFHandler<dim> &  dof_handler,
+      const DoFHandler<dim>   &dof_handler,
       const MGConstrainedDoFs *mg_constrained_dofs,
       const std::vector<std::shared_ptr<const Utilities::MPI::Partitioner>>
-        &                                     external_partitioners,
-      ElementInfo<Number> &                   elem_info,
+                                             &external_partitioners,
+      ElementInfo<Number>                    &elem_info,
       std::vector<std::vector<unsigned int>> &level_dof_indices,
       std::vector<std::vector<std::pair<unsigned int, unsigned int>>>
-        &                        parent_child_connect,
+                                &parent_child_connect,
       std::vector<unsigned int> &n_owned_level_cells,
       std::vector<std::vector<std::vector<unsigned short>>> &dirichlet_indices,
-      std::vector<std::vector<Number>> &                     weights_on_refined,
+      std::vector<std::vector<Number>>                      &weights_on_refined,
       std::vector<Table<2, unsigned int>> &copy_indices_global_mine,
       MGLevelObject<std::shared_ptr<const Utilities::MPI::Partitioner>>
         &target_partitioners)
@@ -974,7 +974,7 @@ namespace internal
 
     void
     resolve_identity_constraints(
-      const MGConstrainedDoFs *             mg_constrained_dofs,
+      const MGConstrainedDoFs              *mg_constrained_dofs,
       const unsigned int                    level,
       std::vector<types::global_dof_index> &dof_indices)
     {
index acdaed6a18c760e7a7476a9acccf89e3c216a013..c8b569d6565330380c87b77d925b561249d72373 100644 (file)
@@ -237,7 +237,7 @@ template <int dim, typename Number>
 void
 MGTransferMatrixFree<dim, Number>::prolongate(
   const unsigned int                                to_level,
-  LinearAlgebra::distributed::Vector<Number> &      dst,
+  LinearAlgebra::distributed::Vector<Number>       &dst,
   const LinearAlgebra::distributed::Vector<Number> &src) const
 {
   dst = 0;
@@ -250,7 +250,7 @@ template <int dim, typename Number>
 void
 MGTransferMatrixFree<dim, Number>::prolongate_and_add(
   const unsigned int                                to_level,
-  LinearAlgebra::distributed::Vector<Number> &      dst,
+  LinearAlgebra::distributed::Vector<Number>       &dst,
   const LinearAlgebra::distributed::Vector<Number> &src) const
 {
   Assert((to_level >= 1) && (to_level <= level_dof_indices.size()),
@@ -329,7 +329,7 @@ template <int dim, typename Number>
 void
 MGTransferMatrixFree<dim, Number>::restrict_and_add(
   const unsigned int                                from_level,
-  LinearAlgebra::distributed::Vector<Number> &      dst,
+  LinearAlgebra::distributed::Vector<Number>       &dst,
   const LinearAlgebra::distributed::Vector<Number> &src) const
 {
   Assert((from_level >= 1) && (from_level <= level_dof_indices.size()),
@@ -408,7 +408,7 @@ template <int degree>
 void
 MGTransferMatrixFree<dim, Number>::do_prolongate_add(
   const unsigned int                                to_level,
-  LinearAlgebra::distributed::Vector<Number> &      dst,
+  LinearAlgebra::distributed::Vector<Number>       &dst,
   const LinearAlgebra::distributed::Vector<Number> &src) const
 {
   const unsigned int vec_size        = VectorizedArray<Number>::size();
@@ -552,7 +552,7 @@ template <int degree>
 void
 MGTransferMatrixFree<dim, Number>::do_restrict_add(
   const unsigned int                                from_level,
-  LinearAlgebra::distributed::Vector<Number> &      dst,
+  LinearAlgebra::distributed::Vector<Number>       &dst,
   const LinearAlgebra::distributed::Vector<Number> &src) const
 {
   const unsigned int vec_size        = VectorizedArray<Number>::size();
index 5897d5b3c05a1d221fbeec1de9f291b88cb5439c..9a157191357b5f49a72b2a9d6c99e1b29d9a449d 100644 (file)
@@ -79,8 +79,8 @@ MGTransferPrebuilt<VectorType>::clear()
 template <typename VectorType>
 void
 MGTransferPrebuilt<VectorType>::prolongate(const unsigned int to_level,
-                                           VectorType &       dst,
-                                           const VectorType src) const
+                                           VectorType        &dst,
+                                           const VectorType  &src) const
 {
   Assert((to_level >= 1) && (to_level <= prolongation_matrices.size()),
          ExcIndexRange(to_level, 1, prolongation_matrices.size() + 1));
@@ -106,8 +106,8 @@ MGTransferPrebuilt<VectorType>::prolongate(const unsigned int to_level,
 template <typename VectorType>
 void
 MGTransferPrebuilt<VectorType>::restrict_and_add(const unsigned int from_level,
-                                                 VectorType &       dst,
-                                                 const VectorType src) const
+                                                 VectorType        &dst,
+                                                 const VectorType  &src) const
 {
   Assert((from_level >= 1) && (from_level <= prolongation_matrices.size()),
          ExcIndexRange(from_level, 1, prolongation_matrices.size() + 1));
@@ -124,7 +124,7 @@ namespace
    * and replace with the indices of the dofs to which they are constrained
    */
   void
-  replace(const MGConstrainedDoFs *             mg_constrained_dofs,
+  replace(const MGConstrainedDoFs              *mg_constrained_dofs,
           const unsigned int                    level,
           std::vector<types::global_dof_index> &dof_indices)
   {
index 52973d7601e455d70caceb6c56043522e386a6a9..0e71fcd9aba9ecaffef225c970b28c45a1c477ca 100644 (file)
@@ -64,7 +64,7 @@ MGTransferBlock<number>::~MGTransferBlock()
 
 template <typename number>
 void
-MGTransferBlock<number>::initialize(const std::vector<number> &   f,
+MGTransferBlock<number>::initialize(const std::vector<number>    &f,
                                     VectorMemory<Vector<number>> &mem)
 {
   factors = f;
@@ -75,7 +75,7 @@ MGTransferBlock<number>::initialize(const std::vector<number> &   f,
 template <typename number>
 void
 MGTransferBlock<number>::prolongate(const unsigned int         to_level,
-                                    BlockVector<number> &      dst,
+                                    BlockVector<number>       &dst,
                                     const BlockVector<number> &src) const
 {
   Assert((to_level >= 1) && (to_level <= prolongation_matrices.size()),
@@ -108,7 +108,7 @@ MGTransferBlock<number>::prolongate(const unsigned int         to_level,
 template <typename number>
 void
 MGTransferBlock<number>::restrict_and_add(const unsigned int         from_level,
-                                          BlockVector<number> &      dst,
+                                          BlockVector<number>       &dst,
                                           const BlockVector<number> &src) const
 {
   Assert((from_level >= 1) && (from_level <= prolongation_matrices.size()),
@@ -212,7 +212,7 @@ MGTransferSelect<number>::MGTransferSelect(const AffineConstraints<double> &c)
 template <typename number>
 void
 MGTransferSelect<number>::prolongate(const unsigned int    to_level,
-                                     Vector<number> &      dst,
+                                     Vector<number>       &dst,
                                      const Vector<number> &src) const
 {
   Assert((to_level >= 1) && (to_level <= prolongation_matrices.size()),
@@ -229,7 +229,7 @@ MGTransferSelect<number>::prolongate(const unsigned int    to_level,
 template <typename number>
 void
 MGTransferSelect<number>::restrict_and_add(const unsigned int    from_level,
-                                           Vector<number> &      dst,
+                                           Vector<number>       &dst,
                                            const Vector<number> &src) const
 {
   Assert((from_level >= 1) && (from_level <= prolongation_matrices.size()),
@@ -263,7 +263,7 @@ MGTransferBlockSelect<number>::MGTransferBlockSelect(
 template <typename number>
 void
 MGTransferBlockSelect<number>::prolongate(const unsigned int    to_level,
-                                          Vector<number> &      dst,
+                                          Vector<number>       &dst,
                                           const Vector<number> &src) const
 {
   Assert((to_level >= 1) && (to_level <= prolongation_matrices.size()),
@@ -286,7 +286,7 @@ MGTransferBlockSelect<number>::prolongate(const unsigned int    to_level,
 template <typename number>
 void
 MGTransferBlockSelect<number>::restrict_and_add(const unsigned int from_level,
-                                                Vector<number> &   dst,
+                                                Vector<number>    &dst,
                                                 const Vector<number> &src) const
 {
   Assert((from_level >= 1) && (from_level <= prolongation_matrices.size()),
index 54480f7abee1606e0e86ee62e8cbefa580f2250c..22c073a237fac95b54b4bd5798adcf462c1fe9a5 100644 (file)
@@ -65,12 +65,12 @@ namespace NonMatching
     std::pair<std::vector<Point<spacedim>>, std::vector<unsigned int>>
     qpoints_over_locally_owned_cells(
       const GridTools::Cache<dim0, spacedim> &cache,
-      const DoFHandler<dim1, spacedim> &      immersed_dh,
-      const Quadrature<dim1> &                quad,
-      const Mapping<dim1, spacedim> &         immersed_mapping,
+      const DoFHandler<dim1, spacedim>       &immersed_dh,
+      const Quadrature<dim1>                 &quad,
+      const Mapping<dim1, spacedim>          &immersed_mapping,
       const bool                              tria_is_parallel)
     {
-      const auto &                 immersed_fe = immersed_dh.get_fe();
+      const auto                  &immersed_fe = immersed_dh.get_fe();
       std::vector<Point<spacedim>> points_over_local_cells;
       // Keep track of which cells we actually used
       std::vector<unsigned int> used_cells_ids;
@@ -136,8 +136,8 @@ namespace NonMatching
      */
     template <int dim0, int dim1, int spacedim>
     std::pair<std::vector<unsigned int>, std::vector<unsigned int>>
-    compute_components_coupling(const ComponentMask &                comps0,
-                                const ComponentMask &                comps1,
+    compute_components_coupling(const ComponentMask                 &comps0,
+                                const ComponentMask                 &comps1,
                                 const FiniteElement<dim0, spacedim> &fe0,
                                 const FiniteElement<dim1, spacedim> &fe1)
     {
@@ -173,14 +173,14 @@ namespace NonMatching
   create_coupling_sparsity_pattern(
     const DoFHandler<dim0, spacedim> &space_dh,
     const DoFHandler<dim1, spacedim> &immersed_dh,
-    const Quadrature<dim1> &          quad,
-    SparsityPatternBase &             sparsity,
-    const AffineConstraints<number> constraints,
-    const ComponentMask &             space_comps,
-    const ComponentMask &             immersed_comps,
-    const Mapping<dim0, spacedim> &   space_mapping,
-    const Mapping<dim1, spacedim> &   immersed_mapping,
-    const AffineConstraints<number> immersed_constraints)
+    const Quadrature<dim1>           &quad,
+    SparsityPatternBase              &sparsity,
+    const AffineConstraints<number>  &constraints,
+    const ComponentMask              &space_comps,
+    const ComponentMask              &immersed_comps,
+    const Mapping<dim0, spacedim>    &space_mapping,
+    const Mapping<dim1, spacedim>    &immersed_mapping,
+    const AffineConstraints<number>  &immersed_constraints)
   {
     GridTools::Cache<dim0, spacedim> cache(space_dh.get_triangulation(),
                                            space_mapping);
@@ -202,15 +202,15 @@ namespace NonMatching
   void
   create_coupling_sparsity_pattern(
     const GridTools::Cache<dim0, spacedim> &cache,
-    const DoFHandler<dim0, spacedim> &      space_dh,
-    const DoFHandler<dim1, spacedim> &      immersed_dh,
-    const Quadrature<dim1> &                quad,
-    SparsityPatternBase &                   sparsity,
-    const AffineConstraints<number> &       constraints,
-    const ComponentMask &                   space_comps,
-    const ComponentMask &                   immersed_comps,
-    const Mapping<dim1, spacedim> &         immersed_mapping,
-    const AffineConstraints<number> &       immersed_constraints)
+    const DoFHandler<dim0, spacedim>       &space_dh,
+    const DoFHandler<dim1, spacedim>       &immersed_dh,
+    const Quadrature<dim1>                 &quad,
+    SparsityPatternBase                    &sparsity,
+    const AffineConstraints<number>        &constraints,
+    const ComponentMask                    &space_comps,
+    const ComponentMask                    &immersed_comps,
+    const Mapping<dim1, spacedim>          &immersed_mapping,
+    const AffineConstraints<number>        &immersed_constraints)
   {
     AssertDimension(sparsity.n_rows(), space_dh.n_dofs());
     AssertDimension(sparsity.n_cols(), immersed_dh.n_dofs());
@@ -361,15 +361,15 @@ namespace NonMatching
   template <int dim0, int dim1, int spacedim, typename Matrix>
   void
   create_coupling_mass_matrix(
-    const DoFHandler<dim0, spacedim> &                    space_dh,
-    const DoFHandler<dim1, spacedim> &                    immersed_dh,
-    const Quadrature<dim1> &                              quad,
-    Matrix &                                              matrix,
+    const DoFHandler<dim0, spacedim>                     &space_dh,
+    const DoFHandler<dim1, spacedim>                     &immersed_dh,
+    const Quadrature<dim1>                               &quad,
+    Matrix                                               &matrix,
     const AffineConstraints<typename Matrix::value_type> &constraints,
-    const ComponentMask &                                 space_comps,
-    const ComponentMask &                                 immersed_comps,
-    const Mapping<dim0, spacedim> &                       space_mapping,
-    const Mapping<dim1, spacedim> &                       immersed_mapping,
+    const ComponentMask                                  &space_comps,
+    const ComponentMask                                  &immersed_comps,
+    const Mapping<dim0, spacedim>                        &space_mapping,
+    const Mapping<dim1, spacedim>                        &immersed_mapping,
     const AffineConstraints<typename Matrix::value_type> &immersed_constraints)
   {
     GridTools::Cache<dim0, spacedim> cache(space_dh.get_triangulation(),
@@ -391,15 +391,15 @@ namespace NonMatching
   template <int dim0, int dim1, int spacedim, typename Matrix>
   void
   create_coupling_mass_matrix(
-    const GridTools::Cache<dim0, spacedim> &              cache,
-    const DoFHandler<dim0, spacedim> &                    space_dh,
-    const DoFHandler<dim1, spacedim> &                    immersed_dh,
-    const Quadrature<dim1> &                              quad,
-    Matrix &                                              matrix,
+    const GridTools::Cache<dim0, spacedim>               &cache,
+    const DoFHandler<dim0, spacedim>                     &space_dh,
+    const DoFHandler<dim1, spacedim>                     &immersed_dh,
+    const Quadrature<dim1>                               &quad,
+    Matrix                                               &matrix,
     const AffineConstraints<typename Matrix::value_type> &constraints,
-    const ComponentMask &                                 space_comps,
-    const ComponentMask &                                 immersed_comps,
-    const Mapping<dim1, spacedim> &                       immersed_mapping,
+    const ComponentMask                                  &space_comps,
+    const ComponentMask                                  &immersed_comps,
+    const Mapping<dim1, spacedim>                        &immersed_mapping,
     const AffineConstraints<typename Matrix::value_type> &immersed_constraints)
   {
     AssertDimension(matrix.m(), space_dh.n_dofs());
@@ -567,7 +567,7 @@ namespace NonMatching
             // Make sure we act only on locally_owned cells
             if (ocell->is_locally_owned())
               {
-                const std::vector<Point<dim0>> qps = qpoints[c];
+                const std::vector<Point<dim0>>  &qps = qpoints[c];
                 const std::vector<unsigned int> &ids = maps[c];
 
                 FEValues<dim0, spacedim> o_fe_v(cache.get_mapping(),
@@ -620,16 +620,16 @@ namespace NonMatching
   template <int dim0, int dim1, int spacedim, typename Number>
   void
   create_coupling_sparsity_pattern(
-    const double &                          epsilon,
+    const double                           &epsilon,
     const GridTools::Cache<dim0, spacedim> &cache0,
     const GridTools::Cache<dim1, spacedim> &cache1,
-    const DoFHandler<dim0, spacedim> &      dh0,
-    const DoFHandler<dim1, spacedim> &      dh1,
-    const Quadrature<dim1> &                quad,
-    SparsityPatternBase &                   sparsity,
-    const AffineConstraints<Number> &       constraints0,
-    const ComponentMask &                   comps0,
-    const ComponentMask &                   comps1)
+    const DoFHandler<dim0, spacedim>       &dh0,
+    const DoFHandler<dim1, spacedim>       &dh1,
+    const Quadrature<dim1>                 &quad,
+    SparsityPatternBase                    &sparsity,
+    const AffineConstraints<Number>        &constraints0,
+    const ComponentMask                    &comps0,
+    const ComponentMask                    &comps1)
   {
     if (epsilon == 0.0)
       {
@@ -758,18 +758,18 @@ namespace NonMatching
   template <int dim0, int dim1, int spacedim, typename Matrix>
   void
   create_coupling_mass_matrix(
-    Functions::CutOffFunctionBase<spacedim> &             kernel,
-    const double &                                        epsilon,
-    const GridTools::Cache<dim0, spacedim> &              cache0,
-    const GridTools::Cache<dim1, spacedim> &              cache1,
-    const DoFHandler<dim0, spacedim> &                    dh0,
-    const DoFHandler<dim1, spacedim> &                    dh1,
-    const Quadrature<dim0> &                              quadrature0,
-    const Quadrature<dim1> &                              quadrature1,
-    Matrix &                                              matrix,
+    Functions::CutOffFunctionBase<spacedim>              &kernel,
+    const double                                         &epsilon,
+    const GridTools::Cache<dim0, spacedim>               &cache0,
+    const GridTools::Cache<dim1, spacedim>               &cache1,
+    const DoFHandler<dim0, spacedim>                     &dh0,
+    const DoFHandler<dim1, spacedim>                     &dh1,
+    const Quadrature<dim0>                               &quadrature0,
+    const Quadrature<dim1>                               &quadrature1,
+    Matrix                                               &matrix,
     const AffineConstraints<typename Matrix::value_type> &constraints0,
-    const ComponentMask &                                 comps0,
-    const ComponentMask &                                 comps1)
+    const ComponentMask                                  &comps0,
+    const ComponentMask                                  &comps1)
   {
     if (epsilon == 0)
       {
index 712442fc65cccf9f93c3672097c918fba538bf31..47b44b68f5e02b9f04e04418fddf5df77adcaaab 100644 (file)
@@ -21,38 +21,38 @@ for (dim0 : DIMENSIONS; dim1 : DIMENSIONS; spacedim : SPACE_DIMENSIONS;
     template void create_coupling_sparsity_pattern(
       const DoFHandler<dim0, spacedim> &space_dh,
       const DoFHandler<dim1, spacedim> &immersed_dh,
-      const Quadrature<dim1> &          quad,
-      SparsityPatternBase &             sparsity,
-      const AffineConstraints<S> &      constraints,
-      const ComponentMask &             space_comps,
-      const ComponentMask &             immersed_comps,
-      const Mapping<dim0, spacedim> &   space_mapping,
-      const Mapping<dim1, spacedim> &   immersed_mapping,
-      const AffineConstraints<S> &      immersed_constraints);
+      const Quadrature<dim1>           &quad,
+      SparsityPatternBase              &sparsity,
+      const AffineConstraints<S>       &constraints,
+      const ComponentMask              &space_comps,
+      const ComponentMask              &immersed_comps,
+      const Mapping<dim0, spacedim>    &space_mapping,
+      const Mapping<dim1, spacedim>    &immersed_mapping,
+      const AffineConstraints<S>       &immersed_constraints);
 
     template void create_coupling_sparsity_pattern(
       const GridTools::Cache<dim0, spacedim> &cache,
-      const DoFHandler<dim0, spacedim> &      space_dh,
-      const DoFHandler<dim1, spacedim> &      immersed_dh,
-      const Quadrature<dim1> &                quad,
-      SparsityPatternBase &                   sparsity,
-      const AffineConstraints<S> &            constraints,
-      const ComponentMask &                   space_comps,
-      const ComponentMask &                   immersed_comps,
-      const Mapping<dim1, spacedim> &         immersed_mapping,
-      const AffineConstraints<S> &            immersed_constraints);
+      const DoFHandler<dim0, spacedim>       &space_dh,
+      const DoFHandler<dim1, spacedim>       &immersed_dh,
+      const Quadrature<dim1>                 &quad,
+      SparsityPatternBase                    &sparsity,
+      const AffineConstraints<S>             &constraints,
+      const ComponentMask                    &space_comps,
+      const ComponentMask                    &immersed_comps,
+      const Mapping<dim1, spacedim>          &immersed_mapping,
+      const AffineConstraints<S>             &immersed_constraints);
 
     template void create_coupling_sparsity_pattern(
-      const double &                          epsilon,
+      const double                           &epsilon,
       const GridTools::Cache<dim0, spacedim> &cache0,
       const GridTools::Cache<dim1, spacedim> &cache1,
-      const DoFHandler<dim0, spacedim> &      dh0,
-      const DoFHandler<dim1, spacedim> &      dh1,
-      const Quadrature<dim1> &                quad,
-      SparsityPatternBase &                   sparsity,
-      const AffineConstraints<S> &            constraints0,
-      const ComponentMask &                   comps0,
-      const ComponentMask &                   comps1);
+      const DoFHandler<dim0, spacedim>       &dh0,
+      const DoFHandler<dim1, spacedim>       &dh1,
+      const Quadrature<dim1>                 &quad,
+      SparsityPatternBase                    &sparsity,
+      const AffineConstraints<S>             &constraints0,
+      const ComponentMask                    &comps0,
+      const ComponentMask                    &comps1);
 #endif
   }
 
@@ -62,41 +62,41 @@ for (dim0 : DIMENSIONS; dim1 : DIMENSIONS; spacedim : SPACE_DIMENSIONS;
   {
 #if dim1 <= spacedim && dim0 <= spacedim
     template void create_coupling_mass_matrix(
-      const DoFHandler<dim0, spacedim> &           space_dh,
-      const DoFHandler<dim1, spacedim> &           immersed_dh,
-      const Quadrature<dim1> &                     quad,
-      Matrix &                                     matrix,
+      const DoFHandler<dim0, spacedim>            &space_dh,
+      const DoFHandler<dim1, spacedim>            &immersed_dh,
+      const Quadrature<dim1>                      &quad,
+      Matrix                                      &matrix,
       const AffineConstraints<Matrix::value_type> &constraints,
-      const ComponentMask &                        space_comps,
-      const ComponentMask &                        immersed_comps,
-      const Mapping<dim0, spacedim> &              space_mapping,
-      const Mapping<dim1, spacedim> &              immersed_mapping,
+      const ComponentMask                         &space_comps,
+      const ComponentMask                         &immersed_comps,
+      const Mapping<dim0, spacedim>               &space_mapping,
+      const Mapping<dim1, spacedim>               &immersed_mapping,
       const AffineConstraints<Matrix::value_type> &immersed_constraints);
 
     template void create_coupling_mass_matrix(
-      const GridTools::Cache<dim0, spacedim> &     cache,
-      const DoFHandler<dim0, spacedim> &           space_dh,
-      const DoFHandler<dim1, spacedim> &           immersed_dh,
-      const Quadrature<dim1> &                     quad,
-      Matrix &                                     matrix,
+      const GridTools::Cache<dim0, spacedim>      &cache,
+      const DoFHandler<dim0, spacedim>            &space_dh,
+      const DoFHandler<dim1, spacedim>            &immersed_dh,
+      const Quadrature<dim1>                      &quad,
+      Matrix                                      &matrix,
       const AffineConstraints<Matrix::value_type> &constraints,
-      const ComponentMask &                        space_comps,
-      const ComponentMask &                        immersed_comps,
-      const Mapping<dim1, spacedim> &              immersed_mapping,
+      const ComponentMask                         &space_comps,
+      const ComponentMask                         &immersed_comps,
+      const Mapping<dim1, spacedim>               &immersed_mapping,
       const AffineConstraints<Matrix::value_type> &immersed_constraints);
 
     template void create_coupling_mass_matrix(
       Functions::CutOffFunctionBase<spacedim> & kernel,
-      const double &                                        epsilon,
-      const GridTools::Cache<dim0, spacedim> &              cache0,
-      const GridTools::Cache<dim1, spacedim> &              cache1,
-      const DoFHandler<dim0, spacedim> &                    dh0,
-      const DoFHandler<dim1, spacedim> &                    dh1,
-      const Quadrature<dim0> &                              quadrature0,
-      const Quadrature<dim1> &                              quadrature1,
-      Matrix &                                              matrix,
+      const double                                         &epsilon,
+      const GridTools::Cache<dim0, spacedim>               &cache0,
+      const GridTools::Cache<dim1, spacedim>               &cache1,
+      const DoFHandler<dim0, spacedim>                     &dh0,
+      const DoFHandler<dim1, spacedim>                     &dh1,
+      const Quadrature<dim0>                               &quadrature0,
+      const Quadrature<dim1>                               &quadrature1,
+      Matrix                                               &matrix,
       const AffineConstraints<typename Matrix::value_type> &constraints0,
-      const ComponentMask &                                 comps0,
-      const ComponentMask &                                 comps1);
+      const ComponentMask                                  &comps0,
+      const ComponentMask                                  &comps1);
 #endif
   }
index 508f939716dfbc4047ea1eb943364f8113b3eca6..8d9dffb3c474abc5616224de92b0ffdade899980 100644 (file)
@@ -25,8 +25,8 @@ namespace NonMatching
 {
   template <int dim>
   FEImmersedSurfaceValues<dim>::FEImmersedSurfaceValues(
-    const Mapping<dim> &                  mapping,
-    const FiniteElement<dim> &            element,
+    const Mapping<dim>                   &mapping,
+    const FiniteElement<dim>             &element,
     const ImmersedSurfaceQuadrature<dim> &quadrature,
     const UpdateFlags                     update_flags)
     : FEValuesBase<dim, dim>(quadrature.size(),
index dfd7296b0814c79180d3cd71b0ad2aa89feaaea3..b71e2ca1965cc858f0d9ac618ca0ba6f4d1223ee 100644 (file)
@@ -46,12 +46,12 @@ namespace NonMatching
   template <int dim>
   template <typename VectorType>
   FEValues<dim>::FEValues(const hp::FECollection<dim> &fe_collection,
-                          const Quadrature<1> &        quadrature,
+                          const Quadrature<1>         &quadrature,
                           const RegionUpdateFlags      region_update_flags,
-                          const MeshClassifier<dim> &  mesh_classifier,
-                          const DoFHandler<dim> &      dof_handler,
-                          const VectorType &           level_set,
-                          const AdditionalData &       additional_data)
+                          const MeshClassifier<dim>   &mesh_classifier,
+                          const DoFHandler<dim>       &dof_handler,
+                          const VectorType            &level_set,
+                          const AdditionalData        &additional_data)
     : mapping_collection(&dealii::hp::StaticMappingQ1<dim>::mapping_collection)
     , fe_collection(&fe_collection)
     , q_collection_1D(quadrature)
@@ -76,14 +76,14 @@ namespace NonMatching
   template <int dim>
   template <typename VectorType>
   FEValues<dim>::FEValues(const hp::MappingCollection<dim> &mapping_collection,
-                          const hp::FECollection<dim> &     fe_collection,
-                          const hp::QCollection<dim> &      q_collection,
-                          const hp::QCollection<1> &        q_collection_1D,
+                          const hp::FECollection<dim>      &fe_collection,
+                          const hp::QCollection<dim>       &q_collection,
+                          const hp::QCollection<1>         &q_collection_1D,
                           const RegionUpdateFlags           region_update_flags,
-                          const MeshClassifier<dim> &       mesh_classifier,
-                          const DoFHandler<dim> &           dof_handler,
-                          const VectorType &                level_set,
-                          const AdditionalData &            additional_data)
+                          const MeshClassifier<dim>        &mesh_classifier,
+                          const DoFHandler<dim>            &dof_handler,
+                          const VectorType                 &level_set,
+                          const AdditionalData             &additional_data)
     : mapping_collection(&mapping_collection)
     , fe_collection(&fe_collection)
     , q_collection_1D(q_collection_1D)
@@ -272,12 +272,12 @@ namespace NonMatching
   template <typename VectorType>
   FEInterfaceValues<dim>::FEInterfaceValues(
     const hp::FECollection<dim> &fe_collection,
-    const Quadrature<1> &        quadrature,
+    const Quadrature<1>         &quadrature,
     const RegionUpdateFlags      region_update_flags,
-    const MeshClassifier<dim> &  mesh_classifier,
-    const DoFHandler<dim> &      dof_handler,
-    const VectorType &           level_set,
-    const AdditionalData &       additional_data)
+    const MeshClassifier<dim>   &mesh_classifier,
+    const DoFHandler<dim>       &dof_handler,
+    const VectorType            &level_set,
+    const AdditionalData        &additional_data)
     : mapping_collection(&dealii::hp::StaticMappingQ1<dim>::mapping_collection)
     , fe_collection(&fe_collection)
     , q_collection_1D(quadrature)
@@ -303,14 +303,14 @@ namespace NonMatching
   template <typename VectorType>
   FEInterfaceValues<dim>::FEInterfaceValues(
     const hp::MappingCollection<dim> &mapping_collection,
-    const hp::FECollection<dim> &     fe_collection,
-    const hp::QCollection<dim - 1> &  q_collection,
-    const hp::QCollection<1> &        q_collection_1D,
+    const hp::FECollection<dim>      &fe_collection,
+    const hp::QCollection<dim - 1>   &q_collection,
+    const hp::QCollection<1>         &q_collection_1D,
     const RegionUpdateFlags           region_update_flags,
-    const MeshClassifier<dim> &       mesh_classifier,
-    const DoFHandler<dim> &           dof_handler,
-    const VectorType &                level_set,
-    const AdditionalData &            additional_data)
+    const MeshClassifier<dim>        &mesh_classifier,
+    const DoFHandler<dim>            &dof_handler,
+    const VectorType                 &level_set,
+    const AdditionalData             &additional_data)
     : mapping_collection(&mapping_collection)
     , fe_collection(&fe_collection)
     , q_collection_1D(q_collection_1D)
index 7e71e2b83437f5fe5bdf05f98b1fc6c11cd4930b..a439902feabae9da0de385cc947ea37879185e05 100644 (file)
@@ -20,8 +20,8 @@ namespace NonMatching
 {
   template <int dim, int spacedim>
   ImmersedSurfaceQuadrature<dim, spacedim>::ImmersedSurfaceQuadrature(
-    const std::vector<Point<dim>> &         points,
-    const std::vector<double> &             weights,
+    const std::vector<Point<dim>>          &points,
+    const std::vector<double>              &weights,
     const std::vector<Tensor<1, spacedim>> &normals)
     : Quadrature<dim>(points, weights)
     , normals(normals)
@@ -52,7 +52,7 @@ namespace NonMatching
   template <int dim, int spacedim>
   void
   ImmersedSurfaceQuadrature<dim, spacedim>::push_back(
-    const Point<dim> &         point,
+    const Point<dim>          &point,
     const double               weight,
     const Tensor<1, spacedim> &normal)
   {
index 6134b58b9c935ad231bbb0007532021d0e29dbd1..7149ed7a648215d85475e65f8b71bb2a90c6e03f 100644 (file)
@@ -91,7 +91,7 @@ namespace NonMatching
          * Constructor.
          */
         DiscreteLevelSetDescription(const DoFHandler<dim> &dof_handler,
-                                    const VectorType &     level_set);
+                                    const VectorType      &level_set);
 
         /**
          * Return the FECollection of the DoFHandler passed to the constructor.
@@ -135,7 +135,7 @@ namespace NonMatching
       template <int dim, typename VectorType>
       DiscreteLevelSetDescription<dim, VectorType>::DiscreteLevelSetDescription(
         const DoFHandler<dim> &dof_handler,
-        const VectorType &     level_set)
+        const VectorType      &level_set)
         : dof_handler(&dof_handler)
         , level_set(&level_set)
       {}
@@ -198,7 +198,7 @@ namespace NonMatching
          * Constructor. Takes the Function that describes the geometry and the
          * element that this function should be interpolated to.
          */
-        AnalyticLevelSetDescription(const Function<dim> &     level_set,
+        AnalyticLevelSetDescription(const Function<dim>      &level_set,
                                     const FiniteElement<dim> &element);
 
         /**
@@ -249,7 +249,7 @@ namespace NonMatching
 
       template <int dim>
       AnalyticLevelSetDescription<dim>::AnalyticLevelSetDescription(
-        const Function<dim> &     level_set,
+        const Function<dim>      &level_set,
         const FiniteElement<dim> &element)
         : level_set(&level_set)
         , fe_collection(element)
@@ -305,7 +305,7 @@ namespace NonMatching
   template <int dim>
   template <typename VectorType>
   MeshClassifier<dim>::MeshClassifier(const DoFHandler<dim> &dof_handler,
-                                      const VectorType &     level_set)
+                                      const VectorType      &level_set)
     : triangulation(&dof_handler.get_triangulation())
     , level_set_description(
         std::make_unique<internal::MeshClassifierImplementation::
@@ -335,7 +335,7 @@ namespace NonMatching
 
   template <int dim>
   MeshClassifier<dim>::MeshClassifier(const Triangulation<dim> &triangulation,
-                                      const Function<dim> &     level_set,
+                                      const Function<dim>      &level_set,
                                       const FiniteElement<dim> &element)
     : triangulation(&triangulation)
     , level_set_description(
@@ -485,7 +485,7 @@ namespace NonMatching
     for (unsigned int i = 0; i < fe_collection.size(); i++)
       {
         const FiniteElement<dim> &element = fe_collection[i];
-        const FE_Q_Base<dim> *    fe_q =
+        const FE_Q_Base<dim>     *fe_q =
           dynamic_cast<const FE_Q_Base<dim> *>(&element);
         Assert(fe_q != nullptr, ExcNotImplemented());
 
index 08a235b25546647e68637c63709dc0f808050213..7fd19bf129417b5a5b6e48159e4f8b24071d23cf 100644 (file)
@@ -54,7 +54,7 @@ namespace NonMatching
       void
       tensor_point_with_1D_quadrature(const Point<dim - 1> &point,
                                       const double          weight,
-                                      const Quadrature<1> quadrature1D,
+                                      const Quadrature<1>  &quadrature1D,
                                       const double          start,
                                       const double          end,
                                       const unsigned int    component_in_dim,
@@ -82,7 +82,7 @@ namespace NonMatching
       template <int dim>
       void
       add_tensor_product(const Quadrature<dim - 1> &lower,
-                         const Quadrature<1> &      quadrature1D,
+                         const Quadrature<1>       &quadrature1D,
                          const double               start,
                          const double               end,
                          const unsigned int         component_in_dim,
@@ -106,7 +106,7 @@ namespace NonMatching
       Definiteness
       pointwise_definiteness(
         const std::vector<std::reference_wrapper<const Function<dim>>>
-          &               functions,
+                         &functions,
         const Point<dim> &point)
       {
         Assert(functions.size() > 0,
@@ -149,8 +149,8 @@ namespace NonMatching
        */
       template <int dim>
       void
-      take_min_max_at_vertices(const Function<dim> &      function,
-                               const BoundingBox<dim> &   box,
+      take_min_max_at_vertices(const Function<dim>       &function,
+                               const BoundingBox<dim>    &box,
                                std::pair<double, double> &value_bounds)
       {
         const ReferenceCell &cube = ReferenceCells::get_hypercube<dim>();
@@ -179,8 +179,8 @@ namespace NonMatching
       void
       estimate_function_bounds(
         const std::vector<std::reference_wrapper<const Function<dim>>>
-          &                               functions,
-        const BoundingBox<dim> &          box,
+                                         &functions,
+        const BoundingBox<dim>           &box,
         std::vector<FunctionBounds<dim>> &all_function_bounds)
       {
         all_function_bounds.clear();
@@ -363,8 +363,8 @@ namespace NonMatching
        */
       template <int dim>
       void
-      map_quadrature_to_box(const Quadrature<dim> &    unit_quadrature,
-                            const BoundingBox<dim> &   box,
+      map_quadrature_to_box(const Quadrature<dim>     &unit_quadrature,
+                            const BoundingBox<dim>    &box,
                             ExtendableQuadrature<dim> &quadrature)
       {
         for (unsigned int i = 0; i < unit_quadrature.size(); ++i)
@@ -392,8 +392,8 @@ namespace NonMatching
       void
       restrict_to_top_and_bottom(
         const std::vector<std::reference_wrapper<const Function<dim>>>
-          &                                                     functions,
-        const BoundingBox<dim> &                                box,
+                                                               &functions,
+        const BoundingBox<dim>                                 &box,
         const unsigned int                                      direction,
         std::vector<Functions::CoordinateRestriction<dim - 1>> &restrictions)
       {
@@ -428,8 +428,8 @@ namespace NonMatching
       void
       restrict_to_point(
         const std::vector<std::reference_wrapper<const Function<dim>>>
-          &                                                functions,
-        const Point<dim - 1> &                             point,
+                                                          &functions,
+        const Point<dim - 1>                              &point,
         const unsigned int                                 open_direction,
         std::vector<Functions::PointRestriction<dim - 1>> &restrictions)
       {
@@ -462,16 +462,16 @@ namespace NonMatching
       template <int dim>
       void
       distribute_points_between_roots(
-        const Quadrature<1> &      quadrature1D,
-        const BoundingBox<1> &     interval,
+        const Quadrature<1>       &quadrature1D,
+        const BoundingBox<1>      &interval,
         const std::vector<double> &roots,
-        const Point<dim - 1> &     point,
+        const Point<dim - 1>      &point,
         const double               weight,
         const unsigned int         height_function_direction,
         const std::vector<std::reference_wrapper<const Function<1>>>
-          &                             level_sets,
+                                       &level_sets,
         const AdditionalQGeneratorData &additional_data,
-        QPartitioning<dim> &            q_partitioning)
+        QPartitioning<dim>             &q_partitioning)
       {
         // Make this int to avoid a warning signed/unsigned comparison.
         const int n_roots = roots.size();
@@ -533,8 +533,8 @@ namespace NonMatching
       void
       RootFinder::find_roots(
         const std::vector<std::reference_wrapper<const Function<1>>> &functions,
-        const BoundingBox<1> &                                        interval,
-        std::vector<double> &                                         roots)
+        const BoundingBox<1>                                         &interval,
+        std::vector<double>                                          &roots)
       {
         for (const Function<1> &function : functions)
           {
@@ -554,10 +554,10 @@ namespace NonMatching
 
 
       void
-      RootFinder::find_roots(const Function<1> &   function,
+      RootFinder::find_roots(const Function<1>    &function,
                              const BoundingBox<1> &interval,
                              const unsigned int    recursion_depth,
-                             std::vector<double> roots)
+                             std::vector<double>  &roots)
       {
         // Compute function values at end points.
         const double left_value  = function.value(interval.vertex(0));
@@ -704,10 +704,10 @@ namespace NonMatching
        */
       template <int dim>
       Point<dim>
-      face_projection_closest_zero_contour(const Point<dim - 1> &  point,
+      face_projection_closest_zero_contour(const Point<dim - 1>   &point,
                                            const unsigned int      direction,
                                            const BoundingBox<dim> &box,
-                                           const Function<dim> &   level_set)
+                                           const Function<dim>    &level_set)
       {
         const Point<dim> bottom_point =
           dealii::internal::create_higher_dim_point(point,
@@ -731,7 +731,7 @@ namespace NonMatching
 
       template <int dim, int spacedim>
       UpThroughDimensionCreator<dim, spacedim>::UpThroughDimensionCreator(
-        const hp::QCollection<1> &      q_collection1D,
+        const hp::QCollection<1>       &q_collection1D,
         const AdditionalQGeneratorData &additional_data)
         : q_collection1D(&q_collection1D)
         , additional_data(additional_data)
@@ -748,11 +748,11 @@ namespace NonMatching
       void
       UpThroughDimensionCreator<dim, spacedim>::generate(
         const std::vector<std::reference_wrapper<const Function<dim>>>
-          &                        level_sets,
-        const BoundingBox<dim> &   box,
+                                  &level_sets,
+        const BoundingBox<dim>    &box,
         const Quadrature<dim - 1> &low_dim_quadrature,
         const unsigned int         height_function_direction,
-        QPartitioning<dim> &       q_partitioning)
+        QPartitioning<dim>        &q_partitioning)
       {
         const Quadrature<1> &quadrature1D = (*q_collection1D)[q_index];
 
@@ -806,8 +806,8 @@ namespace NonMatching
         const Point<dim - 1> &point,
         const double          weight,
         const std::vector<std::reference_wrapper<const Function<dim>>>
-          &                             level_sets,
-        const BoundingBox<dim> &        box,
+                                       &level_sets,
+        const BoundingBox<dim>         &box,
         const unsigned int              height_function_direction,
         ImmersedSurfaceQuadrature<dim> &surface_quadrature)
       {
@@ -867,7 +867,7 @@ namespace NonMatching
 
       template <int dim, int spacedim>
       QGeneratorBase<dim, spacedim>::QGeneratorBase(
-        const hp::QCollection<1> &      q_collection1D,
+        const hp::QCollection<1>       &q_collection1D,
         const AdditionalQGeneratorData &additional_data)
         : additional_data(additional_data)
         , q_collection1D(&q_collection1D)
@@ -879,7 +879,7 @@ namespace NonMatching
 
       template <int dim, int spacedim>
       QGenerator<dim, spacedim>::QGenerator(
-        const hp::QCollection<1> &      q_collection1D,
+        const hp::QCollection<1>       &q_collection1D,
         const AdditionalQGeneratorData &additional_data)
         : QGeneratorBase<dim, spacedim>(q_collection1D, additional_data)
         , low_dim_algorithm(q_collection1D, additional_data)
@@ -913,7 +913,7 @@ namespace NonMatching
       void
       QGenerator<dim, spacedim>::generate(
         const std::vector<std::reference_wrapper<const Function<dim>>>
-          &                     level_sets,
+                               &level_sets,
         const BoundingBox<dim> &box,
         const unsigned int      n_box_splits)
       {
@@ -1017,7 +1017,7 @@ namespace NonMatching
       template <int dim>
       unsigned int
       compute_split_direction(
-        const BoundingBox<dim> &                  box,
+        const BoundingBox<dim>                   &box,
         const std::optional<HeightDirectionData> &height_direction_data)
       {
         const std::optional<unsigned int> direction =
@@ -1079,8 +1079,8 @@ namespace NonMatching
       void
       QGenerator<dim, spacedim>::split_box_and_recurse(
         const std::vector<std::reference_wrapper<const Function<dim>>>
-          &                                       level_sets,
-        const BoundingBox<dim> &                  box,
+                                                 &level_sets,
+        const BoundingBox<dim>                   &box,
         const std::optional<HeightDirectionData> &direction_data,
         const unsigned int                        n_box_splits)
       {
@@ -1113,7 +1113,7 @@ namespace NonMatching
       QGenerator<dim, spacedim>::create_low_dim_quadratures(
         const unsigned int height_function_direction,
         const std::vector<std::reference_wrapper<const Function<dim>>>
-          &                     level_sets,
+                               &level_sets,
         const BoundingBox<dim> &box,
         const unsigned int      n_box_splits)
       {
@@ -1142,7 +1142,7 @@ namespace NonMatching
       QGenerator<dim, spacedim>::create_high_dim_quadratures(
         const unsigned int height_function_direction,
         const std::vector<std::reference_wrapper<const Function<dim>>>
-          &                     level_sets,
+                               &level_sets,
         const BoundingBox<dim> &box)
       {
         const QPartitioning<dim - 1> &low_dim_quadratures =
@@ -1178,7 +1178,7 @@ namespace NonMatching
       void
       QGenerator<dim, spacedim>::use_midpoint_method(
         const std::vector<std::reference_wrapper<const Function<dim>>>
-          &                     level_sets,
+                               &level_sets,
         const BoundingBox<dim> &box)
       {
         const Point<dim>   center = box.center();
@@ -1208,7 +1208,7 @@ namespace NonMatching
 
       template <int spacedim>
       QGenerator<1, spacedim>::QGenerator(
-        const hp::QCollection<1> &      q_collection1D,
+        const hp::QCollection<1>       &q_collection1D,
         const AdditionalQGeneratorData &additional_data)
         : QGeneratorBase<1, spacedim>(q_collection1D, additional_data)
         , root_finder(
@@ -1225,7 +1225,7 @@ namespace NonMatching
       void
       QGenerator<1, spacedim>::generate(
         const std::vector<std::reference_wrapper<const Function<1>>>
-          &                   level_sets,
+                             &level_sets,
         const BoundingBox<1> &box,
         const unsigned int    n_box_splits)
       {
@@ -1344,7 +1344,7 @@ namespace NonMatching
          * object.
          */
         RefSpaceFEFieldFunction(const DoFHandler<dim> &dof_handler,
-                                const VectorType &     dof_values);
+                                const VectorType      &dof_values);
 
         /**
          * @copydoc CellWiseFunction::set_active_cell()
@@ -1358,7 +1358,7 @@ namespace NonMatching
          */
         void
         set_subcell(const std::vector<unsigned int> &mask,
-                    const BoundingBox<dim> &         subcell_box) override;
+                    const BoundingBox<dim>          &subcell_box) override;
 
         /**
          * @copydoc CellWiseFunction::is_fe_q_iso_q1()
@@ -1380,7 +1380,7 @@ namespace NonMatching
          * checked.
          */
         double
-        value(const Point<dim> point,
+        value(const Point<dim>  &point,
               const unsigned int component = 0) const override;
 
         /**
@@ -1391,7 +1391,7 @@ namespace NonMatching
          * checked.
          */
         Tensor<1, dim>
-        gradient(const Point<dim> point,
+        gradient(const Point<dim>  &point,
                  const unsigned int component = 0) const override;
 
         /**
@@ -1402,7 +1402,7 @@ namespace NonMatching
          * checked.
          */
         SymmetricTensor<2, dim>
-        hessian(const Point<dim> point,
+        hessian(const Point<dim>  &point,
                 const unsigned int component = 0) const override;
 
       private:
@@ -1480,7 +1480,7 @@ namespace NonMatching
       template <int dim, typename VectorType>
       RefSpaceFEFieldFunction<dim, VectorType>::RefSpaceFEFieldFunction(
         const DoFHandler<dim> &dof_handler,
-        const VectorType &     dof_values)
+        const VectorType      &dof_values)
         : dof_handler(&dof_handler)
         , global_dof_values(&dof_values)
         , n_subdivisions_per_line(numbers::invalid_unsigned_int)
@@ -1570,7 +1570,7 @@ namespace NonMatching
       void
       RefSpaceFEFieldFunction<dim, VectorType>::set_subcell(
         const std::vector<unsigned int> &mask,
-        const BoundingBox<dim> &         subcell_box)
+        const BoundingBox<dim>          &subcell_box)
       {
         for (unsigned int i = 0; i < local_dof_values_subcell.size(); ++i)
           local_dof_values_subcell[i] = local_dof_values[renumber[mask[i]]];
@@ -1612,7 +1612,7 @@ namespace NonMatching
       template <int dim, typename VectorType>
       double
       RefSpaceFEFieldFunction<dim, VectorType>::value(
-        const Point<dim> point,
+        const Point<dim>  &point,
         const unsigned int component) const
       {
         AssertIndexRange(component, this->n_components);
@@ -1645,7 +1645,7 @@ namespace NonMatching
       template <int dim, typename VectorType>
       Tensor<1, dim>
       RefSpaceFEFieldFunction<dim, VectorType>::gradient(
-        const Point<dim> point,
+        const Point<dim>  &point,
         const unsigned int component) const
       {
         AssertIndexRange(component, this->n_components);
@@ -1681,7 +1681,7 @@ namespace NonMatching
       template <int dim, typename VectorType>
       SymmetricTensor<2, dim>
       RefSpaceFEFieldFunction<dim, VectorType>::hessian(
-        const Point<dim> point,
+        const Point<dim>  &point,
         const unsigned int component) const
       {
         AssertIndexRange(component, this->n_components);
@@ -1713,7 +1713,7 @@ namespace NonMatching
 
       template <int dim>
       BoundingBox<dim>
-      create_subcell_box(const BoundingBox<dim> &             unit_box,
+      create_subcell_box(const BoundingBox<dim>              &unit_box,
                          const std::array<unsigned int, dim> &subcell_indices,
                          const unsigned int                   n_subdivisions)
       {
@@ -1786,7 +1786,7 @@ namespace NonMatching
   template <int dim>
   QuadratureGenerator<dim>::QuadratureGenerator(
     const hp::QCollection<1> &q_collection,
-    const AdditionalData &    additional_data)
+    const AdditionalData     &additional_data)
     : q_generator(q_collection, additional_data)
   {
     Assert(q_collection.size() > 0,
@@ -1806,7 +1806,7 @@ namespace NonMatching
 
   template <int dim>
   void
-  QuadratureGenerator<dim>::generate(const Function<dim> &   level_set,
+  QuadratureGenerator<dim>::generate(const Function<dim>    &level_set,
                                      const BoundingBox<dim> &box)
   {
     clear_quadratures();
@@ -1817,7 +1817,7 @@ namespace NonMatching
 
   template <int dim>
   void
-  QuadratureGenerator<dim>::generate_append(const Function<dim> &   level_set,
+  QuadratureGenerator<dim>::generate_append(const Function<dim>    &level_set,
                                             const BoundingBox<dim> &box)
   {
     Assert(level_set.n_components == 1,
@@ -1883,7 +1883,7 @@ namespace NonMatching
   template <int dim>
   FaceQuadratureGenerator<dim>::FaceQuadratureGenerator(
     const hp::QCollection<1> &quadratures1D,
-    const AdditionalData &    additional_data)
+    const AdditionalData     &additional_data)
     : quadrature_generator(quadratures1D, additional_data)
   {}
 
@@ -1901,7 +1901,7 @@ namespace NonMatching
 
   template <int dim>
   void
-  FaceQuadratureGenerator<dim>::generate(const Function<dim> &   level_set,
+  FaceQuadratureGenerator<dim>::generate(const Function<dim>    &level_set,
                                          const BoundingBox<dim> &box,
                                          const unsigned int      face_index)
   {
@@ -2002,7 +2002,7 @@ namespace NonMatching
 
   FaceQuadratureGenerator<1>::FaceQuadratureGenerator(
     const hp::QCollection<1> &quadratures1D,
-    const AdditionalData &    additional_data)
+    const AdditionalData     &additional_data)
   {
     (void)quadratures1D;
     (void)additional_data;
@@ -2019,7 +2019,7 @@ namespace NonMatching
 
 
   void
-  FaceQuadratureGenerator<1>::generate(const Function<1> &   level_set,
+  FaceQuadratureGenerator<1>::generate(const Function<1>    &level_set,
                                        const BoundingBox<1> &box,
                                        const unsigned int    face_index)
   {
@@ -2030,7 +2030,7 @@ namespace NonMatching
 
 
   void
-  FaceQuadratureGenerator<1>::generate_append(const Function<1> &   level_set,
+  FaceQuadratureGenerator<1>::generate_append(const Function<1>    &level_set,
                                               const BoundingBox<1> &box,
                                               const unsigned int    face_index)
   {
@@ -2100,9 +2100,9 @@ namespace NonMatching
   template <typename VectorType>
   DiscreteQuadratureGenerator<dim>::DiscreteQuadratureGenerator(
     const hp::QCollection<1> &quadratures1D,
-    const DoFHandler<dim> &   dof_handler,
-    const VectorType &        level_set,
-    const AdditionalData &    additional_data)
+    const DoFHandler<dim>    &dof_handler,
+    const VectorType         &level_set,
+    const AdditionalData     &additional_data)
     : QuadratureGenerator<dim>(quadratures1D, additional_data)
     , reference_space_level_set(
         std::make_unique<internal::DiscreteQuadratureGeneratorImplementation::
@@ -2193,9 +2193,9 @@ namespace NonMatching
   template <typename VectorType>
   DiscreteFaceQuadratureGenerator<dim>::DiscreteFaceQuadratureGenerator(
     const hp::QCollection<1> &quadratures1D,
-    const DoFHandler<dim> &   dof_handler,
-    const VectorType &        level_set,
-    const AdditionalData &    additional_data)
+    const DoFHandler<dim>    &dof_handler,
+    const VectorType         &level_set,
+    const AdditionalData     &additional_data)
     : FaceQuadratureGenerator<dim>(quadratures1D, additional_data)
     , reference_space_level_set(
         std::make_unique<internal::DiscreteQuadratureGeneratorImplementation::
index 43b062ee61eb9c72b5981f63a27cdbfef25d8fdb..418e6943e32abb8f5523186a607cdb333db38c77 100644 (file)
@@ -47,7 +47,7 @@ namespace internal
       const dealii::hp::MappingCollection<dim, spacedim> &mapping,
       const std::vector<
         std::shared_ptr<dealii::hp::FECollection<dim, spacedim>>>
-        &                                           finite_elements,
+                                                   &finite_elements,
       const UpdateFlags                             update_flags,
       const std::vector<std::vector<unsigned int>> &cell_to_patch_index_map)
       : ParallelDataBase<dim, spacedim>(n_datasets,
@@ -94,7 +94,7 @@ DataOut<dim, spacedim>::DataOut()
 template <int dim, int spacedim>
 void
 DataOut<dim, spacedim>::build_one_patch(
-  const std::pair<cell_iterator, unsigned int> *                cell_and_index,
+  const std::pair<cell_iterator, unsigned int>                 *cell_and_index,
   internal::DataOutImplementation::ParallelData<dim, spacedim> &scratch_data,
   const unsigned int                                            n_subdivisions,
   const CurvedCellRegion curved_cell_region)
@@ -1273,7 +1273,7 @@ template <int dim, int spacedim>
 void
 DataOut<dim, spacedim>::set_cell_selection(
   const std::function<cell_iterator(const Triangulation<dim, spacedim> &)>
-    &                                                        first_cell,
+                                                            &first_cell,
   const std::function<cell_iterator(const Triangulation<dim, spacedim> &,
                                     const cell_iterator &)> &next_cell)
 {
index 5fa098659f3a43426d6a92e60cd239abf229a7de..923e61396b80f38e5ec7583fa66064c30dd85b13 100644 (file)
@@ -45,10 +45,10 @@ namespace internal
       const unsigned int               n_datasets,
       const unsigned int               n_subdivisions,
       const std::vector<unsigned int> &n_postprocessor_outputs,
-      const Mapping<dim, spacedim> &   mapping,
+      const Mapping<dim, spacedim>    &mapping,
       const std::vector<
         std::shared_ptr<dealii::hp::FECollection<dim, spacedim>>>
-        &               finite_elements,
+                       &finite_elements,
       const UpdateFlags update_flags)
       : internal::DataOutImplementation::ParallelDataBase<dim, spacedim>(
           n_datasets,
@@ -97,7 +97,7 @@ void
 DataOutFaces<dim, spacedim>::build_one_patch(
   const FaceDescriptor *cell_and_face,
   internal::DataOutFacesImplementation::ParallelData<dim, spacedim> &data,
-  DataOutBase::Patch<patch_dim, patch_spacedim> &                    patch)
+  DataOutBase::Patch<patch_dim, patch_spacedim>                     &patch)
 {
   const cell_iterator cell        = cell_and_face->first;
   const unsigned int  face_number = cell_and_face->second;
@@ -268,28 +268,30 @@ DataOutFaces<dim, spacedim>::build_one_patch(
             // we treat single component functions separately for efficiency
             // reasons.
             if (n_components == 1)
-            {
-              this->dof_data[dataset]->get_function_values(
-                this_fe_patch_values,
-                internal::DataOutImplementation::ComponentExtractor::real_part,
-                data.patch_values_scalar.solution_values);
-              for (unsigned int q = 0; q < n_q_points; ++q)
-                patch.data(offset, q) =
-                  data.patch_values_scalar.solution_values[q];
-            }
-          else
-            {
-              data.resize_system_vectors(n_components);
-              this->dof_data[dataset]->get_function_values(
-                this_fe_patch_values,
-                internal::DataOutImplementation::ComponentExtractor::real_part,
-                data.patch_values_system.solution_values);
-              for (unsigned int component = 0; component < n_components;
-                   ++component)
+              {
+                this->dof_data[dataset]->get_function_values(
+                  this_fe_patch_values,
+                  internal::DataOutImplementation::ComponentExtractor::
+                    real_part,
+                  data.patch_values_scalar.solution_values);
                 for (unsigned int q = 0; q < n_q_points; ++q)
-                  patch.data(offset + component, q) =
-                    data.patch_values_system.solution_values[q](component);
-            }
+                  patch.data(offset, q) =
+                    data.patch_values_scalar.solution_values[q];
+              }
+            else
+              {
+                data.resize_system_vectors(n_components);
+                this->dof_data[dataset]->get_function_values(
+                  this_fe_patch_values,
+                  internal::DataOutImplementation::ComponentExtractor::
+                    real_part,
+                  data.patch_values_system.solution_values);
+                for (unsigned int component = 0; component < n_components;
+                     ++component)
+                  for (unsigned int q = 0; q < n_q_points; ++q)
+                    patch.data(offset + component, q) =
+                      data.patch_values_system.solution_values[q](component);
+              }
           // increment the counter for the actual data record
           offset += this->dof_data[dataset]->n_output_variables;
         }
index ef77efd95d61ac5b78e2fcc95a8c70da6b92a8eb..22d9ce4f329465ac00a3a225cb4ecaea190ab5fd 100644 (file)
@@ -33,7 +33,7 @@ DEAL_II_NAMESPACE_OPEN
 template <int dim, int patch_dim, int spacedim>
 DataOutResample<dim, patch_dim, spacedim>::DataOutResample(
   const Triangulation<patch_dim, spacedim> &patch_tria,
-  const Mapping<patch_dim, spacedim> &      patch_mapping)
+  const Mapping<patch_dim, spacedim>       &patch_mapping)
   : patch_dof_handler(patch_tria)
   , patch_mapping(&patch_mapping)
 {}
@@ -107,7 +107,7 @@ DataOutResample<dim, patch_dim, spacedim>::update_mapping(
 template <int dim, int patch_dim, int spacedim>
 void
 DataOutResample<dim, patch_dim, spacedim>::build_patches(
-  const Mapping<dim, spacedim> &                                mapping,
+  const Mapping<dim, spacedim>                                 &mapping,
   const unsigned int                                            n_subdivisions,
   const typename DataOut<patch_dim, spacedim>::CurvedCellRegion curved_region)
 {
index d6f379dea5af162002534a261b61df19be6574b0..edd84d2112f91bb84ebf4c727ecb6fc5e0d46904 100644 (file)
@@ -59,10 +59,10 @@ namespace internal
       const unsigned int               n_subdivisions,
       const unsigned int               n_patches_per_circle,
       const std::vector<unsigned int> &n_postprocessor_outputs,
-      const Mapping<dim, spacedim> &   mapping,
+      const Mapping<dim, spacedim>    &mapping,
       const std::vector<
         std::shared_ptr<dealii::hp::FECollection<dim, spacedim>>>
-        &               finite_elements,
+                       &finite_elements,
       const UpdateFlags update_flags)
       : internal::DataOutImplementation::ParallelDataBase<dim, spacedim>(
           n_datasets,
@@ -107,7 +107,7 @@ namespace internal
 template <int dim, int spacedim>
 void
 DataOutRotation<dim, spacedim>::build_one_patch(
-  const cell_iterator *                                                 cell,
+  const cell_iterator                                                  *cell,
   internal::DataOutRotationImplementation::ParallelData<dim, spacedim> &data,
   std::vector<DataOutBase::Patch<patch_dim, patch_spacedim>> &my_patches)
 {
@@ -540,7 +540,7 @@ DataOutRotation<dim, spacedim>::build_patches(
     [this](
       const cell_iterator *cell,
       internal::DataOutRotationImplementation::ParallelData<dim, spacedim>
-        &                                                         data,
+                                                                 &data,
       std::vector<DataOutBase::Patch<patch_dim, patch_spacedim>> &my_patches) {
       this->build_one_patch(cell, data, my_patches);
     },
index 6ed061616090afef38c4bc1a753c27dd1928a565..49fe7dd2c485b69ff4e0423f62518107bb74892f 100644 (file)
@@ -135,7 +135,7 @@ template <int dim, int spacedim>
 template <typename number>
 void
 DataOutStack<dim, spacedim>::add_data_vector(const Vector<number> &vec,
-                                             const std::string &   name)
+                                             const std::string    &name)
 {
   const unsigned int n_components = dof_handler->get_fe(0).n_components();
 
@@ -169,7 +169,7 @@ template <int dim, int spacedim>
 template <typename number>
 void
 DataOutStack<dim, spacedim>::add_data_vector(
-  const Vector<number> &          vec,
+  const Vector<number>           &vec,
   const std::vector<std::string> &names)
 {
   Assert(dof_handler != nullptr,
index 0b402eacac34388bed163386b99431cffc6b202f..b593aeb6690b138b312c2bb2822e07e193194eda 100644 (file)
@@ -206,7 +206,7 @@ namespace DataPostprocessors
   void
   BoundaryIds<dim>::evaluate_scalar_field(
     const DataPostprocessorInputs::Scalar<dim> &inputs,
-    std::vector<Vector<double>> &               computed_quantities) const
+    std::vector<Vector<double>>                &computed_quantities) const
   {
     AssertDimension(computed_quantities.size(), inputs.solution_values.size());
 
index 4d7de36ef998befcbf0ad435b60b0644b2614a02..befc737be4dcc505f6e6814db73f2e69914bbacf 100644 (file)
@@ -106,7 +106,7 @@ namespace DerivativeApproximation
       template <class InputVector, int spacedim>
       static ProjectedDerivative
       get_projected_derivative(const FEValues<dim, spacedim> &fe_values,
-                               const InputVector &            solution,
+                               const InputVector             &solution,
                                const unsigned int             component);
 
       /**
@@ -137,7 +137,7 @@ namespace DerivativeApproximation
     inline typename Gradient<dim>::ProjectedDerivative
     Gradient<dim>::get_projected_derivative(
       const FEValues<dim, spacedim> &fe_values,
-      const InputVector &            solution,
+      const InputVector             &solution,
       const unsigned int             component)
     {
       if (fe_values.get_fe().n_components() == 1)
@@ -217,7 +217,7 @@ namespace DerivativeApproximation
       template <class InputVector, int spacedim>
       static ProjectedDerivative
       get_projected_derivative(const FEValues<dim, spacedim> &fe_values,
-                               const InputVector &            solution,
+                               const InputVector             &solution,
                                const unsigned int             component);
 
       /**
@@ -252,7 +252,7 @@ namespace DerivativeApproximation
     inline typename SecondDerivative<dim>::ProjectedDerivative
     SecondDerivative<dim>::get_projected_derivative(
       const FEValues<dim, spacedim> &fe_values,
-      const InputVector &            solution,
+      const InputVector             &solution,
       const unsigned int             component)
     {
       if (fe_values.get_fe().n_components() == 1)
@@ -556,7 +556,7 @@ namespace DerivativeApproximation
       template <class InputVector, int spacedim>
       static ProjectedDerivative
       get_projected_derivative(const FEValues<dim, spacedim> &fe_values,
-                               const InputVector &            solution,
+                               const InputVector             &solution,
                                const unsigned int             component);
 
       /**
@@ -591,7 +591,7 @@ namespace DerivativeApproximation
     inline typename ThirdDerivative<dim>::ProjectedDerivative
     ThirdDerivative<dim>::get_projected_derivative(
       const FEValues<dim, spacedim> &fe_values,
-      const InputVector &            solution,
+      const InputVector             &solution,
       const unsigned int             component)
     {
       if (fe_values.get_fe().n_components() == 1)
@@ -743,9 +743,9 @@ namespace DerivativeApproximation
               int spacedim>
     void
     approximate_cell(
-      const Mapping<dim, spacedim> &   mapping,
+      const Mapping<dim, spacedim>    &mapping,
       const DoFHandler<dim, spacedim> &dof_handler,
-      const InputVector &              solution,
+      const InputVector               &solution,
       const unsigned int               component,
       const typename DoFHandler<dim, spacedim>::active_cell_iterator &cell,
       typename DerivativeDescription::Derivative &derivative)
@@ -921,9 +921,9 @@ namespace DerivativeApproximation
       const SynchronousIterators<
         std::tuple<typename DoFHandler<dim, spacedim>::active_cell_iterator,
                    Vector<float>::iterator>> &cell,
-      const Mapping<dim, spacedim> &          mapping,
-      const DoFHandler<dim, spacedim> &       dof_handler,
-      const InputVector &                     solution,
+      const Mapping<dim, spacedim>           &mapping,
+      const DoFHandler<dim, spacedim>        &dof_handler,
+      const InputVector                      &solution,
       const unsigned int                      component)
     {
       // if the cell is not locally owned, then there is nothing to do
@@ -965,11 +965,11 @@ namespace DerivativeApproximation
               class InputVector,
               int spacedim>
     void
-    approximate_derivative(const Mapping<dim, spacedim> &   mapping,
+    approximate_derivative(const Mapping<dim, spacedim>    &mapping,
                            const DoFHandler<dim, spacedim> &dof_handler,
-                           const InputVector &              solution,
+                           const InputVector               &solution,
                            const unsigned int               component,
-                           Vector<float> &                  derivative_norm)
+                           Vector<float>                   &derivative_norm)
     {
       Assert(derivative_norm.size() ==
                dof_handler.get_triangulation().n_active_cells(),
@@ -1014,10 +1014,10 @@ namespace DerivativeApproximation
 {
   template <int dim, class InputVector, int spacedim>
   void
-  approximate_gradient(const Mapping<dim, spacedim> &   mapping,
+  approximate_gradient(const Mapping<dim, spacedim>    &mapping,
                        const DoFHandler<dim, spacedim> &dof_handler,
-                       const InputVector &              solution,
-                       Vector<float> &                  derivative_norm,
+                       const InputVector               &solution,
+                       Vector<float>                   &derivative_norm,
                        const unsigned int               component)
   {
     internal::approximate_derivative<internal::Gradient<dim>, dim>(
@@ -1028,8 +1028,8 @@ namespace DerivativeApproximation
   template <int dim, class InputVector, int spacedim>
   void
   approximate_gradient(const DoFHandler<dim, spacedim> &dof_handler,
-                       const InputVector &              solution,
-                       Vector<float> &                  derivative_norm,
+                       const InputVector               &solution,
+                       Vector<float>                   &derivative_norm,
                        const unsigned int               component)
   {
     Assert(!dof_handler.get_triangulation().is_mixed_mesh(),
@@ -1047,10 +1047,10 @@ namespace DerivativeApproximation
 
   template <int dim, class InputVector, int spacedim>
   void
-  approximate_second_derivative(const Mapping<dim, spacedim> &   mapping,
+  approximate_second_derivative(const Mapping<dim, spacedim>    &mapping,
                                 const DoFHandler<dim, spacedim> &dof_handler,
-                                const InputVector &              solution,
-                                Vector<float> &    derivative_norm,
+                                const InputVector               &solution,
+                                Vector<float>     &derivative_norm,
                                 const unsigned int component)
   {
     internal::approximate_derivative<internal::SecondDerivative<dim>, dim>(
@@ -1061,8 +1061,8 @@ namespace DerivativeApproximation
   template <int dim, class InputVector, int spacedim>
   void
   approximate_second_derivative(const DoFHandler<dim, spacedim> &dof_handler,
-                                const InputVector &              solution,
-                                Vector<float> &    derivative_norm,
+                                const InputVector               &solution,
+                                Vector<float>     &derivative_norm,
                                 const unsigned int component)
   {
     Assert(!dof_handler.get_triangulation().is_mixed_mesh(),
@@ -1081,9 +1081,9 @@ namespace DerivativeApproximation
   template <int dim, int spacedim, class InputVector, int order>
   void
   approximate_derivative_tensor(
-    const Mapping<dim, spacedim> &   mapping,
+    const Mapping<dim, spacedim>    &mapping,
     const DoFHandler<dim, spacedim> &dof,
-    const InputVector &              solution,
+    const InputVector               &solution,
 #ifndef _MSC_VER
     const typename DoFHandler<dim, spacedim>::active_cell_iterator &cell,
 #else
@@ -1104,7 +1104,7 @@ namespace DerivativeApproximation
   void
   approximate_derivative_tensor(
     const DoFHandler<dim, spacedim> &dof,
-    const InputVector &              solution,
+    const InputVector               &solution,
 #ifndef _MSC_VER
     const typename DoFHandler<dim, spacedim>::active_cell_iterator &cell,
 #else
index ec00ac71598f395a0facbadce70c67c38ff4d720..06a36b2685c83b7144ee8656ded325b1a994e8ff 100644 (file)
@@ -20,32 +20,32 @@ for (deal_II_dimension : DIMENSIONS; VEC : REAL_VECTOR_TYPES)
     \{
       template void
       approximate_gradient<deal_II_dimension>(
-        const Mapping<deal_II_dimension> &   mapping,
+        const Mapping<deal_II_dimension>    &mapping,
         const DoFHandler<deal_II_dimension> &dof_handler,
-        const VEC &                          solution,
-        Vector<float> &                      derivative_norm,
+        const VEC                           &solution,
+        Vector<float>                       &derivative_norm,
         const unsigned int                   component);
 
       template void
       approximate_gradient<deal_II_dimension>(
         const DoFHandler<deal_II_dimension> &dof_handler,
-        const VEC &                          solution,
-        Vector<float> &                      derivative_norm,
+        const VEC                           &solution,
+        Vector<float>                       &derivative_norm,
         const unsigned int                   component);
 
       template void
       approximate_second_derivative<deal_II_dimension>(
-        const Mapping<deal_II_dimension> &   mapping,
+        const Mapping<deal_II_dimension>    &mapping,
         const DoFHandler<deal_II_dimension> &dof_handler,
-        const VEC &                          solution,
-        Vector<float> &                      derivative_norm,
+        const VEC                           &solution,
+        Vector<float>                       &derivative_norm,
         const unsigned int                   component);
 
       template void
       approximate_second_derivative<deal_II_dimension>(
         const DoFHandler<deal_II_dimension> &dof_handler,
-        const VEC &                          solution,
-        Vector<float> &                      derivative_norm,
+        const VEC                           &solution,
+        Vector<float>                       &derivative_norm,
         const unsigned int                   component);
 
       template void
@@ -53,11 +53,11 @@ for (deal_II_dimension : DIMENSIONS; VEC : REAL_VECTOR_TYPES)
                                     deal_II_dimension,
                                     VEC,
                                     1>(
-        const Mapping<deal_II_dimension> &                         mapping,
-        const DoFHandler<deal_II_dimension> &                      dof_handler,
-        const VEC &                                                solution,
+        const Mapping<deal_II_dimension>                          &mapping,
+        const DoFHandler<deal_II_dimension>                       &dof_handler,
+        const VEC                                                 &solution,
         const DoFHandler<deal_II_dimension>::active_cell_iterator &cell,
-        Tensor<1, deal_II_dimension> &                             derivative,
+        Tensor<1, deal_II_dimension>                              &derivative,
         const unsigned int                                         component);
 
       template void
@@ -65,11 +65,11 @@ for (deal_II_dimension : DIMENSIONS; VEC : REAL_VECTOR_TYPES)
                                     deal_II_dimension,
                                     VEC,
                                     2>(
-        const Mapping<deal_II_dimension> &                         mapping,
-        const DoFHandler<deal_II_dimension> &                      dof_handler,
-        const VEC &                                                solution,
+        const Mapping<deal_II_dimension>                          &mapping,
+        const DoFHandler<deal_II_dimension>                       &dof_handler,
+        const VEC                                                 &solution,
         const DoFHandler<deal_II_dimension>::active_cell_iterator &cell,
-        Tensor<2, deal_II_dimension> &                             derivative,
+        Tensor<2, deal_II_dimension>                              &derivative,
         const unsigned int                                         component);
 
       template void
@@ -77,11 +77,11 @@ for (deal_II_dimension : DIMENSIONS; VEC : REAL_VECTOR_TYPES)
                                     deal_II_dimension,
                                     VEC,
                                     3>(
-        const Mapping<deal_II_dimension> &                         mapping,
-        const DoFHandler<deal_II_dimension> &                      dof_handler,
-        const VEC &                                                solution,
+        const Mapping<deal_II_dimension>                          &mapping,
+        const DoFHandler<deal_II_dimension>                       &dof_handler,
+        const VEC                                                 &solution,
         const DoFHandler<deal_II_dimension>::active_cell_iterator &cell,
-        Tensor<3, deal_II_dimension> &                             derivative,
+        Tensor<3, deal_II_dimension>                              &derivative,
         const unsigned int                                         component);
 
 
@@ -90,10 +90,10 @@ for (deal_II_dimension : DIMENSIONS; VEC : REAL_VECTOR_TYPES)
                                     deal_II_dimension,
                                     VEC,
                                     1>(
-        const DoFHandler<deal_II_dimension> &                      dof_handler,
-        const VEC &                                                solution,
+        const DoFHandler<deal_II_dimension>                       &dof_handler,
+        const VEC                                                 &solution,
         const DoFHandler<deal_II_dimension>::active_cell_iterator &cell,
-        Tensor<1, deal_II_dimension> &                             derivative,
+        Tensor<1, deal_II_dimension>                              &derivative,
         const unsigned int                                         component);
 
       template void
@@ -101,10 +101,10 @@ for (deal_II_dimension : DIMENSIONS; VEC : REAL_VECTOR_TYPES)
                                     deal_II_dimension,
                                     VEC,
                                     2>(
-        const DoFHandler<deal_II_dimension> &                      dof_handler,
-        const VEC &                                                solution,
+        const DoFHandler<deal_II_dimension>                       &dof_handler,
+        const VEC                                                 &solution,
         const DoFHandler<deal_II_dimension>::active_cell_iterator &cell,
-        Tensor<2, deal_II_dimension> &                             derivative,
+        Tensor<2, deal_II_dimension>                              &derivative,
         const unsigned int                                         component);
 
       template void
@@ -112,10 +112,10 @@ for (deal_II_dimension : DIMENSIONS; VEC : REAL_VECTOR_TYPES)
                                     deal_II_dimension,
                                     VEC,
                                     3>(
-        const DoFHandler<deal_II_dimension> &                      dof_handler,
-        const VEC &                                                solution,
+        const DoFHandler<deal_II_dimension>                       &dof_handler,
+        const VEC                                                 &solution,
         const DoFHandler<deal_II_dimension>::active_cell_iterator &cell,
-        Tensor<3, deal_II_dimension> &                             derivative,
+        Tensor<3, deal_II_dimension>                              &derivative,
         const unsigned int                                         component);
 
     \}
index f8bb40ab6f8309e5c442d1bb01c44faf3bdda37d..c621775af0bb64af9a45a38f3f538fa7288d0151 100644 (file)
@@ -58,14 +58,14 @@ template <int spacedim>
 template <typename Number>
 void
 KellyErrorEstimator<1, spacedim>::estimate(
-  const Mapping<1, spacedim> &   mapping,
+  const Mapping<1, spacedim>    &mapping,
   const DoFHandler<1, spacedim> &dof_handler,
-  const Quadrature<0> &          quadrature,
+  const Quadrature<0>           &quadrature,
   const std::map<types::boundary_id, const Function<spacedim, Number> *>
-    &                       neumann_bc,
+                           &neumann_bc,
   const ReadVector<Number> &solution,
-  Vector<float> &           error,
-  const ComponentMask &     component_mask,
+  Vector<float>            &error,
+  const ComponentMask      &component_mask,
   const Function<spacedim> *coefficients,
   const unsigned int        n_threads,
   const types::subdomain_id subdomain_id,
@@ -97,12 +97,12 @@ template <typename Number>
 void
 KellyErrorEstimator<1, spacedim>::estimate(
   const DoFHandler<1, spacedim> &dof_handler,
-  const Quadrature<0> &          quadrature,
+  const Quadrature<0>           &quadrature,
   const std::map<types::boundary_id, const Function<spacedim, Number> *>
-    &                       neumann_bc,
+                           &neumann_bc,
   const ReadVector<Number> &solution,
-  Vector<float> &           error,
-  const ComponentMask &     component_mask,
+  Vector<float>            &error,
+  const ComponentMask      &component_mask,
   const Function<spacedim> *coefficients,
   const unsigned int        n_threads,
   const types::subdomain_id subdomain_id,
@@ -131,13 +131,13 @@ template <typename Number>
 void
 KellyErrorEstimator<1, spacedim>::estimate(
   const DoFHandler<1, spacedim> &dof_handler,
-  const Quadrature<0> &          quadrature,
+  const Quadrature<0>           &quadrature,
   const std::map<types::boundary_id, const Function<spacedim, Number> *>
-    &                                          neumann_bc,
+                                              &neumann_bc,
   const ArrayView<const ReadVector<Number> *> &solutions,
-  ArrayView<Vector<float> *> &                 errors,
-  const ComponentMask &                        component_mask,
-  const Function<spacedim> *                   coefficients,
+  ArrayView<Vector<float> *>                  &errors,
+  const ComponentMask                         &component_mask,
+  const Function<spacedim>                    *coefficients,
   const unsigned int                           n_threads,
   const types::subdomain_id                    subdomain_id,
   const types::material_id                     material_id,
@@ -164,14 +164,14 @@ template <int spacedim>
 template <typename Number>
 void
 KellyErrorEstimator<1, spacedim>::estimate(
-  const Mapping<1, spacedim> &   mapping,
+  const Mapping<1, spacedim>    &mapping,
   const DoFHandler<1, spacedim> &dof_handler,
-  const hp::QCollection<0> &     quadrature,
+  const hp::QCollection<0>      &quadrature,
   const std::map<types::boundary_id, const Function<spacedim, Number> *>
-    &                       neumann_bc,
+                           &neumann_bc,
   const ReadVector<Number> &solution,
-  Vector<float> &           error,
-  const ComponentMask &     component_mask,
+  Vector<float>            &error,
+  const ComponentMask      &component_mask,
   const Function<spacedim> *coefficients,
   const unsigned int        n_threads,
   const types::subdomain_id subdomain_id,
@@ -203,12 +203,12 @@ template <typename Number>
 void
 KellyErrorEstimator<1, spacedim>::estimate(
   const DoFHandler<1, spacedim> &dof_handler,
-  const hp::QCollection<0> &     quadrature,
+  const hp::QCollection<0>      &quadrature,
   const std::map<types::boundary_id, const Function<spacedim, Number> *>
-    &                       neumann_bc,
+                           &neumann_bc,
   const ReadVector<Number> &solution,
-  Vector<float> &           error,
-  const ComponentMask &     component_mask,
+  Vector<float>            &error,
+  const ComponentMask      &component_mask,
   const Function<spacedim> *coefficients,
   const unsigned int        n_threads,
   const types::subdomain_id subdomain_id,
@@ -237,13 +237,13 @@ template <typename Number>
 void
 KellyErrorEstimator<1, spacedim>::estimate(
   const DoFHandler<1, spacedim> &dof_handler,
-  const hp::QCollection<0> &     quadrature,
+  const hp::QCollection<0>      &quadrature,
   const std::map<types::boundary_id, const Function<spacedim, Number> *>
-    &                                          neumann_bc,
+                                              &neumann_bc,
   const ArrayView<const ReadVector<Number> *> &solutions,
-  ArrayView<Vector<float> *> &                 errors,
-  const ComponentMask &                        component_mask,
-  const Function<spacedim> *                   coefficients,
+  ArrayView<Vector<float> *>                  &errors,
+  const ComponentMask                         &component_mask,
+  const Function<spacedim>                    *coefficients,
   const unsigned int                           n_threads,
   const types::subdomain_id                    subdomain_id,
   const types::material_id                     material_id,
@@ -270,15 +270,15 @@ template <int spacedim>
 template <typename Number>
 void
 KellyErrorEstimator<1, spacedim>::estimate(
-  const Mapping<1, spacedim> &   mapping,
+  const Mapping<1, spacedim>    &mapping,
   const DoFHandler<1, spacedim> &dof_handler,
   const hp::QCollection<0> &,
   const std::map<types::boundary_id, const Function<spacedim, Number> *>
-    &                                          neumann_bc,
+                                              &neumann_bc,
   const ArrayView<const ReadVector<Number> *> &solutions,
-  ArrayView<Vector<float> *> &                 errors,
-  const ComponentMask &                        component_mask,
-  const Function<spacedim> *                   coefficient,
+  ArrayView<Vector<float> *>                  &errors,
+  const ComponentMask                         &component_mask,
+  const Function<spacedim>                    *coefficient,
   const unsigned int,
   const types::subdomain_id subdomain_id_,
   const types::material_id  material_id,
@@ -527,15 +527,15 @@ template <int spacedim>
 template <typename Number>
 void
 KellyErrorEstimator<1, spacedim>::estimate(
-  const Mapping<1, spacedim> &   mapping,
+  const Mapping<1, spacedim>    &mapping,
   const DoFHandler<1, spacedim> &dof_handler,
-  const Quadrature<0> &          quadrature,
+  const Quadrature<0>           &quadrature,
   const std::map<types::boundary_id, const Function<spacedim, Number> *>
-    &                                          neumann_bc,
+                                              &neumann_bc,
   const ArrayView<const ReadVector<Number> *> &solutions,
-  ArrayView<Vector<float> *> &                 errors,
-  const ComponentMask &                        component_mask,
-  const Function<spacedim> *                   coefficients,
+  ArrayView<Vector<float> *>                  &errors,
+  const ComponentMask                         &component_mask,
+  const Function<spacedim>                    *coefficients,
   const unsigned int                           n_threads,
   const types::subdomain_id                    subdomain_id,
   const types::material_id                     material_id,
index 02a7e3203dd835c039cb49a9a907cc3595c40c1f..aade357751bd1638168d677093c9883f4da5d2d0 100644 (file)
@@ -54,7 +54,7 @@ Histogram::Interval::memory_consumption() const
 template <typename number>
 void
 Histogram::evaluate(const std::vector<Vector<number>> &values,
-                    const std::vector<double> &        y_values_,
+                    const std::vector<double>         &y_values_,
                     const unsigned int                 n_intervals,
                     const IntervalSpacing              interval_spacing)
 {
@@ -312,11 +312,11 @@ Histogram::memory_consumption() const
 // explicit instantiations for float
 template void
 Histogram::evaluate<float>(const std::vector<Vector<float>> &values,
-                           const std::vector<double> &       y_values,
+                           const std::vector<double>        &y_values,
                            const unsigned int                n_intervals,
                            const IntervalSpacing             interval_spacing);
 template void
-Histogram::evaluate<float>(const Vector<float> values,
+Histogram::evaluate<float>(const Vector<float>  &values,
                            const unsigned int    n_intervals,
                            const IntervalSpacing interval_spacing);
 
@@ -324,7 +324,7 @@ Histogram::evaluate<float>(const Vector<float> & values,
 // explicit instantiations for double
 template void
 Histogram::evaluate<double>(const std::vector<Vector<double>> &values,
-                            const std::vector<double> &        y_values,
+                            const std::vector<double>         &y_values,
                             const unsigned int                 n_intervals,
                             const IntervalSpacing interval_spacing);
 template void
index 8df4a83dcbfedc80b4c522e94ab783d388f25ef2..e4782d8c4664582c1c09ef8d606a05fec1238db1 100644 (file)
@@ -26,10 +26,10 @@ for (deal_II_sparse_matrix_type : SPARSE_MATRICES;
     template void MatrixCreator::create_mass_matrix<deal_II_dimension,
                                                     deal_II_space_dimension,
                                                     deal_II_sparse_matrix_type>(
-      const Mapping<deal_II_dimension, deal_II_space_dimension> &   mapping,
+      const Mapping<deal_II_dimension, deal_II_space_dimension>    &mapping,
       const DoFHandler<deal_II_dimension, deal_II_space_dimension> &dof,
-      const Quadrature<deal_II_dimension> &                         q,
-      deal_II_sparse_matrix_type &                                  matrix,
+      const Quadrature<deal_II_dimension>                          &q,
+      deal_II_sparse_matrix_type                                   &matrix,
       const Function<deal_II_space_dimension,
                      typename deal_II_sparse_matrix_type::value_type>
         *const coefficient,
@@ -39,8 +39,8 @@ for (deal_II_sparse_matrix_type : SPARSE_MATRICES;
                                                     deal_II_space_dimension,
                                                     deal_II_sparse_matrix_type>(
       const DoFHandler<deal_II_dimension, deal_II_space_dimension> &dof,
-      const Quadrature<deal_II_dimension> &                         q,
-      deal_II_sparse_matrix_type &                                  matrix,
+      const Quadrature<deal_II_dimension>                          &q,
+      deal_II_sparse_matrix_type                                   &matrix,
       const Function<deal_II_space_dimension,
                      typename deal_II_sparse_matrix_type::value_type>
         *const coefficient,
@@ -52,10 +52,10 @@ for (deal_II_sparse_matrix_type : SPARSE_MATRICES;
                                                     deal_II_space_dimension,
                                                     deal_II_sparse_matrix_type>(
       const hp::MappingCollection<deal_II_dimension, deal_II_space_dimension>
-        &                                                           mapping,
+                                                                   &mapping,
       const DoFHandler<deal_II_dimension, deal_II_space_dimension> &dof,
-      const hp::QCollection<deal_II_dimension> &                    q,
-      deal_II_sparse_matrix_type &                                  matrix,
+      const hp::QCollection<deal_II_dimension>                     &q,
+      deal_II_sparse_matrix_type                                   &matrix,
       const Function<deal_II_space_dimension,
                      typename deal_II_sparse_matrix_type::value_type>
         *const coefficient,
@@ -66,8 +66,8 @@ for (deal_II_sparse_matrix_type : SPARSE_MATRICES;
                                                     deal_II_space_dimension,
                                                     deal_II_sparse_matrix_type>(
       const DoFHandler<deal_II_dimension, deal_II_space_dimension> &dof,
-      const hp::QCollection<deal_II_dimension> &                    q,
-      deal_II_sparse_matrix_type &                                  matrix,
+      const hp::QCollection<deal_II_dimension>                     &q,
+      deal_II_sparse_matrix_type                                   &matrix,
       const Function<deal_II_space_dimension,
                      typename deal_II_sparse_matrix_type::value_type>
         *const coefficient,
@@ -87,22 +87,22 @@ for (scalar : REAL_AND_COMPLEX_SCALARS; deal_II_dimension : DIMENSIONS;
     template void MatrixCreator::create_mass_matrix<deal_II_dimension,
                                                     deal_II_space_dimension,
                                                     SparseMatrix<scalar>>(
-      const Mapping<deal_II_dimension, deal_II_space_dimension> &   mapping,
+      const Mapping<deal_II_dimension, deal_II_space_dimension>    &mapping,
       const DoFHandler<deal_II_dimension, deal_II_space_dimension> &dof,
-      const Quadrature<deal_II_dimension> &                         q,
-      SparseMatrix<scalar> &                                        matrix,
-      const Function<deal_II_space_dimension, scalar> &             rhs,
-      Vector<scalar> &                                              rhs_vector,
+      const Quadrature<deal_II_dimension>                          &q,
+      SparseMatrix<scalar>                                         &matrix,
+      const Function<deal_II_space_dimension, scalar>              &rhs,
+      Vector<scalar>                                               &rhs_vector,
       const Function<deal_II_space_dimension, scalar> *const        coefficient,
       const AffineConstraints<scalar> &constraints);
     template void MatrixCreator::create_mass_matrix<deal_II_dimension,
                                                     deal_II_space_dimension,
                                                     SparseMatrix<scalar>>(
       const DoFHandler<deal_II_dimension, deal_II_space_dimension> &dof,
-      const Quadrature<deal_II_dimension> &                         q,
-      SparseMatrix<scalar> &                                        matrix,
-      const Function<deal_II_space_dimension, scalar> &             rhs,
-      Vector<scalar> &                                              rhs_vector,
+      const Quadrature<deal_II_dimension>                          &q,
+      SparseMatrix<scalar>                                         &matrix,
+      const Function<deal_II_space_dimension, scalar>              &rhs,
+      Vector<scalar>                                               &rhs_vector,
       const Function<deal_II_space_dimension, scalar> *const        coefficient,
       const AffineConstraints<scalar> &constraints);
 
@@ -111,12 +111,12 @@ for (scalar : REAL_AND_COMPLEX_SCALARS; deal_II_dimension : DIMENSIONS;
                                                     deal_II_space_dimension,
                                                     SparseMatrix<scalar>>(
       const hp::MappingCollection<deal_II_dimension, deal_II_space_dimension>
-        &                                                           mapping,
+                                                                   &mapping,
       const DoFHandler<deal_II_dimension, deal_II_space_dimension> &dof,
-      const hp::QCollection<deal_II_dimension> &                    q,
-      SparseMatrix<scalar> &                                        matrix,
-      const Function<deal_II_space_dimension, scalar> &             rhs,
-      Vector<scalar> &                                              rhs_vector,
+      const hp::QCollection<deal_II_dimension>                     &q,
+      SparseMatrix<scalar>                                         &matrix,
+      const Function<deal_II_space_dimension, scalar>              &rhs,
+      Vector<scalar>                                               &rhs_vector,
       const Function<deal_II_space_dimension, scalar> *const        coefficient,
       const AffineConstraints<scalar> &constraints);
 
@@ -124,10 +124,10 @@ for (scalar : REAL_AND_COMPLEX_SCALARS; deal_II_dimension : DIMENSIONS;
                                                     deal_II_space_dimension,
                                                     SparseMatrix<scalar>>(
       const DoFHandler<deal_II_dimension, deal_II_space_dimension> &dof,
-      const hp::QCollection<deal_II_dimension> &                    q,
-      SparseMatrix<scalar> &                                        matrix,
-      const Function<deal_II_space_dimension, scalar> &             rhs,
-      Vector<scalar> &                                              rhs_vector,
+      const hp::QCollection<deal_II_dimension>                     &q,
+      SparseMatrix<scalar>                                         &matrix,
+      const Function<deal_II_space_dimension, scalar>              &rhs,
+      Vector<scalar>                                               &rhs_vector,
       const Function<deal_II_space_dimension, scalar> *const        coefficient,
       const AffineConstraints<scalar> &constraints);
 #endif
@@ -142,12 +142,12 @@ for (scalar : REAL_AND_COMPLEX_SCALARS; deal_II_dimension : DIMENSIONS;
     MatrixCreator::create_boundary_mass_matrix<deal_II_dimension,
                                                deal_II_space_dimension,
                                                scalar>(
-      const DoFHandler<deal_II_dimension, deal_II_space_dimension> &     dof,
-      const Quadrature<deal_II_dimension - 1> &                          q,
-      SparseMatrix<scalar> &                                             matrix,
+      const DoFHandler<deal_II_dimension, deal_II_space_dimension>      &dof,
+      const Quadrature<deal_II_dimension - 1>                           &q,
+      SparseMatrix<scalar>                                              &matrix,
       const std::map<types::boundary_id,
                      const Function<deal_II_space_dimension, scalar> *> &rhs,
-      Vector<scalar> &                      rhs_vector,
+      Vector<scalar>                       &rhs_vector,
       std::vector<types::global_dof_index> &dof_to_boundary_mapping,
       const Function<deal_II_space_dimension, scalar> *const a,
       std::vector<unsigned int>);
@@ -157,12 +157,12 @@ for (scalar : REAL_AND_COMPLEX_SCALARS; deal_II_dimension : DIMENSIONS;
                                                deal_II_space_dimension,
                                                scalar>(
       const Mapping<deal_II_dimension, deal_II_space_dimension> &,
-      const DoFHandler<deal_II_dimension, deal_II_space_dimension> &     dof,
-      const Quadrature<deal_II_dimension - 1> &                          q,
-      SparseMatrix<scalar> &                                             matrix,
+      const DoFHandler<deal_II_dimension, deal_II_space_dimension>      &dof,
+      const Quadrature<deal_II_dimension - 1>                           &q,
+      SparseMatrix<scalar>                                              &matrix,
       const std::map<types::boundary_id,
                      const Function<deal_II_space_dimension, scalar> *> &rhs,
-      Vector<scalar> &                      rhs_vector,
+      Vector<scalar>                       &rhs_vector,
       std::vector<types::global_dof_index> &dof_to_boundary_mapping,
       const Function<deal_II_space_dimension, scalar> *const a,
       std::vector<unsigned int>);
@@ -213,7 +213,7 @@ for (deal_II_sparse_matrix_type : SPARSE_MATRICES;
                                          deal_II_sparse_matrix_type>(
       const DoFHandler<deal_II_dimension> &dof,
       const Quadrature<deal_II_dimension> &q,
-      deal_II_sparse_matrix_type &         matrix,
+      deal_II_sparse_matrix_type          &matrix,
       const Function<deal_II_dimension,
                      typename deal_II_sparse_matrix_type::value_type>
         *const coefficient,
@@ -223,10 +223,10 @@ for (deal_II_sparse_matrix_type : SPARSE_MATRICES;
     MatrixCreator::create_laplace_matrix<deal_II_dimension,
                                          deal_II_space_dimension,
                                          deal_II_sparse_matrix_type>(
-      const Mapping<deal_II_dimension> &   mapping,
+      const Mapping<deal_II_dimension>    &mapping,
       const DoFHandler<deal_II_dimension> &dof,
       const Quadrature<deal_II_dimension> &q,
-      deal_II_sparse_matrix_type &         matrix,
+      deal_II_sparse_matrix_type          &matrix,
       const Function<deal_II_dimension,
                      typename deal_II_sparse_matrix_type::value_type>
         *const coefficient,
@@ -236,10 +236,10 @@ for (deal_II_sparse_matrix_type : SPARSE_MATRICES;
     MatrixCreator::create_laplace_matrix<deal_II_dimension,
                                          deal_II_space_dimension,
                                          deal_II_sparse_matrix_type>(
-      const Mapping<deal_II_dimension> &                               mapping,
-      const DoFHandler<deal_II_dimension> &                            dof,
-      const Quadrature<deal_II_dimension> &                            q,
-      deal_II_sparse_matrix_type &                                     matrix,
+      const Mapping<deal_II_dimension>                                &mapping,
+      const DoFHandler<deal_II_dimension>                             &dof,
+      const Quadrature<deal_II_dimension>                             &q,
+      deal_II_sparse_matrix_type                                      &matrix,
       const Function<deal_II_dimension,
                      typename deal_II_sparse_matrix_type::value_type> &rhs,
       Vector<typename deal_II_sparse_matrix_type::value_type> &rhs_vector,
@@ -252,9 +252,9 @@ for (deal_II_sparse_matrix_type : SPARSE_MATRICES;
     MatrixCreator::create_laplace_matrix<deal_II_dimension,
                                          deal_II_space_dimension,
                                          deal_II_sparse_matrix_type>(
-      const DoFHandler<deal_II_dimension> &                            dof,
-      const Quadrature<deal_II_dimension> &                            q,
-      deal_II_sparse_matrix_type &                                     matrix,
+      const DoFHandler<deal_II_dimension>                             &dof,
+      const Quadrature<deal_II_dimension>                             &q,
+      deal_II_sparse_matrix_type                                      &matrix,
       const Function<deal_II_dimension,
                      typename deal_II_sparse_matrix_type::value_type> &rhs,
       Vector<typename deal_II_sparse_matrix_type::value_type> &rhs_vector,
@@ -269,9 +269,9 @@ for (deal_II_sparse_matrix_type : SPARSE_MATRICES;
     MatrixCreator::create_laplace_matrix<deal_II_dimension,
                                          deal_II_space_dimension,
                                          deal_II_sparse_matrix_type>(
-      const DoFHandler<deal_II_dimension> &     dof,
+      const DoFHandler<deal_II_dimension>      &dof,
       const hp::QCollection<deal_II_dimension> &q,
-      deal_II_sparse_matrix_type &              matrix,
+      deal_II_sparse_matrix_type               &matrix,
       const Function<deal_II_dimension,
                      typename deal_II_sparse_matrix_type::value_type>
         *const coefficient,
@@ -282,9 +282,9 @@ for (deal_II_sparse_matrix_type : SPARSE_MATRICES;
                                          deal_II_space_dimension,
                                          deal_II_sparse_matrix_type>(
       const hp::MappingCollection<deal_II_dimension> &mapping,
-      const DoFHandler<deal_II_dimension> &           dof,
-      const hp::QCollection<deal_II_dimension> &      q,
-      deal_II_sparse_matrix_type &                    matrix,
+      const DoFHandler<deal_II_dimension>            &dof,
+      const hp::QCollection<deal_II_dimension>       &q,
+      deal_II_sparse_matrix_type                     &matrix,
       const Function<deal_II_dimension,
                      typename deal_II_sparse_matrix_type::value_type>
         *const coefficient,
@@ -294,10 +294,10 @@ for (deal_II_sparse_matrix_type : SPARSE_MATRICES;
     MatrixCreator::create_laplace_matrix<deal_II_dimension,
                                          deal_II_space_dimension,
                                          deal_II_sparse_matrix_type>(
-      const hp::MappingCollection<deal_II_dimension> &                 mapping,
-      const DoFHandler<deal_II_dimension> &                            dof,
-      const hp::QCollection<deal_II_dimension> &                       q,
-      deal_II_sparse_matrix_type &                                     matrix,
+      const hp::MappingCollection<deal_II_dimension>                  &mapping,
+      const DoFHandler<deal_II_dimension>                             &dof,
+      const hp::QCollection<deal_II_dimension>                        &q,
+      deal_II_sparse_matrix_type                                      &matrix,
       const Function<deal_II_dimension,
                      typename deal_II_sparse_matrix_type::value_type> &rhs,
       Vector<typename deal_II_sparse_matrix_type::value_type> &rhs_vector,
@@ -310,9 +310,9 @@ for (deal_II_sparse_matrix_type : SPARSE_MATRICES;
     MatrixCreator::create_laplace_matrix<deal_II_dimension,
                                          deal_II_space_dimension,
                                          deal_II_sparse_matrix_type>(
-      const DoFHandler<deal_II_dimension> &                            dof,
-      const hp::QCollection<deal_II_dimension> &                       q,
-      deal_II_sparse_matrix_type &                                     matrix,
+      const DoFHandler<deal_II_dimension>                             &dof,
+      const hp::QCollection<deal_II_dimension>                        &q,
+      deal_II_sparse_matrix_type                                      &matrix,
       const Function<deal_II_dimension,
                      typename deal_II_sparse_matrix_type::value_type> &rhs,
       Vector<typename deal_II_sparse_matrix_type::value_type> &rhs_vector,
@@ -335,10 +335,10 @@ for (deal_II_sparse_matrix_type : SPARSE_MATRICES;
     MatrixCreator::create_laplace_matrix<deal_II_dimension,
                                          deal_II_space_dimension,
                                          deal_II_sparse_matrix_type>(
-      const Mapping<deal_II_dimension, deal_II_space_dimension> &   mapping,
+      const Mapping<deal_II_dimension, deal_II_space_dimension>    &mapping,
       const DoFHandler<deal_II_dimension, deal_II_space_dimension> &dof,
-      const Quadrature<deal_II_dimension> &                         q,
-      deal_II_sparse_matrix_type &                                  matrix,
+      const Quadrature<deal_II_dimension>                          &q,
+      deal_II_sparse_matrix_type                                   &matrix,
       const Function<deal_II_space_dimension,
                      typename deal_II_sparse_matrix_type::value_type>
         *const coefficient,
@@ -349,8 +349,8 @@ for (deal_II_sparse_matrix_type : SPARSE_MATRICES;
                                          deal_II_space_dimension,
                                          deal_II_sparse_matrix_type>(
       const DoFHandler<deal_II_dimension, deal_II_space_dimension> &dof,
-      const Quadrature<deal_II_dimension> &                         q,
-      deal_II_sparse_matrix_type &                                  matrix,
+      const Quadrature<deal_II_dimension>                          &q,
+      deal_II_sparse_matrix_type                                   &matrix,
       const Function<deal_II_space_dimension,
                      typename deal_II_sparse_matrix_type::value_type>
         *const coefficient,
@@ -360,10 +360,10 @@ for (deal_II_sparse_matrix_type : SPARSE_MATRICES;
     MatrixCreator::create_laplace_matrix<deal_II_dimension,
                                          deal_II_space_dimension,
                                          deal_II_sparse_matrix_type>(
-      const Mapping<deal_II_dimension, deal_II_space_dimension> &      mapping,
-      const DoFHandler<deal_II_dimension, deal_II_space_dimension> &   dof,
-      const Quadrature<deal_II_dimension> &                            q,
-      deal_II_sparse_matrix_type &                                     matrix,
+      const Mapping<deal_II_dimension, deal_II_space_dimension>       &mapping,
+      const DoFHandler<deal_II_dimension, deal_II_space_dimension>    &dof,
+      const Quadrature<deal_II_dimension>                             &q,
+      deal_II_sparse_matrix_type                                      &matrix,
       const Function<deal_II_space_dimension,
                      typename deal_II_sparse_matrix_type::value_type> &rhs,
       Vector<typename deal_II_sparse_matrix_type::value_type> &rhs_vector,
@@ -376,9 +376,9 @@ for (deal_II_sparse_matrix_type : SPARSE_MATRICES;
     MatrixCreator::create_laplace_matrix<deal_II_dimension,
                                          deal_II_space_dimension,
                                          deal_II_sparse_matrix_type>(
-      const DoFHandler<deal_II_dimension, deal_II_space_dimension> &   dof,
-      const Quadrature<deal_II_dimension> &                            q,
-      deal_II_sparse_matrix_type &                                     matrix,
+      const DoFHandler<deal_II_dimension, deal_II_space_dimension>    &dof,
+      const Quadrature<deal_II_dimension>                             &q,
+      deal_II_sparse_matrix_type                                      &matrix,
       const Function<deal_II_space_dimension,
                      typename deal_II_sparse_matrix_type::value_type> &rhs,
       Vector<typename deal_II_sparse_matrix_type::value_type> &rhs_vector,
index 833e15f0236bac38ce85bd1631e6a4ee0bb7e22b..98f9a43c82977dad867e3dfcead6819a03d5ec97 100644 (file)
@@ -75,9 +75,9 @@ namespace MatrixTools
   void
   apply_boundary_values(
     const std::map<types::global_dof_index, number> &boundary_values,
-    SparseMatrix<number> &                           matrix,
-    Vector<number> &                                 solution,
-    Vector<number> &                                 right_hand_side,
+    SparseMatrix<number>                            &matrix,
+    Vector<number>                                  &solution,
+    Vector<number>                                  &right_hand_side,
     const bool                                       eliminate_columns)
   {
     Assert(matrix.n() == right_hand_side.size(),
@@ -236,9 +236,9 @@ namespace MatrixTools
   void
   apply_boundary_values(
     const std::map<types::global_dof_index, number> &boundary_values,
-    BlockSparseMatrix<number> &                      matrix,
-    BlockVector<number> &                            solution,
-    BlockVector<number> &                            right_hand_side,
+    BlockSparseMatrix<number>                       &matrix,
+    BlockVector<number>                             &solution,
+    BlockVector<number>                             &right_hand_side,
     const bool                                       eliminate_columns)
   {
     const unsigned int blocks = matrix.n_block_rows();
@@ -499,9 +499,9 @@ namespace MatrixTools
   void
   local_apply_boundary_values(
     const std::map<types::global_dof_index, number> &boundary_values,
-    const std::vector<types::global_dof_index> &     local_dof_indices,
-    FullMatrix<number> &                             local_matrix,
-    Vector<number> &                                 local_rhs,
+    const std::vector<types::global_dof_index>      &local_dof_indices,
+    FullMatrix<number>                              &local_matrix,
+    Vector<number>                                  &local_rhs,
     const bool                                       eliminate_columns)
   {
     Assert(local_dof_indices.size() == local_matrix.m(),
index ed6d6fb1e8986e7ff99f63972fdd10385c81a918..8536d05d9110e6e260c768c0a723cc70d2137582 100644 (file)
@@ -17,22 +17,22 @@ for (number : REAL_AND_COMPLEX_SCALARS)
   {
     template void MatrixTools::local_apply_boundary_values(
       const std::map<types::global_dof_index, number> &boundary_values,
-      const std::vector<types::global_dof_index> &     local_dof_indices,
-      FullMatrix<number> &                             local_matrix,
-      Vector<number> &                                 local_rhs,
+      const std::vector<types::global_dof_index>      &local_dof_indices,
+      FullMatrix<number>                              &local_matrix,
+      Vector<number>                                  &local_rhs,
       const bool                                       eliminate_columns);
 
     template void MatrixTools::apply_boundary_values(
       const std::map<types::global_dof_index, number> &boundary_values,
-      SparseMatrix<number> &                           matrix,
-      Vector<number> &                                 solution,
-      Vector<number> &                                 right_hand_side,
+      SparseMatrix<number>                            &matrix,
+      Vector<number>                                  &solution,
+      Vector<number>                                  &right_hand_side,
       const bool                                       eliminate_columns);
 
     template void MatrixTools::apply_boundary_values(
       const std::map<types::global_dof_index, number> &boundary_values,
-      BlockSparseMatrix<number> &                      matrix,
-      BlockVector<number> &                            solution,
-      BlockVector<number> &                            right_hand_side,
+      BlockSparseMatrix<number>                       &matrix,
+      BlockVector<number>                             &solution,
+      BlockVector<number>                             &right_hand_side,
       const bool                                       eliminate_columns);
   }
index 8877155a9a5d4a5709f1b3dad08d29ce5a06cecf..92d3b25d724b6014f69a7ac952ce6bb0714d842e 100644 (file)
@@ -61,9 +61,9 @@ namespace MatrixTools
   void
   apply_boundary_values(
     const std::map<types::global_dof_index, PetscScalar> &boundary_values,
-    PETScWrappers::MatrixBase &                           matrix,
-    PETScWrappers::VectorBase &                           solution,
-    PETScWrappers::VectorBase &                           right_hand_side,
+    PETScWrappers::MatrixBase                            &matrix,
+    PETScWrappers::VectorBase                            &solution,
+    PETScWrappers::VectorBase                            &right_hand_side,
     const bool                                            eliminate_columns)
   {
     Assert(matrix.n() == right_hand_side.size(),
@@ -158,9 +158,9 @@ namespace MatrixTools
   void
   apply_boundary_values(
     const std::map<types::global_dof_index, PetscScalar> &boundary_values,
-    PETScWrappers::MPI::BlockSparseMatrix &               matrix,
-    PETScWrappers::MPI::BlockVector &                     solution,
-    PETScWrappers::MPI::BlockVector &                     right_hand_side,
+    PETScWrappers::MPI::BlockSparseMatrix                &matrix,
+    PETScWrappers::MPI::BlockVector                      &solution,
+    PETScWrappers::MPI::BlockVector                      &right_hand_side,
     const bool                                            eliminate_columns)
   {
     Assert(eliminate_columns == false, ExcNotImplemented());
@@ -243,9 +243,9 @@ namespace MatrixTools
       void
       apply_boundary_values(const std::map<types::global_dof_index,
                                            TrilinosScalar> &boundary_values,
-                            TrilinosMatrix &                matrix,
-                            TrilinosVector &                solution,
-                            TrilinosVector &                right_hand_side,
+                            TrilinosMatrix                 &matrix,
+                            TrilinosVector                 &solution,
+                            TrilinosVector                 &right_hand_side,
                             const bool                      eliminate_columns)
       {
         Assert(eliminate_columns == false, ExcNotImplemented());
@@ -337,8 +337,8 @@ namespace MatrixTools
       void
       apply_block_boundary_values(
         const std::map<types::global_dof_index, TrilinosScalar>
-          &                  boundary_values,
-        TrilinosMatrix &     matrix,
+                            &boundary_values,
+        TrilinosMatrix      &matrix,
         TrilinosBlockVector &solution,
         TrilinosBlockVector &right_hand_side,
         const bool           eliminate_columns)
@@ -420,9 +420,9 @@ namespace MatrixTools
   void
   apply_boundary_values(
     const std::map<types::global_dof_index, TrilinosScalar> &boundary_values,
-    TrilinosWrappers::SparseMatrix &                         matrix,
-    TrilinosWrappers::MPI::Vector &                          solution,
-    TrilinosWrappers::MPI::Vector &                          right_hand_side,
+    TrilinosWrappers::SparseMatrix                          &matrix,
+    TrilinosWrappers::MPI::Vector                           &solution,
+    TrilinosWrappers::MPI::Vector                           &right_hand_side,
     const bool                                               eliminate_columns)
   {
     // simply redirect to the generic function
@@ -436,9 +436,9 @@ namespace MatrixTools
   void
   apply_boundary_values(
     const std::map<types::global_dof_index, TrilinosScalar> &boundary_values,
-    TrilinosWrappers::BlockSparseMatrix &                    matrix,
-    TrilinosWrappers::MPI::BlockVector &                     solution,
-    TrilinosWrappers::MPI::BlockVector &                     right_hand_side,
+    TrilinosWrappers::BlockSparseMatrix                     &matrix,
+    TrilinosWrappers::MPI::BlockVector                      &solution,
+    TrilinosWrappers::MPI::BlockVector                      &right_hand_side,
     const bool                                               eliminate_columns)
   {
     internal::TrilinosWrappers::apply_block_boundary_values(
index 66ccc77558985c5484506887d92efd1ea33fbf31..9d36090e6653ee87f01e74a78a75860df4b76ce9 100644 (file)
@@ -40,8 +40,8 @@ namespace internal
   {
     template <int dim>
     PointGeometryData<dim>::PointGeometryData(
-      const Point<dim> &                          new_requested_location,
-      const std::vector<Point<dim>> &             new_locations,
+      const Point<dim>                           &new_requested_location,
+      const std::vector<Point<dim>>              &new_locations,
       const std::vector<types::global_dof_index> &new_sol_indices)
     {
       requested_location      = new_requested_location;
@@ -454,7 +454,7 @@ PointValueHistory<dim>::add_points(const std::vector<Point<dim>> &locations)
 
 template <int dim>
 void
-PointValueHistory<dim>::add_field_name(const std::string &  vector_name,
+PointValueHistory<dim>::add_field_name(const std::string   &vector_name,
                                        const ComponentMask &mask)
 {
   // can't be closed to add additional points
@@ -511,7 +511,7 @@ PointValueHistory<dim>::add_field_name(const std::string &vector_name,
 template <int dim>
 void
 PointValueHistory<dim>::add_component_names(
-  const std::string &             vector_name,
+  const std::string              &vector_name,
   const std::vector<std::string> &component_names)
 {
   typename std::map<std::string, std::vector<std::string>>::iterator names =
@@ -577,7 +577,7 @@ template <int dim>
 template <typename VectorType>
 void
 PointValueHistory<dim>::evaluate_field(const std::string &vector_name,
-                                       const VectorType solution)
+                                       const VectorType  &solution)
 {
   // must be closed to add data to internal
   // members.
@@ -646,9 +646,9 @@ template <typename VectorType>
 void
 PointValueHistory<dim>::evaluate_field(
   const std::vector<std::string> &vector_names,
-  const VectorType &              solution,
-  const DataPostprocessor<dim> &  data_postprocessor,
-  const Quadrature<dim> &         quadrature)
+  const VectorType               &solution,
+  const DataPostprocessor<dim>   &data_postprocessor,
+  const Quadrature<dim>          &quadrature)
 {
   // must be closed to add data to internal
   // members.
@@ -877,10 +877,10 @@ template <int dim>
 template <typename VectorType>
 void
 PointValueHistory<dim>::evaluate_field(
-  const std::string &           vector_name,
-  const VectorType &            solution,
+  const std::string            &vector_name,
+  const VectorType             &solution,
   const DataPostprocessor<dim> &data_postprocessor,
-  const Quadrature<dim> &       quadrature)
+  const Quadrature<dim>        &quadrature)
 {
   std::vector<std::string> vector_names;
   vector_names.push_back(vector_name);
@@ -894,7 +894,7 @@ template <typename VectorType>
 void
 PointValueHistory<dim>::evaluate_field_at_requested_location(
   const std::string &vector_name,
-  const VectorType solution)
+  const VectorType  &solution)
 {
   using number = typename VectorType::value_type;
   // must be closed to add data to internal
@@ -999,7 +999,7 @@ PointValueHistory<dim>::push_back_independent(
 template <int dim>
 void
 PointValueHistory<dim>::write_gnuplot(
-  const std::string &            base_name,
+  const std::string             &base_name,
   const std::vector<Point<dim>> &postprocessor_locations)
 {
   AssertThrow(closed, ExcInvalidState());
@@ -1254,7 +1254,7 @@ PointValueHistory<dim>::get_support_locations(
 template <int dim>
 void
 PointValueHistory<dim>::get_postprocessor_locations(
-  const Quadrature<dim> &  quadrature,
+  const Quadrature<dim>   &quadrature,
   std::vector<Point<dim>> &locations)
 {
   Assert(!cleared, ExcInvalidState());
index 7f4b22076f06f468668adf03ed7c5817a0d18b90..b9ac9d51be73542af91e9043710853bd575e044f 100644 (file)
@@ -100,9 +100,9 @@ namespace SmoothnessEstimator
     template <int dim, int spacedim, typename VectorType>
     void
     coefficient_decay(FESeries::Legendre<dim, spacedim> &fe_legendre,
-                      const DoFHandler<dim, spacedim> &  dof_handler,
-                      const VectorType &                 solution,
-                      Vector<float> &                    smoothness_indicators,
+                      const DoFHandler<dim, spacedim>   &dof_handler,
+                      const VectorType                  &solution,
+                      Vector<float>                     &smoothness_indicators,
                       const VectorTools::NormType        regression_strategy,
                       const double smallest_abs_coefficient,
                       const bool   only_flagged_cells)
@@ -181,10 +181,10 @@ namespace SmoothnessEstimator
     void
     coefficient_decay_per_direction(
       FESeries::Legendre<dim, spacedim> &fe_legendre,
-      const DoFHandler<dim, spacedim> &  dof_handler,
-      const VectorType &                 solution,
-      Vector<float> &                    smoothness_indicators,
-      const ComponentMask &              coefficients_predicate,
+      const DoFHandler<dim, spacedim>   &dof_handler,
+      const VectorType                  &solution,
+      Vector<float>                     &smoothness_indicators,
+      const ComponentMask               &coefficients_predicate,
       const double                       smallest_abs_coefficient,
       const bool                         only_flagged_cells)
     {
@@ -367,9 +367,9 @@ namespace SmoothnessEstimator
     template <int dim, int spacedim, typename VectorType>
     void
     coefficient_decay(FESeries::Fourier<dim, spacedim> &fe_fourier,
-                      const DoFHandler<dim, spacedim> dof_handler,
-                      const VectorType &                solution,
-                      Vector<float> &                   smoothness_indicators,
+                      const DoFHandler<dim, spacedim>  &dof_handler,
+                      const VectorType                 &solution,
+                      Vector<float>                    &smoothness_indicators,
                       const VectorTools::NormType       regression_strategy,
                       const double smallest_abs_coefficient,
                       const bool   only_flagged_cells)
@@ -466,10 +466,10 @@ namespace SmoothnessEstimator
     void
     coefficient_decay_per_direction(
       FESeries::Fourier<dim, spacedim> &fe_fourier,
-      const DoFHandler<dim, spacedim> dof_handler,
-      const VectorType &                solution,
-      Vector<float> &                   smoothness_indicators,
-      const ComponentMask &             coefficients_predicate,
+      const DoFHandler<dim, spacedim>  &dof_handler,
+      const VectorType                 &solution,
+      Vector<float>                    &smoothness_indicators,
+      const ComponentMask              &coefficients_predicate,
       const double                      smallest_abs_coefficient,
       const bool                        only_flagged_cells)
     {
index ffd0f30b3d121beb5bf7db7567a762a99bc40cac..51f8435bba0629f2af1ebaa174b26afcc8288013 100644 (file)
@@ -134,7 +134,7 @@ template <int dim, typename VectorType, int spacedim>
 void
 SolutionTransfer<dim, VectorType, spacedim>::refine_interpolate(
   const VectorType &in,
-  VectorType &      out) const
+  VectorType       &out) const
 {
   Assert(prepared_for == pure_refinement, ExcNotPrepared());
   Assert(in.size() == n_dofs_old, ExcDimensionMismatch(in.size(), n_dofs_old));
@@ -216,7 +216,7 @@ namespace internal
    */
   template <int dim, int spacedim>
   void
-  extract_interpolation_matrices(const DoFHandler<dim, spacedim> &     dof,
+  extract_interpolation_matrices(const DoFHandler<dim, spacedim>      &dof,
                                  dealii::Table<2, FullMatrix<double>> &matrices)
   {
     if (dof.has_hp_capabilities() == false)
@@ -445,7 +445,7 @@ template <int dim, typename VectorType, int spacedim>
 void
 SolutionTransfer<dim, VectorType, spacedim>::interpolate(
   const std::vector<VectorType> &all_in,
-  std::vector<VectorType> &      all_out) const
+  std::vector<VectorType>       &all_out) const
 {
   const unsigned int size = all_in.size();
 #ifdef DEBUG
index c03df3befec98c6a0ec562cdc11aac26839fe510..ce770df6635f5feb0482e92bfb70febbc8379bbc 100644 (file)
@@ -63,7 +63,7 @@ TimeDependent::~TimeDependent()
 
 void
 TimeDependent::insert_timestep(const TimeStepBase *position,
-                               TimeStepBase *      new_timestep)
+                               TimeStepBase       *new_timestep)
 {
   Assert((std::find(timesteps.begin(), timesteps.end(), position) !=
           timesteps.end()) ||
@@ -437,8 +437,8 @@ template <int dim>
 TimeStepBase_Tria<dim>::TimeStepBase_Tria(
   const double              time,
   const Triangulation<dim> &coarse_grid,
-  const Flags &             flags,
-  const RefinementFlags &   refinement_flags)
+  const Flags              &flags,
+  const RefinementFlags    &refinement_flags)
   : TimeStepBase(time)
   , tria(nullptr, typeid(*this).name())
   , coarse_grid(&coarse_grid, typeid(*this).name())
@@ -1002,58 +1002,58 @@ TimeStepBase_Tria<dim>::refine_grid(const RefinementData refinement_data)
           // which are to be coarsened, we
           // raise the limit for these too
           if (estimated_cells < previous_cells * (1. - delta_down))
-          {
-            // number of cells by which the
-            // new grid is to be enlarged
-            double delta_cells =
-              previous_cells * (1. - delta_down) - estimated_cells;
-            // heuristics: usually, if we
-            // add @p{delta_cells} to the
-            // present state, we end up
-            // with much more than only
-            // (1-delta_down)*prev_cells
-            // because of the effect of
-            // regularization and because
-            // of adaption to the
-            // following grid. Therefore,
-            // if we are not in the last
-            // correction loop, we try not
-            // to add as many cells as seem
-            // necessary at first and hope
-            // to get closer to the limit
-            // this way. Only in the last
-            // loop do we have to take the
-            // full number to guarantee the
-            // wanted result.
-            //
-            // The value 0.9 is taken from
-            // practice, as the additional
-            // number of cells introduced
-            // by regularization is
-            // approximately 10 per cent
-            // of the flagged cells.
-            if (loop != refinement_flags.cell_number_correction_steps - 1)
-              delta_cells *= 0.9;
-
-            // if more cells need to be
-            // refined, we need to lower
-            // the thresholds, i.e. to
-            // move to the beginning
-            // of sorted_criteria, which is
-            // sorted in ascending order
-            for (unsigned int i = 0; i < delta_cells;
-                 i += (GeometryInfo<dim>::max_children_per_cell - 1))
-              if (p_refinement_threshold != p_coarsening_threshold)
-                --refinement_threshold;
-              else if (p_coarsening_threshold != sorted_criteria.begin())
-                --p_coarsening_threshold, --p_refinement_threshold;
-              else
-                break;
-          }
-        else
-          // estimated cell number is ok,
-          // stop correction steps
-          break;
+            {
+              // number of cells by which the
+              // new grid is to be enlarged
+              double delta_cells =
+                previous_cells * (1. - delta_down) - estimated_cells;
+              // heuristics: usually, if we
+              // add @p{delta_cells} to the
+              // present state, we end up
+              // with much more than only
+              // (1-delta_down)*prev_cells
+              // because of the effect of
+              // regularization and because
+              // of adaption to the
+              // following grid. Therefore,
+              // if we are not in the last
+              // correction loop, we try not
+              // to add as many cells as seem
+              // necessary at first and hope
+              // to get closer to the limit
+              // this way. Only in the last
+              // loop do we have to take the
+              // full number to guarantee the
+              // wanted result.
+              //
+              // The value 0.9 is taken from
+              // practice, as the additional
+              // number of cells introduced
+              // by regularization is
+              // approximately 10 per cent
+              // of the flagged cells.
+              if (loop != refinement_flags.cell_number_correction_steps - 1)
+                delta_cells *= 0.9;
+
+              // if more cells need to be
+              // refined, we need to lower
+              // the thresholds, i.e. to
+              // move to the beginning
+              // of sorted_criteria, which is
+              // sorted in ascending order
+              for (unsigned int i = 0; i < delta_cells;
+                   i += (GeometryInfo<dim>::max_children_per_cell - 1))
+                if (p_refinement_threshold != p_coarsening_threshold)
+                  --refinement_threshold;
+                else if (p_coarsening_threshold != sorted_criteria.begin())
+                  --p_coarsening_threshold, --p_refinement_threshold;
+                else
+                  break;
+            }
+          else
+            // estimated cell number is ok,
+            // stop correction steps
+            break;
 
         if (p_refinement_threshold == sorted_criteria.end())
           {
index a6dc6b3663f9e0fded4b1e874279f5edc79c7221..af31f69b561b7115367f3e2a854e1f22a425685d 100644 (file)
@@ -28,22 +28,22 @@ for (deal_II_dimension : DIMENSIONS; deal_II_space_dimension : SPACE_DIMENSIONS)
       compute_nonzero_normal_flux_constraints(
         const DoFHandler<deal_II_dimension> &dof_handler,
         const unsigned int                   first_vector_component,
-        const std::set<types::boundary_id> boundary_ids,
+        const std::set<types::boundary_id>  &boundary_ids,
         const std::map<types::boundary_id, const Function<deal_II_dimension> *>
-          &                               function_map,
-        AffineConstraints<double> &       constraints,
+                                         &function_map,
+        AffineConstraints<double>        &constraints,
         const Mapping<deal_II_dimension> &mapping);
 
       template void
       compute_nonzero_normal_flux_constraints_on_level(
         const DoFHandler<deal_II_dimension> &dof_handler,
         const unsigned int                   first_vector_component,
-        const std::set<types::boundary_id> boundary_ids,
+        const std::set<types::boundary_id>  &boundary_ids,
         const std::map<types::boundary_id, const Function<deal_II_dimension> *>
-          &                               function_map,
-        AffineConstraints<double> &       constraints,
+                                         &function_map,
+        AffineConstraints<double>        &constraints,
         const Mapping<deal_II_dimension> &mapping,
-        const IndexSet &                  refinement_edge_indices,
+        const IndexSet                   &refinement_edge_indices,
         const unsigned int                level);
 
 
@@ -51,37 +51,37 @@ for (deal_II_dimension : DIMENSIONS; deal_II_space_dimension : SPACE_DIMENSIONS)
       compute_nonzero_tangential_flux_constraints(
         const DoFHandler<deal_II_dimension> &dof_handler,
         const unsigned int                   first_vector_component,
-        const std::set<types::boundary_id> boundary_ids,
+        const std::set<types::boundary_id>  &boundary_ids,
         const std::map<types::boundary_id, const Function<deal_II_dimension> *>
-          &                               function_map,
-        AffineConstraints<double> &       constraints,
+                                         &function_map,
+        AffineConstraints<double>        &constraints,
         const Mapping<deal_II_dimension> &mapping);
 
       template void
       compute_no_normal_flux_constraints(
         const DoFHandler<deal_II_dimension> &dof_handler,
         const unsigned int                   first_vector_component,
-        const std::set<types::boundary_id> boundary_ids,
-        AffineConstraints<double> &          constraints,
-        const Mapping<deal_II_dimension> &   mapping);
+        const std::set<types::boundary_id>  &boundary_ids,
+        AffineConstraints<double>           &constraints,
+        const Mapping<deal_II_dimension>    &mapping);
 
       template void
       compute_no_normal_flux_constraints_on_level(
         const DoFHandler<deal_II_dimension> &dof_handler,
         const unsigned int                   first_vector_component,
-        const std::set<types::boundary_id> boundary_ids,
-        AffineConstraints<double> &          constraints,
-        const Mapping<deal_II_dimension> &   mapping,
-        const IndexSet &                     refinement_edge_indices,
+        const std::set<types::boundary_id>  &boundary_ids,
+        AffineConstraints<double>           &constraints,
+        const Mapping<deal_II_dimension>    &mapping,
+        const IndexSet                      &refinement_edge_indices,
         const unsigned int                   level);
 
       template void
       compute_normal_flux_constraints(
         const DoFHandler<deal_II_dimension> &dof_handler,
         const unsigned int                   first_vector_component,
-        const std::set<types::boundary_id> boundary_ids,
-        AffineConstraints<double> &          constraints,
-        const Mapping<deal_II_dimension> &   mapping);
+        const std::set<types::boundary_id>  &boundary_ids,
+        AffineConstraints<double>           &constraints,
+        const Mapping<deal_II_dimension>    &mapping);
 #  endif
 #endif
     \}
index 4555c80c3f2bcdbd6308294ce8ea64b49d19002d..3eccd8fa75892fb443770eec49bbd12fc03163b7 100644 (file)
@@ -46,7 +46,7 @@ for (VEC : VECTOR_TYPES; deal_II_dimension : DIMENSIONS;
       template void
       add_constant(VEC &solution,
                    const DoFHandler<deal_II_dimension, deal_II_space_dimension>
-                     &                            dof_handler,
+                                                 &dof_handler,
                    const unsigned int             component,
                    const typename VEC::value_type constant_adjustment);
     \}
index c3baa00875925ec7bae0cf8e49ccf36bc9597a20..043e35ccdaf97f880fa93496ea7b92b943a66f21 100644 (file)
@@ -129,7 +129,7 @@ namespace OpenCASCADE
   Point<spacedim>
   NormalProjectionManifold<dim, spacedim>::project_to_manifold(
     const ArrayView<const Point<spacedim>> &surrounding_points,
-    const Point<spacedim> &                 candidate) const
+    const Point<spacedim>                  &candidate) const
   {
     (void)surrounding_points;
 #  ifdef DEBUG
@@ -146,7 +146,7 @@ namespace OpenCASCADE
   /*===================== DirectionalProjectionManifold ======================*/
   template <int dim, int spacedim>
   DirectionalProjectionManifold<dim, spacedim>::DirectionalProjectionManifold(
-    const TopoDS_Shape &       sh,
+    const TopoDS_Shape        &sh,
     const Tensor<1, spacedim> &direction,
     const double               tolerance)
     : sh(sh)
@@ -172,7 +172,7 @@ namespace OpenCASCADE
   Point<spacedim>
   DirectionalProjectionManifold<dim, spacedim>::project_to_manifold(
     const ArrayView<const Point<spacedim>> &surrounding_points,
-    const Point<spacedim> &                 candidate) const
+    const Point<spacedim>                  &candidate) const
   {
     (void)surrounding_points;
 #  ifdef DEBUG
@@ -227,10 +227,10 @@ namespace OpenCASCADE
     template <>
     Point<3>
     internal_project_to_manifold(
-      const TopoDS_Shape &             sh,
+      const TopoDS_Shape              &sh,
       const double                     tolerance,
       const ArrayView<const Point<3>> &surrounding_points,
-      const Point<3> &                 candidate)
+      const Point<3>                  &candidate)
     {
       constexpr int       spacedim = 3;
       TopoDS_Shape        out_shape;
@@ -394,7 +394,7 @@ namespace OpenCASCADE
   Point<spacedim>
   NormalToMeshProjectionManifold<dim, spacedim>::project_to_manifold(
     const ArrayView<const Point<spacedim>> &surrounding_points,
-    const Point<spacedim> &                 candidate) const
+    const Point<spacedim>                  &candidate) const
   {
     return internal_project_to_manifold(sh,
                                         tolerance,
index d6287c5cb638fcce383edb5e2bd18c2c504abd40..ce69bcc49ef3842b25cf8bbf29b317f64fdbad93 100644 (file)
@@ -94,20 +94,23 @@ namespace OpenCASCADE
     TopExp_Explorer exp;
     unsigned int    n_faces = 0, n_edges = 0, n_vertices = 0;
     for (exp.Init(shape, TopAbs_FACE); exp.More(); exp.Next(), ++n_faces)
-      {}
+      {
+      }
     for (exp.Init(shape, TopAbs_EDGE); exp.More(); exp.Next(), ++n_edges)
-      {}
+      {
+      }
     for (exp.Init(shape, TopAbs_VERTEX); exp.More(); exp.Next(), ++n_vertices)
-      {}
+      {
+      }
     return std::tuple<unsigned int, unsigned int, unsigned int>(n_faces,
                                                                 n_edges,
                                                                 n_vertices);
   }
 
   void
-  extract_geometrical_shapes(const TopoDS_Shape &        shape,
-                             std::vector<TopoDS_Face> &  faces,
-                             std::vector<TopoDS_Edge> &  edges,
+  extract_geometrical_shapes(const TopoDS_Shape         &shape,
+                             std::vector<TopoDS_Face>   &faces,
+                             std::vector<TopoDS_Edge>   &edges,
                              std::vector<TopoDS_Vertex> &vertices)
   {
     faces.resize(0);
@@ -131,12 +134,12 @@ namespace OpenCASCADE
 
 
   void
-  extract_compound_shapes(const TopoDS_Shape &           shape,
-                          std::vector<TopoDS_Compound> compounds,
+  extract_compound_shapes(const TopoDS_Shape            &shape,
+                          std::vector<TopoDS_Compound>  &compounds,
                           std::vector<TopoDS_CompSolid> &compsolids,
-                          std::vector<TopoDS_Solid> &    solids,
-                          std::vector<TopoDS_Shell> &    shells,
-                          std::vector<TopoDS_Wire> &     wires)
+                          std::vector<TopoDS_Solid>     &solids,
+                          std::vector<TopoDS_Shell>     &shells,
+                          std::vector<TopoDS_Wire>      &wires)
   {
     compounds.resize(0);
     compsolids.resize(0);
@@ -213,8 +216,8 @@ namespace OpenCASCADE
 
   template <int dim>
   bool
-  point_compare(const Point<dim> &    p1,
-                const Point<dim> &    p2,
+  point_compare(const Point<dim>     &p1,
+                const Point<dim>     &p2,
                 const Tensor<1, dim> &direction,
                 const double          tolerance)
   {
@@ -289,7 +292,7 @@ namespace OpenCASCADE
 
   void
   write_STL(const TopoDS_Shape &shape,
-            const std::string filename,
+            const std::string  &filename,
             const double        deflection,
             const bool          sew_different_faces,
             const double        sewer_tolerance,
@@ -443,7 +446,7 @@ namespace OpenCASCADE
   join_edges(const TopoDS_Shape &in_shape, const double tolerance)
   {
     TopoDS_Edge                           out_shape;
-    const TopoDS_Shape &                  edges = in_shape;
+    const TopoDS_Shape                   &edges = in_shape;
     std::vector<Handle_Geom_BoundedCurve> intersections;
     TopLoc_Location                       L;
     Standard_Real                         First;
@@ -508,8 +511,8 @@ namespace OpenCASCADE
 
   template <int dim>
   Point<dim>
-  line_intersection(const TopoDS_Shape &  in_shape,
-                    const Point<dim> &    origin,
+  line_intersection(const TopoDS_Shape   &in_shape,
+                    const Point<dim>     &origin,
                     const Tensor<1, dim> &direction,
                     const double          tolerance)
   {
@@ -555,7 +558,7 @@ namespace OpenCASCADE
   template <int dim>
   TopoDS_Edge
   interpolation_curve(std::vector<Point<dim>> &curve_points,
-                      const Tensor<1, dim> &   direction,
+                      const Tensor<1, dim>    &direction,
                       const bool               closed,
                       const double             tolerance)
   {
@@ -599,7 +602,7 @@ namespace OpenCASCADE
   std::vector<TopoDS_Edge>
   create_curves_from_triangulation_boundary(
     const Triangulation<2, spacedim> &triangulation,
-    const Mapping<2, spacedim> &      mapping)
+    const Mapping<2, spacedim>       &mapping)
 
   {
     // store maps from global vertex index to pairs of global face   indices
@@ -701,7 +704,7 @@ namespace OpenCASCADE
   template <int dim>
   std::tuple<Point<dim>, TopoDS_Shape, double, double>
   project_point_and_pull_back(const TopoDS_Shape &in_shape,
-                              const Point<dim> &  origin,
+                              const Point<dim>   &origin,
                               const double        tolerance)
   {
     TopExp_Explorer exp;
@@ -784,7 +787,7 @@ namespace OpenCASCADE
   template <int dim>
   Point<dim>
   closest_point(const TopoDS_Shape &in_shape,
-                const Point<dim> &  origin,
+                const Point<dim>   &origin,
                 const double        tolerance)
   {
     std::tuple<Point<dim>, TopoDS_Shape, double, double> ref =
@@ -794,7 +797,7 @@ namespace OpenCASCADE
 
   std::tuple<Point<3>, Tensor<1, 3>, double, double>
   closest_point_and_differential_forms(const TopoDS_Shape &in_shape,
-                                       const Point<3> &    origin,
+                                       const Point<3>     &origin,
                                        const double        tolerance)
 
   {
@@ -802,8 +805,8 @@ namespace OpenCASCADE
       project_point_and_pull_back(in_shape, origin, tolerance);
 
     TopoDS_Shape &out_shape = std::get<1>(shape_and_params);
-    double &      u         = std::get<2>(shape_and_params);
-    double &      v         = std::get<3>(shape_and_params);
+    double       &u         = std::get<2>(shape_and_params);
+    double       &v         = std::get<3>(shape_and_params);
 
     // just a check here: the number of faces in out_shape must be 1, otherwise
     // something is wrong
@@ -887,7 +890,7 @@ namespace OpenCASCADE
 
   template <int spacedim>
   void
-  create_triangulation(const TopoDS_Face &         face,
+  create_triangulation(const TopoDS_Face          &face,
                        Triangulation<2, spacedim> &tria)
   {
     BRepAdaptor_Surface surf(face);
index a8d264e31060671f97dbb425ed7c669ed8b7ca23..6edff0edeeb3ab7b8f3b51c24a447f9e79c98cf5 100644 (file)
@@ -19,10 +19,10 @@ for (deal_II_dimension : DIMENSIONS)
     // Explicit instantiations for dim = 2 and 3
     template std::vector<TopoDS_Edge> create_curves_from_triangulation_boundary(
       const Triangulation<2, deal_II_dimension> &triangulation,
-      const Mapping<2, deal_II_dimension> &      mapping);
+      const Mapping<2, deal_II_dimension>       &mapping);
 
-    template bool point_compare(const Point<deal_II_dimension> &    p1,
-                                const Point<deal_II_dimension> &    p2,
+    template bool point_compare(const Point<deal_II_dimension>     &p1,
+                                const Point<deal_II_dimension>     &p2,
                                 const Tensor<1, deal_II_dimension> &direction,
                                 const double                        tolerance);
 
@@ -42,8 +42,8 @@ for (deal_II_dimension : DIMENSIONS)
                                                    const double        v);
 
     template Point<deal_II_dimension> line_intersection(
-      const TopoDS_Shape &                in_shape,
-      const Point<deal_II_dimension> &    origin,
+      const TopoDS_Shape                 &in_shape,
+      const Point<deal_II_dimension>     &origin,
       const Tensor<1, deal_II_dimension> &direction,
       const double                        tolerance);
 
@@ -51,12 +51,12 @@ for (deal_II_dimension : DIMENSIONS)
       const TopoDS_Face &face, Triangulation<2, deal_II_dimension> &tria);
 
     template std::tuple<Point<deal_II_dimension>, TopoDS_Shape, double, double>
-    project_point_and_pull_back(const TopoDS_Shape &            in_shape,
+    project_point_and_pull_back(const TopoDS_Shape             &in_shape,
                                 const Point<deal_II_dimension> &origin,
                                 const double                    tolerance);
 
     template Point<deal_II_dimension> closest_point(
-      const TopoDS_Shape &            in_shape,
+      const TopoDS_Shape             &in_shape,
       const Point<deal_II_dimension> &origin,
       const double                    tolerance);
 
index f0c7273b2107b88e56e99c9f8136dea526189d54..196748fbeeed1588e88112f8faf4f9d96bdfa606 100644 (file)
@@ -27,7 +27,7 @@ namespace Particles
   void
   DataOut<dim, spacedim>::build_patches(
     const Particles::ParticleHandler<dim, spacedim> &particles,
-    const std::vector<std::string> &                 data_component_names,
+    const std::vector<std::string>                  &data_component_names,
     const std::vector<DataComponentInterpretation::DataComponentInterpretation>
       &data_component_interpretations_)
   {
index 7e500d4a4b3ddade9e48543eb22aa3ec80d50eae..2cc86e92f164a59775e0763af60f2f3ee0a21c6e 100644 (file)
@@ -63,8 +63,8 @@ namespace Particles
       std::vector<double>
       compute_local_cumulative_cell_weights(
         const Triangulation<dim, spacedim> &triangulation,
-        const Mapping<dim, spacedim> &      mapping,
-        const Function<spacedim> &          probability_density_function)
+        const Mapping<dim, spacedim>       &mapping,
+        const Function<spacedim>           &probability_density_function)
       {
         std::vector<double> cumulative_cell_weights(
           triangulation.n_active_cells());
@@ -119,7 +119,7 @@ namespace Particles
       random_location_in_cell(
         const typename Triangulation<dim, spacedim>::active_cell_iterator &cell,
         const Mapping<dim, spacedim> &mapping,
-        std::mt19937 &                random_number_generator)
+        std::mt19937                 &random_number_generator)
       {
         Assert(cell->reference_cell().is_hyper_cube() == true,
                ExcNotImplemented());
@@ -182,9 +182,9 @@ namespace Particles
     void
     regular_reference_locations(
       const Triangulation<dim, spacedim> &triangulation,
-      const std::vector<Point<dim>> &     particle_reference_locations,
-      ParticleHandler<dim, spacedim> &    particle_handler,
-      const Mapping<dim, spacedim> &      mapping)
+      const std::vector<Point<dim>>      &particle_reference_locations,
+      ParticleHandler<dim, spacedim>     &particle_handler,
+      const Mapping<dim, spacedim>       &mapping)
     {
       types::particle_index particle_index = 0;
       types::particle_index n_particles_to_generate =
@@ -239,7 +239,7 @@ namespace Particles
     random_particle_in_cell(
       const typename Triangulation<dim, spacedim>::active_cell_iterator &cell,
       const types::particle_index                                        id,
-      std::mt19937 &                random_number_generator,
+      std::mt19937                 &random_number_generator,
       const Mapping<dim, spacedim> &mapping)
     {
       const auto position_and_reference_position =
@@ -256,9 +256,9 @@ namespace Particles
     random_particle_in_cell_insert(
       const typename Triangulation<dim, spacedim>::active_cell_iterator &cell,
       const types::particle_index                                        id,
-      std::mt19937 &                  random_number_generator,
+      std::mt19937                   &random_number_generator,
       ParticleHandler<dim, spacedim> &particle_handler,
-      const Mapping<dim, spacedim> &  mapping)
+      const Mapping<dim, spacedim>   &mapping)
     {
       const auto position_and_reference_position =
         random_location_in_cell(cell, mapping, random_number_generator);
@@ -275,11 +275,11 @@ namespace Particles
     void
     probabilistic_locations(
       const Triangulation<dim, spacedim> &triangulation,
-      const Function<spacedim> &          probability_density_function,
+      const Function<spacedim>           &probability_density_function,
       const bool                          random_cell_selection,
       const types::particle_index         n_particles_to_create,
-      ParticleHandler<dim, spacedim> &    particle_handler,
-      const Mapping<dim, spacedim> &      mapping,
+      ParticleHandler<dim, spacedim>     &particle_handler,
+      const Mapping<dim, spacedim>       &mapping,
       const unsigned int                  random_number_seed)
     {
       unsigned int combined_seed = random_number_seed;
@@ -455,10 +455,10 @@ namespace Particles
     void
     dof_support_points(const DoFHandler<dim, spacedim> &dof_handler,
                        const std::vector<std::vector<BoundingBox<spacedim>>>
-                         &                             global_bounding_boxes,
+                                                      &global_bounding_boxes,
                        ParticleHandler<dim, spacedim> &particle_handler,
-                       const Mapping<dim, spacedim> &  mapping,
-                       const ComponentMask &           components,
+                       const Mapping<dim, spacedim>   &mapping,
+                       const ComponentMask            &components,
                        const std::vector<std::vector<double>> &properties)
     {
       const auto &fe = dof_handler.get_fe();
@@ -489,12 +489,12 @@ namespace Particles
     void
     quadrature_points(
       const Triangulation<dim, spacedim> &triangulation,
-      const Quadrature<dim> &             quadrature,
+      const Quadrature<dim>              &quadrature,
       // const std::vector<Point<dim>> &     particle_reference_locations,
       const std::vector<std::vector<BoundingBox<spacedim>>>
-        &                                     global_bounding_boxes,
-      ParticleHandler<dim, spacedim> &        particle_handler,
-      const Mapping<dim, spacedim> &          mapping,
+                                             &global_bounding_boxes,
+      ParticleHandler<dim, spacedim>         &particle_handler,
+      const Mapping<dim, spacedim>           &mapping,
       const std::vector<std::vector<double>> &properties)
     {
       const std::vector<Point<dim>> &particle_reference_locations =
index 7ea80d0e1a9f9d04a167c1bf5028a60c4dc5c3b0..9a1463d3b9887b63c9dac99e75f9916e40b827d9 100644 (file)
@@ -43,7 +43,7 @@ for (deal_II_dimension : DIMENSIONS; deal_II_space_dimension : SPACE_DIMENSIONS)
         template void
         probabilistic_locations<deal_II_dimension, deal_II_space_dimension>(
           const Triangulation<deal_II_dimension, deal_II_space_dimension>
-            &                                      triangulation,
+                                                  &triangulation,
           const Function<deal_II_space_dimension> &probability_density_function,
           const bool                               random_cell_selection,
           const types::particle_index              n_particles_to_create,
@@ -61,13 +61,13 @@ for (deal_II_dimension : DIMENSIONS; deal_II_space_dimension : SPACE_DIMENSIONS)
           ParticleHandler<deal_II_dimension, deal_II_space_dimension>
             &particle_handler,
           const Mapping<deal_II_dimension, deal_II_space_dimension> &mapping,
-          const ComponentMask &                                      components,
+          const ComponentMask                                       &components,
           const std::vector<std::vector<double>> &properties);
 
         template void
         quadrature_points<deal_II_dimension, deal_II_space_dimension>(
           const Triangulation<deal_II_dimension, deal_II_space_dimension>
-            &                                  particle_tria,
+                                              &particle_tria,
           const Quadrature<deal_II_dimension> &quadrature,
           const std::vector<std::vector<BoundingBox<deal_II_space_dimension>>>
             &global_bounding_boxes,
index f574e4dd02a74e6a6b40af026cb824101eb12c89..26bb888eb623248d0a83b64c1544ed3d012899b7 100644 (file)
@@ -36,7 +36,7 @@ namespace Particles
 
   template <int dim, int spacedim>
   Particle<dim, spacedim>::Particle(const Point<spacedim> &location,
-                                    const Point<dim> &     reference_location,
+                                    const Point<dim>      &reference_location,
                                     const types::particle_index id)
     : property_pool(&global_property_pool)
     , property_pool_handle(property_pool->register_particle())
@@ -74,7 +74,7 @@ namespace Particles
 
   template <int dim, int spacedim>
   Particle<dim, spacedim>::Particle(
-    const void *&                      data,
+    const void                       *&data,
     PropertyPool<dim, spacedim> *const new_property_pool)
     : property_pool(new_property_pool != nullptr ? new_property_pool :
                                                    &global_property_pool)
index f583291c086d01b83afb77ab0c58e05f0660d2eb..197bcb853c079c59370bdc1ced182d19ad086898 100644 (file)
@@ -77,7 +77,7 @@ namespace Particles
   template <int dim, int spacedim>
   ParticleHandler<dim, spacedim>::ParticleHandler(
     const Triangulation<dim, spacedim> &triangulation,
-    const Mapping<dim, spacedim> &      mapping,
+    const Mapping<dim, spacedim>       &mapping,
     const unsigned int                  n_properties)
     : triangulation(&triangulation, typeid(*this).name())
     , mapping(&mapping, typeid(*this).name())
@@ -117,7 +117,7 @@ namespace Particles
   void
   ParticleHandler<dim, spacedim>::initialize(
     const Triangulation<dim, spacedim> &new_triangulation,
-    const Mapping<dim, spacedim> &      new_mapping,
+    const Mapping<dim, spacedim>       &new_mapping,
     const unsigned int                  n_properties)
   {
     clear();
@@ -577,7 +577,7 @@ namespace Particles
   template <int dim, int spacedim>
   typename ParticleHandler<dim, spacedim>::particle_iterator
   ParticleHandler<dim, spacedim>::insert_particle(
-    const Particle<dim, spacedim> &                                    particle,
+    const Particle<dim, spacedim>                                     &particle,
     const typename Triangulation<dim, spacedim>::active_cell_iterator &cell)
   {
     return insert_particle(particle.get_location(),
@@ -623,7 +623,7 @@ namespace Particles
   template <int dim, int spacedim>
   typename ParticleHandler<dim, spacedim>::particle_iterator
   ParticleHandler<dim, spacedim>::insert_particle(
-    const void *&                                                      data,
+    const void                                                       *&data,
     const typename Triangulation<dim, spacedim>::active_cell_iterator &cell)
   {
     Assert(triangulation != nullptr, ExcInternalError());
@@ -648,8 +648,8 @@ namespace Particles
   template <int dim, int spacedim>
   typename ParticleHandler<dim, spacedim>::particle_iterator
   ParticleHandler<dim, spacedim>::insert_particle(
-    const Point<spacedim> &     position,
-    const Point<dim> &          reference_position,
+    const Point<spacedim>      &position,
+    const Point<dim>           &reference_position,
     const types::particle_index particle_index,
     const typename Triangulation<dim, spacedim>::active_cell_iterator &cell,
     const ArrayView<const double> &properties)
@@ -764,8 +764,8 @@ namespace Particles
   ParticleHandler<dim, spacedim>::insert_global_particles(
     const std::vector<Point<spacedim>> &positions,
     const std::vector<std::vector<BoundingBox<spacedim>>>
-      &                                       global_bounding_boxes,
-    const std::vector<std::vector<double>> &  properties,
+                                             &global_bounding_boxes,
+    const std::vector<std::vector<double>>   &properties,
     const std::vector<types::particle_index> &ids)
   {
     if (!properties.empty())
@@ -1190,7 +1190,7 @@ namespace Particles
     compare_particle_association(
       const unsigned int                 a,
       const unsigned int                 b,
-      const Tensor<1, dim> &             particle_direction,
+      const Tensor<1, dim>              &particle_direction,
       const std::vector<Tensor<1, dim>> &center_directions)
     {
       const double scalar_product_a = center_directions[a] * particle_direction;
@@ -1663,7 +1663,7 @@ namespace Particles
     const std::map<
       types::subdomain_id,
       std::vector<typename Triangulation<dim, spacedim>::active_cell_iterator>>
-      &        send_cells,
+              &send_cells,
     const bool build_cache)
   {
     Assert(triangulation != nullptr, ExcInternalError());
@@ -2067,7 +2067,7 @@ namespace Particles
   template <int dim, int spacedim>
   void
   ParticleHandler<dim, spacedim>::register_additional_store_load_functions(
-    const std::function<std::size_t()> &                            size_callb,
+    const std::function<std::size_t()>                             &size_callb,
     const std::function<void *(const particle_iterator &, void *)> &store_callb,
     const std::function<const void *(const particle_iterator &, const void *)>
       &load_callb)
@@ -2196,7 +2196,7 @@ namespace Particles
 
     const auto callback_function =
       [this](const typename Triangulation<dim, spacedim>::cell_iterator
-               &              cell_iterator,
+                             &cell_iterator,
              const CellStatus cell_status) {
         return this->pack_callback(cell_iterator, cell_status);
       };
@@ -2271,7 +2271,7 @@ namespace Particles
       {
         const auto callback_function =
           [this](const typename Triangulation<dim, spacedim>::cell_iterator
-                   &              cell_iterator,
+                                 &cell_iterator,
                  const CellStatus cell_status,
                  const boost::iterator_range<std::vector<char>::const_iterator>
                    &range_iterator) {
@@ -2348,7 +2348,7 @@ namespace Particles
   template <int dim, int spacedim>
   void
   ParticleHandler<dim, spacedim>::unpack_callback(
-    const typename Triangulation<dim, spacedim>::cell_iterator &    cell,
+    const typename Triangulation<dim, spacedim>::cell_iterator     &cell,
     const CellStatus                                                status,
     const boost::iterator_range<std::vector<char>::const_iterator> &data_range)
   {
index b9a4fe5e4cbe0466e3dfbe17428fc626e5c70266..1e2138e96936f6128a383600f1688cc880ccb325 100644 (file)
@@ -30,11 +30,11 @@ namespace Particles
     template <int dim, int spacedim, typename number>
     void
     create_interpolation_sparsity_pattern(
-      const DoFHandler<dim, spacedim> &                space_dh,
+      const DoFHandler<dim, spacedim>                 &space_dh,
       const Particles::ParticleHandler<dim, spacedim> &particle_handler,
-      SparsityPatternBase &                            sparsity,
-      const AffineConstraints<number> &                constraints,
-      const ComponentMask &                            space_comps)
+      SparsityPatternBase                             &sparsity,
+      const AffineConstraints<number>                 &constraints,
+      const ComponentMask                             &space_comps)
     {
       if (particle_handler.n_locally_owned_particles() == 0)
         return; // nothing to do here
@@ -112,11 +112,11 @@ namespace Particles
     template <int dim, int spacedim, typename MatrixType>
     void
     create_interpolation_matrix(
-      const DoFHandler<dim, spacedim> &                space_dh,
+      const DoFHandler<dim, spacedim>                 &space_dh,
       const Particles::ParticleHandler<dim, spacedim> &particle_handler,
-      MatrixType &                                     matrix,
+      MatrixType                                      &matrix,
       const AffineConstraints<typename MatrixType::value_type> &constraints,
-      const ComponentMask &                                     space_comps)
+      const ComponentMask                                      &space_comps)
     {
       if (particle_handler.n_locally_owned_particles() == 0)
         {
index 91c3373897665323f4c0f98acebce05355beb69e..3f713a14a713b5b9c6e676c1f7959e4b001d12fa 100644 (file)
@@ -23,10 +23,10 @@ for (deal_II_dimension : DIMENSIONS; deal_II_space_dimension : SPACE_DIMENSIONS;
       const DoFHandler<deal_II_dimension, deal_II_space_dimension> &space_dh,
       const Particles::ParticleHandler<deal_II_dimension,
                                        deal_II_space_dimension>
-        &                              particle_handler,
-      SparsityPatternBase &            sparsity,
+                                      &particle_handler,
+      SparsityPatternBase             &sparsity,
       const AffineConstraints<scalar> &constraints,
-      const ComponentMask &            space_comps);
+      const ComponentMask             &space_comps);
 #endif
   }
 
@@ -41,9 +41,9 @@ for (deal_II_dimension : DIMENSIONS; deal_II_space_dimension : SPACE_DIMENSIONS;
       const DoFHandler<deal_II_dimension, deal_II_space_dimension> &space_dh,
       const Particles::ParticleHandler<deal_II_dimension,
                                        deal_II_space_dimension>
-        &                                          particle_handler,
-      Matrix &                                     matrix,
+                                                  &particle_handler,
+      Matrix                                      &matrix,
       const AffineConstraints<Matrix::value_type> &constraints,
-      const ComponentMask &                        space_comps);
+      const ComponentMask                         &space_comps);
 #endif
   }
index 2d48e00f517f602b8e10fd1640b034ea7badb9fc..1dab8304da4e779747d5ba2956c2b20e1ef95b0e 100644 (file)
@@ -118,7 +118,7 @@ namespace SUNDIALS
 
   template <typename VectorType>
   unsigned int
-  ARKode<VectorType>::solve_ode_incrementally(VectorType solution,
+  ARKode<VectorType>::solve_ode_incrementally(VectorType  &solution,
                                               const double intermediate_time,
                                               const bool   reset_solver)
   {
@@ -137,7 +137,7 @@ namespace SUNDIALS
 
   template <typename VectorType>
   int
-  ARKode<VectorType>::do_evolve_time(VectorType &  solution,
+  ARKode<VectorType>::do_evolve_time(VectorType   &solution,
                                      DiscreteTime &time,
                                      const bool    do_reset)
   {
@@ -419,7 +419,7 @@ namespace SUNDIALS
                                                  realtype t,
                                                  N_Vector y,
                                                  N_Vector fy,
-                                                 void *   user_data,
+                                                 void    *user_data,
                                                  N_Vector) -> int {
           Assert(user_data != nullptr, ExcInternalError());
           ARKode<VectorType> &solver =
@@ -473,7 +473,7 @@ namespace SUNDIALS
                                                    realtype gamma,
                                                    realtype delta,
                                                    int      lr,
-                                                   void *   user_data) -> int {
+                                                   void    *user_data) -> int {
               Assert(user_data != nullptr, ExcInternalError());
               ARKode<VectorType> &solver =
                 *static_cast<ARKode<VectorType> *>(user_data);
index d2bf1a74745071e311eabb906a93a31157538be9..7edaedf3da3fb4a3ce66ab9973fae1bd258037e9 100644 (file)
@@ -180,8 +180,8 @@ namespace SUNDIALS
   void
   IDA<VectorType>::reset(const double current_time,
                          const double current_time_step,
-                         VectorType solution,
-                         VectorType solution_dot)
+                         VectorType  &solution,
+                         VectorType  &solution_dot)
   {
     bool first_step = (current_time == data.initial_time);
 
index 67d2fc5321427751b7688c4421eaaf440f997e03..bbd73f6077339dc0741ff2d6614f3ae6646d3659 100644 (file)
@@ -30,7 +30,7 @@ for (S : REAL_SCALARS; V : DEAL_II_VEC_TEMPLATES)
                                             SUNContext
 #endif
     );
-    template V<S> *      SUNDIALS::internal::unwrap_nvector<V<S>>(N_Vector);
+    template V<S>       *SUNDIALS::internal::unwrap_nvector<V<S>>(N_Vector);
     template const V<S> *SUNDIALS::internal::unwrap_nvector_const<V<S>>(
       N_Vector);
 
index 6a5e437ad19b1ae3784f747f8cf12d60db1e1a89..0cb81695154d28e10f9e0770855cfbb1a41055e5 100644 (file)
@@ -68,7 +68,7 @@ namespace SUNDIALS
      */
     template <typename F, typename... Args>
     int
-    call_and_possibly_capture_exception(const F &           f,
+    call_and_possibly_capture_exception(const F            &f,
                                         std::exception_ptr &eptr,
                                         Args &&...args)
     {
@@ -183,7 +183,8 @@ namespace SUNDIALS
 
 
 
-    SUNLinearSolver_Type arkode_linsol_get_type(SUNLinearSolver)
+    SUNLinearSolver_Type
+    arkode_linsol_get_type(SUNLinearSolver)
     {
       return SUNLINEARSOLVER_ITERATIVE;
     }
@@ -244,7 +245,8 @@ namespace SUNDIALS
 
 
     template <typename VectorType>
-    int arkode_linsol_initialize(SUNLinearSolver)
+    int
+    arkode_linsol_initialize(SUNLinearSolver)
     {
       // this method is currently only provided because SUNDIALS 4.0.0 requires
       // it - no user-set action is implemented so far
@@ -269,7 +271,7 @@ namespace SUNDIALS
     template <typename VectorType>
     int
     arkode_linsol_set_preconditioner(SUNLinearSolver LS,
-                                     void *          P_data,
+                                     void           *P_data,
                                      PSetupFn        p_setup,
                                      PSolveFn        p_solve)
     {
@@ -287,7 +289,7 @@ namespace SUNDIALS
   template <typename VectorType>
   internal::LinearSolverWrapper<VectorType>::LinearSolverWrapper(
     const LinearSolveFunction<VectorType> &lsolve,
-    std::exception_ptr &                   pending_exception
+    std::exception_ptr                    &pending_exception
 #  if DEAL_II_SUNDIALS_VERSION_GTE(6, 0, 0)
     ,
     SUNContext linsol_ctx
@@ -340,7 +342,7 @@ namespace SUNDIALS
 
 #  if DEAL_II_SUNDIALS_VERSION_GTE(6, 0, 0)
   template <typename VectorType>
-  SundialsOperator<VectorType>::SundialsOperator(void *     A_data,
+  SundialsOperator<VectorType>::SundialsOperator(void      *A_data,
                                                  ATimesFn   a_times_fn,
                                                  SUNContext linsol_ctx)
     : A_data(A_data)
@@ -353,7 +355,7 @@ namespace SUNDIALS
   }
 #  else
   template <typename VectorType>
-  SundialsOperator<VectorType>::SundialsOperator(void *A_data,
+  SundialsOperator<VectorType>::SundialsOperator(void    *A_data,
                                                  ATimesFn a_times_fn)
     : A_data(A_data)
     , a_times_fn(a_times_fn)
@@ -367,7 +369,7 @@ namespace SUNDIALS
 
   template <typename VectorType>
   void
-  SundialsOperator<VectorType>::vmult(VectorType &      dst,
+  SundialsOperator<VectorType>::vmult(VectorType       &dst,
                                       const VectorType &src) const
   {
     auto sun_dst = internal::make_nvector_view(dst
@@ -392,7 +394,7 @@ namespace SUNDIALS
 #  if DEAL_II_SUNDIALS_VERSION_GTE(6, 0, 0)
   template <typename VectorType>
   SundialsPreconditioner<VectorType>::SundialsPreconditioner(
-    void *     P_data,
+    void      *P_data,
     PSolveFn   p_solve_fn,
     SUNContext linsol_ctx,
     double     tol)
@@ -404,9 +406,9 @@ namespace SUNDIALS
 #  else
   template <typename VectorType>
   SundialsPreconditioner<VectorType>::SundialsPreconditioner(
-    void *P_data,
+    void    *P_data,
     PSolveFn p_solve_fn,
-    double tol)
+    double   tol)
     : P_data(P_data)
     , p_solve_fn(p_solve_fn)
     , tol(tol)
@@ -417,7 +419,7 @@ namespace SUNDIALS
 
   template <typename VectorType>
   void
-  SundialsPreconditioner<VectorType>::vmult(VectorType &      dst,
+  SundialsPreconditioner<VectorType>::vmult(VectorType       &dst,
                                             const VectorType &src) const
   {
     // apply identity preconditioner if nothing else specified
index 7dc9bc4e86fe5a80dde1509280978878455aba7b..c9ea156fa0cebbc0516992eda1ab4ee1cb3a571d 100644 (file)
@@ -94,14 +94,14 @@ struct FunctionsTestSymmetricTensorVectorCoupled
 
   static NumberType
   psi(const SymmetricTensor<2, dim, NumberType> &t,
-      const Tensor<1, dim, NumberType> &         v)
+      const Tensor<1, dim, NumberType>          &v)
   {
     return pow(det_t(t), 2) * pow(v_squ(v), 3);
   };
 
   static SymmetricTensor<2, dim, NumberType>
   dpsi_dt(const SymmetricTensor<2, dim, NumberType> &t,
-          const Tensor<1, dim, NumberType> &         v)
+          const Tensor<1, dim, NumberType>          &v)
   {
     return SymmetricTensor<2, dim, NumberType>(2.0 * pow(det_t(t), 1) *
                                                ddet_t_dt(t) * pow(v_squ(v), 3));
@@ -109,14 +109,14 @@ struct FunctionsTestSymmetricTensorVectorCoupled
 
   static Tensor<1, dim, NumberType>
   dpsi_dv(const SymmetricTensor<2, dim, NumberType> &t,
-          const Tensor<1, dim, NumberType> &         v)
+          const Tensor<1, dim, NumberType>          &v)
   {
     return pow(det_t(t), 2) * 3.0 * pow(v_squ(v), 2) * dv_squ_dv(v);
   };
 
   static SymmetricTensor<4, dim, NumberType>
   d2psi_dt_dt(const SymmetricTensor<2, dim, NumberType> &t,
-              const Tensor<1, dim, NumberType> &         v)
+              const Tensor<1, dim, NumberType>          &v)
   {
     return SymmetricTensor<4, dim, NumberType>(
       2.0 * pow(v_squ(v), 3) *
@@ -126,7 +126,7 @@ struct FunctionsTestSymmetricTensorVectorCoupled
 
   static Tensor<3, dim, NumberType>
   d2psi_dv_dt(const SymmetricTensor<2, dim, NumberType> &t,
-              const Tensor<1, dim, NumberType> &         v)
+              const Tensor<1, dim, NumberType>          &v)
   {
     return 2.0 * pow(det_t(t), 1) * 3.0 * pow(v_squ(v), 2) *
            outer_product(static_cast<Tensor<2, dim, NumberType>>(ddet_t_dt(t)),
@@ -135,7 +135,7 @@ struct FunctionsTestSymmetricTensorVectorCoupled
 
   static Tensor<3, dim, NumberType>
   d2psi_dt_dv(const SymmetricTensor<2, dim, NumberType> &t,
-              const Tensor<1, dim, NumberType> &         v)
+              const Tensor<1, dim, NumberType>          &v)
   {
     return 2.0 * pow(det_t(t), 1) * 3.0 * pow(v_squ(v), 2) *
            outer_product(dv_squ_dv(v),
@@ -144,7 +144,7 @@ struct FunctionsTestSymmetricTensorVectorCoupled
 
   static Tensor<2, dim, NumberType>
   d2psi_dv_dv(const SymmetricTensor<2, dim, NumberType> &t,
-              const Tensor<1, dim, NumberType> &         v)
+              const Tensor<1, dim, NumberType>          &v)
   {
     return pow(det_t(t), 2) * 3.0 *
            (2.0 * pow(v_squ(v), 1) * outer_product(dv_squ_dv(v), dv_squ_dv(v)) +
index f477ba4af67bfa8ab6b7720b5c80124d96c833b1..763e83cd6cfc9cb8e171d0a55ed90a295d1cb258 100644 (file)
@@ -101,14 +101,14 @@ struct FunctionsTestSymmetricTensorVectorCoupled
 
   static NumberType
   psi(const SymmetricTensor<2, dim, NumberType> &t,
-      const Tensor<1, dim, NumberType> &         v)
+      const Tensor<1, dim, NumberType>          &v)
   {
     return pow(det_t(t), 2) * pow(v_squ(v), 3);
   };
 
   static SymmetricTensor<2, dim, NumberType>
   dpsi_dt(const SymmetricTensor<2, dim, NumberType> &t,
-          const Tensor<1, dim, NumberType> &         v)
+          const Tensor<1, dim, NumberType>          &v)
   {
     return SymmetricTensor<2, dim, NumberType>(2.0 * pow(det_t(t), 1) *
                                                ddet_t_dt(t) * pow(v_squ(v), 3));
@@ -116,14 +116,14 @@ struct FunctionsTestSymmetricTensorVectorCoupled
 
   static Tensor<1, dim, NumberType>
   dpsi_dv(const SymmetricTensor<2, dim, NumberType> &t,
-          const Tensor<1, dim, NumberType> &         v)
+          const Tensor<1, dim, NumberType>          &v)
   {
     return pow(det_t(t), 2) * 3.0 * pow(v_squ(v), 2) * dv_squ_dv(v);
   };
 
   static SymmetricTensor<4, dim, NumberType>
   d2psi_dt_dt(const SymmetricTensor<2, dim, NumberType> &t,
-              const Tensor<1, dim, NumberType> &         v)
+              const Tensor<1, dim, NumberType>          &v)
   {
     return SymmetricTensor<4, dim, NumberType>(
       2.0 * pow(v_squ(v), 3) *
@@ -133,7 +133,7 @@ struct FunctionsTestSymmetricTensorVectorCoupled
 
   static Tensor<3, dim, NumberType>
   d2psi_dv_dt(const SymmetricTensor<2, dim, NumberType> &t,
-              const Tensor<1, dim, NumberType> &         v)
+              const Tensor<1, dim, NumberType>          &v)
   {
     return 2.0 * pow(det_t(t), 1) * 3.0 * pow(v_squ(v), 2) *
            outer_product(static_cast<Tensor<2, dim, NumberType>>(ddet_t_dt(t)),
@@ -142,7 +142,7 @@ struct FunctionsTestSymmetricTensorVectorCoupled
 
   static Tensor<3, dim, NumberType>
   d2psi_dt_dv(const SymmetricTensor<2, dim, NumberType> &t,
-              const Tensor<1, dim, NumberType> &         v)
+              const Tensor<1, dim, NumberType>          &v)
   {
     return 2.0 * pow(det_t(t), 1) * 3.0 * pow(v_squ(v), 2) *
            outer_product(dv_squ_dv(v),
@@ -151,7 +151,7 @@ struct FunctionsTestSymmetricTensorVectorCoupled
 
   static Tensor<2, dim, NumberType>
   d2psi_dv_dv(const SymmetricTensor<2, dim, NumberType> &t,
-              const Tensor<1, dim, NumberType> &         v)
+              const Tensor<1, dim, NumberType>          &v)
   {
     return pow(det_t(t), 2) * 3.0 *
            (2.0 * pow(v_squ(v), 1) * outer_product(dv_squ_dv(v), dv_squ_dv(v)) +
index a8d892814273d1be6a9da5d00e41c5e8bd558838..3038ea0feef8cf4724a8d6ed93a052c2c71865fa 100644 (file)
@@ -104,14 +104,14 @@ struct FunctionsTestSymmetricTensorTensorCoupled
 
   static NumberType
   psi(const SymmetricTensor<2, dim, NumberType> &t1,
-      const Tensor<2, dim, NumberType> &         t2)
+      const Tensor<2, dim, NumberType>          &t2)
   {
     return pow(det_t(t1), 2) * pow(det_t(t2), 3);
   };
 
   static SymmetricTensor<2, dim, NumberType>
   dpsi_dt1(const SymmetricTensor<2, dim, NumberType> &t1,
-           const Tensor<2, dim, NumberType> &         t2)
+           const Tensor<2, dim, NumberType>          &t2)
   {
     return SymmetricTensor<2, dim, NumberType>(
       2.0 * pow(det_t(t1), 1) * ddet_t_dt(t1) * pow(det_t(t2), 3));
@@ -119,14 +119,14 @@ struct FunctionsTestSymmetricTensorTensorCoupled
 
   static Tensor<2, dim, NumberType>
   dpsi_dt2(const SymmetricTensor<2, dim, NumberType> &t1,
-           const Tensor<2, dim, NumberType> &         t2)
+           const Tensor<2, dim, NumberType>          &t2)
   {
     return pow(det_t(t1), 2) * 3.0 * pow(det_t(t2), 2) * ddet_t_dt(t2);
   };
 
   static SymmetricTensor<4, dim, NumberType>
   d2psi_dt1_dt1(const SymmetricTensor<2, dim, NumberType> &t1,
-                const Tensor<2, dim, NumberType> &         t2)
+                const Tensor<2, dim, NumberType>          &t2)
   {
     return SymmetricTensor<4, dim, NumberType>(
       2.0 * pow(det_t(t2), 3) *
@@ -136,7 +136,7 @@ struct FunctionsTestSymmetricTensorTensorCoupled
 
   static Tensor<4, dim, NumberType>
   d2psi_dt2_dt1(const SymmetricTensor<2, dim, NumberType> &t1,
-                const Tensor<2, dim, NumberType> &         t2)
+                const Tensor<2, dim, NumberType>          &t2)
   {
     return 2.0 * pow(det_t(t1), 1) * 3.0 * pow(det_t(t2), 2) *
            outer_product(static_cast<Tensor<2, dim, NumberType>>(ddet_t_dt(t1)),
@@ -145,7 +145,7 @@ struct FunctionsTestSymmetricTensorTensorCoupled
 
   static Tensor<4, dim, NumberType>
   d2psi_dt1_dt2(const SymmetricTensor<2, dim, NumberType> &t1,
-                const Tensor<2, dim, NumberType> &         t2)
+                const Tensor<2, dim, NumberType>          &t2)
   {
     return 2.0 * pow(det_t(t1), 1) * 3.0 * pow(det_t(t2), 2) *
            outer_product(ddet_t_dt(t2),
@@ -155,7 +155,7 @@ struct FunctionsTestSymmetricTensorTensorCoupled
 
   static Tensor<4, dim, NumberType>
   d2psi_dt2_dt2(const SymmetricTensor<2, dim, NumberType> &t1,
-                const Tensor<2, dim, NumberType> &         t2)
+                const Tensor<2, dim, NumberType>          &t2)
   {
     return pow(det_t(t1), 2) * 3.0 *
            (2.0 * pow(det_t(t2), 1) *
index 96819f49bf0faabc5c1ddaddc8cefce1f2b2c0df..a1effdd3e4ddfab6fc557d4459c21057f448a3d7 100644 (file)
@@ -95,7 +95,7 @@ struct FunctionsTestTensorVectorScalarCoupled
   static NumberType
   psi(const Tensor<2, dim, NumberType> &t,
       const Tensor<1, dim, NumberType> &v,
-      const NumberType &                s)
+      const NumberType                 &s)
   {
     return pow(det_t(t), 2) * pow(v_squ(v), 3) * pow(s, sf);
   };
@@ -103,7 +103,7 @@ struct FunctionsTestTensorVectorScalarCoupled
   static Tensor<2, dim, NumberType>
   dpsi_dt(const Tensor<2, dim, NumberType> &t,
           const Tensor<1, dim, NumberType> &v,
-          const NumberType &                s)
+          const NumberType                 &s)
   {
     return 2.0 * pow(det_t(t), 1) * ddet_t_dt(t) * pow(v_squ(v), 3) *
            pow(s, sf);
@@ -112,7 +112,7 @@ struct FunctionsTestTensorVectorScalarCoupled
   static Tensor<1, dim, NumberType>
   dpsi_dv(const Tensor<2, dim, NumberType> &t,
           const Tensor<1, dim, NumberType> &v,
-          const NumberType &                s)
+          const NumberType                 &s)
   {
     return pow(det_t(t), 2) * 3.0 * pow(v_squ(v), 2) * dv_squ_dv(v) *
            pow(s, sf);
@@ -121,7 +121,7 @@ struct FunctionsTestTensorVectorScalarCoupled
   static NumberType
   dpsi_ds(const Tensor<2, dim, NumberType> &t,
           const Tensor<1, dim, NumberType> &v,
-          const NumberType &                s)
+          const NumberType                 &s)
   {
     return pow(det_t(t), 2) * pow(v_squ(v), 3) * sf * pow(s, sf - 1.0);
   };
@@ -129,7 +129,7 @@ struct FunctionsTestTensorVectorScalarCoupled
   static Tensor<4, dim, NumberType>
   d2psi_dt_dt(const Tensor<2, dim, NumberType> &t,
               const Tensor<1, dim, NumberType> &v,
-              const NumberType &                s)
+              const NumberType                 &s)
   {
     return 2.0 * pow(v_squ(v), 3) *
            (pow(det_t(t), 0) * outer_product(ddet_t_dt(t), ddet_t_dt(t)) +
@@ -140,7 +140,7 @@ struct FunctionsTestTensorVectorScalarCoupled
   static Tensor<3, dim, NumberType>
   d2psi_dv_dt(const Tensor<2, dim, NumberType> &t,
               const Tensor<1, dim, NumberType> &v,
-              const NumberType &                s)
+              const NumberType                 &s)
   {
     return 2.0 * pow(det_t(t), 1) * 3.0 * pow(v_squ(v), 2) *
            outer_product(ddet_t_dt(t), dv_squ_dv(v)) * pow(s, sf);
@@ -149,7 +149,7 @@ struct FunctionsTestTensorVectorScalarCoupled
   static Tensor<2, dim, NumberType>
   d2psi_ds_dt(const Tensor<2, dim, NumberType> &t,
               const Tensor<1, dim, NumberType> &v,
-              const NumberType &                s)
+              const NumberType                 &s)
   {
     return 2.0 * pow(det_t(t), 1) * ddet_t_dt(t) * pow(v_squ(v), 3) * sf *
            pow(s, sf - 1.0);
@@ -158,7 +158,7 @@ struct FunctionsTestTensorVectorScalarCoupled
   static Tensor<3, dim, NumberType>
   d2psi_dt_dv(const Tensor<2, dim, NumberType> &t,
               const Tensor<1, dim, NumberType> &v,
-              const NumberType &                s)
+              const NumberType                 &s)
   {
     return 2.0 * pow(det_t(t), 1) * 3.0 * pow(v_squ(v), 2) *
            outer_product(dv_squ_dv(v), ddet_t_dt(t)) * pow(s, sf);
@@ -167,7 +167,7 @@ struct FunctionsTestTensorVectorScalarCoupled
   static Tensor<2, dim, NumberType>
   d2psi_dv_dv(const Tensor<2, dim, NumberType> &t,
               const Tensor<1, dim, NumberType> &v,
-              const NumberType &                s)
+              const NumberType                 &s)
   {
     return pow(det_t(t), 2) * 3.0 *
            (2.0 * pow(v_squ(v), 1) * outer_product(dv_squ_dv(v), dv_squ_dv(v)) +
@@ -178,7 +178,7 @@ struct FunctionsTestTensorVectorScalarCoupled
   static Tensor<1, dim, NumberType>
   d2psi_ds_dv(const Tensor<2, dim, NumberType> &t,
               const Tensor<1, dim, NumberType> &v,
-              const NumberType &                s)
+              const NumberType                 &s)
   {
     return pow(det_t(t), 2) * 3.0 * pow(v_squ(v), 2) * dv_squ_dv(v) * sf *
            pow(s, sf - 1.0);
@@ -187,7 +187,7 @@ struct FunctionsTestTensorVectorScalarCoupled
   static Tensor<2, dim, NumberType>
   d2psi_dt_ds(const Tensor<2, dim, NumberType> &t,
               const Tensor<1, dim, NumberType> &v,
-              const NumberType &                s)
+              const NumberType                 &s)
   {
     return 2.0 * pow(det_t(t), 1) * ddet_t_dt(t) * pow(v_squ(v), 3) * sf *
            pow(s, sf - 1.0);
@@ -196,7 +196,7 @@ struct FunctionsTestTensorVectorScalarCoupled
   static Tensor<1, dim, NumberType>
   d2psi_dv_ds(const Tensor<2, dim, NumberType> &t,
               const Tensor<1, dim, NumberType> &v,
-              const NumberType &                s)
+              const NumberType                 &s)
   {
     return pow(det_t(t), 2) * 3.0 * pow(v_squ(v), 2) * dv_squ_dv(v) * sf *
            pow(s, sf - 1.0);
@@ -205,7 +205,7 @@ struct FunctionsTestTensorVectorScalarCoupled
   static NumberType
   d2psi_ds_ds(const Tensor<2, dim, NumberType> &t,
               const Tensor<1, dim, NumberType> &v,
-              const NumberType &                s)
+              const NumberType                 &s)
   {
     return pow(det_t(t), 2) * pow(v_squ(v), 3) * sf * (sf - 1.0) *
            pow(s, sf - 2.0);
index 63dc8cadef82b237a849c67bc74e9d9948a3dae3..0f200eb11dc1657c25611dc64bc9f8ab78230547 100644 (file)
@@ -99,7 +99,7 @@ struct FunctionsTestTensorVectorScalarCoupled
   static NumberType
   psi(const Tensor<2, dim, NumberType> &t,
       const Tensor<1, dim, NumberType> &v,
-      const NumberType &                s)
+      const NumberType                 &s)
   {
     return pow(det_t(t), 2) * pow(v_squ(v), 3) * pow(s, sf);
   };
@@ -107,7 +107,7 @@ struct FunctionsTestTensorVectorScalarCoupled
   static Tensor<2, dim, NumberType>
   dpsi_dt(const Tensor<2, dim, NumberType> &t,
           const Tensor<1, dim, NumberType> &v,
-          const NumberType &                s)
+          const NumberType                 &s)
   {
     return 2.0 * pow(det_t(t), 1) * ddet_t_dt(t) * pow(v_squ(v), 3) *
            pow(s, sf);
@@ -116,7 +116,7 @@ struct FunctionsTestTensorVectorScalarCoupled
   static Tensor<1, dim, NumberType>
   dpsi_dv(const Tensor<2, dim, NumberType> &t,
           const Tensor<1, dim, NumberType> &v,
-          const NumberType &                s)
+          const NumberType                 &s)
   {
     return pow(det_t(t), 2) * 3.0 * pow(v_squ(v), 2) * dv_squ_dv(v) *
            pow(s, sf);
@@ -125,7 +125,7 @@ struct FunctionsTestTensorVectorScalarCoupled
   static NumberType
   dpsi_ds(const Tensor<2, dim, NumberType> &t,
           const Tensor<1, dim, NumberType> &v,
-          const NumberType &                s)
+          const NumberType                 &s)
   {
     return pow(det_t(t), 2) * pow(v_squ(v), 3) * sf * pow(s, sf - 1.0);
   };
@@ -133,7 +133,7 @@ struct FunctionsTestTensorVectorScalarCoupled
   static Tensor<4, dim, NumberType>
   d2psi_dt_dt(const Tensor<2, dim, NumberType> &t,
               const Tensor<1, dim, NumberType> &v,
-              const NumberType &                s)
+              const NumberType                 &s)
   {
     return 2.0 * pow(v_squ(v), 3) *
            (pow(det_t(t), 0) * outer_product(ddet_t_dt(t), ddet_t_dt(t)) +
@@ -144,7 +144,7 @@ struct FunctionsTestTensorVectorScalarCoupled
   static Tensor<3, dim, NumberType>
   d2psi_dv_dt(const Tensor<2, dim, NumberType> &t,
               const Tensor<1, dim, NumberType> &v,
-              const NumberType &                s)
+              const NumberType                 &s)
   {
     return 2.0 * pow(det_t(t), 1) * 3.0 * pow(v_squ(v), 2) *
            outer_product(ddet_t_dt(t), dv_squ_dv(v)) * pow(s, sf);
@@ -153,7 +153,7 @@ struct FunctionsTestTensorVectorScalarCoupled
   static Tensor<2, dim, NumberType>
   d2psi_ds_dt(const Tensor<2, dim, NumberType> &t,
               const Tensor<1, dim, NumberType> &v,
-              const NumberType &                s)
+              const NumberType                 &s)
   {
     return 2.0 * pow(det_t(t), 1) * ddet_t_dt(t) * pow(v_squ(v), 3) * sf *
            pow(s, sf - 1.0);
@@ -162,7 +162,7 @@ struct FunctionsTestTensorVectorScalarCoupled
   static Tensor<3, dim, NumberType>
   d2psi_dt_dv(const Tensor<2, dim, NumberType> &t,
               const Tensor<1, dim, NumberType> &v,
-              const NumberType &                s)
+              const NumberType                 &s)
   {
     return 2.0 * pow(det_t(t), 1) * 3.0 * pow(v_squ(v), 2) *
            outer_product(dv_squ_dv(v), ddet_t_dt(t)) * pow(s, sf);
@@ -171,7 +171,7 @@ struct FunctionsTestTensorVectorScalarCoupled
   static Tensor<2, dim, NumberType>
   d2psi_dv_dv(const Tensor<2, dim, NumberType> &t,
               const Tensor<1, dim, NumberType> &v,
-              const NumberType &                s)
+              const NumberType                 &s)
   {
     return pow(det_t(t), 2) * 3.0 *
            (2.0 * pow(v_squ(v), 1) * outer_product(dv_squ_dv(v), dv_squ_dv(v)) +
@@ -182,7 +182,7 @@ struct FunctionsTestTensorVectorScalarCoupled
   static Tensor<1, dim, NumberType>
   d2psi_ds_dv(const Tensor<2, dim, NumberType> &t,
               const Tensor<1, dim, NumberType> &v,
-              const NumberType &                s)
+              const NumberType                 &s)
   {
     return pow(det_t(t), 2) * 3.0 * pow(v_squ(v), 2) * dv_squ_dv(v) * sf *
            pow(s, sf - 1.0);
@@ -191,7 +191,7 @@ struct FunctionsTestTensorVectorScalarCoupled
   static Tensor<2, dim, NumberType>
   d2psi_dt_ds(const Tensor<2, dim, NumberType> &t,
               const Tensor<1, dim, NumberType> &v,
-              const NumberType &                s)
+              const NumberType                 &s)
   {
     return 2.0 * pow(det_t(t), 1) * ddet_t_dt(t) * pow(v_squ(v), 3) * sf *
            pow(s, sf - 1.0);
@@ -200,7 +200,7 @@ struct FunctionsTestTensorVectorScalarCoupled
   static Tensor<1, dim, NumberType>
   d2psi_dv_ds(const Tensor<2, dim, NumberType> &t,
               const Tensor<1, dim, NumberType> &v,
-              const NumberType &                s)
+              const NumberType                 &s)
   {
     return pow(det_t(t), 2) * 3.0 * pow(v_squ(v), 2) * dv_squ_dv(v) * sf *
            pow(s, sf - 1.0);
@@ -209,7 +209,7 @@ struct FunctionsTestTensorVectorScalarCoupled
   static NumberType
   d2psi_ds_ds(const Tensor<2, dim, NumberType> &t,
               const Tensor<1, dim, NumberType> &v,
-              const NumberType &                s)
+              const NumberType                 &s)
   {
     return pow(det_t(t), 2) * pow(v_squ(v), 3) * sf * (sf - 1.0) *
            pow(s, sf - 2.0);
index fd38d1898a4690a34c1296263a72d5e24c5161af..98b72cb9a22e83fdda199a0c8dd4566bb1f76633 100644 (file)
@@ -127,9 +127,9 @@ struct FunctionsTestSymmetricTensorTensorVectorScalarCoupled
 
   static NumberType
   psi(const SymmetricTensor<2, dim, NumberType> &st,
-      const Tensor<2, dim, NumberType> &         t,
-      const Tensor<1, dim, NumberType> &         v,
-      const NumberType &                         s)
+      const Tensor<2, dim, NumberType>          &t,
+      const Tensor<1, dim, NumberType>          &v,
+      const NumberType                          &s)
   {
     return pow(det_t(st), 2) * pow(det_t(t), 2) * pow(v_squ(v), 3) * pow(s, sf);
   };
@@ -141,9 +141,9 @@ struct FunctionsTestSymmetricTensorTensorVectorScalarCoupled
 
   static SymmetricTensor<2, dim, NumberType>
   dpsi_dst(const SymmetricTensor<2, dim, NumberType> &st,
-           const Tensor<2, dim, NumberType> &         t,
-           const Tensor<1, dim, NumberType> &         v,
-           const NumberType &                         s)
+           const Tensor<2, dim, NumberType>          &t,
+           const Tensor<1, dim, NumberType>          &v,
+           const NumberType                          &s)
   {
     return 2.0 * pow(det_t(st), 1) * ddet_t_dt(st) * pow(det_t(t), 2) *
            pow(v_squ(v), 3) * pow(s, sf);
@@ -151,9 +151,9 @@ struct FunctionsTestSymmetricTensorTensorVectorScalarCoupled
 
   static Tensor<2, dim, NumberType>
   dpsi_dt(const SymmetricTensor<2, dim, NumberType> &st,
-          const Tensor<2, dim, NumberType> &         t,
-          const Tensor<1, dim, NumberType> &         v,
-          const NumberType &                         s)
+          const Tensor<2, dim, NumberType>          &t,
+          const Tensor<1, dim, NumberType>          &v,
+          const NumberType                          &s)
   {
     return 2.0 * pow(det_t(st), 2) * pow(det_t(t), 1) * ddet_t_dt(t) *
            pow(v_squ(v), 3) * pow(s, sf);
@@ -161,9 +161,9 @@ struct FunctionsTestSymmetricTensorTensorVectorScalarCoupled
 
   static Tensor<1, dim, NumberType>
   dpsi_dv(const SymmetricTensor<2, dim, NumberType> &st,
-          const Tensor<2, dim, NumberType> &         t,
-          const Tensor<1, dim, NumberType> &         v,
-          const NumberType &                         s)
+          const Tensor<2, dim, NumberType>          &t,
+          const Tensor<1, dim, NumberType>          &v,
+          const NumberType                          &s)
   {
     return pow(det_t(st), 2) * pow(det_t(t), 2) * 3.0 * pow(v_squ(v), 2) *
            dv_squ_dv(v) * pow(s, sf);
@@ -171,9 +171,9 @@ struct FunctionsTestSymmetricTensorTensorVectorScalarCoupled
 
   static NumberType
   dpsi_ds(const SymmetricTensor<2, dim, NumberType> &st,
-          const Tensor<2, dim, NumberType> &         t,
-          const Tensor<1, dim, NumberType> &         v,
-          const NumberType &                         s)
+          const Tensor<2, dim, NumberType>          &t,
+          const Tensor<1, dim, NumberType>          &v,
+          const NumberType                          &s)
   {
     return pow(det_t(st), 2) * pow(det_t(t), 2) * pow(v_squ(v), 3) * sf *
            pow(s, sf - 1.0);
@@ -181,9 +181,9 @@ struct FunctionsTestSymmetricTensorTensorVectorScalarCoupled
 
   static SymmetricTensor<4, dim, NumberType>
   d2psi_dst_x_dst(const SymmetricTensor<2, dim, NumberType> &st,
-                  const Tensor<2, dim, NumberType> &         t,
-                  const Tensor<1, dim, NumberType> &         v,
-                  const NumberType &                         s)
+                  const Tensor<2, dim, NumberType>          &t,
+                  const Tensor<1, dim, NumberType>          &v,
+                  const NumberType                          &s)
   {
     return 2.0 * pow(det_t(t), 2) * pow(v_squ(v), 3) *
            (pow(det_t(st), 0) * outer_product(ddet_t_dt(st), ddet_t_dt(st)) +
@@ -193,9 +193,9 @@ struct FunctionsTestSymmetricTensorTensorVectorScalarCoupled
 
   static Tensor<4, dim, NumberType>
   d2psi_dst_x_dt(const SymmetricTensor<2, dim, NumberType> &st,
-                 const Tensor<2, dim, NumberType> &         t,
-                 const Tensor<1, dim, NumberType> &         v,
-                 const NumberType &                         s)
+                 const Tensor<2, dim, NumberType>          &t,
+                 const Tensor<1, dim, NumberType>          &v,
+                 const NumberType                          &s)
   {
     return 4.0 * pow(det_t(st), 1) * pow(det_t(t), 1) *
            outer_product(Tensor<2, dim, NumberType>(ddet_t_dt(st)),
@@ -205,9 +205,9 @@ struct FunctionsTestSymmetricTensorTensorVectorScalarCoupled
 
   static Tensor<3, dim, NumberType>
   d2psi_dst_x_dv(const SymmetricTensor<2, dim, NumberType> &st,
-                 const Tensor<2, dim, NumberType> &         t,
-                 const Tensor<1, dim, NumberType> &         v,
-                 const NumberType &                         s)
+                 const Tensor<2, dim, NumberType>          &t,
+                 const Tensor<1, dim, NumberType>          &v,
+                 const NumberType                          &s)
   {
     return 2.0 * pow(det_t(t), 2) * pow(det_t(st), 1) * 3.0 * pow(v_squ(v), 2) *
            outer_product(Tensor<2, dim, NumberType>(ddet_t_dt(st)),
@@ -217,9 +217,9 @@ struct FunctionsTestSymmetricTensorTensorVectorScalarCoupled
 
   static SymmetricTensor<2, dim, NumberType>
   d2psi_dst_x_ds(const SymmetricTensor<2, dim, NumberType> &st,
-                 const Tensor<2, dim, NumberType> &         t,
-                 const Tensor<1, dim, NumberType> &         v,
-                 const NumberType &                         s)
+                 const Tensor<2, dim, NumberType>          &t,
+                 const Tensor<1, dim, NumberType>          &v,
+                 const NumberType                          &s)
   {
     return 2.0 * pow(det_t(st), 1) * ddet_t_dt(st) * pow(det_t(t), 2) *
            pow(v_squ(v), 3) * sf * pow(s, sf - 1.0);
@@ -227,9 +227,9 @@ struct FunctionsTestSymmetricTensorTensorVectorScalarCoupled
 
   static Tensor<4, dim, NumberType>
   d2psi_dt_x_dst(const SymmetricTensor<2, dim, NumberType> &st,
-                 const Tensor<2, dim, NumberType> &         t,
-                 const Tensor<1, dim, NumberType> &         v,
-                 const NumberType &                         s)
+                 const Tensor<2, dim, NumberType>          &t,
+                 const Tensor<1, dim, NumberType>          &v,
+                 const NumberType                          &s)
   {
     return 4.0 * pow(det_t(st), 1) * pow(det_t(t), 1) *
            outer_product(ddet_t_dt(t),
@@ -239,9 +239,9 @@ struct FunctionsTestSymmetricTensorTensorVectorScalarCoupled
 
   static Tensor<4, dim, NumberType>
   d2psi_dt_x_dt(const SymmetricTensor<2, dim, NumberType> &st,
-                const Tensor<2, dim, NumberType> &         t,
-                const Tensor<1, dim, NumberType> &         v,
-                const NumberType &                         s)
+                const Tensor<2, dim, NumberType>          &t,
+                const Tensor<1, dim, NumberType>          &v,
+                const NumberType                          &s)
   {
     return 2.0 * pow(det_t(st), 2) * pow(v_squ(v), 3) *
            (pow(det_t(t), 0) * outer_product(ddet_t_dt(t), ddet_t_dt(t)) +
@@ -251,9 +251,9 @@ struct FunctionsTestSymmetricTensorTensorVectorScalarCoupled
 
   static Tensor<3, dim, NumberType>
   d2psi_dt_x_dv(const SymmetricTensor<2, dim, NumberType> &st,
-                const Tensor<2, dim, NumberType> &         t,
-                const Tensor<1, dim, NumberType> &         v,
-                const NumberType &                         s)
+                const Tensor<2, dim, NumberType>          &t,
+                const Tensor<1, dim, NumberType>          &v,
+                const NumberType                          &s)
   {
     return 2.0 * pow(det_t(st), 2) * pow(det_t(t), 1) * 3.0 * pow(v_squ(v), 2) *
            outer_product(ddet_t_dt(t), dv_squ_dv(v)) * pow(s, sf);
@@ -261,9 +261,9 @@ struct FunctionsTestSymmetricTensorTensorVectorScalarCoupled
 
   static Tensor<2, dim, NumberType>
   d2psi_dt_x_ds(const SymmetricTensor<2, dim, NumberType> &st,
-                const Tensor<2, dim, NumberType> &         t,
-                const Tensor<1, dim, NumberType> &         v,
-                const NumberType &                         s)
+                const Tensor<2, dim, NumberType>          &t,
+                const Tensor<1, dim, NumberType>          &v,
+                const NumberType                          &s)
   {
     return 2.0 * pow(det_t(st), 2) * pow(det_t(t), 1) * ddet_t_dt(t) *
            pow(v_squ(v), 3) * sf * pow(s, sf - 1.0);
@@ -271,9 +271,9 @@ struct FunctionsTestSymmetricTensorTensorVectorScalarCoupled
 
   static Tensor<3, dim, NumberType>
   d2psi_dv_x_dst(const SymmetricTensor<2, dim, NumberType> &st,
-                 const Tensor<2, dim, NumberType> &         t,
-                 const Tensor<1, dim, NumberType> &         v,
-                 const NumberType &                         s)
+                 const Tensor<2, dim, NumberType>          &t,
+                 const Tensor<1, dim, NumberType>          &v,
+                 const NumberType                          &s)
   {
     return 2.0 * pow(det_t(t), 2) * pow(det_t(st), 1) * 3.0 * pow(v_squ(v), 2) *
            outer_product(dv_squ_dv(v),
@@ -283,9 +283,9 @@ struct FunctionsTestSymmetricTensorTensorVectorScalarCoupled
 
   static Tensor<3, dim, NumberType>
   d2psi_dv_x_dt(const SymmetricTensor<2, dim, NumberType> &st,
-                const Tensor<2, dim, NumberType> &         t,
-                const Tensor<1, dim, NumberType> &         v,
-                const NumberType &                         s)
+                const Tensor<2, dim, NumberType>          &t,
+                const Tensor<1, dim, NumberType>          &v,
+                const NumberType                          &s)
   {
     return 2.0 * pow(det_t(st), 2) * pow(det_t(t), 1) * 3.0 * pow(v_squ(v), 2) *
            outer_product(dv_squ_dv(v), ddet_t_dt(t)) * pow(s, sf);
@@ -293,9 +293,9 @@ struct FunctionsTestSymmetricTensorTensorVectorScalarCoupled
 
   static Tensor<2, dim, NumberType>
   d2psi_dv_x_dv(const SymmetricTensor<2, dim, NumberType> &st,
-                const Tensor<2, dim, NumberType> &         t,
-                const Tensor<1, dim, NumberType> &         v,
-                const NumberType &                         s)
+                const Tensor<2, dim, NumberType>          &t,
+                const Tensor<1, dim, NumberType>          &v,
+                const NumberType                          &s)
   {
     return pow(det_t(st), 2) * pow(det_t(t), 2) * 3.0 *
            (2.0 * pow(v_squ(v), 1) * outer_product(dv_squ_dv(v), dv_squ_dv(v)) +
@@ -305,9 +305,9 @@ struct FunctionsTestSymmetricTensorTensorVectorScalarCoupled
 
   static Tensor<1, dim, NumberType>
   d2psi_dv_x_ds(const SymmetricTensor<2, dim, NumberType> &st,
-                const Tensor<2, dim, NumberType> &         t,
-                const Tensor<1, dim, NumberType> &         v,
-                const NumberType &                         s)
+                const Tensor<2, dim, NumberType>          &t,
+                const Tensor<1, dim, NumberType>          &v,
+                const NumberType                          &s)
   {
     return pow(det_t(st), 2) * pow(det_t(t), 2) * 3.0 * pow(v_squ(v), 2) *
            dv_squ_dv(v) * sf * pow(s, sf - 1.0);
@@ -315,9 +315,9 @@ struct FunctionsTestSymmetricTensorTensorVectorScalarCoupled
 
   static SymmetricTensor<2, dim, NumberType>
   d2psi_ds_x_dst(const SymmetricTensor<2, dim, NumberType> &st,
-                 const Tensor<2, dim, NumberType> &         t,
-                 const Tensor<1, dim, NumberType> &         v,
-                 const NumberType &                         s)
+                 const Tensor<2, dim, NumberType>          &t,
+                 const Tensor<1, dim, NumberType>          &v,
+                 const NumberType                          &s)
   {
     return 2.0 * ddet_t_dt(st) * pow(det_t(t), 2) * pow(det_t(st), 1) *
            pow(v_squ(v), 3) * sf * pow(s, sf - 1.0);
@@ -325,9 +325,9 @@ struct FunctionsTestSymmetricTensorTensorVectorScalarCoupled
 
   static Tensor<2, dim, NumberType>
   d2psi_ds_x_dt(const SymmetricTensor<2, dim, NumberType> &st,
-                const Tensor<2, dim, NumberType> &         t,
-                const Tensor<1, dim, NumberType> &         v,
-                const NumberType &                         s)
+                const Tensor<2, dim, NumberType>          &t,
+                const Tensor<1, dim, NumberType>          &v,
+                const NumberType                          &s)
   {
     return 2.0 * pow(det_t(st), 2) * pow(det_t(t), 1) * ddet_t_dt(t) *
            pow(v_squ(v), 3) * sf * pow(s, sf - 1.0);
@@ -335,9 +335,9 @@ struct FunctionsTestSymmetricTensorTensorVectorScalarCoupled
 
   static Tensor<1, dim, NumberType>
   d2psi_ds_x_dv(const SymmetricTensor<2, dim, NumberType> &st,
-                const Tensor<2, dim, NumberType> &         t,
-                const Tensor<1, dim, NumberType> &         v,
-                const NumberType &                         s)
+                const Tensor<2, dim, NumberType>          &t,
+                const Tensor<1, dim, NumberType>          &v,
+                const NumberType                          &s)
   {
     return pow(det_t(st), 2) * pow(det_t(t), 2) * 3.0 * pow(v_squ(v), 2) *
            dv_squ_dv(v) * sf * pow(s, sf - 1.0);
@@ -345,9 +345,9 @@ struct FunctionsTestSymmetricTensorTensorVectorScalarCoupled
 
   static NumberType
   d2psi_ds_x_ds(const SymmetricTensor<2, dim, NumberType> &st,
-                const Tensor<2, dim, NumberType> &         t,
-                const Tensor<1, dim, NumberType> &         v,
-                const NumberType &                         s)
+                const Tensor<2, dim, NumberType>          &t,
+                const Tensor<1, dim, NumberType>          &v,
+                const NumberType                          &s)
   {
     return pow(det_t(st), 2) * pow(det_t(t), 2) * pow(v_squ(v), 3) * sf *
            (sf - 1.0) * pow(s, sf - 2.0);
index 564fdf6417b4f3e7a11e9d27202e1e74db49e2c5..c814731d1c825fc0963e2107d3ca9b123447f985 100644 (file)
@@ -356,16 +356,16 @@ namespace Step44
     static const SymmetricTensor<4, dim> dev_P;
   };
   template <int dim>
-  const SymmetricTensor<2, dim>
-    StandardTensors<dim>::I = unit_symmetric_tensor<dim>();
+  const SymmetricTensor<2, dim> StandardTensors<dim>::I =
+    unit_symmetric_tensor<dim>();
   template <int dim>
   const SymmetricTensor<4, dim> StandardTensors<dim>::IxI = outer_product(I, I);
   template <int dim>
-  const SymmetricTensor<4, dim>
-    StandardTensors<dim>::II = identity_tensor<dim>();
+  const SymmetricTensor<4, dim> StandardTensors<dim>::II =
+    identity_tensor<dim>();
   template <int dim>
-  const SymmetricTensor<4, dim>
-    StandardTensors<dim>::dev_P = deviator_tensor<dim>();
+  const SymmetricTensor<4, dim> StandardTensors<dim>::dev_P =
+    deviator_tensor<dim>();
   class Time
   {
   public:
@@ -426,7 +426,7 @@ namespace Step44
     template <typename NumberType>
     SymmetricTensor<2, dim, NumberType>
     get_tau(const Tensor<2, dim, NumberType> &F,
-            const NumberType &                p_tilde) const
+            const NumberType                 &p_tilde) const
     {
       return get_tau_iso(F) + get_tau_vol(F, p_tilde);
     }
@@ -444,7 +444,7 @@ namespace Step44
     template <typename NumberType>
     SymmetricTensor<2, dim, NumberType>
     get_tau_vol(const Tensor<2, dim, NumberType> &F,
-                const NumberType &                p_tilde) const
+                const NumberType                 &p_tilde) const
     {
       const NumberType det_F = determinant(F);
       // return p_tilde * det_F * StandardTensors<dim>::I;
@@ -498,7 +498,7 @@ namespace Step44
     template <typename NumberType>
     SymmetricTensor<2, dim, NumberType>
     get_tau(const Tensor<2, dim, NumberType> &F,
-            const NumberType &                p_tilde) const
+            const NumberType                 &p_tilde) const
     {
       return material->get_tau(F, p_tilde);
     }
@@ -537,8 +537,8 @@ namespace Step44
     void
     assemble_system_one_cell(
       const typename DoFHandler<dim>::active_cell_iterator &cell,
-      ScratchData_ASM &                                     scratch,
-      PerTaskData_ASM &                                     data) const;
+      ScratchData_ASM                                      &scratch,
+      PerTaskData_ASM                                      &data) const;
     void
     copy_local_to_global_system(const PerTaskData_ASM &data);
     void
@@ -546,8 +546,8 @@ namespace Step44
     void
     assemble_sc_one_cell(
       const typename DoFHandler<dim>::active_cell_iterator &cell,
-      ScratchData_SC &                                      scratch,
-      PerTaskData_SC &                                      data);
+      ScratchData_SC                                       &scratch,
+      PerTaskData_SC                                       &data);
     void
     copy_local_to_global_sc(const PerTaskData_SC &data);
     void
@@ -637,7 +637,7 @@ namespace Step44
     get_error_residual(Errors &error_residual);
     void
     get_error_update(const BlockVector<double> &newton_update,
-                     Errors &                   error_update);
+                     Errors                    &error_update);
     std::pair<double, double>
     get_error_dilation(const BlockVector<double> &solution_total) const;
     void
@@ -750,10 +750,10 @@ namespace Step44
     const BlockVector<double> &solution_total;
     FEValues<dim>              fe_values_ref;
     FEFaceValues<dim>          fe_face_values_ref;
-    ScratchData_ASM(const FiniteElement<dim> fe_cell,
-                    const QGauss<dim> &        qf_cell,
+    ScratchData_ASM(const FiniteElement<dim>  &fe_cell,
+                    const QGauss<dim>         &qf_cell,
                     const UpdateFlags          uf_cell,
-                    const QGauss<dim - 1> &    qf_face,
+                    const QGauss<dim - 1>     &qf_face,
                     const UpdateFlags          uf_face,
                     const BlockVector<double> &solution_total)
       : solution_total(solution_total)
@@ -1096,7 +1096,7 @@ namespace Step44
   void
   Solid<dim, number_t, ad_type_code>::get_error_update(
     const BlockVector<double> &newton_update,
-    Errors &                   error_update)
+    Errors                    &error_update)
   {
     BlockVector<double> error_ud(dofs_per_block);
     for (unsigned int i = 0; i < dof_handler_ref.n_dofs(); ++i)
@@ -1173,8 +1173,8 @@ namespace Step44
   void
   Solid<dim, number_t, ad_type_code>::assemble_system_one_cell(
     const typename DoFHandler<dim>::active_cell_iterator &cell,
-    ScratchData_ASM &                                     scratch,
-    PerTaskData_ASM &                                     data) const
+    ScratchData_ASM                                      &scratch,
+    PerTaskData_ASM                                      &data) const
   {
     data.reset();
     scratch.reset();
@@ -1502,8 +1502,8 @@ namespace Step44
   void
   Solid<dim, number_t, ad_type_code>::assemble_sc_one_cell(
     const typename DoFHandler<dim>::active_cell_iterator &cell,
-    ScratchData_SC &                                      scratch,
-    PerTaskData_SC &                                      data)
+    ScratchData_SC                                       &scratch,
+    PerTaskData_SC                                       &data)
   {
     data.reset();
     scratch.reset();
@@ -1624,9 +1624,9 @@ namespace Step44
             const Vector<double> &f_u = system_rhs.block(u_dof);
             const Vector<double> &f_p = system_rhs.block(p_dof);
             const Vector<double> &f_J = system_rhs.block(J_dof);
-            Vector<double> &      d_u = newton_update.block(u_dof);
-            Vector<double> &      d_p = newton_update.block(p_dof);
-            Vector<double> &      d_J = newton_update.block(J_dof);
+            Vector<double>       &d_u = newton_update.block(u_dof);
+            Vector<double>       &d_p = newton_update.block(p_dof);
+            Vector<double>       &d_J = newton_update.block(J_dof);
             const auto            K_uu =
               linear_operator(tangent_matrix.block(u_dof, u_dof));
             const auto K_up =
index a924f9eb3fcb631b62266187a57c4b58a8bf4a4e..a6416d9336eb64b81330588423cc1f61d2899247 100644 (file)
@@ -357,16 +357,16 @@ namespace Step44
     static const SymmetricTensor<4, dim> dev_P;
   };
   template <int dim>
-  const SymmetricTensor<2, dim>
-    StandardTensors<dim>::I = unit_symmetric_tensor<dim>();
+  const SymmetricTensor<2, dim> StandardTensors<dim>::I =
+    unit_symmetric_tensor<dim>();
   template <int dim>
   const SymmetricTensor<4, dim> StandardTensors<dim>::IxI = outer_product(I, I);
   template <int dim>
-  const SymmetricTensor<4, dim>
-    StandardTensors<dim>::II = identity_tensor<dim>();
+  const SymmetricTensor<4, dim> StandardTensors<dim>::II =
+    identity_tensor<dim>();
   template <int dim>
-  const SymmetricTensor<4, dim>
-    StandardTensors<dim>::dev_P = deviator_tensor<dim>();
+  const SymmetricTensor<4, dim> StandardTensors<dim>::dev_P =
+    deviator_tensor<dim>();
   class Time
   {
   public:
@@ -796,8 +796,8 @@ namespace Step44
     void
     assemble_system_tangent_one_cell(
       const typename DoFHandler<dim>::active_cell_iterator &cell,
-      ScratchData_K &                                       scratch,
-      PerTaskData_K &                                       data) const;
+      ScratchData_K                                        &scratch,
+      PerTaskData_K                                        &data) const;
     void
     copy_local_to_global_K(const PerTaskData_K &data);
     void
@@ -805,8 +805,8 @@ namespace Step44
     void
     assemble_system_rhs_one_cell(
       const typename DoFHandler<dim>::active_cell_iterator &cell,
-      ScratchData_RHS &                                     scratch,
-      PerTaskData_RHS &                                     data) const;
+      ScratchData_RHS                                      &scratch,
+      PerTaskData_RHS                                      &data) const;
     void
     copy_local_to_global_rhs(const PerTaskData_RHS &data);
     void
@@ -814,8 +814,8 @@ namespace Step44
     void
     assemble_sc_one_cell(
       const typename DoFHandler<dim>::active_cell_iterator &cell,
-      ScratchData_SC &                                      scratch,
-      PerTaskData_SC &                                      data);
+      ScratchData_SC                                       &scratch,
+      PerTaskData_SC                                       &data);
     void
     copy_local_to_global_sc(const PerTaskData_SC &data);
     void
@@ -827,8 +827,8 @@ namespace Step44
     void
     update_qph_incremental_one_cell(
       const typename DoFHandler<dim>::active_cell_iterator &cell,
-      ScratchData_UQPH &                                    scratch,
-      PerTaskData_UQPH &                                    data);
+      ScratchData_UQPH                                     &scratch,
+      PerTaskData_UQPH                                     &data);
     void
     copy_local_to_global_UQPH(const PerTaskData_UQPH & /*data*/)
     {}
@@ -915,7 +915,7 @@ namespace Step44
     get_error_residual(Errors &error_residual);
     void
     get_error_update(const BlockVector<double> &newton_update,
-                     Errors &                   error_update);
+                     Errors                    &error_update);
     std::pair<double, double>
     get_error_dilation() const;
     double
@@ -1029,7 +1029,7 @@ namespace Step44
     std::vector<std::vector<Tensor<2, dim>>>          grad_Nx;
     std::vector<std::vector<SymmetricTensor<2, dim>>> symm_grad_Nx;
     ScratchData_K(const FiniteElement<dim> &fe_cell,
-                  const QGauss<dim> &       qf_cell,
+                  const QGauss<dim>        &qf_cell,
                   const UpdateFlags         uf_cell)
       : fe_values_ref(fe_cell, qf_cell, uf_cell)
       , Nx(qf_cell.size(), std::vector<double>(fe_cell.dofs_per_cell))
@@ -1091,9 +1091,9 @@ namespace Step44
     std::vector<std::vector<double>>                  Nx;
     std::vector<std::vector<SymmetricTensor<2, dim>>> symm_grad_Nx;
     ScratchData_RHS(const FiniteElement<dim> &fe_cell,
-                    const QGauss<dim> &       qf_cell,
+                    const QGauss<dim>        &qf_cell,
                     const UpdateFlags         uf_cell,
-                    const QGauss<dim - 1> &   qf_face,
+                    const QGauss<dim - 1>    &qf_face,
                     const UpdateFlags         uf_face)
       : fe_values_ref(fe_cell, qf_cell, uf_cell)
       , fe_face_values_ref(fe_cell, qf_face, uf_face)
@@ -1181,13 +1181,13 @@ namespace Step44
   template <int dim, typename number_t, enum AD::NumberTypes ad_type_code>
   struct Solid<dim, number_t, ad_type_code>::ScratchData_UQPH
   {
-    const BlockVector<double> solution_total;
+    const BlockVector<double>  &solution_total;
     std::vector<Tensor<2, dim>> solution_grads_u_total;
     std::vector<double>         solution_values_p_total;
     std::vector<double>         solution_values_J_total;
     FEValues<dim>               fe_values_ref;
-    ScratchData_UQPH(const FiniteElement<dim> fe_cell,
-                     const QGauss<dim> &        qf_cell,
+    ScratchData_UQPH(const FiniteElement<dim>  &fe_cell,
+                     const QGauss<dim>         &qf_cell,
                      const UpdateFlags          uf_cell,
                      const BlockVector<double> &solution_total)
       : solution_total(solution_total)
@@ -1389,7 +1389,7 @@ namespace Step44
   void
   Solid<dim, number_t, ad_type_code>::update_qph_incremental_one_cell(
     const typename DoFHandler<dim>::active_cell_iterator &cell,
-    ScratchData_UQPH &                                    scratch,
+    ScratchData_UQPH                                     &scratch,
     PerTaskData_UQPH & /*data*/)
   {
     const std::vector<
@@ -1580,7 +1580,7 @@ namespace Step44
   void
   Solid<dim, number_t, ad_type_code>::get_error_update(
     const BlockVector<double> &newton_update,
-    Errors &                   error_update)
+    Errors                    &error_update)
   {
     BlockVector<double> error_ud(dofs_per_block);
     for (unsigned int i = 0; i < dof_handler_ref.n_dofs(); ++i)
@@ -1642,8 +1642,8 @@ namespace Step44
   void
   Solid<dim, number_t, ad_type_code>::assemble_system_tangent_one_cell(
     const typename DoFHandler<dim>::active_cell_iterator &cell,
-    ScratchData_K &                                       scratch,
-    PerTaskData_K &                                       data) const
+    ScratchData_K                                        &scratch,
+    PerTaskData_K                                        &data) const
   {
     data.reset();
     scratch.reset();
@@ -1682,7 +1682,7 @@ namespace Step44
         const SymmetricTensor<4, dim> Jc  = lqph[q_point]->get_Jc();
         const double d2Psi_vol_dJ2        = lqph[q_point]->get_d2Psi_vol_dJ2();
         const double det_F                = lqph[q_point]->get_det_F();
-        const std::vector<double> &                 N = scratch.Nx[q_point];
+        const std::vector<double>                  &N = scratch.Nx[q_point];
         const std::vector<SymmetricTensor<2, dim>> &symm_grad_Nx =
           scratch.symm_grad_Nx[q_point];
         const std::vector<Tensor<2, dim>> &grad_Nx = scratch.grad_Nx[q_point];
@@ -1769,8 +1769,8 @@ namespace Step44
   void
   Solid<dim, number_t, ad_type_code>::assemble_system_rhs_one_cell(
     const typename DoFHandler<dim>::active_cell_iterator &cell,
-    ScratchData_RHS &                                     scratch,
-    PerTaskData_RHS &                                     data) const
+    ScratchData_RHS                                      &scratch,
+    PerTaskData_RHS                                      &data) const
   {
     data.reset();
     scratch.reset();
@@ -1806,7 +1806,7 @@ namespace Step44
         const double                  J_tilde = lqph[q_point]->get_J_tilde();
         const double                  p_tilde = lqph[q_point]->get_p_tilde();
         const double dPsi_vol_dJ = lqph[q_point]->get_dPsi_vol_dJ();
-        const std::vector<double> &                 N = scratch.Nx[q_point];
+        const std::vector<double>                  &N = scratch.Nx[q_point];
         const std::vector<SymmetricTensor<2, dim>> &symm_grad_Nx =
           scratch.symm_grad_Nx[q_point];
         const double JxW = scratch.fe_values_ref.JxW(q_point);
@@ -2034,8 +2034,8 @@ namespace Step44
   void
   Solid<dim, number_t, ad_type_code>::assemble_sc_one_cell(
     const typename DoFHandler<dim>::active_cell_iterator &cell,
-    ScratchData_SC &                                      scratch,
-    PerTaskData_SC &                                      data)
+    ScratchData_SC                                       &scratch,
+    PerTaskData_SC                                       &data)
   {
     data.reset();
     scratch.reset();
@@ -2157,9 +2157,9 @@ namespace Step44
             const Vector<double> &f_u = system_rhs.block(u_dof);
             const Vector<double> &f_p = system_rhs.block(p_dof);
             const Vector<double> &f_J = system_rhs.block(J_dof);
-            Vector<double> &      d_u = newton_update.block(u_dof);
-            Vector<double> &      d_p = newton_update.block(p_dof);
-            Vector<double> &      d_J = newton_update.block(J_dof);
+            Vector<double>       &d_u = newton_update.block(u_dof);
+            Vector<double>       &d_p = newton_update.block(p_dof);
+            Vector<double>       &d_J = newton_update.block(J_dof);
             const auto            K_uu =
               linear_operator(tangent_matrix.block(u_dof, u_dof));
             const auto K_up =
index 1651a2d13d109472aa017450f035dac9746ccbe5..d40f083a25ae62e0a20577176299b796ee190bde 100644 (file)
@@ -356,16 +356,16 @@ namespace Step44
     static const SymmetricTensor<4, dim> dev_P;
   };
   template <int dim>
-  const SymmetricTensor<2, dim>
-    StandardTensors<dim>::I = unit_symmetric_tensor<dim>();
+  const SymmetricTensor<2, dim> StandardTensors<dim>::I =
+    unit_symmetric_tensor<dim>();
   template <int dim>
   const SymmetricTensor<4, dim> StandardTensors<dim>::IxI = outer_product(I, I);
   template <int dim>
-  const SymmetricTensor<4, dim>
-    StandardTensors<dim>::II = identity_tensor<dim>();
+  const SymmetricTensor<4, dim> StandardTensors<dim>::II =
+    identity_tensor<dim>();
   template <int dim>
-  const SymmetricTensor<4, dim>
-    StandardTensors<dim>::dev_P = deviator_tensor<dim>();
+  const SymmetricTensor<4, dim> StandardTensors<dim>::dev_P =
+    deviator_tensor<dim>();
   class Time
   {
   public:
@@ -459,8 +459,8 @@ namespace Step44
     template <typename NumberType>
     NumberType
     get_Psi(const Tensor<2, dim, NumberType> &F,
-            const NumberType &                p_tilde,
-            const NumberType &                J_tilde) const
+            const NumberType                 &p_tilde,
+            const NumberType                 &J_tilde) const
     {
       const SymmetricTensor<2, dim, NumberType> C =
         symmetrize(transpose(F) * F);
@@ -503,8 +503,8 @@ namespace Step44
     void
     assemble_system_one_cell(
       const typename DoFHandler<dim>::active_cell_iterator &cell,
-      ScratchData_ASM &                                     scratch,
-      PerTaskData_ASM &                                     data) const;
+      ScratchData_ASM                                      &scratch,
+      PerTaskData_ASM                                      &data) const;
     void
     copy_local_to_global_system(const PerTaskData_ASM &data);
     void
@@ -512,8 +512,8 @@ namespace Step44
     void
     assemble_sc_one_cell(
       const typename DoFHandler<dim>::active_cell_iterator &cell,
-      ScratchData_SC &                                      scratch,
-      PerTaskData_SC &                                      data);
+      ScratchData_SC                                       &scratch,
+      PerTaskData_SC                                       &data);
     void
     copy_local_to_global_sc(const PerTaskData_SC &data);
     void
@@ -603,7 +603,7 @@ namespace Step44
     get_error_residual(Errors &error_residual);
     void
     get_error_update(const BlockVector<double> &newton_update,
-                     Errors &                   error_update);
+                     Errors                    &error_update);
     std::pair<double, double>
     get_error_dilation(const BlockVector<double> &solution_total) const;
     void
@@ -716,10 +716,10 @@ namespace Step44
     const BlockVector<double> &solution_total;
     FEValues<dim>              fe_values_ref;
     FEFaceValues<dim>          fe_face_values_ref;
-    ScratchData_ASM(const FiniteElement<dim> fe_cell,
-                    const QGauss<dim> &        qf_cell,
+    ScratchData_ASM(const FiniteElement<dim>  &fe_cell,
+                    const QGauss<dim>         &qf_cell,
                     const UpdateFlags          uf_cell,
-                    const QGauss<dim - 1> &    qf_face,
+                    const QGauss<dim - 1>     &qf_face,
                     const UpdateFlags          uf_face,
                     const BlockVector<double> &solution_total)
       : solution_total(solution_total)
@@ -1062,7 +1062,7 @@ namespace Step44
   void
   Solid<dim, number_t, ad_type_code>::get_error_update(
     const BlockVector<double> &newton_update,
-    Errors &                   error_update)
+    Errors                    &error_update)
   {
     BlockVector<double> error_ud(dofs_per_block);
     for (unsigned int i = 0; i < dof_handler_ref.n_dofs(); ++i)
@@ -1139,8 +1139,8 @@ namespace Step44
   void
   Solid<dim, number_t, ad_type_code>::assemble_system_one_cell(
     const typename DoFHandler<dim>::active_cell_iterator &cell,
-    ScratchData_ASM &                                     scratch,
-    PerTaskData_ASM &                                     data) const
+    ScratchData_ASM                                      &scratch,
+    PerTaskData_ASM                                      &data) const
   {
     data.reset();
     scratch.reset();
@@ -1428,8 +1428,8 @@ namespace Step44
   void
   Solid<dim, number_t, ad_type_code>::assemble_sc_one_cell(
     const typename DoFHandler<dim>::active_cell_iterator &cell,
-    ScratchData_SC &                                      scratch,
-    PerTaskData_SC &                                      data)
+    ScratchData_SC                                       &scratch,
+    PerTaskData_SC                                       &data)
   {
     data.reset();
     scratch.reset();
@@ -1551,9 +1551,9 @@ namespace Step44
             const Vector<double> &f_u = system_rhs.block(u_dof);
             const Vector<double> &f_p = system_rhs.block(p_dof);
             const Vector<double> &f_J = system_rhs.block(J_dof);
-            Vector<double> &      d_u = newton_update.block(u_dof);
-            Vector<double> &      d_p = newton_update.block(p_dof);
-            Vector<double> &      d_J = newton_update.block(J_dof);
+            Vector<double>       &d_u = newton_update.block(u_dof);
+            Vector<double>       &d_p = newton_update.block(p_dof);
+            Vector<double>       &d_J = newton_update.block(J_dof);
             const auto            K_uu =
               linear_operator(tangent_matrix.block(u_dof, u_dof));
             const auto K_up =
index 2e7c48d55f9cbbb1bb2a6cbed7c1b2148808b8a2..85bd58b1e42de41eb0fdd0dd29136e810417df29 100644 (file)
@@ -357,16 +357,16 @@ namespace Step44
     static const SymmetricTensor<4, dim> dev_P;
   };
   template <int dim>
-  const SymmetricTensor<2, dim>
-    StandardTensors<dim>::I = unit_symmetric_tensor<dim>();
+  const SymmetricTensor<2, dim> StandardTensors<dim>::I =
+    unit_symmetric_tensor<dim>();
   template <int dim>
   const SymmetricTensor<4, dim> StandardTensors<dim>::IxI = outer_product(I, I);
   template <int dim>
-  const SymmetricTensor<4, dim>
-    StandardTensors<dim>::II = identity_tensor<dim>();
+  const SymmetricTensor<4, dim> StandardTensors<dim>::II =
+    identity_tensor<dim>();
   template <int dim>
-  const SymmetricTensor<4, dim>
-    StandardTensors<dim>::dev_P = deviator_tensor<dim>();
+  const SymmetricTensor<4, dim> StandardTensors<dim>::dev_P =
+    deviator_tensor<dim>();
   class Time
   {
   public:
@@ -427,7 +427,7 @@ namespace Step44
     template <typename NumberType>
     SymmetricTensor<2, dim, NumberType>
     get_tau(const Tensor<2, dim, NumberType> &F,
-            const NumberType &                p_tilde) const
+            const NumberType                 &p_tilde) const
     {
       return get_tau_iso(F) + get_tau_vol(F, p_tilde);
     }
@@ -445,7 +445,7 @@ namespace Step44
     template <typename NumberType>
     SymmetricTensor<2, dim, NumberType>
     get_tau_vol(const Tensor<2, dim, NumberType> &F,
-                const NumberType &                p_tilde) const
+                const NumberType                 &p_tilde) const
     {
       const NumberType det_F = determinant(F);
       // return p_tilde * det_F * StandardTensors<dim>::I;
@@ -499,7 +499,7 @@ namespace Step44
     template <typename NumberType>
     SymmetricTensor<2, dim, NumberType>
     get_tau(const Tensor<2, dim, NumberType> &F,
-            const NumberType &                p_tilde) const
+            const NumberType                 &p_tilde) const
     {
       return material->get_tau(F, p_tilde);
     }
@@ -538,8 +538,8 @@ namespace Step44
     void
     assemble_system_one_cell(
       const typename DoFHandler<dim>::active_cell_iterator &cell,
-      ScratchData_ASM &                                     scratch,
-      PerTaskData_ASM &                                     data) const;
+      ScratchData_ASM                                      &scratch,
+      PerTaskData_ASM                                      &data) const;
     void
     copy_local_to_global_system(const PerTaskData_ASM &data);
     void
@@ -547,8 +547,8 @@ namespace Step44
     void
     assemble_sc_one_cell(
       const typename DoFHandler<dim>::active_cell_iterator &cell,
-      ScratchData_SC &                                      scratch,
-      PerTaskData_SC &                                      data);
+      ScratchData_SC                                       &scratch,
+      PerTaskData_SC                                       &data);
     void
     copy_local_to_global_sc(const PerTaskData_SC &data);
     void
@@ -638,7 +638,7 @@ namespace Step44
     get_error_residual(Errors &error_residual);
     void
     get_error_update(const BlockVector<double> &newton_update,
-                     Errors &                   error_update);
+                     Errors                    &error_update);
     std::pair<double, double>
     get_error_dilation(const BlockVector<double> &solution_total) const;
     void
@@ -751,10 +751,10 @@ namespace Step44
     const BlockVector<double> &solution_total;
     FEValues<dim>              fe_values_ref;
     FEFaceValues<dim>          fe_face_values_ref;
-    ScratchData_ASM(const FiniteElement<dim> fe_cell,
-                    const QGauss<dim> &        qf_cell,
+    ScratchData_ASM(const FiniteElement<dim>  &fe_cell,
+                    const QGauss<dim>         &qf_cell,
                     const UpdateFlags          uf_cell,
-                    const QGauss<dim - 1> &    qf_face,
+                    const QGauss<dim - 1>     &qf_face,
                     const UpdateFlags          uf_face,
                     const BlockVector<double> &solution_total)
       : solution_total(solution_total)
@@ -1099,7 +1099,7 @@ namespace Step44
   void
   Solid<dim, number_t, ad_type_code>::get_error_update(
     const BlockVector<double> &newton_update,
-    Errors &                   error_update)
+    Errors                    &error_update)
   {
     BlockVector<double> error_ud(dofs_per_block);
     for (unsigned int i = 0; i < dof_handler_ref.n_dofs(); ++i)
@@ -1175,8 +1175,8 @@ namespace Step44
   void
   Solid<dim, number_t, ad_type_code>::assemble_system_one_cell(
     const typename DoFHandler<dim>::active_cell_iterator &cell,
-    ScratchData_ASM &                                     scratch,
-    PerTaskData_ASM &                                     data) const
+    ScratchData_ASM                                      &scratch,
+    PerTaskData_ASM                                      &data) const
   {
     data.reset();
     scratch.reset();
@@ -1521,8 +1521,8 @@ namespace Step44
   void
   Solid<dim, number_t, ad_type_code>::assemble_sc_one_cell(
     const typename DoFHandler<dim>::active_cell_iterator &cell,
-    ScratchData_SC &                                      scratch,
-    PerTaskData_SC &                                      data)
+    ScratchData_SC                                       &scratch,
+    PerTaskData_SC                                       &data)
   {
     data.reset();
     scratch.reset();
@@ -1644,9 +1644,9 @@ namespace Step44
             const Vector<double> &f_u = system_rhs.block(u_dof);
             const Vector<double> &f_p = system_rhs.block(p_dof);
             const Vector<double> &f_J = system_rhs.block(J_dof);
-            Vector<double> &      d_u = newton_update.block(u_dof);
-            Vector<double> &      d_p = newton_update.block(p_dof);
-            Vector<double> &      d_J = newton_update.block(J_dof);
+            Vector<double>       &d_u = newton_update.block(u_dof);
+            Vector<double>       &d_p = newton_update.block(p_dof);
+            Vector<double>       &d_J = newton_update.block(J_dof);
             const auto            K_uu =
               linear_operator(tangent_matrix.block(u_dof, u_dof));
             const auto K_up =
index ebdcd64f7d73cacd078549eec28ebbb830f9942c..c3cf363a617343a8aeeeee408000e7ba8e6d191a 100644 (file)
@@ -112,7 +112,7 @@ struct IncompressibleNeoHookeanPrincipalStretches
     SymmetricTensor<2, dim, NumberType> C_inv;
     for (unsigned int d = 0; d < dim; ++d)
       {
-        const NumberType &                lambda_squared = eig_C[d].first;
+        const NumberType                 &lambda_squared = eig_C[d].first;
         const Tensor<1, dim, NumberType> &N              = eig_C[d].second;
         C_inv +=
           NumberType(1.0 / lambda_squared) * symmetrize(outer_product(N, N));
index 089241f59aac536551160f7b4570df9dcdd66f64..6f8eb8e2722d331eb8dda516cacb385d3b973724 100644 (file)
@@ -34,7 +34,7 @@ main(void)
   const unsigned int n = 10;
   std::size_t        tape_stats[STAT_SIZE];
 
-  double xp = new double[n];
+  double  *xp = new double[n];
   double   yp = 0.0;
   adouble *x  = new adouble[n];
   adouble  y  = 1.0;
index 532f340963f65f1ec63e2893b4e8cc941078f7f2..791f899c3c7fcffc6a18cd43a068e066150c1b96 100644 (file)
@@ -34,8 +34,8 @@ main(void)
   const unsigned int n = 10; // Independents
   std::size_t        tape_stats[STAT_SIZE];
 
-  double xp = new double[n];
-  double yp = new double[m];
+  double  *xp = new double[n];
+  double  *yp = new double[m];
   adouble *x  = new adouble[n];
   adouble *y  = new adouble[m];
 
index e400f7527062cdb894c6a5c1aa654b90435a57c6..096e49759bb5b0ccce5deb8bede9b34ed2ef25c9 100644 (file)
@@ -353,16 +353,16 @@ namespace Step44
     static const SymmetricTensor<4, dim> dev_P;
   };
   template <int dim>
-  const SymmetricTensor<2, dim>
-    StandardTensors<dim>::I = unit_symmetric_tensor<dim>();
+  const SymmetricTensor<2, dim> StandardTensors<dim>::I =
+    unit_symmetric_tensor<dim>();
   template <int dim>
   const SymmetricTensor<4, dim> StandardTensors<dim>::IxI = outer_product(I, I);
   template <int dim>
-  const SymmetricTensor<4, dim>
-    StandardTensors<dim>::II = identity_tensor<dim>();
+  const SymmetricTensor<4, dim> StandardTensors<dim>::II =
+    identity_tensor<dim>();
   template <int dim>
-  const SymmetricTensor<4, dim>
-    StandardTensors<dim>::dev_P = deviator_tensor<dim>();
+  const SymmetricTensor<4, dim> StandardTensors<dim>::dev_P =
+    deviator_tensor<dim>();
   class Time
   {
   public:
@@ -631,8 +631,8 @@ namespace Step44
     void
     assemble_system_tangent_one_cell(
       const typename DoFHandler<dim>::active_cell_iterator &cell,
-      ScratchData_K &                                       scratch,
-      PerTaskData_K &                                       data) const;
+      ScratchData_K                                        &scratch,
+      PerTaskData_K                                        &data) const;
     void
     copy_local_to_global_K(const PerTaskData_K &data);
     void
@@ -640,8 +640,8 @@ namespace Step44
     void
     assemble_system_rhs_one_cell(
       const typename DoFHandler<dim>::active_cell_iterator &cell,
-      ScratchData_RHS &                                     scratch,
-      PerTaskData_RHS &                                     data) const;
+      ScratchData_RHS                                      &scratch,
+      PerTaskData_RHS                                      &data) const;
     void
     copy_local_to_global_rhs(const PerTaskData_RHS &data);
     void
@@ -649,8 +649,8 @@ namespace Step44
     void
     assemble_sc_one_cell(
       const typename DoFHandler<dim>::active_cell_iterator &cell,
-      ScratchData_SC &                                      scratch,
-      PerTaskData_SC &                                      data);
+      ScratchData_SC                                       &scratch,
+      PerTaskData_SC                                       &data);
     void
     copy_local_to_global_sc(const PerTaskData_SC &data);
     void
@@ -662,8 +662,8 @@ namespace Step44
     void
     update_qph_incremental_one_cell(
       const typename DoFHandler<dim>::active_cell_iterator &cell,
-      ScratchData_UQPH &                                    scratch,
-      PerTaskData_UQPH &                                    data);
+      ScratchData_UQPH                                     &scratch,
+      PerTaskData_UQPH                                     &data);
     void
     copy_local_to_global_UQPH(const PerTaskData_UQPH & /*data*/)
     {}
@@ -750,7 +750,7 @@ namespace Step44
     get_error_residual(Errors &error_residual);
     void
     get_error_update(const BlockVector<double> &newton_update,
-                     Errors &                   error_update);
+                     Errors                    &error_update);
     std::pair<double, double>
     get_error_dilation() const;
     double
@@ -864,7 +864,7 @@ namespace Step44
     std::vector<std::vector<Tensor<2, dim>>>          grad_Nx;
     std::vector<std::vector<SymmetricTensor<2, dim>>> symm_grad_Nx;
     ScratchData_K(const FiniteElement<dim> &fe_cell,
-                  const QGauss<dim> &       qf_cell,
+                  const QGauss<dim>        &qf_cell,
                   const UpdateFlags         uf_cell)
       : fe_values_ref(fe_cell, qf_cell, uf_cell)
       , Nx(qf_cell.size(), std::vector<double>(fe_cell.dofs_per_cell))
@@ -926,9 +926,9 @@ namespace Step44
     std::vector<std::vector<double>>                  Nx;
     std::vector<std::vector<SymmetricTensor<2, dim>>> symm_grad_Nx;
     ScratchData_RHS(const FiniteElement<dim> &fe_cell,
-                    const QGauss<dim> &       qf_cell,
+                    const QGauss<dim>        &qf_cell,
                     const UpdateFlags         uf_cell,
-                    const QGauss<dim - 1> &   qf_face,
+                    const QGauss<dim - 1>    &qf_face,
                     const UpdateFlags         uf_face)
       : fe_values_ref(fe_cell, qf_cell, uf_cell)
       , fe_face_values_ref(fe_cell, qf_face, uf_face)
@@ -1016,13 +1016,13 @@ namespace Step44
   template <int dim>
   struct Solid<dim>::ScratchData_UQPH
   {
-    const BlockVector<double> solution_total;
+    const BlockVector<double>  &solution_total;
     std::vector<Tensor<2, dim>> solution_grads_u_total;
     std::vector<double>         solution_values_p_total;
     std::vector<double>         solution_values_J_total;
     FEValues<dim>               fe_values_ref;
-    ScratchData_UQPH(const FiniteElement<dim> fe_cell,
-                     const QGauss<dim> &        qf_cell,
+    ScratchData_UQPH(const FiniteElement<dim>  &fe_cell,
+                     const QGauss<dim>         &qf_cell,
                      const UpdateFlags          uf_cell,
                      const BlockVector<double> &solution_total)
       : solution_total(solution_total)
@@ -1211,7 +1211,7 @@ namespace Step44
   void
   Solid<dim>::update_qph_incremental_one_cell(
     const typename DoFHandler<dim>::active_cell_iterator &cell,
-    ScratchData_UQPH &                                    scratch,
+    ScratchData_UQPH                                     &scratch,
     PerTaskData_UQPH & /*data*/)
   {
     const std::vector<std::shared_ptr<PointHistory<dim>>> lqph =
@@ -1398,7 +1398,7 @@ namespace Step44
   template <int dim>
   void
   Solid<dim>::get_error_update(const BlockVector<double> &newton_update,
-                               Errors &                   error_update)
+                               Errors                    &error_update)
   {
     BlockVector<double> error_ud(dofs_per_block);
     for (unsigned int i = 0; i < dof_handler_ref.n_dofs(); ++i)
@@ -1457,8 +1457,8 @@ namespace Step44
   void
   Solid<dim>::assemble_system_tangent_one_cell(
     const typename DoFHandler<dim>::active_cell_iterator &cell,
-    ScratchData_K &                                       scratch,
-    PerTaskData_K &                                       data) const
+    ScratchData_K                                        &scratch,
+    PerTaskData_K                                        &data) const
   {
     data.reset();
     scratch.reset();
@@ -1496,7 +1496,7 @@ namespace Step44
         const SymmetricTensor<4, dim> Jc  = lqph[q_point]->get_Jc();
         const double d2Psi_vol_dJ2        = lqph[q_point]->get_d2Psi_vol_dJ2();
         const double det_F                = lqph[q_point]->get_det_F();
-        const std::vector<double> &                 N = scratch.Nx[q_point];
+        const std::vector<double>                  &N = scratch.Nx[q_point];
         const std::vector<SymmetricTensor<2, dim>> &symm_grad_Nx =
           scratch.symm_grad_Nx[q_point];
         const std::vector<Tensor<2, dim>> &grad_Nx = scratch.grad_Nx[q_point];
@@ -1580,8 +1580,8 @@ namespace Step44
   void
   Solid<dim>::assemble_system_rhs_one_cell(
     const typename DoFHandler<dim>::active_cell_iterator &cell,
-    ScratchData_RHS &                                     scratch,
-    PerTaskData_RHS &                                     data) const
+    ScratchData_RHS                                      &scratch,
+    PerTaskData_RHS                                      &data) const
   {
     data.reset();
     scratch.reset();
@@ -1616,7 +1616,7 @@ namespace Step44
         const double                  J_tilde = lqph[q_point]->get_J_tilde();
         const double                  p_tilde = lqph[q_point]->get_p_tilde();
         const double dPsi_vol_dJ = lqph[q_point]->get_dPsi_vol_dJ();
-        const std::vector<double> &                 N = scratch.Nx[q_point];
+        const std::vector<double>                  &N = scratch.Nx[q_point];
         const std::vector<SymmetricTensor<2, dim>> &symm_grad_Nx =
           scratch.symm_grad_Nx[q_point];
         const double JxW = scratch.fe_values_ref.JxW(q_point);
@@ -1843,8 +1843,8 @@ namespace Step44
   void
   Solid<dim>::assemble_sc_one_cell(
     const typename DoFHandler<dim>::active_cell_iterator &cell,
-    ScratchData_SC &                                      scratch,
-    PerTaskData_SC &                                      data)
+    ScratchData_SC                                       &scratch,
+    PerTaskData_SC                                       &data)
   {
     data.reset();
     scratch.reset();
@@ -1964,9 +1964,9 @@ namespace Step44
             const Vector<double> &f_u = system_rhs.block(u_dof);
             const Vector<double> &f_p = system_rhs.block(p_dof);
             const Vector<double> &f_J = system_rhs.block(J_dof);
-            Vector<double> &      d_u = newton_update.block(u_dof);
-            Vector<double> &      d_p = newton_update.block(p_dof);
-            Vector<double> &      d_J = newton_update.block(J_dof);
+            Vector<double>       &d_u = newton_update.block(u_dof);
+            Vector<double>       &d_p = newton_update.block(p_dof);
+            Vector<double>       &d_J = newton_update.block(J_dof);
             const auto            K_uu =
               linear_operator(tangent_matrix.block(u_dof, u_dof));
             const auto K_up =
index 74cb8e7c81d7be214d91de0500cad31fc91c426c..df12c0a597bf9e16cb56c28b1267dc7d9e312f69 100644 (file)
@@ -51,7 +51,7 @@ extract(const AnyData &data)
   int           i1 = data.entry<int>(" i  7");
   const int     i2 = data.entry<const int>(" i  7");
   double        d  = data.entry<double>(" d  17.");
-  double *      p2 = data.entry<double *>(" d* 17.");
+  double       *p2 = data.entry<double *>(" d* 17.");
   const double *p3 = data.entry<const double *>("cd* 17.");
 
   deallog << i1 << std::endl
index 9b3888a2589ba40428e367cf5c1ba2e9d3f95e1f..658abbcbbce54ed835517ce765c4ce2e094b0527 100644 (file)
@@ -98,7 +98,7 @@ template <int dim>
 void
 test_projection(const FiniteElement<dim> &fe1,
                 const FiniteElement<dim> &fe2,
-                std::ostream &            out)
+                std::ostream             &out)
 {
   out << fe1.get_name() << " -> " << fe2.get_name() << std::endl;
 
index 072cdaff9df0f9a9786b05ce62350596e0bcad79..dc9aed5fe8fccfaabb78a2d728553e88c5242192 100644 (file)
@@ -112,7 +112,7 @@ class PETScInverse
 {
 public:
   PETScInverse(const dealii::PETScWrappers::MatrixBase &A,
-               dealii::SolverControl &                  cn,
+               dealii::SolverControl                   &cn,
                const MPI_Comm mpi_communicator = PETSC_COMM_SELF)
     : solver(cn)
     , matrix(A)
@@ -120,7 +120,7 @@ public:
   {}
 
   void
-  vmult(dealii::PETScWrappers::MPI::Vector &      dst,
+  vmult(dealii::PETScWrappers::MPI::Vector       &dst,
         const dealii::PETScWrappers::MPI::Vector &src) const
   {
     ;
@@ -130,7 +130,7 @@ public:
 
 private:
   mutable dealii::PETScWrappers::SolverGMRES solver;
-  const dealii::PETScWrappers::MatrixBase &  matrix;
+  const dealii::PETScWrappers::MatrixBase   &matrix;
   PETScWrappers::PreconditionBlockJacobi     preconditioner;
 };
 
index 9ef5a41bd7354e199175a3353a763dad7e126516..5df400d51008d49e080875e02ebe300927164195 100644 (file)
@@ -115,7 +115,7 @@ class PETScInverse
 {
 public:
   PETScInverse(const dealii::PETScWrappers::MatrixBase &A,
-               dealii::SolverControl &                  cn,
+               dealii::SolverControl                   &cn,
                const MPI_Comm mpi_communicator = PETSC_COMM_SELF)
     : solver(cn)
     , matrix(A)
@@ -123,7 +123,7 @@ public:
   {}
 
   void
-  vmult(dealii::PETScWrappers::MPI::Vector &      dst,
+  vmult(dealii::PETScWrappers::MPI::Vector       &dst,
         const dealii::PETScWrappers::MPI::Vector &src) const
   {
     ;
index 202c1d8b35403ef57653ec91b145a3500aae74d8..63bfb1e844940c68914f7b625cf2847fe42ea09e 100644 (file)
@@ -30,7 +30,7 @@ using namespace Polynomials;
 
 template <int dim, class PolynomialType1, class PolynomialType2>
 void
-check_poly(const Point<dim> &     x,
+check_poly(const Point<dim>      &x,
            const PolynomialType1 &p,
            const PolynomialType2 &q)
 {
index 5cbb32ff0e0ceb1cc91ef0754adf0e8378d2e0f5..3af5eca35710546677e2847402b6bf0bd4512dd8 100644 (file)
@@ -60,14 +60,14 @@ check_2d()
   // x or y direction
   {
     PolVector                 pols[2] = {Pol::generate_complete_basis(3),
-                         Pol::generate_complete_basis(1)};
+                                         Pol::generate_complete_basis(1)};
     std::vector<PolVector>    p(&pols[0], &pols[2]);
     AnisotropicPolynomials<2> aniso(p);
     print_2d(aniso);
   }
   {
     PolVector                 pols[2] = {Pol::generate_complete_basis(2),
-                         Pol::generate_complete_basis(3)};
+                                         Pol::generate_complete_basis(3)};
     std::vector<PolVector>    p(&pols[0], &pols[2]);
     AnisotropicPolynomials<2> aniso(p);
 
@@ -114,24 +114,24 @@ check_3d()
   // in x, y or z direction
   {
     PolVector                 pols[3] = {Pol::generate_complete_basis(3),
-                         Pol::generate_complete_basis(1),
-                         Pol::generate_complete_basis(1)};
+                                         Pol::generate_complete_basis(1),
+                                         Pol::generate_complete_basis(1)};
     std::vector<PolVector>    p(&pols[0], &pols[3]);
     AnisotropicPolynomials<3> aniso(p);
     print_3d(aniso);
   }
   {
     PolVector                 pols[3] = {Pol::generate_complete_basis(1),
-                         Pol::generate_complete_basis(3),
-                         Pol::generate_complete_basis(1)};
+                                         Pol::generate_complete_basis(3),
+                                         Pol::generate_complete_basis(1)};
     std::vector<PolVector>    p(&pols[0], &pols[3]);
     AnisotropicPolynomials<3> aniso(p);
     print_3d(aniso);
   }
   {
     PolVector                 pols[3] = {Pol::generate_complete_basis(1),
-                         Pol::generate_complete_basis(2),
-                         Pol::generate_complete_basis(3)};
+                                         Pol::generate_complete_basis(2),
+                                         Pol::generate_complete_basis(3)};
     std::vector<PolVector>    p(&pols[0], &pols[3]);
     AnisotropicPolynomials<3> aniso(p);
     print_3d(aniso);
index ab7102c68a75917c6ddf3aea1102f11d4f5c1ebb..1403e4a1b336be58d36b0bfb7342d10444296487 100644 (file)
@@ -91,7 +91,7 @@ public:
   gradient(const Point<dim> &p, const unsigned int component = 0) const;
 
   virtual void
-  vector_gradient(const Point<dim> &                    p,
+  vector_gradient(const Point<dim>                     &p,
                   typename std::vector<Tensor<1, dim>> &gradients) const;
 };
 
@@ -111,7 +111,7 @@ ExactSinExp<dim>::gradient(const Point<dim> &p, const unsigned int) const
 template <int dim>
 void
 ExactSinExp<dim>::vector_gradient(
-  const Point<dim> &                    p,
+  const Point<dim>                     &p,
   typename std::vector<Tensor<1, dim>> &gradients) const
 {
   Assert(gradients.size() == this->n_components,
index 62a6d894a28933d0404b8b48fc50f9bfaaf1eb3a..c59cffdfd9df0882dc483f05f0f5d07effb0819f 100644 (file)
@@ -43,7 +43,7 @@ test()
       const auto c = random_point<dim>();
       const auto d = random_value();
       box          = std::make_pair(BoundingBox<dim>({Point<dim>(c - d * ones),
-                                             Point<dim>(c + d * ones)}),
+                                                      Point<dim>(c + d * ones)}),
                            i++);
     }
 
index 7fcbc3c4ee1830ac6eb76c7656f56dd53c72f46b..7ee6423bd8eaef66b851e8a1d3c5efd90e87b6d3 100644 (file)
@@ -44,7 +44,7 @@ test()
       const auto c = random_point<dim>();
       const auto d = random_value();
       box          = std::make_pair(BoundingBox<dim>({Point<dim>(c - d * ones),
-                                             Point<dim>(c + d * ones)}),
+                                                      Point<dim>(c + d * ones)}),
                            i++);
     }
 
index de070aaf2ca8dd3d10a4473d8079409646e99fb4..c634154b6893fb51fdd3f264b7f5e0ed0a5b60b9 100644 (file)
@@ -81,7 +81,7 @@ template <int dim, typename DATA>
 void
 check_qph(Triangulation<dim> &tr,
           CellDataStorage<typename Triangulation<dim, dim>::cell_iterator, DATA>
-            &                    manager,
+                                &manager,
           const Quadrature<dim> &rhs_quadrature,
           const MyFunction<dim> &func)
 {
@@ -98,7 +98,7 @@ check_qph(Triangulation<dim> &tr,
         fe_values.reinit(dof_cell);
         const std::vector<Point<dim>> &q_points =
           fe_values.get_quadrature_points();
-        const auto &                             manager_const = manager;
+        const auto                              &manager_const = manager;
         const std::vector<std::shared_ptr<DATA>> qpd = manager.get_data(cell);
         const std::vector<std::shared_ptr<const DATA>> qpd_const =
           manager_const.get_data(cell);
index 6625f79f68ed2f34d4cf03e9151446220ba31690..82e617b8280cbf33bbb229689951e03de1c90db9 100644 (file)
@@ -43,7 +43,7 @@ constexpr unsigned int n_data_points_per_cell = 4;
 
 
 void
-setup_history(Triangulation<2> &             tria,
+setup_history(Triangulation<2>              &tria,
               CellDataStorage<typename Triangulation<2>::active_cell_iterator,
                               MaterialBase> &storage)
 {
@@ -59,7 +59,7 @@ setup_history(Triangulation<2> &             tria,
 }
 
 void
-read_history(Triangulation<2> &             tria,
+read_history(Triangulation<2>              &tria,
              CellDataStorage<typename Triangulation<2>::active_cell_iterator,
                              MaterialBase> &storage)
 {
index 99f71b80a50ac5705e25fa75d617b9c4d919e828..3b2a449c725384acea3680012d40b31b4c8b4dba 100644 (file)
@@ -32,8 +32,8 @@
 template <int dim>
 void
 check_derivative_order(const std::vector<Tensor<1, dim>> &gradients,
-                       FunctionDerivative<dim> &          df,
-                       const Quadrature<dim> &            quadrature,
+                       FunctionDerivative<dim>           &df,
+                       const Quadrature<dim>             &quadrature,
                        const unsigned int                 direction,
                        const double                       order)
 {
@@ -68,9 +68,9 @@ check_derivative_order(const std::vector<Tensor<1, dim>> &gradients,
 template <int dim>
 void
 check_hessian_order(const std::vector<double> &values,
-                    FunctionDerivative<dim> &  df,
-                    const Quadrature<dim> &    quadrature,
-                    const Point<dim> &         k,
+                    FunctionDerivative<dim>   &df,
+                    const Quadrature<dim>     &quadrature,
+                    const Point<dim>          &k,
                     const unsigned int         direction,
                     const double               order)
 {
index 47ca540f0b2f0322fa510872912bc63250825dfd..a10c12af1405e31964363e638356c3a2dee0f5f9 100644 (file)
@@ -45,8 +45,8 @@ struct copy_data
 
 void
 assemble(const std::vector<int>::iterator &it,
-         scratch_data &                    scratch,
-         copy_data &                       data)
+         scratch_data                     &scratch,
+         copy_data                        &data)
 {
   double s     = *it;
   double value = fp.value(Point<2>(s, 2.5));
index 3c78773704257a5780d8a3928a41812e5fc7df89..d2bbef90544014fe961e62dcdefe5826fee50cf3 100644 (file)
@@ -30,7 +30,7 @@ namespace
   template <int dim>
   void
   print_derivatives_at_point(const Function<dim> &function,
-                             const Point<dim> &   point)
+                             const Point<dim>    &point)
   {
     deallog << "point = " << point << std::endl;
     deallog << "value = " << function.value(point) << std::endl;
index 082f75dfae10631eaf719d8c28307d31b153e464..3f802bc65742c71f1ca3e9d6ec1f7d76d44f2e31 100644 (file)
@@ -28,7 +28,7 @@ namespace
   template <int dim>
   void
   print_value_and_gradient_at_point(const Function<dim> &function,
-                                    const Point<dim> &   point)
+                                    const Point<dim>    &point)
   {
     deallog << "point = " << point << std::endl;
     deallog << "value = " << function.value(point) << std::endl;
index b6081779cbb48bf7cec82f0dad7d00242389c7c5..b3c6a02bfe926aa89854103759c751bdeef36c6c 100644 (file)
@@ -116,7 +116,7 @@ public:
   value(const Point<dim> &points, const unsigned int component) const;
   virtual void
   vector_value_list(const std::vector<Point<dim>> &points,
-                    std::vector<Vector<double>> &  values) const;
+                    std::vector<Vector<double>>   &values) const;
 
 private:
   const Function<dim> &func;
@@ -142,7 +142,7 @@ template <int dim>
 void
 DerivativeTestFunction<dim>::vector_value_list(
   const std::vector<Point<dim>> &points,
-  std::vector<Vector<double>> &  values) const
+  std::vector<Vector<double>>   &values) const
 {
   func.vector_value_list(points, values);
 }
@@ -151,7 +151,7 @@ DerivativeTestFunction<dim>::vector_value_list(
 template <int dim>
 void
 DerivativeTestFunction<dim>::vector_value(const Point<dim> &point,
-                                          Vector<double> &  value) const
+                                          Vector<double>   &value) const
 {
   func.vector_value(point, value);
 }
@@ -159,7 +159,7 @@ DerivativeTestFunction<dim>::vector_value(const Point<dim> &point,
 
 template <int dim>
 double
-DerivativeTestFunction<dim>::value(const Point<dim> point,
+DerivativeTestFunction<dim>::value(const Point<dim>  &point,
                                    const unsigned int comp) const
 {
   //  std::cerr << '[' << point << '!' << func.value(point, comp) << ']';
index 4dbcc905904fdae1b3fa24e0dc7373edc45adb52..df7334f5f63f96c5850b4c9fd472851bae9e821f 100644 (file)
@@ -36,7 +36,7 @@ template <int dim>
 void
 check_function(const Functions::FlowFunction<dim> &f,
                unsigned int                        sub,
-               std::ostream &                      out)
+               std::ostream                       &out)
 {
   DerivativeTestFunction<dim> dtest1(f, 1.e-2);
   DerivativeTestFunction<dim> dtest2(f, 2.e-2);
index 6b256600ffcf654b391f625019cecb36c5aed2d3..0fddbef18c71304bb679fb3a86e3f7a1dea67070 100644 (file)
@@ -86,7 +86,7 @@ check()
   FillTensor<rank, dim>::fill_tensor(value, 0);
 
   ConstantTensorFunction<rank, dim> tensor_function(value);
-  TensorFunction<rank, dim> *       foo = &tensor_function;
+  TensorFunction<rank, dim>        *foo = &tensor_function;
 
 
   Point<dim> point;
index aec87a230eea9c4e4e23536fd8bdda63637e0b73..eb71bb38349f5f5625330a33dba182253aa6ad30 100644 (file)
@@ -39,7 +39,7 @@ check()
   // native version
   {
     gsl_interp_accel *acc    = gsl_interp_accel_alloc();
-    gsl_spline *      spline = gsl_spline_alloc(gsl_interp_cspline, n_points);
+    gsl_spline       *spline = gsl_spline_alloc(gsl_interp_cspline, n_points);
 
     gsl_spline_init(spline, &x[0], &y[0], n_points);
 
index 2bb93626f9a3ec5f13291faed2af9991e9bf786d..d13e527123643b0a955d0f24184a0f980107f569 100644 (file)
@@ -38,7 +38,7 @@ check()
 
   // native:
   gsl_interp_accel *acc    = gsl_interp_accel_alloc();
-  gsl_spline *      spline = gsl_spline_alloc(gsl_interp_cspline, n_points);
+  gsl_spline       *spline = gsl_spline_alloc(gsl_interp_cspline, n_points);
 
   gsl_spline_init(spline, &x[0], &y[0], n_points);
 
index 21635cfcd4bc78b436ec09d8397c01d0cbf8a9bb..1419d4828ecf4ff73bf038237cbfd9da514b404c 100644 (file)
@@ -76,7 +76,7 @@ template <int dim>
 void
 check_function_derivative(const Functions::FlowFunction<dim> &f,
                           unsigned int                        sub,
-                          std::ostream &                      out)
+                          std::ostream                       &out)
 {
   DerivativeTestFunction<dim> dtest1(f, 1.e-2);
   DerivativeTestFunction<dim> dtest2(f, 2.e-2);
index 6df3987456010b64ec81e253054dee695afccc26..790ffcb87a5c91c9c3c3060be62251b68b87dae8 100644 (file)
@@ -141,7 +141,7 @@ assign_data(Container<Number> &data)
 // This function tests parallel write and gets the group by reference
 template <template <class...> class Container, typename Number>
 void
-write_test(HDF5::Group &              root_group,
+write_test(HDF5::Group               &root_group,
            const std::vector<hsize_t> dataset_dimensions,
            MPI_Comm                   mpi_communicator,
            ConditionalOStream         pcout)
index e987e3456118000978fef19c6a9527079a8e2034..ad6f522c0cc074478ccf5c84a7edcf0ec5607e8b 100644 (file)
@@ -140,7 +140,7 @@ assign_data(Container<Number> &data)
 // This function tests parallel write and gets the group by reference
 template <template <class...> class Container, typename Number>
 void
-write_test(HDF5::Group &              root_group,
+write_test(HDF5::Group               &root_group,
            const std::vector<hsize_t> dataset_dimensions)
 {
   AssertDimension(dataset_dimensions.size(), 2);
index bf65023b14e89bf5bb59137f1944d3e748d4611b..881ef077fc03dc3405ba5affd5709c6fa4ff16ed 100644 (file)
@@ -206,7 +206,7 @@ type_to_string()
 // This function tests parallel write and gets the group by reference
 template <typename Number>
 void
-write_test(HDF5::Group &      root_group,
+write_test(HDF5::Group       &root_group,
            MPI_Comm           mpi_communicator,
            ConditionalOStream pcout)
 {
index b01f4f87ce2b6910fff7fd2f8a2054fbb28be2e6..8c75016d1a593b9c43efff5cd284717b166d69d6 100644 (file)
@@ -25,7 +25,7 @@ using namespace Polynomials;
 
 void
 check_interpolation(const std::vector<Polynomial<double>> &p,
-                    const std::vector<Point<1>> &          x)
+                    const std::vector<Point<1>>           &x)
 {
   for (unsigned int i = 0; i < p.size(); ++i)
     {
index bbe04ee2282dec38932fa156ed6f2b4190fb7b9f..3e0c7ef29fff5a9b3c8f5cd51f27813aabd44be1 100644 (file)
@@ -29,7 +29,7 @@ using namespace Polynomials;
 
 void
 check_interpolation(const std::vector<Polynomial<double>> &p,
-                    const std::vector<Point<1>> &          x)
+                    const std::vector<Point<1>>           &x)
 {
   for (unsigned int i = 0; i < p.size(); ++i)
     {
index 07f0636c90b683008fa4776773165327bc0c72ae..2e9e1c26901653e40e2c98be9483144e7201b464 100644 (file)
@@ -100,7 +100,7 @@ check_quadrature(double *exact_monomials)
     {
       quadrature_type              quadrature(n);
       const std::vector<Point<1>> &points  = quadrature.get_points();
-      const std::vector<double> &  weights = quadrature.get_weights();
+      const std::vector<double>   &weights = quadrature.get_weights();
 
 
       for (unsigned int i = 0; i < 32; ++i)
@@ -136,7 +136,7 @@ check_GRC_right(double *exact_monomials)
     {
       QGaussRadauChebyshev<1> quadrature(n, QGaussRadauChebyshev<1>::right);
       const std::vector<Point<1>> &points  = quadrature.get_points();
-      const std::vector<double> &  weights = quadrature.get_weights();
+      const std::vector<double>   &weights = quadrature.get_weights();
 
 
       for (unsigned int i = 0; i < 32; ++i)
index ff2f365d2e7a8bbb100ea991025511cf9190b197..86dedc21bf8cd60e0b147a72c9b29c81a0befb34 100644 (file)
@@ -26,7 +26,7 @@
 template <int dim>
 void
 check_tensor_product(const std::vector<Quadrature<dim>> &quadratures,
-                     const std::vector<std::string> &    quadrature_names)
+                     const std::vector<std::string>     &quadrature_names)
 {
   Assert(false, ExcNotImplemented());
 }
@@ -34,7 +34,7 @@ check_tensor_product(const std::vector<Quadrature<dim>> &quadratures,
 template <>
 void
 check_tensor_product(const std::vector<Quadrature<1>> &quadratures,
-                     const std::vector<std::string> &  quadrature_names)
+                     const std::vector<std::string>   &quadrature_names)
 {
   for (unsigned int i = 0; i < quadratures.size(); ++i)
     {
@@ -67,7 +67,7 @@ check_tensor_product(const std::vector<Quadrature<1>> &quadratures,
 template <>
 void
 check_tensor_product(const std::vector<Quadrature<2>> &quadratures,
-                     const std::vector<std::string> &  quadrature_names)
+                     const std::vector<std::string>   &quadrature_names)
 {
   for (unsigned int i = 0; i < quadratures.size(); ++i)
     {
@@ -105,7 +105,7 @@ check_tensor_product(const std::vector<Quadrature<2>> &quadratures,
 template <>
 void
 check_tensor_product(const std::vector<Quadrature<3>> &quadratures,
-                     const std::vector<std::string> &  quadrature_names)
+                     const std::vector<std::string>   &quadrature_names)
 {
   for (unsigned int i = 0; i < quadratures.size(); ++i)
     {
@@ -150,7 +150,7 @@ check_tensor_product(const std::vector<Quadrature<3>> &quadratures,
 template <int dim>
 void
 fill_quadrature_vector(std::vector<Quadrature<dim>> &quadratures,
-                       std::vector<std::string> &    quadrature_names)
+                       std::vector<std::string>     &quadrature_names)
 {
   quadratures.push_back(Quadrature<dim>());
   quadrature_names.push_back("Quadrature");
index c7b130753b40cac2f70b7a5199a98a8dc69634e9..091757f28cb4ccf9472d5091a6300115ddda8dab 100644 (file)
@@ -104,9 +104,9 @@ template <int dim, typename DATA>
 void
 check_qph(parallel::distributed::Triangulation<dim> &tr,
           const CellDataStorage<typename Triangulation<dim, dim>::cell_iterator,
-                                DATA> &              manager,
-          const Quadrature<dim> &                    rhs_quadrature,
-          const MyFunction<dim> &                    func)
+                                DATA>               &manager,
+          const Quadrature<dim>                     &rhs_quadrature,
+          const MyFunction<dim>                     &func)
 {
   DoFHandler<dim> dof_handler(tr);
   FE_Q<dim>       dummy_fe(1);
index e9fa1815082f380869dba197978f8f74d9a3e048..fe9be85713f09db5ac718b2d6a5afe3500ddabfc 100644 (file)
@@ -108,9 +108,9 @@ template <int dim, typename DATA>
 void
 check_qph(parallel::distributed::Triangulation<dim> &tr,
           const CellDataStorage<typename Triangulation<dim, dim>::cell_iterator,
-                                DATA> &              manager,
-          const Quadrature<dim> &                    rhs_quadrature,
-          const MyFunction<dim> &                    func)
+                                DATA>               &manager,
+          const Quadrature<dim>                     &rhs_quadrature,
+          const MyFunction<dim>                     &func)
 {
   DoFHandler<dim> dof_handler(tr);
   FE_Q<dim>       dummy_fe(1);
index 0ccb9c2ab9fe487c61149de06fa1c33b29729e4f..192b49a812f07db9b394ab71bff996ea347e0040 100644 (file)
@@ -115,9 +115,9 @@ template <int dim>
 void
 check_qph(parallel::distributed::Triangulation<dim> &tr,
           const CellDataStorage<typename Triangulation<dim, dim>::cell_iterator,
-                                MyDataBase> &        manager,
-          const Quadrature<dim> &                    rhs_quadrature,
-          const MyFunction<dim> &                    func)
+                                MyDataBase>         &manager,
+          const Quadrature<dim>                     &rhs_quadrature,
+          const MyFunction<dim>                     &func)
 {
   DoFHandler<dim> dof_handler(tr);
   FE_Q<dim>       dummy_fe(1);
index 5073853aad63f4ad81f7e294fd93ee735c1adfc2..c5b55d798e1dbb11182a5bea2e232c28f0fcb622 100644 (file)
@@ -100,7 +100,7 @@ struct Mat2 : MaterialBase
 
 void
 initialize_data(const Triangulation<2> &tria,
-                QuadratureStorage &     storage,
+                QuadratureStorage      &storage,
                 const unsigned int      n_data_points_per_cell)
 {
   deallog << "Initializing quadrature cell data" << std::endl;
@@ -120,8 +120,8 @@ initialize_data(const Triangulation<2> &tria,
 
 void
 assign_value_to_data(const Triangulation<2> &tria,
-                     FEValues<2> &           fe_values,
-                     QuadratureStorage &     storage,
+                     FEValues<2>            &fe_values,
+                     QuadratureStorage      &storage,
                      const unsigned int      n_data_points_per_cell)
 {
   deallog << "Assigning quadrature cell data" << std::endl;
@@ -154,8 +154,8 @@ DeclException3(ExcWrongValue,
                << ", delta = " << arg3);
 
 void
-check_data(const Triangulation<2> tria,
-           FEValues<2> &            fe_values,
+check_data(const Triangulation<2>  &tria,
+           FEValues<2>             &fe_values,
            const QuadratureStorage &storage,
            const unsigned int       n_data_points_per_cell)
 {
index 639559b05c3719d6601c62c20a8dfdf6b1a8f121..bb16d523a29892c14c7c19379b552079449e9927 100644 (file)
@@ -29,7 +29,7 @@
 
 template <int dim>
 void
-check(const std::string &    name,
+check(const std::string     &name,
       const unsigned int     order,
       const Quadrature<dim> &q)
 {
index fb3ad0deffd425cdc79bec30c7dd4d2cfc9a3704..8a8df01281a540f19bb290060a815b63d2929a8d 100644 (file)
@@ -57,7 +57,7 @@ check_cells(std::vector<Quadrature<dim> *> &quadratures)
     {
       quadrature                             = *quadratures[n];
       const std::vector<Point<dim>> &points  = quadrature.get_points();
-      const std::vector<double> &    weights = quadrature.get_weights();
+      const std::vector<double>     &weights = quadrature.get_weights();
 
       deallog << "Quadrature no." << n;
 
@@ -119,7 +119,7 @@ check_faces(const std::vector<Quadrature<dim - 1> *> &quadratures,
           QProjector<dim>::project_to_all_subfaces(
             ReferenceCells::get_hypercube<dim>(), *quadratures[n]));
       const std::vector<Point<dim>> &points  = quadrature.get_points();
-      const std::vector<double> &    weights = quadrature.get_weights();
+      const std::vector<double>     &weights = quadrature.get_weights();
 
       deallog << "Quadrature no." << n;
 
index c64001e8d92374e995f308951c17dd0172abd33e..b190bb9b165c7a01c88b39344368c5f7791222c2 100644 (file)
@@ -57,7 +57,7 @@ check_cells(std::vector<Quadrature<dim> *> &quadratures)
     {
       quadrature                             = *quadratures[n];
       const std::vector<Point<dim>> &points  = quadrature.get_points();
-      const std::vector<double> &    weights = quadrature.get_weights();
+      const std::vector<double>     &weights = quadrature.get_weights();
 
       deallog << "Quadrature no." << n;
 
@@ -134,7 +134,7 @@ check_faces(const std::vector<Quadrature<dim - 1> *> &quadratures,
           QProjector<dim>::project_to_all_subfaces(
             ReferenceCells::get_hypercube<dim>(), *quadratures[n]));
       const std::vector<Point<dim>> &points  = quadrature.get_points();
-      const std::vector<double> &    weights = quadrature.get_weights();
+      const std::vector<double>     &weights = quadrature.get_weights();
 
       deallog << "Quadrature no." << n;
 
index 27ce5c6d7a611fb3f02ba43dfe49146bbc179546..5fca0fb3da4e3ab05d600aef3a968c95a240cb26 100644 (file)
@@ -149,7 +149,7 @@ my_exact_solution(const double t)
 }
 
 void
-test(TimeStepping::RungeKutta<Vector<double>> &                          solver,
+test(TimeStepping::RungeKutta<Vector<double>>                           &solver,
      std::function<Vector<double>(const double, const Vector<double> &)> f,
      std::function<Vector<double>(const double,
                                   const double,
@@ -220,7 +220,7 @@ test2(TimeStepping::EmbeddedExplicitRungeKutta<Vector<double>> &solver,
 
 void
 test_convergence(
-  TimeStepping::RungeKutta<Vector<double>> &                          solver,
+  TimeStepping::RungeKutta<Vector<double>>                           &solver,
   std::function<Vector<double>(const double, const Vector<double> &)> f,
   std::function<Vector<double>(const double,
                                const double,
index 235d063e28194b598de3269687d43a3b3908a550..9cbdd5da6f3ee89cc5e42cf5d50acc02d37510b1 100644 (file)
@@ -40,7 +40,7 @@ my(const double t)
 }
 
 void
-test(TimeStepping::EmbeddedExplicitRungeKutta<Vector<double>> &          solver,
+test(TimeStepping::EmbeddedExplicitRungeKutta<Vector<double>>           &solver,
      std::function<Vector<double>(const double, const Vector<double> &)> f,
      std::function<double(const double)>                                 my)
 {
index db10b07a18dedfb14e6dde573cdb9a1162d33615..895cb5cece47bd6e2b2d3735dd6829109d0ff90c 100644 (file)
@@ -28,7 +28,7 @@ main(int argc, char **argv)
 
   // capture cerr for testing purposes
   std::stringstream captured_cerr;
-  std::streambuf *  old_cerr = std::cerr.rdbuf(captured_cerr.rdbuf());
+  std::streambuf   *old_cerr = std::cerr.rdbuf(captured_cerr.rdbuf());
 
   Utilities::MPI::MPI_InitFinalize mpi_initialization(argc, argv);
   // Test printing from TimerOutput
index 764772b0024cf9ce4a7c0b4a4eed3d86bd4ad4ac..00a978e63a5d890ebea875087b49944ffe8f150a 100644 (file)
@@ -38,8 +38,8 @@ main()
 
   Subscriptor       subscriptor;
   std::atomic<bool> dummy_a;
-  const char *      foo_a = "a";
-  const char *      foo_b = "b";
+  const char       *foo_a = "a";
+  const char       *foo_b = "b";
   subscriptor.subscribe(&dummy_a, foo_a);
   subscriptor.unsubscribe(&dummy_a, foo_b);
   std::atomic<bool> dummy_b;
index 75b3b60ba845dadccdcd385ace255f811ba2d4a2..c25a1cd4a0b28d8dfb990701f07039e8e890f80a 100644 (file)
@@ -40,7 +40,7 @@ main()
 
   Subscriptor       subscriptor;
   std::atomic<bool> dummy_a;
-  const char *      foo        = "a";
+  const char       *foo        = "a";
   const std::string foo_string = "a";
   subscriptor.subscribe(&dummy_a, foo);
   subscriptor.unsubscribe(&dummy_a, foo_string.c_str());
index bd7832a1ade7de270a392e23ee2fd2cf2cf71ad9..f7d12d96fab60c7ec871be19961dc58d5d5b2332 100644 (file)
@@ -67,7 +67,7 @@ VectorBoundaryValues<dim>::VectorBoundaryValues()
 template <int dim>
 inline void
 VectorBoundaryValues<dim>::vector_value(const Point<dim> &p,
-                                        Vector<double> &  values) const
+                                        Vector<double>   &values) const
 {
   Assert(values.size() == 2, ExcDimensionMismatch(values.size(), 2));
 
index d9f5ed23484f94c896e79ce95265a2834d785a3a..df6ed73607295f6a680ed7a0e1522adabb9b69c4 100644 (file)
@@ -43,9 +43,9 @@ namespace DoFToolsEx
   template <int dim, class InVector, class OutVector>
   void
   transfer(const DoFHandler<dim> &source_dof,
-           const InVector &       source_vector,
+           const InVector        &source_vector,
            const DoFHandler<dim> &target_dof,
-           OutVector &            target_vector);
+           OutVector             &target_vector);
 } // namespace DoFToolsEx
 
 /**
@@ -58,9 +58,9 @@ namespace DoFToolsEx
 template <int dim, class InVector, class OutVector>
 void
 DoFToolsEx::transfer(const DoFHandler<dim> &source_dof,
-                     const InVector &       source_vector,
+                     const InVector        &source_vector,
                      const DoFHandler<dim> &target_dof,
-                     OutVector &            target_vector)
+                     OutVector             &target_vector)
 {
   // any sanity tests? Trias derived from same coarse grid?
 
index 29b068d697d9eb06967b3b2bf03dc821889be9d1..0c24b1e836510221f763b1463f90164fffb63a86 100644 (file)
@@ -27,9 +27,9 @@
 
 void
 test(const unsigned int chunk_size,
-     Vector<double> &   v,
-     Vector<double> &   w,
-     Vector<double> &   x)
+     Vector<double>    &v,
+     Vector<double>    &w,
+     Vector<double>    &x)
 {
   // set some entries in the
   // matrix. actually, set them all
index c1e6738ce4ea1e5570a39316842875d31a9ef377..93ff6a0fd2fe098f125d98990b19504d9c917caa 100644 (file)
@@ -40,12 +40,12 @@ template <typename SolverType,
           typename VectorType,
           class PRECONDITION>
 void
-check_solve(SolverType &         solver,
+check_solve(SolverType          &solver,
             const SolverControl &solver_control,
-            const MatrixType &   A,
-            VectorType &         u,
-            VectorType &         f,
-            const PRECONDITION P)
+            const MatrixType    &A,
+            VectorType          &u,
+            VectorType          &f,
+            const PRECONDITION  &P)
 {
   deallog << "Solver type: " << typeid(solver).name() << std::endl;
 
index 8b9c5f2da51c5724eb6c276190a3a105d4620612..d5a83044ce8b7c58aed31904a36d412beeaf0910 100644 (file)
@@ -39,12 +39,12 @@ template <typename SolverType,
           typename VectorType,
           class PRECONDITION>
 void
-check_solve(SolverType &         solver,
+check_solve(SolverType          &solver,
             const SolverControl &solver_control,
-            const MatrixType &   A,
-            VectorType &         u,
-            VectorType &         f,
-            const PRECONDITION P)
+            const MatrixType    &A,
+            VectorType          &u,
+            VectorType          &f,
+            const PRECONDITION  &P)
 {
   deallog << "Solver type: " << typeid(solver).name() << std::endl;
 
index a26e42bd5e0597903812f0076747867cf39f9539..241ab6835ecd2558e235924c0898711af1834773 100644 (file)
@@ -126,7 +126,7 @@ template <int dim>
 void
 check(const FiniteElement<dim> &fe1,
       const FiniteElement<dim> &fe2,
-      const std::string &       name)
+      const std::string        &name)
 {
   deallog << "Checking " << name << " in " << dim << "d:" << std::endl;
 
index ec6f73c8b79eb3e102661775e8dc56b8bf0ad527..8657df4cb473035aecf806e4950a0e40c30a969e 100644 (file)
@@ -145,7 +145,7 @@ template <int dim, int spacedim>
 void
 check(const FiniteElement<dim, spacedim> &fe1,
       const FiniteElement<dim, spacedim> &fe2,
-      const std::string &                 name)
+      const std::string                  &name)
 {
   deallog << "Checking " << name << " in " << dim << "d and spacedim "
           << spacedim << std::endl;
index 6f6f57bfefb27ed78a63339da98b6c58ab162fbf..a14d2215784bc7f039a4ce1b6cc36da3c20a097e 100644 (file)
@@ -187,7 +187,7 @@ public:
 
   virtual void
   value_list(const std::vector<Point<dim>> &points,
-             std::vector<double> &          values,
+             std::vector<double>           &values,
              const unsigned int             component = 0) const;
 };
 
@@ -208,7 +208,7 @@ Coefficient<dim>::value(const Point<dim> &p, const unsigned int) const
 template <int dim>
 void
 Coefficient<dim>::value_list(const std::vector<Point<dim>> &points,
-                             std::vector<double> &          values,
+                             std::vector<double>           &values,
                              const unsigned int             component) const
 {
   const unsigned int n_points = points.size();
index b675f4aa30d8903a37bb80a4d604eb108253f1d0..41b1ce22c963456be7b681630c868bc114061230 100644 (file)
@@ -50,10 +50,10 @@ create_grid(Triangulation<2> &tria)
   const unsigned int n_points = 5;
 
   const Point<2>        points[n_points] = {Point<2>(0.0, 0.0),
-                                     Point<2>(1.0, 1.0),
-                                     Point<2>(2.0, 2.0),
-                                     Point<2>(0.0, 2.0),
-                                     Point<2>(2.0, 0.0)};
+                                            Point<2>(1.0, 1.0),
+                                            Point<2>(2.0, 2.0),
+                                            Point<2>(0.0, 2.0),
+                                            Point<2>(2.0, 0.0)};
   std::vector<Point<2>> vertices(n_points);
   vertices.assign(points, points + n_points);
 
index 291394126e6e122be43a29f8473552c93762e35f..7e07f2a7dad71b5860018b83de5c9485b8126168 100644 (file)
@@ -137,9 +137,9 @@ public:
 template <int dim>
 void
 get_point_value(const DoFHandler<dim> &dof_handler,
-                const Point<dim> &     point,
-                const Vector<double> solution,
-                Vector<double> &       value)
+                const Point<dim>      &point,
+                const Vector<double>  &solution,
+                Vector<double>        &value)
 {
   VectorTools::point_value(dof_handler, solution, point, value);
 }
@@ -147,7 +147,7 @@ get_point_value(const DoFHandler<dim> &dof_handler,
 
 void
 check_periodicity(const DoFHandler<2> &dof_handler,
-                  Vector<double> &     solution,
+                  Vector<double>      &solution,
                   const unsigned int   cycle)
 {
   unsigned int n_points = 2;
index ecbeb0341885ce8e5c26ca7156fc6e29d60f4a7d..593873db8216ce1da2702709341c0e2e3dbaae33 100644 (file)
@@ -126,9 +126,9 @@ public:
 template <int dim>
 void
 get_point_value(const DoFHandler<dim> &dof_handler,
-                const Point<dim> &     point,
-                const Vector<double> solution,
-                Vector<double> &       value)
+                const Point<dim>      &point,
+                const Vector<double>  &solution,
+                Vector<double>        &value)
 {
   VectorTools::point_value(dof_handler, solution, point, value);
 }
@@ -136,7 +136,7 @@ get_point_value(const DoFHandler<dim> &dof_handler,
 
 void
 check_periodicity(const DoFHandler<3> &dof_handler,
-                  Vector<double> &     solution,
+                  Vector<double>      &solution,
                   const unsigned int   cycle)
 {
   unsigned int n_points = 2;
index 77df6d6824d6e1b222055449c13208aeca2c3a79..b3cfbb51e8dc5cc5ffab259f264e778c7f7d3998 100644 (file)
@@ -69,7 +69,7 @@ public:
   }
 
   virtual void
-  vector_gradient(const Point<dim> &           p,
+  vector_gradient(const Point<dim>            &p,
                   std::vector<Tensor<1, dim>> &gradients) const
   {
     gradients[0] = gradient(p, 0);
@@ -104,7 +104,7 @@ public:
   }
 
   virtual void
-  vector_gradient(const Point<dim> &           p,
+  vector_gradient(const Point<dim>            &p,
                   std::vector<Tensor<1, dim>> &gradients) const
   {
     gradients(0) = gradient(p, 0);
index 195be1115b8ace6e9cdedf3e1ddadf41a9c41894..9dd6f931804fdea19e1ed96bfa42b34bdcd7087c 100644 (file)
@@ -70,7 +70,7 @@ public:
   }
 
   virtual void
-  vector_gradient(const Point<dim> &           p,
+  vector_gradient(const Point<dim>            &p,
                   std::vector<Tensor<1, dim>> &gradients) const
   {
     gradients[0] = gradient(p, 0);
@@ -105,7 +105,7 @@ public:
   }
 
   virtual void
-  vector_gradient(const Point<dim> &           p,
+  vector_gradient(const Point<dim>            &p,
                   std::vector<Tensor<1, dim>> &gradients) const
   {
     gradients(0) = gradient(p, 0);
index 65950a26bc69dee711ddbad18fe963c3abf33e88..937e6a6929df066d4d2c4d2539efe5fddc52d3ae 100644 (file)
@@ -71,7 +71,7 @@ public:
   }
 
   virtual void
-  vector_gradient(const Point<dim> &           p,
+  vector_gradient(const Point<dim>            &p,
                   std::vector<Tensor<1, dim>> &gradients) const
   {
     gradients[0] = gradient(p, 0);
@@ -106,7 +106,7 @@ public:
   }
 
   virtual void
-  vector_gradient(const Point<dim> &           p,
+  vector_gradient(const Point<dim>            &p,
                   std::vector<Tensor<1, dim>> &gradients) const
   {
     gradients(0) = gradient(p, 0);
index 5b0c13838a8617aaa3fac915bb6854edabc977b6..e2adb52516a581dde31d60aeba61de348556d5c4 100644 (file)
@@ -72,7 +72,7 @@ public:
   }
 
   virtual void
-  vector_gradient(const Point<dim> &           p,
+  vector_gradient(const Point<dim>            &p,
                   std::vector<Tensor<1, dim>> &gradients) const
   {
     gradients[0] = gradient(p, 0);
@@ -107,7 +107,7 @@ public:
   }
 
   virtual void
-  vector_gradient(const Point<dim> &           p,
+  vector_gradient(const Point<dim>            &p,
                   std::vector<Tensor<1, dim>> &gradients) const
   {
     gradients(0) = gradient(p, 0);
index b0db25dc98ff555666f92a302072ce2e0992f29c..3853a9f4c3ffba8c597749689c6aed62d9eb71f9 100644 (file)
@@ -62,7 +62,7 @@ public:
   }
 
   virtual void
-  vector_value(const Point<dim> &              p,
+  vector_value(const Point<dim>               &p,
                Vector<VectorType::value_type> &values) const
   {
     values(0) = value(p, 0);
@@ -158,7 +158,7 @@ check()
       p[2][d] = 1. / 3.;
     }
   Vector<VectorType::value_type> value(1);
-  const auto &                   mapping = get_default_linear_mapping(tria);
+  const auto                    &mapping = get_default_linear_mapping(tria);
   for (unsigned int i = 0; i < 3; ++i)
     {
       {
index 1cd4330121d51ccaf5d22dc75af2f59b9f7c52d6..8f848a48a08d2625235958033f1b49236d62bb0a 100644 (file)
@@ -42,11 +42,11 @@ void
 create_two_cubes(Triangulation<3> &coarse_grid)
 {
   const Point<3>        points[6] = {Point<3>(0, 0, 0),
-                              Point<3>(1, 0, 0),
-                              Point<3>(1, 1, 0),
-                              Point<3>(0, 1, 0),
-                              Point<3>(2, 0, 0),
-                              Point<3>(2, 1, 0)};
+                                     Point<3>(1, 0, 0),
+                                     Point<3>(1, 1, 0),
+                                     Point<3>(0, 1, 0),
+                                     Point<3>(2, 0, 0),
+                                     Point<3>(2, 1, 0)};
   std::vector<Point<3>> vertices;
   for (unsigned int i = 0; i < 6; ++i)
     vertices.push_back(points[i]);
index d1ecceb63ce341b655ebd317f5a1c7ff6735b8d4..1356024ace648891feb825c5f95289b4e05a70fa 100644 (file)
@@ -55,7 +55,7 @@ class RHS : public Function<dim>
 public:
   virtual void
   value_list(const std::vector<Point<dim>> &points,
-             std::vector<double> &          values,
+             std::vector<double>           &values,
              const unsigned int             component = 0) const;
 };
 
@@ -66,7 +66,7 @@ class BoundaryValues : public Function<dim>
 public:
   virtual void
   value_list(const std::vector<Point<dim>> &points,
-             std::vector<double> &          values,
+             std::vector<double>           &values,
              const unsigned int             component = 0) const;
 };
 
@@ -79,14 +79,14 @@ public:
   {}
   void
   value_list(const std::vector<Point<dim>> &points,
-             std::vector<Point<dim>> &      values) const;
+             std::vector<Point<dim>>       &values) const;
 };
 
 
 template <int dim>
 void
 RHS<dim>::value_list(const std::vector<Point<dim>> &points,
-                     std::vector<double> &          values,
+                     std::vector<double>           &values,
                      const unsigned int) const
 {
   Assert(values.size() == points.size(),
@@ -100,7 +100,7 @@ RHS<dim>::value_list(const std::vector<Point<dim>> &points,
 template <int dim>
 void
 Beta<dim>::value_list(const std::vector<Point<dim>> &points,
-                      std::vector<Point<dim>> &      values) const
+                      std::vector<Point<dim>>       &values) const
 {
   Assert(values.size() == points.size(),
          ExcDimensionMismatch(values.size(), points.size()));
@@ -108,7 +108,7 @@ Beta<dim>::value_list(const std::vector<Point<dim>> &points,
   for (unsigned int i = 0; i < points.size(); ++i)
     {
       const Point<dim> &p    = points[i];
-      Point<dim> &      beta = values[i];
+      Point<dim>       &beta = values[i];
 
       beta(0) = -p(1);
       beta(1) = p(0);
@@ -120,7 +120,7 @@ Beta<dim>::value_list(const std::vector<Point<dim>> &points,
 template <int dim>
 void
 BoundaryValues<dim>::value_list(const std::vector<Point<dim>> &points,
-                                std::vector<double> &          values,
+                                std::vector<double>           &values,
                                 const unsigned int) const
 {
   Assert(values.size() == points.size(),
@@ -144,27 +144,27 @@ public:
 
   void
   assemble_cell_term(const FEValues<dim> &fe_v,
-                     FullMatrix<double> ui_vi_matrix,
-                     Vector<double> &     cell_vector) const;
+                     FullMatrix<double>  &ui_vi_matrix,
+                     Vector<double>      &cell_vector) const;
 
   void
   assemble_boundary_term(const FEFaceValues<dim> &fe_v,
-                         FullMatrix<double> &     ui_vi_matrix,
-                         Vector<double> &         cell_vector) const;
+                         FullMatrix<double>      &ui_vi_matrix,
+                         Vector<double>          &cell_vector) const;
 
   void
   assemble_face_term1(const FEFaceValuesBase<dim> &fe_v,
                       const FEFaceValuesBase<dim> &fe_v_neighbor,
-                      FullMatrix<double> &         ui_vi_matrix,
-                      FullMatrix<double> &         ue_vi_matrix) const;
+                      FullMatrix<double>          &ui_vi_matrix,
+                      FullMatrix<double>          &ue_vi_matrix) const;
 
   void
   assemble_face_term2(const FEFaceValuesBase<dim> &fe_v,
                       const FEFaceValuesBase<dim> &fe_v_neighbor,
-                      FullMatrix<double> &         ui_vi_matrix,
-                      FullMatrix<double> &         ue_vi_matrix,
-                      FullMatrix<double> &         ui_ve_matrix,
-                      FullMatrix<double> &         ue_ve_matrix) const;
+                      FullMatrix<double>          &ui_vi_matrix,
+                      FullMatrix<double>          &ue_vi_matrix,
+                      FullMatrix<double>          &ui_ve_matrix,
+                      FullMatrix<double>          &ue_ve_matrix) const;
 
 private:
   const Beta<dim>           beta_function;
@@ -184,7 +184,7 @@ DGTransportEquation<dim>::DGTransportEquation()
 template <int dim>
 void
 DGTransportEquation<dim>::assemble_cell_term(const FEValues<dim> &fe_v,
-                                             FullMatrix<double> ui_vi_matrix,
+                                             FullMatrix<double>  &ui_vi_matrix,
                                              Vector<double> &cell_vector) const
 {
   const std::vector<double> &JxW = fe_v.get_JxW_values();
@@ -211,10 +211,10 @@ template <int dim>
 void
 DGTransportEquation<dim>::assemble_boundary_term(
   const FEFaceValues<dim> &fe_v,
-  FullMatrix<double> &     ui_vi_matrix,
-  Vector<double> &         cell_vector) const
+  FullMatrix<double>      &ui_vi_matrix,
+  Vector<double>          &cell_vector) const
 {
-  const std::vector<double> &        JxW     = fe_v.get_JxW_values();
+  const std::vector<double>         &JxW     = fe_v.get_JxW_values();
   const std::vector<Tensor<1, dim>> &normals = fe_v.get_normal_vectors();
 
   std::vector<Point<dim>> beta(fe_v.n_quadrature_points);
@@ -244,10 +244,10 @@ void
 DGTransportEquation<dim>::assemble_face_term1(
   const FEFaceValuesBase<dim> &fe_v,
   const FEFaceValuesBase<dim> &fe_v_neighbor,
-  FullMatrix<double> &         ui_vi_matrix,
-  FullMatrix<double> &         ue_vi_matrix) const
+  FullMatrix<double>          &ui_vi_matrix,
+  FullMatrix<double>          &ue_vi_matrix) const
 {
-  const std::vector<double> &        JxW     = fe_v.get_JxW_values();
+  const std::vector<double>         &JxW     = fe_v.get_JxW_values();
   const std::vector<Tensor<1, dim>> &normals = fe_v.get_normal_vectors();
 
   std::vector<Point<dim>> beta(fe_v.n_quadrature_points);
@@ -275,12 +275,12 @@ void
 DGTransportEquation<dim>::assemble_face_term2(
   const FEFaceValuesBase<dim> &fe_v,
   const FEFaceValuesBase<dim> &fe_v_neighbor,
-  FullMatrix<double> &         ui_vi_matrix,
-  FullMatrix<double> &         ue_vi_matrix,
-  FullMatrix<double> &         ui_ve_matrix,
-  FullMatrix<double> &         ue_ve_matrix) const
+  FullMatrix<double>          &ui_vi_matrix,
+  FullMatrix<double>          &ue_vi_matrix,
+  FullMatrix<double>          &ui_ve_matrix,
+  FullMatrix<double>          &ue_ve_matrix) const
 {
-  const std::vector<double> &        JxW     = fe_v.get_JxW_values();
+  const std::vector<double>         &JxW     = fe_v.get_JxW_values();
   const std::vector<Tensor<1, dim>> &normals = fe_v.get_normal_vectors();
 
   std::vector<Point<dim>> beta(fe_v.n_quadrature_points);
index 4899bafa242652d9d4545566d170e8384e9acdd6..0cb32df040c9f70632f23976dc946194b9103f64 100644 (file)
@@ -67,7 +67,7 @@ namespace Evaluation
 
     virtual void
     operator()(const DoFHandler<dim> &dof_handler,
-               const Vector<double> solution) const = 0;
+               const Vector<double>  &solution) const = 0;
 
   protected:
     unsigned int refinement_cycle;
@@ -94,11 +94,11 @@ namespace Evaluation
   {
   public:
     PointValueEvaluation(const Point<dim> &evaluation_point,
-                         TableHandler &    results_table);
+                         TableHandler     &results_table);
 
     virtual void
     operator()(const DoFHandler<dim> &dof_handler,
-               const Vector<double> solution) const;
+               const Vector<double>  &solution) const;
 
     DeclException1(ExcEvaluationPointNotFound,
                    Point<dim>,
@@ -107,14 +107,14 @@ namespace Evaluation
 
   private:
     const Point<dim> evaluation_point;
-    TableHandler &   results_table;
+    TableHandler    &results_table;
   };
 
 
   template <int dim>
   PointValueEvaluation<dim>::PointValueEvaluation(
     const Point<dim> &evaluation_point,
-    TableHandler &    results_table)
+    TableHandler     &results_table)
     : evaluation_point(evaluation_point)
     , results_table(results_table)
   {}
@@ -124,7 +124,7 @@ namespace Evaluation
   template <int dim>
   void
   PointValueEvaluation<dim>::operator()(const DoFHandler<dim> &dof_handler,
-                                        const Vector<double> solution) const
+                                        const Vector<double>  &solution) const
   {
     double point_value = 1e20;
 
@@ -155,12 +155,12 @@ namespace Evaluation
   class SolutionOutput : public EvaluationBase<dim>
   {
   public:
-    SolutionOutput(const std::string &             output_name_base,
+    SolutionOutput(const std::string              &output_name_base,
                    const DataOutBase::OutputFormat output_format);
 
     virtual void
     operator()(const DoFHandler<dim> &dof_handler,
-               const Vector<double> solution) const;
+               const Vector<double>  &solution) const;
 
   private:
     const std::string               output_name_base;
@@ -170,7 +170,7 @@ namespace Evaluation
 
   template <int dim>
   SolutionOutput<dim>::SolutionOutput(
-    const std::string &             output_name_base,
+    const std::string              &output_name_base,
     const DataOutBase::OutputFormat output_format)
     : output_name_base(output_name_base)
     , output_format(output_format)
@@ -241,10 +241,10 @@ namespace LaplaceSolver
   class Solver : public virtual Base<dim>
   {
   public:
-    Solver(Triangulation<dim> &      triangulation,
+    Solver(Triangulation<dim>       &triangulation,
            const FiniteElement<dim> &fe,
-           const Quadrature<dim> &   quadrature,
-           const Function<dim> &     boundary_values);
+           const Quadrature<dim>    &quadrature,
+           const Function<dim>      &boundary_values);
     virtual ~Solver();
 
     virtual void
@@ -285,19 +285,19 @@ namespace LaplaceSolver
 
     void
     assemble_matrix(
-      LinearSystem &                                        linear_system,
+      LinearSystem                                         &linear_system,
       const typename DoFHandler<dim>::active_cell_iterator &begin_cell,
       const typename DoFHandler<dim>::active_cell_iterator &end_cell,
-      Threads::Mutex &                                      mutex) const;
+      Threads::Mutex                                       &mutex) const;
   };
 
 
 
   template <int dim>
-  Solver<dim>::Solver(Triangulation<dim> &      triangulation,
+  Solver<dim>::Solver(Triangulation<dim>       &triangulation,
                       const FiniteElement<dim> &fe,
-                      const Quadrature<dim> &   quadrature,
-                      const Function<dim> &     boundary_values)
+                      const Quadrature<dim>    &quadrature,
+                      const Function<dim>      &boundary_values)
     : Base<dim>(triangulation)
     , fe(&fe)
     , quadrature(&quadrature)
@@ -390,10 +390,10 @@ namespace LaplaceSolver
   template <int dim>
   void
   Solver<dim>::assemble_matrix(
-    LinearSystem &                                        linear_system,
+    LinearSystem                                         &linear_system,
     const typename DoFHandler<dim>::active_cell_iterator &begin_cell,
     const typename DoFHandler<dim>::active_cell_iterator &end_cell,
-    Threads::Mutex &                                      mutex) const
+    Threads::Mutex                                       &mutex) const
   {
     FEValues<dim> fe_values(*fe,
                             *quadrature,
@@ -484,11 +484,11 @@ namespace LaplaceSolver
   class PrimalSolver : public Solver<dim>
   {
   public:
-    PrimalSolver(Triangulation<dim> &      triangulation,
+    PrimalSolver(Triangulation<dim>       &triangulation,
                  const FiniteElement<dim> &fe,
-                 const Quadrature<dim> &   quadrature,
-                 const Function<dim> &     rhs_function,
-                 const Function<dim> &     boundary_values);
+                 const Quadrature<dim>    &quadrature,
+                 const Function<dim>      &rhs_function,
+                 const Function<dim>      &boundary_values);
 
   protected:
     const SmartPointer<const Function<dim>> rhs_function;
@@ -498,11 +498,11 @@ namespace LaplaceSolver
 
 
   template <int dim>
-  PrimalSolver<dim>::PrimalSolver(Triangulation<dim> &      triangulation,
+  PrimalSolver<dim>::PrimalSolver(Triangulation<dim>       &triangulation,
                                   const FiniteElement<dim> &fe,
-                                  const Quadrature<dim> &   quadrature,
-                                  const Function<dim> &     rhs_function,
-                                  const Function<dim> &     boundary_values)
+                                  const Quadrature<dim>    &quadrature,
+                                  const Function<dim>      &rhs_function,
+                                  const Function<dim>      &boundary_values)
     : Base<dim>(triangulation)
     , Solver<dim>(triangulation, fe, quadrature, boundary_values)
     , rhs_function(&rhs_function)
@@ -553,11 +553,11 @@ namespace LaplaceSolver
   class RefinementGlobal : public PrimalSolver<dim>
   {
   public:
-    RefinementGlobal(Triangulation<dim> &      coarse_grid,
+    RefinementGlobal(Triangulation<dim>       &coarse_grid,
                      const FiniteElement<dim> &fe,
-                     const Quadrature<dim> &   quadrature,
-                     const Function<dim> &     rhs_function,
-                     const Function<dim> &     boundary_values);
+                     const Quadrature<dim>    &quadrature,
+                     const Function<dim>      &rhs_function,
+                     const Function<dim>      &boundary_values);
 
     virtual void
     refine_grid();
@@ -566,9 +566,9 @@ namespace LaplaceSolver
 
 
   template <int dim>
-  RefinementGlobal<dim>::RefinementGlobal(Triangulation<dim> &      coarse_grid,
+  RefinementGlobal<dim>::RefinementGlobal(Triangulation<dim>       &coarse_grid,
                                           const FiniteElement<dim> &fe,
-                                          const Quadrature<dim> &   quadrature,
+                                          const Quadrature<dim>    &quadrature,
                                           const Function<dim> &rhs_function,
                                           const Function<dim> &boundary_values)
     : Base<dim>(coarse_grid)
@@ -594,11 +594,11 @@ namespace LaplaceSolver
   class RefinementKelly : public PrimalSolver<dim>
   {
   public:
-    RefinementKelly(Triangulation<dim> &      coarse_grid,
+    RefinementKelly(Triangulation<dim>       &coarse_grid,
                     const FiniteElement<dim> &fe,
-                    const Quadrature<dim> &   quadrature,
-                    const Function<dim> &     rhs_function,
-                    const Function<dim> &     boundary_values);
+                    const Quadrature<dim>    &quadrature,
+                    const Function<dim>      &rhs_function,
+                    const Function<dim>      &boundary_values);
 
     virtual void
     refine_grid();
@@ -607,10 +607,10 @@ namespace LaplaceSolver
 
 
   template <int dim>
-  RefinementKelly<dim>::RefinementKelly(Triangulation<dim> &      coarse_grid,
+  RefinementKelly<dim>::RefinementKelly(Triangulation<dim>       &coarse_grid,
                                         const FiniteElement<dim> &fe,
-                                        const Quadrature<dim> &   quadrature,
-                                        const Function<dim> &     rhs_function,
+                                        const Quadrature<dim>    &quadrature,
+                                        const Function<dim>      &rhs_function,
                                         const Function<dim> &boundary_values)
     : Base<dim>(coarse_grid)
     , PrimalSolver<dim>(coarse_grid,
@@ -714,7 +714,7 @@ RightHandSide<dim>::value(const Point<dim> &p,
 template <int dim>
 void
 run_simulation(
-  LaplaceSolver::Base<dim> &                          solver,
+  LaplaceSolver::Base<dim>                           &solver,
   const std::list<Evaluation::EvaluationBase<dim> *> &postprocessor_list)
 {
   deallog << "Refinement cycle: ";
index 4765aeb28362792bb828f5411dcc5014e9f55072..db1261da8a351bb257e504e1994dc6f5e7edae24 100644 (file)
@@ -69,7 +69,7 @@ namespace Evaluation
 
     virtual void
     operator()(const DoFHandler<dim> &dof_handler,
-               const Vector<double> solution) const = 0;
+               const Vector<double>  &solution) const = 0;
 
   protected:
     unsigned int refinement_cycle;
@@ -98,7 +98,7 @@ namespace Evaluation
 
     virtual void
     operator()(const DoFHandler<dim> &dof_handler,
-               const Vector<double> solution) const;
+               const Vector<double>  &solution) const;
 
     DeclException1(ExcEvaluationPointNotFound,
                    Point<dim>,
@@ -121,7 +121,7 @@ namespace Evaluation
   template <int dim>
   void
   PointValueEvaluation<dim>::operator()(const DoFHandler<dim> &dof_handler,
-                                        const Vector<double> solution) const
+                                        const Vector<double>  &solution) const
   {
     double point_value = 1e20;
 
@@ -156,7 +156,7 @@ namespace Evaluation
 
     virtual void
     operator()(const DoFHandler<dim> &dof_handler,
-               const Vector<double> solution) const;
+               const Vector<double>  &solution) const;
 
     DeclException1(ExcEvaluationPointNotFound,
                    Point<dim>,
@@ -179,7 +179,7 @@ namespace Evaluation
   void
   PointXDerivativeEvaluation<dim>::operator()(
     const DoFHandler<dim> &dof_handler,
-    const Vector<double> solution) const
+    const Vector<double>  &solution) const
   {
     double point_derivative = 0;
 
@@ -229,7 +229,7 @@ namespace Evaluation
 
     virtual void
     operator()(const DoFHandler<dim> &dof_handler,
-               const Vector<double> solution) const;
+               const Vector<double>  &solution) const;
 
   private:
     const std::string output_name_base;
@@ -319,11 +319,11 @@ namespace LaplaceSolver
   class Solver : public virtual Base<dim>
   {
   public:
-    Solver(Triangulation<dim> &       triangulation,
-           const FiniteElement<dim> fe,
-           const Quadrature<dim> &    quadrature,
+    Solver(Triangulation<dim>        &triangulation,
+           const FiniteElement<dim>  &fe,
+           const Quadrature<dim>     &quadrature,
            const Quadrature<dim - 1> &face_quadrature,
-           const Function<dim> &      boundary_values);
+           const Function<dim>       &boundary_values);
     virtual ~Solver();
 
     virtual void
@@ -365,20 +365,20 @@ namespace LaplaceSolver
 
     void
     assemble_matrix(
-      LinearSystem &                                        linear_system,
+      LinearSystem                                         &linear_system,
       const typename DoFHandler<dim>::active_cell_iterator &begin_cell,
       const typename DoFHandler<dim>::active_cell_iterator &end_cell,
-      Threads::Mutex &                                      mutex) const;
+      Threads::Mutex                                       &mutex) const;
   };
 
 
 
   template <int dim>
-  Solver<dim>::Solver(Triangulation<dim> &       triangulation,
-                      const FiniteElement<dim> fe,
-                      const Quadrature<dim> &    quadrature,
+  Solver<dim>::Solver(Triangulation<dim>        &triangulation,
+                      const FiniteElement<dim>  &fe,
+                      const Quadrature<dim>     &quadrature,
                       const Quadrature<dim - 1> &face_quadrature,
-                      const Function<dim> &      boundary_values)
+                      const Function<dim>       &boundary_values)
     : Base<dim>(triangulation)
     , fe(&fe)
     , quadrature(&quadrature)
@@ -470,10 +470,10 @@ namespace LaplaceSolver
   template <int dim>
   void
   Solver<dim>::assemble_matrix(
-    LinearSystem &                                        linear_system,
+    LinearSystem                                         &linear_system,
     const typename DoFHandler<dim>::active_cell_iterator &begin_cell,
     const typename DoFHandler<dim>::active_cell_iterator &end_cell,
-    Threads::Mutex &                                      mutex) const
+    Threads::Mutex                                       &mutex) const
   {
     FEValues<dim> fe_values(*fe,
                             *quadrature,
@@ -562,12 +562,12 @@ namespace LaplaceSolver
   class PrimalSolver : public Solver<dim>
   {
   public:
-    PrimalSolver(Triangulation<dim> &       triangulation,
-                 const FiniteElement<dim> fe,
-                 const Quadrature<dim> &    quadrature,
+    PrimalSolver(Triangulation<dim>        &triangulation,
+                 const FiniteElement<dim>  &fe,
+                 const Quadrature<dim>     &quadrature,
                  const Quadrature<dim - 1> &face_quadrature,
-                 const Function<dim> &      rhs_function,
-                 const Function<dim> &      boundary_values);
+                 const Function<dim>       &rhs_function,
+                 const Function<dim>       &boundary_values);
 
     virtual void
     solve_problem();
@@ -591,12 +591,12 @@ namespace LaplaceSolver
 
 
   template <int dim>
-  PrimalSolver<dim>::PrimalSolver(Triangulation<dim> &       triangulation,
-                                  const FiniteElement<dim> fe,
-                                  const Quadrature<dim> &    quadrature,
+  PrimalSolver<dim>::PrimalSolver(Triangulation<dim>        &triangulation,
+                                  const FiniteElement<dim>  &fe,
+                                  const Quadrature<dim>     &quadrature,
                                   const Quadrature<dim - 1> &face_quadrature,
-                                  const Function<dim> &      rhs_function,
-                                  const Function<dim> &      boundary_values)
+                                  const Function<dim>       &rhs_function,
+                                  const Function<dim>       &boundary_values)
     : Base<dim>(triangulation)
     , Solver<dim>(triangulation,
                   fe,
@@ -695,12 +695,12 @@ namespace LaplaceSolver
   class RefinementGlobal : public PrimalSolver<dim>
   {
   public:
-    RefinementGlobal(Triangulation<dim> &       coarse_grid,
-                     const FiniteElement<dim> fe,
-                     const Quadrature<dim> &    quadrature,
+    RefinementGlobal(Triangulation<dim>        &coarse_grid,
+                     const FiniteElement<dim>  &fe,
+                     const Quadrature<dim>     &quadrature,
                      const Quadrature<dim - 1> &face_quadrature,
-                     const Function<dim> &      rhs_function,
-                     const Function<dim> &      boundary_values);
+                     const Function<dim>       &rhs_function,
+                     const Function<dim>       &boundary_values);
 
     virtual void
     refine_grid();
@@ -710,12 +710,12 @@ namespace LaplaceSolver
 
   template <int dim>
   RefinementGlobal<dim>::RefinementGlobal(
-    Triangulation<dim> &       coarse_grid,
-    const FiniteElement<dim> fe,
-    const Quadrature<dim> &    quadrature,
+    Triangulation<dim>        &coarse_grid,
+    const FiniteElement<dim>  &fe,
+    const Quadrature<dim>     &quadrature,
     const Quadrature<dim - 1> &face_quadrature,
-    const Function<dim> &      rhs_function,
-    const Function<dim> &      boundary_values)
+    const Function<dim>       &rhs_function,
+    const Function<dim>       &boundary_values)
     : Base<dim>(coarse_grid)
     , PrimalSolver<dim>(coarse_grid,
                         fe,
@@ -740,12 +740,12 @@ namespace LaplaceSolver
   class RefinementKelly : public PrimalSolver<dim>
   {
   public:
-    RefinementKelly(Triangulation<dim> &       coarse_grid,
-                    const FiniteElement<dim> fe,
-                    const Quadrature<dim> &    quadrature,
+    RefinementKelly(Triangulation<dim>        &coarse_grid,
+                    const FiniteElement<dim>  &fe,
+                    const Quadrature<dim>     &quadrature,
                     const Quadrature<dim - 1> &face_quadrature,
-                    const Function<dim> &      rhs_function,
-                    const Function<dim> &      boundary_values);
+                    const Function<dim>       &rhs_function,
+                    const Function<dim>       &boundary_values);
 
     virtual void
     refine_grid();
@@ -755,12 +755,12 @@ namespace LaplaceSolver
 
   template <int dim>
   RefinementKelly<dim>::RefinementKelly(
-    Triangulation<dim> &       coarse_grid,
-    const FiniteElement<dim> fe,
-    const Quadrature<dim> &    quadrature,
+    Triangulation<dim>        &coarse_grid,
+    const FiniteElement<dim>  &fe,
+    const Quadrature<dim>     &quadrature,
     const Quadrature<dim - 1> &face_quadrature,
-    const Function<dim> &      rhs_function,
-    const Function<dim> &      boundary_values)
+    const Function<dim>       &rhs_function,
+    const Function<dim>       &boundary_values)
     : Base<dim>(coarse_grid)
     , PrimalSolver<dim>(coarse_grid,
                         fe,
@@ -797,13 +797,13 @@ namespace LaplaceSolver
   class RefinementWeightedKelly : public PrimalSolver<dim>
   {
   public:
-    RefinementWeightedKelly(Triangulation<dim> &       coarse_grid,
-                            const FiniteElement<dim> fe,
-                            const Quadrature<dim> &    quadrature,
+    RefinementWeightedKelly(Triangulation<dim>        &coarse_grid,
+                            const FiniteElement<dim>  &fe,
+                            const Quadrature<dim>     &quadrature,
                             const Quadrature<dim - 1> &face_quadrature,
-                            const Function<dim> &      rhs_function,
-                            const Function<dim> &      boundary_values,
-                            const Function<dim> &      weighting_function);
+                            const Function<dim>       &rhs_function,
+                            const Function<dim>       &boundary_values,
+                            const Function<dim>       &weighting_function);
 
     virtual void
     refine_grid();
@@ -816,13 +816,13 @@ namespace LaplaceSolver
 
   template <int dim>
   RefinementWeightedKelly<dim>::RefinementWeightedKelly(
-    Triangulation<dim> &       coarse_grid,
-    const FiniteElement<dim> fe,
-    const Quadrature<dim> &    quadrature,
+    Triangulation<dim>        &coarse_grid,
+    const FiniteElement<dim>  &fe,
+    const Quadrature<dim>     &quadrature,
     const Quadrature<dim - 1> &face_quadrature,
-    const Function<dim> &      rhs_function,
-    const Function<dim> &      boundary_values,
-    const Function<dim> &      weighting_function)
+    const Function<dim>       &rhs_function,
+    const Function<dim>       &boundary_values,
+    const Function<dim>       &weighting_function)
     : Base<dim>(coarse_grid)
     , PrimalSolver<dim>(coarse_grid,
                         fe,
@@ -1101,7 +1101,7 @@ namespace DualFunctional
   public:
     virtual void
     assemble_rhs(const DoFHandler<dim> &dof_handler,
-                 Vector<double> &       rhs) const = 0;
+                 Vector<double>        &rhs) const = 0;
   };
 
 
@@ -1135,7 +1135,7 @@ namespace DualFunctional
   template <int dim>
   void
   PointValueEvaluation<dim>::assemble_rhs(const DoFHandler<dim> &dof_handler,
-                                          Vector<double> &       rhs) const
+                                          Vector<double>        &rhs) const
   {
     rhs.reinit(dof_handler.n_dofs());
 
@@ -1186,7 +1186,7 @@ namespace DualFunctional
   void
   PointXDerivativeEvaluation<dim>::assemble_rhs(
     const DoFHandler<dim> &dof_handler,
-    Vector<double> &       rhs) const
+    Vector<double>        &rhs) const
   {
     rhs.reinit(dof_handler.n_dofs());
 
@@ -1239,10 +1239,10 @@ namespace LaplaceSolver
   class DualSolver : public Solver<dim>
   {
   public:
-    DualSolver(Triangulation<dim> &                           triangulation,
-               const FiniteElement<dim> &                     fe,
-               const Quadrature<dim> &                        quadrature,
-               const Quadrature<dim - 1> &                    face_quadrature,
+    DualSolver(Triangulation<dim>                            &triangulation,
+               const FiniteElement<dim>                      &fe,
+               const Quadrature<dim>                         &quadrature,
+               const Quadrature<dim - 1>                     &face_quadrature,
                const DualFunctional::DualFunctionalBase<dim> &dual_functional);
 
     virtual void
@@ -1270,10 +1270,10 @@ namespace LaplaceSolver
 
   template <int dim>
   DualSolver<dim>::DualSolver(
-    Triangulation<dim> &                           triangulation,
-    const FiniteElement<dim> &                     fe,
-    const Quadrature<dim> &                        quadrature,
-    const Quadrature<dim - 1> &                    face_quadrature,
+    Triangulation<dim>                            &triangulation,
+    const FiniteElement<dim>                      &fe,
+    const Quadrature<dim>                         &quadrature,
+    const Quadrature<dim - 1>                     &face_quadrature,
     const DualFunctional::DualFunctionalBase<dim> &dual_functional)
     : Base<dim>(triangulation)
     , Solver<dim>(triangulation,
@@ -1326,13 +1326,13 @@ namespace LaplaceSolver
   {
   public:
     WeightedResidual(
-      Triangulation<dim> &                           coarse_grid,
-      const FiniteElement<dim> &                     primal_fe,
-      const FiniteElement<dim> &                     dual_fe,
-      const Quadrature<dim> &                        quadrature,
-      const Quadrature<dim - 1> &                    face_quadrature,
-      const Function<dim> &                          rhs_function,
-      const Function<dim> &                          boundary_values,
+      Triangulation<dim>                            &coarse_grid,
+      const FiniteElement<dim>                      &primal_fe,
+      const FiniteElement<dim>                      &dual_fe,
+      const Quadrature<dim>                         &quadrature,
+      const Quadrature<dim - 1>                     &face_quadrature,
+      const Function<dim>                           &rhs_function,
+      const Function<dim>                           &boundary_values,
       const DualFunctional::DualFunctionalBase<dim> &dual_functional);
 
     virtual void
@@ -1371,8 +1371,8 @@ namespace LaplaceSolver
       std::vector<double>                  dual_weights;
       typename std::vector<Tensor<2, dim>> cell_grad_grads;
       CellData(const FiniteElement<dim> &fe,
-               const Quadrature<dim> &   quadrature,
-               const Function<dim> &     right_hand_side);
+               const Quadrature<dim>    &quadrature,
+               const Function<dim>      &right_hand_side);
     };
 
     struct FaceData
@@ -1385,7 +1385,7 @@ namespace LaplaceSolver
       std::vector<double>                  dual_weights;
       typename std::vector<Tensor<1, dim>> cell_grads;
       typename std::vector<Tensor<1, dim>> neighbor_grads;
-      FaceData(const FiniteElement<dim> fe,
+      FaceData(const FiniteElement<dim>  &fe,
                const Quadrature<dim - 1> &face_quadrature);
     };
 
@@ -1399,30 +1399,30 @@ namespace LaplaceSolver
                   const Vector<double> &dual_weights,
                   const unsigned int    n_threads,
                   const unsigned int    this_thread,
-                  Vector<float> &       error_indicators,
-                  FaceIntegrals &       face_integrals) const;
+                  Vector<float>        &error_indicators,
+                  FaceIntegrals        &face_integrals) const;
 
     void
     integrate_over_cell(const active_cell_iterator &cell,
                         const unsigned int          cell_index,
-                        const Vector<double> &      primal_solution,
-                        const Vector<double> &      dual_weights,
-                        CellData &                  cell_data,
-                        Vector<float> &             error_indicators) const;
+                        const Vector<double>       &primal_solution,
+                        const Vector<double>       &dual_weights,
+                        CellData                   &cell_data,
+                        Vector<float>              &error_indicators) const;
 
     void
     integrate_over_regular_face(const active_cell_iterator &cell,
                                 const unsigned int          face_no,
-                                const Vector<double> &      primal_solution,
-                                const Vector<double> &      dual_weights,
-                                FaceData &                  face_data,
+                                const Vector<double>       &primal_solution,
+                                const Vector<double>       &dual_weights,
+                                FaceData                   &face_data,
                                 FaceIntegrals &face_integrals) const;
     void
     integrate_over_irregular_face(const active_cell_iterator &cell,
                                   const unsigned int          face_no,
-                                  const Vector<double> &      primal_solution,
-                                  const Vector<double> &      dual_weights,
-                                  FaceData &                  face_data,
+                                  const Vector<double>       &primal_solution,
+                                  const Vector<double>       &dual_weights,
+                                  FaceData                   &face_data,
                                   FaceIntegrals &face_integrals) const;
   };
 
@@ -1431,8 +1431,8 @@ namespace LaplaceSolver
   template <int dim>
   WeightedResidual<dim>::CellData::CellData(
     const FiniteElement<dim> &fe,
-    const Quadrature<dim> &   quadrature,
-    const Function<dim> &     right_hand_side)
+    const Quadrature<dim>    &quadrature,
+    const Function<dim>      &right_hand_side)
     : fe_values(fe,
                 quadrature,
                 update_values | update_hessians | update_quadrature_points |
@@ -1451,7 +1451,7 @@ namespace LaplaceSolver
 
   template <int dim>
   WeightedResidual<dim>::FaceData::FaceData(
-    const FiniteElement<dim> fe,
+    const FiniteElement<dim>  &fe,
     const Quadrature<dim - 1> &face_quadrature)
     : fe_face_values_cell(fe,
                           face_quadrature,
@@ -1475,13 +1475,13 @@ namespace LaplaceSolver
 
   template <int dim>
   WeightedResidual<dim>::WeightedResidual(
-    Triangulation<dim> &                           coarse_grid,
-    const FiniteElement<dim> &                     primal_fe,
-    const FiniteElement<dim> &                     dual_fe,
-    const Quadrature<dim> &                        quadrature,
-    const Quadrature<dim - 1> &                    face_quadrature,
-    const Function<dim> &                          rhs_function,
-    const Function<dim> &                          bv,
+    Triangulation<dim>                            &coarse_grid,
+    const FiniteElement<dim>                      &primal_fe,
+    const FiniteElement<dim>                      &dual_fe,
+    const Quadrature<dim>                         &quadrature,
+    const Quadrature<dim - 1>                     &face_quadrature,
+    const Function<dim>                           &rhs_function,
+    const Function<dim>                           &bv,
     const DualFunctional::DualFunctionalBase<dim> &dual_functional)
     : Base<dim>(coarse_grid)
     , PrimalSolver<dim>(coarse_grid,
@@ -1565,7 +1565,7 @@ namespace LaplaceSolver
   WeightedResidual<dim>::output_solution() const
   {
     const PrimalSolver<dim> &primal_solver = *this;
-    const DualSolver<dim> &  dual_solver   = *this;
+    const DualSolver<dim>   &dual_solver   = *this;
 
     AffineConstraints<double> primal_hanging_node_constraints;
     DoFTools::make_hanging_node_constraints(primal_solver.dof_handler,
@@ -1599,7 +1599,7 @@ namespace LaplaceSolver
   WeightedResidual<dim>::estimate_error(Vector<float> &error_indicators) const
   {
     const PrimalSolver<dim> &primal_solver = *this;
-    const DualSolver<dim> &  dual_solver   = *this;
+    const DualSolver<dim>   &dual_solver   = *this;
 
     AffineConstraints<double> dual_hanging_node_constraints;
     DoFTools::make_hanging_node_constraints(dual_solver.dof_handler,
@@ -1673,11 +1673,11 @@ namespace LaplaceSolver
                                        const Vector<double> &dual_weights,
                                        const unsigned int    n_threads,
                                        const unsigned int    this_thread,
-                                       Vector<float> &       error_indicators,
+                                       Vector<float>        &error_indicators,
                                        FaceIntegrals &face_integrals) const
   {
     const PrimalSolver<dim> &primal_solver = *this;
-    const DualSolver<dim> &  dual_solver   = *this;
+    const DualSolver<dim>   &dual_solver   = *this;
 
     CellData cell_data(*dual_solver.fe,
                        *dual_solver.quadrature,
@@ -1688,7 +1688,8 @@ namespace LaplaceSolver
     for (unsigned int t = 0;
          (t < this_thread) && (cell != dual_solver.dof_handler.end());
          ++t, ++cell)
-      {}
+      {
+      }
 
 
     if (cell == dual_solver.dof_handler.end())
@@ -1740,7 +1741,8 @@ namespace LaplaceSolver
         for (unsigned int t = 0;
              ((t < n_threads) && (cell != dual_solver.dof_handler.end()));
              ++t, ++cell, ++cell_index)
-          {}
+          {
+          }
 
         if (cell == dual_solver.dof_handler.end())
           break;
@@ -1754,10 +1756,10 @@ namespace LaplaceSolver
   WeightedResidual<dim>::integrate_over_cell(
     const active_cell_iterator &cell,
     const unsigned int          cell_index,
-    const Vector<double> &      primal_solution,
-    const Vector<double> &      dual_weights,
-    CellData &                  cell_data,
-    Vector<float> &             error_indicators) const
+    const Vector<double>       &primal_solution,
+    const Vector<double>       &dual_weights,
+    CellData                   &cell_data,
+    Vector<float>              &error_indicators) const
   {
     cell_data.fe_values.reinit(cell);
     cell_data.right_hand_side->value_list(
@@ -1782,10 +1784,10 @@ namespace LaplaceSolver
   WeightedResidual<dim>::integrate_over_regular_face(
     const active_cell_iterator &cell,
     const unsigned int          face_no,
-    const Vector<double> &      primal_solution,
-    const Vector<double> &      dual_weights,
-    FaceData &                  face_data,
-    FaceIntegrals &             face_integrals) const
+    const Vector<double>       &primal_solution,
+    const Vector<double>       &dual_weights,
+    FaceData                   &face_data,
+    FaceIntegrals              &face_integrals) const
   {
     const unsigned int n_q_points =
       face_data.fe_face_values_cell.n_quadrature_points;
@@ -1829,10 +1831,10 @@ namespace LaplaceSolver
   WeightedResidual<dim>::integrate_over_irregular_face(
     const active_cell_iterator &cell,
     const unsigned int          face_no,
-    const Vector<double> &      primal_solution,
-    const Vector<double> &      dual_weights,
-    FaceData &                  face_data,
-    FaceIntegrals &             face_integrals) const
+    const Vector<double>       &primal_solution,
+    const Vector<double>       &dual_weights,
+    FaceData                   &face_data,
+    FaceIntegrals              &face_integrals) const
   {
     const unsigned int n_q_points =
       face_data.fe_face_values_cell.n_quadrature_points;
index 9a6b18b772d99aac9ce20d63f6211d98e7c7e54b..f8134eea6c81f2e84d9976c1f8838073b4cb9c9c 100644 (file)
@@ -53,14 +53,14 @@ class MatrixIntegrator : public MeshWorker::LocalIntegrator<dim>
 {
 public:
   void
-  cell(MeshWorker::DoFInfo<dim> &                 dinfo,
+  cell(MeshWorker::DoFInfo<dim>                  &dinfo,
        typename MeshWorker::IntegrationInfo<dim> &info) const;
   void
-  boundary(MeshWorker::DoFInfo<dim> &                 dinfo,
+  boundary(MeshWorker::DoFInfo<dim>                  &dinfo,
            typename MeshWorker::IntegrationInfo<dim> &info) const;
   void
-  face(MeshWorker::DoFInfo<dim> &                 dinfo1,
-       MeshWorker::DoFInfo<dim> &                 dinfo2,
+  face(MeshWorker::DoFInfo<dim>                  &dinfo1,
+       MeshWorker::DoFInfo<dim>                  &dinfo2,
        typename MeshWorker::IntegrationInfo<dim> &info1,
        typename MeshWorker::IntegrationInfo<dim> &info2) const;
 };
@@ -68,7 +68,7 @@ public:
 template <int dim>
 void
 MatrixIntegrator<dim>::cell(
-  MeshWorker::DoFInfo<dim> &                 dinfo,
+  MeshWorker::DoFInfo<dim>                  &dinfo,
   typename MeshWorker::IntegrationInfo<dim> &info) const
 {
   LocalIntegrators::Laplace::cell_matrix(dinfo.matrix(0, false).matrix,
@@ -78,7 +78,7 @@ MatrixIntegrator<dim>::cell(
 template <int dim>
 void
 MatrixIntegrator<dim>::boundary(
-  MeshWorker::DoFInfo<dim> &                 dinfo,
+  MeshWorker::DoFInfo<dim>                  &dinfo,
   typename MeshWorker::IntegrationInfo<dim> &info) const
 {
   const unsigned int deg = info.fe_values(0).get_fe().degree;
@@ -91,8 +91,8 @@ MatrixIntegrator<dim>::boundary(
 template <int dim>
 void
 MatrixIntegrator<dim>::face(
-  MeshWorker::DoFInfo<dim> &                 dinfo1,
-  MeshWorker::DoFInfo<dim> &                 dinfo2,
+  MeshWorker::DoFInfo<dim>                  &dinfo1,
+  MeshWorker::DoFInfo<dim>                  &dinfo2,
   typename MeshWorker::IntegrationInfo<dim> &info1,
   typename MeshWorker::IntegrationInfo<dim> &info2) const
 {
index ec2bf879521eaf563e1a307077b5da28f3501f76..ae7bbd9c3602cb8209c6456557b30d4a43d5c9fc 100644 (file)
@@ -53,14 +53,14 @@ class MatrixIntegrator : public MeshWorker::LocalIntegrator<dim>
 {
 public:
   void
-  cell(MeshWorker::DoFInfo<dim> &                 dinfo,
+  cell(MeshWorker::DoFInfo<dim>                  &dinfo,
        typename MeshWorker::IntegrationInfo<dim> &info) const;
   void
-  boundary(MeshWorker::DoFInfo<dim> &                 dinfo,
+  boundary(MeshWorker::DoFInfo<dim>                  &dinfo,
            typename MeshWorker::IntegrationInfo<dim> &info) const;
   void
-  face(MeshWorker::DoFInfo<dim> &                 dinfo1,
-       MeshWorker::DoFInfo<dim> &                 dinfo2,
+  face(MeshWorker::DoFInfo<dim>                  &dinfo1,
+       MeshWorker::DoFInfo<dim>                  &dinfo2,
        typename MeshWorker::IntegrationInfo<dim> &info1,
        typename MeshWorker::IntegrationInfo<dim> &info2) const;
 };
@@ -68,7 +68,7 @@ public:
 template <int dim>
 void
 MatrixIntegrator<dim>::cell(
-  MeshWorker::DoFInfo<dim> &                 dinfo,
+  MeshWorker::DoFInfo<dim>                  &dinfo,
   typename MeshWorker::IntegrationInfo<dim> &info) const
 {
   LocalIntegrators::Laplace::cell_matrix(dinfo.matrix(0, false).matrix,
@@ -78,7 +78,7 @@ MatrixIntegrator<dim>::cell(
 template <int dim>
 void
 MatrixIntegrator<dim>::boundary(
-  MeshWorker::DoFInfo<dim> &                 dinfo,
+  MeshWorker::DoFInfo<dim>                  &dinfo,
   typename MeshWorker::IntegrationInfo<dim> &info) const
 {
   const unsigned int deg = info.fe_values(0).get_fe().degree;
@@ -91,8 +91,8 @@ MatrixIntegrator<dim>::boundary(
 template <int dim>
 void
 MatrixIntegrator<dim>::face(
-  MeshWorker::DoFInfo<dim> &                 dinfo1,
-  MeshWorker::DoFInfo<dim> &                 dinfo2,
+  MeshWorker::DoFInfo<dim>                  &dinfo1,
+  MeshWorker::DoFInfo<dim>                  &dinfo2,
   typename MeshWorker::IntegrationInfo<dim> &info1,
   typename MeshWorker::IntegrationInfo<dim> &info2) const
 {
index c2b86c5a0079401cc2188259738b4df1605b18af..b304fec8e33a743a42616701410501c52d3e4155 100644 (file)
@@ -96,7 +96,7 @@ public:
 
   virtual void
   value_list(const std::vector<Point<dim>> &points,
-             std::vector<double> &          values,
+             std::vector<double>           &values,
              const unsigned int             component = 0) const;
 };
 
@@ -118,7 +118,7 @@ Coefficient<dim>::value(const Point<dim> &p,
 template <int dim>
 void
 Coefficient<dim>::value_list(const std::vector<Point<dim>> &points,
-                             std::vector<double> &          values,
+                             std::vector<double>           &values,
                              const unsigned int             component) const
 {
   Assert(values.size() == points.size(),
index 93c481358ca867578a7085d063d664b181396752..4af72211fb4e39b73da013b701cdfdd77719956a 100644 (file)
@@ -161,7 +161,7 @@ namespace Step51
   template <int dim>
   void
   SolutionAndGradient<dim>::vector_value(const Point<dim> &p,
-                                         Vector<double> &  v) const
+                                         Vector<double>   &v) const
   {
     AssertDimension(v.size(), dim + 1);
     Solution<dim>  solution;
@@ -282,8 +282,8 @@ namespace Step51
     void
     assemble_system_one_cell(
       const typename DoFHandler<dim>::active_cell_iterator &cell,
-      ScratchData &                                         scratch,
-      PerTaskData &                                         task_data);
+      ScratchData                                          &scratch,
+      PerTaskData                                          &task_data);
 
     void
     copy_local_to_global(const PerTaskData &data);
@@ -291,8 +291,8 @@ namespace Step51
     void
     postprocess_one_cell(
       const typename DoFHandler<dim>::active_cell_iterator &cell,
-      PostProcessScratchData &                              scratch,
-      unsigned int &                                        empty_data);
+      PostProcessScratchData                               &scratch,
+      unsigned int                                         &empty_data);
 
 
     Triangulation<dim> triangulation;
@@ -415,8 +415,8 @@ namespace Step51
 
     ScratchData(const FiniteElement<dim> &fe,
                 const FiniteElement<dim> &fe_local,
-                const QGauss<dim> &       quadrature_formula,
-                const QGauss<dim - 1> &   face_quadrature_formula,
+                const QGauss<dim>        &quadrature_formula,
+                const QGauss<dim - 1>    &face_quadrature_formula,
                 const UpdateFlags         local_flags,
                 const UpdateFlags         local_face_flags,
                 const UpdateFlags         flags)
@@ -503,7 +503,7 @@ namespace Step51
 
     PostProcessScratchData(const FiniteElement<dim> &fe,
                            const FiniteElement<dim> &fe_local,
-                           const QGauss<dim> &       quadrature_formula,
+                           const QGauss<dim>        &quadrature_formula,
                            const UpdateFlags         local_flags,
                            const UpdateFlags         flags)
       : fe_values_local(fe_local, quadrature_formula, local_flags)
@@ -571,8 +571,8 @@ namespace Step51
   void
   HDG<dim>::assemble_system_one_cell(
     const typename DoFHandler<dim>::active_cell_iterator &cell,
-    ScratchData &                                         scratch,
-    PerTaskData &                                         task_data)
+    ScratchData                                          &scratch,
+    PerTaskData                                          &task_data)
   {
     const auto loc_cell = cell->as_dof_handler_iterator(dof_handler_local);
 
@@ -884,7 +884,7 @@ namespace Step51
   void
   HDG<dim>::postprocess_one_cell(
     const typename DoFHandler<dim>::active_cell_iterator &cell,
-    PostProcessScratchData &                              scratch,
+    PostProcessScratchData                               &scratch,
     unsigned int &)
   {
     const auto loc_cell = cell->as_dof_handler_iterator(dof_handler_local);
index 3e0849978311970b31f48a4f08746fe82d60b86f..a67f64e0713bee6ae15556092e30225fb71deb49 100644 (file)
@@ -161,7 +161,7 @@ namespace Step51
   template <int dim>
   void
   SolutionAndGradient<dim>::vector_value(const Point<dim> &p,
-                                         Vector<double> &  v) const
+                                         Vector<double>   &v) const
   {
     AssertDimension(v.size(), dim + 1);
     Solution<dim>  solution;
@@ -282,8 +282,8 @@ namespace Step51
     void
     assemble_system_one_cell(
       const typename DoFHandler<dim>::active_cell_iterator &cell,
-      ScratchData &                                         scratch,
-      PerTaskData &                                         task_data);
+      ScratchData                                          &scratch,
+      PerTaskData                                          &task_data);
 
     void
     copy_local_to_global(const PerTaskData &data);
@@ -291,8 +291,8 @@ namespace Step51
     void
     postprocess_one_cell(
       const typename DoFHandler<dim>::active_cell_iterator &cell,
-      PostProcessScratchData &                              scratch,
-      unsigned int &                                        empty_data);
+      PostProcessScratchData                               &scratch,
+      unsigned int                                         &empty_data);
 
 
     Triangulation<dim> triangulation;
@@ -415,8 +415,8 @@ namespace Step51
 
     ScratchData(const FiniteElement<dim> &fe,
                 const FiniteElement<dim> &fe_local,
-                const QGauss<dim> &       quadrature_formula,
-                const QGauss<dim - 1> &   face_quadrature_formula,
+                const QGauss<dim>        &quadrature_formula,
+                const QGauss<dim - 1>    &face_quadrature_formula,
                 const UpdateFlags         local_flags,
                 const UpdateFlags         local_face_flags,
                 const UpdateFlags         flags)
@@ -503,7 +503,7 @@ namespace Step51
 
     PostProcessScratchData(const FiniteElement<dim> &fe,
                            const FiniteElement<dim> &fe_local,
-                           const QGauss<dim> &       quadrature_formula,
+                           const QGauss<dim>        &quadrature_formula,
                            const UpdateFlags         local_flags,
                            const UpdateFlags         flags)
       : fe_values_local(fe_local, quadrature_formula, local_flags)
@@ -571,8 +571,8 @@ namespace Step51
   void
   HDG<dim>::assemble_system_one_cell(
     const typename DoFHandler<dim>::active_cell_iterator &cell,
-    ScratchData &                                         scratch,
-    PerTaskData &                                         task_data)
+    ScratchData                                          &scratch,
+    PerTaskData                                          &task_data)
   {
     const auto loc_cell = cell->as_dof_handler_iterator(dof_handler_local);
 
@@ -882,7 +882,7 @@ namespace Step51
   void
   HDG<dim>::postprocess_one_cell(
     const typename DoFHandler<dim>::active_cell_iterator &cell,
-    PostProcessScratchData &                              scratch,
+    PostProcessScratchData                               &scratch,
     unsigned int &)
   {
     const auto loc_cell = cell->as_dof_handler_iterator(dof_handler_local);
index e722b1b2d603db7ace515f2c0ad71a28abc99c00..cf8d5785b1bdafe7dcc9cedd283047eb6aab84ea 100644 (file)
@@ -104,7 +104,7 @@ public:
 
   virtual void
   value_list(const std::vector<Point<dim>> &points,
-             std::vector<double> &          values,
+             std::vector<double>           &values,
              const unsigned int             component = 0) const;
 };
 
@@ -125,7 +125,7 @@ Coefficient<dim>::value(const Point<dim> &p, const unsigned int) const
 template <int dim>
 void
 Coefficient<dim>::value_list(const std::vector<Point<dim>> &points,
-                             std::vector<double> &          values,
+                             std::vector<double>           &values,
                              const unsigned int             component) const
 {
   const unsigned int n_points = points.size();
index 5f62f9331a3be2607c6b5b046f093201a2b5be00..0db8831b9cdcbde5a5873bcaf8def16461d415bd 100644 (file)
@@ -104,7 +104,7 @@ public:
 
   virtual void
   value_list(const std::vector<Point<dim>> &points,
-             std::vector<double> &          values,
+             std::vector<double>           &values,
              const unsigned int             component = 0) const;
 };
 
@@ -125,7 +125,7 @@ Coefficient<dim>::value(const Point<dim> &p, const unsigned int) const
 template <int dim>
 void
 Coefficient<dim>::value_list(const std::vector<Point<dim>> &points,
-                             std::vector<double> &          values,
+                             std::vector<double>           &values,
                              const unsigned int             component) const
 {
   const unsigned int n_points = points.size();
index e0965b5f4911da55df382961a5d030b41ea802f3..66ba222c3af88be5fcf6d1018a0d592dbac5363a 100644 (file)
@@ -104,7 +104,7 @@ public:
 
   virtual void
   value_list(const std::vector<Point<dim>> &points,
-             std::vector<double> &          values,
+             std::vector<double>           &values,
              const unsigned int             component = 0) const;
 };
 
@@ -125,7 +125,7 @@ Coefficient<dim>::value(const Point<dim> &p, const unsigned int) const
 template <int dim>
 void
 Coefficient<dim>::value_list(const std::vector<Point<dim>> &points,
-                             std::vector<double> &          values,
+                             std::vector<double>           &values,
                              const unsigned int             component) const
 {
   const unsigned int n_points = points.size();
index 56051432919eb64ca0255c9264cefee0f3d20448..f15f56bf8de96f982e08d90e1a9f5b4b88e7fdbe 100644 (file)
@@ -100,7 +100,7 @@ public:
 
   virtual void
   vector_value_list(const std::vector<Point<dim>> &points,
-                    std::vector<Vector<double>> &  value_list) const;
+                    std::vector<Vector<double>>   &value_list) const;
 };
 
 
@@ -113,7 +113,7 @@ RightHandSide<dim>::RightHandSide()
 template <int dim>
 inline void
 RightHandSide<dim>::vector_value(const Point<dim> &p,
-                                 Vector<double> &  values) const
+                                 Vector<double>   &values) const
 {
   Assert(values.size() == dim, ExcDimensionMismatch(values.size(), dim));
   Assert(dim >= 2, ExcNotImplemented());
@@ -140,7 +140,7 @@ template <int dim>
 void
 RightHandSide<dim>::vector_value_list(
   const std::vector<Point<dim>> &points,
-  std::vector<Vector<double>> &  value_list) const
+  std::vector<Vector<double>>   &value_list) const
 {
   Assert(value_list.size() == points.size(),
          ExcDimensionMismatch(value_list.size(), points.size()));
index 6783771c33823c31785f429254b54803db201de2..b82cb2cd03a6de8880b1a6d599f09faf0c958b1b 100644 (file)
@@ -30,7 +30,7 @@
 #include <deal.II/dofs/dof_tools.h>
 
 #include <deal.II/fe/fe_dgp.h>
-//#include <deal.II/fe/fe_q.h>
+// #include <deal.II/fe/fe_q.h>
 #include <deal.II/base/smartpointer.h>
 
 #include <deal.II/fe/fe_tools.h>
@@ -72,9 +72,9 @@ public:
 
   void
   compute_SD_integral_on_cell(
-    std::vector<double> &                                    dst,
+    std::vector<double>                                     &dst,
     typename DoFHandler<dim, dim + 1>::active_cell_iterator &cell,
-    const Point<dim + 1> &                                   point);
+    const Point<dim + 1>                                    &point);
 
 private:
   double
@@ -82,7 +82,7 @@ private:
          const Tensor<1, 3> &a1,
          const Tensor<1, 3> &a2,
          const Tensor<1, 3> &n,
-         const double &      rn_c);
+         const double       &rn_c);
 
   double
   term_D(const Tensor<1, 3> &r, const Tensor<1, 3> &a1, const Tensor<1, 3> &a2);
@@ -118,9 +118,9 @@ LaplaceKernelIntegration<dim>::~LaplaceKernelIntegration()
 template <>
 void
 LaplaceKernelIntegration<2>::compute_SD_integral_on_cell(
-  std::vector<double> &                   dst,
+  std::vector<double>                    &dst,
   DoFHandler<2, 3>::active_cell_iterator &cell,
-  const Point<3> &                        point)
+  const Point<3>                         &point)
 {
   Assert(dst.size() == 2, ExcDimensionMismatch(dst.size(), 2));
   fe_values->reinit(cell);
@@ -153,7 +153,7 @@ LaplaceKernelIntegration<dim>::term_S(const Tensor<1, 3> &r,
                                       const Tensor<1, 3> &a1,
                                       const Tensor<1, 3> &a2,
                                       const Tensor<1, 3> &n,
-                                      const double &      rn_c)
+                                      const double       &rn_c)
 {
   Tensor<1, 3> ra1 = cross_product_3d(r, a1);
   Tensor<1, 3> ra2 = cross_product_3d(r, a2);
index ffe7820f137952817696009e2d162fb5fada6138..3deac34d1f365a663252ec7eaf49da2e65fd1612 100644 (file)
@@ -130,7 +130,7 @@ check()
   dof.distribute_dofs(element);
 
   MappingQ<dim, spacedim> mapping(3);
-  Quadrature<dim - 1> &   q_face = get_q_face<dim>();
+  Quadrature<dim - 1>    &q_face = get_q_face<dim>();
 
   std::map<types::boundary_id, const Function<spacedim> *> neumann_bc;
   neumann_bc[0] = &function;
index 374dcab1c9d4e38f8ff6642131ebd2318acc926d..deed8b001e481cf5761ce81dd74d768c444ec9d6 100644 (file)
@@ -142,7 +142,7 @@ check()
   dof.distribute_dofs(element);
 
   MappingQ<dim, spacedim> mapping(3);
-  Quadrature<dim - 1> &   q_face = get_q_face<dim>();
+  Quadrature<dim - 1>    &q_face = get_q_face<dim>();
 
   Vector<double> v(dof.n_dofs());
   VectorTools::interpolate(mapping, dof, function, v);
index 9e8494c7168c16f72a4580780ed4526610f5e607..38a65ef1a0d4c8923d5cd5d182f40c78a0bc5642 100644 (file)
@@ -41,7 +41,7 @@ test_vertices_orientation(
   const Triangulation<s_dim, spacedim> &boundary_mesh,
   std::map<typename Triangulation<s_dim, spacedim>::cell_iterator,
            typename Triangulation<s_dim + 1, spacedim>::face_iterator>
-    &       surface_to_volume_mapping,
+           &surface_to_volume_mapping,
   const int verbosity = 1)
 {
   typename Triangulation<s_dim, spacedim>::active_cell_iterator
index 8899718d80d9bdc2ff6d5d6bd9d63611836aa15a..3d81a9362aa3f696ca357fa3b09f87f9c18e8f31 100644 (file)
@@ -40,7 +40,7 @@ using TeamHandle = Kokkos::TeamPolicy<
 template <int M, int N, int type, bool add, bool dof_to_quad>
 DEAL_II_HOST_DEVICE void
 evaluate_tensor_product(
-  const TeamHandle &                                         team_member,
+  const TeamHandle                                          &team_member,
   Kokkos::View<double *, MemorySpace::Default::kokkos_space> shape_values,
   Kokkos::View<double *, MemorySpace::Default::kokkos_space> shape_gradients,
   Kokkos::View<double *, MemorySpace::Default::kokkos_space> co_shape_gradients,
index fce4abf4ca863962508043d584f40ceb00746cdb..cd2286a68b7dac0865b124255a9cccafb7d8d274 100644 (file)
@@ -38,7 +38,7 @@ using TeamHandle = Kokkos::TeamPolicy<
 template <int M, int N, int type, bool add, bool dof_to_quad>
 DEAL_II_HOST_DEVICE void
 evaluate_tensor_product(
-  const TeamHandle &                                         team_member,
+  const TeamHandle                                          &team_member,
   Kokkos::View<double *, MemorySpace::Default::kokkos_space> shape_values,
   Kokkos::View<double *, MemorySpace::Default::kokkos_space> shape_gradients,
   Kokkos::View<double *, MemorySpace::Default::kokkos_space> co_shape_gradients,
index 331f987fec48270289fe828c8360154d2dc6191c..0d6b42b00bd215c316588baec01736b4ce83c50c 100644 (file)
@@ -76,7 +76,7 @@ test(Utilities::CUDA::Handle &cuda_handle)
 
   LinearAlgebra::CUDAWrappers::Vector<double> solution_dev(size);
   const std::array<std::string, 3>            solver_names{
-    {"Cholesky", "LU_dense", "LU_host"}};
+               {"Cholesky", "LU_dense", "LU_host"}};
 
   for (auto solver_type : solver_names)
     {
index c708b90ee42f63e5ed4cdb470a8bdd73c5de2b2c..543b074bab66f347534223be6483dbd95ec823c8 100644 (file)
 
 
 void
-check_matrix(const SparseMatrix<double> &        A,
+check_matrix(const SparseMatrix<double>         &A,
              CUDAWrappers::SparseMatrix<double> &A_dev)
 {
   cudaError_t cuda_error_code;
-  double *    val_dev          = nullptr;
-  int *       column_index_dev = nullptr;
-  int *       row_ptr_dev      = nullptr;
+  double     *val_dev          = nullptr;
+  int        *column_index_dev = nullptr;
+  int        *row_ptr_dev      = nullptr;
   std::tie(val_dev, column_index_dev, row_ptr_dev, std::ignore, std::ignore) =
     A_dev.get_cusparse_matrix();
 
@@ -68,7 +68,7 @@ check_matrix(const SparseMatrix<double> &        A,
 }
 
 void
-check_vector(const Vector<double> &                        a,
+check_vector(const Vector<double>                         &a,
              const LinearAlgebra::ReadWriteVector<double> &b)
 {
   unsigned int size = a.size();
index dbb59502732e14be568530902d70707ce07ad9c4..0b834f5adf7ed8cb2858e20a2e10c689c5a1addd 100644 (file)
@@ -27,8 +27,8 @@
 template <int dim>
 void
 check_this(const DoFHandler<dim> &dof_handler,
-           const Vector<double> v_node,
-           const Vector<double> v_cell)
+           const Vector<double>  &v_node,
+           const Vector<double>  &v_cell)
 {
   DataOut<dim> data_out;
   data_out.attach_dof_handler(dof_handler);
index c789a2c5c55c1f1b6ef0766576c8a5eb1a0dbdb2..ef1196809def845b3f79e55144dba349a6921cc2 100644 (file)
@@ -30,8 +30,8 @@
 template <int dim>
 void
 check_this(const DoFHandler<dim> &dof_handler,
-           const Vector<double> v_node_x,
-           const Vector<double> v_cell_x)
+           const Vector<double>  &v_node_x,
+           const Vector<double>  &v_cell_x)
 {
   BlockVector<double> v_node, v_cell;
   make_block_vector(v_node_x, v_node);
index f1c73722502f863f3803cfc110d2378a271753ff..ea7901dde155cc1df9e815fb3b4792534a1a1853 100644 (file)
@@ -70,8 +70,8 @@ public:
 template <int dim>
 void
 check_this(const DoFHandler<dim> &dof_handler,
-           const Vector<double> v_node,
-           const Vector<double> v_cell)
+           const Vector<double>  &v_node,
+           const Vector<double>  &v_cell)
 {
   XDataOut<dim> data_out;
   data_out.attach_dof_handler(dof_handler);
index 1453c3ba970557cc60a888ac00a06e1b3e60747d..4b3a92b79e4a98050c906dad71cd65baa4312025 100644 (file)
@@ -112,8 +112,8 @@ public:
 template <int dim>
 void
 check_this(const DoFHandler<dim> &dof_handler,
-           const Vector<double> v_node,
-           const Vector<double> v_cell)
+           const Vector<double>  &v_node,
+           const Vector<double>  &v_cell)
 {
   XDataOut<dim> data_out;
   data_out.attach_dof_handler(dof_handler);
index 45f531ed62419c097bd1829297fc3029bf30fde1..b622f5beb406ecc65c5e5960a649af7e85f0be17 100644 (file)
@@ -36,8 +36,8 @@
 template <int dim>
 void
 check_this(const DoFHandler<dim> &dof_handler,
-           const Vector<double> v_node,
-           const Vector<double> v_cell)
+           const Vector<double>  &v_node,
+           const Vector<double>  &v_cell)
 {
   std::vector<DataComponentInterpretation::DataComponentInterpretation>
     data_component_interpretation(
index 333e2e01d2a763abad068001bb22c73328bd9005..bda6f3e03ebe728dcf99ae2116428eed7885ebd9 100644 (file)
@@ -29,8 +29,8 @@
 template <int dim>
 void
 check_this(const DoFHandler<dim> &dof_handler,
-           const Vector<double> v_node,
-           const Vector<double> v_cell)
+           const Vector<double>  &v_node,
+           const Vector<double>  &v_cell)
 {
   DataOut<dim> data_out;
   data_out.add_data_vector(dof_handler, v_node, "node_data");
index 6953211136dfa590a8c9371db95c54b598c17229..023058c8e9aedcb0f88521a4aec2d2ab1d930c21 100644 (file)
@@ -29,8 +29,8 @@
 template <int dim>
 void
 check_this(const DoFHandler<dim> &dof_handler,
-           const Vector<double> v_node,
-           const Vector<double> v_cell)
+           const Vector<double>  &v_node,
+           const Vector<double>  &v_cell)
 {
   DataOut<dim> data_out;
   data_out.attach_triangulation(dof_handler.get_triangulation());
index d0a8dba66b3cfcb245ead13f39bc64a65b5e8424..2343defe32eed78943de43651be2a58896e6d672 100644 (file)
@@ -99,7 +99,7 @@ check()
       return cell;
     },
 
-    [](const Triangulation<dim> &                        t,
+    [](const Triangulation<dim>                         &t,
        const typename Triangulation<dim>::cell_iterator &old_cell) ->
     typename Triangulation<dim>::cell_iterator {
       if (old_cell != t.end())
index e01b174f48727b3a6618a287927c5c2d7b249aa9..99319b06a7607b041af6bf7ff08a9902a47837ae 100644 (file)
@@ -114,7 +114,7 @@ check()
 
       for (unsigned int i = 0; i < dofs_per_cell; ++i)
         {
-          const auto &       this_qp = qp[i];
+          const auto        &this_qp = qp[i];
           const unsigned int i_group = fe.system_to_base_index(i).first.first;
           const unsigned int i_comp  = fe.system_to_component_index(i).first;
           if (i_group == 0)
index 5ad45549ec73642abc6761ba67a240db659cf420..94350fc653d6aceed22077ebdf1dd964887faec3 100644 (file)
@@ -114,7 +114,7 @@ check()
 
       for (unsigned int i = 0; i < dofs_per_cell; ++i)
         {
-          const auto &       this_qp = qp[i];
+          const auto        &this_qp = qp[i];
           const unsigned int i_group = fe.system_to_base_index(i).first.first;
           const unsigned int i_comp  = fe.system_to_component_index(i).first;
           if (i_group == 0)
index 1f4ad05b3a001392c02a33235b1ce75ff8f7e3bb..d6f9d4f3e3b08f14e3dcc4f0d2d801390c357717 100644 (file)
@@ -33,7 +33,7 @@
 template <int dim, int spacedim>
 void
 write_patches(const std::vector<DataOutBase::Patch<dim, spacedim>> &patches,
-              std::ostream &                                        out)
+              std::ostream                                         &out)
 {
   std::vector<std::string> names(2);
   names[0] = std::string("first name");
index c2ab6fd00bcae3930f9987be79021ba48de4f70c..6083ba56c832e1952f3a6040b6c70789385642b0 100644 (file)
@@ -107,7 +107,7 @@ void
 check_cont(unsigned int         ncells,
            unsigned int         nsub,
            DataOutBase::DXFlags flags,
-           std::ostream &       out)
+           std::ostream        &out)
 {
   std::vector<DataOutBase::Patch<dim, dim>> patches;
 
@@ -138,7 +138,7 @@ check_all(std::ostream &log)
   std::ostream &out = log;
 
   char                 name[100];
-  const char *         format = "%d%d%s.dx";
+  const char          *format = "%d%d%s.dx";
   DataOutBase::DXFlags flags(false, false, false, false);
   if (dim == 2 && spacedim == 2)
     {
index 6961b2335424307714f4a821e9fb1421dcd02dd2..c65f36a4102bc6863cf0584ef67d5303a144cbd1 100644 (file)
@@ -62,7 +62,7 @@ void
 check_cont(unsigned int          ncells,
            unsigned int          nsub,
            DataOutBase::EpsFlags flags,
-           std::ostream &        out)
+           std::ostream         &out)
 {
   std::vector<DataOutBase::Patch<dim, dim>> patches;
 
@@ -89,7 +89,7 @@ check_all(std::ostream &log)
 #endif
 
   char                  name[100];
-  const char *          format = "%d%d%d%s.eps";
+  const char           *format = "%d%d%d%s.eps";
   DataOutBase::EpsFlags flags;
 
   if (true)
index 077526caf5adac892af401b82175729a4d31a8f3..b4e024ed6e4d316f6fc2996a9fdbc89937d0e88f 100644 (file)
@@ -64,7 +64,7 @@ check_all(std::ostream &log)
 #endif
 
   char                      name[100];
-  const char *              format = "%d%d.gnuplot";
+  const char               *format = "%d%d.gnuplot";
   DataOutBase::GnuplotFlags flags;
   for (unsigned int i = 0; i < 5; ++i)
     {
index df7678648ed4654775b2937ecb5e016b27fde8eb..f9808147e618d080faa8ee454325bbec878d7d7b 100644 (file)
@@ -66,7 +66,7 @@ check_all(std::ostream &log)
 #endif
 
   char                      name[100];
-  const char *              format = "%d%d.gnuplot";
+  const char               *format = "%d%d.gnuplot";
   DataOutBase::GnuplotFlags flags;
   for (unsigned int i = 0; i < 5; ++i)
     {
index 734528e19afa49bf3cfeee5f935afa79293cd6df..039d6c778d80c6197804b67a208a67acdae48c1b 100644 (file)
@@ -39,7 +39,7 @@ class DataOutX : public DataOutInterface<dim, spacedim>
 {
 public:
   DataOutX(const std::vector<::DataOutBase::Patch<dim, spacedim>> &patches,
-           const std::vector<std::string> &                        names)
+           const std::vector<std::string>                         &names)
     : patches(patches)
     , names(names)
   {}
@@ -58,7 +58,7 @@ public:
 
 private:
   const std::vector<::DataOutBase::Patch<dim, spacedim>> &patches;
-  const std::vector<std::string> &                        names;
+  const std::vector<std::string>                         &names;
 };
 
 
index 772e070c3b9c62ddda5d96c8ddc7e07821199cb9..7ebb8d4c7ecc329c54543067e84c449bb0bb3397 100644 (file)
@@ -62,7 +62,7 @@ void
 check_cont(unsigned int             ncells,
            unsigned int             nsub,
            DataOutBase::PovrayFlags flags,
-           std::ostream &           out)
+           std::ostream            &out)
 {
   std::vector<DataOutBase::Patch<dim, dim>> patches;
 
index 06df752a8e2f1a1f5c8670bd599d8e550d97a4e3..85462cba2703de638d9fb41b41f07150a3418879 100644 (file)
@@ -47,8 +47,8 @@
 template <int dim>
 void
 check_this(const DoFHandler<dim> &dof_handler,
-           const Vector<double> v_node,
-           const Vector<double> v_cell);
+           const Vector<double>  &v_node,
+           const Vector<double>  &v_cell);
 
 
 
index a1dce7be0e65b186efa4e158782859de3a9dc6f7..a7a69246199738bba1ccbc8e8191bc2de2b37773 100644 (file)
@@ -63,7 +63,7 @@ template <int dim>
 void
 ComputeMagnitude<dim>::evaluate_vector_field(
   const DataPostprocessorInputs::Vector<dim> &inputs,
-  std::vector<Vector<double>> &               computed_quantities) const
+  std::vector<Vector<double>>                &computed_quantities) const
 {
   Assert(computed_quantities.size() == inputs.solution_values.size(),
          ExcDimensionMismatch(computed_quantities.size(),
index 97060d28b795b54b1b484db42d2f04ae6d63afea..b86c4690a9538e645f62170882a2a889440400de 100644 (file)
@@ -83,7 +83,7 @@ template <int dim>
 void
 ComputeMagnitudes<dim>::evaluate_vector_field(
   const DataPostprocessorInputs::Vector<dim> &inputs,
-  std::vector<Vector<double>> &               computed_quantities) const
+  std::vector<Vector<double>>                &computed_quantities) const
 {
   Assert(computed_quantities.size() == inputs.solution_values.size(),
          ExcDimensionMismatch(computed_quantities.size(),
index da8722cc3bc57e9d86149cabfc72c1be16e008f6..068893dc6781d2b629b11309e099c69f6ba24287 100644 (file)
@@ -53,7 +53,7 @@ namespace DataPostprocessors
     virtual void
     evaluate_vector_field(
       const DataPostprocessorInputs::Vector<dim> &inputs,
-      std::vector<Vector<double>> &               computed_quantities) const;
+      std::vector<Vector<double>>                &computed_quantities) const;
   };
 
   template <int dim>
@@ -66,7 +66,7 @@ namespace DataPostprocessors
   void
   ComplexMagnitude<dim>::evaluate_vector_field(
     const DataPostprocessorInputs::Vector<dim> &inputs,
-    std::vector<Vector<double>> &               computed_quantities) const
+    std::vector<Vector<double>>                &computed_quantities) const
   {
     Assert(computed_quantities.size() == inputs.solution_values.size(),
            ExcDimensionMismatch(computed_quantities.size(),
@@ -96,7 +96,7 @@ namespace DataPostprocessors
     virtual void
     evaluate_vector_field(
       const DataPostprocessorInputs::Vector<dim> &inputs,
-      std::vector<Vector<double>> &               computed_quantities) const;
+      std::vector<Vector<double>>                &computed_quantities) const;
   };
 
   template <int dim>
@@ -109,7 +109,7 @@ namespace DataPostprocessors
   void
   ComplexPhase<dim>::evaluate_vector_field(
     const DataPostprocessorInputs::Vector<dim> &inputs,
-    std::vector<Vector<double>> &               computed_quantities) const
+    std::vector<Vector<double>>                &computed_quantities) const
   {
     Assert(computed_quantities.size() == inputs.solution_values.size(),
            ExcDimensionMismatch(computed_quantities.size(),
index de957fb0920b94ca3e6eb576d290052e2b2a77a6..5a101915d5480a0dec6216c992c1efbafed0993c 100644 (file)
@@ -58,9 +58,9 @@
 
 
 void
-laplace_solve(const SparseMatrix<double> &     S,
+laplace_solve(const SparseMatrix<double>      &S,
               const AffineConstraints<double> &constraints,
-              Vector<double> &                 u)
+              Vector<double>                  &u)
 {
   const unsigned int n_dofs = S.n();
   const auto         op     = linear_operator(S);
index a6bc73e86ac5ea19b445ab1182d43eab9abcb818..8a0eec3d49210fe6ddd88f9b58ddd53a28124a57 100644 (file)
@@ -36,8 +36,8 @@ my_check_this(const DoFHandler<1> &,
 template <int dim>
 void
 my_check_this(const DoFHandler<dim> &dof_handler,
-              const Vector<double> v_node,
-              const Vector<double> v_cell)
+              const Vector<double>  &v_node,
+              const Vector<double>  &v_cell)
 {
   DataOutFaces<dim> data_out_faces;
   data_out_faces.attach_dof_handler(dof_handler);
@@ -66,8 +66,8 @@ my_check_this(const DoFHandler<dim> &dof_handler,
 template <int dim>
 void
 check_this(const DoFHandler<dim> &dof_handler,
-           const Vector<double> v_node,
-           const Vector<double> v_cell)
+           const Vector<double>  &v_node,
+           const Vector<double>  &v_cell)
 {
   // since we can't forward declare
   // check_this in this file (it is forward
index 718be22a29da30626d9dc731ad7544a166befc5f..bc22572054ac2de0cf9f855b187a1776ff28565a 100644 (file)
@@ -38,8 +38,8 @@ my_check_this(const DoFHandler<1> &,
 template <int dim>
 void
 my_check_this(const DoFHandler<dim> &dof_handler,
-              const Vector<double> v_node_x,
-              const Vector<double> v_cell_x)
+              const Vector<double>  &v_node_x,
+              const Vector<double>  &v_cell_x)
 {
   BlockVector<double> v_node, v_cell;
   make_block_vector(v_node_x, v_node);
@@ -73,8 +73,8 @@ my_check_this(const DoFHandler<dim> &dof_handler,
 template <int dim>
 void
 check_this(const DoFHandler<dim> &dof_handler,
-           const Vector<double> v_node,
-           const Vector<double> v_cell)
+           const Vector<double>  &v_node,
+           const Vector<double>  &v_cell)
 {
   // since we can't forward declare
   // check_this in this file (it is forward
index fb035c4c12ba2f926913799d38bafd4c6eee13da..5a803ff263cb476b6df5e17a0112a9d3fbcf4c52 100644 (file)
@@ -81,8 +81,8 @@ my_check_this(const DoFHandler<1> &,
 template <int dim>
 void
 my_check_this(const DoFHandler<dim> &dof_handler,
-              const Vector<double> v_node,
-              const Vector<double> v_cell)
+              const Vector<double>  &v_node,
+              const Vector<double>  &v_cell)
 {
   XDataOut<dim> data_out;
   data_out.attach_dof_handler(dof_handler);
@@ -125,8 +125,8 @@ my_check_this(const DoFHandler<dim> &dof_handler,
 template <int dim>
 void
 check_this(const DoFHandler<dim> &dof_handler,
-           const Vector<double> v_node,
-           const Vector<double> v_cell)
+           const Vector<double>  &v_node,
+           const Vector<double>  &v_cell)
 {
   // since we can't forward declare
   // check_this in this file (it is forward
index a386af306de5cafdec53d1bbc51741e68878a34e..dce8683c6fb951cfe2dd95996c41a020db7e5923 100644 (file)
@@ -104,8 +104,8 @@ my_check_this(const DoFHandler<1> &,
 template <int dim>
 void
 my_check_this(const DoFHandler<dim> &dof_handler,
-              const Vector<double> v_node,
-              const Vector<double> v_cell)
+              const Vector<double>  &v_node,
+              const Vector<double>  &v_cell)
 {
   XDataOut<dim> data_out;
   data_out.attach_dof_handler(dof_handler);
@@ -169,8 +169,8 @@ my_check_this(const DoFHandler<dim> &dof_handler,
 template <int dim>
 void
 check_this(const DoFHandler<dim> &dof_handler,
-           const Vector<double> v_node,
-           const Vector<double> v_cell)
+           const Vector<double>  &v_node,
+           const Vector<double>  &v_cell)
 {
   // since we can't forward declare
   // check_this in this file (it is forward
index 83d72bd373f2c9c9588de232a1da1d9ca733c2da..d5ab263cfc6180cd69160907dea17c2f41e026cc 100644 (file)
@@ -38,8 +38,8 @@ my_check_this(const DoFHandler<1> &,
 template <int dim>
 void
 my_check_this(const DoFHandler<dim> &dof_handler,
-              const Vector<double> v_node,
-              const Vector<double> v_cell)
+              const Vector<double>  &v_node,
+              const Vector<double>  &v_cell)
 {
   DataOutFaces<dim> data_out_faces;
   data_out_faces.add_data_vector(dof_handler, v_node, "node_data");
@@ -63,8 +63,8 @@ my_check_this(const DoFHandler<dim> &dof_handler,
 template <int dim>
 void
 check_this(const DoFHandler<dim> &dof_handler,
-           const Vector<double> v_node,
-           const Vector<double> v_cell)
+           const Vector<double>  &v_node,
+           const Vector<double>  &v_cell)
 {
   // since we can't forward declare
   // check_this in this file (it is forward
index 3b2bb18f1dde7f1a4a20442d90e7d5417b32fe39..02206598480160c597c7ab9f0ee40d0a875f2228 100644 (file)
@@ -97,7 +97,7 @@ namespace Step8
   template <int dim>
   void
   right_hand_side(const std::vector<Point<dim>> &points,
-                  std::vector<Tensor<1, dim>> &  values)
+                  std::vector<Tensor<1, dim>>   &values)
   {
     Assert(values.size() == points.size(),
            ExcDimensionMismatch(values.size(), points.size()));
@@ -324,7 +324,7 @@ namespace Step8
     virtual void
     evaluate_vector_field(
       const DataPostprocessorInputs::Vector<dim> &input_data,
-      std::vector<Vector<double>> &               computed_quantities) const
+      std::vector<Vector<double>>                &computed_quantities) const
     {
       AssertDimension(input_data.solution_gradients.size(),
                       computed_quantities.size());
index ff031f5cdbf8f3ee96d87bf143626d453ec7461d..a464952619c20bad3c613206262db0ca816ab963 100644 (file)
@@ -102,7 +102,7 @@ namespace Step8
   template <int dim>
   void
   right_hand_side(const std::vector<Point<dim>> &points,
-                  std::vector<Tensor<1, dim>> &  values)
+                  std::vector<Tensor<1, dim>>   &values)
   {
     Assert(values.size() == points.size(),
            ExcDimensionMismatch(values.size(), points.size()));
@@ -329,7 +329,7 @@ namespace Step8
     virtual void
     evaluate_vector_field(
       const DataPostprocessorInputs::Vector<dim> &input_data,
-      std::vector<Vector<double>> &               computed_quantities) const
+      std::vector<Vector<double>>                &computed_quantities) const
     {
       AssertDimension(input_data.solution_gradients.size(),
                       computed_quantities.size());
index d812eef1ed297c75fabef4ecf83a2ba7fe58ffe7..7ad6922d32408c446208b82a8f69d6c6a59977e3 100644 (file)
@@ -36,8 +36,8 @@ my_check_this(const DoFHandler<3> &,
 template <int dim>
 void
 my_check_this(const DoFHandler<dim> &dof_handler,
-              const Vector<double> v_node,
-              const Vector<double> v_cell)
+              const Vector<double>  &v_node,
+              const Vector<double>  &v_cell)
 {
   DataOutRotation<dim> data_out_rotation;
   data_out_rotation.attach_dof_handler(dof_handler);
@@ -71,8 +71,8 @@ my_check_this(const DoFHandler<dim> &dof_handler,
 template <int dim>
 void
 check_this(const DoFHandler<dim> &dof_handler,
-           const Vector<double> v_node,
-           const Vector<double> v_cell)
+           const Vector<double>  &v_node,
+           const Vector<double>  &v_cell)
 {
   // since we can't forward declare
   // check_this in this file (it is forward
index 132d3e4b7176b12d3740b8701c2cdfd631ea1858..48e24c034bfa3c60bdf11e2a35dd0e9e0e33642c 100644 (file)
@@ -39,8 +39,8 @@ my_check_this(const DoFHandler<3> &,
 template <int dim>
 void
 my_check_this(const DoFHandler<dim> &dof_handler,
-              const Vector<double> v_node_x,
-              const Vector<double> v_cell_x)
+              const Vector<double>  &v_node_x,
+              const Vector<double>  &v_cell_x)
 {
   BlockVector<double> v_node, v_cell;
   make_block_vector(v_node_x, v_node);
@@ -78,8 +78,8 @@ my_check_this(const DoFHandler<dim> &dof_handler,
 template <int dim>
 void
 check_this(const DoFHandler<dim> &dof_handler,
-           const Vector<double> v_node,
-           const Vector<double> v_cell)
+           const Vector<double>  &v_node,
+           const Vector<double>  &v_cell)
 {
   // since we can't forward declare
   // check_this in this file (it is forward
index 9d31fe0bca731886b1621f7f56089e2319ee4253..9a2042248e6cd0dc3e22753798e01841d4c88faa 100644 (file)
@@ -80,8 +80,8 @@ my_check_this(const DoFHandler<3> &,
 template <int dim>
 void
 my_check_this(const DoFHandler<dim> &dof_handler,
-              const Vector<double> v_node,
-              const Vector<double> v_cell)
+              const Vector<double>  &v_node,
+              const Vector<double>  &v_cell)
 {
   XDataOut<dim> data_out;
   data_out.attach_dof_handler(dof_handler);
@@ -126,8 +126,8 @@ my_check_this(const DoFHandler<dim> &dof_handler,
 template <int dim>
 void
 check_this(const DoFHandler<dim> &dof_handler,
-           const Vector<double> v_node,
-           const Vector<double> v_cell)
+           const Vector<double>  &v_node,
+           const Vector<double>  &v_cell)
 {
   // since we can't forward declare
   // check_this in this file (it is forward
index 3a838468a1818e3ccc2ae2ed54410d6d31ba7cb0..caa7bf081d949c6243752c51709b90b7adeaf968 100644 (file)
@@ -103,8 +103,8 @@ my_check_this(const DoFHandler<3> &,
 template <int dim>
 void
 my_check_this(const DoFHandler<dim> &dof_handler,
-              const Vector<double> v_node,
-              const Vector<double> v_cell)
+              const Vector<double>  &v_node,
+              const Vector<double>  &v_cell)
 {
   XDataOut<dim> data_out;
   data_out.attach_dof_handler(dof_handler);
@@ -170,8 +170,8 @@ my_check_this(const DoFHandler<dim> &dof_handler,
 template <int dim>
 void
 check_this(const DoFHandler<dim> &dof_handler,
-           const Vector<double> v_node,
-           const Vector<double> v_cell)
+           const Vector<double>  &v_node,
+           const Vector<double>  &v_cell)
 {
   // since we can't forward declare
   // check_this in this file (it is forward
index 40db9702c792b395b0e47602a9a1014632bc3afb..728a609b98fa62dbdd58dfabc715e110668f6b4f 100644 (file)
@@ -38,8 +38,8 @@ my_check_this(const DoFHandler<3> &,
 template <int dim>
 void
 my_check_this(const DoFHandler<dim> &dof_handler,
-              const Vector<double> v_node,
-              const Vector<double> v_cell)
+              const Vector<double>  &v_node,
+              const Vector<double>  &v_cell)
 {
   DataOutRotation<dim> data_out_rotation;
   data_out_rotation.add_data_vector(dof_handler, v_node, "node_data");
@@ -67,8 +67,8 @@ my_check_this(const DoFHandler<dim> &dof_handler,
 template <int dim>
 void
 check_this(const DoFHandler<dim> &dof_handler,
-           const Vector<double> v_node,
-           const Vector<double> v_cell)
+           const Vector<double>  &v_node,
+           const Vector<double>  &v_cell)
 {
   // since we can't forward declare check_this in this file (it is forward
   // declared in data_out_common.h), we also can't make the driver file aware
index 188a1317e963d135a73877d3993039831337b98a..a011f1c6b21a3777c55e624216c11786c8f3495f 100644 (file)
@@ -41,7 +41,7 @@ check_this(const DoFHandler<dim> &,
 
 template <>
 void
-check_this<1>(const DoFHandler<1> dof_handler,
+check_this<1>(const DoFHandler<1>  &dof_handler,
               const Vector<double> &v_node,
               const Vector<double> &v_cell)
 {
index 370b5b49c5534bc6bc45dc92f1cfdba1f64305ea..9a62c8e418b65c437d3fbc35af2b6ecb397f899f 100644 (file)
@@ -45,7 +45,7 @@ check_this(const DoFHandler<dim> &,
 
 template <>
 void
-check_this<1>(const DoFHandler<1> dof_handler,
+check_this<1>(const DoFHandler<1>  &dof_handler,
               const Vector<double> &v_node,
               const Vector<double> &v_cell)
 {
index fc0a829380fa24450b600274bf3451a3ff32b5f0..96e697e6fcdb14b95de1022961cbde5a8f3a487d 100644 (file)
@@ -62,7 +62,7 @@ public:
              smoothing_option = dealii::Triangulation<dim>::none);
   void
   run(std::vector<unsigned int> &n_cell,
-      std::set<Location<dim>> &  position_list);
+      std::set<Location<dim>>   &position_list);
 
 private:
   void
@@ -218,7 +218,7 @@ TriaTest<dim>::TriaTest(
 template <int dim>
 void
 TriaTest<dim>::run(std::vector<unsigned int> &n_cell,
-                   std::set<Location<dim>> &  position_list)
+                   std::set<Location<dim>>   &position_list)
 {
   n_cell.clear();
   position_list.clear();
index 897ace4b0556baa49b03ecdbcd601f5a14bce9ec..b8e7af6a2128125d6af0bdbd5fc4d4f89ed61a18 100644 (file)
@@ -62,7 +62,7 @@ public:
              smoothing_option = dealii::Triangulation<dim>::none);
   void
   run(std::vector<unsigned int> &n_cell,
-      std::set<Location<dim>> &  position_list);
+      std::set<Location<dim>>   &position_list);
 
 private:
   void
@@ -218,7 +218,7 @@ TriaTest<dim>::TriaTest(
 template <int dim>
 void
 TriaTest<dim>::run(std::vector<unsigned int> &n_cell,
-                   std::set<Location<dim>> &  position_list)
+                   std::set<Location<dim>>   &position_list)
 {
   n_cell.clear();
   position_list.clear();
index 8e226d4cc7d81c7c4b3c563324b03b7a247f0129..12f9a28b65bdcc13022f65368e0ac8bdc1dc7847 100644 (file)
@@ -33,7 +33,7 @@
 template <int dim, int spacedim>
 void
 write_vtk(const parallel::distributed::Triangulation<dim, spacedim> &tria,
-          const char *                                               filename)
+          const char                                                *filename)
 {
   AssertThrow(tria.are_vertices_communicated_to_p4est(),
               ExcMessage("To use this function the flag "
index 651718587d28311e5c9743d4eab6968cebdf9cc6..d0008ce200ec892080060212b54bf34046c47dd1 100644 (file)
@@ -101,7 +101,7 @@ template <int dim>
 void
 test_global_refinement_parallel(
   void (*test_block_list)(const parallel::distributed::Triangulation<dim> &tr,
-                          const FiniteElement<dim> &                       fe))
+                          const FiniteElement<dim>                        &fe))
 {
   parallel::distributed::Triangulation<dim> trl(
     MPI_COMM_WORLD,
index acf37ad9868f1b1ded6d67a9eb158166299b0ecd..386d3aff566636c0fbc7f16441711e2778f6c09c 100644 (file)
@@ -21,7 +21,7 @@
 template <int dim>
 void
 test_block_list(const parallel::distributed::Triangulation<dim> &tr,
-                const FiniteElement<dim> &                       fe)
+                const FiniteElement<dim>                        &fe)
 {
   deallog << fe.get_name() << std::endl;
 
index 15a4affea1877a103a7abb004738d7daade9d2c3..fd76dfd2d16c51ac2b81003a1adaec709680ae2b 100644 (file)
@@ -48,7 +48,7 @@ template <int dim>
 void
 make_stokes_matrix(const DoFHandler<dim> &dof_handler,
                    const Quadrature<dim> &quadrature_formula,
-                   SparseMatrix<double> system_matrix)
+                   SparseMatrix<double>  &system_matrix)
 {
   const FiniteElement<dim> &fe     = dof_handler.get_fe();
   const unsigned int        degree = fe.degree;
index b4b21a0c831ec382aeebb336b442539d34a6c4c5..1548af9936226772a01e454c44a010c0bab6fd1c 100644 (file)
@@ -82,7 +82,7 @@ void
 check_renumbering(DoFHandler<dim> &mgdof, bool discontinuous)
 {
   const FiniteElement<dim> &element = mgdof.get_fe();
-  DoFHandler<dim> &         dof     = mgdof;
+  DoFHandler<dim>          &dof     = mgdof;
 
   // Prepare a reordering of
   // components for later use
index afcd75f46b54451021cae8045be0dd4b5e6173d1..f884fbeae9436790c97bb959971e4c5756ec1cae 100644 (file)
@@ -43,7 +43,7 @@ template <int dim>
 void
 print_dofs(const DoFHandler<dim> &dof)
 {
-  const FiniteElement<dim> &           fe = dof.get_fe();
+  const FiniteElement<dim>            &fe = dof.get_fe();
   std::vector<types::global_dof_index> v(fe.dofs_per_cell);
   std::shared_ptr<FEValues<dim>>       fevalues;
 
@@ -78,7 +78,7 @@ template <int dim>
 void
 print_dofs(const DoFHandler<dim> &dof, unsigned int level)
 {
-  const FiniteElement<dim> &           fe = dof.get_fe();
+  const FiniteElement<dim>            &fe = dof.get_fe();
   std::vector<types::global_dof_index> v(fe.dofs_per_cell);
   std::shared_ptr<FEValues<dim>>       fevalues;
 
@@ -113,7 +113,7 @@ void
 check_renumbering(DoFHandler<dim> &mgdof)
 {
   const FiniteElement<dim> &element = mgdof.get_fe();
-  DoFHandler<dim> &         dof     = mgdof;
+  DoFHandler<dim>          &dof     = mgdof;
   deallog << element.get_name() << std::endl;
 
   // Prepare a reordering of
index 25732be20ca1c3dc1111ff639d8df465d9965e4f..5faedf07cec9fe2d59cb78df67ac2400ba64a04d 100644 (file)
@@ -43,7 +43,7 @@ template <int dim>
 void
 print_dofs(const DoFHandler<dim> &dof)
 {
-  const FiniteElement<dim> &           fe = dof.get_fe();
+  const FiniteElement<dim>            &fe = dof.get_fe();
   std::vector<types::global_dof_index> v(fe.dofs_per_cell);
   std::shared_ptr<FEValues<dim>>       fevalues;
 
index a575fc10011c1d5f6299c4fa3f1641208632f1d8..cef59224ba5a22ebd203b2ef42000a694bfe9db9 100644 (file)
@@ -43,7 +43,7 @@ template <int dim>
 void
 print_dofs(const DoFHandler<dim> &dof)
 {
-  const FiniteElement<dim> &           fe = dof.get_fe();
+  const FiniteElement<dim>            &fe = dof.get_fe();
   std::vector<types::global_dof_index> v(fe.dofs_per_cell);
   std::shared_ptr<FEValues<dim>>       fevalues;
 
index b5f3a1c0ca8e0043ca4b9dd0657cea7b4b71eb66..0e01d639b89dd411147e018c67fc1149096eebfa 100644 (file)
@@ -43,7 +43,7 @@ template <int dim>
 void
 print_dofs(const DoFHandler<dim> &dof)
 {
-  const FiniteElement<dim> &           fe = dof.get_fe();
+  const FiniteElement<dim>            &fe = dof.get_fe();
   std::vector<types::global_dof_index> v(fe.dofs_per_cell);
   std::shared_ptr<FEValues<dim>>       fevalues;
 
index a2001cb8ca34ed3b6f53086370ab9cd592e7b9e5..a1e9784473cd44c645363fcf02d8b6cf8a01ebec 100644 (file)
@@ -43,7 +43,7 @@ template <int dim>
 void
 print_dofs(const DoFHandler<dim> &dof)
 {
-  const FiniteElement<dim> &           fe = dof.get_fe();
+  const FiniteElement<dim>            &fe = dof.get_fe();
   std::vector<types::global_dof_index> v(fe.dofs_per_cell);
   std::shared_ptr<FEValues<dim>>       fevalues;
 
index fed74487e99459973975fbbf34657fd9e3acd7ef..d52f2dec86d868a4b4dfc5439e0870e4b4e19e00 100644 (file)
@@ -43,7 +43,7 @@ template <int dim>
 void
 print_dofs(const DoFHandler<dim> &dof)
 {
-  const FiniteElement<dim> &           fe = dof.get_fe();
+  const FiniteElement<dim>            &fe = dof.get_fe();
   std::vector<types::global_dof_index> v(fe.dofs_per_cell);
   std::shared_ptr<FEValues<dim>>       fevalues;
 
index be6b12e6386c9ed8ad72a4f7ff98eb999d1f2075..16c031fe2e86cbbfbfba841b7e8df32069e2c98b 100644 (file)
@@ -43,7 +43,7 @@ template <int dim>
 void
 print_dofs(const DoFHandler<dim> &dof)
 {
-  const FiniteElement<dim> &           fe = dof.get_fe();
+  const FiniteElement<dim>            &fe = dof.get_fe();
   std::vector<types::global_dof_index> v(fe.dofs_per_cell);
   std::shared_ptr<FEValues<dim>>       fevalues;
 
index e059e9257a84b3bdf33200a6be63e03926177db2..070290552638b8ced94aaa9229b2ed7c5d8e0c9b 100644 (file)
@@ -43,7 +43,7 @@ template <int dim, class stream>
 void
 print_dofs(const DoFHandler<dim> &dof, stream &out)
 {
-  const FiniteElement<dim> &           fe = dof.get_fe();
+  const FiniteElement<dim>            &fe = dof.get_fe();
   std::vector<types::global_dof_index> v(fe.dofs_per_cell);
   std::shared_ptr<FEValues<dim>>       fevalues;
 
index fe7e44aaca9b6c1e80398286436bbffe2f6147a2..b013c26be0bdc33b0073894cba18be249199f756 100644 (file)
@@ -46,7 +46,7 @@ print_dofs(const DoFHandler<dim> &dof, stream &out)
 {
   out << std::setprecision(2);
   out << std::fixed;
-  const FiniteElement<dim> &           fe = dof.get_fe();
+  const FiniteElement<dim>            &fe = dof.get_fe();
   std::vector<types::global_dof_index> v(fe.dofs_per_cell);
   std::shared_ptr<FEValues<dim>>       fevalues;
 
index 1bab56cd77d4b4082554638de87660772741e4ad..6e4eecb634c2cb6af154b7426d8176c7ef9355e7 100644 (file)
@@ -191,7 +191,7 @@ public:
 
 private:
   Triangulation<dim> *tria;
-  DoFHandler<dim> *   dof;
+  DoFHandler<dim>    *dof;
   CurvedLine<dim>     curved_line;
   Ball<dim>           ball;
 };
index 5a860707a4017a1f32a57a3eb746cf542ed10a6e..0e42ae238cb25b0540bfdefe6161fe7cd0562bd4 100644 (file)
@@ -169,21 +169,21 @@ void
 generate_grid(Triangulation<3> &triangulation, int orientation)
 {
   Point<3>              vertices_1[] = {Point<3>(-1., -1., -3.),
-                           Point<3>(+1., -1., -3.),
-                           Point<3>(-1., +1., -3.),
-                           Point<3>(+1., +1., -3.),
-                           Point<3>(-1., -1., -1.),
-                           Point<3>(+1., -1., -1.),
-                           Point<3>(-1., +1., -1.),
-                           Point<3>(+1., +1., -1.),
-                           Point<3>(-1., -1., +1.),
-                           Point<3>(+1., -1., +1.),
-                           Point<3>(-1., +1., +1.),
-                           Point<3>(+1., +1., +1.),
-                           Point<3>(-1., -1., +3.),
-                           Point<3>(+1., -1., +3.),
-                           Point<3>(-1., +1., +3.),
-                           Point<3>(+1., +1., +3.)};
+                                        Point<3>(+1., -1., -3.),
+                                        Point<3>(-1., +1., -3.),
+                                        Point<3>(+1., +1., -3.),
+                                        Point<3>(-1., -1., -1.),
+                                        Point<3>(+1., -1., -1.),
+                                        Point<3>(-1., +1., -1.),
+                                        Point<3>(+1., +1., -1.),
+                                        Point<3>(-1., -1., +1.),
+                                        Point<3>(+1., -1., +1.),
+                                        Point<3>(-1., +1., +1.),
+                                        Point<3>(+1., +1., +1.),
+                                        Point<3>(-1., -1., +3.),
+                                        Point<3>(+1., -1., +3.),
+                                        Point<3>(-1., +1., +3.),
+                                        Point<3>(+1., +1., +3.)};
   std::vector<Point<3>> vertices(&vertices_1[0], &vertices_1[16]);
 
   std::vector<CellData<3>> cells(2, CellData<3>());
index 147fb6b1ca147a9862516d745a2a438cf7159a1e..6b2684124778667fda0d09e8a22cd4e5ce3fb0cb 100644 (file)
@@ -174,21 +174,21 @@ void
 generate_grid(Triangulation<3> &triangulation, int orientation)
 {
   Point<3>              vertices_1[] = {Point<3>(-1., -1., -3.),
-                           Point<3>(+1., -1., -3.),
-                           Point<3>(-1., +1., -3.),
-                           Point<3>(+1., +1., -3.),
-                           Point<3>(-1., -1., -1.),
-                           Point<3>(+1., -1., -1.),
-                           Point<3>(-1., +1., -1.),
-                           Point<3>(+1., +1., -1.),
-                           Point<3>(-1., -1., +1.),
-                           Point<3>(+1., -1., +1.),
-                           Point<3>(-1., +1., +1.),
-                           Point<3>(+1., +1., +1.),
-                           Point<3>(-1., -1., +3.),
-                           Point<3>(+1., -1., +3.),
-                           Point<3>(-1., +1., +3.),
-                           Point<3>(+1., +1., +3.)};
+                                        Point<3>(+1., -1., -3.),
+                                        Point<3>(-1., +1., -3.),
+                                        Point<3>(+1., +1., -3.),
+                                        Point<3>(-1., -1., -1.),
+                                        Point<3>(+1., -1., -1.),
+                                        Point<3>(-1., +1., -1.),
+                                        Point<3>(+1., +1., -1.),
+                                        Point<3>(-1., -1., +1.),
+                                        Point<3>(+1., -1., +1.),
+                                        Point<3>(-1., +1., +1.),
+                                        Point<3>(+1., +1., +1.),
+                                        Point<3>(-1., -1., +3.),
+                                        Point<3>(+1., -1., +3.),
+                                        Point<3>(-1., +1., +3.),
+                                        Point<3>(+1., +1., +3.)};
   std::vector<Point<3>> vertices(&vertices_1[0], &vertices_1[16]);
 
   std::vector<CellData<3>> cells(2, CellData<3>());
index b64616951af173340a57b03ae21425e51883bd50..625c92b7dbfc27f403e0c8de84c2aa8c38d12fa8 100644 (file)
@@ -42,7 +42,7 @@
 template <int dim>
 void
 write_mesh(const parallel::shared::Triangulation<dim> &tria,
-           const char *                                filename_)
+           const char                                 *filename_)
 {
   DataOut<dim> data_out;
   data_out.attach_triangulation(tria);
index 8ddf60743dd9f379e8f3da47e90cfb988eff3957..864187a594af7d52185e06d09a8194113f1094f6 100644 (file)
@@ -46,7 +46,7 @@
 template <int dim>
 void
 write_mesh(const parallel::shared::Triangulation<dim> &tria,
-           const char *                                filename_)
+           const char                                 *filename_)
 {
   DataOut<dim> data_out;
   data_out.attach_triangulation(tria);
index c84e6344c5d55f12aa90f9d4eefd21294fb167a1..7373bac948ae731d7c48bc467f94cabb4b0d4ebf 100644 (file)
@@ -106,7 +106,7 @@ public:
 
   virtual void
   value_list(const std::vector<Point<dim>> &points,
-             std::vector<double> &          values,
+             std::vector<double>           &values,
              const unsigned int             component = 0) const;
 };
 
@@ -127,7 +127,7 @@ Coefficient<dim>::value(const Point<dim> &p, const unsigned int) const
 template <int dim>
 void
 Coefficient<dim>::value_list(const std::vector<Point<dim>> &points,
-                             std::vector<double> &          values,
+                             std::vector<double>           &values,
                              const unsigned int             component) const
 {
   const unsigned int n_points = points.size();
index 940d8a4c821283ca37366f4e7e670bc4285840ed..b849ca6c88639cf0de30ecaf83fb6a5d952e3644 100644 (file)
@@ -126,12 +126,12 @@ EvaluateDerivative(DoFHandler<2> *dof_handler, Vector<double> &solution)
 
 template <int dim>
 void
-create_mass_matrix(const Mapping<dim> &       mapping,
-                   const DoFHandler<dim> &    dof,
-                   const Quadrature<dim> &    q,
-                   SparseMatrix<double> &     matrix,
-                   const Function<dim> &      rhs_function,
-                   Vector<double> &           rhs_vector,
+create_mass_matrix(const Mapping<dim>        &mapping,
+                   const DoFHandler<dim>     &dof,
+                   const Quadrature<dim>     &q,
+                   SparseMatrix<double>      &matrix,
+                   const Function<dim>       &rhs_function,
+                   Vector<double>            &rhs_vector,
                    const Function<dim> *const coefficient = nullptr)
 {
   UpdateFlags update_flags =
@@ -323,11 +323,11 @@ create_mass_matrix(const Mapping<dim> &       mapping,
 
 template <int dim>
 void
-create_right_hand_side(const Mapping<dim> &   mapping,
+create_right_hand_side(const Mapping<dim>    &mapping,
                        const DoFHandler<dim> &dof_handler,
                        const Quadrature<dim> &quadrature,
-                       const Function<dim> &  rhs_function,
-                       Vector<double> &       rhs_vector)
+                       const Function<dim>   &rhs_function,
+                       Vector<double>        &rhs_vector)
 {
   const FiniteElement<dim> &fe = dof_handler.get_fe();
   Assert(fe.n_components() == rhs_function.n_components, ExcInternalError());
@@ -420,14 +420,14 @@ create_right_hand_side(const Mapping<dim> &   mapping,
 
 template <int dim>
 void
-project(const Mapping<dim> &             mapping,
-        const DoFHandler<dim> &          dof,
+project(const Mapping<dim>              &mapping,
+        const DoFHandler<dim>           &dof,
         const AffineConstraints<double> &constraints,
-        const Quadrature<dim> &          quadrature,
-        const Function<dim> &            function,
-        Vector<double> &                 vec,
+        const Quadrature<dim>           &quadrature,
+        const Function<dim>             &function,
+        Vector<double>                  &vec,
         const bool                       enforce_zero_boundary = false,
-        const Quadrature<dim - 1> &          = QGauss<dim - 1>(2),
+        const Quadrature<dim - 1>          & = QGauss<dim - 1>(2),
         const bool project_to_boundary_first = false)
 {
   Assert(dof.get_fe().n_components() == function.n_components,
@@ -486,20 +486,20 @@ project(const Mapping<dim> &             mapping,
   else
     // no homogeneous boundary values
     if (project_to_boundary_first == true)
-    // boundary projection required
-    {
-      /*
-                 // set up a list of boundary functions for
-                 // the different boundary parts. We want the
-                 // @p{function} to hold on all parts of the
-                 // boundary
-        std::map<types::boundary_id, const Function<dim>*> boundary_functions;
-        for (types::boundary_id c=0; c<255; ++c)
-          boundary_functions[c] = &function;
-        project_boundary_values (dof, boundary_functions, q_boundary,
-               boundary_values);
-      */
-    }
+      // boundary projection required
+      {
+        /*
+                   // set up a list of boundary functions for
+                   // the different boundary parts. We want the
+                   // @p{function} to hold on all parts of the
+                   // boundary
+          std::map<types::boundary_id, const Function<dim>*> boundary_functions;
+          for (types::boundary_id c=0; c<255; ++c)
+            boundary_functions[c] = &function;
+          project_boundary_values (dof, boundary_functions, q_boundary,
+                 boundary_values);
+        */
+      }
 
 
   // set up mass matrix and right hand side
index 2ed8ff23716cdc6e29aec218fc436cf7e175b9ed..5e0769f0546f703c0f09d4767b7c2535e08e484d 100644 (file)
@@ -143,12 +143,12 @@ EvaluateDerivative(DoFHandler<3> &dof_handler, Vector<double> &solution)
 
 template <int dim>
 void
-create_mass_matrix(const Mapping<dim> &       mapping,
-                   const DoFHandler<dim> &    dof,
-                   const Quadrature<dim> &    q,
-                   SparseMatrix<double> &     matrix,
-                   const Function<dim> &      rhs_function,
-                   Vector<double> &           rhs_vector,
+create_mass_matrix(const Mapping<dim>        &mapping,
+                   const DoFHandler<dim>     &dof,
+                   const Quadrature<dim>     &q,
+                   SparseMatrix<double>      &matrix,
+                   const Function<dim>       &rhs_function,
+                   Vector<double>            &rhs_vector,
                    const Function<dim> *const coefficient = nullptr)
 {
   UpdateFlags update_flags =
@@ -311,11 +311,11 @@ create_mass_matrix(const Mapping<dim> &       mapping,
 
 template <int dim>
 void
-create_right_hand_side(const Mapping<dim> &   mapping,
+create_right_hand_side(const Mapping<dim>    &mapping,
                        const DoFHandler<dim> &dof_handler,
                        const Quadrature<dim> &quadrature,
-                       const Function<dim> &  rhs_function,
-                       Vector<double> &       rhs_vector)
+                       const Function<dim>   &rhs_function,
+                       Vector<double>        &rhs_vector)
 {
   const FiniteElement<dim> &fe = dof_handler.get_fe();
   Assert(fe.n_components() == rhs_function.n_components, ExcInternalError());
@@ -408,14 +408,14 @@ create_right_hand_side(const Mapping<dim> &   mapping,
 
 template <int dim>
 void
-project(const Mapping<dim> &             mapping,
-        const DoFHandler<dim> &          dof,
+project(const Mapping<dim>              &mapping,
+        const DoFHandler<dim>           &dof,
         const AffineConstraints<double> &constraints,
-        const Quadrature<dim> &          quadrature,
-        const Function<dim> &            function,
-        Vector<double> &                 vec,
+        const Quadrature<dim>           &quadrature,
+        const Function<dim>             &function,
+        Vector<double>                  &vec,
         const bool                       enforce_zero_boundary = false,
-        const Quadrature<dim - 1> &          = QGauss<dim - 1>(2),
+        const Quadrature<dim - 1>          & = QGauss<dim - 1>(2),
         const bool project_to_boundary_first = false)
 {
   Assert(dof.get_fe().n_components() == function.n_components,
index 74312b0ce3017872bdab8edd5b19e082351c6135..e5b83740e703f2f98f93b40af69693431a9e8e0f 100644 (file)
@@ -92,7 +92,7 @@ TestMap1<dim>::value(const Point<dim> &p, const unsigned int component) const
 template <int dim>
 void
 TestMap1<dim>::vector_value(const Point<dim> &p,
-                            Vector<double> &  return_value) const
+                            Vector<double>   &return_value) const
 {
   Assert(return_value.size() == this->n_components,
          ExcDimensionMismatch(return_value.size(), this->n_components));
@@ -149,7 +149,7 @@ TestDef1<dim>::value(const Point<dim> &p, const unsigned int component) const
 template <int dim>
 void
 TestDef1<dim>::vector_value(const Point<dim> &p,
-                            Vector<double> &  return_value) const
+                            Vector<double>   &return_value) const
 {
   Assert(return_value.size() == this->n_components,
          ExcDimensionMismatch(return_value.size(), this->n_components));
@@ -200,7 +200,7 @@ TestDef2<dim>::value(const Point<dim> &p, const unsigned int component) const
 template <int dim>
 void
 TestDef2<dim>::vector_value(const Point<dim> &p,
-                            Vector<double> &  return_value) const
+                            Vector<double>   &return_value) const
 {
   Assert(return_value.size() == this->n_components,
          ExcDimensionMismatch(return_value.size(), this->n_components));
@@ -252,7 +252,7 @@ TestDef3<dim>::value(const Point<dim> &p, const unsigned int component) const
 template <int dim>
 void
 TestDef3<dim>::vector_value(const Point<dim> &p,
-                            Vector<double> &  return_value) const
+                            Vector<double>   &return_value) const
 {
   Assert(return_value.size() == this->n_components,
          ExcDimensionMismatch(return_value.size(), this->n_components));
@@ -309,7 +309,7 @@ TestPoly<dim>::value(const Point<dim> &p, const unsigned int component) const
 template <int dim>
 void
 TestPoly<dim>::vector_value(const Point<dim> &p,
-                            Vector<double> &  return_value) const
+                            Vector<double>   &return_value) const
 {
   Assert(return_value.size() == this->n_components,
          ExcDimensionMismatch(return_value.size(), this->n_components));
@@ -417,7 +417,7 @@ main()
   deallog.get_file_stream() << std::fixed;
 
   Triangulation<2> tria_test;
-  DoFHandler<2> *  dof_handler, *dof_handler_def;
+  DoFHandler<2>   *dof_handler, *dof_handler_def;
   Point<2>         p1(0, 0), p2(1, 1);
 
   GridGenerator::hyper_rectangle(tria_test, p1, p2);
index dd4840eefbb824f1f35fcb906d423f097c1fe404..f98a04822f0020d1f71cffa6b415054a928503f8 100644 (file)
@@ -120,11 +120,11 @@ public:
   vector_value(const Point<dim> &p, Vector<double> &result) const;
   virtual void
   value_list(const std::vector<Point<dim>> &points,
-             std::vector<double> &          values,
+             std::vector<double>           &values,
              const unsigned int             component) const;
   virtual void
   vector_value_list(const std::vector<Point<dim>> &points,
-                    std::vector<Vector<double>> &  values) const;
+                    std::vector<Vector<double>>   &values) const;
 
 private:
   static const double bc_constant;
@@ -143,7 +143,7 @@ public:
   vector_value(const Point<dim> &p, Vector<double> &values) const;
   virtual void
   vector_value_list(const std::vector<Point<dim>> &points,
-                    std::vector<Vector<double>> &  value_list) const;
+                    std::vector<Vector<double>>   &value_list) const;
 
 private:
   static const double bc_constant;
@@ -154,7 +154,7 @@ const double RightHandSide<dim>::bc_constant = 0.1;
 // DEFINE EXACT SOLUTION MEMBERS
 template <int dim>
 double
-ExactSolution<dim>::value(const Point<dim> p,
+ExactSolution<dim>::value(const Point<dim>  &p,
                           const unsigned int component) const
 {
   Assert(dim >= 2, ExcNotImplemented());
@@ -173,7 +173,7 @@ ExactSolution<dim>::value(const Point<dim> & p,
 template <int dim>
 void
 ExactSolution<dim>::vector_value(const Point<dim> &p,
-                                 Vector<double> &  result) const
+                                 Vector<double>   &result) const
 {
   Assert(dim >= 2, ExcNotImplemented());
   result(0) = cos(numbers::PI * p(0)) * sin(numbers::PI * p(1)) + bc_constant;
@@ -182,7 +182,7 @@ ExactSolution<dim>::vector_value(const Point<dim> &p,
 template <int dim>
 void
 ExactSolution<dim>::value_list(const std::vector<Point<dim>> &points,
-                               std::vector<double> &          values,
+                               std::vector<double>           &values,
                                const unsigned int             component) const
 {
   Assert(values.size() == points.size(),
@@ -230,7 +230,7 @@ RightHandSide<dim>::RightHandSide()
 template <int dim>
 inline void
 RightHandSide<dim>::vector_value(const Point<dim> &p,
-                                 Vector<double> &  values) const
+                                 Vector<double>   &values) const
 {
   Assert(values.size() == dim, ExcDimensionMismatch(values.size(), dim));
   Assert(dim >= 2, ExcNotImplemented());
@@ -247,7 +247,7 @@ template <int dim>
 void
 RightHandSide<dim>::vector_value_list(
   const std::vector<Point<dim>> &points,
-  std::vector<Vector<double>> &  value_list) const
+  std::vector<Vector<double>>   &value_list) const
 {
   Assert(value_list.size() == points.size(),
          ExcDimensionMismatch(value_list.size(), points.size()));
index 3de74015bd8741b9f62360250f88b07cdfb87df0..eabccc3f4bbb78e549ebf7fa6c4e25b831d9fadf 100644 (file)
@@ -98,7 +98,7 @@ TestMap1<dim>::value(const Point<dim> &, const unsigned int) const
 template <int dim>
 void
 TestMap1<dim>::vector_value(const Point<dim> &p,
-                            Vector<double> &  return_value) const
+                            Vector<double>   &return_value) const
 {
   Assert(return_value.size() == this->n_components,
          ExcDimensionMismatch(return_value.size(), this->n_components));
@@ -189,12 +189,12 @@ EvaluateDerivative(DoFHandler<2> *dof_handler, Vector<double> &solution)
 
 template <int dim>
 void
-create_mass_matrix(const Mapping<dim> &       mapping,
-                   const DoFHandler<dim> &    dof,
-                   const Quadrature<dim> &    q,
-                   SparseMatrix<double> &     matrix,
-                   const Function<dim> &      rhs_function,
-                   Vector<double> &           rhs_vector,
+create_mass_matrix(const Mapping<dim>        &mapping,
+                   const DoFHandler<dim>     &dof,
+                   const Quadrature<dim>     &q,
+                   SparseMatrix<double>      &matrix,
+                   const Function<dim>       &rhs_function,
+                   Vector<double>            &rhs_vector,
                    const Function<dim> *const coefficient = nullptr)
 {
   UpdateFlags update_flags =
@@ -386,11 +386,11 @@ create_mass_matrix(const Mapping<dim> &       mapping,
 
 template <int dim>
 void
-create_right_hand_side(const Mapping<dim> &   mapping,
+create_right_hand_side(const Mapping<dim>    &mapping,
                        const DoFHandler<dim> &dof_handler,
                        const Quadrature<dim> &quadrature,
-                       const Function<dim> &  rhs_function,
-                       Vector<double> &       rhs_vector)
+                       const Function<dim>   &rhs_function,
+                       Vector<double>        &rhs_vector)
 {
   const FiniteElement<dim> &fe = dof_handler.get_fe();
   Assert(fe.n_components() == rhs_function.n_components, ExcInternalError());
@@ -481,15 +481,15 @@ create_right_hand_side(const Mapping<dim> &   mapping,
 
 template <int dim>
 void
-project(const Mapping<dim> &             mapping,
-        const DoFHandler<dim> &          dof,
+project(const Mapping<dim>              &mapping,
+        const DoFHandler<dim>           &dof,
         const AffineConstraints<double> &constraints,
-        const Quadrature<dim> &          quadrature,
-        const Function<dim> &            function,
-        Vector<double> &                 vec,
+        const Quadrature<dim>           &quadrature,
+        const Function<dim>             &function,
+        Vector<double>                  &vec,
         const unsigned int               min_convergence_steps,
         const bool                       enforce_zero_boundary = false,
-        const Quadrature<dim - 1> &          = QGauss<dim - 1>(2),
+        const Quadrature<dim - 1>          & = QGauss<dim - 1>(2),
         const bool project_to_boundary_first = false)
 {
   Assert(dof.get_fe().n_components() == function.n_components,
@@ -548,18 +548,18 @@ project(const Mapping<dim> &             mapping,
   else
     // no homogeneous boundary values
     if (project_to_boundary_first == true)
-    // boundary projection required
-    {
-      //   // set up a list of boundary functions for
-      //   // the different boundary parts. We want the
-      //   // @p{function} to hold on all parts of the
-      //   // boundary
-      //   std::map<types::boundary_id, const Function<dim>*>
-      //   boundary_functions; for (unsigned char c=0; c<255; ++c)
-      //     boundary_functions[c] = &function;
-      //     project_boundary_values (dof,
-      //   boundary_functions, q_boundary, boundary_values);
-    }
+      // boundary projection required
+      {
+        //   // set up a list of boundary functions for
+        //   // the different boundary parts. We want the
+        //   // @p{function} to hold on all parts of the
+        //   // boundary
+        //   std::map<types::boundary_id, const Function<dim>*>
+        //   boundary_functions; for (unsigned char c=0; c<255; ++c)
+        //     boundary_functions[c] = &function;
+        //     project_boundary_values (dof,
+        //   boundary_functions, q_boundary, boundary_values);
+      }
 
 
   // set up mass matrix and right hand side
@@ -718,11 +718,11 @@ main(int /*argc*/, char ** /*argv*/)
 
 
 void
-check(const FiniteElement<2> &           fe,
+check(const FiniteElement<2>            &fe,
       const std::array<unsigned int, 3> &min_convergence_steps)
 {
   Triangulation<2> tria_test;
-  DoFHandler<2> *  dof_handler;
+  DoFHandler<2>   *dof_handler;
 
   deallog << "Dofs/cell " << fe.dofs_per_cell << "Dofs/face "
           << fe.dofs_per_face << std::endl;
index 0f5e092d243c35603be3c6f137e10d633814834b..529c9549e0b66349f570c3f68420e55619ab33c5 100644 (file)
@@ -38,9 +38,9 @@
 
 template <int dim>
 inline void
-plot_derivatives(Mapping<dim> &      mapping,
+plot_derivatives(Mapping<dim>       &mapping,
                  FiniteElement<dim> &finel,
-                 const char *        name)
+                 const char         *name)
 {
   deallog.push(name);
 
index 3f30607ddd73d3060bf32b9c6f7f7f3226fc8522..8ce451249b1488fe2f932c6f76370558a85570fe 100644 (file)
 #include <vector>
 
 #include "../tests.h"
-//#include "../../include/fe_bernstein.h"
+// #include "../../include/fe_bernstein.h"
 
 template <int dim>
 inline void
-plot_derivatives(Mapping<dim> &      mapping,
+plot_derivatives(Mapping<dim>       &mapping,
                  FiniteElement<dim> &finel,
-                 const char *        name)
+                 const char         *name)
 {
   deallog.push(name);
 
index df6e932a98c3745e973db30c58782c6fd4645a54..314757ffac93673acdeaa79a7c2959bfcdedc793 100644 (file)
@@ -38,9 +38,9 @@
 
 template <int dim>
 inline void
-plot_derivatives(Mapping<dim> &      mapping,
+plot_derivatives(Mapping<dim>       &mapping,
                  FiniteElement<dim> &finel,
-                 const char *        name)
+                 const char         *name)
 {
   deallog.push(name);
 
index 25a90bdf8b24e5937e44a6b78d2bd50a2fb5edc1..5ef27e548ea9bba7629ed58d3f4ece198a060c9d 100644 (file)
@@ -74,18 +74,18 @@ namespace FEConforimityTest
 
     void
     get_function_jump(const FEInterfaceValues<dim> &fe_interface_values,
-                      const Vector<double> &        dof_vector,
-                      std::vector<double> &         jumps);
+                      const Vector<double>         &dof_vector,
+                      std::vector<double>          &jumps);
 
     void
     get_normal_jump(const FEInterfaceValues<dim> &fe_interface_values,
-                    const Vector<double> &        dof_vector,
-                    std::vector<double> &         jumps);
+                    const Vector<double>         &dof_vector,
+                    std::vector<double>          &jumps);
 
     void
     get_tangential_jump(const FEInterfaceValues<dim> &fe_interface_values,
-                        const Vector<double> &        dof_vector,
-                        std::vector<double> &         jumps);
+                        const Vector<double>         &dof_vector,
+                        std::vector<double>          &jumps);
 
     SmartPointer<const FiniteElement<dim>> fe_ptr;
     Triangulation<dim>                     triangulation;
@@ -279,8 +279,8 @@ namespace FEConforimityTest
   void
   FEConformityTest<dim>::get_function_jump(
     const FEInterfaceValues<dim> &fe_interface_values,
-    const Vector<double> &        dof_vector,
-    std::vector<double> &         jumps)
+    const Vector<double>         &dof_vector,
+    std::vector<double>          &jumps)
   {
     const unsigned n_q = fe_interface_values.n_quadrature_points;
 
@@ -306,8 +306,8 @@ namespace FEConforimityTest
   void
   FEConformityTest<dim>::get_normal_jump(
     const FEInterfaceValues<dim> &fe_interface_values,
-    const Vector<double> &        dof_vector,
-    std::vector<double> &         jumps)
+    const Vector<double>         &dof_vector,
+    std::vector<double>          &jumps)
   {
     const unsigned n_q = fe_interface_values.n_quadrature_points;
 
@@ -344,8 +344,8 @@ namespace FEConforimityTest
   void
   FEConformityTest<2>::get_tangential_jump(
     const FEInterfaceValues<2> &fe_interface_values,
-    const Vector<double> &      dof_vector,
-    std::vector<double> &       jumps)
+    const Vector<double>       &dof_vector,
+    std::vector<double>        &jumps)
   {
     const unsigned n_q = fe_interface_values.n_quadrature_points;
 
@@ -380,8 +380,8 @@ namespace FEConforimityTest
   void
   FEConformityTest<3>::get_tangential_jump(
     const FEInterfaceValues<3> &fe_interface_values,
-    const Vector<double> &      dof_vector,
-    std::vector<double> &       jumps)
+    const Vector<double>       &dof_vector,
+    std::vector<double>        &jumps)
   {
     const unsigned n_q = fe_interface_values.n_quadrature_points;
 
index fa4f4ea1399f22be2d70386922c2cbed448f5cba..79afb679babf315c09f6f73d99d7c1049892a9d8 100644 (file)
@@ -43,7 +43,7 @@
 #include "../tests.h"
 
 // uncomment when debugging
-//#define DATA_OUT_FE_ENRICHED
+// #define DATA_OUT_FE_ENRICHED
 
 /*
  * Predicate function needed by ColorEnriched::internal::color_predicates
index fab66fdeb27b310f1457d91074a7ac29d0da390e..1cbcec198152dc2bc9b4e83fd867fae187994ca3 100644 (file)
@@ -126,7 +126,7 @@ main(int argc, char **argv)
                                              fe_enriched,
                                              vec_predicates,
                                              vec_enrichments);
-  const hp::FECollection<dim> &     fe_collection(
+  const hp::FECollection<dim>      &fe_collection(
     fe_space.build_fe_collection(dof_handler));
 
   // check if fe_collection is correctly constructed by function
index ab0677094198811cccf002aef672a71f9850f4a1..9eeac709478116e34d098f357a49b98a1279bd7d 100644 (file)
@@ -92,8 +92,8 @@ public:
   {}
 
   void
-  initialize(const Point<dim> center,
-             const double &     sigma,
+  initialize(const Point<dim>  &center,
+             const double      &sigma,
              const std::string &func_expr);
   double
   value(const Point<dim> &p, const unsigned int component = 0) const;
@@ -101,13 +101,13 @@ public:
   gradient(const Point<dim> &p, const unsigned int component = 0) const;
   virtual void
   value_list(const std::vector<Point<dim>> &points,
-             std::vector<double> &          value_list) const;
+             std::vector<double>           &value_list) const;
 };
 
 template <int dim>
 void
-SigmaFunction<dim>::initialize(const Point<dim> _center,
-                               const double &     sigma,
+SigmaFunction<dim>::initialize(const Point<dim>  &_center,
+                               const double      &sigma,
                                const std::string &func_expr)
 {
   center = _center;
@@ -135,7 +135,7 @@ SigmaFunction<dim>::initialize(const Point<dim> & _center,
 
 template <int dim>
 inline double
-SigmaFunction<dim>::value(const Point<dim> p,
+SigmaFunction<dim>::value(const Point<dim>  &p,
                           const unsigned int component) const
 {
   const Point<dim> d(p - center);
@@ -145,7 +145,7 @@ SigmaFunction<dim>::value(const Point<dim> & p,
 
 template <int dim>
 inline Tensor<1, dim>
-SigmaFunction<dim>::gradient(const Point<dim> p,
+SigmaFunction<dim>::gradient(const Point<dim>  &p,
                              const unsigned int component) const
 {
   const Point<dim> d(p - center);
@@ -155,7 +155,7 @@ SigmaFunction<dim>::gradient(const Point<dim> & p,
 template <int dim>
 void
 SigmaFunction<dim>::value_list(const std::vector<Point<dim>> &points,
-                               std::vector<double> &          value_list) const
+                               std::vector<double>           &value_list) const
 {
   const unsigned int n_points = points.size();
 
@@ -203,7 +203,7 @@ template <int dim>
 class SplineEnrichmentFunction : public Function<dim>
 {
 public:
-  SplineEnrichmentFunction(const Point<dim> &         origin,
+  SplineEnrichmentFunction(const Point<dim>          &origin,
                            const std::vector<double> &interpolation_points_1d,
                            const std::vector<double> &interpolation_values_1d)
     : Function<dim>(1)
@@ -267,23 +267,23 @@ struct ParameterCollection
 {
   ParameterCollection(const std::string &file_name);
 
-  ParameterCollection(const int &                dim,
-                      const double &             size,
-                      const unsigned int &       shape,
-                      const unsigned int &       global_refinement,
-                      const unsigned int &       cycles,
-                      const unsigned int &       fe_base_degree,
-                      const unsigned int &       fe_enriched_degree,
-                      const unsigned int &       max_iterations,
-                      const double &             tolerance,
-                      const std::string &        rhs_value_expr,
-                      const std::string &        boundary_value_expr,
-                      const std::string &        rhs_radial_problem,
-                      const std::string &        boundary_radial_problem,
-                      const std::string &        exact_soln_expr,
-                      const unsigned int &       patches,
-                      const unsigned int &       debug_level,
-                      const unsigned int &       n_enrichments,
+  ParameterCollection(const int                 &dim,
+                      const double              &size,
+                      const unsigned int        &shape,
+                      const unsigned int        &global_refinement,
+                      const unsigned int        &cycles,
+                      const unsigned int        &fe_base_degree,
+                      const unsigned int        &fe_enriched_degree,
+                      const unsigned int        &max_iterations,
+                      const double              &tolerance,
+                      const std::string         &rhs_value_expr,
+                      const std::string         &boundary_value_expr,
+                      const std::string         &rhs_radial_problem,
+                      const std::string         &boundary_radial_problem,
+                      const std::string         &exact_soln_expr,
+                      const unsigned int        &patches,
+                      const unsigned int        &debug_level,
+                      const unsigned int        &n_enrichments,
                       const std::vector<double> &points_enrichments,
                       const std::vector<double> &radii_predicates,
                       const std::vector<double> &sigmas);
@@ -503,23 +503,23 @@ ParameterCollection::ParameterCollection(const std::string &file_name)
 
 
 ParameterCollection::ParameterCollection(
-  const int &                dim,
-  const double &             size,
-  const unsigned int &       shape,
-  const unsigned int &       global_refinement,
-  const unsigned int &       cycles,
-  const unsigned int &       fe_base_degree,
-  const unsigned int &       fe_enriched_degree,
-  const unsigned int &       max_iterations,
-  const double &             tolerance,
-  const std::string &        rhs_value_expr,
-  const std::string &        boundary_value_expr,
-  const std::string &        rhs_radial_problem,
-  const std::string &        boundary_radial_problem,
-  const std::string &        exact_soln_expr,
-  const unsigned int &       patches,
-  const unsigned int &       debug_level,
-  const unsigned int &       n_enrichments,
+  const int                 &dim,
+  const double              &size,
+  const unsigned int        &shape,
+  const unsigned int        &global_refinement,
+  const unsigned int        &cycles,
+  const unsigned int        &fe_base_degree,
+  const unsigned int        &fe_enriched_degree,
+  const unsigned int        &max_iterations,
+  const double              &tolerance,
+  const std::string         &rhs_value_expr,
+  const std::string         &boundary_value_expr,
+  const std::string         &rhs_radial_problem,
+  const std::string         &boundary_radial_problem,
+  const std::string         &exact_soln_expr,
+  const unsigned int        &patches,
+  const unsigned int        &debug_level,
+  const unsigned int        &n_enrichments,
   const std::vector<double> &points_enrichments,
   const std::vector<double> &radii_predicates,
   const std::vector<double> &sigmas)
@@ -609,16 +609,16 @@ ParameterCollection::print()
 class EstimateEnrichmentFunction
 {
 public:
-  EstimateEnrichmentFunction(const Point<1> &   center,
-                             const double &     domain_size,
-                             const double &     sigma,
+  EstimateEnrichmentFunction(const Point<1>    &center,
+                             const double      &domain_size,
+                             const double      &sigma,
                              const std::string &rhs_expr,
                              const std::string &boundary_expr,
                              const unsigned int refinement = 11);
-  EstimateEnrichmentFunction(const Point<1> &   center,
-                             const double &     left_bound,
-                             const double &     right_bound,
-                             const double &     sigma,
+  EstimateEnrichmentFunction(const Point<1>    &center,
+                             const double      &left_bound,
+                             const double      &right_bound,
+                             const double      &sigma,
                              const std::string &rhs_expr,
                              const std::string &boundary_expr,
                              const unsigned int refinement = 11);
@@ -667,9 +667,9 @@ private:
 };
 
 EstimateEnrichmentFunction::EstimateEnrichmentFunction(
-  const Point<1> &   center,
-  const double &     domain_size,
-  const double &     sigma,
+  const Point<1>    &center,
+  const double      &domain_size,
+  const double      &sigma,
   const std::string &rhs_expr,
   const std::string &boundary_expr,
   const unsigned int refinement)
@@ -689,10 +689,10 @@ EstimateEnrichmentFunction::EstimateEnrichmentFunction(
 
 
 EstimateEnrichmentFunction::EstimateEnrichmentFunction(
-  const Point<1> &   center,
-  const double &     left_bound,
-  const double &     right_bound,
-  const double &     sigma,
+  const Point<1>    &center,
+  const double      &left_bound,
+  const double      &right_bound,
+  const double      &sigma,
   const std::string &rhs_expr,
   const std::string &boundary_expr,
   const unsigned int refinement)
@@ -910,7 +910,7 @@ EstimateEnrichmentFunction::evaluate_at_x_values(
 
 
 double
-EstimateEnrichmentFunction::value(const Point<1> &    p,
+EstimateEnrichmentFunction::value(const Point<1>     &p,
                                   const unsigned int &component)
 {
   return VectorTools::point_value(dof_handler, solution, p);
index d05e5ff97a5a630e957cfd92fd59924db884b7e7..1034dd0cd68c7fe17d4e79b663955b6b7192fa99 100644 (file)
@@ -115,15 +115,15 @@ public:
  */
 template <int dim>
 void
-check_consistency(const Point<dim> &    p,
-                  const Function<dim> func,
-                  const double &        v_e,
+check_consistency(const Point<dim>     &p,
+                  const Function<dim>  &func,
+                  const double         &v_e,
                   const Tensor<1, dim> &g_e,
                   const Tensor<2, dim> &h_e,
-                  const double &        v_s0,
+                  const double         &v_s0,
                   const Tensor<1, dim> &g_s0,
                   const Tensor<2, dim> &h_s0,
-                  const double &        v_s1,
+                  const double         &v_s1,
                   const Tensor<1, dim> &g_s1,
                   const Tensor<2, dim> &h_s1)
 {
@@ -156,9 +156,9 @@ check_consistency(const Point<dim> &    p,
 
 template <int dim>
 void
-test(const FiniteElement<dim> fe1,
-     const FiniteElement<dim> fe2,
-     const Quadrature<dim> &    volume_quad,
+test(const FiniteElement<dim>  &fe1,
+     const FiniteElement<dim>  &fe2,
+     const Quadrature<dim>     &volume_quad,
      const Quadrature<dim - 1> &face_quad,
      const bool                 distort)
 {
index 425c7700e4724f9f255b207e57550c9f38a45722..ab2a491f76ca1dc813f62340afcbb815b86987d1 100644 (file)
@@ -121,23 +121,23 @@ private:
  */
 template <int dim>
 void
-check_consistency(const Point<dim> &    p,
-                  const Function<dim> func1,
-                  const Function<dim> func2,
-                  const Function<dim> func3,
-                  const double &        v_e,
+check_consistency(const Point<dim>     &p,
+                  const Function<dim>  &func1,
+                  const Function<dim>  &func2,
+                  const Function<dim>  &func3,
+                  const double         &v_e,
                   const Tensor<1, dim> &g_e,
                   const Tensor<2, dim> &h_e,
-                  const double &        v_s0,
+                  const double         &v_s0,
                   const Tensor<1, dim> &g_s0,
                   const Tensor<2, dim> &h_s0,
-                  const double &        v_s1,
+                  const double         &v_s1,
                   const Tensor<1, dim> &g_s1,
                   const Tensor<2, dim> &h_s1,
-                  const double &        v_s2,
+                  const double         &v_s2,
                   const Tensor<1, dim> &g_s2,
                   const Tensor<2, dim> &h_s2,
-                  const double &        v_s3,
+                  const double         &v_s3,
                   const Tensor<1, dim> &g_s3,
                   const Tensor<2, dim> &h_s3)
 {
@@ -192,10 +192,10 @@ check_consistency(const Point<dim> &    p,
  */
 template <int dim>
 void
-test(const FiniteElement<dim> fe_base,
-     const FiniteElement<dim> fe_en1,
-     const FiniteElement<dim> fe_en2,
-     const Quadrature<dim> &    volume_quad,
+test(const FiniteElement<dim>  &fe_base,
+     const FiniteElement<dim>  &fe_en1,
+     const FiniteElement<dim>  &fe_en2,
+     const Quadrature<dim>     &volume_quad,
      const Quadrature<dim - 1> &face_quad,
      const bool                 distort)
 {
index 41944399a21a9c3653f61c7f3ef0266b4aba954f..aa6c355cdc7c1bbe5813ec8d51105db39031c7e5 100644 (file)
@@ -85,8 +85,8 @@ class EnrichmentFunction : public Function<dim>
 {
 public:
   EnrichmentFunction(const Point<dim> &origin,
-                     const double &    Z,
-                     const double &    radius)
+                     const double     &Z,
+                     const double     &radius)
     : Function<dim>(1)
     , origin(origin)
     , Z(Z)
index 2d0a4addb2fb3b78d1c5a9938db86ebcfa146ff1..95de7d79402626ba56eb7d7a357dc973a60d1f27 100644 (file)
@@ -90,8 +90,8 @@ class EnrichmentFunction : public Function<dim>
 {
 public:
   EnrichmentFunction(const Point<dim> &origin,
-                     const double &    Z,
-                     const double &    radius)
+                     const double     &Z,
+                     const double     &radius)
     : Function<dim>(1)
     , origin(origin)
     , Z(Z)
@@ -749,11 +749,11 @@ namespace Step36
 
     virtual void
     compute_derived_quantities_vector(
-      const std::vector<Vector<double>> &             solution_values,
+      const std::vector<Vector<double>>              &solution_values,
       const std::vector<std::vector<Tensor<1, dim>>> &solution_gradients,
       const std::vector<std::vector<Tensor<2, dim>>> &solution_hessians,
-      const std::vector<Point<dim>> &                 normals,
-      const std::vector<Point<dim>> &                 evaluation_points,
+      const std::vector<Point<dim>>                  &normals,
+      const std::vector<Point<dim>>                  &evaluation_points,
       std::vector<Vector<double>> &computed_quantities) const;
 
   private:
@@ -775,7 +775,7 @@ namespace Step36
     const std::vector<std::vector<Tensor<2, dim>>> & /*solution_hessians*/,
     const std::vector<Point<dim>> & /*normals*/,
     const std::vector<Point<dim>> &evaluation_points,
-    std::vector<Vector<double>> &  computed_quantities) const
+    std::vector<Vector<double>>   &computed_quantities) const
   {
     const unsigned int n_quadrature_points = solution_values.size();
     Assert(computed_quantities.size() == n_quadrature_points,
index 9e376b3a5fe70126adac6f4f2442c650b31b85f9..b809875516e861c7b48a1767da471f68a437c6a9 100644 (file)
@@ -188,10 +188,10 @@ create_triangulation(Triangulation<3> &tria,
 }
 
 void
-evaluate(const FE_Nedelec<3> fe,
-         const DoFHandler<3> dof_handler_ref,
+evaluate(const FE_Nedelec<3>  &fe,
+         const DoFHandler<3>  &dof_handler_ref,
          const Vector<double> &u_ref,
-         const DoFHandler<3> dof_handler,
+         const DoFHandler<3>  &dof_handler,
          const Vector<double> &u)
 {
   const FEValuesExtractors::Vector component(0);
@@ -232,9 +232,9 @@ set_reference_solution(Vector<double> &vector)
 }
 
 void
-set_solution(Vector<double> &      vector,
-             const DoFHandler<3> dof_handler,
-             const DoFHandler<3> dof_handler_ref,
+set_solution(Vector<double>       &vector,
+             const DoFHandler<3>  &dof_handler,
+             const DoFHandler<3>  &dof_handler_ref,
              const Vector<double> &u_ref)
 {
   AffineConstraints<double> constraints;
index df43173b980876f17301b4a2a3a4e75453049b75..946035613c4e99b27d7a9b026db7a30c46ee4855 100644 (file)
@@ -104,10 +104,10 @@ create_triangulation(Triangulation<3> &triangulation)
 }
 
 void
-evaluate(const FE_Nedelec<3> fe,
-         const DoFHandler<3> dof_handler_ref,
+evaluate(const FE_Nedelec<3>  &fe,
+         const DoFHandler<3>  &dof_handler_ref,
          const Vector<double> &u_ref,
-         const DoFHandler<3> dof_handler,
+         const DoFHandler<3>  &dof_handler,
          const Vector<double> &u)
 {
   const FEValuesExtractors::Vector component(0);
@@ -149,9 +149,9 @@ set_reference_solution(Vector<double> &vector)
 }
 
 void
-set_solution(Vector<double> &      vector,
-             const DoFHandler<3> dof_handler,
-             const DoFHandler<3> dof_handler_ref,
+set_solution(Vector<double>       &vector,
+             const DoFHandler<3>  &dof_handler,
+             const DoFHandler<3>  &dof_handler_ref,
              const Vector<double> &u_ref)
 {
   AffineConstraints<double> constraints;
index 388ddcdc53941caf8990480036e661ce5fd2edab..b3d7d1df805c826c9096cf55207861b596e89152 100644 (file)
@@ -48,8 +48,8 @@
 
 template <int dim>
 inline void
-plot_faces(Mapping<dim> &                           mapping,
-           FiniteElement<dim> &                     fe,
+plot_faces(Mapping<dim>                            &mapping,
+           FiniteElement<dim>                      &fe,
            typename DoFHandler<dim>::cell_iterator &cell)
 {
   // create a QGauss<0>(4), which should
@@ -92,8 +92,8 @@ plot_faces(Mapping<dim> &                           mapping,
 
 template <int dim>
 inline void
-plot_subfaces(Mapping<dim> &                           mapping,
-              FiniteElement<dim> &                     fe,
+plot_subfaces(Mapping<dim>                            &mapping,
+              FiniteElement<dim>                      &fe,
               typename DoFHandler<dim>::cell_iterator &cell)
 {
   // create a QGauss<0>(4), which should
index 4a83efd4ea39bd03afd58cc4726fb473944c05c9..fb7946e186a347aafdcae9a3096f179a2b264702 100644 (file)
@@ -83,17 +83,17 @@ namespace polytest
     {}
     void
     vector_value_list(const std::vector<Point<dim>> &points,
-                      std::vector<Vector<double>> &  values) const;
+                      std::vector<Vector<double>>   &values) const;
 
     void
     rhs_value_list(const std::vector<Point<dim>> &points,
-                   std::vector<Vector<double>> &  values) const;
+                   std::vector<Vector<double>>   &values) const;
   };
   template <int dim>
   void
   SimplePolynomial<dim>::vector_value_list(
     const std::vector<Point<dim>> &points,
-    std::vector<Vector<double>> &  values) const
+    std::vector<Vector<double>>   &values) const
   {
     Assert(dim == 2, ExcNotImplemented());
     Assert(values.size() == points.size(),
@@ -111,7 +111,7 @@ namespace polytest
   void
   SimplePolynomial<dim>::rhs_value_list(
     const std::vector<Point<dim>> &points,
-    std::vector<Vector<double>> &  values) const
+    std::vector<Vector<double>>   &values) const
   {
     Assert(dim == 2, ExcNotImplemented());
     Assert(values.size() == points.size(),
index 24a386cf0e738f722ea99402f95f25300558fcaf..177f6f4a98056cb1bce50c36c5c4fb6fe47f0b97 100644 (file)
@@ -86,12 +86,12 @@ namespace Maxwell
 
     virtual void
     vector_value_list(const std::vector<Point<dim>> &points,
-                      std::vector<Vector<double>> &  values) const;
+                      std::vector<Vector<double>>   &values) const;
 
 
     void
     curl_value_list(const std::vector<Point<dim>> &points,
-                    std::vector<Vector<double>> &  value_list);
+                    std::vector<Vector<double>>   &value_list);
   };
 
   template <int dim>
@@ -102,7 +102,7 @@ namespace Maxwell
   void
   ExactSolution<dim>::vector_value_list(
     const std::vector<Point<dim>> &points,
-    std::vector<Vector<double>> &  value_list) const
+    std::vector<Vector<double>>   &value_list) const
   {
     Assert(value_list.size() == points.size(),
            ExcDimensionMismatch(value_list.size(), points.size()));
@@ -122,7 +122,7 @@ namespace Maxwell
   template <int dim>
   void
   ExactSolution<dim>::curl_value_list(const std::vector<Point<dim>> &points,
-                                      std::vector<Vector<double>> &  value_list)
+                                      std::vector<Vector<double>>   &value_list)
   {
     Assert(value_list.size() == points.size(),
            ExcDimensionMismatch(value_list.size(), points.size()));
index e32fa693327f94b6a75324746c42d3e1af3aacdf..c81c0deccf89f0549c0ff704c3f71579cafd4383 100644 (file)
@@ -135,7 +135,7 @@ VectorFunction<2>::value(const Point<2> &p, const unsigned int component) const
 template <int dim>
 void
 VectorFunction<dim>::vector_value(const Point<dim> &p,
-                                  Vector<double> &  values) const
+                                  Vector<double>   &values) const
 {
   for (int i = 0; i < dim; ++i)
     values(i) = value(p, i);
@@ -143,7 +143,7 @@ VectorFunction<dim>::vector_value(const Point<dim> &p,
 
 void
 create_tria(Triangulation<2> &triangulation,
-            const Point<2> *  vertices_parallelograms)
+            const Point<2>   *vertices_parallelograms)
 {
   const std::vector<Point<2>> vertices(&vertices_parallelograms[0],
                                        &vertices_parallelograms[n_vertices]);
@@ -168,7 +168,7 @@ void
 test(const FiniteElement<dim> &fe,
      unsigned                  n_cycles,
      bool                      global,
-     const Point<dim> *        vertices_parallelograms)
+     const Point<dim>         *vertices_parallelograms)
 {
   deallog << "dim: " << dim << "\t" << fe.get_name() << std::endl;
   deallog << "DoFs\t\t||u-u_h||\tcurl(u_h)\tdiv(u_h)" << std::endl;
index 6369d5c97c1a70030123e7cf079a6e2c2644e9c5..4a4d0e7d6fd73cccb60bce69eee0816f8c908e1a 100644 (file)
@@ -154,7 +154,7 @@ VectorFunction<3>::value(const Point<3> &p, const unsigned int component) const
 template <int dim>
 void
 VectorFunction<dim>::vector_value(const Point<dim> &p,
-                                  Vector<double> &  values) const
+                                  Vector<double>   &values) const
 {
   for (int i = 0; i < dim; ++i)
     values(i) = value(p, i);
@@ -162,7 +162,7 @@ VectorFunction<dim>::vector_value(const Point<dim> &p,
 
 template <>
 Tensor<1, 3>
-VectorFunction<3>::gradient(const Point<3> &   p,
+VectorFunction<3>::gradient(const Point<3>    &p,
                             const unsigned int component) const
 {
   const double PI = numbers::PI;
@@ -192,7 +192,7 @@ VectorFunction<3>::gradient(const Point<3> &   p,
 
 void
 create_tria(Triangulation<3> &triangulation,
-            const Point<3> *  vertices_parallelograms)
+            const Point<3>   *vertices_parallelograms)
 {
   const std::vector<Point<3>> vertices(&vertices_parallelograms[0],
                                        &vertices_parallelograms[n_vertices]);
@@ -229,7 +229,7 @@ void
 test(const FiniteElement<dim> &fe,
      unsigned                  n_cycles,
      bool                      global,
-     const Point<dim> *        vertices_parallelograms)
+     const Point<dim>         *vertices_parallelograms)
 {
   deallog << "dim: " << dim << "\t" << fe.get_name() << std::endl;
   deallog
index 64acc0479a3bdb9071d9e4c954a2f1c1267c0c33..ea1e3883949fa251a75bf10af99635fa2319e6b1 100644 (file)
@@ -96,14 +96,14 @@ namespace Step22
 
     void
     divergence_velocity(const BlockVector<double> &calc_solution,
-                        Vector<double> &           output_vector,
-                        const Quadrature<dim> &    quadrature,
+                        Vector<double>            &output_vector,
+                        const Quadrature<dim>     &quadrature,
                         bool                       norm);
 
     const unsigned int degree;
 
     Triangulation<dim> triangulation;
-    FESystem<dim> &    fe;
+    FESystem<dim>     &fe;
     DoFHandler<dim>    dof_handler;
 
     AffineConstraints<double> constraints;
@@ -142,7 +142,7 @@ namespace Step22
 
   template <int dim>
   double
-  ExactSolution<dim>::value(const Point<dim> p,
+  ExactSolution<dim>::value(const Point<dim>  &p,
                             const unsigned int component) const
   {
     Assert(component < this->n_components,
@@ -176,7 +176,7 @@ namespace Step22
 
   template <int dim>
   Tensor<1, dim>
-  ExactSolution<dim>::gradient(const Point<dim> p,
+  ExactSolution<dim>::gradient(const Point<dim>  &p,
                                const unsigned int component) const
   {
     Assert(component < this->n_components,
@@ -226,7 +226,7 @@ namespace Step22
 
   template <int dim>
   double
-  ExactSolution<dim>::laplacian(const Point<dim> p,
+  ExactSolution<dim>::laplacian(const Point<dim>  &p,
                                 const unsigned int component) const
   {
     Assert(component < this->n_components,
@@ -268,7 +268,7 @@ namespace Step22
 
   template <int dim>
   double
-  JumpFunction<dim>::jump(const Point<dim> &    p,
+  JumpFunction<dim>::jump(const Point<dim>     &p,
                           const Tensor<1, dim> &normal) const
   {
     double x = p[0];
@@ -299,7 +299,7 @@ namespace Step22
 
   template <int dim>
   double
-  RightHandSide<dim>::value(const Point<dim> p,
+  RightHandSide<dim>::value(const Point<dim>  &p,
                             const unsigned int component) const
   {
     Assert(component < this->n_components,
@@ -329,7 +329,7 @@ namespace Step22
 
   template <class Matrix, class Preconditioner>
   InverseMatrix<Matrix, Preconditioner>::InverseMatrix(
-    const Matrix &        m,
+    const Matrix         &m,
     const Preconditioner &preconditioner)
     : matrix(&m)
     , preconditioner(&preconditioner)
@@ -337,7 +337,7 @@ namespace Step22
 
   template <class Matrix, class Preconditioner>
   void
-  InverseMatrix<Matrix, Preconditioner>::vmult(Vector<double> &      dst,
+  InverseMatrix<Matrix, Preconditioner>::vmult(Vector<double>       &dst,
                                                const Vector<double> &src) const
   {
     SolverControl solver_control(src.size(), 1e-6 * src.l2_norm());
@@ -358,7 +358,7 @@ namespace Step22
   {
   public:
     SchurComplement(
-      const BlockSparseMatrix<double> &                          system_matrix,
+      const BlockSparseMatrix<double>                           &system_matrix,
       const InverseMatrix<SparseMatrix<double>, Preconditioner> &A_inverse);
 
     void
@@ -377,7 +377,7 @@ namespace Step22
 
   template <class Preconditioner>
   SchurComplement<Preconditioner>::SchurComplement(
-    const BlockSparseMatrix<double> &                          system_matrix,
+    const BlockSparseMatrix<double>                           &system_matrix,
     const InverseMatrix<SparseMatrix<double>, Preconditioner> &A_inverse)
     : system_matrix(&system_matrix)
     , A_inverse(&A_inverse)
@@ -388,7 +388,7 @@ namespace Step22
 
   template <class Preconditioner>
   void
-  SchurComplement<Preconditioner>::vmult(Vector<double> &      dst,
+  SchurComplement<Preconditioner>::vmult(Vector<double>       &dst,
                                          const Vector<double> &src) const
   {
     system_matrix->block(0, 1).vmult(tmp1, src);
@@ -398,7 +398,7 @@ namespace Step22
 
   template <int dim>
   StokesProblem<dim>::StokesProblem(const unsigned int degree,
-                                    FESystem<dim> &    fe_)
+                                    FESystem<dim>     &fe_)
     : degree(degree)
     , triangulation(Triangulation<dim>::maximum_smoothing)
     , fe(fe_)
@@ -911,8 +911,8 @@ namespace Step22
   void
   StokesProblem<dim>::divergence_velocity(
     const BlockVector<double> &calc_solution,
-    Vector<double> &           output_vector,
-    const Quadrature<dim> &    quadrature,
+    Vector<double>            &output_vector,
+    const Quadrature<dim>     &quadrature,
     bool                       norm)
   {
     output_vector = 0;
index 7f2e7f890ecee2b8db3fcafe8e1444f610aa459a..dd3f04cacbcdceeb13598e533984d93b585cc32f 100644 (file)
@@ -55,14 +55,14 @@ test_2d()
 
   Vector<double> local_dof_values(9);
   double         dofs[] = {0.0000000000000000e+00,
-                   0.0000000000000000e+00,
-                   0.0000000000000000e+00,
-                   2.3801522930483391e-04,
-                   0.0000000000000000e+00,
-                   1.1949018981806140e-04,
-                   0.0000000000000000e+00,
-                   1.1949019042912971e-04,
-                   5.9982796422221083e-05};
+                           0.0000000000000000e+00,
+                           0.0000000000000000e+00,
+                           2.3801522930483391e-04,
+                           0.0000000000000000e+00,
+                           1.1949018981806140e-04,
+                           0.0000000000000000e+00,
+                           1.1949019042912971e-04,
+                           5.9982796422221083e-05};
   for (unsigned int i = 0; i < 9; ++i)
     local_dof_values[i] = dofs[i];
 
index 72892aaaa5341853233dc8f5bc37509e1e6e7e45..1ab35a2e0e1ab62e876298e3cd79bf9887c4656b 100644 (file)
@@ -43,7 +43,7 @@ template <int dim>
 struct MyFESystem
 {
   MyFESystem(const std::vector<const FiniteElement<dim> *> &fes,
-             const std::vector<unsigned int> &              multiplicities)
+             const std::vector<unsigned int>               &multiplicities)
   {
     deallog << "Constructing FESystem from list." << std::endl;
   }
index f6963dea663bb76f6f849d81775708e615ddc40e..d6f4bf66d5d0dc01ea46fd90a52e90ce1afa6cd3 100644 (file)
@@ -89,7 +89,7 @@ template <int dim>
 void
 test_projection(const FiniteElement<dim> &fe1,
                 const FiniteElement<dim> &fe2,
-                std::ostream &            out)
+                std::ostream             &out)
 {
   out << fe1.get_name() << " -> " << fe2.get_name() << std::endl;
 
index 6947ba398b1ef70a8552f9d76e9e47a5618ed817..693990bb07ee5cb8555789cacc34485347501fe8 100644 (file)
@@ -99,11 +99,11 @@ make_grid(Triangulation<2> &triangulation)
 template <int dim>
 void
 test(const Triangulation<dim> &tria,
-     const Mapping<dim> &      mapping,
+     const Mapping<dim>       &mapping,
      const FiniteElement<dim> &fe1,
-     const std::string &       fe_string1,
+     const std::string        &fe_string1,
      const FiniteElement<dim> &fe2,
-     const std::string &       fe_string2,
+     const std::string        &fe_string2,
      const unsigned int        testcase)
 {
   DoFHandler<dim> dof_handler1(tria);
index fdeba347f556f915a1b45ebebdf7735968be44a7..8a0031fabaae537544020121e9206b21ee116ab6 100644 (file)
@@ -95,8 +95,8 @@ test(const Triangulation<dim> &tr, const FiniteElement<dim> &fe)
 
                   AssertThrow(
                     fe_values[vec_components].symmetric_gradient(i, q) ==
-                      decltype(
-                        fe_values[vec_components].symmetric_gradient(i, q))(
+                      decltype(fe_values[vec_components].symmetric_gradient(i,
+                                                                            q))(
                         (fe_values[vec_components].gradient(i, q) +
                          transpose(fe_values[vec_components].gradient(i, q))) /
                         2),
index b11e09ea13f69aac3483aff9518fe615fe60c2eb..b956bf321bd5167365cbf5078a55a440255f5f2f 100644 (file)
@@ -104,8 +104,8 @@ test(const Triangulation<dim> &tr, const FiniteElement<dim> &fe)
 
                       AssertThrow(
                         fe_values[vec_components].symmetric_gradient(i, q) ==
-                          decltype(
-                            fe_values[vec_components].symmetric_gradient(i, q))(
+                          decltype(fe_values[vec_components].symmetric_gradient(
+                            i, q))(
                             (fe_values[vec_components].gradient(i, q) +
                              transpose(
                                fe_values[vec_components].gradient(i, q))) /
index 67b5a539531ee043656b77dfa9667f4f92914c73..2fed74247a4235324f9172caad6b1479761faed5 100644 (file)
@@ -101,7 +101,7 @@ VectorFunction<3>::value(const Point<3> &p, const unsigned int component) const
 template <int dim>
 void
 VectorFunction<dim>::vector_value(const Point<dim> &p,
-                                  Vector<double> &  values) const
+                                  Vector<double>   &values) const
 {
   for (int i = 0; i < dim; ++i)
     values(i) = value(p, i);
index dbdacb2fe464a5974340f3520fae95a4c5d25797..d2b9cdad4a15450c5aa7822720fcb07870d97f39 100644 (file)
 
 template <typename NumberType, int dim, typename ExtractorType>
 void
-test_view(const Vector<double> &         solution,
-          const FEValues<dim> &          fe_values,
-          const unsigned int &           n_q_points,
-          const ExtractorType &          extractor,
+test_view(const Vector<double>          &solution,
+          const FEValues<dim>           &fe_values,
+          const unsigned int            &n_q_points,
+          const ExtractorType           &extractor,
           const std::vector<NumberType> &local_dof_values);
 
 // Scalar view
 template <typename NumberType, int dim>
 void
-test_view(const Vector<double> &            solution,
-          const FEValues<dim> &             fe_values,
-          const unsigned int &              n_q_points,
+test_view(const Vector<double>             &solution,
+          const FEValues<dim>              &fe_values,
+          const unsigned int               &n_q_points,
           const FEValuesExtractors::Scalar &extractor,
-          const std::vector<NumberType> &   local_dof_values)
+          const std::vector<NumberType>    &local_dof_values)
 {
   using View = std::remove_reference_t<
     std::remove_const_t<decltype(fe_values[extractor])>>;
-  const View &     fe_values_view = fe_values[extractor];
+  const View      &fe_values_view = fe_values[extractor];
   const NumberType tolerance = std::is_same_v<NumberType, float> ? 1e-5 : 1e-13;
 
   // Typedefs
@@ -142,15 +142,15 @@ test_view(const Vector<double> &            solution,
 // Vector view
 template <typename NumberType, int dim>
 void
-test_view(const Vector<double> &            solution,
-          const FEValues<dim> &             fe_values,
-          const unsigned int &              n_q_points,
+test_view(const Vector<double>             &solution,
+          const FEValues<dim>              &fe_values,
+          const unsigned int               &n_q_points,
           const FEValuesExtractors::Vector &extractor,
-          const std::vector<NumberType> &   local_dof_values)
+          const std::vector<NumberType>    &local_dof_values)
 {
   using View = std::remove_reference_t<
     std::remove_const_t<decltype(fe_values[extractor])>>;
-  const View &     fe_values_view = fe_values[extractor];
+  const View      &fe_values_view = fe_values[extractor];
   const NumberType tolerance = std::is_same_v<NumberType, float> ? 1e-5 : 1e-13;
 
   // Typedefs
@@ -284,15 +284,15 @@ test_view(const Vector<double> &            solution,
 // SymmetricTensor view
 template <typename NumberType, int dim>
 void
-test_view(const Vector<double> &                        solution,
-          const FEValues<dim> &                         fe_values,
-          const unsigned int &                          n_q_points,
+test_view(const Vector<double>                         &solution,
+          const FEValues<dim>                          &fe_values,
+          const unsigned int                           &n_q_points,
           const FEValuesExtractors::SymmetricTensor<2> &extractor,
-          const std::vector<NumberType> &               local_dof_values)
+          const std::vector<NumberType>                &local_dof_values)
 {
   using View = std::remove_reference_t<
     std::remove_const_t<decltype(fe_values[extractor])>>;
-  const View &     fe_values_view = fe_values[extractor];
+  const View      &fe_values_view = fe_values[extractor];
   const NumberType tolerance = std::is_same_v<NumberType, float> ? 1e-5 : 1e-13;
 
   // Typedefs
@@ -333,11 +333,11 @@ test_view(const Vector<double> &                        solution,
 // Tensor view
 template <typename NumberType, int dim>
 void
-test_view(const Vector<double> &               solution,
-          const FEValues<dim> &                fe_values,
-          const unsigned int &                 n_q_points,
+test_view(const Vector<double>                &solution,
+          const FEValues<dim>                 &fe_values,
+          const unsigned int                  &n_q_points,
           const FEValuesExtractors::Tensor<2> &extractor,
-          const std::vector<NumberType> &      local_dof_values)
+          const std::vector<NumberType>       &local_dof_values)
 {
   using View = std::remove_reference_t<
     std::remove_const_t<decltype(fe_values[extractor])>>;
index 07930f87c923ff0a9c3410eccc0a6b9dc3764357..249198f294079588541b507b85af83fc75fdeee1 100644 (file)
 
 template <typename NumberType, int dim, typename ExtractorType>
 void
-test_view(const Vector<double> &         solution,
-          const FEValues<dim> &          fe_values,
-          const unsigned int &           n_q_points,
-          const ExtractorType &          extractor,
+test_view(const Vector<double>          &solution,
+          const FEValues<dim>           &fe_values,
+          const unsigned int            &n_q_points,
+          const ExtractorType           &extractor,
           const std::vector<NumberType> &local_dof_values);
 
 // Scalar view
 template <typename NumberType, int dim>
 void
-test_view(const Vector<double> &            solution,
-          const FEValues<dim> &             fe_values,
-          const unsigned int &              n_q_points,
+test_view(const Vector<double>             &solution,
+          const FEValues<dim>              &fe_values,
+          const unsigned int               &n_q_points,
           const FEValuesExtractors::Scalar &extractor,
-          const std::vector<NumberType> &   local_dof_values)
+          const std::vector<NumberType>    &local_dof_values)
 {
   using View = std::remove_reference_t<
     std::remove_const_t<decltype(fe_values[extractor])>>;
@@ -100,11 +100,11 @@ test_view(const Vector<double> &            solution,
 // Vector view
 template <typename NumberType, int dim>
 void
-test_view(const Vector<double> &            solution,
-          const FEValues<dim> &             fe_values,
-          const unsigned int &              n_q_points,
+test_view(const Vector<double>             &solution,
+          const FEValues<dim>              &fe_values,
+          const unsigned int               &n_q_points,
           const FEValuesExtractors::Vector &extractor,
-          const std::vector<NumberType> &   local_dof_values)
+          const std::vector<NumberType>    &local_dof_values)
 {
   using View = std::remove_reference_t<
     std::remove_const_t<decltype(fe_values[extractor])>>;
@@ -165,11 +165,11 @@ test_view(const Vector<double> &            solution,
 // SymmetricTensor view
 template <typename NumberType, int dim>
 void
-test_view(const Vector<double> &                        solution,
-          const FEValues<dim> &                         fe_values,
-          const unsigned int &                          n_q_points,
+test_view(const Vector<double>                         &solution,
+          const FEValues<dim>                          &fe_values,
+          const unsigned int                           &n_q_points,
           const FEValuesExtractors::SymmetricTensor<2> &extractor,
-          const std::vector<NumberType> &               local_dof_values)
+          const std::vector<NumberType>                &local_dof_values)
 {
   using View = std::remove_reference_t<
     std::remove_const_t<decltype(fe_values[extractor])>>;
@@ -197,11 +197,11 @@ test_view(const Vector<double> &                        solution,
 // Tensor view
 template <typename NumberType, int dim>
 void
-test_view(const Vector<double> &               solution,
-          const FEValues<dim> &                fe_values,
-          const unsigned int &                 n_q_points,
+test_view(const Vector<double>                &solution,
+          const FEValues<dim>                 &fe_values,
+          const unsigned int                  &n_q_points,
           const FEValuesExtractors::Tensor<2> &extractor,
-          const std::vector<NumberType> &      local_dof_values)
+          const std::vector<NumberType>       &local_dof_values)
 {
   using View = std::remove_reference_t<
     std::remove_const_t<decltype(fe_values[extractor])>>;
index 0000afe5a277a401a2c96c4afb5b352ca9ea9d75..260d2a38bea41dca74790137116ae5ae35a80fdd 100644 (file)
@@ -36,7 +36,7 @@ template <int dim>
 double
 difference(const FiniteElement<dim> &fe,
            const std::vector<double> dofs,
-           const Function<dim> &     function)
+           const Function<dim>      &function)
 {
   double      result = 0.;
   QGauss<dim> quadrature(fe.degree + 1);
@@ -59,7 +59,7 @@ template <int dim>
 double
 vector_difference(const FiniteElement<dim> &fe,
                   const std::vector<double> dofs,
-                  const Function<dim> &     function,
+                  const Function<dim>      &function,
                   const unsigned int        offset)
 {
   double      result = 0.;
@@ -107,7 +107,7 @@ public:
 
   void
   value_list(const std::vector<Point<dim>> &points,
-             std::vector<double> &          values,
+             std::vector<double>           &values,
              const unsigned int             c) const
   {
     Assert(values.size() == points.size(),
@@ -126,7 +126,7 @@ public:
 
   void
   vector_value_list(const std::vector<Point<dim>> &points,
-                    std::vector<Vector<double>> &  values) const
+                    std::vector<Vector<double>>   &values) const
   {
     Assert(values.size() == points.size(),
            ExcDimensionMismatch(values.size(), points.size()));
@@ -178,7 +178,7 @@ public:
 
   void
   value_list(const std::vector<Point<dim>> &points,
-             std::vector<double> &          values,
+             std::vector<double>           &values,
              const unsigned int             c) const
   {
     Assert(values.size() == points.size(),
@@ -194,7 +194,7 @@ public:
 
   void
   vector_value_list(const std::vector<Point<dim>> &points,
-                    std::vector<Vector<double>> &  values) const
+                    std::vector<Vector<double>>   &values) const
   {
     Assert(values.size() == points.size(),
            ExcDimensionMismatch(values.size(), points.size()));
index 83859b66006a77fe4eff2e2bedb23f79302ec764..36d63175f81ad05b72faaf853884540061a41742 100644 (file)
@@ -44,7 +44,7 @@
 void
 plot_diff(const Vector<double> &v1,
           const Vector<double> &v2,
-          const Tensor<1, 2> &  n)
+          const Tensor<1, 2>   &n)
 {
   AssertDimension(v1.size(), 2);
   AssertDimension(v2.size(), 2);
@@ -60,7 +60,7 @@ plot_diff(const Vector<double> &v1,
 void
 plot_diff(const Vector<double> &v1,
           const Vector<double> &v2,
-          const Tensor<1, 3> &  n)
+          const Tensor<1, 3>   &n)
 {
   AssertDimension(v1.size(), 3);
   AssertDimension(v2.size(), 3);
index eb721918fc9ebcd3502fbb5b0db4f60c1fc9462e..6408f7363af947c4dad4242965a7687fb976cd79 100644 (file)
@@ -80,17 +80,17 @@ namespace polytest
     {}
     void
     vector_value_list(const std::vector<Point<dim>> &points,
-                      std::vector<Vector<double>> &  values) const;
+                      std::vector<Vector<double>>   &values) const;
 
     void
     rhs_value_list(const std::vector<Point<dim>> &points,
-                   std::vector<Vector<double>> &  values) const;
+                   std::vector<Vector<double>>   &values) const;
   };
   template <int dim>
   void
   SimplePolynomial<dim>::vector_value_list(
     const std::vector<Point<dim>> &points,
-    std::vector<Vector<double>> &  values) const
+    std::vector<Vector<double>>   &values) const
   {
     Assert(dim == 2, ExcNotImplemented());
     Assert(values.size() == points.size(),
@@ -108,7 +108,7 @@ namespace polytest
   void
   SimplePolynomial<dim>::rhs_value_list(
     const std::vector<Point<dim>> &points,
-    std::vector<Vector<double>> &  values) const
+    std::vector<Vector<double>>   &values) const
   {
     Assert(dim == 2, ExcNotImplemented());
     Assert(values.size() == points.size(),
index 428a63d6cc2f1698ad8d6011043e063197d3e749..3149244b0f258e6d2c29565336f5e3bc169fc6fa 100644 (file)
@@ -87,12 +87,12 @@ namespace Maxwell
 
     virtual void
     vector_value_list(const std::vector<Point<dim>> &points,
-                      std::vector<Vector<double>> &  values) const;
+                      std::vector<Vector<double>>   &values) const;
 
 
     void
     curl_value_list(const std::vector<Point<dim>> &points,
-                    std::vector<Vector<double>> &  value_list);
+                    std::vector<Vector<double>>   &value_list);
   };
 
   template <int dim>
@@ -103,7 +103,7 @@ namespace Maxwell
   void
   ExactSolution<dim>::vector_value_list(
     const std::vector<Point<dim>> &points,
-    std::vector<Vector<double>> &  value_list) const
+    std::vector<Vector<double>>   &value_list) const
   {
     Assert(value_list.size() == points.size(),
            ExcDimensionMismatch(value_list.size(), points.size()));
@@ -123,7 +123,7 @@ namespace Maxwell
   template <int dim>
   void
   ExactSolution<dim>::curl_value_list(const std::vector<Point<dim>> &points,
-                                      std::vector<Vector<double>> &  value_list)
+                                      std::vector<Vector<double>>   &value_list)
   {
     Assert(value_list.size() == points.size(),
            ExcDimensionMismatch(value_list.size(), points.size()));
index 20e7225d3b276e5041afea3f95ae0458fc066fc5..7061b8dd9e63083cfcfc1dcfd7dec526e1117553 100644 (file)
@@ -48,7 +48,7 @@ public:
 
   void
   vector_value_list(const std::vector<Point<dim>> &points,
-                    std::vector<Vector<double>> &  values) const override
+                    std::vector<Vector<double>>   &values) const override
   {
     for (unsigned int i = 0; i < points.size(); ++i)
       {
index 32779f47357bd688464d435dc8e99c7d3a4834b1..4771d27f8e483b9634c603295b3c70d00428d11a 100644 (file)
@@ -52,7 +52,7 @@
 template <int dim>
 void
 create_stokes_matrix_1(const DoFHandler<dim> &dof_handler,
-                       SparseMatrix<double> A)
+                       SparseMatrix<double>  &A)
 {
   const FiniteElement<dim> &fe            = dof_handler.get_fe();
   const unsigned int        dofs_per_cell = fe.dofs_per_cell;
@@ -122,7 +122,7 @@ create_stokes_matrix_1(const DoFHandler<dim> &dof_handler,
 template <int dim>
 void
 create_stokes_matrix_2(const DoFHandler<dim> &dof_handler,
-                       SparseMatrix<double> A)
+                       SparseMatrix<double>  &A)
 {
   const FiniteElement<dim> &fe            = dof_handler.get_fe();
   const unsigned int        dofs_per_cell = fe.dofs_per_cell;
@@ -196,7 +196,7 @@ create_stokes_matrix_2(const DoFHandler<dim> &dof_handler,
 template <int dim>
 void
 create_stokes_matrix_3(const DoFHandler<dim> &dof_handler,
-                       SparseMatrix<double> A)
+                       SparseMatrix<double>  &A)
 {
   const FiniteElement<dim> &fe            = dof_handler.get_fe();
   const unsigned int        dofs_per_cell = fe.dofs_per_cell;
index 728806d0aa23998a82801b72aafe9beadbfe9d3c..c6361d84fce6438eba929e80964b149796a7ea68 100644 (file)
@@ -55,7 +55,7 @@
 template <int dim>
 void
 create_stokes_matrix_2(const DoFHandler<dim> &dof_handler,
-                       SparseMatrix<double> A)
+                       SparseMatrix<double>  &A)
 {
   const FiniteElement<dim> &fe            = dof_handler.get_fe();
   const unsigned int        dofs_per_cell = fe.dofs_per_cell;
@@ -129,7 +129,7 @@ create_stokes_matrix_2(const DoFHandler<dim> &dof_handler,
 template <int dim>
 void
 create_stokes_matrix_3(const DoFHandler<dim> &dof_handler,
-                       SparseMatrix<double> A)
+                       SparseMatrix<double>  &A)
 {
   const FiniteElement<dim> &fe            = dof_handler.get_fe();
   const unsigned int        dofs_per_cell = fe.dofs_per_cell;
index 800a037188f056c2dddf23ac7209bb1c22faaca1..0c8266543a1061512cb4099bc891082677cb6868 100644 (file)
@@ -100,7 +100,7 @@ TestMap1<dim>::value(const Point<dim> &p, const unsigned int component) const
 template <int dim>
 void
 TestMap1<dim>::vector_value(const Point<dim> &p,
-                            Vector<double> &  return_value) const
+                            Vector<double>   &return_value) const
 {
   Assert(return_value.size() == this->n_components,
          ExcDimensionMismatch(return_value.size(), this->n_components));
@@ -158,7 +158,7 @@ TestDef1<dim>::value(const Point<dim> &p, const unsigned int component) const
 template <int dim>
 void
 TestDef1<dim>::vector_value(const Point<dim> &p,
-                            Vector<double> &  return_value) const
+                            Vector<double>   &return_value) const
 {
   Assert(return_value.size() == this->n_components,
          ExcDimensionMismatch(return_value.size(), this->n_components));
@@ -209,7 +209,7 @@ TestDef2<dim>::value(const Point<dim> &p, const unsigned int component) const
 template <int dim>
 void
 TestDef2<dim>::vector_value(const Point<dim> &p,
-                            Vector<double> &  return_value) const
+                            Vector<double>   &return_value) const
 {
   Assert(return_value.size() == this->n_components,
          ExcDimensionMismatch(return_value.size(), this->n_components));
@@ -261,7 +261,7 @@ TestDef3<dim>::value(const Point<dim> &p, const unsigned int component) const
 template <int dim>
 void
 TestDef3<dim>::vector_value(const Point<dim> &p,
-                            Vector<double> &  return_value) const
+                            Vector<double>   &return_value) const
 {
   Assert(return_value.size() == this->n_components,
          ExcDimensionMismatch(return_value.size(), this->n_components));
@@ -321,7 +321,7 @@ TestPoly<dim>::value(const Point<dim> &p, const unsigned int component) const
 template <int dim>
 void
 TestPoly<dim>::vector_value(const Point<dim> &p,
-                            Vector<double> &  return_value) const
+                            Vector<double>   &return_value) const
 {
   Assert(return_value.size() == this->n_components,
          ExcDimensionMismatch(return_value.size(), this->n_components));
@@ -429,7 +429,7 @@ main()
   deallog.get_file_stream() << std::fixed;
 
   Triangulation<2> tria_test;
-  DoFHandler<2> *  dof_handler, *dof_handler_def;
+  DoFHandler<2>   *dof_handler, *dof_handler_def;
   Point<2>         p1(0, 0), p2(1, 1);
 
   GridGenerator::hyper_rectangle(tria_test, p1, p2);
index 557ee885093840500717bc48f09ba99cec94a996..11e36ae2119f66f80a7985999fd0a85af3ff8316 100644 (file)
@@ -59,7 +59,7 @@
 
 void
 evaluate_normal_component(const DoFHandler<2> &dof_handler,
-                          Vector<double> &     solution)
+                          Vector<double>      &solution)
 {
   // This quadrature rule determines the points, where the
   // continuity will be tested.
index 8ba4a68331fa7639d7c5c4f5cda1a3e15a4cfdce..b7fc33b4529933f7b33459f3d223a720acddf68f 100644 (file)
@@ -47,9 +47,9 @@ char fname[50];
 ////////////////////////////////////////////////////////////////////////////
 template <int dim>
 inline void
-plot_shape_functions(Mapping<dim> &      mapping,
+plot_shape_functions(Mapping<dim>       &mapping,
                      FiniteElement<dim> &finel,
-                     const char *        name)
+                     const char         *name)
 {
   Triangulation<dim> tr;
   DoFHandler<dim>    dof(tr);
@@ -125,9 +125,9 @@ plot_shape_functions(Mapping<dim> &      mapping,
 
 template <int dim>
 inline void
-plot_face_shape_functions(Mapping<dim> &      mapping,
+plot_face_shape_functions(Mapping<dim>       &mapping,
                           FiniteElement<dim> &finel,
-                          const char *        name,
+                          const char         *name,
                           UpdateFlags uflags = UpdateFlags(update_values |
                                                            update_gradients |
                                                            update_hessians))
@@ -393,8 +393,8 @@ plot_face_shape_functions(Mapping<1> &,
 template <int dim>
 void
 check_values_and_derivatives(const FiniteElement<dim> &fe,
-                             const FEValuesBase<dim> fe_values,
-                             const Quadrature<dim> &   q)
+                             const FEValuesBase<dim>  &fe_values,
+                             const Quadrature<dim>    &q)
 {
   // check values
   for (unsigned int x = 0; x < q.size(); ++x)
@@ -485,7 +485,7 @@ check_values_and_derivatives(const FiniteElement<dim> &fe,
 
 template <int dim>
 void
-test_compute_functions(const Mapping<dim> &      mapping,
+test_compute_functions(const Mapping<dim>       &mapping,
                        const FiniteElement<dim> &fe,
                        const char *)
 {
index ec04f93bec3524fd10c474a244803941e29d7c10..59023336b0d6ed3837a279bdbe9111053affbafb 100644 (file)
@@ -22,7 +22,7 @@
 #include "../tests.h"
 
 #include "shapes.h"
-//#include "../../include/fe_bernstein.h"
+// #include "../../include/fe_bernstein.h"
 
 #define PRECISION 8
 
index ca70ba3f2e85b14c968f116d5a99e67f046346ac..6ea955686d5369e939f0aa9871597bb5d88fac22 100644 (file)
@@ -47,7 +47,7 @@
 
 template <int dim>
 inline void
-print_matrix(Triangulation<dim> &      tr,
+print_matrix(Triangulation<dim>       &tr,
              unsigned int              level,
              const FiniteElement<dim> &finel,
              const char * /*name*/)
index ca1541c3423ee2678bbf01965a54fa123dccd4c9..e2e752c0440d6f007392d4e200ec8fc785ab2037 100644 (file)
@@ -63,7 +63,7 @@ test(const Triangulation<dim> &tr, const FiniteElement<dim> &fe)
                      cell->neighbor(f),
                      cell->neighbor_of_neighbor(f),
                      numbers::invalid_unsigned_int);
-        const auto &       q_points    = fe_iv.get_quadrature_points();
+        const auto        &q_points    = fe_iv.get_quadrature_points();
         const unsigned int n_q_points  = q_points.size();
         const unsigned int n_dofs_face = fe_iv.n_current_interface_dofs();
 
index 28d17a8d525cdf5897e9696e26675c4b5ffd51bf..c785b520c2117bdf4f9449c73c6c735f56a83ffb 100644 (file)
@@ -67,7 +67,7 @@ test(const Triangulation<dim> &tr, const FiniteElement<dim> &fe)
                      cell->neighbor(f),
                      cell->neighbor_of_neighbor(f),
                      numbers::invalid_unsigned_int);
-        const auto &       q_points    = fe_iv.get_quadrature_points();
+        const auto        &q_points    = fe_iv.get_quadrature_points();
         const unsigned int n_q_points  = q_points.size();
         const unsigned int n_dofs_face = fe_iv.n_current_interface_dofs();
 
index 502790a4569b1695d93aa34a643cf1f3526815af..8963b14f44903ccddea7339821e971c53e647530 100644 (file)
 
 template <typename NumberType, int dim, typename ExtractorType>
 void
-test_feiv_view(const Vector<double> &         solution,
-               const FEInterfaceValues<dim> fe_iv,
-               const unsigned int &           n_q_points,
-               const ExtractorType &          extractor,
+test_feiv_view(const Vector<double>          &solution,
+               const FEInterfaceValues<dim>  &fe_iv,
+               const unsigned int            &n_q_points,
+               const ExtractorType           &extractor,
                const std::vector<NumberType> &local_dof_values);
 
 // Scalar view
 template <typename NumberType, int dim>
 void
-test_feiv_view(const Vector<double> &            solution,
-               const FEInterfaceValues<dim> &    fe_iv,
-               const unsigned int &              n_q_points,
+test_feiv_view(const Vector<double>             &solution,
+               const FEInterfaceValues<dim>     &fe_iv,
+               const unsigned int               &n_q_points,
                const FEValuesExtractors::Scalar &extractor,
-               const std::vector<NumberType> &   local_dof_values)
+               const std::vector<NumberType>    &local_dof_values)
 {
   using View =
     std::remove_reference_t<std::remove_const_t<decltype(fe_iv[extractor])>>;
@@ -170,11 +170,11 @@ test_feiv_view(const Vector<double> &            solution,
 // Vector view
 template <typename NumberType, int dim>
 void
-test_feiv_view(const Vector<double> &            solution,
-               const FEInterfaceValues<dim> &    fe_iv,
-               const unsigned int &              n_q_points,
+test_feiv_view(const Vector<double>             &solution,
+               const FEInterfaceValues<dim>     &fe_iv,
+               const unsigned int               &n_q_points,
                const FEValuesExtractors::Vector &extractor,
-               const std::vector<NumberType> &   local_dof_values)
+               const std::vector<NumberType>    &local_dof_values)
 {
   using View =
     std::remove_reference_t<std::remove_const_t<decltype(fe_iv[extractor])>>;
index c9915d344458c5171db3ba9ef8bd39231c2b911f..d901aa600daa5f1b00e4b3a745eb9b1940e8850b 100644 (file)
 
 template <typename NumberType, int dim, typename ExtractorType>
 void
-test_feiv_view(const Vector<double> &         solution,
-               const FEValues<dim> &          fe_values,
-               const unsigned int &           n_q_points,
-               const ExtractorType &          extractor,
+test_feiv_view(const Vector<double>          &solution,
+               const FEValues<dim>           &fe_values,
+               const unsigned int            &n_q_points,
+               const ExtractorType           &extractor,
                const std::vector<NumberType> &local_dof_values);
 
 // Scalar view
 template <typename NumberType, int dim>
 void
-test_feiv_view(const Vector<double> &            solution,
-               const FEInterfaceValues<dim> &    fe_iv,
-               const unsigned int &              n_q_points,
+test_feiv_view(const Vector<double>             &solution,
+               const FEInterfaceValues<dim>     &fe_iv,
+               const unsigned int               &n_q_points,
                const FEValuesExtractors::Scalar &extractor,
-               const std::vector<NumberType> &   local_dof_values)
+               const std::vector<NumberType>    &local_dof_values)
 {
   using View =
     std::remove_reference_t<std::remove_const_t<decltype(fe_iv[extractor])>>;
@@ -131,11 +131,11 @@ test_feiv_view(const Vector<double> &            solution,
 // Vector view
 template <typename NumberType, int dim>
 void
-test_feiv_view(const Vector<double> &            solution,
-               const FEInterfaceValues<dim> &    fe_iv,
-               const unsigned int &              n_q_points,
+test_feiv_view(const Vector<double>             &solution,
+               const FEInterfaceValues<dim>     &fe_iv,
+               const unsigned int               &n_q_points,
                const FEValuesExtractors::Vector &extractor,
-               const std::vector<NumberType> &   local_dof_values)
+               const std::vector<NumberType>    &local_dof_values)
 {
   using View =
     std::remove_reference_t<std::remove_const_t<decltype(fe_iv[extractor])>>;
index e2a317ebf2a7eeb4c1ecf8896a5256aa906e19af..ccb64174de7394335d3b359b5c711c52c5d7b529 100644 (file)
@@ -61,7 +61,7 @@ namespace Step12
   template <int dim>
   struct ScratchData
   {
-    ScratchData(const Mapping<dim> &      mapping,
+    ScratchData(const Mapping<dim>       &mapping,
                 const FiniteElement<dim> &fe,
                 const unsigned int        quadrature_degree,
                 const UpdateFlags         update_flags = update_values |
@@ -129,10 +129,10 @@ namespace Step12
 
   template <class MatrixType, class VectorType>
   inline void
-  copy(const CopyData &                 c,
+  copy(const CopyData                  &c,
        const AffineConstraints<double> &constraints,
-       MatrixType &                     system_matrix,
-       VectorType &                     system_rhs)
+       MatrixType                      &system_matrix,
+       VectorType                      &system_rhs)
   {
     constraints.distribute_local_to_global(c.cell_matrix,
                                            c.cell_rhs,
@@ -159,14 +159,14 @@ namespace Step12
     BoundaryValues() = default;
     virtual void
     value_list(const std::vector<Point<dim>> &points,
-               std::vector<double> &          values,
+               std::vector<double>           &values,
                const unsigned int             component = 0) const override;
   };
 
   template <int dim>
   void
   BoundaryValues<dim>::value_list(const std::vector<Point<dim>> &points,
-                                  std::vector<double> &          values,
+                                  std::vector<double>           &values,
                                   const unsigned int component) const
   {
     (void)component;
@@ -268,16 +268,16 @@ namespace Step12
     using Iterator = decltype(dof_handler.begin_active());
     BoundaryValues<dim> boundary_function;
 
-    auto cell_worker = [&](const Iterator &  cell,
+    auto cell_worker = [&](const Iterator   &cell,
                            ScratchData<dim> &scratch_data,
-                           CopyData &        copy_data) {
+                           CopyData         &copy_data) {
       const unsigned int n_dofs = scratch_data.fe_values.get_fe().dofs_per_cell;
       copy_data.reinit(cell, n_dofs);
       scratch_data.fe_values.reinit(cell);
 
       const auto &q_points = scratch_data.fe_values.get_quadrature_points();
 
-      const FEValues<dim> &      fe_v = scratch_data.fe_values;
+      const FEValues<dim>       &fe_v = scratch_data.fe_values;
       const std::vector<double> &JxW  = fe_v.get_JxW_values();
 
       for (unsigned int point = 0; point < fe_v.n_quadrature_points; ++point)
@@ -295,10 +295,10 @@ namespace Step12
         }
     };
 
-    auto boundary_worker = [&](const Iterator &    cell,
+    auto boundary_worker = [&](const Iterator     &cell,
                                const unsigned int &face_no,
-                               ScratchData<dim> &  scratch_data,
-                               CopyData &          copy_data) {
+                               ScratchData<dim>   &scratch_data,
+                               CopyData           &copy_data) {
       scratch_data.fe_interface_values.reinit(cell, face_no);
       const FEFaceValuesBase<dim> &fe_face =
         scratch_data.fe_interface_values.get_fe_face_values(0);
@@ -306,7 +306,7 @@ namespace Step12
       const auto &q_points = fe_face.get_quadrature_points();
 
       const unsigned int n_facet_dofs = fe_face.get_fe().n_dofs_per_cell();
-      const std::vector<double> &        JxW     = fe_face.get_JxW_values();
+      const std::vector<double>         &JxW     = fe_face.get_JxW_values();
       const std::vector<Tensor<1, dim>> &normals = fe_face.get_normal_vectors();
 
       std::vector<double> g(q_points.size());
@@ -335,14 +335,14 @@ namespace Step12
         }
     };
 
-    auto face_worker = [&](const Iterator &    cell,
+    auto face_worker = [&](const Iterator     &cell,
                            const unsigned int &f,
                            const unsigned int &sf,
-                           const Iterator &    ncell,
+                           const Iterator     &ncell,
                            const unsigned int &nf,
                            const unsigned int &nsf,
-                           ScratchData<dim> &  scratch_data,
-                           CopyData &          copy_data) {
+                           ScratchData<dim>   &scratch_data,
+                           CopyData           &copy_data) {
       FEInterfaceValues<dim> &fe_facet = scratch_data.fe_interface_values;
       fe_facet.reinit(cell, f, sf, ncell, nf, nsf);
       const auto &q_points = fe_facet.get_quadrature_points();
@@ -355,7 +355,7 @@ namespace Step12
 
       copy_data_face.cell_matrix.reinit(n_dofs, n_dofs);
 
-      const std::vector<double> &        JxW = fe_facet.get_JxW_values();
+      const std::vector<double>         &JxW = fe_facet.get_JxW_values();
       const std::vector<Tensor<1, dim>> &normals =
         fe_facet.get_normal_vectors();
 
index 8ba022a6735d04753b3e6c13e57795f20ac0d8cc..1d67fc0de7b7aa33b73d1aa892e921beec4a283d 100644 (file)
@@ -108,10 +108,10 @@ namespace StokesTests
 
   template <class MatrixType, class VectorType>
   inline void
-  copy(const CopyData &                 c,
+  copy(const CopyData                  &c,
        const AffineConstraints<double> &constraints,
-       MatrixType &                     system_matrix,
-       VectorType &                     system_rhs)
+       MatrixType                      &system_matrix,
+       VectorType                      &system_rhs)
   {
     constraints.distribute_local_to_global(c.cell_matrix,
                                            c.cell_rhs,
@@ -499,9 +499,9 @@ namespace StokesTests
              (1.0 / extent1 + 1.0 / extent2);
     };
 
-    auto cell_worker = [&](const Iterator &              cell,
+    auto cell_worker = [&](const Iterator               &cell,
                            MeshWorker::ScratchData<dim> &scratch_data,
-                           CopyData &                    copy_data) {
+                           CopyData                     &copy_data) {
       const FEValues<dim> &fe_v = scratch_data.reinit(cell);
 
       const unsigned int dofs_per_cell = fe_v.dofs_per_cell;
@@ -547,15 +547,15 @@ namespace StokesTests
         }
     };
 
-    auto boundary_worker = [&](const Iterator &              cell,
-                               const unsigned int &          face_no,
+    auto boundary_worker = [&](const Iterator               &cell,
+                               const unsigned int           &face_no,
                                MeshWorker::ScratchData<dim> &scratch_data,
-                               CopyData &                    copy_data) {
+                               CopyData                     &copy_data) {
       const FEFaceValuesBase<dim> &fe_fv = scratch_data.reinit(cell, face_no);
 
       const auto &q_points = fe_fv.get_quadrature_points();
 
-      const std::vector<double> &        JxW     = fe_fv.get_JxW_values();
+      const std::vector<double>         &JxW     = fe_fv.get_JxW_values();
       const std::vector<Tensor<1, dim>> &normals = fe_fv.get_normal_vectors();
 
       std::vector<Vector<double>> g_values(q_points.size(),
@@ -625,14 +625,14 @@ namespace StokesTests
         }
     };
 
-    auto face_worker = [&](const Iterator &              cell,
-                           const unsigned int &          f,
-                           const unsigned int &          sf,
-                           const Iterator &              ncell,
-                           const unsigned int &          nf,
-                           const unsigned int &          nsf,
+    auto face_worker = [&](const Iterator               &cell,
+                           const unsigned int           &f,
+                           const unsigned int           &sf,
+                           const Iterator               &ncell,
+                           const unsigned int           &nf,
+                           const unsigned int           &nsf,
                            MeshWorker::ScratchData<dim> &scratch_data,
-                           CopyData &                    copy_data) {
+                           CopyData                     &copy_data) {
       const FEInterfaceValues<dim> &fe_fv =
         scratch_data.reinit(cell, f, sf, ncell, nf, nsf);
       FEInterfaceViews::Scalar<dim> interface_scalar(fe_fv, pressure.component);
@@ -640,13 +640,13 @@ namespace StokesTests
         fe_fv, velocities.first_vector_component);
 
       copy_data.face_data.emplace_back();
-      CopyDataFace &     copy_data_face = copy_data.face_data.back();
+      CopyDataFace      &copy_data_face = copy_data.face_data.back();
       const unsigned int dofs_per_cell  = fe_fv.n_current_interface_dofs();
 
       copy_data_face.joint_dof_indices = fe_fv.get_interface_dof_indices();
       copy_data_face.cell_matrix.reinit(dofs_per_cell, dofs_per_cell);
 
-      const std::vector<double> &        JxW     = fe_fv.get_JxW_values();
+      const std::vector<double>         &JxW     = fe_fv.get_JxW_values();
       const std::vector<Tensor<1, dim>> &normals = fe_fv.get_normal_vectors();
       const auto &q_points = fe_fv.get_quadrature_points();
 
index ec32f1f30dde7bba6fc7b6d64d7634eea6a1bf37..79d320abf9998ba50d65dadd7f797b79b0343bc1 100644 (file)
@@ -70,7 +70,7 @@ template <int dim, int spacedim>
 void
 output_grid(
   const std::vector<std::shared_ptr<const Triangulation<dim, spacedim>>> &trias,
-  const std::string &                                                     label)
+  const std::string                                                      &label)
 {
   deallog.push(label);
   const auto comm    = trias.front()->get_communicator();
index 779bb43fa96e1b2999bdb90ff5da6b7cbfb4a8c8..2fb0111fa8a43210126ce883b94ba7c6082936d5 100644 (file)
@@ -124,7 +124,7 @@ public:
       template <typename SP>
       SparseMatrix(const IndexSet &local,
                    const IndexSet &,
-                   SP &           sp,
+                   SP            &sp,
                    const MPI_Comm comm = MPI_COMM_WORLD)
       {}
 
index 99afe1f9a5e0f7fd8cfef37fe38a5c803d17ec17..edd6d310860178dbf4e12c8b844e11e9d7677202 100644 (file)
@@ -92,7 +92,7 @@ benchmark(const unsigned int n_global_refinements)
       boost::iostreams::filtering_ostreambuf fosb;
       fosb.push(boost::iostreams::back_inserter(buffer));
       boost::archive::binary_oarchive oa(fosb);
-      oa &                            cell_ids;
+      oa                             &cell_ids;
     }
     {
       TimerOutput::Scope t(computing_timer, "boost binary_archive load");
@@ -100,7 +100,7 @@ benchmark(const unsigned int n_global_refinements)
       boost::iostreams::filtering_istreambuf fisb;
       fisb.push(boost::iostreams::array_source(buffer.data(), buffer.size()));
       boost::archive::binary_iarchive ia(fisb);
-      ia &                            deserialized;
+      ia                             &deserialized;
     }
     AssertThrow(cell_ids == deserialized,
                 ExcMessage("Serialization with boost binary archives failed."));
index 75d4455f13d5aced62c416ffecf4852a415166ae..9ab7ad648a90c8204613bae313097486ee020a8b 100644 (file)
@@ -5,7 +5,7 @@
 template <int dim>
 void
 test(const ReferenceCell &reference_cell,
-     const Point<dim> &   p,
+     const Point<dim>    &p,
      const bool           print = true)
 {
   const Point<dim> projected       = reference_cell.closest_point(p);
index d250a1914e0c0f10184191656d827d21f478033f..1ef56f169418600db44b22c35af5815a3ae19468 100644 (file)
@@ -28,8 +28,8 @@
 
 template <int dim>
 void
-check_found(const Triangulation<dim> &     tria,
-            const GridTools::Cache<dim> &  cache,
+check_found(const Triangulation<dim>      &tria,
+            const GridTools::Cache<dim>   &cache,
             const std::vector<Point<dim>> &points)
 {
   auto cell_qpoint_map =
index 3b946c189ddfdf08b5571815c347fe7d54ff273e..d40f45d9bc4a2e118d1b74bd00ed0836095eb449 100644 (file)
@@ -185,7 +185,7 @@ test()
       create_triangulation(case_no, tria);
       const std::pair<Point<dim>, double> smallest_sphere =
         tria.begin_active()->enclosing_ball();
-      const double &    radius = smallest_sphere.second;
+      const double     &radius = smallest_sphere.second;
       const Point<dim> &center = smallest_sphere.first;
 
       deallog << "dim" << dim << ":case" << case_no << ":diameter=" << radius
index 695f70873621b85c94458ce49b73f677724b903e..4c4be04bb5d0202e8ab5c539dd4ab59499471b43 100644 (file)
@@ -30,7 +30,7 @@
 
 template <int dim, int spacedim>
 void
-print_result(const Mapping<dim, spacedim> &      mapping,
+print_result(const Mapping<dim, spacedim>       &mapping,
              const Triangulation<dim, spacedim> &tria,
              const Point<dim>                    p,
              const double                        tolerance)
index c6af97a904915f95621600c7cc56e7a9c5f525b2..411a9a2895840b93a13cabc4840aa5120229c5cf 100644 (file)
@@ -30,7 +30,7 @@
 
 template <int dim, int spacedim>
 void
-print_result(const Mapping<dim, spacedim> &      mapping,
+print_result(const Mapping<dim, spacedim>       &mapping,
              const Triangulation<dim, spacedim> &tria,
              const Point<dim>                    p,
              const double                        tolerance = 1.e-10)
index 14d9a5694fe49666d158b85b61199f333bea3174..a6b4213e218ec67891c4176d374971e67485f295 100644 (file)
@@ -30,7 +30,7 @@
 
 template <int dim, int spacedim>
 void
-print_result(const Mapping<dim, spacedim> &      mapping,
+print_result(const Mapping<dim, spacedim>       &mapping,
              const Triangulation<dim, spacedim> &tria,
              const Point<dim>                    p,
              const double                        tolerance)
index 6962939efe16ec5aa63f955688f86f53090409a2..3c2e6f47b6cba3e40227536b5265902981dec9c0 100644 (file)
@@ -30,7 +30,7 @@
 
 template <int dim, int spacedim>
 void
-print_result(const Mapping<dim, spacedim> &      mapping,
+print_result(const Mapping<dim, spacedim>       &mapping,
              const Triangulation<dim, spacedim> &tria,
              const Point<dim>                    p,
              const double                        tolerance)
@@ -49,7 +49,7 @@ print_result(const Mapping<dim, spacedim> &      mapping,
 
 template <int dim, int spacedim>
 void
-print_result(const Mapping<dim, spacedim> &      mapping,
+print_result(const Mapping<dim, spacedim>       &mapping,
              const Triangulation<dim, spacedim> &tria,
              const Point<dim>                    p)
 {
index 3b8d72dd74290169d7a7cbe2bd8a157a676c3321..0b735b0e0ff73504338cbefead60cafd6633446f 100644 (file)
@@ -30,7 +30,7 @@
 
 template <int dim, int spacedim>
 void
-print_result(const Mapping<dim, spacedim> &      mapping,
+print_result(const Mapping<dim, spacedim>       &mapping,
              const Triangulation<dim, spacedim> &tria,
              const Point<dim>                    p)
 {
index 5e8cdcca8a49ee19cbf5e5ba6ecc6c0880a11877..5f1eaa0887f908714656e91cac6a697cbfe60bee 100644 (file)
@@ -58,9 +58,9 @@ namespace dealii
     void
     create_triangulation_with_marching_cube_algorithm(
       Triangulation<dim - 1, dim> &tria,
-      const Mapping<dim> &         mapping,
-      const DoFHandler<dim> &      background_dof_handler,
-      const VectorType &           ls_vector,
+      const Mapping<dim>          &mapping,
+      const DoFHandler<dim>       &background_dof_handler,
+      const VectorType            &ls_vector,
       const double                 iso_level,
       const unsigned int           n_subdivisions,
       const double                 tolerance = 1e-10)
index 69e92685c3582d75d87e0c27eff88ad397a401f4..5ee40eb1a05bd71293f0dce78cca898a9594da84 100644 (file)
@@ -36,7 +36,7 @@ using namespace dealii;
 template <int dim>
 void
 print_mesh_info(const Triangulation<dim> &triangulation,
-                const std::string &       filename)
+                const std::string        &filename)
 {
   deallog << "Mesh info:" << std::endl
           << " dimension: " << dim << std::endl
index e9ccacfad5191972e9bbc1d840054314b8de631d..b224d4ef3424ae40d8c8561e8294b9d30bc560e2 100644 (file)
@@ -37,7 +37,7 @@ using namespace dealii;
 template <int dim>
 void
 print_mesh_info(const Triangulation<dim> &triangulation,
-                const std::string &       filename)
+                const std::string        &filename)
 {
   deallog << "Mesh info:" << std::endl
           << " dimension: " << dim << std::endl
index 703073866ccd73553338c92cc26fce2b633bfb79..f54b0fa68e807d46e79e36e9cd7a6392deec4f3d 100644 (file)
@@ -29,7 +29,7 @@
 template <int dim, int spacedim = dim>
 void
 print_mesh_info(const Triangulation<dim, spacedim> &triangulation,
-                const std::string &                 filename)
+                const std::string                  &filename)
 {
   deallog << "Mesh info:" << std::endl
           << " dimension: " << dim << std::endl
index a8298c4b8b0be51a668c8494a01168c8dc1f2d8c..fa8561db84a97e02d9f1a3c831b0f49bb3b17586 100644 (file)
@@ -42,7 +42,7 @@
 template <int dim>
 void
 output(const parallel::distributed::Triangulation<dim> &tr,
-       const std::string &                              filename,
+       const std::string                               &filename,
        const bool                                       view_levels,
        const bool                                       include_artificial)
 {
index 5dc2b46e5de675c2ec24ae75d70ba07d8d525562..70fd81814459105942bb29d1a793b15d81638c8b 100644 (file)
@@ -43,7 +43,7 @@
 template <int dim>
 void
 output(const parallel::shared::Triangulation<dim> &tr,
-       const std::string &                         filename,
+       const std::string                          &filename,
        const bool                                  view_levels,
        const bool                                  include_artificial)
 {
index 5ec2caa3ca80bb378b471e5a1df0ab528df9f918..3370e282da3c209f5ed4cbeca4fa74939e8434e1 100644 (file)
@@ -37,7 +37,7 @@ class Ball : public FlatManifold<dim>
 public:
   virtual Point<dim>
   get_new_point(const ArrayView<const Point<dim>> &surrounding_points,
-                const ArrayView<const double> &    weights) const override
+                const ArrayView<const double>     &weights) const override
   {
     Point<dim> middle =
       FlatManifold<dim>::get_new_point(surrounding_points, weights);
index 3e2617e1c444ca6d81387e7a3cd1eaab1ac0e25d..437083b5bddcabe9e125d61156fd92b265c13322 100644 (file)
@@ -66,7 +66,7 @@ test1()
 void
 test2()
 {
-  std::ostream &   logfile = deallog.get_file_stream();
+  std::ostream    &logfile = deallog.get_file_stream();
   Triangulation<2> tria;
   GridGenerator::hyper_cube(tria);
 
index 9c9eeeed74c21365c8289582c4fbf43428745813..925a0abe5f816962c2d5833b5f56c9b9dcd9c03a 100644 (file)
@@ -91,21 +91,21 @@ void
 generate_grid(Triangulation<3> &triangulation)
 {
   Point<3>              vertices_1[] = {Point<3>(-1., -1., -3.),
-                           Point<3>(+1., -1., -3.),
-                           Point<3>(-1., +1., -3.),
-                           Point<3>(+1., +1., -3.),
-                           Point<3>(-1., -1., -1.),
-                           Point<3>(+1., -1., -1.),
-                           Point<3>(-1., +1., -1.),
-                           Point<3>(+1., +1., -1.),
-                           Point<3>(-1., -1., +1.),
-                           Point<3>(+1., -1., +1.),
-                           Point<3>(-1., +1., +1.),
-                           Point<3>(+1., +1., +1.),
-                           Point<3>(-1., -1., +3.),
-                           Point<3>(+1., -1., +3.),
-                           Point<3>(-1., +1., +3.),
-                           Point<3>(+1., +1., +3.)};
+                                        Point<3>(+1., -1., -3.),
+                                        Point<3>(-1., +1., -3.),
+                                        Point<3>(+1., +1., -3.),
+                                        Point<3>(-1., -1., -1.),
+                                        Point<3>(+1., -1., -1.),
+                                        Point<3>(-1., +1., -1.),
+                                        Point<3>(+1., +1., -1.),
+                                        Point<3>(-1., -1., +1.),
+                                        Point<3>(+1., -1., +1.),
+                                        Point<3>(-1., +1., +1.),
+                                        Point<3>(+1., +1., +1.),
+                                        Point<3>(-1., -1., +3.),
+                                        Point<3>(+1., -1., +3.),
+                                        Point<3>(-1., +1., +3.),
+                                        Point<3>(+1., +1., +3.)};
   std::vector<Point<3>> vertices(&vertices_1[0], &vertices_1[16]);
 
   std::vector<CellData<3>> cells(2, CellData<3>());
@@ -155,8 +155,8 @@ generate_grid(Triangulation<3> &triangulation)
  */
 template <typename FaceIterator>
 void
-print_match(const FaceIterator &  face_1,
-            const FaceIterator &  face_2,
+print_match(const FaceIterator   &face_1,
+            const FaceIterator   &face_2,
             const std::bitset<3> &orientation)
 {
   static const int dim = FaceIterator::AccessorType::dimension;
index 39b5a9b822fe33d850bcb81a655cff8bb98d83bc..4f270a951c662d40b879353b00e4fcc3ff906d88 100644 (file)
@@ -96,21 +96,21 @@ void
 generate_grid(Triangulation<3> &triangulation, int orientation)
 {
   Point<3>              vertices_1[] = {Point<3>(-1., -1., -3.),
-                           Point<3>(+1., -1., -3.),
-                           Point<3>(-1., +1., -3.),
-                           Point<3>(+1., +1., -3.),
-                           Point<3>(-1., -1., -1.),
-                           Point<3>(+1., -1., -1.),
-                           Point<3>(-1., +1., -1.),
-                           Point<3>(+1., +1., -1.),
-                           Point<3>(-1., -1., +1.),
-                           Point<3>(+1., -1., +1.),
-                           Point<3>(-1., +1., +1.),
-                           Point<3>(+1., +1., +1.),
-                           Point<3>(-1., -1., +3.),
-                           Point<3>(+1., -1., +3.),
-                           Point<3>(-1., +1., +3.),
-                           Point<3>(+1., +1., +3.)};
+                                        Point<3>(+1., -1., -3.),
+                                        Point<3>(-1., +1., -3.),
+                                        Point<3>(+1., +1., -3.),
+                                        Point<3>(-1., -1., -1.),
+                                        Point<3>(+1., -1., -1.),
+                                        Point<3>(-1., +1., -1.),
+                                        Point<3>(+1., +1., -1.),
+                                        Point<3>(-1., -1., +1.),
+                                        Point<3>(+1., -1., +1.),
+                                        Point<3>(-1., +1., +1.),
+                                        Point<3>(+1., +1., +1.),
+                                        Point<3>(-1., -1., +3.),
+                                        Point<3>(+1., -1., +3.),
+                                        Point<3>(-1., +1., +3.),
+                                        Point<3>(+1., +1., +3.)};
   std::vector<Point<3>> vertices(&vertices_1[0], &vertices_1[16]);
 
   std::vector<CellData<3>> cells(2, CellData<3>());
@@ -168,8 +168,8 @@ generate_grid(Triangulation<3> &triangulation, int orientation)
  */
 template <typename FaceIterator>
 void
-print_match(const FaceIterator &  face_1,
-            const FaceIterator &  face_2,
+print_match(const FaceIterator   &face_1,
+            const FaceIterator   &face_2,
             const std::bitset<3> &orientation)
 {
   static const int dim = FaceIterator::AccessorType::dimension;
index bd01d18d187a77701c9a22850587d8eebcbe5d75..1dbd46e21e4f7eaf64d90f2eb4bb6e0c2eba1322 100644 (file)
@@ -72,8 +72,8 @@ generate_grid(Triangulation<2> &triangulation)
 
 std::vector<unsigned int>
 mark_vertices_at_boundary(const types::boundary_id boundary_id,
-                          const Triangulation<2> triangulation,
-                          std::vector<bool> &      marked_vertices)
+                          const Triangulation<2>  &triangulation,
+                          std::vector<bool>       &marked_vertices)
 {
   std::vector<unsigned int> marked_cell_idxs;
 
@@ -98,8 +98,8 @@ mark_vertices_at_boundary(const types::boundary_id boundary_id,
 }
 
 int
-find_cell_at_point(const Point<2> &         p,
-                   const Triangulation<2> triangulation,
+find_cell_at_point(const Point<2>          &p,
+                   const Triangulation<2>  &triangulation,
                    const std::vector<bool> &marked_vertices,
                    const Triangulation<2>::active_cell_iterator &cell_hint,
                    const double tolerance = 1e-6)
index 0f87690e627bea621fefe73f79da41f55d639021..62d99076fe763c1688df7132989ec968a10f11d2 100644 (file)
@@ -22,7 +22,7 @@
 
 
 // write VTK files for visual inspection
-//#define WRITE_VTK
+// #define WRITE_VTK
 
 
 #include <deal.II/grid/grid_generator.h>
index 1de69fd48335a74ee269991a72d30678942948ae..d83d50482cab6307f3e2d66a7f94bb9bb5f2c02e 100644 (file)
@@ -50,8 +50,8 @@
 template <int dim>
 double
 compute_aspect_ratio_hyper_rectangle(
-  const Point<dim> &               left,
-  const Point<dim> &               right,
+  const Point<dim>                &left,
+  const Point<dim>                &right,
   const std::vector<unsigned int> &refinements,
   unsigned int                     degree     = 1,
   unsigned int                     n_q_points = 2,
index 10538f9c67e16a2febc4d54162d413c503cd1bf7..19fc6e91dc4e5a433ef0e5784f601a48e0e4aab0 100644 (file)
@@ -67,8 +67,8 @@ test(unsigned int n_points)
 
   const auto cell_qpoint_map =
     GridTools::compute_point_locations(cache, points);
-  const auto cells   = std::get<0>(cell_qpoint_map);
-  const auto maps    = std::get<2>(cell_qpoint_map);
+  const auto  &cells   = std::get<0>(cell_qpoint_map);
+  const auto  &maps    = std::get<2>(cell_qpoint_map);
   unsigned int n_cells = cells.size();
 
   for (unsigned int c = 0; c < n_cells; ++c)
index 20a12d6bc6a9bbf2c18a3a1fc3922cd4a278f28a..1ef16db813e07a6b147099e1f56e8765af0595ce 100644 (file)
@@ -29,7 +29,7 @@
 // this is not accounted for (for n_cells>5) and the child lines are deleted,
 // although they are still needed.
 void
-create_star_structured_cylinder(Triangulation<3> coarse_grid,
+create_star_structured_cylinder(Triangulation<3>  &coarse_grid,
                                 const unsigned int n_cells)
 {
   Assert(n_cells > 1, ExcNotImplemented());
index 82895fba1c3705b34e0cb20a9eccfb323ba1e727..ec089a175c1ec6280226f33f20915c1c499b220c 100644 (file)
@@ -31,11 +31,11 @@ void
 create_two_cubes(Triangulation<3> &coarse_grid)
 {
   const Point<3>        points[6] = {Point<3>(0, 0, 0),
-                              Point<3>(1, 0, 0),
-                              Point<3>(1, 1, 0),
-                              Point<3>(0, 1, 0),
-                              Point<3>(2, 0, 0),
-                              Point<3>(2, 1, 0)};
+                                     Point<3>(1, 0, 0),
+                                     Point<3>(1, 1, 0),
+                                     Point<3>(0, 1, 0),
+                                     Point<3>(2, 0, 0),
+                                     Point<3>(2, 1, 0)};
   std::vector<Point<3>> vertices;
   for (unsigned int i = 0; i < 6; ++i)
     vertices.push_back(points[i]);
@@ -71,17 +71,17 @@ create_two_cubes(Triangulation<3> &coarse_grid)
 // to store the face rotation (and face flip) in each cell
 
 void
-create_two_cubes_rotation(Triangulation<3> coarse_grid,
+create_two_cubes_rotation(Triangulation<3>  &coarse_grid,
                           const unsigned int n_rotations)
 {
   Assert(n_rotations < 4, ExcNotImplemented());
 
   const Point<3>        points[6] = {Point<3>(0, 0, 0),
-                              Point<3>(1, 0, 0),
-                              Point<3>(1, 1, 0),
-                              Point<3>(0, 1, 0),
-                              Point<3>(2, 0, 0),
-                              Point<3>(2, 1, 0)};
+                                     Point<3>(1, 0, 0),
+                                     Point<3>(1, 1, 0),
+                                     Point<3>(0, 1, 0),
+                                     Point<3>(2, 0, 0),
+                                     Point<3>(2, 1, 0)};
   std::vector<Point<3>> vertices;
   for (unsigned int i = 0; i < 6; ++i)
     vertices.push_back(points[i]);
index 96c22dc71e66461b4cd4c04a5704bc22c7446ec8..aa5d8908cd71f0a75bc34a4dcd9987a46a9e8385 100644 (file)
@@ -30,7 +30,7 @@
 
 template <int dim>
 void
-verify(Triangulation<dim> tr,
+verify(Triangulation<dim>  &tr,
        const Vector<float> &criteria,
        const float          refinement_fraction,
        const float          coarsening_fraction)
index 961a1995d8564c8127304ebba3075d48434d0c35..584ca33d3295fdbe203db7365f61799160e57b6c 100644 (file)
@@ -27,7 +27,7 @@
 
 template <int dim, int spacedim>
 void
-pre_refinement_notification(const std::string &                 prefix,
+pre_refinement_notification(const std::string                  &prefix,
                             const Triangulation<dim, spacedim> &tria)
 {
   deallog << prefix << ' ' << "Pre-refinement: " << tria.n_active_cells()
@@ -37,7 +37,7 @@ pre_refinement_notification(const std::string &                 prefix,
 
 template <int dim, int spacedim>
 void
-post_refinement_notification(const std::string &                 prefix,
+post_refinement_notification(const std::string                  &prefix,
                              const Triangulation<dim, spacedim> &tria)
 {
   deallog << prefix << ' ' << "Post-refinement: " << tria.n_active_cells()
@@ -47,7 +47,7 @@ post_refinement_notification(const std::string &                 prefix,
 
 template <int dim, int spacedim>
 void
-copy_notification(const std::string &                 prefix,
+copy_notification(const std::string                  &prefix,
                   const Triangulation<dim, spacedim> &old_tria,
                   const Triangulation<dim, spacedim> &new_tria)
 {
@@ -58,7 +58,7 @@ copy_notification(const std::string &                 prefix,
 
 template <int dim, int spacedim>
 void
-create_notification(const std::string &                 prefix,
+create_notification(const std::string                  &prefix,
                     const Triangulation<dim, spacedim> &tria)
 {
   deallog << prefix << ' ' << "Create: " << tria.n_active_cells() << std::endl;
index c39ca3aea4b2823c6cae6458e4e4f64eb5a47af8..e619cad632e0ed1f72d676bf1d946f9f8b2f9373 100644 (file)
@@ -25,7 +25,7 @@
 
 template <int dim, int spacedim>
 void
-pre_refinement_notification(const std::string &                 prefix,
+pre_refinement_notification(const std::string                  &prefix,
                             const Triangulation<dim, spacedim> &tria)
 {
   deallog << prefix << ' ' << "Pre-refinement: " << tria.n_active_cells()
@@ -35,7 +35,7 @@ pre_refinement_notification(const std::string &                 prefix,
 
 template <int dim, int spacedim>
 void
-post_refinement_notification(const std::string &                 prefix,
+post_refinement_notification(const std::string                  &prefix,
                              const Triangulation<dim, spacedim> &tria)
 {
   deallog << prefix << ' ' << "Post-refinement: " << tria.n_active_cells()
@@ -45,7 +45,7 @@ post_refinement_notification(const std::string &                 prefix,
 
 template <int dim, int spacedim>
 void
-copy_notification(const std::string &                 prefix,
+copy_notification(const std::string                  &prefix,
                   const Triangulation<dim, spacedim> &old_tria,
                   const Triangulation<dim, spacedim> &new_tria)
 {
@@ -56,7 +56,7 @@ copy_notification(const std::string &                 prefix,
 
 template <int dim, int spacedim>
 void
-create_notification(const std::string &                 prefix,
+create_notification(const std::string                  &prefix,
                     const Triangulation<dim, spacedim> &tria)
 {
   deallog << prefix << ' ' << "Create: " << tria.n_active_cells() << std::endl;
@@ -65,7 +65,7 @@ create_notification(const std::string &                 prefix,
 
 template <int dim, int spacedim>
 void
-any_change_notification(const std::string &                 prefix,
+any_change_notification(const std::string                  &prefix,
                         const Triangulation<dim, spacedim> &tria)
 {
   deallog << prefix << ' ' << "Any change: " << tria.n_active_cells()
index cd67a6d651d3781caf10503a573978cd7bab1fd1..5016486da7d5bf5109c0024aeeebb4e58f9c7cca 100644 (file)
@@ -64,7 +64,7 @@ test();
 
 template <int dim>
 void
-do_check(const Triangulation<dim> &   triangulation,
+do_check(const Triangulation<dim>    &triangulation,
          const hp::FECollection<dim> &fe)
 {
   DoFHandler<dim> dof_handler(triangulation);
index 55b94a5da544422422116990bc24d7e7c071f506..e1ba17240a001c286fa25b1482fe93fbf4eac836 100644 (file)
@@ -50,7 +50,7 @@ test()
   dofh.begin_active()->set_active_fe_index(1);
   dofh.distribute_dofs(fes);
 
-  const auto &       parent = dofh.begin(/*level=*/0);
+  const auto        &parent = dofh.begin(/*level=*/0);
   const unsigned int parent_future_fe =
     internal::hp::DoFHandlerImplementation::dominated_future_fe_on_children<
       dim>(parent);
index c3ae426af4ac9f8934b7aa5ec66c49b3e7e9a24f..cdfbeee71d329c95e97305b7dfa485363337892d 100644 (file)
@@ -163,7 +163,7 @@ public:
 template <int dim>
 inline void
 BoundaryValues<dim>::vector_value(const Point<dim> &p,
-                                  Vector<double> &  values) const
+                                  Vector<double>   &values) const
 {
   values(0) = -0.001;
 }
@@ -186,11 +186,11 @@ public:
                      // components the function consists; default - 1
   virtual void
   vector_value(const Point<dim> &p,
-               Vector<double> &  values)
+               Vector<double>   &values)
     const; // returns calculated values in the second argument;
   virtual void
   vector_value_list(const std::vector<Point<dim>> &points,
-                    std::vector<Vector<double>> &  value_list)
+                    std::vector<Vector<double>>   &value_list)
     const; // values at several points at once
   // prevent from calling virtual function "vector_value" to frequently
 };
@@ -204,7 +204,7 @@ ConstrainValues<dim>::ConstrainValues()
 template <int dim>
 inline void
 ConstrainValues<dim>::vector_value(const Point<dim> &p,
-                                   Vector<double> &  values) const
+                                   Vector<double>   &values) const
 {
   Assert(values.size() == dim,
          ExcDimensionMismatch(values.size(),
@@ -217,7 +217,7 @@ template <int dim>
 void
 ConstrainValues<dim>::vector_value_list(
   const std::vector<Point<dim>> &points,
-  std::vector<Vector<double>> &  value_list) const
+  std::vector<Vector<double>>   &value_list) const
 {
   Assert(
     value_list.size() == points.size(),
index 96f30ee00a07beeec6fadcb18f768dd2e5e97462..ea2c7bdaf8163afdc133e39e6d72e27b0744f6a9 100644 (file)
@@ -41,8 +41,8 @@
 template <int dim>
 void
 project(const hp::FECollection<dim> &fe_collection,
-        const hp::QCollection<dim> q_collection,
-        const Function<dim> &        function)
+        const hp::QCollection<dim>  &q_collection,
+        const Function<dim>         &function)
 {
 #ifdef DEBUG
   Assert(fe_collection.size() == 2, ExcInternalError());
index 64015f287c8cc24d3cb2d508ba603e0f34bda0f3..443bdc91e10da96b3f77c8e08f6fad0bcfdebaf6 100644 (file)
@@ -47,9 +47,9 @@ public:
 };
 
 void
-output(const DoFHandler<2> &                             dof_handler,
+output(const DoFHandler<2>                              &dof_handler,
        const LinearAlgebra::distributed::Vector<double> &vector,
-       const std::string &                               file_name)
+       const std::string                                &file_name)
 {
   DataOut<2> data_out;
   data_out.attach_dof_handler(dof_handler);
index e061ba94b537420770d342b00b2456f7287b10b8..3836d168e77b35eb3350d0f5e326cf3ebc769b93 100644 (file)
@@ -64,7 +64,7 @@ test();
 
 template <int dim>
 void
-do_check(const Triangulation<dim> &   triangulation,
+do_check(const Triangulation<dim>    &triangulation,
          const hp::FECollection<dim> &fe)
 {
   DoFHandler<dim> dof_handler(triangulation);
@@ -325,7 +325,7 @@ test_with_2d_deformed_refined_mesh(const hp::FECollection<dim> &fe)
 // error. we do so with every pair of finite elements given
 template <int dim>
 void
-test_interpolation_base(const hp::FECollection<dim> &    fe,
+test_interpolation_base(const hp::FECollection<dim>     &fe,
                         const std::vector<unsigned int> &polynomial_degrees,
                         const bool                       do_refine)
 {
@@ -460,7 +460,7 @@ test_interpolation_base(const hp::FECollection<dim> &    fe,
 
 template <int dim>
 void
-test_interpolation(const hp::FECollection<dim> &    fe,
+test_interpolation(const hp::FECollection<dim>     &fe,
                    const std::vector<unsigned int> &polynomial_degrees)
 {
   test_interpolation_base(fe, polynomial_degrees, false);
index 8d2ac0c3abb7d170812988a8d47c5fa60b299136..6178db810213395a85f33646c463e1aede76dc91 100644 (file)
@@ -65,7 +65,7 @@ test();
 
 template <int dim>
 void
-do_check(const Triangulation<dim> &   triangulation,
+do_check(const Triangulation<dim>    &triangulation,
          const hp::FECollection<dim> &fe)
 {
   DoFHandler<dim> dof_handler(triangulation);
@@ -326,7 +326,7 @@ test_with_2d_deformed_refined_mesh(const hp::FECollection<dim> &fe)
 // error. we do so with every pair of finite elements given
 template <int dim>
 void
-test_interpolation_base(const hp::FECollection<dim> &    fe,
+test_interpolation_base(const hp::FECollection<dim>     &fe,
                         const std::vector<unsigned int> &polynomial_degrees,
                         const bool                       do_refine)
 {
@@ -460,7 +460,7 @@ test_interpolation_base(const hp::FECollection<dim> &    fe,
 
 template <int dim>
 void
-test_interpolation(const hp::FECollection<dim> &    fe,
+test_interpolation(const hp::FECollection<dim>     &fe,
                    const std::vector<unsigned int> &polynomial_degrees)
 {
   test_interpolation_base(fe, polynomial_degrees, false);
index ad5c622ba99928562ba3fc7687711f7c8f7f1886..cdb14c224be60a144bc73d6bb1100385239f74ed 100644 (file)
@@ -64,7 +64,7 @@
 
 #include "../tests.h"
 
-//#define DEBUG_OUTPUT_VTK
+// #define DEBUG_OUTPUT_VTK
 unsigned int counter = 0;
 
 const double eps = 1e-10;
index 0cb04b486dcc126a047352a3c0290f3fb98b2af0..3dece9f0db4dcaf051a270abd67556f76ca4a867 100644 (file)
@@ -64,7 +64,7 @@
 
 #include "../tests.h"
 
-//#define DEBUG_OUTPUT_VTK
+// #define DEBUG_OUTPUT_VTK
 unsigned int counter = 0;
 
 const double eps = 1e-10;
@@ -293,7 +293,7 @@ test2cells(const FiniteElement<dim> &fe_0,
             less_than_key<dim>());
   for (unsigned int p = 0; p < pairs_point_value.size(); ++p)
     {
-      const Point<dim> &    pt  = pairs_point_value[p].first;
+      const Point<dim>     &pt  = pairs_point_value[p].first;
       const Vector<double> &val = pairs_point_value[p].second;
 
       Assert(val.size() == n_comp, ExcInternalError());
index b4d3449569e6d44146e78801c6da450fcce8e6da..d55f10b7f27ebdf68e78109184b7b6f621811662 100644 (file)
@@ -42,7 +42,7 @@
  * The correct constrains are written in a log to make a unit test.
  */
 
-//#define FEQH_DEBUG_OUTPUT
+// #define FEQH_DEBUG_OUTPUT
 
 
 template <int dim>
index bcba063f9b4808e41a579f5d30d9e15b9a55da92..e31064fc0efb885cf74a5ad527e0cf6f1fab4842 100644 (file)
@@ -324,7 +324,7 @@ Laplace<dim>::assemble()
       {
         hp_fe_values.reinit(cell);
         const FEValues<dim> &fe_values = hp_fe_values.get_present_fe_values();
-        const unsigned int dofs_per_cell = fe_values.dofs_per_cell;
+        const unsigned int  &dofs_per_cell = fe_values.dofs_per_cell;
 
         local_dof_indices.resize(dofs_per_cell);
         cell_matrix.reinit(dofs_per_cell, dofs_per_cell);
@@ -371,7 +371,7 @@ Laplace<dim>::assemble()
 
 
 
-//#define DIRECT
+// #define DIRECT
 
 template <int dim>
 void
index 9682bf1b5427163e41e4a3d6a07cf0e423eb9f2a..8218bb79015b076778e38efceacfd2726c734346 100644 (file)
@@ -75,7 +75,7 @@ public:
 
 template <int dim>
 void
-check_boundary(const DoFHandler<dim> &           dof,
+check_boundary(const DoFHandler<dim>            &dof,
                const hp::MappingCollection<dim> &mapping)
 {
   MySquareFunction<dim>                               coefficient;
index 4b8798e923bd31f5626646845106fcc65629ef9d..32fef6e6641303dc3283ba2cd545d56ec972d143 100644 (file)
@@ -73,7 +73,7 @@ public:
 
 template <int dim>
 void
-check_boundary(const DoFHandler<dim> &           dof,
+check_boundary(const DoFHandler<dim>            &dof,
                const hp::MappingCollection<dim> &mapping)
 {
   MySquareFunction<dim>                               coefficient;
index 1f884fd4117d0b4296eed52107385e0aab0bf95b..103a1bec32c501717805173390f0db78305adb58 100644 (file)
 
 template <typename DH>
 void
-initialize_indexsets(IndexSet &             locally_owned_dofs,
-                     IndexSet &             locally_relevant_dofs,
+initialize_indexsets(IndexSet              &locally_owned_dofs,
+                     IndexSet              &locally_relevant_dofs,
                      std::vector<IndexSet> &locally_owned_partitioning,
                      std::vector<IndexSet> &locally_relevant_partitioning,
-                     const DH &             dof_handler,
+                     const DH              &dof_handler,
                      const std::vector<unsigned int> &block_component,
                      const unsigned int               this_mpi_process)
 {
index fb9d492098bfd36181c249d25bf69cced94d182f..e8cbeb452b5a010057dcf3279048f6898d3970d8 100644 (file)
@@ -57,7 +57,7 @@ class RHS : public Function<dim>
 public:
   virtual void
   value_list(const std::vector<Point<dim>> &points,
-             std::vector<double> &          values,
+             std::vector<double>           &values,
              const unsigned int             component = 0) const;
 };
 
@@ -68,7 +68,7 @@ class BoundaryValues : public Function<dim>
 public:
   virtual void
   value_list(const std::vector<Point<dim>> &points,
-             std::vector<double> &          values,
+             std::vector<double>           &values,
              const unsigned int             component = 0) const;
 };
 
@@ -81,14 +81,14 @@ public:
   {}
   void
   value_list(const std::vector<Point<dim>> &points,
-             std::vector<Point<dim>> &      values) const;
+             std::vector<Point<dim>>       &values) const;
 };
 
 
 template <int dim>
 void
 RHS<dim>::value_list(const std::vector<Point<dim>> &points,
-                     std::vector<double> &          values,
+                     std::vector<double>           &values,
                      const unsigned int) const
 {
   Assert(values.size() == points.size(),
@@ -102,7 +102,7 @@ RHS<dim>::value_list(const std::vector<Point<dim>> &points,
 template <int dim>
 void
 Beta<dim>::value_list(const std::vector<Point<dim>> &points,
-                      std::vector<Point<dim>> &      values) const
+                      std::vector<Point<dim>>       &values) const
 {
   Assert(values.size() == points.size(),
          ExcDimensionMismatch(values.size(), points.size()));
@@ -110,7 +110,7 @@ Beta<dim>::value_list(const std::vector<Point<dim>> &points,
   for (unsigned int i = 0; i < points.size(); ++i)
     {
       const Point<dim> &p    = points[i];
-      Point<dim> &      beta = values[i];
+      Point<dim>       &beta = values[i];
 
       beta(0) = -p(1);
       beta(1) = p(0);
@@ -122,7 +122,7 @@ Beta<dim>::value_list(const std::vector<Point<dim>> &points,
 template <int dim>
 void
 BoundaryValues<dim>::value_list(const std::vector<Point<dim>> &points,
-                                std::vector<double> &          values,
+                                std::vector<double>           &values,
                                 const unsigned int) const
 {
   Assert(values.size() == points.size(),
@@ -146,25 +146,25 @@ public:
 
   void
   assemble_cell_term(const hp::FEValues<dim> &fe_v,
-                     FullMatrix<double> &     ui_vi_matrix,
-                     Vector<double> &         cell_vector) const;
+                     FullMatrix<double>      &ui_vi_matrix,
+                     Vector<double>          &cell_vector) const;
 
   void
   assemble_boundary_term(const hp::FEFaceValues<dim> &fe_v,
-                         FullMatrix<double> &         ui_vi_matrix,
-                         Vector<double> &             cell_vector) const;
+                         FullMatrix<double>          &ui_vi_matrix,
+                         Vector<double>              &cell_vector) const;
 
   template <class X, class Y>
   void
-  assemble_face_term1(const X &           fe_v,
-                      const Y &           fe_v_neighbor,
+  assemble_face_term1(const X            &fe_v,
+                      const Y            &fe_v_neighbor,
                       FullMatrix<double> &ui_vi_matrix,
                       FullMatrix<double> &ue_vi_matrix) const;
 
   template <class X, class Y>
   void
-  assemble_face_term2(const X &           fe_v,
-                      const Y &           fe_v_neighbor,
+  assemble_face_term2(const X            &fe_v,
+                      const Y            &fe_v_neighbor,
                       FullMatrix<double> &ui_vi_matrix,
                       FullMatrix<double> &ue_vi_matrix,
                       FullMatrix<double> &ui_ve_matrix,
@@ -226,8 +226,8 @@ template <int dim>
 void
 DGTransportEquation<dim>::assemble_boundary_term(
   const hp::FEFaceValues<dim> &fe_v,
-  FullMatrix<double> &         ui_vi_matrix,
-  Vector<double> &             cell_vector) const
+  FullMatrix<double>          &ui_vi_matrix,
+  Vector<double>              &cell_vector) const
 {
   const std::vector<double> &JxW =
     fe_v.get_present_fe_values().get_JxW_values();
@@ -271,8 +271,8 @@ template <int dim>
 template <class X, class Y>
 void
 DGTransportEquation<dim>::assemble_face_term1(
-  const X &           fe_v,
-  const Y &           fe_v_neighbor,
+  const X            &fe_v,
+  const Y            &fe_v_neighbor,
   FullMatrix<double> &ui_vi_matrix,
   FullMatrix<double> &ue_vi_matrix) const
 {
@@ -318,8 +318,8 @@ template <int dim>
 template <class X, class Y>
 void
 DGTransportEquation<dim>::assemble_face_term2(
-  const X &           fe_v,
-  const Y &           fe_v_neighbor,
+  const X            &fe_v,
+  const Y            &fe_v_neighbor,
   FullMatrix<double> &ui_vi_matrix,
   FullMatrix<double> &ue_vi_matrix,
   FullMatrix<double> &ui_ve_matrix,
index 3e607afbf6bcb18d18b93970d8d258d19e43dec9..1b735537f49a7be30951c9928b1e5d2900b24aae 100644 (file)
@@ -70,7 +70,7 @@ namespace Evaluation
 
     virtual void
     operator()(const DoFHandler<dim> &dof_handler,
-               const Vector<double> solution) const = 0;
+               const Vector<double>  &solution) const = 0;
 
   protected:
     unsigned int refinement_cycle;
@@ -97,11 +97,11 @@ namespace Evaluation
   {
   public:
     PointValueEvaluation(const Point<dim> &evaluation_point,
-                         TableHandler &    results_table);
+                         TableHandler     &results_table);
 
     virtual void
     operator()(const DoFHandler<dim> &dof_handler,
-               const Vector<double> solution) const;
+               const Vector<double>  &solution) const;
 
     DeclException1(ExcEvaluationPointNotFound,
                    Point<dim>,
@@ -110,14 +110,14 @@ namespace Evaluation
 
   private:
     const Point<dim> evaluation_point;
-    TableHandler &   results_table;
+    TableHandler    &results_table;
   };
 
 
   template <int dim>
   PointValueEvaluation<dim>::PointValueEvaluation(
     const Point<dim> &evaluation_point,
-    TableHandler &    results_table)
+    TableHandler     &results_table)
     : evaluation_point(evaluation_point)
     , results_table(results_table)
   {}
@@ -127,7 +127,7 @@ namespace Evaluation
   template <int dim>
   void
   PointValueEvaluation<dim>::operator()(const DoFHandler<dim> &dof_handler,
-                                        const Vector<double> solution) const
+                                        const Vector<double>  &solution) const
   {
     double point_value = 1e20;
 
@@ -159,12 +159,12 @@ namespace Evaluation
   class SolutionOutput : public EvaluationBase<dim>
   {
   public:
-    SolutionOutput(const std::string &             output_name_base,
+    SolutionOutput(const std::string              &output_name_base,
                    const DataOutBase::OutputFormat output_format);
 
     virtual void
     operator()(const DoFHandler<dim> &dof_handler,
-               const Vector<double> solution) const;
+               const Vector<double>  &solution) const;
 
   private:
     const std::string               output_name_base;
@@ -174,7 +174,7 @@ namespace Evaluation
 
   template <int dim>
   SolutionOutput<dim>::SolutionOutput(
-    const std::string &             output_name_base,
+    const std::string              &output_name_base,
     const DataOutBase::OutputFormat output_format)
     : output_name_base(output_name_base)
     , output_format(output_format)
@@ -184,7 +184,7 @@ namespace Evaluation
   template <int dim>
   void
   SolutionOutput<dim>::operator()(const DoFHandler<dim> &dof_handler,
-                                  const Vector<double> solution) const
+                                  const Vector<double>  &solution) const
   {
     DataOut<dim> data_out;
     data_out.attach_dof_handler(dof_handler);
@@ -243,10 +243,10 @@ namespace LaplaceSolver
   class Solver : public virtual Base<dim>
   {
   public:
-    Solver(Triangulation<dim> &         triangulation,
+    Solver(Triangulation<dim>          &triangulation,
            const hp::FECollection<dim> &fe,
-           const hp::QCollection<dim> quadrature,
-           const Function<dim> &        boundary_values);
+           const hp::QCollection<dim>  &quadrature,
+           const Function<dim>         &boundary_values);
     virtual ~Solver();
 
     virtual void
@@ -287,19 +287,19 @@ namespace LaplaceSolver
 
     void
     assemble_matrix(
-      LinearSystem &                                        linear_system,
+      LinearSystem                                         &linear_system,
       const typename DoFHandler<dim>::active_cell_iterator &begin_cell,
       const typename DoFHandler<dim>::active_cell_iterator &end_cell,
-      Threads::Mutex &                                      mutex) const;
+      Threads::Mutex                                       &mutex) const;
   };
 
 
 
   template <int dim>
-  Solver<dim>::Solver(Triangulation<dim> &         triangulation,
+  Solver<dim>::Solver(Triangulation<dim>          &triangulation,
                       const hp::FECollection<dim> &fe,
-                      const hp::QCollection<dim> quadrature,
-                      const Function<dim> &        boundary_values)
+                      const hp::QCollection<dim>  &quadrature,
+                      const Function<dim>         &boundary_values)
     : Base<dim>(triangulation)
     , fe(&fe)
     , quadrature(&quadrature)
@@ -392,10 +392,10 @@ namespace LaplaceSolver
   template <int dim>
   void
   Solver<dim>::assemble_matrix(
-    LinearSystem &                                        linear_system,
+    LinearSystem                                         &linear_system,
     const typename DoFHandler<dim>::active_cell_iterator &begin_cell,
     const typename DoFHandler<dim>::active_cell_iterator &end_cell,
-    Threads::Mutex &                                      mutex) const
+    Threads::Mutex                                       &mutex) const
   {
     hp::FEValues<dim> fe_values(*fe,
                                 *quadrature,
@@ -487,11 +487,11 @@ namespace LaplaceSolver
   class PrimalSolver : public Solver<dim>
   {
   public:
-    PrimalSolver(Triangulation<dim> &         triangulation,
+    PrimalSolver(Triangulation<dim>          &triangulation,
                  const hp::FECollection<dim> &fe,
-                 const hp::QCollection<dim> quadrature,
-                 const Function<dim> &        rhs_function,
-                 const Function<dim> &        boundary_values);
+                 const hp::QCollection<dim>  &quadrature,
+                 const Function<dim>         &rhs_function,
+                 const Function<dim>         &boundary_values);
 
   protected:
     const SmartPointer<const Function<dim>> rhs_function;
@@ -501,11 +501,11 @@ namespace LaplaceSolver
 
 
   template <int dim>
-  PrimalSolver<dim>::PrimalSolver(Triangulation<dim> &         triangulation,
+  PrimalSolver<dim>::PrimalSolver(Triangulation<dim>          &triangulation,
                                   const hp::FECollection<dim> &fe,
-                                  const hp::QCollection<dim> quadrature,
-                                  const Function<dim> &        rhs_function,
-                                  const Function<dim> &        boundary_values)
+                                  const hp::QCollection<dim>  &quadrature,
+                                  const Function<dim>         &rhs_function,
+                                  const Function<dim>         &boundary_values)
     : Base<dim>(triangulation)
     , Solver<dim>(triangulation, fe, quadrature, boundary_values)
     , rhs_function(&rhs_function)
@@ -560,11 +560,11 @@ namespace LaplaceSolver
   class RefinementGlobal : public PrimalSolver<dim>
   {
   public:
-    RefinementGlobal(Triangulation<dim> &         coarse_grid,
+    RefinementGlobal(Triangulation<dim>          &coarse_grid,
                      const hp::FECollection<dim> &fe,
-                     const hp::QCollection<dim> quadrature,
-                     const Function<dim> &        rhs_function,
-                     const Function<dim> &        boundary_values);
+                     const hp::QCollection<dim>  &quadrature,
+                     const Function<dim>         &rhs_function,
+                     const Function<dim>         &boundary_values);
 
     virtual void
     refine_grid();
@@ -574,11 +574,11 @@ namespace LaplaceSolver
 
   template <int dim>
   RefinementGlobal<dim>::RefinementGlobal(
-    Triangulation<dim> &         coarse_grid,
+    Triangulation<dim>          &coarse_grid,
     const hp::FECollection<dim> &fe,
-    const hp::QCollection<dim> quadrature,
-    const Function<dim> &        rhs_function,
-    const Function<dim> &        boundary_values)
+    const hp::QCollection<dim>  &quadrature,
+    const Function<dim>         &rhs_function,
+    const Function<dim>         &boundary_values)
     : Base<dim>(coarse_grid)
     , PrimalSolver<dim>(coarse_grid,
                         fe,
@@ -602,11 +602,11 @@ namespace LaplaceSolver
   class RefinementKelly : public PrimalSolver<dim>
   {
   public:
-    RefinementKelly(Triangulation<dim> &         coarse_grid,
+    RefinementKelly(Triangulation<dim>          &coarse_grid,
                     const hp::FECollection<dim> &fe,
-                    const hp::QCollection<dim> quadrature,
-                    const Function<dim> &        rhs_function,
-                    const Function<dim> &        boundary_values);
+                    const hp::QCollection<dim>  &quadrature,
+                    const Function<dim>         &rhs_function,
+                    const Function<dim>         &boundary_values);
 
     virtual void
     refine_grid();
@@ -617,7 +617,7 @@ namespace LaplaceSolver
   template <int dim>
   RefinementKelly<dim>::RefinementKelly(Triangulation<dim> &coarse_grid,
                                         const hp::FECollection<dim> &fe,
-                                        const hp::QCollection<dim> quadrature,
+                                        const hp::QCollection<dim>  &quadrature,
                                         const Function<dim> &rhs_function,
                                         const Function<dim> &boundary_values)
     : Base<dim>(coarse_grid)
@@ -722,7 +722,7 @@ RightHandSide<dim>::value(const Point<dim> &p,
 template <int dim>
 void
 run_simulation(
-  LaplaceSolver::Base<dim> &                          solver,
+  LaplaceSolver::Base<dim>                           &solver,
   const std::list<Evaluation::EvaluationBase<dim> *> &postprocessor_list)
 {
   deallog << "Refinement cycle: ";
index 5297ca275e7f8073235861521ea196ae851cef21..8de58db7fceb76fb30aafcb3a4de189f7da30a52 100644 (file)
@@ -96,7 +96,7 @@ public:
 
   virtual void
   value_list(const std::vector<Point<dim>> &points,
-             std::vector<double> &          values,
+             std::vector<double>           &values,
              const unsigned int             component = 0) const;
 };
 
@@ -118,7 +118,7 @@ Coefficient<dim>::value(const Point<dim> &p,
 template <int dim>
 void
 Coefficient<dim>::value_list(const std::vector<Point<dim>> &points,
-                             std::vector<double> &          values,
+                             std::vector<double>           &values,
                              const unsigned int             component) const
 {
   Assert(values.size() == points.size(),
index 5d32d1b98edea35ab9b85d644bb9c52e12b99e23..559639142fcaf5f07542c27c122e374495ded28a 100644 (file)
@@ -106,7 +106,7 @@ public:
 
   virtual void
   value_list(const std::vector<Point<dim>> &points,
-             std::vector<double> &          values,
+             std::vector<double>           &values,
              const unsigned int             component = 0) const;
 };
 
@@ -127,7 +127,7 @@ Coefficient<dim>::value(const Point<dim> &p, const unsigned int) const
 template <int dim>
 void
 Coefficient<dim>::value_list(const std::vector<Point<dim>> &points,
-                             std::vector<double> &          values,
+                             std::vector<double>           &values,
                              const unsigned int             component) const
 {
   const unsigned int n_points = points.size();
index bb8ce1eccd94236fcb4e2566b95ce68d5ebb2842..ee5f108fdeced0790448efc1d26b0f12b1c21f9d 100644 (file)
@@ -103,7 +103,7 @@ public:
 
   virtual void
   vector_value_list(const std::vector<Point<dim>> &points,
-                    std::vector<Vector<double>> &  value_list) const;
+                    std::vector<Vector<double>>   &value_list) const;
 };
 
 
@@ -116,7 +116,7 @@ RightHandSide<dim>::RightHandSide()
 template <int dim>
 inline void
 RightHandSide<dim>::vector_value(const Point<dim> &p,
-                                 Vector<double> &  values) const
+                                 Vector<double>   &values) const
 {
   Assert(values.size() == dim, ExcDimensionMismatch(values.size(), dim));
   Assert(dim >= 2, ExcNotImplemented());
@@ -143,7 +143,7 @@ template <int dim>
 void
 RightHandSide<dim>::vector_value_list(
   const std::vector<Point<dim>> &points,
-  std::vector<Vector<double>> &  value_list) const
+  std::vector<Vector<double>>   &value_list) const
 {
   Assert(value_list.size() == points.size(),
          ExcDimensionMismatch(value_list.size(), points.size()));
index 79da1f07fc01cb65c90d663e83006f2fcd92b390..35057b43af0c704e16f15203710e50cd50f17db5 100644 (file)
@@ -53,14 +53,14 @@ class LaplaceMatrix : public MeshWorker::LocalIntegrator<dim>
 public:
   LaplaceMatrix();
   virtual void
-  cell(MeshWorker::DoFInfo<dim> &        dinfo,
+  cell(MeshWorker::DoFInfo<dim>         &dinfo,
        MeshWorker::IntegrationInfo<dim> &info) const;
   virtual void
-  boundary(MeshWorker::DoFInfo<dim> &        dinfo,
+  boundary(MeshWorker::DoFInfo<dim>         &dinfo,
            MeshWorker::IntegrationInfo<dim> &info) const;
   virtual void
-  face(MeshWorker::DoFInfo<dim> &        dinfo1,
-       MeshWorker::DoFInfo<dim> &        dinfo2,
+  face(MeshWorker::DoFInfo<dim>         &dinfo1,
+       MeshWorker::DoFInfo<dim>         &dinfo2,
        MeshWorker::IntegrationInfo<dim> &info1,
        MeshWorker::IntegrationInfo<dim> &info2) const;
 };
@@ -73,7 +73,7 @@ LaplaceMatrix<dim>::LaplaceMatrix()
 
 template <int dim>
 void
-LaplaceMatrix<dim>::cell(MeshWorker::DoFInfo<dim> &        dinfo,
+LaplaceMatrix<dim>::cell(MeshWorker::DoFInfo<dim>         &dinfo,
                          MeshWorker::IntegrationInfo<dim> &info) const
 {
   Laplace::cell_matrix(dinfo.matrix(0, false).matrix, info.fe_values(0));
@@ -83,7 +83,7 @@ LaplaceMatrix<dim>::cell(MeshWorker::DoFInfo<dim> &        dinfo,
 template <int dim>
 void
 LaplaceMatrix<dim>::boundary(
-  MeshWorker::DoFInfo<dim> &                 dinfo,
+  MeshWorker::DoFInfo<dim>                  &dinfo,
   typename MeshWorker::IntegrationInfo<dim> &info) const
 {
   const unsigned int deg = info.fe_values(0).get_fe().tensor_degree();
@@ -95,8 +95,8 @@ LaplaceMatrix<dim>::boundary(
 
 template <int dim>
 void
-LaplaceMatrix<dim>::face(MeshWorker::DoFInfo<dim> &        dinfo1,
-                         MeshWorker::DoFInfo<dim> &        dinfo2,
+LaplaceMatrix<dim>::face(MeshWorker::DoFInfo<dim>         &dinfo1,
+                         MeshWorker::DoFInfo<dim>         &dinfo2,
                          MeshWorker::IntegrationInfo<dim> &info1,
                          MeshWorker::IntegrationInfo<dim> &info2) const
 {
@@ -128,8 +128,8 @@ LaplaceMatrix<dim>::face(MeshWorker::DoFInfo<dim> &        dinfo1,
 
 template <int dim>
 void
-assemble_mg_matrix(DoFHandler<dim> &                   dof_handler,
-                   MeshWorker::LocalIntegrator<dim> &  matrix_integrator,
+assemble_mg_matrix(DoFHandler<dim>                    &dof_handler,
+                   MeshWorker::LocalIntegrator<dim>   &matrix_integrator,
                    mg::SparseMatrixCollection<double> &mg)
 {
   MGConstrainedDoFs mg_constraints;
index aab7780072a78a903ceceec4365746b492908f19..d30005210e6e1afe628905d2727ae64ba0f1b9ba 100644 (file)
@@ -87,7 +87,7 @@ public:
 
 template <int dim>
 double
-RightHandSide<dim>::value(const Point<dim> p,
+RightHandSide<dim>::value(const Point<dim>  &p,
                           const unsigned int component) const
 {
   Assert(component == 0, ExcNotImplemented());
@@ -114,7 +114,7 @@ public:
 
 template <int dim>
 double
-BoundaryValues<dim>::value(const Point<dim> p,
+BoundaryValues<dim>::value(const Point<dim>  &p,
                            const unsigned int component) const
 {
   Assert(component == 0, ExcNotImplemented());
@@ -141,7 +141,7 @@ public:
 
 template <int dim>
 double
-FluxBoundaryValues<dim>::value(const Point<dim> p,
+FluxBoundaryValues<dim>::value(const Point<dim>  &p,
                                const unsigned int component) const
 {
   double val = 1; // g = 1
@@ -184,14 +184,14 @@ class SystemIntegrator : public MeshWorker::LocalIntegrator<dim>
 {
 public:
   void
-  cell(MeshWorker::DoFInfo<dim> &                 dinfo,
+  cell(MeshWorker::DoFInfo<dim>                  &dinfo,
        typename MeshWorker::IntegrationInfo<dim> &info) const;
   void
-  boundary(MeshWorker::DoFInfo<dim> &                 dinfo,
+  boundary(MeshWorker::DoFInfo<dim>                  &dinfo,
            typename MeshWorker::IntegrationInfo<dim> &info) const;
   void
-  face(MeshWorker::DoFInfo<dim> &                 dinfo1,
-       MeshWorker::DoFInfo<dim> &                 dinfo2,
+  face(MeshWorker::DoFInfo<dim>                  &dinfo1,
+       MeshWorker::DoFInfo<dim>                  &dinfo2,
        typename MeshWorker::IntegrationInfo<dim> &info1,
        typename MeshWorker::IntegrationInfo<dim> &info2) const;
 };
@@ -199,13 +199,13 @@ public:
 template <int dim>
 void
 SystemIntegrator<dim>::cell(
-  MeshWorker::DoFInfo<dim> &                 dinfo,
+  MeshWorker::DoFInfo<dim>                  &dinfo,
   typename MeshWorker::IntegrationInfo<dim> &info) const
 {
   // Matrix
   const FEValuesBase<dim> &fe = info.fe_values();
 
-  FullMatrix<double> local_matrix = dinfo.matrix(0).matrix;
+  FullMatrix<double>  &local_matrix = dinfo.matrix(0).matrix;
   const unsigned int   n_points     = fe.n_quadrature_points;
   const unsigned int   n_dofs       = fe.dofs_per_cell;
   const Advection<dim> advection;
@@ -223,7 +223,7 @@ SystemIntegrator<dim>::cell(
     }
 
   // RHS
-  Vector<double> &         b = dinfo.vector(0).block(0);
+  Vector<double>          &b = dinfo.vector(0).block(0);
   const RightHandSide<dim> right_hand_side;
 
   for (unsigned int k = 0; k < n_points; ++k)
@@ -238,13 +238,13 @@ SystemIntegrator<dim>::cell(
 template <int dim>
 void
 SystemIntegrator<dim>::boundary(
-  MeshWorker::DoFInfo<dim> &                 dinfo,
+  MeshWorker::DoFInfo<dim>                  &dinfo,
   typename MeshWorker::IntegrationInfo<dim> &info) const
 {
-  const FEValuesBase<dim> &     fe       = info.fe_values();
+  const FEValuesBase<dim>      &fe       = info.fe_values();
   const unsigned int            n_points = fe.n_quadrature_points;
   const unsigned int            n_dofs   = fe.dofs_per_cell;
-  Vector<double> &              b        = dinfo.vector(0).block(0);
+  Vector<double>               &b        = dinfo.vector(0).block(0);
   const FluxBoundaryValues<dim> flux_bd;
 
   for (unsigned int k = 0; k < n_points; ++k)
@@ -259,15 +259,15 @@ SystemIntegrator<dim>::boundary(
 template <int dim>
 void
 SystemIntegrator<dim>::face(
-  MeshWorker::DoFInfo<dim> &                 dinfo1,
-  MeshWorker::DoFInfo<dim> &                 dinfo2,
+  MeshWorker::DoFInfo<dim>                  &dinfo1,
+  MeshWorker::DoFInfo<dim>                  &dinfo2,
   typename MeshWorker::IntegrationInfo<dim> &info1,
   typename MeshWorker::IntegrationInfo<dim> &info2) const
 {
-  FullMatrix<double> &     A11      = dinfo1.matrix(0, false).matrix;
-  FullMatrix<double> &     A12      = dinfo1.matrix(0, true).matrix;
-  FullMatrix<double> &     A21      = dinfo2.matrix(0, true).matrix;
-  FullMatrix<double> &     A22      = dinfo2.matrix(0, false).matrix;
+  FullMatrix<double>      &A11      = dinfo1.matrix(0, false).matrix;
+  FullMatrix<double>      &A12      = dinfo1.matrix(0, true).matrix;
+  FullMatrix<double>      &A21      = dinfo2.matrix(0, true).matrix;
+  FullMatrix<double>      &A22      = dinfo2.matrix(0, false).matrix;
   const FEValuesBase<dim> &fe1      = info1.fe_values(0);
   const FEValuesBase<dim> &fe2      = info2.fe_values(0);
   const unsigned int       n_points = fe1.n_quadrature_points;
@@ -312,14 +312,14 @@ class MatrixIntegrator : public MeshWorker::LocalIntegrator<dim>
 {
 public:
   void
-  cell(MeshWorker::DoFInfo<dim> &                 dinfo,
+  cell(MeshWorker::DoFInfo<dim>                  &dinfo,
        typename MeshWorker::IntegrationInfo<dim> &info) const;
   void
-  boundary(MeshWorker::DoFInfo<dim> &                 dinfo,
+  boundary(MeshWorker::DoFInfo<dim>                  &dinfo,
            typename MeshWorker::IntegrationInfo<dim> &info) const;
   void
-  face(MeshWorker::DoFInfo<dim> &                 dinfo1,
-       MeshWorker::DoFInfo<dim> &                 dinfo2,
+  face(MeshWorker::DoFInfo<dim>                  &dinfo1,
+       MeshWorker::DoFInfo<dim>                  &dinfo2,
        typename MeshWorker::IntegrationInfo<dim> &info1,
        typename MeshWorker::IntegrationInfo<dim> &info2) const;
 };
@@ -327,11 +327,11 @@ public:
 template <int dim>
 void
 MatrixIntegrator<dim>::cell(
-  MeshWorker::DoFInfo<dim> &                 dinfo,
+  MeshWorker::DoFInfo<dim>                  &dinfo,
   typename MeshWorker::IntegrationInfo<dim> &info) const
 {
   const FEValuesBase<dim> &fe           = info.fe_values();
-  FullMatrix<double> &     local_matrix = dinfo.matrix(0).matrix;
+  FullMatrix<double>      &local_matrix = dinfo.matrix(0).matrix;
 
   const unsigned int   n_points = fe.n_quadrature_points;
   const unsigned int   n_dofs   = fe.dofs_per_cell;
@@ -354,7 +354,7 @@ MatrixIntegrator<dim>::cell(
 template <int dim>
 void
 MatrixIntegrator<dim>::boundary(
-  MeshWorker::DoFInfo<dim> &                 dinfo,
+  MeshWorker::DoFInfo<dim>                  &dinfo,
   typename MeshWorker::IntegrationInfo<dim> &info) const
 {}
 
@@ -362,15 +362,15 @@ MatrixIntegrator<dim>::boundary(
 template <int dim>
 void
 MatrixIntegrator<dim>::face(
-  MeshWorker::DoFInfo<dim> &                 dinfo1,
-  MeshWorker::DoFInfo<dim> &                 dinfo2,
+  MeshWorker::DoFInfo<dim>                  &dinfo1,
+  MeshWorker::DoFInfo<dim>                  &dinfo2,
   typename MeshWorker::IntegrationInfo<dim> &info1,
   typename MeshWorker::IntegrationInfo<dim> &info2) const
 {
-  FullMatrix<double> &     A11      = dinfo1.matrix(0, false).matrix;
-  FullMatrix<double> &     A12      = dinfo1.matrix(0, true).matrix;
-  FullMatrix<double> &     A21      = dinfo2.matrix(0, true).matrix;
-  FullMatrix<double> &     A22      = dinfo2.matrix(0, false).matrix;
+  FullMatrix<double>      &A11      = dinfo1.matrix(0, false).matrix;
+  FullMatrix<double>      &A12      = dinfo1.matrix(0, true).matrix;
+  FullMatrix<double>      &A21      = dinfo2.matrix(0, true).matrix;
+  FullMatrix<double>      &A22      = dinfo2.matrix(0, false).matrix;
   const FEValuesBase<dim> &fe1      = info1.fe_values(0);
   const FEValuesBase<dim> &fe2      = info2.fe_values(0);
   const unsigned int       n_points = fe1.n_quadrature_points;
@@ -415,14 +415,14 @@ class RHSIntegrator : public MeshWorker::LocalIntegrator<dim>
 {
 public:
   void
-  cell(MeshWorker::DoFInfo<dim> &                 dinfo,
+  cell(MeshWorker::DoFInfo<dim>                  &dinfo,
        typename MeshWorker::IntegrationInfo<dim> &info) const;
   void
-  boundary(MeshWorker::DoFInfo<dim> &                 dinfo,
+  boundary(MeshWorker::DoFInfo<dim>                  &dinfo,
            typename MeshWorker::IntegrationInfo<dim> &info) const;
   void
-  face(MeshWorker::DoFInfo<dim> &                 dinfo1,
-       MeshWorker::DoFInfo<dim> &                 dinfo2,
+  face(MeshWorker::DoFInfo<dim>                  &dinfo1,
+       MeshWorker::DoFInfo<dim>                  &dinfo2,
        typename MeshWorker::IntegrationInfo<dim> &info1,
        typename MeshWorker::IntegrationInfo<dim> &info2) const;
 };
@@ -430,13 +430,13 @@ public:
 
 template <int dim>
 void
-RHSIntegrator<dim>::cell(MeshWorker::DoFInfo<dim> &                 dinfo,
+RHSIntegrator<dim>::cell(MeshWorker::DoFInfo<dim>                  &dinfo,
                          typename MeshWorker::IntegrationInfo<dim> &info) const
 {
   const FEValuesBase<dim> &fe       = info.fe_values();
   const unsigned int       n_points = fe.n_quadrature_points;
   const unsigned int       n_dofs   = fe.dofs_per_cell;
-  Vector<double> &         b        = dinfo.vector(0).block(0);
+  Vector<double>          &b        = dinfo.vector(0).block(0);
   const RightHandSide<dim> right_hand_side;
 
   for (unsigned int k = 0; k < n_points; ++k)
@@ -451,13 +451,13 @@ RHSIntegrator<dim>::cell(MeshWorker::DoFInfo<dim> &                 dinfo,
 template <int dim>
 void
 RHSIntegrator<dim>::boundary(
-  MeshWorker::DoFInfo<dim> &                 dinfo,
+  MeshWorker::DoFInfo<dim>                  &dinfo,
   typename MeshWorker::IntegrationInfo<dim> &info) const
 {
-  const FEValuesBase<dim> &     fe       = info.fe_values();
+  const FEValuesBase<dim>      &fe       = info.fe_values();
   const unsigned int            n_points = fe.n_quadrature_points;
   const unsigned int            n_dofs   = fe.dofs_per_cell;
-  Vector<double> &              b        = dinfo.vector(0).block(0);
+  Vector<double>               &b        = dinfo.vector(0).block(0);
   const FluxBoundaryValues<dim> flux_bd;
 
   for (unsigned int k = 0; k < n_points; ++k)
index 759ff3175ba639cbc5ac4c8ab5345d229badf095..cabe5aac7b4e5e5d82446ec6a0b3371e50a98a1f 100644 (file)
@@ -58,8 +58,8 @@ public:
   void
   face(MeshWorker::DoFInfo<dim> &dinfo1,
        MeshWorker::DoFInfo<dim> &dinfo2,
-       CellInfo &                info1,
-       CellInfo &                info2) const;
+       CellInfo                 &info1,
+       CellInfo                 &info2) const;
 };
 
 
index 75206a729659811f277672e6d4c1f6929d677766..b357991ed87f72571b90aac4317f1e8ae573fab0 100644 (file)
@@ -57,7 +57,7 @@ const bool debugging = false;
 
 template <int dim>
 void
-cell_matrix(MeshWorker::DoFInfo<dim> &                      dinfo,
+cell_matrix(MeshWorker::DoFInfo<dim>                       &dinfo,
             typename MeshWorker::IntegrationInfo<dim, dim> &info)
 {
   unsigned int dm = 0; // Matrix index
index c8a2e47dd0220342168f721ae630fb8e2cb105c5..e8927a76d329c65543ce552ad0f19ca783bbe5cd 100644 (file)
@@ -56,8 +56,8 @@ public:
   void
   face(MeshWorker::DoFInfo<dim> &dinfo1,
        MeshWorker::DoFInfo<dim> &dinfo2,
-       CellInfo &                info1,
-       CellInfo &                info2) const;
+       CellInfo                 &info1,
+       CellInfo                 &info2) const;
 };
 
 
index 850c61942bd23f63d2f73072ed802c049a074477..925aef0af232272fb7848b470e6b08c73afdcca6 100644 (file)
@@ -52,8 +52,8 @@ public:
   void
   face(MeshWorker::DoFInfo<dim> &dinfo1,
        MeshWorker::DoFInfo<dim> &dinfo2,
-       CellInfo &                info1,
-       CellInfo &                info2) const;
+       CellInfo                 &info1,
+       CellInfo                 &info2) const;
 
   bool cells;
   bool faces;
@@ -126,7 +126,7 @@ test_simple(DoFHandler<dim> &mgdofs)
   SparseMatrix<double> matrix;
   Vector<double>       v;
 
-  const DoFHandler<dim> &   dofs = mgdofs;
+  const DoFHandler<dim>    &dofs = mgdofs;
   const FiniteElement<dim> &fe   = dofs.get_fe();
   pattern.reinit(dofs.n_dofs(),
                  dofs.n_dofs(),
index 7dce6e778b3b686bed65730c9f873b91c66de996..e39324719dfdf2f6f1a892738e3efcc637301944 100644 (file)
@@ -47,8 +47,8 @@ public:
   static void
   bdry(MeshWorker::DoFInfo<dim> &dinfo, MeshWorker::IntegrationInfo<dim> &info);
   static void
-  face(MeshWorker::DoFInfo<dim> &        dinfo1,
-       MeshWorker::DoFInfo<dim> &        dinfo2,
+  face(MeshWorker::DoFInfo<dim>         &dinfo1,
+       MeshWorker::DoFInfo<dim>         &dinfo2,
        MeshWorker::IntegrationInfo<dim> &info1,
        MeshWorker::IntegrationInfo<dim> &info2);
 };
@@ -56,11 +56,11 @@ public:
 
 template <int dim>
 void
-MatrixIntegrator<dim>::cell(MeshWorker::DoFInfo<dim> &        dinfo,
+MatrixIntegrator<dim>::cell(MeshWorker::DoFInfo<dim>         &dinfo,
                             MeshWorker::IntegrationInfo<dim> &info)
 {
   const FEValuesBase<dim> &fe           = info.fe_values();
-  FullMatrix<double> &     local_matrix = dinfo.matrix(0).matrix;
+  FullMatrix<double>      &local_matrix = dinfo.matrix(0).matrix;
 
   for (unsigned int k = 0; k < fe.n_quadrature_points; ++k)
     for (unsigned int i = 0; i < fe.dofs_per_cell; ++i)
@@ -72,11 +72,11 @@ MatrixIntegrator<dim>::cell(MeshWorker::DoFInfo<dim> &        dinfo,
 
 template <int dim>
 void
-MatrixIntegrator<dim>::bdry(MeshWorker::DoFInfo<dim> &        dinfo,
+MatrixIntegrator<dim>::bdry(MeshWorker::DoFInfo<dim>         &dinfo,
                             MeshWorker::IntegrationInfo<dim> &info)
 {
   const FEValuesBase<dim> &fe           = info.fe_values();
-  FullMatrix<double> &     local_matrix = dinfo.matrix(0).matrix;
+  FullMatrix<double>      &local_matrix = dinfo.matrix(0).matrix;
 
   const unsigned int deg = fe.get_fe().tensor_degree();
   const double       penalty =
@@ -95,17 +95,17 @@ MatrixIntegrator<dim>::bdry(MeshWorker::DoFInfo<dim> &        dinfo,
 
 template <int dim>
 void
-MatrixIntegrator<dim>::face(MeshWorker::DoFInfo<dim> &        dinfo1,
-                            MeshWorker::DoFInfo<dim> &        dinfo2,
+MatrixIntegrator<dim>::face(MeshWorker::DoFInfo<dim>         &dinfo1,
+                            MeshWorker::DoFInfo<dim>         &dinfo2,
                             MeshWorker::IntegrationInfo<dim> &info1,
                             MeshWorker::IntegrationInfo<dim> &info2)
 {
   const FEValuesBase<dim> &fe1         = info1.fe_values();
   const FEValuesBase<dim> &fe2         = info2.fe_values();
-  FullMatrix<double> &     matrix_v1u1 = dinfo1.matrix(0, false).matrix;
-  FullMatrix<double> &     matrix_v1u2 = dinfo1.matrix(0, true).matrix;
-  FullMatrix<double> &     matrix_v2u1 = dinfo2.matrix(0, true).matrix;
-  FullMatrix<double> &     matrix_v2u2 = dinfo2.matrix(0, false).matrix;
+  FullMatrix<double>      &matrix_v1u1 = dinfo1.matrix(0, false).matrix;
+  FullMatrix<double>      &matrix_v1u2 = dinfo1.matrix(0, true).matrix;
+  FullMatrix<double>      &matrix_v2u1 = dinfo2.matrix(0, true).matrix;
+  FullMatrix<double>      &matrix_v2u2 = dinfo2.matrix(0, false).matrix;
 
   const unsigned int deg = fe1.get_fe().tensor_degree();
   const double       penalty1 =
@@ -189,7 +189,7 @@ assemble(const DoFHandler<dim> &dof_handler, SparseMatrix<double> &matrix)
 
 template <int dim>
 void
-assemble(const DoFHandler<dim> &             dof_handler,
+assemble(const DoFHandler<dim>              &dof_handler,
          MGLevelObject<SparseMatrix<double>> matrix,
          MGLevelObject<SparseMatrix<double>> dg_up,
          MGLevelObject<SparseMatrix<double>> dg_down)
@@ -233,7 +233,7 @@ test_simple(DoFHandler<dim> &mgdofs)
   SparseMatrix<double> matrix;
   Vector<double>       v;
 
-  const DoFHandler<dim> &   dofs = mgdofs;
+  const DoFHandler<dim>    &dofs = mgdofs;
   const FiniteElement<dim> &fe   = dofs.get_fe();
   pattern.reinit(dofs.n_dofs(),
                  dofs.n_dofs(),
index ed2ad3f79631e77dcf5569aa40424984663c0b1b..c9fda58285c9685d10a5b7b97cc0a4794cccb6bc 100644 (file)
@@ -46,16 +46,16 @@ public:
   static void
   cell(MeshWorker::DoFInfo<dim> &dinfo, MeshWorker::IntegrationInfo<dim> &info);
   static void
-  face(MeshWorker::DoFInfo<dim> &        dinfo1,
-       MeshWorker::DoFInfo<dim> &        dinfo2,
+  face(MeshWorker::DoFInfo<dim>         &dinfo1,
+       MeshWorker::DoFInfo<dim>         &dinfo2,
        MeshWorker::IntegrationInfo<dim> &info1,
        MeshWorker::IntegrationInfo<dim> &info2);
   static void
-  block_cell(MeshWorker::DoFInfo<dim> &        dinfo,
+  block_cell(MeshWorker::DoFInfo<dim>         &dinfo,
              MeshWorker::IntegrationInfo<dim> &info);
   static void
-  block_face(MeshWorker::DoFInfo<dim> &        dinfo1,
-             MeshWorker::DoFInfo<dim> &        dinfo2,
+  block_face(MeshWorker::DoFInfo<dim>         &dinfo1,
+             MeshWorker::DoFInfo<dim>         &dinfo2,
              MeshWorker::IntegrationInfo<dim> &info1,
              MeshWorker::IntegrationInfo<dim> &info2);
 };
@@ -63,11 +63,11 @@ public:
 
 template <int dim>
 void
-MatrixIntegrator<dim>::cell(MeshWorker::DoFInfo<dim> &        dinfo,
+MatrixIntegrator<dim>::cell(MeshWorker::DoFInfo<dim>         &dinfo,
                             MeshWorker::IntegrationInfo<dim> &info)
 {
   const FiniteElement<dim> &fe           = info.fe_values().get_fe();
-  FullMatrix<double> &      local_matrix = dinfo.matrix(0).matrix;
+  FullMatrix<double>       &local_matrix = dinfo.matrix(0).matrix;
 
   for (unsigned int i = 0; i < fe.dofs_per_cell; ++i)
     for (unsigned int j = 0; j < fe.dofs_per_cell; ++j)
@@ -80,15 +80,15 @@ MatrixIntegrator<dim>::cell(MeshWorker::DoFInfo<dim> &        dinfo,
 
 template <int dim>
 void
-MatrixIntegrator<dim>::face(MeshWorker::DoFInfo<dim> &        dinfo1,
-                            MeshWorker::DoFInfo<dim> &        dinfo2,
+MatrixIntegrator<dim>::face(MeshWorker::DoFInfo<dim>         &dinfo1,
+                            MeshWorker::DoFInfo<dim>         &dinfo2,
                             MeshWorker::IntegrationInfo<dim> &info1,
                             MeshWorker::IntegrationInfo<dim> &info2)
 {
   const FiniteElement<dim> &fe1         = info1.fe_values().get_fe();
   const FiniteElement<dim> &fe2         = info2.fe_values().get_fe();
-  FullMatrix<double> &      matrix_v1u2 = dinfo1.matrix(0, true).matrix;
-  FullMatrix<double> &      matrix_v2u1 = dinfo2.matrix(0, true).matrix;
+  FullMatrix<double>       &matrix_v1u2 = dinfo1.matrix(0, true).matrix;
+  FullMatrix<double>       &matrix_v2u1 = dinfo2.matrix(0, true).matrix;
 
   for (unsigned int i = 0; i < fe1.dofs_per_cell; ++i)
     for (unsigned int j = 0; j < fe1.dofs_per_cell; ++j)
@@ -188,7 +188,7 @@ assemble(const DoFHandler<dim> &dof_handler, SparseMatrix<double> &matrix)
 
 template <int dim>
 void
-assemble(const DoFHandler<dim> &             dof_handler,
+assemble(const DoFHandler<dim>              &dof_handler,
          MGLevelObject<SparseMatrix<double>> matrix,
          MGLevelObject<SparseMatrix<double>> dg_up,
          MGLevelObject<SparseMatrix<double>> dg_down)
@@ -232,7 +232,7 @@ test_simple(DoFHandler<dim> &mgdofs)
   SparseMatrix<double> matrix;
   Vector<double>       v;
 
-  const DoFHandler<dim> &   dofs = mgdofs;
+  const DoFHandler<dim>    &dofs = mgdofs;
   const FiniteElement<dim> &fe   = dofs.get_fe();
   pattern.reinit(dofs.n_dofs(),
                  dofs.n_dofs(),
index e76f0a5f8900681d9a216217357a0540fec5d4a6..801745a3fe4c4c998bd5c06fb2af96c380e0dd0e 100644 (file)
@@ -70,16 +70,16 @@ namespace Advection
     setup_system();
 
     void
-    integrate_cell_term(MeshWorker::DoFInfo<dim> &        dinfo,
+    integrate_cell_term(MeshWorker::DoFInfo<dim>         &dinfo,
                         MeshWorker::IntegrationInfo<dim> &info);
 
     void
-    integrate_boundary_term(MeshWorker::DoFInfo<dim> &        dinfo,
+    integrate_boundary_term(MeshWorker::DoFInfo<dim>         &dinfo,
                             MeshWorker::IntegrationInfo<dim> &info);
 
     void
-    integrate_face_term(MeshWorker::DoFInfo<dim> &        dinfo1,
-                        MeshWorker::DoFInfo<dim> &        dinfo2,
+    integrate_face_term(MeshWorker::DoFInfo<dim>         &dinfo1,
+                        MeshWorker::DoFInfo<dim>         &dinfo2,
                         MeshWorker::IntegrationInfo<dim> &info1,
                         MeshWorker::IntegrationInfo<dim> &info2);
 
@@ -281,7 +281,7 @@ namespace Advection
   template <int dim>
   void
   AdvectionProblem<dim>::integrate_cell_term(
-    MeshWorker::DoFInfo<dim> &        dinfo,
+    MeshWorker::DoFInfo<dim>         &dinfo,
     MeshWorker::IntegrationInfo<dim> &info)
   {
     const FEValuesBase<dim> &fe_v = info.fe_values();
@@ -320,7 +320,7 @@ namespace Advection
   template <int dim>
   void
   AdvectionProblem<dim>::integrate_boundary_term(
-    MeshWorker::DoFInfo<dim> &        dinfo,
+    MeshWorker::DoFInfo<dim>         &dinfo,
     MeshWorker::IntegrationInfo<dim> &info)
   {
     const unsigned int boundary_id = dinfo.face->boundary_id();
@@ -354,8 +354,8 @@ namespace Advection
   template <int dim>
   void
   AdvectionProblem<dim>::integrate_face_term(
-    MeshWorker::DoFInfo<dim> &        dinfo1,
-    MeshWorker::DoFInfo<dim> &        dinfo2,
+    MeshWorker::DoFInfo<dim>         &dinfo1,
+    MeshWorker::DoFInfo<dim>         &dinfo2,
     MeshWorker::IntegrationInfo<dim> &info1,
     MeshWorker::IntegrationInfo<dim> &info2)
   {
index 9188499d0a1434c36251cdf98c6d3bb3b192c399..09a4ff5ac7d0a01a55396e7ea67f0a99da82b8f3 100644 (file)
@@ -53,8 +53,8 @@ public:
   void
   face(MeshWorker::DoFInfo<dim> &dinfo1,
        MeshWorker::DoFInfo<dim> &dinfo2,
-       CellInfo &                info1,
-       CellInfo &                info2) const;
+       CellInfo                 &info1,
+       CellInfo                 &info2) const;
 
   bool cells;
   bool faces;
index baa239397b821cdb5dc41ebfd134634ef51542f6..74327576c6383a6d12f83d339cbd80d8b0601b0f 100644 (file)
@@ -138,11 +138,11 @@ test()
   {
     deallog.push("Constructor with iterators");
     std::complex<double>              array[] = {std::complex<double>(0, 1),
-                                    std::complex<double>(1, 2),
-                                    std::complex<double>(2, 3),
-                                    std::complex<double>(3, 4),
-                                    std::complex<double>(4, 5),
-                                    std::complex<double>(5, 6)};
+                                                 std::complex<double>(1, 2),
+                                                 std::complex<double>(2, 3),
+                                                 std::complex<double>(3, 4),
+                                                 std::complex<double>(4, 5),
+                                                 std::complex<double>(5, 6)};
     BlockVector<std::complex<double>> v1(vector_indices, &array[0], &array[6]);
     for (unsigned int i = 0; i < v1.size(); ++i)
       deallog << v1(i) << ' ';
index d07a5f09f50905ddb3abafa7b44a2f5fea5dd1c1..1ad7332e69460699cb7bc1326f33f918a8dedbd3 100644 (file)
@@ -52,21 +52,21 @@ make_tria(Triangulation<3> &tria, int step)
           // other. if step==0, refine back one,
           // otherwise the one in front
           const Point<3> vertices[12]        = {Point<3>(0, 0, 0),
-                                         Point<3>(1, 0, 0),
-                                         Point<3>(1, 0, 1),
-                                         Point<3>(0, 0, 1),
-
-                                         Point<3>(0, 1, 0),
-                                         Point<3>(1, 1, 0),
-                                         Point<3>(1, 1, 1),
-                                         Point<3>(0, 1, 1),
-
-                                         Point<3>(0, 2, 0),
-                                         Point<3>(1, 2, 0),
-                                         Point<3>(1, 2, 1),
-                                         Point<3>(0, 2, 1)};
+                                                Point<3>(1, 0, 0),
+                                                Point<3>(1, 0, 1),
+                                                Point<3>(0, 0, 1),
+
+                                                Point<3>(0, 1, 0),
+                                                Point<3>(1, 1, 0),
+                                                Point<3>(1, 1, 1),
+                                                Point<3>(0, 1, 1),
+
+                                                Point<3>(0, 2, 0),
+                                                Point<3>(1, 2, 0),
+                                                Point<3>(1, 2, 1),
+                                                Point<3>(0, 2, 1)};
           const int      cell_vertices[2][8] = {{0, 1, 2, 3, 4, 5, 6, 7},
-                                           {4, 5, 6, 7, 8, 9, 10, 11}};
+                                                {4, 5, 6, 7, 8, 9, 10, 11}};
           std::vector<CellData<3>> cells(2, CellData<3>());
           for (unsigned int cell = 0; cell < 2; ++cell)
             for (unsigned int j = 0; j < 8; ++j)
@@ -96,21 +96,21 @@ make_tria(Triangulation<3> &tria, int step)
           // other. if step==2, refine right one,
           // otherwise the left one
           const Point<3> vertices[12]        = {Point<3>(0, 0, 0),
-                                         Point<3>(1, 0, 0),
-                                         Point<3>(1, 0, 1),
-                                         Point<3>(0, 0, 1),
-
-                                         Point<3>(0, 1, 0),
-                                         Point<3>(1, 1, 0),
-                                         Point<3>(1, 1, 1),
-                                         Point<3>(0, 1, 1),
-
-                                         Point<3>(2, 0, 0),
-                                         Point<3>(2, 0, 1),
-                                         Point<3>(2, 1, 0),
-                                         Point<3>(2, 1, 1)};
+                                                Point<3>(1, 0, 0),
+                                                Point<3>(1, 0, 1),
+                                                Point<3>(0, 0, 1),
+
+                                                Point<3>(0, 1, 0),
+                                                Point<3>(1, 1, 0),
+                                                Point<3>(1, 1, 1),
+                                                Point<3>(0, 1, 1),
+
+                                                Point<3>(2, 0, 0),
+                                                Point<3>(2, 0, 1),
+                                                Point<3>(2, 1, 0),
+                                                Point<3>(2, 1, 1)};
           const int      cell_vertices[2][8] = {{0, 1, 2, 3, 4, 5, 6, 7},
-                                           {1, 8, 9, 2, 5, 10, 11, 6}};
+                                                {1, 8, 9, 2, 5, 10, 11, 6}};
           std::vector<CellData<3>> cells(2, CellData<3>());
           for (unsigned int cell = 0; cell < 2; ++cell)
             for (unsigned int j = 0; j < 8; ++j)
@@ -140,21 +140,21 @@ make_tria(Triangulation<3> &tria, int step)
           // other. if step==4, refine top one,
           // otherwise the bottom one
           const Point<3> vertices[12]        = {Point<3>(0, 0, 0),
-                                         Point<3>(1, 0, 0),
-                                         Point<3>(1, 0, 1),
-                                         Point<3>(0, 0, 1),
-
-                                         Point<3>(0, 1, 0),
-                                         Point<3>(1, 1, 0),
-                                         Point<3>(1, 1, 1),
-                                         Point<3>(0, 1, 1),
-
-                                         Point<3>(1, 0, 2),
-                                         Point<3>(0, 0, 2),
-                                         Point<3>(1, 1, 2),
-                                         Point<3>(0, 1, 2)};
+                                                Point<3>(1, 0, 0),
+                                                Point<3>(1, 0, 1),
+                                                Point<3>(0, 0, 1),
+
+                                                Point<3>(0, 1, 0),
+                                                Point<3>(1, 1, 0),
+                                                Point<3>(1, 1, 1),
+                                                Point<3>(0, 1, 1),
+
+                                                Point<3>(1, 0, 2),
+                                                Point<3>(0, 0, 2),
+                                                Point<3>(1, 1, 2),
+                                                Point<3>(0, 1, 2)};
           const int      cell_vertices[2][8] = {{0, 1, 2, 3, 4, 5, 6, 7},
-                                           {3, 2, 8, 9, 7, 6, 10, 11}};
+                                                {3, 2, 8, 9, 7, 6, 10, 11}};
           std::vector<CellData<3>> cells(2, CellData<3>());
           for (unsigned int cell = 0; cell < 2; ++cell)
             for (unsigned int j = 0; j < 8; ++j)
index a903aee67dd4e7bb912b9c488a580449d5dfd2bf..bbc373bd58ead4f2474c408c5658e1921cb84a33 100644 (file)
@@ -61,7 +61,7 @@ collect_lines(const AffineConstraints<Number> &constraints,
 template <int dim, int spacedim>
 void
 test(const DoFHandler<dim, spacedim> &dof_handler,
-     const IndexSet &                 locally_relevant_dofs)
+     const IndexSet                  &locally_relevant_dofs)
 {
   AffineConstraints<double> constraints;
 
index 2766ce0e7d35a61a0353451598e8adc9ea8eca8e..1f129aa99645ea88b89ef9f64860a4c34d6cc928 100644 (file)
@@ -26,7 +26,7 @@
 template <class NUMBER>
 void
 output_eigenvalues(const std::vector<NUMBER> &eigenvalues,
-                   const std::string &        text)
+                   const std::string         &text)
 {
   deallog << text;
   for (unsigned int j = 0; j < eigenvalues.size(); ++j)
index dd88b08c7f7ebf284a3dc5f704188acf25677ae0..6f3ec75eb402ff7efcd9daa7a291b10ba82e6c16 100644 (file)
@@ -94,7 +94,7 @@ public:
 
   virtual void
   value_list(const std::vector<Point<dim>> &points,
-             std::vector<double> &          values,
+             std::vector<double>           &values,
              const unsigned int             component = 0) const;
 };
 
@@ -114,7 +114,7 @@ Coefficient<dim>::value(const Point<dim> &p,
 template <int dim>
 void
 Coefficient<dim>::value_list(const std::vector<Point<dim>> &points,
-                             std::vector<double> &          values,
+                             std::vector<double>           &values,
                              const unsigned int             component) const
 {
   Assert(values.size() == points.size(),
index 9cbc572f7fb00d4f932e093110430f6b32529f4b..fac6a155a1404adf6c10fbe3bee2309c7360f484 100644 (file)
@@ -51,8 +51,8 @@ template <class PRECONDITIONER,
           typename VectorType,
           class ADDITIONAL_DATA = typename PRECONDITIONER::AdditionalData>
 void
-test_preconditioner_block(const MatrixType &     A,
-                          const VectorType &     b,
+test_preconditioner_block(const MatrixType      &A,
+                          const VectorType      &b,
                           const ADDITIONAL_DATA &data = ADDITIONAL_DATA())
 {
   const auto lo_A = linear_operator<VectorType>(A);
@@ -86,8 +86,8 @@ test_preconditioner_block(const MatrixType &     A,
 // does not define vector_type
 template <class PRECONDITIONER>
 void
-test_preconditioner(const SparseMatrix<double> &                   A,
-                    const Vector<double> &                         b,
+test_preconditioner(const SparseMatrix<double>                    &A,
+                    const Vector<double>                          &b,
                     const typename PRECONDITIONER::AdditionalData &data =
                       typename PRECONDITIONER::AdditionalData())
 {
index 79263104b73751b72878941ca16ce6b55ca8af1a..451395bd13c95e06363c886220b473b642e1d6c6 100644 (file)
@@ -46,8 +46,8 @@ template <class PRECONDITIONER,
           class VECTOR,
           class ADDITIONAL_DATA = typename PRECONDITIONER::AdditionalData>
 void
-test_preconditioner(const MATRIX &         A,
-                    const VECTOR &         b,
+test_preconditioner(const MATRIX          &A,
+                    const VECTOR          &b,
                     const ADDITIONAL_DATA &data = ADDITIONAL_DATA())
 {
   // This test might trigger spurious floating point exceptions in Trilinos
index ac0f64439dfa8e50e9c4fbe9ae19d992827e5b23..36684a6eb86065c9763d1631f5bece1f9b819336 100644 (file)
@@ -51,8 +51,8 @@ template <class PRECONDITIONER,
           class VECTOR,
           class ADDITIONAL_DATA = typename PRECONDITIONER::AdditionalData>
 void
-test_preconditioner(const MATRIX &         A,
-                    const VECTOR &         b,
+test_preconditioner(const MATRIX          &A,
+                    const VECTOR          &b,
                     const ADDITIONAL_DATA &data = ADDITIONAL_DATA())
 {
   const auto lo_A = linear_operator<VECTOR>(A);
index aaa25bdae4315c7d1ee0173057d1e662374b7730..79240cc97903ac8e9e53d060116903e50cb1d76e 100644 (file)
@@ -50,9 +50,9 @@
 template <int dim>
 void
 build_matrix_vector(TrilinosWrappers::BlockSparseMatrix &matrix,
-                    TrilinosWrappers::MPI::BlockVector vector,
-                    const FE_Q<dim> &                    fe_test,
-                    const FE_Q<dim> &                    fe_trial)
+                    TrilinosWrappers::MPI::BlockVector  &vector,
+                    const FE_Q<dim>                     &fe_test,
+                    const FE_Q<dim>                     &fe_trial)
 {
   deallog.push("build_matrix_vector");
 
@@ -141,7 +141,7 @@ build_matrix_vector(TrilinosWrappers::BlockSparseMatrix &matrix,
 
 void
 evaluate_ops(const TrilinosWrappers::BlockSparseMatrix &matrix,
-             const TrilinosWrappers::MPI::BlockVector vector)
+             const TrilinosWrappers::MPI::BlockVector  &vector)
 {
   const double tol  = 1e-12;
   using MatrixType  = dealii::TrilinosWrappers::SparseMatrix;
index 9312903e9a13c74202cadb0aee61839c3df99789..6ac032afd2b007dc66e7c5590a5f9f0835d18896 100644 (file)
@@ -53,9 +53,9 @@
 template <int dim>
 void
 build_matrix_vector(TrilinosWrappers::BlockSparseMatrix &matrix,
-                    TrilinosWrappers::MPI::BlockVector vector,
-                    const FE_Q<dim> &                    fe_test,
-                    const FE_Q<dim> &                    fe_trial)
+                    TrilinosWrappers::MPI::BlockVector  &vector,
+                    const FE_Q<dim>                     &fe_test,
+                    const FE_Q<dim>                     &fe_trial)
 {
   deallog.push("build_matrix_vector");
 
@@ -187,7 +187,7 @@ build_matrix_vector(TrilinosWrappers::BlockSparseMatrix &matrix,
 
 void
 evaluate_ops(const TrilinosWrappers::BlockSparseMatrix &matrix,
-             const TrilinosWrappers::MPI::BlockVector vector)
+             const TrilinosWrappers::MPI::BlockVector  &vector)
 {
   const double tol  = 1e-12;
   using MatrixType  = dealii::TrilinosWrappers::SparseMatrix;
index 862aa8c9c2f563c629ed473b45c729d8604bf95e..6032a328147ce8610142920c5ded3c38c2478475 100644 (file)
@@ -69,7 +69,7 @@ test()
   if (myid > 0)
     {
       unsigned int local_index = partitioner->global_to_local(1);
-      double *     values_dev  = v.get_values();
+      double      *values_dev  = v.get_values();
       Kokkos::deep_copy(
         Kokkos::View<double, MemorySpace::Default::kokkos_space>(values_dev +
                                                                  local_index),
@@ -116,7 +116,7 @@ test()
   if (myid == 0)
     {
       unsigned int local_index = partitioner->global_to_local(1);
-      double *     values_dev  = v.get_values();
+      double      *values_dev  = v.get_values();
       Kokkos::deep_copy(Kokkos::subview(v_device, local_index), 2);
     }
   if (myid > 0)
index 2e073ae9a12d580363ae5920d0f8bfe9d7102a00..45333063170387e80382201e0beaa4d3651e58be 100644 (file)
@@ -69,7 +69,7 @@ class MyDiagonalMatrixWithPreAndPost
 {
 public:
   void
-  vmult(VectorType &      dst,
+  vmult(VectorType       &dst,
         const VectorType &src,
         const std::function<void(const unsigned int, const unsigned int)>
           &operation_before_matrix_vector_product = {},
@@ -108,7 +108,7 @@ public:
 
   template <typename VectorType>
   void
-  vmult(VectorType &      dst,
+  vmult(VectorType       &dst,
         const VectorType &src,
         const std::function<void(const unsigned int, const unsigned int)>
           &operation_before_matrix_vector_product = {},
index 197e345b8dabb20bfd2aae5aa179ebbce9a340dc..3dde26fffe6ea205694afe1e9405536976ff174a 100644 (file)
@@ -68,7 +68,7 @@ class MyDiagonalMatrixWithPreAndPost
 {
 public:
   void
-  vmult(VectorType &      dst,
+  vmult(VectorType       &dst,
         const VectorType &src,
         const std::function<void(const unsigned int, const unsigned int)>
           &operation_before_matrix_vector_product = {},
@@ -107,7 +107,7 @@ public:
 
   template <typename VectorType>
   void
-  vmult(VectorType &      dst,
+  vmult(VectorType       &dst,
         const VectorType &src,
         const std::function<void(const unsigned int, const unsigned int)>
           &operation_before_matrix_vector_product,
@@ -129,7 +129,7 @@ private:
 template <typename PreconditionerType, typename VectorType>
 std::tuple<double, double, double, double>
 test(const PreconditionerType &preconditioner,
-     const VectorType &        src,
+     const VectorType         &src,
      const bool                test_transposed = true)
 {
   VectorType dst;
index 3ca6b4538ce4e1389cc7a6f808c97e24f101db89..7fc85afe94548c7ff7cb67059168046dd4cd74cc 100644 (file)
@@ -103,8 +103,8 @@ test()
   v[4] = 8.;
 
   const auto fun = [&](const Vector<number> &u,
-                       const number &        rho2,
-                       const number &        col_l2_norm2) {
+                       const number         &rho2,
+                       const number         &col_l2_norm2) {
     deallog << "Linearly dependent column" << std::endl;
     deallog << "u:" << std::endl;
     u.print(deallog.get_file_stream());
index d9a57edb784ae64c05a1e308fafe9686ca33422f..567058082248b26dce692c63576f3d4554523ee4 100644 (file)
@@ -177,8 +177,8 @@ main()
       Vector<double> &g = b.block(0);
 
       BlockVector<double> s(blks, rc);
-      Vector<double> &    x = s.block(1);
-      Vector<double> &    y = s.block(0);
+      Vector<double>     &x = s.block(1);
+      Vector<double>     &y = s.block(0);
 
       SolverControl            solver_control_A(1, 1.0e-10, false, false);
       SolverCG<Vector<double>> solver_A(solver_control_A);
index 7566b9f8b9208b706ad7de7ec7ee2d9b980f9ccb..010da52d05543c84e38e009af15b29e7297796a7 100644 (file)
@@ -102,7 +102,7 @@ namespace Step22
 
   template <int dim>
   double
-  BoundaryValues<dim>::value(const Point<dim> p,
+  BoundaryValues<dim>::value(const Point<dim>  &p,
                              const unsigned int component) const
   {
     Assert(component < this->n_components,
@@ -115,7 +115,7 @@ namespace Step22
   template <int dim>
   void
   BoundaryValues<dim>::vector_value(const Point<dim> &p,
-                                    Vector<double> &  values) const
+                                    Vector<double>   &values) const
   {
     for (unsigned int c = 0; c < this->n_components; ++c)
       values(c) = BoundaryValues<dim>::value(p, c);
@@ -145,7 +145,7 @@ namespace Step22
   template <int dim>
   void
   RightHandSide<dim>::vector_value(const Point<dim> &p,
-                                   Vector<double> &  values) const
+                                   Vector<double>   &values) const
   {
     for (unsigned int c = 0; c < this->n_components; ++c)
       values(c) = RightHandSide<dim>::value(p, c);
@@ -321,8 +321,8 @@ namespace Step22
     SolverCG<>       solver_S(solver_control_S);
     const auto       S_inv = inverse_operator(S, solver_S, M_inv);
 
-    Vector<double> &      x   = solution.block(0);
-    Vector<double> &      y   = solution.block(1);
+    Vector<double>       &x   = solution.block(0);
+    Vector<double>       &y   = solution.block(1);
     const Vector<double> &f   = system_rhs.block(0);
     const Vector<double> &g   = system_rhs.block(1);
     auto                  rhs = condense_schur_rhs(A_inv, C, f, g);
index b206453048be4de9b0c04c798e7c59b80ea3b105..59c4542e912cfa7349b5e2e31f9b08ee4a421750 100644 (file)
@@ -37,10 +37,10 @@ template <typename SolverType,
           typename VectorType,
           class PRECONDITION>
 void
-check_solve(SolverType &        solver,
-            const MatrixType &  A,
-            VectorType &        u,
-            VectorType &        f,
+check_solve(SolverType         &solver,
+            const MatrixType   &A,
+            VectorType         &u,
+            VectorType         &f,
             const PRECONDITION &P)
 {
   u = 0.;
@@ -60,10 +60,10 @@ template <typename SolverType,
           typename VectorType,
           class PRECONDITION>
 void
-check_Tsolve(SolverType &        solver,
-             const MatrixType &  A,
-             VectorType &        u,
-             VectorType &        f,
+check_Tsolve(SolverType         &solver,
+             const MatrixType   &A,
+             VectorType         &u,
+             VectorType         &f,
              const PRECONDITION &P)
 {
   u = 0.;
index 81e0920f6ca43c6c2e65186f72cbb344230fc7bd..7b938f53a20f8d91074195c4a9744dc7f3211adb 100644 (file)
@@ -33,7 +33,7 @@ struct MyDiagonalMatrix
   {}
 
   void
-  vmult(LinearAlgebra::distributed::Vector<double> &      dst,
+  vmult(LinearAlgebra::distributed::Vector<double>       &dst,
         const LinearAlgebra::distributed::Vector<double> &src) const
   {
     dst = src;
@@ -42,8 +42,8 @@ struct MyDiagonalMatrix
 
   void
   vmult(
-    LinearAlgebra::distributed::Vector<double> &                       dst,
-    const LinearAlgebra::distributed::Vector<double> &                 src,
+    LinearAlgebra::distributed::Vector<double>                        &dst,
+    const LinearAlgebra::distributed::Vector<double>                  &src,
     const std::function<void(const unsigned int, const unsigned int)> &before,
     const std::function<void(const unsigned int, const unsigned int)> &after)
     const
index 04c2b549358f39ad53b8e86c9771158c0a6c4752..5f2380fb7f1d43464ae1431b6d593be4835ad08d 100644 (file)
@@ -34,7 +34,7 @@ struct MyDiagonalMatrix
   {}
 
   void
-  vmult(LinearAlgebra::distributed::Vector<double> &      dst,
+  vmult(LinearAlgebra::distributed::Vector<double>       &dst,
         const LinearAlgebra::distributed::Vector<double> &src) const
   {
     dst = src;
@@ -43,8 +43,8 @@ struct MyDiagonalMatrix
 
   void
   vmult(
-    LinearAlgebra::distributed::Vector<double> &                       dst,
-    const LinearAlgebra::distributed::Vector<double> &                 src,
+    LinearAlgebra::distributed::Vector<double>                        &dst,
+    const LinearAlgebra::distributed::Vector<double>                  &src,
     const std::function<void(const unsigned int, const unsigned int)> &before,
     const std::function<void(const unsigned int, const unsigned int)> &after)
     const
index 6e3246d94b361eddc97aa92bd5ed01f62fc950da..1d89f4060ae8c8d904a18adf7724b6bae469dac6 100644 (file)
 
 template <typename MatrixType, typename VectorType, class PRECONDITION>
 void
-check_solve(SolverControl &     solver_control,
-            const MatrixType &  A,
-            VectorType &        u,
-            VectorType &        f,
+check_solve(SolverControl      &solver_control,
+            const MatrixType   &A,
+            VectorType         &u,
+            VectorType         &f,
             const PRECONDITION &P,
             const bool          expected_result)
 {
index d056cb5ad0828d9747fbe6ff1be562f9d354fc3e..85865b670717d1367d5c17340c4b79c51aa8fc76 100644 (file)
 
 template <typename MatrixType, typename VectorType, class PRECONDITION>
 void
-check_solve(SolverControl &     solver_control,
-            const MatrixType &  A,
-            VectorType &        u,
-            VectorType &        f,
+check_solve(SolverControl      &solver_control,
+            const MatrixType   &A,
+            VectorType         &u,
+            VectorType         &f,
             const PRECONDITION &P,
             const bool          expected_result)
 {
index 188b9e2745d1d01cf6a42cd5f1d9d14b7dfde695..41a3e7c65aa67d0ffdf921f492673f6d410210ca 100644 (file)
 
 template <typename MatrixType, typename VectorType, class PRECONDITION>
 void
-check_solve(SolverControl &     solver_control,
-            const MatrixType &  A,
-            VectorType &        u,
-            VectorType &        f,
+check_solve(SolverControl      &solver_control,
+            const MatrixType   &A,
+            VectorType         &u,
+            VectorType         &f,
             const PRECONDITION &P,
             const bool          expected_result)
 {
index 009d67051b4017cc54f283e4b051e5a26d017e56..95036d0aa8abc22883416dfa7f3dcdb41fcff43a 100644 (file)
 
 template <typename MatrixType, typename VectorType, class PRECONDITION>
 void
-check_solve(SolverControl &     solver_control,
-            const MatrixType &  A,
-            VectorType &        u,
-            VectorType &        f,
+check_solve(SolverControl      &solver_control,
+            const MatrixType   &A,
+            VectorType         &u,
+            VectorType         &f,
             const PRECONDITION &P,
             const bool          expected_result)
 {
index f0383ab3e03781970b726f6b086dd8cb724058c0..a0399b039b8b63341c004d9cc3327c4ba7e6bc0b 100644 (file)
@@ -33,7 +33,7 @@ struct MyDiagonalMatrix
   {}
 
   void
-  vmult(LinearAlgebra::distributed::Vector<double> &      dst,
+  vmult(LinearAlgebra::distributed::Vector<double>       &dst,
         const LinearAlgebra::distributed::Vector<double> &src) const
   {
     dst = src;
@@ -41,7 +41,7 @@ struct MyDiagonalMatrix
   }
 
   void
-  vmult(LinearAlgebra::distributed::BlockVector<double> &      dst,
+  vmult(LinearAlgebra::distributed::BlockVector<double>       &dst,
         const LinearAlgebra::distributed::BlockVector<double> &src) const
   {
     dst = src;
index aa8e49c27b4821732ab6288f3ae1d2d90e5e0d79..f43c64e9899d9ed29f46761f9c96afb47ec8649a 100644 (file)
@@ -39,9 +39,9 @@
 
 template <typename SolverType, typename MatrixType, typename VectorType>
 void
-check_solve(const MatrixType &                         A,
-            VectorType &                               u,
-            VectorType &                               f,
+check_solve(const MatrixType                          &A,
+            VectorType                                &u,
+            VectorType                                &f,
             const typename SolverType::AdditionalData &additional_data =
               typename SolverType::AdditionalData())
 {
index c3913665c948c34cd7755125ad209e739776a6a0..e51ffac9cff8a9f4fe8461f2505bfcc8334be331 100644 (file)
@@ -61,10 +61,10 @@ template <typename SolverType,
           typename VectorType,
           class PRECONDITION>
 void
-check_solve(SolverType &        solver,
-            const MatrixType &  A,
-            VectorType &        u,
-            VectorType &        f,
+check_solve(SolverType         &solver,
+            const MatrixType   &A,
+            VectorType         &u,
+            VectorType         &f,
             const PRECONDITION &P)
 {
   u = 0.;
index 6f57d2276d4f671611d8841245ba1096d60d677b..09b1497e809f132b3da1d3fa5bc856e24868428e 100644 (file)
@@ -62,10 +62,10 @@ template <typename SolverType,
           typename VectorType,
           class PRECONDITION>
 void
-check_solve(SolverType &        solver,
-            const MatrixType &  A,
-            VectorType &        u,
-            VectorType &        f,
+check_solve(SolverType         &solver,
+            const MatrixType   &A,
+            VectorType         &u,
+            VectorType         &f,
             const PRECONDITION &P)
 {
   u = 0.;
index 495b4a3e078fc296b15b6507b97a19d25bfd9695..775ecd74312788edb39ba84981aaa968f04173d3 100644 (file)
@@ -34,10 +34,10 @@ template <typename SolverType,
           typename VectorType,
           class PRECONDITION>
 double
-check_solve(SolverType &        solver,
-            const MatrixType &  A,
-            VectorType &        u,
-            VectorType &        f,
+check_solve(SolverType         &solver,
+            const MatrixType   &A,
+            VectorType         &u,
+            VectorType         &f,
             const PRECONDITION &P)
 {
   double result = 0.;
index e1c18c1a77e7f399eff1c03c6447ab8b2d7b3cb9..f8bb32266d777bdafc8e2a7382c1bb6b136ee3cc 100644 (file)
@@ -35,10 +35,10 @@ template <typename SolverType,
           typename VectorType,
           class PRECONDITION>
 double
-check_solve(SolverType &        solver,
-            const MatrixType &  A,
-            VectorType &        u,
-            VectorType &        f,
+check_solve(SolverType         &solver,
+            const MatrixType   &A,
+            VectorType         &u,
+            VectorType         &f,
             const PRECONDITION &P)
 {
   double result = 0.;
index 09590735ccd869a025dabf19e0ce7596fc9f015f..2e8d4b11dffee4660c9cd1c47b3e69fda940af6d 100644 (file)
@@ -36,10 +36,10 @@ template <typename SolverType,
           typename VectorType,
           class PRECONDITION>
 double
-check_solve(SolverType &        solver,
-            const MatrixType &  A,
-            VectorType &        u,
-            VectorType &        f,
+check_solve(SolverType         &solver,
+            const MatrixType   &A,
+            VectorType         &u,
+            VectorType         &f,
             const PRECONDITION &P)
 {
   double result = 0.;
index b3a75c4f88ad16d11bf00c396fa7c42d7cb89e35..505383bbdeb7caac902e7608fbfd86efdc8ff633 100644 (file)
@@ -34,10 +34,10 @@ template <typename SolverType,
           typename VectorType,
           class PRECONDITION>
 double
-check_solve(SolverType &        solver,
-            const MatrixType &  A,
-            VectorType &        u,
-            VectorType &        f,
+check_solve(SolverType         &solver,
+            const MatrixType   &A,
+            VectorType         &u,
+            VectorType         &f,
             const PRECONDITION &P)
 {
   double result = 0.;
index 2dc2fe90cfc337c2a7d3773cedc6790e44e17b6b..3bbc4f10073a2752e30f420c5a2756f174927318 100644 (file)
@@ -49,7 +49,7 @@ output_coefficients(double alpha, double beta)
 template <class NUMBER>
 void
 output_eigenvalues(const std::vector<NUMBER> &eigenvalues,
-                   const std::string &        text)
+                   const std::string         &text)
 {
   deallog << text;
   for (unsigned int j = 0; j < eigenvalues.size(); ++j)
@@ -76,7 +76,7 @@ template <class NUMBER>
 void
 output_arnoldi_vectors_norms(
   const internal::SolverGMRESImplementation::TmpVectors<Vector<NUMBER>>
-    &                tmp_vector,
+                    &tmp_vector,
   const std::string &text)
 {
   deallog << text << std::endl;
@@ -89,10 +89,10 @@ template <typename SolverType,
           typename VectorType,
           class PRECONDITION>
 void
-check_solve(SolverType &        solver,
-            const MatrixType &  A,
-            VectorType &        u,
-            VectorType &        f,
+check_solve(SolverType         &solver,
+            const MatrixType   &A,
+            VectorType         &u,
+            VectorType         &f,
             const PRECONDITION &P)
 {
   u = 0.;
index db68e45143d8511b89766b1da59402677d173e26..701b326cc2b225b257b1fe4b55c65ff61fe99b40 100644 (file)
@@ -49,8 +49,8 @@
 template <typename MatrixType>
 void
 check_vmult_quadratic(std::vector<double> &residuals,
-                      const MatrixType &   A,
-                      const char *         prefix)
+                      const MatrixType    &A,
+                      const char          *prefix)
 {
   deallog.push(prefix);
 
@@ -168,9 +168,9 @@ check_vmult_quadratic(std::vector<double> &residuals,
 
 
 void
-check_vmult_quadratic(std::vector<double> &            residuals,
+check_vmult_quadratic(std::vector<double>             &residuals,
                       const BlockSparseMatrix<double> &A,
-                      const char *                     prefix)
+                      const char                      *prefix)
 {
   deallog.push(prefix);
 
index 0644d35395358ae5e0963488935e1d5c4ef86edc..7ece239806c69c1b3b5152c6542cbdc9b9ccb767 100644 (file)
@@ -39,7 +39,7 @@
 template <int dim, int spacedim>
 void
 reinit_sparsity_pattern(const DoFHandler<dim, spacedim> &dof_handler,
-                        SparsityPattern &                sparsity_pattern)
+                        SparsityPattern                 &sparsity_pattern)
 {
   std::vector<unsigned int> counter(dof_handler.n_dofs(), 0);
 
@@ -60,7 +60,7 @@ reinit_sparsity_pattern(const DoFHandler<dim, spacedim> &dof_handler,
 
 template <int dim, int spacedim>
 void
-reinit_sparsity_pattern(const DoFHandler<dim, spacedim> &  dof_handler,
+reinit_sparsity_pattern(const DoFHandler<dim, spacedim>   &dof_handler,
                         TrilinosWrappers::SparsityPattern &sparsity_pattern)
 {
   sparsity_pattern.reinit(dof_handler.locally_owned_dofs(),
index 9e311eb63f6e937ba1cd49dcaa94c3445d83103b..85f3d506a7cafa50f227468de73cf8fb43b2af7e 100644 (file)
@@ -25,8 +25,8 @@ namespace dealii
     // Compute harminic extent of all non-artificial cells.
     template <int dim>
     std::vector<std::array<double, dim>>
-    compute_harmonic_cell_extent(const Mapping<dim> &       mapping,
-                                 const Triangulation<dim> triangulation,
+    compute_harmonic_cell_extent(const Mapping<dim>        &mapping,
+                                 const Triangulation<dim>  &triangulation,
                                  const Quadrature<dim - 1> &quadrature)
     {
       std::vector<std::array<double, dim>> result(
@@ -68,8 +68,8 @@ namespace dealii
     // of its neighbors. If there is no neigbor, its extent is zero.
     template <int dim>
     std::vector<dealii::ndarray<double, dim, 3>>
-    compute_harmonic_patch_extent(const Mapping<dim> &       mapping,
-                                  const Triangulation<dim> triangulation,
+    compute_harmonic_patch_extent(const Mapping<dim>        &mapping,
+                                  const Triangulation<dim>  &triangulation,
                                   const Quadrature<dim - 1> &quadrature)
     {
       // 1) compute extent of each non-artificial cell
index db6112347438755ca6931d2923eb4726cee2ccb7..90248b34c679c0a973e48020b736f7ef0d0f2c52 100644 (file)
@@ -67,7 +67,7 @@ do_test(const unsigned int size)
   for (unsigned int i = 0; i < w1.size(); ++i)
     w1[i] = (2 * i + 1) % 23;
 
-  auto convert_to_vectorized = [](const Vector<double> &                  in,
+  auto convert_to_vectorized = [](const Vector<double>                   &in,
                                   AlignedVector<VectorizedArray<double>> &out) {
     std::transform(in.begin(), in.end(), out.begin(), [](const double &val) {
       return make_vectorized_array(val);
@@ -83,7 +83,7 @@ do_test(const unsigned int size)
   for (unsigned int i = 0; i < macro_size; ++i)
     offsets[i] = v1.size() * i;
   auto subtract_and_assign =
-    [](AlignedVector<VectorizedArray<double>> &      lhs,
+    [](AlignedVector<VectorizedArray<double>>       &lhs,
        const AlignedVector<VectorizedArray<double>> &rhs) {
       std::transform(lhs.begin(),
                      lhs.end(),
index f56d691679d23b1a5b482bbc0899a5c1ecc3dad9..4184f8b6c4e8ebbbc003bdf5f0bb787ffa563086 100644 (file)
@@ -67,7 +67,7 @@ do_test()
   for (unsigned int i = 0; i < w1.size(); ++i)
     w1[i] = (2 * i + 1) % 23;
 
-  auto convert_to_vectorized = [](const Vector<double> &                  in,
+  auto convert_to_vectorized = [](const Vector<double>                   &in,
                                   AlignedVector<VectorizedArray<double>> &out) {
     std::transform(in.begin(), in.end(), out.begin(), [](const double &val) {
       return make_vectorized_array(val);
@@ -83,7 +83,7 @@ do_test()
   for (unsigned int i = 0; i < macro_size; ++i)
     offsets[i] = v1.size() * i;
   auto subtract_and_assign =
-    [](AlignedVector<VectorizedArray<double>> &      lhs,
+    [](AlignedVector<VectorizedArray<double>>       &lhs,
        const AlignedVector<VectorizedArray<double>> &rhs) {
       std::transform(lhs.begin(),
                      lhs.end(),
index 7c9419b3fccbab1fe89815ee1d4cb0ee3aedd9b9..1de91dd0680e816dbb95e5d7cdc8a09f12302f0b 100644 (file)
@@ -67,7 +67,7 @@ do_test()
   for (unsigned int i = 0; i < w1.size(); ++i)
     w1[i] = (2 * i + 1) % 23;
 
-  auto convert_to_vectorized = [](const Vector<float> &                  in,
+  auto convert_to_vectorized = [](const Vector<float>                   &in,
                                   AlignedVector<VectorizedArray<float>> &out) {
     std::transform(in.begin(), in.end(), out.begin(), [](const float &val) {
       return make_vectorized_array(val);
@@ -83,7 +83,7 @@ do_test()
   for (unsigned int i = 0; i < macro_size; ++i)
     offsets[i] = v1.size() * i;
   auto subtract_and_assign =
-    [](AlignedVector<VectorizedArray<float>> &      lhs,
+    [](AlignedVector<VectorizedArray<float>>       &lhs,
        const AlignedVector<VectorizedArray<float>> &rhs) {
       std::transform(lhs.begin(),
                      lhs.end(),
index 0f3f9a0afff388cc938810f658e0f524f88a3ed1..c487d17b6d2b757a82abfb4a51e9be2da6817195 100644 (file)
@@ -61,7 +61,7 @@ do_test(const unsigned int size)
   for (unsigned int i = 0; i < w1.size(); ++i)
     w1[i] = (2 * i + 1) % 23;
 
-  auto convert_to_vectorized = [](const Vector<double> &                  in,
+  auto convert_to_vectorized = [](const Vector<double>                   &in,
                                   AlignedVector<VectorizedArray<double>> &out) {
     std::transform(in.begin(), in.end(), out.begin(), [](const double &val) {
       return make_vectorized_array(val);
@@ -77,7 +77,7 @@ do_test(const unsigned int size)
   for (unsigned int i = 0; i < macro_size; ++i)
     offsets[i] = v1.size() * i;
   auto subtract_and_assign =
-    [](AlignedVector<VectorizedArray<double>> &      lhs,
+    [](AlignedVector<VectorizedArray<double>>       &lhs,
        const AlignedVector<VectorizedArray<double>> &rhs) {
       std::transform(lhs.begin(),
                      lhs.end(),
index 822d01c7653c9911e3c145f38d6b7841a52b6c8b..cfac346abd32bc449750ed95d9c1148c9ba9a063 100644 (file)
@@ -60,7 +60,7 @@ x * Cheb2(3,L(ev)) / Cheb2(3,L(aL));
 
  */
 
-//#define EXTRA_OUTPUT
+// #define EXTRA_OUTPUT
 
 
 #include <deal.II/lac/diagonal_matrix.h>
index c8fa8e906dd50820c513cdcfd0f0ce0512b5273e..c6ae83b4bc7b2de3c621d1a4b295e50ac7b15fa2 100644 (file)
@@ -28,7 +28,7 @@ void
 test_leak()
 {
   GrowingVectorMemory<VectorType> mem;
-  VectorType *                    v = mem.alloc();
+  VectorType                     *v = mem.alloc();
   v->reinit(5);
 }
 
@@ -38,12 +38,12 @@ void
 test_stat()
 {
   GrowingVectorMemory<VectorType> mem(1, true);
-  VectorType *                    v1 = mem.alloc();
-  VectorType *                    v2 = mem.alloc();
-  VectorType *                    v3 = mem.alloc();
-  VectorType *                    v4 = mem.alloc();
-  VectorType *                    v5 = mem.alloc();
-  VectorType *                    v6 = mem.alloc();
+  VectorType                     *v1 = mem.alloc();
+  VectorType                     *v2 = mem.alloc();
+  VectorType                     *v3 = mem.alloc();
+  VectorType                     *v4 = mem.alloc();
+  VectorType                     *v5 = mem.alloc();
+  VectorType                     *v6 = mem.alloc();
   v1->reinit(5);
   v2->reinit(5);
   v3->reinit(5);
index 40ef5a3873ad97a1e88168e6095f09c2a9ccec0d..5499d325bdcb06fc28ccce5f933d997920e1a7e3 100644 (file)
@@ -34,12 +34,12 @@ void
 test_stat()
 {
   GrowingVectorMemory<VectorType> mem(1, true);
-  VectorType *                    v1 = mem.alloc();
-  VectorType *                    v2 = mem.alloc();
-  VectorType *                    v3 = mem.alloc();
-  VectorType *                    v4 = mem.alloc();
-  VectorType *                    v5 = mem.alloc();
-  VectorType *                    v6 = mem.alloc();
+  VectorType                     *v1 = mem.alloc();
+  VectorType                     *v2 = mem.alloc();
+  VectorType                     *v3 = mem.alloc();
+  VectorType                     *v4 = mem.alloc();
+  VectorType                     *v5 = mem.alloc();
+  VectorType                     *v6 = mem.alloc();
   v1->reinit(5);
   v2->reinit(5);
   v3->reinit(5);
index 434d049ec72ddf6fa5e98eb728e12b40d814b6d9..ffd884c4c9e8decf03a13b43bb2c8ac16ee6e511 100644 (file)
@@ -34,7 +34,7 @@ void
 test_leak()
 {
   GrowingVectorMemory<VectorType> mem;
-  VectorType *                    v = mem.alloc();
+  VectorType                     *v = mem.alloc();
   v->reinit(5);
 }
 
index 4fd77a9d510854272a10a7648e89758c1c0d2e6e..d5ab0152f3ab1ab3e5f07aa3d9e5306eff7c4239 100644 (file)
@@ -39,7 +39,7 @@ output_double_number(double input, const std::string &text)
 template <class NUMBER>
 void
 output_eigenvalues(const std::vector<NUMBER> &eigenvalues,
-                   const std::string &        text)
+                   const std::string         &text)
 {
   deallog << text;
   for (unsigned int j = 0; j < eigenvalues.size(); ++j)
@@ -55,10 +55,10 @@ template <typename SolverType,
           typename VectorType,
           class PRECONDITION>
 void
-check_solve(SolverType &        solver,
-            const MatrixType &  A,
-            VectorType &        u,
-            VectorType &        f,
+check_solve(SolverType         &solver,
+            const MatrixType   &A,
+            VectorType         &u,
+            VectorType         &f,
             const PRECONDITION &P)
 {
   u = 0.;
@@ -78,10 +78,10 @@ template <typename SolverType,
           typename VectorType,
           class PRECONDITION>
 void
-check_Tsolve(SolverType &        solver,
-             const MatrixType &  A,
-             VectorType &        u,
-             VectorType &        f,
+check_Tsolve(SolverType         &solver,
+             const MatrixType   &A,
+             VectorType         &u,
+             VectorType         &f,
              const PRECONDITION &P)
 {
   u = 0.;
index 14389f2911867f6b448714fcbd83dff6d88ec730..2a1731fc2089acdc495dbb6f084e5f6cc77618e2 100644 (file)
@@ -25,9 +25,9 @@
 template <int dim>
 void
 print_intermediate_point(const Manifold<dim> &manifold,
-                         const std::string &  manifold_name,
-                         const Point<dim> &   p1,
-                         const Point<dim> &   p2,
+                         const std::string   &manifold_name,
+                         const Point<dim>    &p1,
+                         const Point<dim>    &p2,
                          const double         weight)
 {
   const std::vector<Point<dim>> points({p1, p2});
index a779e3c02a0c2340059edd27dec89f430ba132f3..e6a99ac5c5e349c9fa6eca9e346acd7135a3f662 100644 (file)
@@ -86,19 +86,19 @@ namespace
   //
   void
   build_simple_hyper_shell(Triangulation<2, 2> &grid,
-                           const Point<2> &     center,
+                           const Point<2>      &center,
                            const double         inner_radius,
                            const double         outer_radius,
                            const double         eccentricity)
   {
     unsigned int          cell[][4] = {{5, 6, 0, 1},
-                              {6, 7, 1, 2},
-                              {8, 3, 7, 2},
-                              {9, 4, 8, 3},
-                              {5, 0, 13, 10},
-                              {13, 10, 14, 11},
-                              {15, 14, 12, 11},
-                              {9, 15, 4, 12}};
+                                       {6, 7, 1, 2},
+                                       {8, 3, 7, 2},
+                                       {9, 4, 8, 3},
+                                       {5, 0, 13, 10},
+                                       {13, 10, 14, 11},
+                                       {15, 14, 12, 11},
+                                       {9, 15, 4, 12}};
     std::vector<Point<2>> points =
       generate_shell_points(center, inner_radius, outer_radius, eccentricity);
     std::vector<CellData<2>> cells(8, CellData<2>());
index 6d6c28994bb2a912e8dbabb1c7605d98c8539f72..b9d85b64c608cee1d39dc4aa90b8f75aab4ea109 100644 (file)
@@ -37,7 +37,7 @@ template <int dim, int spacedim>
 Point<spacedim>
 test_push(const Tensor<1, spacedim> &axis,
           const double               eccentricity,
-          const Point<spacedim> &    space_point,
+          const Point<spacedim>     &space_point,
           unsigned int               ref = 1)
 {
   EllipticalManifold<dim, spacedim> manifold(Point<spacedim>(),
@@ -55,7 +55,7 @@ template <int dim, int spacedim>
 Point<spacedim>
 test_pull(const Tensor<1, spacedim> &axis,
           const double               eccentricity,
-          const Point<spacedim> &    chart_point,
+          const Point<spacedim>     &chart_point,
           unsigned int               ref = 1)
 {
   EllipticalManifold<dim, spacedim> manifold(Point<spacedim>(),
@@ -73,7 +73,7 @@ test_pull(const Tensor<1, spacedim> &axis,
 void
 local_test(const Tensor<1, 2> &axis,
            const double        eccentricity,
-           const Point<2> &    space_point)
+           const Point<2>     &space_point)
 {
   const Point<2> pt1 = test_push<2, 2>(axis, eccentricity, space_point);
   const Point<2> pt2 = test_pull<2, 2>(axis, eccentricity, pt1);
index e702489777c5f2bca5617153248840e934ca0bba..e52cce7d93716a16757bc1fe8fe2830435b6cdfa 100644 (file)
@@ -55,9 +55,9 @@ main()
       for (unsigned int i = 0; i < n_iterations; ++i)
         {
           std::vector<Point<3>> points  = {{-.1, -.1, .5},
-                                          {.1, -.1, .5},
-                                          {-.1, .1, .5},
-                                          {.1, .1, .5}};
+                                           {.1, -.1, .5},
+                                           {-.1, .1, .5},
+                                           {.1, .1, .5}};
           std::vector<double>   weights = {.25, .25, .25, .25};
 
           for (Point<3> &point : points)
index 9b83e8646bba063d478bc940cd0f9713fac24a45..48349704631683d8a354e036634b061e26ad65ef 100644 (file)
@@ -43,10 +43,10 @@ struct Geom_parameters
 };
 
 void
-concentric_disks(Triangulation<2> &         tria,
+concentric_disks(Triangulation<2>          &tria,
                  const double               s,
                  const std::vector<double> &x,
-                 Geom_parameters &          gp)
+                 Geom_parameters           &gp)
 {
   double r = x[0], d = 0.5 * x[0],
          q = 1.0 / sqrt(2.0); // q: corner points factor
@@ -264,9 +264,9 @@ concentric_disks(Triangulation<2> &         tria,
 }
 
 void
-concentric_disks(Triangulation<2> &  tria,
+concentric_disks(Triangulation<2>   &tria,
                  std::vector<double> x,
-                 Geom_parameters &   gp)
+                 Geom_parameters    &gp)
 {
   concentric_disks(tria, 0.0, x, gp);
 }
index 53395abc7bdc50e0a1324058d5bc5c96336968af..27ffbceee806202fb69a46392ba3ac197e4d5ff0 100644 (file)
@@ -31,7 +31,7 @@
 
 template <typename Stream, int dim>
 void
-print_triangulation_data(Stream &                  stream,
+print_triangulation_data(Stream                   &stream,
                          const Triangulation<dim> &triangulation)
 {
   // Boundary id count
index a2ad3d7d64d5384f354a5d09421db1ac825acac1..ca1177843f6a96140e27b48d785ee380dfd019e9 100644 (file)
@@ -47,8 +47,8 @@
 
 template <int dim>
 inline void
-plot_faces(Mapping<dim> &                           mapping,
-           FiniteElement<dim> &                     fe,
+plot_faces(Mapping<dim>                            &mapping,
+           FiniteElement<dim>                      &fe,
            typename DoFHandler<dim>::cell_iterator &cell)
 {
   // create a QGauss<0>(4), which should
@@ -91,8 +91,8 @@ plot_faces(Mapping<dim> &                           mapping,
 
 template <int dim>
 inline void
-plot_subfaces(Mapping<dim> &                           mapping,
-              FiniteElement<dim> &                     fe,
+plot_subfaces(Mapping<dim>                            &mapping,
+              FiniteElement<dim>                      &fe,
               typename DoFHandler<dim>::cell_iterator &cell)
 {
   // create a QGauss<0>(4), which should
index 5c74f778a08018e360d2f2f66dd0758621077443..e55f3fe4ec8a26ab2251b2f6f5e484737955de29 100644 (file)
@@ -47,8 +47,8 @@
 
 template <int dim>
 inline void
-plot_faces(Mapping<dim> &                           mapping,
-           FiniteElement<dim> &                     fe,
+plot_faces(Mapping<dim>                            &mapping,
+           FiniteElement<dim>                      &fe,
            typename DoFHandler<dim>::cell_iterator &cell)
 {
   // create a QGauss<0>(4), which should
@@ -91,8 +91,8 @@ plot_faces(Mapping<dim> &                           mapping,
 
 template <int dim>
 inline void
-plot_subfaces(Mapping<dim> &                           mapping,
-              FiniteElement<dim> &                     fe,
+plot_subfaces(Mapping<dim>                            &mapping,
+              FiniteElement<dim>                      &fe,
               typename DoFHandler<dim>::cell_iterator &cell)
 {
   // create a QGauss<0>(4), which should
index 6d62e078e7b703a6690a49adca38020d09925ea2..507e0b903bb9011f10a02ba8992aab9aa2a9bf87 100644 (file)
 
 template <int dim>
 inline void
-plot_transformation(Mapping<dim> &                           mapping,
-                    FiniteElement<dim> &                     fe,
+plot_transformation(Mapping<dim>                            &mapping,
+                    FiniteElement<dim>                      &fe,
                     typename DoFHandler<dim>::cell_iterator &cell,
-                    const std::string &                      name)
+                    const std::string                       &name)
 {
   const unsigned int div = 7;
 
@@ -86,10 +86,10 @@ plot_transformation(Mapping<dim> &                           mapping,
 
 template <int dim>
 inline void
-plot_faces(Mapping<dim> &                           mapping,
-           FiniteElement<dim> &                     fe,
+plot_faces(Mapping<dim>                            &mapping,
+           FiniteElement<dim>                      &fe,
            typename DoFHandler<dim>::cell_iterator &cell,
-           const std::string &                      name)
+           const std::string                       &name)
 {
   deallog.push(name);
 
@@ -131,10 +131,10 @@ plot_faces(Mapping<dim> &                           mapping,
 
 template <int dim>
 inline void
-plot_subfaces(Mapping<dim> &                           mapping,
-              FiniteElement<dim> &                     fe,
+plot_subfaces(Mapping<dim>                            &mapping,
+              FiniteElement<dim>                      &fe,
               typename DoFHandler<dim>::cell_iterator &cell,
-              const std::string &                      name)
+              const std::string                       &name)
 {
   deallog.push(name);
 
@@ -198,8 +198,8 @@ plot_subfaces(Mapping<1> &,
 
 template <int dim>
 inline void
-compute_area(Mapping<dim> &                           mapping,
-             FiniteElement<dim> &                     fe,
+compute_area(Mapping<dim>                            &mapping,
+             FiniteElement<dim>                      &fe,
              typename DoFHandler<dim>::cell_iterator &cell)
 {
   QGauss<dim>   gauss4(4);
@@ -250,8 +250,8 @@ create_triangulations(std::vector<Triangulation<1> *> &tria_ptr,
 template <>
 void
 create_triangulations(std::vector<Triangulation<2> *> &tria_ptr,
-                      std::vector<Manifold<2> *> &     boundary_ptr,
-                      std::vector<double> &            exact_areas)
+                      std::vector<Manifold<2> *>      &boundary_ptr,
+                      std::vector<double>             &exact_areas)
 {
   Triangulation<2> *tria;
   show.clear();
@@ -265,9 +265,9 @@ create_triangulations(std::vector<Triangulation<2> *> &tria_ptr,
       const double right = 4.;
 
       const Point<2>           vertices[4]         = {Point<2>(left, left),
-                                    Point<2>(right, left),
-                                    Point<2>(right, right),
-                                    Point<2>(left, right)};
+                                                      Point<2>(right, left),
+                                                      Point<2>(right, right),
+                                                      Point<2>(left, right)};
       const int                cell_vertices[1][4] = {{1, 2, 0, 3}};
       std::vector<CellData<2>> cells(1, CellData<2>());
       for (unsigned int j = 0; j < 4; ++j)
@@ -364,8 +364,8 @@ create_triangulations(std::vector<Triangulation<2> *> &tria_ptr,
 template <>
 void
 create_triangulations(std::vector<Triangulation<3> *> &tria_ptr,
-                      std::vector<Manifold<3> *> &     boundary_ptr,
-                      std::vector<double> &            exact_areas)
+                      std::vector<Manifold<3> *>      &boundary_ptr,
+                      std::vector<double>             &exact_areas)
 {
   Triangulation<3> *tria;
   show.clear();
index 9da3496602189fb877d22755335dc1459848bccc..340d09a4f2f9705150e0671203e01c741efab670 100644 (file)
@@ -35,7 +35,7 @@
 
 template <int dim, int spacedim>
 void
-print_result(const Mapping<dim, spacedim> &      mapping,
+print_result(const Mapping<dim, spacedim>       &mapping,
              const Triangulation<dim, spacedim> &tria,
              const Point<dim>                    p,
              const double                        tolerance)
index 2e57ad08f421b364a43a6cdaa74436cb02729e22..ec96cf9bda9172ae1c9fefb793c5bd76f61d72f1 100644 (file)
@@ -28,7 +28,7 @@ template <int dim>
 std::vector<Point<dim>>
 get_vertices(const typename Triangulation<dim>::cell_iterator &cell,
              const typename Triangulation<dim>::face_iterator &face,
-             const Mapping<dim> &                              mapping)
+             const Mapping<dim>                               &mapping)
 {
   std::vector<Point<dim>> vertices(face->n_vertices());
 
index b5531bd988d253f1e22d6358e49b397ef6c8c792..f139b01fde1527bcc117b520bb2b37820743538a 100644 (file)
@@ -53,7 +53,7 @@ static int counter = 0;
 template <int dim, typename Fu>
 void
 do_test(const unsigned int degree,
-        const Fu &         fu,
+        const Fu          &fu,
         const bool         is_displacement_function)
 {
   Triangulation<dim> tria;
index 35a0f8b5859c24fba89822a3013dab589e58bea1..7c8d5ff98d1ebfcdb066b55cb1a7834992540c4b 100644 (file)
@@ -60,7 +60,7 @@ template <int dim, typename Fu>
 void
 do_test(const unsigned int degree,
         const unsigned int mapping_degree,
-        const Fu &         fu,
+        const Fu          &fu,
         const bool         is_displacement_function)
 {
   parallel::distributed::Triangulation<dim> tria(
index f0148eaf481ed187d0ac9b7b66961806722719ae..e2afef3edd340fdcf07b56ef97a9f34458f60018 100644 (file)
@@ -194,7 +194,7 @@ test()
       for (const unsigned int vertex_no : GeometryInfo<dim>::vertex_indices())
         if (vertex_touched[cell->vertex_index(vertex_no)] == false)
           {
-            Point<dim> &   v = cell->vertex(vertex_no);
+            Point<dim>    &v = cell->vertex(vertex_no);
             Tensor<1, dim> d;
             for (unsigned int i = 0; i < dim; ++i)
               d[i] = displacement_function.value(v, i);
index 582c58c20a610fdb0debb9692409c0eb36bb9be2..d1eb06c019bf6b34962064479c913ec0922cb92b 100644 (file)
@@ -149,7 +149,7 @@ VectorFunction<dim>::value(const Point<dim> &p, Vector<double> &values) const
 template <int dim>
 void
 VectorFunction<dim>::vector_value(const Point<dim> &p,
-                                  Vector<double> &  values) const
+                                  Vector<double>   &values) const
 {
   for (int i = 0; i < dim; ++i)
     values(i) = value(p, i);
index 3dd6cfbe42c2737f32cdb85dc684f9b17a4c7049..04900dbec1dc6e25529c92a32ed015d2d3afa6b9 100644 (file)
@@ -57,7 +57,7 @@ ManifoldWrapper<2>::operator()(const Tensor<1, 2> & /*direction*/,
 template <>
 Manifold<3> *
 ManifoldWrapper<3>::operator()(const Tensor<1, 3> &direction,
-                               const Point<3> &    center) const
+                               const Point<3>     &center) const
 {
   return new CylindricalManifold<3>(direction, center);
 }
index 2b00b0027b1585efc646c30281eee70d2ff81c52..9a1d3029a9b08e78c3bd1ca9d1029efd14fccee4 100644 (file)
@@ -202,7 +202,7 @@ ManifoldWrapper<2>::operator()(const Tensor<1, 2> & /*direction*/,
 template <>
 Manifold<3> *
 ManifoldWrapper<3>::operator()(const Tensor<1, 3> &direction,
-                               const Point<3> &    center) const
+                               const Point<3>     &center) const
 {
   return new CylindricalManifold<3>(direction, center);
 }
index 2ca204326747a05046b1e84dc382e4f6398b6819..791324dc79e9061f10b2a570bfe172fd0248f603 100644 (file)
@@ -100,9 +100,9 @@ public:
 
 private:
   void
-  local_apply(const MatrixFree<dim, number> &              data,
-              VectorType &                                 dst,
-              const VectorType &                           src,
+  local_apply(const MatrixFree<dim, number>               &data,
+              VectorType                                  &dst,
+              const VectorType                            &src,
               const std::pair<unsigned int, unsigned int> &cell_range) const
   {
     FEEvaluation<dim, fe_degree, n_q_points_1d, n_components, number> phi(
@@ -122,9 +122,9 @@ private:
 
   void
   local_apply_face(
-    const MatrixFree<dim, number> &              data,
-    VectorType &                                 dst,
-    const VectorType &                           src,
+    const MatrixFree<dim, number>               &data,
+    VectorType                                  &dst,
+    const VectorType                            &src,
     const std::pair<unsigned int, unsigned int> &face_range) const
   {
     FEFaceEvaluation<dim, fe_degree, n_q_points_1d, n_components, number> phi_m(
@@ -169,9 +169,9 @@ private:
 
   void
   local_apply_boundary_face(
-    const MatrixFree<dim, number> &              data,
-    VectorType &                                 dst,
-    const VectorType &                           src,
+    const MatrixFree<dim, number>               &data,
+    VectorType                                  &dst,
+    const VectorType                            &src,
     const std::pair<unsigned int, unsigned int> &face_range) const
   {
     FEFaceEvaluation<dim, fe_degree, n_q_points_1d, n_components, number>
@@ -206,7 +206,7 @@ private:
       }
   }
 
-  const MatrixFree<dim, number> &         data;
+  const MatrixFree<dim, number>          &data;
   const bool                              zero_within_loop;
   const unsigned int                      start_vector_component;
   Tensor<1, dim, VectorizedArray<number>> advection;
index 69959a190f7d1451189c108fcef2f618eea5bbb7..4fbec1ff1f2b51e7f80fb399a395a3eaa84fa55b 100644 (file)
@@ -101,9 +101,9 @@ public:
 
 private:
   void
-  local_apply(const MatrixFree<dim, number> &              data,
-              VectorType &                                 dst,
-              const VectorType &                           src,
+  local_apply(const MatrixFree<dim, number>               &data,
+              VectorType                                  &dst,
+              const VectorType                            &src,
               const std::pair<unsigned int, unsigned int> &cell_range) const
   {
     FEEvaluation<dim, fe_degree, n_q_points_1d, n_components, number> phi(
@@ -123,9 +123,9 @@ private:
 
   void
   local_apply_face(
-    const MatrixFree<dim, number> &              data,
-    VectorType &                                 dst,
-    const VectorType &                           src,
+    const MatrixFree<dim, number>               &data,
+    VectorType                                  &dst,
+    const VectorType                            &src,
     const std::pair<unsigned int, unsigned int> &face_range) const
   {
     FEFaceEvaluation<dim, fe_degree, n_q_points_1d, n_components, number> phi_m(
@@ -170,9 +170,9 @@ private:
 
   void
   local_apply_boundary_face(
-    const MatrixFree<dim, number> &              data,
-    VectorType &                                 dst,
-    const VectorType &                           src,
+    const MatrixFree<dim, number>               &data,
+    VectorType                                  &dst,
+    const VectorType                            &src,
     const std::pair<unsigned int, unsigned int> &face_range) const
   {
     FEFaceEvaluation<dim, fe_degree, n_q_points_1d, n_components, number>
@@ -207,7 +207,7 @@ private:
       }
   }
 
-  const MatrixFree<dim, number> &         data;
+  const MatrixFree<dim, number>          &data;
   const bool                              zero_within_loop;
   const unsigned int                      start_vector_component;
   Tensor<1, dim, VectorizedArray<number>> advection;
index a69ec7f9feafd100ad8e651a74bd5451ad3f0ff8..a074f40b6fc50cdbe0d6fe8ef2d772b59d2a78a2 100644 (file)
@@ -100,9 +100,9 @@ public:
 
 private:
   void
-  local_apply(const MatrixFree<dim, number> &              data,
-              VectorType &                                 dst,
-              const VectorType &                           src,
+  local_apply(const MatrixFree<dim, number>               &data,
+              VectorType                                  &dst,
+              const VectorType                            &src,
               const std::pair<unsigned int, unsigned int> &cell_range) const
   {
     FEEvaluation<dim, fe_degree, n_q_points_1d, n_components, number> phi(
@@ -129,9 +129,9 @@ private:
 
   void
   local_apply_face(
-    const MatrixFree<dim, number> &              data,
-    VectorType &                                 dst,
-    const VectorType &                           src,
+    const MatrixFree<dim, number>               &data,
+    VectorType                                  &dst,
+    const VectorType                            &src,
     const std::pair<unsigned int, unsigned int> &face_range) const
   {
     FEFaceEvaluation<dim, fe_degree, n_q_points_1d, n_components, number> phi_m(
@@ -176,9 +176,9 @@ private:
 
   void
   local_apply_boundary_face(
-    const MatrixFree<dim, number> &              data,
-    VectorType &                                 dst,
-    const VectorType &                           src,
+    const MatrixFree<dim, number>               &data,
+    VectorType                                  &dst,
+    const VectorType                            &src,
     const std::pair<unsigned int, unsigned int> &face_range) const
   {
     FEFaceEvaluation<dim, fe_degree, n_q_points_1d, n_components, number>
@@ -213,7 +213,7 @@ private:
       }
   }
 
-  const MatrixFree<dim, number> &         data;
+  const MatrixFree<dim, number>          &data;
   const bool                              zero_within_loop;
   const unsigned int                      start_vector_component;
   Tensor<1, dim, VectorizedArray<number>> advection;
index 6d766b90f555b65ca184e15eefaf93ac240ac159..cdac79c4371ab8c1b3715c9bd3147978e16fcccb 100644 (file)
@@ -99,9 +99,9 @@ public:
 
 private:
   void
-  local_apply(const MatrixFree<dim, number> &              data,
-              VectorType &                                 dst,
-              const VectorType &                           src,
+  local_apply(const MatrixFree<dim, number>               &data,
+              VectorType                                  &dst,
+              const VectorType                            &src,
               const std::pair<unsigned int, unsigned int> &cell_range) const
   {
     FEEvaluation<dim, fe_degree, n_q_points_1d, n_components, number> phi(
@@ -128,9 +128,9 @@ private:
 
   void
   local_apply_face(
-    const MatrixFree<dim, number> &              data,
-    VectorType &                                 dst,
-    const VectorType &                           src,
+    const MatrixFree<dim, number>               &data,
+    VectorType                                  &dst,
+    const VectorType                            &src,
     const std::pair<unsigned int, unsigned int> &face_range) const
   {
     FEFaceEvaluation<dim, fe_degree, n_q_points_1d, n_components, number> phi_m(
@@ -187,9 +187,9 @@ private:
 
   void
   local_apply_boundary_face(
-    const MatrixFree<dim, number> &              data,
-    VectorType &                                 dst,
-    const VectorType &                           src,
+    const MatrixFree<dim, number>               &data,
+    VectorType                                  &dst,
+    const VectorType                            &src,
     const std::pair<unsigned int, unsigned int> &face_range) const
   {
     FEFaceEvaluation<dim, fe_degree, n_q_points_1d, n_components, number>
@@ -232,7 +232,7 @@ private:
       }
   }
 
-  const MatrixFree<dim, number> &         data;
+  const MatrixFree<dim, number>          &data;
   const bool                              zero_within_loop;
   const unsigned int                      start_vector_component;
   Tensor<1, dim, VectorizedArray<number>> advection;
index 3d772dcf6a0ac3bda987d3f6978fd07f7db4d843..442353a683006fa2db88cd103c5f6078bcc05732 100644 (file)
@@ -86,7 +86,7 @@ namespace Assembly
 template <int dim, int fe_degree>
 void
 assemble_on_cell(const typename DoFHandler<dim>::active_cell_iterator &cell,
-                 Assembly::Scratch::Data<dim, fe_degree> &             data,
+                 Assembly::Scratch::Data<dim, fe_degree>              &data,
                  unsigned int &)
 {
   const unsigned int dofs_per_cell = cell->get_fe().dofs_per_cell;
index deaf77242fac64ba78b371f3423f827ea84a10fc..02ab0ef823211f2d01a0d6fa672d53662bae3866 100644 (file)
@@ -41,9 +41,9 @@ public:
   operator()(
     const unsigned int                                          cell,
     const typename CUDAWrappers::MatrixFree<dim, double>::Data *gpu_data,
-    CUDAWrappers::SharedData<dim, double> *                     shared_data,
-    const double *                                              src,
-    double *                                                    dst) const;
+    CUDAWrappers::SharedData<dim, double>                      *shared_data,
+    const double                                               *src,
+    double                                                     *dst) const;
 
   static const unsigned int n_dofs_1d = fe_degree + 1;
   static const unsigned int n_local_dofs =
@@ -59,7 +59,7 @@ DEAL_II_HOST_DEVICE void
 DummyOperator<dim, fe_degree>::operator()(
   const unsigned int                                          cell,
   const typename CUDAWrappers::MatrixFree<dim, double>::Data *gpu_data,
-  CUDAWrappers::SharedData<dim, double> *                     shared_data,
+  CUDAWrappers::SharedData<dim, double>                      *shared_data,
   const double *,
   double *dst) const
 {
index 26d20fdefe363129fdefff742e3639f43352d5a6..24ed76922b6a40d50b8c810d55a2ae4ed2b8fc52 100644 (file)
@@ -56,7 +56,7 @@ public:
   LaplaceOperator(){};
 
   void
-  initialize(const Mapping<dim> &   mapping,
+  initialize(const Mapping<dim>    &mapping,
              const DoFHandler<dim> &dof_handler,
              const unsigned int     level = numbers::invalid_unsigned_int)
   {
@@ -122,7 +122,7 @@ private:
 
   void
   local_diagonal_face(
-    const MatrixFree<dim, number> &             data,
+    const MatrixFree<dim, number>              &data,
     LinearAlgebra::distributed::Vector<number> &dst,
     const int &,
     const std::pair<unsigned int, unsigned int> &face_range) const
@@ -215,7 +215,7 @@ private:
 
   void
   local_diagonal_boundary(
-    const MatrixFree<dim, number> &             data,
+    const MatrixFree<dim, number>              &data,
     LinearAlgebra::distributed::Vector<number> &dst,
     const int &,
     const std::pair<unsigned int, unsigned int> &face_range) const
@@ -258,7 +258,7 @@ private:
 
   void
   local_diagonal_by_cell(
-    const MatrixFree<dim, number> &             data,
+    const MatrixFree<dim, number>              &data,
     LinearAlgebra::distributed::Vector<number> &dst,
     const int &,
     const std::pair<unsigned int, unsigned int> &cell_range) const
index dc0bb290aba7a7e09c089001ac04ff82cb98bf72..8429658f975d5873bd8fe8bc34b8c2d475e3f566 100644 (file)
@@ -33,7 +33,7 @@ public:
 template <int dim>
 void
 BoundaryValues<dim>::vector_value(const Point<dim> &p,
-                                  Vector<double> &  values) const
+                                  Vector<double>   &values) const
 {
   (void)p;
   for (unsigned int i = 0; i < values.size(); ++i)
index 7baef92a6fbe5ac339049ee7cf5bf478ed019cdf..41c8f8d2b20f716c8bfb0dad4046a4040dd79738 100644 (file)
@@ -60,7 +60,7 @@ class Test
 
 public:
   Test(const MatrixFree<dim, Number, VectorizedArrayType> &matrix_free,
-       const AffineConstraints<Number> &                   constraints,
+       const AffineConstraints<Number>                    &constraints,
        const std::function<void(FEEvaluation<dim,
                                              fe_degree,
                                              n_points,
@@ -215,8 +215,8 @@ public:
 
   void
   cell_operation_range(const MatrixFree<dim, Number, VectorizedArrayType> &data,
-                       VectorType &                                        dst,
-                       const VectorType &                                  src,
+                       VectorType                                         &dst,
+                       const VectorType                                   &src,
                        const std::pair<unsigned int, unsigned int> &pair) const
   {
     FEEvaluation<dim,
@@ -247,7 +247,7 @@ public:
   }
 
   const MatrixFree<dim, Number, VectorizedArrayType> &matrix_free;
-  const AffineConstraints<Number> &                   constraints;
+  const AffineConstraints<Number>                    &constraints;
   const std::function<void(FEEvaluation<dim,
                                         fe_degree,
                                         n_points,
index 48d391cb06e7beb29c16ab4b52729350f1972a7c..0f84ece6d7477d03048a4a0816ce8357b7fd4221 100644 (file)
@@ -63,9 +63,9 @@ public:
     : data(data_in){};
 
   void
-  local_apply(const MatrixFree<dim, Number> &              data,
-              VectorType &                                 dst,
-              const VectorType &                           src,
+  local_apply(const MatrixFree<dim, Number>               &data,
+              VectorType                                  &dst,
+              const VectorType                            &src,
               const std::pair<unsigned int, unsigned int> &cell_range) const
   {
     using vector_t = VectorizedArray<Number>;
index bab8f3ed06df4e043e449010eba6628ee8ef6aa9..629cd28fe38e297917b6f767483267c50463e405 100644 (file)
@@ -102,7 +102,7 @@ test()
   if (Utilities::MPI::this_mpi_process(MPI_COMM_WORLD) == 0)
     {
       Vector<double> solution_gather0(sol.size());
-      double *       sol_gather_ptr = solution_gather0.begin();
+      double        *sol_gather_ptr = solution_gather0.begin();
       for (unsigned int i = 0; i < sol.locally_owned_size(); ++i)
         *sol_gather_ptr++ = sol.local_element(i);
       for (unsigned int i = 1;
index 3b5f16f835a244e9c4fb5c51ac32d95610e9b00d..4e00afe432fce96be0fa700d05d170ad926e848b 100644 (file)
@@ -99,7 +99,7 @@ test(const bool adaptive_ref = true)
   }
 
   const unsigned int     n_cells         = mf_data->n_cell_batches();
-  const auto &           dof_info        = mf_data->get_dof_info();
+  const auto            &dof_info        = mf_data->get_dof_info();
   constexpr unsigned int n_vectorization = VectorizedArray<number>::size();
 
   std::vector<unsigned int> my_rows;
index 14bd570f5b820f02d7e28e1c104375f8e604013d..6368058387ea34b7418229488fcf149352b75d08 100644 (file)
@@ -101,7 +101,7 @@ test(const bool adaptive_ref = true)
   }
 
   const unsigned int     n_cells         = mf_data->n_cell_batches();
-  const auto &           dof_info        = mf_data->get_dof_info();
+  const auto            &dof_info        = mf_data->get_dof_info();
   constexpr unsigned int n_vectorization = VectorizedArray<number>::size();
 
   std::vector<unsigned int> my_rows;
index 00223037aba0af06931d6a1a35518408531ee6b7..e3d30c5373c1bbc215ad48e306261ded1c74de30 100644 (file)
@@ -109,7 +109,7 @@ test(const unsigned int n_refinements)
       VectorTools::interpolate(dof_handler, Fu<dim>(), src);
 
       const auto cell_operation = [&](const auto &matrix_free,
-                                      auto &      dst,
+                                      auto       &dst,
                                       const auto &src,
                                       const auto  range) {
         FECellIntegrator phi(matrix_free);
index a5034c63bb9fd4e483f2a804ed8182c66ea81e29..dcc599875f98d901e77ce416bc0754d0f2ba5f4e 100644 (file)
@@ -47,9 +47,9 @@ output_double_number(double input, const std::string &text)
 
 template <int dim, int fe_degree, typename Number>
 void
-mass_operator(const MatrixFree<dim, Number> &              data,
-              Vector<Number> &                             dst,
-              const Vector<Number> &                       src,
+mass_operator(const MatrixFree<dim, Number>               &data,
+              Vector<Number>                              &dst,
+              const Vector<Number>                        &src,
               const std::pair<unsigned int, unsigned int> &cell_range)
 {
   FEEvaluation<dim, fe_degree, fe_degree + 1, 1, Number> fe_eval(data);
index 5250a7f13aab729ce31e7f640d78e4bdcb070f54..35af3d94068f1f9bb359723241e5438e9e366f7c 100644 (file)
@@ -68,7 +68,7 @@ private:
   local_apply_face(
     const MatrixFree<dim, number> &data,
     Vector<number> &,
-    const Vector<number> &                       src,
+    const Vector<number>                        &src,
     const std::pair<unsigned int, unsigned int> &face_range) const
   {
     FEFaceEvaluation<dim, fe_degree, fe_degree + 1, 1, number> ref(data, true);
index 421e9a9703d6d562bb6b4bd063af78e6d71febac..73e2e42dfcbf99c68fda66b6aaff6a16502bf40f 100644 (file)
@@ -69,7 +69,7 @@ private:
   local_apply_face(
     const MatrixFree<dim, number> &data,
     Vector<number> &,
-    const Vector<number> &                       src,
+    const Vector<number>                        &src,
     const std::pair<unsigned int, unsigned int> &face_range) const
   {
     FEFaceEvaluation<dim, -1, 0, 1, number> ref(data, true);
index 08ef9dd319256d3dd778eaa8c9fbf9a9f46047a9..384e745b20bb469f57ee94ed14fce768e01b7382 100644 (file)
@@ -68,7 +68,7 @@ private:
   local_apply_face(
     const MatrixFree<dim, number> &data,
     Vector<number> &,
-    const Vector<number> &                       src_,
+    const Vector<number>                        &src_,
     const std::pair<unsigned int, unsigned int> &face_range) const
   {
     FEFaceEvaluation<dim, fe_degree, fe_degree + 1, 1, number> ref(data, true);
index 38ba4c30b9e9bfa629b609d663f95d6a5539ebaf..93df2b917bc9cd49e7defdd206db85941002d327 100644 (file)
@@ -68,7 +68,7 @@ public:
              update_values | update_gradients | update_hessians){};
 
   MatrixFreeTest(const MatrixFree<dim, Number> &data_in,
-                 const Mapping<dim> &           mapping)
+                 const Mapping<dim>            &mapping)
     : data(data_in)
     , fe_val(mapping,
              data.get_dof_handler().get_fe(),
@@ -83,7 +83,7 @@ public:
   virtual void
   operator()(const MatrixFree<dim, Number> &data,
              Vector<Number> &,
-             const Vector<Number> &                       src,
+             const Vector<Number>                        &src,
              const std::pair<unsigned int, unsigned int> &cell_range) const
   {
     FEEvaluation<dim, fe_degree, n_q_points_1d, 1, Number> fe_eval(data);
@@ -235,7 +235,7 @@ public:
 
 template <int dim, int fe_degree, typename number>
 void
-do_test(const DoFHandler<dim> &          dof,
+do_test(const DoFHandler<dim>           &dof,
         const AffineConstraints<double> &constraints)
 {
   deallog << "Testing " << dof.get_fe().get_name() << std::endl;
index 889003bce25ba51162da5aa9663fcd4c8962fcac..7e215ffdb8406e23914f88870b21f991c5d0de7d 100644 (file)
@@ -65,7 +65,7 @@ private:
   local_apply_boundary_face(
     const MatrixFree<dim, number> &data,
     Vector<number> &,
-    const Vector<number> &                       src,
+    const Vector<number>                        &src,
     const std::pair<unsigned int, unsigned int> &face_range) const
   {
     FEFaceEvaluation<dim, fe_degree, fe_degree + 1, 1, number> fe_eval(data,
index eb2ba4110c75d4e46d9fe6a85dae538f64f92e82..b80f134b69a15d454748aaa46f742a89fbf8500c 100644 (file)
@@ -66,7 +66,7 @@ public:
   void
   operator()(const MatrixFree<dim, Number> &data,
              VectorType &,
-             const VectorType &                           src,
+             const VectorType                            &src,
              const std::pair<unsigned int, unsigned int> &cell_range) const
   {
     FEEvaluation<dim, fe_degree, fe_degree + 1, 1, Number> fe_eval0(data, 0, 0);
index d6a1cc2208d7ade2d51b1c7d033032f5bbd9fb54..78f7600253ccdfd60bef2605af45d279c524c03d 100644 (file)
@@ -71,7 +71,7 @@ public:
   void
   operator()(const MatrixFree<dim, Number> &data,
              VectorType &,
-             const VectorType &                           src,
+             const VectorType                            &src,
              const std::pair<unsigned int, unsigned int> &cell_range) const
   {
     FEEvaluation<dim, 0, 1, 1, Number>                     fe_eval0(data, 0, 0);
index 05c1ff23385bb7e2bd690d4453d134fe8b5e4f4d..89097548a2b3bd18781b7b8397dfdf8534983922 100644 (file)
 
 template <int dim, int fe_degree, int n_q_points_1d, typename number>
 void
-sub_test(const DoFHandler<dim> &          dof,
+sub_test(const DoFHandler<dim>           &dof,
          const AffineConstraints<double> &constraints,
-         MatrixFree<dim, number> &        mf_data,
-         Vector<number> &                 solution)
+         MatrixFree<dim, number>         &mf_data,
+         Vector<number>                  &solution)
 {
   deallog << "Test with fe_degree " << fe_degree
           << ", n_q_points_1d: " << (n_q_points_1d) << std::endl;
index 3dec09b7b7c056edccf12e7880c2b25c85d2ea36..bea04e4efe5be567d009f177e903ce8fab628c80 100644 (file)
 
 template <int dim, int fe_degree, int n_q_points_1d, typename number>
 void
-sub_test(const DoFHandler<dim> &          dof,
+sub_test(const DoFHandler<dim>           &dof,
          const AffineConstraints<double> &constraints,
-         MatrixFree<dim, number> &        mf_data,
-         Vector<number> &                 solution)
+         MatrixFree<dim, number>         &mf_data,
+         Vector<number>                  &solution)
 {
   deallog << "Test with fe_degree " << fe_degree
           << ", n_q_points_1d: " << (n_q_points_1d) << std::endl;
index 116816e44e562acb0fb8346566b53c3d2ee05951..3dc2785e24d12a8877828723b172f284d29c213b 100644 (file)
@@ -54,9 +54,9 @@ public:
     : data(data_in){};
 
   void
-  operator()(const MatrixFree<dim, Number> &              data,
-             VectorType &                                 dst,
-             const VectorType &                           src,
+  operator()(const MatrixFree<dim, Number>               &data,
+             VectorType                                  &dst,
+             const VectorType                            &src,
              const std::pair<unsigned int, unsigned int> &cell_range) const;
 
   void
@@ -92,7 +92,7 @@ void
 MatrixFreeTest<dim, fe_degree, Number>::operator()(
   const MatrixFree<dim, Number> &data,
   VectorType &,
-  const VectorType &                           src,
+  const VectorType                            &src,
   const std::pair<unsigned int, unsigned int> &cell_range) const
 {
   FEEvaluation<dim, fe_degree, fe_degree + 1, 1, Number> fe_eval(data);
index 36199d8af0009a2a34ee3d2628fbad77bcf78e4a..d5d3a9262d6da77f942160951b380b5a65ccf32c 100644 (file)
@@ -50,9 +50,9 @@ public:
     : data(data_in){};
 
   void
-  operator()(const MatrixFree<dim, Number> &              data,
-             VectorType &                                 dst,
-             const VectorType &                           src,
+  operator()(const MatrixFree<dim, Number>               &data,
+             VectorType                                  &dst,
+             const VectorType                            &src,
              const std::pair<unsigned int, unsigned int> &cell_range) const;
 
   void
@@ -88,7 +88,7 @@ void
 MatrixFreeTest<dim, fe_degree, Number>::operator()(
   const MatrixFree<dim, Number> &data,
   VectorType &,
-  const VectorType &                           src,
+  const VectorType                            &src,
   const std::pair<unsigned int, unsigned int> &cell_range) const
 {
   FEEvaluation<dim, fe_degree, fe_degree + 1, 1, Number> fe_eval(data);
index a705ce51ac61f3930cca5186b5fc8b6f345426bc..51014baac17d09ec5ae4e8f22fc154517a89d6a1 100644 (file)
@@ -61,7 +61,7 @@ public:
   virtual void
   operator()(const MatrixFree<dim, Number> &data,
              Vector<Number> &,
-             const Vector<Number> &                       src,
+             const Vector<Number>                        &src,
              const std::pair<unsigned int, unsigned int> &cell_range) const
   {
     FEEvaluation<dim, fe_degree, n_q_points_1d, 1, Number> fe_eval(data);
@@ -112,7 +112,7 @@ protected:
 
 template <int dim, int fe_degree, typename number>
 void
-do_test(const DoFHandler<dim> &          dof,
+do_test(const DoFHandler<dim>           &dof,
         const AffineConstraints<double> &constraints)
 {
   deallog << "Testing " << dof.get_fe().get_name() << std::endl;
index 8603f6752cfa405bc2d9d51dd7337fa9c9291b4b..0c5c49da58f8c527e62c77c1eb06d05650506319 100644 (file)
@@ -50,8 +50,8 @@ namespace dealii
         const FEEvaluationData<dim, Number, is_face> &fe_eval,
         const bool                                    transpose,
         const std::array<dealii::internal::MatrixFreeFunctions::ConstraintKinds,
-                         Number::size()> &            c_mask,
-        Number *                                      values)
+                         Number::size()>             &c_mask,
+        Number                                       *values)
       {
         Assert(is_face == false, ExcInternalError());
 
@@ -105,8 +105,8 @@ namespace dealii
       run_2D(
         const FEEvaluationData<dim, Number, is_face> &fe_eval,
         const std::array<dealii::internal::MatrixFreeFunctions::ConstraintKinds,
-                         Number::size()> &            constraint_mask,
-        Number *                                      values)
+                         Number::size()>             &constraint_mask,
+        Number                                       *values)
       {
         const auto &constraint_weights = fe_eval.get_shape_info()
                                            .data.front()
@@ -243,8 +243,8 @@ namespace dealii
       run_3D(
         const FEEvaluationData<dim, Number, is_face> &fe_eval,
         const std::array<dealii::internal::MatrixFreeFunctions::ConstraintKinds,
-                         Number::size()> &            constraint_mask,
-        Number *                                      values)
+                         Number::size()>             &constraint_mask,
+        Number                                       *values)
       {
         const auto &constraint_weights = fe_eval.get_shape_info()
                                            .data.front()
index 816abb189fc9a55909c6b4cdba08c42b8e3b0a25..37c18e3e500a856cf95a4616dff79d22abe8d47c 100644 (file)
@@ -58,9 +58,9 @@ public:
              update_values | update_gradients | update_JxW_values){};
 
   void
-  operator()(const MatrixFree<dim, Number> &              data,
-             VectorType &                                 dst,
-             const VectorType &                           src,
+  operator()(const MatrixFree<dim, Number>               &data,
+             VectorType                                  &dst,
+             const VectorType                            &src,
              const std::pair<unsigned int, unsigned int> &cell_range) const;
 
   void
index 2de97b615acdf5b14a82041286dde6f93d5c8db5..90aaade6b5a0d50ff0fb3fb1952a0ea372bce251 100644 (file)
@@ -59,9 +59,9 @@ public:
                update_JxW_values){};
 
   void
-  operator()(const MatrixFree<dim, Number> &              data,
-             VectorType &                                 dst,
-             const VectorType &                           src,
+  operator()(const MatrixFree<dim, Number>               &data,
+             VectorType                                  &dst,
+             const VectorType                            &src,
              const std::pair<unsigned int, unsigned int> &cell_range) const;
 
   void
index 94a8ba5bcf2cba6e3961b65c7fe3c03a5400a8fb..526311047b3a0f1b5b94bbe13ebdc613cc360615 100644 (file)
@@ -65,9 +65,9 @@ public:
               update_values | update_gradients | update_JxW_values){};
 
   void
-  operator()(const MatrixFree<dim, Number> &              data,
-             VectorType &                                 dst,
-             const VectorType &                           src,
+  operator()(const MatrixFree<dim, Number>               &data,
+             VectorType                                  &dst,
+             const VectorType                            &src,
              const std::pair<unsigned int, unsigned int> &cell_range) const;
 
   void
@@ -95,7 +95,7 @@ template <int dim, int fe_degree, typename Number>
 void
 MatrixFreeTest<dim, fe_degree, Number>::operator()(
   const MatrixFree<dim, Number> &data,
-  std::vector<Vector<Number>> &  dst,
+  std::vector<Vector<Number>>   &dst,
   const std::vector<Vector<Number>> &,
   const std::pair<unsigned int, unsigned int> &cell_range) const
 {
index 49e8c0d87e924a0c908eb87842a77f6b3f52b4ab..a2f18e38ba5c6a0ad1dc679e030b36afb96b8c3e 100644 (file)
@@ -68,9 +68,9 @@ public:
               update_values | update_gradients | update_JxW_values){};
 
   void
-  operator()(const MatrixFree<dim, Number> &              data,
-             VectorType &                                 dst,
-             const VectorType &                           src,
+  operator()(const MatrixFree<dim, Number>               &data,
+             VectorType                                  &dst,
+             const VectorType                            &src,
              const std::pair<unsigned int, unsigned int> &cell_range) const;
 
   void
@@ -98,7 +98,7 @@ template <int dim, int fe_degree, typename Number>
 void
 MatrixFreeTest<dim, fe_degree, Number>::operator()(
   const MatrixFree<dim, Number> &data,
-  std::vector<Vector<Number>> &  dst,
+  std::vector<Vector<Number>>   &dst,
   const std::vector<Vector<Number>> &,
   const std::pair<unsigned int, unsigned int> &cell_range) const
 {
index f390fe089dbdceb86adb4f6cd18407fb28a6ed9d..cf43698a108173f7d9f513ec49a267cb29191b55 100644 (file)
@@ -64,7 +64,7 @@ public:
     : data(data_in){};
 
   MatrixFreeTest(const MatrixFree<dim, Number> &data_in,
-                 const Mapping<dim> &           mapping)
+                 const Mapping<dim>            &mapping)
     : data(data_in){};
 
   virtual ~MatrixFreeTest()
@@ -75,7 +75,7 @@ public:
   virtual void
   cell(const MatrixFree<dim, Number> &data,
        Vector<Number> &,
-       const Vector<Number> &                       src,
+       const Vector<Number>                        &src,
        const std::pair<unsigned int, unsigned int> &cell_range) const
   {
     FEEvaluation<dim, fe_degree, n_q_points_1d, 1, Number> fe_eval(data);
@@ -113,7 +113,7 @@ public:
   virtual void
   face(const MatrixFree<dim, Number> &data,
        Vector<Number> &,
-       const Vector<Number> &                       src,
+       const Vector<Number>                        &src,
        const std::pair<unsigned int, unsigned int> &face_range) const
   {
     FEFaceEvaluation<dim, fe_degree, n_q_points_1d, 1, Number> fe_evalm(data,
@@ -187,7 +187,7 @@ public:
   virtual void
   boundary(const MatrixFree<dim, Number> &data,
            Vector<Number> &,
-           const Vector<Number> &                       src,
+           const Vector<Number>                        &src,
            const std::pair<unsigned int, unsigned int> &face_range) const
   {
     FEFaceEvaluation<dim, fe_degree, n_q_points_1d, 1, Number> fe_evalm(data,
@@ -315,7 +315,7 @@ protected:
 
 template <int dim, int fe_degree, typename number>
 void
-do_test(const DoFHandler<dim> &          dof,
+do_test(const DoFHandler<dim>           &dof,
         const AffineConstraints<double> &constraints)
 {
   deallog << "Testing " << dof.get_fe().get_name() << std::endl;
index ce5adc9f2447b7e05696d9c7aab06d1c3e88cd38..1d9f87e6790255b93ec6cfffca7201c96508e033 100644 (file)
@@ -53,9 +53,9 @@ public:
 
   void
   local_mass_operator(
-    const MatrixFree<dim, Number> &              data,
-    VectorType &                                 dst,
-    const VectorType &                           src,
+    const MatrixFree<dim, Number>               &data,
+    VectorType                                  &dst,
+    const VectorType                            &src,
     const std::pair<unsigned int, unsigned int> &cell_range) const
   {
     FEEvaluation<dim, fe_degree, fe_degree + 1, 1, Number> fe_eval(data);
@@ -75,9 +75,9 @@ public:
 
   void
   local_inverse_mass_operator(
-    const MatrixFree<dim, Number> &              data,
-    VectorType &                                 dst,
-    const VectorType &                           src,
+    const MatrixFree<dim, Number>               &data,
+    VectorType                                  &dst,
+    const VectorType                            &src,
     const std::pair<unsigned int, unsigned int> &cell_range) const
   {
     FEEvaluation<dim, fe_degree, fe_degree + 1, 1, Number> fe_eval(data);
index e9a8e34727ae33138ed9832c1eee56509cb593e4..4b5d5edfbf1d32b0f4bb0ef14dec42784ed8f0f8 100644 (file)
@@ -53,9 +53,9 @@ public:
 
   void
   local_mass_operator(
-    const MatrixFree<dim, Number> &              data,
-    VectorType &                                 dst,
-    const VectorType &                           src,
+    const MatrixFree<dim, Number>               &data,
+    VectorType                                  &dst,
+    const VectorType                            &src,
     const std::pair<unsigned int, unsigned int> &cell_range) const
   {
     FEEvaluation<dim, fe_degree, fe_degree + 1, dim, Number> fe_eval(data);
@@ -75,9 +75,9 @@ public:
 
   void
   local_inverse_mass_operator(
-    const MatrixFree<dim, Number> &              data,
-    VectorType &                                 dst,
-    const VectorType &                           src,
+    const MatrixFree<dim, Number>               &data,
+    VectorType                                  &dst,
+    const VectorType                            &src,
     const std::pair<unsigned int, unsigned int> &cell_range) const
   {
     FEEvaluation<dim, fe_degree, fe_degree + 1, dim, Number> fe_eval(data);
index 3942df5e5aa2803a5430881658eed62908f8ad99..018901fb2d9a1273d2061101d10f7d85d344cfba 100644 (file)
@@ -54,9 +54,9 @@ public:
 
   void
   local_mass_operator(
-    const MatrixFree<dim, Number> &              data,
-    VectorType &                                 dst,
-    const VectorType &                           src,
+    const MatrixFree<dim, Number>               &data,
+    VectorType                                  &dst,
+    const VectorType                            &src,
     const std::pair<unsigned int, unsigned int> &cell_range) const
   {
     FEEvaluation<dim, fe_degree, fe_degree + 1, 3, Number> fe_eval(data);
@@ -82,9 +82,9 @@ public:
 
   void
   local_inverse_mass_operator(
-    const MatrixFree<dim, Number> &              data,
-    VectorType &                                 dst,
-    const VectorType &                           src,
+    const MatrixFree<dim, Number>               &data,
+    VectorType                                  &dst,
+    const VectorType                            &src,
     const std::pair<unsigned int, unsigned int> &cell_range) const
   {
     FEEvaluation<dim, fe_degree, fe_degree + 1, 3, Number> fe_eval(data);
index 11bd02b51d1f81c6d39a9aaa07eb4d7ad36473da..605661e988c815de9ce02a5f2c21b6cc95e8854f 100644 (file)
@@ -54,9 +54,9 @@ public:
 
   void
   local_mass_operator(
-    const MatrixFree<dim, Number> &              data,
-    VectorType &                                 dst,
-    const VectorType &                           src,
+    const MatrixFree<dim, Number>               &data,
+    VectorType                                  &dst,
+    const VectorType                            &src,
     const std::pair<unsigned int, unsigned int> &cell_range) const
   {
     FEEvaluation<dim, fe_degree, fe_degree + 1, 1, Number> fe_eval(data);
@@ -76,9 +76,9 @@ public:
 
   void
   local_inverse_mass_operator(
-    const MatrixFree<dim, Number> &              data,
-    VectorType &                                 dst,
-    const VectorType &                           src,
+    const MatrixFree<dim, Number>               &data,
+    VectorType                                  &dst,
+    const VectorType                            &src,
     const std::pair<unsigned int, unsigned int> &cell_range) const
   {
     FEEvaluation<dim, fe_degree, fe_degree + 1, 1, Number> fe_eval(data);
index edc2a9714067ba31e7c333c07220cf49cc3e4fc2..6f44ec867dfd7987bf49184517490eabe5f18953 100644 (file)
@@ -53,9 +53,9 @@ public:
 
   void
   local_mass_operator(
-    const MatrixFree<dim, Number> &              data,
-    VectorType &                                 dst,
-    const VectorType &                           src,
+    const MatrixFree<dim, Number>               &data,
+    VectorType                                  &dst,
+    const VectorType                            &src,
     const std::pair<unsigned int, unsigned int> &cell_range) const
   {
     FEEvaluation<dim, fe_degree, fe_degree + 1, 1, Number> fe_eval(data);
@@ -75,9 +75,9 @@ public:
 
   void
   local_inverse_mass_operator(
-    const MatrixFree<dim, Number> &              data,
-    VectorType &                                 dst,
-    const VectorType &                           src,
+    const MatrixFree<dim, Number>               &data,
+    VectorType                                  &dst,
+    const VectorType                            &src,
     const std::pair<unsigned int, unsigned int> &cell_range) const
   {
     FEEvaluation<dim, fe_degree, fe_degree + 1, 1, Number> fe_eval(data);
index b8bdf4d3cb16de39145bbece868319776dbca21d..e794d38b2a0f9d03b74522bad940c82d21b7d520 100644 (file)
@@ -54,9 +54,9 @@ public:
 
   void
   local_mass_operator(
-    const MatrixFree<dim, Number> &              data,
-    VectorType &                                 dst,
-    const VectorType &                           src,
+    const MatrixFree<dim, Number>               &data,
+    VectorType                                  &dst,
+    const VectorType                            &src,
     const std::pair<unsigned int, unsigned int> &cell_range) const
   {
     FEEvaluation<dim, fe_degree, fe_degree + 1, dim, Number> fe_eval(data);
@@ -76,9 +76,9 @@ public:
 
   void
   local_inverse_mass_operator(
-    const MatrixFree<dim, Number> &              data,
-    VectorType &                                 dst,
-    const VectorType &                           src,
+    const MatrixFree<dim, Number>               &data,
+    VectorType                                  &dst,
+    const VectorType                            &src,
     const std::pair<unsigned int, unsigned int> &cell_range) const
   {
     FEEvaluation<dim, fe_degree, fe_degree + 1, dim, Number> fe_eval(data);
index a2907b5661d8989abce2e36a0449432430e1a0f8..623bb654d538a49ec9d46ed43dfb2f0ed922b684 100644 (file)
@@ -51,9 +51,9 @@ public:
 
   void
   local_mass_operator(
-    const MatrixFree<dim, Number> &              data,
-    VectorType &                                 dst,
-    const VectorType &                           src,
+    const MatrixFree<dim, Number>               &data,
+    VectorType                                  &dst,
+    const VectorType                            &src,
     const std::pair<unsigned int, unsigned int> &cell_range) const
   {
     FEEvaluation<dim, -1, 0, 1, Number> fe_eval(data);
@@ -73,9 +73,9 @@ public:
 
   void
   local_inverse_mass_operator(
-    const MatrixFree<dim, Number> &              data,
-    VectorType &                                 dst,
-    const VectorType &                           src,
+    const MatrixFree<dim, Number>               &data,
+    VectorType                                  &dst,
+    const VectorType                            &src,
     const std::pair<unsigned int, unsigned int> &cell_range) const
   {
     FEEvaluation<dim, -1, 0, 1, Number> fe_eval(data);
index a75506b69f471f0c7bc6f7493c93fed8f98f136a..b7afd012dda839cd959e907f62fa6596448bc7a2 100644 (file)
@@ -52,9 +52,9 @@ public:
 
   void
   local_mass_operator(
-    const MatrixFree<dim, Number> &              data,
-    VectorType &                                 dst,
-    const VectorType &                           src,
+    const MatrixFree<dim, Number>               &data,
+    VectorType                                  &dst,
+    const VectorType                            &src,
     const std::pair<unsigned int, unsigned int> &cell_range) const
   {
     FEEvaluation<dim, -1, 0, dim, Number> fe_eval(data);
@@ -74,9 +74,9 @@ public:
 
   void
   local_inverse_mass_operator(
-    const MatrixFree<dim, Number> &              data,
-    VectorType &                                 dst,
-    const VectorType &                           src,
+    const MatrixFree<dim, Number>               &data,
+    VectorType                                  &dst,
+    const VectorType                            &src,
     const std::pair<unsigned int, unsigned int> &cell_range) const
   {
     FEEvaluation<dim, -1, 0, dim, Number> fe_eval(data);
index 16bde126e1bca25230053d519f0a2de2ba2a72d9..5117f2eceeb06d06ae091a79d11f5f7707824aaf 100644 (file)
@@ -61,9 +61,9 @@ public:
 
   void
   local_mass_operator(
-    const MatrixFree<dim, Number> &              data,
-    VectorType &                                 dst,
-    const VectorType &                           src,
+    const MatrixFree<dim, Number>               &data,
+    VectorType                                  &dst,
+    const VectorType                            &src,
     const std::pair<unsigned int, unsigned int> &cell_range) const
   {
     FEEvaluation<dim, fe_degree, fe_degree + 1, dim, Number> fe_eval(data);
@@ -87,9 +87,9 @@ public:
 
   void
   local_inverse_mass_operator(
-    const MatrixFree<dim, Number> &              data,
-    VectorType &                                 dst,
-    const VectorType &                           src,
+    const MatrixFree<dim, Number>               &data,
+    VectorType                                  &dst,
+    const VectorType                            &src,
     const std::pair<unsigned int, unsigned int> &cell_range) const
   {
     FEEvaluation<dim, fe_degree, fe_degree + 1, dim, Number> fe_eval(data);
index e97b5fb2fdc226b9d2b6dd4097055c4f22534893..031cd00812c2327575086df93cd574113181a625 100644 (file)
@@ -62,9 +62,9 @@ public:
 
   void
   local_mass_operator(
-    const MatrixFree<dim, Number> &              data,
-    VectorType &                                 dst,
-    const VectorType &                           src,
+    const MatrixFree<dim, Number>               &data,
+    VectorType                                  &dst,
+    const VectorType                            &src,
     const std::pair<unsigned int, unsigned int> &cell_range) const
   {
     FEEvaluation<dim, -1, 0, dim, Number> fe_eval(data);
@@ -88,9 +88,9 @@ public:
 
   void
   local_inverse_mass_operator(
-    const MatrixFree<dim, Number> &              data,
-    VectorType &                                 dst,
-    const VectorType &                           src,
+    const MatrixFree<dim, Number>               &data,
+    VectorType                                  &dst,
+    const VectorType                            &src,
     const std::pair<unsigned int, unsigned int> &cell_range) const
   {
     FEEvaluation<dim, -1, 0, dim, Number> fe_eval(data);
index edd49406d2e5f4c0b7e06b0aafc306bafbc34928..d53174ba1ee0eed9d6a2e6dfe9316a3bd6d37c5a 100644 (file)
@@ -75,8 +75,8 @@ do_test(const unsigned int n_refine, const bool overlap_communication)
                      LinearAlgebra::distributed::Vector<double> &,
                      const LinearAlgebra::distributed::Vector<double> &,
                      const std::pair<unsigned int, unsigned int> &)>
-    cell_func = [](const MatrixFree<dim> &                           data,
-                   LinearAlgebra::distributed::Vector<double> &      out,
+    cell_func = [](const MatrixFree<dim>                            &data,
+                   LinearAlgebra::distributed::Vector<double>       &out,
                    const LinearAlgebra::distributed::Vector<double> &in,
                    const std::pair<unsigned int, unsigned int> &range) -> void {
     FEEvaluation<dim, fe_degree> eval(data);
@@ -101,10 +101,10 @@ do_test(const unsigned int n_refine, const bool overlap_communication)
                      const LinearAlgebra::distributed::Vector<double> &,
                      const std::pair<unsigned int, unsigned int> &)>
     boundary_func =
-      [](const MatrixFree<dim> &                           data,
-         LinearAlgebra::distributed::Vector<double> &      out,
+      [](const MatrixFree<dim>                            &data,
+         LinearAlgebra::distributed::Vector<double>       &out,
          const LinearAlgebra::distributed::Vector<double> &in,
-         const std::pair<unsigned int, unsigned int> &     range) -> void {
+         const std::pair<unsigned int, unsigned int>      &range) -> void {
     FEFaceEvaluation<dim, fe_degree> eval(data, true);
 
     for (unsigned int face = range.first; face < range.second; ++face)
index 81301a46bf428649f6033765b85bc1bbbcd4b785..c4d62181e4494d20024d6e52804b5e5fcf4430ae 100644 (file)
@@ -76,8 +76,8 @@ do_test(const unsigned int n_refine)
                      LinearAlgebra::distributed::Vector<double> &,
                      const LinearAlgebra::distributed::Vector<double> &,
                      const std::pair<unsigned int, unsigned int> &)>
-    cell_func = [](const MatrixFree<dim> &                           data,
-                   LinearAlgebra::distributed::Vector<double> &      out,
+    cell_func = [](const MatrixFree<dim>                            &data,
+                   LinearAlgebra::distributed::Vector<double>       &out,
                    const LinearAlgebra::distributed::Vector<double> &in,
                    const std::pair<unsigned int, unsigned int> &range) -> void {
     FEEvaluation<dim, fe_degree> eval(data);
@@ -103,10 +103,10 @@ do_test(const unsigned int n_refine)
                      const LinearAlgebra::distributed::Vector<double> &,
                      const std::pair<unsigned int, unsigned int> &)>
     boundary_func =
-      [](const MatrixFree<dim> &                           data,
-         LinearAlgebra::distributed::Vector<double> &      out,
+      [](const MatrixFree<dim>                            &data,
+         LinearAlgebra::distributed::Vector<double>       &out,
          const LinearAlgebra::distributed::Vector<double> &in,
-         const std::pair<unsigned int, unsigned int> &     range) -> void {
+         const std::pair<unsigned int, unsigned int>      &range) -> void {
     FEFaceEvaluation<dim, fe_degree> eval(data, true);
 
     for (unsigned int face = range.first; face < range.second; ++face)
index 2c027e0b21f8ae5e5fa8e25d4b57951b0abc5b93..be9827e86d1813a3f2564c0b99e2baae754f1326 100644 (file)
@@ -39,7 +39,7 @@
 template <typename Number>
 void
 check(const LinearAlgebra::distributed::Vector<Number, MemorySpace::Default>
-        &                                vector,
+                                        &vector,
       const Utilities::MPI::Partitioner &reference_partitioner)
 {
   Assert(vector.get_partitioner()->locally_owned_range() ==
@@ -54,7 +54,7 @@ check(const LinearAlgebra::distributed::Vector<Number, MemorySpace::Default>
 template <typename Number>
 void
 check(const LinearAlgebra::CUDAWrappers::Vector<Number> &vector,
-      const Utilities::MPI::Partitioner &                reference_partitioner)
+      const Utilities::MPI::Partitioner                 &reference_partitioner)
 {
   AssertDimension(vector.size(), reference_partitioner.size());
 }
index 8fdb4686cc6333e346ba1c0a27a1f45f5e8beb8b..c4765c64079c8b25df785a8285c9de2497d02b4f 100644 (file)
@@ -54,9 +54,9 @@ do_test(const DoFHandler<2> &dof,
           fe_degree,
           double,
           LinearAlgebra::distributed::Vector<double, MemorySpace::Default>,
-          n_q_points_1d> &               mf,
+          n_q_points_1d>                &mf,
         unsigned int                     n_dofs,
-        MappingQ<2> &                    mapping,
+        MappingQ<2>                     &mapping,
         const AffineConstraints<double> &constraints)
 {
   Vector<double>                         in_host(n_dofs), out_host(n_dofs);
index 098a1c776b2b627989d5e43c0cadf592bce61f79..f741a6a4b8b8456f71cefa09e8a0c9ca4f1a9826 100644 (file)
@@ -44,9 +44,9 @@ public:
   operator()(
     const unsigned int                                          cell,
     const typename CUDAWrappers::MatrixFree<dim, Number>::Data *gpu_data,
-    CUDAWrappers::SharedData<dim, Number> *                     shared_data,
-    const Number *                                              src,
-    Number *                                                    dst) const
+    CUDAWrappers::SharedData<dim, Number>                      *shared_data,
+    const Number                                               *src,
+    Number                                                     *dst) const
   {
     CUDAWrappers::FEEvaluation<dim, fe_degree, n_q_points_1d, 1, Number>
       fe_eval(gpu_data, shared_data);
@@ -113,7 +113,7 @@ const unsigned int
 
 template <int dim, int fe_degree, typename number>
 void
-do_test(const DoFHandler<dim> &          dof,
+do_test(const DoFHandler<dim>           &dof,
         const AffineConstraints<double> &constraints)
 {
   CUDAWrappers::MatrixFree<dim, number> mf_data;
index 4d72016c9ed95d2f474a6c0d4b89124d6e3c34ac..e7fec6190b19c86b4864d384b6f7f0078e20e21b 100644 (file)
 template <int dim, int fe_degree, typename Number>
 void
 helmholtz_operator(
-  const MatrixFree<dim, Number> &                                data,
-  std::vector<LinearAlgebra::distributed::Vector<Number>> &      dst,
+  const MatrixFree<dim, Number>                                 &data,
+  std::vector<LinearAlgebra::distributed::Vector<Number>>       &dst,
   const std::vector<LinearAlgebra::distributed::Vector<Number>> &src,
-  const std::pair<unsigned int, unsigned int> &                  cell_range)
+  const std::pair<unsigned int, unsigned int>                   &cell_range)
 {
   FEEvaluation<dim, fe_degree, fe_degree + 1, 2, Number> fe_eval(data);
   const unsigned int n_q_points = fe_eval.n_q_points;
@@ -90,7 +90,7 @@ public:
 
   void
   vmult(
-    std::vector<LinearAlgebra::distributed::Vector<Number>> &      dst,
+    std::vector<LinearAlgebra::distributed::Vector<Number>>       &dst,
     const std::vector<LinearAlgebra::distributed::Vector<Number>> &src) const
   {
     for (unsigned int i = 0; i < dst.size(); ++i)
index 96e358118f2448ea167c2772355c822f1495d5a5..d152f465323adba3ed26787c79f07ee1b6757ef3 100644 (file)
@@ -50,8 +50,8 @@
 
 template <int dim, int fe_degree, typename Number>
 void
-helmholtz_operator(const MatrixFree<dim, Number> &                        data,
-                   LinearAlgebra::distributed::BlockVector<Number> &      dst,
+helmholtz_operator(const MatrixFree<dim, Number>                         &data,
+                   LinearAlgebra::distributed::BlockVector<Number>       &dst,
                    const LinearAlgebra::distributed::BlockVector<Number> &src,
                    const std::pair<unsigned int, unsigned int> &cell_range)
 {
@@ -89,7 +89,7 @@ public:
     : data(data_in){};
 
   void
-  vmult(LinearAlgebra::distributed::BlockVector<Number> &      dst,
+  vmult(LinearAlgebra::distributed::BlockVector<Number>       &dst,
         const LinearAlgebra::distributed::BlockVector<Number> &src) const
   {
     dst = 0;
index 1807d00aa7517e300eb4249a9fbdca62a6d3b5a7..2809817969479c682e1c4365db7c61c38edbeea0 100644 (file)
@@ -51,7 +51,7 @@ template <int dim,
 class MatrixFreeTest
 {
 public:
-  MatrixFreeTest(const DoFHandler<dim> &          dof_handler,
+  MatrixFreeTest(const DoFHandler<dim>           &dof_handler,
                  const AffineConstraints<double> &constraints)
     : dof_handler(dof_handler)
     , constraints(constraints)
@@ -87,7 +87,7 @@ public:
   };
 
 private:
-  const DoFHandler<dim> &          dof_handler;
+  const DoFHandler<dim>           &dof_handler;
   const AffineConstraints<double> &constraints;
 };
 
@@ -95,7 +95,7 @@ private:
 
 template <int dim, int fe_degree, typename number>
 void
-do_test(const DoFHandler<dim> &          dof,
+do_test(const DoFHandler<dim>           &dof,
         const AffineConstraints<double> &constraints,
         const unsigned int               parallel_option = 0)
 {
index 0cb4bae78fc3b67c4a37693d920ae6eaaa63fe2f..1d1aa0708ccdad797a2e8c99c1bc59a44c8bb5ac 100644 (file)
@@ -51,7 +51,7 @@ template <int dim,
 class MatrixFreeTest
 {
 public:
-  MatrixFreeTest(const DoFHandler<dim> &          dof_handler,
+  MatrixFreeTest(const DoFHandler<dim>           &dof_handler,
                  const AffineConstraints<double> &constraints)
     : dof_handler(dof_handler)
     , constraints(constraints)
@@ -89,7 +89,7 @@ public:
   };
 
 private:
-  const DoFHandler<dim> &          dof_handler;
+  const DoFHandler<dim>           &dof_handler;
   const AffineConstraints<double> &constraints;
 };
 
@@ -97,7 +97,7 @@ private:
 
 template <int dim, int fe_degree, typename number>
 void
-do_test(const DoFHandler<dim> &          dof,
+do_test(const DoFHandler<dim>           &dof,
         const AffineConstraints<double> &constraints,
         const unsigned int               parallel_option = 0)
 {
index 3ebc8922e504190f94c59d46d9ff5d62c0054f70..e701d9856cea3b89fc67bf5fbfed6dbd2e7b475c 100644 (file)
@@ -71,9 +71,9 @@ private:
   const MatrixFree<dim, Number> &data;
 
   void
-  local_operation(const MatrixFree<dim, Number> &              data,
-                  VectorType &                                 out,
-                  const VectorType &                           in,
+  local_operation(const MatrixFree<dim, Number>               &data,
+                  VectorType                                  &out,
+                  const VectorType                            &in,
                   const std::pair<unsigned int, unsigned int> &cell_range) const
   {
     FEEvaluation<dim, fe_degree, fe_degree + 1, 1, Number> fe_eval(data);
@@ -107,7 +107,7 @@ private:
 
 template <int dim, int fe_degree, typename number>
 void
-do_test(const DoFHandler<dim> &          dof,
+do_test(const DoFHandler<dim>           &dof,
         const AffineConstraints<double> &constraints,
         const unsigned int               parallel_option = 0)
 {
index bdfa86fba90a0cf73ccac245e55197bd7e9356dd..d5218c3e516414f34794e0406c4f545dbba4e886 100644 (file)
@@ -52,8 +52,8 @@
 
 template <int dim, int fe_degree, typename Number>
 void
-helmholtz_operator(const MatrixFree<dim, Number> &                        data,
-                   LinearAlgebra::distributed::BlockVector<Number> &      dst,
+helmholtz_operator(const MatrixFree<dim, Number>                         &data,
+                   LinearAlgebra::distributed::BlockVector<Number>       &dst,
                    const LinearAlgebra::distributed::BlockVector<Number> &src,
                    const std::pair<unsigned int, unsigned int> &cell_range)
 {
@@ -101,7 +101,7 @@ public:
     : data(data_in){};
 
   void
-  vmult(LinearAlgebra::distributed::BlockVector<Number> &      dst,
+  vmult(LinearAlgebra::distributed::BlockVector<Number>       &dst,
         const LinearAlgebra::distributed::BlockVector<Number> &src) const
   {
     for (unsigned int i = 0; i < dst.size(); ++i)
index 8534a2006e175621e9e9e9a01a9fc1b0afabfaa3..b9d195539632d975f72a2be46278a25fc65548ce 100644 (file)
@@ -52,8 +52,8 @@
 
 template <int dim, int fe_degree, typename Number>
 void
-helmholtz_operator(const MatrixFree<dim, Number> &                        data,
-                   LinearAlgebra::distributed::BlockVector<Number> &      dst,
+helmholtz_operator(const MatrixFree<dim, Number>                         &data,
+                   LinearAlgebra::distributed::BlockVector<Number>       &dst,
                    const LinearAlgebra::distributed::BlockVector<Number> &src,
                    const std::pair<unsigned int, unsigned int> &cell_range)
 {
@@ -91,7 +91,7 @@ public:
     : data(data_in){};
 
   void
-  vmult(LinearAlgebra::distributed::BlockVector<Number> &      dst,
+  vmult(LinearAlgebra::distributed::BlockVector<Number>       &dst,
         const LinearAlgebra::distributed::BlockVector<Number> &src) const
   {
     for (unsigned int i = 0; i < dst.size(); ++i)
index 5ded5f1a0c9478ff37fb3e16a53c01f0388a75fc..014cb0229ee5f7a717077e1c91c67ebd5ad094e3 100644 (file)
 template <int dim, int fe_degree, typename Number>
 void
 helmholtz_operator(
-  const MatrixFree<dim, Number> &                                  data,
-  std::vector<LinearAlgebra::distributed::Vector<Number> *> &      dst,
+  const MatrixFree<dim, Number>                                   &data,
+  std::vector<LinearAlgebra::distributed::Vector<Number> *>       &dst,
   const std::vector<LinearAlgebra::distributed::Vector<Number> *> &src,
-  const std::pair<unsigned int, unsigned int> &                    cell_range)
+  const std::pair<unsigned int, unsigned int>                     &cell_range)
 {
   FEEvaluation<dim, fe_degree, fe_degree + 1, 2, Number> fe_eval(data);
   const unsigned int n_q_points = fe_eval.n_q_points;
@@ -91,7 +91,7 @@ public:
 
   void
   vmult(
-    std::vector<LinearAlgebra::distributed::Vector<Number> *> &      dst,
+    std::vector<LinearAlgebra::distributed::Vector<Number> *>       &dst,
     const std::vector<LinearAlgebra::distributed::Vector<Number> *> &src) const
   {
     for (unsigned int i = 0; i < dst.size(); ++i)
index 855ba70854266b9ede09f7bca01fb35322f0aa8d..1b8adef0e30c6c36f388143159bdf01140c731a2 100644 (file)
 template <int dim, int fe_degree, typename Number>
 void
 helmholtz_operator(
-  const MatrixFree<dim, Number> &                                  data,
-  std::vector<LinearAlgebra::distributed::Vector<Number> *> &      dst,
+  const MatrixFree<dim, Number>                                   &data,
+  std::vector<LinearAlgebra::distributed::Vector<Number> *>       &dst,
   const std::vector<LinearAlgebra::distributed::Vector<Number> *> &src,
-  const std::pair<unsigned int, unsigned int> &                    cell_range)
+  const std::pair<unsigned int, unsigned int>                     &cell_range)
 {
   FEEvaluation<dim, fe_degree, fe_degree + 1, 2, Number> fe_eval(data);
   FEEvaluation<dim, fe_degree, fe_degree + 1, 1, Number> fe_eval2(data);
@@ -103,7 +103,7 @@ public:
 
   void
   vmult(
-    std::vector<LinearAlgebra::distributed::Vector<Number> *> &      dst,
+    std::vector<LinearAlgebra::distributed::Vector<Number> *>       &dst,
     const std::vector<LinearAlgebra::distributed::Vector<Number> *> &src) const
   {
     for (unsigned int i = 0; i < dst.size(); ++i)
index cb273177bb03730a82cfffb1571f3d42c60aa467..205432a45d67e5d4c69cc5cbedf216c3dde2d18c 100644 (file)
@@ -54,7 +54,7 @@ public:
   {}
 
   void
-  vmult(LinearAlgebra::distributed::BlockVector<Number> &      dst,
+  vmult(LinearAlgebra::distributed::BlockVector<Number>       &dst,
         const LinearAlgebra::distributed::BlockVector<Number> &src) const
   {
     data.cell_loop(&MatrixFreeBlock::local_apply, this, dst, src, true);
@@ -62,8 +62,8 @@ public:
 
 private:
   void
-  local_apply(const MatrixFree<dim, Number> &                        data,
-              LinearAlgebra::distributed::BlockVector<Number> &      dst,
+  local_apply(const MatrixFree<dim, Number>                         &data,
+              LinearAlgebra::distributed::BlockVector<Number>       &dst,
               const LinearAlgebra::distributed::BlockVector<Number> &src,
               const std::pair<unsigned int, unsigned int> &cell_range) const
   {
index 3b3940923f578cea2bde16c9b2d71b40d01b8282..16f2cb0464fb87cef3dad98b2e0d1721908a4f5e 100644 (file)
@@ -55,7 +55,7 @@ test();
 
 template <int dim, int fe_degree, typename number, int n_q_points_1d>
 void
-do_test(const DoFHandler<dim> &          dof,
+do_test(const DoFHandler<dim>           &dof,
         const AffineConstraints<double> &constraints,
         const unsigned int               parallel_option = 0)
 {
index c312e35e48e04b5fe65ae4d06b1f089363b59de4..8e58b6f6b8a64c96c857ada28a2576b5a0554ab0 100644 (file)
@@ -64,9 +64,9 @@ public:
     : data(data_in){};
 
   void
-  local_apply(const MatrixFree<dim, Number> &              data,
-              VectorType &                                 dst,
-              const VectorType &                           src,
+  local_apply(const MatrixFree<dim, Number>               &data,
+              VectorType                                  &dst,
+              const VectorType                            &src,
               const std::pair<unsigned int, unsigned int> &cell_range) const
   {
     using vector_t = VectorizedArray<Number>;
index fdc0f228f9e21b3d308d61d8b33d11ad6b5a0298..77d957fabcf370fec9d80ed90c32cf738f58bc10 100644 (file)
@@ -77,7 +77,7 @@ template <int dim,
           typename VectorType,
           int n_q_points_1d>
 void
-do_test(const DoFHandler<dim> &          dof,
+do_test(const DoFHandler<dim>           &dof,
         const AffineConstraints<Number> &constraints,
         const unsigned int               n_locally_owned_cells,
         const bool                       constant_coefficient = true,
index 1946472dcad3f2183f2653a7ff30e1b471214ef9..ce84faa0071541fec08c25938edc0a9fae080fc2 100644 (file)
@@ -33,7 +33,7 @@ public:
   DEAL_II_HOST_DEVICE
   HelmholtzOperatorQuad(
     const typename CUDAWrappers::MatrixFree<dim, Number>::Data *gpu_data,
-    Number *                                                    coef,
+    Number                                                     *coef,
     int                                                         cell)
     : gpu_data(gpu_data)
     , coef(coef)
@@ -43,7 +43,7 @@ public:
   DEAL_II_HOST_DEVICE void
   operator()(
     CUDAWrappers::FEEvaluation<dim, fe_degree, n_q_points_1d, 1, Number>
-      fe_eval,
+       *fe_eval,
     int q_point) const;
 
   static const unsigned int n_q_points =
@@ -51,7 +51,7 @@ public:
 
 private:
   const typename CUDAWrappers::MatrixFree<dim, Number>::Data *gpu_data;
-  Number *                                                    coef;
+  Number                                                     *coef;
   int                                                         cell;
 };
 
@@ -88,9 +88,9 @@ public:
   operator()(
     const unsigned int                                          cell,
     const typename CUDAWrappers::MatrixFree<dim, Number>::Data *gpu_data,
-    CUDAWrappers::SharedData<dim, Number> *                     shared_data,
-    const Number *                                              src,
-    Number *                                                    dst) const;
+    CUDAWrappers::SharedData<dim, Number>                      *shared_data,
+    const Number                                               *src,
+    Number                                                     *dst) const;
 
   Number *coef;
 };
@@ -102,9 +102,9 @@ DEAL_II_HOST_DEVICE void
 HelmholtzOperator<dim, fe_degree, Number, n_q_points_1d>::operator()(
   const unsigned int                                          cell,
   const typename CUDAWrappers::MatrixFree<dim, Number>::Data *gpu_data,
-  CUDAWrappers::SharedData<dim, Number> *                     shared_data,
-  const Number *                                              src,
-  Number *                                                    dst) const
+  CUDAWrappers::SharedData<dim, Number>                      *shared_data,
+  const Number                                               *src,
+  Number                                                     *dst) const
 {
   CUDAWrappers::FEEvaluation<dim, fe_degree, n_q_points_1d, 1, Number> fe_eval(
     gpu_data, shared_data);
@@ -197,7 +197,7 @@ public:
   types::global_dof_index internal_m;
 
 private:
-  const CUDAWrappers::MatrixFree<dim, Number> &                    data;
+  const CUDAWrappers::MatrixFree<dim, Number>                     &data;
   LinearAlgebra::distributed::Vector<double, MemorySpace::Default> coef;
 };
 
@@ -247,7 +247,7 @@ template <int dim,
           int n_q_points_1d>
 void
 MatrixFreeTest<dim, fe_degree, Number, VectorType, n_q_points_1d>::vmult(
-  VectorType &      dst,
+  VectorType       &dst,
   const VectorType &src) const
 {
   dst = static_cast<Number>(0.);
index e5d7223b7121d786bfbe8b27515e0f5bb072e47f..e008d2acf5e6a4c5a886005a3ba99cc68b85ae8c 100644 (file)
@@ -66,9 +66,9 @@ public:
     : data(data_in){};
 
   void
-  local_apply(const MatrixFree<dim, Number> &              data,
-              VectorType &                                 dst,
-              const VectorType &                           src,
+  local_apply(const MatrixFree<dim, Number>               &data,
+              VectorType                                  &dst,
+              const VectorType                            &src,
               const std::pair<unsigned int, unsigned int> &cell_range) const
   {
     using vector_t = VectorizedArray<Number>;
index 3df5188ea8f65877024bbaeb14d7daa511c921ca..f1bd544ddd110e803ea20a4031e4a34767beb792 100644 (file)
@@ -35,17 +35,17 @@ void
 generate_grid(Triangulation<3> &triangulation, int orientation)
 {
   Point<3>              vertices_1[] = {Point<3>(-1., -1., -3.),
-                           Point<3>(+1., -1., -3.),
-                           Point<3>(-1., +1., -3.),
-                           Point<3>(+1., +1., -3.),
-                           Point<3>(-1., -1., -1.),
-                           Point<3>(+1., -1., -1.),
-                           Point<3>(-1., +1., -1.),
-                           Point<3>(+1., +1., -1.),
-                           Point<3>(-1., -1., +1.),
-                           Point<3>(+1., -1., +1.),
-                           Point<3>(-1., +1., +1.),
-                           Point<3>(+1., +1., +1.)};
+                                        Point<3>(+1., -1., -3.),
+                                        Point<3>(-1., +1., -3.),
+                                        Point<3>(+1., +1., -3.),
+                                        Point<3>(-1., -1., -1.),
+                                        Point<3>(+1., -1., -1.),
+                                        Point<3>(-1., +1., -1.),
+                                        Point<3>(+1., +1., -1.),
+                                        Point<3>(-1., -1., +1.),
+                                        Point<3>(+1., -1., +1.),
+                                        Point<3>(-1., +1., +1.),
+                                        Point<3>(+1., +1., +1.)};
   std::vector<Point<3>> vertices(&vertices_1[0], &vertices_1[12]);
 
   std::vector<CellData<3>> cells(2, CellData<3>());
index eed46f968c56b6e4264601a334903e0e71f0c260..db5ec466d2e7be47327777c3d195fbdc24247b6a 100644 (file)
@@ -101,7 +101,7 @@ test()
 
   MatrixFree<dim, double> mf_data;
   const QGauss<1>         quad(n_q_points_1d > 0 ? n_q_points_1d :
-                                                   dof.get_fe().degree + 1);
+                                           dof.get_fe().degree + 1);
   typename MatrixFree<dim, double>::AdditionalData data;
   data.tasks_parallel_scheme = MatrixFree<dim, double>::AdditionalData::none;
   data.tasks_block_size      = 3;
index 4306143951810c38a1e20d5a347dabae486a1939..2af981974edfd8e67204b91240c4b51145309fbc 100644 (file)
@@ -35,17 +35,17 @@ void
 generate_grid(Triangulation<3> &triangulation, int orientation)
 {
   Point<3>              vertices_1[] = {Point<3>(-1., -1., -3.),
-                           Point<3>(+1., -1., -3.),
-                           Point<3>(-1., +1., -3.),
-                           Point<3>(+1., +1., -3.),
-                           Point<3>(-1., -1., -1.),
-                           Point<3>(+1., -1., -1.),
-                           Point<3>(-1., +1., -1.),
-                           Point<3>(+1., +1., -1.),
-                           Point<3>(-1., -1., +1.),
-                           Point<3>(+1., -1., +1.),
-                           Point<3>(-1., +1., +1.),
-                           Point<3>(+1., +1., +1.)};
+                                        Point<3>(+1., -1., -3.),
+                                        Point<3>(-1., +1., -3.),
+                                        Point<3>(+1., +1., -3.),
+                                        Point<3>(-1., -1., -1.),
+                                        Point<3>(+1., -1., -1.),
+                                        Point<3>(-1., +1., -1.),
+                                        Point<3>(+1., +1., -1.),
+                                        Point<3>(-1., -1., +1.),
+                                        Point<3>(+1., -1., +1.),
+                                        Point<3>(-1., +1., +1.),
+                                        Point<3>(+1., +1., +1.)};
   std::vector<Point<3>> vertices(&vertices_1[0], &vertices_1[12]);
 
   std::vector<CellData<3>> cells(2, CellData<3>());
index 58f6f62b9a1c6e67dabb87013621a4f8f9337e0f..f710a18fbac8c059111a5f2d075f7717592b9e69 100644 (file)
@@ -34,17 +34,17 @@ void
 generate_grid(Triangulation<3> &triangulation, int orientation)
 {
   Point<3>              vertices_1[] = {Point<3>(-1., -1., -3.),
-                           Point<3>(+1., -1., -3.),
-                           Point<3>(-1., +1., -3.),
-                           Point<3>(+1., +1., -3.),
-                           Point<3>(-1., -1., -1.),
-                           Point<3>(+1., -1., -1.),
-                           Point<3>(-1., +1., -1.),
-                           Point<3>(+1., +1., -1.),
-                           Point<3>(-1., -1., +1.),
-                           Point<3>(+1., -1., +1.),
-                           Point<3>(-1., +1., +1.),
-                           Point<3>(+1., +1., +1.)};
+                                        Point<3>(+1., -1., -3.),
+                                        Point<3>(-1., +1., -3.),
+                                        Point<3>(+1., +1., -3.),
+                                        Point<3>(-1., -1., -1.),
+                                        Point<3>(+1., -1., -1.),
+                                        Point<3>(-1., +1., -1.),
+                                        Point<3>(+1., +1., -1.),
+                                        Point<3>(-1., -1., +1.),
+                                        Point<3>(+1., -1., +1.),
+                                        Point<3>(-1., +1., +1.),
+                                        Point<3>(+1., +1., +1.)};
   std::vector<Point<3>> vertices(&vertices_1[0], &vertices_1[12]);
 
   std::vector<CellData<3>> cells(2, CellData<3>());
@@ -127,8 +127,8 @@ public:
 private:
   void
   local_apply(const MatrixFree<dim, number, VectorizedArrayType> &data,
-              VectorType &                                        dst,
-              const VectorType &                                  src,
+              VectorType                                         &dst,
+              const VectorType                                   &src,
               const std::pair<unsigned int, unsigned int> &cell_range) const
   {
     FEEvaluation<dim,
@@ -156,9 +156,9 @@ private:
   void
   local_apply_face(
     const MatrixFree<dim, number, VectorizedArrayType> &data,
-    VectorType &                                        dst,
-    const VectorType &                                  src,
-    const std::pair<unsigned int, unsigned int> &       face_range) const
+    VectorType                                         &dst,
+    const VectorType                                   &src,
+    const std::pair<unsigned int, unsigned int>        &face_range) const
   {
     FEFaceEvaluation<dim,
                      fe_degree,
@@ -215,9 +215,9 @@ private:
   void
   local_apply_boundary_face(
     const MatrixFree<dim, number, VectorizedArrayType> &data,
-    VectorType &                                        dst,
-    const VectorType &                                  src,
-    const std::pair<unsigned int, unsigned int> &       face_range) const
+    VectorType                                         &dst,
+    const VectorType                                   &src,
+    const std::pair<unsigned int, unsigned int>        &face_range) const
   {
     FEFaceEvaluation<dim,
                      fe_degree,
index 42c9985a320a9607fe7af22decbd6d449fc0a4fa..e221b7a5cdef10ad1db6bfc20a9a40cbb286c2f4 100644 (file)
@@ -91,8 +91,8 @@ public:
 private:
   void
   local_apply(const MatrixFree<dim, number, VectorizedArrayType> &data,
-              VectorType &                                        dst,
-              const VectorType &                                  src,
+              VectorType                                         &dst,
+              const VectorType                                   &src,
               const std::pair<unsigned int, unsigned int> &cell_range) const
   {
     FEEvaluation<dim,
@@ -118,9 +118,9 @@ private:
   void
   local_apply_face(
     const MatrixFree<dim, number, VectorizedArrayType> &data,
-    VectorType &                                        dst,
-    const VectorType &                                  src,
-    const std::pair<unsigned int, unsigned int> &       face_range) const
+    VectorType                                         &dst,
+    const VectorType                                   &src,
+    const std::pair<unsigned int, unsigned int>        &face_range) const
   {
     FEFaceEvaluation<dim,
                      fe_degree,
@@ -191,9 +191,9 @@ private:
   void
   local_apply_boundary_face(
     const MatrixFree<dim, number, VectorizedArrayType> &data,
-    VectorType &                                        dst,
-    const VectorType &                                  src,
-    const std::pair<unsigned int, unsigned int> &       face_range) const
+    VectorType                                         &dst,
+    const VectorType                                   &src,
+    const std::pair<unsigned int, unsigned int>        &face_range) const
   {
     FEFaceEvaluation<dim,
                      fe_degree,
@@ -297,8 +297,8 @@ public:
 private:
   void
   local_apply(const MatrixFree<dim, number, VectorizedArrayType> &data,
-              VectorType &                                        dst,
-              const VectorType &                                  src,
+              VectorType                                         &dst,
+              const VectorType                                   &src,
               const std::pair<unsigned int, unsigned int> &cell_range) const
   {
     FEEvaluation<dim,
@@ -322,9 +322,9 @@ private:
   void
   local_apply_face(
     const MatrixFree<dim, number, VectorizedArrayType> &data,
-    VectorType &                                        dst,
-    const VectorType &                                  src,
-    const std::pair<unsigned int, unsigned int> &       face_range) const
+    VectorType                                         &dst,
+    const VectorType                                   &src,
+    const std::pair<unsigned int, unsigned int>        &face_range) const
   {
     FEFaceEvaluation<dim,
                      fe_degree,
@@ -397,9 +397,9 @@ private:
   void
   local_apply_boundary_face(
     const MatrixFree<dim, number, VectorizedArrayType> &data,
-    VectorType &                                        dst,
-    const VectorType &                                  src,
-    const std::pair<unsigned int, unsigned int> &       face_range) const
+    VectorType                                         &dst,
+    const VectorType                                   &src,
+    const std::pair<unsigned int, unsigned int>        &face_range) const
   {
     FEFaceEvaluation<dim,
                      fe_degree,
@@ -451,7 +451,7 @@ private:
 
 template <int dim, int n_components, typename Number>
 Tensor<1, n_components, Tensor<1, dim, Number>>
-multiply_by_advection(const Tensor<1, dim, Number> &         advection,
+multiply_by_advection(const Tensor<1, dim, Number>          &advection,
                       const Tensor<1, n_components, Number> &values)
 {
   Tensor<1, n_components, Tensor<1, dim, Number>> out;
@@ -466,7 +466,7 @@ multiply_by_advection(const Tensor<1, dim, Number> &         advection,
 template <int dim, typename Number>
 Tensor<1, dim, Number>
 multiply_by_advection(const Tensor<1, dim, Number> &advection,
-                      const Number &                values)
+                      const Number                 &values)
 {
   Tensor<1, dim, Number> out;
   for (unsigned int d = 0; d < dim; ++d)
@@ -533,8 +533,8 @@ public:
 private:
   void
   local_apply(const MatrixFree<dim, number, VectorizedArrayType> &data,
-              VectorType &                                        dst,
-              const VectorType &                                  src,
+              VectorType                                         &dst,
+              const VectorType                                   &src,
               const std::pair<unsigned int, unsigned int> &cell_range) const
   {
     FEEvaluation<dim,
@@ -560,9 +560,9 @@ private:
   void
   local_apply_face(
     const MatrixFree<dim, number, VectorizedArrayType> &data,
-    VectorType &                                        dst,
-    const VectorType &                                  src,
-    const std::pair<unsigned int, unsigned int> &       face_range) const
+    VectorType                                         &dst,
+    const VectorType                                   &src,
+    const std::pair<unsigned int, unsigned int>        &face_range) const
   {
     FEFaceEvaluation<dim,
                      fe_degree,
@@ -615,9 +615,9 @@ private:
   void
   local_apply_boundary_face(
     const MatrixFree<dim, number, VectorizedArrayType> &data,
-    VectorType &                                        dst,
-    const VectorType &                                  src,
-    const std::pair<unsigned int, unsigned int> &       face_range) const
+    VectorType                                         &dst,
+    const VectorType                                   &src,
+    const std::pair<unsigned int, unsigned int>        &face_range) const
   {
     FEFaceEvaluation<dim,
                      fe_degree,
@@ -672,14 +672,14 @@ class MatrixIntegrator : public MeshWorker::LocalIntegrator<dim>
 {
 public:
   void
-  cell(MeshWorker::DoFInfo<dim> &                 dinfo,
+  cell(MeshWorker::DoFInfo<dim>                  &dinfo,
        typename MeshWorker::IntegrationInfo<dim> &info) const;
   void
-  boundary(MeshWorker::DoFInfo<dim> &                 dinfo,
+  boundary(MeshWorker::DoFInfo<dim>                  &dinfo,
            typename MeshWorker::IntegrationInfo<dim> &info) const;
   void
-  face(MeshWorker::DoFInfo<dim> &                 dinfo1,
-       MeshWorker::DoFInfo<dim> &                 dinfo2,
+  face(MeshWorker::DoFInfo<dim>                  &dinfo1,
+       MeshWorker::DoFInfo<dim>                  &dinfo2,
        typename MeshWorker::IntegrationInfo<dim> &info1,
        typename MeshWorker::IntegrationInfo<dim> &info2) const;
 };
@@ -689,7 +689,7 @@ public:
 template <int dim>
 void
 MatrixIntegrator<dim>::cell(
-  MeshWorker::DoFInfo<dim> &                 dinfo,
+  MeshWorker::DoFInfo<dim>                  &dinfo,
   typename MeshWorker::IntegrationInfo<dim> &info) const
 {
   LocalIntegrators::Laplace::cell_matrix(dinfo.matrix(0, false).matrix,
@@ -701,8 +701,8 @@ MatrixIntegrator<dim>::cell(
 template <int dim>
 void
 MatrixIntegrator<dim>::face(
-  MeshWorker::DoFInfo<dim> &                 dinfo1,
-  MeshWorker::DoFInfo<dim> &                 dinfo2,
+  MeshWorker::DoFInfo<dim>                  &dinfo1,
+  MeshWorker::DoFInfo<dim>                  &dinfo2,
   typename MeshWorker::IntegrationInfo<dim> &info1,
   typename MeshWorker::IntegrationInfo<dim> &info2) const
 {
@@ -737,7 +737,7 @@ MatrixIntegrator<dim>::face(
 template <int dim>
 void
 MatrixIntegrator<dim>::boundary(
-  MeshWorker::DoFInfo<dim> &                 dinfo,
+  MeshWorker::DoFInfo<dim>                  &dinfo,
   typename MeshWorker::IntegrationInfo<dim> &info) const
 {
   const unsigned int deg = info.fe_values(0).get_fe().tensor_degree();
@@ -761,7 +761,7 @@ template <int dim,
           typename number,
           typename VectorizedArrayType = VectorizedArray<number>>
 void
-do_test(const DoFHandler<dim> &          dof,
+do_test(const DoFHandler<dim>           &dof,
         const AffineConstraints<double> &constraints,
         const bool                       also_test_parallel = false)
 {
index 3f568744fea1908aca9a11ce44519a2b0a010524..162c917802e5d8f1de20ac8b1fdcfcab7d3ff7d5 100644 (file)
@@ -44,8 +44,8 @@
 
 template <int dim>
 void
-test_hessians(const dealii::FE_Poly<dim> &                   fe,
-              const dealii::Quadrature<dim> &                quad,
+test_hessians(const dealii::FE_Poly<dim>                    &fe,
+              const dealii::Quadrature<dim>                 &quad,
               const dealii::EvaluationFlags::EvaluationFlags evaluation_flags)
 {
   using namespace dealii;
index 96ded58d90416811421f2585511b8c23ab828a85..81d4cfc2012778faa501781f46f18f2d8c7f8b7d 100644 (file)
@@ -46,7 +46,7 @@
 template <int dim>
 void
 test_hessians(const unsigned int                             degree,
-              const dealii::FE_Poly<dim> &                   fe,
+              const dealii::FE_Poly<dim>                    &fe,
               const dealii::EvaluationFlags::EvaluationFlags evaluation_flags)
 {
   using namespace dealii;
index d7c751f3490076a17ad45de62a945624beae38eb..635223210140866f0847d31d0d886541fad5f1fc 100644 (file)
@@ -44,8 +44,8 @@
 
 template <int dim>
 void
-test_hessians(const dealii::FE_Poly<dim> &                   fe,
-              const dealii::Quadrature<dim> &                quad,
+test_hessians(const dealii::FE_Poly<dim>                    &fe,
+              const dealii::Quadrature<dim>                 &quad,
               const dealii::EvaluationFlags::EvaluationFlags evaluation_flags)
 {
   using namespace dealii;
index 7d70414638f534fd09789d752ff44858018bb8fd..d3acccd2d31dd7e7f199694f83efbd4b9a80d032 100644 (file)
@@ -49,7 +49,7 @@
 template <int dim>
 void
 test_hessians(const unsigned int                             degree,
-              const dealii::FE_Poly<dim> &                   fe,
+              const dealii::FE_Poly<dim>                    &fe,
               const dealii::EvaluationFlags::EvaluationFlags evaluation_flags)
 {
   using namespace dealii;
index 8dcc984c3912c1084e43398b87ffe265ac075ee0..91401ad41631aa4d09faa699b624925cca65fc82 100644 (file)
@@ -49,9 +49,9 @@ public:
     : data(data_in){};
 
   void
-  local_apply(const MatrixFree<dim, Number> &              data,
-              Vector<Number> &                             dst,
-              const Vector<Number> &                       src,
+  local_apply(const MatrixFree<dim, Number>               &data,
+              Vector<Number>                              &dst,
+              const Vector<Number>                        &src,
               const std::pair<unsigned int, unsigned int> &cell_range) const
   {
     std::pair<unsigned int, unsigned int> subrange_deg =
index 357118702d6b77a2e606af1e8ba3b44a1475966e..a476376c774be26db5f9b1bd34d9330aa2d3c9a3 100644 (file)
@@ -40,9 +40,9 @@ public:
     : data(data_in){};
 
   void
-  local_apply(const MatrixFree<dim, Number> &              data,
-              Vector<Number> &                             dst,
-              const Vector<Number> &                       src,
+  local_apply(const MatrixFree<dim, Number>               &data,
+              Vector<Number>                              &dst,
+              const Vector<Number>                        &src,
               const std::pair<unsigned int, unsigned int> &cell_range) const
   {
     for (unsigned int i = 1; i <= 9 - 2 * dim; ++i) // skip FE_Nothing
index 49760e44fe2de8cfa5f91b66db72efa588dfcfb4..7ac38da9d1627a2fa69efd81f54fe02c09fcd2f2 100644 (file)
@@ -59,8 +59,8 @@ public:
     : data(data_in){};
 
   void
-  local_apply(const MatrixFree<dim, Number> &                   data,
-              LinearAlgebra::distributed::Vector<Number> &      dst,
+  local_apply(const MatrixFree<dim, Number>                    &data,
+              LinearAlgebra::distributed::Vector<Number>       &dst,
               const LinearAlgebra::distributed::Vector<Number> &src,
               const std::pair<unsigned int, unsigned int> &cell_range) const
   {
@@ -68,7 +68,7 @@ public:
   }
 
   void
-  vmult(LinearAlgebra::distributed::Vector<Number> &      dst,
+  vmult(LinearAlgebra::distributed::Vector<Number>       &dst,
         const LinearAlgebra::distributed::Vector<Number> &src) const
   {
     dst = 0;
index 877dd5efd6888107806db7b1568ea3c95f634aab..d32a11f23d133f123cfe2236de1d83d3485ce778 100644 (file)
@@ -31,8 +31,8 @@
 template <int dim, int fe_degree, typename VectorType, int n_q_points_1d>
 void
 helmholtz_operator(const MatrixFree<dim, typename VectorType::value_type> &data,
-                   VectorType &                                            dst,
-                   const VectorType &                                      src,
+                   VectorType                                             &dst,
+                   const VectorType                                       &src,
                    const std::pair<unsigned int, unsigned int> &cell_range)
 {
   using Number = typename VectorType::value_type;
@@ -60,9 +60,9 @@ template <int dim, typename VectorType>
 void
 helmholtz_operator_no_template(
   const MatrixFree<dim, typename VectorType::value_type> &data,
-  VectorType &                                            dst,
-  const VectorType &                                      src,
-  const std::pair<unsigned int, unsigned int> &           cell_range)
+  VectorType                                             &dst,
+  const VectorType                                       &src,
+  const std::pair<unsigned int, unsigned int>            &cell_range)
 {
   using Number = typename VectorType::value_type;
   FEEvaluation<dim, -1, 0, 1, Number> fe_eval(data, cell_range);
@@ -89,9 +89,9 @@ template <int dim, typename VectorType>
 void
 helmholtz_operator_no_template(
   const MatrixFree<dim, typename VectorType::value_type> &data,
-  VectorType &                                            dst,
-  const VectorType &                                      src,
-  const std::pair<unsigned int, unsigned int> &           cell_range,
+  VectorType                                             &dst,
+  const VectorType                                       &src,
+  const std::pair<unsigned int, unsigned int>            &cell_range,
   const unsigned int                                      active_fe_index,
   const unsigned int                                      active_quad_index)
 {
index ce6d8644d045ceb0eca6ca8e66aed33c9c4accd6..d29a2319258e1f77d10af56e9b7d863dbe28eded 100644 (file)
@@ -119,9 +119,9 @@ public:
   virtual ~MatrixFreeTest(){};
 
   void
-  operator()(const MatrixFree<dim, Number> &              data,
-             Vector<Number> &                             dst,
-             const Vector<Number> &                       src,
+  operator()(const MatrixFree<dim, Number>               &data,
+             Vector<Number>                              &dst,
+             const Vector<Number>                        &src,
              const std::pair<unsigned int, unsigned int> &cell_range) const
   {
     FEEvaluation<dim, fe_degree, n_q_points_1d, dim, Number> fe_eval(data);
@@ -154,7 +154,7 @@ public:
   };
 
 protected:
-  const MatrixFree<dim, Number> &  data;
+  const MatrixFree<dim, Number>   &data;
   EvaluationFlags::EvaluationFlags evaluation_flag;
   const TestType                   test_type;
 };
@@ -162,7 +162,7 @@ protected:
 
 template <int dim, int, typename Number>
 void
-do_test(const DoFHandler<dim> &          dof,
+do_test(const DoFHandler<dim>           &dof,
         const AffineConstraints<double> &constraints,
         const TestType                   test_type)
 {
index 34a6c1bead79ebc677f9eb2ee683b601998c2e0e..564e346fb3ac6eaca887a0e01418a4a90f7c3e6a 100644 (file)
@@ -126,9 +126,9 @@ public:
   {}
 
   void
-  operator_face(const MatrixFree<dim, Number> &              data,
-                Vector<Number> &                             dst,
-                const Vector<Number> &                       src,
+  operator_face(const MatrixFree<dim, Number>               &data,
+                Vector<Number>                              &dst,
+                const Vector<Number>                        &src,
                 const std::pair<unsigned int, unsigned int> &face_range) const
   {
     FEFaceEvaluation<dim, fe_degree, n_q_points_1d, dim, Number> fe_eval(data,
@@ -169,9 +169,9 @@ public:
 
   void
   operator_boundary(
-    const MatrixFree<dim, Number> &              data,
-    Vector<Number> &                             dst,
-    const Vector<Number> &                       src,
+    const MatrixFree<dim, Number>               &data,
+    Vector<Number>                              &dst,
+    const Vector<Number>                        &src,
     const std::pair<unsigned int, unsigned int> &face_range) const
   {
     FEFaceEvaluation<dim, fe_degree, n_q_points_1d, dim, Number> fe_eval(data,
@@ -210,7 +210,7 @@ public:
   };
 
 protected:
-  const MatrixFree<dim, Number> &  data;
+  const MatrixFree<dim, Number>   &data;
   EvaluationFlags::EvaluationFlags evaluation_flag;
   const TestType                   test_type;
 };
@@ -219,7 +219,7 @@ protected:
 
 template <int dim, int fe_degree, typename Number>
 void
-do_test(const DoFHandler<dim> &          dof,
+do_test(const DoFHandler<dim>           &dof,
         const AffineConstraints<double> &constraints,
         const TestType                   test_type)
 {
index c09d4a80fa5d6fa3a88adb966b548fd554b6f28d..4170ad170cb20eebfa33f40448d848c286ac4a35 100644 (file)
@@ -64,9 +64,9 @@ public:
     : data(data_in){};
 
   void
-  local_apply(const MatrixFree<dim, Number> &              data,
-              VectorType &                                 dst,
-              const VectorType &                           src,
+  local_apply(const MatrixFree<dim, Number>               &data,
+              VectorType                                  &dst,
+              const VectorType                            &src,
               const std::pair<unsigned int, unsigned int> &cell_range) const
   {
     using vector_t = VectorizedArray<Number>;
index 83039be120fcd34d2f1ba88676c3f7bdce8c0bf2..f4e39338b7ca6713e9e865588c24dacff933ce47 100644 (file)
@@ -57,9 +57,9 @@ protected:
 
   void
   local_apply_cell(
-    const dealii::MatrixFree<dim, Number> &      data,
-    BlockVectorType &                            dst,
-    const BlockVectorType &                      src,
+    const dealii::MatrixFree<dim, Number>       &data,
+    BlockVectorType                             &dst,
+    const BlockVectorType                       &src,
     const std::pair<unsigned int, unsigned int> &cell_range) const
   {
     using vector_t = VectorizedArray<Number>;
index 6c356c8fca68a4bfad633a05293c5f86cb4b22d5..90e05df30c637c9f1eb0da4d76d8e2b926838d4d 100644 (file)
@@ -68,9 +68,9 @@ public:
   {}
 
   void
-  local_apply(const MatrixFree<dim, Number> &              data,
-              VectorType &                                 dst,
-              const VectorType &                           src,
+  local_apply(const MatrixFree<dim, Number>               &data,
+              VectorType                                  &dst,
+              const VectorType                            &src,
               const std::pair<unsigned int, unsigned int> &cell_range) const
   {
     using vector_t = VectorizedArray<Number>;
index fd761f24244c7d91531f6caf733b7499ba6aae36..a5e0ae44c5ee2ecc2a33778b59a689419eda71c2 100644 (file)
@@ -61,8 +61,8 @@ public:
 
   void
   local_apply(const MatrixFree<dim, Number, VectorizedArrayType> &data,
-              VectorType &                                        dst,
-              const VectorType &                                  src,
+              VectorType                                         &dst,
+              const VectorType                                   &src,
               const std::pair<unsigned int, unsigned int> &cell_range) const
   {
     using vector_t = VectorizedArrayType;
index 71dfe955ee82c84e003b7222dba63031f2cc4af0..db37de6e5c2b36d04a748e49cdf6783fa400603b 100644 (file)
@@ -64,9 +64,9 @@ public:
     : data(data_in){};
 
   void
-  local_apply(const MatrixFree<dim, Number> &              data,
-              VectorType &                                 dst,
-              const VectorType &                           src,
+  local_apply(const MatrixFree<dim, Number>               &data,
+              VectorType                                  &dst,
+              const VectorType                            &src,
               const std::pair<unsigned int, unsigned int> &cell_range) const
   {
     using vector_t = VectorizedArray<Number>;
index 0f7aa6ad20e7d4124c46130e404a7effe5e6ba00..6c88898dee5678a888ab5916872973fbfa8c92b4 100644 (file)
@@ -63,9 +63,9 @@ public:
     : data(data_in){};
 
   void
-  local_apply(const MatrixFree<dim, Number> &              data,
-              VectorType &                                 dst,
-              const VectorType &                           src,
+  local_apply(const MatrixFree<dim, Number>               &data,
+              VectorType                                  &dst,
+              const VectorType                            &src,
               const std::pair<unsigned int, unsigned int> &cell_range) const
   {
     using vector_t = VectorizedArray<Number>;
index 5c966a8b603eb053d377bd85682fd83147c39a2a..f1abbab4537b8c59b595d3ff758caf59e8ffaf7c 100644 (file)
@@ -61,9 +61,9 @@ public:
     : data(data_in){};
 
   void
-  local_apply(const MatrixFree<dim, Number> &              data,
-              VectorType &                                 dst,
-              const VectorType &                           src,
+  local_apply(const MatrixFree<dim, Number>               &data,
+              VectorType                                  &dst,
+              const VectorType                            &src,
               const std::pair<unsigned int, unsigned int> &cell_range) const
   {
     using vector_t = VectorizedArray<Number>;
index e294b5117df74a8a1a86fad3879a343f3d1648e6..a0af2370335f8b8782090f03ace4f1edd3bf3e31 100644 (file)
@@ -66,9 +66,9 @@ public:
     : data(data_in){};
 
   void
-  local_apply(const MatrixFree<dim, Number> &              data,
-              VectorType &                                 dst,
-              const VectorType &                           src,
+  local_apply(const MatrixFree<dim, Number>               &data,
+              VectorType                                  &dst,
+              const VectorType                            &src,
               const std::pair<unsigned int, unsigned int> &cell_range) const
   {
     using vector_t = VectorizedArray<Number>;
index 90993cb9d0e6c6faab5de43af1eef66301881b60..1de26fb593cc0e74b549cc4c9f7b0355344f174a 100644 (file)
@@ -65,9 +65,9 @@ public:
     : data(data_in){};
 
   void
-  local_apply(const MatrixFree<dim, Number> &              data,
-              VectorType &                                 dst,
-              const VectorType &                           src,
+  local_apply(const MatrixFree<dim, Number>               &data,
+              VectorType                                  &dst,
+              const VectorType                            &src,
               const std::pair<unsigned int, unsigned int> &cell_range) const
   {
     using vector_t = VectorizedArray<Number>;
index b82bc11261289e979685a3937e574c7104529b91..708684a6c7987babe23ef4d246bb253a8d42b500 100644 (file)
@@ -66,9 +66,9 @@ public:
     : data(data_in){};
 
   void
-  local_apply(const MatrixFree<dim, Number> &              data,
-              VectorType &                                 dst,
-              const VectorType &                           src,
+  local_apply(const MatrixFree<dim, Number>               &data,
+              VectorType                                  &dst,
+              const VectorType                            &src,
               const std::pair<unsigned int, unsigned int> &cell_range) const
   {
     using vector_t = VectorizedArray<Number>;
index 028ca25bd6e972aa3651aced0c03d0cd3de2cd70..c0ce11367235edca0b1c778bb8bbc78742a54afb 100644 (file)
@@ -64,7 +64,7 @@ public:
   LaplaceOperator(){};
 
   void
-  initialize(const Mapping<dim> &   mapping,
+  initialize(const Mapping<dim>    &mapping,
              const DoFHandler<dim> &dof_handler,
              const unsigned int     n_q_points_1d,
              const unsigned int     level = numbers::invalid_unsigned_int)
@@ -90,7 +90,7 @@ public:
   }
 
   void
-  vmult(LinearAlgebra::distributed::Vector<number> &      dst,
+  vmult(LinearAlgebra::distributed::Vector<number>       &dst,
         const LinearAlgebra::distributed::Vector<number> &src) const
   {
     dst = 0;
@@ -98,7 +98,7 @@ public:
   }
 
   void
-  Tvmult(LinearAlgebra::distributed::Vector<number> &      dst,
+  Tvmult(LinearAlgebra::distributed::Vector<number>       &dst,
          const LinearAlgebra::distributed::Vector<number> &src) const
   {
     dst = 0;
@@ -106,14 +106,14 @@ public:
   }
 
   void
-  Tvmult_add(LinearAlgebra::distributed::Vector<number> &      dst,
+  Tvmult_add(LinearAlgebra::distributed::Vector<number>       &dst,
              const LinearAlgebra::distributed::Vector<number> &src) const
   {
     vmult_add(dst, src);
   }
 
   void
-  vmult_add(LinearAlgebra::distributed::Vector<number> &      dst,
+  vmult_add(LinearAlgebra::distributed::Vector<number>       &dst,
             const LinearAlgebra::distributed::Vector<number> &src) const
   {
     Assert(src.partitioners_are_globally_compatible(
@@ -174,8 +174,8 @@ public:
 
 private:
   void
-  local_apply(const MatrixFree<dim, number> &                   data,
-              LinearAlgebra::distributed::Vector<number> &      dst,
+  local_apply(const MatrixFree<dim, number>                    &data,
+              LinearAlgebra::distributed::Vector<number>       &dst,
               const LinearAlgebra::distributed::Vector<number> &src,
               const std::pair<unsigned int, unsigned int> &cell_range) const
   {
@@ -195,10 +195,10 @@ private:
 
   void
   local_apply_face(
-    const MatrixFree<dim, number> &                   data,
-    LinearAlgebra::distributed::Vector<number> &      dst,
+    const MatrixFree<dim, number>                    &data,
+    LinearAlgebra::distributed::Vector<number>       &dst,
     const LinearAlgebra::distributed::Vector<number> &src,
-    const std::pair<unsigned int, unsigned int> &     face_range) const
+    const std::pair<unsigned int, unsigned int>      &face_range) const
   {
     FEFaceEvaluation<dim, -1, 0, 1, number> fe_eval(data, true);
     FEFaceEvaluation<dim, -1, 0, 1, number> fe_eval_neighbor(data, false);
@@ -244,10 +244,10 @@ private:
 
   void
   local_apply_boundary(
-    const MatrixFree<dim, number> &                   data,
-    LinearAlgebra::distributed::Vector<number> &      dst,
+    const MatrixFree<dim, number>                    &data,
+    LinearAlgebra::distributed::Vector<number>       &dst,
     const LinearAlgebra::distributed::Vector<number> &src,
-    const std::pair<unsigned int, unsigned int> &     face_range) const
+    const std::pair<unsigned int, unsigned int>      &face_range) const
   {
     FEFaceEvaluation<dim, -1, 0, 1, number> fe_eval(data, true);
     for (unsigned int face = face_range.first; face < face_range.second; ++face)
@@ -298,7 +298,7 @@ private:
 
   void
   local_diagonal_cell(
-    const MatrixFree<dim, number> &             data,
+    const MatrixFree<dim, number>              &data,
     LinearAlgebra::distributed::Vector<number> &dst,
     const unsigned int &,
     const std::pair<unsigned int, unsigned int> &cell_range) const
@@ -330,7 +330,7 @@ private:
 
   void
   local_diagonal_face(
-    const MatrixFree<dim, number> &             data,
+    const MatrixFree<dim, number>              &data,
     LinearAlgebra::distributed::Vector<number> &dst,
     const unsigned int &,
     const std::pair<unsigned int, unsigned int> &face_range) const
@@ -418,7 +418,7 @@ private:
 
   void
   local_diagonal_boundary(
-    const MatrixFree<dim, number> &             data,
+    const MatrixFree<dim, number>              &data,
     LinearAlgebra::distributed::Vector<number> &dst,
     const unsigned int &,
     const std::pair<unsigned int, unsigned int> &face_range) const
@@ -485,7 +485,7 @@ public:
 
   virtual void
   operator()(const unsigned int,
-             LinearAlgebra::distributed::Vector<double> &      dst,
+             LinearAlgebra::distributed::Vector<double>       &dst,
              const LinearAlgebra::distributed::Vector<double> &src) const
   {
     ReductionControl solver_control(1e4, 1e-50, 1e-7, false, false);
index f2dad019e6aceced8bdf722885619ffb8345dcb1..b9c095b01dd91d965d0a12c23e53a9b4754894bf 100644 (file)
@@ -63,7 +63,7 @@ public:
   LaplaceOperator(){};
 
   void
-  initialize(const Mapping<dim> &   mapping,
+  initialize(const Mapping<dim>    &mapping,
              const DoFHandler<dim> &dof_handler,
              const unsigned int     n_q_points_1d,
              const unsigned int     level = numbers::invalid_unsigned_int)
@@ -89,7 +89,7 @@ public:
   }
 
   void
-  vmult(LinearAlgebra::distributed::Vector<number> &      dst,
+  vmult(LinearAlgebra::distributed::Vector<number>       &dst,
         const LinearAlgebra::distributed::Vector<number> &src) const
   {
     dst = 0;
@@ -97,7 +97,7 @@ public:
   }
 
   void
-  Tvmult(LinearAlgebra::distributed::Vector<number> &      dst,
+  Tvmult(LinearAlgebra::distributed::Vector<number>       &dst,
          const LinearAlgebra::distributed::Vector<number> &src) const
   {
     dst = 0;
@@ -105,14 +105,14 @@ public:
   }
 
   void
-  Tvmult_add(LinearAlgebra::distributed::Vector<number> &      dst,
+  Tvmult_add(LinearAlgebra::distributed::Vector<number>       &dst,
              const LinearAlgebra::distributed::Vector<number> &src) const
   {
     vmult_add(dst, src);
   }
 
   void
-  vmult_add(LinearAlgebra::distributed::Vector<number> &      dst,
+  vmult_add(LinearAlgebra::distributed::Vector<number>       &dst,
             const LinearAlgebra::distributed::Vector<number> &src) const
   {
     if (!src.partitioners_are_globally_compatible(
@@ -177,8 +177,8 @@ public:
 
 private:
   void
-  local_apply(const MatrixFree<dim, number> &                   data,
-              LinearAlgebra::distributed::Vector<number> &      dst,
+  local_apply(const MatrixFree<dim, number>                    &data,
+              LinearAlgebra::distributed::Vector<number>       &dst,
               const LinearAlgebra::distributed::Vector<number> &src,
               const std::pair<unsigned int, unsigned int> &cell_range) const
   {
@@ -198,10 +198,10 @@ private:
 
   void
   local_apply_face(
-    const MatrixFree<dim, number> &                   data,
-    LinearAlgebra::distributed::Vector<number> &      dst,
+    const MatrixFree<dim, number>                    &data,
+    LinearAlgebra::distributed::Vector<number>       &dst,
     const LinearAlgebra::distributed::Vector<number> &src,
-    const std::pair<unsigned int, unsigned int> &     face_range) const
+    const std::pair<unsigned int, unsigned int>      &face_range) const
   {
     FEFaceEvaluation<dim, -1, 0, 1, number> fe_eval(data, true);
     FEFaceEvaluation<dim, -1, 0, 1, number> fe_eval_neighbor(data, false);
@@ -247,10 +247,10 @@ private:
 
   void
   local_apply_boundary(
-    const MatrixFree<dim, number> &                   data,
-    LinearAlgebra::distributed::Vector<number> &      dst,
+    const MatrixFree<dim, number>                    &data,
+    LinearAlgebra::distributed::Vector<number>       &dst,
     const LinearAlgebra::distributed::Vector<number> &src,
-    const std::pair<unsigned int, unsigned int> &     face_range) const
+    const std::pair<unsigned int, unsigned int>      &face_range) const
   {
     FEFaceEvaluation<dim, -1, 0, 1, number> fe_eval(data, true);
     for (unsigned int face = face_range.first; face < face_range.second; ++face)
@@ -299,7 +299,7 @@ private:
 
   void
   local_diagonal_cell(
-    const MatrixFree<dim, number> &             data,
+    const MatrixFree<dim, number>              &data,
     LinearAlgebra::distributed::Vector<number> &dst,
     const unsigned int &,
     const std::pair<unsigned int, unsigned int> &cell_range) const
@@ -331,7 +331,7 @@ private:
 
   void
   local_diagonal_face(
-    const MatrixFree<dim, number> &             data,
+    const MatrixFree<dim, number>              &data,
     LinearAlgebra::distributed::Vector<number> &dst,
     const unsigned int &,
     const std::pair<unsigned int, unsigned int> &face_range) const
@@ -419,7 +419,7 @@ private:
 
   void
   local_diagonal_boundary(
-    const MatrixFree<dim, number> &             data,
+    const MatrixFree<dim, number>              &data,
     LinearAlgebra::distributed::Vector<number> &dst,
     const unsigned int &,
     const std::pair<unsigned int, unsigned int> &face_range) const
@@ -486,7 +486,7 @@ public:
 
   virtual void
   operator()(const unsigned int,
-             LinearAlgebra::distributed::Vector<double> &      dst,
+             LinearAlgebra::distributed::Vector<double>       &dst,
              const LinearAlgebra::distributed::Vector<double> &src) const
   {
     ReductionControl solver_control(1e4, 1e-50, 1e-10, false, false);
index 2accd6dcff311b6a7d95fd22f0551e3cbb7f7836..19b8bf50c0f8cc49f852d2ac2a2103d39164bef7 100644 (file)
@@ -64,7 +64,7 @@ public:
   LaplaceOperator(){};
 
   void
-  initialize(const Mapping<dim> &   mapping,
+  initialize(const Mapping<dim>    &mapping,
              const DoFHandler<dim> &dof_handler,
              const unsigned int     n_q_points_1d,
              const unsigned int     level = numbers::invalid_unsigned_int)
@@ -92,7 +92,7 @@ public:
   }
 
   void
-  vmult(LinearAlgebra::distributed::Vector<number> &      dst,
+  vmult(LinearAlgebra::distributed::Vector<number>       &dst,
         const LinearAlgebra::distributed::Vector<number> &src) const
   {
     dst = 0;
@@ -100,7 +100,7 @@ public:
   }
 
   void
-  Tvmult(LinearAlgebra::distributed::Vector<number> &      dst,
+  Tvmult(LinearAlgebra::distributed::Vector<number>       &dst,
          const LinearAlgebra::distributed::Vector<number> &src) const
   {
     dst = 0;
@@ -108,14 +108,14 @@ public:
   }
 
   void
-  Tvmult_add(LinearAlgebra::distributed::Vector<number> &      dst,
+  Tvmult_add(LinearAlgebra::distributed::Vector<number>       &dst,
              const LinearAlgebra::distributed::Vector<number> &src) const
   {
     vmult_add(dst, src);
   }
 
   void
-  vmult_add(LinearAlgebra::distributed::Vector<number> &      dst,
+  vmult_add(LinearAlgebra::distributed::Vector<number>       &dst,
             const LinearAlgebra::distributed::Vector<number> &src) const
   {
     if (!src.partitioners_are_globally_compatible(
@@ -186,8 +186,8 @@ public:
 
 private:
   void
-  local_apply(const MatrixFree<dim, number> &                   data,
-              LinearAlgebra::distributed::Vector<number> &      dst,
+  local_apply(const MatrixFree<dim, number>                    &data,
+              LinearAlgebra::distributed::Vector<number>       &dst,
               const LinearAlgebra::distributed::Vector<number> &src,
               const std::pair<unsigned int, unsigned int> &cell_range) const
   {
@@ -207,10 +207,10 @@ private:
 
   void
   local_apply_face(
-    const MatrixFree<dim, number> &                   data,
-    LinearAlgebra::distributed::Vector<number> &      dst,
+    const MatrixFree<dim, number>                    &data,
+    LinearAlgebra::distributed::Vector<number>       &dst,
     const LinearAlgebra::distributed::Vector<number> &src,
-    const std::pair<unsigned int, unsigned int> &     face_range) const
+    const std::pair<unsigned int, unsigned int>      &face_range) const
   {
     FEFaceEvaluation<dim, -1, 0, 1, number> fe_eval(data, true);
     FEFaceEvaluation<dim, -1, 0, 1, number> fe_eval_neighbor(data, false);
@@ -256,10 +256,10 @@ private:
 
   void
   local_apply_boundary(
-    const MatrixFree<dim, number> &                   data,
-    LinearAlgebra::distributed::Vector<number> &      dst,
+    const MatrixFree<dim, number>                    &data,
+    LinearAlgebra::distributed::Vector<number>       &dst,
     const LinearAlgebra::distributed::Vector<number> &src,
-    const std::pair<unsigned int, unsigned int> &     face_range) const
+    const std::pair<unsigned int, unsigned int>      &face_range) const
   {
     FEFaceEvaluation<dim, -1, 0, 1, number> fe_eval(data, true);
     for (unsigned int face = face_range.first; face < face_range.second; ++face)
@@ -306,7 +306,7 @@ private:
 
   void
   local_diagonal_cell(
-    const MatrixFree<dim, number> &             data,
+    const MatrixFree<dim, number>              &data,
     LinearAlgebra::distributed::Vector<number> &dst,
     const unsigned int &,
     const std::pair<unsigned int, unsigned int> &cell_range) const
@@ -400,7 +400,7 @@ public:
 
   virtual void
   operator()(const unsigned int,
-             LinearAlgebra::distributed::Vector<double> &      dst,
+             LinearAlgebra::distributed::Vector<double>       &dst,
              const LinearAlgebra::distributed::Vector<double> &src) const
   {
     ReductionControl solver_control(1e4, 1e-50, 1e-10, false, false);
index 7548d724df14607bc74c05a36dba028852656617..ceb1f5cb9d0b244ae09f05fb9ff12ab9ffb22062 100644 (file)
@@ -66,7 +66,7 @@ public:
   void
   operator()(const MatrixFree<dim, Number> &data,
              Vector<Number> &,
-             const Vector<Number> &                       src,
+             const Vector<Number>                        &src,
              const std::pair<unsigned int, unsigned int> &cell_range) const
   {
     FEEvaluation<dim, fe_degree, n_q_points_1d, 1, Number> fe_eval(data);
@@ -114,7 +114,7 @@ protected:
 
 template <int dim, int fe_degree, typename number>
 void
-do_test(const DoFHandler<dim> &          dof,
+do_test(const DoFHandler<dim>           &dof,
         const AffineConstraints<double> &constraints)
 {
   // use this for info on problem
index fb94f0ec169f62fec045b6f455093b2bf2214fd7..2c22ac71c2605d9864c1e126e84eae4abb26a71f 100644 (file)
@@ -61,8 +61,8 @@ public:
   LaplaceOperator(){};
 
   void
-  initialize(const Mapping<dim> &                mapping,
-             const DoFHandler<dim> &             dof_handler,
+  initialize(const Mapping<dim>                 &mapping,
+             const DoFHandler<dim>              &dof_handler,
              const std::set<types::boundary_id> &dirichlet_boundaries,
              const unsigned int level = numbers::invalid_unsigned_int)
   {
@@ -122,7 +122,7 @@ public:
   }
 
   void
-  vmult(LinearAlgebra::distributed::Vector<number> &      dst,
+  vmult(LinearAlgebra::distributed::Vector<number>       &dst,
         const LinearAlgebra::distributed::Vector<number> &src) const
   {
     dst = 0;
@@ -130,7 +130,7 @@ public:
   }
 
   void
-  Tvmult(LinearAlgebra::distributed::Vector<number> &      dst,
+  Tvmult(LinearAlgebra::distributed::Vector<number>       &dst,
          const LinearAlgebra::distributed::Vector<number> &src) const
   {
     dst = 0;
@@ -138,14 +138,14 @@ public:
   }
 
   void
-  Tvmult_add(LinearAlgebra::distributed::Vector<number> &      dst,
+  Tvmult_add(LinearAlgebra::distributed::Vector<number>       &dst,
              const LinearAlgebra::distributed::Vector<number> &src) const
   {
     vmult_add(dst, src);
   }
 
   void
-  vmult_add(LinearAlgebra::distributed::Vector<number> &      dst,
+  vmult_add(LinearAlgebra::distributed::Vector<number>       &dst,
             const LinearAlgebra::distributed::Vector<number> &src) const
   {
     data.cell_loop(&LaplaceOperator::local_apply, this, dst, src);
@@ -205,8 +205,8 @@ public:
 
 private:
   void
-  local_apply(const MatrixFree<dim, number> &                   data,
-              LinearAlgebra::distributed::Vector<number> &      dst,
+  local_apply(const MatrixFree<dim, number>                    &data,
+              LinearAlgebra::distributed::Vector<number>       &dst,
               const LinearAlgebra::distributed::Vector<number> &src,
               const std::pair<unsigned int, unsigned int> &cell_range) const
   {
@@ -245,7 +245,7 @@ private:
 
   void
   local_diagonal_cell(
-    const MatrixFree<dim, number> &             data,
+    const MatrixFree<dim, number>              &data,
     LinearAlgebra::distributed::Vector<number> &dst,
     const unsigned int &,
     const std::pair<unsigned int, unsigned int> &cell_range) const
@@ -296,7 +296,7 @@ public:
 
   virtual void
   operator()(const unsigned int                                level,
-             LinearAlgebra::distributed::Vector<double> &      dst,
+             LinearAlgebra::distributed::Vector<double>       &dst,
              const LinearAlgebra::distributed::Vector<double> &src) const
   {
     ReductionControl solver_control(1e4, 1e-50, 1e-10);
@@ -319,7 +319,8 @@ do_test(const DoFHandler<dim> &dof)
       deallog.push("float");
     }
   else
-    {}
+    {
+    }
 
   deallog << "Testing " << dof.get_fe().get_name();
   deallog << std::endl;
index 4a9d32cd94ce2e867f53a14afbc56443dd027b37..50d072b78d95618c81c6904345454cd430207225 100644 (file)
@@ -67,7 +67,7 @@ public:
 
   virtual void
   operator()(const unsigned int                                level,
-             LinearAlgebra::distributed::Vector<double> &      dst,
+             LinearAlgebra::distributed::Vector<double>       &dst,
              const LinearAlgebra::distributed::Vector<double> &src) const
   {
     ReductionControl solver_control(1e4, 1e-50, 1e-10);
@@ -91,7 +91,8 @@ do_test(const DoFHandler<dim> &dof)
       deallog.push("float");
     }
   else
-    {}
+    {
+    }
 
   deallog << "Testing " << dof.get_fe().get_name();
   deallog << std::endl;
index b58785c16a0d1e2702c3cc91658f68b3129904e0..0409abb4bf43e937bcce10db40b86aa063fd814d 100644 (file)
@@ -62,11 +62,11 @@ public:
 
 
   void
-  initialize(const Mapping<dim> &     mapping,
-             const DoFHandler<dim> &  dof_handler,
+  initialize(const Mapping<dim>      &mapping,
+             const DoFHandler<dim>   &dof_handler,
              const MGConstrainedDoFs &mg_constrained_dofs,
              const std::map<types::boundary_id, const Function<dim> *>
-               &                dirichlet_boundary,
+                               &dirichlet_boundary,
              const unsigned int level = numbers::invalid_unsigned_int)
   {
     const QGauss<1>                                  quad(n_q_points_1d);
@@ -120,7 +120,7 @@ public:
   }
 
   void
-  vmult(LinearAlgebra::distributed::Vector<number> &      dst,
+  vmult(LinearAlgebra::distributed::Vector<number>       &dst,
         const LinearAlgebra::distributed::Vector<number> &src) const
   {
     dst = 0;
@@ -128,7 +128,7 @@ public:
   }
 
   void
-  Tvmult(LinearAlgebra::distributed::Vector<number> &      dst,
+  Tvmult(LinearAlgebra::distributed::Vector<number>       &dst,
          const LinearAlgebra::distributed::Vector<number> &src) const
   {
     dst = 0;
@@ -136,14 +136,14 @@ public:
   }
 
   void
-  Tvmult_add(LinearAlgebra::distributed::Vector<number> &      dst,
+  Tvmult_add(LinearAlgebra::distributed::Vector<number>       &dst,
              const LinearAlgebra::distributed::Vector<number> &src) const
   {
     vmult_add(dst, src);
   }
 
   void
-  vmult_add(LinearAlgebra::distributed::Vector<number> &      dst,
+  vmult_add(LinearAlgebra::distributed::Vector<number>       &dst,
             const LinearAlgebra::distributed::Vector<number> &src) const
   {
     Assert(src.partitioners_are_globally_compatible(
@@ -186,7 +186,7 @@ public:
 
   void
   vmult_interface_down(
-    LinearAlgebra::distributed::Vector<double> &      dst,
+    LinearAlgebra::distributed::Vector<double>       &dst,
     const LinearAlgebra::distributed::Vector<double> &src) const
   {
     Assert(src.partitioners_are_globally_compatible(
@@ -232,7 +232,7 @@ public:
 
   void
   vmult_interface_up(
-    LinearAlgebra::distributed::Vector<double> &      dst,
+    LinearAlgebra::distributed::Vector<double>       &dst,
     const LinearAlgebra::distributed::Vector<double> &src) const
   {
     Assert(src.partitioners_are_globally_compatible(
@@ -313,8 +313,8 @@ public:
 
 private:
   void
-  local_apply(const MatrixFree<dim, number> &                   data,
-              LinearAlgebra::distributed::Vector<number> &      dst,
+  local_apply(const MatrixFree<dim, number>                    &data,
+              LinearAlgebra::distributed::Vector<number>       &dst,
               const LinearAlgebra::distributed::Vector<number> &src,
               const std::pair<unsigned int, unsigned int> &cell_range) const
   {
@@ -364,7 +364,7 @@ private:
 
   void
   local_diagonal_cell(
-    const MatrixFree<dim, number> &             data,
+    const MatrixFree<dim, number>              &data,
     LinearAlgebra::distributed::Vector<number> &dst,
     const unsigned int &,
     const std::pair<unsigned int, unsigned int> &cell_range) const
@@ -413,14 +413,14 @@ public:
   }
 
   void
-  vmult(LinearAlgebra::distributed::Vector<double> &      dst,
+  vmult(LinearAlgebra::distributed::Vector<double>       &dst,
         const LinearAlgebra::distributed::Vector<double> &src) const
   {
     laplace->vmult_interface_down(dst, src);
   }
 
   void
-  Tvmult(LinearAlgebra::distributed::Vector<double> &      dst,
+  Tvmult(LinearAlgebra::distributed::Vector<double>       &dst,
          const LinearAlgebra::distributed::Vector<double> &src) const
   {
     laplace->vmult_interface_up(dst, src);
@@ -448,7 +448,7 @@ public:
 
   virtual void
   operator()(const unsigned int                                level,
-             LinearAlgebra::distributed::Vector<double> &      dst,
+             LinearAlgebra::distributed::Vector<double>       &dst,
              const LinearAlgebra::distributed::Vector<double> &src) const
   {
     ReductionControl solver_control(1e4, 1e-50, 1e-10);
@@ -471,7 +471,8 @@ do_test(const DoFHandler<dim> &dof)
       deallog.push("float");
     }
   else
-    {}
+    {
+    }
 
   deallog << "Testing " << dof.get_fe().get_name();
   deallog << std::endl;
index 3ae1c09498cb22223212fc10ae500530b387031a..27702a52e54c521131f99a5ff32f2ac74ada04f3 100644 (file)
@@ -69,7 +69,7 @@ public:
 
   virtual void
   operator()(const unsigned int                                level,
-             LinearAlgebra::distributed::Vector<double> &      dst,
+             LinearAlgebra::distributed::Vector<double>       &dst,
              const LinearAlgebra::distributed::Vector<double> &src) const
   {
     ReductionControl solver_control(1e4, 1e-50, 1e-10);
@@ -92,7 +92,8 @@ do_test(const DoFHandler<dim> &dof)
       deallog.push("float");
     }
   else
-    {}
+    {
+    }
 
   deallog << "Testing " << dof.get_fe().get_name();
   deallog << std::endl;
index 3bef0b0a02403e719cc5e088d72b6744615b2e39..a0aeb74fdee8346eced0855d5b44175e488c7e16 100644 (file)
@@ -64,11 +64,11 @@ public:
 
 
   void
-  initialize(const Mapping<dim> &     mapping,
-             const DoFHandler<dim> &  dof_handler,
+  initialize(const Mapping<dim>      &mapping,
+             const DoFHandler<dim>   &dof_handler,
              const MGConstrainedDoFs &mg_constrained_dofs,
              const std::map<types::boundary_id, const Function<dim> *>
-               &                dirichlet_boundary,
+                               &dirichlet_boundary,
              const unsigned int level,
              const bool         threaded)
   {
@@ -127,7 +127,7 @@ public:
   }
 
   void
-  vmult(LinearAlgebra::distributed::Vector<number> &      dst,
+  vmult(LinearAlgebra::distributed::Vector<number>       &dst,
         const LinearAlgebra::distributed::Vector<number> &src) const
   {
     dst = 0;
@@ -135,7 +135,7 @@ public:
   }
 
   void
-  Tvmult(LinearAlgebra::distributed::Vector<number> &      dst,
+  Tvmult(LinearAlgebra::distributed::Vector<number>       &dst,
          const LinearAlgebra::distributed::Vector<number> &src) const
   {
     dst = 0;
@@ -143,14 +143,14 @@ public:
   }
 
   void
-  Tvmult_add(LinearAlgebra::distributed::Vector<number> &      dst,
+  Tvmult_add(LinearAlgebra::distributed::Vector<number>       &dst,
              const LinearAlgebra::distributed::Vector<number> &src) const
   {
     vmult_add(dst, src);
   }
 
   void
-  vmult_add(LinearAlgebra::distributed::Vector<number> &      dst,
+  vmult_add(LinearAlgebra::distributed::Vector<number>       &dst,
             const LinearAlgebra::distributed::Vector<number> &src) const
   {
     Assert(src.partitioners_are_globally_compatible(
@@ -193,7 +193,7 @@ public:
 
   void
   vmult_interface_down(
-    LinearAlgebra::distributed::Vector<number> &      dst,
+    LinearAlgebra::distributed::Vector<number>       &dst,
     const LinearAlgebra::distributed::Vector<number> &src) const
   {
     Assert(src.partitioners_are_globally_compatible(
@@ -239,7 +239,7 @@ public:
 
   void
   vmult_interface_up(
-    LinearAlgebra::distributed::Vector<number> &      dst,
+    LinearAlgebra::distributed::Vector<number>       &dst,
     const LinearAlgebra::distributed::Vector<number> &src) const
   {
     Assert(src.partitioners_are_globally_compatible(
@@ -320,8 +320,8 @@ public:
 
 private:
   void
-  local_apply(const MatrixFree<dim, number> &                   data,
-              LinearAlgebra::distributed::Vector<number> &      dst,
+  local_apply(const MatrixFree<dim, number>                    &data,
+              LinearAlgebra::distributed::Vector<number>       &dst,
               const LinearAlgebra::distributed::Vector<number> &src,
               const std::pair<unsigned int, unsigned int> &cell_range) const
   {
@@ -371,7 +371,7 @@ private:
 
   void
   local_diagonal_cell(
-    const MatrixFree<dim, number> &             data,
+    const MatrixFree<dim, number>              &data,
     LinearAlgebra::distributed::Vector<number> &dst,
     const unsigned int &,
     const std::pair<unsigned int, unsigned int> &cell_range) const
@@ -460,7 +460,7 @@ public:
 
   virtual void
   operator()(const unsigned int                                level,
-             LinearAlgebra::distributed::Vector<Number> &      dst,
+             LinearAlgebra::distributed::Vector<Number>       &dst,
              const LinearAlgebra::distributed::Vector<Number> &src) const
   {
     ReductionControl solver_control(1e4, 1e-50, 1e-10);
index b275ce1ab566c301515dff02c53bb256ed958b9e..7f2a078e5d2109af7c42abd8cc7bf65c311c8a09 100644 (file)
@@ -69,7 +69,7 @@ public:
 
   virtual void
   operator()(const unsigned int                                level,
-             LinearAlgebra::distributed::Vector<double> &      dst,
+             LinearAlgebra::distributed::Vector<double>       &dst,
              const LinearAlgebra::distributed::Vector<double> &src) const
   {
     ReductionControl solver_control(1e4, 1e-50, 1e-10);
@@ -92,7 +92,8 @@ do_test(const DoFHandler<dim> &dof)
       deallog.push("float");
     }
   else
-    {}
+    {
+    }
 
   deallog << "Testing " << dof.get_fe().get_name();
   deallog << std::endl;
index 86dcbaa8f6c7d4b5c9d8e41324ba1b0b9fb6381e..c1440906fe57645cfa97779664c7251ac0ec0294 100644 (file)
@@ -61,11 +61,11 @@ public:
 
 
   void
-  initialize(const Mapping<dim> &     mapping,
-             const DoFHandler<dim> &  dof_handler,
+  initialize(const Mapping<dim>      &mapping,
+             const DoFHandler<dim>   &dof_handler,
              const MGConstrainedDoFs &mg_constrained_dofs,
              const std::map<types::boundary_id, const Function<dim> *>
-               &                dirichlet_boundary,
+                               &dirichlet_boundary,
              const unsigned int level,
              const bool         threaded)
   {
@@ -124,7 +124,7 @@ public:
   }
 
   void
-  vmult(LinearAlgebra::distributed::Vector<number> &      dst,
+  vmult(LinearAlgebra::distributed::Vector<number>       &dst,
         const LinearAlgebra::distributed::Vector<number> &src) const
   {
     dst = 0;
@@ -132,7 +132,7 @@ public:
   }
 
   void
-  Tvmult(LinearAlgebra::distributed::Vector<number> &      dst,
+  Tvmult(LinearAlgebra::distributed::Vector<number>       &dst,
          const LinearAlgebra::distributed::Vector<number> &src) const
   {
     dst = 0;
@@ -140,14 +140,14 @@ public:
   }
 
   void
-  Tvmult_add(LinearAlgebra::distributed::Vector<number> &      dst,
+  Tvmult_add(LinearAlgebra::distributed::Vector<number>       &dst,
              const LinearAlgebra::distributed::Vector<number> &src) const
   {
     vmult_add(dst, src);
   }
 
   void
-  vmult_add(LinearAlgebra::distributed::Vector<number> &      dst,
+  vmult_add(LinearAlgebra::distributed::Vector<number>       &dst,
             const LinearAlgebra::distributed::Vector<number> &src) const
   {
     Assert(src.partitioners_are_globally_compatible(
@@ -190,7 +190,7 @@ public:
 
   void
   vmult_interface_down(
-    LinearAlgebra::distributed::Vector<number> &      dst,
+    LinearAlgebra::distributed::Vector<number>       &dst,
     const LinearAlgebra::distributed::Vector<number> &src) const
   {
     Assert(src.partitioners_are_globally_compatible(
@@ -236,7 +236,7 @@ public:
 
   void
   vmult_interface_up(
-    LinearAlgebra::distributed::Vector<number> &      dst,
+    LinearAlgebra::distributed::Vector<number>       &dst,
     const LinearAlgebra::distributed::Vector<number> &src) const
   {
     Assert(src.partitioners_are_globally_compatible(
@@ -317,8 +317,8 @@ public:
 
 private:
   void
-  local_apply(const MatrixFree<dim, number> &                   data,
-              LinearAlgebra::distributed::Vector<number> &      dst,
+  local_apply(const MatrixFree<dim, number>                    &data,
+              LinearAlgebra::distributed::Vector<number>       &dst,
               const LinearAlgebra::distributed::Vector<number> &src,
               const std::pair<unsigned int, unsigned int> &cell_range) const
   {
@@ -368,7 +368,7 @@ private:
 
   void
   local_diagonal_cell(
-    const MatrixFree<dim, number> &             data,
+    const MatrixFree<dim, number>              &data,
     LinearAlgebra::distributed::Vector<number> &dst,
     const unsigned int &,
     const std::pair<unsigned int, unsigned int> &cell_range) const
@@ -457,7 +457,7 @@ public:
 
   virtual void
   operator()(const unsigned int                                level,
-             LinearAlgebra::distributed::Vector<Number> &      dst,
+             LinearAlgebra::distributed::Vector<Number>       &dst,
              const LinearAlgebra::distributed::Vector<Number> &src) const
   {
     ReductionControl solver_control(1e4, 1e-50, 1e-10);
index 5e79a694863a7efe020b49387c80824f104a6b48..a8f0c1120c1dd8c096872947635ecc06878530b6 100644 (file)
@@ -143,7 +143,7 @@ public:
   }
 
   void
-  precondition_Jacobi(BlockVectorType &      dst,
+  precondition_Jacobi(BlockVectorType       &dst,
                       const BlockVectorType &src,
                       const value_type       omega) const
   {
@@ -191,7 +191,7 @@ public:
 
   virtual void
   operator()(const unsigned int                                     level,
-             LinearAlgebra::distributed::BlockVector<Number> &      dst,
+             LinearAlgebra::distributed::BlockVector<Number>       &dst,
              const LinearAlgebra::distributed::BlockVector<Number> &src) const
   {
     ReductionControl solver_control(1e4, 1e-50, 1e-10);
@@ -214,7 +214,8 @@ do_test(const DoFHandler<dim> &dof, const unsigned int nb)
       deallog.push("float");
     }
   else
-    {}
+    {
+    }
 
   deallog << "Testing " << dof.get_fe().get_name();
   deallog << std::endl;
index 8915d65f94a25e22ce2a8c9d53501d8f98cad455..0b84c0af4d6d5028a3e73e77c3e436bc7f1987ac 100644 (file)
@@ -70,7 +70,7 @@ public:
 
   virtual void
   operator()(const unsigned int                                level,
-             LinearAlgebra::distributed::Vector<double> &      dst,
+             LinearAlgebra::distributed::Vector<double>       &dst,
              const LinearAlgebra::distributed::Vector<double> &src) const
   {
     ReductionControl solver_control(1e4, 1e-50, 1e-10);
@@ -93,7 +93,8 @@ do_test(const DoFHandler<dim> &dof)
       deallog.push("float");
     }
   else
-    {}
+    {
+    }
 
   deallog << "Testing " << dof.get_fe().get_name();
   deallog << std::endl;
index 60913f47ed7ee724cd8bbac17723f3f9c24e29fc..e19da14eb4d971d7b2d8197f1c13c67c924c9414 100644 (file)
@@ -144,7 +144,7 @@ public:
   }
 
   void
-  precondition_Jacobi(BlockVectorType &      dst,
+  precondition_Jacobi(BlockVectorType       &dst,
                       const BlockVectorType &src,
                       const value_type       omega) const
   {
@@ -200,7 +200,7 @@ public:
 
   virtual void
   operator()(const unsigned int                                     level,
-             LinearAlgebra::distributed::BlockVector<Number> &      dst,
+             LinearAlgebra::distributed::BlockVector<Number>       &dst,
              const LinearAlgebra::distributed::BlockVector<Number> &src) const
   {
     ReductionControl solver_control(1e4, 1e-50, 1e-10);
@@ -228,7 +228,8 @@ do_test(const std::vector<const DoFHandler<dim> *> &dof)
       deallog.push("float");
     }
   else
-    {}
+    {
+    }
 
   for (unsigned int i = 0; i < dof.size(); ++i)
     {
index 39d4afd56cf29e60175f6155f0425541a888f2bc..b4de021bf90bce96ead166e71ca91718be40a343 100644 (file)
@@ -71,7 +71,7 @@ class MyLaplaceOperator : public MatrixFreeOperators::LaplaceOperator<
 public:
   void
   initialize(std::shared_ptr<const MatrixFree<dim, Number>> data,
-             const MGConstrainedDoFs &                      mg_constrained_dofs,
+             const MGConstrainedDoFs                       &mg_constrained_dofs,
              const unsigned int                             level)
   {
     MatrixFreeOperators::Base<dim, LinearAlgebra::distributed::Vector<Number>>::
@@ -95,7 +95,7 @@ public:
 
   void
   initialize(std::shared_ptr<const MatrixFree<dim, Number>> data,
-             const std::vector<unsigned int> &              mask = {})
+             const std::vector<unsigned int>               &mask = {})
   {
     MatrixFreeOperators::Base<dim, LinearAlgebra::distributed::Vector<Number>>::
       initialize(data, mask);
@@ -103,7 +103,7 @@ public:
 
 
   void
-  vmult(LinearAlgebra::distributed::Vector<Number> &      dst,
+  vmult(LinearAlgebra::distributed::Vector<Number>       &dst,
         const LinearAlgebra::distributed::Vector<Number> &src) const
   {
     adjust_ghost_range_if_necessary(src);
@@ -135,8 +135,8 @@ public:
 
 private:
   void
-  local_apply(const MatrixFree<dim, Number> &                   data,
-              LinearAlgebra::distributed::Vector<Number> &      dst,
+  local_apply(const MatrixFree<dim, Number>                    &data,
+              LinearAlgebra::distributed::Vector<Number>       &dst,
               const LinearAlgebra::distributed::Vector<Number> &src,
               const std::pair<unsigned int, unsigned int> &cell_range) const
   {
@@ -195,7 +195,7 @@ public:
 
   virtual void
   operator()(const unsigned int                                level,
-             LinearAlgebra::distributed::Vector<Number> &      dst,
+             LinearAlgebra::distributed::Vector<Number>       &dst,
              const LinearAlgebra::distributed::Vector<Number> &src) const
   {
     ReductionControl solver_control(1e4, 1e-50, 1e-10);
index c9f48979fe228e5a156e2ff0039567c00cf03d0d..24add073bca0419c5eeea5cad332645c23315bd4 100644 (file)
@@ -66,8 +66,8 @@ public:
   LaplaceOperator(){};
 
   void
-  initialize(const Mapping<dim> &                mapping,
-             const DoFHandler<dim> &             dof_handler,
+  initialize(const Mapping<dim>                 &mapping,
+             const DoFHandler<dim>              &dof_handler,
              const std::set<types::boundary_id> &dirichlet_boundaries,
              const unsigned int level = numbers::invalid_unsigned_int)
   {
@@ -127,7 +127,7 @@ public:
   }
 
   void
-  vmult(LinearAlgebra::distributed::Vector<number> &      dst,
+  vmult(LinearAlgebra::distributed::Vector<number>       &dst,
         const LinearAlgebra::distributed::Vector<number> &src) const
   {
     dst = 0;
@@ -135,7 +135,7 @@ public:
   }
 
   void
-  Tvmult(LinearAlgebra::distributed::Vector<number> &      dst,
+  Tvmult(LinearAlgebra::distributed::Vector<number>       &dst,
          const LinearAlgebra::distributed::Vector<number> &src) const
   {
     dst = 0;
@@ -143,14 +143,14 @@ public:
   }
 
   void
-  Tvmult_add(LinearAlgebra::distributed::Vector<number> &      dst,
+  Tvmult_add(LinearAlgebra::distributed::Vector<number>       &dst,
              const LinearAlgebra::distributed::Vector<number> &src) const
   {
     vmult_add(dst, src);
   }
 
   void
-  vmult_add(LinearAlgebra::distributed::Vector<number> &      dst,
+  vmult_add(LinearAlgebra::distributed::Vector<number>       &dst,
             const LinearAlgebra::distributed::Vector<number> &src) const
   {
     data.cell_loop(&LaplaceOperator::local_apply, this, dst, src);
@@ -210,8 +210,8 @@ public:
 
 private:
   void
-  local_apply(const MatrixFree<dim, number> &                   data,
-              LinearAlgebra::distributed::Vector<number> &      dst,
+  local_apply(const MatrixFree<dim, number>                    &data,
+              LinearAlgebra::distributed::Vector<number>       &dst,
               const LinearAlgebra::distributed::Vector<number> &src,
               const std::pair<unsigned int, unsigned int> &cell_range) const
   {
@@ -250,7 +250,7 @@ private:
 
   void
   local_diagonal_cell(
-    const MatrixFree<dim, number> &             data,
+    const MatrixFree<dim, number>              &data,
     LinearAlgebra::distributed::Vector<number> &dst,
     const unsigned int &,
     const std::pair<unsigned int, unsigned int> &cell_range) const
@@ -301,7 +301,7 @@ public:
 
   virtual void
   operator()(const unsigned int                                level,
-             LinearAlgebra::distributed::Vector<Number> &      dst,
+             LinearAlgebra::distributed::Vector<Number>       &dst,
              const LinearAlgebra::distributed::Vector<Number> &src) const
   {
     ReductionControl solver_control(1e4, 1e-50, 1e-10);
index b8de2d3c4f889cd3c97ea4e3833cf67e6ec84544..769bffcc8798186e2099acc69997f9fa7fe4e4fa 100644 (file)
@@ -71,8 +71,8 @@ public:
   }
 
   void
-  initialize(const Mapping<dim> &                mapping,
-             const DoFHandler<dim> &             dof_handler,
+  initialize(const Mapping<dim>                 &mapping,
+             const DoFHandler<dim>              &dof_handler,
              const std::set<types::boundary_id> &dirichlet_boundaries,
              const unsigned int level = numbers::invalid_unsigned_int)
   {
@@ -133,7 +133,7 @@ public:
   }
 
   void
-  vmult(LinearAlgebra::distributed::Vector<number> &      dst,
+  vmult(LinearAlgebra::distributed::Vector<number>       &dst,
         const LinearAlgebra::distributed::Vector<number> &src) const
   {
     data.cell_loop(&LaplaceOperator::local_apply, this, dst, src, true);
@@ -142,7 +142,7 @@ public:
   }
 
   void
-  vmult(LinearAlgebra::distributed::Vector<number> &      dst,
+  vmult(LinearAlgebra::distributed::Vector<number>       &dst,
         const LinearAlgebra::distributed::Vector<number> &src,
         const std::function<void(const unsigned int, const unsigned int)>
           &operation_before_loop,
@@ -159,14 +159,14 @@ public:
   }
 
   void
-  Tvmult(LinearAlgebra::distributed::Vector<number> &      dst,
+  Tvmult(LinearAlgebra::distributed::Vector<number>       &dst,
          const LinearAlgebra::distributed::Vector<number> &src) const
   {
     vmult(dst, src);
   }
 
   void
-  vmult_add(LinearAlgebra::distributed::Vector<number> &      dst,
+  vmult_add(LinearAlgebra::distributed::Vector<number>       &dst,
             const LinearAlgebra::distributed::Vector<number> &src) const
   {
     data.cell_loop(&LaplaceOperator::local_apply, this, dst, src);
@@ -175,7 +175,7 @@ public:
   }
 
   void
-  Tvmult_add(LinearAlgebra::distributed::Vector<number> &      dst,
+  Tvmult_add(LinearAlgebra::distributed::Vector<number>       &dst,
              const LinearAlgebra::distributed::Vector<number> &src) const
   {
     vmult_add(dst, src);
@@ -229,8 +229,8 @@ public:
 
 private:
   void
-  local_apply(const MatrixFree<dim, number> &                   data,
-              LinearAlgebra::distributed::Vector<number> &      dst,
+  local_apply(const MatrixFree<dim, number>                    &data,
+              LinearAlgebra::distributed::Vector<number>       &dst,
               const LinearAlgebra::distributed::Vector<number> &src,
               const std::pair<unsigned int, unsigned int> &cell_range) const
   {
@@ -269,7 +269,7 @@ private:
 
   void
   local_diagonal_cell(
-    const MatrixFree<dim, number> &             data,
+    const MatrixFree<dim, number>              &data,
     LinearAlgebra::distributed::Vector<number> &dst,
     const unsigned int &,
     const std::pair<unsigned int, unsigned int> &cell_range) const
index dbf5f7e1229181afb00094c5de435db3ad078a8d..34f4b988042424f033e3ca1f056aa01c89fab179 100644 (file)
@@ -72,8 +72,8 @@ public:
   }
 
   void
-  initialize(const Mapping<dim> &                mapping,
-             DoFHandler<dim> &                   dof_handler,
+  initialize(const Mapping<dim>                 &mapping,
+             DoFHandler<dim>                    &dof_handler,
              const std::set<types::boundary_id> &dirichlet_boundaries,
              const unsigned int level = numbers::invalid_unsigned_int)
   {
@@ -174,7 +174,7 @@ public:
   }
 
   void
-  vmult(LinearAlgebra::distributed::Vector<number> &      dst,
+  vmult(LinearAlgebra::distributed::Vector<number>       &dst,
         const LinearAlgebra::distributed::Vector<number> &src) const
   {
     data.cell_loop(&LaplaceOperator::local_apply, this, dst, src, true);
@@ -183,7 +183,7 @@ public:
   }
 
   void
-  vmult(LinearAlgebra::distributed::Vector<number> &      dst,
+  vmult(LinearAlgebra::distributed::Vector<number>       &dst,
         const LinearAlgebra::distributed::Vector<number> &src,
         const std::function<void(const unsigned int, const unsigned int)>
           &operation_before_loop,
@@ -200,14 +200,14 @@ public:
   }
 
   void
-  Tvmult(LinearAlgebra::distributed::Vector<number> &      dst,
+  Tvmult(LinearAlgebra::distributed::Vector<number>       &dst,
          const LinearAlgebra::distributed::Vector<number> &src) const
   {
     vmult(dst, src);
   }
 
   void
-  vmult_add(LinearAlgebra::distributed::Vector<number> &      dst,
+  vmult_add(LinearAlgebra::distributed::Vector<number>       &dst,
             const LinearAlgebra::distributed::Vector<number> &src) const
   {
     data.cell_loop(&LaplaceOperator::local_apply, this, dst, src);
@@ -216,7 +216,7 @@ public:
   }
 
   void
-  Tvmult_add(LinearAlgebra::distributed::Vector<number> &      dst,
+  Tvmult_add(LinearAlgebra::distributed::Vector<number>       &dst,
              const LinearAlgebra::distributed::Vector<number> &src) const
   {
     vmult_add(dst, src);
@@ -270,8 +270,8 @@ public:
 
 private:
   void
-  local_apply(const MatrixFree<dim, number> &                   data,
-              LinearAlgebra::distributed::Vector<number> &      dst,
+  local_apply(const MatrixFree<dim, number>                    &data,
+              LinearAlgebra::distributed::Vector<number>       &dst,
               const LinearAlgebra::distributed::Vector<number> &src,
               const std::pair<unsigned int, unsigned int> &cell_range) const
   {
@@ -310,7 +310,7 @@ private:
 
   void
   local_diagonal_cell(
-    const MatrixFree<dim, number> &             data,
+    const MatrixFree<dim, number>              &data,
     LinearAlgebra::distributed::Vector<number> &dst,
     const unsigned int &,
     const std::pair<unsigned int, unsigned int> &cell_range) const
index f5aca044baab6f4e0c0f38b675cd4e0f21420ce1..3cecbcc9fcb39bfdd952738c8c26d5c9034bbd3f 100644 (file)
@@ -61,8 +61,8 @@ public:
   LaplaceOperator(){};
 
   void
-  initialize(const Mapping<dim> &                mapping,
-             const DoFHandler<dim> &             dof_handler,
+  initialize(const Mapping<dim>                 &mapping,
+             const DoFHandler<dim>              &dof_handler,
              const std::set<types::boundary_id> &dirichlet_boundaries,
              const unsigned int level = numbers::invalid_unsigned_int)
   {
@@ -122,7 +122,7 @@ public:
   }
 
   void
-  vmult(LinearAlgebra::distributed::Vector<number> &      dst,
+  vmult(LinearAlgebra::distributed::Vector<number>       &dst,
         const LinearAlgebra::distributed::Vector<number> &src) const
   {
     dst = 0;
@@ -130,7 +130,7 @@ public:
   }
 
   void
-  Tvmult(LinearAlgebra::distributed::Vector<number> &      dst,
+  Tvmult(LinearAlgebra::distributed::Vector<number>       &dst,
          const LinearAlgebra::distributed::Vector<number> &src) const
   {
     dst = 0;
@@ -138,14 +138,14 @@ public:
   }
 
   void
-  Tvmult_add(LinearAlgebra::distributed::Vector<number> &      dst,
+  Tvmult_add(LinearAlgebra::distributed::Vector<number>       &dst,
              const LinearAlgebra::distributed::Vector<number> &src) const
   {
     vmult_add(dst, src);
   }
 
   void
-  vmult_add(LinearAlgebra::distributed::Vector<number> &      dst,
+  vmult_add(LinearAlgebra::distributed::Vector<number>       &dst,
             const LinearAlgebra::distributed::Vector<number> &src) const
   {
     data.cell_loop(&LaplaceOperator::local_apply, this, dst, src);
@@ -205,8 +205,8 @@ public:
 
 private:
   void
-  local_apply(const MatrixFree<dim, number> &                   data,
-              LinearAlgebra::distributed::Vector<number> &      dst,
+  local_apply(const MatrixFree<dim, number>                    &data,
+              LinearAlgebra::distributed::Vector<number>       &dst,
               const LinearAlgebra::distributed::Vector<number> &src,
               const std::pair<unsigned int, unsigned int> &cell_range) const
   {
@@ -245,7 +245,7 @@ private:
 
   void
   local_diagonal_cell(
-    const MatrixFree<dim, number> &             data,
+    const MatrixFree<dim, number>              &data,
     LinearAlgebra::distributed::Vector<number> &dst,
     const unsigned int &,
     const std::pair<unsigned int, unsigned int> &cell_range) const
@@ -296,7 +296,7 @@ public:
 
   virtual void
   operator()(const unsigned int                                level,
-             LinearAlgebra::distributed::Vector<Number> &      dst,
+             LinearAlgebra::distributed::Vector<Number>       &dst,
              const LinearAlgebra::distributed::Vector<Number> &src) const
   {
     ReductionControl solver_control(1e4, 1e-50, 1e-10);
index 718fb06dd6a8d50e0e66a63fe596fd950600167a..0628037a826fce30be2dc46f90633f54075c70dd 100644 (file)
@@ -68,7 +68,7 @@ public:
 
   virtual void
   operator()(const unsigned int                                level,
-             LinearAlgebra::distributed::Vector<Number> &      dst,
+             LinearAlgebra::distributed::Vector<Number>       &dst,
              const LinearAlgebra::distributed::Vector<Number> &src) const
   {
     ReductionControl solver_control(1e4, 1e-50, 1e-10);
index f93b536c515a50fb21a73746a3000576f29283fb..bddb6bfe284b8a69d87a581edeaa5feb94581cac 100644 (file)
@@ -162,7 +162,7 @@ private:
 
   void
   dummy_operation_1(const MatrixFree<dim, Number, VectorizedArrayType> &,
-                    VectorType &      dst,
+                    VectorType       &dst,
                     const VectorType &src,
                     const std::pair<unsigned int, unsigned int> &) const
   {
index 622e1e7889371c163bce889e6fc11c98fd4da4e7..3ac86a4ccf8d5705ccd869a16ee888e26d95becc 100644 (file)
@@ -58,17 +58,17 @@ void
 generate_grid(Triangulation<3> &triangulation, int orientation)
 {
   Point<3>              vertices_1[] = {Point<3>(-0., -0., -0.),
-                           Point<3>(+1., -0., -0.),
-                           Point<3>(-0., +1., -0.),
-                           Point<3>(+1., +1., -0.),
-                           Point<3>(-0., -0., +0.5),
-                           Point<3>(+1., -0., +0.5),
-                           Point<3>(-0., +1., +0.5),
-                           Point<3>(+1., +1., +0.5),
-                           Point<3>(-0., -0., +1.),
-                           Point<3>(+1., -0., +1.),
-                           Point<3>(-0., +1., +1.),
-                           Point<3>(+1., +1., +1.)};
+                                        Point<3>(+1., -0., -0.),
+                                        Point<3>(-0., +1., -0.),
+                                        Point<3>(+1., +1., -0.),
+                                        Point<3>(-0., -0., +0.5),
+                                        Point<3>(+1., -0., +0.5),
+                                        Point<3>(-0., +1., +0.5),
+                                        Point<3>(+1., +1., +0.5),
+                                        Point<3>(-0., -0., +1.),
+                                        Point<3>(+1., -0., +1.),
+                                        Point<3>(-0., +1., +1.),
+                                        Point<3>(+1., +1., +1.)};
   std::vector<Point<3>> vertices(&vertices_1[0], &vertices_1[12]);
 
   std::vector<CellData<3>> cells(2, CellData<3>());
index c50d20b85b00eebab09af98457d6d6cccca90bdb..bd6a71f1bb6937bd284d4e98f2203c3156036ac5 100644 (file)
@@ -57,17 +57,17 @@ void
 generate_grid(Triangulation<3> &triangulation, int orientation)
 {
   Point<3>              vertices_1[] = {Point<3>(-0., -0., -0.),
-                           Point<3>(+1., -0., -0.),
-                           Point<3>(-0., +1., -0.),
-                           Point<3>(+1., +1., -0.),
-                           Point<3>(-0., -0., +0.5),
-                           Point<3>(+1., -0., +0.5),
-                           Point<3>(-0., +1., +0.5),
-                           Point<3>(+1., +1., +0.5),
-                           Point<3>(-0., -0., +1.),
-                           Point<3>(+1., -0., +1.),
-                           Point<3>(-0., +1., +1.),
-                           Point<3>(+1., +1., +1.)};
+                                        Point<3>(+1., -0., -0.),
+                                        Point<3>(-0., +1., -0.),
+                                        Point<3>(+1., +1., -0.),
+                                        Point<3>(-0., -0., +0.5),
+                                        Point<3>(+1., -0., +0.5),
+                                        Point<3>(-0., +1., +0.5),
+                                        Point<3>(+1., +1., +0.5),
+                                        Point<3>(-0., -0., +1.),
+                                        Point<3>(+1., -0., +1.),
+                                        Point<3>(-0., +1., +1.),
+                                        Point<3>(+1., +1., +1.)};
   std::vector<Point<3>> vertices(&vertices_1[0], &vertices_1[12]);
 
   std::vector<CellData<3>> cells(2, CellData<3>());
index baa2a10a9ea49e31d5779bef304892a7dc5d2c10..4d55716f34e584fb7666ac494cb100a51fe0b9dd 100644 (file)
@@ -265,8 +265,8 @@ test(const unsigned int degree)
 
   const auto solve_and_postprocess =
     [&](const auto &poisson_operator,
-        auto &      x,
-        auto &      b) -> std::pair<unsigned int, double> {
+        auto       &x,
+        auto       &b) -> std::pair<unsigned int, double> {
     ReductionControl reduction_control(2000, 1e-7, 1e-2);
     SolverCG<std::remove_reference_t<decltype(x)>> solver(reduction_control);
 
index 5dedb0c4b92b5dde0facec776d94f19f69d8dced..e9a146b88da921a0b8352031bb388a7312977491 100644 (file)
@@ -54,7 +54,7 @@ public:
   {}
 
   void
-  vmult(LinearAlgebra::distributed::Vector<Number> &      dst,
+  vmult(LinearAlgebra::distributed::Vector<Number>       &dst,
         const LinearAlgebra::distributed::Vector<Number> &src) const
   {
     const std::function<void(const MatrixFree<dim, Number> &,
index d56227566bc7a72af467a3f507ba27e0b23b64de..d762500194dcf0191c5ffd4e420bfbdda578db96 100644 (file)
@@ -56,7 +56,7 @@ public:
   {}
 
   void
-  vmult(LinearAlgebra::distributed::Vector<Number> &      dst,
+  vmult(LinearAlgebra::distributed::Vector<Number>       &dst,
         const LinearAlgebra::distributed::Vector<Number> &src) const
   {
     const std::function<void(const MatrixFree<dim, Number> &,
index 0ff08392774ff579a73c5ee9d7514f7f893ebafd..c85bfd50bbfc5d1b30d651849e80cac48b167793 100644 (file)
@@ -56,7 +56,7 @@ public:
   {}
 
   void
-  vmult(LinearAlgebra::distributed::Vector<Number> &      dst,
+  vmult(LinearAlgebra::distributed::Vector<Number>       &dst,
         const LinearAlgebra::distributed::Vector<Number> &src) const
   {
     const std::function<void(const MatrixFree<dim, Number> &,
index 124599d3ede8a39acc67f2d83849d1933dad0826..0ccaff39e802fc810568075ddca43e27fffd7580 100644 (file)
@@ -56,7 +56,7 @@ public:
   {}
 
   void
-  vmult(LinearAlgebra::distributed::Vector<Number> &      dst,
+  vmult(LinearAlgebra::distributed::Vector<Number>       &dst,
         const LinearAlgebra::distributed::Vector<Number> &src) const
   {
     dst = 0;
@@ -113,9 +113,9 @@ private:
 
   void
   local_apply(const MatrixFree<dim, Number> &,
-              LinearAlgebra::distributed::Vector<Number> &      dst,
+              LinearAlgebra::distributed::Vector<Number>       &dst,
               const LinearAlgebra::distributed::Vector<Number> &src,
-              const std::pair<unsigned int, unsigned int> &     range) const
+              const std::pair<unsigned int, unsigned int>      &range) const
   {
     helmholtz_operator<dim,
                        fe_degree,
index d2a1ed0a2149f3d31569ec346ce6073be3c54d54..da9ebf556f1b7779de25cbacf5f83aed9bf01ba4 100644 (file)
@@ -56,7 +56,7 @@ public:
   {}
 
   void
-  vmult(LinearAlgebra::distributed::Vector<Number> &      dst,
+  vmult(LinearAlgebra::distributed::Vector<Number>       &dst,
         const LinearAlgebra::distributed::Vector<Number> &src) const
   {
     dst = 0;
@@ -115,9 +115,9 @@ private:
 
   void
   local_apply(const MatrixFree<dim, Number> &,
-              LinearAlgebra::distributed::Vector<Number> &      dst,
+              LinearAlgebra::distributed::Vector<Number>       &dst,
               const LinearAlgebra::distributed::Vector<Number> &src,
-              const std::pair<unsigned int, unsigned int> &     range) const
+              const std::pair<unsigned int, unsigned int>      &range) const
   {
     FEEvaluation<dim, fe_degree, n_q_points_1d, 1, Number> fe_eval(data, 1);
 
index f7b2c248d670c824a122d867c1188fb3a8bc83e2..336e5fa0dbc198d06a2d721e506b49d84af1b564 100644 (file)
@@ -55,7 +55,7 @@ public:
   {}
 
   void
-  vmult(LinearAlgebra::distributed::Vector<Number> &      dst,
+  vmult(LinearAlgebra::distributed::Vector<Number>       &dst,
         const LinearAlgebra::distributed::Vector<Number> &src) const
   {
     const std::function<void(const MatrixFree<dim, Number> &,
index 3faf76e803c81013db1ee294ef7927c9df468204..f7371dc2881b5667a692138da7e4f5276c97f94b 100644 (file)
@@ -66,7 +66,7 @@ public:
                     const std::pair<unsigned int, unsigned int> &) {};
 
   void
-  vmult(LinearAlgebra::distributed::Vector<Number> &      dst,
+  vmult(LinearAlgebra::distributed::Vector<Number>       &dst,
         const LinearAlgebra::distributed::Vector<Number> &src) const
   {
     const std::function<void(const MatrixFree<dim, Number> &,
index fb47a5668bd9431973f7aaf60acdd4ceb7eb0bc5..b155c49f419332478945746434d0052d894f464b 100644 (file)
@@ -60,10 +60,10 @@ public:
              const std::pair<unsigned int, unsigned int> &) const {};
 
   void
-  do_boundary(const MatrixFree<dim, Number> &                   mf,
-              LinearAlgebra::distributed::Vector<Number> &      dst,
+  do_boundary(const MatrixFree<dim, Number>                    &mf,
+              LinearAlgebra::distributed::Vector<Number>       &dst,
               const LinearAlgebra::distributed::Vector<Number> &src,
-              const std::pair<unsigned int, unsigned int> &     range) const
+              const std::pair<unsigned int, unsigned int>      &range) const
   {
     using FEFaceIntegrator = FEFaceEvaluation<dim, -1, 0, 1, Number>;
     FEFaceIntegrator eval(mf, true);
@@ -81,10 +81,10 @@ public:
   };
 
   void
-  do_faces(const MatrixFree<dim, Number> &                   mf,
-           LinearAlgebra::distributed::Vector<Number> &      dst,
+  do_faces(const MatrixFree<dim, Number>                    &mf,
+           LinearAlgebra::distributed::Vector<Number>       &dst,
            const LinearAlgebra::distributed::Vector<Number> &src,
-           const std::pair<unsigned int, unsigned int> &     range) const
+           const std::pair<unsigned int, unsigned int>      &range) const
   {
     using FEFaceIntegrator = FEFaceEvaluation<dim, -1, 0, 1, Number>;
     FEFaceIntegrator eval(mf, true);
@@ -103,7 +103,7 @@ public:
 
   void
   vmult_pre_post_op_only(
-    LinearAlgebra::distributed::Vector<Number> &      dst,
+    LinearAlgebra::distributed::Vector<Number>       &dst,
     const LinearAlgebra::distributed::Vector<Number> &src) const
   {
     data.loop(
index e5a0c0a65b0f9d6eb4e02d73d9585ebaa9684f50..986d4f8401a301eea167cf60dd3a4a4b14b9caae 100644 (file)
@@ -36,8 +36,8 @@
 template <int dim>
 void
 test(const FiniteElement<dim> &fe,
-     const Quadrature<1> &     quad,
-     const std::string &       quadrature_name)
+     const Quadrature<1>      &quad,
+     const std::string        &quadrature_name)
 {
   internal::MatrixFreeFunctions::ShapeInfo<double> shape_info;
   shape_info.reinit(quad, fe, 0);
index 636a2c53c0a173af7ab2e01138064e31dd2315f9..df403f88628d2702010c43cf415b63c1d551fef7 100644 (file)
@@ -90,7 +90,7 @@ public:
   }
 
   void
-  vmult(VectorType &      dst,
+  vmult(VectorType       &dst,
         const VectorType &src,
         const std::function<void(const unsigned int, const unsigned int)>
           &operation_before_loop,
@@ -126,7 +126,7 @@ struct MyDiagonalMatrix
   {}
 
   void
-  vmult(LinearAlgebra::distributed::Vector<Number> &      dst,
+  vmult(LinearAlgebra::distributed::Vector<Number>       &dst,
         const LinearAlgebra::distributed::Vector<Number> &src) const
   {
     dst = src;
@@ -147,7 +147,7 @@ struct DiagonalMatrixSubrange
   {}
 
   void
-  vmult(LinearAlgebra::distributed::Vector<Number> &      dst,
+  vmult(LinearAlgebra::distributed::Vector<Number>       &dst,
         const LinearAlgebra::distributed::Vector<Number> &src) const
   {
     dst = src;
@@ -157,14 +157,14 @@ struct DiagonalMatrixSubrange
   void
   apply_to_subrange(const unsigned int begin_range,
                     const unsigned int end_range,
-                    const Number *     src_pointer_to_current_range,
-                    Number *           dst_pointer_to_current_range) const
+                    const Number      *src_pointer_to_current_range,
+                    Number            *dst_pointer_to_current_range) const
   {
     AssertIndexRange(begin_range,
                      vec.locally_owned_elements().n_elements() + 1);
     AssertIndexRange(end_range, vec.locally_owned_elements().n_elements() + 1);
 
-    const Number *     diagonal_entry = vec.begin() + begin_range;
+    const Number      *diagonal_entry = vec.begin() + begin_range;
     const unsigned int length         = end_range - begin_range;
 
     DEAL_II_OPENMP_SIMD_PRAGMA
index d12fd0f88a93c9e6b7d27755cb49503d13902d48..a33f058ab1eecd45fa4fca7fe215fd396f0adaa2 100644 (file)
@@ -131,7 +131,7 @@ namespace Step37
 
   template <int dim>
   double
-  Coefficient<dim>::value(const Point<dim> p,
+  Coefficient<dim>::value(const Point<dim>  &p,
                           const unsigned int component) const
   {
     return value<double>(p, component);
@@ -166,20 +166,20 @@ namespace Step37
   private:
     virtual void
     apply_add(
-      LinearAlgebra::distributed::Vector<number> &      dst,
+      LinearAlgebra::distributed::Vector<number>       &dst,
       const LinearAlgebra::distributed::Vector<number> &src) const override;
 
     void
-    local_apply(const MatrixFree<dim, number> &                   data,
-                LinearAlgebra::distributed::Vector<number> &      dst,
+    local_apply(const MatrixFree<dim, number>                    &data,
+                LinearAlgebra::distributed::Vector<number>       &dst,
                 const LinearAlgebra::distributed::Vector<number> &src,
                 const std::pair<unsigned int, unsigned int> &cell_range) const;
 
     void
     local_compute_diagonal(
-      const MatrixFree<dim, number> &              data,
-      LinearAlgebra::distributed::Vector<number> dst,
-      const unsigned int &                         dummy,
+      const MatrixFree<dim, number>               &data,
+      LinearAlgebra::distributed::Vector<number>  &dst,
+      const unsigned int                          &dummy,
       const std::pair<unsigned int, unsigned int> &cell_range) const;
 
     Table<2, VectorizedArray<number>> coefficient;
@@ -229,10 +229,10 @@ namespace Step37
   template <int dim, int fe_degree, typename number>
   void
   LaplaceOperator<dim, fe_degree, number>::local_apply(
-    const MatrixFree<dim, number> &                   data,
-    LinearAlgebra::distributed::Vector<number> &      dst,
+    const MatrixFree<dim, number>                    &data,
+    LinearAlgebra::distributed::Vector<number>       &dst,
     const LinearAlgebra::distributed::Vector<number> &src,
-    const std::pair<unsigned int, unsigned int> &     cell_range) const
+    const std::pair<unsigned int, unsigned int>      &cell_range) const
   {
     FEEvaluation<dim, fe_degree, fe_degree + 1, 1, number> phi(data);
 
@@ -256,7 +256,7 @@ namespace Step37
   template <int dim, int fe_degree, typename number>
   void
   LaplaceOperator<dim, fe_degree, number>::apply_add(
-    LinearAlgebra::distributed::Vector<number> &      dst,
+    LinearAlgebra::distributed::Vector<number>       &dst,
     const LinearAlgebra::distributed::Vector<number> &src) const
   {
     this->data->cell_loop(&LaplaceOperator::local_apply, this, dst, src);
@@ -296,7 +296,7 @@ namespace Step37
   template <int dim, int fe_degree, typename number>
   void
   LaplaceOperator<dim, fe_degree, number>::local_compute_diagonal(
-    const MatrixFree<dim, number> &             data,
+    const MatrixFree<dim, number>              &data,
     LinearAlgebra::distributed::Vector<number> &dst,
     const unsigned int &,
     const std::pair<unsigned int, unsigned int> &cell_range) const
index e967c7b032042f932f6e23e2f280b0e0158fcc86..6367d2e9ce117657092df89cc96c97f7f07a58d7 100644 (file)
@@ -74,7 +74,7 @@ namespace Step37
 
     virtual void
     value_list(const std::vector<Point<dim>> &points,
-               std::vector<double> &          values,
+               std::vector<double>           &values,
                const unsigned int             component = 0) const;
   };
 
@@ -93,7 +93,7 @@ namespace Step37
 
   template <int dim>
   double
-  Coefficient<dim>::value(const Point<dim> p,
+  Coefficient<dim>::value(const Point<dim>  &p,
                           const unsigned int component) const
   {
     return value<double>(p, component);
@@ -104,7 +104,7 @@ namespace Step37
   template <int dim>
   void
   Coefficient<dim>::value_list(const std::vector<Point<dim>> &points,
-                               std::vector<double> &          values,
+                               std::vector<double>           &values,
                                const unsigned int             component) const
   {
     Assert(values.size() == points.size(),
@@ -128,7 +128,7 @@ namespace Step37
     clear();
 
     void
-    reinit(const DoFHandler<dim> &          dof_handler,
+    reinit(const DoFHandler<dim>           &dof_handler,
            const AffineConstraints<number> &constraints,
            const unsigned int level = numbers::invalid_unsigned_int);
 
@@ -153,9 +153,9 @@ namespace Step37
 
   private:
     void
-    local_apply(const MatrixFree<dim, number> &              data,
-                Vector<double> &                             dst,
-                const Vector<double> &                       src,
+    local_apply(const MatrixFree<dim, number>               &data,
+                Vector<double>                              &dst,
+                const Vector<double>                        &src,
                 const std::pair<unsigned int, unsigned int> &cell_range) const;
 
     void
@@ -209,7 +209,7 @@ namespace Step37
   template <int dim, int fe_degree, typename number>
   void
   LaplaceOperator<dim, fe_degree, number>::reinit(
-    const DoFHandler<dim> &          dof_handler,
+    const DoFHandler<dim>           &dof_handler,
     const AffineConstraints<number> &constraints,
     const unsigned int               level)
   {
@@ -251,9 +251,9 @@ namespace Step37
   template <int dim, int fe_degree, typename number>
   void
   LaplaceOperator<dim, fe_degree, number>::local_apply(
-    const MatrixFree<dim, number> &              data,
-    Vector<double> &                             dst,
-    const Vector<double> &                       src,
+    const MatrixFree<dim, number>               &data,
+    Vector<double>                              &dst,
+    const Vector<double>                        &src,
     const std::pair<unsigned int, unsigned int> &cell_range) const
   {
     FEEvaluation<dim, fe_degree, fe_degree + 1, 1, number> phi(data);
@@ -278,7 +278,7 @@ namespace Step37
   template <int dim, int fe_degree, typename number>
   void
   LaplaceOperator<dim, fe_degree, number>::vmult(
-    Vector<double> &      dst,
+    Vector<double>       &dst,
     const Vector<double> &src) const
   {
     dst = 0;
@@ -290,7 +290,7 @@ namespace Step37
   template <int dim, int fe_degree, typename number>
   void
   LaplaceOperator<dim, fe_degree, number>::Tvmult(
-    Vector<double> &      dst,
+    Vector<double>       &dst,
     const Vector<double> &src) const
   {
     dst = 0;
@@ -302,7 +302,7 @@ namespace Step37
   template <int dim, int fe_degree, typename number>
   void
   LaplaceOperator<dim, fe_degree, number>::Tvmult_add(
-    Vector<double> &      dst,
+    Vector<double>       &dst,
     const Vector<double> &src) const
   {
     vmult_add(dst, src);
@@ -313,7 +313,7 @@ namespace Step37
   template <int dim, int fe_degree, typename number>
   void
   LaplaceOperator<dim, fe_degree, number>::vmult_add(
-    Vector<double> &      dst,
+    Vector<double>       &dst,
     const Vector<double> &src) const
   {
     data.cell_loop(&LaplaceOperator::local_apply, this, dst, src);
index acf7669b3a92cc8188aa66dda399409cf93430bd..d61996a510f22cf067df5f1ca0cd18619c8d3692 100644 (file)
@@ -64,19 +64,19 @@ namespace Step48
                         const double                   time_step);
 
     void
-    apply(LinearAlgebra::distributed::Vector<double> &                     dst,
+    apply(LinearAlgebra::distributed::Vector<double>                      &dst,
           const std::vector<LinearAlgebra::distributed::Vector<double> *> &src)
       const;
 
   private:
-    const MatrixFree<dim, double> &            data;
+    const MatrixFree<dim, double>             &data;
     const VectorizedArray<double>              delta_t_sqr;
     LinearAlgebra::distributed::Vector<double> inv_mass_matrix;
 
     void
     local_apply(
-      const MatrixFree<dim, double> &                                  data,
-      LinearAlgebra::distributed::Vector<double> &                     dst,
+      const MatrixFree<dim, double>                                   &data,
+      LinearAlgebra::distributed::Vector<double>                      &dst,
       const std::vector<LinearAlgebra::distributed::Vector<double> *> &src,
       const std::pair<unsigned int, unsigned int> &cell_range) const;
   };
@@ -120,8 +120,8 @@ namespace Step48
   template <int dim>
   void
   SineGordonOperation<dim>::local_apply(
-    const MatrixFree<dim> &                                          data,
-    LinearAlgebra::distributed::Vector<double> &                     dst,
+    const MatrixFree<dim>                                           &data,
+    LinearAlgebra::distributed::Vector<double>                      &dst,
     const std::vector<LinearAlgebra::distributed::Vector<double> *> &src,
     const std::pair<unsigned int, unsigned int> &cell_range) const
   {
@@ -159,7 +159,7 @@ namespace Step48
   template <int dim>
   void
   SineGordonOperation<dim>::apply(
-    LinearAlgebra::distributed::Vector<double> &                     dst,
+    LinearAlgebra::distributed::Vector<double>                      &dst,
     const std::vector<LinearAlgebra::distributed::Vector<double> *> &src) const
   {
     dst = 0;
index 8aa31a0c663d682a046b906cc17d7b78ee6e9436..5a21efb4f629c8daadeb21be243619a69316e4ec 100644 (file)
@@ -58,19 +58,19 @@ namespace Step48
                         const double                   time_step);
 
     void
-    apply(LinearAlgebra::distributed::Vector<double> &                     dst,
+    apply(LinearAlgebra::distributed::Vector<double>                      &dst,
           const std::vector<LinearAlgebra::distributed::Vector<double> *> &src)
       const;
 
   private:
-    const MatrixFree<dim, double> &            data;
+    const MatrixFree<dim, double>             &data;
     const VectorizedArray<double>              delta_t_sqr;
     LinearAlgebra::distributed::Vector<double> inv_mass_matrix;
 
     void
     local_apply(
-      const MatrixFree<dim, double> &                                  data,
-      LinearAlgebra::distributed::Vector<double> &                     dst,
+      const MatrixFree<dim, double>                                   &data,
+      LinearAlgebra::distributed::Vector<double>                      &dst,
       const std::vector<LinearAlgebra::distributed::Vector<double> *> &src,
       const std::pair<unsigned int, unsigned int> &cell_range) const;
   };
@@ -114,8 +114,8 @@ namespace Step48
   template <int dim>
   void
   SineGordonOperation<dim>::local_apply(
-    const MatrixFree<dim> &                                          data,
-    LinearAlgebra::distributed::Vector<double> &                     dst,
+    const MatrixFree<dim>                                           &data,
+    LinearAlgebra::distributed::Vector<double>                      &dst,
     const std::vector<LinearAlgebra::distributed::Vector<double> *> &src,
     const std::pair<unsigned int, unsigned int> &cell_range) const
   {
@@ -167,7 +167,7 @@ namespace Step48
   template <int dim>
   void
   SineGordonOperation<dim>::apply(
-    LinearAlgebra::distributed::Vector<double> &                     dst,
+    LinearAlgebra::distributed::Vector<double>                      &dst,
     const std::vector<LinearAlgebra::distributed::Vector<double> *> &src) const
   {
     dst = 0;
index 9e749cce500fb0a2842a126b1da35afcefac4e45..8794f3df2a84be16e1f2f8bc2a3ad85858ddf7bd 100644 (file)
@@ -64,19 +64,19 @@ namespace Step48
                         const double                   time_step);
 
     void
-    apply(LinearAlgebra::distributed::Vector<double> &                     dst,
+    apply(LinearAlgebra::distributed::Vector<double>                      &dst,
           const std::vector<LinearAlgebra::distributed::Vector<double> *> &src)
       const;
 
   private:
-    const MatrixFree<dim, double> &            data;
+    const MatrixFree<dim, double>             &data;
     const VectorizedArray<double>              delta_t_sqr;
     LinearAlgebra::distributed::Vector<double> inv_mass_matrix;
 
     void
     local_apply(
-      const MatrixFree<dim, double> &                                  data,
-      LinearAlgebra::distributed::Vector<double> &                     dst,
+      const MatrixFree<dim, double>                                   &data,
+      LinearAlgebra::distributed::Vector<double>                      &dst,
       const std::vector<LinearAlgebra::distributed::Vector<double> *> &src,
       const std::pair<unsigned int, unsigned int> &cell_range) const;
   };
@@ -120,8 +120,8 @@ namespace Step48
   template <int dim>
   void
   SineGordonOperation<dim>::local_apply(
-    const MatrixFree<dim> &                                          data,
-    LinearAlgebra::distributed::Vector<double> &                     dst,
+    const MatrixFree<dim>                                           &data,
+    LinearAlgebra::distributed::Vector<double>                      &dst,
     const std::vector<LinearAlgebra::distributed::Vector<double> *> &src,
     const std::pair<unsigned int, unsigned int> &cell_range) const
   {
@@ -157,7 +157,7 @@ namespace Step48
   template <int dim>
   void
   SineGordonOperation<dim>::apply(
-    LinearAlgebra::distributed::Vector<double> &                     dst,
+    LinearAlgebra::distributed::Vector<double>                      &dst,
     const std::vector<LinearAlgebra::distributed::Vector<double> *> &src) const
   {
     dst = 0;
index 203f8c98143cd097d908a6329f7d86e767d887b6..f6cf098152075d88ff523e547ceec6ccd46d4e0b 100644 (file)
@@ -108,9 +108,9 @@ namespace StokesClass
        *     the inverse of the S block (Schur complement matrix).
        **/
       BlockSchurPreconditioner(const StokesMatrixType &S,
-                               const MassMatrixType &  Mass,
+                               const MassMatrixType   &Mass,
                                const PreconditionerMp &Mppreconditioner,
-                               const PreconditionerA Apreconditioner,
+                               const PreconditionerA  &Apreconditioner,
                                const bool              do_solve_A,
                                const double            A_block_tolerance,
                                const double            S_block_tolerance);
@@ -119,7 +119,7 @@ namespace StokesClass
        * Matrix vector product with this preconditioner object.
        */
       void
-      vmult(LinearAlgebra::distributed::BlockVector<double> &      dst,
+      vmult(LinearAlgebra::distributed::BlockVector<double>       &dst,
             const LinearAlgebra::distributed::BlockVector<double> &src) const;
 
       unsigned int
@@ -132,9 +132,9 @@ namespace StokesClass
        * References to the various matrix object this preconditioner works on.
        */
       const StokesMatrixType &stokes_matrix;
-      const MassMatrixType &  mass_matrix;
+      const MassMatrixType   &mass_matrix;
       const PreconditionerMp &mp_preconditioner;
-      const PreconditionerA a_preconditioner;
+      const PreconditionerA  &a_preconditioner;
 
       /**
        * Whether to actually invert the $\tilde A$ part of the preconditioner
@@ -157,9 +157,9 @@ namespace StokesClass
                              PreconditionerA,
                              PreconditionerMp>::
       BlockSchurPreconditioner(const StokesMatrixType &S,
-                               const MassMatrixType &  Mass,
+                               const MassMatrixType   &Mass,
                                const PreconditionerMp &Mppreconditioner,
-                               const PreconditionerA Apreconditioner,
+                               const PreconditionerA  &Apreconditioner,
                                const bool              do_solve_A,
                                const double            A_block_tolerance,
                                const double            S_block_tolerance)
@@ -209,7 +209,7 @@ namespace StokesClass
                              MassMatrixType,
                              PreconditionerA,
                              PreconditionerMp>::
-      vmult(LinearAlgebra::distributed::BlockVector<double> &      dst,
+      vmult(LinearAlgebra::distributed::BlockVector<double>       &dst,
             const LinearAlgebra::distributed::BlockVector<double> &src) const
     {
       LinearAlgebra::distributed::BlockVector<double> utmp(src);
@@ -303,7 +303,7 @@ namespace StokesClass
     value(const Point<dim> &p, const unsigned int component = 0) const;
     virtual void
     value_list(const std::vector<Point<dim>> &points,
-               std::vector<double> &          values,
+               std::vector<double>           &values,
                const unsigned int             component = 0) const;
 
     Sinker<dim> sinker;
@@ -331,7 +331,7 @@ namespace StokesClass
   template <int dim>
   void
   Viscosity<dim>::value_list(const std::vector<Point<dim>> &points,
-                             std::vector<double> &          values,
+                             std::vector<double>           &values,
                              const unsigned int             component) const
   {
     Assert(values.size() == points.size(),
@@ -359,7 +359,7 @@ namespace StokesClass
   template <int dim>
   void
   RightHandSide<dim>::vector_value(const Point<dim> &p,
-                                   Vector<double> &  values) const
+                                   Vector<double>   &values) const
   {
     double Chi = 1.0;
     for (unsigned int s = 0; s < sinker.n_sinkers; ++s)
@@ -421,7 +421,7 @@ namespace StokesClass
   void
   ExactSolution_BoundaryValues_u<dim>::vector_value(
     const Point<dim> &p,
-    Vector<double> &  values) const
+    Vector<double>   &values) const
   {
     (void)p;
     for (unsigned int i = 0; i < values.size(); ++i)
@@ -450,12 +450,12 @@ namespace StokesClass
 
   private:
     virtual void
-    apply_add(LinearAlgebra::distributed::BlockVector<number> &      dst,
+    apply_add(LinearAlgebra::distributed::BlockVector<number>       &dst,
               const LinearAlgebra::distributed::BlockVector<number> &src) const;
 
     void
-    local_apply(const dealii::MatrixFree<dim, number> &                data,
-                LinearAlgebra::distributed::BlockVector<number> &      dst,
+    local_apply(const dealii::MatrixFree<dim, number>                 &data,
+                LinearAlgebra::distributed::BlockVector<number>       &dst,
                 const LinearAlgebra::distributed::BlockVector<number> &src,
                 const std::pair<unsigned int, unsigned int> &cell_range) const;
 
@@ -501,10 +501,10 @@ namespace StokesClass
   template <int dim, int degree_v, typename number>
   void
   StokesOperator<dim, degree_v, number>::local_apply(
-    const dealii::MatrixFree<dim, number> &                data,
-    LinearAlgebra::distributed::BlockVector<number> &      dst,
+    const dealii::MatrixFree<dim, number>                 &data,
+    LinearAlgebra::distributed::BlockVector<number>       &dst,
     const LinearAlgebra::distributed::BlockVector<number> &src,
-    const std::pair<unsigned int, unsigned int> &          cell_range) const
+    const std::pair<unsigned int, unsigned int>           &cell_range) const
   {
     using vector_t = VectorizedArray<number>;
     FEEvaluation<dim, degree_v, degree_v + 1, dim, number>   velocity(data, 0);
@@ -544,7 +544,7 @@ namespace StokesClass
   template <int dim, int degree_v, typename number>
   void
   StokesOperator<dim, degree_v, number>::apply_add(
-    LinearAlgebra::distributed::BlockVector<number> &      dst,
+    LinearAlgebra::distributed::BlockVector<number>       &dst,
     const LinearAlgebra::distributed::BlockVector<number> &src) const
   {
     MatrixFreeOperators::
@@ -578,20 +578,20 @@ namespace StokesClass
 
   private:
     virtual void
-    apply_add(LinearAlgebra::distributed::Vector<number> &      dst,
+    apply_add(LinearAlgebra::distributed::Vector<number>       &dst,
               const LinearAlgebra::distributed::Vector<number> &src) const;
 
     void
-    local_apply(const dealii::MatrixFree<dim, number> &           data,
-                LinearAlgebra::distributed::Vector<number> &      dst,
+    local_apply(const dealii::MatrixFree<dim, number>            &data,
+                LinearAlgebra::distributed::Vector<number>       &dst,
                 const LinearAlgebra::distributed::Vector<number> &src,
                 const std::pair<unsigned int, unsigned int> &cell_range) const;
 
     void
     local_compute_diagonal(
-      const MatrixFree<dim, number> &              data,
-      LinearAlgebra::distributed::Vector<number> dst,
-      const unsigned int &                         dummy,
+      const MatrixFree<dim, number>               &data,
+      LinearAlgebra::distributed::Vector<number>  &dst,
+      const unsigned int                          &dummy,
       const std::pair<unsigned int, unsigned int> &cell_range) const;
 
     Table<2, VectorizedArray<number>> one_over_viscosity;
@@ -634,10 +634,10 @@ namespace StokesClass
   template <int dim, int degree_p, typename number>
   void
   MassMatrixOperator<dim, degree_p, number>::local_apply(
-    const dealii::MatrixFree<dim, number> &           data,
-    LinearAlgebra::distributed::Vector<number> &      dst,
+    const dealii::MatrixFree<dim, number>            &data,
+    LinearAlgebra::distributed::Vector<number>       &dst,
     const LinearAlgebra::distributed::Vector<number> &src,
-    const std::pair<unsigned int, unsigned int> &     cell_range) const
+    const std::pair<unsigned int, unsigned int>      &cell_range) const
   {
     FEEvaluation<dim, degree_p, degree_p + 2, 1, number> pressure(data);
 
@@ -660,7 +660,7 @@ namespace StokesClass
   template <int dim, int degree_p, typename number>
   void
   MassMatrixOperator<dim, degree_p, number>::apply_add(
-    LinearAlgebra::distributed::Vector<number> &      dst,
+    LinearAlgebra::distributed::Vector<number>       &dst,
     const LinearAlgebra::distributed::Vector<number> &src) const
   {
     MatrixFreeOperators::Base<dim,
@@ -705,7 +705,7 @@ namespace StokesClass
   template <int dim, int degree_p, typename number>
   void
   MassMatrixOperator<dim, degree_p, number>::local_compute_diagonal(
-    const MatrixFree<dim, number> &             data,
+    const MatrixFree<dim, number>              &data,
     LinearAlgebra::distributed::Vector<number> &dst,
     const unsigned int &,
     const std::pair<unsigned int, unsigned int> &cell_range) const
@@ -756,20 +756,20 @@ namespace StokesClass
 
   private:
     virtual void
-    apply_add(LinearAlgebra::distributed::Vector<number> &      dst,
+    apply_add(LinearAlgebra::distributed::Vector<number>       &dst,
               const LinearAlgebra::distributed::Vector<number> &src) const;
 
     void
-    local_apply(const dealii::MatrixFree<dim, number> &           data,
-                LinearAlgebra::distributed::Vector<number> &      dst,
+    local_apply(const dealii::MatrixFree<dim, number>            &data,
+                LinearAlgebra::distributed::Vector<number>       &dst,
                 const LinearAlgebra::distributed::Vector<number> &src,
                 const std::pair<unsigned int, unsigned int> &cell_range) const;
 
     void
     local_compute_diagonal(
-      const MatrixFree<dim, number> &              data,
-      LinearAlgebra::distributed::Vector<number> dst,
-      const unsigned int &                         dummy,
+      const MatrixFree<dim, number>               &data,
+      LinearAlgebra::distributed::Vector<number>  &dst,
+      const unsigned int                          &dummy,
       const std::pair<unsigned int, unsigned int> &cell_range) const;
 
     Table<2, VectorizedArray<number>> viscosity_x_2;
@@ -814,10 +814,10 @@ namespace StokesClass
   template <int dim, int degree_v, typename number>
   void
   ABlockOperator<dim, degree_v, number>::local_apply(
-    const dealii::MatrixFree<dim, number> &           data,
-    LinearAlgebra::distributed::Vector<number> &      dst,
+    const dealii::MatrixFree<dim, number>            &data,
+    LinearAlgebra::distributed::Vector<number>       &dst,
     const LinearAlgebra::distributed::Vector<number> &src,
-    const std::pair<unsigned int, unsigned int> &     cell_range) const
+    const std::pair<unsigned int, unsigned int>      &cell_range) const
   {
     FEEvaluation<dim, degree_v, degree_v + 1, dim, number> velocity(data);
 
@@ -841,7 +841,7 @@ namespace StokesClass
   template <int dim, int degree_v, typename number>
   void
   ABlockOperator<dim, degree_v, number>::apply_add(
-    LinearAlgebra::distributed::Vector<number> &      dst,
+    LinearAlgebra::distributed::Vector<number>       &dst,
     const LinearAlgebra::distributed::Vector<number> &src) const
   {
     MatrixFreeOperators::Base<dim,
@@ -877,7 +877,7 @@ namespace StokesClass
   template <int dim, int degree_v, typename number>
   void
   ABlockOperator<dim, degree_v, number>::local_compute_diagonal(
-    const MatrixFree<dim, number> &             data,
+    const MatrixFree<dim, number>              &data,
     LinearAlgebra::distributed::Vector<number> &dst,
     const unsigned int &,
     const std::pair<unsigned int, unsigned int> &cell_range) const
@@ -1279,7 +1279,7 @@ namespace StokesClass
     mg_transfer.initialize_constraints(mg_constrained_dofs);
     mg_transfer.build(dof_handler_u);
 
-    LevelMatrixType &  coarse_matrix = mg_matrices[0];
+    LevelMatrixType   &coarse_matrix = mg_matrices[0];
     SolverControl      coarse_solver_control(1000, 1e-12, false, false);
     SolverCG<vector_t> coarse_solver(coarse_solver_control);
 
index c85f45810080fe04598fa2b56bb7922700f7c568..95114a2d15f6e34cbd473f0708417a6fddc4fce1 100644 (file)
@@ -41,9 +41,9 @@ public:
     : data(data_in){};
 
   void
-  local_apply(const MatrixFree<dim, Number> &              data,
-              Vector<Number> &                             dst,
-              const Vector<Number> &                       src,
+  local_apply(const MatrixFree<dim, Number>               &data,
+              Vector<Number>                              &dst,
+              const Vector<Number>                        &src,
               const std::pair<unsigned int, unsigned int> &cell_range) const
   {
     helmholtz_operator_no_template<dim>(data, dst, src, cell_range);
index f4ce150482c68d17a258feba3612718039315bab..6ee4edd13b2e98c640807dd9edcb9c6a2101fb28 100644 (file)
@@ -44,16 +44,16 @@ public:
   TestIntegrator(){};
 
   void
-  cell(MeshWorker::DoFInfo<dim, spacedim> &                 dinfo,
+  cell(MeshWorker::DoFInfo<dim, spacedim>                  &dinfo,
        typename MeshWorker::IntegrationInfo<dim, spacedim> &info) const {};
 
   void
-  boundary(MeshWorker::DoFInfo<dim, spacedim> &                 dinfo,
+  boundary(MeshWorker::DoFInfo<dim, spacedim>                  &dinfo,
            typename MeshWorker::IntegrationInfo<dim, spacedim> &info) const {};
 
   void
-  face(MeshWorker::DoFInfo<dim, spacedim> &                 dinfo1,
-       MeshWorker::DoFInfo<dim, spacedim> &                 dinfo2,
+  face(MeshWorker::DoFInfo<dim, spacedim>                  &dinfo1,
+       MeshWorker::DoFInfo<dim, spacedim>                  &dinfo2,
        typename MeshWorker::IntegrationInfo<dim, spacedim> &info1,
        typename MeshWorker::IntegrationInfo<dim, spacedim> &info2) const {};
 };
index 5660406c081562749c7181a59258d0e2e4bdb41b..234c371f385a9e5b091c7bdb2504434266c4bfa2 100644 (file)
@@ -65,14 +65,14 @@ test()
               << std::endl;
     };
 
-  auto face_worker = [](const Iterator &    cell,
+  auto face_worker = [](const Iterator     &cell,
                         const unsigned int &f,
                         const unsigned int &sf,
-                        const Iterator &    ncell,
+                        const Iterator     &ncell,
                         const unsigned int &nf,
                         const unsigned int &nsf,
-                        ScratchData &       s,
-                        CopyData &          c) {
+                        ScratchData        &s,
+                        CopyData           &c) {
     deallog << "Face worker on : " << cell << ", Neighbor cell : " << ncell
             << ", Face : " << f << ", Neighbor Face : " << nf
             << ", Subface: " << sf << ", Neighbor Subface: " << nsf
index e13a58f03697ff2f7bb5778fcf00cb24e7b1477f..1970635fe73105b442b2521a0bbc1078e1474179 100644 (file)
@@ -67,14 +67,14 @@ test()
               << std::endl;
     };
 
-  auto face_worker = [](const Iterator &    cell,
+  auto face_worker = [](const Iterator     &cell,
                         const unsigned int &f,
                         const unsigned int &sf,
-                        const Iterator &    ncell,
+                        const Iterator     &ncell,
                         const unsigned int &nf,
                         const unsigned int &nsf,
-                        ScratchData &       s,
-                        CopyData &          c) {
+                        ScratchData        &s,
+                        CopyData           &c) {
     deallog << "Face worker on : " << cell << ", Neighbor cell : " << ncell
             << ", Face : " << f << ", Neighbor Face : " << nf
             << ", Subface: " << sf << ", Neighbor Subface: " << nsf
index 53ec554b424ee923ba505e9493dd1efd78339152..78f9621a0b258171fd81fda49e74b7299b965161 100644 (file)
@@ -76,24 +76,24 @@ test()
       c.vectors[0][0] += w;
   };
 
-  auto boundary_worker = [](const Iterator &    cell,
+  auto boundary_worker = [](const Iterator     &cell,
                             const unsigned int &f,
-                            ScratchData &       s,
-                            CopyData &          c) {
+                            ScratchData        &s,
+                            CopyData           &c) {
     const auto &fev = s.reinit(cell, f);
     const auto &JxW = s.get_JxW_values();
     for (auto w : JxW)
       c.vectors[0][1] += w;
   };
 
-  auto face_worker = [](const Iterator &    cell,
+  auto face_worker = [](const Iterator     &cell,
                         const unsigned int &f,
                         const unsigned int &sf,
-                        const Iterator &    ncell,
+                        const Iterator     &ncell,
                         const unsigned int &nf,
                         const unsigned int &nsf,
-                        ScratchData &       s,
-                        CopyData &          c) {
+                        ScratchData        &s,
+                        CopyData           &c) {
     const auto &fev  = s.reinit(cell, f, sf);
     const auto &nfev = s.reinit_neighbor(ncell, nf, nsf);
 
index 403b51d7b5b761f10ee5067c640bba0211d829a4..71a943f48fc79c3bf96968b4f37d1b757fe55742 100644 (file)
@@ -81,24 +81,24 @@ test()
       c.vectors[0][0] += w;
   };
 
-  auto boundary_worker = [](const Iterator &    cell,
+  auto boundary_worker = [](const Iterator     &cell,
                             const unsigned int &f,
-                            ScratchData &       s,
-                            CopyData &          c) {
+                            ScratchData        &s,
+                            CopyData           &c) {
     const auto &fev = s.reinit(cell, f);
     const auto &JxW = s.get_JxW_values();
     for (auto w : JxW)
       c.vectors[0][1] += w;
   };
 
-  auto face_worker = [](const Iterator &    cell,
+  auto face_worker = [](const Iterator     &cell,
                         const unsigned int &f,
                         const unsigned int &sf,
-                        const Iterator &    ncell,
+                        const Iterator     &ncell,
                         const unsigned int &nf,
                         const unsigned int &nsf,
-                        ScratchData &       s,
-                        CopyData &          c) {
+                        ScratchData        &s,
+                        CopyData           &c) {
     const auto &fev  = s.reinit(cell, f, sf);
     const auto &nfev = s.reinit_neighbor(ncell, nf, nsf);
 
index f183adc537ab99dcc998c0c9b36613d80ccb45a3..0870f08b73bb2120e421ff85cc34bded8b0f610e 100644 (file)
@@ -82,24 +82,24 @@ test(const types::material_id test_id)
       c.vectors[0][0] += w;
   };
 
-  auto boundary_worker = [](const Iterator &    cell,
+  auto boundary_worker = [](const Iterator     &cell,
                             const unsigned int &f,
-                            ScratchData &       s,
-                            CopyData &          c) {
+                            ScratchData        &s,
+                            CopyData           &c) {
     const auto &fev = s.reinit(cell, f);
     const auto &JxW = s.get_JxW_values();
     for (auto w : JxW)
       c.vectors[0][1] += w;
   };
 
-  auto face_worker = [](const Iterator &    cell,
+  auto face_worker = [](const Iterator     &cell,
                         const unsigned int &f,
                         const unsigned int &sf,
-                        const Iterator &    ncell,
+                        const Iterator     &ncell,
                         const unsigned int &nf,
                         const unsigned int &nsf,
-                        ScratchData &       s,
-                        CopyData &          c) {
+                        ScratchData        &s,
+                        CopyData           &c) {
     const auto &fev  = s.reinit(cell, f, sf);
     const auto &nfev = s.reinit_neighbor(ncell, nf, nsf);
 
index fb0fbc17bd40af804da62831a275ead6bee90752..8ac056224ddfdabd4add7e8c0dbe363e340763b6 100644 (file)
@@ -59,8 +59,8 @@ run()
     CopyData    copy(1);
 
     auto cell_worker = [](const CellIteratorType &cell,
-                          ScratchData &           scratch_data,
-                          CopyData &              copy_data) {
+                          ScratchData            &scratch_data,
+                          CopyData               &copy_data) {
       const auto &fe_values = scratch_data.reinit(cell);
 
       for (unsigned int q_point = 0; q_point < fe_values.n_quadrature_points;
@@ -107,8 +107,8 @@ run()
 
     auto boundary_worker = [](const CellIteratorType &cell,
                               const unsigned int      face,
-                              ScratchData &           scratch_data,
-                              CopyData &              copy_data) {
+                              ScratchData            &scratch_data,
+                              CopyData               &copy_data) {
       const auto &fe_face_values = scratch_data.reinit(cell, face);
 
       for (unsigned int q_point = 0;
index 0350c056ec21ebaf0c80213bca72a2847efe5d55..24dba1ae0bbf04d09d7846011f066a8bf852c40d 100644 (file)
@@ -67,14 +67,14 @@ test()
               << std::endl;
     };
 
-  auto face_worker = [](const Iterator &    cell,
+  auto face_worker = [](const Iterator     &cell,
                         const unsigned int &f,
                         const unsigned int &sf,
-                        const Iterator &    ncell,
+                        const Iterator     &ncell,
                         const unsigned int &nf,
                         const unsigned int &nsf,
-                        ScratchData &       s,
-                        CopyData &          c) {
+                        ScratchData        &s,
+                        CopyData           &c) {
     deallog << "Face worker on : " << cell << ", Neighbor cell : " << ncell
             << ", Face : " << f << ", Neighbor Face : " << nf
             << ", Subface: " << sf << ", Neighbor Subface: " << nsf
index 2d47c0df3ad150eb1e92a8f4cd2550fdc7e7d52a..7260e8180cb3a2266c2ae04df0b06bbe016b20e3 100644 (file)
@@ -78,24 +78,24 @@ test()
       c.vectors[0][0] += w * i;
   };
 
-  auto boundary_worker = [&i](const Iterator &    cell,
+  auto boundary_worker = [&i](const Iterator     &cell,
                               const unsigned int &f,
-                              ScratchData &       s,
-                              CopyData &          c) {
+                              ScratchData        &s,
+                              CopyData           &c) {
     const auto &fev = s.reinit(cell, f);
     const auto &JxW = s.get_JxW_values();
     for (auto w : JxW)
       c.vectors[0][1] += w * i;
   };
 
-  auto face_worker = [&i](const Iterator &    cell,
+  auto face_worker = [&i](const Iterator     &cell,
                           const unsigned int &f,
                           const unsigned int &sf,
-                          const Iterator &    ncell,
+                          const Iterator     &ncell,
                           const unsigned int &nf,
                           const unsigned int &nsf,
-                          ScratchData &       s,
-                          CopyData &          c) {
+                          ScratchData        &s,
+                          CopyData           &c) {
     const auto &fev  = s.reinit(cell, f, sf);
     const auto &nfev = s.reinit_neighbor(ncell, nf, nsf);
 
index b3dd027403f9970f127224349b8392051cdc3b3d..9406dddc3f03d676dbf4920c8b965d707c0c0085 100644 (file)
@@ -78,24 +78,24 @@ test()
       c.matrices[0][0][0] += w * i;
   };
 
-  auto boundary_worker = [&i](const Iterator &    cell,
+  auto boundary_worker = [&i](const Iterator     &cell,
                               const unsigned int &f,
-                              ScratchData &       s,
-                              CopyData &          c) {
+                              ScratchData        &s,
+                              CopyData           &c) {
     const auto &fev = s.reinit(cell, f);
     const auto &JxW = s.get_JxW_values();
     for (auto w : JxW)
       c.matrices[0][0][1] += w * i;
   };
 
-  auto face_worker = [&i](const Iterator &    cell,
+  auto face_worker = [&i](const Iterator     &cell,
                           const unsigned int &f,
                           const unsigned int &sf,
-                          const Iterator &    ncell,
+                          const Iterator     &ncell,
                           const unsigned int &nf,
                           const unsigned int &nsf,
-                          ScratchData &       s,
-                          CopyData &          c) {
+                          ScratchData        &s,
+                          CopyData           &c) {
     const auto &fev  = s.reinit(cell, f, sf);
     const auto &nfev = s.reinit_neighbor(ncell, nf, nsf);
 
index 63892aeb6c7448c2175cdf4928eb5c2e1a136797..5c667ad1266c9f1e376228c288471c523371f2fe 100644 (file)
@@ -96,14 +96,14 @@ test()
               << std::endl;
     };
 
-  auto face_worker = [](const Iterator &    cell,
+  auto face_worker = [](const Iterator     &cell,
                         const unsigned int &f,
                         const unsigned int &sf,
-                        const Iterator &    ncell,
+                        const Iterator     &ncell,
                         const unsigned int &nf,
                         const unsigned int &nsf,
-                        ScratchData &       s,
-                        CopyData &          c) {
+                        ScratchData        &s,
+                        CopyData           &c) {
     deallog << "Face worker on : " << cell << ", Neighbor cell : " << ncell
             << ", Face : " << f << ", Neighbor Face : " << nf
             << ", Subface: " << sf << ", Neighbor Subface: " << nsf
index 279a4e0f559c6ee79678e2fbef9a9e70f7ccb671..026c10b69e41a6dd58e9fe82b12c6f1d166487b4 100644 (file)
@@ -85,14 +85,14 @@ test()
               << std::endl;
     };
 
-  auto face_worker = [](const Iterator &    cell,
+  auto face_worker = [](const Iterator     &cell,
                         const unsigned int &f,
                         const unsigned int &sf,
-                        const Iterator &    ncell,
+                        const Iterator     &ncell,
                         const unsigned int &nf,
                         const unsigned int &nsf,
-                        ScratchData &       s,
-                        CopyData &          c) {
+                        ScratchData        &s,
+                        CopyData           &c) {
     deallog << "Face worker on : " << cell << ", Neighbor cell : " << ncell
             << ", Face : " << f << ", Neighbor Face : " << nf
             << ", Subface: " << sf << ", Neighbor Subface: " << nsf
index 744b2bade559876155eeaa798c47e27311eabce9..8dff6eb13c33cd53e8d323b97cacb7dcda41caa4 100644 (file)
@@ -76,24 +76,24 @@ test()
       c.vectors[0][0] += w;
   };
 
-  auto boundary_worker = [](const Iterator &    cell,
+  auto boundary_worker = [](const Iterator     &cell,
                             const unsigned int &f,
-                            ScratchData &       s,
-                            CopyData &          c) {
+                            ScratchData        &s,
+                            CopyData           &c) {
     const auto &fev = s.reinit(cell, f);
     const auto &JxW = s.get_JxW_values();
     for (auto w : JxW)
       c.vectors[0][1] += w;
   };
 
-  auto face_worker = [](const Iterator &    cell,
+  auto face_worker = [](const Iterator     &cell,
                         const unsigned int &f,
                         const unsigned int &sf,
-                        const Iterator &    ncell,
+                        const Iterator     &ncell,
                         const unsigned int &nf,
                         const unsigned int &nsf,
-                        ScratchData &       s,
-                        CopyData &          c) {
+                        ScratchData        &s,
+                        CopyData           &c) {
     const auto &fev  = s.reinit(cell, f, sf);
     const auto &nfev = s.reinit_neighbor(ncell, nf, nsf);
 
index ea7bb98a66e6b859309b0a6704300648ca5c9d9e..02e5683a61d1090c4d6f48e895b01a76015c7125 100644 (file)
@@ -100,24 +100,24 @@ test()
       c.vectors[0][0] += w;
   };
 
-  auto boundary_worker = [](const Iterator &    cell,
+  auto boundary_worker = [](const Iterator     &cell,
                             const unsigned int &f,
-                            ScratchData &       s,
-                            CopyData &          c) {
+                            ScratchData        &s,
+                            CopyData           &c) {
     const auto &fev = s.reinit(cell, f);
     const auto &JxW = s.get_JxW_values();
     for (auto w : JxW)
       c.vectors[0][1] += w;
   };
 
-  auto face_worker = [](const Iterator &    cell,
+  auto face_worker = [](const Iterator     &cell,
                         const unsigned int &f,
                         const unsigned int &sf,
-                        const Iterator &    ncell,
+                        const Iterator     &ncell,
                         const unsigned int &nf,
                         const unsigned int &nsf,
-                        ScratchData &       s,
-                        CopyData &          c) {
+                        ScratchData        &s,
+                        CopyData           &c) {
     const auto &fev  = s.reinit(cell, f, sf);
     const auto &nfev = s.reinit_neighbor(ncell, nf, nsf);
 
index 6342a058b6209159a9378ccfcbf41a38acb4c223..e44782255b10467435e589b7d342ac57cf315c42 100644 (file)
@@ -131,10 +131,10 @@ test()
           }
     };
 
-  auto boundary_worker = [gamma, &boundary_function](const Iterator &    cell,
+  auto boundary_worker = [gamma, &boundary_function](const Iterator     &cell,
                                                      const unsigned int &f,
-                                                     ScratchData &       s,
-                                                     CopyData &          c) {
+                                                     ScratchData        &s,
+                                                     CopyData           &c) {
     const auto &fev = s.reinit(cell, f);
     const auto &JxW = s.get_JxW_values();
     const auto &p   = s.get_quadrature_points();
@@ -160,14 +160,14 @@ test()
         }
   };
 
-  auto face_worker = [gamma](const Iterator &    cell,
+  auto face_worker = [gamma](const Iterator     &cell,
                              const unsigned int &f,
                              const unsigned int &sf,
-                             const Iterator &    ncell,
+                             const Iterator     &ncell,
                              const unsigned int &nf,
                              const unsigned int &nsf,
-                             ScratchData &       s,
-                             CopyData &          c) {
+                             ScratchData        &s,
+                             CopyData           &c) {
     const auto &fev  = s.reinit(cell, f, sf);
     const auto &JxW  = s.get_JxW_values();
     const auto &nfev = s.reinit_neighbor(ncell, nf, nsf);
index 34989752d55da07c50c847108a7de82c7a9dcaab..f0cbc1b23f652bfb305f2bdd616fa8ddb82b7e6e 100644 (file)
@@ -154,10 +154,10 @@ test()
           }
     };
 
-  auto boundary_worker = [gamma, &boundary_function](const Iterator &    cell,
+  auto boundary_worker = [gamma, &boundary_function](const Iterator     &cell,
                                                      const unsigned int &f,
-                                                     ScratchData &       s,
-                                                     CopyData &          c) {
+                                                     ScratchData        &s,
+                                                     CopyData           &c) {
     const auto &fev = s.reinit(cell, f);
     const auto &JxW = s.get_JxW_values();
     const auto &p   = s.get_quadrature_points();
@@ -183,14 +183,14 @@ test()
         }
   };
 
-  auto face_worker = [gamma](const Iterator &    cell,
+  auto face_worker = [gamma](const Iterator     &cell,
                              const unsigned int &f,
                              const unsigned int &sf,
-                             const Iterator &    ncell,
+                             const Iterator     &ncell,
                              const unsigned int &nf,
                              const unsigned int &nsf,
-                             ScratchData &       s,
-                             CopyData &          c) {
+                             ScratchData        &s,
+                             CopyData           &c) {
     const auto &fev  = s.reinit(cell, ncell, f, sf);
     const auto &JxW  = s.get_JxW_values();
     const auto &nfev = s.reinit_neighbor(cell, ncell, nf, nsf);
index d180de424471a07a435cc01f942f84b7578ec5a3..f845606db9a2fb27136a80e5aa1bfc9b2f5fbd36 100644 (file)
@@ -93,8 +93,8 @@ test()
 
 
   auto cell_integrator = [&H1_norm, &solution, &scalar](const Iterator &cell,
-                                                        ScratchData &   s,
-                                                        CopyData &      c) {
+                                                        ScratchData    &s,
+                                                        CopyData       &c) {
     const auto &fev = s.reinit(cell);
     const auto &JxW = s.get_JxW_values();
 
index f2420d66ce23ecb4d061d3d4a607494926a6d3ce..0060a199a35d6ec70a632c999c224a0cad3fe026 100644 (file)
@@ -117,8 +117,8 @@ test()
   FEValuesExtractors::Scalar scalar(0);
 
   auto cell_worker = [&rhs_function, &solution, &scalar](const Iterator &cell,
-                                                         ScratchData &   s,
-                                                         CopyData &      c) {
+                                                         ScratchData    &s,
+                                                         CopyData       &c) {
     const auto &fev = s.reinit(cell);
     const auto &JxW = s.get_JxW_values();
     const auto &p   = s.get_quadrature_points();
index dfbfd41e48990506b31efb0386c9990ceb4706ea..881e301e9f3785c588d2dd38b8fbb30187378e3a 100644 (file)
@@ -118,8 +118,8 @@ test()
   FEValuesExtractors::Scalar scalar(0);
 
   auto cell_worker = [&rhs_function, &solution, &scalar](const Iterator &cell,
-                                                         ScratchData &   s,
-                                                         CopyData &      c) {
+                                                         ScratchData    &s,
+                                                         CopyData       &c) {
     const auto &fev = s.reinit(cell);
     const auto &JxW = s.get_JxW_values();
     const auto &p   = s.get_quadrature_points();
index 1e33f9f915e35420b47e859f1d0d13beaa130dfb..f8bc52f40691ae8927b9619aa571a86dbc9576ee 100644 (file)
@@ -119,8 +119,8 @@ test()
   FEValuesExtractors::Scalar scalar(0);
 
   auto cell_worker = [&rhs_function, &solution, &scalar](const Iterator &cell,
-                                                         ScratchData &   s,
-                                                         CopyData &      c) {
+                                                         ScratchData    &s,
+                                                         CopyData       &c) {
     const auto &fev = s.reinit(cell);
     const auto &JxW = s.get_JxW_values();
     const auto &p   = s.get_quadrature_points();
index 09b17d7577957487b23e034f968b0b0755027414..2d907cd3f06e36ef02c7873668d8188c7a70c159 100644 (file)
@@ -152,10 +152,10 @@ test()
           }
     };
 
-  auto boundary_worker = [gamma, &boundary_function](const Iterator &    cell,
+  auto boundary_worker = [gamma, &boundary_function](const Iterator     &cell,
                                                      const unsigned int &f,
-                                                     ScratchData &       s,
-                                                     CopyData &          c) {
+                                                     ScratchData        &s,
+                                                     CopyData           &c) {
     const auto &fev = s.reinit(cell, f);
     const auto &JxW = s.get_JxW_values();
     const auto &p   = s.get_quadrature_points();
@@ -181,14 +181,14 @@ test()
         }
   };
 
-  auto face_worker = [gamma](const Iterator &    cell,
+  auto face_worker = [gamma](const Iterator     &cell,
                              const unsigned int &f,
                              const unsigned int &sf,
-                             const Iterator &    ncell,
+                             const Iterator     &ncell,
                              const unsigned int &nf,
                              const unsigned int &nsf,
-                             ScratchData &       s,
-                             CopyData &          c) {
+                             ScratchData        &s,
+                             CopyData           &c) {
     const auto &fev = s.reinit(cell, f, sf, ncell, nf, nsf);
     const auto &JxW = s.get_JxW_values();
 
index dc3d029981eecc5f33a12fcbc4cf051f2c8f5413..89853cfbb498f575b6fb3a1fd38c6f717d69eeee 100644 (file)
@@ -173,7 +173,7 @@ namespace Step11
   template <int dim>
   struct ScratchData
   {
-    ScratchData(const Mapping<dim> &      mapping,
+    ScratchData(const Mapping<dim>       &mapping,
                 const FiniteElement<dim> &fe,
                 const unsigned int        quadrature_degree)
       : fe_values(mapping,
@@ -219,9 +219,9 @@ namespace Step11
   {
     using Iterator = decltype(dof_handler.begin_active());
 
-    auto cell_worker = [](const Iterator &  cell,
+    auto cell_worker = [](const Iterator   &cell,
                           ScratchData<dim> &scratch_data,
-                          CopyData &        copy_data) {
+                          CopyData         &copy_data) {
       const unsigned int dofs_per_cell =
         scratch_data.fe_values.get_fe().dofs_per_cell;
       const unsigned int n_q_points =
@@ -257,10 +257,10 @@ namespace Step11
           }
     };
 
-    auto boundary_worker = [](const Iterator &    cell,
+    auto boundary_worker = [](const Iterator     &cell,
                               const unsigned int &face_no,
-                              ScratchData<dim> &  scratch_data,
-                              CopyData &          copy_data) {
+                              ScratchData<dim>   &scratch_data,
+                              CopyData           &copy_data) {
       const unsigned int dofs_per_cell =
         scratch_data.fe_values.get_fe().dofs_per_cell;
       const unsigned int n_face_q_points =
index 214544a06cc809544496d8e80a74f150921f6ca6..b112127e14eb0092dff5d3be8ee6a6e4a427ea56 100644 (file)
@@ -127,8 +127,8 @@ namespace Step50
     template <class IteratorType>
     void
     assemble_cell(const IteratorType &cell,
-                  ScratchData<dim> &  scratch_data,
-                  CopyData &          copy_data);
+                  ScratchData<dim>   &scratch_data,
+                  CopyData           &copy_data);
 
     void
     assemble_system_and_multigrid();
@@ -173,7 +173,7 @@ namespace Step50
 
     virtual void
     value_list(const std::vector<Point<dim>> &points,
-               std::vector<double> &          values,
+               std::vector<double>           &values,
                const unsigned int             component = 0) const;
   };
 
@@ -194,7 +194,7 @@ namespace Step50
   template <int dim>
   void
   Coefficient<dim>::value_list(const std::vector<Point<dim>> &points,
-                               std::vector<double> &          values,
+                               std::vector<double>           &values,
                                const unsigned int             component) const
   {
     (void)component;
@@ -309,8 +309,8 @@ namespace Step50
   template <class IteratorType>
   void
   LaplaceProblem<dim>::assemble_cell(const IteratorType &cell,
-                                     ScratchData<dim> &  scratch_data,
-                                     CopyData &          copy_data)
+                                     ScratchData<dim>   &scratch_data,
+                                     CopyData           &copy_data)
   {
     const unsigned int level = cell->level();
     copy_data.level          = level;
@@ -376,14 +376,14 @@ namespace Step50
 
     auto cell_worker_active =
       [&](const decltype(mg_dof_handler.begin_active()) &cell,
-          ScratchData<dim> &                             scratch_data,
-          CopyData &                                     copy_data) {
+          ScratchData<dim>                              &scratch_data,
+          CopyData                                      &copy_data) {
         this->assemble_cell(cell, scratch_data, copy_data);
       };
 
     auto cell_worker_mg = [&](const decltype(mg_dof_handler.begin_mg()) &cell,
                               ScratchData<dim> &scratch_data,
-                              CopyData &        copy_data) {
+                              CopyData         &copy_data) {
       this->assemble_cell(cell, scratch_data, copy_data);
     };
 
index 38e9ddf6b9d121b6b663ee6249ed92d6608aec1c..cdc8d6d2fedf34d7fcadad9e14780a5c2d968b6e 100644 (file)
@@ -36,7 +36,7 @@ template <int dim>
 std::vector<char>
 pack_function(
   const typename parallel::distributed::Triangulation<dim, dim>::cell_iterator
-    &              cell,
+                  &cell,
   const CellStatus status)
 {
   static int some_number = 0;
@@ -66,7 +66,7 @@ template <int dim>
 void
 unpack_function(
   const typename parallel::distributed::Triangulation<dim, dim>::cell_iterator
-    &                                                             cell,
+                                                                 &cell,
   const CellStatus                                                status,
   const boost::iterator_range<std::vector<char>::const_iterator> &data_range)
 {
index 55ca370c3e5518417b93884c7b191fc3efd2320c..4e2b74cc5a31199907c66b10cfcfa4e9a9b6d21d 100644 (file)
@@ -37,7 +37,7 @@ template <int dim>
 std::vector<char>
 pack_function(
   const typename parallel::distributed::Triangulation<dim, dim>::cell_iterator
-    &              cell,
+                  &cell,
   const CellStatus status)
 {
   static unsigned int       some_number = 1;
@@ -82,7 +82,7 @@ template <int dim>
 void
 unpack_function(
   const typename parallel::distributed::Triangulation<dim, dim>::cell_iterator
-    &                                                             cell,
+                                                                 &cell,
   const CellStatus                                                status,
   const boost::iterator_range<std::vector<char>::const_iterator> &data_range)
 {
index bc88b2a41e4cbf059a453da6ad5d7b3a9316836d..464beea297dc1cc0e194764524a3108df1dcfd2b 100644 (file)
@@ -36,7 +36,7 @@
 template <int dim, int spacedim>
 void
 write_vtk(const parallel::distributed::Triangulation<dim, spacedim> &tria,
-          const char *                                               filename)
+          const char                                                *filename)
 {
   AssertThrow(tria.are_vertices_communicated_to_p4est(),
               ExcMessage("To use this function the flag "
index 924b0afcde61c55c2b67130fa2618ebbb31cd08c..5ccf4340be30f4ff343efbe099c3d38203fc641e 100644 (file)
@@ -64,9 +64,9 @@ namespace LinearAdvectionTest
     void
     calculate_flux_terms(
       const TriaActiveIterator<DoFCellAccessor<dim, dim, false>> &current_cell,
-      FEFaceValues<dim> &                                   current_face_values,
+      FEFaceValues<dim>                                    &current_face_values,
       const TriaIterator<DoFCellAccessor<dim, dim, false>> &neighbor_cell,
-      FEFaceValues<dim> neighbor_face_values,
+      FEFaceValues<dim>  &neighbor_face_values,
       FullMatrix<double> &current_to_current_flux,
       FullMatrix<double> &current_to_neighbor_flux,
       FullMatrix<double> &neighbor_to_current_flux,
@@ -145,9 +145,9 @@ namespace LinearAdvectionTest
   void
   AdvectionProblem<dim>::calculate_flux_terms(
     const TriaActiveIterator<DoFCellAccessor<dim, dim, false>> &current_cell,
-    FEFaceValues<dim> &                                   current_face_values,
+    FEFaceValues<dim>                                    &current_face_values,
     const TriaIterator<DoFCellAccessor<dim, dim, false>> &neighbor_cell,
-    FEFaceValues<dim> &                                   neighbor_face_values,
+    FEFaceValues<dim>                                    &neighbor_face_values,
     FullMatrix<double> &current_to_current_flux,
     FullMatrix<double> &current_to_neighbor_flux,
     FullMatrix<double> &neighbor_to_current_flux,
@@ -310,7 +310,8 @@ namespace LinearAdvectionTest
                       }
                   }
                 else // boundary face: skip for the purposes of this test
-                  {}
+                  {
+                  }
               }
           }
       }
index 60605fd6642b53c6378ade69cb9106c422c849f1..2951492149cb35bbb4e2ea0f5a84603a8278486b 100644 (file)
@@ -25,7 +25,7 @@ template <int dim>
 void
 check(const FiniteElement<dim> &fe1,
       const FiniteElement<dim> &fe2,
-      const std::string &       name)
+      const std::string        &name)
 {
   if (Utilities::MPI::this_mpi_process(MPI_COMM_WORLD) == 0)
     deallog << "Checking " << name << " in " << dim << "d:" << std::endl;
index 51ccbcd4e03aeae1b5795eb62727775dceca66e0..d779f0e04a2180177f676fd1907248016f2ba613 100644 (file)
@@ -25,7 +25,7 @@ template <int dim>
 void
 check(const FiniteElement<dim> &fe1,
       const FiniteElement<dim> &fe2,
-      const std::string &       name)
+      const std::string        &name)
 {
   if (Utilities::MPI::this_mpi_process(MPI_COMM_WORLD) == 0)
     deallog << "Checking " << name << " in " << dim << "d:" << std::endl;
index f103e95a824f6be72fec31e3eba81d16cbd062f2..127419c653da0613f443b3ed7d53096ac664e93e 100644 (file)
@@ -25,7 +25,7 @@ template <int dim>
 void
 check(const FiniteElement<dim> &fe1,
       const FiniteElement<dim> &fe2,
-      const std::string &       name)
+      const std::string        &name)
 {
   if (Utilities::MPI::this_mpi_process(MPI_COMM_WORLD) == 0)
     deallog << "Checking " << name << " in " << dim << "d:" << std::endl;
index 845aaba4cd908bcc509e2d90cd41dac6ad76787c..26ff70c7e550674a176243706e485c10cdf8475a 100644 (file)
@@ -24,7 +24,7 @@ template <int dim>
 void
 check(const FiniteElement<dim> &fe1,
       const FiniteElement<dim> &fe2,
-      const std::string &       name)
+      const std::string        &name)
 {
   if (Utilities::MPI::this_mpi_process(MPI_COMM_WORLD) == 0)
     deallog << "Checking " << name << " in " << dim << "d:" << std::endl;
index 6e3c32942de309f47167afacfe22ef2b62880cbe..7233aaea0fe72926530a5f6ad9e68dac272953ba 100644 (file)
@@ -25,7 +25,7 @@ template <int dim>
 void
 check(const FiniteElement<dim> &fe1,
       const FiniteElement<dim> &fe2,
-      const std::string &       name)
+      const std::string        &name)
 {
   if (Utilities::MPI::this_mpi_process(MPI_COMM_WORLD) == 0)
     deallog << "Checking " << name << " in " << dim << "d:" << std::endl;
index 08d6d19ee6bee429f11c31f995c9af235e76a734..9e3b28770d91cb82f237bef4888954ac9418bd72 100644 (file)
@@ -25,7 +25,7 @@ template <int dim>
 void
 check(const FiniteElement<dim> &fe1,
       const FiniteElement<dim> &fe2,
-      const std::string &       name)
+      const std::string        &name)
 {
   if (Utilities::MPI::this_mpi_process(MPI_COMM_WORLD) == 0)
     deallog << "Checking " << name << " in " << dim << "d:" << std::endl;
index 7af7359dc898563bd5b952c6c747f001ffdaa0f5..d3490acb0a90a638ede5d02175d77128daa37659 100644 (file)
@@ -43,7 +43,7 @@
 
 #include "../tests.h"
 
-//#define DEBUG_OUTPUT_VTK
+// #define DEBUG_OUTPUT_VTK
 
 template <int dim>
 class TestFunction : public Function<dim>
@@ -97,7 +97,7 @@ make_tria()
 template <int dim>
 DoFHandler<dim> *
 make_dof_handler(const parallel::distributed::Triangulation<dim> &tria,
-                 const FiniteElement<dim> &                       fe)
+                 const FiniteElement<dim>                        &fe)
 {
   DoFHandler<dim> *dof_handler = new DoFHandler<dim>(tria);
   dof_handler->distribute_dofs(fe);
@@ -109,8 +109,8 @@ make_dof_handler(const parallel::distributed::Triangulation<dim> &tria,
 // output some indicators for a given vector
 template <unsigned int dim, typename VectorType>
 void
-output_vector(const VectorType &     v,
-              const std::string &    output_name,
+output_vector(const VectorType      &v,
+              const std::string     &output_name,
               const DoFHandler<dim> &dof_handler)
 {
   DataOut<dim> data_out;
index 0089d9602979eed04f07dbafd98c8824edab541f..a29f536fb6ec0130e44ef4c55928087eec18a83c 100644 (file)
@@ -79,7 +79,7 @@ namespace Step39
 
     parallel::distributed::Triangulation<dim> triangulation;
     const MappingQ<dim>                       mapping;
-    const FiniteElement<dim> &                fe;
+    const FiniteElement<dim>                 &fe;
     DoFHandler<dim>                           dof_handler;
 
     IndexSet locally_relevant_set;
index 14236b22085838a430fde3ef3c1374f678639937..10e39e6ab03907e4ede37195d1a2ee24f047f95f 100644 (file)
@@ -61,7 +61,7 @@
 #include "../tests.h"
 
 
-//#define DISTRIBUTED
+// #define DISTRIBUTED
 
 template <int dim>
 void
index 4bb7abb0774f979c243e706a979f9c26bcfeb468..86e02e892fa7043c423136190c575384c7c98bd4 100644 (file)
@@ -60,7 +60,7 @@ public:
 template <int dim>
 void
 setup(DoFHandler<dim> &dh,
-      FE_Q<dim> &      fe,
+      FE_Q<dim>       &fe,
       LA::MPI::Vector &vec,
       LA::MPI::Vector &lr_vec)
 {
@@ -73,8 +73,8 @@ setup(DoFHandler<dim> &dh,
 
 template <int dim>
 void
-output(DoFHandler<dim> dh,
-       LA::MPI::Vector v,
+output(DoFHandler<dim>  &dh,
+       LA::MPI::Vector  &v,
        unsigned int      loop,
        const std::string filename_)
 {
index e36df2d30a8e7915bfa2aaa48510ef08bfeace35..6f98527a169a0ca3660196f955cee544a8ada844 100644 (file)
@@ -43,8 +43,8 @@ public:
   void
   face(MeshWorker::DoFInfo<dim> &dinfo1,
        MeshWorker::DoFInfo<dim> &dinfo2,
-       CellInfo &                info1,
-       CellInfo &                info2) const;
+       CellInfo                 &info1,
+       CellInfo                 &info2) const;
 };
 
 template <int dim>
index a8b2d2e3dfe0fe53c5c4fcb0faf24326c6da536b..32e976f70307b7cb0577dd69d2d4da9a2e932b05 100644 (file)
@@ -43,8 +43,8 @@ public:
   void
   face(MeshWorker::DoFInfo<dim> &dinfo1,
        MeshWorker::DoFInfo<dim> &dinfo2,
-       CellInfo &                info1,
-       CellInfo &                info2) const;
+       CellInfo                 &info1,
+       CellInfo                 &info2) const;
 };
 
 template <int dim>
index 974ea79c391f9fdcb6fa7f107566083f525443ea..558110eb132bea4086db4ffe87f8b713fe40d0bf 100644 (file)
@@ -43,8 +43,8 @@ public:
   void
   face(MeshWorker::DoFInfo<dim> &dinfo1,
        MeshWorker::DoFInfo<dim> &dinfo2,
-       CellInfo &                info1,
-       CellInfo &                info2) const;
+       CellInfo                 &info1,
+       CellInfo                 &info2) const;
 };
 
 template <int dim>
index 582546ad9a13e7efb1fe36c6766610f5c345e1c4..70d240c8e618734a8f1ee638b0de0a78f97b0764 100644 (file)
@@ -44,8 +44,8 @@ public:
   void
   face(MeshWorker::DoFInfo<dim> &dinfo1,
        MeshWorker::DoFInfo<dim> &dinfo2,
-       CellInfo &                info1,
-       CellInfo &                info2) const;
+       CellInfo                 &info1,
+       CellInfo                 &info2) const;
 };
 
 template <int dim>
index c3daef76e1f29e615f2d3e24cdf36937854f7c40..eb99ef6193d5a35c04bff4da630ae208281676b2 100644 (file)
@@ -44,8 +44,8 @@ public:
   void
   face(MeshWorker::DoFInfo<dim> &dinfo1,
        MeshWorker::DoFInfo<dim> &dinfo2,
-       CellInfo &                info1,
-       CellInfo &                info2) const;
+       CellInfo                 &info1,
+       CellInfo                 &info2) const;
 };
 
 template <int dim>
index 9b23b1d64b03882863538be64b0518826dd62900..ad9749fd1dc2d8ec031309f19816ec316f59e426 100644 (file)
@@ -59,8 +59,8 @@ public:
   void
   face(MeshWorker::DoFInfo<dim> &dinfo1,
        MeshWorker::DoFInfo<dim> &dinfo2,
-       CellInfo &                info1,
-       CellInfo &                info2) const;
+       CellInfo                 &info1,
+       CellInfo                 &info2) const;
 
   bool cells;
   bool faces;
index e2303344179e573e58fc21569e4b10be3ae90394..cce9488711909b3058eebf201c2df2f470d31a0a 100644 (file)
@@ -69,7 +69,7 @@ namespace Step22
     void
     get_point_value(const Point<dim> point,
                     const int        proc,
-                    Vector<double> value) const;
+                    Vector<double>  &value) const;
     void
     check_periodicity(const unsigned int cycle) const;
     void
@@ -119,7 +119,7 @@ namespace Step22
 
   template <int dim>
   double
-  BoundaryValues<dim>::value(const Point<dim> p,
+  BoundaryValues<dim>::value(const Point<dim>  &p,
                              const unsigned int component) const
   {
     Assert(component < this->n_components,
@@ -136,7 +136,7 @@ namespace Step22
   template <int dim>
   void
   BoundaryValues<dim>::vector_value(const Point<dim> &p,
-                                    Vector<double> &  values) const
+                                    Vector<double>   &values) const
   {
     for (unsigned int c = 0; c < this->n_components; ++c)
       values(c) = BoundaryValues<dim>::value(p, c);
@@ -172,7 +172,7 @@ namespace Step22
   template <int dim>
   void
   RightHandSide<dim>::vector_value(const Point<dim> &p,
-                                   Vector<double> &  values) const
+                                   Vector<double>   &values) const
   {
     for (unsigned int c = 0; c < this->n_components; ++c)
       values(c) = RightHandSide<dim>::value(p, c);
@@ -184,13 +184,13 @@ namespace Step22
   class InverseMatrix : public Preconditioner
   {
   public:
-    InverseMatrix(const Matrix &        m,
+    InverseMatrix(const Matrix         &m,
                   const Preconditioner &preconditioner,
-                  const IndexSet &      locally_owned,
+                  const IndexSet       &locally_owned,
                   const MPI_Comm        mpi_communicator);
 
     void
-    vmult(TrilinosWrappers::MPI::Vector &      dst,
+    vmult(TrilinosWrappers::MPI::Vector       &dst,
           const TrilinosWrappers::MPI::Vector &src) const;
 
   private:
@@ -203,9 +203,9 @@ namespace Step22
 
   template <class Matrix, class Preconditioner>
   InverseMatrix<Matrix, Preconditioner>::InverseMatrix(
-    const Matrix &        m,
+    const Matrix         &m,
     const Preconditioner &preconditioner,
-    const IndexSet &      locally_owned,
+    const IndexSet       &locally_owned,
     const MPI_Comm        mpi_communicator)
     : matrix(&m)
     , preconditioner(&preconditioner)
@@ -217,7 +217,7 @@ namespace Step22
   template <class Matrix, class Preconditioner>
   void
   InverseMatrix<Matrix, Preconditioner>::vmult(
-    TrilinosWrappers::MPI::Vector &      dst,
+    TrilinosWrappers::MPI::Vector       &dst,
     const TrilinosWrappers::MPI::Vector &src) const
   {
     SolverControl              solver_control(src.size(),
@@ -240,13 +240,13 @@ namespace Step22
   public:
     SchurComplement(const TrilinosWrappers::BlockSparseMatrix &system_matrix,
                     const InverseMatrix<TrilinosWrappers::SparseMatrix,
-                                        Preconditioner> &      A_inverse,
-                    const IndexSet &                           owned_pres,
-                    const IndexSet &                           relevant_pres,
+                                        Preconditioner>       &A_inverse,
+                    const IndexSet                            &owned_pres,
+                    const IndexSet                            &relevant_pres,
                     const MPI_Comm mpi_communicator);
 
     void
-    vmult(TrilinosWrappers::MPI::Vector &      dst,
+    vmult(TrilinosWrappers::MPI::Vector       &dst,
           const TrilinosWrappers::MPI::Vector &src) const;
 
   private:
@@ -263,7 +263,7 @@ namespace Step22
   SchurComplement<Preconditioner>::SchurComplement(
     const TrilinosWrappers::BlockSparseMatrix &system_matrix,
     const InverseMatrix<TrilinosWrappers::SparseMatrix, Preconditioner>
-      &             A_inverse,
+                   &A_inverse,
     const IndexSet &owned_vel,
     const IndexSet &relevant_vel,
     const MPI_Comm  mpi_communicator)
@@ -277,7 +277,7 @@ namespace Step22
   template <class Preconditioner>
   void
   SchurComplement<Preconditioner>::vmult(
-    TrilinosWrappers::MPI::Vector &      dst,
+    TrilinosWrappers::MPI::Vector       &dst,
     const TrilinosWrappers::MPI::Vector &src) const
   {
     system_matrix->block(0, 1).vmult(tmp1, src);
@@ -580,7 +580,7 @@ namespace Step22
   void
   StokesProblem<dim>::get_point_value(const Point<dim> point,
                                       const int        proc,
-                                      Vector<double> value) const
+                                      Vector<double>  &value) const
   {
     typename DoFHandler<dim>::active_cell_iterator cell =
       GridTools::find_active_cell_around_point(dof_handler, point);
index 77b97e38fe86ffb45b3f3d8df649e80bd2d8664c..6ac44d5d80f9f20ec46bd7c85b91574d80eda4c5 100644 (file)
@@ -122,7 +122,7 @@ namespace Step50
 
     virtual void
     value_list(const std::vector<Point<dim>> &points,
-               std::vector<double> &          values,
+               std::vector<double>           &values,
                const unsigned int             component = 0) const;
   };
 
@@ -143,7 +143,7 @@ namespace Step50
   template <int dim>
   void
   Coefficient<dim>::value_list(const std::vector<Point<dim>> &points,
-                               std::vector<double> &          values,
+                               std::vector<double>           &values,
                                const unsigned int             component) const
   {
     const unsigned int n_points = points.size();
index 0496505829a0685e54e31e7cfcecb72eae0520eb..9d802ac204d8068fc9f5db444f71c50d402a4edc 100644 (file)
@@ -122,7 +122,7 @@ namespace Step50
 
     virtual void
     value_list(const std::vector<Point<dim>> &points,
-               std::vector<double> &          values,
+               std::vector<double>           &values,
                const unsigned int             component = 0) const;
   };
 
@@ -143,7 +143,7 @@ namespace Step50
   template <int dim>
   void
   Coefficient<dim>::value_list(const std::vector<Point<dim>> &points,
-                               std::vector<double> &          values,
+                               std::vector<double>           &values,
                                const unsigned int             component) const
   {
     const unsigned int n_points = points.size();
index e6f26faaa76add20d01cf22e86f9a950236e8456..51d1f2b3cc1cef008add7f1b2dd6ad91cb4eca80 100644 (file)
@@ -85,7 +85,7 @@ TemperatureInitialValues<dim>::value(const Point<dim> &p,
 template <int dim>
 void
 TemperatureInitialValues<dim>::vector_value(const Point<dim> &p,
-                                            Vector<double> &  values) const
+                                            Vector<double>   &values) const
 {
   for (unsigned int c = 0; c < this->n_components; ++c)
     values(c) = TemperatureInitialValues<dim>::value(p, c);
@@ -260,7 +260,7 @@ test()
       return cell;
     },
 
-    [](const Triangulation<dim> &                        t,
+    [](const Triangulation<dim>                         &t,
        const typename Triangulation<dim>::cell_iterator &old_cell) ->
     typename Triangulation<dim>::cell_iterator {
       if (old_cell != t.end())
index ad352dc419b1297c4e1aad3bcebb2230fb8823f4..d1c9c0a165c529145ae748e8ccbdcee4301beeff 100644 (file)
@@ -85,7 +85,7 @@ TemperatureInitialValues<dim>::value(const Point<dim> &p,
 template <int dim>
 void
 TemperatureInitialValues<dim>::vector_value(const Point<dim> &p,
-                                            Vector<double> &  values) const
+                                            Vector<double>   &values) const
 {
   for (unsigned int c = 0; c < this->n_components; ++c)
     values(c) = TemperatureInitialValues<dim>::value(p, c);
@@ -260,7 +260,7 @@ test()
       return cell;
     },
 
-    [](const Triangulation<dim> &                        t,
+    [](const Triangulation<dim>                         &t,
        const typename Triangulation<dim>::cell_iterator &old_cell) ->
     typename Triangulation<dim>::cell_iterator {
       if (old_cell != t.end())
index a51d22214f00f7369fd37532780d77c6cca5cdfb..ee876f68898b573a10478469b872c17eb92fa273 100644 (file)
@@ -38,7 +38,7 @@ template <int dim>
 std::vector<char>
 pack_function(
   const typename parallel::distributed::Triangulation<dim, dim>::cell_iterator
-    &              cell,
+                  &cell,
   const CellStatus status)
 {
   static unsigned int       some_number = 1;
@@ -71,7 +71,7 @@ template <int dim>
 void
 unpack_function(
   const typename parallel::distributed::Triangulation<dim, dim>::cell_iterator
-    &                                                             cell,
+                                                                 &cell,
   const CellStatus                                                status,
   const boost::iterator_range<std::vector<char>::const_iterator> &data_range)
 {
index 292ae1f4cbb49d351285671cfec6cd8f323307c4..3a396e266fee097561cd9825b5fb06c4dfe364ba 100644 (file)
@@ -41,7 +41,7 @@ template <int dim>
 std::vector<char>
 pack_function(
   const typename parallel::distributed::Triangulation<dim, dim>::cell_iterator
-    &              cell,
+                  &cell,
   const CellStatus status)
 {
   static unsigned int       some_number = 1;
@@ -74,7 +74,7 @@ template <int dim>
 void
 unpack_function(
   const typename parallel::distributed::Triangulation<dim, dim>::cell_iterator
-    &                                                             cell,
+                                                                 &cell,
   const CellStatus                                                status,
   const boost::iterator_range<std::vector<char>::const_iterator> &data_range)
 {
index 6dd9bbeb042adee6f21e16640ec10bbdd74509c7..6bf2e7d5eb8a24a5bdfe091594cfa5a08b9fac9b 100644 (file)
@@ -71,7 +71,7 @@ namespace Step22
     void
     get_point_value(const Point<dim> point,
                     const int        proc,
-                    Vector<double> value) const;
+                    Vector<double>  &value) const;
     void
     check_periodicity(const unsigned int cycle) const;
     void
@@ -121,7 +121,7 @@ namespace Step22
 
   template <int dim>
   double
-  BoundaryValues<dim>::value(const Point<dim> p,
+  BoundaryValues<dim>::value(const Point<dim>  &p,
                              const unsigned int component) const
   {
     Assert(component < this->n_components,
@@ -138,7 +138,7 @@ namespace Step22
   template <int dim>
   void
   BoundaryValues<dim>::vector_value(const Point<dim> &p,
-                                    Vector<double> &  values) const
+                                    Vector<double>   &values) const
   {
     for (unsigned int c = 0; c < this->n_components; ++c)
       values(c) = BoundaryValues<dim>::value(p, c);
@@ -174,7 +174,7 @@ namespace Step22
   template <int dim>
   void
   RightHandSide<dim>::vector_value(const Point<dim> &p,
-                                   Vector<double> &  values) const
+                                   Vector<double>   &values) const
   {
     for (unsigned int c = 0; c < this->n_components; ++c)
       values(c) = RightHandSide<dim>::value(p, c);
@@ -186,13 +186,13 @@ namespace Step22
   class InverseMatrix : public Preconditioner
   {
   public:
-    InverseMatrix(const Matrix &        m,
+    InverseMatrix(const Matrix         &m,
                   const Preconditioner &preconditioner,
-                  const IndexSet &      locally_owned,
+                  const IndexSet       &locally_owned,
                   const MPI_Comm        mpi_communicator);
 
     void
-    vmult(TrilinosWrappers::MPI::Vector &      dst,
+    vmult(TrilinosWrappers::MPI::Vector       &dst,
           const TrilinosWrappers::MPI::Vector &src) const;
 
   private:
@@ -205,9 +205,9 @@ namespace Step22
 
   template <class Matrix, class Preconditioner>
   InverseMatrix<Matrix, Preconditioner>::InverseMatrix(
-    const Matrix &        m,
+    const Matrix         &m,
     const Preconditioner &preconditioner,
-    const IndexSet &      locally_owned,
+    const IndexSet       &locally_owned,
     const MPI_Comm        mpi_communicator)
     : matrix(&m)
     , preconditioner(&preconditioner)
@@ -219,7 +219,7 @@ namespace Step22
   template <class Matrix, class Preconditioner>
   void
   InverseMatrix<Matrix, Preconditioner>::vmult(
-    TrilinosWrappers::MPI::Vector &      dst,
+    TrilinosWrappers::MPI::Vector       &dst,
     const TrilinosWrappers::MPI::Vector &src) const
   {
     SolverControl              solver_control(src.size(),
@@ -242,13 +242,13 @@ namespace Step22
   public:
     SchurComplement(const TrilinosWrappers::BlockSparseMatrix &system_matrix,
                     const InverseMatrix<TrilinosWrappers::SparseMatrix,
-                                        Preconditioner> &      A_inverse,
-                    const IndexSet &                           owned_pres,
-                    const IndexSet &                           relevant_pres,
+                                        Preconditioner>       &A_inverse,
+                    const IndexSet                            &owned_pres,
+                    const IndexSet                            &relevant_pres,
                     const MPI_Comm mpi_communicator);
 
     void
-    vmult(TrilinosWrappers::MPI::Vector &      dst,
+    vmult(TrilinosWrappers::MPI::Vector       &dst,
           const TrilinosWrappers::MPI::Vector &src) const;
 
   private:
@@ -265,7 +265,7 @@ namespace Step22
   SchurComplement<Preconditioner>::SchurComplement(
     const TrilinosWrappers::BlockSparseMatrix &system_matrix,
     const InverseMatrix<TrilinosWrappers::SparseMatrix, Preconditioner>
-      &             A_inverse,
+                   &A_inverse,
     const IndexSet &owned_vel,
     const IndexSet &relevant_vel,
     const MPI_Comm  mpi_communicator)
@@ -279,7 +279,7 @@ namespace Step22
   template <class Preconditioner>
   void
   SchurComplement<Preconditioner>::vmult(
-    TrilinosWrappers::MPI::Vector &      dst,
+    TrilinosWrappers::MPI::Vector       &dst,
     const TrilinosWrappers::MPI::Vector &src) const
   {
     system_matrix->block(0, 1).vmult(tmp1, src);
@@ -594,7 +594,7 @@ namespace Step22
   void
   StokesProblem<dim>::get_point_value(const Point<dim> point,
                                       const int        proc,
-                                      Vector<double> value) const
+                                      Vector<double>  &value) const
   {
     typename DoFHandler<dim>::active_cell_iterator cell =
       GridTools::find_active_cell_around_point(dof_handler, point);
index 7f7226e2e3650b6cd8da7421e590714ebd984dec..525d00703e7256408f001dc2bf02d74717f434e8 100644 (file)
@@ -73,7 +73,7 @@ namespace Step22
     void
     get_point_value(const Point<dim> point,
                     const int        proc,
-                    Vector<double> value) const;
+                    Vector<double>  &value) const;
     void
     check_periodicity() const;
     void
@@ -109,13 +109,13 @@ namespace Step22
   class InverseMatrix : public Preconditioner
   {
   public:
-    InverseMatrix(const Matrix &        m,
+    InverseMatrix(const Matrix         &m,
                   const Preconditioner &preconditioner,
-                  const IndexSet &      locally_owned,
+                  const IndexSet       &locally_owned,
                   const MPI_Comm        mpi_communicator);
 
     void
-    vmult(TrilinosWrappers::MPI::Vector &      dst,
+    vmult(TrilinosWrappers::MPI::Vector       &dst,
           const TrilinosWrappers::MPI::Vector &src) const;
 
   private:
@@ -128,9 +128,9 @@ namespace Step22
 
   template <class Matrix, class Preconditioner>
   InverseMatrix<Matrix, Preconditioner>::InverseMatrix(
-    const Matrix &        m,
+    const Matrix         &m,
     const Preconditioner &preconditioner,
-    const IndexSet &      locally_owned,
+    const IndexSet       &locally_owned,
     const MPI_Comm        mpi_communicator)
     : matrix(&m)
     , preconditioner(&preconditioner)
@@ -142,7 +142,7 @@ namespace Step22
   template <class Matrix, class Preconditioner>
   void
   InverseMatrix<Matrix, Preconditioner>::vmult(
-    TrilinosWrappers::MPI::Vector &      dst,
+    TrilinosWrappers::MPI::Vector       &dst,
     const TrilinosWrappers::MPI::Vector &src) const
   {
     SolverControl                           solver_control(src.size(),
@@ -164,12 +164,12 @@ namespace Step22
   public:
     SchurComplement(const TrilinosWrappers::BlockSparseMatrix &system_matrix,
                     const InverseMatrix<TrilinosWrappers::SparseMatrix,
-                                        Preconditioner> &      A_inverse,
-                    const IndexSet &                           owned_pres,
+                                        Preconditioner>       &A_inverse,
+                    const IndexSet                            &owned_pres,
                     const MPI_Comm mpi_communicator);
 
     void
-    vmult(TrilinosWrappers::MPI::Vector &      dst,
+    vmult(TrilinosWrappers::MPI::Vector       &dst,
           const TrilinosWrappers::MPI::Vector &src) const;
 
   private:
@@ -186,7 +186,7 @@ namespace Step22
   SchurComplement<Preconditioner>::SchurComplement(
     const TrilinosWrappers::BlockSparseMatrix &system_matrix,
     const InverseMatrix<TrilinosWrappers::SparseMatrix, Preconditioner>
-      &             A_inverse,
+                   &A_inverse,
     const IndexSet &owned_vel,
     const MPI_Comm  mpi_communicator)
     : system_matrix(&system_matrix)
@@ -199,7 +199,7 @@ namespace Step22
   template <class Preconditioner>
   void
   SchurComplement<Preconditioner>::vmult(
-    TrilinosWrappers::MPI::Vector &      dst,
+    TrilinosWrappers::MPI::Vector       &dst,
     const TrilinosWrappers::MPI::Vector &src) const
   {
     system_matrix->block(0, 1).vmult(tmp1, src);
@@ -505,7 +505,7 @@ namespace Step22
   void
   StokesProblem<dim>::get_point_value(const Point<dim> point,
                                       const int        proc,
-                                      Vector<double> value) const
+                                      Vector<double>  &value) const
   {
     const typename DoFHandler<dim>::active_cell_iterator cell =
       GridTools::find_active_cell_around_point(dof_handler, point);
index 5425106a943fc0bc7d87f972fe00da7734095568..3c235428bff64a0ba79ae242d417e7603d05b2a7 100644 (file)
@@ -121,21 +121,21 @@ generate_grid(parallel::distributed::Triangulation<3> &triangulation,
               int                                      orientation)
 {
   Point<3>              vertices_1[] = {Point<3>(-1., -1., -3.),
-                           Point<3>(+1., -1., -3.),
-                           Point<3>(-1., +1., -3.),
-                           Point<3>(+1., +1., -3.),
-                           Point<3>(-1., -1., -1.),
-                           Point<3>(+1., -1., -1.),
-                           Point<3>(-1., +1., -1.),
-                           Point<3>(+1., +1., -1.),
-                           Point<3>(-1., -1., +1.),
-                           Point<3>(+1., -1., +1.),
-                           Point<3>(-1., +1., +1.),
-                           Point<3>(+1., +1., +1.),
-                           Point<3>(-1., -1., +3.),
-                           Point<3>(+1., -1., +3.),
-                           Point<3>(-1., +1., +3.),
-                           Point<3>(+1., +1., +3.)};
+                                        Point<3>(+1., -1., -3.),
+                                        Point<3>(-1., +1., -3.),
+                                        Point<3>(+1., +1., -3.),
+                                        Point<3>(-1., -1., -1.),
+                                        Point<3>(+1., -1., -1.),
+                                        Point<3>(-1., +1., -1.),
+                                        Point<3>(+1., +1., -1.),
+                                        Point<3>(-1., -1., +1.),
+                                        Point<3>(+1., -1., +1.),
+                                        Point<3>(-1., +1., +1.),
+                                        Point<3>(+1., +1., +1.),
+                                        Point<3>(-1., -1., +3.),
+                                        Point<3>(+1., -1., +3.),
+                                        Point<3>(-1., +1., +3.),
+                                        Point<3>(+1., +1., +3.)};
   std::vector<Point<3>> vertices(&vertices_1[0], &vertices_1[16]);
 
   std::vector<CellData<3>> cells(2, CellData<3>());
index 698d5a5fb6a3ebbf33a779ba4e952f6332d18271..d614d6d36c5567de1965b338364c07a52e6d7e1b 100644 (file)
@@ -27,7 +27,7 @@
 
 #include "../tests.h"
 
-//#include <mpi.h>
+// #include <mpi.h>
 
 
 void
index b1c08b8a4fae75d8627ca795cfcc7b3148b2b715..c6bb98137cfc0cf9a6736723a8316d826c99e681 100644 (file)
@@ -26,7 +26,7 @@
 
 #include "../tests.h"
 
-//#include <mpi.h>
+// #include <mpi.h>
 
 
 void
index 01aee29b9c3bb88bb43a5b0d57c858612970d285..32c2783c67e6d46b570dcf85cebe89313df237c6 100644 (file)
@@ -26,7 +26,7 @@
 
 #include "../tests.h"
 
-//#include <mpi.h>
+// #include <mpi.h>
 
 template <class v>
 void
index 1fb9715582a86f9a23007d76a52507d73c88b668..1d2d993e0b20ca06d51721a46f320165ce1f534c 100644 (file)
@@ -63,7 +63,7 @@ namespace ResFlow
   template <int dim>
   void
   FluxBoundaryValues<dim>::vector_value(const Point<dim> &p,
-                                        Vector<double> &  bdry_flux) const
+                                        Vector<double>   &bdry_flux) const
   {
     Assert(bdry_flux.size() == dim,
            ExcDimensionMismatch(bdry_flux.size(), dim));
index b85edaedb33a9c36903d1b011f508882d1ac8c1c..a734b190df79f06f1f367e5a77e6f4cbc86eb60c 100644 (file)
 // document bug in parallel::distributed::GridRefinement
 // ::refine_and_coarsen_fixed_number() and fixed_fraction() with one CPU with
 // 0 cells:
-//#0  0x00007ffff67297e2 in dealii::(anonymous namespace)::min_element<float> (
+// #0  0x00007ffff67297e2 in dealii::(anonymous namespace)::min_element<float> (
 //    criteria=...)
 //    at /w/heister/deal-trunk/deal.II/source/distributed/grid_refinement.cc:57
-//#1  0x00007ffff6727672 in dealii::(anonymous
+// #1  0x00007ffff6727672 in dealii::(anonymous
 // namespace)::compute_global_min_and_max_at_root<float> (criteria=...,
 // mpi_communicator=0x6fc860)
 //    at /w/heister/deal-trunk/deal.II/source/distributed/grid_refinement.cc:82
-//#2  0x00007ffff672b4ef in
+// #2  0x00007ffff672b4ef in
 // dealii::parallel::distributed::GridRefinement::refine_and_coarsen_fixed_number<2,
 // dealii::Vector<float>, 2>
 
@@ -41,7 +41,7 @@
 #include <deal.II/lac/vector.h>
 
 #include "../tests.h"
-//#include <mpi.h>
+// #include <mpi.h>
 
 template <int dim>
 void
index ac823ed6a8a9ba40f8319d86328051cd78698449..1aa3a41383ee50e75e0f2e5a3735fa8bf5d451dd 100644 (file)
@@ -32,7 +32,7 @@
 template <int dim>
 void
 verify(parallel::distributed::Triangulation<dim> &tr,
-       const Vector<float> &                      criteria,
+       const Vector<float>                       &criteria,
        const float                                refinement_fraction,
        const float                                coarsening_fraction)
 {
index 6d816e2c9def23b87748f2cbffe50a8836d5a398..14a76a13da1f8d5c85a82870dacd40d2df03fda2 100644 (file)
@@ -119,16 +119,16 @@ test()
           if (myid == i)
             MPI_Send(&renumbering[0],
                      renumbering.size(),
-                     Utilities::MPI::mpi_type_id_for_type<decltype(
-                       complete_renumbering[0])>,
+                     Utilities::MPI::mpi_type_id_for_type<
+                       decltype(complete_renumbering[0])>,
                      0,
                      i,
                      MPI_COMM_WORLD);
           else if (myid == 0)
             MPI_Recv(&complete_renumbering[offset],
                      dofs_per_proc[i].n_elements(),
-                     Utilities::MPI::mpi_type_id_for_type<decltype(
-                       complete_renumbering[0])>,
+                     Utilities::MPI::mpi_type_id_for_type<
+                       decltype(complete_renumbering[0])>,
                      i,
                      i,
                      MPI_COMM_WORLD,
index ee923c6d2a462d61781c322ba08e4208e2d042ef..57f3ef5f3e96ea5046e1f3daf2b56e3627ec8b4d 100644 (file)
@@ -85,16 +85,16 @@ test()
       if (myid == i)
         MPI_Send(&renumbering[0],
                  renumbering.size(),
-                 Utilities::MPI::mpi_type_id_for_type<decltype(
-                   complete_renumbering[0])>,
+                 Utilities::MPI::mpi_type_id_for_type<
+                   decltype(complete_renumbering[0])>,
                  0,
                  i,
                  MPI_COMM_WORLD);
       else if (myid == 0)
         MPI_Recv(&complete_renumbering[offset],
                  locally_owned_dofs_per_processor[i].n_elements(),
-                 Utilities::MPI::mpi_type_id_for_type<decltype(
-                   complete_renumbering[0])>,
+                 Utilities::MPI::mpi_type_id_for_type<
+                   decltype(complete_renumbering[0])>,
                  i,
                  i,
                  MPI_COMM_WORLD,
index 6ba53adb83769d7bce42d410dbfc332b6eea8daa..307fab5a81e9c1929368663ee18472a0a18e7f86 100644 (file)
@@ -36,7 +36,7 @@ template <int dim>
 std::vector<char>
 pack_function(
   const typename parallel::distributed::Triangulation<dim, dim>::cell_iterator
-    &              cell,
+                  &cell,
   const CellStatus status)
 {
   static int some_number = cell->index();
@@ -66,7 +66,7 @@ template <int dim>
 void
 unpack_function(
   const typename parallel::distributed::Triangulation<dim, dim>::cell_iterator
-    &                                                             cell,
+                                                                 &cell,
   const CellStatus                                                status,
   const boost::iterator_range<std::vector<char>::const_iterator> &data_range)
 {
index 955a21e35fa34b637a2980c9962aac63407933be..2be37ac9a4344e4495e60395ff71923548b984e3 100644 (file)
@@ -21,7 +21,7 @@
 
 #include "../tests.h"
 
-//#include <mpi.h>
+// #include <mpi.h>
 
 
 void
index 3bf2cdbd29d9632238d770fa4cd8b792e34bcafd..50e139f67d8831dca8a0c8d422e3ce4da0f521e1 100644 (file)
 
 template <typename DH>
 void
-initialize_indexsets(IndexSet &             locally_owned_dofs,
-                     IndexSet &             locally_relevant_dofs,
+initialize_indexsets(IndexSet              &locally_owned_dofs,
+                     IndexSet              &locally_relevant_dofs,
                      std::vector<IndexSet> &locally_owned_partitioning,
                      std::vector<IndexSet> &locally_relevant_partitioning,
-                     const DH &             dof_handler,
+                     const DH              &dof_handler,
                      const std::vector<unsigned int> &block_component,
                      const unsigned int               this_mpi_process)
 {
index 1aae9c4e968e66fe0301e86406f4e9a98633ad2c..0247cad2bca86000b5d953098ebe8bcd678fd4f2 100644 (file)
@@ -71,14 +71,14 @@ namespace Step39
   {
   public:
     void
-    cell(MeshWorker::DoFInfo<dim> &                 dinfo,
+    cell(MeshWorker::DoFInfo<dim>                  &dinfo,
          typename MeshWorker::IntegrationInfo<dim> &info) const;
     void
-    boundary(MeshWorker::DoFInfo<dim> &                 dinfo,
+    boundary(MeshWorker::DoFInfo<dim>                  &dinfo,
              typename MeshWorker::IntegrationInfo<dim> &info) const;
     void
-    face(MeshWorker::DoFInfo<dim> &                 dinfo1,
-         MeshWorker::DoFInfo<dim> &                 dinfo2,
+    face(MeshWorker::DoFInfo<dim>                  &dinfo1,
+         MeshWorker::DoFInfo<dim>                  &dinfo2,
          typename MeshWorker::IntegrationInfo<dim> &info1,
          typename MeshWorker::IntegrationInfo<dim> &info2) const;
   };
@@ -87,7 +87,7 @@ namespace Step39
   template <int dim>
   void
   MatrixIntegrator<dim>::cell(
-    MeshWorker::DoFInfo<dim> &                 dinfo,
+    MeshWorker::DoFInfo<dim>                  &dinfo,
     typename MeshWorker::IntegrationInfo<dim> &info) const
   {
     LocalIntegrators::Laplace::cell_matrix(dinfo.matrix(0, false).matrix,
@@ -98,7 +98,7 @@ namespace Step39
   template <int dim>
   void
   MatrixIntegrator<dim>::boundary(
-    MeshWorker::DoFInfo<dim> &                 dinfo,
+    MeshWorker::DoFInfo<dim>                  &dinfo,
     typename MeshWorker::IntegrationInfo<dim> &info) const
   {
     const unsigned int deg = info.fe_values(0).get_fe().tensor_degree();
@@ -111,8 +111,8 @@ namespace Step39
   template <int dim>
   void
   MatrixIntegrator<dim>::face(
-    MeshWorker::DoFInfo<dim> &                 dinfo1,
-    MeshWorker::DoFInfo<dim> &                 dinfo2,
+    MeshWorker::DoFInfo<dim>                  &dinfo1,
+    MeshWorker::DoFInfo<dim>                  &dinfo2,
     typename MeshWorker::IntegrationInfo<dim> &info1,
     typename MeshWorker::IntegrationInfo<dim> &info2) const
   {
@@ -132,14 +132,14 @@ namespace Step39
   {
   public:
     void
-    cell(MeshWorker::DoFInfo<dim> &                 dinfo,
+    cell(MeshWorker::DoFInfo<dim>                  &dinfo,
          typename MeshWorker::IntegrationInfo<dim> &info) const;
     void
-    boundary(MeshWorker::DoFInfo<dim> &                 dinfo,
+    boundary(MeshWorker::DoFInfo<dim>                  &dinfo,
              typename MeshWorker::IntegrationInfo<dim> &info) const;
     void
-    face(MeshWorker::DoFInfo<dim> &                 dinfo1,
-         MeshWorker::DoFInfo<dim> &                 dinfo2,
+    face(MeshWorker::DoFInfo<dim>                  &dinfo1,
+         MeshWorker::DoFInfo<dim>                  &dinfo2,
          typename MeshWorker::IntegrationInfo<dim> &info1,
          typename MeshWorker::IntegrationInfo<dim> &info2) const;
   };
@@ -155,11 +155,11 @@ namespace Step39
   template <int dim>
   void
   RHSIntegrator<dim>::boundary(
-    MeshWorker::DoFInfo<dim> &                 dinfo,
+    MeshWorker::DoFInfo<dim>                  &dinfo,
     typename MeshWorker::IntegrationInfo<dim> &info) const
   {
     const FEValuesBase<dim> &fe           = info.fe_values();
-    Vector<double> &         local_vector = dinfo.vector(0).block(0);
+    Vector<double>          &local_vector = dinfo.vector(0).block(0);
 
     std::vector<double> boundary_values(fe.n_quadrature_points);
     exact_solution.value_list(fe.get_quadrature_points(), boundary_values);
@@ -191,14 +191,14 @@ namespace Step39
   {
   public:
     void
-    cell(MeshWorker::DoFInfo<dim> &                 dinfo,
+    cell(MeshWorker::DoFInfo<dim>                  &dinfo,
          typename MeshWorker::IntegrationInfo<dim> &info) const;
     void
-    boundary(MeshWorker::DoFInfo<dim> &                 dinfo,
+    boundary(MeshWorker::DoFInfo<dim>                  &dinfo,
              typename MeshWorker::IntegrationInfo<dim> &info) const;
     void
-    face(MeshWorker::DoFInfo<dim> &                 dinfo1,
-         MeshWorker::DoFInfo<dim> &                 dinfo2,
+    face(MeshWorker::DoFInfo<dim>                  &dinfo1,
+         MeshWorker::DoFInfo<dim>                  &dinfo2,
          typename MeshWorker::IntegrationInfo<dim> &info1,
          typename MeshWorker::IntegrationInfo<dim> &info2) const;
   };
@@ -206,7 +206,7 @@ namespace Step39
 
   template <int dim>
   void
-  Estimator<dim>::cell(MeshWorker::DoFInfo<dim> &                 dinfo,
+  Estimator<dim>::cell(MeshWorker::DoFInfo<dim>                  &dinfo,
                        typename MeshWorker::IntegrationInfo<dim> &info) const
   {
     const FEValuesBase<dim> &fe = info.fe_values();
@@ -223,7 +223,7 @@ namespace Step39
   template <int dim>
   void
   Estimator<dim>::boundary(
-    MeshWorker::DoFInfo<dim> &                 dinfo,
+    MeshWorker::DoFInfo<dim>                  &dinfo,
     typename MeshWorker::IntegrationInfo<dim> &info) const
   {
     const FEValuesBase<dim> &fe = info.fe_values();
@@ -246,14 +246,14 @@ namespace Step39
 
   template <int dim>
   void
-  Estimator<dim>::face(MeshWorker::DoFInfo<dim> &                 dinfo1,
-                       MeshWorker::DoFInfo<dim> &                 dinfo2,
+  Estimator<dim>::face(MeshWorker::DoFInfo<dim>                  &dinfo1,
+                       MeshWorker::DoFInfo<dim>                  &dinfo2,
                        typename MeshWorker::IntegrationInfo<dim> &info1,
                        typename MeshWorker::IntegrationInfo<dim> &info2) const
   {
-    const FEValuesBase<dim> &          fe   = info1.fe_values();
-    const std::vector<double> &        uh1  = info1.values[0][0];
-    const std::vector<double> &        uh2  = info2.values[0][0];
+    const FEValuesBase<dim>           &fe   = info1.fe_values();
+    const std::vector<double>         &uh1  = info1.values[0][0];
+    const std::vector<double>         &uh2  = info2.values[0][0];
     const std::vector<Tensor<1, dim>> &Duh1 = info1.gradients[0][0];
     const std::vector<Tensor<1, dim>> &Duh2 = info2.gradients[0][0];
 
@@ -289,14 +289,14 @@ namespace Step39
   {
   public:
     void
-    cell(MeshWorker::DoFInfo<dim> &                 dinfo,
+    cell(MeshWorker::DoFInfo<dim>                  &dinfo,
          typename MeshWorker::IntegrationInfo<dim> &info) const;
     void
-    boundary(MeshWorker::DoFInfo<dim> &                 dinfo,
+    boundary(MeshWorker::DoFInfo<dim>                  &dinfo,
              typename MeshWorker::IntegrationInfo<dim> &info) const;
     void
-    face(MeshWorker::DoFInfo<dim> &                 dinfo1,
-         MeshWorker::DoFInfo<dim> &                 dinfo2,
+    face(MeshWorker::DoFInfo<dim>                  &dinfo1,
+         MeshWorker::DoFInfo<dim>                  &dinfo2,
          typename MeshWorker::IntegrationInfo<dim> &info1,
          typename MeshWorker::IntegrationInfo<dim> &info2) const;
   };
@@ -305,10 +305,10 @@ namespace Step39
   template <int dim>
   void
   ErrorIntegrator<dim>::cell(
-    MeshWorker::DoFInfo<dim> &                 dinfo,
+    MeshWorker::DoFInfo<dim>                  &dinfo,
     typename MeshWorker::IntegrationInfo<dim> &info) const
   {
-    const FEValuesBase<dim> &   fe = info.fe_values();
+    const FEValuesBase<dim>    &fe = info.fe_values();
     std::vector<Tensor<1, dim>> exact_gradients(fe.n_quadrature_points);
     std::vector<double>         exact_values(fe.n_quadrature_points);
 
@@ -316,7 +316,7 @@ namespace Step39
     exact_solution.value_list(fe.get_quadrature_points(), exact_values);
 
     const std::vector<Tensor<1, dim>> &Duh = info.gradients[0][0];
-    const std::vector<double> &        uh  = info.values[0][0];
+    const std::vector<double>         &uh  = info.values[0][0];
 
     for (unsigned k = 0; k < fe.n_quadrature_points; ++k)
       {
@@ -338,7 +338,7 @@ namespace Step39
   template <int dim>
   void
   ErrorIntegrator<dim>::boundary(
-    MeshWorker::DoFInfo<dim> &                 dinfo,
+    MeshWorker::DoFInfo<dim>                  &dinfo,
     typename MeshWorker::IntegrationInfo<dim> &info) const
   {
     const FEValuesBase<dim> &fe = info.fe_values();
@@ -364,12 +364,12 @@ namespace Step39
   template <int dim>
   void
   ErrorIntegrator<dim>::face(
-    MeshWorker::DoFInfo<dim> &                 dinfo1,
-    MeshWorker::DoFInfo<dim> &                 dinfo2,
+    MeshWorker::DoFInfo<dim>                  &dinfo1,
+    MeshWorker::DoFInfo<dim>                  &dinfo2,
     typename MeshWorker::IntegrationInfo<dim> &info1,
     typename MeshWorker::IntegrationInfo<dim> &info2) const
   {
-    const FEValuesBase<dim> &  fe  = info1.fe_values();
+    const FEValuesBase<dim>   &fe  = info1.fe_values();
     const std::vector<double> &uh1 = info1.values[0][0];
     const std::vector<double> &uh2 = info2.values[0][0];
 
@@ -422,7 +422,7 @@ namespace Step39
 
     parallel::distributed::Triangulation<dim> triangulation;
     const MappingQ<dim>                       mapping;
-    const FiniteElement<dim> &                fe;
+    const FiniteElement<dim>                 &fe;
     DoFHandler<dim>                           dof_handler;
 
     IndexSet locally_relevant_set;
index 30f3a5ddb86ecc00a996c5130e83a3f67c7e035f..fcd8752fbb9fc9ea85549549de13457ddf094816 100644 (file)
@@ -72,14 +72,14 @@ namespace Step39
   {
   public:
     void
-    cell(MeshWorker::DoFInfo<dim> &                 dinfo,
+    cell(MeshWorker::DoFInfo<dim>                  &dinfo,
          typename MeshWorker::IntegrationInfo<dim> &info) const;
     void
-    boundary(MeshWorker::DoFInfo<dim> &                 dinfo,
+    boundary(MeshWorker::DoFInfo<dim>                  &dinfo,
              typename MeshWorker::IntegrationInfo<dim> &info) const;
     void
-    face(MeshWorker::DoFInfo<dim> &                 dinfo1,
-         MeshWorker::DoFInfo<dim> &                 dinfo2,
+    face(MeshWorker::DoFInfo<dim>                  &dinfo1,
+         MeshWorker::DoFInfo<dim>                  &dinfo2,
          typename MeshWorker::IntegrationInfo<dim> &info1,
          typename MeshWorker::IntegrationInfo<dim> &info2) const;
   };
@@ -88,7 +88,7 @@ namespace Step39
   template <int dim>
   void
   MatrixIntegrator<dim>::cell(
-    MeshWorker::DoFInfo<dim> &                 dinfo,
+    MeshWorker::DoFInfo<dim>                  &dinfo,
     typename MeshWorker::IntegrationInfo<dim> &info) const
   {
     LocalIntegrators::Laplace::cell_matrix(dinfo.matrix(0, false).matrix,
@@ -99,7 +99,7 @@ namespace Step39
   template <int dim>
   void
   MatrixIntegrator<dim>::boundary(
-    MeshWorker::DoFInfo<dim> &                 dinfo,
+    MeshWorker::DoFInfo<dim>                  &dinfo,
     typename MeshWorker::IntegrationInfo<dim> &info) const
   {
     const unsigned int deg = info.fe_values(0).get_fe().tensor_degree();
@@ -112,8 +112,8 @@ namespace Step39
   template <int dim>
   void
   MatrixIntegrator<dim>::face(
-    MeshWorker::DoFInfo<dim> &                 dinfo1,
-    MeshWorker::DoFInfo<dim> &                 dinfo2,
+    MeshWorker::DoFInfo<dim>                  &dinfo1,
+    MeshWorker::DoFInfo<dim>                  &dinfo2,
     typename MeshWorker::IntegrationInfo<dim> &info1,
     typename MeshWorker::IntegrationInfo<dim> &info2) const
   {
@@ -133,14 +133,14 @@ namespace Step39
   {
   public:
     void
-    cell(MeshWorker::DoFInfo<dim> &                 dinfo,
+    cell(MeshWorker::DoFInfo<dim>                  &dinfo,
          typename MeshWorker::IntegrationInfo<dim> &info) const;
     void
-    boundary(MeshWorker::DoFInfo<dim> &                 dinfo,
+    boundary(MeshWorker::DoFInfo<dim>                  &dinfo,
              typename MeshWorker::IntegrationInfo<dim> &info) const;
     void
-    face(MeshWorker::DoFInfo<dim> &                 dinfo1,
-         MeshWorker::DoFInfo<dim> &                 dinfo2,
+    face(MeshWorker::DoFInfo<dim>                  &dinfo1,
+         MeshWorker::DoFInfo<dim>                  &dinfo2,
          typename MeshWorker::IntegrationInfo<dim> &info1,
          typename MeshWorker::IntegrationInfo<dim> &info2) const;
   };
@@ -156,11 +156,11 @@ namespace Step39
   template <int dim>
   void
   RHSIntegrator<dim>::boundary(
-    MeshWorker::DoFInfo<dim> &                 dinfo,
+    MeshWorker::DoFInfo<dim>                  &dinfo,
     typename MeshWorker::IntegrationInfo<dim> &info) const
   {
     const FEValuesBase<dim> &fe           = info.fe_values();
-    Vector<double> &         local_vector = dinfo.vector(0).block(0);
+    Vector<double>          &local_vector = dinfo.vector(0).block(0);
 
     std::vector<double> boundary_values(fe.n_quadrature_points);
     exact_solution.value_list(fe.get_quadrature_points(), boundary_values);
@@ -192,14 +192,14 @@ namespace Step39
   {
   public:
     void
-    cell(MeshWorker::DoFInfo<dim> &                 dinfo,
+    cell(MeshWorker::DoFInfo<dim>                  &dinfo,
          typename MeshWorker::IntegrationInfo<dim> &info) const;
     void
-    boundary(MeshWorker::DoFInfo<dim> &                 dinfo,
+    boundary(MeshWorker::DoFInfo<dim>                  &dinfo,
              typename MeshWorker::IntegrationInfo<dim> &info) const;
     void
-    face(MeshWorker::DoFInfo<dim> &                 dinfo1,
-         MeshWorker::DoFInfo<dim> &                 dinfo2,
+    face(MeshWorker::DoFInfo<dim>                  &dinfo1,
+         MeshWorker::DoFInfo<dim>                  &dinfo2,
          typename MeshWorker::IntegrationInfo<dim> &info1,
          typename MeshWorker::IntegrationInfo<dim> &info2) const;
   };
@@ -207,7 +207,7 @@ namespace Step39
 
   template <int dim>
   void
-  Estimator<dim>::cell(MeshWorker::DoFInfo<dim> &                 dinfo,
+  Estimator<dim>::cell(MeshWorker::DoFInfo<dim>                  &dinfo,
                        typename MeshWorker::IntegrationInfo<dim> &info) const
   {
     const FEValuesBase<dim> &fe = info.fe_values();
@@ -224,7 +224,7 @@ namespace Step39
   template <int dim>
   void
   Estimator<dim>::boundary(
-    MeshWorker::DoFInfo<dim> &                 dinfo,
+    MeshWorker::DoFInfo<dim>                  &dinfo,
     typename MeshWorker::IntegrationInfo<dim> &info) const
   {
     const FEValuesBase<dim> &fe = info.fe_values();
@@ -247,14 +247,14 @@ namespace Step39
 
   template <int dim>
   void
-  Estimator<dim>::face(MeshWorker::DoFInfo<dim> &                 dinfo1,
-                       MeshWorker::DoFInfo<dim> &                 dinfo2,
+  Estimator<dim>::face(MeshWorker::DoFInfo<dim>                  &dinfo1,
+                       MeshWorker::DoFInfo<dim>                  &dinfo2,
                        typename MeshWorker::IntegrationInfo<dim> &info1,
                        typename MeshWorker::IntegrationInfo<dim> &info2) const
   {
-    const FEValuesBase<dim> &          fe   = info1.fe_values();
-    const std::vector<double> &        uh1  = info1.values[0][0];
-    const std::vector<double> &        uh2  = info2.values[0][0];
+    const FEValuesBase<dim>           &fe   = info1.fe_values();
+    const std::vector<double>         &uh1  = info1.values[0][0];
+    const std::vector<double>         &uh2  = info2.values[0][0];
     const std::vector<Tensor<1, dim>> &Duh1 = info1.gradients[0][0];
     const std::vector<Tensor<1, dim>> &Duh2 = info2.gradients[0][0];
 
@@ -290,14 +290,14 @@ namespace Step39
   {
   public:
     void
-    cell(MeshWorker::DoFInfo<dim> &                 dinfo,
+    cell(MeshWorker::DoFInfo<dim>                  &dinfo,
          typename MeshWorker::IntegrationInfo<dim> &info) const;
     void
-    boundary(MeshWorker::DoFInfo<dim> &                 dinfo,
+    boundary(MeshWorker::DoFInfo<dim>                  &dinfo,
              typename MeshWorker::IntegrationInfo<dim> &info) const;
     void
-    face(MeshWorker::DoFInfo<dim> &                 dinfo1,
-         MeshWorker::DoFInfo<dim> &                 dinfo2,
+    face(MeshWorker::DoFInfo<dim>                  &dinfo1,
+         MeshWorker::DoFInfo<dim>                  &dinfo2,
          typename MeshWorker::IntegrationInfo<dim> &info1,
          typename MeshWorker::IntegrationInfo<dim> &info2) const;
   };
@@ -306,10 +306,10 @@ namespace Step39
   template <int dim>
   void
   ErrorIntegrator<dim>::cell(
-    MeshWorker::DoFInfo<dim> &                 dinfo,
+    MeshWorker::DoFInfo<dim>                  &dinfo,
     typename MeshWorker::IntegrationInfo<dim> &info) const
   {
-    const FEValuesBase<dim> &   fe = info.fe_values();
+    const FEValuesBase<dim>    &fe = info.fe_values();
     std::vector<Tensor<1, dim>> exact_gradients(fe.n_quadrature_points);
     std::vector<double>         exact_values(fe.n_quadrature_points);
 
@@ -317,7 +317,7 @@ namespace Step39
     exact_solution.value_list(fe.get_quadrature_points(), exact_values);
 
     const std::vector<Tensor<1, dim>> &Duh = info.gradients[0][0];
-    const std::vector<double> &        uh  = info.values[0][0];
+    const std::vector<double>         &uh  = info.values[0][0];
 
     for (unsigned k = 0; k < fe.n_quadrature_points; ++k)
       {
@@ -339,7 +339,7 @@ namespace Step39
   template <int dim>
   void
   ErrorIntegrator<dim>::boundary(
-    MeshWorker::DoFInfo<dim> &                 dinfo,
+    MeshWorker::DoFInfo<dim>                  &dinfo,
     typename MeshWorker::IntegrationInfo<dim> &info) const
   {
     const FEValuesBase<dim> &fe = info.fe_values();
@@ -365,12 +365,12 @@ namespace Step39
   template <int dim>
   void
   ErrorIntegrator<dim>::face(
-    MeshWorker::DoFInfo<dim> &                 dinfo1,
-    MeshWorker::DoFInfo<dim> &                 dinfo2,
+    MeshWorker::DoFInfo<dim>                  &dinfo1,
+    MeshWorker::DoFInfo<dim>                  &dinfo2,
     typename MeshWorker::IntegrationInfo<dim> &info1,
     typename MeshWorker::IntegrationInfo<dim> &info2) const
   {
-    const FEValuesBase<dim> &  fe  = info1.fe_values();
+    const FEValuesBase<dim>   &fe  = info1.fe_values();
     const std::vector<double> &uh1 = info1.values[0][0];
     const std::vector<double> &uh2 = info2.values[0][0];
 
@@ -423,7 +423,7 @@ namespace Step39
 
     parallel::distributed::Triangulation<dim> triangulation;
     const MappingQ<dim>                       mapping;
-    const FiniteElement<dim> &                fe;
+    const FiniteElement<dim>                 &fe;
     DoFHandler<dim>                           dof_handler;
 
     IndexSet locally_relevant_set;
index 86fd3c7250e0b4cc9c42943bdd46fd68f116e50c..2c182d628e479781e517b442ea773cbc0a6cca8a 100644 (file)
@@ -30,7 +30,7 @@ using namespace dealii;
 template <typename MeshType, typename Number>
 void
 initialize_dof_vector(LinearAlgebra::distributed::Vector<Number> &vec,
-                      const MeshType &                            dof_handler,
+                      const MeshType                             &dof_handler,
                       const unsigned int                          level)
 {
   IndexSet locally_relevant_dofs;
@@ -70,9 +70,9 @@ template <int dim, typename Number, typename MeshType>
 void
 test_transfer_operator(
   const MGTwoLevelTransfer<dim, LinearAlgebra::distributed::Vector<Number>>
-    &                transfer,
-  const MeshType &   dof_handler_fine,
-  const MeshType &   dof_handler_coarse,
+                    &transfer,
+  const MeshType    &dof_handler_fine,
+  const MeshType    &dof_handler_coarse,
   const unsigned int mg_level_fine   = numbers::invalid_unsigned_int,
   const unsigned int mg_level_coarse = numbers::invalid_unsigned_int)
 {
@@ -179,9 +179,9 @@ void
 test_non_nested_transfer(
   const MGTwoLevelTransferNonNested<dim,
                                     LinearAlgebra::distributed::Vector<Number>>
-    &                          transfer,
-  const MeshType &             dof_handler_fine,
-  const MeshType &             dof_handler_coarse,
+                              &transfer,
+  const MeshType              &dof_handler_fine,
+  const MeshType              &dof_handler_coarse,
   const Function<dim, Number> &function =
     Functions::ZeroFunction<dim, Number>(),
   const unsigned int mg_level_fine   = numbers::invalid_unsigned_int,
index 736aa64be5834692b7a6747f23d48dd22c4ce41b..045117d02133073099ae39bb85179d6b7a27f413 100644 (file)
@@ -64,7 +64,7 @@ public:
   LaplaceOperator(){};
 
   void
-  initialize(const Mapping<dim> &   mapping,
+  initialize(const Mapping<dim>    &mapping,
              const DoFHandler<dim> &dof_handler,
              const unsigned int     n_q_points_1d,
              const unsigned int     level = numbers::invalid_unsigned_int)
@@ -90,7 +90,7 @@ public:
   }
 
   void
-  vmult(LinearAlgebra::distributed::Vector<number> &      dst,
+  vmult(LinearAlgebra::distributed::Vector<number>       &dst,
         const LinearAlgebra::distributed::Vector<number> &src) const
   {
     dst = 0;
@@ -98,7 +98,7 @@ public:
   }
 
   void
-  Tvmult(LinearAlgebra::distributed::Vector<number> &      dst,
+  Tvmult(LinearAlgebra::distributed::Vector<number>       &dst,
          const LinearAlgebra::distributed::Vector<number> &src) const
   {
     dst = 0;
@@ -106,14 +106,14 @@ public:
   }
 
   void
-  Tvmult_add(LinearAlgebra::distributed::Vector<number> &      dst,
+  Tvmult_add(LinearAlgebra::distributed::Vector<number>       &dst,
              const LinearAlgebra::distributed::Vector<number> &src) const
   {
     vmult_add(dst, src);
   }
 
   void
-  vmult_add(LinearAlgebra::distributed::Vector<number> &      dst,
+  vmult_add(LinearAlgebra::distributed::Vector<number>       &dst,
             const LinearAlgebra::distributed::Vector<number> &src) const
   {
     Assert(src.partitioners_are_globally_compatible(
@@ -174,8 +174,8 @@ public:
 
 private:
   void
-  local_apply(const MatrixFree<dim, number> &                   data,
-              LinearAlgebra::distributed::Vector<number> &      dst,
+  local_apply(const MatrixFree<dim, number>                    &data,
+              LinearAlgebra::distributed::Vector<number>       &dst,
               const LinearAlgebra::distributed::Vector<number> &src,
               const std::pair<unsigned int, unsigned int> &cell_range) const
   {
@@ -195,10 +195,10 @@ private:
 
   void
   local_apply_face(
-    const MatrixFree<dim, number> &                   data,
-    LinearAlgebra::distributed::Vector<number> &      dst,
+    const MatrixFree<dim, number>                    &data,
+    LinearAlgebra::distributed::Vector<number>       &dst,
     const LinearAlgebra::distributed::Vector<number> &src,
-    const std::pair<unsigned int, unsigned int> &     face_range) const
+    const std::pair<unsigned int, unsigned int>      &face_range) const
   {
     FEFaceEvaluation<dim, -1, 0, 1, number> fe_eval(data, true);
     FEFaceEvaluation<dim, -1, 0, 1, number> fe_eval_neighbor(data, false);
@@ -244,10 +244,10 @@ private:
 
   void
   local_apply_boundary(
-    const MatrixFree<dim, number> &                   data,
-    LinearAlgebra::distributed::Vector<number> &      dst,
+    const MatrixFree<dim, number>                    &data,
+    LinearAlgebra::distributed::Vector<number>       &dst,
     const LinearAlgebra::distributed::Vector<number> &src,
-    const std::pair<unsigned int, unsigned int> &     face_range) const
+    const std::pair<unsigned int, unsigned int>      &face_range) const
   {
     FEFaceEvaluation<dim, -1, 0, 1, number> fe_eval(data, true);
     for (unsigned int face = face_range.first; face < face_range.second; ++face)
@@ -298,7 +298,7 @@ private:
 
   void
   local_diagonal_cell(
-    const MatrixFree<dim, number> &             data,
+    const MatrixFree<dim, number>              &data,
     LinearAlgebra::distributed::Vector<number> &dst,
     const unsigned int &,
     const std::pair<unsigned int, unsigned int> &cell_range) const
@@ -330,7 +330,7 @@ private:
 
   void
   local_diagonal_face(
-    const MatrixFree<dim, number> &             data,
+    const MatrixFree<dim, number>              &data,
     LinearAlgebra::distributed::Vector<number> &dst,
     const unsigned int &,
     const std::pair<unsigned int, unsigned int> &face_range) const
@@ -418,7 +418,7 @@ private:
 
   void
   local_diagonal_boundary(
-    const MatrixFree<dim, number> &             data,
+    const MatrixFree<dim, number>              &data,
     LinearAlgebra::distributed::Vector<number> &dst,
     const unsigned int &,
     const std::pair<unsigned int, unsigned int> &face_range) const
@@ -485,7 +485,7 @@ public:
 
   virtual void
   operator()(const unsigned int,
-             LinearAlgebra::distributed::Vector<double> &      dst,
+             LinearAlgebra::distributed::Vector<double>       &dst,
              const LinearAlgebra::distributed::Vector<double> &src) const
   {
     ReductionControl solver_control(1e4, 1e-50, 1e-7, false, false);
index eabd921d713d614948e95fd6cde46b05f40d8024..7ab1db354cbc7c1dd113833ccd0705c9846ed67c 100644 (file)
@@ -63,7 +63,7 @@ public:
   LaplaceOperator(){};
 
   void
-  initialize(const Mapping<dim> &   mapping,
+  initialize(const Mapping<dim>    &mapping,
              const DoFHandler<dim> &dof_handler,
              const unsigned int     n_q_points_1d,
              const unsigned int     level = numbers::invalid_unsigned_int)
@@ -89,7 +89,7 @@ public:
   }
 
   void
-  vmult(LinearAlgebra::distributed::Vector<number> &      dst,
+  vmult(LinearAlgebra::distributed::Vector<number>       &dst,
         const LinearAlgebra::distributed::Vector<number> &src) const
   {
     dst = 0;
@@ -97,7 +97,7 @@ public:
   }
 
   void
-  Tvmult(LinearAlgebra::distributed::Vector<number> &      dst,
+  Tvmult(LinearAlgebra::distributed::Vector<number>       &dst,
          const LinearAlgebra::distributed::Vector<number> &src) const
   {
     dst = 0;
@@ -105,14 +105,14 @@ public:
   }
 
   void
-  Tvmult_add(LinearAlgebra::distributed::Vector<number> &      dst,
+  Tvmult_add(LinearAlgebra::distributed::Vector<number>       &dst,
              const LinearAlgebra::distributed::Vector<number> &src) const
   {
     vmult_add(dst, src);
   }
 
   void
-  vmult_add(LinearAlgebra::distributed::Vector<number> &      dst,
+  vmult_add(LinearAlgebra::distributed::Vector<number>       &dst,
             const LinearAlgebra::distributed::Vector<number> &src) const
   {
     if (!src.partitioners_are_globally_compatible(
@@ -177,8 +177,8 @@ public:
 
 private:
   void
-  local_apply(const MatrixFree<dim, number> &                   data,
-              LinearAlgebra::distributed::Vector<number> &      dst,
+  local_apply(const MatrixFree<dim, number>                    &data,
+              LinearAlgebra::distributed::Vector<number>       &dst,
               const LinearAlgebra::distributed::Vector<number> &src,
               const std::pair<unsigned int, unsigned int> &cell_range) const
   {
@@ -198,10 +198,10 @@ private:
 
   void
   local_apply_face(
-    const MatrixFree<dim, number> &                   data,
-    LinearAlgebra::distributed::Vector<number> &      dst,
+    const MatrixFree<dim, number>                    &data,
+    LinearAlgebra::distributed::Vector<number>       &dst,
     const LinearAlgebra::distributed::Vector<number> &src,
-    const std::pair<unsigned int, unsigned int> &     face_range) const
+    const std::pair<unsigned int, unsigned int>      &face_range) const
   {
     FEFaceEvaluation<dim, -1, 0, 1, number> fe_eval(data, true);
     FEFaceEvaluation<dim, -1, 0, 1, number> fe_eval_neighbor(data, false);
@@ -247,10 +247,10 @@ private:
 
   void
   local_apply_boundary(
-    const MatrixFree<dim, number> &                   data,
-    LinearAlgebra::distributed::Vector<number> &      dst,
+    const MatrixFree<dim, number>                    &data,
+    LinearAlgebra::distributed::Vector<number>       &dst,
     const LinearAlgebra::distributed::Vector<number> &src,
-    const std::pair<unsigned int, unsigned int> &     face_range) const
+    const std::pair<unsigned int, unsigned int>      &face_range) const
   {
     FEFaceEvaluation<dim, -1, 0, 1, number> fe_eval(data, true);
     for (unsigned int face = face_range.first; face < face_range.second; ++face)
@@ -299,7 +299,7 @@ private:
 
   void
   local_diagonal_cell(
-    const MatrixFree<dim, number> &             data,
+    const MatrixFree<dim, number>              &data,
     LinearAlgebra::distributed::Vector<number> &dst,
     const unsigned int &,
     const std::pair<unsigned int, unsigned int> &cell_range) const
@@ -331,7 +331,7 @@ private:
 
   void
   local_diagonal_face(
-    const MatrixFree<dim, number> &             data,
+    const MatrixFree<dim, number>              &data,
     LinearAlgebra::distributed::Vector<number> &dst,
     const unsigned int &,
     const std::pair<unsigned int, unsigned int> &face_range) const
@@ -419,7 +419,7 @@ private:
 
   void
   local_diagonal_boundary(
-    const MatrixFree<dim, number> &             data,
+    const MatrixFree<dim, number>              &data,
     LinearAlgebra::distributed::Vector<number> &dst,
     const unsigned int &,
     const std::pair<unsigned int, unsigned int> &face_range) const
@@ -486,7 +486,7 @@ public:
 
   virtual void
   operator()(const unsigned int,
-             LinearAlgebra::distributed::Vector<double> &      dst,
+             LinearAlgebra::distributed::Vector<double>       &dst,
              const LinearAlgebra::distributed::Vector<double> &src) const
   {
     ReductionControl solver_control(1e4, 1e-50, 1e-10, false, false);
index ff8c64f918cd5394574c51247eea77608e450573..185e902e6caca0db0afc48297ec0db8bbba320e8 100644 (file)
@@ -64,7 +64,7 @@ public:
   LaplaceOperator(){};
 
   void
-  initialize(const Mapping<dim> &   mapping,
+  initialize(const Mapping<dim>    &mapping,
              const DoFHandler<dim> &dof_handler,
              const unsigned int     n_q_points_1d,
              const unsigned int     level = numbers::invalid_unsigned_int)
@@ -92,7 +92,7 @@ public:
   }
 
   void
-  vmult(LinearAlgebra::distributed::Vector<number> &      dst,
+  vmult(LinearAlgebra::distributed::Vector<number>       &dst,
         const LinearAlgebra::distributed::Vector<number> &src) const
   {
     dst = 0;
@@ -100,7 +100,7 @@ public:
   }
 
   void
-  Tvmult(LinearAlgebra::distributed::Vector<number> &      dst,
+  Tvmult(LinearAlgebra::distributed::Vector<number>       &dst,
          const LinearAlgebra::distributed::Vector<number> &src) const
   {
     dst = 0;
@@ -108,14 +108,14 @@ public:
   }
 
   void
-  Tvmult_add(LinearAlgebra::distributed::Vector<number> &      dst,
+  Tvmult_add(LinearAlgebra::distributed::Vector<number>       &dst,
              const LinearAlgebra::distributed::Vector<number> &src) const
   {
     vmult_add(dst, src);
   }
 
   void
-  vmult_add(LinearAlgebra::distributed::Vector<number> &      dst,
+  vmult_add(LinearAlgebra::distributed::Vector<number>       &dst,
             const LinearAlgebra::distributed::Vector<number> &src) const
   {
     if (!src.partitioners_are_globally_compatible(
@@ -186,8 +186,8 @@ public:
 
 private:
   void
-  local_apply(const MatrixFree<dim, number> &                   data,
-              LinearAlgebra::distributed::Vector<number> &      dst,
+  local_apply(const MatrixFree<dim, number>                    &data,
+              LinearAlgebra::distributed::Vector<number>       &dst,
               const LinearAlgebra::distributed::Vector<number> &src,
               const std::pair<unsigned int, unsigned int> &cell_range) const
   {
@@ -207,10 +207,10 @@ private:
 
   void
   local_apply_face(
-    const MatrixFree<dim, number> &                   data,
-    LinearAlgebra::distributed::Vector<number> &      dst,
+    const MatrixFree<dim, number>                    &data,
+    LinearAlgebra::distributed::Vector<number>       &dst,
     const LinearAlgebra::distributed::Vector<number> &src,
-    const std::pair<unsigned int, unsigned int> &     face_range) const
+    const std::pair<unsigned int, unsigned int>      &face_range) const
   {
     FEFaceEvaluation<dim, -1, 0, 1, number> fe_eval(data, true);
     FEFaceEvaluation<dim, -1, 0, 1, number> fe_eval_neighbor(data, false);
@@ -256,10 +256,10 @@ private:
 
   void
   local_apply_boundary(
-    const MatrixFree<dim, number> &                   data,
-    LinearAlgebra::distributed::Vector<number> &      dst,
+    const MatrixFree<dim, number>                    &data,
+    LinearAlgebra::distributed::Vector<number>       &dst,
     const LinearAlgebra::distributed::Vector<number> &src,
-    const std::pair<unsigned int, unsigned int> &     face_range) const
+    const std::pair<unsigned int, unsigned int>      &face_range) const
   {
     FEFaceEvaluation<dim, -1, 0, 1, number> fe_eval(data, true);
     for (unsigned int face = face_range.first; face < face_range.second; ++face)
@@ -306,7 +306,7 @@ private:
 
   void
   local_diagonal_cell(
-    const MatrixFree<dim, number> &             data,
+    const MatrixFree<dim, number>              &data,
     LinearAlgebra::distributed::Vector<number> &dst,
     const unsigned int &,
     const std::pair<unsigned int, unsigned int> &cell_range) const
@@ -400,7 +400,7 @@ public:
 
   virtual void
   operator()(const unsigned int,
-             LinearAlgebra::distributed::Vector<double> &      dst,
+             LinearAlgebra::distributed::Vector<double>       &dst,
              const LinearAlgebra::distributed::Vector<double> &src) const
   {
     ReductionControl solver_control(1e4, 1e-50, 1e-10, false, false);
index 5b12b97d2e01f6f7305d768f2cbe1c58d6d19e8d..05d01a6190ae3de4abebb4e2650f4b89d7dbf377 100644 (file)
@@ -71,9 +71,9 @@ public:
   using FECellIntegrator = FEEvaluation<dim, -1, 0, 1, number>;
 
   void
-  reinit(const Mapping<dim> &             mapping,
-         const DoFHandler<dim> &          dof_handler,
-         const Quadrature<dim> &          quad,
+  reinit(const Mapping<dim>              &mapping,
+         const DoFHandler<dim>           &dof_handler,
+         const Quadrature<dim>           &quad,
          const AffineConstraints<number> &constraints,
          const unsigned int mg_level = numbers::invalid_unsigned_int)
   {
@@ -219,7 +219,7 @@ private:
 
   void
   do_cell_integral_global(FECellIntegrator &integrator,
-                          VectorType &      dst,
+                          VectorType       &dst,
                           const VectorType &src) const
   {
     integrator.gather_evaluate(src, EvaluationFlags::gradients);
@@ -232,9 +232,9 @@ private:
 
   void
   do_cell_integral_range(
-    const MatrixFree<dim, number> &              matrix_free,
-    VectorType &                                 dst,
-    const VectorType &                           src,
+    const MatrixFree<dim, number>               &matrix_free,
+    VectorType                                  &dst,
+    const VectorType                            &src,
     const std::pair<unsigned int, unsigned int> &range) const
   {
     FECellIntegrator integrator(matrix_free, range);
@@ -289,14 +289,14 @@ template <typename VectorType,
           typename LevelMatrixType,
           typename MGTransferType>
 static void
-mg_solve(SolverControl &                       solver_control,
-         VectorType &                          dst,
-         const VectorType &                    src,
-         const GMGParameters &                 mg_data,
-         const DoFHandler<dim> &               dof,
-         const SystemMatrixType &              fine_matrix,
+mg_solve(SolverControl                        &solver_control,
+         VectorType                           &dst,
+         const VectorType                     &src,
+         const GMGParameters                  &mg_data,
+         const DoFHandler<dim>                &dof,
+         const SystemMatrixType               &fine_matrix,
          const MGLevelObject<LevelMatrixType> &mg_matrices,
-         const MGTransferType &                mg_transfer)
+         const MGTransferType                 &mg_transfer)
 {
   AssertThrow(mg_data.smoother.type == "chebyshev", ExcNotImplemented());
 
index 47eab1282203eb783c751d2f394370d0f0b1652f..d31ebd8335d36c3680ebfbfe34ab771524ef6701 100644 (file)
@@ -62,8 +62,8 @@ using namespace dealii;
 
 template <int dim, typename Number>
 void
-do_test(const FiniteElement<dim> &   fe_fine,
-        const FiniteElement<dim> &   fe_coarse,
+do_test(const FiniteElement<dim>    &fe_fine,
+        const FiniteElement<dim>    &fe_coarse,
         const Function<dim, Number> &function)
 {
   // create coarse grid
index 4bc2ef7c49532ee345d9f205570525375c694ed0..38ff653d638f02453b679b1f15f20f69d2e0d45b 100644 (file)
@@ -49,8 +49,8 @@ using namespace dealii;
 
 template <int dim, typename Number>
 void
-do_test(const FiniteElement<dim> &   fe_fine,
-        const FiniteElement<dim> &   fe_coarse,
+do_test(const FiniteElement<dim>    &fe_fine,
+        const FiniteElement<dim>    &fe_coarse,
         const Function<dim, Number> &function)
 {
   // create coarse grid
index c6bda17ba91ebd09175905aa0f647d9d8b280f96..c320fca471fcb9efd855c0bc9c1c5673689f6d3d 100644 (file)
@@ -50,8 +50,8 @@ using namespace dealii;
 
 template <int dim, typename Number>
 void
-do_test(const FiniteElement<dim> &   fe_fine,
-        const FiniteElement<dim> &   fe_coarse,
+do_test(const FiniteElement<dim>    &fe_fine,
+        const FiniteElement<dim>    &fe_coarse,
         const Function<dim, Number> &function)
 {
   // create coarse grid
index 66a243891798bc54d05e8c5a8318b98302cdcfd1..76b063ea5a63088586add0580bece28a64e39f0b 100644 (file)
@@ -42,8 +42,8 @@ using namespace dealii;
 
 template <int dim, typename Number>
 void
-do_test(const FiniteElement<dim> &   fe_fine,
-        const FiniteElement<dim> &   fe_coarse,
+do_test(const FiniteElement<dim>    &fe_fine,
+        const FiniteElement<dim>    &fe_coarse,
         const Function<dim, Number> &function)
 {
   // create coarse grid
index 5e5212d8cdd807ed3a657c0475e59a10bb79d69b..aca0dc688a04a36052f2ef41d3050598eb4e7cfb 100644 (file)
@@ -61,8 +61,8 @@ public:
   LaplaceOperator(){};
 
   void
-  initialize(const Mapping<dim> &                mapping,
-             const DoFHandler<dim> &             dof_handler,
+  initialize(const Mapping<dim>                 &mapping,
+             const DoFHandler<dim>              &dof_handler,
              const std::set<types::boundary_id> &dirichlet_boundaries,
              const unsigned int level = numbers::invalid_unsigned_int)
   {
@@ -122,7 +122,7 @@ public:
   }
 
   void
-  vmult(LinearAlgebra::distributed::Vector<number> &      dst,
+  vmult(LinearAlgebra::distributed::Vector<number>       &dst,
         const LinearAlgebra::distributed::Vector<number> &src) const
   {
     dst = 0;
@@ -130,7 +130,7 @@ public:
   }
 
   void
-  Tvmult(LinearAlgebra::distributed::Vector<number> &      dst,
+  Tvmult(LinearAlgebra::distributed::Vector<number>       &dst,
          const LinearAlgebra::distributed::Vector<number> &src) const
   {
     dst = 0;
@@ -138,14 +138,14 @@ public:
   }
 
   void
-  Tvmult_add(LinearAlgebra::distributed::Vector<number> &      dst,
+  Tvmult_add(LinearAlgebra::distributed::Vector<number>       &dst,
              const LinearAlgebra::distributed::Vector<number> &src) const
   {
     vmult_add(dst, src);
   }
 
   void
-  vmult_add(LinearAlgebra::distributed::Vector<number> &      dst,
+  vmult_add(LinearAlgebra::distributed::Vector<number>       &dst,
             const LinearAlgebra::distributed::Vector<number> &src) const
   {
     data.cell_loop(&LaplaceOperator::local_apply, this, dst, src);
@@ -205,8 +205,8 @@ public:
 
 private:
   void
-  local_apply(const MatrixFree<dim, number> &                   data,
-              LinearAlgebra::distributed::Vector<number> &      dst,
+  local_apply(const MatrixFree<dim, number>                    &data,
+              LinearAlgebra::distributed::Vector<number>       &dst,
               const LinearAlgebra::distributed::Vector<number> &src,
               const std::pair<unsigned int, unsigned int> &cell_range) const
   {
@@ -245,7 +245,7 @@ private:
 
   void
   local_diagonal_cell(
-    const MatrixFree<dim, number> &             data,
+    const MatrixFree<dim, number>              &data,
     LinearAlgebra::distributed::Vector<number> &dst,
     const unsigned int &,
     const std::pair<unsigned int, unsigned int> &cell_range) const
@@ -296,7 +296,7 @@ public:
 
   virtual void
   operator()(const unsigned int                                level,
-             LinearAlgebra::distributed::Vector<double> &      dst,
+             LinearAlgebra::distributed::Vector<double>       &dst,
              const LinearAlgebra::distributed::Vector<double> &src) const
   {
     ReductionControl solver_control(1e4, 1e-50, 1e-10);
@@ -319,7 +319,8 @@ do_test(const DoFHandler<dim> &dof)
       deallog.push("float");
     }
   else
-    {}
+    {
+    }
 
   deallog << "Testing " << dof.get_fe().get_name();
   deallog << std::endl;
index 6e1bdfe5470c329bcb9c361706519448db61261e..875f6f9b286993659398a995cd0b2eebaa3bc508 100644 (file)
@@ -67,7 +67,7 @@ public:
 
   virtual void
   operator()(const unsigned int                                level,
-             LinearAlgebra::distributed::Vector<double> &      dst,
+             LinearAlgebra::distributed::Vector<double>       &dst,
              const LinearAlgebra::distributed::Vector<double> &src) const
   {
     ReductionControl solver_control(1e4, 1e-50, 1e-10);
@@ -91,7 +91,8 @@ do_test(const DoFHandler<dim> &dof)
       deallog.push("float");
     }
   else
-    {}
+    {
+    }
 
   deallog << "Testing " << dof.get_fe().get_name();
   deallog << std::endl;
index 8071a1089cee34e15aac73d07d8e66fc5d7e5d60..3e625c69335960fbf2d20bcf0c98ebbf453c5149 100644 (file)
@@ -62,11 +62,11 @@ public:
 
 
   void
-  initialize(const Mapping<dim> &     mapping,
-             const DoFHandler<dim> &  dof_handler,
+  initialize(const Mapping<dim>      &mapping,
+             const DoFHandler<dim>   &dof_handler,
              const MGConstrainedDoFs &mg_constrained_dofs,
              const std::map<types::boundary_id, const Function<dim> *>
-               &                dirichlet_boundary,
+                               &dirichlet_boundary,
              const unsigned int level = numbers::invalid_unsigned_int)
   {
     const QGauss<1>                                  quad(n_q_points_1d);
@@ -120,7 +120,7 @@ public:
   }
 
   void
-  vmult(LinearAlgebra::distributed::Vector<number> &      dst,
+  vmult(LinearAlgebra::distributed::Vector<number>       &dst,
         const LinearAlgebra::distributed::Vector<number> &src) const
   {
     dst = 0;
@@ -128,7 +128,7 @@ public:
   }
 
   void
-  Tvmult(LinearAlgebra::distributed::Vector<number> &      dst,
+  Tvmult(LinearAlgebra::distributed::Vector<number>       &dst,
          const LinearAlgebra::distributed::Vector<number> &src) const
   {
     dst = 0;
@@ -136,14 +136,14 @@ public:
   }
 
   void
-  Tvmult_add(LinearAlgebra::distributed::Vector<number> &      dst,
+  Tvmult_add(LinearAlgebra::distributed::Vector<number>       &dst,
              const LinearAlgebra::distributed::Vector<number> &src) const
   {
     vmult_add(dst, src);
   }
 
   void
-  vmult_add(LinearAlgebra::distributed::Vector<number> &      dst,
+  vmult_add(LinearAlgebra::distributed::Vector<number>       &dst,
             const LinearAlgebra::distributed::Vector<number> &src) const
   {
     Assert(src.partitioners_are_globally_compatible(
@@ -186,7 +186,7 @@ public:
 
   void
   vmult_interface_down(
-    LinearAlgebra::distributed::Vector<double> &      dst,
+    LinearAlgebra::distributed::Vector<double>       &dst,
     const LinearAlgebra::distributed::Vector<double> &src) const
   {
     Assert(src.partitioners_are_globally_compatible(
@@ -232,7 +232,7 @@ public:
 
   void
   vmult_interface_up(
-    LinearAlgebra::distributed::Vector<double> &      dst,
+    LinearAlgebra::distributed::Vector<double>       &dst,
     const LinearAlgebra::distributed::Vector<double> &src) const
   {
     Assert(src.partitioners_are_globally_compatible(
@@ -313,8 +313,8 @@ public:
 
 private:
   void
-  local_apply(const MatrixFree<dim, number> &                   data,
-              LinearAlgebra::distributed::Vector<number> &      dst,
+  local_apply(const MatrixFree<dim, number>                    &data,
+              LinearAlgebra::distributed::Vector<number>       &dst,
               const LinearAlgebra::distributed::Vector<number> &src,
               const std::pair<unsigned int, unsigned int> &cell_range) const
   {
@@ -364,7 +364,7 @@ private:
 
   void
   local_diagonal_cell(
-    const MatrixFree<dim, number> &             data,
+    const MatrixFree<dim, number>              &data,
     LinearAlgebra::distributed::Vector<number> &dst,
     const unsigned int &,
     const std::pair<unsigned int, unsigned int> &cell_range) const
@@ -413,14 +413,14 @@ public:
   }
 
   void
-  vmult(LinearAlgebra::distributed::Vector<double> &      dst,
+  vmult(LinearAlgebra::distributed::Vector<double>       &dst,
         const LinearAlgebra::distributed::Vector<double> &src) const
   {
     laplace->vmult_interface_down(dst, src);
   }
 
   void
-  Tvmult(LinearAlgebra::distributed::Vector<double> &      dst,
+  Tvmult(LinearAlgebra::distributed::Vector<double>       &dst,
          const LinearAlgebra::distributed::Vector<double> &src) const
   {
     laplace->vmult_interface_up(dst, src);
@@ -448,7 +448,7 @@ public:
 
   virtual void
   operator()(const unsigned int                                level,
-             LinearAlgebra::distributed::Vector<double> &      dst,
+             LinearAlgebra::distributed::Vector<double>       &dst,
              const LinearAlgebra::distributed::Vector<double> &src) const
   {
     ReductionControl solver_control(1e4, 1e-50, 1e-10);
@@ -471,7 +471,8 @@ do_test(const DoFHandler<dim> &dof)
       deallog.push("float");
     }
   else
-    {}
+    {
+    }
 
   deallog << "Testing " << dof.get_fe().get_name();
   deallog << std::endl;
index 3e528fb730d3d2a632fb0f375946254abf3e4979..65117a6c4e0c40488699dccafe3cc788c7f0b64f 100644 (file)
@@ -69,7 +69,7 @@ public:
 
   virtual void
   operator()(const unsigned int                                level,
-             LinearAlgebra::distributed::Vector<double> &      dst,
+             LinearAlgebra::distributed::Vector<double>       &dst,
              const LinearAlgebra::distributed::Vector<double> &src) const
   {
     ReductionControl solver_control(1e4, 1e-50, 1e-10);
@@ -92,7 +92,8 @@ do_test(const DoFHandler<dim> &dof)
       deallog.push("float");
     }
   else
-    {}
+    {
+    }
 
   deallog << "Testing " << dof.get_fe().get_name();
   deallog << std::endl;
index 7aff6d4606c696757179decec9572fbcc74799b5..8194bce990c8e14160cd68e03cf7b8b32c6d62cb 100644 (file)
@@ -64,11 +64,11 @@ public:
 
 
   void
-  initialize(const Mapping<dim> &     mapping,
-             const DoFHandler<dim> &  dof_handler,
+  initialize(const Mapping<dim>      &mapping,
+             const DoFHandler<dim>   &dof_handler,
              const MGConstrainedDoFs &mg_constrained_dofs,
              const std::map<types::boundary_id, const Function<dim> *>
-               &                dirichlet_boundary,
+                               &dirichlet_boundary,
              const unsigned int level,
              const bool         threaded)
   {
@@ -127,7 +127,7 @@ public:
   }
 
   void
-  vmult(LinearAlgebra::distributed::Vector<number> &      dst,
+  vmult(LinearAlgebra::distributed::Vector<number>       &dst,
         const LinearAlgebra::distributed::Vector<number> &src) const
   {
     dst = 0;
@@ -135,7 +135,7 @@ public:
   }
 
   void
-  Tvmult(LinearAlgebra::distributed::Vector<number> &      dst,
+  Tvmult(LinearAlgebra::distributed::Vector<number>       &dst,
          const LinearAlgebra::distributed::Vector<number> &src) const
   {
     dst = 0;
@@ -143,14 +143,14 @@ public:
   }
 
   void
-  Tvmult_add(LinearAlgebra::distributed::Vector<number> &      dst,
+  Tvmult_add(LinearAlgebra::distributed::Vector<number>       &dst,
              const LinearAlgebra::distributed::Vector<number> &src) const
   {
     vmult_add(dst, src);
   }
 
   void
-  vmult_add(LinearAlgebra::distributed::Vector<number> &      dst,
+  vmult_add(LinearAlgebra::distributed::Vector<number>       &dst,
             const LinearAlgebra::distributed::Vector<number> &src) const
   {
     Assert(src.partitioners_are_globally_compatible(
@@ -193,7 +193,7 @@ public:
 
   void
   vmult_interface_down(
-    LinearAlgebra::distributed::Vector<number> &      dst,
+    LinearAlgebra::distributed::Vector<number>       &dst,
     const LinearAlgebra::distributed::Vector<number> &src) const
   {
     Assert(src.partitioners_are_globally_compatible(
@@ -239,7 +239,7 @@ public:
 
   void
   vmult_interface_up(
-    LinearAlgebra::distributed::Vector<number> &      dst,
+    LinearAlgebra::distributed::Vector<number>       &dst,
     const LinearAlgebra::distributed::Vector<number> &src) const
   {
     Assert(src.partitioners_are_globally_compatible(
@@ -320,8 +320,8 @@ public:
 
 private:
   void
-  local_apply(const MatrixFree<dim, number> &                   data,
-              LinearAlgebra::distributed::Vector<number> &      dst,
+  local_apply(const MatrixFree<dim, number>                    &data,
+              LinearAlgebra::distributed::Vector<number>       &dst,
               const LinearAlgebra::distributed::Vector<number> &src,
               const std::pair<unsigned int, unsigned int> &cell_range) const
   {
@@ -371,7 +371,7 @@ private:
 
   void
   local_diagonal_cell(
-    const MatrixFree<dim, number> &             data,
+    const MatrixFree<dim, number>              &data,
     LinearAlgebra::distributed::Vector<number> &dst,
     const unsigned int &,
     const std::pair<unsigned int, unsigned int> &cell_range) const
@@ -460,7 +460,7 @@ public:
 
   virtual void
   operator()(const unsigned int                                level,
-             LinearAlgebra::distributed::Vector<Number> &      dst,
+             LinearAlgebra::distributed::Vector<Number>       &dst,
              const LinearAlgebra::distributed::Vector<Number> &src) const
   {
     ReductionControl solver_control(1e4, 1e-50, 1e-10);
index 185f0d5a9df21babd9388d0187dfa1c4846b4f14..0eaaa3a1b929624e4d7e56c47342fe975b2bc866 100644 (file)
@@ -69,7 +69,7 @@ public:
 
   virtual void
   operator()(const unsigned int                                level,
-             LinearAlgebra::distributed::Vector<double> &      dst,
+             LinearAlgebra::distributed::Vector<double>       &dst,
              const LinearAlgebra::distributed::Vector<double> &src) const
   {
     ReductionControl solver_control(1e4, 1e-50, 1e-10);
@@ -92,7 +92,8 @@ do_test(const DoFHandler<dim> &dof)
       deallog.push("float");
     }
   else
-    {}
+    {
+    }
 
   deallog << "Testing " << dof.get_fe().get_name();
   deallog << std::endl;
index 287b2fd05f56ecb645c84eec89df91dbb6560811..69863db9ad1e7b2e22e3e8336462c898ec699e81 100644 (file)
@@ -61,11 +61,11 @@ public:
 
 
   void
-  initialize(const Mapping<dim> &     mapping,
-             const DoFHandler<dim> &  dof_handler,
+  initialize(const Mapping<dim>      &mapping,
+             const DoFHandler<dim>   &dof_handler,
              const MGConstrainedDoFs &mg_constrained_dofs,
              const std::map<types::boundary_id, const Function<dim> *>
-               &                dirichlet_boundary,
+                               &dirichlet_boundary,
              const unsigned int level,
              const bool         threaded)
   {
@@ -124,7 +124,7 @@ public:
   }
 
   void
-  vmult(LinearAlgebra::distributed::Vector<number> &      dst,
+  vmult(LinearAlgebra::distributed::Vector<number>       &dst,
         const LinearAlgebra::distributed::Vector<number> &src) const
   {
     dst = 0;
@@ -132,7 +132,7 @@ public:
   }
 
   void
-  Tvmult(LinearAlgebra::distributed::Vector<number> &      dst,
+  Tvmult(LinearAlgebra::distributed::Vector<number>       &dst,
          const LinearAlgebra::distributed::Vector<number> &src) const
   {
     dst = 0;
@@ -140,14 +140,14 @@ public:
   }
 
   void
-  Tvmult_add(LinearAlgebra::distributed::Vector<number> &      dst,
+  Tvmult_add(LinearAlgebra::distributed::Vector<number>       &dst,
              const LinearAlgebra::distributed::Vector<number> &src) const
   {
     vmult_add(dst, src);
   }
 
   void
-  vmult_add(LinearAlgebra::distributed::Vector<number> &      dst,
+  vmult_add(LinearAlgebra::distributed::Vector<number>       &dst,
             const LinearAlgebra::distributed::Vector<number> &src) const
   {
     Assert(src.partitioners_are_globally_compatible(
@@ -190,7 +190,7 @@ public:
 
   void
   vmult_interface_down(
-    LinearAlgebra::distributed::Vector<number> &      dst,
+    LinearAlgebra::distributed::Vector<number>       &dst,
     const LinearAlgebra::distributed::Vector<number> &src) const
   {
     Assert(src.partitioners_are_globally_compatible(
@@ -236,7 +236,7 @@ public:
 
   void
   vmult_interface_up(
-    LinearAlgebra::distributed::Vector<number> &      dst,
+    LinearAlgebra::distributed::Vector<number>       &dst,
     const LinearAlgebra::distributed::Vector<number> &src) const
   {
     Assert(src.partitioners_are_globally_compatible(
@@ -317,8 +317,8 @@ public:
 
 private:
   void
-  local_apply(const MatrixFree<dim, number> &                   data,
-              LinearAlgebra::distributed::Vector<number> &      dst,
+  local_apply(const MatrixFree<dim, number>                    &data,
+              LinearAlgebra::distributed::Vector<number>       &dst,
               const LinearAlgebra::distributed::Vector<number> &src,
               const std::pair<unsigned int, unsigned int> &cell_range) const
   {
@@ -368,7 +368,7 @@ private:
 
   void
   local_diagonal_cell(
-    const MatrixFree<dim, number> &             data,
+    const MatrixFree<dim, number>              &data,
     LinearAlgebra::distributed::Vector<number> &dst,
     const unsigned int &,
     const std::pair<unsigned int, unsigned int> &cell_range) const
@@ -457,7 +457,7 @@ public:
 
   virtual void
   operator()(const unsigned int                                level,
-             LinearAlgebra::distributed::Vector<Number> &      dst,
+             LinearAlgebra::distributed::Vector<Number>       &dst,
              const LinearAlgebra::distributed::Vector<Number> &src) const
   {
     ReductionControl solver_control(1e4, 1e-50, 1e-10);
index d97e05dfb7c4613b486f0170bda1ef6031df5d12..fbe0395231b87c55de00ae477ef48a9397e9a865 100644 (file)
@@ -143,7 +143,7 @@ public:
   }
 
   void
-  precondition_Jacobi(BlockVectorType &      dst,
+  precondition_Jacobi(BlockVectorType       &dst,
                       const BlockVectorType &src,
                       const value_type       omega) const
   {
@@ -191,7 +191,7 @@ public:
 
   virtual void
   operator()(const unsigned int                                     level,
-             LinearAlgebra::distributed::BlockVector<Number> &      dst,
+             LinearAlgebra::distributed::BlockVector<Number>       &dst,
              const LinearAlgebra::distributed::BlockVector<Number> &src) const
   {
     ReductionControl solver_control(1e4, 1e-50, 1e-10);
@@ -214,7 +214,8 @@ do_test(const DoFHandler<dim> &dof, const unsigned int nb)
       deallog.push("float");
     }
   else
-    {}
+    {
+    }
 
   deallog << "Testing " << dof.get_fe().get_name();
   deallog << std::endl;
index 5e84d27c98a96dfcad48cddbfdd4016bad8d176f..e2b6dfc02efa3b231edf009c448f8e0f6fccee7b 100644 (file)
@@ -70,7 +70,7 @@ public:
 
   virtual void
   operator()(const unsigned int                                level,
-             LinearAlgebra::distributed::Vector<double> &      dst,
+             LinearAlgebra::distributed::Vector<double>       &dst,
              const LinearAlgebra::distributed::Vector<double> &src) const
   {
     ReductionControl solver_control(1e4, 1e-50, 1e-10);
@@ -93,7 +93,8 @@ do_test(const DoFHandler<dim> &dof)
       deallog.push("float");
     }
   else
-    {}
+    {
+    }
 
   deallog << "Testing " << dof.get_fe().get_name();
   deallog << std::endl;
index a08337b02db828097464305d421997c7dc046ed4..e3b8a77dcaae1aecfefcfc5f0c37fa046b1cc8c8 100644 (file)
@@ -144,7 +144,7 @@ public:
   }
 
   void
-  precondition_Jacobi(BlockVectorType &      dst,
+  precondition_Jacobi(BlockVectorType       &dst,
                       const BlockVectorType &src,
                       const value_type       omega) const
   {
@@ -200,7 +200,7 @@ public:
 
   virtual void
   operator()(const unsigned int                                     level,
-             LinearAlgebra::distributed::BlockVector<Number> &      dst,
+             LinearAlgebra::distributed::BlockVector<Number>       &dst,
              const LinearAlgebra::distributed::BlockVector<Number> &src) const
   {
     ReductionControl solver_control(1e4, 1e-50, 1e-10);
@@ -228,7 +228,8 @@ do_test(const std::vector<const DoFHandler<dim> *> &dof)
       deallog.push("float");
     }
   else
-    {}
+    {
+    }
 
   for (unsigned int i = 0; i < dof.size(); ++i)
     {
index 5a24c48b5e61a59785a7e8443ad43870d323968b..6a2d19da8edec0d2187bb20564a111564de19e77 100644 (file)
@@ -71,7 +71,7 @@ class MyLaplaceOperator : public MatrixFreeOperators::LaplaceOperator<
 public:
   void
   initialize(std::shared_ptr<const MatrixFree<dim, Number>> data,
-             const MGConstrainedDoFs &                      mg_constrained_dofs,
+             const MGConstrainedDoFs                       &mg_constrained_dofs,
              const unsigned int                             level)
   {
     MatrixFreeOperators::Base<dim, LinearAlgebra::distributed::Vector<Number>>::
@@ -95,7 +95,7 @@ public:
 
   void
   initialize(std::shared_ptr<const MatrixFree<dim, Number>> data,
-             const std::vector<unsigned int> &              mask = {})
+             const std::vector<unsigned int>               &mask = {})
   {
     MatrixFreeOperators::Base<dim, LinearAlgebra::distributed::Vector<Number>>::
       initialize(data, mask);
@@ -103,7 +103,7 @@ public:
 
 
   void
-  vmult(LinearAlgebra::distributed::Vector<Number> &      dst,
+  vmult(LinearAlgebra::distributed::Vector<Number>       &dst,
         const LinearAlgebra::distributed::Vector<Number> &src) const
   {
     adjust_ghost_range_if_necessary(src);
@@ -135,8 +135,8 @@ public:
 
 private:
   void
-  local_apply(const MatrixFree<dim, Number> &                   data,
-              LinearAlgebra::distributed::Vector<Number> &      dst,
+  local_apply(const MatrixFree<dim, Number>                    &data,
+              LinearAlgebra::distributed::Vector<Number>       &dst,
               const LinearAlgebra::distributed::Vector<Number> &src,
               const std::pair<unsigned int, unsigned int> &cell_range) const
   {
@@ -195,7 +195,7 @@ public:
 
   virtual void
   operator()(const unsigned int                                level,
-             LinearAlgebra::distributed::Vector<Number> &      dst,
+             LinearAlgebra::distributed::Vector<Number>       &dst,
              const LinearAlgebra::distributed::Vector<Number> &src) const
   {
     ReductionControl solver_control(1e4, 1e-50, 1e-10);
index b29a4c0a0b96bf6a78d948d1b3608b15bf548833..e39bca030d628dbeccfbbfeb91e06552e7f19929 100644 (file)
@@ -66,8 +66,8 @@ public:
   LaplaceOperator(){};
 
   void
-  initialize(const Mapping<dim> &                mapping,
-             const DoFHandler<dim> &             dof_handler,
+  initialize(const Mapping<dim>                 &mapping,
+             const DoFHandler<dim>              &dof_handler,
              const std::set<types::boundary_id> &dirichlet_boundaries,
              const unsigned int level = numbers::invalid_unsigned_int)
   {
@@ -127,7 +127,7 @@ public:
   }
 
   void
-  vmult(LinearAlgebra::distributed::Vector<number> &      dst,
+  vmult(LinearAlgebra::distributed::Vector<number>       &dst,
         const LinearAlgebra::distributed::Vector<number> &src) const
   {
     dst = 0;
@@ -135,7 +135,7 @@ public:
   }
 
   void
-  Tvmult(LinearAlgebra::distributed::Vector<number> &      dst,
+  Tvmult(LinearAlgebra::distributed::Vector<number>       &dst,
          const LinearAlgebra::distributed::Vector<number> &src) const
   {
     dst = 0;
@@ -143,14 +143,14 @@ public:
   }
 
   void
-  Tvmult_add(LinearAlgebra::distributed::Vector<number> &      dst,
+  Tvmult_add(LinearAlgebra::distributed::Vector<number>       &dst,
              const LinearAlgebra::distributed::Vector<number> &src) const
   {
     vmult_add(dst, src);
   }
 
   void
-  vmult_add(LinearAlgebra::distributed::Vector<number> &      dst,
+  vmult_add(LinearAlgebra::distributed::Vector<number>       &dst,
             const LinearAlgebra::distributed::Vector<number> &src) const
   {
     data.cell_loop(&LaplaceOperator::local_apply, this, dst, src);
@@ -210,8 +210,8 @@ public:
 
 private:
   void
-  local_apply(const MatrixFree<dim, number> &                   data,
-              LinearAlgebra::distributed::Vector<number> &      dst,
+  local_apply(const MatrixFree<dim, number>                    &data,
+              LinearAlgebra::distributed::Vector<number>       &dst,
               const LinearAlgebra::distributed::Vector<number> &src,
               const std::pair<unsigned int, unsigned int> &cell_range) const
   {
@@ -250,7 +250,7 @@ private:
 
   void
   local_diagonal_cell(
-    const MatrixFree<dim, number> &             data,
+    const MatrixFree<dim, number>              &data,
     LinearAlgebra::distributed::Vector<number> &dst,
     const unsigned int &,
     const std::pair<unsigned int, unsigned int> &cell_range) const
@@ -301,7 +301,7 @@ public:
 
   virtual void
   operator()(const unsigned int                                level,
-             LinearAlgebra::distributed::Vector<Number> &      dst,
+             LinearAlgebra::distributed::Vector<Number>       &dst,
              const LinearAlgebra::distributed::Vector<Number> &src) const
   {
     ReductionControl solver_control(1e4, 1e-50, 1e-10);
index bb3f5e7b4c5f70f3b56967e3ec71f3eb5216601f..debcb77147b9f4e06def3cf3e2be9ddfcc6e1292 100644 (file)
@@ -71,8 +71,8 @@ public:
   }
 
   void
-  initialize(const Mapping<dim> &                mapping,
-             const DoFHandler<dim> &             dof_handler,
+  initialize(const Mapping<dim>                 &mapping,
+             const DoFHandler<dim>              &dof_handler,
              const std::set<types::boundary_id> &dirichlet_boundaries,
              const unsigned int level = numbers::invalid_unsigned_int)
   {
@@ -133,7 +133,7 @@ public:
   }
 
   void
-  vmult(LinearAlgebra::distributed::Vector<number> &      dst,
+  vmult(LinearAlgebra::distributed::Vector<number>       &dst,
         const LinearAlgebra::distributed::Vector<number> &src) const
   {
     data.cell_loop(&LaplaceOperator::local_apply, this, dst, src, true);
@@ -142,7 +142,7 @@ public:
   }
 
   void
-  vmult(LinearAlgebra::distributed::Vector<number> &      dst,
+  vmult(LinearAlgebra::distributed::Vector<number>       &dst,
         const LinearAlgebra::distributed::Vector<number> &src,
         const std::function<void(const unsigned int, const unsigned int)>
           &operation_before_loop,
@@ -159,14 +159,14 @@ public:
   }
 
   void
-  Tvmult(LinearAlgebra::distributed::Vector<number> &      dst,
+  Tvmult(LinearAlgebra::distributed::Vector<number>       &dst,
          const LinearAlgebra::distributed::Vector<number> &src) const
   {
     vmult(dst, src);
   }
 
   void
-  vmult_add(LinearAlgebra::distributed::Vector<number> &      dst,
+  vmult_add(LinearAlgebra::distributed::Vector<number>       &dst,
             const LinearAlgebra::distributed::Vector<number> &src) const
   {
     data.cell_loop(&LaplaceOperator::local_apply, this, dst, src);
@@ -175,7 +175,7 @@ public:
   }
 
   void
-  Tvmult_add(LinearAlgebra::distributed::Vector<number> &      dst,
+  Tvmult_add(LinearAlgebra::distributed::Vector<number>       &dst,
              const LinearAlgebra::distributed::Vector<number> &src) const
   {
     vmult_add(dst, src);
@@ -229,8 +229,8 @@ public:
 
 private:
   void
-  local_apply(const MatrixFree<dim, number> &                   data,
-              LinearAlgebra::distributed::Vector<number> &      dst,
+  local_apply(const MatrixFree<dim, number>                    &data,
+              LinearAlgebra::distributed::Vector<number>       &dst,
               const LinearAlgebra::distributed::Vector<number> &src,
               const std::pair<unsigned int, unsigned int> &cell_range) const
   {
@@ -269,7 +269,7 @@ private:
 
   void
   local_diagonal_cell(
-    const MatrixFree<dim, number> &             data,
+    const MatrixFree<dim, number>              &data,
     LinearAlgebra::distributed::Vector<number> &dst,
     const unsigned int &,
     const std::pair<unsigned int, unsigned int> &cell_range) const
index 4bd129c1f96d42c4b3985d276e0d6ae22c35fcde..05db905214f74ec8d60aa34c2bee8c1ab766b138 100644 (file)
@@ -72,8 +72,8 @@ public:
   }
 
   void
-  initialize(const Mapping<dim> &                mapping,
-             DoFHandler<dim> &                   dof_handler,
+  initialize(const Mapping<dim>                 &mapping,
+             DoFHandler<dim>                    &dof_handler,
              const std::set<types::boundary_id> &dirichlet_boundaries,
              const unsigned int level = numbers::invalid_unsigned_int)
   {
@@ -174,7 +174,7 @@ public:
   }
 
   void
-  vmult(LinearAlgebra::distributed::Vector<number> &      dst,
+  vmult(LinearAlgebra::distributed::Vector<number>       &dst,
         const LinearAlgebra::distributed::Vector<number> &src) const
   {
     data.cell_loop(&LaplaceOperator::local_apply, this, dst, src, true);
@@ -183,7 +183,7 @@ public:
   }
 
   void
-  vmult(LinearAlgebra::distributed::Vector<number> &      dst,
+  vmult(LinearAlgebra::distributed::Vector<number>       &dst,
         const LinearAlgebra::distributed::Vector<number> &src,
         const std::function<void(const unsigned int, const unsigned int)>
           &operation_before_loop,
@@ -200,14 +200,14 @@ public:
   }
 
   void
-  Tvmult(LinearAlgebra::distributed::Vector<number> &      dst,
+  Tvmult(LinearAlgebra::distributed::Vector<number>       &dst,
          const LinearAlgebra::distributed::Vector<number> &src) const
   {
     vmult(dst, src);
   }
 
   void
-  vmult_add(LinearAlgebra::distributed::Vector<number> &      dst,
+  vmult_add(LinearAlgebra::distributed::Vector<number>       &dst,
             const LinearAlgebra::distributed::Vector<number> &src) const
   {
     data.cell_loop(&LaplaceOperator::local_apply, this, dst, src);
@@ -216,7 +216,7 @@ public:
   }
 
   void
-  Tvmult_add(LinearAlgebra::distributed::Vector<number> &      dst,
+  Tvmult_add(LinearAlgebra::distributed::Vector<number>       &dst,
              const LinearAlgebra::distributed::Vector<number> &src) const
   {
     vmult_add(dst, src);
@@ -270,8 +270,8 @@ public:
 
 private:
   void
-  local_apply(const MatrixFree<dim, number> &                   data,
-              LinearAlgebra::distributed::Vector<number> &      dst,
+  local_apply(const MatrixFree<dim, number>                    &data,
+              LinearAlgebra::distributed::Vector<number>       &dst,
               const LinearAlgebra::distributed::Vector<number> &src,
               const std::pair<unsigned int, unsigned int> &cell_range) const
   {
@@ -310,7 +310,7 @@ private:
 
   void
   local_diagonal_cell(
-    const MatrixFree<dim, number> &             data,
+    const MatrixFree<dim, number>              &data,
     LinearAlgebra::distributed::Vector<number> &dst,
     const unsigned int &,
     const std::pair<unsigned int, unsigned int> &cell_range) const
index 5907c11fc38f38e9ea8e2a88055bef0a335eb077..49e38c344a1dbe72b464199a1cbf6b0d2b61ebdf 100644 (file)
@@ -61,8 +61,8 @@ public:
   LaplaceOperator(){};
 
   void
-  initialize(const Mapping<dim> &                mapping,
-             const DoFHandler<dim> &             dof_handler,
+  initialize(const Mapping<dim>                 &mapping,
+             const DoFHandler<dim>              &dof_handler,
              const std::set<types::boundary_id> &dirichlet_boundaries,
              const unsigned int level = numbers::invalid_unsigned_int)
   {
@@ -122,7 +122,7 @@ public:
   }
 
   void
-  vmult(LinearAlgebra::distributed::Vector<number> &      dst,
+  vmult(LinearAlgebra::distributed::Vector<number>       &dst,
         const LinearAlgebra::distributed::Vector<number> &src) const
   {
     dst = 0;
@@ -130,7 +130,7 @@ public:
   }
 
   void
-  Tvmult(LinearAlgebra::distributed::Vector<number> &      dst,
+  Tvmult(LinearAlgebra::distributed::Vector<number>       &dst,
          const LinearAlgebra::distributed::Vector<number> &src) const
   {
     dst = 0;
@@ -138,14 +138,14 @@ public:
   }
 
   void
-  Tvmult_add(LinearAlgebra::distributed::Vector<number> &      dst,
+  Tvmult_add(LinearAlgebra::distributed::Vector<number>       &dst,
              const LinearAlgebra::distributed::Vector<number> &src) const
   {
     vmult_add(dst, src);
   }
 
   void
-  vmult_add(LinearAlgebra::distributed::Vector<number> &      dst,
+  vmult_add(LinearAlgebra::distributed::Vector<number>       &dst,
             const LinearAlgebra::distributed::Vector<number> &src) const
   {
     data.cell_loop(&LaplaceOperator::local_apply, this, dst, src);
@@ -205,8 +205,8 @@ public:
 
 private:
   void
-  local_apply(const MatrixFree<dim, number> &                   data,
-              LinearAlgebra::distributed::Vector<number> &      dst,
+  local_apply(const MatrixFree<dim, number>                    &data,
+              LinearAlgebra::distributed::Vector<number>       &dst,
               const LinearAlgebra::distributed::Vector<number> &src,
               const std::pair<unsigned int, unsigned int> &cell_range) const
   {
@@ -245,7 +245,7 @@ private:
 
   void
   local_diagonal_cell(
-    const MatrixFree<dim, number> &             data,
+    const MatrixFree<dim, number>              &data,
     LinearAlgebra::distributed::Vector<number> &dst,
     const unsigned int &,
     const std::pair<unsigned int, unsigned int> &cell_range) const
@@ -296,7 +296,7 @@ public:
 
   virtual void
   operator()(const unsigned int                                level,
-             LinearAlgebra::distributed::Vector<Number> &      dst,
+             LinearAlgebra::distributed::Vector<Number>       &dst,
              const LinearAlgebra::distributed::Vector<Number> &src) const
   {
     ReductionControl solver_control(1e4, 1e-50, 1e-10);
index 6eea7cabcd4043109840f9125d318866aecc7d10..abf5fcc9cce351b2ab192bf35c51b367b77cbf67 100644 (file)
@@ -68,7 +68,7 @@ public:
 
   virtual void
   operator()(const unsigned int                                level,
-             LinearAlgebra::distributed::Vector<Number> &      dst,
+             LinearAlgebra::distributed::Vector<Number>       &dst,
              const LinearAlgebra::distributed::Vector<Number> &src) const
   {
     ReductionControl solver_control(1e4, 1e-50, 1e-10);
index 6aaf0ccf5043889590166250e24936b08e88b409..43bcfb0c1660dfd4ecacf5f3c0139c3e4c8c6981 100644 (file)
@@ -131,7 +131,7 @@ namespace Step37
 
   template <int dim>
   double
-  Coefficient<dim>::value(const Point<dim> p,
+  Coefficient<dim>::value(const Point<dim>  &p,
                           const unsigned int component) const
   {
     return value<double>(p, component);
@@ -166,20 +166,20 @@ namespace Step37
   private:
     virtual void
     apply_add(
-      LinearAlgebra::distributed::Vector<number> &      dst,
+      LinearAlgebra::distributed::Vector<number>       &dst,
       const LinearAlgebra::distributed::Vector<number> &src) const override;
 
     void
-    local_apply(const MatrixFree<dim, number> &                   data,
-                LinearAlgebra::distributed::Vector<number> &      dst,
+    local_apply(const MatrixFree<dim, number>                    &data,
+                LinearAlgebra::distributed::Vector<number>       &dst,
                 const LinearAlgebra::distributed::Vector<number> &src,
                 const std::pair<unsigned int, unsigned int> &cell_range) const;
 
     void
     local_compute_diagonal(
-      const MatrixFree<dim, number> &              data,
-      LinearAlgebra::distributed::Vector<number> dst,
-      const unsigned int &                         dummy,
+      const MatrixFree<dim, number>               &data,
+      LinearAlgebra::distributed::Vector<number>  &dst,
+      const unsigned int                          &dummy,
       const std::pair<unsigned int, unsigned int> &cell_range) const;
 
     Table<2, VectorizedArray<number>> coefficient;
@@ -229,10 +229,10 @@ namespace Step37
   template <int dim, int fe_degree, typename number>
   void
   LaplaceOperator<dim, fe_degree, number>::local_apply(
-    const MatrixFree<dim, number> &                   data,
-    LinearAlgebra::distributed::Vector<number> &      dst,
+    const MatrixFree<dim, number>                    &data,
+    LinearAlgebra::distributed::Vector<number>       &dst,
     const LinearAlgebra::distributed::Vector<number> &src,
-    const std::pair<unsigned int, unsigned int> &     cell_range) const
+    const std::pair<unsigned int, unsigned int>      &cell_range) const
   {
     FEEvaluation<dim, fe_degree, fe_degree + 1, 1, number> phi(data);
 
@@ -256,7 +256,7 @@ namespace Step37
   template <int dim, int fe_degree, typename number>
   void
   LaplaceOperator<dim, fe_degree, number>::apply_add(
-    LinearAlgebra::distributed::Vector<number> &      dst,
+    LinearAlgebra::distributed::Vector<number>       &dst,
     const LinearAlgebra::distributed::Vector<number> &src) const
   {
     this->data->cell_loop(&LaplaceOperator::local_apply, this, dst, src);
@@ -296,7 +296,7 @@ namespace Step37
   template <int dim, int fe_degree, typename number>
   void
   LaplaceOperator<dim, fe_degree, number>::local_compute_diagonal(
-    const MatrixFree<dim, number> &             data,
+    const MatrixFree<dim, number>              &data,
     LinearAlgebra::distributed::Vector<number> &dst,
     const unsigned int &,
     const std::pair<unsigned int, unsigned int> &cell_range) const
index 743a8ecf3e8463bfa8f5f5c7aa1dac6ada226a2d..8952a0a8170878a232cc0c8cae6b84c9a9ac5e11 100644 (file)
@@ -108,9 +108,9 @@ namespace StokesClass
        *     the inverse of the S block (Schur complement matrix).
        **/
       BlockSchurPreconditioner(const StokesMatrixType &S,
-                               const MassMatrixType &  Mass,
+                               const MassMatrixType   &Mass,
                                const PreconditionerMp &Mppreconditioner,
-                               const PreconditionerA Apreconditioner,
+                               const PreconditionerA  &Apreconditioner,
                                const bool              do_solve_A,
                                const double            A_block_tolerance,
                                const double            S_block_tolerance);
@@ -119,7 +119,7 @@ namespace StokesClass
        * Matrix vector product with this preconditioner object.
        */
       void
-      vmult(LinearAlgebra::distributed::BlockVector<double> &      dst,
+      vmult(LinearAlgebra::distributed::BlockVector<double>       &dst,
             const LinearAlgebra::distributed::BlockVector<double> &src) const;
 
       unsigned int
@@ -132,9 +132,9 @@ namespace StokesClass
        * References to the various matrix object this preconditioner works on.
        */
       const StokesMatrixType &stokes_matrix;
-      const MassMatrixType &  mass_matrix;
+      const MassMatrixType   &mass_matrix;
       const PreconditionerMp &mp_preconditioner;
-      const PreconditionerA a_preconditioner;
+      const PreconditionerA  &a_preconditioner;
 
       /**
        * Whether to actually invert the $\tilde A$ part of the preconditioner
@@ -157,9 +157,9 @@ namespace StokesClass
                              PreconditionerA,
                              PreconditionerMp>::
       BlockSchurPreconditioner(const StokesMatrixType &S,
-                               const MassMatrixType &  Mass,
+                               const MassMatrixType   &Mass,
                                const PreconditionerMp &Mppreconditioner,
-                               const PreconditionerA Apreconditioner,
+                               const PreconditionerA  &Apreconditioner,
                                const bool              do_solve_A,
                                const double            A_block_tolerance,
                                const double            S_block_tolerance)
@@ -209,7 +209,7 @@ namespace StokesClass
                              MassMatrixType,
                              PreconditionerA,
                              PreconditionerMp>::
-      vmult(LinearAlgebra::distributed::BlockVector<double> &      dst,
+      vmult(LinearAlgebra::distributed::BlockVector<double>       &dst,
             const LinearAlgebra::distributed::BlockVector<double> &src) const
     {
       LinearAlgebra::distributed::BlockVector<double> utmp(src);
@@ -303,7 +303,7 @@ namespace StokesClass
     value(const Point<dim> &p, const unsigned int component = 0) const;
     virtual void
     value_list(const std::vector<Point<dim>> &points,
-               std::vector<double> &          values,
+               std::vector<double>           &values,
                const unsigned int             component = 0) const;
 
     Sinker<dim> sinker;
@@ -331,7 +331,7 @@ namespace StokesClass
   template <int dim>
   void
   Viscosity<dim>::value_list(const std::vector<Point<dim>> &points,
-                             std::vector<double> &          values,
+                             std::vector<double>           &values,
                              const unsigned int             component) const
   {
     Assert(values.size() == points.size(),
@@ -359,7 +359,7 @@ namespace StokesClass
   template <int dim>
   void
   RightHandSide<dim>::vector_value(const Point<dim> &p,
-                                   Vector<double> &  values) const
+                                   Vector<double>   &values) const
   {
     double Chi = 1.0;
     for (unsigned int s = 0; s < sinker.n_sinkers; ++s)
@@ -421,7 +421,7 @@ namespace StokesClass
   void
   ExactSolution_BoundaryValues_u<dim>::vector_value(
     const Point<dim> &p,
-    Vector<double> &  values) const
+    Vector<double>   &values) const
   {
     (void)p;
     for (unsigned int i = 0; i < values.size(); ++i)
@@ -450,12 +450,12 @@ namespace StokesClass
 
   private:
     virtual void
-    apply_add(LinearAlgebra::distributed::BlockVector<number> &      dst,
+    apply_add(LinearAlgebra::distributed::BlockVector<number>       &dst,
               const LinearAlgebra::distributed::BlockVector<number> &src) const;
 
     void
-    local_apply(const dealii::MatrixFree<dim, number> &                data,
-                LinearAlgebra::distributed::BlockVector<number> &      dst,
+    local_apply(const dealii::MatrixFree<dim, number>                 &data,
+                LinearAlgebra::distributed::BlockVector<number>       &dst,
                 const LinearAlgebra::distributed::BlockVector<number> &src,
                 const std::pair<unsigned int, unsigned int> &cell_range) const;
 
@@ -501,10 +501,10 @@ namespace StokesClass
   template <int dim, int degree_v, typename number>
   void
   StokesOperator<dim, degree_v, number>::local_apply(
-    const dealii::MatrixFree<dim, number> &                data,
-    LinearAlgebra::distributed::BlockVector<number> &      dst,
+    const dealii::MatrixFree<dim, number>                 &data,
+    LinearAlgebra::distributed::BlockVector<number>       &dst,
     const LinearAlgebra::distributed::BlockVector<number> &src,
-    const std::pair<unsigned int, unsigned int> &          cell_range) const
+    const std::pair<unsigned int, unsigned int>           &cell_range) const
   {
     using vector_t = VectorizedArray<number>;
     FEEvaluation<dim, degree_v, degree_v + 1, dim, number>   velocity(data, 0);
@@ -544,7 +544,7 @@ namespace StokesClass
   template <int dim, int degree_v, typename number>
   void
   StokesOperator<dim, degree_v, number>::apply_add(
-    LinearAlgebra::distributed::BlockVector<number> &      dst,
+    LinearAlgebra::distributed::BlockVector<number>       &dst,
     const LinearAlgebra::distributed::BlockVector<number> &src) const
   {
     MatrixFreeOperators::
@@ -578,20 +578,20 @@ namespace StokesClass
 
   private:
     virtual void
-    apply_add(LinearAlgebra::distributed::Vector<number> &      dst,
+    apply_add(LinearAlgebra::distributed::Vector<number>       &dst,
               const LinearAlgebra::distributed::Vector<number> &src) const;
 
     void
-    local_apply(const dealii::MatrixFree<dim, number> &           data,
-                LinearAlgebra::distributed::Vector<number> &      dst,
+    local_apply(const dealii::MatrixFree<dim, number>            &data,
+                LinearAlgebra::distributed::Vector<number>       &dst,
                 const LinearAlgebra::distributed::Vector<number> &src,
                 const std::pair<unsigned int, unsigned int> &cell_range) const;
 
     void
     local_compute_diagonal(
-      const MatrixFree<dim, number> &              data,
-      LinearAlgebra::distributed::Vector<number> dst,
-      const unsigned int &                         dummy,
+      const MatrixFree<dim, number>               &data,
+      LinearAlgebra::distributed::Vector<number>  &dst,
+      const unsigned int                          &dummy,
       const std::pair<unsigned int, unsigned int> &cell_range) const;
 
     Table<2, VectorizedArray<number>> one_over_viscosity;
@@ -634,10 +634,10 @@ namespace StokesClass
   template <int dim, int degree_p, typename number>
   void
   MassMatrixOperator<dim, degree_p, number>::local_apply(
-    const dealii::MatrixFree<dim, number> &           data,
-    LinearAlgebra::distributed::Vector<number> &      dst,
+    const dealii::MatrixFree<dim, number>            &data,
+    LinearAlgebra::distributed::Vector<number>       &dst,
     const LinearAlgebra::distributed::Vector<number> &src,
-    const std::pair<unsigned int, unsigned int> &     cell_range) const
+    const std::pair<unsigned int, unsigned int>      &cell_range) const
   {
     FEEvaluation<dim, degree_p, degree_p + 2, 1, number> pressure(data);
 
@@ -660,7 +660,7 @@ namespace StokesClass
   template <int dim, int degree_p, typename number>
   void
   MassMatrixOperator<dim, degree_p, number>::apply_add(
-    LinearAlgebra::distributed::Vector<number> &      dst,
+    LinearAlgebra::distributed::Vector<number>       &dst,
     const LinearAlgebra::distributed::Vector<number> &src) const
   {
     MatrixFreeOperators::Base<dim,
@@ -705,7 +705,7 @@ namespace StokesClass
   template <int dim, int degree_p, typename number>
   void
   MassMatrixOperator<dim, degree_p, number>::local_compute_diagonal(
-    const MatrixFree<dim, number> &             data,
+    const MatrixFree<dim, number>              &data,
     LinearAlgebra::distributed::Vector<number> &dst,
     const unsigned int &,
     const std::pair<unsigned int, unsigned int> &cell_range) const
@@ -756,20 +756,20 @@ namespace StokesClass
 
   private:
     virtual void
-    apply_add(LinearAlgebra::distributed::Vector<number> &      dst,
+    apply_add(LinearAlgebra::distributed::Vector<number>       &dst,
               const LinearAlgebra::distributed::Vector<number> &src) const;
 
     void
-    local_apply(const dealii::MatrixFree<dim, number> &           data,
-                LinearAlgebra::distributed::Vector<number> &      dst,
+    local_apply(const dealii::MatrixFree<dim, number>            &data,
+                LinearAlgebra::distributed::Vector<number>       &dst,
                 const LinearAlgebra::distributed::Vector<number> &src,
                 const std::pair<unsigned int, unsigned int> &cell_range) const;
 
     void
     local_compute_diagonal(
-      const MatrixFree<dim, number> &              data,
-      LinearAlgebra::distributed::Vector<number> dst,
-      const unsigned int &                         dummy,
+      const MatrixFree<dim, number>               &data,
+      LinearAlgebra::distributed::Vector<number>  &dst,
+      const unsigned int                          &dummy,
       const std::pair<unsigned int, unsigned int> &cell_range) const;
 
     Table<2, VectorizedArray<number>> viscosity_x_2;
@@ -814,10 +814,10 @@ namespace StokesClass
   template <int dim, int degree_v, typename number>
   void
   ABlockOperator<dim, degree_v, number>::local_apply(
-    const dealii::MatrixFree<dim, number> &           data,
-    LinearAlgebra::distributed::Vector<number> &      dst,
+    const dealii::MatrixFree<dim, number>            &data,
+    LinearAlgebra::distributed::Vector<number>       &dst,
     const LinearAlgebra::distributed::Vector<number> &src,
-    const std::pair<unsigned int, unsigned int> &     cell_range) const
+    const std::pair<unsigned int, unsigned int>      &cell_range) const
   {
     FEEvaluation<dim, degree_v, degree_v + 1, dim, number> velocity(data);
 
@@ -841,7 +841,7 @@ namespace StokesClass
   template <int dim, int degree_v, typename number>
   void
   ABlockOperator<dim, degree_v, number>::apply_add(
-    LinearAlgebra::distributed::Vector<number> &      dst,
+    LinearAlgebra::distributed::Vector<number>       &dst,
     const LinearAlgebra::distributed::Vector<number> &src) const
   {
     MatrixFreeOperators::Base<dim,
@@ -877,7 +877,7 @@ namespace StokesClass
   template <int dim, int degree_v, typename number>
   void
   ABlockOperator<dim, degree_v, number>::local_compute_diagonal(
-    const MatrixFree<dim, number> &             data,
+    const MatrixFree<dim, number>              &data,
     LinearAlgebra::distributed::Vector<number> &dst,
     const unsigned int &,
     const std::pair<unsigned int, unsigned int> &cell_range) const
@@ -1279,7 +1279,7 @@ namespace StokesClass
     mg_transfer.initialize_constraints(mg_constrained_dofs);
     mg_transfer.build(dof_handler_u);
 
-    LevelMatrixType &  coarse_matrix = mg_matrices[0];
+    LevelMatrixType   &coarse_matrix = mg_matrices[0];
     SolverControl      coarse_solver_control(1000, 1e-12, false, false);
     SolverCG<vector_t> coarse_solver(coarse_solver_control);
 
index c6d40982c62a62e32b36b33c643c1e3de0764a7e..d6172e8e41d00e16a2d4d7447b7e1def06a6f1e2 100644 (file)
@@ -83,7 +83,7 @@ template <int dim>
 void
 extract_locally_active_level_dofs(const DoFHandler<dim> &dof_handler,
                                   const unsigned int     level,
-                                  IndexSet &             dof_set)
+                                  IndexSet              &dof_set)
 {
   dof_set = IndexSet(dof_handler.n_dofs(level));
 
index 45393acaaa8a24c775d4504a26fb18edfdec10f6..2b230f1a09cedb9577fa5c40ea305aab6dc33fa6 100644 (file)
@@ -363,7 +363,7 @@ namespace Step50
   class MGCoarseAMG : public MGCoarseGridBase<VECTOR>
   {
   public:
-    MGCoarseAMG(const LA::MPI::SparseMatrix &                  coarse_matrix,
+    MGCoarseAMG(const LA::MPI::SparseMatrix                   &coarse_matrix,
                 const LA::MPI::PreconditionAMG::AdditionalData additional_data)
       : count(0)
     {
@@ -468,7 +468,7 @@ namespace Step50
   void
   LaplaceProblem<dim>::solve()
   {
-    matrix_t &         coarse_matrix = mg_matrices[0];
+    matrix_t          &coarse_matrix = mg_matrices[0];
     SolverControl      coarse_solver_control(1000, 1e-8, false, false);
     SolverCG<vector_t> coarse_solver(coarse_solver_control);
 
index 434a488791e1b0da2b00c09d63c4484c4f676f79..059924d1fce881091b37b270e30f7072559c4c8c 100644 (file)
@@ -139,7 +139,7 @@ namespace Step50
 
     virtual void
     value_list(const std::vector<Point<dim>> &points,
-               std::vector<double> &          values,
+               std::vector<double>           &values,
                const unsigned int             component = 0) const;
 
   private:
@@ -166,7 +166,7 @@ namespace Step50
   template <int dim>
   void
   Coefficient<dim>::value_list(const std::vector<Point<dim>> &points,
-                               std::vector<double> &          values,
+                               std::vector<double>           &values,
                                const unsigned int             component) const
   {
     const unsigned int n_points = points.size();
@@ -434,7 +434,7 @@ namespace Step50
   class MGCoarseAMG : public MGCoarseGridBase<VECTOR>
   {
   public:
-    MGCoarseAMG(const LA::MPI::SparseMatrix &                  coarse_matrix,
+    MGCoarseAMG(const LA::MPI::SparseMatrix                   &coarse_matrix,
                 const LA::MPI::PreconditionAMG::AdditionalData additional_data)
       : count(0)
     {
@@ -504,7 +504,7 @@ namespace Step50
   void
   LaplaceProblem<dim>::solve()
   {
-    matrix_t &         coarse_matrix = mg_matrices[0];
+    matrix_t          &coarse_matrix = mg_matrices[0];
     SolverControl      coarse_solver_control(1000, 1e-8, false, false);
     SolverCG<vector_t> coarse_solver(coarse_solver_control);
 
index 0364e2a169f3be1e5ce59f95035f0b2f3701da6c..b8f5693184a2296a9332ae177cdadff1b724bbcb 100644 (file)
@@ -53,7 +53,7 @@
 template <int dim, typename number, int spacedim>
 void
 reinit_vector(const dealii::DoFHandler<dim, spacedim> &mg_dof,
-              MGLevelObject<dealii::Vector<number>> &  v)
+              MGLevelObject<dealii::Vector<number>>   &v)
 {
   for (unsigned int level = v.min_level(); level <= v.max_level(); ++level)
     {
@@ -173,8 +173,8 @@ template <int dim>
 void
 print_diff(const DoFHandler<dim> &dof_1,
            const DoFHandler<dim> &dof_2,
-           const Vector<double> u,
-           const Vector<double> v)
+           const Vector<double>  &u,
+           const Vector<double>  &v)
 {
   Vector<double> diff;
   diff.reinit(u);
index be6451951cace558cb230baf951a6459d817fdc7..3ba48fa7846e26429e5b1bb44d3c41d2ec12f6ca 100644 (file)
@@ -53,7 +53,7 @@
 template <int dim, typename number, int spacedim>
 void
 reinit_vector(const dealii::DoFHandler<dim, spacedim> &mg_dof,
-              MGLevelObject<dealii::Vector<number>> &  v)
+              MGLevelObject<dealii::Vector<number>>   &v)
 {
   for (unsigned int level = v.min_level(); level <= v.max_level(); ++level)
     {
@@ -173,8 +173,8 @@ template <int dim>
 void
 print_diff(const DoFHandler<dim> &dof_1,
            const DoFHandler<dim> &dof_2,
-           const Vector<double> u,
-           const Vector<double> v)
+           const Vector<double>  &u,
+           const Vector<double>  &v)
 {
   Vector<double> diff;
   diff.reinit(u);
index 1d286068be71bda00e384174cf793cde93f38457..12c5f191cb2fa1fceaa67aadabc6512cd224f359 100644 (file)
@@ -63,7 +63,7 @@
 template <int dim, typename number, int spacedim>
 void
 reinit_vector(const dealii::DoFHandler<dim, spacedim> &mg_dof,
-              MGLevelObject<dealii::Vector<number>> &  v)
+              MGLevelObject<dealii::Vector<number>>   &v)
 {
   for (unsigned int level = v.min_level(); level <= v.max_level(); ++level)
     {
@@ -109,8 +109,8 @@ template <int dim>
 void
 print_diff(const DoFHandler<dim> &dof_1,
            const DoFHandler<dim> &dof_2,
-           const Vector<double> u,
-           const Vector<double> v)
+           const Vector<double>  &u,
+           const Vector<double>  &v)
 {
   Vector<double> diff;
   diff.reinit(u);
@@ -134,7 +134,7 @@ print_diff(const DoFHandler<dim> &dof_1,
 
 template <int dim>
 void
-print(const DoFHandler<dim> &         dof,
+print(const DoFHandler<dim>          &dof,
       std::vector<std::vector<bool>> &interface_dofs)
 {
   const unsigned int        dofs_per_cell = dof.get_fe().dofs_per_cell;
index 3fe907b2497fd1a7c64bfa339014714aa7a79937..55742a8b271b7e3f8433a0bc9f962422c91c4d10 100644 (file)
@@ -68,7 +68,7 @@
 template <int dim, typename number, int spacedim>
 void
 reinit_vector(const dealii::DoFHandler<dim, spacedim> &mg_dof,
-              MGLevelObject<dealii::Vector<number>> &  v)
+              MGLevelObject<dealii::Vector<number>>   &v)
 {
   for (unsigned int level = v.min_level(); level <= v.max_level(); ++level)
     {
@@ -114,9 +114,9 @@ initialize(const DoFHandler<dim> &dof, MGLevelObject<Vector<double>> &u)
 
 template <int dim>
 void
-diff(Vector<double> &       diff,
+diff(Vector<double>        &diff,
      const DoFHandler<dim> &dof,
-     const Vector<double> v,
+     const Vector<double>  &v,
      const unsigned int     level)
 {
   diff.reinit(v);
@@ -152,10 +152,10 @@ public:
 
 template <int dim>
 void
-OutputCreator<dim>::cell(MeshWorker::DoFInfo<dim> &        dinfo,
+OutputCreator<dim>::cell(MeshWorker::DoFInfo<dim>         &dinfo,
                          MeshWorker::IntegrationInfo<dim> &info)
 {
-  const FEValuesBase<dim> &               fe = info.fe_values();
+  const FEValuesBase<dim>                &fe = info.fe_values();
   const std::vector<std::vector<double>> &uh = info.values[0];
 
   const unsigned int square_root =
@@ -243,7 +243,7 @@ LaplaceProblem<dim>::setup_system()
 
 template <int dim>
 void
-LaplaceProblem<dim>::output_gpl(const DoFHandler<dim> &        dof,
+LaplaceProblem<dim>::output_gpl(const DoFHandler<dim>         &dof,
                                 MGLevelObject<Vector<double>> &v)
 {
   MeshWorker::IntegrationInfoBox<dim> info_box;
index d2597a4bb3e4b827aed7d84ec46755ea0b4011ea..3d5eb4b414952cb5db884260f1a381b008b94662 100644 (file)
@@ -68,7 +68,7 @@
 template <int dim, typename number, int spacedim>
 void
 reinit_vector(const dealii::DoFHandler<dim, spacedim> &mg_dof,
-              MGLevelObject<dealii::Vector<number>> &  v)
+              MGLevelObject<dealii::Vector<number>>   &v)
 {
   for (unsigned int level = v.min_level(); level <= v.max_level(); ++level)
     {
@@ -115,9 +115,9 @@ initialize(const DoFHandler<dim> &dof, MGLevelObject<Vector<double>> &u)
 
 template <int dim>
 void
-diff(Vector<double> &       diff,
+diff(Vector<double>        &diff,
      const DoFHandler<dim> &dof,
-     const Vector<double> v,
+     const Vector<double>  &v,
      const unsigned int     level)
 {
   diff.reinit(v);
@@ -144,11 +144,11 @@ diff(Vector<double> &       diff,
 
 template <int dim>
 void
-diff(Vector<double> &       diff,
+diff(Vector<double>        &diff,
      const DoFHandler<dim> &dof_1,
      const DoFHandler<dim> &dof_2,
-     const Vector<double> u,
-     const Vector<double> v,
+     const Vector<double>  &u,
+     const Vector<double>  &v,
      const unsigned int     level)
 {
   diff.reinit(u);
@@ -169,7 +169,7 @@ diff(Vector<double> &       diff,
 
 template <int dim>
 void
-print(const DoFHandler<dim> &         dof,
+print(const DoFHandler<dim>          &dof,
       std::vector<std::vector<bool>> &interface_dofs)
 {
   const unsigned int dofs_per_cell = dof.get_fe().dofs_per_cell;
@@ -199,10 +199,10 @@ public:
 
 template <int dim>
 void
-OutputCreator<dim>::cell(MeshWorker::DoFInfo<dim> &        dinfo,
+OutputCreator<dim>::cell(MeshWorker::DoFInfo<dim>         &dinfo,
                          MeshWorker::IntegrationInfo<dim> &info)
 {
-  const FEValuesBase<dim> &               fe = info.fe_values();
+  const FEValuesBase<dim>                &fe = info.fe_values();
   const std::vector<std::vector<double>> &uh = info.values[0];
 
   const unsigned int square_root =
@@ -299,7 +299,7 @@ LaplaceProblem<dim>::setup_system()
 
 template <int dim>
 void
-LaplaceProblem<dim>::output_gpl(const DoFHandler<dim> &        dof,
+LaplaceProblem<dim>::output_gpl(const DoFHandler<dim>         &dof,
                                 MGLevelObject<Vector<double>> &v)
 {
   MeshWorker::IntegrationInfoBox<dim> info_box;
index 5288d72801461fe20e8201a289f4044e95c1161e..f4553acb7c885e885c35a4f8711edde888f8a1aa 100644 (file)
@@ -71,14 +71,14 @@ class LaplaceMatrix : public MeshWorker::LocalIntegrator<dim>
 public:
   LaplaceMatrix();
   virtual void
-  cell(MeshWorker::DoFInfo<dim> &        dinfo,
+  cell(MeshWorker::DoFInfo<dim>         &dinfo,
        MeshWorker::IntegrationInfo<dim> &info) const;
   virtual void
-  boundary(MeshWorker::DoFInfo<dim> &        dinfo,
+  boundary(MeshWorker::DoFInfo<dim>         &dinfo,
            MeshWorker::IntegrationInfo<dim> &info) const;
   virtual void
-  face(MeshWorker::DoFInfo<dim> &        dinfo1,
-       MeshWorker::DoFInfo<dim> &        dinfo2,
+  face(MeshWorker::DoFInfo<dim>         &dinfo1,
+       MeshWorker::DoFInfo<dim>         &dinfo2,
        MeshWorker::IntegrationInfo<dim> &info1,
        MeshWorker::IntegrationInfo<dim> &info2) const;
 };
@@ -92,7 +92,7 @@ LaplaceMatrix<dim>::LaplaceMatrix()
 
 template <int dim>
 void
-LaplaceMatrix<dim>::cell(MeshWorker::DoFInfo<dim> &        dinfo,
+LaplaceMatrix<dim>::cell(MeshWorker::DoFInfo<dim>         &dinfo,
                          MeshWorker::IntegrationInfo<dim> &info) const
 {
   AssertDimension(dinfo.n_matrices(), 1);
@@ -185,7 +185,7 @@ public:
 
   virtual void
   value_list(const std::vector<Point<dim>> &points,
-             std::vector<double> &          values,
+             std::vector<double>           &values,
              const unsigned int             component = 0) const;
 };
 
@@ -206,7 +206,7 @@ Coefficient<dim>::value(const Point<dim> &p, const unsigned int) const
 template <int dim>
 void
 Coefficient<dim>::value_list(const std::vector<Point<dim>> &points,
-                             std::vector<double> &          values,
+                             std::vector<double>           &values,
                              const unsigned int             component) const
 {
   const unsigned int n_points = points.size();
index 01218f0e6340a875d89d2f2caaa363a2d41a72bf..ecc685648176b2fd2a91f82a04ce0eadc6a8bdfd 100644 (file)
@@ -110,7 +110,7 @@ public:
 
   virtual void
   value_list(const std::vector<Point<dim>> &points,
-             std::vector<double> &          values,
+             std::vector<double>           &values,
              const unsigned int             component = 0) const;
 };
 
@@ -131,7 +131,7 @@ Coefficient<dim>::value(const Point<dim> &p, const unsigned int) const
 template <int dim>
 void
 Coefficient<dim>::value_list(const std::vector<Point<dim>> &points,
-                             std::vector<double> &          values,
+                             std::vector<double>           &values,
                              const unsigned int             component) const
 {
   const unsigned int n_points = points.size();
index ea43792b31fea3951a93dae4c506657216cc7ea3..40d7f4c28156cab4a549d93cab623cf420fefe87 100644 (file)
@@ -112,7 +112,7 @@ public:
 
   virtual void
   value_list(const std::vector<Point<dim>> &points,
-             std::vector<double> &          values,
+             std::vector<double>           &values,
              const unsigned int             component = 0) const;
 };
 
@@ -133,7 +133,7 @@ Coefficient<dim>::value(const Point<dim> &p, const unsigned int) const
 template <int dim>
 void
 Coefficient<dim>::value_list(const std::vector<Point<dim>> &points,
-                             std::vector<double> &          values,
+                             std::vector<double>           &values,
                              const unsigned int             component) const
 {
   const unsigned int n_points = points.size();
index 6a8ff7c7410055fe1c601c48d7f8a93c923606bb..3b78a566d7f9c13ed2023bf5c073df90978facc9 100644 (file)
@@ -109,7 +109,7 @@ public:
 
   virtual void
   value_list(const std::vector<Point<dim>> &points,
-             std::vector<double> &          values,
+             std::vector<double>           &values,
              const unsigned int             component = 0) const;
 };
 
@@ -130,7 +130,7 @@ Coefficient<dim>::value(const Point<dim> &p, const unsigned int) const
 template <int dim>
 void
 Coefficient<dim>::value_list(const std::vector<Point<dim>> &points,
-                             std::vector<double> &          values,
+                             std::vector<double>           &values,
                              const unsigned int             component) const
 {
   const unsigned int n_points = points.size();
index e01a7794b65c4bf221df46aa8ae0f15f575ba452..3af78834c6dff9201b62a47f0fee1f6ad62a8082 100644 (file)
@@ -109,7 +109,7 @@ public:
 
   virtual void
   value_list(const std::vector<Point<dim>> &points,
-             std::vector<double> &          values,
+             std::vector<double>           &values,
              const unsigned int             component = 0) const;
 };
 
@@ -130,7 +130,7 @@ Coefficient<dim>::value(const Point<dim> &p, const unsigned int) const
 template <int dim>
 void
 Coefficient<dim>::value_list(const std::vector<Point<dim>> &points,
-                             std::vector<double> &          values,
+                             std::vector<double>           &values,
                              const unsigned int             component) const
 {
   const unsigned int n_points = points.size();
index b6d623a06ca2abad2741d89b643f1b3578274096..c7fbba2a6c129ebed5a8f6eebdd6eddcc954c088 100644 (file)
@@ -111,7 +111,7 @@ public:
 
   virtual void
   value_list(const std::vector<Point<dim>> &points,
-             std::vector<double> &          values,
+             std::vector<double>           &values,
              const unsigned int             component = 0) const;
 };
 
@@ -132,7 +132,7 @@ Coefficient<dim>::value(const Point<dim> &p, const unsigned int) const
 template <int dim>
 void
 Coefficient<dim>::value_list(const std::vector<Point<dim>> &points,
-                             std::vector<double> &          values,
+                             std::vector<double>           &values,
                              const unsigned int             component) const
 {
   const unsigned int n_points = points.size();
index 2afe8876fd721e10958dee7d67f12e83c5f88389..0beff131988dd3f1c905e4711aae27d01ff67ae9 100644 (file)
@@ -113,7 +113,7 @@ public:
 
   virtual void
   value_list(const std::vector<Point<dim>> &points,
-             std::vector<double> &          values,
+             std::vector<double>           &values,
              const unsigned int             component = 0) const;
 };
 
@@ -134,7 +134,7 @@ Coefficient<dim>::value(const Point<dim> &p, const unsigned int) const
 template <int dim>
 void
 Coefficient<dim>::value_list(const std::vector<Point<dim>> &points,
-                             std::vector<double> &          values,
+                             std::vector<double>           &values,
                              const unsigned int             component) const
 {
   const unsigned int n_points = points.size();
index c6f216d17f130deffdbfe70bf05def2dcb6228c7..736b21c449292c09373c200dc12c29f5fbc96e8c 100644 (file)
@@ -137,7 +137,7 @@ namespace Step50
 
     virtual void
     value_list(const std::vector<Point<dim>> &points,
-               std::vector<double> &          values,
+               std::vector<double>           &values,
                const unsigned int             component = 0) const;
   };
 
@@ -158,7 +158,7 @@ namespace Step50
   template <int dim>
   void
   Coefficient<dim>::value_list(const std::vector<Point<dim>> &points,
-                               std::vector<double> &          values,
+                               std::vector<double>           &values,
                                const unsigned int             component) const
   {
     const unsigned int n_points = points.size();
@@ -408,7 +408,8 @@ namespace Step50
                          local_dof_indices[j]) // ( boundary(i) && boundary(j)
                                                // && i==j )
                    ))
-                {}
+                {
+                }
               else
                 {
                   cell_matrix(i, j) = 0;
index 45ee33fa7b208dc169f058eca1454c2e12072d79..a24802eeaf3cfd32fbaccd1db84a722652cbbfa7 100644 (file)
@@ -137,7 +137,7 @@ namespace Step50
 
     virtual void
     value_list(const std::vector<Point<dim>> &points,
-               std::vector<double> &          values,
+               std::vector<double>           &values,
                const unsigned int             component = 0) const;
   };
 
@@ -158,7 +158,7 @@ namespace Step50
   template <int dim>
   void
   Coefficient<dim>::value_list(const std::vector<Point<dim>> &points,
-                               std::vector<double> &          values,
+                               std::vector<double>           &values,
                                const unsigned int             component) const
   {
     const unsigned int n_points = points.size();
@@ -407,7 +407,8 @@ namespace Step50
                          local_dof_indices[j]) // ( boundary(i) && boundary(j)
                                                // && i==j )
                    ))
-                {}
+                {
+                }
               else
                 {
                   cell_matrix(i, j) = 0;
index e115437a2e7c911e679faedee94255c427053108..871b3a6757c7af9b99bdc78ac3da90bb814ea706 100644 (file)
@@ -137,7 +137,7 @@ namespace Step50
 
     virtual void
     value_list(const std::vector<Point<dim>> &points,
-               std::vector<double> &          values,
+               std::vector<double>           &values,
                const unsigned int             component = 0) const;
   };
 
@@ -158,7 +158,7 @@ namespace Step50
   template <int dim>
   void
   Coefficient<dim>::value_list(const std::vector<Point<dim>> &points,
-                               std::vector<double> &          values,
+                               std::vector<double>           &values,
                                const unsigned int             component) const
   {
     const unsigned int n_points = points.size();
@@ -408,7 +408,8 @@ namespace Step50
                          local_dof_indices[j]) // ( boundary(i) && boundary(j)
                                                // && i==j )
                    ))
-                {}
+                {
+                }
               else
                 {
                   cell_matrix(i, j) = 0;
index 821008098448182aef2acfc3ade1cf1a54615519..3f1cc457c24128908b8c71c4ac088437784fa107 100644 (file)
@@ -114,7 +114,7 @@ public:
 
   virtual void
   value_list(const std::vector<Point<dim>> &points,
-             std::vector<double> &          values,
+             std::vector<double>           &values,
              const unsigned int             component = 0) const;
 };
 
@@ -135,7 +135,7 @@ Coefficient<dim>::value(const Point<dim> &p, const unsigned int) const
 template <int dim>
 void
 Coefficient<dim>::value_list(const std::vector<Point<dim>> &points,
-                             std::vector<double> &          values,
+                             std::vector<double>           &values,
                              const unsigned int             component) const
 {
   const unsigned int n_points = points.size();
@@ -346,7 +346,8 @@ LaplaceProblem<dim>::assemble_multigrid()
                   local_dof_indices[j]) // ( boundary(i) && boundary(j) &&
                                         // i==j )
                ))
-            {}
+            {
+            }
           else
             {
               cell_matrix(i, j) = 0;
index 44cab6f8373a6bd19e2447b1d723b17d1a8967bc..7812393609695a5faf04360f735838c00d29f6a0 100644 (file)
@@ -72,14 +72,14 @@ class LaplaceMatrix : public MeshWorker::LocalIntegrator<dim>
 public:
   LaplaceMatrix();
   virtual void
-  cell(MeshWorker::DoFInfo<dim> &        dinfo,
+  cell(MeshWorker::DoFInfo<dim>         &dinfo,
        MeshWorker::IntegrationInfo<dim> &info) const;
   virtual void
-  boundary(MeshWorker::DoFInfo<dim> &        dinfo,
+  boundary(MeshWorker::DoFInfo<dim>         &dinfo,
            MeshWorker::IntegrationInfo<dim> &info) const;
   virtual void
-  face(MeshWorker::DoFInfo<dim> &        dinfo1,
-       MeshWorker::DoFInfo<dim> &        dinfo2,
+  face(MeshWorker::DoFInfo<dim>         &dinfo1,
+       MeshWorker::DoFInfo<dim>         &dinfo2,
        MeshWorker::IntegrationInfo<dim> &info1,
        MeshWorker::IntegrationInfo<dim> &info2) const;
 };
@@ -93,7 +93,7 @@ LaplaceMatrix<dim>::LaplaceMatrix()
 
 template <int dim>
 void
-LaplaceMatrix<dim>::cell(MeshWorker::DoFInfo<dim> &        dinfo,
+LaplaceMatrix<dim>::cell(MeshWorker::DoFInfo<dim>         &dinfo,
                          MeshWorker::IntegrationInfo<dim> &info) const
 {
   AssertDimension(dinfo.n_matrices(), 1);
@@ -186,7 +186,7 @@ public:
 
   virtual void
   value_list(const std::vector<Point<dim>> &points,
-             std::vector<double> &          values,
+             std::vector<double>           &values,
              const unsigned int             component = 0) const;
 };
 
@@ -207,7 +207,7 @@ Coefficient<dim>::value(const Point<dim> &p, const unsigned int) const
 template <int dim>
 void
 Coefficient<dim>::value_list(const std::vector<Point<dim>> &points,
-                             std::vector<double> &          values,
+                             std::vector<double>           &values,
                              const unsigned int             component) const
 {
   const unsigned int n_points = points.size();
index 054144157207ad4f63e3e579702554017dd95012..9f1fe832a4c53c2061d529acadd0bbd8784b7b7c 100644 (file)
@@ -111,7 +111,7 @@ public:
 
   virtual void
   value_list(const std::vector<Point<dim>> &points,
-             std::vector<double> &          values,
+             std::vector<double>           &values,
              const unsigned int             component = 0) const;
 };
 
@@ -132,7 +132,7 @@ Coefficient<dim>::value(const Point<dim> &p, const unsigned int) const
 template <int dim>
 void
 Coefficient<dim>::value_list(const std::vector<Point<dim>> &points,
-                             std::vector<double> &          values,
+                             std::vector<double>           &values,
                              const unsigned int             component) const
 {
   const unsigned int n_points = points.size();
index 914ccd85f0c7884ea93077ea683c0237bc77351b..a8af98b68bca404a28eb22eac4603597af4d1148 100644 (file)
@@ -67,14 +67,14 @@ namespace Step39
   {
   public:
     void
-    cell(MeshWorker::DoFInfo<dim> &                 dinfo,
+    cell(MeshWorker::DoFInfo<dim>                  &dinfo,
          typename MeshWorker::IntegrationInfo<dim> &info) const;
     void
-    boundary(MeshWorker::DoFInfo<dim> &                 dinfo,
+    boundary(MeshWorker::DoFInfo<dim>                  &dinfo,
              typename MeshWorker::IntegrationInfo<dim> &info) const;
     void
-    face(MeshWorker::DoFInfo<dim> &                 dinfo1,
-         MeshWorker::DoFInfo<dim> &                 dinfo2,
+    face(MeshWorker::DoFInfo<dim>                  &dinfo1,
+         MeshWorker::DoFInfo<dim>                  &dinfo2,
          typename MeshWorker::IntegrationInfo<dim> &info1,
          typename MeshWorker::IntegrationInfo<dim> &info2) const;
   };
@@ -83,7 +83,7 @@ namespace Step39
   template <int dim>
   void
   MatrixIntegrator<dim>::cell(
-    MeshWorker::DoFInfo<dim> &                 dinfo,
+    MeshWorker::DoFInfo<dim>                  &dinfo,
     typename MeshWorker::IntegrationInfo<dim> &info) const
   {
     LocalIntegrators::Laplace::cell_matrix(dinfo.matrix(0, false).matrix,
@@ -94,7 +94,7 @@ namespace Step39
   template <int dim>
   void
   MatrixIntegrator<dim>::boundary(
-    MeshWorker::DoFInfo<dim> &                 dinfo,
+    MeshWorker::DoFInfo<dim>                  &dinfo,
     typename MeshWorker::IntegrationInfo<dim> &info) const
   {
     const unsigned int deg = info.fe_values(0).get_fe().tensor_degree();
@@ -107,8 +107,8 @@ namespace Step39
   template <int dim>
   void
   MatrixIntegrator<dim>::face(
-    MeshWorker::DoFInfo<dim> &                 dinfo1,
-    MeshWorker::DoFInfo<dim> &                 dinfo2,
+    MeshWorker::DoFInfo<dim>                  &dinfo1,
+    MeshWorker::DoFInfo<dim>                  &dinfo2,
     typename MeshWorker::IntegrationInfo<dim> &info1,
     typename MeshWorker::IntegrationInfo<dim> &info2) const
   {
@@ -128,14 +128,14 @@ namespace Step39
   {
   public:
     void
-    cell(MeshWorker::DoFInfo<dim> &                 dinfo,
+    cell(MeshWorker::DoFInfo<dim>                  &dinfo,
          typename MeshWorker::IntegrationInfo<dim> &info) const;
     void
-    boundary(MeshWorker::DoFInfo<dim> &                 dinfo,
+    boundary(MeshWorker::DoFInfo<dim>                  &dinfo,
              typename MeshWorker::IntegrationInfo<dim> &info) const;
     void
-    face(MeshWorker::DoFInfo<dim> &                 dinfo1,
-         MeshWorker::DoFInfo<dim> &                 dinfo2,
+    face(MeshWorker::DoFInfo<dim>                  &dinfo1,
+         MeshWorker::DoFInfo<dim>                  &dinfo2,
          typename MeshWorker::IntegrationInfo<dim> &info1,
          typename MeshWorker::IntegrationInfo<dim> &info2) const;
   };
@@ -151,11 +151,11 @@ namespace Step39
   template <int dim>
   void
   RHSIntegrator<dim>::boundary(
-    MeshWorker::DoFInfo<dim> &                 dinfo,
+    MeshWorker::DoFInfo<dim>                  &dinfo,
     typename MeshWorker::IntegrationInfo<dim> &info) const
   {
     const FEValuesBase<dim> &fe           = info.fe_values();
-    Vector<double> &         local_vector = dinfo.vector(0).block(0);
+    Vector<double>          &local_vector = dinfo.vector(0).block(0);
 
     std::vector<double> boundary_values(fe.n_quadrature_points);
     exact_solution.value_list(fe.get_quadrature_points(), boundary_values);
@@ -187,14 +187,14 @@ namespace Step39
   {
   public:
     void
-    cell(MeshWorker::DoFInfo<dim> &                 dinfo,
+    cell(MeshWorker::DoFInfo<dim>                  &dinfo,
          typename MeshWorker::IntegrationInfo<dim> &info) const;
     void
-    boundary(MeshWorker::DoFInfo<dim> &                 dinfo,
+    boundary(MeshWorker::DoFInfo<dim>                  &dinfo,
              typename MeshWorker::IntegrationInfo<dim> &info) const;
     void
-    face(MeshWorker::DoFInfo<dim> &                 dinfo1,
-         MeshWorker::DoFInfo<dim> &                 dinfo2,
+    face(MeshWorker::DoFInfo<dim>                  &dinfo1,
+         MeshWorker::DoFInfo<dim>                  &dinfo2,
          typename MeshWorker::IntegrationInfo<dim> &info1,
          typename MeshWorker::IntegrationInfo<dim> &info2) const;
   };
@@ -202,7 +202,7 @@ namespace Step39
 
   template <int dim>
   void
-  Estimator<dim>::cell(MeshWorker::DoFInfo<dim> &                 dinfo,
+  Estimator<dim>::cell(MeshWorker::DoFInfo<dim>                  &dinfo,
                        typename MeshWorker::IntegrationInfo<dim> &info) const
   {
     const FEValuesBase<dim> &fe = info.fe_values();
@@ -219,7 +219,7 @@ namespace Step39
   template <int dim>
   void
   Estimator<dim>::boundary(
-    MeshWorker::DoFInfo<dim> &                 dinfo,
+    MeshWorker::DoFInfo<dim>                  &dinfo,
     typename MeshWorker::IntegrationInfo<dim> &info) const
   {
     const FEValuesBase<dim> &fe = info.fe_values();
@@ -242,14 +242,14 @@ namespace Step39
 
   template <int dim>
   void
-  Estimator<dim>::face(MeshWorker::DoFInfo<dim> &                 dinfo1,
-                       MeshWorker::DoFInfo<dim> &                 dinfo2,
+  Estimator<dim>::face(MeshWorker::DoFInfo<dim>                  &dinfo1,
+                       MeshWorker::DoFInfo<dim>                  &dinfo2,
                        typename MeshWorker::IntegrationInfo<dim> &info1,
                        typename MeshWorker::IntegrationInfo<dim> &info2) const
   {
-    const FEValuesBase<dim> &          fe   = info1.fe_values();
-    const std::vector<double> &        uh1  = info1.values[0][0];
-    const std::vector<double> &        uh2  = info2.values[0][0];
+    const FEValuesBase<dim>           &fe   = info1.fe_values();
+    const std::vector<double>         &uh1  = info1.values[0][0];
+    const std::vector<double>         &uh2  = info2.values[0][0];
     const std::vector<Tensor<1, dim>> &Duh1 = info1.gradients[0][0];
     const std::vector<Tensor<1, dim>> &Duh2 = info2.gradients[0][0];
 
@@ -280,14 +280,14 @@ namespace Step39
   {
   public:
     void
-    cell(MeshWorker::DoFInfo<dim> &                 dinfo,
+    cell(MeshWorker::DoFInfo<dim>                  &dinfo,
          typename MeshWorker::IntegrationInfo<dim> &info) const;
     void
-    boundary(MeshWorker::DoFInfo<dim> &                 dinfo,
+    boundary(MeshWorker::DoFInfo<dim>                  &dinfo,
              typename MeshWorker::IntegrationInfo<dim> &info) const;
     void
-    face(MeshWorker::DoFInfo<dim> &                 dinfo1,
-         MeshWorker::DoFInfo<dim> &                 dinfo2,
+    face(MeshWorker::DoFInfo<dim>                  &dinfo1,
+         MeshWorker::DoFInfo<dim>                  &dinfo2,
          typename MeshWorker::IntegrationInfo<dim> &info1,
          typename MeshWorker::IntegrationInfo<dim> &info2) const;
   };
@@ -296,10 +296,10 @@ namespace Step39
   template <int dim>
   void
   ErrorIntegrator<dim>::cell(
-    MeshWorker::DoFInfo<dim> &                 dinfo,
+    MeshWorker::DoFInfo<dim>                  &dinfo,
     typename MeshWorker::IntegrationInfo<dim> &info) const
   {
-    const FEValuesBase<dim> &   fe = info.fe_values();
+    const FEValuesBase<dim>    &fe = info.fe_values();
     std::vector<Tensor<1, dim>> exact_gradients(fe.n_quadrature_points);
     std::vector<double>         exact_values(fe.n_quadrature_points);
 
@@ -307,7 +307,7 @@ namespace Step39
     exact_solution.value_list(fe.get_quadrature_points(), exact_values);
 
     const std::vector<Tensor<1, dim>> &Duh = info.gradients[0][0];
-    const std::vector<double> &        uh  = info.values[0][0];
+    const std::vector<double>         &uh  = info.values[0][0];
 
     for (unsigned k = 0; k < fe.n_quadrature_points; ++k)
       {
@@ -329,7 +329,7 @@ namespace Step39
   template <int dim>
   void
   ErrorIntegrator<dim>::boundary(
-    MeshWorker::DoFInfo<dim> &                 dinfo,
+    MeshWorker::DoFInfo<dim>                  &dinfo,
     typename MeshWorker::IntegrationInfo<dim> &info) const
   {
     const FEValuesBase<dim> &fe = info.fe_values();
@@ -355,12 +355,12 @@ namespace Step39
   template <int dim>
   void
   ErrorIntegrator<dim>::face(
-    MeshWorker::DoFInfo<dim> &                 dinfo1,
-    MeshWorker::DoFInfo<dim> &                 dinfo2,
+    MeshWorker::DoFInfo<dim>                  &dinfo1,
+    MeshWorker::DoFInfo<dim>                  &dinfo2,
     typename MeshWorker::IntegrationInfo<dim> &info1,
     typename MeshWorker::IntegrationInfo<dim> &info2) const
   {
-    const FEValuesBase<dim> &  fe  = info1.fe_values();
+    const FEValuesBase<dim>   &fe  = info1.fe_values();
     const std::vector<double> &uh1 = info1.values[0][0];
     const std::vector<double> &uh2 = info2.values[0][0];
 
index 95810f3bc28fe9c116328d6e05b55a7fe4e58ba6..c29e4fc0827d88de602837eb1ff95c5f678bc0d5 100644 (file)
@@ -69,14 +69,14 @@ namespace Step39
   {
   public:
     void
-    cell(MeshWorker::DoFInfo<dim> &                 dinfo,
+    cell(MeshWorker::DoFInfo<dim>                  &dinfo,
          typename MeshWorker::IntegrationInfo<dim> &info) const;
     void
-    boundary(MeshWorker::DoFInfo<dim> &                 dinfo,
+    boundary(MeshWorker::DoFInfo<dim>                  &dinfo,
              typename MeshWorker::IntegrationInfo<dim> &info) const;
     void
-    face(MeshWorker::DoFInfo<dim> &                 dinfo1,
-         MeshWorker::DoFInfo<dim> &                 dinfo2,
+    face(MeshWorker::DoFInfo<dim>                  &dinfo1,
+         MeshWorker::DoFInfo<dim>                  &dinfo2,
          typename MeshWorker::IntegrationInfo<dim> &info1,
          typename MeshWorker::IntegrationInfo<dim> &info2) const;
   };
@@ -85,7 +85,7 @@ namespace Step39
   template <int dim>
   void
   MatrixIntegrator<dim>::cell(
-    MeshWorker::DoFInfo<dim> &                 dinfo,
+    MeshWorker::DoFInfo<dim>                  &dinfo,
     typename MeshWorker::IntegrationInfo<dim> &info) const
   {
     LocalIntegrators::Laplace::cell_matrix(dinfo.matrix(0, false).matrix,
@@ -96,7 +96,7 @@ namespace Step39
   template <int dim>
   void
   MatrixIntegrator<dim>::boundary(
-    MeshWorker::DoFInfo<dim> &                 dinfo,
+    MeshWorker::DoFInfo<dim>                  &dinfo,
     typename MeshWorker::IntegrationInfo<dim> &info) const
   {
     const unsigned int deg = info.fe_values(0).get_fe().tensor_degree();
@@ -109,8 +109,8 @@ namespace Step39
   template <int dim>
   void
   MatrixIntegrator<dim>::face(
-    MeshWorker::DoFInfo<dim> &                 dinfo1,
-    MeshWorker::DoFInfo<dim> &                 dinfo2,
+    MeshWorker::DoFInfo<dim>                  &dinfo1,
+    MeshWorker::DoFInfo<dim>                  &dinfo2,
     typename MeshWorker::IntegrationInfo<dim> &info1,
     typename MeshWorker::IntegrationInfo<dim> &info2) const
   {
@@ -130,14 +130,14 @@ namespace Step39
   {
   public:
     void
-    cell(MeshWorker::DoFInfo<dim> &                 dinfo,
+    cell(MeshWorker::DoFInfo<dim>                  &dinfo,
          typename MeshWorker::IntegrationInfo<dim> &info) const;
     void
-    boundary(MeshWorker::DoFInfo<dim> &                 dinfo,
+    boundary(MeshWorker::DoFInfo<dim>                  &dinfo,
              typename MeshWorker::IntegrationInfo<dim> &info) const;
     void
-    face(MeshWorker::DoFInfo<dim> &                 dinfo1,
-         MeshWorker::DoFInfo<dim> &                 dinfo2,
+    face(MeshWorker::DoFInfo<dim>                  &dinfo1,
+         MeshWorker::DoFInfo<dim>                  &dinfo2,
          typename MeshWorker::IntegrationInfo<dim> &info1,
          typename MeshWorker::IntegrationInfo<dim> &info2) const;
   };
@@ -153,11 +153,11 @@ namespace Step39
   template <int dim>
   void
   RHSIntegrator<dim>::boundary(
-    MeshWorker::DoFInfo<dim> &                 dinfo,
+    MeshWorker::DoFInfo<dim>                  &dinfo,
     typename MeshWorker::IntegrationInfo<dim> &info) const
   {
     const FEValuesBase<dim> &fe           = info.fe_values();
-    Vector<double> &         local_vector = dinfo.vector(0).block(0);
+    Vector<double>          &local_vector = dinfo.vector(0).block(0);
 
     std::vector<double> boundary_values(fe.n_quadrature_points);
     exact_solution.value_list(fe.get_quadrature_points(), boundary_values);
@@ -189,14 +189,14 @@ namespace Step39
   {
   public:
     void
-    cell(MeshWorker::DoFInfo<dim> &                 dinfo,
+    cell(MeshWorker::DoFInfo<dim>                  &dinfo,
          typename MeshWorker::IntegrationInfo<dim> &info) const;
     void
-    boundary(MeshWorker::DoFInfo<dim> &                 dinfo,
+    boundary(MeshWorker::DoFInfo<dim>                  &dinfo,
              typename MeshWorker::IntegrationInfo<dim> &info) const;
     void
-    face(MeshWorker::DoFInfo<dim> &                 dinfo1,
-         MeshWorker::DoFInfo<dim> &                 dinfo2,
+    face(MeshWorker::DoFInfo<dim>                  &dinfo1,
+         MeshWorker::DoFInfo<dim>                  &dinfo2,
          typename MeshWorker::IntegrationInfo<dim> &info1,
          typename MeshWorker::IntegrationInfo<dim> &info2) const;
   };
@@ -204,7 +204,7 @@ namespace Step39
 
   template <int dim>
   void
-  Estimator<dim>::cell(MeshWorker::DoFInfo<dim> &                 dinfo,
+  Estimator<dim>::cell(MeshWorker::DoFInfo<dim>                  &dinfo,
                        typename MeshWorker::IntegrationInfo<dim> &info) const
   {
     const FEValuesBase<dim> &fe = info.fe_values();
@@ -221,7 +221,7 @@ namespace Step39
   template <int dim>
   void
   Estimator<dim>::boundary(
-    MeshWorker::DoFInfo<dim> &                 dinfo,
+    MeshWorker::DoFInfo<dim>                  &dinfo,
     typename MeshWorker::IntegrationInfo<dim> &info) const
   {
     const FEValuesBase<dim> &fe = info.fe_values();
@@ -244,14 +244,14 @@ namespace Step39
 
   template <int dim>
   void
-  Estimator<dim>::face(MeshWorker::DoFInfo<dim> &                 dinfo1,
-                       MeshWorker::DoFInfo<dim> &                 dinfo2,
+  Estimator<dim>::face(MeshWorker::DoFInfo<dim>                  &dinfo1,
+                       MeshWorker::DoFInfo<dim>                  &dinfo2,
                        typename MeshWorker::IntegrationInfo<dim> &info1,
                        typename MeshWorker::IntegrationInfo<dim> &info2) const
   {
-    const FEValuesBase<dim> &          fe   = info1.fe_values();
-    const std::vector<double> &        uh1  = info1.values[0][0];
-    const std::vector<double> &        uh2  = info2.values[0][0];
+    const FEValuesBase<dim>           &fe   = info1.fe_values();
+    const std::vector<double>         &uh1  = info1.values[0][0];
+    const std::vector<double>         &uh2  = info2.values[0][0];
     const std::vector<Tensor<1, dim>> &Duh1 = info1.gradients[0][0];
     const std::vector<Tensor<1, dim>> &Duh2 = info2.gradients[0][0];
 
@@ -282,14 +282,14 @@ namespace Step39
   {
   public:
     void
-    cell(MeshWorker::DoFInfo<dim> &                 dinfo,
+    cell(MeshWorker::DoFInfo<dim>                  &dinfo,
          typename MeshWorker::IntegrationInfo<dim> &info) const;
     void
-    boundary(MeshWorker::DoFInfo<dim> &                 dinfo,
+    boundary(MeshWorker::DoFInfo<dim>                  &dinfo,
              typename MeshWorker::IntegrationInfo<dim> &info) const;
     void
-    face(MeshWorker::DoFInfo<dim> &                 dinfo1,
-         MeshWorker::DoFInfo<dim> &                 dinfo2,
+    face(MeshWorker::DoFInfo<dim>                  &dinfo1,
+         MeshWorker::DoFInfo<dim>                  &dinfo2,
          typename MeshWorker::IntegrationInfo<dim> &info1,
          typename MeshWorker::IntegrationInfo<dim> &info2) const;
   };
@@ -298,10 +298,10 @@ namespace Step39
   template <int dim>
   void
   ErrorIntegrator<dim>::cell(
-    MeshWorker::DoFInfo<dim> &                 dinfo,
+    MeshWorker::DoFInfo<dim>                  &dinfo,
     typename MeshWorker::IntegrationInfo<dim> &info) const
   {
-    const FEValuesBase<dim> &   fe = info.fe_values();
+    const FEValuesBase<dim>    &fe = info.fe_values();
     std::vector<Tensor<1, dim>> exact_gradients(fe.n_quadrature_points);
     std::vector<double>         exact_values(fe.n_quadrature_points);
 
@@ -309,7 +309,7 @@ namespace Step39
     exact_solution.value_list(fe.get_quadrature_points(), exact_values);
 
     const std::vector<Tensor<1, dim>> &Duh = info.gradients[0][0];
-    const std::vector<double> &        uh  = info.values[0][0];
+    const std::vector<double>         &uh  = info.values[0][0];
 
     for (unsigned k = 0; k < fe.n_quadrature_points; ++k)
       {
@@ -331,7 +331,7 @@ namespace Step39
   template <int dim>
   void
   ErrorIntegrator<dim>::boundary(
-    MeshWorker::DoFInfo<dim> &                 dinfo,
+    MeshWorker::DoFInfo<dim>                  &dinfo,
     typename MeshWorker::IntegrationInfo<dim> &info) const
   {
     const FEValuesBase<dim> &fe = info.fe_values();
@@ -357,12 +357,12 @@ namespace Step39
   template <int dim>
   void
   ErrorIntegrator<dim>::face(
-    MeshWorker::DoFInfo<dim> &                 dinfo1,
-    MeshWorker::DoFInfo<dim> &                 dinfo2,
+    MeshWorker::DoFInfo<dim>                  &dinfo1,
+    MeshWorker::DoFInfo<dim>                  &dinfo2,
     typename MeshWorker::IntegrationInfo<dim> &info1,
     typename MeshWorker::IntegrationInfo<dim> &info2) const
   {
-    const FEValuesBase<dim> &  fe  = info1.fe_values();
+    const FEValuesBase<dim>   &fe  = info1.fe_values();
     const std::vector<double> &uh1 = info1.values[0][0];
     const std::vector<double> &uh2 = info2.values[0][0];
 
index 462667e7a59125097a11ea86d0f8193df29717cf..e3476297c63dcbe2224244efcbdd7ca758fd45ef 100644 (file)
@@ -73,14 +73,14 @@ namespace Step39
   {
   public:
     void
-    cell(MeshWorker::DoFInfo<dim> &                 dinfo,
+    cell(MeshWorker::DoFInfo<dim>                  &dinfo,
          typename MeshWorker::IntegrationInfo<dim> &info) const;
     void
-    boundary(MeshWorker::DoFInfo<dim> &                 dinfo,
+    boundary(MeshWorker::DoFInfo<dim>                  &dinfo,
              typename MeshWorker::IntegrationInfo<dim> &info) const;
     void
-    face(MeshWorker::DoFInfo<dim> &                 dinfo1,
-         MeshWorker::DoFInfo<dim> &                 dinfo2,
+    face(MeshWorker::DoFInfo<dim>                  &dinfo1,
+         MeshWorker::DoFInfo<dim>                  &dinfo2,
          typename MeshWorker::IntegrationInfo<dim> &info1,
          typename MeshWorker::IntegrationInfo<dim> &info2) const;
   };
@@ -89,7 +89,7 @@ namespace Step39
   template <int dim>
   void
   MatrixIntegrator<dim>::cell(
-    MeshWorker::DoFInfo<dim> &                 dinfo,
+    MeshWorker::DoFInfo<dim>                  &dinfo,
     typename MeshWorker::IntegrationInfo<dim> &info) const
   {
     LocalIntegrators::Laplace::cell_matrix(dinfo.matrix(0, false).matrix,
@@ -100,7 +100,7 @@ namespace Step39
   template <int dim>
   void
   MatrixIntegrator<dim>::boundary(
-    MeshWorker::DoFInfo<dim> &                 dinfo,
+    MeshWorker::DoFInfo<dim>                  &dinfo,
     typename MeshWorker::IntegrationInfo<dim> &info) const
   {
     const unsigned int deg = info.fe_values(0).get_fe().tensor_degree();
@@ -113,8 +113,8 @@ namespace Step39
   template <int dim>
   void
   MatrixIntegrator<dim>::face(
-    MeshWorker::DoFInfo<dim> &                 dinfo1,
-    MeshWorker::DoFInfo<dim> &                 dinfo2,
+    MeshWorker::DoFInfo<dim>                  &dinfo1,
+    MeshWorker::DoFInfo<dim>                  &dinfo2,
     typename MeshWorker::IntegrationInfo<dim> &info1,
     typename MeshWorker::IntegrationInfo<dim> &info2) const
   {
@@ -134,14 +134,14 @@ namespace Step39
   {
   public:
     void
-    cell(MeshWorker::DoFInfo<dim> &                 dinfo,
+    cell(MeshWorker::DoFInfo<dim>                  &dinfo,
          typename MeshWorker::IntegrationInfo<dim> &info) const;
     void
-    boundary(MeshWorker::DoFInfo<dim> &                 dinfo,
+    boundary(MeshWorker::DoFInfo<dim>                  &dinfo,
              typename MeshWorker::IntegrationInfo<dim> &info) const;
     void
-    face(MeshWorker::DoFInfo<dim> &                 dinfo1,
-         MeshWorker::DoFInfo<dim> &                 dinfo2,
+    face(MeshWorker::DoFInfo<dim>                  &dinfo1,
+         MeshWorker::DoFInfo<dim>                  &dinfo2,
          typename MeshWorker::IntegrationInfo<dim> &info1,
          typename MeshWorker::IntegrationInfo<dim> &info2) const;
   };
@@ -157,11 +157,11 @@ namespace Step39
   template <int dim>
   void
   RHSIntegrator<dim>::boundary(
-    MeshWorker::DoFInfo<dim> &                 dinfo,
+    MeshWorker::DoFInfo<dim>                  &dinfo,
     typename MeshWorker::IntegrationInfo<dim> &info) const
   {
     const FEValuesBase<dim> &fe           = info.fe_values();
-    Vector<double> &         local_vector = dinfo.vector(0).block(0);
+    Vector<double>          &local_vector = dinfo.vector(0).block(0);
 
     std::vector<double> boundary_values(fe.n_quadrature_points);
     exact_solution.value_list(fe.get_quadrature_points(), boundary_values);
@@ -193,14 +193,14 @@ namespace Step39
   {
   public:
     void
-    cell(MeshWorker::DoFInfo<dim> &                 dinfo,
+    cell(MeshWorker::DoFInfo<dim>                  &dinfo,
          typename MeshWorker::IntegrationInfo<dim> &info) const;
     void
-    boundary(MeshWorker::DoFInfo<dim> &                 dinfo,
+    boundary(MeshWorker::DoFInfo<dim>                  &dinfo,
              typename MeshWorker::IntegrationInfo<dim> &info) const;
     void
-    face(MeshWorker::DoFInfo<dim> &                 dinfo1,
-         MeshWorker::DoFInfo<dim> &                 dinfo2,
+    face(MeshWorker::DoFInfo<dim>                  &dinfo1,
+         MeshWorker::DoFInfo<dim>                  &dinfo2,
          typename MeshWorker::IntegrationInfo<dim> &info1,
          typename MeshWorker::IntegrationInfo<dim> &info2) const;
   };
@@ -208,7 +208,7 @@ namespace Step39
 
   template <int dim>
   void
-  Estimator<dim>::cell(MeshWorker::DoFInfo<dim> &                 dinfo,
+  Estimator<dim>::cell(MeshWorker::DoFInfo<dim>                  &dinfo,
                        typename MeshWorker::IntegrationInfo<dim> &info) const
   {
     const FEValuesBase<dim> &fe = info.fe_values();
@@ -225,7 +225,7 @@ namespace Step39
   template <int dim>
   void
   Estimator<dim>::boundary(
-    MeshWorker::DoFInfo<dim> &                 dinfo,
+    MeshWorker::DoFInfo<dim>                  &dinfo,
     typename MeshWorker::IntegrationInfo<dim> &info) const
   {
     const FEValuesBase<dim> &fe = info.fe_values();
@@ -248,14 +248,14 @@ namespace Step39
 
   template <int dim>
   void
-  Estimator<dim>::face(MeshWorker::DoFInfo<dim> &                 dinfo1,
-                       MeshWorker::DoFInfo<dim> &                 dinfo2,
+  Estimator<dim>::face(MeshWorker::DoFInfo<dim>                  &dinfo1,
+                       MeshWorker::DoFInfo<dim>                  &dinfo2,
                        typename MeshWorker::IntegrationInfo<dim> &info1,
                        typename MeshWorker::IntegrationInfo<dim> &info2) const
   {
-    const FEValuesBase<dim> &          fe   = info1.fe_values();
-    const std::vector<double> &        uh1  = info1.values[0][0];
-    const std::vector<double> &        uh2  = info2.values[0][0];
+    const FEValuesBase<dim>           &fe   = info1.fe_values();
+    const std::vector<double>         &uh1  = info1.values[0][0];
+    const std::vector<double>         &uh2  = info2.values[0][0];
     const std::vector<Tensor<1, dim>> &Duh1 = info1.gradients[0][0];
     const std::vector<Tensor<1, dim>> &Duh2 = info2.gradients[0][0];
 
@@ -286,14 +286,14 @@ namespace Step39
   {
   public:
     void
-    cell(MeshWorker::DoFInfo<dim> &                 dinfo,
+    cell(MeshWorker::DoFInfo<dim>                  &dinfo,
          typename MeshWorker::IntegrationInfo<dim> &info) const;
     void
-    boundary(MeshWorker::DoFInfo<dim> &                 dinfo,
+    boundary(MeshWorker::DoFInfo<dim>                  &dinfo,
              typename MeshWorker::IntegrationInfo<dim> &info) const;
     void
-    face(MeshWorker::DoFInfo<dim> &                 dinfo1,
-         MeshWorker::DoFInfo<dim> &                 dinfo2,
+    face(MeshWorker::DoFInfo<dim>                  &dinfo1,
+         MeshWorker::DoFInfo<dim>                  &dinfo2,
          typename MeshWorker::IntegrationInfo<dim> &info1,
          typename MeshWorker::IntegrationInfo<dim> &info2) const;
   };
@@ -302,10 +302,10 @@ namespace Step39
   template <int dim>
   void
   ErrorIntegrator<dim>::cell(
-    MeshWorker::DoFInfo<dim> &                 dinfo,
+    MeshWorker::DoFInfo<dim>                  &dinfo,
     typename MeshWorker::IntegrationInfo<dim> &info) const
   {
-    const FEValuesBase<dim> &   fe = info.fe_values();
+    const FEValuesBase<dim>    &fe = info.fe_values();
     std::vector<Tensor<1, dim>> exact_gradients(fe.n_quadrature_points);
     std::vector<double>         exact_values(fe.n_quadrature_points);
 
@@ -313,7 +313,7 @@ namespace Step39
     exact_solution.value_list(fe.get_quadrature_points(), exact_values);
 
     const std::vector<Tensor<1, dim>> &Duh = info.gradients[0][0];
-    const std::vector<double> &        uh  = info.values[0][0];
+    const std::vector<double>         &uh  = info.values[0][0];
 
     for (unsigned k = 0; k < fe.n_quadrature_points; ++k)
       {
@@ -335,7 +335,7 @@ namespace Step39
   template <int dim>
   void
   ErrorIntegrator<dim>::boundary(
-    MeshWorker::DoFInfo<dim> &                 dinfo,
+    MeshWorker::DoFInfo<dim>                  &dinfo,
     typename MeshWorker::IntegrationInfo<dim> &info) const
   {
     const FEValuesBase<dim> &fe = info.fe_values();
@@ -361,12 +361,12 @@ namespace Step39
   template <int dim>
   void
   ErrorIntegrator<dim>::face(
-    MeshWorker::DoFInfo<dim> &                 dinfo1,
-    MeshWorker::DoFInfo<dim> &                 dinfo2,
+    MeshWorker::DoFInfo<dim>                  &dinfo1,
+    MeshWorker::DoFInfo<dim>                  &dinfo2,
     typename MeshWorker::IntegrationInfo<dim> &info1,
     typename MeshWorker::IntegrationInfo<dim> &info2) const
   {
-    const FEValuesBase<dim> &  fe  = info1.fe_values();
+    const FEValuesBase<dim>   &fe  = info1.fe_values();
     const std::vector<double> &uh1 = info1.values[0][0];
     const std::vector<double> &uh2 = info2.values[0][0];
 
index eceed9f6a2f839cd3ffe6f37ac254ce2d71db401..f99d44718ba814f7e79408647d812ee13e6d94b6 100644 (file)
@@ -68,14 +68,14 @@ namespace Step39
   {
   public:
     void
-    cell(MeshWorker::DoFInfo<dim> &                 dinfo,
+    cell(MeshWorker::DoFInfo<dim>                  &dinfo,
          typename MeshWorker::IntegrationInfo<dim> &info) const;
     void
-    boundary(MeshWorker::DoFInfo<dim> &                 dinfo,
+    boundary(MeshWorker::DoFInfo<dim>                  &dinfo,
              typename MeshWorker::IntegrationInfo<dim> &info) const;
     void
-    face(MeshWorker::DoFInfo<dim> &                 dinfo1,
-         MeshWorker::DoFInfo<dim> &                 dinfo2,
+    face(MeshWorker::DoFInfo<dim>                  &dinfo1,
+         MeshWorker::DoFInfo<dim>                  &dinfo2,
          typename MeshWorker::IntegrationInfo<dim> &info1,
          typename MeshWorker::IntegrationInfo<dim> &info2) const;
   };
@@ -84,7 +84,7 @@ namespace Step39
   template <int dim>
   void
   MatrixIntegrator<dim>::cell(
-    MeshWorker::DoFInfo<dim> &                 dinfo,
+    MeshWorker::DoFInfo<dim>                  &dinfo,
     typename MeshWorker::IntegrationInfo<dim> &info) const
   {
     LocalIntegrators::Laplace::cell_matrix(dinfo.matrix(0, false).matrix,
@@ -95,7 +95,7 @@ namespace Step39
   template <int dim>
   void
   MatrixIntegrator<dim>::boundary(
-    MeshWorker::DoFInfo<dim> &                 dinfo,
+    MeshWorker::DoFInfo<dim>                  &dinfo,
     typename MeshWorker::IntegrationInfo<dim> &info) const
   {
     const unsigned int deg = info.fe_values(0).get_fe().tensor_degree();
@@ -108,8 +108,8 @@ namespace Step39
   template <int dim>
   void
   MatrixIntegrator<dim>::face(
-    MeshWorker::DoFInfo<dim> &                 dinfo1,
-    MeshWorker::DoFInfo<dim> &                 dinfo2,
+    MeshWorker::DoFInfo<dim>                  &dinfo1,
+    MeshWorker::DoFInfo<dim>                  &dinfo2,
     typename MeshWorker::IntegrationInfo<dim> &info1,
     typename MeshWorker::IntegrationInfo<dim> &info2) const
   {
@@ -129,14 +129,14 @@ namespace Step39
   {
   public:
     void
-    cell(MeshWorker::DoFInfo<dim> &                 dinfo,
+    cell(MeshWorker::DoFInfo<dim>                  &dinfo,
          typename MeshWorker::IntegrationInfo<dim> &info) const;
     void
-    boundary(MeshWorker::DoFInfo<dim> &                 dinfo,
+    boundary(MeshWorker::DoFInfo<dim>                  &dinfo,
              typename MeshWorker::IntegrationInfo<dim> &info) const;
     void
-    face(MeshWorker::DoFInfo<dim> &                 dinfo1,
-         MeshWorker::DoFInfo<dim> &                 dinfo2,
+    face(MeshWorker::DoFInfo<dim>                  &dinfo1,
+         MeshWorker::DoFInfo<dim>                  &dinfo2,
          typename MeshWorker::IntegrationInfo<dim> &info1,
          typename MeshWorker::IntegrationInfo<dim> &info2) const;
   };
@@ -152,11 +152,11 @@ namespace Step39
   template <int dim>
   void
   RHSIntegrator<dim>::boundary(
-    MeshWorker::DoFInfo<dim> &                 dinfo,
+    MeshWorker::DoFInfo<dim>                  &dinfo,
     typename MeshWorker::IntegrationInfo<dim> &info) const
   {
     const FEValuesBase<dim> &fe           = info.fe_values();
-    Vector<double> &         local_vector = dinfo.vector(0).block(0);
+    Vector<double>          &local_vector = dinfo.vector(0).block(0);
 
     std::vector<double> boundary_values(fe.n_quadrature_points);
     exact_solution.value_list(fe.get_quadrature_points(), boundary_values);
@@ -188,14 +188,14 @@ namespace Step39
   {
   public:
     void
-    cell(MeshWorker::DoFInfo<dim> &                 dinfo,
+    cell(MeshWorker::DoFInfo<dim>                  &dinfo,
          typename MeshWorker::IntegrationInfo<dim> &info) const;
     void
-    boundary(MeshWorker::DoFInfo<dim> &                 dinfo,
+    boundary(MeshWorker::DoFInfo<dim>                  &dinfo,
              typename MeshWorker::IntegrationInfo<dim> &info) const;
     void
-    face(MeshWorker::DoFInfo<dim> &                 dinfo1,
-         MeshWorker::DoFInfo<dim> &                 dinfo2,
+    face(MeshWorker::DoFInfo<dim>                  &dinfo1,
+         MeshWorker::DoFInfo<dim>                  &dinfo2,
          typename MeshWorker::IntegrationInfo<dim> &info1,
          typename MeshWorker::IntegrationInfo<dim> &info2) const;
   };
@@ -203,7 +203,7 @@ namespace Step39
 
   template <int dim>
   void
-  Estimator<dim>::cell(MeshWorker::DoFInfo<dim> &                 dinfo,
+  Estimator<dim>::cell(MeshWorker::DoFInfo<dim>                  &dinfo,
                        typename MeshWorker::IntegrationInfo<dim> &info) const
   {
     const FEValuesBase<dim> &fe = info.fe_values();
@@ -220,7 +220,7 @@ namespace Step39
   template <int dim>
   void
   Estimator<dim>::boundary(
-    MeshWorker::DoFInfo<dim> &                 dinfo,
+    MeshWorker::DoFInfo<dim>                  &dinfo,
     typename MeshWorker::IntegrationInfo<dim> &info) const
   {
     const FEValuesBase<dim> &fe = info.fe_values();
@@ -243,14 +243,14 @@ namespace Step39
 
   template <int dim>
   void
-  Estimator<dim>::face(MeshWorker::DoFInfo<dim> &                 dinfo1,
-                       MeshWorker::DoFInfo<dim> &                 dinfo2,
+  Estimator<dim>::face(MeshWorker::DoFInfo<dim>                  &dinfo1,
+                       MeshWorker::DoFInfo<dim>                  &dinfo2,
                        typename MeshWorker::IntegrationInfo<dim> &info1,
                        typename MeshWorker::IntegrationInfo<dim> &info2) const
   {
-    const FEValuesBase<dim> &          fe   = info1.fe_values();
-    const std::vector<double> &        uh1  = info1.values[0][0];
-    const std::vector<double> &        uh2  = info2.values[0][0];
+    const FEValuesBase<dim>           &fe   = info1.fe_values();
+    const std::vector<double>         &uh1  = info1.values[0][0];
+    const std::vector<double>         &uh2  = info2.values[0][0];
     const std::vector<Tensor<1, dim>> &Duh1 = info1.gradients[0][0];
     const std::vector<Tensor<1, dim>> &Duh2 = info2.gradients[0][0];
 
@@ -281,14 +281,14 @@ namespace Step39
   {
   public:
     void
-    cell(MeshWorker::DoFInfo<dim> &                 dinfo,
+    cell(MeshWorker::DoFInfo<dim>                  &dinfo,
          typename MeshWorker::IntegrationInfo<dim> &info) const;
     void
-    boundary(MeshWorker::DoFInfo<dim> &                 dinfo,
+    boundary(MeshWorker::DoFInfo<dim>                  &dinfo,
              typename MeshWorker::IntegrationInfo<dim> &info) const;
     void
-    face(MeshWorker::DoFInfo<dim> &                 dinfo1,
-         MeshWorker::DoFInfo<dim> &                 dinfo2,
+    face(MeshWorker::DoFInfo<dim>                  &dinfo1,
+         MeshWorker::DoFInfo<dim>                  &dinfo2,
          typename MeshWorker::IntegrationInfo<dim> &info1,
          typename MeshWorker::IntegrationInfo<dim> &info2) const;
   };
@@ -297,10 +297,10 @@ namespace Step39
   template <int dim>
   void
   ErrorIntegrator<dim>::cell(
-    MeshWorker::DoFInfo<dim> &                 dinfo,
+    MeshWorker::DoFInfo<dim>                  &dinfo,
     typename MeshWorker::IntegrationInfo<dim> &info) const
   {
-    const FEValuesBase<dim> &   fe = info.fe_values();
+    const FEValuesBase<dim>    &fe = info.fe_values();
     std::vector<Tensor<1, dim>> exact_gradients(fe.n_quadrature_points);
     std::vector<double>         exact_values(fe.n_quadrature_points);
 
@@ -308,7 +308,7 @@ namespace Step39
     exact_solution.value_list(fe.get_quadrature_points(), exact_values);
 
     const std::vector<Tensor<1, dim>> &Duh = info.gradients[0][0];
-    const std::vector<double> &        uh  = info.values[0][0];
+    const std::vector<double>         &uh  = info.values[0][0];
 
     for (unsigned k = 0; k < fe.n_quadrature_points; ++k)
       {
@@ -330,7 +330,7 @@ namespace Step39
   template <int dim>
   void
   ErrorIntegrator<dim>::boundary(
-    MeshWorker::DoFInfo<dim> &                 dinfo,
+    MeshWorker::DoFInfo<dim>                  &dinfo,
     typename MeshWorker::IntegrationInfo<dim> &info) const
   {
     const FEValuesBase<dim> &fe = info.fe_values();
@@ -356,12 +356,12 @@ namespace Step39
   template <int dim>
   void
   ErrorIntegrator<dim>::face(
-    MeshWorker::DoFInfo<dim> &                 dinfo1,
-    MeshWorker::DoFInfo<dim> &                 dinfo2,
+    MeshWorker::DoFInfo<dim>                  &dinfo1,
+    MeshWorker::DoFInfo<dim>                  &dinfo2,
     typename MeshWorker::IntegrationInfo<dim> &info1,
     typename MeshWorker::IntegrationInfo<dim> &info2) const
   {
-    const FEValuesBase<dim> &  fe  = info1.fe_values();
+    const FEValuesBase<dim>   &fe  = info1.fe_values();
     const std::vector<double> &uh1 = info1.values[0][0];
     const std::vector<double> &uh2 = info2.values[0][0];
 
index 101d9466a99f4ef68629f1e33bb0f3256fc7388d..81828fbc02349f35429b4ce226d9a1ce7d40e700 100644 (file)
@@ -136,7 +136,7 @@ namespace Step50
 
     virtual void
     value_list(const std::vector<Point<dim>> &points,
-               std::vector<double> &          values,
+               std::vector<double>           &values,
                const unsigned int             component = 0) const;
 
   private:
@@ -163,7 +163,7 @@ namespace Step50
   template <int dim>
   void
   Coefficient<dim>::value_list(const std::vector<Point<dim>> &points,
-                               std::vector<double> &          values,
+                               std::vector<double>           &values,
                                const unsigned int             component) const
   {
     const unsigned int n_points = points.size();
index 712b5dfdc80bdd2dd090b8521a81586e971e28fa..3e4276cc0040abd7197712ac51257c3b0c1ea26a 100644 (file)
@@ -136,7 +136,7 @@ namespace Step50
 
     virtual void
     value_list(const std::vector<Point<dim>> &points,
-               std::vector<double> &          values,
+               std::vector<double>           &values,
                const unsigned int             component = 0) const;
   };
 
@@ -157,7 +157,7 @@ namespace Step50
   template <int dim>
   void
   Coefficient<dim>::value_list(const std::vector<Point<dim>> &points,
-                               std::vector<double> &          values,
+                               std::vector<double>           &values,
                                const unsigned int             component) const
   {
     (void)component;
@@ -414,7 +414,8 @@ namespace Step50
                          local_dof_indices[j]) // ( boundary(i) && boundary(j)
                                                // && i==j )
                    ))
-                {}
+                {
+                }
               else
                 {
                   cell_matrix(i, j) = 0;
index 005caa3a7a6de866ec7ad261d8e8c188dcdb3706..a8283946d591ca1b1984b992e965bf8b1fa11aea 100644 (file)
@@ -45,7 +45,7 @@
 template <int dim, typename number, int spacedim>
 void
 reinit_vector(const dealii::DoFHandler<dim, spacedim> &mg_dof,
-              MGLevelObject<dealii::Vector<number>> &  v)
+              MGLevelObject<dealii::Vector<number>>   &v)
 {
   for (unsigned int level = v.min_level(); level <= v.max_level(); ++level)
     {
index 45c51462f15b6d14e3eab30190cca19b5c724f49..2c9a925ea0f5c8323733a4e52a5c469358cbf022 100644 (file)
@@ -49,7 +49,7 @@
 template <int dim, typename number, int spacedim>
 void
 reinit_vector(const dealii::DoFHandler<dim, spacedim> &mg_dof,
-              MGLevelObject<dealii::Vector<number>> &  v)
+              MGLevelObject<dealii::Vector<number>>   &v)
 {
   for (unsigned int level = v.min_level(); level <= v.max_level(); ++level)
     {
index c2e0d510d97f360d60202cb9d127f7541b5a829a..e190e7e3e6259d24ddce18a2b59b161a4fa1e798 100644 (file)
@@ -51,7 +51,7 @@
 template <int dim, typename number, int spacedim>
 void
 reinit_vector(const dealii::DoFHandler<dim, spacedim> &mg_dof,
-              MGLevelObject<dealii::Vector<number>> &  v)
+              MGLevelObject<dealii::Vector<number>>   &v)
 {
   for (unsigned int level = v.min_level(); level <= v.max_level(); ++level)
     {
@@ -149,8 +149,8 @@ template <int dim>
 void
 print_diff(const DoFHandler<dim> &dof_1,
            const DoFHandler<dim> &dof_2,
-           const Vector<double> u,
-           const Vector<double> v)
+           const Vector<double>  &u,
+           const Vector<double>  &v)
 {
   Vector<double> diff;
   diff.reinit(u);
index b0284c4beb5dc7a43966278e3a99df891bd8acd8..d0f1d9d055fa24e800e8b4ea956eb952f32f396c 100644 (file)
@@ -45,9 +45,9 @@
 template <int dim, typename number, int spacedim>
 void
 reinit_vector_by_blocks(
-  const dealii::DoFHandler<dim, spacedim> &          mg_dof,
-  MGLevelObject<BlockVector<number>> &               v,
-  const std::vector<bool> &                          sel,
+  const dealii::DoFHandler<dim, spacedim>           &mg_dof,
+  MGLevelObject<BlockVector<number>>                &v,
+  const std::vector<bool>                           &sel,
   std::vector<std::vector<types::global_dof_index>> &ndofs)
 {
   std::vector<bool> selected = sel;
@@ -82,8 +82,8 @@ reinit_vector_by_blocks(
 
 template <int dim>
 void
-check_block(const FiniteElement<dim> fe,
-            const std::vector<bool> &  selected,
+check_block(const FiniteElement<dim>  &fe,
+            const std::vector<bool>   &selected,
             const std::vector<double> &factors)
 {
   deallog << fe.get_name() << std::endl << "selected ";
index 3ca023cf552964c1dca94b79f97db6aa9bc28a04..bfd83c639327d22501499b7dffdb2f3415f57edb 100644 (file)
@@ -45,8 +45,8 @@
 template <int dim, typename number, int spacedim>
 void
 reinit_vector_by_blocks(
-  const dealii::DoFHandler<dim, spacedim> &          mg_dof,
-  MGLevelObject<dealii::Vector<number>> &            v,
+  const dealii::DoFHandler<dim, spacedim>           &mg_dof,
+  MGLevelObject<dealii::Vector<number>>             &v,
   const unsigned int                                 selected_block,
   std::vector<std::vector<types::global_dof_index>> &ndofs)
 {
index 655c8fd26991d92da97d7c8a1844229ca85f2e96..0e3b091c5bd4e15042febc25c72b6623960f2142 100644 (file)
@@ -47,8 +47,8 @@
 template <int dim, typename number, int spacedim>
 void
 reinit_vector_by_blocks(
-  const dealii::DoFHandler<dim, spacedim> &          mg_dof,
-  MGLevelObject<dealii::Vector<number>> &            v,
+  const dealii::DoFHandler<dim, spacedim>           &mg_dof,
+  MGLevelObject<dealii::Vector<number>>             &v,
   const unsigned int                                 selected_block,
   std::vector<std::vector<types::global_dof_index>> &ndofs)
 {
@@ -77,9 +77,9 @@ reinit_vector_by_blocks(
 template <int dim, typename number, int spacedim>
 void
 reinit_vector_by_blocks(
-  const dealii::DoFHandler<dim, spacedim> &          mg_dof,
-  MGLevelObject<BlockVector<number>> &               v,
-  const std::vector<bool> &                          sel,
+  const dealii::DoFHandler<dim, spacedim>           &mg_dof,
+  MGLevelObject<BlockVector<number>>                &v,
+  const std::vector<bool>                           &sel,
   std::vector<std::vector<types::global_dof_index>> &ndofs)
 {
   std::vector<bool> selected = sel;
index ccf381c27f3f34ffdf5eff1eebf9e6129bb00176..3e2e758cb17f34b5bdd68b11be54609574204def 100644 (file)
@@ -42,7 +42,7 @@
 template <int dim, typename number, int spacedim>
 void
 reinit_vector(const dealii::DoFHandler<dim, spacedim> &mg_dof,
-              MGLevelObject<dealii::Vector<number>> &  v)
+              MGLevelObject<dealii::Vector<number>>   &v)
 {
   for (unsigned int level = v.min_level(); level <= v.max_leve(); ++level)
     {
@@ -54,7 +54,7 @@ reinit_vector(const dealii::DoFHandler<dim, spacedim> &mg_dof,
 
 template <typename Transfer>
 void
-make_matrix(const Transfer &    transfer,
+make_matrix(const Transfer     &transfer,
             const unsigned int  high_level,
             FullMatrix<double> &matrix)
 {
index 7b97816d4b2d48839c512a5f8a03405facfbde08..74c2b95ac3605ce722ebaed31171f34f9ac230a0 100644 (file)
@@ -43,7 +43,7 @@
 template <int dim, typename number, int spacedim>
 void
 reinit_vector(const dealii::DoFHandler<dim, spacedim> &mg_dof,
-              MGLevelObject<dealii::Vector<number>> &  v)
+              MGLevelObject<dealii::Vector<number>>   &v)
 {
   for (unsigned int level = v.min_level(); level <= v.max_leve(); ++level)
     {
@@ -55,7 +55,7 @@ reinit_vector(const dealii::DoFHandler<dim, spacedim> &mg_dof,
 
 template <typename Transfer>
 void
-make_matrix(const Transfer &    transfer,
+make_matrix(const Transfer     &transfer,
             const unsigned int  high_level,
             FullMatrix<double> &matrix)
 {
index f397f985f29cac3323250b854032fc1a048800c0..fd224e1312cdcc5a7f6639f15f67a6bcdbae1668 100644 (file)
@@ -44,7 +44,7 @@
 template <int dim, typename number, int spacedim>
 void
 reinit_vector(const dealii::DoFHandler<dim, spacedim> &mg_dof,
-              MGLevelObject<dealii::Vector<number>> &  v)
+              MGLevelObject<dealii::Vector<number>>   &v)
 {
   for (unsigned int level = v.min_level(); level <= v.max_leve(); ++level)
     {
@@ -56,7 +56,7 @@ reinit_vector(const dealii::DoFHandler<dim, spacedim> &mg_dof,
 
 template <typename Transfer>
 void
-make_matrix(const Transfer &    transfer,
+make_matrix(const Transfer     &transfer,
             const unsigned int  high_level,
             FullMatrix<double> &matrix)
 {
index c7721d6f8cfb3a4a53938a69bb57137e3deee2c6..cae2ad7377a7e9ac99d607c68fce3abd2d694a68 100644 (file)
@@ -44,7 +44,7 @@
 template <int dim, typename number, int spacedim>
 void
 reinit_vector(const dealii::DoFHandler<dim, spacedim> &mg_dof,
-              MGLevelObject<dealii::Vector<number>> &  v)
+              MGLevelObject<dealii::Vector<number>>   &v)
 {
   for (unsigned int level = v.min_level(); level <= v.max_leve(); ++level)
     {
@@ -56,7 +56,7 @@ reinit_vector(const dealii::DoFHandler<dim, spacedim> &mg_dof,
 
 template <typename Transfer>
 void
-make_matrix(const Transfer &    transfer,
+make_matrix(const Transfer     &transfer,
             const unsigned int  high_level,
             FullMatrix<double> &matrix)
 {
index ec2520a0353f4d961d66a992c9a4268de5e7b070..8dd06ed53d7eb14da4eaae23d466fc34edb665c2 100644 (file)
@@ -45,7 +45,7 @@
 template <int dim, typename number, int spacedim>
 void
 reinit_vector(const dealii::DoFHandler<dim, spacedim> &mg_dof,
-              MGLevelObject<dealii::Vector<number>> &  v)
+              MGLevelObject<dealii::Vector<number>>   &v)
 {
   for (unsigned int level = v.min_level(); level <= v.max_leve(); ++level)
     {
@@ -57,7 +57,7 @@ reinit_vector(const dealii::DoFHandler<dim, spacedim> &mg_dof,
 
 template <typename Transfer>
 void
-make_matrix(const Transfer &    transfer,
+make_matrix(const Transfer     &transfer,
             const unsigned int  high_level,
             FullMatrix<double> &matrix)
 {
index 7fa05478fb3270d5e05d1ec681630d76df260d33..3ffd7945f5e1a92f90facd6be2aa9fbd3779daca 100644 (file)
@@ -45,7 +45,7 @@
 template <int dim, typename number, int spacedim>
 void
 reinit_vector(const dealii::DoFHandler<dim, spacedim> &mg_dof,
-              MGLevelObject<dealii::Vector<number>> &  v)
+              MGLevelObject<dealii::Vector<number>>   &v)
 {
   for (unsigned int level = v.min_level(); level <= v.max_leve(); ++level)
     {
@@ -57,7 +57,7 @@ reinit_vector(const dealii::DoFHandler<dim, spacedim> &mg_dof,
 
 template <typename Transfer>
 void
-make_matrix(const Transfer &    transfer,
+make_matrix(const Transfer     &transfer,
             const unsigned int  high_level,
             FullMatrix<double> &matrix)
 {
index 47b573ab3e6d0ba4d4826e34e994338dc3ca278d..a5ff175a8d97579dc0053b12278debe31f216f05 100644 (file)
@@ -46,7 +46,7 @@
 template <int dim, typename number, int spacedim>
 void
 reinit_vector(const dealii::DoFHandler<dim, spacedim> &mg_dof,
-              MGLevelObject<dealii::Vector<number>> &  v)
+              MGLevelObject<dealii::Vector<number>>   &v)
 {
   for (unsigned int level = v.min_level(); level <= v.max_leve(); ++level)
     {
@@ -58,7 +58,7 @@ reinit_vector(const dealii::DoFHandler<dim, spacedim> &mg_dof,
 
 template <typename Transfer>
 void
-make_matrix(const Transfer &    transfer,
+make_matrix(const Transfer     &transfer,
             const unsigned int  high_level,
             FullMatrix<double> &matrix)
 {
index c5e05758cfca0b6084563762a416405668f38bb0..aebb7b5549f598fed29f01175361cb223c4dcaff 100644 (file)
@@ -45,7 +45,7 @@
 template <int dim, typename number, int spacedim>
 void
 reinit_vector(const dealii::DoFHandler<dim, spacedim> &mg_dof,
-              MGLevelObject<dealii::Vector<number>> &  v)
+              MGLevelObject<dealii::Vector<number>>   &v)
 {
   for (unsigned int level = v.min_level(); level <= v.max_leve(); ++level)
     {
@@ -57,7 +57,7 @@ reinit_vector(const dealii::DoFHandler<dim, spacedim> &mg_dof,
 
 template <typename Transfer>
 void
-make_matrix(const Transfer &    transfer,
+make_matrix(const Transfer     &transfer,
             const unsigned int  high_level,
             FullMatrix<double> &matrix)
 {
index 32abebd8d66458f6e3653358c21028e81b646934..5dd3a97f37d145602ab96fdbfaf924c860197e90 100644 (file)
@@ -47,7 +47,7 @@
 template <int dim, typename number, int spacedim>
 void
 reinit_vector(const dealii::DoFHandler<dim, spacedim> &mg_dof,
-              MGLevelObject<dealii::Vector<number>> &  v)
+              MGLevelObject<dealii::Vector<number>>   &v)
 {
   for (unsigned int level = v.min_level(); level <= v.max_leve(); ++level)
     {
@@ -59,7 +59,7 @@ reinit_vector(const dealii::DoFHandler<dim, spacedim> &mg_dof,
 
 template <typename Transfer>
 void
-make_matrix(const Transfer &    transfer,
+make_matrix(const Transfer     &transfer,
             const unsigned int  high_level,
             FullMatrix<double> &matrix)
 {
index 2457a7ac18d9f3d57578986c81a1a0f0f5fa317a..a87a78f9babbece6875e5624e470a70d2fca085f 100644 (file)
@@ -45,7 +45,7 @@
 template <int dim, typename number, int spacedim>
 void
 reinit_vector(const dealii::DoFHandler<dim, spacedim> &mg_dof,
-              MGLevelObject<dealii::Vector<number>> &  v)
+              MGLevelObject<dealii::Vector<number>>   &v)
 {
   for (unsigned int level = v.min_level(); level <= v.max_leve(); ++level)
     {
@@ -57,7 +57,7 @@ reinit_vector(const dealii::DoFHandler<dim, spacedim> &mg_dof,
 
 template <typename Transfer>
 void
-make_matrix(const Transfer &    transfer,
+make_matrix(const Transfer     &transfer,
             const unsigned int  high_level,
             FullMatrix<double> &matrix)
 {
index 698b5060af0139e4e8fb9a87d75bd465abd946d9..6376cd73c43b3da764e7f93343c80374955c136d 100644 (file)
@@ -47,7 +47,7 @@
 template <int dim, typename number, int spacedim>
 void
 reinit_vector(const dealii::DoFHandler<dim, spacedim> &mg_dof,
-              MGLevelObject<dealii::Vector<number>> &  v)
+              MGLevelObject<dealii::Vector<number>>   &v)
 {
   for (unsigned int level = v.min_level(); level <= v.max_leve(); ++level)
     {
@@ -59,7 +59,7 @@ reinit_vector(const dealii::DoFHandler<dim, spacedim> &mg_dof,
 
 template <typename Transfer>
 void
-make_matrix(const Transfer &    transfer,
+make_matrix(const Transfer     &transfer,
             const unsigned int  high_level,
             FullMatrix<double> &matrix)
 {
index 922aae56decea7de2de7dc6e3432c7214f0d20b1..1b4607dd724418d9fdc944d315940d9afea73aac 100644 (file)
@@ -46,7 +46,7 @@
 template <int dim, typename number, int spacedim>
 void
 reinit_vector(const dealii::DoFHandler<dim, spacedim> &mg_dof,
-              MGLevelObject<dealii::Vector<number>> &  v)
+              MGLevelObject<dealii::Vector<number>>   &v)
 {
   for (unsigned int level = v.min_level(); level <= v.max_leve(); ++level)
     {
@@ -58,7 +58,7 @@ reinit_vector(const dealii::DoFHandler<dim, spacedim> &mg_dof,
 
 template <typename Transfer>
 void
-make_matrix(const Transfer &    transfer,
+make_matrix(const Transfer     &transfer,
             const unsigned int  high_level,
             FullMatrix<double> &matrix)
 {
index 72723f8d517e01d04ee77c9c2eb096441d337506..508ba12a97e161e601627c0db32204992f8cfff4 100644 (file)
@@ -106,7 +106,7 @@ const Point<3> RightHandSide<3>::center_point = Point<3>(-0.75, -0.75, -0.75);
 // C++ standard library):
 template <int dim>
 double
-RightHandSide<dim>::value(const Point<dim> p,
+RightHandSide<dim>::value(const Point<dim>  &p,
                           const unsigned int component) const
 {
   (void)component;
@@ -127,7 +127,7 @@ public:
 
 template <int dim>
 double
-BoundaryValues<dim>::value(const Point<dim> p,
+BoundaryValues<dim>::value(const Point<dim>  &p,
                            const unsigned int component) const
 {
   (void)component;
@@ -212,8 +212,8 @@ template <int dim>
 void
 local_assemble_system(
   const typename DoFHandler<dim>::active_cell_iterator &cell,
-  AssemblyScratchData<dim> &                            scratch_data,
-  AssemblyCopyData &                                    copy_data)
+  AssemblyScratchData<dim>                             &scratch_data,
+  AssemblyCopyData                                     &copy_data)
 {
   // We define some abbreviations to avoid unnecessarily long lines:
   const unsigned int dofs_per_cell =
@@ -394,7 +394,7 @@ assemble()
 
   auto worker = [&](const typename DoFHandler<dim>::active_cell_iterator &cell,
                     AssemblyScratchData<dim> &scratch_data,
-                    AssemblyCopyData &        copy_data) {
+                    AssemblyCopyData         &copy_data) {
     local_assemble_system(cell, scratch_data, copy_data);
   };
 
index 77ddb7d49547dabf4e5c771e518d9c730d28d9b6..76fa655aa576f90c884a4aa65f3517611f07e56b 100644 (file)
@@ -24,12 +24,12 @@ namespace taskflow_v1
             typename ScratchData,
             typename CopyData>
   void
-  run(const Iterator &                            begin,
+  run(const Iterator                             &begin,
       const std_cxx20::type_identity_t<Iterator> &end,
       Worker                                      worker,
       Copier                                      copier,
-      const ScratchData &                         sample_scratch_data,
-      const CopyData &                            sample_copy_data,
+      const ScratchData                          &sample_scratch_data,
+      const CopyData                             &sample_copy_data,
       const unsigned int queue_length = 2 * MultithreadInfo::n_threads(),
       const unsigned int chunk_size   = 8)
   {
@@ -78,7 +78,7 @@ namespace taskflow_v1
                                        &worker]() {
                                // std::cout << "worker " << idx << std::endl;
                                ScratchData scratch = sample_scratch_data;
-                               auto &      copy    = copy_datas[idx];
+                               auto       &copy    = copy_datas[idx];
                                copy =
                                  std::make_unique<CopyData>(sample_copy_data);
 
@@ -115,13 +115,13 @@ namespace taskflow_v1
             typename ScratchData,
             typename CopyData>
   void
-  run(const Iterator &                            begin,
+  run(const Iterator                             &begin,
       const std_cxx20::type_identity_t<Iterator> &end,
-      MainClass &                                 main_object,
+      MainClass                                  &main_object,
       void (MainClass::*worker)(const Iterator &, ScratchData &, CopyData &),
       void (MainClass::*copier)(const CopyData &),
       const ScratchData &sample_scratch_data,
-      const CopyData &   sample_copy_data,
+      const CopyData    &sample_copy_data,
       const unsigned int queue_length = 2 * MultithreadInfo::n_threads(),
       const unsigned int chunk_size   = 8)
   {
@@ -130,8 +130,8 @@ namespace taskflow_v1
       begin,
       end,
       [&main_object, worker](const Iterator &iterator,
-                             ScratchData &   scratch_data,
-                             CopyData &      copy_data) {
+                             ScratchData    &scratch_data,
+                             CopyData       &copy_data) {
         (main_object.*worker)(iterator, scratch_data, copy_data);
       },
       [&main_object, copier](const CopyData &copy_data) {
index ed0dc7623a1bdaf86902dccbb76cccc7ad2f2775..f318f8b66146b9a4dc10dd879002210a93d3165b 100644 (file)
@@ -75,7 +75,7 @@ namespace
     {}
 
     const FiniteElement<dim> &fe_collection;
-    const Quadrature<dim> &   quadrature_collection;
+    const Quadrature<dim>    &quadrature_collection;
 
     FEValues<dim> x_fe_values;
 
@@ -108,7 +108,7 @@ zero_element(std::vector<double> &dst, const unsigned int i)
 template <int dim>
 void
 mass_assembler(const typename Triangulation<dim>::active_cell_iterator &cell,
-               Scratch<dim> &                                           data,
+               Scratch<dim>                                            &data,
                CopyData &copy_data)
 {
   data.x_fe_values.reinit(cell);
index 92ea07bb29988401f5b7b2eadff797022e121bf7..d29b07d4f99c9747e7c19183a08eb433971c7774 100644 (file)
@@ -72,7 +72,7 @@ namespace
     {}
 
     const FiniteElement<dim> &fe_collection;
-    const Quadrature<dim> &   quadrature_collection;
+    const Quadrature<dim>    &quadrature_collection;
 
     FEValues<dim> x_fe_values;
 
@@ -105,7 +105,7 @@ zero_element(std::vector<double> &dst, const unsigned int i)
 template <int dim>
 void
 mass_assembler(const typename Triangulation<dim>::active_cell_iterator &cell,
-               Scratch<dim> &                                           data,
+               Scratch<dim>                                            &data,
                CopyData &copy_data)
 {
   data.x_fe_values.reinit(cell);
index 9e67f21e82870250e95f0548d0a00675ae9b97ab..3c007b56137dede1d7b11304cdf35ac0f9a4c2b7 100644 (file)
@@ -281,7 +281,7 @@ run_test()
   const MappingQ<dim>         mapping_q(polynomial_degree);
 
   const std::vector<std::string>   mapping_names = {"MappingCartesian",
-                                                  "MappingQ"};
+                                                    "MappingQ"};
   const hp::MappingCollection<dim> mappings(mapping_cartesian, mapping_q);
 
   for (unsigned int i = 0; i < mappings.size(); i++)
index fa8f9f46966aac5fae22f486d7100ca0a6359891..b40d5226d6b29634bd88ac29770e29bdfa4317ba 100644 (file)
@@ -49,7 +49,7 @@ void
 check_get_normals(
   const NonMatching::ImmersedSurfaceQuadrature<dim, spacedim> &quadrature)
 {
-  const std::vector<Point<dim>> &    points  = quadrature.get_points();
+  const std::vector<Point<dim>>     &points  = quadrature.get_points();
   const std::vector<Tensor<1, dim>> &normals = quadrature.get_normal_vectors();
   AssertThrow(points.size() == normals.size(), ExcInternalError())
 }
index 0545ee7208e51cd5fabeab0b7127f717b455b6dd..912fd1360261f0592d136ef89ac2dd51b39fc3f0 100644 (file)
@@ -322,9 +322,9 @@ test(const bool filtered_compression)
         non_matching_fe_values.get_surface_fe_values();
 
 
-      auto test_fe_values = [&](const auto &         fe_values,
+      auto test_fe_values = [&](const auto          &fe_values,
                                 std::vector<double> &solution_values_out,
-                                Vector<double> &     dst) {
+                                Vector<double>      &dst) {
         if (fe_values)
           {
             std::vector<Tensor<1, dim>> solution_gradients(
index ddf595da56e838a759f82bbf63bb6f84652fe468..5e71a7b31184100b420fc9972486c0672bc8a42d 100644 (file)
@@ -70,7 +70,7 @@ location_to_string(const NonMatching::LocationToLevelSet location)
 template <int dim>
 void
 print_cell_and_face_locations(
-  const NonMatching::MeshClassifier<dim> &                 classifier,
+  const NonMatching::MeshClassifier<dim>                  &classifier,
   const typename Triangulation<dim>::active_cell_iterator &cell)
 {
   const NonMatching::LocationToLevelSet cell_location =
index 8e418410e377a37b148234ff714a55b68129df66..63a29a2de1b45b7015fed7dceab8ee98c48eec88 100644 (file)
@@ -51,7 +51,7 @@ using NonMatching::QuadratureGenerator;
 template <int dim>
 void
 create_and_print_quadratures(
-  const Function<dim> &                                    level_set,
+  const Function<dim>                                     &level_set,
   const unsigned int                                       n_1D_points = 2,
   const typename QuadratureGenerator<dim>::AdditionalData &additional_data =
     typename QuadratureGenerator<dim>::AdditionalData())
index de9ea41a60e76f70544ffcf1c3818bb3fed0d8b8..718e9b15f55a6d4e96a69e56b12e98cd7ae8b392 100644 (file)
@@ -106,7 +106,7 @@ public:
   };
 
   Tensor<1, 1>
-  gradient(const Point<1> &   point,
+  gradient(const Point<1>    &point,
            const unsigned int component = 0) const override
   {
     Tensor<1, 1> grad;
@@ -116,7 +116,7 @@ public:
   };
 
   SymmetricTensor<2, 1>
-  hessian(const Point<1> &   point,
+  hessian(const Point<1>    &point,
           const unsigned int component = 0) const override
   {
     SymmetricTensor<2, 1> grad;
index 376b22874d8604da0add70902579240519c2168f..140d545edaa1d0a6a3fab84737616b6725b2dc4d 100644 (file)
@@ -811,8 +811,8 @@ namespace Step70
   // namespace facilities. At the top, we read the file into a triangulation:
   template <int dim, int spacedim>
   void
-  read_grid_and_cad_files(const std::string &           grid_file_name,
-                          const std::string &           ids_and_cad_file_names,
+  read_grid_and_cad_files(const std::string            &grid_file_name,
+                          const std::string            &ids_and_cad_file_names,
                           Triangulation<dim, spacedim> &tria)
   {
     GridIn<dim, spacedim> grid_in;
index c740f489a840e4f8f068d4ff4cea7942f30890f9..cf0e549927955113697c30a2d172ffe170437e79 100644 (file)
@@ -64,7 +64,7 @@ namespace Assembly
     struct Data
     {
       Data(const hp::FECollection<dim> &fe,
-           const hp::QCollection<dim> quadrature)
+           const hp::QCollection<dim>  &quadrature)
         : hp_fe_values(fe,
                        quadrature,
                        update_values | update_gradients |
@@ -121,8 +121,8 @@ private:
 
   void
   local_assemble(const typename DoFHandler<dim>::active_cell_iterator &cell,
-                 Assembly::Scratch::Data<dim> &                        scratch,
-                 Assembly::Copy::Data &                                data);
+                 Assembly::Scratch::Data<dim>                         &scratch,
+                 Assembly::Copy::Data                                 &data);
   void
   copy_local_to_global(const Assembly::Copy::Data &data);
 
@@ -298,8 +298,8 @@ template <int dim>
 void
 LaplaceProblem<dim>::local_assemble(
   const typename DoFHandler<dim>::active_cell_iterator &cell,
-  Assembly::Scratch::Data<dim> &                        scratch,
-  Assembly::Copy::Data &                                data)
+  Assembly::Scratch::Data<dim>                         &scratch,
+  Assembly::Copy::Data                                 &data)
 {
   const unsigned int dofs_per_cell = cell->get_fe().dofs_per_cell;
 
index 5da0c4e975327d4a1d942e1b5d1e1b48d54be256..c4734a6fccbbadb8933327bf4aced0dc18a76545 100644 (file)
@@ -66,7 +66,7 @@ namespace Assembly
     struct Data
     {
       Data(const hp::FECollection<dim> &fe,
-           const hp::QCollection<dim> quadrature)
+           const hp::QCollection<dim>  &quadrature)
         : hp_fe_values(fe,
                        quadrature,
                        update_values | update_gradients |
@@ -136,8 +136,8 @@ private:
 
   void
   local_assemble(const typename DoFHandler<dim>::active_cell_iterator &cell,
-                 Assembly::Scratch::Data<dim> &                        scratch,
-                 Assembly::Copy::Data &                                data);
+                 Assembly::Scratch::Data<dim>                         &scratch,
+                 Assembly::Copy::Data                                 &data);
   void
   copy_local_to_global(const Assembly::Copy::Data &data);
 
@@ -317,8 +317,8 @@ template <int dim>
 void
 LaplaceProblem<dim>::local_assemble(
   const typename DoFHandler<dim>::active_cell_iterator &cell,
-  Assembly::Scratch::Data<dim> &                        scratch,
-  Assembly::Copy::Data &                                data)
+  Assembly::Scratch::Data<dim>                         &scratch,
+  Assembly::Copy::Data                                 &data)
 {
   const unsigned int dofs_per_cell = cell->get_fe().dofs_per_cell;
 
index 8f86b695d7529c63139501416efe4dfbe0806db5..895993a29596c5bf428929e37d166ead988472bb 100644 (file)
@@ -64,7 +64,7 @@ namespace Assembly
     struct Data
     {
       Data(const hp::FECollection<dim> &fe,
-           const hp::QCollection<dim> quadrature)
+           const hp::QCollection<dim>  &quadrature)
         : hp_fe_values(fe,
                        quadrature,
                        update_values | update_gradients |
@@ -121,8 +121,8 @@ private:
 
   void
   local_assemble(const typename DoFHandler<dim>::active_cell_iterator &cell,
-                 Assembly::Scratch::Data<dim> &                        scratch,
-                 Assembly::Copy::Data &                                data);
+                 Assembly::Scratch::Data<dim>                         &scratch,
+                 Assembly::Copy::Data                                 &data);
   void
   copy_local_to_global(const Assembly::Copy::Data &data);
 
@@ -303,8 +303,8 @@ template <int dim>
 void
 LaplaceProblem<dim>::local_assemble(
   const typename DoFHandler<dim>::active_cell_iterator &cell,
-  Assembly::Scratch::Data<dim> &                        scratch,
-  Assembly::Copy::Data &                                data)
+  Assembly::Scratch::Data<dim>                         &scratch,
+  Assembly::Copy::Data                                 &data)
 {
   const unsigned int dofs_per_cell = cell->get_fe().dofs_per_cell;
 
index ff059985694a881838fb933a0d8cf6ce7d1eb5bf..be3f170559454de4819f9a9d97e8e719f2c4fba4 100644 (file)
@@ -65,7 +65,7 @@ namespace Assembly
     struct Data
     {
       Data(const hp::FECollection<dim> &fe,
-           const hp::QCollection<dim> quadrature)
+           const hp::QCollection<dim>  &quadrature)
         : hp_fe_values(fe,
                        quadrature,
                        update_values | update_gradients |
@@ -135,8 +135,8 @@ private:
 
   void
   local_assemble(const typename DoFHandler<dim>::active_cell_iterator &cell,
-                 Assembly::Scratch::Data<dim> &                        scratch,
-                 Assembly::Copy::Data &                                data);
+                 Assembly::Scratch::Data<dim>                         &scratch,
+                 Assembly::Copy::Data                                 &data);
   void
   copy_local_to_global(const Assembly::Copy::Data &data);
 
@@ -329,8 +329,8 @@ template <int dim>
 void
 LaplaceProblem<dim>::local_assemble(
   const typename DoFHandler<dim>::active_cell_iterator &cell,
-  Assembly::Scratch::Data<dim> &                        scratch,
-  Assembly::Copy::Data &                                data)
+  Assembly::Scratch::Data<dim>                         &scratch,
+  Assembly::Copy::Data                                 &data)
 {
   const unsigned int dofs_per_cell = cell->get_fe().dofs_per_cell;
 
index 8f226e3bd547859057359c5e65a830f6b4dc17d8..5b16a9a4b414c81d6c9a44462711fd4d5a4556ce 100644 (file)
@@ -108,7 +108,7 @@ check()
                                   dof,
                                   quadrature,
                                   matrix,
-                                  (const Function<dim> *const) nullptr,
+                                  (const Function<dim> *const)nullptr,
                                   constraints);
 
   // compute reference: need to cancel constrained entries as these will in
index 9d9e1a470c6b619fa2ce9d2156ec3f6a1315d3ec..72a410295b0d77e90c16c5c79bf14a3f7ba2da3f 100644 (file)
@@ -50,9 +50,9 @@ const bool errors = false;
 template <int dim>
 void
 check(const unsigned int        level,
-      const Mapping<dim> &      mapping,
+      const Mapping<dim>       &mapping,
       const FiniteElement<dim> &element,
-      const Quadrature<dim> &   quadrature)
+      const Quadrature<dim>    &quadrature)
 {
   Triangulation<dim> tr;
 
index 766bad222325012351d0ded332f26ce4fc0130d6..7d607150edeef4f5f15d1323a764f8c05e8a5b60 100644 (file)
@@ -230,9 +230,9 @@ template <int dim>
 void
 output(const std::string         name,
        const Triangulation<dim> &triangulation,
-       const DoFHandler<dim> &   dof_handler,
-       const Vector<double> &    values,
-       const Vector<float> &     error)
+       const DoFHandler<dim>    &dof_handler,
+       const Vector<double>     &values,
+       const Vector<float>      &error)
 {
   dealii::Vector<double> fe_degrees(triangulation.n_active_cells());
   {
index 60380412899dc6c2dac45aa5c0223a4e357d24ca..0687ec3a1716c52d99749a9317ab8bc882fb84a5 100644 (file)
@@ -174,10 +174,10 @@ get_h_area_sub<3>(double &h, double &a, const double L)
 template <int dim>
 void
 output(const std::string                   name,
-       const Triangulation<dim> &          triangulation,
-       const DoFHandler<dim> &             dof_handler,
+       const Triangulation<dim>           &triangulation,
+       const DoFHandler<dim>              &dof_handler,
        const Vector<std::complex<double>> &values,
-       const Vector<float> &               error)
+       const Vector<float>                &error)
 {
   dealii::Vector<double> fe_degrees(triangulation.n_active_cells());
   {
index 42e0a48d41e5498db0b9a9987e97c67a95e67c0b..9e04288f56e82d3ff1c25c75481dbf272a36f4d9 100644 (file)
@@ -56,7 +56,7 @@ private:
 template <int dim, typename T>
 void
 test(const FiniteElement<dim> &fe,
-     const T &                 f,
+     const T                  &f,
      const unsigned int        order_mapping,
      bool                      distort_mesh,
      bool                      print_function_values = false)
index c890546cf1df25b1349bdf85fe6611d9026ae3e4..f75ecd8ab609d3815ed9507cdf35b32d3eac13ab 100644 (file)
@@ -53,7 +53,7 @@
 
 void
 colorize_sixty_deg_hyper_shell(Triangulation<3> &tria,
-                               const Point<3> &  center,
+                               const Point<3>   &center,
                                const double      inner_radius,
                                const double      outer_radius)
 {
@@ -140,7 +140,7 @@ colorize_sixty_deg_hyper_shell(Triangulation<3> &tria,
 
 void
 sixty_deg_hyper_shell(Triangulation<3> &tria,
-                      const Point<3> &  center,
+                      const Point<3>   &center,
                       const double      inner_radius,
                       const double      outer_radius)
 {
index 224dd06806b9114a8408ff80137bb792fa4d804f..0705418b26114ddf7d40359c1ff63d9ec5885b64 100644 (file)
@@ -127,9 +127,9 @@ compare_constraints(const AffineConstraints<double> &constraints1,
 template <int dim>
 void
 get_constraints_on_active_cells(
-  const Triangulation<dim> &          tria,
+  const Triangulation<dim>           &tria,
   const std::set<types::boundary_id> &no_normal_flux_boundaries,
-  AffineConstraints<double> &         constraints)
+  AffineConstraints<double>          &constraints)
 {
   MappingQ<dim> mapping(4);
 
@@ -149,8 +149,8 @@ get_constraints_on_active_cells(
 template <int dim>
 void
 get_constraints_on_levels(
-  const Triangulation<dim> &                triangulation,
-  const std::set<types::boundary_id> &      no_flux_boundary,
+  const Triangulation<dim>                 &triangulation,
+  const std::set<types::boundary_id>       &no_flux_boundary,
   MGLevelObject<AffineConstraints<double>> &level_constraints)
 {
   FESystem<dim>   fe(FE_Q<dim>(1), dim);
@@ -190,7 +190,7 @@ get_constraints_on_levels(
 
 template <int dim>
 void
-run(Triangulation<dim> &         triangulation,
+run(Triangulation<dim>          &triangulation,
     std::set<types::boundary_id> no_flux_boundary)
 {
   const unsigned int                     n_levels = 2;
index 1ec3d14bc0f29a5045147f745a6f2dc9135be932..e9638891f84a70e3b4cac6f1c40a02f0ca052eef 100644 (file)
@@ -109,9 +109,9 @@ namespace StokesClass
        *     the inverse of the S block (Schur complement matrix).
        **/
       BlockSchurPreconditioner(const StokesMatrixType &S,
-                               const MassMatrixType &  Mass,
+                               const MassMatrixType   &Mass,
                                const PreconditionerMp &Mppreconditioner,
-                               const PreconditionerA Apreconditioner,
+                               const PreconditionerA  &Apreconditioner,
                                const bool              do_solve_A,
                                const double            A_block_tolerance,
                                const double            S_block_tolerance);
@@ -120,7 +120,7 @@ namespace StokesClass
        * Matrix vector product with this preconditioner object.
        */
       void
-      vmult(LinearAlgebra::distributed::BlockVector<double> &      dst,
+      vmult(LinearAlgebra::distributed::BlockVector<double>       &dst,
             const LinearAlgebra::distributed::BlockVector<double> &src) const;
 
       unsigned int
@@ -133,9 +133,9 @@ namespace StokesClass
        * References to the various matrix object this preconditioner works on.
        */
       const StokesMatrixType &stokes_matrix;
-      const MassMatrixType &  mass_matrix;
+      const MassMatrixType   &mass_matrix;
       const PreconditionerMp &mp_preconditioner;
-      const PreconditionerA a_preconditioner;
+      const PreconditionerA  &a_preconditioner;
 
       /**
        * Whether to actually invert the $\tilde A$ part of the preconditioner
@@ -158,9 +158,9 @@ namespace StokesClass
                              PreconditionerA,
                              PreconditionerMp>::
       BlockSchurPreconditioner(const StokesMatrixType &S,
-                               const MassMatrixType &  Mass,
+                               const MassMatrixType   &Mass,
                                const PreconditionerMp &Mppreconditioner,
-                               const PreconditionerA Apreconditioner,
+                               const PreconditionerA  &Apreconditioner,
                                const bool              do_solve_A,
                                const double            A_block_tolerance,
                                const double            S_block_tolerance)
@@ -210,7 +210,7 @@ namespace StokesClass
                              MassMatrixType,
                              PreconditionerA,
                              PreconditionerMp>::
-      vmult(LinearAlgebra::distributed::BlockVector<double> &      dst,
+      vmult(LinearAlgebra::distributed::BlockVector<double>       &dst,
             const LinearAlgebra::distributed::BlockVector<double> &src) const
     {
       LinearAlgebra::distributed::BlockVector<double> utmp(src);
@@ -304,7 +304,7 @@ namespace StokesClass
     value(const Point<dim> &p, const unsigned int component = 0) const;
     virtual void
     value_list(const std::vector<Point<dim>> &points,
-               std::vector<double> &          values,
+               std::vector<double>           &values,
                const unsigned int             component = 0) const;
 
     Sinker<dim> sinker;
@@ -332,7 +332,7 @@ namespace StokesClass
   template <int dim>
   void
   Viscosity<dim>::value_list(const std::vector<Point<dim>> &points,
-                             std::vector<double> &          values,
+                             std::vector<double>           &values,
                              const unsigned int             component) const
   {
     Assert(values.size() == points.size(),
@@ -360,7 +360,7 @@ namespace StokesClass
   template <int dim>
   void
   RightHandSide<dim>::vector_value(const Point<dim> &p,
-                                   Vector<double> &  values) const
+                                   Vector<double>   &values) const
   {
     double Chi = 1.0;
     for (unsigned int s = 0; s < sinker.n_sinkers; ++s)
@@ -422,7 +422,7 @@ namespace StokesClass
   void
   ExactSolution_BoundaryValues_u<dim>::vector_value(
     const Point<dim> &p,
-    Vector<double> &  values) const
+    Vector<double>   &values) const
   {
     (void)p;
     for (unsigned int i = 0; i < values.size(); ++i)
@@ -451,12 +451,12 @@ namespace StokesClass
 
   private:
     virtual void
-    apply_add(LinearAlgebra::distributed::BlockVector<number> &      dst,
+    apply_add(LinearAlgebra::distributed::BlockVector<number>       &dst,
               const LinearAlgebra::distributed::BlockVector<number> &src) const;
 
     void
-    local_apply(const dealii::MatrixFree<dim, number> &                data,
-                LinearAlgebra::distributed::BlockVector<number> &      dst,
+    local_apply(const dealii::MatrixFree<dim, number>                 &data,
+                LinearAlgebra::distributed::BlockVector<number>       &dst,
                 const LinearAlgebra::distributed::BlockVector<number> &src,
                 const std::pair<unsigned int, unsigned int> &cell_range) const;
 
@@ -502,10 +502,10 @@ namespace StokesClass
   template <int dim, int degree_v, typename number>
   void
   StokesOperator<dim, degree_v, number>::local_apply(
-    const dealii::MatrixFree<dim, number> &                data,
-    LinearAlgebra::distributed::BlockVector<number> &      dst,
+    const dealii::MatrixFree<dim, number>                 &data,
+    LinearAlgebra::distributed::BlockVector<number>       &dst,
     const LinearAlgebra::distributed::BlockVector<number> &src,
-    const std::pair<unsigned int, unsigned int> &          cell_range) const
+    const std::pair<unsigned int, unsigned int>           &cell_range) const
   {
     using vector_t = VectorizedArray<number>;
     FEEvaluation<dim, degree_v, degree_v + 1, dim, number>   velocity(data, 0);
@@ -545,7 +545,7 @@ namespace StokesClass
   template <int dim, int degree_v, typename number>
   void
   StokesOperator<dim, degree_v, number>::apply_add(
-    LinearAlgebra::distributed::BlockVector<number> &      dst,
+    LinearAlgebra::distributed::BlockVector<number>       &dst,
     const LinearAlgebra::distributed::BlockVector<number> &src) const
   {
     MatrixFreeOperators::
@@ -579,20 +579,20 @@ namespace StokesClass
 
   private:
     virtual void
-    apply_add(LinearAlgebra::distributed::Vector<number> &      dst,
+    apply_add(LinearAlgebra::distributed::Vector<number>       &dst,
               const LinearAlgebra::distributed::Vector<number> &src) const;
 
     void
-    local_apply(const dealii::MatrixFree<dim, number> &           data,
-                LinearAlgebra::distributed::Vector<number> &      dst,
+    local_apply(const dealii::MatrixFree<dim, number>            &data,
+                LinearAlgebra::distributed::Vector<number>       &dst,
                 const LinearAlgebra::distributed::Vector<number> &src,
                 const std::pair<unsigned int, unsigned int> &cell_range) const;
 
     void
     local_compute_diagonal(
-      const MatrixFree<dim, number> &              data,
-      LinearAlgebra::distributed::Vector<number> dst,
-      const unsigned int &                         dummy,
+      const MatrixFree<dim, number>               &data,
+      LinearAlgebra::distributed::Vector<number>  &dst,
+      const unsigned int                          &dummy,
       const std::pair<unsigned int, unsigned int> &cell_range) const;
 
     Table<2, VectorizedArray<number>> one_over_viscosity;
@@ -635,10 +635,10 @@ namespace StokesClass
   template <int dim, int degree_p, typename number>
   void
   MassMatrixOperator<dim, degree_p, number>::local_apply(
-    const dealii::MatrixFree<dim, number> &           data,
-    LinearAlgebra::distributed::Vector<number> &      dst,
+    const dealii::MatrixFree<dim, number>            &data,
+    LinearAlgebra::distributed::Vector<number>       &dst,
     const LinearAlgebra::distributed::Vector<number> &src,
-    const std::pair<unsigned int, unsigned int> &     cell_range) const
+    const std::pair<unsigned int, unsigned int>      &cell_range) const
   {
     FEEvaluation<dim, degree_p, degree_p + 2, 1, number> pressure(data);
 
@@ -661,7 +661,7 @@ namespace StokesClass
   template <int dim, int degree_p, typename number>
   void
   MassMatrixOperator<dim, degree_p, number>::apply_add(
-    LinearAlgebra::distributed::Vector<number> &      dst,
+    LinearAlgebra::distributed::Vector<number>       &dst,
     const LinearAlgebra::distributed::Vector<number> &src) const
   {
     MatrixFreeOperators::Base<dim,
@@ -707,7 +707,7 @@ namespace StokesClass
   template <int dim, int degree_p, typename number>
   void
   MassMatrixOperator<dim, degree_p, number>::local_compute_diagonal(
-    const MatrixFree<dim, number> &             data,
+    const MatrixFree<dim, number>              &data,
     LinearAlgebra::distributed::Vector<number> &dst,
     const unsigned int &,
     const std::pair<unsigned int, unsigned int> &cell_range) const
@@ -758,20 +758,20 @@ namespace StokesClass
 
   private:
     virtual void
-    apply_add(LinearAlgebra::distributed::Vector<number> &      dst,
+    apply_add(LinearAlgebra::distributed::Vector<number>       &dst,
               const LinearAlgebra::distributed::Vector<number> &src) const;
 
     void
-    local_apply(const dealii::MatrixFree<dim, number> &           data,
-                LinearAlgebra::distributed::Vector<number> &      dst,
+    local_apply(const dealii::MatrixFree<dim, number>            &data,
+                LinearAlgebra::distributed::Vector<number>       &dst,
                 const LinearAlgebra::distributed::Vector<number> &src,
                 const std::pair<unsigned int, unsigned int> &cell_range) const;
 
     void
     local_compute_diagonal(
-      const MatrixFree<dim, number> &              data,
-      LinearAlgebra::distributed::Vector<number> dst,
-      const unsigned int &                         dummy,
+      const MatrixFree<dim, number>               &data,
+      LinearAlgebra::distributed::Vector<number>  &dst,
+      const unsigned int                          &dummy,
       const std::pair<unsigned int, unsigned int> &cell_range) const;
 
     Table<2, VectorizedArray<number>> viscosity_x_2;
@@ -816,10 +816,10 @@ namespace StokesClass
   template <int dim, int degree_v, typename number>
   void
   ABlockOperator<dim, degree_v, number>::local_apply(
-    const dealii::MatrixFree<dim, number> &           data,
-    LinearAlgebra::distributed::Vector<number> &      dst,
+    const dealii::MatrixFree<dim, number>            &data,
+    LinearAlgebra::distributed::Vector<number>       &dst,
     const LinearAlgebra::distributed::Vector<number> &src,
-    const std::pair<unsigned int, unsigned int> &     cell_range) const
+    const std::pair<unsigned int, unsigned int>      &cell_range) const
   {
     FEEvaluation<dim, degree_v, degree_v + 1, dim, number> velocity(data);
 
@@ -843,7 +843,7 @@ namespace StokesClass
   template <int dim, int degree_v, typename number>
   void
   ABlockOperator<dim, degree_v, number>::apply_add(
-    LinearAlgebra::distributed::Vector<number> &      dst,
+    LinearAlgebra::distributed::Vector<number>       &dst,
     const LinearAlgebra::distributed::Vector<number> &src) const
   {
     MatrixFreeOperators::Base<dim,
@@ -879,7 +879,7 @@ namespace StokesClass
   template <int dim, int degree_v, typename number>
   void
   ABlockOperator<dim, degree_v, number>::local_compute_diagonal(
-    const MatrixFree<dim, number> &             data,
+    const MatrixFree<dim, number>              &data,
     LinearAlgebra::distributed::Vector<number> &dst,
     const unsigned int &,
     const std::pair<unsigned int, unsigned int> &cell_range) const
@@ -1131,7 +1131,7 @@ namespace StokesClass
         //   mg_constrained_dofs.get_boundary_indices(level));
 
         MappingQ<dim> mapping(1);
-        const auto &  refinement_edge_indices =
+        const auto   &refinement_edge_indices =
           mg_constrained_dofs.get_refinement_edge_indices(level);
 
         VectorTools::compute_no_normal_flux_constraints_on_level(
@@ -1303,7 +1303,7 @@ namespace StokesClass
     mg_transfer.initialize_constraints(mg_constrained_dofs);
     mg_transfer.build(dof_handler_u);
 
-    LevelMatrixType &  coarse_matrix = mg_matrices[0];
+    LevelMatrixType   &coarse_matrix = mg_matrices[0];
     SolverControl      coarse_solver_control(1000, 1e-12, false, false);
     SolverCG<vector_t> coarse_solver(coarse_solver_control);
 
index 05252a98a1b1bee5ae1e7460b42c130cf2d9ff0d..fc302eea4e15daf8ccc8b319f54a0edc82c60cb7 100644 (file)
@@ -84,7 +84,7 @@ namespace nonlinear_solver_selector_test
     setup_system(const bool initial_step);
     void
     solve(const Vector<double> &rhs,
-          Vector<double> &      solution,
+          Vector<double>       &solution,
           const double          tolerance);
     void
     refine_mesh();
@@ -96,7 +96,7 @@ namespace nonlinear_solver_selector_test
     compute_and_factorize_jacobian(const Vector<double> &evaluation_point);
     void
     compute_residual(const Vector<double> &evaluation_point,
-                     Vector<double> &      residual);
+                     Vector<double>       &residual);
 
     Triangulation<dim> triangulation;
 
@@ -255,7 +255,7 @@ namespace nonlinear_solver_selector_test
   void
   MinimalSurfaceProblem<dim>::compute_residual(
     const Vector<double> &evaluation_point,
-    Vector<double> &      residual)
+    Vector<double>       &residual)
   {
     deallog << "  Computing residual vector..." << std::flush;
     residual = 0.;
@@ -319,7 +319,7 @@ namespace nonlinear_solver_selector_test
   template <int dim>
   void
   MinimalSurfaceProblem<dim>::solve(const Vector<double> &rhs,
-                                    Vector<double> &      solution,
+                                    Vector<double>       &solution,
                                     const double /*tolerance*/)
   {
     deallog << "  Solving linear system" << std::endl;
@@ -367,7 +367,7 @@ namespace nonlinear_solver_selector_test
       };
 
       nonlinear_solver.residual = [&](const Vector<double> &evaluation_point,
-                                      Vector<double> &      residual) {
+                                      Vector<double>       &residual) {
         compute_residual(evaluation_point, residual);
       };
 
@@ -376,7 +376,7 @@ namespace nonlinear_solver_selector_test
       };
 
       nonlinear_solver.solve_with_jacobian = [&](const Vector<double> &rhs,
-                                                 Vector<double> &      dst,
+                                                 Vector<double>       &dst,
                                                  const double tolerance) {
         solve(rhs, dst, tolerance);
       };
index bc2c6b752aeede5233ded445f416ecb09fc9e675..fe15630fd4227f1ee8a8f47c35c71a44c127f1d3 100644 (file)
@@ -98,13 +98,13 @@ namespace MPI_nonlinear_solver_selector_test
     setup_system(const bool initial_step);
     void
     solve(const LA::MPI::Vector &rhs,
-          LA::MPI::Vector &      solution,
+          LA::MPI::Vector       &solution,
           const double           tolerance);
     void
     compute_and_factorize_jacobian(const LA::MPI::Vector &evaluation_point);
     void
     compute_residual(const LA::MPI::Vector &evaluation_point,
-                     LA::MPI::Vector &      residual);
+                     LA::MPI::Vector       &residual);
 
     MPI_Comm mpi_communicator;
 
@@ -313,7 +313,7 @@ namespace MPI_nonlinear_solver_selector_test
   void
   MinimalSurfaceProblem<dim>::compute_residual(
     const LA::MPI::Vector &evaluation_point,
-    LA::MPI::Vector &      residual)
+    LA::MPI::Vector       &residual)
   {
     deallog << "  Computing residual vector..." << std::flush;
     residual = 0.;
@@ -382,7 +382,7 @@ namespace MPI_nonlinear_solver_selector_test
   template <int dim>
   void
   MinimalSurfaceProblem<dim>::solve(const LA::MPI::Vector &rhs,
-                                    LA::MPI::Vector &      solution,
+                                    LA::MPI::Vector       &solution,
                                     const double /*tolerance*/)
   {
     deallog << "  Solving linear system" << std::endl;
@@ -450,7 +450,7 @@ namespace MPI_nonlinear_solver_selector_test
     };
 
     nonlinear_solver.residual = [&](const LA::MPI::Vector &evaluation_point,
-                                    LA::MPI::Vector &      residual) {
+                                    LA::MPI::Vector       &residual) {
       compute_residual(evaluation_point, residual);
     };
 
@@ -459,7 +459,7 @@ namespace MPI_nonlinear_solver_selector_test
     };
 
     nonlinear_solver.solve_with_jacobian = [&](const LA::MPI::Vector &rhs,
-                                               LA::MPI::Vector &      dst,
+                                               LA::MPI::Vector       &dst,
                                                const double tolerance) {
       solve(rhs, dst, tolerance);
     };
index a1bb7f2916d280f7596dfefea166c0206ad2b665..3ac60f2848a8ccc35505a8d49616e90d944537bb 100644 (file)
@@ -68,7 +68,7 @@ test(const Triangulation<dim> &tr, const FiniteElement<dim> &fe)
     }
   // Get the location of all boundary dofs
   std::vector<types::global_dof_index> face_dofs;
-  const std::vector<Point<dim - 1>> &  unit_support_points =
+  const std::vector<Point<dim - 1>>   &unit_support_points =
     fe.get_unit_face_support_points();
   Quadrature<dim - 1>    quadrature(unit_support_points);
   FEFaceValues<dim, dim> fe_face_values(fe,
index df0c791d6930873b99949cc377e911c61a61f0f3..30d7e018324a91ce69fe3642bf29ce770cf41d1a 100644 (file)
@@ -97,7 +97,7 @@ template <int dim>
 void
 Postprocess<dim>::evaluate_vector_field(
   const DataPostprocessorInputs::Vector<dim> &inputs,
-  std::vector<Vector<double>> &               computed_quantities) const
+  std::vector<Vector<double>>                &computed_quantities) const
 {
   Assert(computed_quantities.size() == inputs.solution_values.size(),
          ExcDimensionMismatch(computed_quantities.size(),
index 599996774dcdb777a77110602f571e2889f33706..01ae1361f0d7a43e22ddf0d14b9b8e52e1decf62 100644 (file)
@@ -95,7 +95,7 @@ template <int dim>
 void
 Postprocess<dim>::evaluate_scalar_field(
   const DataPostprocessorInputs::Scalar<dim> &inputs,
-  std::vector<Vector<double>> &               computed_quantities) const
+  std::vector<Vector<double>>                &computed_quantities) const
 {
   Assert(computed_quantities.size() == inputs.solution_values.size(),
          ExcDimensionMismatch(computed_quantities.size(),
index 2dd2034cc1e8d40805d325efa9a0d5ecd26602d8..9772a1013d27cddbc11385f82594b86ba095d0a5 100644 (file)
@@ -46,7 +46,7 @@ public:
 
   virtual void
   vector_value_list(const std::vector<Point<dim>> &points,
-                    std::vector<Vector<double>> &  values) const;
+                    std::vector<Vector<double>>   &values) const;
 
 private:
   unsigned int degree;
@@ -95,9 +95,9 @@ TestFunction<dim>::vector_value_list(const std::vector<Point<dim>> &points,
 template <int dim>
 double
 integrate_error(const DoFHandler<dim> &dof,
-                FEFaceValues<dim> &    fe,
-                const Vector<double> u,
-                const Function<dim> &  f)
+                FEFaceValues<dim>     &fe,
+                const Vector<double>  &u,
+                const Function<dim>   &f)
 {
   double                      result = 0.;
   std::vector<Vector<double>> f_values(fe.n_quadrature_points,
index d1f3a64857eebf6204eb692b65f91518d16b0bf8..87fab4d8c4901986818ecffb0ea615d9fa4224d8 100644 (file)
@@ -60,7 +60,7 @@ BoundaryFunction<dim>::vector_value(const Point<dim> &,
 
 template <int dim>
 void
-test_boundary_values(const FiniteElement<dim> fe,
+test_boundary_values(const FiniteElement<dim>  &fe,
                      AffineConstraints<double> &constraints)
 {
   Triangulation<dim> triangulation;
index 8a388a75e513aedf19024af7e179d7cec072e7d5..9c2936ead168203beb15085033c812c103af163c 100644 (file)
 const unsigned int dim = 3;
 
 void
-apply_boundary_values(DoFHandler<dim> &          dof_handler,
+apply_boundary_values(DoFHandler<dim>           &dof_handler,
                       AffineConstraints<double> &constraints,
                       unsigned int               n_comps,
                       unsigned int               start_comp,
-                      Mapping<dim> &             mapping,
-                      Vector<double> &           dst)
+                      Mapping<dim>              &mapping,
+                      Vector<double>            &dst)
 {
   constraints.clear();
   for (unsigned int i = 0; i < 6; ++i)
@@ -62,12 +62,12 @@ apply_boundary_values(DoFHandler<dim> &          dof_handler,
 
 
 bool
-test_boundary_values(DoFHandler<dim> &   dof_handler,
-                     Mapping<dim> &      mapping,
+test_boundary_values(DoFHandler<dim>    &dof_handler,
+                     Mapping<dim>       &mapping,
                      FiniteElement<dim> &fe,
                      unsigned int        n_comps,
                      unsigned int        start_comp,
-                     Vector<double> &    vec)
+                     Vector<double>     &vec)
 {
   // Initialize
   QGaussLobatto<dim - 1> quadrature(3);
index 131eecc096edad134f3f59d6c7858e56011882b0..618141ea6650804a76cf76272a13f8dcf0bd728f 100644 (file)
@@ -51,7 +51,7 @@ public:
   {}
 
   virtual double
-  value(const Point<dim> point,
+  value(const Point<dim>  &point,
         const unsigned int component = 0) const override
   {
     Assert(component < dim, ExcNotImplemented());
@@ -69,7 +69,7 @@ public:
   {}
 
   virtual double
-  value(const Point<dim> point,
+  value(const Point<dim>  &point,
         const unsigned int component = 0) const override
   {
     Assert(component < dim, ExcNotImplemented());
@@ -89,7 +89,7 @@ public:
   // To make interpolate_boundary_values happy, the pressure is assigned to
   // the 2*dim + 1th component
   virtual double
-  value(const Point<dim> point,
+  value(const Point<dim>  &point,
         const unsigned int component = 0) const override
   {
     if (component != 2 * dim)
index 887abf54334fabdecceeef7403e8f66837af0a05..4c91afa75503e9d4e8c34b5c78b372b10a451286 100644 (file)
@@ -103,7 +103,7 @@ private:
 template <int dim, int components, int fe_degree>
 void
 do_project(const parallel::distributed::Triangulation<dim> &triangulation,
-           const FiniteElement<dim> &                       fe,
+           const FiniteElement<dim>                        &fe,
            const unsigned int                               order_difference)
 {
   const unsigned int p = fe_degree;
index 6ef85b73089bb09e1bb158fdf3f98a6fa0a4ff80..7e1fa6a1c8010d61224a808c5f479ff8340226cd 100644 (file)
@@ -101,7 +101,7 @@ struct QData
 template <typename VectorType, int dim>
 void
 do_project(const parallel::distributed::Triangulation<dim> &triangulation,
-           const FiniteElement<dim> &                       fe,
+           const FiniteElement<dim>                        &fe,
            const unsigned int                               p)
 {
   AssertThrow(fe.n_components() == 1, ExcNotImplemented());
index c52c01c003b689c5a49d6bad6059b23ecf219d80..ed363be6e31f9652239986cd444de78bd8dcf467 100644 (file)
@@ -103,7 +103,7 @@ private:
 template <int fe_degree, int n_q_points_1d, int dim>
 void
 do_project(const parallel::distributed::Triangulation<dim> &triangulation,
-           const std::vector<const FiniteElement<dim> *> &  fes,
+           const std::vector<const FiniteElement<dim> *>   &fes,
            const unsigned int                               p,
            const unsigned int                               fe_index = 0)
 {
index cfcbb4512be0acd5c7319cc779ca7d3afc52ba96..fa36763c86741314f22b8e2ee272b6e3939a1792 100644 (file)
@@ -98,7 +98,7 @@ PolyFunction<dim>::value(const Point<dim> &point, const unsigned int) const
 
 template <typename CoefficientType>
 void
-prepare_symmetric_coefficients(Table<1, CoefficientType> &         coeff,
+prepare_symmetric_coefficients(Table<1, CoefficientType>          &coeff,
                                const std::vector<CoefficientType> &coeff_1d)
 {
   Assert(coeff.size(0) == coeff_1d.size(), ExcInternalError());
@@ -109,7 +109,7 @@ prepare_symmetric_coefficients(Table<1, CoefficientType> &         coeff,
 
 template <typename CoefficientType>
 void
-prepare_symmetric_coefficients(Table<2, CoefficientType> &         coeff,
+prepare_symmetric_coefficients(Table<2, CoefficientType>          &coeff,
                                const std::vector<CoefficientType> &coeff_1d)
 {
   for (unsigned int d = 0; d < 2; ++d)
@@ -122,7 +122,7 @@ prepare_symmetric_coefficients(Table<2, CoefficientType> &         coeff,
 
 template <typename CoefficientType>
 void
-prepare_symmetric_coefficients(Table<3, CoefficientType> &         coeff,
+prepare_symmetric_coefficients(Table<3, CoefficientType>          &coeff,
                                const std::vector<CoefficientType> &coeff_1d)
 {
   for (unsigned int d = 0; d < 3; ++d)
index fb9d89011b99218b1ab5ccc48235bfbe59c8400c..23bce2441e5a0dff9acc5391f313c43f6a81656f 100644 (file)
@@ -69,7 +69,7 @@ test(const Triangulation<dim> &tr, const FiniteElement<dim> &fe)
     }
   // Get the location of all boundary dofs
   std::vector<types::global_dof_index> face_dofs;
-  const std::vector<Point<dim - 1>> &  unit_support_points =
+  const std::vector<Point<dim - 1>>   &unit_support_points =
     fe.get_unit_face_support_points();
   Quadrature<dim - 1>    quadrature(unit_support_points);
   FEFaceValues<dim, dim> fe_face_values(fe,
index ac2cb5bbfd2c982612b47fe9efed87d2c9bae304..266859e4cda63642eb31fefd6e50938028bb1829 100644 (file)
@@ -54,7 +54,7 @@ main()
 
     NormalProjectionManifold<2, 3>  manifold_m(edge);
     std::unique_ptr<Manifold<2, 3>> clone_m       = manifold_m.clone();
-    const auto &                    deref_clone_m = *clone_m;
+    const auto                     &deref_clone_m = *clone_m;
     deallog << "typeid of NormalProjectionManifold<2, 3> is "
             << boost::core::demangle(typeid(deref_clone_m).name()) << std::endl;
   }
@@ -76,7 +76,7 @@ main()
 
     DirectionalProjectionManifold<2, 3> manifold_m(face, Point<3>(0, 0, 1));
     std::unique_ptr<Manifold<2, 3>>     clone_m       = manifold_m.clone();
-    const auto &                        deref_clone_m = *clone_m;
+    const auto                         &deref_clone_m = *clone_m;
     deallog << "typeid of DirectionalProjectionManifold<2, 3> is "
             << boost::core::demangle(typeid(deref_clone_m).name()) << std::endl;
   }
@@ -98,7 +98,7 @@ main()
 
     NormalToMeshProjectionManifold<1, 3> manifold_m(face);
     std::unique_ptr<Manifold<1, 3>>      clone_m       = manifold_m.clone();
-    const auto &                         deref_clone_m = *clone_m;
+    const auto                          &deref_clone_m = *clone_m;
     deallog << "typeid of NormalProjectionManifold<2, 3> is "
             << boost::core::demangle(typeid(deref_clone_m).name()) << std::endl;
   }
index 2a9aa97b4fd08f3c835e85e0022922ffe1106eb9..9263da98947d9070e468e737303da04bae14089b 100644 (file)
@@ -48,7 +48,8 @@ main()
       counter++;
       if ((counter == 4) || (counter == 5) || (counter == 6) ||
           (counter == 18) || (counter == 19))
-        {}
+        {
+        }
       else
         out << line << std::endl;
     }
index 22ee90d40612f5bc5c74bc5dc69ecb28242d4497..5e09ac82a4f303cb1571b4822bb782bacf20e4b6 100644 (file)
@@ -42,7 +42,8 @@ main()
       counter++;
       if ((counter == 4) || (counter == 5) || (counter == 6) ||
           (counter == 18) || (counter == 19))
-        {}
+        {
+        }
       else
         out << line << std::endl;
     }
index 2ba8ae754a237fe0eb4f306c941a1b82c7754c62..0117bcbb188f608648c9a34ce95f3dbfd2b82f5c 100644 (file)
@@ -74,7 +74,7 @@ test()
 
   // safety measure to not modify L or b within Lambda.
   const FullMatrix<number> &L_const = L;
-  const VectorType &        b_const = b;
+  const VectorType         &b_const = b;
   const auto                func    = [&](const VectorType &x, VectorType &g) {
     L_const.vmult(g, x);
     number res = 0.5 * (g * x) - x * b_const;
index 8e28edaa881e7f9fa9144d4946e1caf19a7348b2..4da1bf3d7b1eb4ea8c2f21f383559ee95f48d193 100644 (file)
@@ -76,7 +76,7 @@ test()
 
   // safety measure to not modify L or b within Lambda.
   const FullMatrix<number> &L_const = L;
-  const VectorType &        b_const = b;
+  const VectorType         &b_const = b;
   const auto                func    = [&](const VectorType &x, VectorType &g) {
     L_const.vmult(g, x);
     number res = 0.5 * (g * x) - x * b_const;
index fbf0d09530fa41e080cd9c543777302e234d29ec..29a366ea1a0e1ab7d31ffbc57217dd513d6f6269 100644 (file)
@@ -124,9 +124,9 @@ test()
   const unsigned int print_n_iterations     = 5;
   unsigned int       iteration              = 0;
   unsigned int       line_search_iterations = 0;
-  const auto         line_min               = [&](number &          f,
-                            VectorType &      x,
-                            VectorType &      g,
+  const auto         line_min               = [&](number           &f,
+                            VectorType       &x,
+                            VectorType       &g,
                             const VectorType &p) {
     if (iteration <= print_n_iterations)
       out << "------------------------------------------------" << std::endl
@@ -190,7 +190,7 @@ test()
     return res.first;
   };
 
-  const auto preconditioner = [](VectorType &                         g,
+  const auto preconditioner = [](VectorType                          &g,
                                  const FiniteSizeHistory<VectorType> &s,
                                  const FiniteSizeHistory<VectorType> &y) {
     if (s.size() > 0)
index 14bd0ad425c94ca0153b3a73fecd0d8c8d62769f..dad7763983860176486a088469cec759885854f4 100644 (file)
@@ -94,7 +94,7 @@ test()
     return rosenbrok(x_shifted, g);
   };
 
-  const auto preconditioner = [](VectorType &                         g,
+  const auto preconditioner = [](VectorType                          &g,
                                  const FiniteSizeHistory<VectorType> &s,
                                  const FiniteSizeHistory<VectorType> &y) {
     if (s.size() > 0)
index fcbc1d6efc82f6518941b2f7da0e877a96c291b6..745f022136f606010dc4e78e8fd7fcaca4543b74 100644 (file)
@@ -376,16 +376,16 @@ namespace Step44
     static const SymmetricTensor<4, dim> dev_P;
   };
   template <int dim>
-  const SymmetricTensor<2, dim>
-    StandardTensors<dim>::I = unit_symmetric_tensor<dim>();
+  const SymmetricTensor<2, dim> StandardTensors<dim>::I =
+    unit_symmetric_tensor<dim>();
   template <int dim>
   const SymmetricTensor<4, dim> StandardTensors<dim>::IxI = outer_product(I, I);
   template <int dim>
-  const SymmetricTensor<4, dim>
-    StandardTensors<dim>::II = identity_tensor<dim>();
+  const SymmetricTensor<4, dim> StandardTensors<dim>::II =
+    identity_tensor<dim>();
   template <int dim>
-  const SymmetricTensor<4, dim>
-    StandardTensors<dim>::dev_P = deviator_tensor<dim>();
+  const SymmetricTensor<4, dim> StandardTensors<dim>::dev_P =
+    deviator_tensor<dim>();
   class Time
   {
   public:
@@ -655,8 +655,8 @@ namespace Step44
     void
     assemble_system_tangent_one_cell(
       const typename DoFHandler<dim>::active_cell_iterator &cell,
-      ScratchData_K &                                       scratch,
-      PerTaskData_K &                                       data) const;
+      ScratchData_K                                        &scratch,
+      PerTaskData_K                                        &data) const;
     void
     copy_local_to_global_K(const PerTaskData_K &data);
     void
@@ -665,8 +665,8 @@ namespace Step44
     void
     assemble_system_rhs_one_cell(
       const typename DoFHandler<dim>::active_cell_iterator &cell,
-      ScratchData_RHS &                                     scratch,
-      PerTaskData_RHS &                                     data) const;
+      ScratchData_RHS                                      &scratch,
+      PerTaskData_RHS                                      &data) const;
     void
     copy_local_to_global_rhs(const PerTaskData_RHS &data);
     void
@@ -674,8 +674,8 @@ namespace Step44
     void
     assemble_sc_one_cell(
       const typename DoFHandler<dim>::active_cell_iterator &cell,
-      ScratchData_SC &                                      scratch,
-      PerTaskData_SC &                                      data);
+      ScratchData_SC                                       &scratch,
+      PerTaskData_SC                                       &data);
     void
     copy_local_to_global_sc(const PerTaskData_SC &data);
     void
@@ -688,8 +688,8 @@ namespace Step44
     void
     update_qph_incremental_one_cell(
       const typename DoFHandler<dim>::active_cell_iterator &cell,
-      ScratchData_UQPH &                                    scratch,
-      PerTaskData_UQPH &                                    data);
+      ScratchData_UQPH                                     &scratch,
+      PerTaskData_UQPH                                     &data);
     void
     copy_local_to_global_UQPH(const PerTaskData_UQPH & /*data*/)
     {}
@@ -776,7 +776,7 @@ namespace Step44
     get_error_residual(Errors &error_residual);
     void
     get_error_update(const BlockVector<double> &newton_update,
-                     Errors &                   error_update);
+                     Errors                    &error_update);
     std::pair<double, double>
     get_error_dilation() const;
     double
@@ -872,7 +872,7 @@ namespace Step44
   {
     FullMatrix<double>                   cell_matrix;
     std::vector<types::global_dof_index> local_dof_indices;
-    BlockSparseMatrix<double> *          tangent_matrix;
+    BlockSparseMatrix<double>           *tangent_matrix;
     PerTaskData_K(const unsigned int         dofs_per_cell,
                   BlockSparseMatrix<double> &tangent_matrix)
       : cell_matrix(dofs_per_cell, dofs_per_cell)
@@ -893,7 +893,7 @@ namespace Step44
     std::vector<std::vector<Tensor<2, dim>>>          grad_Nx;
     std::vector<std::vector<SymmetricTensor<2, dim>>> symm_grad_Nx;
     ScratchData_K(const FiniteElement<dim> &fe_cell,
-                  const QGauss<dim> &       qf_cell,
+                  const QGauss<dim>        &qf_cell,
                   const UpdateFlags         uf_cell)
       : fe_values_ref(fe_cell, qf_cell, uf_cell)
       , Nx(qf_cell.size(), std::vector<double>(fe_cell.dofs_per_cell))
@@ -937,7 +937,7 @@ namespace Step44
   {
     Vector<double>                       cell_rhs;
     std::vector<types::global_dof_index> local_dof_indices;
-    BlockVector<double> *                system_rhs;
+    BlockVector<double>                 *system_rhs;
     PerTaskData_RHS(const unsigned int   dofs_per_cell,
                     BlockVector<double> &system_rhs)
       : cell_rhs(dofs_per_cell)
@@ -958,9 +958,9 @@ namespace Step44
     std::vector<std::vector<double>>                  Nx;
     std::vector<std::vector<SymmetricTensor<2, dim>>> symm_grad_Nx;
     ScratchData_RHS(const FiniteElement<dim> &fe_cell,
-                    const QGauss<dim> &       qf_cell,
+                    const QGauss<dim>        &qf_cell,
                     const UpdateFlags         uf_cell,
-                    const QGauss<dim - 1> &   qf_face,
+                    const QGauss<dim - 1>    &qf_face,
                     const UpdateFlags         uf_face)
       : fe_values_ref(fe_cell, qf_cell, uf_cell)
       , fe_face_values_ref(fe_cell, qf_face, uf_face)
@@ -1048,13 +1048,13 @@ namespace Step44
   template <int dim>
   struct Solid<dim>::ScratchData_UQPH
   {
-    const BlockVector<double> solution_total;
+    const BlockVector<double>  &solution_total;
     std::vector<Tensor<2, dim>> solution_grads_u_total;
     std::vector<double>         solution_values_p_total;
     std::vector<double>         solution_values_J_total;
     FEValues<dim>               fe_values_ref;
-    ScratchData_UQPH(const FiniteElement<dim> fe_cell,
-                     const QGauss<dim> &        qf_cell,
+    ScratchData_UQPH(const FiniteElement<dim>  &fe_cell,
+                     const QGauss<dim>         &qf_cell,
                      const UpdateFlags          uf_cell,
                      const BlockVector<double> &solution_total)
       : solution_total(solution_total)
@@ -1245,7 +1245,7 @@ namespace Step44
   void
   Solid<dim>::update_qph_incremental_one_cell(
     const typename DoFHandler<dim>::active_cell_iterator &cell,
-    ScratchData_UQPH &                                    scratch,
+    ScratchData_UQPH                                     &scratch,
     PerTaskData_UQPH & /*data*/)
   {
     const std::vector<std::shared_ptr<PointHistory<dim>>> lqph =
@@ -1559,7 +1559,7 @@ namespace Step44
   template <int dim>
   void
   Solid<dim>::get_error_update(const BlockVector<double> &newton_update,
-                               Errors &                   error_update)
+                               Errors                    &error_update)
   {
     BlockVector<double> error_ud(dofs_per_block);
     for (unsigned int i = 0; i < dof_handler_ref.n_dofs(); ++i)
@@ -1621,8 +1621,8 @@ namespace Step44
   void
   Solid<dim>::assemble_system_tangent_one_cell(
     const typename DoFHandler<dim>::active_cell_iterator &cell,
-    ScratchData_K &                                       scratch,
-    PerTaskData_K &                                       data) const
+    ScratchData_K                                        &scratch,
+    PerTaskData_K                                        &data) const
   {
     data.reset();
     scratch.reset();
@@ -1660,7 +1660,7 @@ namespace Step44
         const SymmetricTensor<4, dim> Jc  = lqph[q_point]->get_Jc();
         const double d2Psi_vol_dJ2        = lqph[q_point]->get_d2Psi_vol_dJ2();
         const double det_F                = lqph[q_point]->get_det_F();
-        const std::vector<double> &                 N = scratch.Nx[q_point];
+        const std::vector<double>                  &N = scratch.Nx[q_point];
         const std::vector<SymmetricTensor<2, dim>> &symm_grad_Nx =
           scratch.symm_grad_Nx[q_point];
         const std::vector<Tensor<2, dim>> &grad_Nx = scratch.grad_Nx[q_point];
@@ -1748,8 +1748,8 @@ namespace Step44
   void
   Solid<dim>::assemble_system_rhs_one_cell(
     const typename DoFHandler<dim>::active_cell_iterator &cell,
-    ScratchData_RHS &                                     scratch,
-    PerTaskData_RHS &                                     data) const
+    ScratchData_RHS                                      &scratch,
+    PerTaskData_RHS                                      &data) const
   {
     data.reset();
     scratch.reset();
@@ -1784,7 +1784,7 @@ namespace Step44
         const double                  J_tilde = lqph[q_point]->get_J_tilde();
         const double                  p_tilde = lqph[q_point]->get_p_tilde();
         const double dPsi_vol_dJ = lqph[q_point]->get_dPsi_vol_dJ();
-        const std::vector<double> &                 N = scratch.Nx[q_point];
+        const std::vector<double>                  &N = scratch.Nx[q_point];
         const std::vector<SymmetricTensor<2, dim>> &symm_grad_Nx =
           scratch.symm_grad_Nx[q_point];
         const double JxW = scratch.fe_values_ref.JxW(q_point);
@@ -2011,8 +2011,8 @@ namespace Step44
   void
   Solid<dim>::assemble_sc_one_cell(
     const typename DoFHandler<dim>::active_cell_iterator &cell,
-    ScratchData_SC &                                      scratch,
-    PerTaskData_SC &                                      data)
+    ScratchData_SC                                       &scratch,
+    PerTaskData_SC                                       &data)
   {
     data.reset();
     scratch.reset();
@@ -2134,9 +2134,9 @@ namespace Step44
             const Vector<double> &f_u = system_rhs.block(u_dof);
             const Vector<double> &f_p = system_rhs.block(p_dof);
             const Vector<double> &f_J = system_rhs.block(J_dof);
-            Vector<double> &      d_u = newton_update.block(u_dof);
-            Vector<double> &      d_p = newton_update.block(p_dof);
-            Vector<double> &      d_J = newton_update.block(J_dof);
+            Vector<double>       &d_u = newton_update.block(u_dof);
+            Vector<double>       &d_p = newton_update.block(p_dof);
+            Vector<double>       &d_J = newton_update.block(J_dof);
             const auto            K_uu =
               linear_operator(tangent_matrix.block(u_dof, u_dof));
             const auto K_up =
index 6929ca0d1d35c66a707ef1147878613cf441c69d..6593ae30a7576e6c3fc66f68a5a13f17996094c7 100644 (file)
@@ -24,9 +24,9 @@
 #include "../tests.h"
 
 void
-log_entry(const ParameterHandler &       prm,
+log_entry(const ParameterHandler        &prm,
           const std::vector<std::string> path,
-          const std::string &            entry)
+          const std::string             &entry)
 {
   for (unsigned int i = 0; i < path.size(); ++i)
     {
index a65e935553c6b4ef9d231cb4be744416c4f2f6c8..d03353ebc0d874bd819a4e702c5697e82580bc5b 100644 (file)
@@ -26,7 +26,7 @@ main()
   initlog();
 
   // create a pattern and match a string
-  const auto &      pattern = Patterns::Tuple(";",
+  const auto       &pattern = Patterns::Tuple(";",
                                         Patterns::Integer(),
                                         Patterns::Double(),
                                         Patterns::Anything());
index 2caa37922d72096b1371fa91760c686ba90cff50..7a011f6b592018daffedaead960cc055bbc255a2 100644 (file)
@@ -36,7 +36,7 @@ template <int dim, int spacedim>
 void
 create_regular_particle_distribution(
   Particles::ParticleHandler<dim, spacedim> &particle_handler,
-  const Triangulation<dim, spacedim> &       tr,
+  const Triangulation<dim, spacedim>        &tr,
   const unsigned int                         particles_per_direction = 3)
 {
   for (unsigned int i = 0; i < particles_per_direction; ++i)
index 78f2a5e21359d72c19688b65fac7784bcb263336..6e575592bdef3de8c11033618404eb18a47a939a 100644 (file)
@@ -36,7 +36,7 @@ template <int dim, int spacedim>
 void
 create_regular_particle_distribution(
   Particles::ParticleHandler<dim, spacedim> &particle_handler,
-  const Triangulation<dim, spacedim> &       tr,
+  const Triangulation<dim, spacedim>        &tr,
   const unsigned int                         particles_per_direction = 3)
 {
   for (unsigned int i = 0; i < particles_per_direction; ++i)
index 56eea2c8a5b4d438345401063a16ebf762efcc5f..8497949a601137a27cd8489e1da5daef59aa6f46 100644 (file)
@@ -36,7 +36,7 @@ template <int dim, int spacedim>
 void
 create_regular_particle_distribution(
   Particles::ParticleHandler<dim, spacedim> &particle_handler,
-  const Triangulation<dim, spacedim> &       tr,
+  const Triangulation<dim, spacedim>        &tr,
   const unsigned int                         particles_per_direction = 3)
 {
   for (unsigned int i = 0; i < particles_per_direction; ++i)
index 6cdc88dee32713ac18bc613c469bf6a0d3a90350..ff7c8d664e431f3b139e1363aa74dd2cd190e837 100644 (file)
@@ -57,7 +57,7 @@ test()
     Assert(!particle.has_properties(), ExcInternalError());
 
     std::vector<char> data(particle.serialized_size_in_bytes());
-    void *            write_pointer = static_cast<void *>(&data.front());
+    void             *write_pointer = static_cast<void *>(&data.front());
 
     write_pointer = particle.write_particle_data_to_memory(write_pointer);
 
index 9ce0ef24ab117df61e6b98e6a0219d7d90c4fd32..4e9a2405e96545543b06400fdd246c33f3c7f5fb 100644 (file)
@@ -68,7 +68,7 @@ test()
             << std::endl;
 
     std::vector<char> data(particle.serialized_size_in_bytes());
-    void *            write_pointer = static_cast<void *>(&data.front());
+    void             *write_pointer = static_cast<void *>(&data.front());
 
     write_pointer = particle.write_particle_data_to_memory(write_pointer);
 
index 5a5f0526ebf2d4b7e7745825efe6301e50d9e5da..7fe6210cfdb4bbfac0c4535b6242222bdecb0c3a 100644 (file)
@@ -36,7 +36,7 @@
 template <int dim, int spacedim>
 void
 create_regular_particle_distribution(
-  Particles::ParticleHandler<dim, spacedim> &                particle_handler,
+  Particles::ParticleHandler<dim, spacedim>                 &particle_handler,
   const parallel::distributed::Triangulation<dim, spacedim> &tr,
   const unsigned int particles_per_direction = 3)
 {
index d9e76ac6eebcc0cbd297488353330517aa3e09a8..5e705d94b23881ccded4521f5570521c3a38db45 100644 (file)
@@ -34,7 +34,7 @@
 template <int dim, int spacedim>
 void
 create_regular_particle_distribution(
-  Particles::ParticleHandler<dim, spacedim> &                particle_handler,
+  Particles::ParticleHandler<dim, spacedim>                 &particle_handler,
   const parallel::distributed::Triangulation<dim, spacedim> &tr,
   const unsigned int particles_per_direction = 3)
 {
index 32f26ac5ce857f2cc79dc758388b10ee47b3bd9f..d64ee1eb5ee03de8f377116f76a3538827dd991a 100644 (file)
@@ -40,7 +40,7 @@
 template <int dim, int spacedim>
 void
 insert(
-  Particles::ParticleHandler<dim, spacedim> &            particle_handler,
+  Particles::ParticleHandler<dim, spacedim>             &particle_handler,
   unsigned int                                           n_points,
   unsigned                                               starting_id,
   const std::vector<std::vector<BoundingBox<spacedim>>> &global_bounding_boxes)
@@ -50,8 +50,8 @@ insert(
 
   std::vector<Point<spacedim>>       points(n_points);
   std::vector<std::vector<double>>   properties(n_points,
-                                              {my_cpu + 1000.0,
-                                               my_cpu + 1000.0});
+                                                {my_cpu + 1000.0,
+                                                 my_cpu + 1000.0});
   std::vector<types::particle_index> ids(n_points);
 
   for (unsigned int i = 0; i < n_points; ++i)
index 1583e8656b3a88b9ada371e4e6ddcc791b91c9cf..49dc02750d694e07160197760c23dfcc6916f946 100644 (file)
@@ -41,7 +41,7 @@
 template <int dim, int spacedim>
 void
 insert(
-  Particles::ParticleHandler<dim, spacedim> &            particle_handler,
+  Particles::ParticleHandler<dim, spacedim>             &particle_handler,
   unsigned int                                           n_points,
   unsigned                                               starting_id,
   const std::vector<std::vector<BoundingBox<spacedim>>> &global_bounding_boxes)
@@ -51,8 +51,8 @@ insert(
 
   std::vector<Point<spacedim>>       points(n_points);
   std::vector<std::vector<double>>   properties(n_points,
-                                              {my_cpu + 1000.0,
-                                               my_cpu + 1000.0});
+                                                {my_cpu + 1000.0,
+                                                 my_cpu + 1000.0});
   std::vector<types::particle_index> ids(n_points);
 
   for (unsigned int i = 0; i < n_points; ++i)
index 5b2352ce30a2428a2d76bf14d60b23ca9b69302d..ae41dcc7873381c78e6c563cb6dcf817209f61d7 100644 (file)
@@ -41,7 +41,7 @@
 template <int dim, int spacedim>
 void
 insert(
-  Particles::ParticleHandler<dim, spacedim> &            particle_handler,
+  Particles::ParticleHandler<dim, spacedim>             &particle_handler,
   unsigned int                                           n_points,
   unsigned                                               starting_id,
   const std::vector<std::vector<BoundingBox<spacedim>>> &global_bounding_boxes)
@@ -53,8 +53,8 @@ insert(
 
   std::vector<Point<spacedim>>       points(n_points);
   std::vector<std::vector<double>>   properties(n_points,
-                                              {my_cpu + 1000.0,
-                                               my_cpu + 1000.0});
+                                                {my_cpu + 1000.0,
+                                                 my_cpu + 1000.0});
   std::vector<types::particle_index> ids(n_points);
 
   for (unsigned int i = 0; i < n_points; ++i)
index f016b92d10de4e44b9a1ffadbce76f245806284c..4e3544386f9ad7c25bf786008ea1eef4f7f6595d 100644 (file)
@@ -35,7 +35,7 @@
 template <int dim, int spacedim>
 void
 create_regular_particle_distribution(
-  Particles::ParticleHandler<dim, spacedim> &                particle_handler,
+  Particles::ParticleHandler<dim, spacedim>                 &particle_handler,
   const parallel::distributed::Triangulation<dim, spacedim> &tr,
   const unsigned int particles_per_direction = 3)
 {
index d5376e0fae0b4c69ec0e318c8368c4923296a3ec..bbde3d1c6f5fcfe31580f3b2793ceec5b592c4e7 100644 (file)
@@ -38,7 +38,7 @@
 template <int dim, int spacedim>
 void
 lost_particle_notification(
-  const typename Particles::ParticleIterator<dim, spacedim> &        particle,
+  const typename Particles::ParticleIterator<dim, spacedim>         &particle,
   const typename Triangulation<dim, spacedim>::active_cell_iterator &cell)
 {
   deallog << "Particle <" << particle->get_id()
index ed0b453909711fb8f66a2c38ea4a1b22a0c90355..024d7e1ed14eafda79dc6ea239846a98ff75f203 100644 (file)
@@ -148,7 +148,7 @@ namespace Step19
     move_particles();
     void
     track_lost_particle(
-      const typename Particles::ParticleIterator<dim> &        particle,
+      const typename Particles::ParticleIterator<dim>         &particle,
       const typename Triangulation<dim>::active_cell_iterator &cell);
 
 
@@ -223,7 +223,7 @@ namespace Step19
     , time(0, 1e-4)
   {
     particle_handler.signals.particle_lost.connect(
-      [this](const typename Particles::ParticleIterator<dim> &        particle,
+      [this](const typename Particles::ParticleIterator<dim>         &particle,
              const typename Triangulation<dim>::active_cell_iterator &cell) {
         this->track_lost_particle(particle, cell);
       });
@@ -801,7 +801,7 @@ namespace Step19
   template <int dim>
   void
   CathodeRaySimulator<dim>::track_lost_particle(
-    const typename Particles::ParticleIterator<dim> &        particle,
+    const typename Particles::ParticleIterator<dim>         &particle,
     const typename Triangulation<dim>::active_cell_iterator &cell)
   {
     ++n_recently_lost_particles;
index 16701af07805c7e018d89625b486abf970f45981..611d260fd5a247ee255110e5fa3a49bfb4fe503c 100644 (file)
@@ -93,7 +93,7 @@ namespace Step68
 
     virtual void
     vector_value(const Point<dim> &point,
-                 Vector<double> &  values) const override;
+                 Vector<double>   &values) const override;
   };
 
 
@@ -103,7 +103,7 @@ namespace Step68
   template <int dim>
   void
   Vortex<dim>::vector_value(const Point<dim> &point,
-                            Vector<double> &  values) const
+                            Vector<double>   &values) const
   {
     const double T = 4;
     const double t = this->get_time();
@@ -172,7 +172,7 @@ namespace Step68
     unsigned int
     cell_weight(
       const typename parallel::distributed::Triangulation<dim>::cell_iterator
-        &              cell,
+                      &cell,
       const CellStatus status) const;
 
     // The following two functions are responsible for outputting the simulation
@@ -256,7 +256,7 @@ namespace Step68
   unsigned int
   ParticleTracking<dim>::cell_weight(
     const typename parallel::distributed::Triangulation<dim>::cell_iterator
-      &              cell,
+                    &cell,
     const CellStatus status) const
   {
     // First, we introduce a base weight that will be assigned to every cell.
index d5983cdc9fe0c3cfe5cc8031a0dbf8f3c86f653c..ec2bf76a4df5ef713fb5f963706192e3f0a32904 100644 (file)
@@ -145,7 +145,7 @@ public:
 
 template <int dim>
 double
-BoundaryValues<dim>::value(const Point<dim> p,
+BoundaryValues<dim>::value(const Point<dim>  &p,
                            const unsigned int component) const
 {
   Assert(component < this->n_components,
@@ -160,7 +160,7 @@ BoundaryValues<dim>::value(const Point<dim> & p,
 template <int dim>
 void
 BoundaryValues<dim>::vector_value(const Point<dim> &p,
-                                  Vector<double> &  values) const
+                                  Vector<double>   &values) const
 {
   for (unsigned int c = 0; c < this->n_components; ++c)
     values(c) = BoundaryValues<dim>::value(p, c);
@@ -180,7 +180,7 @@ public:
 
   virtual void
   value_list(const std::vector<Point<dim>> &p,
-             std::vector<Tensor<1, dim>> &  value) const override;
+             std::vector<Tensor<1, dim>>   &value) const override;
 };
 
 
@@ -195,7 +195,7 @@ RightHandSide<dim>::value(const Point<dim> & /*p*/) const
 template <int dim>
 void
 RightHandSide<dim>::value_list(const std::vector<Point<dim>> &vp,
-                               std::vector<Tensor<1, dim>> &  values) const
+                               std::vector<Tensor<1, dim>>   &values) const
 {
   for (unsigned int c = 0; c < vp.size(); ++c)
     {
@@ -221,7 +221,7 @@ private:
 
 template <class MatrixType, class PreconditionerType>
 InverseMatrix<MatrixType, PreconditionerType>::InverseMatrix(
-  const MatrixType &        m,
+  const MatrixType         &m,
   const PreconditionerType &preconditioner)
   : matrix(&m)
   , preconditioner(&preconditioner)
@@ -231,7 +231,7 @@ InverseMatrix<MatrixType, PreconditionerType>::InverseMatrix(
 template <class MatrixType, class PreconditionerType>
 void
 InverseMatrix<MatrixType, PreconditionerType>::vmult(
-  Vector<double> &      dst,
+  Vector<double>       &dst,
   const Vector<double> &src) const
 {
   SolverControl            solver_control(src.size(), 1e-6 * src.l2_norm());
@@ -266,7 +266,7 @@ private:
 
 template <class PreconditionerType>
 SchurComplement<PreconditionerType>::SchurComplement(
-  const BlockSparseMatrix<double> &                              system_matrix,
+  const BlockSparseMatrix<double>                               &system_matrix,
   const InverseMatrix<SparseMatrix<double>, PreconditionerType> &A_inverse)
   : system_matrix(&system_matrix)
   , A_inverse(&A_inverse)
@@ -277,7 +277,7 @@ SchurComplement<PreconditionerType>::SchurComplement(
 
 template <class PreconditionerType>
 void
-SchurComplement<PreconditionerType>::vmult(Vector<double> &      dst,
+SchurComplement<PreconditionerType>::vmult(Vector<double>       &dst,
                                            const Vector<double> &src) const
 {
   system_matrix->block(0, 1).vmult(tmp1, src);
index 37365d1e1f2ebfcb09b92fd0e8c956e7102af26b..eb96827f773513ac085af2951a374e02d5dd2433 100644 (file)
@@ -64,10 +64,10 @@ public:
   LaplaceOperator() = default;
 
   void
-  reinit(const Mapping<dim> &             mapping,
-         const DoFHandler<dim> &          dof_handler,
+  reinit(const Mapping<dim>              &mapping,
+         const DoFHandler<dim>           &dof_handler,
          const AffineConstraints<Number> &constraints,
-         const Quadrature<1> &            quadrature)
+         const Quadrature<1>             &quadrature)
   {
     typename MatrixFree<dim, Number>::AdditionalData additional_data;
     additional_data.mapping_update_flags = update_gradients;
@@ -90,9 +90,9 @@ public:
 
 private:
   void
-  local_apply(const MatrixFree<dim, Number> &              data,
-              VectorType &                                 dst,
-              const VectorType &                           src,
+  local_apply(const MatrixFree<dim, Number>               &data,
+              VectorType                                  &dst,
+              const VectorType                            &src,
               const std::pair<unsigned int, unsigned int> &cell_range) const
   {
     FEEvaluation<dim, fe_degree, fe_degree + 1, 1, Number> phi(data);
@@ -121,7 +121,7 @@ public:
   DEAL_II_HOST_DEVICE void
   operator()(
     CUDAWrappers::FEEvaluation<dim, fe_degree, fe_degree + 1, 1, Number>
-      *       fe_eval,
+             *fe_eval,
     const int q_point) const
   {
     fe_eval->submit_gradient(fe_eval->get_gradient(q_point), q_point);
@@ -136,9 +136,9 @@ public:
   operator()(
     const unsigned int                                          cell,
     const typename CUDAWrappers::MatrixFree<dim, Number>::Data *gpu_data,
-    CUDAWrappers::SharedData<dim, Number> *                     shared_data,
-    const Number *                                              src,
-    Number *                                                    dst) const
+    CUDAWrappers::SharedData<dim, Number>                      *shared_data,
+    const Number                                               *src,
+    Number                                                     *dst) const
   {
     (void)cell; // TODO?
 
@@ -166,10 +166,10 @@ public:
   LaplaceOperator() = default;
 
   void
-  reinit(const Mapping<dim> &             mapping,
-         const DoFHandler<dim> &          dof_handler,
+  reinit(const Mapping<dim>              &mapping,
+         const DoFHandler<dim>           &dof_handler,
          const AffineConstraints<Number> &constraints,
-         const Quadrature<1> &            quadrature)
+         const Quadrature<1>             &quadrature)
   {
     typename CUDAWrappers::MatrixFree<dim, Number>::AdditionalData
       additional_data;
index fe13842ed6acea725abbfdc85a4d1645f9c62481..b7bea87b8eb9030f0942d8d663e9ff1c1341b43b 100644 (file)
@@ -89,10 +89,10 @@ public:
   LaplaceOperator(){};
 
   void
-  initialize(const Mapping<dim> &             mapping,
-             const DoFHandler<dim> &          dof_handler,
+  initialize(const Mapping<dim>              &mapping,
+             const DoFHandler<dim>           &dof_handler,
              const AffineConstraints<number> &constraints,
-             const DoFHandler<dim> &          dg_dof_handler)
+             const DoFHandler<dim>           &dg_dof_handler)
   {
     const QGauss<1> quad(dof_handler.get_fe().degree + 1);
     const QGauss<1> dg_quad(dg_dof_handler.get_fe().degree + 1);
@@ -116,8 +116,8 @@ public:
   }
 
   void
-  initialize(const Mapping<dim> &             mapping,
-             const DoFHandler<dim> &          dof_handler,
+  initialize(const Mapping<dim>              &mapping,
+             const DoFHandler<dim>           &dof_handler,
              const AffineConstraints<number> &constraints)
   {
     const QGauss<1> quad(dof_handler.get_fe().degree + 1);
@@ -139,7 +139,7 @@ public:
   }
 
   void
-  vmult(VectorType &      dst,
+  vmult(VectorType       &dst,
         const VectorType &src,
         const std::function<void(const unsigned int, const unsigned int)>
           &operation_before_loop,
@@ -180,7 +180,7 @@ public:
   }
 
   void
-  initialize_dof_vector(VectorType &       vector,
+  initialize_dof_vector(VectorType        &vector,
                         const unsigned int component = 0) const
   {
     data.initialize_dof_vector(vector, component);
@@ -221,9 +221,9 @@ public:
 
 private:
   void
-  local_apply(const MatrixFree<dim, number> &              data,
-              VectorType &                                 dst,
-              const VectorType &                           src,
+  local_apply(const MatrixFree<dim, number>               &data,
+              VectorType                                  &dst,
+              const VectorType                            &src,
               const std::pair<unsigned int, unsigned int> &cell_range) const
   {
     FEEvaluation<dim, -1, 0, 1, number> eval(data);
@@ -246,7 +246,7 @@ private:
 
 template <typename Number>
 void
-make_zero_mean(const std::vector<unsigned int> &           constrained_dofs,
+make_zero_mean(const std::vector<unsigned int>            &constrained_dofs,
                LinearAlgebra::distributed::Vector<Number> &vec)
 {
   // set constrained entries to zero
@@ -285,7 +285,7 @@ public:
 
   void
   initialize(const MGSmootherBase<VectorType> &coarse_smooth,
-             const std::vector<unsigned int> constrained_dofs)
+             const std::vector<unsigned int>  &constrained_dofs)
   {
     this->coarse_smooth    = &coarse_smooth;
     this->constrained_dofs = &constrained_dofs;
@@ -293,8 +293,8 @@ public:
 
   void
   operator()(const unsigned int level,
-             VectorType &       dst,
-             const VectorType src) const override
+             VectorType        &dst,
+             const VectorType  &src) const override
   {
     src_copy.reinit(src, true);
     src_copy.copy_locally_owned_data_from(src);
@@ -305,7 +305,7 @@ public:
 
 private:
   SmartPointer<const MGSmootherBase<VectorType>> coarse_smooth;
-  const std::vector<unsigned int> *              constrained_dofs;
+  const std::vector<unsigned int>               *constrained_dofs;
 
   mutable VectorType src_copy;
 };
index b50ae25cd98beebb3e3c2c15f07ef9b3923e5735..8050242eaa4b053a1be2d7d47781a5816ff2216f 100644 (file)
@@ -118,9 +118,9 @@ namespace NavierStokes_DG
     perform_time_step(const Operator &pde_operator,
                       const double    current_time,
                       const double    time_step,
-                      VectorType &    solution,
-                      VectorType &    vec_ri,
-                      VectorType &    vec_ki) const
+                      VectorType     &solution,
+                      VectorType     &vec_ri,
+                      VectorType     &vec_ki) const
     {
       AssertDimension(ai.size() + 1, bi.size());
 
@@ -169,7 +169,7 @@ namespace NavierStokes_DG
 
   template <int dim>
   double
-  ExactSolution<dim>::value(const Point<dim> x,
+  ExactSolution<dim>::value(const Point<dim>  &x,
                             const unsigned int component) const
   {
     const double c0 = 1. / Ma;
@@ -250,7 +250,7 @@ namespace NavierStokes_DG
   inline DEAL_II_ALWAYS_INLINE //
     Tensor<1, n_components, Number>
     operator*(const Tensor<1, n_components, Tensor<1, dim, Number>> &matrix,
-              const Tensor<1, dim, Number> &                         vector)
+              const Tensor<1, dim, Number>                          &vector)
   {
     Tensor<1, n_components, Number> result;
     for (unsigned int d = 0; d < n_components; ++d)
@@ -263,7 +263,7 @@ namespace NavierStokes_DG
     Tensor<1, dim + 2, Number>
     euler_numerical_flux(const Tensor<1, dim + 2, Number> &u_m,
                          const Tensor<1, dim + 2, Number> &u_p,
-                         const Tensor<1, dim, Number> &    normal)
+                         const Tensor<1, dim, Number>     &normal)
   {
     const auto velocity_m = fluid_velocity<dim>(u_m);
     const auto velocity_p = fluid_velocity<dim>(u_p);
@@ -290,7 +290,7 @@ namespace NavierStokes_DG
   inline DEAL_II_ALWAYS_INLINE //
     Tensor<2, dim, Number>
     fluid_velocity_gradient(
-      const Tensor<1, dim + 2, Number> &                conserved_variables,
+      const Tensor<1, dim + 2, Number>                 &conserved_variables,
       const Tensor<1, dim + 2, Tensor<1, dim, Number>> &gradients)
   {
     const Number inverse_density = Number(1.) / conserved_variables[0];
@@ -320,7 +320,7 @@ namespace NavierStokes_DG
   inline DEAL_II_ALWAYS_INLINE //
     Tensor<1, dim, Number>
     fluid_temperature_gradient(
-      const Tensor<1, dim + 2, Number> &                conserved_variables,
+      const Tensor<1, dim + 2, Number>                 &conserved_variables,
       const Tensor<1, dim + 2, Tensor<1, dim, Number>> &gradients)
   {
     const Number inverse_R = 1. / R;
@@ -365,7 +365,7 @@ namespace NavierStokes_DG
 
   template <int dim, typename VectorizedArrayType>
   VectorizedArrayType
-  evaluate_function(const Function<dim> &                  function,
+  evaluate_function(const Function<dim>                   &function,
                     const Point<dim, VectorizedArrayType> &p_vectorized,
                     const unsigned int                     component)
   {
@@ -384,7 +384,7 @@ namespace NavierStokes_DG
 
   template <int dim, typename VectorizedArrayType, int n_components = dim + 2>
   Tensor<1, n_components, VectorizedArrayType>
-  evaluate_function(const Function<dim> &                  function,
+  evaluate_function(const Function<dim>                   &function,
                     const Point<dim, VectorizedArrayType> &p_vectorized)
   {
     AssertDimension(function.n_components, n_components);
@@ -436,7 +436,7 @@ namespace NavierStokes_DG
                   const Number                                      bi,
                   const Number                                      ai,
                   const LinearAlgebra::distributed::Vector<Number> &current_ri,
-                  LinearAlgebra::distributed::Vector<Number> &      vec_ki,
+                  LinearAlgebra::distributed::Vector<Number>       &vec_ki,
                   LinearAlgebra::distributed::Vector<Number> &solution) const;
 
     void
@@ -446,16 +446,16 @@ namespace NavierStokes_DG
       const Number                                      bi,
       const Number                                      ai,
       const LinearAlgebra::distributed::Vector<Number> &current_ri,
-      LinearAlgebra::distributed::Vector<Number> &      vec_ki,
-      LinearAlgebra::distributed::Vector<Number> &      solution) const;
+      LinearAlgebra::distributed::Vector<Number>       &vec_ki,
+      LinearAlgebra::distributed::Vector<Number>       &solution) const;
 
     void
-    project(const Function<dim> &                       function,
+    project(const Function<dim>                        &function,
             LinearAlgebra::distributed::Vector<Number> &solution) const;
 
     std::array<double, 3>
     compute_errors(
-      const Function<dim> &                             function,
+      const Function<dim>                              &function,
       const LinearAlgebra::distributed::Vector<Number> &solution) const;
 
     std::array<double, 2>
@@ -486,35 +486,35 @@ namespace NavierStokes_DG
 
     void
     operation_on_cell(const MatrixFree<dim, Number, VectorizedArrayType> &mf,
-                      LinearAlgebra::distributed::Vector<Number> &        dst,
-                      const LinearAlgebra::distributed::Vector<Number> &  src,
+                      LinearAlgebra::distributed::Vector<Number>         &dst,
+                      const LinearAlgebra::distributed::Vector<Number>   &src,
                       const std::pair<unsigned int, unsigned int> &range) const;
 
     void
     operation_cell(const MatrixFree<dim, Number, VectorizedArrayType> &mf,
-                   LinearAlgebra::distributed::Vector<Number> &        dst,
-                   const LinearAlgebra::distributed::Vector<Number> &  src,
+                   LinearAlgebra::distributed::Vector<Number>         &dst,
+                   const LinearAlgebra::distributed::Vector<Number>   &src,
                    const std::pair<unsigned int, unsigned int> &range) const;
 
     void
     operation_face(const MatrixFree<dim, Number, VectorizedArrayType> &mf,
-                   LinearAlgebra::distributed::Vector<Number> &        dst,
-                   const LinearAlgebra::distributed::Vector<Number> &  src,
+                   LinearAlgebra::distributed::Vector<Number>         &dst,
+                   const LinearAlgebra::distributed::Vector<Number>   &src,
                    const std::pair<unsigned int, unsigned int> &range) const;
 
     void
     operation_boundary(
       const MatrixFree<dim, Number, VectorizedArrayType> &mf,
-      LinearAlgebra::distributed::Vector<Number> &        dst,
-      const LinearAlgebra::distributed::Vector<Number> &  src,
-      const std::pair<unsigned int, unsigned int> &       range) const;
+      LinearAlgebra::distributed::Vector<Number>         &dst,
+      const LinearAlgebra::distributed::Vector<Number>   &src,
+      const std::pair<unsigned int, unsigned int>        &range) const;
 
     void
     local_apply_inverse_mass_matrix(
       const MatrixFree<dim, Number> &,
-      LinearAlgebra::distributed::Vector<Number> &      dst,
+      LinearAlgebra::distributed::Vector<Number>       &dst,
       const LinearAlgebra::distributed::Vector<Number> &src,
-      const std::pair<unsigned int, unsigned int> &     cell_range) const;
+      const std::pair<unsigned int, unsigned int>      &cell_range) const;
 
     mutable double                                      ai;
     mutable double                                      bi;
@@ -570,7 +570,7 @@ namespace NavierStokes_DG
   template <int dim, int degree, int n_points_1d>
   void
   NavierStokesOperator<dim, degree, n_points_1d>::reinit(
-    const Mapping<dim> &   mapping,
+    const Mapping<dim>    &mapping,
     const DoFHandler<dim> &dof_handler)
   {
     const std::vector<const DoFHandler<dim> *> dof_handlers = {&dof_handler};
@@ -612,8 +612,8 @@ namespace NavierStokes_DG
     const Number                                      bi,
     const Number                                      ai,
     const LinearAlgebra::distributed::Vector<Number> &current_ri,
-    LinearAlgebra::distributed::Vector<Number> &      vec_ki,
-    LinearAlgebra::distributed::Vector<Number> &      solution) const
+    LinearAlgebra::distributed::Vector<Number>       &vec_ki,
+    LinearAlgebra::distributed::Vector<Number>       &solution) const
   {
     for (auto &i : inflow_boundaries)
       i.second->set_time(current_time);
@@ -640,9 +640,9 @@ namespace NavierStokes_DG
   void
   NavierStokesOperator<dim, degree, n_points_1d>::operation_on_cell(
     const MatrixFree<dim, Number, VectorizedArrayType> &data,
-    LinearAlgebra::distributed::Vector<Number> &        vec_ki,
-    const LinearAlgebra::distributed::Vector<Number> &  current_ri,
-    const std::pair<unsigned int, unsigned int> &       cell_range) const
+    LinearAlgebra::distributed::Vector<Number>         &vec_ki,
+    const LinearAlgebra::distributed::Vector<Number>   &current_ri,
+    const std::pair<unsigned int, unsigned int>        &cell_range) const
   {
     using FECellIntegral = FEEvaluation<dim,
                                         degree,
@@ -1061,8 +1061,8 @@ namespace NavierStokes_DG
     const Number                                      bi,
     const Number                                      ai,
     const LinearAlgebra::distributed::Vector<Number> &current_ri,
-    LinearAlgebra::distributed::Vector<Number> &      vec_ki,
-    LinearAlgebra::distributed::Vector<Number> &      solution) const
+    LinearAlgebra::distributed::Vector<Number>       &vec_ki,
+    LinearAlgebra::distributed::Vector<Number>       &solution) const
   {
     for (auto &i : inflow_boundaries)
       i.second->set_time(current_time);
@@ -1135,9 +1135,9 @@ namespace NavierStokes_DG
   void
   NavierStokesOperator<dim, degree, n_points_1d>::operation_cell(
     const MatrixFree<dim, Number, VectorizedArrayType> &data,
-    LinearAlgebra::distributed::Vector<Number> &        dst,
-    const LinearAlgebra::distributed::Vector<Number> &  src,
-    const std::pair<unsigned int, unsigned int> &       cell_range) const
+    LinearAlgebra::distributed::Vector<Number>         &dst,
+    const LinearAlgebra::distributed::Vector<Number>   &src,
+    const std::pair<unsigned int, unsigned int>        &cell_range) const
   {
     using FECellIntegral = FEEvaluation<dim,
                                         degree,
@@ -1204,9 +1204,9 @@ namespace NavierStokes_DG
   void
   NavierStokesOperator<dim, degree, n_points_1d>::operation_face(
     const MatrixFree<dim, Number, VectorizedArrayType> &data,
-    LinearAlgebra::distributed::Vector<Number> &        dst,
-    const LinearAlgebra::distributed::Vector<Number> &  src,
-    const std::pair<unsigned int, unsigned int> &       face_range) const
+    LinearAlgebra::distributed::Vector<Number>         &dst,
+    const LinearAlgebra::distributed::Vector<Number>   &src,
+    const std::pair<unsigned int, unsigned int>        &face_range) const
   {
     using FEFaceIntegral = FEFaceEvaluation<dim,
                                             degree,
@@ -1276,9 +1276,9 @@ namespace NavierStokes_DG
   void
   NavierStokesOperator<dim, degree, n_points_1d>::operation_boundary(
     const MatrixFree<dim, Number, VectorizedArrayType> &data,
-    LinearAlgebra::distributed::Vector<Number> &        dst,
-    const LinearAlgebra::distributed::Vector<Number> &  src,
-    const std::pair<unsigned int, unsigned int> &       face_range) const
+    LinearAlgebra::distributed::Vector<Number>         &dst,
+    const LinearAlgebra::distributed::Vector<Number>   &src,
+    const std::pair<unsigned int, unsigned int>        &face_range) const
   {
     AssertThrow(false, ExcNotImplemented());
     FEFaceEvaluation<dim,
@@ -1385,9 +1385,9 @@ namespace NavierStokes_DG
   NavierStokesOperator<dim, degree, n_points_1d>::
     local_apply_inverse_mass_matrix(
       const MatrixFree<dim, Number> &,
-      LinearAlgebra::distributed::Vector<Number> &      dst,
+      LinearAlgebra::distributed::Vector<Number>       &dst,
       const LinearAlgebra::distributed::Vector<Number> &src,
-      const std::pair<unsigned int, unsigned int> &     cell_range) const
+      const std::pair<unsigned int, unsigned int>      &cell_range) const
   {
     FEEvaluation<dim, degree, degree + 1, dim + 2, Number> phi(data, 0, 1);
     MatrixFreeOperators::CellwiseInverseMassMatrix<dim, degree, dim + 2, Number>
@@ -1492,7 +1492,7 @@ namespace NavierStokes_DG
   template <int dim, int degree, int n_points_1d>
   void
   NavierStokesOperator<dim, degree, n_points_1d>::project(
-    const Function<dim> &                       function,
+    const Function<dim>                        &function,
     LinearAlgebra::distributed::Vector<Number> &solution) const
   {
     FEEvaluation<dim, degree, degree + 1, dim + 2, Number, VectorizedArrayType>
@@ -1523,7 +1523,7 @@ namespace NavierStokes_DG
   template <int dim, int degree, int n_points_1d>
   std::array<double, 3>
   NavierStokesOperator<dim, degree, n_points_1d>::compute_errors(
-    const Function<dim> &                             function,
+    const Function<dim>                              &function,
     const LinearAlgebra::distributed::Vector<Number> &solution) const
   {
     double errors_squared[3] = {};
@@ -1687,7 +1687,7 @@ namespace NavierStokes_DG
                   const Number       bi,
                   const Number       ai,
                   const LinearAlgebra::distributed::Vector<Number> &current_ri,
-                  LinearAlgebra::distributed::Vector<Number> &      vec_ki,
+                  LinearAlgebra::distributed::Vector<Number>       &vec_ki,
                   LinearAlgebra::distributed::Vector<Number> &solution) const
     {
       ns_operator.perform_stage_face(
@@ -1770,7 +1770,7 @@ namespace NavierStokes_DG
   void
   FlowProblem<dim>::Postprocessor::evaluate_vector_field(
     const DataPostprocessorInputs::Vector<dim> &inputs,
-    std::vector<Vector<double>> &               computed_quantities) const
+    std::vector<Vector<double>>                &computed_quantities) const
   {
     const unsigned int n_evaluation_points = inputs.solution_values.size();
 
index a0c7a2e0e9d46fa1996c457e603f98f76aee1fd4..8fd4c8dd3faf106e43195eb82b71c6b7a6845eab 100644 (file)
@@ -143,7 +143,7 @@ public:
 
 template <int dim>
 double
-BoundaryValues<dim>::value(const Point<dim> p,
+BoundaryValues<dim>::value(const Point<dim>  &p,
                            const unsigned int component) const
 {
   Assert(component < this->n_components,
@@ -158,7 +158,7 @@ BoundaryValues<dim>::value(const Point<dim> & p,
 template <int dim>
 void
 BoundaryValues<dim>::vector_value(const Point<dim> &p,
-                                  Vector<double> &  values) const
+                                  Vector<double>   &values) const
 {
   for (unsigned int c = 0; c < this->n_components; ++c)
     values(c) = BoundaryValues<dim>::value(p, c);
@@ -178,7 +178,7 @@ public:
 
   virtual void
   value_list(const std::vector<Point<dim>> &p,
-             std::vector<Tensor<1, dim>> &  value) const override;
+             std::vector<Tensor<1, dim>>   &value) const override;
 };
 
 
@@ -193,7 +193,7 @@ RightHandSide<dim>::value(const Point<dim> & /*p*/) const
 template <int dim>
 void
 RightHandSide<dim>::value_list(const std::vector<Point<dim>> &vp,
-                               std::vector<Tensor<1, dim>> &  values) const
+                               std::vector<Tensor<1, dim>>   &values) const
 {
   for (unsigned int c = 0; c < vp.size(); ++c)
     {
@@ -219,7 +219,7 @@ private:
 
 template <class MatrixType, class PreconditionerType>
 InverseMatrix<MatrixType, PreconditionerType>::InverseMatrix(
-  const MatrixType &        m,
+  const MatrixType         &m,
   const PreconditionerType &preconditioner)
   : matrix(&m)
   , preconditioner(&preconditioner)
@@ -229,7 +229,7 @@ InverseMatrix<MatrixType, PreconditionerType>::InverseMatrix(
 template <class MatrixType, class PreconditionerType>
 void
 InverseMatrix<MatrixType, PreconditionerType>::vmult(
-  Vector<double> &      dst,
+  Vector<double>       &dst,
   const Vector<double> &src) const
 {
   SolverControl            solver_control(src.size(), 1e-6 * src.l2_norm());
@@ -264,7 +264,7 @@ private:
 
 template <class PreconditionerType>
 SchurComplement<PreconditionerType>::SchurComplement(
-  const BlockSparseMatrix<double> &                              system_matrix,
+  const BlockSparseMatrix<double>                               &system_matrix,
   const InverseMatrix<SparseMatrix<double>, PreconditionerType> &A_inverse)
   : system_matrix(&system_matrix)
   , A_inverse(&A_inverse)
@@ -275,7 +275,7 @@ SchurComplement<PreconditionerType>::SchurComplement(
 
 template <class PreconditionerType>
 void
-SchurComplement<PreconditionerType>::vmult(Vector<double> &      dst,
+SchurComplement<PreconditionerType>::vmult(Vector<double>       &dst,
                                            const Vector<double> &src) const
 {
   system_matrix->block(0, 1).vmult(tmp1, src);
index 784ec0e1f0268ee6140074a547451bf44347cee5..49e00d68953cc1c963c34755482e57e6039fd604 100644 (file)
@@ -90,11 +90,11 @@ public:
   LaplaceOperator();
 
   void
-  vmult(LinearAlgebra::distributed::Vector<number> &      dst,
+  vmult(LinearAlgebra::distributed::Vector<number>       &dst,
         const LinearAlgebra::distributed::Vector<number> &src) const;
 
   void
-  vmult(LinearAlgebra::distributed::Vector<number> &      dst,
+  vmult(LinearAlgebra::distributed::Vector<number>       &dst,
         const LinearAlgebra::distributed::Vector<number> &src,
         const std::function<void(const unsigned int, const unsigned int)>
           &operation_before_loop,
@@ -107,20 +107,20 @@ public:
 private:
   virtual void
   apply_add(
-    LinearAlgebra::distributed::Vector<number> &      dst,
+    LinearAlgebra::distributed::Vector<number>       &dst,
     const LinearAlgebra::distributed::Vector<number> &src) const override;
 
   void
-  local_apply(const MatrixFree<dim, number> &                   data,
-              LinearAlgebra::distributed::Vector<number> &      dst,
+  local_apply(const MatrixFree<dim, number>                    &data,
+              LinearAlgebra::distributed::Vector<number>       &dst,
               const LinearAlgebra::distributed::Vector<number> &src,
               const std::pair<unsigned int, unsigned int> &cell_range) const;
 
   void
   local_compute_diagonal(
-    const MatrixFree<dim, number> &              data,
-    LinearAlgebra::distributed::Vector<number> dst,
-    const unsigned int &                         dummy,
+    const MatrixFree<dim, number>               &data,
+    LinearAlgebra::distributed::Vector<number>  &dst,
+    const unsigned int                          &dummy,
     const std::pair<unsigned int, unsigned int> &cell_range) const;
 };
 
@@ -136,10 +136,10 @@ LaplaceOperator<dim, fe_degree, number>::LaplaceOperator()
 template <int dim, int fe_degree, typename number>
 void
 LaplaceOperator<dim, fe_degree, number>::local_apply(
-  const MatrixFree<dim, number> &                   data,
-  LinearAlgebra::distributed::Vector<number> &      dst,
+  const MatrixFree<dim, number>                    &data,
+  LinearAlgebra::distributed::Vector<number>       &dst,
   const LinearAlgebra::distributed::Vector<number> &src,
-  const std::pair<unsigned int, unsigned int> &     cell_range) const
+  const std::pair<unsigned int, unsigned int>      &cell_range) const
 {
   FEEvaluation<dim, fe_degree, fe_degree + 1, 1, number> phi(data);
 
@@ -158,7 +158,7 @@ LaplaceOperator<dim, fe_degree, number>::local_apply(
 template <int dim, int fe_degree, typename number>
 void
 LaplaceOperator<dim, fe_degree, number>::apply_add(
-  LinearAlgebra::distributed::Vector<number> &      dst,
+  LinearAlgebra::distributed::Vector<number>       &dst,
   const LinearAlgebra::distributed::Vector<number> &src) const
 {
   this->data->cell_loop(&LaplaceOperator::local_apply, this, dst, src);
@@ -169,7 +169,7 @@ LaplaceOperator<dim, fe_degree, number>::apply_add(
 template <int dim, int fe_degree, typename number>
 void
 LaplaceOperator<dim, fe_degree, number>::vmult(
-  LinearAlgebra::distributed::Vector<number> &      dst,
+  LinearAlgebra::distributed::Vector<number>       &dst,
   const LinearAlgebra::distributed::Vector<number> &src) const
 {
   this->data->cell_loop(&LaplaceOperator::local_apply, this, dst, src, true);
@@ -182,7 +182,7 @@ LaplaceOperator<dim, fe_degree, number>::vmult(
 template <int dim, int fe_degree, typename number>
 void
 LaplaceOperator<dim, fe_degree, number>::vmult(
-  LinearAlgebra::distributed::Vector<number> &      dst,
+  LinearAlgebra::distributed::Vector<number>       &dst,
   const LinearAlgebra::distributed::Vector<number> &src,
   const std::function<void(const unsigned int, const unsigned int)>
     &operation_before_loop,
@@ -233,7 +233,7 @@ LaplaceOperator<dim, fe_degree, number>::compute_diagonal()
 template <int dim, int fe_degree, typename number>
 void
 LaplaceOperator<dim, fe_degree, number>::local_compute_diagonal(
-  const MatrixFree<dim, number> &             data,
+  const MatrixFree<dim, number>              &data,
   LinearAlgebra::distributed::Vector<number> &dst,
   const unsigned int &,
   const std::pair<unsigned int, unsigned int> &cell_range) const
index 3527985f4f853250adbf07ca9b1eedbe7d81fff9..fdff901c76e4fe0f2e6ea761322512c49a608204 100644 (file)
@@ -106,14 +106,14 @@ namespace Step68
 
     virtual void
     vector_value(const Point<dim> &point,
-                 Vector<double> &  values) const override;
+                 Vector<double>   &values) const override;
   };
 
 
   template <int dim>
   void
   Vortex<dim>::vector_value(const Point<dim> &point,
-                            Vector<double> &  values) const
+                            Vector<double>   &values) const
   {
     const double T = 4;
     const double t = this->get_time();
@@ -208,7 +208,7 @@ namespace Step68
   unsigned int
   ParticleTracking<dim>::cell_weight(
     const typename parallel::distributed::Triangulation<dim>::cell_iterator
-      &                                                                  cell,
+                                                                        &cell,
     const typename parallel::distributed::Triangulation<dim>::CellStatus status)
     const
   {
index e82023c8be59aa76175620d2035a540d06bb2796..4d940f8d18ced30a3a91a982f278542b2e959a23 100644 (file)
@@ -63,7 +63,7 @@ namespace Assembly
     struct Data
     {
       Data(const hp::FECollection<dim> &fe,
-           const hp::QCollection<dim> quadrature)
+           const hp::QCollection<dim>  &quadrature)
         : hp_fe_values(fe,
                        quadrature,
                        update_values | update_gradients |
@@ -120,8 +120,8 @@ private:
 
   void
   local_assemble(const typename DoFHandler<dim>::active_cell_iterator &cell,
-                 Assembly::Scratch::Data<dim> &                        scratch,
-                 Assembly::Copy::Data &                                data);
+                 Assembly::Scratch::Data<dim>                         &scratch,
+                 Assembly::Copy::Data                                 &data);
   void
   copy_local_to_global(const Assembly::Copy::Data &data);
 
@@ -294,8 +294,8 @@ template <int dim>
 void
 LaplaceProblem<dim>::local_assemble(
   const typename DoFHandler<dim>::active_cell_iterator &cell,
-  Assembly::Scratch::Data<dim> &                        scratch,
-  Assembly::Copy::Data &                                data)
+  Assembly::Scratch::Data<dim>                         &scratch,
+  Assembly::Copy::Data                                 &data)
 {
   const unsigned int dofs_per_cell = cell->get_fe().dofs_per_cell;
 
index 882a2ca0c805a93907eaab171fd0eb26dd21a326..10b264f3e5225b48f98c334d37d6cbbd979b87ad 100644 (file)
@@ -49,7 +49,7 @@ public:
    * not be the same vector.
    */
   void
-  vmult(dealii::PETScWrappers::VectorBase &      dst,
+  vmult(dealii::PETScWrappers::VectorBase       &dst,
         const dealii::PETScWrappers::VectorBase &src) const;
 
   /**
@@ -63,7 +63,7 @@ public:
    * not be the same vector.
    */
   void
-  Tvmult(dealii::PETScWrappers::VectorBase &      dst,
+  Tvmult(dealii::PETScWrappers::VectorBase       &dst,
          const dealii::PETScWrappers::VectorBase &src) const;
 
   /**
@@ -77,7 +77,7 @@ public:
    * not be the same vector.
    */
   void
-  vmult_add(dealii::PETScWrappers::VectorBase &      dst,
+  vmult_add(dealii::PETScWrappers::VectorBase       &dst,
             const dealii::PETScWrappers::VectorBase &src) const;
 
   /**
@@ -94,7 +94,7 @@ public:
    * not be the same vector.
    */
   void
-  Tvmult_add(dealii::PETScWrappers::VectorBase &      dst,
+  Tvmult_add(dealii::PETScWrappers::VectorBase       &dst,
              const dealii::PETScWrappers::VectorBase &src) const;
 
 private:
@@ -121,7 +121,7 @@ inline PetscFDMatrix::PetscFDMatrix(unsigned int size, unsigned int dim)
 
 
 inline void
-PetscFDMatrix::vmult_add(dealii::PETScWrappers::VectorBase &      dst,
+PetscFDMatrix::vmult_add(dealii::PETScWrappers::VectorBase       &dst,
                          const dealii::PETScWrappers::VectorBase &src) const
 {
   for (unsigned int i = 0; i <= ny - 2; ++i)
@@ -152,7 +152,7 @@ PetscFDMatrix::vmult_add(dealii::PETScWrappers::VectorBase &      dst,
 
 
 inline void
-PetscFDMatrix::vmult(dealii::PETScWrappers::VectorBase &      dst,
+PetscFDMatrix::vmult(dealii::PETScWrappers::VectorBase       &dst,
                      const dealii::PETScWrappers::VectorBase &src) const
 {
   dst = 0;
@@ -162,7 +162,7 @@ PetscFDMatrix::vmult(dealii::PETScWrappers::VectorBase &      dst,
 
 
 inline void
-PetscFDMatrix::Tvmult(dealii::PETScWrappers::VectorBase &      dst,
+PetscFDMatrix::Tvmult(dealii::PETScWrappers::VectorBase       &dst,
                       const dealii::PETScWrappers::VectorBase &src) const
 {
   dst = 0;
@@ -172,7 +172,7 @@ PetscFDMatrix::Tvmult(dealii::PETScWrappers::VectorBase &      dst,
 
 
 inline void
-PetscFDMatrix::Tvmult_add(dealii::PETScWrappers::VectorBase &      dst,
+PetscFDMatrix::Tvmult_add(dealii::PETScWrappers::VectorBase       &dst,
                           const dealii::PETScWrappers::VectorBase &src) const
 {
   vmult_add(dst, src);
index 58ffea706a1a0f6d8f7035d663590317f1150c22..cac29da24e01240c42309c22f3e239789fadbf43 100644 (file)
@@ -78,7 +78,7 @@ main(int argc, char **argv)
     };
 
     // Test attaching a user-defined monitoring routine
-    solver.monitor = [&](const VectorType X,
+    solver.monitor = [&](const VectorType  &X,
                          const unsigned int step,
                          const real_type    fval) -> void {
       out << "#    " << step << ": " << fval << std::endl;
@@ -179,7 +179,7 @@ main(int argc, char **argv)
     // solvers can still be used in a Jacobian-free way and selected at command
     // line or within user code.
     solver.solve_with_jacobian = [&](const VectorType &src,
-                                     VectorType &      dst) -> void {
+                                     VectorType       &dst) -> void {
       dst(0) = Jinv(0, 0) * src(0) + Jinv(0, 1) * src(1);
       dst(1) = Jinv(1, 0) * src(0) + Jinv(1, 1) * src(1);
       dst.compress(VectorOperation::insert);
index db1d2a364b2e778fae2518c7e6c4e8f5901d5307..f739b016d2277f40055152ae6d1c8380a0b5f5bb 100644 (file)
@@ -155,7 +155,7 @@ main(int argc, char **argv)
     };
 
     solver.solve_with_jacobian = [&](const VectorType &src,
-                                     VectorType &      dst) -> void {
+                                     VectorType       &dst) -> void {
       dst.block(0)[0] =
         Jinv(0, 0) * src.block(0)[0] + Jinv(0, 1) * src.block(1)[0];
       dst.block(1)[0] =
index 282c4b11025ea4e664339619470b50589a587d6b..34fafc8e7514438c5122bb63ede3896adabbfb09 100644 (file)
@@ -90,7 +90,7 @@ run_test(int testcase, bool recoverable)
       };
 
       solver.solve_with_jacobian = [&](const VectorType &rhs,
-                                       VectorType &      sol) -> void {
+                                       VectorType       &sol) -> void {
         deallog << "Solve Jacobian" << std::endl;
 
         if (throw_exception && testcase == 2)
index c35e0500b4385550dc189a69dc7fc4098fe07870..a298129768f18892107a89cdba6a608eaec74f73 100644 (file)
@@ -73,7 +73,7 @@ public:
                      bool                                           setjac,
                      bool                                           implicit,
                      bool                                           user,
-                     std::ostream &                                 _out)
+                     std::ostream                                  &_out)
     : time_stepper(data)
     , out(_out)
     , kappa(_kappa)
@@ -84,7 +84,7 @@ public:
         time_stepper.implicit_function = [&](const real_type   t,
                                              const VectorType &y,
                                              const VectorType &y_dot,
-                                             VectorType &      res) -> void {
+                                             VectorType       &res) -> void {
           res(0) = y_dot(0) - y(1);
           res(1) = y_dot(1) + kappa * kappa * y(0);
           res.compress(VectorOperation::insert);
@@ -107,8 +107,8 @@ public:
                                                  const VectorType &y,
                                                  const VectorType &y_dot,
                                                  const real_type   shift,
-                                                 MatrixType &      A,
-                                                 MatrixType &      P) -> void {
+                                                 MatrixType       &A,
+                                                 MatrixType       &P) -> void {
               P.set(0, 0, shift);
               P.set(0, 1, -1);
               P.set(1, 0, kappa * kappa);
@@ -159,8 +159,8 @@ public:
           {
             time_stepper.explicit_jacobian = [&](const real_type   t,
                                                  const VectorType &y,
-                                                 MatrixType &      A,
-                                                 MatrixType &      P) -> void {
+                                                 MatrixType       &A,
+                                                 MatrixType       &P) -> void {
               P.set(0, 0, 0);
               P.set(0, 1, 1);
               P.set(1, 0, -kappa * kappa);
@@ -173,7 +173,7 @@ public:
     // Monitoring routine. Here we print diagnostic for the exact
     // solution to the log file.
     time_stepper.monitor = [&](const real_type    t,
-                               const VectorType y,
+                               const VectorType  &y,
                                const unsigned int step_number) -> void {
       std::vector<real_type> exact(2);
       exact[0] = std::sin(kappa * t);
index f1eadb45d84cdcd6a0187bf305fecb1cd8eb669d..f72eaaf7a96a058a6cf380904f3816b40b9c0bb1 100644 (file)
@@ -13,7 +13,7 @@
 //
 //-----------------------------------------------------------
 
-//#include <deal.II/base/parameter_handler.h>
+// #include <deal.II/base/parameter_handler.h>
 
 #include <deal.II/lac/petsc_ts.h>
 #include <deal.II/lac/petsc_vector.h>
@@ -47,7 +47,7 @@ public:
     implicit_function = [&](const real_type   t,
                             const VectorType &y,
                             const VectorType &y_dot,
-                            VectorType &      res) -> void {
+                            VectorType       &res) -> void {
       res(0) = y_dot(0) - y(0);
       res(1) = y(1) - y(0);
       res.compress(VectorOperation::insert);
index 88f73d0d9d76e5c333fa337b52efd911ed7bcc3b..2fbc400babee883d819b536b3728be67e52aeacd 100644 (file)
@@ -78,7 +78,7 @@ public:
         time_stepper.implicit_function = [&](const real_type   t,
                                              const VectorType &y,
                                              const VectorType &y_dot,
-                                             VectorType &      res) -> void {
+                                             VectorType       &res) -> void {
           deallog << "Evaluating implicit function at t=" << t << std::endl;
           res(0) = y_dot(0) + kappa * y(0);
           res.compress(VectorOperation::insert);
@@ -101,8 +101,8 @@ public:
                                                  const VectorType &y,
                                                  const VectorType &y_dot,
                                                  const real_type   shift,
-                                                 MatrixType &      A,
-                                                 MatrixType &      P) -> void {
+                                                 MatrixType       &A,
+                                                 MatrixType       &P) -> void {
               deallog << "Evaluating implicit Jacobian at t=" << t << std::endl;
               P.set(0, 0, shift + kappa);
               P.compress(VectorOperation::insert);
@@ -151,8 +151,8 @@ public:
           {
             time_stepper.explicit_jacobian = [&](const real_type   t,
                                                  const VectorType &y,
-                                                 MatrixType &      A,
-                                                 MatrixType &      P) -> void {
+                                                 MatrixType       &A,
+                                                 MatrixType       &P) -> void {
               deallog << "Evaluating explicit Jacobian at t=" << t << std::endl;
               P.set(0, 0, -kappa);
               P.compress(VectorOperation::insert);
index 8db0853c159841c07d1d3bc512ff25b7d2c44b4c..2f9bc4ce15ca16f53effbb4110c492b4b29306f4 100644 (file)
@@ -54,7 +54,7 @@ public:
         time_stepper.implicit_function = [&](const real_type   t,
                                              const VectorType &y,
                                              const VectorType &y_dot,
-                                             VectorType &      res) -> void {
+                                             VectorType       &res) -> void {
           deallog << "Evaluating implicit function at t=" << t << std::endl;
 
           if (t > last_eval_time + 0.1)
@@ -92,8 +92,8 @@ public:
                                                  const VectorType &y,
                                                  const VectorType &y_dot,
                                                  const real_type   shift,
-                                                 MatrixType &      A,
-                                                 MatrixType &      P) -> void {
+                                                 MatrixType       &A,
+                                                 MatrixType       &P) -> void {
               deallog << "Evaluating implicit Jacobian at t=" << t << std::endl;
               P.set(0, 0, shift + kappa);
               P.compress(VectorOperation::insert);
@@ -156,8 +156,8 @@ public:
           {
             time_stepper.explicit_jacobian = [&](const real_type   t,
                                                  const VectorType &y,
-                                                 MatrixType &      A,
-                                                 MatrixType &      P) -> void {
+                                                 MatrixType       &A,
+                                                 MatrixType       &P) -> void {
               deallog << "Evaluating explicit Jacobian at t=" << t << std::endl;
               P.set(0, 0, -kappa);
               P.compress(VectorOperation::insert);
index dcfede2348a11e5137d28f7e089982ed68bcef67..f71bcec290a44d172bab3eebfaddb764596d3a96 100644 (file)
@@ -85,8 +85,8 @@ public:
                                              const VectorType &y,
                                              const VectorType &y_dot,
                                              const real_type   shift,
-                                             MatrixType &      A,
-                                             MatrixType &      P) -> void {
+                                             MatrixType       &A,
+                                             MatrixType       &P) -> void {
           deallog << "Evaluating implicit Jacobian at t=" << t << std::endl;
           if (throw_error)
             {
@@ -141,7 +141,7 @@ public:
         };
 
         time_stepper.solve_with_jacobian = [&](const VectorType &src,
-                                               VectorType &      dst) -> void {
+                                               VectorType       &dst) -> void {
           deallog << "Solving with Jacobian" << std::endl;
           if (throw_error && testcase == 2)
             {
index 271eb412a776b2bfc44c27f8785637597d26f70d..97cf8621045c9bac20c44a42464cc80cc072f469 100644 (file)
@@ -68,7 +68,7 @@ main(int argc, char **argv)
 
     // Identity preconditioner
     preconditioner_user.vmult =
-      [](PETScWrappers::VectorBase &      dst,
+      [](PETScWrappers::VectorBase       &dst,
          const PETScWrappers::VectorBase &src) -> void { dst = src; };
 
     check_solver_within_range(solver.solve(A, u, f, preconditioner_user),
index 0051fb466eeea9e751d6b30429d03cd5d024a281..3ee243b9424fae4bbcd63dce39c6623fc1656eab 100644 (file)
@@ -165,7 +165,7 @@ namespace Euler_DG
   // -1)} + \frac 12 \rho \|u\|^2$.
   template <int dim>
   double
-  ExactSolution<dim>::value(const Point<dim> x,
+  ExactSolution<dim>::value(const Point<dim>  &x,
                             const unsigned int component) const
   {
     const double t = this->get_time();
@@ -348,9 +348,9 @@ namespace Euler_DG
     perform_time_step(const Operator &pde_operator,
                       const double    current_time,
                       const double    time_step,
-                      VectorType &    solution,
-                      VectorType &    vec_ri,
-                      VectorType &    vec_ki) const
+                      VectorType     &solution,
+                      VectorType     &vec_ri,
+                      VectorType     &vec_ki) const
     {
       AssertDimension(ai.size() + 1, bi.size());
 
@@ -500,7 +500,7 @@ namespace Euler_DG
   inline DEAL_II_ALWAYS_INLINE //
     Tensor<1, n_components, Number>
     operator*(const Tensor<1, n_components, Tensor<1, dim, Number>> &matrix,
-              const Tensor<1, dim, Number> &                         vector)
+              const Tensor<1, dim, Number>                          &vector)
   {
     Tensor<1, n_components, Number> result;
     for (unsigned int d = 0; d < n_components; ++d)
@@ -582,7 +582,7 @@ namespace Euler_DG
     Tensor<1, dim + 2, Number>
     euler_numerical_flux(const Tensor<1, dim + 2, Number> &u_m,
                          const Tensor<1, dim + 2, Number> &u_p,
-                         const Tensor<1, dim, Number> &    normal)
+                         const Tensor<1, dim, Number>     &normal)
   {
     const auto velocity_m = euler_velocity<dim>(u_m);
     const auto velocity_p = euler_velocity<dim>(u_p);
@@ -644,7 +644,7 @@ namespace Euler_DG
   // where all components of the solution are set.
   template <int dim, typename Number>
   VectorizedArray<Number>
-  evaluate_function(const Function<dim> &                      function,
+  evaluate_function(const Function<dim>                       &function,
                     const Point<dim, VectorizedArray<Number>> &p_vectorized,
                     const unsigned int                         component)
   {
@@ -662,7 +662,7 @@ namespace Euler_DG
 
   template <int dim, typename Number, int n_components = dim + 2>
   Tensor<1, n_components, VectorizedArray<Number>>
-  evaluate_function(const Function<dim> &                      function,
+  evaluate_function(const Function<dim>                       &function,
                     const Point<dim, VectorizedArray<Number>> &p_vectorized)
   {
     AssertDimension(function.n_components, n_components);
@@ -732,24 +732,24 @@ namespace Euler_DG
     void
     apply(const double                                      current_time,
           const LinearAlgebra::distributed::Vector<Number> &src,
-          LinearAlgebra::distributed::Vector<Number> &      dst) const;
+          LinearAlgebra::distributed::Vector<Number>       &dst) const;
 
     void
     perform_stage(const Number cur_time,
                   const Number factor_solution,
                   const Number factor_ai,
                   const LinearAlgebra::distributed::Vector<Number> &current_ri,
-                  LinearAlgebra::distributed::Vector<Number> &      vec_ki,
-                  LinearAlgebra::distributed::Vector<Number> &      solution,
+                  LinearAlgebra::distributed::Vector<Number>       &vec_ki,
+                  LinearAlgebra::distributed::Vector<Number>       &solution,
                   LinearAlgebra::distributed::Vector<Number> &next_ri) const;
 
     void
-    project(const Function<dim> &                       function,
+    project(const Function<dim>                        &function,
             LinearAlgebra::distributed::Vector<Number> &solution) const;
 
     std::array<double, 3>
     compute_errors(
-      const Function<dim> &                             function,
+      const Function<dim>                              &function,
       const LinearAlgebra::distributed::Vector<Number> &solution) const;
 
     double
@@ -773,31 +773,31 @@ namespace Euler_DG
 
     void
     local_apply_inverse_mass_matrix(
-      const MatrixFree<dim, Number> &                   data,
-      LinearAlgebra::distributed::Vector<Number> &      dst,
+      const MatrixFree<dim, Number>                    &data,
+      LinearAlgebra::distributed::Vector<Number>       &dst,
       const LinearAlgebra::distributed::Vector<Number> &src,
-      const std::pair<unsigned int, unsigned int> &     cell_range) const;
+      const std::pair<unsigned int, unsigned int>      &cell_range) const;
 
     void
     local_apply_cell(
-      const MatrixFree<dim, Number> &                   data,
-      LinearAlgebra::distributed::Vector<Number> &      dst,
+      const MatrixFree<dim, Number>                    &data,
+      LinearAlgebra::distributed::Vector<Number>       &dst,
       const LinearAlgebra::distributed::Vector<Number> &src,
-      const std::pair<unsigned int, unsigned int> &     cell_range) const;
+      const std::pair<unsigned int, unsigned int>      &cell_range) const;
 
     void
     local_apply_face(
-      const MatrixFree<dim, Number> &                   data,
-      LinearAlgebra::distributed::Vector<Number> &      dst,
+      const MatrixFree<dim, Number>                    &data,
+      LinearAlgebra::distributed::Vector<Number>       &dst,
       const LinearAlgebra::distributed::Vector<Number> &src,
-      const std::pair<unsigned int, unsigned int> &     face_range) const;
+      const std::pair<unsigned int, unsigned int>      &face_range) const;
 
     void
     local_apply_boundary_face(
-      const MatrixFree<dim, Number> &                   data,
-      LinearAlgebra::distributed::Vector<Number> &      dst,
+      const MatrixFree<dim, Number>                    &data,
+      LinearAlgebra::distributed::Vector<Number>       &dst,
       const LinearAlgebra::distributed::Vector<Number> &src,
-      const std::pair<unsigned int, unsigned int> &     face_range) const;
+      const std::pair<unsigned int, unsigned int>      &face_range) const;
   };
 
 
@@ -830,7 +830,7 @@ namespace Euler_DG
   template <int dim, int degree, int n_points_1d>
   void
   EulerOperator<dim, degree, n_points_1d>::reinit(
-    const Mapping<dim> &   mapping,
+    const Mapping<dim>    &mapping,
     const DoFHandler<dim> &dof_handler)
   {
     const std::vector<const DoFHandler<dim> *> dof_handlers = {&dof_handler};
@@ -1042,9 +1042,9 @@ namespace Euler_DG
   void
   EulerOperator<dim, degree, n_points_1d>::local_apply_cell(
     const MatrixFree<dim, Number> &,
-    LinearAlgebra::distributed::Vector<Number> &      dst,
+    LinearAlgebra::distributed::Vector<Number>       &dst,
     const LinearAlgebra::distributed::Vector<Number> &src,
-    const std::pair<unsigned int, unsigned int> &     cell_range) const
+    const std::pair<unsigned int, unsigned int>      &cell_range) const
   {
     FEEvaluation<dim, degree, n_points_1d, dim + 2, Number> phi(data);
 
@@ -1134,9 +1134,9 @@ namespace Euler_DG
   void
   EulerOperator<dim, degree, n_points_1d>::local_apply_face(
     const MatrixFree<dim, Number> &,
-    LinearAlgebra::distributed::Vector<Number> &      dst,
+    LinearAlgebra::distributed::Vector<Number>       &dst,
     const LinearAlgebra::distributed::Vector<Number> &src,
-    const std::pair<unsigned int, unsigned int> &     face_range) const
+    const std::pair<unsigned int, unsigned int>      &face_range) const
   {
     FEFaceEvaluation<dim, degree, n_points_1d, dim + 2, Number> phi_m(data,
                                                                       true);
@@ -1223,9 +1223,9 @@ namespace Euler_DG
   void
   EulerOperator<dim, degree, n_points_1d>::local_apply_boundary_face(
     const MatrixFree<dim, Number> &,
-    LinearAlgebra::distributed::Vector<Number> &      dst,
+    LinearAlgebra::distributed::Vector<Number>       &dst,
     const LinearAlgebra::distributed::Vector<Number> &src,
-    const std::pair<unsigned int, unsigned int> &     face_range) const
+    const std::pair<unsigned int, unsigned int>      &face_range) const
   {
     FEFaceEvaluation<dim, degree, n_points_1d, dim + 2, Number> phi(data, true);
 
@@ -1326,9 +1326,9 @@ namespace Euler_DG
   void
   EulerOperator<dim, degree, n_points_1d>::local_apply_inverse_mass_matrix(
     const MatrixFree<dim, Number> &,
-    LinearAlgebra::distributed::Vector<Number> &      dst,
+    LinearAlgebra::distributed::Vector<Number>       &dst,
     const LinearAlgebra::distributed::Vector<Number> &src,
-    const std::pair<unsigned int, unsigned int> &     cell_range) const
+    const std::pair<unsigned int, unsigned int>      &cell_range) const
   {
     FEEvaluation<dim, degree, degree + 1, dim + 2, Number> phi(data, 0, 1);
     MatrixFreeOperators::CellwiseInverseMassMatrix<dim, degree, dim + 2, Number>
@@ -1386,7 +1386,7 @@ namespace Euler_DG
   EulerOperator<dim, degree, n_points_1d>::apply(
     const double                                      current_time,
     const LinearAlgebra::distributed::Vector<Number> &src,
-    LinearAlgebra::distributed::Vector<Number> &      dst) const
+    LinearAlgebra::distributed::Vector<Number>       &dst) const
   {
     {
       TimerOutput::Scope t(timer, "apply - integrals");
@@ -1465,9 +1465,9 @@ namespace Euler_DG
     const Number                                      factor_solution,
     const Number                                      factor_ai,
     const LinearAlgebra::distributed::Vector<Number> &current_ri,
-    LinearAlgebra::distributed::Vector<Number> &      vec_ki,
-    LinearAlgebra::distributed::Vector<Number> &      solution,
-    LinearAlgebra::distributed::Vector<Number> &      next_ri) const
+    LinearAlgebra::distributed::Vector<Number>       &vec_ki,
+    LinearAlgebra::distributed::Vector<Number>       &solution,
+    LinearAlgebra::distributed::Vector<Number>       &next_ri) const
   {
     {
       TimerOutput::Scope t(timer, "rk_stage - integrals L_h");
@@ -1572,7 +1572,7 @@ namespace Euler_DG
   template <int dim, int degree, int n_points_1d>
   void
   EulerOperator<dim, degree, n_points_1d>::project(
-    const Function<dim> &                       function,
+    const Function<dim>                        &function,
     LinearAlgebra::distributed::Vector<Number> &solution) const
   {
     FEEvaluation<dim, degree, degree + 1, dim + 2, Number> phi(data, 0, 1);
@@ -1621,7 +1621,7 @@ namespace Euler_DG
   template <int dim, int degree, int n_points_1d>
   std::array<double, 3>
   EulerOperator<dim, degree, n_points_1d>::compute_errors(
-    const Function<dim> &                             function,
+    const Function<dim>                              &function,
     const LinearAlgebra::distributed::Vector<Number> &solution) const
   {
     TimerOutput::Scope t(timer, "compute errors");
@@ -1875,7 +1875,7 @@ namespace Euler_DG
   void
   EulerProblem<dim>::Postprocessor::evaluate_vector_field(
     const DataPostprocessorInputs::Vector<dim> &inputs,
-    std::vector<Vector<double>> &               computed_quantities) const
+    std::vector<Vector<double>>                &computed_quantities) const
   {
     const unsigned int n_evaluation_points = inputs.solution_values.size();
 
@@ -2307,7 +2307,7 @@ namespace Euler_DG
     // current implementation does not directly support this vector class.
     using VectorType = PETScWrappers::MPI::Vector;
 
-    auto copy_from_petsc = [](const VectorType &                          src,
+    auto copy_from_petsc = [](const VectorType                           &src,
                               LinearAlgebra::distributed::Vector<Number> &dst) {
       auto lr = src.local_range();
       for (unsigned int i = lr.first; i < lr.second; i++)
@@ -2316,7 +2316,7 @@ namespace Euler_DG
 
     auto copy_to_petsc =
       [](const LinearAlgebra::distributed::Vector<Number> &src,
-         VectorType &                                      dst) {
+         VectorType                                       &dst) {
         auto lr = dst.local_range();
         for (unsigned int i = lr.first; i < lr.second; i++)
           dst[i] = src[i];
index 94b6acfc59e0a8179b04778ea556b809cd0f258d..732e4a2a553f51b8b45c59abe6044d1cbcf2e199 100644 (file)
@@ -245,7 +245,7 @@ namespace Step77
   void
   MinimalSurfaceProblem<dim>::compute_residual(
     const VectorType &evaluation_point,
-    VectorType &      residual)
+    VectorType       &residual)
   {
     deallog << "  Computing residual vector " << std::endl;
     const QGauss<dim> quadrature_formula(fe.degree + 1);
@@ -526,7 +526,7 @@ namespace Step77
           // Here we inform the nonlinear_solver about how to sample the
           // residual of our nonlinear equations.
           nonlinear_solver.residual = [&](const VectorType &evaluation_point,
-                                          VectorType &      residual) {
+                                          VectorType       &residual) {
             compute_residual(evaluation_point, residual);
             return 0;
           };
index 7b80ee5337dd20bd348200b33b4a17da6ef39921..35245c1912f02dbdebded59496f123c910035040 100644 (file)
 
 template <class SOLVER, class MATRIX, class VECTOR, class PRECONDITION>
 void
-check_solve(SOLVER &            solver,
-            const MATRIX &      A,
-            VECTOR &            u,
-            VECTOR &            f,
+check_solve(SOLVER             &solver,
+            const MATRIX       &A,
+            VECTOR             &u,
+            VECTOR             &f,
             const PRECONDITION &P)
 {
   deallog << "Solver type: " << typeid(solver).name() << std::endl;
index d0c2fd2d5e71c55bc999041b997e541d71a70576..34b2077e28a7bd4335e7f39288771538b5714837 100644 (file)
 
 template <class SOLVER, class MATRIX, class VECTOR, class PRECONDITION>
 void
-check_solve(SOLVER &            solver,
-            const MATRIX &      A,
-            VECTOR &            u,
-            VECTOR &            f,
+check_solve(SOLVER             &solver,
+            const MATRIX       &A,
+            VECTOR             &u,
+            VECTOR             &f,
             const PRECONDITION &P)
 {
   deallog << "Solver type: " << typeid(solver).name() << std::endl;
index 7b87595f5ddecc0faf46c258e3f19ecea9cc2aa6..2d2be1d427d570f9ad5d0e4fa5e73882c00565ab 100644 (file)
 
 template <class SOLVER, class MATRIX, class VECTOR, class PRECONDITION>
 void
-check_solve(SOLVER &            solver,
-            const MATRIX &      A,
-            VECTOR &            u,
-            VECTOR &            f,
+check_solve(SOLVER             &solver,
+            const MATRIX       &A,
+            VECTOR             &u,
+            VECTOR             &f,
             const PRECONDITION &P)
 {
   deallog << "Solver type: " << typeid(solver).name() << std::endl;
index 8e8b26c2b7afb7a1b90def28c2ab3a16dcbf6021..2655f2cfb2f332befc148c51671656d1cbe1e252 100644 (file)
@@ -203,7 +203,7 @@ namespace Step18
     vector_value(const Point<dim> &p, Vector<double> &values) const;
     virtual void
     vector_value_list(const std::vector<Point<dim>> &points,
-                      std::vector<Vector<double>> &  value_list) const;
+                      std::vector<Vector<double>>   &value_list) const;
   };
   template <int dim>
   BodyForce<dim>::BodyForce()
@@ -224,7 +224,7 @@ namespace Step18
   void
   BodyForce<dim>::vector_value_list(
     const std::vector<Point<dim>> &points,
-    std::vector<Vector<double>> &  value_list) const
+    std::vector<Vector<double>>   &value_list) const
   {
     const unsigned int n_points = points.size();
     Assert(value_list.size() == n_points,
@@ -242,7 +242,7 @@ namespace Step18
     vector_value(const Point<dim> &p, Vector<double> &values) const;
     virtual void
     vector_value_list(const std::vector<Point<dim>> &points,
-                      std::vector<Vector<double>> &  value_list) const;
+                      std::vector<Vector<double>>   &value_list) const;
 
   private:
     const double velocity;
@@ -271,7 +271,7 @@ namespace Step18
   void
   IncrementalBoundaryValues<dim>::vector_value_list(
     const std::vector<Point<dim>> &points,
-    std::vector<Vector<double>> &  value_list) const
+    std::vector<Vector<double>>   &value_list) const
   {
     const unsigned int n_points = points.size();
     Assert(value_list.size() == n_points,
index 1c32432cf1df557dcf1d2fa213e11896d38e8401..f88da9342cceb62610ebf8f5cef1c6a934704d2d 100644 (file)
@@ -219,7 +219,7 @@ namespace Step18
     vector_value(const Point<dim> &p, Vector<double> &values) const;
     virtual void
     vector_value_list(const std::vector<Point<dim>> &points,
-                      std::vector<Vector<double>> &  value_list) const;
+                      std::vector<Vector<double>>   &value_list) const;
   };
   template <int dim>
   BodyForce<dim>::BodyForce()
@@ -240,7 +240,7 @@ namespace Step18
   void
   BodyForce<dim>::vector_value_list(
     const std::vector<Point<dim>> &points,
-    std::vector<Vector<double>> &  value_list) const
+    std::vector<Vector<double>>   &value_list) const
   {
     const unsigned int n_points = points.size();
     Assert(value_list.size() == n_points,
@@ -258,7 +258,7 @@ namespace Step18
     vector_value(const Point<dim> &p, Vector<double> &values) const;
     virtual void
     vector_value_list(const std::vector<Point<dim>> &points,
-                      std::vector<Vector<double>> &  value_list) const;
+                      std::vector<Vector<double>>   &value_list) const;
 
   private:
     const double velocity;
@@ -287,7 +287,7 @@ namespace Step18
   void
   IncrementalBoundaryValues<dim>::vector_value_list(
     const std::vector<Point<dim>> &points,
-    std::vector<Vector<double>> &  value_list) const
+    std::vector<Vector<double>>   &value_list) const
   {
     const unsigned int n_points = points.size();
     Assert(value_list.size() == n_points,
index 73313d9a6abfef025d906dfe8d3ddfdad610a368..75eb820b49fe6373ae3e15c9b1f4faa84a7a01e6 100644 (file)
@@ -363,16 +363,16 @@ namespace Step44
     static const SymmetricTensor<4, dim> dev_P;
   };
   template <int dim>
-  const SymmetricTensor<2, dim>
-    StandardTensors<dim>::I = unit_symmetric_tensor<dim>();
+  const SymmetricTensor<2, dim> StandardTensors<dim>::I =
+    unit_symmetric_tensor<dim>();
   template <int dim>
   const SymmetricTensor<4, dim> StandardTensors<dim>::IxI = outer_product(I, I);
   template <int dim>
-  const SymmetricTensor<4, dim>
-    StandardTensors<dim>::II = identity_tensor<dim>();
+  const SymmetricTensor<4, dim> StandardTensors<dim>::II =
+    identity_tensor<dim>();
   template <int dim>
-  const SymmetricTensor<4, dim>
-    StandardTensors<dim>::dev_P = deviator_tensor<dim>();
+  const SymmetricTensor<4, dim> StandardTensors<dim>::dev_P =
+    deviator_tensor<dim>();
   class Time
   {
   public:
@@ -641,8 +641,8 @@ namespace Step44
     void
     assemble_system_tangent_one_cell(
       const typename DoFHandler<dim>::active_cell_iterator &cell,
-      ScratchData_K &                                       scratch,
-      PerTaskData_K &                                       data) const;
+      ScratchData_K                                        &scratch,
+      PerTaskData_K                                        &data) const;
     void
     copy_local_to_global_K(const PerTaskData_K &data);
     void
@@ -650,8 +650,8 @@ namespace Step44
     void
     assemble_system_rhs_one_cell(
       const typename DoFHandler<dim>::active_cell_iterator &cell,
-      ScratchData_RHS &                                     scratch,
-      PerTaskData_RHS &                                     data) const;
+      ScratchData_RHS                                      &scratch,
+      PerTaskData_RHS                                      &data) const;
     void
     copy_local_to_global_rhs(const PerTaskData_RHS &data);
     void
@@ -659,8 +659,8 @@ namespace Step44
     void
     assemble_sc_one_cell(
       const typename DoFHandler<dim>::active_cell_iterator &cell,
-      ScratchData_SC &                                      scratch,
-      PerTaskData_SC &                                      data);
+      ScratchData_SC                                       &scratch,
+      PerTaskData_SC                                       &data);
     void
     copy_local_to_global_sc(const PerTaskData_SC &data);
     void
@@ -672,8 +672,8 @@ namespace Step44
     void
     update_qph_incremental_one_cell(
       const typename DoFHandler<dim>::active_cell_iterator &cell,
-      ScratchData_UQPH &                                    scratch,
-      PerTaskData_UQPH &                                    data);
+      ScratchData_UQPH                                     &scratch,
+      PerTaskData_UQPH                                     &data);
     void
     copy_local_to_global_UQPH(const PerTaskData_UQPH & /*data*/)
     {}
@@ -761,7 +761,7 @@ namespace Step44
     get_error_residual(Errors &error_residual);
     void
     get_error_update(const BlockVector<double> &newton_update,
-                     Errors &                   error_update);
+                     Errors                    &error_update);
     std::pair<double, double>
     get_error_dilation() const;
     double
@@ -876,7 +876,7 @@ namespace Step44
     std::vector<std::vector<Tensor<2, dim>>>          grad_Nx;
     std::vector<std::vector<SymmetricTensor<2, dim>>> symm_grad_Nx;
     ScratchData_K(const FiniteElement<dim> &fe_cell,
-                  const QGauss<dim> &       qf_cell,
+                  const QGauss<dim>        &qf_cell,
                   const UpdateFlags         uf_cell)
       : fe_values_ref(fe_cell, qf_cell, uf_cell)
       , Nx(qf_cell.size(), std::vector<double>(fe_cell.dofs_per_cell))
@@ -938,9 +938,9 @@ namespace Step44
     std::vector<std::vector<double>>                  Nx;
     std::vector<std::vector<SymmetricTensor<2, dim>>> symm_grad_Nx;
     ScratchData_RHS(const FiniteElement<dim> &fe_cell,
-                    const QGauss<dim> &       qf_cell,
+                    const QGauss<dim>        &qf_cell,
                     const UpdateFlags         uf_cell,
-                    const QGauss<dim - 1> &   qf_face,
+                    const QGauss<dim - 1>    &qf_face,
                     const UpdateFlags         uf_face)
       : fe_values_ref(fe_cell, qf_cell, uf_cell)
       , fe_face_values_ref(fe_cell, qf_face, uf_face)
@@ -1028,13 +1028,13 @@ namespace Step44
   template <int dim>
   struct Solid<dim>::ScratchData_UQPH
   {
-    const BlockVector<double> solution_total;
+    const BlockVector<double>  &solution_total;
     std::vector<Tensor<2, dim>> solution_grads_u_total;
     std::vector<double>         solution_values_p_total;
     std::vector<double>         solution_values_J_total;
     FEValues<dim>               fe_values_ref;
-    ScratchData_UQPH(const FiniteElement<dim> fe_cell,
-                     const QGauss<dim> &        qf_cell,
+    ScratchData_UQPH(const FiniteElement<dim>  &fe_cell,
+                     const QGauss<dim>         &qf_cell,
                      const UpdateFlags          uf_cell,
                      const BlockVector<double> &solution_total)
       : solution_total(solution_total)
@@ -1222,7 +1222,7 @@ namespace Step44
   void
   Solid<dim>::update_qph_incremental_one_cell(
     const typename DoFHandler<dim>::active_cell_iterator &cell,
-    ScratchData_UQPH &                                    scratch,
+    ScratchData_UQPH                                     &scratch,
     PerTaskData_UQPH & /*data*/)
   {
     const std::vector<std::shared_ptr<PointHistory<dim>>> lqph =
@@ -1408,7 +1408,7 @@ namespace Step44
   template <int dim>
   void
   Solid<dim>::get_error_update(const BlockVector<double> &newton_update,
-                               Errors &                   error_update)
+                               Errors                    &error_update)
   {
     BlockVector<double> error_ud(dofs_per_block);
     for (unsigned int i = 0; i < dof_handler_ref.n_dofs(); ++i)
@@ -1467,8 +1467,8 @@ namespace Step44
   void
   Solid<dim>::assemble_system_tangent_one_cell(
     const typename DoFHandler<dim>::active_cell_iterator &cell,
-    ScratchData_K &                                       scratch,
-    PerTaskData_K &                                       data) const
+    ScratchData_K                                        &scratch,
+    PerTaskData_K                                        &data) const
   {
     data.reset();
     scratch.reset();
@@ -1508,7 +1508,7 @@ namespace Step44
         const SymmetricTensor<4, dim> Jc  = lqph[q_point]->get_Jc();
         const double d2Psi_vol_dJ2        = lqph[q_point]->get_d2Psi_vol_dJ2();
         const double det_F                = lqph[q_point]->get_det_F();
-        const std::vector<double> &                 N = scratch.Nx[q_point];
+        const std::vector<double>                  &N = scratch.Nx[q_point];
         const std::vector<SymmetricTensor<2, dim>> &symm_grad_Nx =
           scratch.symm_grad_Nx[q_point];
         const std::vector<Tensor<2, dim>> &grad_Nx = scratch.grad_Nx[q_point];
@@ -1594,8 +1594,8 @@ namespace Step44
   void
   Solid<dim>::assemble_system_rhs_one_cell(
     const typename DoFHandler<dim>::active_cell_iterator &cell,
-    ScratchData_RHS &                                     scratch,
-    PerTaskData_RHS &                                     data) const
+    ScratchData_RHS                                      &scratch,
+    PerTaskData_RHS                                      &data) const
   {
     data.reset();
     scratch.reset();
@@ -1632,7 +1632,7 @@ namespace Step44
         const double                  J_tilde = lqph[q_point]->get_J_tilde();
         const double                  p_tilde = lqph[q_point]->get_p_tilde();
         const double dPsi_vol_dJ = lqph[q_point]->get_dPsi_vol_dJ();
-        const std::vector<double> &                 N = scratch.Nx[q_point];
+        const std::vector<double>                  &N = scratch.Nx[q_point];
         const std::vector<SymmetricTensor<2, dim>> &symm_grad_Nx =
           scratch.symm_grad_Nx[q_point];
         const double JxW = scratch.fe_values_ref.JxW(q_point);
@@ -1859,8 +1859,8 @@ namespace Step44
   void
   Solid<dim>::assemble_sc_one_cell(
     const typename DoFHandler<dim>::active_cell_iterator &cell,
-    ScratchData_SC &                                      scratch,
-    PerTaskData_SC &                                      data)
+    ScratchData_SC                                       &scratch,
+    PerTaskData_SC                                       &data)
   {
     data.reset();
     scratch.reset();
@@ -1982,9 +1982,9 @@ namespace Step44
             const Vector<double> &f_u = system_rhs.block(u_dof);
             const Vector<double> &f_p = system_rhs.block(p_dof);
             const Vector<double> &f_J = system_rhs.block(J_dof);
-            Vector<double> &      d_u = newton_update.block(u_dof);
-            Vector<double> &      d_p = newton_update.block(p_dof);
-            Vector<double> &      d_J = newton_update.block(J_dof);
+            Vector<double>       &d_u = newton_update.block(u_dof);
+            Vector<double>       &d_p = newton_update.block(p_dof);
+            Vector<double>       &d_J = newton_update.block(J_dof);
             const auto            K_uu =
               linear_operator(tangent_matrix.block(u_dof, u_dof));
             const auto K_up =
index 9fe9a7875ae5635f1be66f4a22527e30c5c97189..35bd62674aa470d62e21841175d3c31af06da817 100644 (file)
@@ -825,8 +825,8 @@ namespace Step44
     void
     assemble_system_tangent_one_cell(
       const typename DoFHandler<dim>::active_cell_iterator &cell,
-      ScratchData_K &                                       scratch,
-      PerTaskData_K &                                       data) const;
+      ScratchData_K                                        &scratch,
+      PerTaskData_K                                        &data) const;
     void
     copy_local_to_global_K(const PerTaskData_K &data);
     void
@@ -834,8 +834,8 @@ namespace Step44
     void
     assemble_system_rhs_one_cell(
       const typename DoFHandler<dim>::active_cell_iterator &cell,
-      ScratchData_RHS &                                     scratch,
-      PerTaskData_RHS &                                     data) const;
+      ScratchData_RHS                                      &scratch,
+      PerTaskData_RHS                                      &data) const;
     void
     copy_local_to_global_rhs(const PerTaskData_RHS &data);
     void
@@ -843,8 +843,8 @@ namespace Step44
     void
     assemble_sc_one_cell(
       const typename DoFHandler<dim>::active_cell_iterator &cell,
-      ScratchData_SC &                                      scratch,
-      PerTaskData_SC &                                      data);
+      ScratchData_SC                                       &scratch,
+      PerTaskData_SC                                       &data);
     void
     copy_local_to_global_sc(const PerTaskData_SC &data);
     void
@@ -856,8 +856,8 @@ namespace Step44
     void
     update_qph_incremental_one_cell(
       const typename DoFHandler<dim>::active_cell_iterator &cell,
-      ScratchData_UQPH &                                    scratch,
-      PerTaskData_UQPH &                                    data);
+      ScratchData_UQPH                                     &scratch,
+      PerTaskData_UQPH                                     &data);
     void
     copy_local_to_global_UQPH(const PerTaskData_UQPH & /*data*/)
     {}
@@ -945,7 +945,7 @@ namespace Step44
     get_error_residual(Errors &error_residual);
     void
     get_error_update(const BlockVector<double> &newton_update,
-                     Errors &                   error_update);
+                     Errors                    &error_update);
     std::pair<double, double>
     get_error_dilation() const;
     double
@@ -1060,7 +1060,7 @@ namespace Step44
     std::vector<std::vector<Tensor<2, dim>>>          grad_Nx;
     std::vector<std::vector<SymmetricTensor<2, dim>>> symm_grad_Nx;
     ScratchData_K(const FiniteElement<dim> &fe_cell,
-                  const QGauss<dim> &       qf_cell,
+                  const QGauss<dim>        &qf_cell,
                   const UpdateFlags         uf_cell)
       : fe_values_ref(fe_cell, qf_cell, uf_cell)
       , Nx(qf_cell.size(), std::vector<double>(fe_cell.dofs_per_cell))
@@ -1122,9 +1122,9 @@ namespace Step44
     std::vector<std::vector<double>>                  Nx;
     std::vector<std::vector<SymmetricTensor<2, dim>>> symm_grad_Nx;
     ScratchData_RHS(const FiniteElement<dim> &fe_cell,
-                    const QGauss<dim> &       qf_cell,
+                    const QGauss<dim>        &qf_cell,
                     const UpdateFlags         uf_cell,
-                    const QGauss<dim - 1> &   qf_face,
+                    const QGauss<dim - 1>    &qf_face,
                     const UpdateFlags         uf_face)
       : fe_values_ref(fe_cell, qf_cell, uf_cell)
       , fe_face_values_ref(fe_cell, qf_face, uf_face)
@@ -1212,13 +1212,13 @@ namespace Step44
   template <int dim>
   struct Solid<dim>::ScratchData_UQPH
   {
-    const BlockVector<double> solution_total;
+    const BlockVector<double>  &solution_total;
     std::vector<Tensor<2, dim>> solution_grads_u_total;
     std::vector<double>         solution_values_p_total;
     std::vector<double>         solution_values_J_total;
     FEValues<dim>               fe_values_ref;
-    ScratchData_UQPH(const FiniteElement<dim> fe_cell,
-                     const QGauss<dim> &        qf_cell,
+    ScratchData_UQPH(const FiniteElement<dim>  &fe_cell,
+                     const QGauss<dim>         &qf_cell,
                      const UpdateFlags          uf_cell,
                      const BlockVector<double> &solution_total)
       : solution_total(solution_total)
@@ -1406,7 +1406,7 @@ namespace Step44
   void
   Solid<dim>::update_qph_incremental_one_cell(
     const typename DoFHandler<dim>::active_cell_iterator &cell,
-    ScratchData_UQPH &                                    scratch,
+    ScratchData_UQPH                                     &scratch,
     PerTaskData_UQPH & /*data*/)
   {
     const std::vector<std::shared_ptr<PointHistory<dim>>> lqph =
@@ -1592,7 +1592,7 @@ namespace Step44
   template <int dim>
   void
   Solid<dim>::get_error_update(const BlockVector<double> &newton_update,
-                               Errors &                   error_update)
+                               Errors                    &error_update)
   {
     BlockVector<double> error_ud(dofs_per_block);
     for (unsigned int i = 0; i < dof_handler_ref.n_dofs(); ++i)
@@ -1651,8 +1651,8 @@ namespace Step44
   void
   Solid<dim>::assemble_system_tangent_one_cell(
     const typename DoFHandler<dim>::active_cell_iterator &cell,
-    ScratchData_K &                                       scratch,
-    PerTaskData_K &                                       data) const
+    ScratchData_K                                        &scratch,
+    PerTaskData_K                                        &data) const
   {
     data.reset();
     scratch.reset();
@@ -1692,7 +1692,7 @@ namespace Step44
         const SymmetricTensor<4, dim> Jc  = lqph[q_point]->get_Jc();
         const double d2Psi_vol_dJ2        = lqph[q_point]->get_d2Psi_vol_dJ2();
         const double det_F                = lqph[q_point]->get_det_F();
-        const std::vector<double> &                 N = scratch.Nx[q_point];
+        const std::vector<double>                  &N = scratch.Nx[q_point];
         const std::vector<SymmetricTensor<2, dim>> &symm_grad_Nx =
           scratch.symm_grad_Nx[q_point];
         const std::vector<Tensor<2, dim>> &grad_Nx = scratch.grad_Nx[q_point];
@@ -1780,8 +1780,8 @@ namespace Step44
   void
   Solid<dim>::assemble_system_rhs_one_cell(
     const typename DoFHandler<dim>::active_cell_iterator &cell,
-    ScratchData_RHS &                                     scratch,
-    PerTaskData_RHS &                                     data) const
+    ScratchData_RHS                                      &scratch,
+    PerTaskData_RHS                                      &data) const
   {
     data.reset();
     scratch.reset();
@@ -1818,7 +1818,7 @@ namespace Step44
         const double                  J_tilde = lqph[q_point]->get_J_tilde();
         const double                  p_tilde = lqph[q_point]->get_p_tilde();
         const double dPsi_vol_dJ = lqph[q_point]->get_dPsi_vol_dJ();
-        const std::vector<double> &                 N = scratch.Nx[q_point];
+        const std::vector<double>                  &N = scratch.Nx[q_point];
         const std::vector<SymmetricTensor<2, dim>> &symm_grad_Nx =
           scratch.symm_grad_Nx[q_point];
         const double JxW = scratch.fe_values_ref.JxW(q_point);
@@ -2045,8 +2045,8 @@ namespace Step44
   void
   Solid<dim>::assemble_sc_one_cell(
     const typename DoFHandler<dim>::active_cell_iterator &cell,
-    ScratchData_SC &                                      scratch,
-    PerTaskData_SC &                                      data)
+    ScratchData_SC                                       &scratch,
+    PerTaskData_SC                                       &data)
   {
     data.reset();
     scratch.reset();
@@ -2168,9 +2168,9 @@ namespace Step44
             const Vector<double> &f_u = system_rhs.block(u_dof);
             const Vector<double> &f_p = system_rhs.block(p_dof);
             const Vector<double> &f_J = system_rhs.block(J_dof);
-            Vector<double> &      d_u = newton_update.block(u_dof);
-            Vector<double> &      d_p = newton_update.block(p_dof);
-            Vector<double> &      d_J = newton_update.block(J_dof);
+            Vector<double>       &d_u = newton_update.block(u_dof);
+            Vector<double>       &d_p = newton_update.block(p_dof);
+            Vector<double>       &d_J = newton_update.block(J_dof);
             const auto            K_uu =
               linear_operator(tangent_matrix.block(u_dof, u_dof));
             const auto K_up =
index 477ab91d99c5420951f652fa03ad008971792fe2..0a3838ca0290161e4293c753387300501b0c0e0e 100644 (file)
@@ -625,8 +625,8 @@ namespace Step44
     void
     assemble_system_tangent_one_cell(
       const typename DoFHandler<dim>::active_cell_iterator &cell,
-      ScratchData_K &                                       scratch,
-      PerTaskData_K &                                       data) const;
+      ScratchData_K                                        &scratch,
+      PerTaskData_K                                        &data) const;
     void
     copy_local_to_global_K(const PerTaskData_K &data);
     void
@@ -634,8 +634,8 @@ namespace Step44
     void
     assemble_system_rhs_one_cell(
       const typename DoFHandler<dim>::active_cell_iterator &cell,
-      ScratchData_RHS &                                     scratch,
-      PerTaskData_RHS &                                     data) const;
+      ScratchData_RHS                                      &scratch,
+      PerTaskData_RHS                                      &data) const;
     void
     copy_local_to_global_rhs(const PerTaskData_RHS &data);
     void
@@ -643,8 +643,8 @@ namespace Step44
     void
     assemble_sc_one_cell(
       const typename DoFHandler<dim>::active_cell_iterator &cell,
-      ScratchData_SC &                                      scratch,
-      PerTaskData_SC &                                      data);
+      ScratchData_SC                                       &scratch,
+      PerTaskData_SC                                       &data);
     void
     copy_local_to_global_sc(const PerTaskData_SC &data);
     void
@@ -656,8 +656,8 @@ namespace Step44
     void
     update_qph_incremental_one_cell(
       const typename DoFHandler<dim>::active_cell_iterator &cell,
-      ScratchData_UQPH &                                    scratch,
-      PerTaskData_UQPH &                                    data);
+      ScratchData_UQPH                                     &scratch,
+      PerTaskData_UQPH                                     &data);
     void
     copy_local_to_global_UQPH(const PerTaskData_UQPH & /*data*/)
     {}
@@ -745,7 +745,7 @@ namespace Step44
     get_error_residual(Errors &error_residual);
     void
     get_error_update(const BlockVector<double> &newton_update,
-                     Errors &                   error_update);
+                     Errors                    &error_update);
     std::pair<double, double>
     get_error_dilation() const;
     double
@@ -860,7 +860,7 @@ namespace Step44
     std::vector<std::vector<Tensor<2, dim>>>          grad_Nx;
     std::vector<std::vector<SymmetricTensor<2, dim>>> symm_grad_Nx;
     ScratchData_K(const FiniteElement<dim> &fe_cell,
-                  const QGauss<dim> &       qf_cell,
+                  const QGauss<dim>        &qf_cell,
                   const UpdateFlags         uf_cell)
       : fe_values_ref(fe_cell, qf_cell, uf_cell)
       , Nx(qf_cell.size(), std::vector<double>(fe_cell.dofs_per_cell))
@@ -922,9 +922,9 @@ namespace Step44
     std::vector<std::vector<double>>                  Nx;
     std::vector<std::vector<SymmetricTensor<2, dim>>> symm_grad_Nx;
     ScratchData_RHS(const FiniteElement<dim> &fe_cell,
-                    const QGauss<dim> &       qf_cell,
+                    const QGauss<dim>        &qf_cell,
                     const UpdateFlags         uf_cell,
-                    const QGauss<dim - 1> &   qf_face,
+                    const QGauss<dim - 1>    &qf_face,
                     const UpdateFlags         uf_face)
       : fe_values_ref(fe_cell, qf_cell, uf_cell)
       , fe_face_values_ref(fe_cell, qf_face, uf_face)
@@ -1012,13 +1012,13 @@ namespace Step44
   template <int dim>
   struct Solid<dim>::ScratchData_UQPH
   {
-    const BlockVector<double> solution_total;
+    const BlockVector<double>  &solution_total;
     std::vector<Tensor<2, dim>> solution_grads_u_total;
     std::vector<double>         solution_values_p_total;
     std::vector<double>         solution_values_J_total;
     FEValues<dim>               fe_values_ref;
-    ScratchData_UQPH(const FiniteElement<dim> fe_cell,
-                     const QGauss<dim> &        qf_cell,
+    ScratchData_UQPH(const FiniteElement<dim>  &fe_cell,
+                     const QGauss<dim>         &qf_cell,
                      const UpdateFlags          uf_cell,
                      const BlockVector<double> &solution_total)
       : solution_total(solution_total)
@@ -1206,7 +1206,7 @@ namespace Step44
   void
   Solid<dim>::update_qph_incremental_one_cell(
     const typename DoFHandler<dim>::active_cell_iterator &cell,
-    ScratchData_UQPH &                                    scratch,
+    ScratchData_UQPH                                     &scratch,
     PerTaskData_UQPH & /*data*/)
   {
     const std::vector<std::shared_ptr<PointHistory<dim>>> lqph =
@@ -1392,7 +1392,7 @@ namespace Step44
   template <int dim>
   void
   Solid<dim>::get_error_update(const BlockVector<double> &newton_update,
-                               Errors &                   error_update)
+                               Errors                    &error_update)
   {
     BlockVector<double> error_ud(dofs_per_block);
     for (unsigned int i = 0; i < dof_handler_ref.n_dofs(); ++i)
@@ -1451,8 +1451,8 @@ namespace Step44
   void
   Solid<dim>::assemble_system_tangent_one_cell(
     const typename DoFHandler<dim>::active_cell_iterator &cell,
-    ScratchData_K &                                       scratch,
-    PerTaskData_K &                                       data) const
+    ScratchData_K                                        &scratch,
+    PerTaskData_K                                        &data) const
   {
     data.reset();
     scratch.reset();
@@ -1492,7 +1492,7 @@ namespace Step44
         const SymmetricTensor<4, dim> Jc  = lqph[q_point]->get_Jc();
         const double d2Psi_vol_dJ2        = lqph[q_point]->get_d2Psi_vol_dJ2();
         const double det_F                = lqph[q_point]->get_det_F();
-        const std::vector<double> &                 N = scratch.Nx[q_point];
+        const std::vector<double>                  &N = scratch.Nx[q_point];
         const std::vector<SymmetricTensor<2, dim>> &symm_grad_Nx =
           scratch.symm_grad_Nx[q_point];
         const std::vector<Tensor<2, dim>> &grad_Nx = scratch.grad_Nx[q_point];
@@ -1580,8 +1580,8 @@ namespace Step44
   void
   Solid<dim>::assemble_system_rhs_one_cell(
     const typename DoFHandler<dim>::active_cell_iterator &cell,
-    ScratchData_RHS &                                     scratch,
-    PerTaskData_RHS &                                     data) const
+    ScratchData_RHS                                      &scratch,
+    PerTaskData_RHS                                      &data) const
   {
     data.reset();
     scratch.reset();
@@ -1618,7 +1618,7 @@ namespace Step44
         const double                  J_tilde = lqph[q_point]->get_J_tilde();
         const double                  p_tilde = lqph[q_point]->get_p_tilde();
         const double dPsi_vol_dJ = lqph[q_point]->get_dPsi_vol_dJ();
-        const std::vector<double> &                 N = scratch.Nx[q_point];
+        const std::vector<double>                  &N = scratch.Nx[q_point];
         const std::vector<SymmetricTensor<2, dim>> &symm_grad_Nx =
           scratch.symm_grad_Nx[q_point];
         const double JxW = scratch.fe_values_ref.JxW(q_point);
@@ -1845,8 +1845,8 @@ namespace Step44
   void
   Solid<dim>::assemble_sc_one_cell(
     const typename DoFHandler<dim>::active_cell_iterator &cell,
-    ScratchData_SC &                                      scratch,
-    PerTaskData_SC &                                      data)
+    ScratchData_SC                                       &scratch,
+    PerTaskData_SC                                       &data)
   {
     data.reset();
     scratch.reset();
@@ -1968,9 +1968,9 @@ namespace Step44
             const Vector<double> &f_u = system_rhs.block(u_dof);
             const Vector<double> &f_p = system_rhs.block(p_dof);
             const Vector<double> &f_J = system_rhs.block(J_dof);
-            Vector<double> &      d_u = newton_update.block(u_dof);
-            Vector<double> &      d_p = newton_update.block(p_dof);
-            Vector<double> &      d_J = newton_update.block(J_dof);
+            Vector<double>       &d_u = newton_update.block(u_dof);
+            Vector<double>       &d_p = newton_update.block(p_dof);
+            Vector<double>       &d_J = newton_update.block(J_dof);
             const auto            K_uu =
               linear_operator(tangent_matrix.block(u_dof, u_dof));
             const auto K_up =
index 6678628f7ab5de670044aa3609e9103a12383a01..cd71e9bcedaeaa22f2a5b8b4d201fa168521c9a2 100644 (file)
@@ -364,16 +364,16 @@ namespace Step44
     static const SymmetricTensor<4, dim> dev_P;
   };
   template <int dim>
-  const SymmetricTensor<2, dim>
-    StandardTensors<dim>::I = unit_symmetric_tensor<dim>();
+  const SymmetricTensor<2, dim> StandardTensors<dim>::I =
+    unit_symmetric_tensor<dim>();
   template <int dim>
   const SymmetricTensor<4, dim> StandardTensors<dim>::IxI = outer_product(I, I);
   template <int dim>
-  const SymmetricTensor<4, dim>
-    StandardTensors<dim>::II = identity_tensor<dim>();
+  const SymmetricTensor<4, dim> StandardTensors<dim>::II =
+    identity_tensor<dim>();
   template <int dim>
-  const SymmetricTensor<4, dim>
-    StandardTensors<dim>::dev_P = deviator_tensor<dim>();
+  const SymmetricTensor<4, dim> StandardTensors<dim>::dev_P =
+    deviator_tensor<dim>();
   class Time
   {
   public:
@@ -642,8 +642,8 @@ namespace Step44
     void
     assemble_system_tangent_one_cell(
       const typename DoFHandler<dim>::active_cell_iterator &cell,
-      ScratchData_K &                                       scratch,
-      PerTaskData_K &                                       data) const;
+      ScratchData_K                                        &scratch,
+      PerTaskData_K                                        &data) const;
     void
     copy_local_to_global_K(const PerTaskData_K &data);
     void
@@ -651,8 +651,8 @@ namespace Step44
     void
     assemble_system_rhs_one_cell(
       const typename DoFHandler<dim>::active_cell_iterator &cell,
-      ScratchData_RHS &                                     scratch,
-      PerTaskData_RHS &                                     data) const;
+      ScratchData_RHS                                      &scratch,
+      PerTaskData_RHS                                      &data) const;
     void
     copy_local_to_global_rhs(const PerTaskData_RHS &data);
     void
@@ -660,8 +660,8 @@ namespace Step44
     void
     assemble_sc_one_cell(
       const typename DoFHandler<dim>::active_cell_iterator &cell,
-      ScratchData_SC &                                      scratch,
-      PerTaskData_SC &                                      data);
+      ScratchData_SC                                       &scratch,
+      PerTaskData_SC                                       &data);
     void
     copy_local_to_global_sc(const PerTaskData_SC &data);
     void
@@ -673,8 +673,8 @@ namespace Step44
     void
     update_qph_incremental_one_cell(
       const typename DoFHandler<dim>::active_cell_iterator &cell,
-      ScratchData_UQPH &                                    scratch,
-      PerTaskData_UQPH &                                    data);
+      ScratchData_UQPH                                     &scratch,
+      PerTaskData_UQPH                                     &data);
     void
     copy_local_to_global_UQPH(const PerTaskData_UQPH & /*data*/)
     {}
@@ -762,7 +762,7 @@ namespace Step44
     get_error_residual(Errors &error_residual);
     void
     get_error_update(const BlockVector<double> &newton_update,
-                     Errors &                   error_update);
+                     Errors                    &error_update);
     std::pair<double, double>
     get_error_dilation() const;
     double
@@ -877,7 +877,7 @@ namespace Step44
     std::vector<std::vector<Tensor<2, dim>>>          grad_Nx;
     std::vector<std::vector<SymmetricTensor<2, dim>>> symm_grad_Nx;
     ScratchData_K(const FiniteElement<dim> &fe_cell,
-                  const QGauss<dim> &       qf_cell,
+                  const QGauss<dim>        &qf_cell,
                   const UpdateFlags         uf_cell)
       : fe_values_ref(fe_cell, qf_cell, uf_cell)
       , Nx(qf_cell.size(), std::vector<double>(fe_cell.dofs_per_cell))
@@ -939,9 +939,9 @@ namespace Step44
     std::vector<std::vector<double>>                  Nx;
     std::vector<std::vector<SymmetricTensor<2, dim>>> symm_grad_Nx;
     ScratchData_RHS(const FiniteElement<dim> &fe_cell,
-                    const QGauss<dim> &       qf_cell,
+                    const QGauss<dim>        &qf_cell,
                     const UpdateFlags         uf_cell,
-                    const QGauss<dim - 1> &   qf_face,
+                    const QGauss<dim - 1>    &qf_face,
                     const UpdateFlags         uf_face)
       : fe_values_ref(fe_cell, qf_cell, uf_cell)
       , fe_face_values_ref(fe_cell, qf_face, uf_face)
@@ -1029,13 +1029,13 @@ namespace Step44
   template <int dim>
   struct Solid<dim>::ScratchData_UQPH
   {
-    const BlockVector<double> solution_total;
+    const BlockVector<double>  &solution_total;
     std::vector<Tensor<2, dim>> solution_grads_u_total;
     std::vector<double>         solution_values_p_total;
     std::vector<double>         solution_values_J_total;
     FEValues<dim>               fe_values_ref;
-    ScratchData_UQPH(const FiniteElement<dim> fe_cell,
-                     const QGauss<dim> &        qf_cell,
+    ScratchData_UQPH(const FiniteElement<dim>  &fe_cell,
+                     const QGauss<dim>         &qf_cell,
                      const UpdateFlags          uf_cell,
                      const BlockVector<double> &solution_total)
       : solution_total(solution_total)
@@ -1223,7 +1223,7 @@ namespace Step44
   void
   Solid<dim>::update_qph_incremental_one_cell(
     const typename DoFHandler<dim>::active_cell_iterator &cell,
-    ScratchData_UQPH &                                    scratch,
+    ScratchData_UQPH                                     &scratch,
     PerTaskData_UQPH & /*data*/)
   {
     const std::vector<std::shared_ptr<PointHistory<dim>>> lqph =
@@ -1409,7 +1409,7 @@ namespace Step44
   template <int dim>
   void
   Solid<dim>::get_error_update(const BlockVector<double> &newton_update,
-                               Errors &                   error_update)
+                               Errors                    &error_update)
   {
     BlockVector<double> error_ud(dofs_per_block);
     for (unsigned int i = 0; i < dof_handler_ref.n_dofs(); ++i)
@@ -1468,8 +1468,8 @@ namespace Step44
   void
   Solid<dim>::assemble_system_tangent_one_cell(
     const typename DoFHandler<dim>::active_cell_iterator &cell,
-    ScratchData_K &                                       scratch,
-    PerTaskData_K &                                       data) const
+    ScratchData_K                                        &scratch,
+    PerTaskData_K                                        &data) const
   {
     data.reset();
     scratch.reset();
@@ -1509,7 +1509,7 @@ namespace Step44
         const SymmetricTensor<4, dim> Jc  = lqph[q_point]->get_Jc();
         const double d2Psi_vol_dJ2        = lqph[q_point]->get_d2Psi_vol_dJ2();
         const double det_F                = lqph[q_point]->get_det_F();
-        const std::vector<double> &                 N = scratch.Nx[q_point];
+        const std::vector<double>                  &N = scratch.Nx[q_point];
         const std::vector<SymmetricTensor<2, dim>> &symm_grad_Nx =
           scratch.symm_grad_Nx[q_point];
         const std::vector<Tensor<2, dim>> &grad_Nx = scratch.grad_Nx[q_point];
@@ -1595,8 +1595,8 @@ namespace Step44
   void
   Solid<dim>::assemble_system_rhs_one_cell(
     const typename DoFHandler<dim>::active_cell_iterator &cell,
-    ScratchData_RHS &                                     scratch,
-    PerTaskData_RHS &                                     data) const
+    ScratchData_RHS                                      &scratch,
+    PerTaskData_RHS                                      &data) const
   {
     data.reset();
     scratch.reset();
@@ -1633,7 +1633,7 @@ namespace Step44
         const double                  J_tilde = lqph[q_point]->get_J_tilde();
         const double                  p_tilde = lqph[q_point]->get_p_tilde();
         const double dPsi_vol_dJ = lqph[q_point]->get_dPsi_vol_dJ();
-        const std::vector<double> &                 N = scratch.Nx[q_point];
+        const std::vector<double>                  &N = scratch.Nx[q_point];
         const std::vector<SymmetricTensor<2, dim>> &symm_grad_Nx =
           scratch.symm_grad_Nx[q_point];
         const double JxW = scratch.fe_values_ref.JxW(q_point);
@@ -1860,8 +1860,8 @@ namespace Step44
   void
   Solid<dim>::assemble_sc_one_cell(
     const typename DoFHandler<dim>::active_cell_iterator &cell,
-    ScratchData_SC &                                      scratch,
-    PerTaskData_SC &                                      data)
+    ScratchData_SC                                       &scratch,
+    PerTaskData_SC                                       &data)
   {
     data.reset();
     scratch.reset();
@@ -1983,9 +1983,9 @@ namespace Step44
             const Vector<double> &f_u = system_rhs.block(u_dof);
             const Vector<double> &f_p = system_rhs.block(p_dof);
             const Vector<double> &f_J = system_rhs.block(J_dof);
-            Vector<double> &      d_u = newton_update.block(u_dof);
-            Vector<double> &      d_p = newton_update.block(p_dof);
-            Vector<double> &      d_J = newton_update.block(J_dof);
+            Vector<double>       &d_u = newton_update.block(u_dof);
+            Vector<double>       &d_p = newton_update.block(p_dof);
+            Vector<double>       &d_J = newton_update.block(J_dof);
             const auto            K_uu =
               linear_operator(tangent_matrix.block(u_dof, u_dof));
             const auto K_up =
index 02915d95cff660280056426dfda050cc30ca1223..17329b7ee9a8ae150e102e65785c638f6de50e77 100644 (file)
@@ -62,8 +62,8 @@ test_rotation_matrix_3d(const Tensor<1, 3> &axis, const double angle)
   const Tensor<1, 3> u        = axis / axis.norm(); // Ensure unit vector
   const Tensor<2, 3> u_dyad_u = outer_product(u, u);
   const double       u_skew_array[3][3] = {{0.0, -u[2], u[1]},
-                                     {u[2], 0.0, -u[0]},
-                                     {-u[1], u[0], 0.0}};
+                                           {u[2], 0.0, -u[0]},
+                                           {-u[1], u[0], 0.0}};
 
   const Tensor<2, 3> R_rodrigues =
     u_dyad_u +
index 738f384c414828d5164feadb7b1ad4930c39260c..dfe07a2cffda55c139cdfa59b0e1fcdcccfe250c 100644 (file)
@@ -36,7 +36,7 @@ main()
   const unsigned int n   = 10;
   std::size_t        tape_stats[STAT_SIZE];
 
-  double xp = new double[n];
+  double  *xp = new double[n];
   double   yp = 0.0;
   adouble *x  = new adouble[n];
   adouble  y  = 1.0;
index 68766abdf75b2bd355a10db2744f1ae10be6711d..313b9b2e212475f4e639d574c96b232a84a4c64b 100644 (file)
@@ -38,8 +38,8 @@ main()
   std::array<double, n> host_y{};
 
   // Copy input data to device.
-  double *    device_x;
-  double *    device_y;
+  double     *device_x;
+  double     *device_y;
   cudaError_t cuda_error = cudaMalloc(&device_x, n * sizeof(double));
   AssertCuda(cuda_error);
   cuda_error = cudaMalloc(&device_y, n * sizeof(double));
index 907c77d7363fb82f828592e2dc2f17103fca6b27..a97254bbe3a5064ff6bbae100eef9474930c407c 100644 (file)
@@ -76,7 +76,7 @@ public:
     time_stepper.residual = [&](const double /*t*/,
                                 const VectorType &y,
                                 const VectorType &y_dot,
-                                VectorType &      res) {
+                                VectorType       &res) {
       res = y_dot;
       A.vmult_add(res, y);
     };
index 8e3bf33563c5376332a47f14baa39f65ad5c665e..c1e31e45e635553037c9637836154af90969583e 100644 (file)
@@ -36,7 +36,7 @@ using namespace dealii;
 template <int dim>
 std::vector<std::vector<BoundingBox<dim>>>
 get_global_bboxes(const Triangulation<dim> &tria,
-                  const Mapping<dim> &      mapping,
+                  const Mapping<dim>       &mapping,
                   const unsigned int        rtree_level = 0)
 {
   std::vector<dealii::BoundingBox<dim>> local_boxes;
index 875564732dfac4e22dbcc78c9addbc5b7a890372..88993c09712d8a787b316771dc2ce67f77c3aefa 100644 (file)
@@ -36,7 +36,7 @@ using namespace dealii;
 template <int dim>
 std::vector<std::vector<BoundingBox<dim>>>
 get_global_bboxes(const Triangulation<dim> &tria,
-                  const Mapping<dim> &      mapping,
+                  const Mapping<dim>       &mapping,
                   const unsigned int        rtree_level = 0)
 {
   std::vector<dealii::BoundingBox<dim>> local_boxes;
index 7971efe9dc26bb18437b5a30fceaa91457906ed7..d55e666cd3d3fe3324346ab8d917d3af1e863676 100644 (file)
@@ -36,7 +36,7 @@ using namespace dealii;
 template <int dim>
 std::vector<std::vector<BoundingBox<dim>>>
 get_global_bboxes(const Triangulation<dim> &tria,
-                  const Mapping<dim> &      mapping,
+                  const Mapping<dim>       &mapping,
                   const unsigned int        rtree_level = 0)
 {
   std::vector<dealii::BoundingBox<dim>> local_boxes;
index 1e6d00edb420f8e64aa78171492ca44c034d31a2..6bd08f880d3da47306ed257892ca4cccb7b458d7 100644 (file)
@@ -36,7 +36,7 @@ using namespace dealii;
 template <int dim>
 std::vector<std::vector<BoundingBox<dim>>>
 get_global_bboxes(const Triangulation<dim> &tria,
-                  const Mapping<dim> &      mapping,
+                  const Mapping<dim>       &mapping,
                   const unsigned int        rtree_level = 0)
 {
   std::vector<dealii::BoundingBox<dim>> local_boxes;
index 1a510e138af05b38bf29e792330cd3da722b4545..c1a695cdbecf07baf7893947c241270c67c3b856 100644 (file)
@@ -34,7 +34,7 @@ using namespace dealii;
 template <int dim>
 std::vector<std::vector<BoundingBox<dim>>>
 get_global_bboxes(const Triangulation<dim> &tria,
-                  const Mapping<dim> &      mapping,
+                  const Mapping<dim>       &mapping,
                   const unsigned int        rtree_level = 0)
 {
   std::vector<dealii::BoundingBox<dim>> local_boxes;
index 76749a8267fe08a0e5666240ff15a5d8b9982df1..81769de2efcd37e47c7dd3d7ca980e7e7c68bcdf 100644 (file)
@@ -34,7 +34,7 @@ using namespace dealii;
 template <int dim>
 std::vector<std::vector<BoundingBox<dim>>>
 get_global_bboxes(const Triangulation<dim> &tria,
-                  const Mapping<dim> &      mapping,
+                  const Mapping<dim>       &mapping,
                   const unsigned int        rtree_level = 0)
 {
   std::vector<dealii::BoundingBox<dim>> local_boxes;
index 12c9559c8359f80253c7519fd061cf76be33ddd3..fa4ae4198463d3a3dfd3b3b39f44ea7db618c905 100644 (file)
@@ -35,7 +35,7 @@ using namespace dealii;
 template <int dim>
 std::vector<std::vector<BoundingBox<dim>>>
 get_global_bboxes(const Triangulation<dim> &tria,
-                  const Mapping<dim> &      mapping,
+                  const Mapping<dim>       &mapping,
                   const unsigned int        rtree_level = 0)
 {
   std::vector<dealii::BoundingBox<dim>> local_boxes;
index d16972e33c6e9278d5c68473102778eccf2a2c11..08ae80e50bdfdfa0599d21a053de906bdd3cff98 100644 (file)
@@ -35,7 +35,7 @@ using namespace dealii;
 template <int dim>
 std::vector<std::vector<BoundingBox<dim>>>
 get_global_bboxes(const Triangulation<dim> &tria,
-                  const Mapping<dim> &      mapping,
+                  const Mapping<dim>       &mapping,
                   const unsigned int        rtree_level = 0)
 {
   std::vector<dealii::BoundingBox<dim>> local_boxes;
index f59431a2e538833787934ab24177bf65ddcd47ac..c791aa78dcb1febc59d76fe79d5f23edee8f559b 100644 (file)
@@ -35,7 +35,7 @@ template <int dim>
 void
 do_test(const bool                     enforce_unique_map,
         const std::vector<Point<dim>> &evaluation_points,
-        const std::pair<bool, bool> &  expected_result)
+        const std::pair<bool, bool>   &expected_result)
 {
   parallel::distributed::Triangulation<dim> tria(MPI_COMM_WORLD);
   GridGenerator::subdivided_hyper_rectangle(tria, {2, 1}, {0, 0}, {2, 1});
index 887b90f59fe5f1838a72587068db298c326cddfd..eb21c217d94412f29e1b8ae5b18f2c4da04c4a0e 100644 (file)
@@ -85,7 +85,7 @@ namespace dealii
     template <int dim, int spacedim, typename VectorType>
     void
     get_position_vector(const DoFHandler<dim, spacedim> &dof_handler_dim,
-                        VectorType &                  euler_coordinates_vector,
+                        VectorType                   &euler_coordinates_vector,
                         const Mapping<dim, spacedim> &mapping)
     {
       FEValues<dim, spacedim> fe_eval(
@@ -125,9 +125,9 @@ namespace dealii
 
 template <int dim, int spacedim, typename VectorType>
 void
-compute_normal(const Mapping<dim, spacedim> &   mapping,
+compute_normal(const Mapping<dim, spacedim>    &mapping,
                const DoFHandler<dim, spacedim> &dof_handler_dim,
-               VectorType &                     normal_vector)
+               VectorType                      &normal_vector)
 {
   FEValues<dim, spacedim> fe_eval_dim(
     mapping,
@@ -167,12 +167,12 @@ compute_normal(const Mapping<dim, spacedim> &   mapping,
 
 template <int dim, int spacedim, typename VectorType>
 void
-compute_curvature(const Mapping<dim, spacedim> &   mapping,
+compute_curvature(const Mapping<dim, spacedim>    &mapping,
                   const DoFHandler<dim, spacedim> &dof_handler_dim,
                   const DoFHandler<dim, spacedim> &dof_handler,
                   const Quadrature<dim>            quadrature,
-                  const VectorType &               normal_vector,
-                  VectorType &                     curvature_vector)
+                  const VectorType                &normal_vector,
+                  VectorType                      &curvature_vector)
 {
   FEValues<dim, spacedim> fe_eval(mapping,
                                   dof_handler.get_fe(),
@@ -256,16 +256,16 @@ print(std::tuple<
 template <int dim, int spacedim, typename VectorType>
 void
 compute_force_vector_sharp_interface(
-  const Mapping<dim, spacedim> &   surface_mapping,
+  const Mapping<dim, spacedim>    &surface_mapping,
   const DoFHandler<dim, spacedim> &surface_dofhandler,
   const DoFHandler<dim, spacedim> &surface_dofhandler_dim,
-  const Quadrature<dim> &          surface_quadrature,
-  const Mapping<spacedim> &        mapping,
-  const DoFHandler<spacedim> &     dof_handler,
+  const Quadrature<dim>           &surface_quadrature,
+  const Mapping<spacedim>         &mapping,
+  const DoFHandler<spacedim>      &dof_handler,
   const double                     surface_tension,
-  const VectorType &               normal_vector,
-  const VectorType &               curvature_vector,
-  VectorType &                     force_vector)
+  const VectorType                &normal_vector,
+  const VectorType                &curvature_vector,
+  VectorType                      &force_vector)
 {
   using T = Tensor<1, spacedim, double>;
 
index 2ba3369d4c0327a3ff434fdcedd398736fa5a2ca..b235b8a3af532e9c5c7d4294dade911f46f3dcf5 100644 (file)
@@ -120,7 +120,7 @@ namespace dealii
     template <int dim, int spacedim, typename VectorType>
     void
     get_position_vector(const DoFHandler<dim, spacedim> &dof_handler_dim,
-                        VectorType &                  euler_coordinates_vector,
+                        VectorType                   &euler_coordinates_vector,
                         const Mapping<dim, spacedim> &mapping)
     {
       FEValues<dim, spacedim> fe_eval(
@@ -164,15 +164,15 @@ template <int dim, int spacedim, typename VectorType>
 void
 compute_force_vector_sharp_interface(
   const Triangulation<dim, spacedim> &surface_mesh,
-  const Mapping<dim, spacedim> &      surface_mapping,
-  const Quadrature<dim> &             surface_quadrature,
-  const Mapping<spacedim> &           mapping,
-  const DoFHandler<spacedim> &        dof_handler,
-  const DoFHandler<spacedim> &        dof_handler_dim,
+  const Mapping<dim, spacedim>       &surface_mapping,
+  const Quadrature<dim>              &surface_quadrature,
+  const Mapping<spacedim>            &mapping,
+  const DoFHandler<spacedim>         &dof_handler,
+  const DoFHandler<spacedim>         &dof_handler_dim,
   const double                        surface_tension,
-  const VectorType &                  normal_solution,
-  const VectorType &                  curvature_solution,
-  VectorType &                        force_vector)
+  const VectorType                   &normal_solution,
+  const VectorType                   &curvature_solution,
+  VectorType                         &force_vector)
 {
   using T = double;
 
index 01f755c38ab0060622570abff36ca845e46f6dea..de5894d8ce6912191156e1735a1e9533998782f3 100644 (file)
@@ -103,7 +103,7 @@ namespace dealii
     template <int dim, int spacedim, typename VectorType>
     void
     get_position_vector(const DoFHandler<dim, spacedim> &dof_handler_dim,
-                        VectorType &                  euler_coordinates_vector,
+                        VectorType                   &euler_coordinates_vector,
                         const Mapping<dim, spacedim> &mapping)
     {
       FEValues<dim, spacedim> fe_eval(
@@ -146,11 +146,11 @@ namespace dealii
 template <int dim, int spacedim, typename VectorType>
 void
 test_1(const Triangulation<dim, spacedim> &surface_mesh,
-       const Mapping<dim, spacedim> &      surface_mapping,
-       const Quadrature<dim> &             surface_quadrature,
-       const Mapping<spacedim> &           mapping,
-       const DoFHandler<spacedim> &        dof_handler_dim,
-       const VectorType &                  normal_solution)
+       const Mapping<dim, spacedim>       &surface_mapping,
+       const Quadrature<dim>              &surface_quadrature,
+       const Mapping<spacedim>            &mapping,
+       const DoFHandler<spacedim>         &dof_handler_dim,
+       const VectorType                   &normal_solution)
 {
   using T = Point<spacedim>;
 
@@ -277,11 +277,11 @@ test_1(const Triangulation<dim, spacedim> &surface_mesh,
 template <int dim, int spacedim, typename VectorType>
 void
 test_2(const Triangulation<dim, spacedim> &surface_mesh,
-       const Mapping<dim, spacedim> &      surface_mapping,
-       const Quadrature<dim> &             surface_quadrature,
-       const Mapping<spacedim> &           mapping,
-       const DoFHandler<spacedim> &        dof_handler_dim,
-       const VectorType &                  normal_solution)
+       const Mapping<dim, spacedim>       &surface_mapping,
+       const Quadrature<dim>              &surface_quadrature,
+       const Mapping<spacedim>            &mapping,
+       const DoFHandler<spacedim>         &dof_handler_dim,
+       const VectorType                   &normal_solution)
 {
   using T = Point<spacedim>;
 
index 14f760ff41ae74477c3abe032ddaff77d3ef90d1..8e95d38684a31184e7c16098fc75809b205c3338 100644 (file)
@@ -39,7 +39,7 @@
 
 template <int dim>
 double
-displacement(const Point<dim> point,
+displacement(const Point<dim>  &point,
              const unsigned int component,
              const double       factor)
 {
index 9b906b93b2a9662138d542de6bccf7ca7063a69a..43695a6f48d3579c1bd2955baa0927e803a3333c 100644 (file)
@@ -36,7 +36,7 @@ using namespace dealii;
 template <int dim>
 std::vector<std::vector<BoundingBox<dim>>>
 get_global_bboxes(const Triangulation<dim> &tria,
-                  const Mapping<dim> &      mapping,
+                  const Mapping<dim>       &mapping,
                   const unsigned int        rtree_level = 0)
 {
   std::vector<dealii::BoundingBox<dim>> local_boxes;
index dc3ffc8d4999f6d0fc6af9713d2bc26c859c416f..2abfb15fb84e9d8e65073fe88eb19704b870f78c 100644 (file)
@@ -36,7 +36,7 @@ using namespace dealii;
 template <int dim>
 std::vector<std::vector<BoundingBox<dim>>>
 get_global_bboxes(const Triangulation<dim> &tria,
-                  const Mapping<dim> &      mapping,
+                  const Mapping<dim>       &mapping,
                   const unsigned int        rtree_level = 0)
 {
   std::vector<dealii::BoundingBox<dim>> local_boxes;
index a4fc15f856867728eb3bdd2eac14c2b7e55126d5..a844fc8c6b4b3f52303fe7e26ac13ccbefdfad8a 100644 (file)
@@ -36,7 +36,7 @@ using namespace dealii;
 template <int dim>
 std::vector<std::vector<BoundingBox<dim>>>
 get_global_bboxes(const Triangulation<dim> &tria,
-                  const Mapping<dim> &      mapping,
+                  const Mapping<dim>       &mapping,
                   const unsigned int        rtree_level = 0)
 {
   std::vector<dealii::BoundingBox<dim>> local_boxes;
index d315d092429091987ae981ee1e5187a65b695ceb..c5d3cb92ff9dffd4a7c6a55dd956954ec7eb1476 100644 (file)
@@ -36,7 +36,7 @@ using namespace dealii;
 template <int dim>
 std::vector<std::vector<BoundingBox<dim>>>
 get_global_bboxes(const Triangulation<dim> &tria,
-                  const Mapping<dim> &      mapping,
+                  const Mapping<dim>       &mapping,
                   const unsigned int        rtree_level = 0)
 {
   std::vector<dealii::BoundingBox<dim>> local_boxes;
index 2c5f9aaf051009f4d0654dbea3921e02ac9dbbe0..4916403000ea2ea5991003b3b4bd4dc4f7336b23 100644 (file)
@@ -105,8 +105,8 @@ create_partitioner(const DoFHandler<dim, spacedim> &dof_handler)
 
 template <int dim>
 void
-print(const Mapping<dim> &                              mapping,
-      const DoFHandler<dim> &                           dof_handler,
+print(const Mapping<dim>                               &mapping,
+      const DoFHandler<dim>                            &dof_handler,
       const LinearAlgebra::distributed::Vector<double> &result,
       const unsigned int                                counter)
 {
index 5f5685c6f9943f825979c916d95a709653dd7e5e..fb4551e9cb5ddca67c3d2283f21c9f7a5009c327 100644 (file)
@@ -79,8 +79,8 @@ create_partitioner(const DoFHandler<dim, spacedim> &dof_handler)
 
 template <int dim>
 void
-print(const Mapping<dim> &                              mapping,
-      const DoFHandler<dim> &                           dof_handler,
+print(const Mapping<dim>                               &mapping,
+      const DoFHandler<dim>                            &dof_handler,
       const LinearAlgebra::distributed::Vector<double> &result,
       const unsigned int                                counter)
 {
@@ -117,9 +117,9 @@ class PoissonProblem
 public:
   PoissonProblem(const Triangulation<dim> &tria,
                  const unsigned int        id,
-                 const Mapping<dim> &      mapping,
+                 const Mapping<dim>       &mapping,
                  const FiniteElement<dim> &fe,
-                 const Quadrature<dim> &   quad)
+                 const Quadrature<dim>    &quad)
     : id(id)
     , mapping(mapping)
     , fe(fe)
@@ -134,9 +134,9 @@ public:
   }
 
   void
-  solve(const DoFHandler<dim> &                           dof_handler_other,
+  solve(const DoFHandler<dim>                            &dof_handler_other,
         const LinearAlgebra::distributed::Vector<double> &solution_other,
-        const Mapping<dim> &                              mapping_other)
+        const Mapping<dim>                               &mapping_other)
   {
     AffineConstraints<double> constraints;
     {
@@ -280,9 +280,9 @@ public:
 
 public:
   const unsigned int                                 id;
-  const Mapping<dim> &                               mapping;
-  const FiniteElement<dim> &                         fe;
-  const Quadrature<dim> &                            quad;
+  const Mapping<dim>                                &mapping;
+  const FiniteElement<dim>                          &fe;
+  const Quadrature<dim>                             &quad;
   DoFHandler<dim>                                    dof_handler;
   std::shared_ptr<const Utilities::MPI::Partitioner> partitioner;
   LinearAlgebra::distributed::Vector<double>         solution;
index 8c45c3ba19f5a925889ba2a60b5acca81add6120..ff5978a14fb88af54ab2e1b4071a8c5f6bf97233 100644 (file)
@@ -74,8 +74,8 @@ create_partitioner(const DoFHandler<dim, spacedim> &dof_handler)
 
 template <int dim>
 void
-print(const Mapping<dim> &                              mapping,
-      const DoFHandler<dim> &                           dof_handler,
+print(const Mapping<dim>                               &mapping,
+      const DoFHandler<dim>                            &dof_handler,
       const LinearAlgebra::distributed::Vector<double> &result,
       const unsigned int                                counter)
 {
index 76315dd3b52b3aa159cf914af4b31ce80eab7edd..65790bcf7f79d8a886fb678e8e0d37dc1b274bf3 100644 (file)
@@ -73,8 +73,8 @@ create_partitioner(const DoFHandler<dim, spacedim> &dof_handler)
 
 template <int dim>
 void
-print(const Mapping<dim> &                              mapping,
-      const DoFHandler<dim> &                           dof_handler,
+print(const Mapping<dim>                               &mapping,
+      const DoFHandler<dim>                            &dof_handler,
       const LinearAlgebra::distributed::Vector<double> &result,
       const unsigned int                                counter)
 {
index f80ba24aff4a409bcb8532d72b814751d688aaab..7ad8295b725a896bde7be2e21e6aacc5ed9f54ec 100644 (file)
@@ -73,8 +73,8 @@ create_partitioner(const DoFHandler<dim, spacedim> &dof_handler)
 
 template <int dim, int spacedim>
 void
-print(const Mapping<dim, spacedim> &                    mapping,
-      const DoFHandler<dim, spacedim> &                 dof_handler,
+print(const Mapping<dim, spacedim>                     &mapping,
+      const DoFHandler<dim, spacedim>                  &dof_handler,
       const LinearAlgebra::distributed::Vector<double> &result,
       const unsigned int                                counter)
 {
index 8ce9a2af67bf2cbf082333db576ad48a752e2baa..dfea4e12bde2f5ca4f808e8cf3f5836d101c31d0 100644 (file)
@@ -74,8 +74,8 @@ create_partitioner(const DoFHandler<dim, spacedim> &dof_handler)
 
 template <int dim>
 void
-print(const Mapping<dim> &                              mapping,
-      const DoFHandler<dim> &                           dof_handler,
+print(const Mapping<dim>                               &mapping,
+      const DoFHandler<dim>                            &dof_handler,
       const LinearAlgebra::distributed::Vector<double> &result,
       const unsigned int                                counter)
 {
index e06257830a4bfd3a26c0f452662890917fb6819d..091f413b9690eb1f64bace6a9a647afebceebe25 100644 (file)
@@ -21,7 +21,7 @@
 
 #include "../tests.h"
 
-//#  include <Sacado.hpp>
+// #  include <Sacado.hpp>
 
 #include <complex>
 #include <fstream>
index fb72e813df320cabba7c1d9859bc4ba5d5d01f54..8dc6574083bd5b2e9dbf4e71d0098f449a4f0424 100644 (file)
@@ -39,8 +39,8 @@ void
 df(const double &x,
    const double &y,
    const double &z,
-   double &      df_dx,
-   double &      df_dy)
+   double       &df_dx,
+   double       &df_dy)
 {
   df_dx = z * (1.0 + y);
   df_dy = z * (z + x);
index 7016f2c2335f873a696e1a5bc8013e51dbb0690f..1868720ca0cbedaa794bb41b41671c62db923626 100644 (file)
@@ -38,8 +38,8 @@ void
 df(const double &x,
    const double &y,
    const double &z,
-   double &      df_dx,
-   double &      df_dy)
+   double       &df_dx,
+   double       &df_dy)
 {
   df_dx = z * (1.0 + y);
   df_dy = z * (z + x);
index 24900b4cdcf3c8f63dece13b33b81e5120460854..2fc0757f38a53bf1e2ec5bdf24f63cb786c35f52 100644 (file)
@@ -52,8 +52,8 @@ void
 df(const double &x,
    const double &y,
    const double &z,
-   double &      df_dx,
-   double &      df_dy)
+   double       &df_dx,
+   double       &df_dy)
 {
   df_dx = z * (1.0 + y);
   df_dy = z * (z + x);
@@ -62,8 +62,8 @@ void
 dg(const double &x,
    const double &y,
    const double &z,
-   double &      dg_dx,
-   double &      dg_dy)
+   double       &dg_dx,
+   double       &dg_dy)
 {
   dg_dx = z * std::cos(x * z) * std::cos(y / z);
   dg_dy = -(1.0 / z) * std::sin(x * z) * std::sin(y / z);
@@ -72,8 +72,8 @@ void
 dh(const double &x,
    const double &y,
    const double &z,
-   double &      dh_dx,
-   double &      dh_dy)
+   double       &dh_dx,
+   double       &dh_dy)
 {
   dh_dx = y * z;
   dh_dy = x * z;
index 10773a70b3e8392124715288ecd3501910fb3514..034e539032dcf63993abd2dbde7c4298103e1209 100644 (file)
@@ -39,8 +39,8 @@ void
 df(const double &x,
    const double &y,
    const double &z,
-   double &      df_dx,
-   double &      df_dy)
+   double       &df_dx,
+   double       &df_dy)
 {
   df_dx = z * (3.0 * x * x + 0.5 * y * y);
   df_dy = z * (2.0 * z * y + x * y);
@@ -51,9 +51,9 @@ void
 d2f(const double &x,
     const double &y,
     const double &z,
-    double &      d2f_dx_dx,
-    double &      d2f_dy_dy,
-    double &      d2f_dy_dx)
+    double       &d2f_dx_dx,
+    double       &d2f_dy_dy,
+    double       &d2f_dy_dx)
 {
   d2f_dx_dx = z * (6.0 * x);
   d2f_dy_dx = z * y;
index 9119c473271af89b47577b04106e4d9b028e5af9..c6f7453643d4be475a2c69597ee383512b5980e6 100644 (file)
@@ -41,8 +41,8 @@ void
 df(const double &x,
    const double &y,
    const double &z,
-   double &      df_dx,
-   double &      df_dy)
+   double       &df_dx,
+   double       &df_dy)
 {
   df_dx = z * (3.0 * x * x + 0.5 * y * y);
   df_dy = z * (2.0 * z * y + x * y);
@@ -53,9 +53,9 @@ void
 d2f(const double &x,
     const double &y,
     const double &z,
-    double &      d2f_dx_dx,
-    double &      d2f_dy_dy,
-    double &      d2f_dy_dx)
+    double       &d2f_dx_dx,
+    double       &d2f_dy_dy,
+    double       &d2f_dy_dx)
 {
   d2f_dx_dx = z * (6.0 * x);
   d2f_dy_dx = z * y;
index 4875a2b654e31b228d1f7661ea88982c038c4451..145290ad8181fa74cba9a809dba23eb908dbd041 100644 (file)
@@ -56,8 +56,8 @@ void
 df(const double &x,
    const double &y,
    const double &z,
-   double &      df_dx,
-   double &      df_dy)
+   double       &df_dx,
+   double       &df_dy)
 {
   df_dx = z * (3.0 * x * x + 0.5 * y * y);
   df_dy = z * (2.0 * z * y + x * y);
@@ -66,8 +66,8 @@ void
 dg(const double &x,
    const double &y,
    const double &z,
-   double &      dg_dx,
-   double &      dg_dy)
+   double       &dg_dx,
+   double       &dg_dy)
 {
   dg_dx = z * std::cos(x * z) * std::cos(y / z);
   dg_dy = -(1.0 / z) * std::sin(x * z) * std::sin(y / z);
@@ -76,8 +76,8 @@ void
 dh(const double &x,
    const double &y,
    const double &z,
-   double &      dh_dx,
-   double &      dh_dy)
+   double       &dh_dx,
+   double       &dh_dy)
 {
   dh_dx = 2 * x * y * y * z;
   dh_dy = 2 * x * x * y * z;
@@ -88,9 +88,9 @@ void
 d2f(const double &x,
     const double &y,
     const double &z,
-    double &      d2f_dx_dx,
-    double &      d2f_dy_dy,
-    double &      d2f_dy_dx)
+    double       &d2f_dx_dx,
+    double       &d2f_dy_dy,
+    double       &d2f_dy_dx)
 {
   d2f_dx_dx = z * (6.0 * x);
   d2f_dy_dx = z * y;
@@ -100,9 +100,9 @@ void
 d2g(const double &x,
     const double &y,
     const double &z,
-    double &      d2g_dx_dx,
-    double &      d2g_dy_dy,
-    double &      d2g_dy_dx)
+    double       &d2g_dx_dx,
+    double       &d2g_dy_dy,
+    double       &d2g_dy_dx)
 {
   d2g_dx_dx = -z * z * std::sin(x * z) * std::cos(y / z);
   d2g_dy_dx = -std::cos(x * z) * std::sin(y / z);
@@ -112,9 +112,9 @@ void
 d2h(const double &x,
     const double &y,
     const double &z,
-    double &      d2h_dx_dx,
-    double &      d2h_dy_dy,
-    double &      d2h_dy_dx)
+    double       &d2h_dx_dx,
+    double       &d2h_dy_dy,
+    double       &d2h_dy_dx)
 {
   d2h_dx_dx = 2 * y * y * z;
   d2h_dy_dx = 4 * x * y * z;
index 4a4636699a339ff4d1c9ae38b53d5b011364bb0b..f74800eb316f9873ddae2e55bd66d902f10d1fbd 100644 (file)
@@ -59,7 +59,7 @@ main()
       t2[i] = 3. * b - i;
     }
   const Tensor<1, 2, SSdouble> t3 = t2;
-  t1 *                         t2;
+  t1                          *t2;
 
   t2 += a * t1;
 
index ba61444f9a7d5b9bb7b5adf9ba7381da23bd7071..35e7ee551d7e78f0c2103efa6f290dd15b40066d 100644 (file)
@@ -30,7 +30,7 @@
 template <int dim, int spacedim>
 void
 create_regular_particle_distribution(
-  Particles::ParticleHandler<dim, spacedim> &                particle_handler,
+  Particles::ParticleHandler<dim, spacedim>                 &particle_handler,
   const parallel::distributed::Triangulation<dim, spacedim> &tr,
   const unsigned int particles_per_direction = 3)
 {
index 2260cb1fca0bcab93f89cc2ec65fa5ce9fc84572..90da16cc77dc9c2d6aa271d5107799913d44c5cb 100644 (file)
@@ -34,7 +34,7 @@
 template <int dim, int spacedim>
 void
 create_regular_particle_distribution(
-  Particles::ParticleHandler<dim, spacedim> &                particle_handler,
+  Particles::ParticleHandler<dim, spacedim>                 &particle_handler,
   const parallel::distributed::Triangulation<dim, spacedim> &tr,
   const unsigned int particles_per_direction = 3)
 {
index 3380e528944a5beba67038f6f7fbec1b3a1ca1c5..ceea19e1d4bf856b940fbd64e5afc2ed49f617a7 100644 (file)
@@ -32,7 +32,7 @@ template <int dim, int spacedim>
 void
 create_regular_particle_distribution(
   Particles::ParticleHandler<dim, spacedim> &particle_handler,
-  const Triangulation<dim, spacedim> &       tr,
+  const Triangulation<dim, spacedim>        &tr,
   const unsigned int                         particles_per_direction = 3)
 {
   for (unsigned int i = 0; i < particles_per_direction; ++i)
index b96d22789828d9d3a6276aef463554c2af258721..4c7bbed04a13ddc718aa247844dae13ae3f071af 100644 (file)
@@ -77,7 +77,7 @@ void
 test()
 {
   {
-    C *                 p = new C();
+    C                  *p = new C();
     std::pair<C *, C *> pair_1(p, p);
     std::pair<C *, C *> pair_2;
 
index 248b408ea8e377b3e2bd523107357230804650d7..e657f68625ccf3b1f6a3b9429c1c0b709dbfaa0f 100644 (file)
@@ -94,7 +94,7 @@ void
 test()
 {
   {
-    C *             c = new C();
+    C              *c = new C();
     std::pair<P, P> pair_1, pair_2;
     pair_1.first.c  = c;
     pair_1.second.c = c;
index a5b36dcdd8b0e875130ed1864ee25cac65b595b0..dedcd49fe113e1bf1d82b062b20377012e1618ab 100644 (file)
@@ -35,7 +35,7 @@
 template <int dim, int spacedim>
 void
 write_mesh(const parallel::shared::Triangulation<dim, spacedim> &tria,
-           const char *                                          filename_)
+           const char                                           *filename_)
 {
   DataOut<dim> data_out;
   data_out.attach_triangulation(tria);
index 878a067d1b2920d95914df63fcd063cb7f4897a8..6ab5561810d8ab994255923ea317605f8d580fb5 100644 (file)
@@ -35,7 +35,7 @@
 template <int dim, int spacedim>
 void
 write_mesh(const parallel::shared::Triangulation<dim, spacedim> &tria,
-           const char *                                          filename_)
+           const char                                           *filename_)
 {
   DataOut<dim> data_out;
   data_out.attach_triangulation(tria);
index f170519e9d07f0808e0474bb229d98f059470d74..0536d0dec660663259ed0232e29ce47ddae9dbe1 100644 (file)
@@ -33,7 +33,7 @@
 
 template <int dim>
 void
-compare_meshes(parallel::shared::Triangulation<dim> &     shared_tria,
+compare_meshes(parallel::shared::Triangulation<dim>      &shared_tria,
                parallel::distributed::Triangulation<dim> &p4est_tria)
 {
   std::map<CellId, unsigned int> shared_map;
index 883f290c246e7dc507dd21f207631d0309dc9074..50cc2130c713ce5aa61ddad25bc132ef866b2cf0 100644 (file)
@@ -32,7 +32,7 @@
 
 template <int dim>
 void
-compare_meshes(parallel::shared::Triangulation<dim> &     shared_tria,
+compare_meshes(parallel::shared::Triangulation<dim>      &shared_tria,
                parallel::distributed::Triangulation<dim> &p4est_tria)
 {
   AssertThrow(shared_tria.n_locally_owned_active_cells() ==
index fc9225ebb1c7e4f8a731cce9c83e3d7668495fe9..2d9e199117e6a4ede259d39316ff2062cb7592b4 100644 (file)
@@ -114,7 +114,7 @@ main()
     const auto tet4 = BarycentricPolynomials<3>::get_fe_p_basis(1);
 
     FE_SimplexP<3> fe(1);
-    const auto &   points = fe.get_unit_support_points();
+    const auto    &points = fe.get_unit_support_points();
     for (unsigned int i = 0; i < 4; ++i)
       {
         Assert(points.size() == 4, ExcInternalError());
@@ -145,7 +145,7 @@ main()
     const auto tet10 = BarycentricPolynomials<3>::get_fe_p_basis(2);
 
     FE_SimplexP<3> fe(2);
-    const auto &   points = fe.get_unit_support_points();
+    const auto    &points = fe.get_unit_support_points();
     for (unsigned int i = 0; i < 10; ++i)
       {
         Assert(points.size() == 10, ExcInternalError());
index f18ec1e338826af02b184af798639e2127be7987..8c5d0ebc134397d3429f1dcfa05cfb7bf512d70f 100644 (file)
@@ -33,7 +33,7 @@
 template <int dim, int spacedim>
 void
 process(const std::vector<Point<spacedim>> &vertices,
-        const std::vector<CellData<dim>> &  cells)
+        const std::vector<CellData<dim>>   &cells)
 {
   Triangulation<dim, spacedim> tria;
   tria.create_triangulation(vertices, cells, SubCellData());
index 8437faf328f4e4b962de82afe764e1c3047cc8c4..2b261c73ccd687baeb7f032da7b5c7eeec192ea9 100644 (file)
@@ -59,7 +59,7 @@ public:
 
 template <int dim, int spacedim = dim>
 void
-test(const FiniteElement<dim, spacedim> &                       fe,
+test(const FiniteElement<dim, spacedim>                        &fe,
      const std::function<void(Triangulation<dim, spacedim> &)> &fu)
 {
   Triangulation<dim, spacedim> tria;
index 11e426fd2c0c0c7e37ea3410b6dd9c2d590623da..675b5214284a73f9c78e4b2558437c9ff39284ba 100644 (file)
@@ -27,8 +27,8 @@ using namespace dealii;
 template <int dim, int spacedim = dim>
 void
 test(const Triangulation<dim, spacedim> &tria,
-     const Mapping<dim, spacedim> &      mapping,
-     const Quadrature<dim - 1> &         face_quadrature)
+     const Mapping<dim, spacedim>       &mapping,
+     const Quadrature<dim - 1>          &face_quadrature)
 {
   Assert(tria.get_reference_cells().size() == 1, ExcNotImplemented());
   const ReferenceCell reference_cell = tria.get_reference_cells().front();
index 3e40e882f5cdb5c36518b4d9f4717fe1d58eed70..80a741eb17ab9b9bae9c6c93d58ea89743033dcf 100644 (file)
@@ -90,7 +90,7 @@ refine(const std::vector<unsigned int> &n_refinements, Triangulation<dim> &tria)
 template <int dim>
 void
 set_active_fe_indices(const std::vector<unsigned int> &fe_indices,
-                      DoFHandler<dim> &                dofh)
+                      DoFHandler<dim>                 &dofh)
 {
   AssertDimension(fe_indices.size(), dofh.get_triangulation().n_cells(0));
 
@@ -122,7 +122,7 @@ print_dof_indices_on_faces(const DoFHandler<dim> &dofh)
 
   for (const auto &cell : dofh.active_cell_iterators())
     {
-      const auto &       fe       = cell->get_fe();
+      const auto        &fe       = cell->get_fe();
       const unsigned int fe_index = cell->active_fe_index();
 
       for (unsigned int f = 0; f < cell->n_faces(); ++f)
@@ -146,7 +146,7 @@ print_dof_indices_on_faces(const DoFHandler<dim> &dofh)
           // in this case, only one fe should be active on the subface.
           for (unsigned int sf = 0; sf < face->n_children(); ++sf)
             {
-              const auto &       subface = face->child(sf);
+              const auto        &subface = face->child(sf);
               const unsigned int subface_fe_index =
                 subface->nth_active_fe_index(0);
               Assert(subface->n_active_fe_indices() == 1, ExcInternalError());
@@ -199,9 +199,9 @@ print_dof_points(const DoFHandler<dim> &dofh)
  */
 template <int dim>
 void
-test(const std::vector<unsigned int> &                n_refinements,
-     const std::vector<unsigned int> &                fe_indices,
-     const hp::FECollection<dim> &                    fe_collection,
+test(const std::vector<unsigned int>                 &n_refinements,
+     const std::vector<unsigned int>                 &fe_indices,
+     const hp::FECollection<dim>                     &fe_collection,
      const std::function<void(Triangulation<dim> &)> &grid_generator)
 {
   // setup grid
index 99f5a1c5e5894f61617ea9d72730430d2e3ac3c8..0cdd4b4b48abfea33c2732b404e523a8ef84545c 100644 (file)
@@ -182,8 +182,8 @@ test(const unsigned int v, const unsigned int degree, const bool do_helmholtz)
 
   const auto solve_and_postprocess =
     [&](const auto &poisson_operator,
-        auto &      x,
-        auto &      b) -> std::pair<unsigned int, double> {
+        auto       &x,
+        auto       &b) -> std::pair<unsigned int, double> {
     ReductionControl                               reduction_control;
     SolverCG<std::remove_reference_t<decltype(x)>> solver(reduction_control);
     solver.solve(poisson_operator, x, b, PreconditionIdentity());
index 04de2de173599de53f52be28c04cd5ff88c0ce50..2b436ac0ae3b7d0d9aeaf6495648f05c9e5567d1 100644 (file)
@@ -178,8 +178,8 @@ test(const unsigned version, const unsigned int degree, const bool do_helmholtz)
 
   const auto solve_and_postprocess =
     [&](const auto &poisson_operator,
-        auto &      x,
-        auto &      b) -> std::tuple<unsigned int, double, double, double> {
+        auto       &x,
+        auto       &b) -> std::tuple<unsigned int, double, double, double> {
     ReductionControl reduction_control(1000, 1e-10, 1e-4);
     SolverCG<std::remove_reference_t<decltype(x)>> solver(reduction_control);
     solver.solve(poisson_operator, x, b, PreconditionIdentity());
index 0c2df1500f9ad87de0b9cc51230ed2fbf5129116..266dc440250e5b083250b87e9645bea486b44a0c 100644 (file)
@@ -69,14 +69,14 @@ public:
   {}
   virtual void
   value_list(const std::vector<Point<dim>> &points,
-             std::vector<double> &          values,
+             std::vector<double>           &values,
              const unsigned int             component = 0) const override;
 };
 
 template <int dim>
 void
 SmoothSolution<dim>::value_list(const std::vector<Point<dim>> &points,
-                                std::vector<double> &          values,
+                                std::vector<double>           &values,
                                 const unsigned int /*component*/) const
 {
   for (unsigned int i = 0; i < values.size(); ++i)
@@ -92,14 +92,14 @@ public:
   {}
   virtual void
   value_list(const std::vector<Point<dim>> &points,
-             std::vector<double> &          values,
+             std::vector<double>           &values,
              const unsigned int /*component*/ = 0) const override;
 };
 
 template <int dim>
 void
 SmoothRightHandSide<dim>::value_list(const std::vector<Point<dim>> &points,
-                                     std::vector<double> &          values,
+                                     std::vector<double>           &values,
                                      const unsigned int /*component*/) const
 {
   for (unsigned int i = 0; i < values.size(); ++i)
@@ -324,8 +324,8 @@ test(const unsigned int degree)
 
   const auto solve_and_postprocess =
     [&](const auto &poisson_operator,
-        auto &      x,
-        auto &      b) -> std::pair<unsigned int, double> {
+        auto       &x,
+        auto       &b) -> std::pair<unsigned int, double> {
     ReductionControl reduction_control(1000, 1e-7, 1e-3);
     SolverCG<std::remove_reference_t<decltype(x)>> solver(reduction_control);
 
@@ -423,7 +423,7 @@ test(const unsigned int degree)
         const unsigned int   dofs_per_cell = fe_v.dofs_per_cell;
         copy_data.reinit(cell, dofs_per_cell);
 
-        const auto &       q_points    = scratch_data.get_quadrature_points();
+        const auto        &q_points    = scratch_data.get_quadrature_points();
         const unsigned int n_q_points  = q_points.size();
         const std::vector<double> &JxW = scratch_data.get_JxW_values();
 
@@ -446,17 +446,17 @@ test(const unsigned int degree)
             }
       };
 
-    const auto boundary_worker = [&](const auto &        cell,
+    const auto boundary_worker = [&](const auto         &cell,
                                      const unsigned int &face_no,
-                                     auto &              scratch_data,
-                                     auto &              copy_data) {
+                                     auto               &scratch_data,
+                                     auto               &copy_data) {
       const FEFaceValuesBase<dim> &fe_fv = scratch_data.reinit(cell, face_no);
 
-      const auto &       q_points      = scratch_data.get_quadrature_points();
+      const auto        &q_points      = scratch_data.get_quadrature_points();
       const unsigned int n_q_points    = q_points.size();
       const unsigned int dofs_per_cell = fe_fv.dofs_per_cell;
 
-      const std::vector<double> &        JxW = scratch_data.get_JxW_values();
+      const std::vector<double>         &JxW = scratch_data.get_JxW_values();
       const std::vector<Tensor<1, dim>> &normals =
         scratch_data.get_normal_vectors();
 
@@ -503,27 +503,27 @@ test(const unsigned int degree)
         }
     };
 
-    const auto face_worker = [&](const auto &        cell,
+    const auto face_worker = [&](const auto         &cell,
                                  const unsigned int &f,
                                  const unsigned int &sf,
-                                 const auto &        ncell,
+                                 const auto         &ncell,
                                  const unsigned int &nf,
                                  const unsigned int &nsf,
-                                 auto &              scratch_data,
-                                 auto &              copy_data) {
+                                 auto               &scratch_data,
+                                 auto               &copy_data) {
       const FEInterfaceValues<dim> &fe_iv =
         scratch_data.reinit(cell, f, sf, ncell, nf, nsf);
 
-      const auto &       q_points   = fe_iv.get_quadrature_points();
+      const auto        &q_points   = fe_iv.get_quadrature_points();
       const unsigned int n_q_points = q_points.size();
 
       copy_data.face_data.emplace_back();
-      CopyDataFace &     copy_data_face = copy_data.face_data.back();
+      CopyDataFace      &copy_data_face = copy_data.face_data.back();
       const unsigned int n_dofs_face    = fe_iv.n_current_interface_dofs();
       copy_data_face.joint_dof_indices  = fe_iv.get_interface_dof_indices();
       copy_data_face.cell_matrix.reinit(n_dofs_face, n_dofs_face);
 
-      const std::vector<double> &        JxW     = fe_iv.get_JxW_values();
+      const std::vector<double>         &JxW     = fe_iv.get_JxW_values();
       const std::vector<Tensor<1, dim>> &normals = fe_iv.get_normal_vectors();
 
       const double penalty = PENALTY;
index 4e4f275554f3fe8760597befd2f67347ba72e051..14d126a7b0da2f58575cc03e6634527fdd25fec0 100644 (file)
@@ -275,8 +275,8 @@ test(const unsigned version, const unsigned int degree)
 
   const auto solve_and_postprocess =
     [&](const auto &poisson_operator,
-        auto &      x,
-        auto &      b) -> std::pair<unsigned int, double> {
+        auto       &x,
+        auto       &b) -> std::pair<unsigned int, double> {
     ReductionControl reduction_control(2000, 1e-7, 1e-2);
     SolverCG<std::remove_reference_t<decltype(x)>> solver(reduction_control);
 
index 6611395666b371dbf76700302f16b324b738b3f2..06d1d592160ad97f82d69c9fb5fc6e01ea6754da 100644 (file)
@@ -75,10 +75,10 @@ test(const unsigned int v, const unsigned int degree)
       quad       = std::make_shared<QGaussWedge<dim>>(degree + 1);
       fe_mapping = std::make_shared<FE_WedgeP<dim>>(1);
       face_quad  = hp::QCollection<dim - 1>{QGaussSimplex<dim - 1>(degree + 1),
-                                           QGaussSimplex<dim - 1>(degree + 1),
-                                           QGauss<dim - 1>(degree + 1),
-                                           QGauss<dim - 1>(degree + 1),
-                                           QGauss<dim - 1>(degree + 1)};
+                                            QGaussSimplex<dim - 1>(degree + 1),
+                                            QGauss<dim - 1>(degree + 1),
+                                            QGauss<dim - 1>(degree + 1),
+                                            QGauss<dim - 1>(degree + 1)};
     }
   else if (v == 2)
     {
@@ -88,10 +88,10 @@ test(const unsigned int v, const unsigned int degree)
       quad       = std::make_shared<QGaussPyramid<dim>>(degree + 1);
       fe_mapping = std::make_shared<FE_PyramidP<dim>>(1);
       face_quad  = hp::QCollection<dim - 1>{QGauss<dim - 1>(degree + 1),
-                                           QGaussSimplex<dim - 1>(degree + 1),
-                                           QGaussSimplex<dim - 1>(degree + 1),
-                                           QGaussSimplex<dim - 1>(degree + 1),
-                                           QGaussSimplex<dim - 1>(degree + 1)};
+                                            QGaussSimplex<dim - 1>(degree + 1),
+                                            QGaussSimplex<dim - 1>(degree + 1),
+                                            QGaussSimplex<dim - 1>(degree + 1),
+                                            QGaussSimplex<dim - 1>(degree + 1)};
     }
   else
     Assert(false, ExcNotImplemented());
index 0f881d4f948fc643c91aa500bf592f1ee837c2d0..3de266747ad3c712bc4fcea48eaa34f325d02a3d 100644 (file)
@@ -29,7 +29,7 @@
 #include "../tests.h"
 
 void
-test_face(const std::vector<Point<3>> &   vertices_,
+test_face(const std::vector<Point<3>>    &vertices_,
           const std::vector<CellData<3>> &cell_data_,
           const unsigned int              face_n)
 {
index 8c3d12ee68153209df7217af12698c856f2caa20..e58a7925530baf880afdc26d114c0ccdd0084a62 100644 (file)
@@ -98,9 +98,9 @@ template <int dim, int spacedim = dim>
 void
 test(const Triangulation<dim, spacedim> &tria,
      const FiniteElement<dim, spacedim> &fe,
-     const Quadrature<dim> &             quad,
-     const hp::QCollection<dim - 1> &    face_quad,
-     const Mapping<dim, spacedim> &      mapping,
+     const Quadrature<dim>              &quad,
+     const hp::QCollection<dim - 1>     &face_quad,
+     const Mapping<dim, spacedim>       &mapping,
      const double                        r_boundary,
      const bool                          do_use_fe_face_values = true)
 {
index c97e0e090f1da914f38998ae9da9d29740e6c3ac..c677276e1d0a0ab8f340cfb31b573893cd2aa685 100644 (file)
 
 #include "../tests.h"
 
-//#define HEX
+// #define HEX
 
 using namespace dealii;
 
 template <int dim>
 struct ScratchData
 {
-  ScratchData(const Mapping<dim> &       mapping,
-              const FiniteElement<dim> fe,
-              const Quadrature<dim> &    quad,
+  ScratchData(const Mapping<dim>        &mapping,
+              const FiniteElement<dim>  &fe,
+              const Quadrature<dim>     &quad,
               const Quadrature<dim - 1> &quad_face,
               const UpdateFlags          update_flags = update_values |
                                                update_gradients |
@@ -150,9 +150,9 @@ class DGHeat
 {
 public:
   DGHeat(const bool           hex,
-         FiniteElement<dim> fe,
-         Mapping<dim> *       mapping,
-         Quadrature<dim> *    quad,
+         FiniteElement<dim>  *fe,
+         Mapping<dim>        *mapping,
+         Quadrature<dim>     *quad,
          Quadrature<dim - 1> *face_quad,
          unsigned int         initial_refinement,
          unsigned int         number_refinement)
@@ -299,16 +299,16 @@ DGHeat<dim>::assemble_system()
 {
   using Iterator = typename DoFHandler<dim>::active_cell_iterator;
 
-  auto cell_worker = [&](const Iterator &  cell,
+  auto cell_worker = [&](const Iterator   &cell,
                          ScratchData<dim> &scratch_data,
-                         CopyData &        copy_data) {
+                         CopyData         &copy_data) {
     const unsigned int n_dofs = scratch_data.fe_values.get_fe().dofs_per_cell;
     copy_data.reinit(cell, n_dofs);
     scratch_data.fe_values.reinit(cell);
 
     const auto &q_points = scratch_data.fe_values.get_quadrature_points();
 
-    const FEValues<dim> &      fe_v = scratch_data.fe_values;
+    const FEValues<dim>       &fe_v = scratch_data.fe_values;
     const std::vector<double> &JxW  = fe_v.get_JxW_values();
 
     std::vector<double> f(q_points.size());
@@ -333,16 +333,16 @@ DGHeat<dim>::assemble_system()
       }
   };
 
-  auto boundary_worker = [&](const Iterator &    cell,
+  auto boundary_worker = [&](const Iterator     &cell,
                              const unsigned int &face_no,
-                             ScratchData<dim> &  scratch_data,
-                             CopyData &          copy_data) {
+                             ScratchData<dim>   &scratch_data,
+                             CopyData           &copy_data) {
     scratch_data.fe_interface_values.reinit(cell, face_no);
 
     const FEFaceValuesBase<dim> &fe_face =
       scratch_data.fe_interface_values.get_fe_face_values(0);
 
-    const auto &       q_points     = fe_face.get_quadrature_points();
+    const auto        &q_points     = fe_face.get_quadrature_points();
     const unsigned int n_facet_dofs = fe_face.get_fe().n_dofs_per_cell();
     const std::vector<double> &JxW  = fe_face.get_JxW_values();
 
@@ -388,14 +388,14 @@ DGHeat<dim>::assemble_system()
           }
   };
 
-  auto face_worker = [&](const Iterator &    cell,
+  auto face_worker = [&](const Iterator     &cell,
                          const unsigned int &f,
                          const unsigned int &sf,
-                         const Iterator &    ncell,
+                         const Iterator     &ncell,
                          const unsigned int &nf,
                          const unsigned int &nsf,
-                         ScratchData<dim> &  scratch_data,
-                         CopyData &          copy_data) {
+                         ScratchData<dim>   &scratch_data,
+                         CopyData           &copy_data) {
     FEInterfaceValues<dim> &fe_iv = scratch_data.fe_interface_values;
 
     fe_iv.reinit(cell, f, sf, ncell, nf, nsf);
@@ -410,7 +410,7 @@ DGHeat<dim>::assemble_system()
 
     copy_data_face.cell_matrix.reinit(n_dofs, n_dofs);
 
-    const std::vector<double> &        JxW     = fe_iv.get_JxW_values();
+    const std::vector<double>         &JxW     = fe_iv.get_JxW_values();
     const std::vector<Tensor<1, dim>> &normals = fe_iv.get_normal_vectors();
 
 
index 2fad42cbc6eab1a4fb80b462a53d2262fb87b74b..227c9978957f78eeb4ac2402a110c5ee2b99da96 100644 (file)
@@ -46,7 +46,7 @@ test()
   tria.execute_coarsening_and_refinement();
 
   // find face index on unrefined cell to neighboring cells
-  const auto unrefined_cell = tria.begin_active(0);
+  const auto  &unrefined_cell = tria.begin_active(0);
   unsigned int unrefined_f    = numbers::invalid_unsigned_int;
   for (unsigned int f = 0; f < unrefined_cell->n_faces(); ++f)
     if (!unrefined_cell->face(f)->at_boundary())
index 6226fbaab4db2c02f71fbdf21c01201416f2b60b..c1f04ccb43e603aa863872735e1ce93a86063a95 100644 (file)
@@ -23,10 +23,10 @@ namespace dealii
     template <int dim, int spacedim>
     void
     subdivided_hyper_rectangle_with_wedges(
-      Triangulation<dim, spacedim> &   tria,
+      Triangulation<dim, spacedim>    &tria,
       const std::vector<unsigned int> &repetitions,
-      const Point<dim> &               p1,
-      const Point<dim> &               p2,
+      const Point<dim>                &p1,
+      const Point<dim>                &p2,
       const bool                       colorize = false)
     {
       AssertDimension(dim, spacedim);
@@ -132,10 +132,10 @@ namespace dealii
     template <int dim, int spacedim>
     void
     subdivided_hyper_rectangle_with_pyramids(
-      Triangulation<dim, spacedim> &   tria,
+      Triangulation<dim, spacedim>    &tria,
       const std::vector<unsigned int> &repetitions,
-      const Point<dim> &               p1,
-      const Point<dim> &               p2,
+      const Point<dim>                &p1,
+      const Point<dim>                &p2,
       const bool                       colorize = false)
     {
       AssertDimension(dim, spacedim);
@@ -278,10 +278,10 @@ namespace dealii
     template <int dim, int spacedim>
     void
     subdivided_hyper_rectangle_with_simplices_mix(
-      Triangulation<dim, spacedim> &   tria,
+      Triangulation<dim, spacedim>    &tria,
       const std::vector<unsigned int> &repetitions,
-      const Point<dim> &               p1,
-      const Point<dim> &               p2,
+      const Point<dim>                &p1,
+      const Point<dim>                &p2,
       const bool                       colorize = false)
     {
       AssertDimension(dim, spacedim);
index e7d3ac6e93c0655ba2f1ab366c0d0fffac2c25eb..31132a475278a73d3571f11bd42ad6b099bd4389 100644 (file)
@@ -112,7 +112,7 @@ test(const unsigned int degree)
       Vector<double>            solution(dof_handler.n_dofs());
       Solution<dim>             function;
       AffineConstraints<double> dummy;
-      const auto &              mapping =
+      const auto               &mapping =
         reference_cell.template get_default_linear_mapping<dim>();
       dummy.close();
 
index 1ec5d28a6f7a508a730242db7a0d1dbb949a1c56..5edb6fae8082ae4399e2c9cf45199a9fdc15d7e2 100644 (file)
@@ -60,7 +60,7 @@ test(const unsigned int degree)
       Vector<double>                 solution(dof_handler.n_dofs());
       Functions::CosineFunction<dim> function;
       AffineConstraints<double>      dummy;
-      const auto &                   mapping =
+      const auto                    &mapping =
         reference_cell.template get_default_linear_mapping<dim>();
       dummy.close();
       VectorTools::project(
index 09345eb267f8ceb2a38bc4f3abaaa007d42641d3..11bc20c78399cb59e905146d961492ed9271231f 100644 (file)
@@ -104,7 +104,7 @@ namespace Step7
     value(const Point<dim> &p, const unsigned int component = 0) const override;
 
     virtual Tensor<1, dim>
-    gradient(const Point<dim> p,
+    gradient(const Point<dim>  &p,
              const unsigned int component = 0) const override;
   };
 
index c97bff18045b63515f85d28849efc3e284402339..65e7738ac3fb558346249bc2c297b3ed6e9c8197 100644 (file)
@@ -106,7 +106,7 @@ namespace Step8
   template <int dim>
   void
   right_hand_side(const std::vector<Point<dim>> &points,
-                  std::vector<Tensor<1, dim>> &  values)
+                  std::vector<Tensor<1, dim>>   &values)
   {
     Assert(values.size() == points.size(),
            ExcDimensionMismatch(values.size(), points.size()));
index e70ba2cc0d0760a69b916accc4d5be5fce6c19e9..31db50b2638d151379e0eaa89307c1cd4d9d16b5 100644 (file)
@@ -72,14 +72,14 @@ namespace Step12
     BoundaryValues() = default;
     virtual void
     value_list(const std::vector<Point<dim>> &points,
-               std::vector<double> &          values,
+               std::vector<double>           &values,
                const unsigned int             component = 0) const override;
   };
 
   template <int dim>
   void
   BoundaryValues<dim>::value_list(const std::vector<Point<dim>> &points,
-                                  std::vector<double> &          values,
+                                  std::vector<double>           &values,
                                   const unsigned int component) const
   {
     (void)component;
@@ -118,9 +118,9 @@ namespace Step12
   template <int dim>
   struct ScratchData
   {
-    ScratchData(const Mapping<dim> &       mapping,
-                const FiniteElement<dim> fe,
-                const Quadrature<dim> &    quadrature,
+    ScratchData(const Mapping<dim>        &mapping,
+                const FiniteElement<dim>  &fe,
+                const Quadrature<dim>     &quadrature,
                 const Quadrature<dim - 1> &quadrature_face,
                 const UpdateFlags          update_flags = update_values |
                                                  update_gradients |
@@ -251,9 +251,9 @@ namespace Step12
     using Iterator = typename DoFHandler<dim>::active_cell_iterator;
     const BoundaryValues<dim> boundary_function;
 
-    const auto cell_worker = [&](const Iterator &  cell,
+    const auto cell_worker = [&](const Iterator   &cell,
                                  ScratchData<dim> &scratch_data,
-                                 CopyData &        copy_data) {
+                                 CopyData         &copy_data) {
       const unsigned int n_dofs =
         scratch_data.fe_values.get_fe().n_dofs_per_cell();
       copy_data.reinit(cell, n_dofs);
@@ -261,7 +261,7 @@ namespace Step12
 
       const auto &q_points = scratch_data.fe_values.get_quadrature_points();
 
-      const FEValues<dim> &      fe_v = scratch_data.fe_values;
+      const FEValues<dim>       &fe_v = scratch_data.fe_values;
       const std::vector<double> &JxW  = fe_v.get_JxW_values();
 
       for (unsigned int point = 0; point < fe_v.n_quadrature_points; ++point)
@@ -279,10 +279,10 @@ namespace Step12
         }
     };
 
-    const auto boundary_worker = [&](const Iterator &    cell,
+    const auto boundary_worker = [&](const Iterator     &cell,
                                      const unsigned int &face_no,
-                                     ScratchData<dim> &  scratch_data,
-                                     CopyData &          copy_data) {
+                                     ScratchData<dim>   &scratch_data,
+                                     CopyData           &copy_data) {
       scratch_data.fe_interface_values.reinit(cell, face_no);
       const FEFaceValuesBase<dim> &fe_face =
         scratch_data.fe_interface_values.get_fe_face_values(0);
@@ -290,7 +290,7 @@ namespace Step12
       const auto &q_points = fe_face.get_quadrature_points();
 
       const unsigned int n_facet_dofs = fe_face.get_fe().n_dofs_per_cell();
-      const std::vector<double> &        JxW     = fe_face.get_JxW_values();
+      const std::vector<double>         &JxW     = fe_face.get_JxW_values();
       const std::vector<Tensor<1, dim>> &normals = fe_face.get_normal_vectors();
 
       std::vector<double> g(q_points.size());
@@ -319,14 +319,14 @@ namespace Step12
         }
     };
 
-    const auto face_worker = [&](const Iterator &    cell,
+    const auto face_worker = [&](const Iterator     &cell,
                                  const unsigned int &f,
                                  const unsigned int &sf,
-                                 const Iterator &    ncell,
+                                 const Iterator     &ncell,
                                  const unsigned int &nf,
                                  const unsigned int &nsf,
-                                 ScratchData<dim> &  scratch_data,
-                                 CopyData &          copy_data) {
+                                 ScratchData<dim>   &scratch_data,
+                                 CopyData           &copy_data) {
       FEInterfaceValues<dim> &fe_iv = scratch_data.fe_interface_values;
       fe_iv.reinit(cell, f, sf, ncell, nf, nsf);
       const auto &q_points = fe_iv.get_quadrature_points();
@@ -339,7 +339,7 @@ namespace Step12
 
       copy_data_face.cell_matrix.reinit(n_dofs, n_dofs);
 
-      const std::vector<double> &        JxW     = fe_iv.get_JxW_values();
+      const std::vector<double>         &JxW     = fe_iv.get_JxW_values();
       const std::vector<Tensor<1, dim>> &normals = fe_iv.get_normal_vectors();
 
       for (unsigned int qpoint = 0; qpoint < q_points.size(); ++qpoint)
index 8de44404bd0a1e883f5cf8689001d08ec1a1cb40..e9aee209a2a9516dc6a5460493eac6fb4a78a376 100644 (file)
@@ -66,7 +66,7 @@
 #include <fstream>
 #include <iostream>
 
-//#define HEX
+// #define HEX
 
 namespace Step12
 {
@@ -79,14 +79,14 @@ namespace Step12
     BoundaryValues() = default;
     virtual void
     value_list(const std::vector<Point<dim>> &points,
-               std::vector<double> &          values,
+               std::vector<double>           &values,
                const unsigned int             component = 0) const override;
   };
 
   template <int dim>
   void
   BoundaryValues<dim>::value_list(const std::vector<Point<dim>> &points,
-                                  std::vector<double> &          values,
+                                  std::vector<double>           &values,
                                   const unsigned int component) const
   {
     (void)component;
@@ -124,9 +124,9 @@ namespace Step12
   template <int dim>
   struct ScratchData
   {
-    ScratchData(const Mapping<dim> &       mapping,
-                const FiniteElement<dim> fe,
-                const Quadrature<dim> &    quad,
+    ScratchData(const Mapping<dim>        &mapping,
+                const FiniteElement<dim>  &fe,
+                const Quadrature<dim>     &quad,
                 const Quadrature<dim - 1> &quad_face,
                 const UpdateFlags          update_flags = update_values |
                                                  update_gradients |
@@ -267,16 +267,16 @@ namespace Step12
     using Iterator = typename DoFHandler<dim>::active_cell_iterator;
     const BoundaryValues<dim> boundary_function;
 
-    auto cell_worker = [&](const Iterator &  cell,
+    auto cell_worker = [&](const Iterator   &cell,
                            ScratchData<dim> &scratch_data,
-                           CopyData &        copy_data) {
+                           CopyData         &copy_data) {
       const unsigned int n_dofs = scratch_data.fe_values.get_fe().dofs_per_cell;
       copy_data.reinit(cell, n_dofs);
       scratch_data.fe_values.reinit(cell);
 
       const auto &q_points = scratch_data.fe_values.get_quadrature_points();
 
-      const FEValues<dim> &      fe_v = scratch_data.fe_values;
+      const FEValues<dim>       &fe_v = scratch_data.fe_values;
       const std::vector<double> &JxW  = fe_v.get_JxW_values();
 
       for (unsigned int point = 0; point < fe_v.n_quadrature_points; ++point)
@@ -294,10 +294,10 @@ namespace Step12
         }
     };
 
-    auto boundary_worker = [&](const Iterator &    cell,
+    auto boundary_worker = [&](const Iterator     &cell,
                                const unsigned int &face_no,
-                               ScratchData<dim> &  scratch_data,
-                               CopyData &          copy_data) {
+                               ScratchData<dim>   &scratch_data,
+                               CopyData           &copy_data) {
       scratch_data.fe_interface_values.reinit(cell, face_no);
       const FEFaceValuesBase<dim> &fe_face =
         scratch_data.fe_interface_values.get_fe_face_values(0);
@@ -305,7 +305,7 @@ namespace Step12
       const auto &q_points = fe_face.get_quadrature_points();
 
       const unsigned int n_facet_dofs = fe_face.get_fe().n_dofs_per_cell();
-      const std::vector<double> &        JxW     = fe_face.get_JxW_values();
+      const std::vector<double>         &JxW     = fe_face.get_JxW_values();
       const std::vector<Tensor<1, dim>> &normals = fe_face.get_normal_vectors();
 
       std::vector<double> g(q_points.size());
@@ -334,14 +334,14 @@ namespace Step12
         }
     };
 
-    auto face_worker = [&](const Iterator &    cell,
+    auto face_worker = [&](const Iterator     &cell,
                            const unsigned int &f,
                            const unsigned int &sf,
-                           const Iterator &    ncell,
+                           const Iterator     &ncell,
                            const unsigned int &nf,
                            const unsigned int &nsf,
-                           ScratchData<dim> &  scratch_data,
-                           CopyData &          copy_data) {
+                           ScratchData<dim>   &scratch_data,
+                           CopyData           &copy_data) {
       FEInterfaceValues<dim> &fe_iv = scratch_data.fe_interface_values;
       fe_iv.reinit(cell, f, sf, ncell, nf, nsf);
       const auto &q_points = fe_iv.get_quadrature_points();
@@ -354,7 +354,7 @@ namespace Step12
 
       copy_data_face.cell_matrix.reinit(n_dofs, n_dofs);
 
-      const std::vector<double> &        JxW     = fe_iv.get_JxW_values();
+      const std::vector<double>         &JxW     = fe_iv.get_JxW_values();
       const std::vector<Tensor<1, dim>> &normals = fe_iv.get_normal_vectors();
 
       for (unsigned int qpoint = 0; qpoint < q_points.size(); ++qpoint)
@@ -507,11 +507,11 @@ namespace Step12
   void
   AdvectionProblem<dim>::run()
   {
-    //#ifdef HEX
-    //    for (unsigned int cycle = 0; cycle < 6; ++cycle)
-    //#else
+    // #ifdef HEX
+    //     for (unsigned int cycle = 0; cycle < 6; ++cycle)
+    // #else
     for (unsigned int cycle = 0; cycle < 1; ++cycle)
-      //#endif
+      // #endif
       {
         deallog << "Cycle " << cycle << std::endl;
 
index 4d9bc295a5e1854f1987e104d73fe1e0e719bec1..a9f8cb9a6c2ed9748fe28ad37cb7a1994b9ee5d7 100644 (file)
@@ -75,7 +75,7 @@ class RHS : public Function<dim>
 public:
   virtual void
   value_list(const std::vector<Point<dim>> &points,
-             std::vector<double> &          values,
+             std::vector<double>           &values,
              const unsigned int             component = 0) const;
 };
 
@@ -86,7 +86,7 @@ class BoundaryValues : public Function<dim>
 public:
   virtual void
   value_list(const std::vector<Point<dim>> &points,
-             std::vector<double> &          values,
+             std::vector<double>           &values,
              const unsigned int             component = 0) const;
 };
 
@@ -99,14 +99,14 @@ public:
   {}
   void
   value_list(const std::vector<Point<dim>> &points,
-             std::vector<Point<dim>> &      values) const;
+             std::vector<Point<dim>>       &values) const;
 };
 
 
 template <int dim>
 void
 RHS<dim>::value_list(const std::vector<Point<dim>> &points,
-                     std::vector<double> &          values,
+                     std::vector<double>           &values,
                      const unsigned int) const
 {
   // Assert(values.size() == points.size(),
@@ -120,7 +120,7 @@ RHS<dim>::value_list(const std::vector<Point<dim>> &points,
 template <int dim>
 void
 Beta<dim>::value_list(const std::vector<Point<dim>> &points,
-                      std::vector<Point<dim>> &      values) const
+                      std::vector<Point<dim>>       &values) const
 {
   // Assert(values.size() == points.size(),
   //       ExcDimensionMismatch(values.size(), points.size()));
@@ -128,7 +128,7 @@ Beta<dim>::value_list(const std::vector<Point<dim>> &points,
   for (unsigned int i = 0; i < std::min(points.size(), values.size()); ++i)
     {
       const Point<dim> &p    = points[i];
-      Point<dim> &      beta = values[i];
+      Point<dim>       &beta = values[i];
 
       beta(0) = -p(1);
       beta(1) = p(0);
@@ -142,7 +142,7 @@ Beta<dim>::value_list(const std::vector<Point<dim>> &points,
 template <int dim>
 void
 BoundaryValues<dim>::value_list(const std::vector<Point<dim>> &points,
-                                std::vector<double> &          values,
+                                std::vector<double>           &values,
                                 const unsigned int) const
 {
   // Assert(values.size() == points.size(),
@@ -166,25 +166,25 @@ public:
 
   void
   assemble_cell_term(const hp::FEValues<dim> &fe_v,
-                     FullMatrix<double> &     ui_vi_matrix,
-                     Vector<double> &         cell_vector) const;
+                     FullMatrix<double>      &ui_vi_matrix,
+                     Vector<double>          &cell_vector) const;
 
   void
   assemble_boundary_term(const hp::FEFaceValues<dim> &fe_v,
-                         FullMatrix<double> &         ui_vi_matrix,
-                         Vector<double> &             cell_vector) const;
+                         FullMatrix<double>          &ui_vi_matrix,
+                         Vector<double>              &cell_vector) const;
 
   template <class X, class Y>
   void
-  assemble_face_term1(const X &           fe_v,
-                      const Y &           fe_v_neighbor,
+  assemble_face_term1(const X            &fe_v,
+                      const Y            &fe_v_neighbor,
                       FullMatrix<double> &ui_vi_matrix,
                       FullMatrix<double> &ue_vi_matrix) const;
 
   template <class X, class Y>
   void
-  assemble_face_term2(const X &           fe_v,
-                      const Y &           fe_v_neighbor,
+  assemble_face_term2(const X            &fe_v,
+                      const Y            &fe_v_neighbor,
                       FullMatrix<double> &ui_vi_matrix,
                       FullMatrix<double> &ue_vi_matrix,
                       FullMatrix<double> &ui_ve_matrix,
@@ -246,8 +246,8 @@ template <int dim>
 void
 DGTransportEquation<dim>::assemble_boundary_term(
   const hp::FEFaceValues<dim> &fe_v,
-  FullMatrix<double> &         ui_vi_matrix,
-  Vector<double> &             cell_vector) const
+  FullMatrix<double>          &ui_vi_matrix,
+  Vector<double>              &cell_vector) const
 {
   const std::vector<double> &JxW =
     fe_v.get_present_fe_values().get_JxW_values();
@@ -291,8 +291,8 @@ template <int dim>
 template <class X, class Y>
 void
 DGTransportEquation<dim>::assemble_face_term1(
-  const X &           fe_v,
-  const Y &           fe_v_neighbor,
+  const X            &fe_v,
+  const Y            &fe_v_neighbor,
   FullMatrix<double> &ui_vi_matrix,
   FullMatrix<double> &ue_vi_matrix) const
 {
@@ -338,8 +338,8 @@ template <int dim>
 template <class X, class Y>
 void
 DGTransportEquation<dim>::assemble_face_term2(
-  const X &           fe_v,
-  const Y &           fe_v_neighbor,
+  const X            &fe_v,
+  const Y            &fe_v_neighbor,
   FullMatrix<double> &ui_vi_matrix,
   FullMatrix<double> &ue_vi_matrix,
   FullMatrix<double> &ui_ve_matrix,
index 5f233e4b4b7fd2a4cd94ea61a6d99c91ccb5ff3f..e49f1278d58d637c38a856f63598b0053fdfc178 100644 (file)
@@ -78,7 +78,7 @@ class RHS : public Function<dim>
 public:
   virtual void
   value_list(const std::vector<Point<dim>> &points,
-             std::vector<double> &          values,
+             std::vector<double>           &values,
              const unsigned int             component = 0) const;
 };
 
@@ -89,7 +89,7 @@ class BoundaryValues : public Function<dim>
 public:
   virtual void
   value_list(const std::vector<Point<dim>> &points,
-             std::vector<double> &          values,
+             std::vector<double>           &values,
              const unsigned int             component = 0) const;
 };
 
@@ -102,14 +102,14 @@ public:
   {}
   void
   value_list(const std::vector<Point<dim>> &points,
-             std::vector<Point<dim>> &      values) const;
+             std::vector<Point<dim>>       &values) const;
 };
 
 
 template <int dim>
 void
 RHS<dim>::value_list(const std::vector<Point<dim>> &points,
-                     std::vector<double> &          values,
+                     std::vector<double>           &values,
                      const unsigned int) const
 {
   // Assert(values.size() == points.size(),
@@ -123,7 +123,7 @@ RHS<dim>::value_list(const std::vector<Point<dim>> &points,
 template <int dim>
 void
 Beta<dim>::value_list(const std::vector<Point<dim>> &points,
-                      std::vector<Point<dim>> &      values) const
+                      std::vector<Point<dim>>       &values) const
 {
   // Assert(values.size() == points.size(),
   //       ExcDimensionMismatch(values.size(), points.size()));
@@ -131,7 +131,7 @@ Beta<dim>::value_list(const std::vector<Point<dim>> &points,
   for (unsigned int i = 0; i < std::min(points.size(), values.size()); ++i)
     {
       const Point<dim> &p    = points[i];
-      Point<dim> &      beta = values[i];
+      Point<dim>       &beta = values[i];
 
       beta(0) = -p(1);
       beta(1) = p(0);
@@ -145,7 +145,7 @@ Beta<dim>::value_list(const std::vector<Point<dim>> &points,
 template <int dim>
 void
 BoundaryValues<dim>::value_list(const std::vector<Point<dim>> &points,
-                                std::vector<double> &          values,
+                                std::vector<double>           &values,
                                 const unsigned int) const
 {
   // Assert(values.size() == points.size(),
@@ -169,25 +169,25 @@ public:
 
   void
   assemble_cell_term(const hp::FEValues<dim> &fe_v,
-                     FullMatrix<double> &     ui_vi_matrix,
-                     Vector<double> &         cell_vector) const;
+                     FullMatrix<double>      &ui_vi_matrix,
+                     Vector<double>          &cell_vector) const;
 
   void
   assemble_boundary_term(const hp::FEFaceValues<dim> &fe_v,
-                         FullMatrix<double> &         ui_vi_matrix,
-                         Vector<double> &             cell_vector) const;
+                         FullMatrix<double>          &ui_vi_matrix,
+                         Vector<double>              &cell_vector) const;
 
   template <class X, class Y>
   void
-  assemble_face_term1(const X &           fe_v,
-                      const Y &           fe_v_neighbor,
+  assemble_face_term1(const X            &fe_v,
+                      const Y            &fe_v_neighbor,
                       FullMatrix<double> &ui_vi_matrix,
                       FullMatrix<double> &ue_vi_matrix) const;
 
   template <class X, class Y>
   void
-  assemble_face_term2(const X &           fe_v,
-                      const Y &           fe_v_neighbor,
+  assemble_face_term2(const X            &fe_v,
+                      const Y            &fe_v_neighbor,
                       FullMatrix<double> &ui_vi_matrix,
                       FullMatrix<double> &ue_vi_matrix,
                       FullMatrix<double> &ui_ve_matrix,
@@ -249,8 +249,8 @@ template <int dim>
 void
 DGTransportEquation<dim>::assemble_boundary_term(
   const hp::FEFaceValues<dim> &fe_v,
-  FullMatrix<double> &         ui_vi_matrix,
-  Vector<double> &             cell_vector) const
+  FullMatrix<double>          &ui_vi_matrix,
+  Vector<double>              &cell_vector) const
 {
   const std::vector<double> &JxW =
     fe_v.get_present_fe_values().get_JxW_values();
@@ -294,8 +294,8 @@ template <int dim>
 template <class X, class Y>
 void
 DGTransportEquation<dim>::assemble_face_term1(
-  const X &           fe_v,
-  const Y &           fe_v_neighbor,
+  const X            &fe_v,
+  const Y            &fe_v_neighbor,
   FullMatrix<double> &ui_vi_matrix,
   FullMatrix<double> &ue_vi_matrix) const
 {
@@ -341,8 +341,8 @@ template <int dim>
 template <class X, class Y>
 void
 DGTransportEquation<dim>::assemble_face_term2(
-  const X &           fe_v,
-  const Y &           fe_v_neighbor,
+  const X            &fe_v,
+  const Y            &fe_v_neighbor,
   FullMatrix<double> &ui_vi_matrix,
   FullMatrix<double> &ue_vi_matrix,
   FullMatrix<double> &ui_ve_matrix,
index 75f6fce3da560918b10fdafe6053a50c14c6040c..ca26d8cc4736e968e84a8fbd2e63594688f67d1f 100644 (file)
@@ -156,7 +156,7 @@ namespace Step17
 
     virtual void
     vector_value_list(const std::vector<Point<dim>> &points,
-                      std::vector<Vector<double>> &  value_list) const override
+                      std::vector<Vector<double>>   &value_list) const override
     {
       const unsigned int n_points = points.size();
 
index b7ce5ed292ce8067169a901d498e36bdc7d71290..56e512e7b33f5766fbadbfe811d24fc32ba95995 100644 (file)
@@ -80,7 +80,7 @@
 
 #include <deal.II/grid/grid_generator.h>
 
-//#define HEX
+// #define HEX
 
 const unsigned int degree = 1;
 
@@ -290,7 +290,7 @@ namespace Step18
 
     virtual void
     vector_value_list(const std::vector<Point<dim>> &points,
-                      std::vector<Vector<double>> &  value_list) const override;
+                      std::vector<Vector<double>>   &value_list) const override;
   };
 
 
@@ -320,7 +320,7 @@ namespace Step18
   void
   BodyForce<dim>::vector_value_list(
     const std::vector<Point<dim>> &points,
-    std::vector<Vector<double>> &  value_list) const
+    std::vector<Vector<double>>   &value_list) const
   {
     const unsigned int n_points = points.size();
 
@@ -345,7 +345,7 @@ namespace Step18
 
     virtual void
     vector_value_list(const std::vector<Point<dim>> &points,
-                      std::vector<Vector<double>> &  value_list) const override;
+                      std::vector<Vector<double>>   &value_list) const override;
 
   private:
     const double velocity;
@@ -382,7 +382,7 @@ namespace Step18
   void
   IncrementalBoundaryValues<dim>::vector_value_list(
     const std::vector<Point<dim>> &points,
-    std::vector<Vector<double>> &  value_list) const
+    std::vector<Vector<double>>   &value_list) const
   {
     const unsigned int n_points = points.size();
 
index b19380898a24fff985dd21a390f1aadbb75d7db0..fc344a07e56e4c848d3790a42906974507747c36 100644 (file)
@@ -118,7 +118,7 @@ namespace Step20
       {}
 
       virtual double
-      value(const Point<dim> p,
+      value(const Point<dim>  &p,
             const unsigned int component = 0) const override;
     };
 
@@ -133,7 +133,7 @@ namespace Step20
       {}
 
       virtual double
-      value(const Point<dim> p,
+      value(const Point<dim>  &p,
             const unsigned int component = 0) const override;
     };
 
@@ -175,7 +175,7 @@ namespace Step20
     template <int dim>
     void
     ExactSolution<dim>::vector_value(const Point<dim> &p,
-                                     Vector<double> &  values) const
+                                     Vector<double>   &values) const
     {
       Assert(values.size() == dim + 1,
              ExcDimensionMismatch(values.size(), dim + 1));
@@ -196,13 +196,13 @@ namespace Step20
 
       virtual void
       value_list(const std::vector<Point<dim>> &points,
-                 std::vector<Tensor<2, dim>> &  values) const override;
+                 std::vector<Tensor<2, dim>>   &values) const override;
     };
 
     template <int dim>
     void
     KInverse<dim>::value_list(const std::vector<Point<dim>> &points,
-                              std::vector<Tensor<2, dim>> &  values) const
+                              std::vector<Tensor<2, dim>>   &values) const
     {
       (void)points;
       AssertDimension(points.size(), values.size());
index ce7c032186206ff47b4733bb1af99dd01f37404d..0bb34819c3afd6ecdd180a84c7106f8dd75e8b0c 100644 (file)
@@ -102,7 +102,7 @@ namespace Step31
         : Function<dim>(1)
       {}
       virtual double
-      value(const Point<dim> p,
+      value(const Point<dim>  &p,
             const unsigned int component = 0) const override
       {
         (void)component;
@@ -134,7 +134,7 @@ namespace Step31
     class InverseMatrix : public Subscriptor
     {
     public:
-      InverseMatrix(const MatrixType &        m,
+      InverseMatrix(const MatrixType         &m,
                     const PreconditionerType &preconditioner);
       template <typename VectorType>
       void
@@ -142,11 +142,11 @@ namespace Step31
 
     private:
       const SmartPointer<const MatrixType> matrix;
-      const PreconditionerType &           preconditioner;
+      const PreconditionerType            &preconditioner;
     };
     template <class MatrixType, class PreconditionerType>
     InverseMatrix<MatrixType, PreconditionerType>::InverseMatrix(
-      const MatrixType &        m,
+      const MatrixType         &m,
       const PreconditionerType &preconditioner)
       : matrix(&m)
       , preconditioner(preconditioner)
@@ -155,7 +155,7 @@ namespace Step31
     template <typename VectorType>
     void
     InverseMatrix<MatrixType, PreconditionerType>::vmult(
-      VectorType &      dst,
+      VectorType       &dst,
       const VectorType &src) const
     {
       SolverControl        solver_control(src.size(), 1e-7 * src.l2_norm());
@@ -178,9 +178,9 @@ namespace Step31
         const TrilinosWrappers::BlockSparseMatrix &S,
         const InverseMatrix<TrilinosWrappers::SparseMatrix,
                             PreconditionerTypeMp> &Mpinv,
-        const PreconditionerTypeA &                Apreconditioner);
+        const PreconditionerTypeA                 &Apreconditioner);
       void
-      vmult(TrilinosWrappers::MPI::BlockVector &      dst,
+      vmult(TrilinosWrappers::MPI::BlockVector       &dst,
             const TrilinosWrappers::MPI::BlockVector &src) const;
 
     private:
@@ -189,7 +189,7 @@ namespace Step31
       const SmartPointer<const InverseMatrix<TrilinosWrappers::SparseMatrix,
                                              PreconditionerTypeMp>>
                                             m_inverse;
-      const PreconditionerTypeA &           a_preconditioner;
+      const PreconditionerTypeA            &a_preconditioner;
       mutable TrilinosWrappers::MPI::Vector tmp;
     };
     template <class PreconditionerTypeA, class PreconditionerTypeMp>
@@ -198,7 +198,7 @@ namespace Step31
         const TrilinosWrappers::BlockSparseMatrix &S,
         const InverseMatrix<TrilinosWrappers::SparseMatrix,
                             PreconditionerTypeMp> &Mpinv,
-        const PreconditionerTypeA &                Apreconditioner)
+        const PreconditionerTypeA                 &Apreconditioner)
       : stokes_matrix(&S)
       , m_inverse(&Mpinv)
       , a_preconditioner(Apreconditioner)
@@ -207,7 +207,7 @@ namespace Step31
     template <class PreconditionerTypeA, class PreconditionerTypeMp>
     void
     BlockSchurPreconditioner<PreconditionerTypeA, PreconditionerTypeMp>::vmult(
-      TrilinosWrappers::MPI::BlockVector &      dst,
+      TrilinosWrappers::MPI::BlockVector       &dst,
       const TrilinosWrappers::MPI::BlockVector &src) const
     {
       a_preconditioner.vmult(dst.block(0), src.block(0));
@@ -249,15 +249,15 @@ namespace Step31
     refine_mesh(const unsigned int max_grid_level);
     double
     compute_viscosity(
-      const std::vector<double> &        old_temperature,
-      const std::vector<double> &        old_old_temperature,
+      const std::vector<double>         &old_temperature,
+      const std::vector<double>         &old_old_temperature,
       const std::vector<Tensor<1, dim>> &old_temperature_grads,
       const std::vector<Tensor<1, dim>> &old_old_temperature_grads,
-      const std::vector<double> &        old_temperature_laplacians,
-      const std::vector<double> &        old_old_temperature_laplacians,
+      const std::vector<double>         &old_temperature_laplacians,
+      const std::vector<double>         &old_old_temperature_laplacians,
       const std::vector<Tensor<1, dim>> &old_velocity_values,
       const std::vector<Tensor<1, dim>> &old_old_velocity_values,
-      const std::vector<double> &        gamma_values,
+      const std::vector<double>         &gamma_values,
       const double                       global_u_infty,
       const double                       global_T_variation,
       const double                       cell_diameter) const;
@@ -325,7 +325,7 @@ namespace Step31
   double
   BoussinesqFlowProblem<dim>::get_maximal_velocity() const
   {
-    const auto &                     quadrature_formula = quadrature_stokes;
+    const auto                      &quadrature_formula = quadrature_stokes;
     const unsigned int               n_q_points = quadrature_formula.size();
     FEValues<dim>                    fe_values(mapping,
                             stokes_fe,
@@ -348,7 +348,7 @@ namespace Step31
   std::pair<double, double>
   BoussinesqFlowProblem<dim>::get_extrapolated_temperature_range() const
   {
-    const auto &        quadrature_formula = quadrature_temperature;
+    const auto         &quadrature_formula = quadrature_temperature;
     const unsigned int  n_q_points         = quadrature_formula.size();
     FEValues<dim>       fe_values(mapping,
                             temperature_fe,
@@ -400,15 +400,15 @@ namespace Step31
   template <int dim>
   double
   BoussinesqFlowProblem<dim>::compute_viscosity(
-    const std::vector<double> &        old_temperature,
-    const std::vector<double> &        old_old_temperature,
+    const std::vector<double>         &old_temperature,
+    const std::vector<double>         &old_old_temperature,
     const std::vector<Tensor<1, dim>> &old_temperature_grads,
     const std::vector<Tensor<1, dim>> &old_old_temperature_grads,
-    const std::vector<double> &        old_temperature_laplacians,
-    const std::vector<double> &        old_old_temperature_laplacians,
+    const std::vector<double>         &old_temperature_laplacians,
+    const std::vector<double>         &old_old_temperature_laplacians,
     const std::vector<Tensor<1, dim>> &old_velocity_values,
     const std::vector<Tensor<1, dim>> &old_old_velocity_values,
-    const std::vector<double> &        gamma_values,
+    const std::vector<double>         &gamma_values,
     const double                       global_u_infty,
     const double                       global_T_variation,
     const double                       cell_diameter) const
@@ -555,7 +555,7 @@ namespace Step31
   BoussinesqFlowProblem<dim>::assemble_stokes_preconditioner()
   {
     stokes_preconditioner_matrix          = 0;
-    const auto &       quadrature_formula = quadrature_stokes;
+    const auto        &quadrature_formula = quadrature_stokes;
     FEValues<dim>      stokes_fe_values(mapping,
                                    stokes_fe,
                                    quadrature_formula,
@@ -629,7 +629,7 @@ namespace Step31
     if (rebuild_stokes_matrix == true)
       stokes_matrix = 0;
     stokes_rhs                       = 0;
-    const auto &  quadrature_formula = quadrature_stokes;
+    const auto   &quadrature_formula = quadrature_stokes;
     FEValues<dim> stokes_fe_values(
       mapping,
       stokes_fe,
@@ -715,7 +715,7 @@ namespace Step31
       return;
     temperature_mass_matrix               = 0;
     temperature_stiffness_matrix          = 0;
-    const auto &       quadrature_formula = quadrature_temperature;
+    const auto        &quadrature_formula = quadrature_temperature;
     FEValues<dim>      temperature_fe_values(mapping,
                                         temperature_fe,
                                         quadrature_formula,
@@ -779,7 +779,7 @@ namespace Step31
         temperature_matrix.add(time_step, temperature_stiffness_matrix);
       }
     temperature_rhs                       = 0;
-    const auto &       quadrature_formula = quadrature_temperature;
+    const auto        &quadrature_formula = quadrature_temperature;
     FEValues<dim>      temperature_fe_values(mapping,
                                         temperature_fe,
                                         quadrature_formula,
index 74b580cc3a2d4a55798db1ffba9654dc6800bf32..69ff17684564faae938757902dd567adfd126258 100644 (file)
@@ -112,7 +112,7 @@ namespace Step38
     value(const Point<dim> &p, const unsigned int component = 0) const override;
 
     virtual Tensor<1, dim>
-    gradient(const Point<dim> p,
+    gradient(const Point<dim>  &p,
              const unsigned int component = 0) const override;
   };
 
index 37c8538643524846b58e6d40a93e2b19319fd496..593c393db9669fe525ecd6d4ea788b5ab50659ea 100644 (file)
@@ -17,7 +17,7 @@
  * Author: Timo Heister, Clemson University, 2016
  */
 
-//#define HEX
+// #define HEX
 
 #include <deal.II/base/function.h>
 #include <deal.II/base/quadrature_lib.h>
@@ -131,13 +131,13 @@ namespace Step55
 
     private:
       const SmartPointer<const Matrix> matrix;
-      const Preconditioner &           preconditioner;
+      const Preconditioner            &preconditioner;
     };
 
 
     template <class Matrix, class Preconditioner>
     InverseMatrix<Matrix, Preconditioner>::InverseMatrix(
-      const Matrix &        m,
+      const Matrix         &m,
       const Preconditioner &preconditioner)
       : matrix(&m)
       , preconditioner(preconditioner)
@@ -148,7 +148,7 @@ namespace Step55
     template <class Matrix, class Preconditioner>
     template <typename VectorType>
     void
-    InverseMatrix<Matrix, Preconditioner>::vmult(VectorType &      dst,
+    InverseMatrix<Matrix, Preconditioner>::vmult(VectorType       &dst,
                                                  const VectorType &src) const
     {
       SolverControl             solver_control(src.size(),
@@ -198,7 +198,7 @@ namespace Step55
     template <class PreconditionerA, class PreconditionerS>
     void
     BlockDiagonalPreconditioner<PreconditionerA, PreconditionerS>::vmult(
-      LA::MPI::BlockVector &      dst,
+      LA::MPI::BlockVector       &dst,
       const LA::MPI::BlockVector &src) const
     {
       preconditioner_A.vmult(dst.block(0), src.block(0));
@@ -228,7 +228,7 @@ namespace Step55
   template <int dim>
   void
   RightHandSide<dim>::vector_value(const Point<dim> &p,
-                                   Vector<double> &  values) const
+                                   Vector<double>   &values) const
   {
     const double R_x = p[0];
     const double R_y = p[1];
@@ -265,7 +265,7 @@ namespace Step55
   template <int dim>
   void
   ExactSolution<dim>::vector_value(const Point<dim> &p,
-                                   Vector<double> &  values) const
+                                   Vector<double>   &values) const
   {
     const double R_x = p[0];
     const double R_y = p[1];
index b68826171652d12603b678e475fdc3d6298912f7..f152a3d5e06ecc4a31f1ee10e436ed3e7e559b1d 100644 (file)
@@ -31,7 +31,7 @@
 
 
 
-//#define HEX
+// #define HEX
 
 #include <deal.II/base/conditional_ostream.h>
 #include <deal.II/base/function.h>
@@ -190,7 +190,7 @@ namespace Euler_DG
   // -1)} + \frac 12 \rho \|u\|^2$.
   template <int dim>
   double
-  ExactSolution<dim>::value(const Point<dim> x,
+  ExactSolution<dim>::value(const Point<dim>  &x,
                             const unsigned int component) const
   {
     const double t = this->get_time();
@@ -373,9 +373,9 @@ namespace Euler_DG
     perform_time_step(const Operator &pde_operator,
                       const double    current_time,
                       const double    time_step,
-                      VectorType &    solution,
-                      VectorType &    vec_ri,
-                      VectorType &    vec_ki) const
+                      VectorType     &solution,
+                      VectorType     &vec_ri,
+                      VectorType     &vec_ki) const
     {
       AssertDimension(ai.size() + 1, bi.size());
 
@@ -526,7 +526,7 @@ namespace Euler_DG
   inline DEAL_II_ALWAYS_INLINE //
     Tensor<1, n_components, Number>
     operator*(const Tensor<1, n_components, Tensor<1, dim, Number>> &matrix,
-              const Tensor<1, dim, Number> &                         vector)
+              const Tensor<1, dim, Number>                          &vector)
   {
     Tensor<1, n_components, Number> result;
     for (unsigned int d = 0; d < n_components; ++d)
@@ -608,7 +608,7 @@ namespace Euler_DG
     Tensor<1, dim + 2, Number>
     euler_numerical_flux(const Tensor<1, dim + 2, Number> &u_m,
                          const Tensor<1, dim + 2, Number> &u_p,
-                         const Tensor<1, dim, Number> &    normal)
+                         const Tensor<1, dim, Number>     &normal)
   {
     const auto velocity_m = euler_velocity<dim>(u_m);
     const auto velocity_p = euler_velocity<dim>(u_p);
@@ -670,7 +670,7 @@ namespace Euler_DG
   // where all components of the solution are set.
   template <int dim, typename Number>
   VectorizedArray<Number>
-  evaluate_function(const Function<dim> &                      function,
+  evaluate_function(const Function<dim>                       &function,
                     const Point<dim, VectorizedArray<Number>> &p_vectorized,
                     const unsigned int                         component)
   {
@@ -688,7 +688,7 @@ namespace Euler_DG
 
   template <int dim, typename Number, int n_components = dim + 2>
   Tensor<1, n_components, VectorizedArray<Number>>
-  evaluate_function(const Function<dim> &                      function,
+  evaluate_function(const Function<dim>                       &function,
                     const Point<dim, VectorizedArray<Number>> &p_vectorized)
   {
     AssertDimension(function.n_components, n_components);
@@ -758,10 +758,10 @@ namespace Euler_DG
     void
     apply(const double                                      current_time,
           const LinearAlgebra::distributed::Vector<Number> &src,
-          LinearAlgebra::distributed::Vector<Number> &      dst) const;
+          LinearAlgebra::distributed::Vector<Number>       &dst) const;
 
     void
-    vmult(LinearAlgebra::distributed::Vector<Number> &      dst,
+    vmult(LinearAlgebra::distributed::Vector<Number>       &dst,
           const LinearAlgebra::distributed::Vector<Number> &src) const;
 
     void
@@ -769,17 +769,17 @@ namespace Euler_DG
                   const Number factor_solution,
                   const Number factor_ai,
                   const LinearAlgebra::distributed::Vector<Number> &current_ri,
-                  LinearAlgebra::distributed::Vector<Number> &      vec_ki,
-                  LinearAlgebra::distributed::Vector<Number> &      solution,
+                  LinearAlgebra::distributed::Vector<Number>       &vec_ki,
+                  LinearAlgebra::distributed::Vector<Number>       &solution,
                   LinearAlgebra::distributed::Vector<Number> &next_ri) const;
 
     void
-    project(const Function<dim> &                       function,
+    project(const Function<dim>                        &function,
             LinearAlgebra::distributed::Vector<Number> &solution) const;
 
     std::array<double, 3>
     compute_errors(
-      const Function<dim> &                             function,
+      const Function<dim>                              &function,
       const LinearAlgebra::distributed::Vector<Number> &solution) const;
 
     double
@@ -803,31 +803,31 @@ namespace Euler_DG
 
     void
     local_apply_inverse_mass_matrix(
-      const MatrixFree<dim, Number> &                   data,
-      LinearAlgebra::distributed::Vector<Number> &      dst,
+      const MatrixFree<dim, Number>                    &data,
+      LinearAlgebra::distributed::Vector<Number>       &dst,
       const LinearAlgebra::distributed::Vector<Number> &src,
-      const std::pair<unsigned int, unsigned int> &     cell_range) const;
+      const std::pair<unsigned int, unsigned int>      &cell_range) const;
 
     void
     local_apply_cell(
-      const MatrixFree<dim, Number> &                   data,
-      LinearAlgebra::distributed::Vector<Number> &      dst,
+      const MatrixFree<dim, Number>                    &data,
+      LinearAlgebra::distributed::Vector<Number>       &dst,
       const LinearAlgebra::distributed::Vector<Number> &src,
-      const std::pair<unsigned int, unsigned int> &     cell_range) const;
+      const std::pair<unsigned int, unsigned int>      &cell_range) const;
 
     void
     local_apply_face(
-      const MatrixFree<dim, Number> &                   data,
-      LinearAlgebra::distributed::Vector<Number> &      dst,
+      const MatrixFree<dim, Number>                    &data,
+      LinearAlgebra::distributed::Vector<Number>       &dst,
       const LinearAlgebra::distributed::Vector<Number> &src,
-      const std::pair<unsigned int, unsigned int> &     cell_range) const;
+      const std::pair<unsigned int, unsigned int>      &cell_range) const;
 
     void
     local_apply_boundary_face(
-      const MatrixFree<dim, Number> &                   data,
-      LinearAlgebra::distributed::Vector<Number> &      dst,
+      const MatrixFree<dim, Number>                    &data,
+      LinearAlgebra::distributed::Vector<Number>       &dst,
       const LinearAlgebra::distributed::Vector<Number> &src,
-      const std::pair<unsigned int, unsigned int> &     cell_range) const;
+      const std::pair<unsigned int, unsigned int>      &cell_range) const;
   };
 
 
@@ -860,7 +860,7 @@ namespace Euler_DG
   template <int dim, int degree, int n_points_1d>
   void
   EulerOperator<dim, degree, n_points_1d>::reinit(
-    const Mapping<dim> &   mapping,
+    const Mapping<dim>    &mapping,
     const DoFHandler<dim> &dof_handler)
   {
     const std::vector<const DoFHandler<dim> *> dof_handlers = {&dof_handler};
@@ -1078,9 +1078,9 @@ namespace Euler_DG
   void
   EulerOperator<dim, degree, n_points_1d>::local_apply_cell(
     const MatrixFree<dim, Number> &,
-    LinearAlgebra::distributed::Vector<Number> &      dst,
+    LinearAlgebra::distributed::Vector<Number>       &dst,
     const LinearAlgebra::distributed::Vector<Number> &src,
-    const std::pair<unsigned int, unsigned int> &     cell_range) const
+    const std::pair<unsigned int, unsigned int>      &cell_range) const
   {
 #ifdef HEX
     FEEvaluation<dim, degree, n_points_1d, dim + 2, Number> phi(data);
@@ -1172,9 +1172,9 @@ namespace Euler_DG
   void
   EulerOperator<dim, degree, n_points_1d>::local_apply_face(
     const MatrixFree<dim, Number> &,
-    LinearAlgebra::distributed::Vector<Number> &      dst,
+    LinearAlgebra::distributed::Vector<Number>       &dst,
     const LinearAlgebra::distributed::Vector<Number> &src,
-    const std::pair<unsigned int, unsigned int> &     face_range) const
+    const std::pair<unsigned int, unsigned int>      &face_range) const
   {
 #ifdef HEX
     FEFaceEvaluation<dim, degree, n_points_1d, dim + 2, Number> phi_m(data,
@@ -1268,9 +1268,9 @@ namespace Euler_DG
   void
   EulerOperator<dim, degree, n_points_1d>::local_apply_boundary_face(
     const MatrixFree<dim, Number> &,
-    LinearAlgebra::distributed::Vector<Number> &      dst,
+    LinearAlgebra::distributed::Vector<Number>       &dst,
     const LinearAlgebra::distributed::Vector<Number> &src,
-    const std::pair<unsigned int, unsigned int> &     face_range) const
+    const std::pair<unsigned int, unsigned int>      &face_range) const
   {
 #ifdef HEX
     FEFaceEvaluation<dim, degree, n_points_1d, dim + 2, Number> phi(data, true);
@@ -1375,9 +1375,9 @@ namespace Euler_DG
   void
   EulerOperator<dim, degree, n_points_1d>::local_apply_inverse_mass_matrix(
     const MatrixFree<dim, Number> &,
-    LinearAlgebra::distributed::Vector<Number> &      dst,
+    LinearAlgebra::distributed::Vector<Number>       &dst,
     const LinearAlgebra::distributed::Vector<Number> &src,
-    const std::pair<unsigned int, unsigned int> &     cell_range) const
+    const std::pair<unsigned int, unsigned int>      &cell_range) const
   {
     FEEvaluation<dim, degree, degree + 1, dim + 2, Number> phi(data, 0, 1);
     MatrixFreeOperators::CellwiseInverseMassMatrix<dim, degree, dim + 2, Number>
@@ -1435,7 +1435,7 @@ namespace Euler_DG
   EulerOperator<dim, degree, n_points_1d>::apply(
     const double                                      current_time,
     const LinearAlgebra::distributed::Vector<Number> &src,
-    LinearAlgebra::distributed::Vector<Number> &      dst) const
+    LinearAlgebra::distributed::Vector<Number>       &dst) const
   {
     {
       TimerOutput::Scope t(timer, "apply - integrals");
@@ -1512,9 +1512,9 @@ namespace Euler_DG
     const Number                                      factor_solution,
     const Number                                      factor_ai,
     const LinearAlgebra::distributed::Vector<Number> &current_ri,
-    LinearAlgebra::distributed::Vector<Number> &      vec_ki,
-    LinearAlgebra::distributed::Vector<Number> &      solution,
-    LinearAlgebra::distributed::Vector<Number> &      next_ri) const
+    LinearAlgebra::distributed::Vector<Number>       &vec_ki,
+    LinearAlgebra::distributed::Vector<Number>       &solution,
+    LinearAlgebra::distributed::Vector<Number>       &next_ri) const
   {
     {
       TimerOutput::Scope t(timer, "rk_stage - integrals L_h");
@@ -1652,7 +1652,7 @@ namespace Euler_DG
   template <int dim, int degree, int n_points_1d>
   void
   EulerOperator<dim, degree, n_points_1d>::project(
-    const Function<dim> &                       function,
+    const Function<dim>                        &function,
     LinearAlgebra::distributed::Vector<Number> &solution) const
   {
     FEEvaluation<dim, degree, degree + 1, dim + 2, Number> phi(data, 0, 1);
@@ -1701,7 +1701,7 @@ namespace Euler_DG
   template <int dim, int degree, int n_points_1d>
   std::array<double, 3>
   EulerOperator<dim, degree, n_points_1d>::compute_errors(
-    const Function<dim> &                             function,
+    const Function<dim>                              &function,
     const LinearAlgebra::distributed::Vector<Number> &solution) const
   {
     TimerOutput::Scope t(timer, "compute errors");
@@ -1972,7 +1972,7 @@ namespace Euler_DG
   void
   EulerProblem<dim>::Postprocessor::evaluate_vector_field(
     const DataPostprocessorInputs::Vector<dim> &inputs,
-    std::vector<Vector<double>> &               computed_quantities) const
+    std::vector<Vector<double>>                &computed_quantities) const
   {
     const unsigned int n_evaluation_points = inputs.solution_values.size();
 
index 0946659817319fb1b67e9ba4da25646a80c1d043..91756214aaec881d7da6d64c1d5b2bbe43ee258a 100644 (file)
@@ -88,14 +88,14 @@ namespace Step68
 
     virtual void
     vector_value(const Point<dim> &point,
-                 Vector<double> &  values) const override;
+                 Vector<double>   &values) const override;
   };
 
 
   template <int dim>
   void
   Vortex<dim>::vector_value(const Point<dim> &point,
-                            Vector<double> &  values) const
+                            Vector<double>   &values) const
   {
     const double T = 4;
     const double t = this->get_time();
index 56538f39084d23caba4ca8a3af7fbfd6054c25fb..607600c7f01e0ea5ff6f479320559c182a36b815 100644 (file)
@@ -83,17 +83,17 @@ namespace Step74
     {}
     virtual void
     value_list(const std::vector<Point<dim>> &points,
-               std::vector<double> &          values,
+               std::vector<double>           &values,
                const unsigned int             component = 0) const override;
     virtual Tensor<1, dim>
-    gradient(const Point<dim> point,
+    gradient(const Point<dim>  &point,
              const unsigned int component = 0) const override;
   };
 
   template <int dim>
   void
   SmoothSolution<dim>::value_list(const std::vector<Point<dim>> &points,
-                                  std::vector<double> &          values,
+                                  std::vector<double>           &values,
                                   const unsigned int /*component*/) const
   {
     using numbers::PI;
@@ -125,14 +125,14 @@ namespace Step74
     {}
     virtual void
     value_list(const std::vector<Point<dim>> &points,
-               std::vector<double> &          values,
+               std::vector<double>           &values,
                const unsigned int /*component*/) const override;
   };
 
   template <int dim>
   void
   SmoothRightHandSide<dim>::value_list(const std::vector<Point<dim>> &points,
-                                       std::vector<double> &          values,
+                                       std::vector<double>           &values,
                                        const unsigned int /*component*/) const
   {
     using numbers::PI;
@@ -150,7 +150,7 @@ namespace Step74
     {}
     virtual void
     value_list(const std::vector<Point<dim>> &points,
-               std::vector<double> &          values,
+               std::vector<double>           &values,
                const unsigned int /*component*/) const override;
 
   private:
@@ -160,7 +160,7 @@ namespace Step74
   template <int dim>
   void
   SingularRightHandSide<dim>::value_list(const std::vector<Point<dim>> &points,
-                                         std::vector<double> &          values,
+                                         std::vector<double>           &values,
                                          const unsigned int /*component*/) const
   {
     for (unsigned int i = 0; i < values.size(); ++i)
@@ -328,7 +328,7 @@ namespace Step74
         const unsigned int   dofs_per_cell = fe_v.dofs_per_cell;
         copy_data.reinit(cell, dofs_per_cell);
 
-        const auto &       q_points    = scratch_data.get_quadrature_points();
+        const auto        &q_points    = scratch_data.get_quadrature_points();
         const unsigned int n_q_points  = q_points.size();
         const std::vector<double> &JxW = scratch_data.get_JxW_values();
 
@@ -351,20 +351,20 @@ namespace Step74
             }
       };
 
-    const auto boundary_worker = [&](const auto &        cell,
+    const auto boundary_worker = [&](const auto         &cell,
                                      const unsigned int &face_no,
-                                     auto &              scratch_data,
-                                     auto &              copy_data) {
+                                     auto               &scratch_data,
+                                     auto               &copy_data) {
       const FEFaceValuesBase<dim> &fe_fv = scratch_data.reinit(cell, face_no);
 
       Assert(fe_fv.get_cell() == cell, ExcInternalError());
       Assert(fe_fv.get_face_number() == face_no, ExcInternalError());
 
-      const auto &       q_points      = scratch_data.get_quadrature_points();
+      const auto        &q_points      = scratch_data.get_quadrature_points();
       const unsigned int n_q_points    = q_points.size();
       const unsigned int dofs_per_cell = fe_fv.dofs_per_cell;
 
-      const std::vector<double> &        JxW = scratch_data.get_JxW_values();
+      const std::vector<double>         &JxW = scratch_data.get_JxW_values();
       const std::vector<Tensor<1, dim>> &normals =
         scratch_data.get_normal_vectors();
 
@@ -412,14 +412,14 @@ namespace Step74
         }
     };
 
-    const auto face_worker = [&](const auto &        cell,
+    const auto face_worker = [&](const auto         &cell,
                                  const unsigned int &f,
                                  const unsigned int &sf,
-                                 const auto &        ncell,
+                                 const auto         &ncell,
                                  const unsigned int &nf,
                                  const unsigned int &nsf,
-                                 auto &              scratch_data,
-                                 auto &              copy_data) {
+                                 auto               &scratch_data,
+                                 auto               &copy_data) {
       const FEInterfaceValues<dim> &fe_iv =
         scratch_data.reinit(cell, f, sf, ncell, nf, nsf);
 
@@ -429,12 +429,12 @@ namespace Step74
       Assert(fe_iv.get_face_number(1) == nf, ExcInternalError());
 
       copy_data.face_data.emplace_back();
-      CopyDataFace &     copy_data_face = copy_data.face_data.back();
+      CopyDataFace      &copy_data_face = copy_data.face_data.back();
       const unsigned int n_dofs_face    = fe_iv.n_current_interface_dofs();
       copy_data_face.joint_dof_indices  = fe_iv.get_interface_dof_indices();
       copy_data_face.cell_matrix.reinit(n_dofs_face, n_dofs_face);
 
-      const std::vector<double> &        JxW     = fe_iv.get_JxW_values();
+      const std::vector<double>         &JxW     = fe_iv.get_JxW_values();
       const std::vector<Tensor<1, dim>> &normals = fe_iv.get_normal_vectors();
 
       const double extent1 = cell->measure() / cell->face(f)->measure();
@@ -542,7 +542,7 @@ namespace Step74
 
         copy_data.cell_index = cell->active_cell_index();
 
-        const auto &               q_points   = fe_v.get_quadrature_points();
+        const auto                &q_points   = fe_v.get_quadrature_points();
         const unsigned int         n_q_points = q_points.size();
         const std::vector<double> &JxW        = fe_v.get_JxW_values();
 
@@ -564,13 +564,13 @@ namespace Step74
         copy_data.value = hk * hk * residual_norm_square;
       };
 
-    const auto boundary_worker = [&](const auto &        cell,
+    const auto boundary_worker = [&](const auto         &cell,
                                      const unsigned int &face_no,
-                                     auto &              scratch_data,
-                                     auto &              copy_data) {
+                                     auto               &scratch_data,
+                                     auto               &copy_data) {
       const FEFaceValuesBase<dim> &fe_fv = scratch_data.reinit(cell, face_no);
 
-      const auto &   q_points   = fe_fv.get_quadrature_points();
+      const auto    &q_points   = fe_fv.get_quadrature_points();
       const unsigned n_q_points = q_points.size();
 
       const std::vector<double> &JxW = fe_fv.get_JxW_values();
@@ -593,14 +593,14 @@ namespace Step74
       copy_data.value += penalty * difference_norm_square;
     };
 
-    const auto face_worker = [&](const auto &        cell,
+    const auto face_worker = [&](const auto         &cell,
                                  const unsigned int &f,
                                  const unsigned int &sf,
-                                 const auto &        ncell,
+                                 const auto         &ncell,
                                  const unsigned int &nf,
                                  const unsigned int &nsf,
-                                 auto &              scratch_data,
-                                 auto &              copy_data) {
+                                 auto               &scratch_data,
+                                 auto               &copy_data) {
       const FEInterfaceValues<dim> &fe_iv =
         scratch_data.reinit(cell, f, sf, ncell, nf, nsf);
 
@@ -610,10 +610,10 @@ namespace Step74
       copy_data_face.cell_indices[0] = cell->active_cell_index();
       copy_data_face.cell_indices[1] = ncell->active_cell_index();
 
-      const std::vector<double> &        JxW     = fe_iv.get_JxW_values();
+      const std::vector<double>         &JxW     = fe_iv.get_JxW_values();
       const std::vector<Tensor<1, dim>> &normals = fe_iv.get_normal_vectors();
 
-      const auto &       q_points   = fe_iv.get_quadrature_points();
+      const auto        &q_points   = fe_iv.get_quadrature_points();
       const unsigned int n_q_points = q_points.size();
 
       std::vector<double> jump(n_q_points);
@@ -686,7 +686,7 @@ namespace Step74
 
         copy_data.cell_index = cell->active_cell_index();
 
-        const auto &               q_points   = fe_v.get_quadrature_points();
+        const auto                &q_points   = fe_v.get_quadrature_points();
         const unsigned int         n_q_points = q_points.size();
         const std::vector<double> &JxW        = fe_v.get_JxW_values();
 
@@ -705,13 +705,13 @@ namespace Step74
         copy_data.value = norm_square;
       };
 
-    const auto boundary_worker = [&](const auto &        cell,
+    const auto boundary_worker = [&](const auto         &cell,
                                      const unsigned int &face_no,
-                                     auto &              scratch_data,
-                                     auto &              copy_data) {
+                                     auto               &scratch_data,
+                                     auto               &copy_data) {
       const FEFaceValuesBase<dim> &fe_fv = scratch_data.reinit(cell, face_no);
 
-      const auto &   q_points   = fe_fv.get_quadrature_points();
+      const auto    &q_points   = fe_fv.get_quadrature_points();
       const unsigned n_q_points = q_points.size();
 
       const std::vector<double> &JxW = fe_fv.get_JxW_values();
@@ -734,14 +734,14 @@ namespace Step74
       copy_data.value += penalty * difference_norm_square;
     };
 
-    const auto face_worker = [&](const auto &        cell,
+    const auto face_worker = [&](const auto         &cell,
                                  const unsigned int &f,
                                  const unsigned int &sf,
-                                 const auto &        ncell,
+                                 const auto         &ncell,
                                  const unsigned int &nf,
                                  const unsigned int &nsf,
-                                 auto &              scratch_data,
-                                 auto &              copy_data) {
+                                 auto               &scratch_data,
+                                 auto               &copy_data) {
       const FEInterfaceValues<dim> &fe_iv =
         scratch_data.reinit(cell, f, sf, ncell, nf, nsf);
 
@@ -753,7 +753,7 @@ namespace Step74
 
       const std::vector<double> &JxW = fe_iv.get_JxW_values();
 
-      const auto &       q_points   = fe_iv.get_quadrature_points();
+      const auto        &q_points   = fe_iv.get_quadrature_points();
       const unsigned int n_q_points = q_points.size();
 
       std::vector<double> jump(n_q_points);
index 7e04942a3f66f1413a424632fed129835279e950..7f883fd4c0a554c970ffcb96b126835672358d9b 100644 (file)
@@ -38,7 +38,7 @@
 template <int dim>
 void
 output(const Triangulation<dim> &tr,
-       const std::string &       filename,
+       const std::string        &filename,
        const bool                view_levels,
        const bool                include_artificial)
 {
index 4d78bc11cf02069c77e87be457a1c4cfa5e1c8d6..7eaf5c5ec18bce94f07ad6fd54db77b559c10e47 100644 (file)
 
 template <typename SolverType, typename MatrixType, typename VectorType>
 void
-check_solve(SolverType &              solver,
-            const SolverControl &     solver_control,
-            const MatrixType &        A,
-            const MatrixType &        B,
-            std::vector<VectorType> u,
+check_solve(SolverType               &solver,
+            const SolverControl      &solver_control,
+            const MatrixType         &A,
+            const MatrixType         &B,
+            std::vector<VectorType>  &u,
             std::vector<PetscScalar> &v)
 {
   deallog << "Solver type: " << typeid(solver).name() << std::endl;
index 9353ebe499d617e670534552a947b5bd4101ca68..29f56f7734b1cfd4f4c6135b50641d3bf8c0e1a2 100644 (file)
 
 template <typename SolverType, typename MatrixType, typename VectorType>
 void
-check_solve(SolverType &              solver,
+check_solve(SolverType               &solver,
             const unsigned int        solver_number,
-            const SolverControl &     solver_control,
-            const MatrixType &        A,
-            std::vector<VectorType> u,
+            const SolverControl      &solver_control,
+            const MatrixType         &A,
+            std::vector<VectorType>  &u,
             std::vector<PetscScalar> &v)
 {
   deallog << "Solver type: " << typeid(solver).name() << std::endl;
index 1e3569a92a64a9ee17e1253067612fecf672bf3e..846fc600469ec7df8527f324f127e517c717cdbd 100644 (file)
@@ -59,7 +59,7 @@ is_face_on_OY(const typename DoFHandler<dim>::active_cell_iterator &cell,
 template <int dim>
 void
 create_and_output_flux_sparsity_with_filter(
-  DoFHandler<dim> &                       dof_handler,
+  DoFHandler<dim>                        &dof_handler,
   std::function<bool(const typename DoFHandler<dim>::active_cell_iterator,
                      const unsigned int)> filter)
 {
@@ -74,7 +74,7 @@ create_and_output_flux_sparsity_with_filter(
                                        coupling,
                                        coupling,
                                        numbers::invalid_subdomain_id,
-                                       [&](const auto &       cell,
+                                       [&](const auto        &cell,
                                            const unsigned int face_index) {
                                          return filter(cell, face_index);
                                        });
index a9afa1bafa163125b0f28d9ee58e25833cd39062..02d55c56a5c83b73fa229a5621166bcfca67d1f3 100644 (file)
@@ -28,7 +28,7 @@ class TestPattern : public SparsityPatternBase
   using SparsityPatternBase::size_type;
 
   virtual void
-  add_row_entries(const size_type &                 row,
+  add_row_entries(const size_type                  &row,
                   const ArrayView<const size_type> &columns,
                   const bool indices_are_sorted = false) override
   {
index 8228c8a841f0207027d58157f862020779147d3b..1df1135266f2268811ebcc2beec02d8318eb1ab4 100644 (file)
@@ -245,7 +245,7 @@ copy_with_offdiagonals_2<DynamicSparsityPattern>()
 void
 do_copy_from(
   const std::list<std::set<unsigned int, std::greater<unsigned int>>> &sparsity,
-  SparsityPattern &                                                    sp4)
+  SparsityPattern                                                     &sp4)
 {
   sp4.copy_from((N - 1) * (N - 1),
                 (N - 1) * (N - 1),
@@ -258,7 +258,7 @@ do_copy_from(
 void
 do_copy_from(
   const std::list<std::set<unsigned int, std::greater<unsigned int>>> &sparsity,
-  ChunkSparsityPattern &                                               sp4)
+  ChunkSparsityPattern                                                &sp4)
 {
   sp4.copy_from((N - 1) * (N - 1),
                 (N - 1) * (N - 1),
index b7871a06f86ea0fb1cdb80757afa2ebec7b1a32c..ab1fcef432eb7d98b9cf4aef4e59edae6bbf3c85 100644 (file)
@@ -89,7 +89,7 @@ main()
   };
 
   ode.jacobian_times_vector = [&](const VectorType &src,
-                                  VectorType &      dst,
+                                  VectorType       &dst,
                                   double            t,
                                   const VectorType & /*y*/,
                                   const VectorType & /*fy*/) {
index 998e14dcbc31b2184b4e3ed6aa8d186fb3d9b477..4218fc7ad6e8602e7d488547ff462a2c6d9073a5 100644 (file)
@@ -102,7 +102,7 @@ main()
     };
 
   ode.jacobian_times_vector = [&](const VectorType &v,
-                                  VectorType &      Jv,
+                                  VectorType       &Jv,
                                   double            t,
                                   const VectorType &y,
                                   const VectorType &fy) { J.vmult(Jv, v); };
@@ -110,7 +110,7 @@ main()
   ode.solve_linearized_system =
     [&](SUNDIALS::SundialsOperator<VectorType> &op,
         SUNDIALS::SundialsPreconditioner<VectorType> &,
-        VectorType &      x,
+        VectorType       &x,
         const VectorType &b,
         double            tol) {
       ReductionControl     control;
index 9172bcbd9361187cdc656f7ed810d737eb0f8d31..f228c0f0f0e310f201c64eb68926491edde7916d 100644 (file)
@@ -102,16 +102,16 @@ main()
     };
 
   ode.jacobian_times_vector = [&](const VectorType &v,
-                                  VectorType &      Jv,
+                                  VectorType       &Jv,
                                   double            t,
                                   const VectorType &y,
                                   const VectorType &fy) { J.vmult(Jv, v); };
 
   ode.solve_linearized_system =
-    [&](SUNDIALS::SundialsOperator<VectorType> &      op,
+    [&](SUNDIALS::SundialsOperator<VectorType>       &op,
         SUNDIALS::SundialsPreconditioner<VectorType> &prec,
-        VectorType &                                  x,
-        const VectorType &                            b,
+        VectorType                                   &x,
+        const VectorType                             &b,
         double                                        tol) {
       ReductionControl     control;
       SolverCG<VectorType> solver_cg(control);
@@ -122,7 +122,7 @@ main()
                                           const VectorType &y,
                                           const VectorType &fy,
                                           int               jok,
-                                          int &             jcur,
+                                          int              &jcur,
                                           double            gamma) {
     deallog << "jacobian_preconditioner_setup called\n";
   };
@@ -131,7 +131,7 @@ main()
                                           const VectorType &y,
                                           const VectorType &fy,
                                           const VectorType &r,
-                                          VectorType &      z,
+                                          VectorType       &z,
                                           double            gamma,
                                           double            delta,
                                           int               lr) {
index 2dffda7fd998735782d0910f38a421f38556770a..373d65e0fad64dfa4a6e0252fc3b4187a12a6acd 100644 (file)
@@ -90,16 +90,16 @@ main()
   };
 
   ode.jacobian_times_vector = [&](const VectorType &v,
-                                  VectorType &      Jv,
+                                  VectorType       &Jv,
                                   double            t,
                                   const VectorType &y,
                                   const VectorType &fy) { K.vmult(Jv, v); };
 
   const auto solve_function =
-    [&](SUNDIALS::SundialsOperator<VectorType> &      op,
+    [&](SUNDIALS::SundialsOperator<VectorType>       &op,
         SUNDIALS::SundialsPreconditioner<VectorType> &prec,
-        VectorType &                                  x,
-        const VectorType &                            b,
+        VectorType                                   &x,
+        const VectorType                             &b,
         double                                        tol) {
       ReductionControl     control;
       SolverCG<VectorType> solver_cg(control);
@@ -127,7 +127,7 @@ main()
 
   ode.mass_times_vector = [&](const double      t,
                               const VectorType &v,
-                              VectorType &      Mv) { M.vmult(Mv, v); };
+                              VectorType       &Mv) { M.vmult(Mv, v); };
 
 
   ode.output_step =
index ca3af126f16ca487b632e7b06207b4ab0e10b51e..9f8342e4a970f0abccab80e31984e850ba9a7205 100644 (file)
@@ -75,7 +75,7 @@ main()
   };
 
   ode.jacobian_times_vector = [&](const VectorType &v,
-                                  VectorType &      Jv,
+                                  VectorType       &Jv,
                                   double            t,
                                   const VectorType &y,
                                   const VectorType &fy) { K.vmult(Jv, v); };
@@ -101,10 +101,10 @@ main()
     };
 
 
-  ode.solve_mass = [&](SUNDIALS::SundialsOperator<VectorType> &      op,
+  ode.solve_mass = [&](SUNDIALS::SundialsOperator<VectorType>       &op,
                        SUNDIALS::SundialsPreconditioner<VectorType> &prec,
-                       VectorType &                                  x,
-                       const VectorType &                            b,
+                       VectorType                                   &x,
+                       const VectorType                             &b,
                        double                                        tol) {
     ReductionControl     control;
     SolverCG<VectorType> solver_cg(control);
@@ -128,7 +128,7 @@ main()
 
   ode.mass_times_vector = [&](const double      t,
                               const VectorType &v,
-                              VectorType &      Mv) { M.vmult(Mv, v); };
+                              VectorType       &Mv) { M.vmult(Mv, v); };
 
 
   ode.output_step =
index bed8049a9eb514f50530c75eab66aa2acd8b59cc..cb6b933a95629ba34c25fe36fe8153a19c5509e4 100644 (file)
@@ -75,7 +75,7 @@ main()
   };
 
   ode.jacobian_times_vector = [&](const VectorType &v,
-                                  VectorType &      Jv,
+                                  VectorType       &Jv,
                                   double            t,
                                   const VectorType &y,
                                   const VectorType &fy) { K.vmult(Jv, v); };
@@ -102,10 +102,10 @@ main()
 
 
   ode.solve_linearized_system =
-    [&](SUNDIALS::SundialsOperator<VectorType> &      op,
+    [&](SUNDIALS::SundialsOperator<VectorType>       &op,
         SUNDIALS::SundialsPreconditioner<VectorType> &prec,
-        VectorType &                                  x,
-        const VectorType &                            b,
+        VectorType                                   &x,
+        const VectorType                             &b,
         double                                        tol) {
       ReductionControl     control;
       SolverCG<VectorType> solver_cg(control);
@@ -129,7 +129,7 @@ main()
 
   ode.mass_times_vector = [&](const double      t,
                               const VectorType &v,
-                              VectorType &      Mv) { M.vmult(Mv, v); };
+                              VectorType       &Mv) { M.vmult(Mv, v); };
 
 
   ode.output_step =
index 928fddb70e093e95925367129efff02008c31373..98753980b4034ee774d2b79d219ada3d434e931d 100644 (file)
@@ -76,7 +76,7 @@ public:
     time_stepper.residual = [&](const double      t,
                                 const VectorType &y,
                                 const VectorType &y_dot,
-                                VectorType &      res) {
+                                VectorType       &res) {
       res = y_dot;
       A.vmult_add(res, y);
     };
@@ -102,8 +102,8 @@ public:
       };
 
     time_stepper.output_step = [&](const double       t,
-                                   const VectorType sol,
-                                   const VectorType sol_dot,
+                                   const VectorType  &sol,
+                                   const VectorType  &sol_dot,
                                    const unsigned int step_number) {
       deallog << t << ' ' << sol[0] << ' ' << sol[1] << ' ' << sol_dot[0] << ' '
               << sol_dot[1] << std::endl;
index af3aa2bf7ba49bd70408d3af40f3074357fb1c3f..0e61fee7f2d4d2278e1e8a132f76cb3563b9dc45 100644 (file)
@@ -79,7 +79,7 @@ public:
     time_stepper.residual = [&](const double      t,
                                 const VectorType &y,
                                 const VectorType &y_dot,
-                                VectorType &      res) {
+                                VectorType       &res) {
       res = y_dot;
       A.vmult_add(res, y);
     };
@@ -105,8 +105,8 @@ public:
       };
 
     time_stepper.output_step = [&](const double       t,
-                                   const VectorType sol,
-                                   const VectorType sol_dot,
+                                   const VectorType  &sol,
+                                   const VectorType  &sol_dot,
                                    const unsigned int step_number) {
       deallog << t << ' ' << sol[0] << ' ' << sol[1] << ' ' << sol_dot[0] << ' '
               << sol_dot[1] << std::endl;
index a2b576808d70a722ba377e1ef476be4b4a53ff16..f24ea912d330e9f8fa761c0aca4d0ccd41048d1f 100644 (file)
@@ -63,7 +63,7 @@ public:
     time_stepper.residual = [&](const double      t,
                                 const VectorType &y,
                                 const VectorType &y_dot,
-                                VectorType &      res) {
+                                VectorType       &res) {
       res[0] = y_dot[0] + kappa * y[0];
     };
 
@@ -80,8 +80,8 @@ public:
       };
 
     time_stepper.output_step = [&](const double       t,
-                                   const VectorType sol,
-                                   const VectorType sol_dot,
+                                   const VectorType  &sol,
+                                   const VectorType  &sol_dot,
                                    const unsigned int step_number) {
       deallog << "Intermediate output:" << std::endl;
       deallog << "  t =" << t << std::endl;
index 0f00b4e75f63929445c3cc153978f516c13f3d28..133f7b241506efa9d8706cb07d7f2760b2d2347c 100644 (file)
@@ -67,7 +67,7 @@ public:
     time_stepper.residual = [&](const double      t,
                                 const VectorType &y,
                                 const VectorType &y_dot,
-                                VectorType &      res) {
+                                VectorType       &res) {
       deallog << "Evaluating residual at t=" << t << std::endl;
 
       if (t > last_residual_eval_time + 0.1)
@@ -95,8 +95,8 @@ public:
       };
 
     time_stepper.output_step = [&](const double       t,
-                                   const VectorType sol,
-                                   const VectorType sol_dot,
+                                   const VectorType  &sol,
+                                   const VectorType  &sol_dot,
                                    const unsigned int step_number) {
       deallog << "Intermediate output:" << std::endl;
       deallog << "  t =" << t << std::endl;
index 7b4d6c38d112b3450598f2829fb8a6accb1e747b..1fabff2b5de9dfe404f94e34db6ebea81c2483ff 100644 (file)
@@ -68,7 +68,7 @@ public:
     time_stepper.residual = [&](const double      t,
                                 const VectorType &y,
                                 const VectorType &y_dot,
-                                VectorType &      res) {
+                                VectorType       &res) {
       deallog << "Evaluating residual at t=" << t << std::endl;
 
       if (t > last_residual_eval_time + 0.1)
@@ -96,8 +96,8 @@ public:
       };
 
     time_stepper.output_step = [&](const double       t,
-                                   const VectorType sol,
-                                   const VectorType sol_dot,
+                                   const VectorType  &sol,
+                                   const VectorType  &sol_dot,
                                    const unsigned int step_number) {
       deallog << "Intermediate output:" << std::endl;
       deallog << "  t =" << t << std::endl;
index bbc5014273ba103147c28e955e1007cdd1a1ac4a..ba1ec73285b23860c8dcb7d33477b0b50f4344cc 100644 (file)
@@ -114,7 +114,7 @@ main()
 
 
   kinsol.solve_with_jacobian = [&J_inverse](const VectorType &rhs,
-                                            VectorType &      dst,
+                                            VectorType       &dst,
                                             const double /*tolerance*/) {
     deallog << "Solving Jacobian system with rhs=(" << rhs[0] << ',' << rhs[1]
             << ')' << std::endl;
index 53f96ee9d80b0a8b481eeca74cbfd55c75db8736..ec6d82b22f79c9939f33ac51837e905a2fe93a45 100644 (file)
@@ -114,7 +114,7 @@ main()
 
 
   kinsol.solve_with_jacobian = [&J_inverse](const VectorType &rhs,
-                                            VectorType &      dst,
+                                            VectorType       &dst,
                                             const double /*tolerance*/) {
     deallog << "Solving Jacobian system with rhs=(" << rhs[0] << ',' << rhs[1]
             << ')' << std::endl;
index 5e1aba6e189e72fc03314253f37534bece5d2720..1a27497df174b9288359b4a8085b0ac81dcc8d94 100644 (file)
@@ -86,7 +86,7 @@ main()
 
 
   kinsol.solve_with_jacobian = [&](const VectorType &rhs,
-                                   VectorType &      dst,
+                                   VectorType       &dst,
                                    double) { dst[0] = J_inverse * rhs[0]; };
 
   VectorType v(N);
index 83089b90885e8df7d43fb00296682969fe52871d..dfd672e9e2802ea22ef28a8a264794adb269e789 100644 (file)
@@ -76,7 +76,7 @@ main()
 
 
   kinsol.solve_with_jacobian = [&](const VectorType &rhs,
-                                   VectorType &      dst,
+                                   VectorType       &dst,
                                    double) { dst[0] = J_inverse * rhs[0]; };
 
   VectorType v(N);
index 0a1f0473aaafeb7e0e00aba6d45b72a9206166b0..277a01d4a3868b384fabc4532b5b5daa298654ee 100644 (file)
@@ -33,8 +33,8 @@ namespace
   void
   kinsol_info_callback(const char *module,
                        const char *function,
-                       char *      msg,
-                       void *      ih_data)
+                       char       *msg,
+                       void       *ih_data)
   {
     (void)ih_data;
     deallog << "KINSOL info: " << module << ":" << function << ": " << msg
index 51a9ed0049317f1dbbbe6b8e17523715aff0d2d2..be7bf0e1d123423eda3f587062af9501120b74e8 100644 (file)
@@ -67,7 +67,7 @@ namespace Step77
     setup_system(const bool initial_step);
     void
     solve(const Vector<double> &rhs,
-          Vector<double> &      solution,
+          Vector<double>       &solution,
           const double          tolerance);
     void
     refine_mesh();
@@ -79,7 +79,7 @@ namespace Step77
     compute_and_factorize_jacobian(const Vector<double> &evaluation_point);
     void
     compute_residual(const Vector<double> &evaluation_point,
-                     Vector<double> &      residual);
+                     Vector<double>       &residual);
 
     Triangulation<dim> triangulation;
 
@@ -241,7 +241,7 @@ namespace Step77
   void
   MinimalSurfaceProblem<dim>::compute_residual(
     const Vector<double> &evaluation_point,
-    Vector<double> &      residual)
+    Vector<double>       &residual)
   {
     residual = 0.0;
 
@@ -303,7 +303,7 @@ namespace Step77
   template <int dim>
   void
   MinimalSurfaceProblem<dim>::solve(const Vector<double> &rhs,
-                                    Vector<double> &      solution,
+                                    Vector<double>       &solution,
                                     const double /*tolerance*/)
   {
     jacobian_matrix_factorization->vmult(solution, rhs);
@@ -424,7 +424,7 @@ namespace Step77
 
           nonlinear_solver.residual =
             [&](const Vector<double> &evaluation_point,
-                Vector<double> &      residual) {
+                Vector<double>       &residual) {
               compute_residual(evaluation_point, residual);
             };
 
@@ -435,7 +435,7 @@ namespace Step77
             };
 
           nonlinear_solver.solve_with_jacobian = [&](const Vector<double> &rhs,
-                                                     Vector<double> &      dst,
+                                                     Vector<double>       &dst,
                                                      const double tolerance) {
             solve(rhs, dst, tolerance);
           };
index e9bd48e9db62f514396147e2dfe34ad6014401d2..295c35cd045eb8446c089bd7e936ca1a6d520f07 100644 (file)
@@ -82,7 +82,7 @@ make_symengine_rcp(const std::string &name)
 }
 
 SE::RCP<const SE::Basic>
-make_symengine_rcp(const std::string &                          name,
+make_symengine_rcp(const std::string                           &name,
                    const std::vector<SE::RCP<const SE::Basic>> &args)
 {
   return SE::function_symbol(name, args);
index b44d1a63b014c0d3dfa0d489754fdea079edff5d..0773177757371383c26ba89c1c47dc3a3f2ce904 100644 (file)
@@ -63,19 +63,19 @@ test_explicit()
   SE::RCP<const SE::Symbol> H_sat_0  = SE::symbol("H_sat_0");
 
   SE::vec_basic       independents      = {H_0,
-                                H_2,
-                                H_1,
-                                mu_r,
-                                mu_e,
-                                C_22,
-                                C_12,
-                                C_11,
-                                C_00,
-                                C_01,
-                                C_02,
-                                kappa,
-                                sf_sat_0,
-                                H_sat_0};
+                                           H_2,
+                                           H_1,
+                                           mu_r,
+                                           mu_e,
+                                           C_22,
+                                           C_12,
+                                           C_11,
+                                           C_00,
+                                           C_01,
+                                           C_02,
+                                           kappa,
+                                           sf_sat_0,
+                                           H_sat_0};
   std::vector<double> independents_vals = {0,
                                            75000,
                                            0,
index 7c7072250f517216312b3963dcbb5539b096dda7..9e2e1072f9173c2b8d75af95dfa405cb652d48e5 100644 (file)
@@ -137,7 +137,7 @@ struct CoupledFunction
   static NumberType
   psi(const Tensor<2, dim, NumberType> &t,
       const Tensor<1, dim, NumberType> &v,
-      const NumberType &                s)
+      const NumberType                 &s)
   {
     return std::pow(det_t(t), 2) * std::pow(v_dot_v(v), 3) * std::pow(s, sf);
   };
@@ -158,7 +158,7 @@ struct CoupledFunction
   static Tensor<2, dim, NumberType>
   dpsi_dt(const Tensor<2, dim, NumberType> &t,
           const Tensor<1, dim, NumberType> &v,
-          const NumberType &                s)
+          const NumberType                 &s)
   {
     return 2.0 * std::pow(det_t(t), 1) * ddet_t_dt(t) *
            std::pow(v_dot_v(v), 3) * std::pow(s, sf);
@@ -167,7 +167,7 @@ struct CoupledFunction
   static Tensor<1, dim, NumberType>
   dpsi_dv(const Tensor<2, dim, NumberType> &t,
           const Tensor<1, dim, NumberType> &v,
-          const NumberType &                s)
+          const NumberType                 &s)
   {
     return std::pow(det_t(t), 2) * 3.0 * std::pow(v_dot_v(v), 2) *
            dv_dot_v_dv(v) * std::pow(s, sf);
@@ -176,7 +176,7 @@ struct CoupledFunction
   static NumberType
   dpsi_ds(const Tensor<2, dim, NumberType> &t,
           const Tensor<1, dim, NumberType> &v,
-          const NumberType &                s)
+          const NumberType                 &s)
   {
     return std::pow(det_t(t), 2) * std::pow(v_dot_v(v), 3) * sf *
            std::pow(s, sf - 1.0);
@@ -185,7 +185,7 @@ struct CoupledFunction
   static Tensor<4, dim, NumberType>
   d2psi_dt_dt(const Tensor<2, dim, NumberType> &t,
               const Tensor<1, dim, NumberType> &v,
-              const NumberType &                s)
+              const NumberType                 &s)
   {
     return 2.0 * std::pow(v_dot_v(v), 3) *
            (std::pow(det_t(t), 0) * outer_product(ddet_t_dt(t), ddet_t_dt(t)) +
@@ -196,7 +196,7 @@ struct CoupledFunction
   static Tensor<3, dim, NumberType>
   d2psi_dv_dt(const Tensor<2, dim, NumberType> &t,
               const Tensor<1, dim, NumberType> &v,
-              const NumberType &                s)
+              const NumberType                 &s)
   {
     return 2.0 * std::pow(det_t(t), 1) * 3.0 * std::pow(v_dot_v(v), 2) *
            outer_product(ddet_t_dt(t), dv_dot_v_dv(v)) * std::pow(s, sf);
@@ -205,7 +205,7 @@ struct CoupledFunction
   static Tensor<2, dim, NumberType>
   d2psi_ds_dt(const Tensor<2, dim, NumberType> &t,
               const Tensor<1, dim, NumberType> &v,
-              const NumberType &                s)
+              const NumberType                 &s)
   {
     return 2.0 * std::pow(det_t(t), 1) * ddet_t_dt(t) *
            std::pow(v_dot_v(v), 3) * sf * std::pow(s, sf - 1.0);
@@ -214,7 +214,7 @@ struct CoupledFunction
   static Tensor<3, dim, NumberType>
   d2psi_dt_dv(const Tensor<2, dim, NumberType> &t,
               const Tensor<1, dim, NumberType> &v,
-              const NumberType &                s)
+              const NumberType                 &s)
   {
     return 2.0 * std::pow(det_t(t), 1) * 3.0 * std::pow(v_dot_v(v), 2) *
            outer_product(dv_dot_v_dv(v), ddet_t_dt(t)) * std::pow(s, sf);
@@ -223,7 +223,7 @@ struct CoupledFunction
   static Tensor<2, dim, NumberType>
   d2psi_dv_dv(const Tensor<2, dim, NumberType> &t,
               const Tensor<1, dim, NumberType> &v,
-              const NumberType &                s)
+              const NumberType                 &s)
   {
     return std::pow(det_t(t), 2) * 3.0 *
            (2.0 * std::pow(v_dot_v(v), 1) *
@@ -235,7 +235,7 @@ struct CoupledFunction
   static Tensor<1, dim, NumberType>
   d2psi_ds_dv(const Tensor<2, dim, NumberType> &t,
               const Tensor<1, dim, NumberType> &v,
-              const NumberType &                s)
+              const NumberType                 &s)
   {
     return std::pow(det_t(t), 2) * 3.0 * std::pow(v_dot_v(v), 2) *
            dv_dot_v_dv(v) * sf * std::pow(s, sf - 1.0);
@@ -244,7 +244,7 @@ struct CoupledFunction
   static Tensor<2, dim, NumberType>
   d2psi_dt_ds(const Tensor<2, dim, NumberType> &t,
               const Tensor<1, dim, NumberType> &v,
-              const NumberType &                s)
+              const NumberType                 &s)
   {
     return 2.0 * std::pow(det_t(t), 1) * ddet_t_dt(t) *
            std::pow(v_dot_v(v), 3) * sf * std::pow(s, sf - 1.0);
@@ -253,7 +253,7 @@ struct CoupledFunction
   static Tensor<1, dim, NumberType>
   d2psi_dv_ds(const Tensor<2, dim, NumberType> &t,
               const Tensor<1, dim, NumberType> &v,
-              const NumberType &                s)
+              const NumberType                 &s)
   {
     return std::pow(det_t(t), 2) * 3.0 * std::pow(v_dot_v(v), 2) *
            dv_dot_v_dv(v) * sf * std::pow(s, sf - 1.0);
@@ -262,7 +262,7 @@ struct CoupledFunction
   static NumberType
   d2psi_ds_ds(const Tensor<2, dim, NumberType> &t,
               const Tensor<1, dim, NumberType> &v,
-              const NumberType &                s)
+              const NumberType                 &s)
   {
     return std::pow(det_t(t), 2) * std::pow(v_dot_v(v), 3) * sf * (sf - 1.0) *
            std::pow(s, sf - 2.0);
@@ -280,16 +280,16 @@ print(Stream &stream, const std::string &name, const NumberType &val)
 }
 template <typename Stream, int dim, typename NumberType>
 void
-print(Stream &                          stream,
-      const std::string &               name,
+print(Stream                           &stream,
+      const std::string                &name,
       const Tensor<0, dim, NumberType> &val)
 {
   stream << name << ": " << val << std::endl;
 }
 template <typename Stream, int dim, typename NumberType>
 void
-print(Stream &                          stream,
-      const std::string &               name,
+print(Stream                           &stream,
+      const std::string                &name,
       const Tensor<1, dim, NumberType> &t)
 {
   for (unsigned int i = 0; i < dim; ++i)
@@ -297,8 +297,8 @@ print(Stream &                          stream,
 }
 template <typename Stream, int dim, typename NumberType>
 void
-print(Stream &                          stream,
-      const std::string &               name,
+print(Stream                           &stream,
+      const std::string                &name,
       const Tensor<2, dim, NumberType> &t)
 {
   for (unsigned int i = 0; i < dim; ++i)
@@ -307,8 +307,8 @@ print(Stream &                          stream,
 }
 template <typename Stream, int dim, typename NumberType>
 void
-print(Stream &                          stream,
-      const std::string &               name,
+print(Stream                           &stream,
+      const std::string                &name,
       const Tensor<3, dim, NumberType> &t)
 {
   for (unsigned int i = 0; i < dim; ++i)
@@ -319,8 +319,8 @@ print(Stream &                          stream,
 }
 template <typename Stream, int dim, typename NumberType>
 void
-print(Stream &                          stream,
-      const std::string &               name,
+print(Stream                           &stream,
+      const std::string                &name,
       const Tensor<4, dim, NumberType> &t)
 {
   for (unsigned int i = 0; i < dim; ++i)
@@ -338,7 +338,7 @@ template <int dim,
 void
 evaluate_SD_SD_stored_symbols_optimisation(const Tensor<2, dim> &t,
                                            const Tensor<1, dim> &v,
-                                           const double &        s)
+                                           const double         &s)
 {
   using SDNumberType = SD::Expression;
 
index 3bf2fee15fa5e573b2afca30ea5f629642d0fb25..6bc80d866a0a93ba9c92cf4c96653ca2457cdee6 100644 (file)
@@ -133,7 +133,7 @@ struct CoupledFunction
   static NumberType
   psi(const Tensor<2, dim, NumberType> &t,
       const Tensor<1, dim, NumberType> &v,
-      const NumberType &                s)
+      const NumberType                 &s)
   {
     return std::pow(det_t(t), 2) * std::pow(v_dot_v(v), 3) * std::pow(s, sf);
   };
@@ -154,7 +154,7 @@ struct CoupledFunction
   static Tensor<2, dim, NumberType>
   dpsi_dt(const Tensor<2, dim, NumberType> &t,
           const Tensor<1, dim, NumberType> &v,
-          const NumberType &                s)
+          const NumberType                 &s)
   {
     return 2.0 * std::pow(det_t(t), 1) * ddet_t_dt(t) *
            std::pow(v_dot_v(v), 3) * std::pow(s, sf);
@@ -163,7 +163,7 @@ struct CoupledFunction
   static Tensor<1, dim, NumberType>
   dpsi_dv(const Tensor<2, dim, NumberType> &t,
           const Tensor<1, dim, NumberType> &v,
-          const NumberType &                s)
+          const NumberType                 &s)
   {
     return std::pow(det_t(t), 2) * 3.0 * std::pow(v_dot_v(v), 2) *
            dv_dot_v_dv(v) * std::pow(s, sf);
@@ -172,7 +172,7 @@ struct CoupledFunction
   static NumberType
   dpsi_ds(const Tensor<2, dim, NumberType> &t,
           const Tensor<1, dim, NumberType> &v,
-          const NumberType &                s)
+          const NumberType                 &s)
   {
     return std::pow(det_t(t), 2) * std::pow(v_dot_v(v), 3) * sf *
            std::pow(s, sf - 1.0);
@@ -181,7 +181,7 @@ struct CoupledFunction
   static Tensor<4, dim, NumberType>
   d2psi_dt_dt(const Tensor<2, dim, NumberType> &t,
               const Tensor<1, dim, NumberType> &v,
-              const NumberType &                s)
+              const NumberType                 &s)
   {
     return 2.0 * std::pow(v_dot_v(v), 3) *
            (std::pow(det_t(t), 0) * outer_product(ddet_t_dt(t), ddet_t_dt(t)) +
@@ -192,7 +192,7 @@ struct CoupledFunction
   static Tensor<3, dim, NumberType>
   d2psi_dv_dt(const Tensor<2, dim, NumberType> &t,
               const Tensor<1, dim, NumberType> &v,
-              const NumberType &                s)
+              const NumberType                 &s)
   {
     return 2.0 * std::pow(det_t(t), 1) * 3.0 * std::pow(v_dot_v(v), 2) *
            outer_product(ddet_t_dt(t), dv_dot_v_dv(v)) * std::pow(s, sf);
@@ -201,7 +201,7 @@ struct CoupledFunction
   static Tensor<2, dim, NumberType>
   d2psi_ds_dt(const Tensor<2, dim, NumberType> &t,
               const Tensor<1, dim, NumberType> &v,
-              const NumberType &                s)
+              const NumberType                 &s)
   {
     return 2.0 * std::pow(det_t(t), 1) * ddet_t_dt(t) *
            std::pow(v_dot_v(v), 3) * sf * std::pow(s, sf - 1.0);
@@ -210,7 +210,7 @@ struct CoupledFunction
   static Tensor<3, dim, NumberType>
   d2psi_dt_dv(const Tensor<2, dim, NumberType> &t,
               const Tensor<1, dim, NumberType> &v,
-              const NumberType &                s)
+              const NumberType                 &s)
   {
     return 2.0 * std::pow(det_t(t), 1) * 3.0 * std::pow(v_dot_v(v), 2) *
            outer_product(dv_dot_v_dv(v), ddet_t_dt(t)) * std::pow(s, sf);
@@ -219,7 +219,7 @@ struct CoupledFunction
   static Tensor<2, dim, NumberType>
   d2psi_dv_dv(const Tensor<2, dim, NumberType> &t,
               const Tensor<1, dim, NumberType> &v,
-              const NumberType &                s)
+              const NumberType                 &s)
   {
     return std::pow(det_t(t), 2) * 3.0 *
            (2.0 * std::pow(v_dot_v(v), 1) *
@@ -231,7 +231,7 @@ struct CoupledFunction
   static Tensor<1, dim, NumberType>
   d2psi_ds_dv(const Tensor<2, dim, NumberType> &t,
               const Tensor<1, dim, NumberType> &v,
-              const NumberType &                s)
+              const NumberType                 &s)
   {
     return std::pow(det_t(t), 2) * 3.0 * std::pow(v_dot_v(v), 2) *
            dv_dot_v_dv(v) * sf * std::pow(s, sf - 1.0);
@@ -240,7 +240,7 @@ struct CoupledFunction
   static Tensor<2, dim, NumberType>
   d2psi_dt_ds(const Tensor<2, dim, NumberType> &t,
               const Tensor<1, dim, NumberType> &v,
-              const NumberType &                s)
+              const NumberType                 &s)
   {
     return 2.0 * std::pow(det_t(t), 1) * ddet_t_dt(t) *
            std::pow(v_dot_v(v), 3) * sf * std::pow(s, sf - 1.0);
@@ -249,7 +249,7 @@ struct CoupledFunction
   static Tensor<1, dim, NumberType>
   d2psi_dv_ds(const Tensor<2, dim, NumberType> &t,
               const Tensor<1, dim, NumberType> &v,
-              const NumberType &                s)
+              const NumberType                 &s)
   {
     return std::pow(det_t(t), 2) * 3.0 * std::pow(v_dot_v(v), 2) *
            dv_dot_v_dv(v) * sf * std::pow(s, sf - 1.0);
@@ -258,7 +258,7 @@ struct CoupledFunction
   static NumberType
   d2psi_ds_ds(const Tensor<2, dim, NumberType> &t,
               const Tensor<1, dim, NumberType> &v,
-              const NumberType &                s)
+              const NumberType                 &s)
   {
     return std::pow(det_t(t), 2) * std::pow(v_dot_v(v), 3) * sf * (sf - 1.0) *
            std::pow(s, sf - 2.0);
@@ -275,7 +275,7 @@ template <int dim,
 void
 evaluate_SD_SD_stored_symbols_optimisation(const Tensor<2, dim> &t,
                                            const Tensor<1, dim> &v,
-                                           const double &        s)
+                                           const double         &s)
 {
   using SDNumberType = SD::Expression;
 
index d53d5c1af9b171ca87afc965e3e0801032a62b82..fcbf8d8efc6bca698461fca2ffa681b8a161a990 100644 (file)
@@ -366,16 +366,16 @@ namespace Step44
     static const SymmetricTensor<4, dim> dev_P;
   };
   template <int dim>
-  const SymmetricTensor<2, dim>
-    StandardTensors<dim>::I = unit_symmetric_tensor<dim>();
+  const SymmetricTensor<2, dim> StandardTensors<dim>::I =
+    unit_symmetric_tensor<dim>();
   template <int dim>
   const SymmetricTensor<4, dim> StandardTensors<dim>::IxI = outer_product(I, I);
   template <int dim>
-  const SymmetricTensor<4, dim>
-    StandardTensors<dim>::II = identity_tensor<dim>();
+  const SymmetricTensor<4, dim> StandardTensors<dim>::II =
+    identity_tensor<dim>();
   template <int dim>
-  const SymmetricTensor<4, dim>
-    StandardTensors<dim>::dev_P = deviator_tensor<dim>();
+  const SymmetricTensor<4, dim> StandardTensors<dim>::dev_P =
+    deviator_tensor<dim>();
   class Time
   {
   public:
@@ -583,8 +583,8 @@ namespace Step44
     void
     assemble_system_tangent_one_cell(
       const typename DoFHandler<dim>::active_cell_iterator &cell,
-      ScratchData_K &                                       scratch,
-      PerTaskData_K &                                       data) const;
+      ScratchData_K                                        &scratch,
+      PerTaskData_K                                        &data) const;
     void
     copy_local_to_global_K(const PerTaskData_K &data);
     void
@@ -592,8 +592,8 @@ namespace Step44
     void
     assemble_system_rhs_one_cell(
       const typename DoFHandler<dim>::active_cell_iterator &cell,
-      ScratchData_RHS &                                     scratch,
-      PerTaskData_RHS &                                     data) const;
+      ScratchData_RHS                                      &scratch,
+      PerTaskData_RHS                                      &data) const;
     void
     copy_local_to_global_rhs(const PerTaskData_RHS &data);
     void
@@ -601,8 +601,8 @@ namespace Step44
     void
     assemble_sc_one_cell(
       const typename DoFHandler<dim>::active_cell_iterator &cell,
-      ScratchData_SC &                                      scratch,
-      PerTaskData_SC &                                      data);
+      ScratchData_SC                                       &scratch,
+      PerTaskData_SC                                       &data);
     void
     copy_local_to_global_sc(const PerTaskData_SC &data);
     void
@@ -614,8 +614,8 @@ namespace Step44
     void
     update_qph_incremental_one_cell(
       const typename DoFHandler<dim>::active_cell_iterator &cell,
-      ScratchData_UQPH &                                    scratch,
-      PerTaskData_UQPH &                                    data);
+      ScratchData_UQPH                                     &scratch,
+      PerTaskData_UQPH                                     &data);
     void
     copy_local_to_global_UQPH(const PerTaskData_UQPH & /*data*/)
     {}
@@ -702,7 +702,7 @@ namespace Step44
     get_error_residual(Errors &error_residual);
     void
     get_error_update(const BlockVector<double> &newton_update,
-                     Errors &                   error_update);
+                     Errors                    &error_update);
     std::pair<double, double>
     get_error_dilation() const;
     double
@@ -817,7 +817,7 @@ namespace Step44
     std::vector<std::vector<Tensor<2, dim>>>          grad_Nx;
     std::vector<std::vector<SymmetricTensor<2, dim>>> symm_grad_Nx;
     ScratchData_K(const FiniteElement<dim> &fe_cell,
-                  const QGauss<dim> &       qf_cell,
+                  const QGauss<dim>        &qf_cell,
                   const UpdateFlags         uf_cell)
       : fe_values_ref(fe_cell, qf_cell, uf_cell)
       , Nx(qf_cell.size(), std::vector<double>(fe_cell.dofs_per_cell))
@@ -879,9 +879,9 @@ namespace Step44
     std::vector<std::vector<double>>                  Nx;
     std::vector<std::vector<SymmetricTensor<2, dim>>> symm_grad_Nx;
     ScratchData_RHS(const FiniteElement<dim> &fe_cell,
-                    const QGauss<dim> &       qf_cell,
+                    const QGauss<dim>        &qf_cell,
                     const UpdateFlags         uf_cell,
-                    const QGauss<dim - 1> &   qf_face,
+                    const QGauss<dim - 1>    &qf_face,
                     const UpdateFlags         uf_face)
       : fe_values_ref(fe_cell, qf_cell, uf_cell)
       , fe_face_values_ref(fe_cell, qf_face, uf_face)
@@ -969,13 +969,13 @@ namespace Step44
   template <int dim>
   struct Solid<dim>::ScratchData_UQPH
   {
-    const BlockVector<double> solution_total;
+    const BlockVector<double>  &solution_total;
     std::vector<Tensor<2, dim>> solution_grads_u_total;
     std::vector<double>         solution_values_p_total;
     std::vector<double>         solution_values_J_total;
     FEValues<dim>               fe_values_ref;
-    ScratchData_UQPH(const FiniteElement<dim> fe_cell,
-                     const QGauss<dim> &        qf_cell,
+    ScratchData_UQPH(const FiniteElement<dim>  &fe_cell,
+                     const QGauss<dim>         &qf_cell,
                      const UpdateFlags          uf_cell,
                      const BlockVector<double> &solution_total)
       : solution_total(solution_total)
@@ -1176,7 +1176,7 @@ namespace Step44
   void
   Solid<dim>::update_qph_incremental_one_cell(
     const typename DoFHandler<dim>::active_cell_iterator &cell,
-    ScratchData_UQPH &                                    scratch,
+    ScratchData_UQPH                                     &scratch,
     PerTaskData_UQPH & /*data*/)
   {
     const std::vector<std::shared_ptr<PointHistory<dim>>> lqph =
@@ -1363,7 +1363,7 @@ namespace Step44
   template <int dim>
   void
   Solid<dim>::get_error_update(const BlockVector<double> &newton_update,
-                               Errors &                   error_update)
+                               Errors                    &error_update)
   {
     BlockVector<double> error_ud(dofs_per_block);
     for (unsigned int i = 0; i < dof_handler_ref.n_dofs(); ++i)
@@ -1422,8 +1422,8 @@ namespace Step44
   void
   Solid<dim>::assemble_system_tangent_one_cell(
     const typename DoFHandler<dim>::active_cell_iterator &cell,
-    ScratchData_K &                                       scratch,
-    PerTaskData_K &                                       data) const
+    ScratchData_K                                        &scratch,
+    PerTaskData_K                                        &data) const
   {
     data.reset();
     scratch.reset();
@@ -1461,7 +1461,7 @@ namespace Step44
         const SymmetricTensor<4, dim> Jc  = lqph[q_point]->get_Jc();
         const double d2Psi_vol_dJ2        = lqph[q_point]->get_d2Psi_vol_dJ2();
         const double det_F                = lqph[q_point]->get_det_F();
-        const std::vector<double> &                 N = scratch.Nx[q_point];
+        const std::vector<double>                  &N = scratch.Nx[q_point];
         const std::vector<SymmetricTensor<2, dim>> &symm_grad_Nx =
           scratch.symm_grad_Nx[q_point];
         const std::vector<Tensor<2, dim>> &grad_Nx = scratch.grad_Nx[q_point];
@@ -1545,8 +1545,8 @@ namespace Step44
   void
   Solid<dim>::assemble_system_rhs_one_cell(
     const typename DoFHandler<dim>::active_cell_iterator &cell,
-    ScratchData_RHS &                                     scratch,
-    PerTaskData_RHS &                                     data) const
+    ScratchData_RHS                                      &scratch,
+    PerTaskData_RHS                                      &data) const
   {
     data.reset();
     scratch.reset();
@@ -1581,7 +1581,7 @@ namespace Step44
         const double                  J_tilde = lqph[q_point]->get_J_tilde();
         const double                  p_tilde = lqph[q_point]->get_p_tilde();
         const double dPsi_vol_dJ = lqph[q_point]->get_dPsi_vol_dJ();
-        const std::vector<double> &                 N = scratch.Nx[q_point];
+        const std::vector<double>                  &N = scratch.Nx[q_point];
         const std::vector<SymmetricTensor<2, dim>> &symm_grad_Nx =
           scratch.symm_grad_Nx[q_point];
         const double JxW = scratch.fe_values_ref.JxW(q_point);
@@ -1809,8 +1809,8 @@ namespace Step44
   void
   Solid<dim>::assemble_sc_one_cell(
     const typename DoFHandler<dim>::active_cell_iterator &cell,
-    ScratchData_SC &                                      scratch,
-    PerTaskData_SC &                                      data)
+    ScratchData_SC                                       &scratch,
+    PerTaskData_SC                                       &data)
   {
     data.reset();
     scratch.reset();
@@ -1933,9 +1933,9 @@ namespace Step44
             const Vector<double> &f_u = system_rhs.block(u_dof);
             const Vector<double> &f_p = system_rhs.block(p_dof);
             const Vector<double> &f_J = system_rhs.block(J_dof);
-            Vector<double> &      d_u = newton_update.block(u_dof);
-            Vector<double> &      d_p = newton_update.block(p_dof);
-            Vector<double> &      d_J = newton_update.block(J_dof);
+            Vector<double>       &d_u = newton_update.block(u_dof);
+            Vector<double>       &d_p = newton_update.block(p_dof);
+            Vector<double>       &d_J = newton_update.block(J_dof);
             const auto            K_uu =
               linear_operator(tangent_matrix.block(u_dof, u_dof));
             const auto K_up =
index 46c6f808e217976bd7f37405d9851801d2c94605..0ce28fb370844ba345c8277e942aad2523804391 100644 (file)
@@ -57,8 +57,8 @@ print(Stream &stream, const std::string &name, const NumberType &val)
 
 template <typename Stream, int dim, typename NumberType>
 void
-print(Stream &                          stream,
-      const std::string &               name,
+print(Stream                           &stream,
+      const std::string                &name,
       const Tensor<0, dim, NumberType> &val)
 {
   stream << name << ": " << val << std::endl;
@@ -67,8 +67,8 @@ print(Stream &                          stream,
 
 template <typename Stream, int dim, typename NumberType>
 void
-print(Stream &                          stream,
-      const std::string &               name,
+print(Stream                           &stream,
+      const std::string                &name,
       const Tensor<1, dim, NumberType> &t)
 {
   for (unsigned int i = 0; i < dim; ++i)
@@ -78,8 +78,8 @@ print(Stream &                          stream,
 
 template <typename Stream, int dim, typename NumberType>
 void
-print(Stream &                          stream,
-      const std::string &               name,
+print(Stream                           &stream,
+      const std::string                &name,
       const Tensor<2, dim, NumberType> &t)
 {
   for (unsigned int i = 0; i < dim; ++i)
@@ -90,8 +90,8 @@ print(Stream &                          stream,
 
 template <typename Stream, int dim, typename NumberType>
 void
-print(Stream &                                   stream,
-      const std::string &                        name,
+print(Stream                                    &stream,
+      const std::string                         &name,
       const SymmetricTensor<2, dim, NumberType> &t)
 {
   for (unsigned int i = 0; i < dim; ++i)
@@ -102,8 +102,8 @@ print(Stream &                                   stream,
 
 template <typename Stream, int dim, typename NumberType>
 void
-print(Stream &                          stream,
-      const std::string &               name,
+print(Stream                           &stream,
+      const std::string                &name,
       const Tensor<3, dim, NumberType> &t)
 {
   for (unsigned int i = 0; i < dim; ++i)
@@ -116,8 +116,8 @@ print(Stream &                          stream,
 
 template <typename Stream, int dim, typename NumberType>
 void
-print(Stream &                          stream,
-      const std::string &               name,
+print(Stream                           &stream,
+      const std::string                &name,
       const Tensor<4, dim, NumberType> &t)
 {
   for (unsigned int i = 0; i < dim; ++i)
@@ -131,8 +131,8 @@ print(Stream &                          stream,
 
 template <typename Stream, int dim, typename NumberType>
 void
-print(Stream &                                   stream,
-      const std::string &                        name,
+print(Stream                                    &stream,
+      const std::string                         &name,
       const SymmetricTensor<4, dim, NumberType> &t)
 {
   for (unsigned int i = 0; i < dim; ++i)
index e1b99bc72b8b6e20bda05c65e7f6fbdcec078aac..c76e94c963e45d99678b0bdbef0b71bf22b44996 100644 (file)
@@ -130,9 +130,9 @@ struct CoupledFunction
 
   static NumberType
   psi(const SymmetricTensor<2, dim, NumberType> &st,
-      const Tensor<2, dim, NumberType> &         t,
-      const Tensor<1, dim, NumberType> &         v,
-      const NumberType &                         s)
+      const Tensor<2, dim, NumberType>          &t,
+      const Tensor<1, dim, NumberType>          &v,
+      const NumberType                          &s)
   {
     return std::pow(det_t(st), 2) * std::pow(det_t(t), 2) *
            std::pow(v_squ(v), 3) * std::pow(s, sf);
@@ -145,9 +145,9 @@ struct CoupledFunction
 
   static SymmetricTensor<2, dim, NumberType>
   dpsi_dst(const SymmetricTensor<2, dim, NumberType> &st,
-           const Tensor<2, dim, NumberType> &         t,
-           const Tensor<1, dim, NumberType> &         v,
-           const NumberType &                         s)
+           const Tensor<2, dim, NumberType>          &t,
+           const Tensor<1, dim, NumberType>          &v,
+           const NumberType                          &s)
   {
     return 2.0 * std::pow(det_t(st), 1) * ddet_t_dt(st) *
            std::pow(det_t(t), 2) * std::pow(v_squ(v), 3) * std::pow(s, sf);
@@ -155,9 +155,9 @@ struct CoupledFunction
 
   static Tensor<2, dim, NumberType>
   dpsi_dt(const SymmetricTensor<2, dim, NumberType> &st,
-          const Tensor<2, dim, NumberType> &         t,
-          const Tensor<1, dim, NumberType> &         v,
-          const NumberType &                         s)
+          const Tensor<2, dim, NumberType>          &t,
+          const Tensor<1, dim, NumberType>          &v,
+          const NumberType                          &s)
   {
     return 2.0 * std::pow(det_t(st), 2) * std::pow(det_t(t), 1) * ddet_t_dt(t) *
            std::pow(v_squ(v), 3) * std::pow(s, sf);
@@ -165,9 +165,9 @@ struct CoupledFunction
 
   static Tensor<1, dim, NumberType>
   dpsi_dv(const SymmetricTensor<2, dim, NumberType> &st,
-          const Tensor<2, dim, NumberType> &         t,
-          const Tensor<1, dim, NumberType> &         v,
-          const NumberType &                         s)
+          const Tensor<2, dim, NumberType>          &t,
+          const Tensor<1, dim, NumberType>          &v,
+          const NumberType                          &s)
   {
     return std::pow(det_t(st), 2) * std::pow(det_t(t), 2) * 3.0 *
            std::pow(v_squ(v), 2) * dv_squ_dv(v) * std::pow(s, sf);
@@ -175,9 +175,9 @@ struct CoupledFunction
 
   static NumberType
   dpsi_ds(const SymmetricTensor<2, dim, NumberType> &st,
-          const Tensor<2, dim, NumberType> &         t,
-          const Tensor<1, dim, NumberType> &         v,
-          const NumberType &                         s)
+          const Tensor<2, dim, NumberType>          &t,
+          const Tensor<1, dim, NumberType>          &v,
+          const NumberType                          &s)
   {
     return std::pow(det_t(st), 2) * std::pow(det_t(t), 2) *
            std::pow(v_squ(v), 3) * sf * std::pow(s, sf - 1.0);
@@ -185,9 +185,9 @@ struct CoupledFunction
 
   static SymmetricTensor<4, dim, NumberType>
   d2psi_dst_x_dst(const SymmetricTensor<2, dim, NumberType> &st,
-                  const Tensor<2, dim, NumberType> &         t,
-                  const Tensor<1, dim, NumberType> &         v,
-                  const NumberType &                         s)
+                  const Tensor<2, dim, NumberType>          &t,
+                  const Tensor<1, dim, NumberType>          &v,
+                  const NumberType                          &s)
   {
     return 2.0 * std::pow(det_t(t), 2) * std::pow(v_squ(v), 3) *
            (std::pow(det_t(st), 0) *
@@ -198,9 +198,9 @@ struct CoupledFunction
 
   static Tensor<4, dim, NumberType>
   d2psi_dst_x_dt(const SymmetricTensor<2, dim, NumberType> &st,
-                 const Tensor<2, dim, NumberType> &         t,
-                 const Tensor<1, dim, NumberType> &         v,
-                 const NumberType &                         s)
+                 const Tensor<2, dim, NumberType>          &t,
+                 const Tensor<1, dim, NumberType>          &v,
+                 const NumberType                          &s)
   {
     return 4.0 * std::pow(det_t(st), 1) * std::pow(det_t(t), 1) *
            outer_product(Tensor<2, dim, NumberType>(ddet_t_dt(st)),
@@ -210,9 +210,9 @@ struct CoupledFunction
 
   static Tensor<3, dim, NumberType>
   d2psi_dst_x_dv(const SymmetricTensor<2, dim, NumberType> &st,
-                 const Tensor<2, dim, NumberType> &         t,
-                 const Tensor<1, dim, NumberType> &         v,
-                 const NumberType &                         s)
+                 const Tensor<2, dim, NumberType>          &t,
+                 const Tensor<1, dim, NumberType>          &v,
+                 const NumberType                          &s)
   {
     return 2.0 * std::pow(det_t(t), 2) * std::pow(det_t(st), 1) * 3.0 *
            std::pow(v_squ(v), 2) *
@@ -223,9 +223,9 @@ struct CoupledFunction
 
   static SymmetricTensor<2, dim, NumberType>
   d2psi_dst_x_ds(const SymmetricTensor<2, dim, NumberType> &st,
-                 const Tensor<2, dim, NumberType> &         t,
-                 const Tensor<1, dim, NumberType> &         v,
-                 const NumberType &                         s)
+                 const Tensor<2, dim, NumberType>          &t,
+                 const Tensor<1, dim, NumberType>          &v,
+                 const NumberType                          &s)
   {
     return 2.0 * std::pow(det_t(st), 1) * ddet_t_dt(st) *
            std::pow(det_t(t), 2) * std::pow(v_squ(v), 3) * sf *
@@ -234,9 +234,9 @@ struct CoupledFunction
 
   static Tensor<4, dim, NumberType>
   d2psi_dt_x_dst(const SymmetricTensor<2, dim, NumberType> &st,
-                 const Tensor<2, dim, NumberType> &         t,
-                 const Tensor<1, dim, NumberType> &         v,
-                 const NumberType &                         s)
+                 const Tensor<2, dim, NumberType>          &t,
+                 const Tensor<1, dim, NumberType>          &v,
+                 const NumberType                          &s)
   {
     return 4.0 * std::pow(det_t(st), 1) * std::pow(det_t(t), 1) *
            outer_product(ddet_t_dt(t),
@@ -246,9 +246,9 @@ struct CoupledFunction
 
   static Tensor<4, dim, NumberType>
   d2psi_dt_x_dt(const SymmetricTensor<2, dim, NumberType> &st,
-                const Tensor<2, dim, NumberType> &         t,
-                const Tensor<1, dim, NumberType> &         v,
-                const NumberType &                         s)
+                const Tensor<2, dim, NumberType>          &t,
+                const Tensor<1, dim, NumberType>          &v,
+                const NumberType                          &s)
   {
     return 2.0 * std::pow(det_t(st), 2) * std::pow(v_squ(v), 3) *
            (pow(det_t(t), 0) * outer_product(ddet_t_dt(t), ddet_t_dt(t)) +
@@ -258,9 +258,9 @@ struct CoupledFunction
 
   static Tensor<3, dim, NumberType>
   d2psi_dt_x_dv(const SymmetricTensor<2, dim, NumberType> &st,
-                const Tensor<2, dim, NumberType> &         t,
-                const Tensor<1, dim, NumberType> &         v,
-                const NumberType &                         s)
+                const Tensor<2, dim, NumberType>          &t,
+                const Tensor<1, dim, NumberType>          &v,
+                const NumberType                          &s)
   {
     return 2.0 * std::pow(det_t(st), 2) * std::pow(det_t(t), 1) * 3.0 *
            std::pow(v_squ(v), 2) * outer_product(ddet_t_dt(t), dv_squ_dv(v)) *
@@ -269,9 +269,9 @@ struct CoupledFunction
 
   static Tensor<2, dim, NumberType>
   d2psi_dt_x_ds(const SymmetricTensor<2, dim, NumberType> &st,
-                const Tensor<2, dim, NumberType> &         t,
-                const Tensor<1, dim, NumberType> &         v,
-                const NumberType &                         s)
+                const Tensor<2, dim, NumberType>          &t,
+                const Tensor<1, dim, NumberType>          &v,
+                const NumberType                          &s)
   {
     return 2.0 * std::pow(det_t(st), 2) * std::pow(det_t(t), 1) * ddet_t_dt(t) *
            std::pow(v_squ(v), 3) * sf * std::pow(s, sf - 1.0);
@@ -279,9 +279,9 @@ struct CoupledFunction
 
   static Tensor<3, dim, NumberType>
   d2psi_dv_x_dst(const SymmetricTensor<2, dim, NumberType> &st,
-                 const Tensor<2, dim, NumberType> &         t,
-                 const Tensor<1, dim, NumberType> &         v,
-                 const NumberType &                         s)
+                 const Tensor<2, dim, NumberType>          &t,
+                 const Tensor<1, dim, NumberType>          &v,
+                 const NumberType                          &s)
   {
     return 2.0 * std::pow(det_t(t), 2) * std::pow(det_t(st), 1) * 3.0 *
            std::pow(v_squ(v), 2) *
@@ -292,9 +292,9 @@ struct CoupledFunction
 
   static Tensor<3, dim, NumberType>
   d2psi_dv_x_dt(const SymmetricTensor<2, dim, NumberType> &st,
-                const Tensor<2, dim, NumberType> &         t,
-                const Tensor<1, dim, NumberType> &         v,
-                const NumberType &                         s)
+                const Tensor<2, dim, NumberType>          &t,
+                const Tensor<1, dim, NumberType>          &v,
+                const NumberType                          &s)
   {
     return 2.0 * std::pow(det_t(st), 2) * std::pow(det_t(t), 1) * 3.0 *
            std::pow(v_squ(v), 2) * outer_product(dv_squ_dv(v), ddet_t_dt(t)) *
@@ -303,9 +303,9 @@ struct CoupledFunction
 
   static Tensor<2, dim, NumberType>
   d2psi_dv_x_dv(const SymmetricTensor<2, dim, NumberType> &st,
-                const Tensor<2, dim, NumberType> &         t,
-                const Tensor<1, dim, NumberType> &         v,
-                const NumberType &                         s)
+                const Tensor<2, dim, NumberType>          &t,
+                const Tensor<1, dim, NumberType>          &v,
+                const NumberType                          &s)
   {
     return std::pow(det_t(st), 2) * std::pow(det_t(t), 2) * 3.0 *
            (2.0 * std::pow(v_squ(v), 1) *
@@ -316,9 +316,9 @@ struct CoupledFunction
 
   static Tensor<1, dim, NumberType>
   d2psi_dv_x_ds(const SymmetricTensor<2, dim, NumberType> &st,
-                const Tensor<2, dim, NumberType> &         t,
-                const Tensor<1, dim, NumberType> &         v,
-                const NumberType &                         s)
+                const Tensor<2, dim, NumberType>          &t,
+                const Tensor<1, dim, NumberType>          &v,
+                const NumberType                          &s)
   {
     return std::pow(det_t(st), 2) * std::pow(det_t(t), 2) * 3.0 *
            std::pow(v_squ(v), 2) * dv_squ_dv(v) * sf * std::pow(s, sf - 1.0);
@@ -326,9 +326,9 @@ struct CoupledFunction
 
   static SymmetricTensor<2, dim, NumberType>
   d2psi_ds_x_dst(const SymmetricTensor<2, dim, NumberType> &st,
-                 const Tensor<2, dim, NumberType> &         t,
-                 const Tensor<1, dim, NumberType> &         v,
-                 const NumberType &                         s)
+                 const Tensor<2, dim, NumberType>          &t,
+                 const Tensor<1, dim, NumberType>          &v,
+                 const NumberType                          &s)
   {
     return 2.0 * ddet_t_dt(st) * std::pow(det_t(t), 2) *
            std::pow(det_t(st), 1) * std::pow(v_squ(v), 3) * sf *
@@ -337,9 +337,9 @@ struct CoupledFunction
 
   static Tensor<2, dim, NumberType>
   d2psi_ds_x_dt(const SymmetricTensor<2, dim, NumberType> &st,
-                const Tensor<2, dim, NumberType> &         t,
-                const Tensor<1, dim, NumberType> &         v,
-                const NumberType &                         s)
+                const Tensor<2, dim, NumberType>          &t,
+                const Tensor<1, dim, NumberType>          &v,
+                const NumberType                          &s)
   {
     return 2.0 * std::pow(det_t(st), 2) * std::pow(det_t(t), 1) * ddet_t_dt(t) *
            std::pow(v_squ(v), 3) * sf * std::pow(s, sf - 1.0);
@@ -347,9 +347,9 @@ struct CoupledFunction
 
   static Tensor<1, dim, NumberType>
   d2psi_ds_x_dv(const SymmetricTensor<2, dim, NumberType> &st,
-                const Tensor<2, dim, NumberType> &         t,
-                const Tensor<1, dim, NumberType> &         v,
-                const NumberType &                         s)
+                const Tensor<2, dim, NumberType>          &t,
+                const Tensor<1, dim, NumberType>          &v,
+                const NumberType                          &s)
   {
     return std::pow(det_t(st), 2) * std::pow(det_t(t), 2) * 3.0 *
            std::pow(v_squ(v), 2) * dv_squ_dv(v) * sf * std::pow(s, sf - 1.0);
@@ -357,9 +357,9 @@ struct CoupledFunction
 
   static NumberType
   d2psi_ds_x_ds(const SymmetricTensor<2, dim, NumberType> &st,
-                const Tensor<2, dim, NumberType> &         t,
-                const Tensor<1, dim, NumberType> &         v,
-                const NumberType &                         s)
+                const Tensor<2, dim, NumberType>          &t,
+                const Tensor<1, dim, NumberType>          &v,
+                const NumberType                          &s)
   {
     return std::pow(det_t(st), 2) * std::pow(det_t(t), 2) *
            std::pow(v_squ(v), 3) * sf * (sf - 1.0) * std::pow(s, sf - 2.0);
@@ -377,16 +377,16 @@ print(Stream &stream, const std::string &name, const NumberType &val)
 }
 template <typename Stream, int dim, typename NumberType>
 void
-print(Stream &                          stream,
-      const std::string &               name,
+print(Stream                           &stream,
+      const std::string                &name,
       const Tensor<0, dim, NumberType> &val)
 {
   stream << name << ": " << val << std::endl;
 }
 template <typename Stream, int dim, typename NumberType>
 void
-print(Stream &                          stream,
-      const std::string &               name,
+print(Stream                           &stream,
+      const std::string                &name,
       const Tensor<1, dim, NumberType> &t)
 {
   for (unsigned int i = 0; i < dim; ++i)
@@ -394,8 +394,8 @@ print(Stream &                          stream,
 }
 template <typename Stream, int dim, typename NumberType>
 void
-print(Stream &                          stream,
-      const std::string &               name,
+print(Stream                           &stream,
+      const std::string                &name,
       const Tensor<2, dim, NumberType> &t)
 {
   for (unsigned int i = 0; i < dim; ++i)
@@ -404,8 +404,8 @@ print(Stream &                          stream,
 }
 template <typename Stream, int dim, typename NumberType>
 void
-print(Stream &                          stream,
-      const std::string &               name,
+print(Stream                           &stream,
+      const std::string                &name,
       const Tensor<3, dim, NumberType> &t)
 {
   for (unsigned int i = 0; i < dim; ++i)
@@ -416,8 +416,8 @@ print(Stream &                          stream,
 }
 template <typename Stream, int dim, typename NumberType>
 void
-print(Stream &                          stream,
-      const std::string &               name,
+print(Stream                           &stream,
+      const std::string                &name,
       const Tensor<4, dim, NumberType> &t)
 {
   for (unsigned int i = 0; i < dim; ++i)
@@ -432,9 +432,9 @@ template <int dim, typename number_t>
 void
 test_symmetric_tensor_tensor_vector_scalar_coupled(
   const SymmetricTensor<2, dim, number_t> &st,
-  const Tensor<2, dim, number_t> &         t,
-  const Tensor<1, dim, number_t> &         v,
-  const number_t &                         s)
+  const Tensor<2, dim, number_t>          &t,
+  const Tensor<1, dim, number_t>          &v,
+  const number_t                          &s)
 {
   using SDNumberType = SD::Expression;
 
index c700deaf06b82345b5e1ec3964bd58d3d7202964..82191bbb327c8abe26e177d84013dc5485964d5c 100644 (file)
@@ -117,8 +117,8 @@ main()
     DEAL_II_CONSTEXPR const SymmetricTensor<2, 3> a = symmetrize(dummy_a);
     DEAL_II_CONSTEXPR const auto                  inverted = invert(a);
     constexpr double        ref_init[3][3]                 = {{0., -2., 2.},
-                                       {-2., 5., -2.},
-                                       {2., -2., 0.}};
+                                                              {-2., 5., -2.},
+                                                              {2., -2., 0.}};
     constexpr Tensor<2, 3>  dummy_ref{ref_init};
     DEAL_II_CONSTEXPR const SymmetricTensor<2, 3> ref = symmetrize(dummy_ref);
     Assert(inverted == ref, ExcInternalError());
index e7155173c08303fbb7d0240894f3c91b81a55b3e..504ebf0eeb350c4c3a97adc7cb2236a04d07326e 100644 (file)
@@ -156,8 +156,8 @@ main()
     constexpr Tensor<2, 3>       a{a_init};
     DEAL_II_CONSTEXPR const auto inverted       = invert(a);
     constexpr double             ref_init[3][3] = {{1., 0., 0.},
-                                       {-2., 1., 0.},
-                                       {1., -2., 1}};
+                                                   {-2., 1., 0.},
+                                                   {1., -2., 1}};
     constexpr Tensor<2, 3>       ref{ref_init};
     Assert(inverted == ref, ExcInternalError());
   }
index e0df105e2e696d35aaced11947dc16f794ca04a6..0e51426461374db169522e9cb6aba5afee613803 100644 (file)
@@ -34,9 +34,9 @@ template <int rank1,
           template <int, int, typename>
           class T3>
 void
-test_symm_tensor_contract_3(const T1<rank1, dim, number> &    l,
+test_symm_tensor_contract_3(const T1<rank1, dim, number>     &l,
                             const Tensor<rank2, dim, number> &m,
-                            const T3<rank3, dim, number> &    r)
+                            const T3<rank3, dim, number>     &r)
 {
   const double res1 = contract3(l, m, r);
   const double res2 = contract3(static_cast<Tensor<rank1, dim>>(l),
index 7f8efb605812ca5c1bef08005f9ff090b1acafb7..4caf90d7d1021ad4ac90b2a73d5e2bcb9d5ab7bf 100644 (file)
@@ -499,11 +499,11 @@ double matv[] = {
 
 
 void
-check(Epetra_FECrsMatrix &    mat,
+check(Epetra_FECrsMatrix     &mat,
       Teuchos::ParameterList &parameter_list,
-      Epetra_FEVector &       x1,
-      Epetra_FEVector &       x2,
-      Epetra_FEVector &       b)
+      Epetra_FEVector        &x1,
+      Epetra_FEVector        &x2,
+      Epetra_FEVector        &b)
 {
   int ierr;
   {
index 8817e245a43c61daf0d083e996c73713a2eb1675..945307e3317b927721d14c9e75175278507b3898 100644 (file)
@@ -60,7 +60,7 @@ namespace Assembly
     struct Data
     {
       Data(const hp::FECollection<dim> &fe,
-           const hp::QCollection<dim> quadrature)
+           const hp::QCollection<dim>  &quadrature)
         : hp_fe_values(fe,
                        quadrature,
                        update_values | update_gradients |
@@ -117,8 +117,8 @@ private:
 
   void
   local_assemble(const typename DoFHandler<dim>::active_cell_iterator &cell,
-                 Assembly::Scratch::Data<dim> &                        scratch,
-                 Assembly::Copy::Data &                                data);
+                 Assembly::Scratch::Data<dim>                         &scratch,
+                 Assembly::Copy::Data                                 &data);
   void
   copy_local_to_global(const Assembly::Copy::Data &data);
 
@@ -291,8 +291,8 @@ template <int dim>
 void
 LaplaceProblem<dim>::local_assemble(
   const typename DoFHandler<dim>::active_cell_iterator &cell,
-  Assembly::Scratch::Data<dim> &                        scratch,
-  Assembly::Copy::Data &                                data)
+  Assembly::Scratch::Data<dim>                         &scratch,
+  Assembly::Copy::Data                                 &data)
 {
   const unsigned int dofs_per_cell = cell->get_fe().dofs_per_cell;
 
index aa07a29351828ce2bcd7e673c5f6a0ffe651a8ed..772997cb05148c5eb4c4f6ff9a3aaa566ed58139 100644 (file)
@@ -124,9 +124,9 @@ private:
   void
   local_assemble(
     const FilteredIterator<typename DoFHandler<dim>::active_cell_iterator>
-      &                           cell,
+                                 &cell,
     Assembly::Scratch::Data<dim> &scratch,
-    Assembly::Copy::Data &        data);
+    Assembly::Copy::Data         &data);
   void
   copy_local_to_global(const Assembly::Copy::Data &data);
 
@@ -301,7 +301,7 @@ void
 LaplaceProblem<dim>::local_assemble(
   const FilteredIterator<typename DoFHandler<dim>::active_cell_iterator> &cell,
   Assembly::Scratch::Data<dim> &scratch,
-  Assembly::Copy::Data &        data)
+  Assembly::Copy::Data         &data)
 {
   const unsigned int dofs_per_cell = cell->get_fe().dofs_per_cell;
 
index d30d7818dda4765dd3dd78974572f8ff51406c99..0ba9800d582d52437eb3fd7a8b093861ff0813fa 100644 (file)
@@ -125,9 +125,9 @@ private:
   void
   local_assemble(
     const FilteredIterator<typename DoFHandler<dim>::active_cell_iterator>
-      &                           cell,
+                                 &cell,
     Assembly::Scratch::Data<dim> &scratch,
-    Assembly::Copy::Data &        data);
+    Assembly::Copy::Data         &data);
   void
   copy_local_to_global(const Assembly::Copy::Data &data);
 
@@ -302,7 +302,7 @@ void
 LaplaceProblem<dim>::local_assemble(
   const FilteredIterator<typename DoFHandler<dim>::active_cell_iterator> &cell,
   Assembly::Scratch::Data<dim> &scratch,
-  Assembly::Copy::Data &        data)
+  Assembly::Copy::Data         &data)
 {
   const unsigned int dofs_per_cell = cell->get_fe().dofs_per_cell;
 
index 029c67deb66210205806ad215c8d49ebec3230d0..e6b4a764a263c7ccb9e3b03b7fed2c58f186f5da 100644 (file)
@@ -126,9 +126,9 @@ private:
   void
   local_assemble(
     const FilteredIterator<typename DoFHandler<dim>::active_cell_iterator>
-      &                           cell,
+                                 &cell,
     Assembly::Scratch::Data<dim> &scratch,
-    Assembly::Copy::Data &        data);
+    Assembly::Copy::Data         &data);
   void
   copy_local_to_global(const Assembly::Copy::Data &data);
 
@@ -316,7 +316,7 @@ void
 LaplaceProblem<dim>::local_assemble(
   const FilteredIterator<typename DoFHandler<dim>::active_cell_iterator> &cell,
   Assembly::Scratch::Data<dim> &scratch,
-  Assembly::Copy::Data &        data)
+  Assembly::Copy::Data         &data)
 {
   const unsigned int dofs_per_cell = cell->get_fe().dofs_per_cell;
 
index e4d53ede4dd4eee6d8550673066bd071ff0c514b..88fbd9686c0a044c7f5155ad353383b4e2ff6b97 100644 (file)
@@ -126,9 +126,9 @@ private:
   void
   local_assemble(
     const FilteredIterator<typename DoFHandler<dim>::active_cell_iterator>
-      &                           cell,
+                                 &cell,
     Assembly::Scratch::Data<dim> &scratch,
-    Assembly::Copy::Data &        data);
+    Assembly::Copy::Data         &data);
   void
   copy_local_to_global(const Assembly::Copy::Data &data);
 
@@ -303,7 +303,7 @@ void
 LaplaceProblem<dim>::local_assemble(
   const FilteredIterator<typename DoFHandler<dim>::active_cell_iterator> &cell,
   Assembly::Scratch::Data<dim> &scratch,
-  Assembly::Copy::Data &        data)
+  Assembly::Copy::Data         &data)
 {
   const unsigned int dofs_per_cell = cell->get_fe().dofs_per_cell;
 
index 603ba586229ee725588aa58548065fadf6de082b..bf8cdb88a879f6a6f7a65d3bd7874280c0b18208 100644 (file)
@@ -128,9 +128,9 @@ private:
   void
   local_assemble(
     const FilteredIterator<typename DoFHandler<dim>::active_cell_iterator>
-      &                           cell,
+                                 &cell,
     Assembly::Scratch::Data<dim> &scratch,
-    Assembly::Copy::Data &        data);
+    Assembly::Copy::Data         &data);
   void
   copy_local_to_global(const Assembly::Copy::Data &data);
 
@@ -317,7 +317,7 @@ void
 LaplaceProblem<dim>::local_assemble(
   const FilteredIterator<typename DoFHandler<dim>::active_cell_iterator> &cell,
   Assembly::Scratch::Data<dim> &scratch,
-  Assembly::Copy::Data &        data)
+  Assembly::Copy::Data         &data)
 {
   const unsigned int dofs_per_cell = cell->get_fe().dofs_per_cell;
 
index 23c466bbb661cd670a04f1ff10b5bcab8eb274d4..50754ef803fb4ce134ec6b1a7893e7f941c2166f 100644 (file)
@@ -125,9 +125,9 @@ private:
   void
   local_assemble(
     const FilteredIterator<typename DoFHandler<dim>::active_cell_iterator>
-      &                           cell,
+                                 &cell,
     Assembly::Scratch::Data<dim> &scratch,
-    Assembly::Copy::Data &        data);
+    Assembly::Copy::Data         &data);
   void
   copy_local_to_global(const Assembly::Copy::Data &data);
 
@@ -288,14 +288,14 @@ LaplaceProblem<dim>::setup_system()
     IndexSet                          relevant_set;
     DoFTools::extract_locally_relevant_dofs(dof_handler, relevant_set);
     // TODO: currently no Trilinos version is capable of doing this...
-    //#if DEAL_II_TRILINOS_VERSION_GTE(11,14,0)
+    // #if DEAL_II_TRILINOS_VERSION_GTE(11,14,0)
     // Cannot pre-build sparsity pattern, Trilinos must provide it...
     // csp.reinit(locally_owned, locally_owned, MPI_COMM_WORLD);
-    //#else
+    // #else
     // OK, Trilinos not new enough - use exactly the same as
     // assemble_matrix_parallel_02.cc
     csp.reinit(locally_owned, locally_owned, relevant_set, MPI_COMM_WORLD);
-    //#endif
+    // #endif
     DoFTools::make_sparsity_pattern(dof_handler, csp, constraints, false);
     csp.compress();
     test_matrix.reinit(csp);
@@ -310,7 +310,7 @@ void
 LaplaceProblem<dim>::local_assemble(
   const FilteredIterator<typename DoFHandler<dim>::active_cell_iterator> &cell,
   Assembly::Scratch::Data<dim> &scratch,
-  Assembly::Copy::Data &        data)
+  Assembly::Copy::Data         &data)
 {
   const unsigned int dofs_per_cell = cell->get_fe().dofs_per_cell;
 
index 4fded865db9af1075f1c9c1c01757e19539c8000..b99021195ceacaf1d35c9890364b32f6ef20b8e7 100644 (file)
@@ -104,13 +104,13 @@ namespace LinearAdvectionTest
     void
     calculate_flux_terms(
       const TriaActiveIterator<DoFCellAccessor<dim, dim, false>> &current_cell,
-      FEFaceValues<dim> &                                   current_face_values,
+      FEFaceValues<dim>                                    &current_face_values,
       const TriaIterator<DoFCellAccessor<dim, dim, false>> &neighbor_cell,
       FEFaceValuesBase<dim> &neighbor_face_values,
-      FullMatrix<double> &   current_to_current_flux,
-      FullMatrix<double> &   current_to_neighbor_flux,
-      FullMatrix<double> &   neighbor_to_current_flux,
-      FullMatrix<double> &   neighbor_to_neighbor_flux);
+      FullMatrix<double>    &current_to_current_flux,
+      FullMatrix<double>    &current_to_neighbor_flux,
+      FullMatrix<double>    &neighbor_to_current_flux,
+      FullMatrix<double>    &neighbor_to_neighbor_flux);
 
     const unsigned int n_mpi_processes;
     const unsigned int this_mpi_process;
@@ -183,9 +183,9 @@ namespace LinearAdvectionTest
   void
   AdvectionProblem<dim>::calculate_flux_terms(
     const TriaActiveIterator<DoFCellAccessor<dim, dim, false>> &current_cell,
-    FEFaceValues<dim> &                                   current_face_values,
+    FEFaceValues<dim>                                    &current_face_values,
     const TriaIterator<DoFCellAccessor<dim, dim, false>> &neighbor_cell,
-    FEFaceValuesBase<dim> &                               neighbor_face_values,
+    FEFaceValuesBase<dim>                                &neighbor_face_values,
     FullMatrix<double> & /*current_to_current_flux*/,
     FullMatrix<double> & /*current_to_neighbor_flux*/,
     FullMatrix<double> & /*neighbor_to_current_flux*/,
index f3d087aef12d1e42d1d5e69a4af78eaebe27e6f6..4d63fd5eac30dcc572f921e2e6734ceaea03847b 100644 (file)
@@ -47,7 +47,8 @@ test()
       set_ghost.add_range(45, 100);
     }
   else
-    {}
+    {
+    }
 
   auto check = [&](IndexSet &idxset) {
     deallog << "IndexSet before size=" << idxset.size() << " values: ";
index fc1fb0f0d736930fd2fbcd90089a4a57b4dec1c5..e29a8bb4fd8999eed122612b8941438e4250de79 100644 (file)
@@ -43,7 +43,7 @@
 
 template <int dim, int spacedim>
 void
-reinit_vector(const dealii::DoFHandler<dim, spacedim> &     mg_dof,
+reinit_vector(const dealii::DoFHandler<dim, spacedim>      &mg_dof,
               MGLevelObject<TrilinosWrappers::MPI::Vector> &v)
 {
   const dealii::parallel::distributed::Triangulation<dim, spacedim> *tria =
index 690cbd79e7f665fe62eded38649bbcd400e3a5ab..52c4fc05bfd4d80c10b8f869f6ef6efa15008a84 100644 (file)
@@ -130,8 +130,8 @@ main(int argc, char **argv)
     {
     public:
       bool
-      computeF(const Epetra_Vector &                      x,
-               Epetra_Vector &                            f,
+      computeF(const Epetra_Vector                       &x,
+               Epetra_Vector                             &f,
                NOX::Epetra::Interface::Required::FillType F) override
       {
         (void)F;
index 1b28508560119fe720a9a09ccee425ac07569171..7dc1d6a0e33a5313155bd923af020dce008422a0 100644 (file)
@@ -117,7 +117,7 @@ main(int argc, char **argv)
   };
 
   solver.solve_with_jacobian = [&J_inverse](const VectorType &rhs,
-                                            VectorType &      dst,
+                                            VectorType       &dst,
                                             const double /*tolerance*/) {
     deallog << "Solving Jacobian system with rhs=(" << rhs[0] << ',' << rhs[1]
             << ')' << std::endl;
index 9a34844cd5d6979afc0a5ff2564fdfb4b13d6bd3..2fd9a5acc773f7a923d6748f63d76ab229fa0838 100644 (file)
@@ -106,7 +106,7 @@ main(int argc, char **argv)
   };
 
   solver.solve_with_jacobian = [&J_inverse](const VectorType &rhs,
-                                            VectorType &      dst,
+                                            VectorType       &dst,
                                             const double /*tolerance*/) {
     deallog << "Solving Jacobian system with rhs=(" << rhs[0] << ',' << rhs[1]
             << ')' << std::endl;
index ddfee1d8f17337f0402d3fe1e4ab7d2b621243ba..4ab9256e1249ef1179dc910dc6e8d9b561a38ff6 100644 (file)
@@ -53,14 +53,14 @@ class MatrixIntegrator : public MeshWorker::LocalIntegrator<dim>
 {
 public:
   void
-  cell(MeshWorker::DoFInfo<dim> &                 dinfo,
+  cell(MeshWorker::DoFInfo<dim>                  &dinfo,
        typename MeshWorker::IntegrationInfo<dim> &info) const;
   void
-  boundary(MeshWorker::DoFInfo<dim> &                 dinfo,
+  boundary(MeshWorker::DoFInfo<dim>                  &dinfo,
            typename MeshWorker::IntegrationInfo<dim> &info) const;
   void
-  face(MeshWorker::DoFInfo<dim> &                 dinfo1,
-       MeshWorker::DoFInfo<dim> &                 dinfo2,
+  face(MeshWorker::DoFInfo<dim>                  &dinfo1,
+       MeshWorker::DoFInfo<dim>                  &dinfo2,
        typename MeshWorker::IntegrationInfo<dim> &info1,
        typename MeshWorker::IntegrationInfo<dim> &info2) const;
 };
@@ -68,7 +68,7 @@ public:
 template <int dim>
 void
 MatrixIntegrator<dim>::cell(
-  MeshWorker::DoFInfo<dim> &                 dinfo,
+  MeshWorker::DoFInfo<dim>                  &dinfo,
   typename MeshWorker::IntegrationInfo<dim> &info) const
 {
   LocalIntegrators::Laplace::cell_matrix(dinfo.matrix(0, false).matrix,
@@ -78,7 +78,7 @@ MatrixIntegrator<dim>::cell(
 template <int dim>
 void
 MatrixIntegrator<dim>::boundary(
-  MeshWorker::DoFInfo<dim> &                 dinfo,
+  MeshWorker::DoFInfo<dim>                  &dinfo,
   typename MeshWorker::IntegrationInfo<dim> &info) const
 {
   const unsigned int deg = info.fe_values(0).get_fe().degree;
@@ -91,8 +91,8 @@ MatrixIntegrator<dim>::boundary(
 template <int dim>
 void
 MatrixIntegrator<dim>::face(
-  MeshWorker::DoFInfo<dim> &                 dinfo1,
-  MeshWorker::DoFInfo<dim> &                 dinfo2,
+  MeshWorker::DoFInfo<dim>                  &dinfo1,
+  MeshWorker::DoFInfo<dim>                  &dinfo2,
   typename MeshWorker::IntegrationInfo<dim> &info1,
   typename MeshWorker::IntegrationInfo<dim> &info2) const
 {
index bd431eadae0ff9baa78f458b8678414321341753..7369f93fc64fb84174db62e369bb228e69256515 100644 (file)
@@ -56,14 +56,14 @@ class MatrixIntegrator : public MeshWorker::LocalIntegrator<dim>
 {
 public:
   void
-  cell(MeshWorker::DoFInfo<dim> &                 dinfo,
+  cell(MeshWorker::DoFInfo<dim>                  &dinfo,
        typename MeshWorker::IntegrationInfo<dim> &info) const;
   void
-  boundary(MeshWorker::DoFInfo<dim> &                 dinfo,
+  boundary(MeshWorker::DoFInfo<dim>                  &dinfo,
            typename MeshWorker::IntegrationInfo<dim> &info) const;
   void
-  face(MeshWorker::DoFInfo<dim> &                 dinfo1,
-       MeshWorker::DoFInfo<dim> &                 dinfo2,
+  face(MeshWorker::DoFInfo<dim>                  &dinfo1,
+       MeshWorker::DoFInfo<dim>                  &dinfo2,
        typename MeshWorker::IntegrationInfo<dim> &info1,
        typename MeshWorker::IntegrationInfo<dim> &info2) const;
 };
@@ -71,7 +71,7 @@ public:
 template <int dim>
 void
 MatrixIntegrator<dim>::cell(
-  MeshWorker::DoFInfo<dim> &                 dinfo,
+  MeshWorker::DoFInfo<dim>                  &dinfo,
   typename MeshWorker::IntegrationInfo<dim> &info) const
 {
   LocalIntegrators::Laplace::cell_matrix(dinfo.matrix(0, false).matrix,
@@ -81,7 +81,7 @@ MatrixIntegrator<dim>::cell(
 template <int dim>
 void
 MatrixIntegrator<dim>::boundary(
-  MeshWorker::DoFInfo<dim> &                 dinfo,
+  MeshWorker::DoFInfo<dim>                  &dinfo,
   typename MeshWorker::IntegrationInfo<dim> &info) const
 {
   const unsigned int deg = info.fe_values(0).get_fe().degree;
@@ -94,8 +94,8 @@ MatrixIntegrator<dim>::boundary(
 template <int dim>
 void
 MatrixIntegrator<dim>::face(
-  MeshWorker::DoFInfo<dim> &                 dinfo1,
-  MeshWorker::DoFInfo<dim> &                 dinfo2,
+  MeshWorker::DoFInfo<dim>                  &dinfo1,
+  MeshWorker::DoFInfo<dim>                  &dinfo2,
   typename MeshWorker::IntegrationInfo<dim> &info1,
   typename MeshWorker::IntegrationInfo<dim> &info2) const
 {
index a680ac05d137ed55e406166cb6548cfcb31847eb..608b83ea21b2baa9451662b91c167cd8822d83ac 100644 (file)
@@ -53,14 +53,14 @@ class MatrixIntegrator : public MeshWorker::LocalIntegrator<dim>
 {
 public:
   void
-  cell(MeshWorker::DoFInfo<dim> &                 dinfo,
+  cell(MeshWorker::DoFInfo<dim>                  &dinfo,
        typename MeshWorker::IntegrationInfo<dim> &info) const;
   void
-  boundary(MeshWorker::DoFInfo<dim> &                 dinfo,
+  boundary(MeshWorker::DoFInfo<dim>                  &dinfo,
            typename MeshWorker::IntegrationInfo<dim> &info) const;
   void
-  face(MeshWorker::DoFInfo<dim> &                 dinfo1,
-       MeshWorker::DoFInfo<dim> &                 dinfo2,
+  face(MeshWorker::DoFInfo<dim>                  &dinfo1,
+       MeshWorker::DoFInfo<dim>                  &dinfo2,
        typename MeshWorker::IntegrationInfo<dim> &info1,
        typename MeshWorker::IntegrationInfo<dim> &info2) const;
 };
@@ -68,7 +68,7 @@ public:
 template <int dim>
 void
 MatrixIntegrator<dim>::cell(
-  MeshWorker::DoFInfo<dim> &                 dinfo,
+  MeshWorker::DoFInfo<dim>                  &dinfo,
   typename MeshWorker::IntegrationInfo<dim> &info) const
 {
   LocalIntegrators::Laplace::cell_matrix(dinfo.matrix(0, false).matrix,
@@ -78,7 +78,7 @@ MatrixIntegrator<dim>::cell(
 template <int dim>
 void
 MatrixIntegrator<dim>::boundary(
-  MeshWorker::DoFInfo<dim> &                 dinfo,
+  MeshWorker::DoFInfo<dim>                  &dinfo,
   typename MeshWorker::IntegrationInfo<dim> &info) const
 {
   const unsigned int deg = info.fe_values(0).get_fe().degree;
@@ -91,8 +91,8 @@ MatrixIntegrator<dim>::boundary(
 template <int dim>
 void
 MatrixIntegrator<dim>::face(
-  MeshWorker::DoFInfo<dim> &                 dinfo1,
-  MeshWorker::DoFInfo<dim> &                 dinfo2,
+  MeshWorker::DoFInfo<dim>                  &dinfo1,
+  MeshWorker::DoFInfo<dim>                  &dinfo2,
   typename MeshWorker::IntegrationInfo<dim> &info1,
   typename MeshWorker::IntegrationInfo<dim> &info2) const
 {
index 47a32df55de04ce0272f2c12b653e33fa07a23c3..d19f3e3dde417b93980db003348083c0a94bb79b 100644 (file)
@@ -68,7 +68,7 @@ namespace Step77
     setup_system(const bool initial_step);
     void
     solve(const Vector<double> &rhs,
-          Vector<double> &      solution,
+          Vector<double>       &solution,
           const double          tolerance);
     void
     refine_mesh();
@@ -80,7 +80,7 @@ namespace Step77
     compute_and_factorize_jacobian(const Vector<double> &evaluation_point);
     void
     compute_residual(const Vector<double> &evaluation_point,
-                     Vector<double> &      residual);
+                     Vector<double>       &residual);
 
     Triangulation<dim> triangulation;
 
@@ -244,7 +244,7 @@ namespace Step77
   void
   MinimalSurfaceProblem<dim>::compute_residual(
     const Vector<double> &evaluation_point,
-    Vector<double> &      residual)
+    Vector<double>       &residual)
   {
     residual = 0;
 
@@ -309,7 +309,7 @@ namespace Step77
   template <int dim>
   void
   MinimalSurfaceProblem<dim>::solve(const Vector<double> &rhs,
-                                    Vector<double> &      solution,
+                                    Vector<double>       &solution,
                                     const double /*tolerance*/)
   {
     jacobian_matrix_factorization->vmult(solution, rhs);
@@ -431,7 +431,7 @@ namespace Step77
 
           nonlinear_solver.residual =
             [&](const Vector<double> &evaluation_point,
-                Vector<double> &      residual) {
+                Vector<double>       &residual) {
               compute_residual(evaluation_point, residual);
             };
 
@@ -441,7 +441,7 @@ namespace Step77
             };
 
           nonlinear_solver.solve_with_jacobian = [&](const Vector<double> &rhs,
-                                                     Vector<double> &      dst,
+                                                     Vector<double>       &dst,
                                                      const double tolerance) {
             solve(rhs, dst, tolerance);
           };
index 4680017836f44a728bd1f90d56490b4f511902c8..dac438fa0e26a20f65a1b2de0eaab84c5888e975 100644 (file)
@@ -45,9 +45,9 @@
 
 template <int dim, typename MatrixType, typename VectorType>
 void
-assemble_laplace(MatrixType &        B,
-                 VectorType &        bb,
-                 DoFHandler<dim> &   dof_handler,
+assemble_laplace(MatrixType         &B,
+                 VectorType         &bb,
+                 DoFHandler<dim>    &dof_handler,
                  FiniteElement<dim> &fe)
 {
   QGauss<dim>   quadrature_formula(2);

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.