]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Change return type of DoFHandler::n_locally_owned_dofs() 9735/head
authorPeter Munch <peterrmuench@gmail.com>
Wed, 25 Mar 2020 21:08:29 +0000 (22:08 +0100)
committerPeter Munch <peterrmuench@gmail.com>
Wed, 25 Mar 2020 21:08:29 +0000 (22:08 +0100)
include/deal.II/dofs/dof_handler.h

index dd51e6c4ce3ea335f0a1316e34ccbc59237f6a1a..1572d52f99b6df4929c91496fdef22cfdd1c0bef 100644 (file)
@@ -1023,7 +1023,7 @@ public:
    * cells owned by other processors may be theirs, and degrees of freedom on
    * ghost cells are also not necessarily included.
    */
-  unsigned int
+  types::global_dof_index
   n_locally_owned_dofs() const;
 
   /**
@@ -1495,7 +1495,7 @@ DoFHandler<dim, spacedim>::n_dofs(const unsigned int level) const
 
 
 template <int dim, int spacedim>
-unsigned int
+types::global_dof_index
 DoFHandler<dim, spacedim>::n_locally_owned_dofs() const
 {
   return number_cache.n_locally_owned_dofs;

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.