From: Guido Kanschat Date: Thu, 30 Mar 2006 15:00:24 +0000 (+0000) Subject: remove component_to_block_index to cc-file X-Git-Tag: v8.0.0~11945 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=20f716b972a7a92120203099a8a2f56bd1178d8f;p=dealii.git remove component_to_block_index to cc-file git-svn-id: https://svn.dealii.org/trunk@12773 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/deal.II/include/fe/fe.h b/deal.II/deal.II/include/fe/fe.h index 4e2f891f87..b1671063ed 100644 --- a/deal.II/deal.II/include/fe/fe.h +++ b/deal.II/deal.II/include/fe/fe.h @@ -2311,22 +2311,6 @@ FiniteElement::system_to_block_index (const unsigned int index) const } -template -inline -unsigned int -FiniteElement::component_to_block_index (const unsigned int index) const -{ - Assert (index < this->n_components(), - ExcIndexRange(index, 0, this->n_components())); - // The block is computed simply as - // first block of this base plus - // the index within the base blocks - const std::pair - base = component_to_base_index(index); - return first_block_of_base(base.first) + base.second; -} - - template inline bool