]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Undo last check-in, as it was with the wrong message.
authorwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 2 Jul 2001 16:11:15 +0000 (16:11 +0000)
committerwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 2 Jul 2001 16:11:15 +0000 (16:11 +0000)
git-svn-id: https://svn.dealii.org/trunk@4792 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/deal.II/source/fe/fe_values.cc
deal.II/deal.II/source/fe/mapping_c1.cc
deal.II/deal.II/source/fe/mapping_q1.cc

index 2014f91d776cc66bb6b8b5fd0fc5835554bf22d1..bb2f61d398edfb309ed6b87f00e352286644aade 100644 (file)
@@ -141,7 +141,7 @@ void FEValuesBase<dim>::get_function_values (const InputVector            &fe_fu
     present_cell->get_interpolated_dof_values(fe_function, dof_values);
 
                                   // initialize with zero
-  std::fill_n (values.begin(), n_quadrature_points, 0);
+  fill_n (values.begin(), n_quadrature_points, 0);
 
                                   // add up contributions of trial
                                   // functions
@@ -265,7 +265,7 @@ get_function_grads (const InputVector                    &fe_function,
     present_cell->get_interpolated_dof_values(fe_function, dof_values);
 
                                   // initialize with zero
-  std::fill_n (gradients.begin(), n_quadrature_points, Tensor<1,dim>());
+  fill_n (gradients.begin(), n_quadrature_points, Tensor<1,dim>());
 
                                   // add up contributions of trial
                                   // functions
@@ -306,7 +306,7 @@ get_function_grads (const InputVector
 
                                   // initialize with zero
   for (unsigned i=0;i<gradients.size();++i)
-    std::fill_n (gradients[i].begin(), gradients[i].size(), Tensor<1,dim>());
+    fill_n (gradients[i].begin(), gradients[i].size(), Tensor<1,dim>());
 
                                   // add up contributions of trial
                                   // functions
@@ -387,7 +387,7 @@ get_function_2nd_derivatives (const InputVector
 
                                   // initialize with zero
   for (unsigned i=0;i<second_derivs.size();++i)
-    std::fill_n (second_derivs[i].begin(), second_derivs[i].size(), Tensor<2,dim>());
+    fill_n (second_derivs[i].begin(), second_derivs[i].size(), Tensor<2,dim>());
 
                                   // add up contributions of trial
                                   // functions
index 797d0fe3c049b417911b5f2fbdd2e8b905fe4af0..cc20ddb6f3833e6d46fb323579cb6fa47d39e9aa 100644 (file)
@@ -142,14 +142,14 @@ MappingC1<2>::add_line_support_points (const Triangulation<2>::cell_iterator &ce
          coordinate_axis /= h;
 
          const double alpha = std::atan2(coordinate_axis[1], coordinate_axis[0]);
-         const double b = ((face_vertex_normals[0][1] * std::sin(alpha)
-                            +face_vertex_normals[0][0] * std::cos(alpha)) /
-                           (face_vertex_normals[0][1] * std::cos(alpha)
-                            -face_vertex_normals[0][0] * std::sin(alpha))),
-                      c = ((face_vertex_normals[1][1] * std::sin(alpha)
-                            +face_vertex_normals[1][0] * std::cos(alpha)) /
-                           (face_vertex_normals[1][1] * std::cos(alpha)
-                            -face_vertex_normals[1][0] * std::sin(alpha)));
+         const double b = ((face_vertex_normals[0][1] * sin(alpha)
+                            +face_vertex_normals[0][0] * cos(alpha)) /
+                           (face_vertex_normals[0][1] * cos(alpha)
+                            -face_vertex_normals[0][0] * sin(alpha))),
+                      c = ((face_vertex_normals[1][1] * sin(alpha)
+                            +face_vertex_normals[1][0] * cos(alpha)) /
+                           (face_vertex_normals[1][1] * cos(alpha)
+                            -face_vertex_normals[1][0] * sin(alpha)));
 
                                           // next evaluate the so
                                           // determined cubic
index 78873e17391d04f9618b5b5ccb8548daaa3f2945..e992094f51f464db652e66d1aa3a7d8d1b2c3108 100644 (file)
@@ -679,8 +679,8 @@ MappingQ1<dim>::compute_fill_face (const typename DoFHandler<dim>::cell_iterator
                          | update_JxW_values))
        for (unsigned int i=0;i<boundary_forms.size();++i)
          {
-           double f = std::sqrt(contract(boundary_forms[i],
-                                         boundary_forms[i]));
+           double f = sqrt(contract(boundary_forms[i],
+                                    boundary_forms[i]));
            if (update_flags & update_JxW_values)
              {
                JxW_values[i] = f * weights[i];

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.