- The SolverSelector constructor that takes a VectorMemory argument.
- The version of parallel::distributed::Vector::compress_finish
function that takes a boolean as argument.
- - The version of parallel::distributed::Vector::scale and
+ - The version of BlockVector::scale and
+ parallel::distributed::Vector::scale,
parallel::distributed::BlockVector::scale
function that takes a scalar as argument.
- GridTools::create_union_triangulation.
void reinit (const BlockVector<Number2> &V,
const bool fast=false);
- /**
- * Scale each element of the vector by the given factor.
- *
- * This function is deprecated and will be removed in a future version. Use
- * <tt>operator *=</tt> and <tt>operator /=</tt> instead.
- *
- * @deprecated Use <tt>operator*=</tt> instead.
- */
- void scale (const value_type factor) DEAL_II_DEPRECATED;
-
/**
* Multiply each element of this vector by the corresponding element of
* <tt>v</tt>.
-template <typename Number>
-void BlockVector<Number>::scale (const value_type factor)
-{
-
- Assert (numbers::is_finite(factor), ExcNumberNotFinite());
-
- for (size_type i=0; i<this->n_blocks(); ++i)
- this->components[i] *= factor;
-}
-
-
-
template <typename Number>
template <class BlockVector2>
void BlockVector<Number>::scale (const BlockVector2 &v)