From 147cd3131bf13ba6ab8930fff95065a82f533a58 Mon Sep 17 00:00:00 2001 From: wolf Date: Wed, 27 Sep 2000 14:43:11 +0000 Subject: [PATCH] Small clean-ups. git-svn-id: https://svn.dealii.org/trunk@3350 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/deal.II/source/grid/tria.all_dimensions.cc | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/deal.II/deal.II/source/grid/tria.all_dimensions.cc b/deal.II/deal.II/source/grid/tria.all_dimensions.cc index 4b8cc045b2..b5fcba1623 100644 --- a/deal.II/deal.II/source/grid/tria.all_dimensions.cc +++ b/deal.II/deal.II/source/grid/tria.all_dimensions.cc @@ -64,7 +64,6 @@ void CellData<3>::rotate (unsigned int) - bool SubCellData::check_consistency (const unsigned int dim) const { switch (dim) @@ -79,6 +78,7 @@ bool SubCellData::check_consistency (const unsigned int dim) const }; + void TriangulationLevel<0>::reserve_space (const unsigned int total_cells, const unsigned int dimension) { @@ -109,6 +109,7 @@ void TriangulationLevel<0>::reserve_space (const unsigned int total_cells, }; + void TriangulationLevel<0>::monitor_memory (const unsigned int true_dimension) const { // Assert (refine_flags.size() == refine_flags.capacity() || @@ -130,6 +131,7 @@ void TriangulationLevel<0>::monitor_memory (const unsigned int true_dimension) c }; + void TriangulationLevel<1>::reserve_space (const unsigned int new_lines) { const unsigned int new_size = new_lines + @@ -175,6 +177,7 @@ void TriangulationLevel<1>::reserve_space (const unsigned int new_lines) }; + void TriangulationLevel<1>::monitor_memory (const unsigned int true_dimension) const { // Assert (lines.lines.size() == lines.lines.capacity() || @@ -208,6 +211,7 @@ void TriangulationLevel<1>::monitor_memory (const unsigned int true_dimension) c }; + void TriangulationLevel<2>::reserve_space (const unsigned int new_quads) { const unsigned int new_size = new_quads + @@ -244,6 +248,7 @@ void TriangulationLevel<2>::reserve_space (const unsigned int new_quads) }; + void TriangulationLevel<2>::monitor_memory (const unsigned int true_dimension) const { // Assert (quads.quads.size() == quads.quads.capacity() || @@ -277,6 +282,7 @@ void TriangulationLevel<2>::monitor_memory (const unsigned int true_dimension) c }; + void TriangulationLevel<3>::reserve_space (const unsigned int new_hexes) { const unsigned int new_size = new_hexes + @@ -313,6 +319,7 @@ void TriangulationLevel<3>::reserve_space (const unsigned int new_hexes) }; + void TriangulationLevel<3>::monitor_memory (const unsigned int true_dimension) const { // Assert (hexes.hexes.size() == hexes.hexes.capacity() || @@ -346,6 +353,7 @@ void TriangulationLevel<3>::monitor_memory (const unsigned int true_dimension) c }; + TriaNumberCache<1>::TriaNumberCache () : n_lines (0), n_active_lines (0) @@ -354,6 +362,7 @@ TriaNumberCache<1>::TriaNumberCache () : {}; + TriaNumberCache<2>::TriaNumberCache () : n_quads (0), n_active_quads (0) @@ -362,6 +371,7 @@ TriaNumberCache<2>::TriaNumberCache () : {}; + TriaNumberCache<3>::TriaNumberCache () : n_hexes (0), n_active_hexes (0) -- 2.39.5