From: kanschat Date: Fri, 3 Jan 2014 11:15:53 +0000 (+0000) Subject: remove deprecated constructor X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ab366f3bd142956de3eb9eff9991bfa1e7f6212d;p=dealii-svn.git remove deprecated constructor git-svn-id: https://svn.dealii.org/trunk@32142 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/include/deal.II/lac/relaxation_block.h b/deal.II/include/deal.II/lac/relaxation_block.h index 6e6bb9bb15..994a5c502c 100644 --- a/deal.II/include/deal.II/lac/relaxation_block.h +++ b/deal.II/include/deal.II/lac/relaxation_block.h @@ -86,19 +86,6 @@ public: const bool invert_diagonal = true, const bool same_diagonal = false); - /** - * @deprecated Since the BlockList is now a data member of this - * class, it is not recommended anymore to generate it - * independently. - * - * Constructor. - */ - AdditionalData (const BlockList &block_list, - const double relaxation = 1., - const bool invert_diagonal = true, - const bool same_diagonal = false) DEAL_II_DEPRECATED; - - /** * The mapping from indices to blocks. */ diff --git a/deal.II/include/deal.II/lac/relaxation_block.templates.h b/deal.II/include/deal.II/lac/relaxation_block.templates.h index 621ed76280..8028f74acf 100644 --- a/deal.II/include/deal.II/lac/relaxation_block.templates.h +++ b/deal.II/include/deal.II/lac/relaxation_block.templates.h @@ -51,24 +51,6 @@ RelaxationBlock::AdditionalData::memory_consumption() const } -template -inline -RelaxationBlock::AdditionalData::AdditionalData ( - const BlockList &bl, - const double relaxation, - const bool invert_diagonal, - const bool same_diagonal) - : - relaxation(relaxation), - invert_diagonal(invert_diagonal), - same_diagonal(same_diagonal), - inversion(PreconditionBlockBase::gauss_jordan), - threshold(0.) -{ - bl.create_sparsity_pattern(block_list, 0); -} - - template inline void