16 #ifndef dealii__tria_levels_h
17 #define dealii__tria_levels_h
20 #include <deal.II/base/config.h>
22 #include <deal.II/grid/tria_object.h>
23 #include <deal.II/base/point.h>
24 #include <deal.II/grid/tria_objects.h>
26 #include <boost/serialization/utility.hpp>
28 DEAL_II_NAMESPACE_OPEN
167 const unsigned int dimension,
168 const unsigned int space_dimension);
187 template <
class Archive>
189 const unsigned int version);
196 <<
"The container " << arg1 <<
" contains "
197 << arg2 <<
" elements, but it`s capacity is "
204 <<
"The containers have sizes " << arg1 <<
" and "
205 << arg2 <<
", which is not as expected.");
222 std::vector<std::pair<int,int> >
neighbors;
239 const unsigned int dimension,
240 const unsigned int space_dimension);
248 template <
class Archive>
250 const unsigned int version);
257 <<
"The container " << arg1 <<
" contains "
258 << arg2 <<
" elements, but it`s capacity is "
265 <<
"The containers have sizes " << arg1 <<
" and "
266 << arg2 <<
", which is not as expected.");
272 template <
class Archive>
276 ar &refine_flags &coarsen_flags;
284 ar &level_subdomain_ids;
292 template <
class Archive>
315 DEAL_II_NAMESPACE_CLOSE
std::vector< int > parents
#define DeclException2(Exception2, type1, type2, outsequence)
std::size_t memory_consumption() const
static::ExceptionBase & ExcMemoryWasted(char *arg1, int arg2, int arg3)
std::vector< bool > direction_flags
static::ExceptionBase & ExcMemoryInexact(int arg1, int arg2)
std::vector< unsigned char > refine_flags
std::vector< bool > coarsen_flags
void serialize(Archive &ar, const unsigned int version)
std::vector< types::subdomain_id > subdomain_ids
void monitor_memory(const unsigned int true_dimension) const
std::vector< std::pair< int, int > > neighbors
std::vector< unsigned int > active_cell_indices
#define DeclException3(Exception3, type1, type2, type3, outsequence)
std::vector< types::subdomain_id > level_subdomain_ids
void reserve_space(const unsigned int total_cells, const unsigned int dimension, const unsigned int space_dimension)
TriaObjects< TriaObject< dim > > cells