]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
fixes for clang 3.1: remove default parameters and give all template parameters
authorheister <heister@0785d39b-7218-0410-832d-ea1e28bc413d>
Thu, 24 May 2012 19:59:31 +0000 (19:59 +0000)
committerheister <heister@0785d39b-7218-0410-832d-ea1e28bc413d>
Thu, 24 May 2012 19:59:31 +0000 (19:59 +0000)
git-svn-id: https://svn.dealii.org/trunk@25543 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/source/dofs/dof_tools.cc
deal.II/source/grid/grid_tools.cc
deal.II/source/grid/tria_boundary.cc

index 0e3115daa7ac261f9d21f6d82048a2ddda6b22a6..d4ab38d51079e13adb6aea1841f6730d1e5b0802 100644 (file)
@@ -3303,7 +3303,7 @@ namespace DoFTools
   make_periodicity_constraints (const FaceIterator                          &face_1,
                                 const typename identity<FaceIterator>::type &face_2,
                                 dealii::ConstraintMatrix                    &constraint_matrix,
-                                const std::vector<bool>                     &component_mask = std::vector<bool>())
+                                const std::vector<bool>                     &component_mask)
   {
     static const int dim = FaceIterator::AccessorType::dimension;
 
@@ -3381,7 +3381,7 @@ namespace DoFTools
                                 const types::boundary_id_t     boundary_component,
                                 const int                      direction,
                                 dealii::ConstraintMatrix       &constraint_matrix,
-                                const std::vector<bool>        &component_mask = std::vector<bool>())
+                                const std::vector<bool>        &component_mask)
   {
     Tensor<1,DH::space_dimension> dummy;
     make_periodicity_constraints (dof_handler,
@@ -3401,7 +3401,7 @@ namespace DoFTools
                                 dealii::Tensor<1,DH::space_dimension>
                                                                &offset,
                                 dealii::ConstraintMatrix       &constraint_matrix,
-                                const std::vector<bool>        &component_mask = std::vector<bool>())
+                                const std::vector<bool>        &component_mask)
   {
     static const int space_dim = DH::space_dimension;
     Assert (0<=direction && direction<space_dim,
index 9a15f7d39b9d9c4547966e93387ebec459df538b..2806bc96137962f1c5db2f5bfa5b1163adabbb9e 100644 (file)
@@ -2064,7 +2064,7 @@ namespace GridTools
                                const types::boundary_id_t                  boundary_component,
                                int                                         direction,
                                const dealii::Tensor<1,CellIterator::AccessorType::space_dimension>
-                                 &offset = dealii::Tensor<1,CellIterator::AccessorType::space_dimension>())
+                                 &offset)
   {
     static const int space_dim = CellIterator::AccessorType::space_dimension;
     Assert (0<=direction && direction<space_dim,
@@ -2126,7 +2126,7 @@ namespace GridTools
                                const types::boundary_id_t boundary_component,
                                int                        direction,
                                const dealii::Tensor<1,DH::space_dimension>
-                                 &offset = Tensor<1,DH::space_dimension>())
+                                 &offset)
   {
     return collect_periodic_cell_pairs<typename DH::cell_iterator>
                                       (dof_handler.begin_active(),
index 52fd9bf88d03179ec4d89fcc1eaccfcd9221e7a2..74286ab1371465af6980cf329db043387259258b 100644 (file)
@@ -731,7 +731,7 @@ template <>
 void
 StraightBoundary<3>::
 get_normals_at_vertices (const Triangulation<3>::face_iterator &face,
-                         Boundary<3>::FaceVertexNormals &face_vertex_normals) const
+                         Boundary<3,3>::FaceVertexNormals &face_vertex_normals) const
 {
   const unsigned int vertices_per_face = GeometryInfo<3>::vertices_per_face;
 

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.