]> https://gitweb.dealii.org/ - dealii.git/commitdiff
modernize-use-nullptr
authorDaniel Arndt <daniel.arndt@iwr.uni-heidelberg.de>
Tue, 29 Jan 2019 09:58:02 +0000 (10:58 +0100)
committerDaniel Arndt <daniel.arndt@iwr.uni-heidelberg.de>
Tue, 29 Jan 2019 10:01:48 +0000 (11:01 +0100)
include/deal.II/numerics/error_estimator.h

index ecb9786ffef45a753a68e905617ac18f6a47b89b..a9b3fa4a60876e7b3d85df7dbef5a85ac108273c 100644 (file)
@@ -398,7 +398,7 @@ public:
     const std::vector<const InputVector *> &solutions,
     std::vector<Vector<float> *> &          errors,
     const ComponentMask &                   component_mask = ComponentMask(),
-    const Function<spacedim> *              coefficients   = 0,
+    const Function<spacedim> *              coefficients   = nullptr,
     const unsigned int        n_threads    = numbers::invalid_unsigned_int,
     const types::subdomain_id subdomain_id = numbers::invalid_subdomain_id,
     const types::material_id  material_id  = numbers::invalid_material_id,
@@ -419,7 +419,7 @@ public:
     const std::vector<const InputVector *> &solutions,
     std::vector<Vector<float> *> &          errors,
     const ComponentMask &                   component_mask = ComponentMask(),
-    const Function<spacedim> *              coefficients   = 0,
+    const Function<spacedim> *              coefficients   = nullptr,
     const unsigned int        n_threads    = numbers::invalid_unsigned_int,
     const types::subdomain_id subdomain_id = numbers::invalid_subdomain_id,
     const types::material_id  material_id  = numbers::invalid_material_id,
@@ -442,7 +442,7 @@ public:
     const InputVector &       solution,
     Vector<float> &           error,
     const ComponentMask &     component_mask = ComponentMask(),
-    const Function<spacedim> *coefficients   = 0,
+    const Function<spacedim> *coefficients   = nullptr,
     const unsigned int        n_threads      = numbers::invalid_unsigned_int,
     const types::subdomain_id subdomain_id   = numbers::invalid_subdomain_id,
     const types::material_id  material_id    = numbers::invalid_material_id,
@@ -487,7 +487,7 @@ public:
     const std::vector<const InputVector *> &solutions,
     std::vector<Vector<float> *> &          errors,
     const ComponentMask &                   component_mask = ComponentMask(),
-    const Function<spacedim> *              coefficients   = 0,
+    const Function<spacedim> *              coefficients   = nullptr,
     const unsigned int        n_threads    = numbers::invalid_unsigned_int,
     const types::subdomain_id subdomain_id = numbers::invalid_subdomain_id,
     const types::material_id  material_id  = numbers::invalid_material_id,
@@ -686,7 +686,7 @@ public:
     const std::vector<const InputVector *> &solutions,
     std::vector<Vector<float> *> &          errors,
     const ComponentMask &                   component_mask = ComponentMask(),
-    const Function<spacedim> *              coefficients   = 0,
+    const Function<spacedim> *              coefficients   = nullptr,
     const unsigned int        n_threads    = numbers::invalid_unsigned_int,
     const types::subdomain_id subdomain_id = numbers::invalid_subdomain_id,
     const types::material_id  material_id  = numbers::invalid_material_id,
@@ -707,7 +707,7 @@ public:
     const std::vector<const InputVector *> &solutions,
     std::vector<Vector<float> *> &          errors,
     const ComponentMask &                   component_mask = ComponentMask(),
-    const Function<spacedim> *              coefficients   = 0,
+    const Function<spacedim> *              coefficients   = nullptr,
     const unsigned int        n_threads    = numbers::invalid_unsigned_int,
     const types::subdomain_id subdomain_id = numbers::invalid_subdomain_id,
     const types::material_id  material_id  = numbers::invalid_material_id,
@@ -730,7 +730,7 @@ public:
     const InputVector &       solution,
     Vector<float> &           error,
     const ComponentMask &     component_mask = ComponentMask(),
-    const Function<spacedim> *coefficients   = 0,
+    const Function<spacedim> *coefficients   = nullptr,
     const unsigned int        n_threads      = numbers::invalid_unsigned_int,
     const types::subdomain_id subdomain_id   = numbers::invalid_subdomain_id,
     const types::material_id  material_id    = numbers::invalid_material_id,
@@ -752,7 +752,7 @@ public:
     const InputVector &       solution,
     Vector<float> &           error,
     const ComponentMask &     component_mask = ComponentMask(),
-    const Function<spacedim> *coefficients   = 0,
+    const Function<spacedim> *coefficients   = nullptr,
     const unsigned int        n_threads      = numbers::invalid_unsigned_int,
     const types::subdomain_id subdomain_id   = numbers::invalid_subdomain_id,
     const types::material_id  material_id    = numbers::invalid_material_id,
@@ -775,7 +775,7 @@ public:
     const std::vector<const InputVector *> &solutions,
     std::vector<Vector<float> *> &          errors,
     const ComponentMask &                   component_mask = ComponentMask(),
-    const Function<spacedim> *              coefficients   = 0,
+    const Function<spacedim> *              coefficients   = nullptr,
     const unsigned int        n_threads    = numbers::invalid_unsigned_int,
     const types::subdomain_id subdomain_id = numbers::invalid_subdomain_id,
     const types::material_id  material_id  = numbers::invalid_material_id,
@@ -797,7 +797,7 @@ public:
     const std::vector<const InputVector *> &solutions,
     std::vector<Vector<float> *> &          errors,
     const ComponentMask &                   component_mask = ComponentMask(),
-    const Function<spacedim> *              coefficients   = 0,
+    const Function<spacedim> *              coefficients   = nullptr,
     const unsigned int        n_threads    = numbers::invalid_unsigned_int,
     const types::subdomain_id subdomain_id = numbers::invalid_subdomain_id,
     const types::material_id  material_id  = numbers::invalid_material_id,

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.