From: Wolfgang Bangerth Date: Fri, 2 Jun 2017 16:32:36 +0000 (-0600) Subject: Change some indentation oddities. X-Git-Tag: v9.0.0-rc1~1541^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d512e44e92c9a4d79f9af81ba0c1971a3c047f34;p=dealii.git Change some indentation oddities. The majority of these are related to space before comma. I did all of this by first running astyle 3.0.1 to see what it changes, and then running astyle 2.04 as usual again. 3.0.1 fixes up a few oddities that 2.04 doesn't undo, and most of these are probably worthwhile keeping. There are some corner cases where we had purposefully aligned commas with leading spaces, and one could consider not making this change, or updating it by hand. But I don't feel strongly enough about this to really go to lengths here. --- diff --git a/examples/step-24/step-24.cc b/examples/step-24/step-24.cc index 4ac23f64bf..c97e9dd8f2 100644 --- a/examples/step-24/step-24.cc +++ b/examples/step-24/step-24.cc @@ -518,7 +518,7 @@ namespace Step24 G2.add (wave_speed, tmp); system_rhs_p = G1; - system_rhs_p.add(time_step * theta , G2); + system_rhs_p.add(time_step * theta, G2); solve_p (); diff --git a/examples/step-45/step-45.cc b/examples/step-45/step-45.cc index e54b220b57..a14ff40b1c 100644 --- a/examples/step-45/step-45.cc +++ b/examples/step-45/step-45.cc @@ -294,7 +294,7 @@ namespace Step45 mpi_communicator (MPI_COMM_WORLD), triangulation (mpi_communicator), fe (FE_Q(degree+1), dim, - FE_Q(degree) , 1), + FE_Q(degree), 1), dof_handler (triangulation), pcout (std::cout, Utilities::MPI::this_mpi_process(mpi_communicator) == 0), diff --git a/examples/step-47/step-47.cc b/examples/step-47/step-47.cc index 18d23d13fd..62712a3536 100644 --- a/examples/step-47/step-47.cc +++ b/examples/step-47/step-47.cc @@ -86,7 +86,7 @@ namespace Step47 bool interface_intersects_cell (const typename Triangulation::cell_iterator &cell) const; std::pair > compute_quadrature(const Quadrature &plain_quadrature, const typename hp::DoFHandler::active_cell_iterator &cell, const std::vector &level_set_values); void append_quadrature(const Quadrature &plain_quadrature, - const std::vector > &v , + const std::vector > &v, std::vector > &xfem_points, std::vector &xfem_weights); diff --git a/include/deal.II/base/tensor_deprecated.h b/include/deal.II/base/tensor_deprecated.h index 6f3ac96ac9..3e55e37591 100644 --- a/include/deal.II/base/tensor_deprecated.h +++ b/include/deal.II/base/tensor_deprecated.h @@ -132,8 +132,8 @@ void contract (Tensor<3,dim,Number> &dest, template inline void contract (Tensor &dest, - const Tensor &src1, - const Tensor &src2) DEAL_II_DEPRECATED; + const Tensor &src1, + const Tensor &src2) DEAL_II_DEPRECATED; /** * Contract a tensor of rank 1 with a tensor of rank 1 and return the result. @@ -433,8 +433,8 @@ void contract (Tensor<3,dim,Number> &dest, template inline void contract (Tensor &dest, - const Tensor &src1, - const Tensor &src2) + const Tensor &src1, + const Tensor &src2) { TensorAccessors::internal::ReorderedIndexView<0, rank_2, const Tensor > reordered = TensorAccessors::reordered_index_view<0, rank_2>(src2); diff --git a/include/deal.II/dofs/dof_accessor.templates.h b/include/deal.II/dofs/dof_accessor.templates.h index 5a082e200c..ea91aa3caf 100644 --- a/include/deal.II/dofs/dof_accessor.templates.h +++ b/include/deal.II/dofs/dof_accessor.templates.h @@ -867,7 +867,7 @@ namespace internal static unsigned int n_active_fe_indices (const dealii::hp::DoFHandler<2,spacedim> &dof_handler, - const unsigned int , + const unsigned int, const unsigned int obj_index, const dealii::internal::int2type<1> &) { @@ -1017,7 +1017,7 @@ namespace internal static unsigned int n_active_fe_indices (const dealii::hp::DoFHandler<3,spacedim> &dof_handler, - const unsigned int , + const unsigned int, const unsigned int obj_index, const dealii::internal::int2type<2> &) { @@ -2302,8 +2302,8 @@ template