]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Implement the memory_consumption() function.
authorbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Sat, 7 Jul 2012 12:56:26 +0000 (12:56 +0000)
committerbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Sat, 7 Jul 2012 12:56:26 +0000 (12:56 +0000)
git-svn-id: https://svn.dealii.org/trunk@25691 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/source/fe/fe_q.cc

index 60c34a6a3da9e28a3b7b13255bfa59dffb21213b..7a931ae2643fb71e18eb392cab71e40921c4ddf9 100644 (file)
@@ -2066,8 +2066,8 @@ template <int dim, int spacedim>
 std::size_t
 FE_Q<dim,spacedim>::memory_consumption () const
 {
-  Assert (false, ExcNotImplemented ());
-  return 0;
+  return (FiniteElement<dim,spacedim>::memory_consumption() +
+         MemoryConsumption::memory_consumption (face_index_map));
 }
 
 

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.