namespace DoFHandler
{
+#if deal_II_dimension == 1
+
unsigned int
DoFFaces<1>::memory_consumption () const
{
return 0;
}
+#endif
+
+#if deal_II_dimension == 2
unsigned int
DoFFaces<2>::memory_consumption () const
return MemoryConsumption::memory_consumption (lines);
}
+#endif
+
+#if deal_II_dimension == 3
unsigned int
DoFFaces<3>::memory_consumption () const
return (MemoryConsumption::memory_consumption (quads) +
MemoryConsumption::memory_consumption (lines) );
}
+
+#endif
}
}
{
namespace hp
{
+
+#if deal_II_dimension == 1
+
unsigned int
DoFFaces<1>::memory_consumption () const
{
return 0;
}
+#endif
+#if deal_II_dimension == 2
+
unsigned int
DoFFaces<2>::memory_consumption () const
{
return MemoryConsumption::memory_consumption (lines);
}
+#endif
+#if deal_II_dimension == 3
+
unsigned int
DoFFaces<3>::memory_consumption () const
{
return (MemoryConsumption::memory_consumption (quads) +
MemoryConsumption::memory_consumption (quads) );
}
+
+#endif
+
}
}
{
namespace Triangulation
{
+
+#if deal_II_dimension == 1
+
unsigned int
TriaFaces<1>::memory_consumption () const
{
return 0;
}
+#endif
+
+#if deal_II_dimension == 2
unsigned int
TriaFaces<2>::memory_consumption () const
return MemoryConsumption::memory_consumption (lines);
}
+#endif
+
+#if deal_II_dimension == 3
unsigned int
TriaFaces<3>::memory_consumption () const
return (MemoryConsumption::memory_consumption (quads) +
MemoryConsumption::memory_consumption (lines) );
}
+
+#endif
+
}
}
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