]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Remove a function that is now no longer used. 4733/head
authorWolfgang Bangerth <bangerth@colostate.edu>
Tue, 8 Aug 2017 21:17:28 +0000 (15:17 -0600)
committerWolfgang Bangerth <bangerth@colostate.edu>
Tue, 8 Aug 2017 21:17:28 +0000 (15:17 -0600)
We use boost serialization, rather than setting up a fixed-sized buffer
into which we memcpy things.

source/dofs/dof_handler_policy.cc

index 811208a226f77674093fd61d1f9130ef3acc4a6d..e5ab77d638b84c4c3b83abc30645ad76a7d95b14 100644 (file)
@@ -2662,16 +2662,6 @@ namespace internal
           std::vector<dealii::types::global_dof_index>                        dof_numbers_and_indices;
 
 
-          unsigned int bytes_for_buffer () const
-          {
-            return (sizeof(unsigned int)*2 +
-                    tree_indices.size() * sizeof(unsigned int) +
-                    quadrants.size() * sizeof(typename dealii::internal::p4est
-                                              ::types<dim>::quadrant) +
-                    dof_numbers_and_indices.size() * sizeof(dealii::types::global_dof_index));
-          }
-
-
           /**
            * Write the data of this object to a stream for the purpose of
            * serialization.

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.