+template <int dim, int spacedim>
+inline
+types::subdomain_id
+CellAccessor<dim, spacedim>::subdomain_id () const
+{
+ Assert (this->used(), TriaAccessorExceptions::ExcCellNotUsed());
+ Assert (this->active(), ExcMessage("subdomains only work on active cells!"));
+ return this->tria->levels[this->present_level]->subdomain_ids[this->present_index];
+}
+
+
+
template <int dim, int spacedim>
inline
unsigned int
-template <int dim, int spacedim>
-types::subdomain_id CellAccessor<dim, spacedim>::subdomain_id () const
-{
- Assert (this->used(), TriaAccessorExceptions::ExcCellNotUsed());
- Assert (this->active(), ExcMessage("subdomains only work on active cells!"));
- return this->tria->levels[this->present_level]->subdomain_ids[this->present_index];
-}
-
-
-
template <int dim, int spacedim>
void
CellAccessor<dim, spacedim>::set_subdomain_id (const types::subdomain_id new_subdomain_id) const
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