]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Merge from mainline.
authorturcksin <turcksin@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 1 Mar 2013 15:59:12 +0000 (15:59 +0000)
committerturcksin <turcksin@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 1 Mar 2013 15:59:12 +0000 (15:59 +0000)
git-svn-id: https://svn.dealii.org/branches/branch_bigger_global_dof_indices_4@28689 0785d39b-7218-0410-832d-ea1e28bc413d

13 files changed:
1  2 
deal.II/examples/step-18/step-18.cc
deal.II/examples/step-42/step-42.cc
deal.II/include/deal.II/dofs/dof_accessor.h
deal.II/include/deal.II/grid/grid_generator.h
deal.II/include/deal.II/grid/tria.h
deal.II/include/deal.II/lac/block_matrix_base.h
deal.II/include/deal.II/lac/lapack_full_matrix.h
deal.II/include/deal.II/lac/petsc_matrix_base.h
deal.II/include/deal.II/lac/petsc_parallel_vector.h
deal.II/include/deal.II/lac/trilinos_sparse_matrix.h
deal.II/include/deal.II/lac/trilinos_vector.h
deal.II/source/grid/grid_tools.cc
deal.II/source/lac/petsc_matrix_base.cc

Simple merge
Simple merge
index 03f0d9e59d8cf9b06ecbe540b4513127ee462656,fd605cb43c31012559fa00932153339ebcc440be..a7328c7cd766137248ba53bee1284af9877cca31
@@@ -368,77 -368,50 +368,50 @@@ public
     */
  
    /**
-    * Return the indices of the dofs of this
-    * object in the standard ordering: dofs
-    * on vertex 0, dofs on vertex 1, etc,
-    * dofs on line 0, dofs on line 1, etc,
-    * dofs on quad 0, etc.
+    * Return the indices of the dofs of this object in the standard
+    * ordering: dofs on vertex 0, dofs on vertex 1, etc, dofs on line
+    * 0, dofs on line 1, etc, dofs on quad 0, etc.
     *
-    * The vector has to have the
-    * right size before being passed
-    * to this function.
+    * The vector has to have the right size before being passed to this
+    * function.
     *
-    * This function is most often
-    * used on active objects (edges,
-    * faces, cells). It can be used
-    * on non-active objects as well
-    * (i.e. objects that have
-    * children), but only if the
-    * finite element under
-    * consideration has degrees of
-    * freedom exclusively on
-    * vertices. Otherwise, the
-    * function doesn't make much
-    * sense, since for example
-    * inactive edges do not have
-    * degrees of freedom associated
-    * with them at all.
+    * @note The behavior descibed below for non-active cells will
+    * be removed in a future release. It is not very intuitive and its
+    * use is limited to FE_Q elements of degree 1.
     *
-    * The last argument denotes the
-    * finite element index. For the
-    * standard ::DoFHandler class,
-    * this value must be equal to
-    * its default value since that
-    * class only supports the same
-    * finite element on all cells
-    * anyway.
+    * This function is most often used on active objects (edges, faces,
+    * cells). It can be used on non-active objects as well
+    * (i.e. objects that have children), but only if the finite element
+    * under consideration has degrees of freedom exclusively on
+    * vertices. Otherwise, the function doesn't make much sense, since
+    * for example inactive edges do not have degrees of freedom
+    * associated with them at all.
     *
-    * However, for hp objects
-    * (i.e. the hp::DoFHandler
-    * class), different finite
-    * element objects may be used on
-    * different cells. On faces
-    * between two cells, as well as
-    * vertices, there may therefore
-    * be two sets of degrees of
-    * freedom, one for each of the
-    * finite elements used on the
-    * adjacent cells. In order to
-    * specify which set of degrees
-    * of freedom to work on, the
-    * last argument is used to
-    * disambiguate. Finally, if this
-    * function is called for a cell
-    * object, there can only be a
-    * single set of degrees of
-    * freedom, and fe_index has to
-    * match the result of
+    * The last argument denotes the finite element index. For the
+    * standard ::DoFHandler class, this value must be equal to its
+    * default value since that class only supports the same finite
+    * element on all cells anyway.
+    *
+    * However, for hp objects (i.e. the hp::DoFHandler class),
+    * different finite element objects may be used on different
+    * cells. On faces between two cells, as well as vertices, there may
+    * therefore be two sets of degrees of freedom, one for each of the
+    * finite elements used on the adjacent cells. In order to specify
+    * which set of degrees of freedom to work on, the last argument is
+    * used to disambiguate. Finally, if this function is called for a
+    * cell object, there can only be a single set of degrees of
+    * freedom, and fe_index has to match the result of
     * active_fe_index().
     *
-    * For cells, there is only a
-    * single possible finite element
-    * index (namely the one for that
-    * cell, returned by
-    * <code>cell-@>active_fe_index</code>. Consequently,
-    * the derived DoFCellAccessor
-    * class has an overloaded
-    * version of this function that
-    * calls the present function
-    * with
-    * <code>cell-@>active_fe_index</code>
-    * as last argument.
+    * For cells, there is only a single possible finite element index
+    * (namely the one for that cell, returned by
+    * <code>cell-@>active_fe_index</code>. Consequently, the derived
+    * DoFCellAccessor class has an overloaded version of this function
+    * that calls the present function with
+    * <code>cell-@>active_fe_index</code> as last argument.
+    *
     */
 -  void get_dof_indices (std::vector<unsigned int> &dof_indices,
 +  void get_dof_indices (std::vector<types::global_dof_index> &dof_indices,
                          const unsigned int fe_index = DH::default_fe_index) const;
  
    /**
index f899b62e7f566359f346d4fa605b715c79a70893,acabac70049e3f70ca48f8a7c7368faff3812330..455129df0b2b9393aefe471f440a650839a783bc
@@@ -704,10 -699,13 +704,13 @@@ public
     * (overwritten).
     *
     * In 1d, this function is not currently implemented.
+    *
+    * @deprecated This function has been moved to GridTools::laplace_transform
     */
    template <int dim>
-   static void laplace_transformation (Triangulation<dim> &tria,
-                                       const std::map<size_type,Point<dim> > &new_points);
+   static
+   void laplace_transformation (Triangulation<dim> &tria,
 -                               const std::map<unsigned int,Point<dim> > &new_points) DEAL_II_DEPRECATED;
++                               const std::map<size_type,Point<dim> > &new_points) DEAL_II_DEPRECATED;
  
    /**
     * Exception
Simple merge
Simple merge
index 283083724a912bbc21a2cf33f29aaf6df4c733e4,50962f17f480975c97a2ed8b69118636f8b8eb20..0ddd19db0ccdd518bd9bd982e3682330916acde7
@@@ -262,7 -263,15 +262,15 @@@ namespace PETScWrapper
  
  
  
-   size_type 
+   void
+   MatrixBase::compress ()
+   {
+     compress(::dealii::VectorOperation::unknown);
+   }
 -  unsigned int
++  size_type
    MatrixBase::m () const
    {
  #ifdef PETSC_USE_64BIT_INDICES

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.