#include <deal.II/boost_adaptors/point.h>
#include <deal.II/boost_adaptors/segment.h>
-DEAL_II_DISABLE_EXTRA_DIAGNOSTICS
#include <boost/geometry/index/rtree.hpp>
#include <boost/geometry/strategies/strategies.hpp>
-DEAL_II_ENABLE_EXTRA_DIAGNOSTICS
DEAL_II_NAMESPACE_OPEN
#include <deal.II/base/mpi_stub.h>
#include <deal.II/base/mutex.h>
-DEAL_II_DISABLE_EXTRA_DIAGNOSTICS
#include <boost/container/small_vector.hpp>
-DEAL_II_ENABLE_EXTRA_DIAGNOSTICS
#include <algorithm>
#include <vector>
// e.g., MPI_Comm in the API.
#if defined(DEAL_II_WITH_MPI) || defined(DEAL_II_WITH_PETSC)
-DEAL_II_DISABLE_EXTRA_DIAGNOSTICS
# include <mpi.h>
-DEAL_II_ENABLE_EXTRA_DIAGNOSTICS
#else
// without MPI, we would still like to use
// some constructs with MPI data
#include <tuple>
#ifdef DEAL_II_WITH_TBB
-DEAL_II_DISABLE_EXTRA_DIAGNOSTICS
# include <tbb/blocked_range.h>
# include <tbb/parallel_for.h>
# include <tbb/parallel_reduce.h>
# include <tbb/partitioner.h>
-DEAL_II_ENABLE_EXTRA_DIAGNOSTICS
#endif
#include <deal.II/fe/component_mask.h>
-DEAL_II_DISABLE_EXTRA_DIAGNOSTICS
#include <boost/archive/basic_archive.hpp>
#include <boost/core/demangle.hpp>
#include <boost/property_tree/ptree_fwd.hpp>
#include <boost/property_tree/ptree_serialization.hpp>
#include <boost/serialization/split_member.hpp>
-DEAL_II_ENABLE_EXTRA_DIAGNOSTICS
#include <algorithm>
#include <array>
#include <deal.II/base/exceptions.h>
#include <deal.II/base/tensor.h>
-DEAL_II_DISABLE_EXTRA_DIAGNOSTICS
#include <boost/geometry/core/cs.hpp>
#include <boost/geometry/geometries/point.hpp>
-DEAL_II_ENABLE_EXTRA_DIAGNOSTICS
#include <cmath>
#ifdef DEAL_II_HAVE_CXX17
# include <variant>
#else
-DEAL_II_DISABLE_EXTRA_DIAGNOSTICS
# include <boost/variant.hpp>
-DEAL_II_ENABLE_EXTRA_DIAGNOSTICS
#endif
DEAL_II_NAMESPACE_OPEN
#include <deal.II/base/exceptions.h>
#include <deal.II/base/std_cxx17/variant.h>
-DEAL_II_DISABLE_EXTRA_DIAGNOSTICS
#include <boost/serialization/map.hpp>
#include <boost/serialization/split_member.hpp>
#include <boost/serialization/string.hpp>
#include <boost/serialization/vector.hpp>
-DEAL_II_ENABLE_EXTRA_DIAGNOSTICS
#include <fstream>
#include <map>
#include <vector>
#ifdef DEAL_II_WITH_TBB
-DEAL_II_DISABLE_EXTRA_DIAGNOSTICS
# include <tbb/task_group.h>
-DEAL_II_ENABLE_EXTRA_DIAGNOSTICS
#endif
DEAL_II_NAMESPACE_OPEN
#include <deal.II/base/exceptions.h>
-DEAL_II_DISABLE_EXTRA_DIAGNOSTICS
#ifdef DEAL_II_WITH_TRILINOS
# include <Epetra_Comm.h>
# include <Epetra_Map.h>
# include <Epetra_SerialComm.h>
# endif
#endif
-DEAL_II_ENABLE_EXTRA_DIAGNOSTICS
DEAL_II_NAMESPACE_OPEN
#include <deal.II/base/exceptions.h>
-#include <cstddef>
-#include <functional>
-#include <string>
-#include <tuple>
-#include <type_traits>
-#include <typeinfo>
-#include <utility>
-#include <vector>
-
-DEAL_II_DISABLE_EXTRA_DIAGNOSTICS
-
#include <boost/archive/binary_iarchive.hpp>
#include <boost/archive/binary_oarchive.hpp>
#include <boost/core/demangle.hpp>
#include <boost/serialization/complex.hpp>
#include <boost/serialization/vector.hpp>
+#include <cstddef>
+#include <functional>
+#include <string>
+#include <tuple>
+#include <type_traits>
+#include <typeinfo>
+#include <utility>
+#include <vector>
+
#ifdef DEAL_II_WITH_ZLIB
# include <boost/iostreams/filter/gzip.hpp>
#endif
-DEAL_II_ENABLE_EXTRA_DIAGNOSTICS
-
DEAL_II_NAMESPACE_OPEN
// forward declare Point
# include <deal.II/base/thread_management.h>
# ifdef DEAL_II_WITH_TBB
-DEAL_II_DISABLE_EXTRA_DIAGNOSTICS
# ifdef DEAL_II_TBB_WITH_ONEAPI
# include <tbb/parallel_pipeline.h>
# else
# include <tbb/pipeline.h>
# endif
-DEAL_II_ENABLE_EXTRA_DIAGNOSTICS
# endif
# include <functional>
#include <deal.II/base/bounding_box.h>
-DEAL_II_DISABLE_EXTRA_DIAGNOSTICS
#include <deal.II/boost_adaptors/point.h>
-DEAL_II_ENABLE_EXTRA_DIAGNOSTICS
namespace boost
#include <deal.II/boost_adaptors/point.h>
-DEAL_II_DISABLE_EXTRA_DIAGNOSTICS
#include <boost/geometry/geometries/segment.hpp>
-DEAL_II_ENABLE_EXTRA_DIAGNOSTICS
DEAL_II_NAMESPACE_OPEN
#ifdef DEAL_II_WITH_ADOLC
-DEAL_II_DISABLE_EXTRA_DIAGNOSTICS
# include <adolc/internal/usrparms.h>
-DEAL_II_ENABLE_EXTRA_DIAGNOSTICS
#endif // DEAL_II_WITH_ADOLC
#ifdef DEAL_II_TRILINOS_WITH_SACADO
-DEAL_II_DISABLE_EXTRA_DIAGNOSTICS
# include <Sacado.hpp>
// It appears that some versions of Trilinos do not directly or indirectly
// include all the headers for all forward and reverse Sacado AD types.
// Standard forward AD classes (templated)
# include <Sacado_Fad_DFad.hpp>
// Reverse AD classes (templated)
-# include <Sacado_trad.hpp>
-DEAL_II_ENABLE_EXTRA_DIAGNOSTICS
-
# include <deal.II/base/exceptions.h>
# include <deal.II/base/numbers.h>
# include <deal.II/differentiation/ad/ad_number_traits.h>
# include <deal.II/differentiation/ad/ad_number_types.h>
+# include <Sacado_trad.hpp>
+
# include <complex>
DEAL_II_NAMESPACE_OPEN
#ifdef DEAL_II_WITH_SYMENGINE
-DEAL_II_DISABLE_EXTRA_DIAGNOSTICS
// Low level
-# include <symengine/basic.h>
-# include <symengine/dict.h>
-# include <symengine/symengine_exception.h>
-# include <symengine/symengine_rcp.h>
-
-// Visitor
-# include <symengine/visitor.h>
-
-DEAL_II_ENABLE_EXTRA_DIAGNOSTICS
-
# include <deal.II/base/exceptions.h>
# include <deal.II/base/numbers.h>
# include <boost/serialization/split_member.hpp>
+# include <symengine/basic.h>
+# include <symengine/dict.h>
+# include <symengine/symengine_exception.h>
+# include <symengine/symengine_rcp.h>
+# include <symengine/visitor.h>
+
DEAL_II_NAMESPACE_OPEN
#ifdef DEAL_II_WITH_SYMENGINE
-DEAL_II_DISABLE_EXTRA_DIAGNOSTICS
// Low level
# include <symengine/basic.h>
# include <symengine/dict.h>
# ifdef HAVE_SYMENGINE_LLVM
# include <symengine/llvm_double.h>
# endif
-DEAL_II_ENABLE_EXTRA_DIAGNOSTICS
# include <deal.II/base/exceptions.h>
# include <deal.II/base/logstream.h>
#include <deal.II/grid/tria_accessor.h>
-DEAL_II_DISABLE_EXTRA_DIAGNOSTICS
#include <boost/container/small_vector.hpp>
-DEAL_II_ENABLE_EXTRA_DIAGNOSTICS
#include <set>
#include <vector>
#include <deal.II/numerics/rtree.h>
-DEAL_II_DISABLE_EXTRA_DIAGNOSTICS
#include <boost/archive/binary_iarchive.hpp>
#include <boost/archive/binary_oarchive.hpp>
#include <boost/random/mersenne_twister.hpp>
# include <boost/iostreams/filtering_stream.hpp>
# include <boost/iostreams/stream.hpp>
#endif
-DEAL_II_ENABLE_EXTRA_DIAGNOSTICS
#include <bitset>
#include <list>
#include <deal.II/grid/tria_iterator_base.h>
#include <deal.II/grid/tria_iterator_selector.h>
-DEAL_II_DISABLE_EXTRA_DIAGNOSTICS
#include <boost/container/small_vector.hpp>
-DEAL_II_ENABLE_EXTRA_DIAGNOSTICS
#include <utility>
#include <deal.II/grid/tria_iterator.templates.h>
#include <deal.II/grid/tria_levels.h>
-DEAL_II_DISABLE_EXTRA_DIAGNOSTICS
#include <boost/container/small_vector.hpp>
-DEAL_II_ENABLE_EXTRA_DIAGNOSTICS
#include <cmath>
#include <limits>
#ifdef DEAL_II_WITH_TBB
# include <deal.II/base/parallel.h>
-DEAL_II_DISABLE_EXTRA_DIAGNOSTICS
# include <tbb/concurrent_unordered_map.h>
-DEAL_II_ENABLE_EXTRA_DIAGNOSTICS
#endif
#include <fstream>
#include <deal.II/boost_adaptors/point.h>
#include <deal.II/boost_adaptors/segment.h>
-DEAL_II_DISABLE_EXTRA_DIAGNOSTICS
#include <boost/geometry/algorithms/distance.hpp>
#include <boost/geometry/index/rtree.hpp>
#include <boost/geometry/strategies/strategies.hpp>
-DEAL_II_ENABLE_EXTRA_DIAGNOSTICS
#include <memory>
# include <hdf5.h>
#endif
-DEAL_II_DISABLE_EXTRA_DIAGNOSTICS
#include <boost/iostreams/copy.hpp>
#include <boost/iostreams/device/back_inserter.hpp>
#include <boost/iostreams/filtering_stream.hpp>
#ifdef DEAL_II_WITH_ZLIB
# include <boost/iostreams/filter/zlib.hpp>
#endif
-DEAL_II_ENABLE_EXTRA_DIAGNOSTICS
#ifdef DEAL_II_WITH_TASKFLOW
-DEAL_II_DISABLE_EXTRA_DIAGNOSTICS
# include <taskflow/taskflow.hpp>
-DEAL_II_ENABLE_EXTRA_DIAGNOSTICS
#endif
DEAL_II_NAMESPACE_OPEN
#include <deal.II/base/path_search.h>
#include <deal.II/base/utilities.h>
-DEAL_II_DISABLE_EXTRA_DIAGNOSTICS
#define BOOST_BIND_GLOBAL_PLACEHOLDERS
#include <boost/algorithm/string.hpp>
#include <boost/io/ios_state.hpp>
#include <boost/property_tree/ptree.hpp>
#include <boost/property_tree/xml_parser.hpp>
#undef BOOST_BIND_GLOBAL_PLACEHOLDERS
-DEAL_II_ENABLE_EXTRA_DIAGNOSTICS
#include <algorithm>
#include <cctype>
#include <deal.II/base/patterns.h>
#include <deal.II/base/utilities.h>
-DEAL_II_DISABLE_EXTRA_DIAGNOSTICS
#define BOOST_BIND_GLOBAL_PLACEHOLDERS
#include <boost/io/ios_state.hpp>
#include <boost/property_tree/json_parser.hpp>
#include <boost/property_tree/ptree.hpp>
#include <boost/property_tree/xml_parser.hpp>
#undef BOOST_BIND_GLOBAL_PLACEHOLDERS
-DEAL_II_ENABLE_EXTRA_DIAGNOSTICS
#include <algorithm>
#include <cctype>
#include <deal.II/base/table.h>
#include <deal.II/base/tensor_product_polynomials.h>
-DEAL_II_DISABLE_EXTRA_DIAGNOSTICS
#include <boost/container/small_vector.hpp>
-DEAL_II_ENABLE_EXTRA_DIAGNOSTICS
#include <array>
#include <memory>
#include <deal.II/base/thread_local_storage.h>
#include <deal.II/base/utilities.h>
-DEAL_II_DISABLE_EXTRA_DIAGNOSTICS
#define BOOST_BIND_GLOBAL_PLACEHOLDERS
#include <boost/archive/iterators/base64_from_binary.hpp>
#include <boost/archive/iterators/binary_from_base64.hpp>
#include <boost/lexical_cast.hpp>
#include <boost/random.hpp>
#undef BOOST_BIND_GLOBAL_PLACEHOLDERS
-DEAL_II_ENABLE_EXTRA_DIAGNOSTICS
#include <algorithm>
#include <bitset>
# include <deal.II/grid/tria.h>
-DEAL_II_DISABLE_EXTRA_DIAGNOSTICS
# include <CGAL/Boolean_set_operations_2.h>
# include <CGAL/Cartesian.h>
# include <CGAL/Circular_kernel_intersections.h>
# include <CGAL/Triangulation_3.h>
# include <CGAL/Triangulation_face_base_with_id_2.h>
# include <CGAL/Triangulation_face_base_with_info_2.h>
-DEAL_II_ENABLE_EXTRA_DIAGNOSTICS
# include <deal.II/cgal/utilities.h>
# include <fstream>
# include <deal.II/lac/vector.h>
# ifdef DEAL_II_WITH_ADOLC
-
-DEAL_II_DISABLE_EXTRA_DIAGNOSTICS
# include <adolc/adolc_fatalerror.h>
# include <adolc/drivers/drivers.h>
# include <adolc/taping.h>
-DEAL_II_ENABLE_EXTRA_DIAGNOSTICS
-
# endif // DEAL_II_WITH_ADOLC
# include <vector>
#ifdef DEAL_II_WITH_SYMENGINE
-DEAL_II_DISABLE_EXTRA_DIAGNOSTICS
-// Number operations
+# include <deal.II/differentiation/sd/symengine_math.h>
+
# include <symengine/add.h>
# include <symengine/functions.h>
# include <symengine/mul.h>
# include <symengine/pow.h>
-DEAL_II_ENABLE_EXTRA_DIAGNOSTICS
-
-# include <deal.II/differentiation/sd/symengine_math.h>
DEAL_II_NAMESPACE_OPEN
#include <deal.II/multigrid/mg_constrained_dofs.h>
#include <deal.II/multigrid/mg_tools.h>
-DEAL_II_DISABLE_EXTRA_DIAGNOSTICS
#define BOOST_BIND_GLOBAL_PLACEHOLDERS
#include <boost/config.hpp>
#include <boost/graph/adjacency_list.hpp>
#include <boost/random/uniform_int_distribution.hpp>
#undef BOOST_BIND_GLOBAL_PLACEHOLDERS
-DEAL_II_ENABLE_EXTRA_DIAGNOSTICS
#include <algorithm>
#include <cmath>
#include <deal.II/lac/vector.h>
#include <deal.II/lac/vector_element_access.h>
-DEAL_II_DISABLE_EXTRA_DIAGNOSTICS
#include <boost/container/small_vector.hpp>
-DEAL_II_ENABLE_EXTRA_DIAGNOSTICS
#include <iomanip>
#include <memory>
#include <deal.II/grid/tria.h>
-DEAL_II_DISABLE_EXTRA_DIAGNOSTICS
#ifdef DEAL_II_BOOST_HAS_BROKEN_HEADER_DEPRECATIONS
# define BOOST_ALLOW_DEPRECATED_HEADERS
#endif
#ifdef DEAL_II_BOOST_HAS_BROKEN_HEADER_DEPRECATIONS
# undef BOOST_ALLOW_DEPRECATED_HEADERS
#endif
-DEAL_II_ENABLE_EXTRA_DIAGNOSTICS
#include <limits>
#include <deal.II/lac/full_matrix.h>
-DEAL_II_DISABLE_EXTRA_DIAGNOSTICS
#include <boost/container/small_vector.hpp>
-DEAL_II_ENABLE_EXTRA_DIAGNOSTICS
#include <algorithm>
#include <array>
#include <deal.II/grid/tria.h>
#include <deal.II/grid/tria_iterator.h>
-DEAL_II_DISABLE_EXTRA_DIAGNOSTICS
#include <boost/container/small_vector.hpp>
-DEAL_II_ENABLE_EXTRA_DIAGNOSTICS
#include <algorithm>
#include <array>
# -Wmisleading-indentation will be disabled due to a humongous line of over
# 100k characters produced by one of the CGAL headers. Unfortunately,
# guarding the include by DEAL_II_DISABLE_EXTRA_DIAGNOSTICS is not enough
-# due to a longstanding bug in gcc. Thus, simply wet
+# due to a longstanding bug in gcc. Thus, simply set
# -Wno-misleading-indentation on the command line for the
# grid_generator_cgal.cc compilation unit.
#
#include <deal.II/physics/transformations.h>
-
-DEAL_II_DISABLE_EXTRA_DIAGNOSTICS
#include <boost/random/mersenne_twister.hpp>
#include <boost/random/uniform_real_distribution.hpp>
-DEAL_II_ENABLE_EXTRA_DIAGNOSTICS
#include <array>
#include <cmath>
#include <deal.II/grid/tria_accessor.h>
#include <deal.II/grid/tria_iterator.h>
-DEAL_II_DISABLE_EXTRA_DIAGNOSTICS
#include <boost/container/small_vector.hpp>
-DEAL_II_DISABLE_EXTRA_DIAGNOSTICS
#include <cmath>
#include <limits>
#include <deal.II/physics/vector_relations.h>
-DEAL_II_DISABLE_EXTRA_DIAGNOSTICS
#include <boost/container/small_vector.hpp>
-DEAL_II_ENABLE_EXTRA_DIAGNOSTICS
#include <cmath>
#include <limits>
#include <deal.II/lac/sparsity_pattern_base.h>
-DEAL_II_DISABLE_EXTRA_DIAGNOSTICS
#include <boost/container/small_vector.hpp>
-DEAL_II_ENABLE_EXTRA_DIAGNOSTICS
#include <algorithm>
#include <utility>
# include <deal.II/lac/trilinos_precondition.h>
# include <deal.II/lac/trilinos_sparsity_pattern.h>
-DEAL_II_DISABLE_EXTRA_DIAGNOSTICS
# include <boost/container/small_vector.hpp>
-DEAL_II_ENABLE_EXTRA_DIAGNOSTICS
# ifdef DEAL_II_TRILINOS_WITH_EPETRAEXT
# include <EpetraExt_MatrixMatrix.h>
#include <deal.II/base/thread_management.h>
-DEAL_II_DISABLE_EXTRA_DIAGNOSTICS
#include <taskflow/taskflow.hpp>
-DEAL_II_ENABLE_EXTRA_DIAGNOSTICS
#include <iostream>