--- /dev/null
+Removed: The deprecated function MGLevelObject::clear() has been removed.
+Use MGLevelObject::clear_elements() instead.
+<br>
+(Daniel Arndt, 2020/03/26)
MGLevelObject<Object> &
operator=(const double d);
- /**
- * Call @p clear on all objects stored by this object. This function
- * is only implemented for some @p Object classes, e.g., matrix
- * types or the PreconditionBlockSOR and similar classes. Using this
- * function will fail with a compiler error if the @p Object
- * template type to this class does not provide a
- * <code>clear()</code> member function.
- *
- * @deprecated Use clear_elements () instead
- */
- DEAL_II_DEPRECATED
- void
- clear();
-
/**
* Call @p clear on all objects stored by this object. This function
* is only implemented for some @p Object classes, e.g., matrix
}
-template <class Object>
-void
-MGLevelObject<Object>::clear() // DEPRECATED
-{
- // Avoid code duplication in deprecated call by calling replacing function
- clear_elements();
-}
-
-
template <class Object>
void
MGLevelObject<Object>::clear_elements()
const unsigned int n_levels = triangulation.n_global_levels();
mg_matrix.resize(0, n_levels - 1);
- mg_matrix.clear();
+ mg_matrix.clear_elements();
mg_matrix_dg_up.resize(0, n_levels - 1);
- mg_matrix_dg_up.clear();
+ mg_matrix_dg_up.clear_elements();
mg_matrix_dg_down.resize(0, n_levels - 1);
- mg_matrix_dg_down.clear();
+ mg_matrix_dg_down.clear_elements();
for (unsigned int level = mg_matrix.min_level();
level <= mg_matrix.max_level();