From bed46804b9cc31250e68e38b366affaf9db370e0 Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Sat, 11 Feb 2006 06:28:50 +0000 Subject: [PATCH] Add one default parameter, and documentation. git-svn-id: https://svn.dealii.org/trunk@12317 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/lac/include/lac/block_vector.h | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/deal.II/lac/include/lac/block_vector.h b/deal.II/lac/include/lac/block_vector.h index aaf5540745..1417f16abd 100644 --- a/deal.II/lac/include/lac/block_vector.h +++ b/deal.II/lac/include/lac/block_vector.h @@ -192,11 +192,23 @@ class BlockVector : public BlockVectorBase > * contain num_blocks blocks of * size block_size each. * + * If the second argument is left + * at its default value, then the + * block vector allocates the + * specified number of blocks but + * leaves them at zero size. You + * then need to later + * reinitialize the individual + * blocks, and call + * collect_sizes() to update the + * block system's knowledge of + * its individual block's sizes. + * * If fast==false, the vector * is filled with zeros. */ void reinit (const unsigned int num_blocks, - const unsigned int block_size, + const unsigned int block_size = 0, const bool fast = false); /** -- 2.39.5