]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Repeated include statements removed 9977/head
authorReza Rastak <rastak@stanford.edu>
Tue, 28 Apr 2020 05:59:19 +0000 (22:59 -0700)
committerReza Rastak <rastak@stanford.edu>
Tue, 28 Apr 2020 05:59:19 +0000 (22:59 -0700)
29 files changed:
examples/step-47/step-47.cc
examples/step-57/step-57.cc
examples/step-61/step-61.cc
include/deal.II/base/work_stream.h
include/deal.II/differentiation/ad/adolc_number_types.h
include/deal.II/differentiation/ad/sacado_number_types.h
include/deal.II/lac/generic_linear_algebra.h
include/deal.II/numerics/matrix_creator.templates.h
include/deal.II/sundials/arkode.h
include/deal.II/sundials/ida.h
source/base/mpi.cc
source/lac/trilinos_precondition_ml.cc
source/lac/trilinos_sparse_matrix.cc
source/lac/trilinos_sparsity_pattern.cc
source/sundials/arkode.cc
source/sundials/ida.cc
source/sundials/kinsol.cc
tests/bits/static_condensation.cc
tests/bits/step-11.cc
tests/bits/step-13.cc
tests/bits/step-14.cc
tests/bits/step-16.cc
tests/bits/step-4.cc
tests/bits/step-6-racoptimize-2.cc
tests/bits/step-6-racoptimize.cc
tests/bits/step-7.cc
tests/bits/step-8.cc
tests/fail/step-15.cc
tests/fe/abf_01.cc

index 63c3714a357ac1d75281b4a2d6f148c20ca2a40f..7bf7c8ff0838ba251c2fa5471a4383cf7b0f500f 100644 (file)
@@ -32,7 +32,6 @@
 #include <deal.II/base/quadrature_lib.h>
 #include <deal.II/base/function.h>
 
-#include <deal.II/lac/sparse_matrix.h>
 #include <deal.II/lac/vector.h>
 #include <deal.II/lac/full_matrix.h>
 #include <deal.II/lac/dynamic_sparsity_pattern.h>
index 928cc94b3b8038ac713610eda0116c4be6e0049b..a9ba43c83724fd45df32aaac13442538a7223101 100644 (file)
@@ -32,7 +32,6 @@
 #include <deal.II/lac/solver_gmres.h>
 #include <deal.II/lac/precondition.h>
 #include <deal.II/lac/affine_constraints.h>
-#include <deal.II/lac/sparse_direct.h>
 
 #include <deal.II/grid/tria.h>
 #include <deal.II/grid/grid_generator.h>
index 7f8f027c3797282e0d8b30167365642a835b07b9..eaf59d541f074711f3c19ecbbef5c15863697c14 100644 (file)
@@ -54,7 +54,6 @@
 #include <deal.II/numerics/vector_tools.h>
 #include <deal.II/numerics/data_out.h>
 #include <deal.II/numerics/data_out_faces.h>
-#include <deal.II/grid/grid_generator.h>
 
 #include <fstream>
 #include <iostream>
index 228b2b4f0aa32393be25331682f090d709de5809..98bd062da3b5055c1fae1e93e346a16e6bb9f316 100644 (file)
@@ -28,8 +28,6 @@
 #  include <deal.II/base/thread_management.h>
 
 #  ifdef DEAL_II_WITH_THREADS
-#    include <deal.II/base/thread_management.h>
-
 #    include <tbb/pipeline.h>
 #  endif
 
index 8c45ee24c93c4a1e7f74a6c6e76f826652c8579f..ae76d2f9c539616a8ffa9a550dc2091576983b60 100644 (file)
@@ -82,7 +82,6 @@ DEAL_II_NAMESPACE_CLOSE
 #  include <adolc/internal/adubfunc.h> // Taped double math functions
 
 #  include <complex>
-#  include <type_traits>
 
 DEAL_II_NAMESPACE_OPEN
 
index 907e830e1f0168eb782d04ce2f4d1c0d68b61f0f..53f14b9e4d0ea5b5acd930054b7a85c3306cf848 100644 (file)
@@ -91,7 +91,6 @@ DEAL_II_ENABLE_EXTRA_DIAGNOSTICS
 #  include <deal.II/differentiation/ad/ad_number_types.h>
 
 #  include <complex>
-#  include <type_traits>
 
 DEAL_II_NAMESPACE_OPEN
 
index 23b18392d7abc41fd14b43f434f7336453f40179..9b70289826a3599163a913e2316185f140b0ce06 100644 (file)
@@ -19,6 +19,7 @@
 #include <deal.II/base/config.h>
 
 #include <deal.II/lac/block_sparse_matrix.h>
+#include <deal.II/lac/block_sparsity_pattern.h>
 #include <deal.II/lac/block_vector.h>
 #include <deal.II/lac/precondition.h>
 #include <deal.II/lac/sparse_matrix.h>
@@ -68,7 +69,6 @@ DEAL_II_NAMESPACE_CLOSE
 
 #ifdef DEAL_II_WITH_PETSC
 
-#  include <deal.II/lac/block_sparsity_pattern.h>
 #  include <deal.II/lac/petsc_block_sparse_matrix.h>
 #  include <deal.II/lac/petsc_precondition.h>
 #  include <deal.II/lac/petsc_solver.h>
@@ -162,7 +162,6 @@ DEAL_II_NAMESPACE_CLOSE
 
 #ifdef DEAL_II_WITH_TRILINOS
 
-#  include <deal.II/lac/block_sparsity_pattern.h>
 #  include <deal.II/lac/trilinos_block_sparse_matrix.h>
 #  include <deal.II/lac/trilinos_precondition.h>
 #  include <deal.II/lac/trilinos_solver.h>
index aeb070944b046d73beac6e9a7807c1120c2c8b8b..047b3334afa4d13208d5beec61a5705e1ff2f581 100644 (file)
@@ -58,8 +58,6 @@
 #endif
 
 
-#include <deal.II/base/config.h>
-
 #include <algorithm>
 #include <cmath>
 #include <set>
index bcbd9b2f920ccfb0d0d34968d8c6b5cb1cdf98c5..6d5971f779438d0fd0140f2093e175d1be04c47c 100644 (file)
@@ -25,7 +25,6 @@
 #  include <deal.II/base/conditional_ostream.h>
 #  include <deal.II/base/exceptions.h>
 #  include <deal.II/base/logstream.h>
-#  include <deal.II/base/mpi.h>
 #  include <deal.II/base/parameter_handler.h>
 #  ifdef DEAL_II_WITH_PETSC
 #    include <deal.II/lac/petsc_block_vector.h>
index 37dbea020098f6df5d8824c6e17f4b9b5fea7c48..24a9339c1c2335be036d9ae9de84f0d85caae1f3 100644 (file)
@@ -24,7 +24,6 @@
 #  include <deal.II/base/conditional_ostream.h>
 #  include <deal.II/base/exceptions.h>
 #  include <deal.II/base/logstream.h>
-#  include <deal.II/base/mpi.h>
 #  include <deal.II/base/parameter_handler.h>
 #  ifdef DEAL_II_WITH_PETSC
 #    include <deal.II/lac/petsc_block_vector.h>
index f8cddf8b7f9ee595307713ff74adb154c6ef47da..287132370367b7f2b11d8e1bc1b7ff4cc06cae2d 100644 (file)
@@ -36,7 +36,6 @@
 #  ifdef DEAL_II_WITH_MPI
 #    include <deal.II/lac/trilinos_parallel_block_vector.h>
 #    include <deal.II/lac/trilinos_vector.h>
-#    include <deal.II/lac/vector_memory.h>
 
 #    include <Epetra_MpiComm.h>
 #  endif
index 2a5ea5305e770e84daea2075f6bda2fd735a2026..2411604796f632f4200e1a7eb3a9ae6345edd7bc 100644 (file)
@@ -19,7 +19,6 @@
 #ifdef DEAL_II_WITH_TRILINOS
 
 #  include <deal.II/lac/sparse_matrix.h>
-#  include <deal.II/lac/trilinos_index_access.h>
 #  include <deal.II/lac/trilinos_sparse_matrix.h>
 #  include <deal.II/lac/vector.h>
 
index 274ac25f5992fd5fd221b9375648e0589efacf9a..16a392ed9cf14701070923e6361c77029a486457 100644 (file)
@@ -25,7 +25,6 @@
 #  include <deal.II/lac/sparse_matrix.h>
 #  include <deal.II/lac/sparsity_pattern.h>
 #  include <deal.II/lac/sparsity_tools.h>
-#  include <deal.II/lac/trilinos_index_access.h>
 #  include <deal.II/lac/trilinos_precondition.h>
 #  include <deal.II/lac/trilinos_sparsity_pattern.h>
 
index 08c9e3e6eb426fe7b4a15b9999df7a7de7b18ed7..bc2adefaae3106d99e694fef956f151af9953f0e 100644 (file)
@@ -23,7 +23,6 @@
 
 #  include <deal.II/lac/dynamic_sparsity_pattern.h>
 #  include <deal.II/lac/sparsity_pattern.h>
-#  include <deal.II/lac/trilinos_index_access.h>
 
 #  include <Epetra_Export.h>
 
index 098319be6cb3448fc3e7c210be530a6659b67ad5..bc0378ca7bb5056afa7f04e198dcbcd6ebd95965 100644 (file)
@@ -31,7 +31,6 @@
 #    include <deal.II/lac/petsc_block_vector.h>
 #    include <deal.II/lac/petsc_vector.h>
 #  endif
-#  include <deal.II/base/utilities.h>
 
 #  include <deal.II/sundials/copy.h>
 
index 3e1aec39c00586000ee26f014f12a8232e1cbf34..a44f7326589d1af071a82289e439a91fc2a86617 100644 (file)
@@ -31,7 +31,6 @@
 #    include <deal.II/lac/petsc_block_vector.h>
 #    include <deal.II/lac/petsc_vector.h>
 #  endif
-#  include <deal.II/base/utilities.h>
 
 #  include <deal.II/sundials/copy.h>
 
index e0bb952b04fbfc82965336ef8fa2e43faca1cf47..a3d9f5612303f4ca470957e893aec17122ff44f7 100644 (file)
@@ -31,7 +31,6 @@
 #    include <deal.II/lac/petsc_block_vector.h>
 #    include <deal.II/lac/petsc_vector.h>
 #  endif
-#  include <deal.II/base/utilities.h>
 
 #  include <deal.II/sundials/copy.h>
 
index 236c743045e0e6d7a641f53999702102bd182846..6fe15a6442c10b40821160b8b55f81cc31080d64 100644 (file)
 
 // a un-hp-ified version of hp/step-7
 
-
-#include "../tests.h"
-std::ofstream logfile("output");
-
-
 #include <deal.II/base/convergence_table.h>
 #include <deal.II/base/function.h>
 #include <deal.II/base/quadrature_lib.h>
@@ -61,7 +56,6 @@ std::ofstream logfile("output");
 #include "../tests.h"
 
 
-
 template <int dim>
 class SolutionBase
 {
@@ -674,6 +668,7 @@ HelmholtzProblem<dim>::run()
 int
 main()
 {
+  std::ofstream logfile("output");
   deallog << std::setprecision(2);
   logfile << std::setprecision(2);
 
index 7f78c529d70a1cfc811b4175eabdd48686cae671..d07d5996726853d0f0086026acae4353cd383d6f 100644 (file)
 
 // a un-hp-ified version of hp/step-11
 
-
-#include "../tests.h"
-std::ofstream logfile("output");
-
 #include <deal.II/base/function.h>
 #include <deal.II/base/quadrature_lib.h>
 #include <deal.II/base/table_handler.h>
@@ -224,6 +220,7 @@ LaplaceProblem<dim>::run()
 int
 main()
 {
+  std::ofstream logfile("output");
   try
     {
       deallog << std::setprecision(2);
index 5a3d523aed24aae80c01cbbd316c262c9befe2a4..0d29a7aae4c8146fdbd310c6258aa67856dbc2e3 100644 (file)
 
 // a un-hp-ified version of hp/step-13
 
-
-#include "../tests.h"
-std::ofstream logfile("output");
-
-
 #include <deal.II/base/function.h>
 #include <deal.II/base/quadrature_lib.h>
 #include <deal.II/base/table_handler.h>
@@ -800,6 +795,7 @@ solve_problem(const std::string &solver_name)
 int
 main()
 {
+  std::ofstream logfile("output");
   try
     {
       deallog << std::setprecision(2);
index f5c785426f0f390899b96c9cbab377c86fd20606..564c37bdb6c25752fabf13c542d86047b5711017 100644 (file)
 
 // a un-hp-ified version of hp/step-14
 
-
-#include "../tests.h"
-std::ofstream logfile("output");
-
-
 #include <deal.II/base/function.h>
 #include <deal.II/base/quadrature_lib.h>
 #include <deal.II/base/thread_management.h>
@@ -2060,6 +2055,7 @@ Framework<dim>::run(const ProblemDescription &descriptor)
 int
 main()
 {
+  std::ofstream logfile("output");
   try
     {
       deallog << std::setprecision(2);
index 6318ebb57e0f1454fb0fb9586e35a63f29d71a5e..a36fc041ae89cf9a91d90eafd300e79766aa4c51 100644 (file)
 
 // a un-hp-ified version of hp/step-16
 
-
-#include "../tests.h"
-std::ofstream logfile("output");
-
 #include <deal.II/base/function.h>
 #include <deal.II/base/quadrature_lib.h>
 
@@ -341,6 +337,7 @@ LaplaceProblem<dim>::run()
 int
 main()
 {
+  std::ofstream logfile("output");
   deallog << std::setprecision(2);
   logfile << std::setprecision(2);
 
index 4a86536087aa64ebdb412a97d90da1a29cebcb14..d2d6150ad39bbdce968f0157fd51312078016c3a 100644 (file)
 
 // a un-hp-ified version of hp/step-4
 
-
-#include "../tests.h"
-std::ofstream logfile("output");
-
-
 #include <deal.II/base/function.h>
 #include <deal.II/base/quadrature_lib.h>
 
@@ -293,6 +288,7 @@ LaplaceProblem<dim>::run()
 int
 main()
 {
+  std::ofstream logfile("output");
   deallog << std::setprecision(2);
   logfile << std::setprecision(2);
 
index 73730a40ea396eef212401481079748a72fa4f82..41269b697df21d882f6c105f572a4920cd70d066 100644 (file)
 // like the step-6-racoptimize test but calling
 // GridRefinement::refine_and_coarsen_optimize with argument order=5
 
-
-#include "../tests.h"
-std::ofstream logfile("output");
-
-
 #include <deal.II/base/function.h>
 #include <deal.II/base/quadrature_lib.h>
 
index a4d14aec1b93a33544d31adac5609f0e6d5f0201..7f0a10d551b5416889493b4d7e37021bc9355691 100644 (file)
 // like the step-6 test but calling
 // GridRefinement::refine_and_coarsen_optimize
 
-
-#include "../tests.h"
-std::ofstream logfile("output");
-
-
 #include <deal.II/base/function.h>
 #include <deal.II/base/quadrature_lib.h>
 
index 84c26eb9cc758e5550a57466d0d90fdb9cb54e43..fb66be308f747aec2061756040b99e77e4b7a383 100644 (file)
 
 // a un-hp-ified version of hp/step-7
 
-
-#include "../tests.h"
-std::ofstream logfile("output");
-
-
 #include <deal.II/base/convergence_table.h>
 #include <deal.II/base/function.h>
 #include <deal.II/base/quadrature_lib.h>
@@ -664,6 +659,7 @@ HelmholtzProblem<dim>::run()
 int
 main()
 {
+  std::ofstream logfile("output");
   deallog << std::setprecision(2);
   logfile << std::setprecision(2);
 
index f64bc4efc2881b8ea01b3bf84692dfaaf7d41365..ceacace6bb41eb237284be027666a0a91f596697 100644 (file)
 
 // a un-hp-ified version of hp/step-8
 
-
-#include "../tests.h"
-std::ofstream logfile("output");
-
-
 #include <deal.II/base/function.h>
 #include <deal.II/base/quadrature_lib.h>
 
@@ -428,6 +423,7 @@ ElasticProblem<dim>::run()
 int
 main()
 {
+  std::ofstream logfile("output");
   deallog << std::setprecision(2);
   logfile << std::setprecision(2);
 
index 6c148a0d6985cb50d46c538a476a2163a29e433d..ebd78de38392f6990f5d07f4bc7cb353e80c57da 100644 (file)
 
 // a un-hp-ified version of hp/step-15
 
-
-#include "../tests.h"
-std::ofstream logfile("output");
-
 #include <deal.II/base/function.h>
 #include <deal.II/base/quadrature_lib.h>
 
@@ -581,6 +577,7 @@ MinimizationProblem<dim>::run()
 int
 main()
 {
+  std::ofstream logfile("output");
   try
     {
       deallog << std::setprecision(2);
index 814221b4653e87b87308f184ae91feebc2c6ca1a..764f5ae108a3e94ee1b667d799e80fdabe9b3941 100644 (file)
@@ -34,7 +34,6 @@
 #include <deal.II/fe/fe_abf.h>
 #include <deal.II/fe/fe_dgq.h>
 #include <deal.II/fe/fe_q.h>
-#include <deal.II/fe/fe_raviart_thomas.h>
 #include <deal.II/fe/fe_system.h>
 #include <deal.II/fe/fe_values.h>
 #include <deal.II/fe/mapping_q.h>

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.