From: Guido Kanschat Date: Thu, 30 May 2002 21:02:39 +0000 (+0000) Subject: stupid bracing mistake X-Git-Tag: v8.0.0~17965 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5ba6be63b84bc3ea2508de94320cbeb292659f36;p=dealii.git stupid bracing mistake git-svn-id: https://svn.dealii.org/trunk@5948 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/deal.II/source/numerics/matrices.cc b/deal.II/deal.II/source/numerics/matrices.cc index 4f57642b4e..a660d73673 100644 --- a/deal.II/deal.II/source/numerics/matrices.cc +++ b/deal.II/deal.II/source/numerics/matrices.cc @@ -362,8 +362,8 @@ MatrixCreator::create_mass_matrix_2 (const Mapping &mapping, fe.system_to_component_index(j).first)) cell_matrix(i,j) += (u * v * weight * coefficient_values[point]); - local_rhs(i) += v * rhs_values[point] * weight; } + local_rhs(i) += v * rhs_values[point] * weight; } } } @@ -387,8 +387,8 @@ MatrixCreator::create_mass_matrix_2 (const Mapping &mapping, cell_matrix(i,j) += (u * v * weight * coefficient_vector_values[point](component_i)); - local_rhs(i) += v * rhs_values[point] * weight; } + local_rhs(i) += v * rhs_values[point] * weight; } } } @@ -407,8 +407,8 @@ MatrixCreator::create_mass_matrix_2 (const Mapping &mapping, (fe.system_to_component_index(i).first == fe.system_to_component_index(j).first)) cell_matrix(i,j) += (u * v * weight); - local_rhs(i) += v * rhs_values[point] * weight; } + local_rhs(i) += v * rhs_values[point] * weight; } } @@ -629,11 +629,10 @@ create_boundary_mass_matrix_1 (const Mapping &mapping, cell_matrix(i,j) += (u * v * weight * coefficient_values[point]); } - - cell_vector(i) += v * - rhs_values_system[point]( - fe.system_to_component_index(i).first) * weight; } + cell_vector(i) += v * + rhs_values_system[point]( + fe.system_to_component_index(i).first) * weight; } } } @@ -658,9 +657,8 @@ create_boundary_mass_matrix_1 (const Mapping &mapping, cell_matrix(i,j) += (u * v * weight * coefficient_vector_values[point](component_i)); } - - cell_vector(i) += v * rhs_values_system[point](component_i) * weight; - } + } + cell_vector(i) += v * rhs_values_system[point](component_i) * weight; } } } @@ -680,12 +678,11 @@ create_boundary_mass_matrix_1 (const Mapping &mapping, { cell_matrix(i,j) += (u * v * weight); } - - cell_vector(i) += v * - rhs_values_system[point]( - fe.system_to_component_index(i).first) * - weight; } + cell_vector(i) += v * + rhs_values_system[point]( + fe.system_to_component_index(i).first) * + weight; } } } @@ -709,8 +706,8 @@ create_boundary_mass_matrix_1 (const Mapping &mapping, { const double u = fe_values.shape_value(j,point); cell_matrix(i,j) += (u * v * weight * coefficient_values[point]); - cell_vector(i) += v * rhs_values_scalar[point] *weight; } + cell_vector(i) += v * rhs_values_scalar[point] *weight; } } } @@ -725,8 +722,8 @@ create_boundary_mass_matrix_1 (const Mapping &mapping, { const double u = fe_values.shape_value(j,point); cell_matrix(i,j) += (u * v * weight); - cell_vector(i) += v * rhs_values_scalar[point] * weight; } + cell_vector(i) += v * rhs_values_scalar[point] * weight; } } } @@ -878,7 +875,7 @@ create_boundary_mass_matrix_1 (const Mapping &mapping, }; - template +template void MatrixCreator::create_boundary_mass_matrix (const DoFHandler &dof, const Quadrature &q, SparseMatrix &matrix,