// ---------------------------------------------------------------------
// $Id: tria.cc 32807 2014-04-22 15:01:57Z heister $
//
-// Copyright (C) 2008 - 2013 by the deal.II authors
+// Copyright (C) 2015 by the deal.II authors
//
// This file is part of the deal.II library.
//
{
Assert (false, ExcNotImplemented());
}
-
- template <int dim, int spacedim>
- types::subdomain_id
- Triangulation<dim,spacedim>::locally_owned_subdomain () const
- {
- Assert (false, ExcNotImplemented());
- return 0;
- }
-
}
}
// ---------------------------------------------------------------------
//
-// Copyright (C) 2008 - 2013 by the deal.II authors
+// Copyright (C) 2015 by the deal.II authors
//
// This file is part of the deal.II library.
//
{
std::size_t mem=
this->dealii::Triangulation<dim,spacedim>::memory_consumption()
+#ifdef DEAL_II_WITH_MPI
+ MemoryConsumption::memory_consumption(mpi_communicator)
+#endif
+ MemoryConsumption::memory_consumption(my_subdomain)
+ MemoryConsumption::memory_consumption(number_cache.n_locally_owned_active_cells)
+ MemoryConsumption::memory_consumption(number_cache.n_global_active_cells)
template <int dim, int spacedim>
Triangulation<dim,spacedim>::~Triangulation ()
{
+#ifdef DEAL_II_WITH_MPI
// get rid of the unique communicator used here again
MPI_Comm_free (&this->mpi_communicator);
- };
+#endif
+ }
template <int dim, int spacedim>
Triangulation<dim,spacedim>::NumberCache::NumberCache()