]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Fix warnings in step-75 12204/head
authorDaniel Arndt <arndtd@ornl.gov>
Fri, 14 May 2021 15:37:27 +0000 (11:37 -0400)
committerDaniel Arndt <arndtd@ornl.gov>
Fri, 14 May 2021 15:37:37 +0000 (11:37 -0400)
examples/step-75/step-75.cc

index 443fb4399efc3a798c23925e80f335ee251a8be6..1c4f4691652f75dcf6277980ace0544ac1730836 100644 (file)
@@ -1175,7 +1175,7 @@ namespace Step75
             << std::endl
             << "     by partition:              ";
 
-      std::vector<unsigned int> n_dofs_per_subdomain =
+      std::vector<types::global_dof_index> n_dofs_per_subdomain =
         Utilities::MPI::gather(mpi_communicator,
                                dof_handler.n_locally_owned_dofs());
       for (unsigned int i = 0; i < first_n_processes; ++i)
@@ -1186,7 +1186,7 @@ namespace Step75
     }
 
     {
-      std::vector<unsigned int> n_constraints_per_subdomain =
+      std::vector<types::global_dof_index> n_constraints_per_subdomain =
         Utilities::MPI::gather(mpi_communicator, constraints.n_constraints());
 
       pcout << "   Number of constraints:        "

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.