From: David Wells Date: Tue, 1 Nov 2022 12:51:53 +0000 (-0400) Subject: TrilinosWrappers::SparsityPattern: clean up whitespace. X-Git-Tag: v9.5.0-rc1~855^2~1 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=68a20e29d73fef3d82190b6900fcd7701b2650d7;p=dealii.git TrilinosWrappers::SparsityPattern: clean up whitespace. --- diff --git a/include/deal.II/lac/trilinos_sparsity_pattern.h b/include/deal.II/lac/trilinos_sparsity_pattern.h index db1daea8ec..a6435c0a31 100644 --- a/include/deal.II/lac/trilinos_sparsity_pattern.h +++ b/include/deal.II/lac/trilinos_sparsity_pattern.h @@ -14,32 +14,32 @@ // --------------------------------------------------------------------- #ifndef dealii_trilinos_sparsity_pattern_h -# define dealii_trilinos_sparsity_pattern_h +#define dealii_trilinos_sparsity_pattern_h +#include -# include +#ifdef DEAL_II_WITH_TRILINOS -# ifdef DEAL_II_WITH_TRILINOS +# include +# include +# include -# include -# include -# include +# include +# include -# include +# include +# include +# include -# include -# include -# include - -# include -# include -# include +# include +# include +# include DEAL_II_NAMESPACE_OPEN // forward declarations -# ifndef DOXYGEN +# ifndef DOXYGEN class SparsityPattern; class DynamicSparsityPattern; @@ -53,7 +53,7 @@ namespace TrilinosWrappers class Iterator; } } // namespace TrilinosWrappers -# endif +# endif namespace TrilinosWrappers { @@ -1004,7 +1004,7 @@ namespace TrilinosWrappers // ----------------------- inline and template functions -------------------- -# ifndef DOXYGEN +# ifndef DOXYGEN namespace SparsityPatternIterators { @@ -1203,13 +1203,13 @@ namespace TrilinosWrappers SparsityPattern::in_local_range(const size_type index) const { TrilinosWrappers::types::int_type begin, end; -# ifndef DEAL_II_WITH_64BIT_INDICES +# ifndef DEAL_II_WITH_64BIT_INDICES begin = graph->RowMap().MinMyGID(); end = graph->RowMap().MaxMyGID() + 1; -# else +# else begin = graph->RowMap().MinMyGID64(); end = graph->RowMap().MaxMyGID64() + 1; -# endif +# endif return ((index >= static_cast(begin)) && (index < static_cast(end))); @@ -1321,17 +1321,13 @@ namespace TrilinosWrappers return IndexSet(graph->RangeMap()); } -# endif // DOXYGEN +# endif // DOXYGEN } // namespace TrilinosWrappers DEAL_II_NAMESPACE_CLOSE -# endif // DEAL_II_WITH_TRILINOS - - -/*-------------------- trilinos_sparsity_pattern.h --------------------*/ +#endif // DEAL_II_WITH_TRILINOS #endif -/*-------------------- trilinos_sparsity_pattern.h --------------------*/