]> https://gitweb.dealii.org/ - dealii.git/commitdiff
remove component_to_block_index to cc-file
authorGuido Kanschat <dr.guido.kanschat@gmail.com>
Thu, 30 Mar 2006 15:00:24 +0000 (15:00 +0000)
committerGuido Kanschat <dr.guido.kanschat@gmail.com>
Thu, 30 Mar 2006 15:00:24 +0000 (15:00 +0000)
git-svn-id: https://svn.dealii.org/trunk@12773 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/deal.II/include/fe/fe.h

index 4e2f891f871ec904a4e34982b8c23be0c5e3156d..b1671063ed1ff5ef2917b58920a3c668990c5bef 100644 (file)
@@ -2311,22 +2311,6 @@ FiniteElement<dim>::system_to_block_index (const unsigned int index) const
 }
 
 
-template <int dim>  
-inline
-unsigned int
-FiniteElement<dim>::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<unsigned int, unsigned int>
-    base = component_to_base_index(index);
-  return first_block_of_base(base.first) + base.second;
-}
-
-
 template <int dim>
 inline
 bool

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.