From: Wolfgang Bangerth Date: Sat, 11 Feb 2006 06:28:50 +0000 (+0000) Subject: Add one default parameter, and documentation. X-Git-Tag: v8.0.0~12363 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bed46804b9cc31250e68e38b366affaf9db370e0;p=dealii.git Add one default parameter, and documentation. git-svn-id: https://svn.dealii.org/trunk@12317 0785d39b-7218-0410-832d-ea1e28bc413d --- 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); /**