]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Remove some more DEAL_II_WITH_CXX11 references. 5637/head
authorDavid Wells <wellsd2@rpi.edu>
Sun, 17 Dec 2017 21:03:50 +0000 (16:03 -0500)
committerDavid Wells <wellsd2@rpi.edu>
Sun, 17 Dec 2017 21:03:50 +0000 (16:03 -0500)
doc/doxygen/headers/laoperators.h
doc/doxygen/options.dox.in
doc/users/cmake.html
doc/users/config.sample
tests/base/quadrature_point_data.cc

index 349d41bdd9a84ac12b282e57ba8d6e0e56a1e1eb..fe039b3e7ec8da0224130d48d3f3a167d19c38f3 100644 (file)
  *
  * <h3>Linear Operator</h3>
  *
- * If deal.II is configured with C++11 support (i.e.,
- * <code>DEAL_II_WITH_CXX11=ON</code> or <code>DEAL_II_WITH_CXX14=ON</code>
- * during configuration) a versatile mechanism for storing the concept of a
- * linear operator is available. (For questions about C++11, see
- * @ref CPP11 .)
- *
- * This is done with a LinearOperator class that, like
+ * deal.II includes support for describing linear transformations in a very
+ * general way. This is done with a LinearOperator class that, like
  * @ref ConceptMatrixType "the MatrixType concept",
  * defines a minimal interface for <i>applying</i> a linear operation on a
  * vector.
index d5555be6b40f1e52a1fbf6e5a03c25a1aa407c94..c1770131a275787ca2b95bd77ee93f0a577556a9 100644 (file)
@@ -173,8 +173,8 @@ PREDEFINED             = DOXYGEN=1 \
                          DEAL_II_WITH_ARPACK=1 \
                          DEAL_II_ARPACK_WITH_PARPACK=1 \
                          DEAL_II_WITH_BOOST=1 \
-                         DEAL_II_WITH_CXX11=1 \
                          DEAL_II_WITH_CXX14=1 \
+                         DEAL_II_WITH_CXX17=1 \
                          DEAL_II_WITH_CUDA=1 \
                          DEAL_II_WITH_GSL=1 \
                          DEAL_II_WITH_HDF5=1 \
index ec370a953f26ac9766d96d1d0cc367ba0f11d048..1e538e2ef96deee95f2e16d20d49b2921ec13eb7 100644 (file)
@@ -433,15 +433,12 @@ library        - builds and installs the 'library' component
       checking which language version flags work with the detected compiler. For
       example: if <code>CMake</code> detects <code>GCC 5.1</code> or <code>Clang
       3.6</code>, <acronym>deal.II</acronym> will be compiled
-      in <code>C++14</code> mode unless either <code>C++14</code>
-      or <code>C++11</code> is explicitly disabled. Another example:
-      if <code>DEAL_II_WITH_CXX11=ON</code> is passed to <code>CMake</code>,
-      then <acronym>deal.II</acronym> will check if the compiler supports enough
-      parts of the <code>C++11</code> <em>and</em>
-      <code>C++14</code> language standards. <code>CMake</code> will not fail in
-      this example just because the compiler does not support
-      <code>C++14</code>, but <code>CMake</code> <em>will</em> fail if the
-      compiler does not support enough of <code>C++11</code>.
+      in <code>C++14</code> mode unless <code>C++14</code> support is explicitly
+      disabled. Another example: if <code>DEAL_II_WITH_CXX14=ON</code> is passed
+      to <code>CMake</code>, then <acronym>deal.II</acronym> will check if the
+      compiler supports enough of the <code>C++14</code> standard to enable
+      the <code>C++14</code>-specific parts of the library. The configuration
+      process will fail if a feature flag is passed in that cannot be supported.
 
       The remaining flags are set to <code>ON</code> if an external package is
       found or to <code>OFF</code> otherwise. By explicitly setting it to off
index 747b6586b5d3f1ae55f597ed3eb9d39d61827cf7..253f68dd7fb90b0bc13bc0e5ffde4105eca1add9 100644 (file)
 #                                                                         #
 ###########################################################################
 
-#
-# C++11 support:
-#
-# SET(DEAL_II_WITH_CXX11 ON CACHE BOOL
-#   "deal.II using C++11 language standard"
-#   )
-#
-# A custom C++11 flag can be set by setting
-#
-#   SET(DEAL_II_CXX_VERSION_FLAG "-std=c++0x" CACHE STRING "")
-#
-
 #
 # C++14 support:
 #
index 472508c15734769134f49af3bf43b5e6818fe22b..b2bb87139308d1567ac9cc69e7123d2caf11970f 100644 (file)
@@ -23,8 +23,6 @@
 
 #include "../tests.h"
 
-#ifdef DEAL_II_WITH_CXX11
-
 #include <deal.II/base/tensor.h>
 #include <deal.II/grid/tria.h>
 #include <deal.II/distributed/tria.h>
@@ -206,12 +204,3 @@ int main(int argc, char *argv[])
 
   test<2>();
 }
-
-#else
-int main(int argc, char *argv[])
-{
-  Utilities::MPI::MPI_InitFinalize mpi_initialization(argc, argv, 1);
-  mpi_initlog();
-  deallog << "Ok" << std::endl;
-}
-#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.