From: Lei Qiao Date: Thu, 26 Feb 2015 00:42:05 +0000 (-0600) Subject: Repair indentation style X-Git-Tag: v8.3.0-rc1~412^2~4 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=875098acf4cd51aa7fbf5deadee4d5fa0c86eeba;p=dealii.git Repair indentation style --- diff --git a/examples/step-33/step-33.cc b/examples/step-33/step-33.cc index a0cddbcc81..afd3e12820 100644 --- a/examples/step-33/step-33.cc +++ b/examples/step-33/step-33.cc @@ -1736,10 +1736,10 @@ namespace Step33 W[q][c] = 0; W_old[q][c] = 0; for (unsigned int d=0; dfe_v variable now is of type FEFaceValues or // FESubfaceValues: Table<2,Sacado::Fad::DFad > - Wplus (n_q_points, EulerEquations::n_components), - Wminus (n_q_points, EulerEquations::n_components); + Wplus (n_q_points, EulerEquations::n_components), + Wminus (n_q_points, EulerEquations::n_components); Table<2,double> - Wplus_old(n_q_points, EulerEquations::n_components), - Wminus_old(n_q_points, EulerEquations::n_components); + Wplus_old(n_q_points, EulerEquations::n_components), + Wminus_old(n_q_points, EulerEquations::n_components); for (unsigned int q=0; q::compute_Wminus (parameters.boundary_conditions[boundary_id].kind, - fe_v.normal_vector(q), - Wplus[q], - boundary_values[q], - Wminus[q]); - // Here we assume that boundary type, boundary normal vector and boundary data values - // maintain the same during time advancing. - EulerEquations::compute_Wminus (parameters.boundary_conditions[boundary_id].kind, - fe_v.normal_vector(q), - Wplus_old[q], - boundary_values[q], - Wminus_old[q]); - } + { + EulerEquations::compute_Wminus (parameters.boundary_conditions[boundary_id].kind, + fe_v.normal_vector(q), + Wplus[q], + boundary_values[q], + Wminus[q]); + // Here we assume that boundary type, boundary normal vector and boundary data values + // maintain the same during time advancing. + EulerEquations::compute_Wminus (parameters.boundary_conditions[boundary_id].kind, + fe_v.normal_vector(q), + Wplus_old[q], + boundary_values[q], + Wminus_old[q]); + } } @@ -2047,14 +2047,14 @@ namespace Step33 } for (unsigned int q=0; q::numerical_normal_flux(fe_v.normal_vector(q), - Wplus[q], Wminus[q], alpha, - normal_fluxes[q]); - EulerEquations::numerical_normal_flux(fe_v.normal_vector(q), - Wplus_old[q], Wminus_old[q], alpha, - normal_fluxes_old[q]); - } + { + EulerEquations::numerical_normal_flux(fe_v.normal_vector(q), + Wplus[q], Wminus[q], alpha, + normal_fluxes[q]); + EulerEquations::numerical_normal_flux(fe_v.normal_vector(q), + Wplus_old[q], Wminus_old[q], alpha, + normal_fluxes_old[q]); + } // Now assemble the face term in exactly the same way as for the cell // contributions in the previous function. The only difference is that if