]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Fix formating 14267/head
authorPeter Munch <peterrmuench@gmail.com>
Tue, 13 Sep 2022 12:39:45 +0000 (14:39 +0200)
committerPeter Munch <peterrmuench@gmail.com>
Tue, 13 Sep 2022 16:49:15 +0000 (18:49 +0200)
25 files changed:
include/deal.II/dofs/dof_handler_policy.h
include/deal.II/fe/fe_tools_extrapolate.templates.h
include/deal.II/fe/fe_tools_interpolate.templates.h
include/deal.II/grid/filtered_iterator.h
include/deal.II/grid/tria_iterator.h
include/deal.II/lac/chunk_sparse_matrix.h
include/deal.II/lac/ginkgo_solver.h
include/deal.II/lac/petsc_full_matrix.h
include/deal.II/lac/petsc_matrix_base.h
include/deal.II/lac/petsc_matrix_free.h
include/deal.II/lac/petsc_parallel_sparse_matrix.h
include/deal.II/lac/petsc_parallel_vector.h
include/deal.II/lac/petsc_precondition.h
include/deal.II/lac/petsc_solver.h
include/deal.II/lac/petsc_sparse_matrix.h
include/deal.II/lac/petsc_vector.h
include/deal.II/lac/petsc_vector_base.h
include/deal.II/lac/sparse_ilu.templates.h
include/deal.II/lac/sparse_matrix_ez.h
include/deal.II/lac/trilinos_precondition.h
include/deal.II/lac/trilinos_solver.h
include/deal.II/lac/trilinos_vector.h
include/deal.II/numerics/solution_transfer.h
include/deal.II/numerics/time_dependent.h
include/deal.II/opencascade/utilities.h

index de1c222c591e60c6ddc89acf7583f1c45ff33799..ed06bd23f6a66c3b12a83f6afc34b5abe2411dba 100644 (file)
 // ---------------------------------------------------------------------
 
 #ifndef dealii_dof_handler_policy_h
-#  define dealii_dof_handler_policy_h
+#define dealii_dof_handler_policy_h
 
 
 
-#  include <deal.II/base/config.h>
+#include <deal.II/base/config.h>
 
-#  include <deal.II/base/exceptions.h>
-#  include <deal.II/base/template_constraints.h>
+#include <deal.II/base/exceptions.h>
+#include <deal.II/base/template_constraints.h>
 
-#  include <deal.II/dofs/dof_renumbering.h>
-#  include <deal.II/dofs/dof_tools.h>
+#include <deal.II/dofs/dof_renumbering.h>
+#include <deal.II/dofs/dof_tools.h>
 
-#  include <vector>
+#include <vector>
 
 DEAL_II_NAMESPACE_OPEN
 
 // Forward declaration
-#  ifndef DOXYGEN
+#ifndef DOXYGEN
 template <int, int>
 class DoFHandler;
-#  endif
+#endif
 
 namespace internal
 {
@@ -258,4 +258,3 @@ namespace internal
 DEAL_II_NAMESPACE_CLOSE
 
 #endif
-/*--------------------------   dof_handler_policy.h -------------------------*/
index e3615b09632dac2ea354a9aa1bada195ceeb8431..510b446a6253d7376d6ab3b192df07494f625795 100644 (file)
@@ -1772,5 +1772,4 @@ namespace FETools
 
 DEAL_II_NAMESPACE_CLOSE
 
-/*--------------------   fe_tools_extrapolate_templates.h -------------------*/
-#endif // dealii_fe_tools_extrapolate_templates_H
+#endif
index c3ba8226ba67f23cee8a5be1c16d899b0d70b29f..47f312a32e739bc357132bfd6958e4eec31c23d4 100644 (file)
@@ -796,5 +796,4 @@ namespace FETools
 
 DEAL_II_NAMESPACE_CLOSE
 
-/*---------------------- fe_tools_interpolate_templates.h -------------------*/
-#endif // dealii_fe_tools_interpolate_templates_H
+#endif
index b97f5eb8e3c2597ab1273e99497918419de75c91..45b0f14b209e00089f5528a7c660ba7f71a9a98e 100644 (file)
 // ---------------------------------------------------------------------
 
 #ifndef dealii_filtered_iterator_h
-#  define dealii_filtered_iterator_h
+#define dealii_filtered_iterator_h
 
 
-#  include <deal.II/base/config.h>
+#include <deal.II/base/config.h>
 
-#  include <deal.II/base/exceptions.h>
-#  include <deal.II/base/iterator_range.h>
+#include <deal.II/base/exceptions.h>
+#include <deal.II/base/iterator_range.h>
 
-#  include <deal.II/grid/tria_iterator_base.h>
+#include <deal.II/grid/tria_iterator_base.h>
 
-#  include <memory>
-#  include <set>
-#  include <tuple>
+#include <memory>
+#include <set>
+#include <tuple>
 
 DEAL_II_NAMESPACE_OPEN
 
@@ -1569,6 +1569,4 @@ namespace IteratorFilters
 
 DEAL_II_NAMESPACE_CLOSE
 
-/*------------------------- filtered_iterator.h ------------------------*/
 #endif
-/*------------------------- filtered_iterator.h ------------------------*/
index 2424c7fd1be84fe49724a8c132ad13c2d02fe6ec..27519e6a7f1f7f143597f363a21822901b81762e 100644 (file)
 // ---------------------------------------------------------------------
 
 #ifndef dealii_tria_iterator_h
-#  define dealii_tria_iterator_h
+#define dealii_tria_iterator_h
 
 
-/*----------------------------   tria-iterator.h ---------------------------*/
+#include <deal.II/base/config.h>
 
+#include <deal.II/base/exceptions.h>
+#include <deal.II/base/point.h>
 
-#  include <deal.II/base/config.h>
+#include <deal.II/grid/tria_iterator_base.h>
 
-#  include <deal.II/base/exceptions.h>
-#  include <deal.II/base/point.h>
-
-#  include <deal.II/grid/tria_iterator_base.h>
-
-#  include <iterator>
-#  include <ostream>
+#include <iterator>
+#include <ostream>
 
 DEAL_II_NAMESPACE_OPEN
 
 // Forward declarations
-#  ifndef DOXYGEN
+#ifndef DOXYGEN
 template <int dim, int spacedim>
 class Triangulation;
 template <int, int, int>
@@ -43,7 +40,7 @@ template <typename>
 class TriaIterator;
 template <typename>
 class TriaActiveIterator;
-#  endif
+#endif
 
 
 
@@ -1165,7 +1162,7 @@ inline TriaIterator<Accessor>::TriaIterator(
   const TriaRawIterator<OtherAccessor> &i)
   : TriaRawIterator<Accessor>(i.accessor)
 {
-#  ifdef DEBUG
+#ifdef DEBUG
   // do this like this, because:
   // if we write
   // "Assert (IteratorState::past_the_end || used)"
@@ -1174,7 +1171,7 @@ inline TriaIterator<Accessor>::TriaIterator(
   // throw the exception!
   if (this->state() != IteratorState::past_the_end)
     Assert(this->accessor.used(), ExcAssignmentOfUnusedObject());
-#  endif
+#endif
 }
 
 template <typename Accessor>
@@ -1182,7 +1179,7 @@ template <typename OtherAccessor>
 TriaIterator<Accessor>::TriaIterator(const OtherAccessor &a)
   : TriaRawIterator<Accessor>(a)
 {
-#  ifdef DEBUG
+#ifdef DEBUG
   // do this like this, because:
   // if we write
   // "Assert (IteratorState::past_the_end || used)"
@@ -1191,7 +1188,7 @@ TriaIterator<Accessor>::TriaIterator(const OtherAccessor &a)
   // throw the exception!
   if (this->state() != IteratorState::past_the_end)
     Assert(this->accessor.used(), ExcAssignmentOfUnusedObject());
-#  endif
+#endif
 }
 
 template <typename Accessor>
@@ -1209,7 +1206,7 @@ inline TriaActiveIterator<Accessor>::TriaActiveIterator(
   const TriaRawIterator<OtherAccessor> &i)
   : TriaIterator<Accessor>(i)
 {
-#  ifdef DEBUG
+#ifdef DEBUG
   // do this like this, because:
   // if we write
   // "Assert (IteratorState::past_the_end || !has_children())"
@@ -1219,7 +1216,7 @@ inline TriaActiveIterator<Accessor>::TriaActiveIterator(
   if (this->state() != IteratorState::past_the_end)
     Assert(this->accessor.has_children() == false,
            ExcAssignmentOfInactiveObject());
-#  endif
+#endif
 }
 
 
@@ -1272,11 +1269,8 @@ DEAL_II_NAMESPACE_CLOSE
 
 
 // if in optimized mode: include more templates
-#  ifndef DEBUG
-#    include "tria_iterator.templates.h"
-#  endif
-
+#ifndef DEBUG
+#  include "tria_iterator.templates.h"
+#endif
 
-/*----------------------------   tria-iterator.h ---------------------------*/
 #endif
-/*----------------------------   tria-iterator.h ---------------------------*/
index ff74a410e39efd312abe8968d18930abf2ed5a70..6479eafe7d180719a854e86cca12511070293034 100644 (file)
 // ---------------------------------------------------------------------
 
 #ifndef dealii_chunk_sparse_matrix_h
-#  define dealii_chunk_sparse_matrix_h
+#define dealii_chunk_sparse_matrix_h
 
 
-#  include <deal.II/base/config.h>
+#include <deal.II/base/config.h>
 
-#  include <deal.II/base/smartpointer.h>
-#  include <deal.II/base/subscriptor.h>
+#include <deal.II/base/smartpointer.h>
+#include <deal.II/base/subscriptor.h>
 
-#  include <deal.II/lac/chunk_sparsity_pattern.h>
-#  include <deal.II/lac/exceptions.h>
-#  include <deal.II/lac/identity_matrix.h>
+#include <deal.II/lac/chunk_sparsity_pattern.h>
+#include <deal.II/lac/exceptions.h>
+#include <deal.II/lac/identity_matrix.h>
 
-#  include <iterator>
-#  include <memory>
+#include <iterator>
+#include <memory>
 
 
 DEAL_II_NAMESPACE_OPEN
 
 // Forward declarations
-#  ifndef DOXYGEN
+#ifndef DOXYGEN
 template <typename number>
 class Vector;
 template <typename number>
 class FullMatrix;
-#  endif
+#endif
 
 /**
  * @addtogroup Matrix1
@@ -1443,7 +1443,7 @@ private:
 
 /** @} */
 
-#  ifndef DOXYGEN
+#ifndef DOXYGEN
 /*---------------------- Inline functions -----------------------------------*/
 
 
@@ -2071,9 +2071,8 @@ ChunkSparseMatrix<number>::end(const unsigned int r)
 
 
 
-#  endif // DOXYGEN
+#endif // DOXYGEN
 
 DEAL_II_NAMESPACE_CLOSE
 
 #endif
-/*--------------------------- chunk_sparse_matrix.h -------------------------*/
index c1df8506cec7f9e0d86ff66ae0d776c84a4bd80c..79024848fd21ce6b9095d136a889bbe51c9c1ebc 100644 (file)
 // ---------------------------------------------------------------------
 
 #ifndef dealii_ginkgo_solver_h
-#  define dealii_ginkgo_solver_h
+#define dealii_ginkgo_solver_h
 
 
-#  include <deal.II/base/config.h>
+#include <deal.II/base/config.h>
 
-#  ifdef DEAL_II_WITH_GINKGO
+#ifdef DEAL_II_WITH_GINKGO
 
-#    include <deal.II/lac/block_sparse_matrix.h>
-#    include <deal.II/lac/exceptions.h>
-#    include <deal.II/lac/solver_control.h>
-#    include <deal.II/lac/sparse_matrix.h>
-#    include <deal.II/lac/vector.h>
+#  include <deal.II/lac/block_sparse_matrix.h>
+#  include <deal.II/lac/exceptions.h>
+#  include <deal.II/lac/solver_control.h>
+#  include <deal.II/lac/sparse_matrix.h>
+#  include <deal.II/lac/vector.h>
 
-#    include <ginkgo/ginkgo.hpp>
+#  include <ginkgo/ginkgo.hpp>
 
-#    include <memory>
+#  include <memory>
 
 DEAL_II_NAMESPACE_OPEN
 
@@ -572,7 +572,6 @@ namespace GinkgoWrappers
 
 DEAL_II_NAMESPACE_CLOSE
 
-#  endif // DEAL_II_WITH_GINKGO
+#endif // DEAL_II_WITH_GINKGO
 
 #endif
-/*----------------------------   ginkgo_solver.h ---------------------------*/
index 05e5d68c0fd9dd692c1100d88f2ebb735d29275a..739dc50713e00c5e1fbc0bbaabb49e9bd1d0ef75 100644 (file)
 // ---------------------------------------------------------------------
 
 #ifndef dealii_petsc_full_matrix_h
-#  define dealii_petsc_full_matrix_h
+#define dealii_petsc_full_matrix_h
 
 
-#  include <deal.II/base/config.h>
+#include <deal.II/base/config.h>
 
-#  ifdef DEAL_II_WITH_PETSC
+#ifdef DEAL_II_WITH_PETSC
 
-#    include <deal.II/lac/exceptions.h>
-#    include <deal.II/lac/petsc_matrix_base.h>
+#  include <deal.II/lac/exceptions.h>
+#  include <deal.II/lac/petsc_matrix_base.h>
 
 DEAL_II_NAMESPACE_OPEN
 
@@ -100,7 +100,6 @@ namespace PETScWrappers
 
 DEAL_II_NAMESPACE_CLOSE
 
-#  endif // DEAL_II_WITH_PETSC
+#endif // DEAL_II_WITH_PETSC
 
 #endif
-/*---------------------------- petsc_full_matrix.h --------------------------*/
index 8724b691fc376fbf7ef9d74a8bb5cd87bd268b78..1aa5a9435ffe5c2be347384c95350223545ae48a 100644 (file)
 // ---------------------------------------------------------------------
 
 #ifndef dealii_petsc_matrix_base_h
-#  define dealii_petsc_matrix_base_h
+#define dealii_petsc_matrix_base_h
 
 
-#  include <deal.II/base/config.h>
+#include <deal.II/base/config.h>
 
-#  ifdef DEAL_II_WITH_PETSC
+#ifdef DEAL_II_WITH_PETSC
 
-#    include <deal.II/base/subscriptor.h>
+#  include <deal.II/base/subscriptor.h>
 
-#    include <deal.II/lac/exceptions.h>
-#    include <deal.II/lac/full_matrix.h>
-#    include <deal.II/lac/petsc_compatibility.h>
-#    include <deal.II/lac/petsc_vector_base.h>
-#    include <deal.II/lac/vector_operation.h>
+#  include <deal.II/lac/exceptions.h>
+#  include <deal.II/lac/full_matrix.h>
+#  include <deal.II/lac/petsc_compatibility.h>
+#  include <deal.II/lac/petsc_vector_base.h>
+#  include <deal.II/lac/vector_operation.h>
 
-#    include <petscmat.h>
+#  include <petscmat.h>
 
-#    include <cmath>
-#    include <memory>
-#    include <vector>
+#  include <cmath>
+#  include <memory>
+#  include <vector>
 
 DEAL_II_NAMESPACE_OPEN
 
 // Forward declarations
-#    ifndef DOXYGEN
+#  ifndef DOXYGEN
 template <typename Matrix>
 class BlockMatrixBase;
-#    endif
+#  endif
 
 
 namespace PETScWrappers
@@ -1070,7 +1070,7 @@ namespace PETScWrappers
 
 
 
-#    ifndef DOXYGEN
+#  ifndef DOXYGEN
   // ---------------------- inline and template functions ---------------------
 
 
@@ -1610,14 +1610,13 @@ namespace PETScWrappers
     prepare_action(VectorOperation::insert);
   }
 
-#    endif // DOXYGEN
+#  endif // DOXYGEN
 } // namespace PETScWrappers
 
 
 DEAL_II_NAMESPACE_CLOSE
 
 
-#  endif // DEAL_II_WITH_PETSC
+#endif // DEAL_II_WITH_PETSC
 
 #endif
-/*---------------------------- petsc_matrix_base.h --------------------------*/
index c079dae36e00c24e3e4092b9f8b79c9921ff1984..d9966ed18586d32a221215948ab7431292bb67eb 100644 (file)
 // ---------------------------------------------------------------------
 
 #ifndef dealii_petsc_matrix_free_h
-#  define dealii_petsc_matrix_free_h
+#define dealii_petsc_matrix_free_h
 
 
-#  include <deal.II/base/config.h>
+#include <deal.II/base/config.h>
 
-#  ifdef DEAL_II_WITH_PETSC
-#    include <deal.II/lac/exceptions.h>
-#    include <deal.II/lac/petsc_matrix_base.h>
-#    include <deal.II/lac/petsc_vector.h>
+#ifdef DEAL_II_WITH_PETSC
+#  include <deal.II/lac/exceptions.h>
+#  include <deal.II/lac/petsc_matrix_base.h>
+#  include <deal.II/lac/petsc_vector.h>
 DEAL_II_NAMESPACE_OPEN
 
 
@@ -298,7 +298,6 @@ namespace PETScWrappers
 
 DEAL_II_NAMESPACE_CLOSE
 
-#  endif // DEAL_II_WITH_PETSC
+#endif // DEAL_II_WITH_PETSC
 
 #endif
-/*---------------------------- petsc_matrix_free.h --------------------------*/
index 0b203b3f3c185b20490100448e0c0c951b06da0b..32ec9838acfabd1c76c8313da93e35125fcf78c8 100644 (file)
 // ---------------------------------------------------------------------
 
 #ifndef dealii_petsc_parallel_sparse_matrix_h
-#  define dealii_petsc_parallel_sparse_matrix_h
+#define dealii_petsc_parallel_sparse_matrix_h
 
-#  include <deal.II/base/config.h>
+#include <deal.II/base/config.h>
 
-#  include <deal.II/lac/petsc_sparse_matrix.h>
+#include <deal.II/lac/petsc_sparse_matrix.h>
 
 DEAL_II_WARNING(
   "This file is deprecated. Use deal.II/lac/petsc_sparse_matrix.h instead.")
 
 #endif
-/*---------------------- petsc_parallel_sparse_matrix.h ---------------------*/
index 2c75995cda091de477d9d158dcd6dbfeab979159..bba8d9358463e629fa8d754daf48821b075ddee5 100644 (file)
 // ---------------------------------------------------------------------
 
 #ifndef dealii_petsc_parallel_vector_h
-#  define dealii_petsc_parallel_vector_h
+#define dealii_petsc_parallel_vector_h
 
-#  include <deal.II/base/config.h>
+#include <deal.II/base/config.h>
 
-#  include <deal.II/lac/petsc_vector.h>
+#include <deal.II/lac/petsc_vector.h>
 
 DEAL_II_WARNING(
   "This file is deprecated. Use deal.II/lac/petsc_vector.h instead!")
 
 #endif
-/*------------------------- petsc_parallel_vector.h -------------------------*/
index b17c5e2a9f1d4421ff45790f9d6239c6d10c9b1f..e4bf24814f64a4f27647507b6c60c3f306fdac97 100644 (file)
 // ---------------------------------------------------------------------
 
 #ifndef dealii_petsc_precondition_h
-#  define dealii_petsc_precondition_h
+#define dealii_petsc_precondition_h
 
 
-#  include <deal.II/base/config.h>
+#include <deal.II/base/config.h>
 
-#  include <deal.II/base/subscriptor.h>
+#include <deal.II/base/subscriptor.h>
 
-#  ifdef DEAL_II_WITH_PETSC
+#ifdef DEAL_II_WITH_PETSC
 
-#    include <deal.II/lac/exceptions.h>
+#  include <deal.II/lac/exceptions.h>
 
-#    include <petscpc.h>
+#  include <petscpc.h>
 
 DEAL_II_NAMESPACE_OPEN
 
@@ -34,11 +34,11 @@ DEAL_II_NAMESPACE_OPEN
 namespace PETScWrappers
 {
   // forward declarations
-#    ifndef DOXYGEN
+#  ifndef DOXYGEN
   class MatrixBase;
   class VectorBase;
   class SolverBase;
-#    endif
+#  endif
 
   /**
    * Base class for preconditioner classes using the PETSc functionality. The
@@ -969,7 +969,6 @@ namespace PETScWrappers
 DEAL_II_NAMESPACE_CLOSE
 
 
-#  endif // DEAL_II_WITH_PETSC
+#endif // DEAL_II_WITH_PETSC
 
 #endif
-/*--------------------------- petsc_precondition.h --------------------------*/
index 696f48f02581a4bf9880c5fb53798aaa9f1fd844..4347bd8a624bfef7fb235c081d02769a232758df 100644 (file)
 // ---------------------------------------------------------------------
 
 #ifndef dealii_petsc_solver_h
-#  define dealii_petsc_solver_h
+#define dealii_petsc_solver_h
 
 
-#  include <deal.II/base/config.h>
+#include <deal.II/base/config.h>
 
-#  ifdef DEAL_II_WITH_PETSC
+#ifdef DEAL_II_WITH_PETSC
 
-#    include <deal.II/lac/exceptions.h>
-#    include <deal.II/lac/solver_control.h>
+#  include <deal.II/lac/exceptions.h>
+#  include <deal.II/lac/solver_control.h>
 
-#    include <petscksp.h>
+#  include <petscksp.h>
 
-#    include <memory>
+#  include <memory>
 
-#    ifdef DEAL_II_WITH_SLEPC
-#      include <deal.II/lac/slepc_spectral_transformation.h>
-#    endif
+#  ifdef DEAL_II_WITH_SLEPC
+#    include <deal.II/lac/slepc_spectral_transformation.h>
+#  endif
 
 DEAL_II_NAMESPACE_OPEN
 
 // Forward declarations
-#    ifndef DOXYGEN
-#      ifdef DEAL_II_WITH_SLEPC
+#  ifndef DOXYGEN
+#    ifdef DEAL_II_WITH_SLEPC
 namespace SLEPcWrappers
 {
   // forward declarations
   class TransformationBase;
 } // namespace SLEPcWrappers
-#      endif
 #    endif
+#  endif
 
 namespace PETScWrappers
 {
   // forward declarations
-#    ifndef DOXYGEN
+#  ifndef DOXYGEN
   class MatrixBase;
   class VectorBase;
   class PreconditionBase;
-#    endif
+#  endif
 
 
   /**
@@ -250,11 +250,11 @@ namespace PETScWrappers
      */
     std::unique_ptr<SolverData> solver_data;
 
-#    ifdef DEAL_II_WITH_SLEPC
+#  ifdef DEAL_II_WITH_SLEPC
     // Make the transformation class a friend, since it needs to set the KSP
     // solver.
     friend class SLEPcWrappers::TransformationBase;
-#    endif
+#  endif
   };
 
 
@@ -1000,9 +1000,6 @@ namespace PETScWrappers
 
 DEAL_II_NAMESPACE_CLOSE
 
-#  endif // DEAL_II_WITH_PETSC
-
-/*----------------------------   petsc_solver.h ---------------------------*/
+#endif // DEAL_II_WITH_PETSC
 
 #endif
-/*----------------------------   petsc_solver.h ---------------------------*/
index edfeb9b3aebb3a86be8269d9e87ede4714ae60bf..d4640f4a752e920eeeef85d9af6115ccc311dfa3 100644 (file)
 // ---------------------------------------------------------------------
 
 #ifndef dealii_petsc_sparse_matrix_h
-#  define dealii_petsc_sparse_matrix_h
+#define dealii_petsc_sparse_matrix_h
 
 
-#  include <deal.II/base/config.h>
+#include <deal.II/base/config.h>
 
-#  ifdef DEAL_II_WITH_PETSC
+#ifdef DEAL_II_WITH_PETSC
 
-#    include <deal.II/lac/exceptions.h>
-#    include <deal.II/lac/petsc_matrix_base.h>
-#    include <deal.II/lac/petsc_vector.h>
+#  include <deal.II/lac/exceptions.h>
+#  include <deal.II/lac/petsc_matrix_base.h>
+#  include <deal.II/lac/petsc_vector.h>
 
-#    include <vector>
+#  include <vector>
 
 DEAL_II_NAMESPACE_OPEN
 // forward declaration
-#    ifndef DOXYGEN
+#  ifndef DOXYGEN
 template <typename MatrixType>
 class BlockMatrixBase;
-#    endif
+#  endif
 
 namespace PETScWrappers
 {
@@ -631,7 +631,6 @@ namespace PETScWrappers
 
 DEAL_II_NAMESPACE_CLOSE
 
-#  endif // DEAL_II_WITH_PETSC
+#endif // DEAL_II_WITH_PETSC
 
 #endif
-/*--------------------------- petsc_sparse_matrix.h -------------------------*/
index 99dadd9e48d6758363928fb8f45f94abca15105b..842ec2dee4741d6861e44b6da5c0d658114ac324 100644 (file)
 // ---------------------------------------------------------------------
 
 #ifndef dealii_petsc_vector_h
-#  define dealii_petsc_vector_h
+#define dealii_petsc_vector_h
 
 
-#  include <deal.II/base/config.h>
+#include <deal.II/base/config.h>
 
-#  ifdef DEAL_II_WITH_PETSC
+#ifdef DEAL_II_WITH_PETSC
 
-#    include <deal.II/base/index_set.h>
-#    include <deal.II/base/partitioner.h>
-#    include <deal.II/base/subscriptor.h>
+#  include <deal.II/base/index_set.h>
+#  include <deal.II/base/partitioner.h>
+#  include <deal.II/base/subscriptor.h>
 
-#    include <deal.II/lac/exceptions.h>
-#    include <deal.II/lac/petsc_vector_base.h>
-#    include <deal.II/lac/vector.h>
-#    include <deal.II/lac/vector_operation.h>
-#    include <deal.II/lac/vector_type_traits.h>
+#  include <deal.II/lac/exceptions.h>
+#  include <deal.II/lac/petsc_vector_base.h>
+#  include <deal.II/lac/vector.h>
+#  include <deal.II/lac/vector_operation.h>
+#  include <deal.II/lac/vector_type_traits.h>
 
 DEAL_II_NAMESPACE_OPEN
 
@@ -429,7 +429,7 @@ namespace PETScWrappers
     }
 
 
-#    ifndef DOXYGEN
+#  ifndef DOXYGEN
 
     template <typename number>
     Vector::Vector(const MPI_Comm &              communicator,
@@ -502,8 +502,8 @@ namespace PETScWrappers
       return communicator;
     }
 
-#    endif // DOXYGEN
-  }        // namespace MPI
+#  endif // DOXYGEN
+  }      // namespace MPI
 } // namespace PETScWrappers
 
 namespace internal
@@ -558,7 +558,6 @@ struct is_serial_vector<PETScWrappers::MPI::Vector> : std::false_type
 
 DEAL_II_NAMESPACE_CLOSE
 
-#  endif // DEAL_II_WITH_PETSC
+#endif // DEAL_II_WITH_PETSC
 
 #endif
-/*------------------------- petsc_vector.h -------------------------*/
index d9c52e85132334e2711ccda0c652ca1b04bdea3f..01fb81fa5cc8c9bb8a10e3ad3985b1237c8ed713 100644 (file)
 // ---------------------------------------------------------------------
 
 #ifndef dealii_petsc_vector_base_h
-#  define dealii_petsc_vector_base_h
+#define dealii_petsc_vector_base_h
 
 
-#  include <deal.II/base/config.h>
+#include <deal.II/base/config.h>
 
-#  ifdef DEAL_II_WITH_PETSC
+#ifdef DEAL_II_WITH_PETSC
 
-#    include <deal.II/base/index_set.h>
-#    include <deal.II/base/subscriptor.h>
+#  include <deal.II/base/index_set.h>
+#  include <deal.II/base/subscriptor.h>
 
-#    include <deal.II/lac/exceptions.h>
-#    include <deal.II/lac/vector.h>
-#    include <deal.II/lac/vector_operation.h>
+#  include <deal.II/lac/exceptions.h>
+#  include <deal.II/lac/vector.h>
+#  include <deal.II/lac/vector_operation.h>
 
-#    include <petscvec.h>
+#  include <petscvec.h>
 
-#    include <utility>
-#    include <vector>
+#  include <utility>
+#  include <vector>
 
 DEAL_II_NAMESPACE_OPEN
 
 // forward declaration
-#    ifndef DOXYGEN
+#  ifndef DOXYGEN
 template <typename number>
 class Vector;
 
@@ -44,7 +44,7 @@ namespace PETScWrappers
 {
   class VectorBase;
 }
-#    endif
+#  endif
 
 /**
  * A namespace in which wrapper classes for PETSc objects reside.
@@ -858,7 +858,7 @@ namespace PETScWrappers
     u.swap(v);
   }
 
-#    ifndef DOXYGEN
+#  ifndef DOXYGEN
   namespace internal
   {
     inline VectorReference::VectorReference(const VectorBase &vector,
@@ -1054,11 +1054,11 @@ namespace PETScWrappers
     inline PetscReal
     VectorReference::real() const
     {
-#      ifndef PETSC_USE_COMPLEX
+#    ifndef PETSC_USE_COMPLEX
       return static_cast<PetscScalar>(*this);
-#      else
+#    else
       return PetscRealPart(static_cast<PetscScalar>(*this));
-#      endif
+#    endif
     }
 
 
@@ -1066,11 +1066,11 @@ namespace PETScWrappers
     inline PetscReal
     VectorReference::imag() const
     {
-#      ifndef PETSC_USE_COMPLEX
+#    ifndef PETSC_USE_COMPLEX
       return PetscReal(0);
-#      else
+#    else
       return PetscImaginaryPart(static_cast<PetscScalar>(*this));
-#      endif
+#    endif
     }
 
   } // namespace internal
@@ -1271,12 +1271,11 @@ namespace PETScWrappers
       }
   }
 
-#    endif // DOXYGEN
+#  endif // DOXYGEN
 } // namespace PETScWrappers
 
 DEAL_II_NAMESPACE_CLOSE
 
-#  endif // DEAL_II_WITH_PETSC
+#endif // DEAL_II_WITH_PETSC
 
 #endif
-/*---------------------------- petsc_vector_base.h --------------------------*/
index 91195dafda073fdf0ae19ee10f4f1565d6a52639..ec49b3f97039415dfa29dec361af9ebfcaff2ef1 100644 (file)
 // ---------------------------------------------------------------------
 
 #ifndef dealii_sparse_ilu_templates_h
-#  define dealii_sparse_ilu_templates_h
+#define dealii_sparse_ilu_templates_h
 
 
 
-#  include <deal.II/base/config.h>
+#include <deal.II/base/config.h>
 
-#  include <deal.II/lac/sparse_ilu.h>
-#  include <deal.II/lac/vector.h>
+#include <deal.II/lac/sparse_ilu.h>
+#include <deal.II/lac/vector.h>
 
-#  include <algorithm>
-#  include <cmath>
+#include <algorithm>
+#include <cmath>
 
 
 DEAL_II_NAMESPACE_OPEN
@@ -308,4 +308,3 @@ SparseILU<number>::memory_consumption() const
 DEAL_II_NAMESPACE_CLOSE
 
 #endif
-/*-------------------------- sparse_ilu.templates.h -------------------------*/
index f854c21fa42d36dadd0d23536b1cf5b8399a217b..b6e6b713cf9d0819dda3ebba1b2da555626f8a86 100644 (file)
 // ---------------------------------------------------------------------
 
 #ifndef dealii_sparse_matrix_ez_h
-#  define dealii_sparse_matrix_ez_h
+#define dealii_sparse_matrix_ez_h
 
 
-#  include <deal.II/base/config.h>
+#include <deal.II/base/config.h>
 
-#  include <deal.II/base/smartpointer.h>
-#  include <deal.II/base/subscriptor.h>
+#include <deal.II/base/smartpointer.h>
+#include <deal.II/base/subscriptor.h>
 
-#  include <deal.II/lac/exceptions.h>
+#include <deal.II/lac/exceptions.h>
 
-#  include <vector>
+#include <vector>
 
 DEAL_II_NAMESPACE_OPEN
 
 // Forward declarations
-#  ifndef DOXYGEN
+#ifndef DOXYGEN
 template <typename number>
 class Vector;
 template <typename number>
 class FullMatrix;
-#  endif
+#endif
 
 /**
  * @addtogroup Matrix1
@@ -1598,4 +1598,3 @@ SparseMatrixEZ<number>::print_statistics(StreamType &out, bool full)
 DEAL_II_NAMESPACE_CLOSE
 
 #endif
-/*----------------------------   sparse_matrix.h ---------------------------*/
index 85819e6e6b6b6aa8404c8e453ed2d3b5394ae773..fbe9b420524a5737e159dda1376095a6ca4651ba 100644 (file)
 // ---------------------------------------------------------------------
 
 #ifndef dealii_trilinos_precondition_h
-#  define dealii_trilinos_precondition_h
+#define dealii_trilinos_precondition_h
 
 
-#  include <deal.II/base/config.h>
+#include <deal.II/base/config.h>
 
-#  ifdef DEAL_II_WITH_TRILINOS
+#ifdef DEAL_II_WITH_TRILINOS
 
-#    include <deal.II/base/subscriptor.h>
+#  include <deal.II/base/subscriptor.h>
 
-#    include <deal.II/lac/la_parallel_vector.h>
-#    include <deal.II/lac/trilinos_vector.h>
+#  include <deal.II/lac/la_parallel_vector.h>
+#  include <deal.II/lac/trilinos_vector.h>
 
-#    include <Epetra_Map.h>
-#    include <Epetra_MpiComm.h>
-#    include <Epetra_MultiVector.h>
-#    include <Epetra_RowMatrix.h>
-#    include <Epetra_Vector.h>
-#    include <Teuchos_ParameterList.hpp>
+#  include <Epetra_Map.h>
+#  include <Epetra_MpiComm.h>
+#  include <Epetra_MultiVector.h>
+#  include <Epetra_RowMatrix.h>
+#  include <Epetra_Vector.h>
+#  include <Teuchos_ParameterList.hpp>
 
-#    include <memory>
+#  include <memory>
 
 // forward declarations
-#    ifndef DOXYGEN
+#  ifndef DOXYGEN
 class Ifpack_Preconditioner;
 class Ifpack_Chebyshev;
 namespace ML_Epetra
 {
   class MultiLevelPreconditioner;
 }
-#    endif
+#  endif
 
 DEAL_II_NAMESPACE_OPEN
 
 // forward declarations
-#    ifndef DOXYGEN
+#  ifndef DOXYGEN
 template <typename number>
 class SparseMatrix;
 template <typename number>
 class Vector;
 class SparsityPattern;
-#    endif
+#  endif
 
 /**
  * @addtogroup TrilinosWrappers
@@ -1700,7 +1700,7 @@ namespace TrilinosWrappers
 
 
 
-#    if defined(DOXYGEN) || defined(DEAL_II_TRILINOS_WITH_MUELU)
+#  if defined(DOXYGEN) || defined(DEAL_II_TRILINOS_WITH_MUELU)
   /**
    * This class implements an algebraic multigrid (AMG) preconditioner based
    * on the Trilinos MueLu implementation, which is a black-box preconditioner
@@ -1941,7 +1941,7 @@ namespace TrilinosWrappers
      */
     std::shared_ptr<SparseMatrix> trilinos_matrix;
   };
-#    endif
+#  endif
 
 
 
@@ -2024,7 +2024,7 @@ namespace TrilinosWrappers
   // ----------------------- inline and template functions --------------------
 
 
-#    ifndef DOXYGEN
+#  ifndef DOXYGEN
 
 
   inline void
@@ -2177,7 +2177,7 @@ namespace TrilinosWrappers
     preconditioner->SetUseTranspose(false);
   }
 
-#    endif
+#  endif
 
 } // namespace TrilinosWrappers
 
@@ -2187,7 +2187,6 @@ namespace TrilinosWrappers
 
 DEAL_II_NAMESPACE_CLOSE
 
-#  endif // DEAL_II_WITH_TRILINOS
+#endif // DEAL_II_WITH_TRILINOS
 
-#endif // trilinos_precondition_h
-/*------------------------- trilinos_precondition.h -------------------------*/
+#endif
index 6a73e5db0deb04c88f2a7b8a4d82adbb4e5a3cd2..c58a25a330fabdcdcb578bf03e9264bbd6483fde 100644 (file)
 // ---------------------------------------------------------------------
 
 #ifndef dealii_trilinos_solver_h
-#  define dealii_trilinos_solver_h
+#define dealii_trilinos_solver_h
 
 
-#  include <deal.II/base/config.h>
+#include <deal.II/base/config.h>
 
-#  ifdef DEAL_II_WITH_TRILINOS
+#ifdef DEAL_II_WITH_TRILINOS
 
-#    include <deal.II/lac/exceptions.h>
-#    include <deal.II/lac/la_parallel_vector.h>
-#    include <deal.II/lac/solver_control.h>
-#    include <deal.II/lac/vector.h>
+#  include <deal.II/lac/exceptions.h>
+#  include <deal.II/lac/la_parallel_vector.h>
+#  include <deal.II/lac/solver_control.h>
+#  include <deal.II/lac/vector.h>
 
-#    include <Amesos.h>
-#    include <AztecOO.h>
-#    include <Epetra_LinearProblem.h>
-#    include <Epetra_Operator.h>
+#  include <Amesos.h>
+#  include <AztecOO.h>
+#  include <Epetra_LinearProblem.h>
+#  include <Epetra_Operator.h>
 
-#    include <memory>
+#  include <memory>
 
 
 DEAL_II_NAMESPACE_OPEN
@@ -39,10 +39,10 @@ DEAL_II_NAMESPACE_OPEN
 namespace TrilinosWrappers
 {
   // forward declarations
-#    ifndef DOXYGEN
+#  ifndef DOXYGEN
   class SparseMatrix;
   class PreconditionBase;
-#    endif
+#  endif
 
 
   /**
@@ -722,9 +722,6 @@ namespace TrilinosWrappers
 
 DEAL_II_NAMESPACE_CLOSE
 
-#  endif // DEAL_II_WITH_TRILINOS
-
-/*----------------------------   trilinos_solver.h ---------------------------*/
+#endif // DEAL_II_WITH_TRILINOS
 
 #endif
-/*----------------------------   trilinos_solver.h ---------------------------*/
index 36cec8d04f479d586bd9dc99aa8a57080f758c7f..14daaaf7577379981cde71000f53ec76ba3745a2 100644 (file)
@@ -2263,8 +2263,6 @@ struct is_serial_vector<TrilinosWrappers::MPI::Vector> : std::false_type
 
 DEAL_II_NAMESPACE_CLOSE
 
-#endif // DEAL_II_WITH_TRILINOS
+#endif
 
-/*----------------------------   trilinos_vector.h ---------------------------*/
-
-#endif // dealii_trilinos_vector_h
+#endif
index 661f9d125814cdd93fddad7f6f9378a7786a0932..557a963fa4b443006f8b12e8b3623cf81b8094e2 100644 (file)
 // ---------------------------------------------------------------------
 
 #ifndef dealii_solution_transfer_h
-#  define dealii_solution_transfer_h
+#define dealii_solution_transfer_h
 
 
 /*----------------------------   solutiontransfer.h     ----------------------*/
 
 
-#  include <deal.II/base/config.h>
+#include <deal.II/base/config.h>
 
-#  include <deal.II/base/exceptions.h>
-#  include <deal.II/base/smartpointer.h>
+#include <deal.II/base/exceptions.h>
+#include <deal.II/base/smartpointer.h>
 
-#  include <deal.II/dofs/dof_handler.h>
+#include <deal.II/dofs/dof_handler.h>
 
-#  include <deal.II/lac/vector.h>
+#include <deal.II/lac/vector.h>
 
-#  include <vector>
+#include <vector>
 
 DEAL_II_NAMESPACE_OPEN
 
@@ -569,5 +569,4 @@ private:
 
 DEAL_II_NAMESPACE_CLOSE
 
-#endif // dealii_solutiontransfer_h
-/*---------------------------- solutiontransfer.h ---------------------------*/
+#endif
index 2a5aaa1d82480fab9b8f46385fdb6767d0aa6d0c..e40dec2890c5edc10bd7b1796df1c10ace5a8c0c 100644 (file)
 // ---------------------------------------------------------------------
 
 #ifndef dealii_time_dependent_h
-#  define dealii_time_dependent_h
+#define dealii_time_dependent_h
 
 
-/*----------------------------   time-dependent.h ---------------------------*/
+#include <deal.II/base/config.h>
 
+#include <deal.II/base/exceptions.h>
+#include <deal.II/base/smartpointer.h>
+#include <deal.II/base/subscriptor.h>
 
-#  include <deal.II/base/config.h>
-
-#  include <deal.II/base/exceptions.h>
-#  include <deal.II/base/smartpointer.h>
-#  include <deal.II/base/subscriptor.h>
-
-#  include <utility>
-#  include <vector>
+#include <utility>
+#include <vector>
 
 DEAL_II_NAMESPACE_OPEN
 
 // forward declarations
-#  ifndef DOXYGEN
+#ifndef DOXYGEN
 class TimeStepBase;
 template <typename number>
 class Vector;
 template <int dim, int spacedim>
 class Triangulation;
-#  endif
+#endif
 
 /**
  * This class provides an abstract interface to time dependent problems in
@@ -1641,6 +1638,4 @@ TimeDependent::do_loop(InitFunctionObject      init_function,
 
 DEAL_II_NAMESPACE_CLOSE
 
-/*----------------------------   time-dependent.h ---------------------------*/
 #endif
-/*----------------------------   time-dependent.h ---------------------------*/
index 6701c4cdbc26a31fa0414c34b8496c5dfa4e2f55..bcbf321d965798d93272952fd7675c123dbc6b35 100644 (file)
 
 
 #ifndef dealii_occ_utilities_h
-#  define dealii_occ_utilities_h
+#define dealii_occ_utilities_h
 
-#  include <deal.II/base/config.h>
+#include <deal.II/base/config.h>
 
-#  ifdef DEAL_II_WITH_OPENCASCADE
+#ifdef DEAL_II_WITH_OPENCASCADE
 
-#    include <deal.II/base/point.h>
+#  include <deal.II/base/point.h>
 
-#    include <deal.II/fe/mapping_q1.h>
+#  include <deal.II/fe/mapping_q1.h>
 
-#    include <deal.II/grid/tria.h>
+#  include <deal.II/grid/tria.h>
 
-#    include <string>
+#  include <string>
 
 // opencascade needs "HAVE_CONFIG_H" to be exported...
-#    define HAVE_CONFIG_H
-#    include <IFSelect_ReturnStatus.hxx>
-#    include <TopoDS_CompSolid.hxx>
-#    include <TopoDS_Compound.hxx>
-#    include <TopoDS_Edge.hxx>
-#    include <TopoDS_Face.hxx>
-#    include <TopoDS_Shape.hxx>
-#    include <TopoDS_Shell.hxx>
-#    include <TopoDS_Solid.hxx>
-#    include <TopoDS_Vertex.hxx>
-#    include <TopoDS_Wire.hxx>
-#    include <gp_Pnt.hxx>
-#    undef HAVE_CONFIG_H
+#  define HAVE_CONFIG_H
+#  include <IFSelect_ReturnStatus.hxx>
+#  include <TopoDS_CompSolid.hxx>
+#  include <TopoDS_Compound.hxx>
+#  include <TopoDS_Edge.hxx>
+#  include <TopoDS_Face.hxx>
+#  include <TopoDS_Shape.hxx>
+#  include <TopoDS_Shell.hxx>
+#  include <TopoDS_Solid.hxx>
+#  include <TopoDS_Vertex.hxx>
+#  include <TopoDS_Wire.hxx>
+#  include <gp_Pnt.hxx>
+#  undef HAVE_CONFIG_H
 
 
 
@@ -467,7 +467,6 @@ namespace OpenCASCADE
 
 DEAL_II_NAMESPACE_CLOSE
 
-#  endif // DEAL_II_WITH_OPENCASCADE
+#endif // DEAL_II_WITH_OPENCASCADE
 
-#endif // dealii_occ_utilities_h
-/*----------------------------- occ_utilities.h -----------------------------*/
+#endif

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.