From 20f716b972a7a92120203099a8a2f56bd1178d8f Mon Sep 17 00:00:00 2001 From: Guido Kanschat Date: Thu, 30 Mar 2006 15:00:24 +0000 Subject: [PATCH] remove component_to_block_index to cc-file git-svn-id: https://svn.dealii.org/trunk@12773 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/deal.II/include/fe/fe.h | 16 ---------------- 1 file changed, 16 deletions(-) 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 -- 2.39.5