// ---------------------------------------------------------------------
//
-// Copyright (C) 1999 - 2014 by the deal.II authors
+// Copyright (C) 1999 - 2015 by the deal.II authors
//
// This file is part of the deal.II library.
//
bool
CellAccessor<dim,spacedim>::is_locally_owned () const
{
- Assert (this->active(), ExcMessage("is_locally_owned() only works on active cells!"));
+ Assert (this->active(),
+ ExcMessage("is_locally_owned() can only be called on active cells!"));
#ifndef DEAL_II_WITH_P4EST
return true;
#else
bool
CellAccessor<dim,spacedim>::is_ghost () const
{
- Assert (this->active(), ExcMessage("is_ghost() only works on active cells!"));
+ Assert (this->active(),
+ ExcMessage("is_ghost() can only be called on active cells!"));
#ifndef DEAL_II_WITH_P4EST
return false;
#else
bool
CellAccessor<dim,spacedim>::is_artificial () const
{
- Assert (this->active(), ExcMessage("is_artificial() only works on active cells!"));
+ Assert (this->active(),
+ ExcMessage("is_artificial() can only be called on active cells!"));
#ifndef DEAL_II_WITH_P4EST
return false;
#else
CellAccessor<dim, spacedim>::subdomain_id () const
{
Assert (this->used(), TriaAccessorExceptions::ExcCellNotUsed());
- Assert (this->active(), ExcMessage("subdomains only work on active cells!"));
+ Assert (this->active(),
+ ExcMessage("subdomain_id() can only be called on active cells!"));
return this->tria->levels[this->present_level]->subdomain_ids[this->present_index];
}
// ---------------------------------------------------------------------
//
-// Copyright (C) 1998 - 2014 by the deal.II authors
+// Copyright (C) 1998 - 2015 by the deal.II authors
//
// This file is part of the deal.II library.
//
CellAccessor<dim, spacedim>::set_subdomain_id (const types::subdomain_id new_subdomain_id) const
{
Assert (this->used(), TriaAccessorExceptions::ExcCellNotUsed());
- Assert (this->active(), ExcMessage("subdomains only work on active cells!"));
+ Assert (this->active(),
+ ExcMessage("set_subdomain_id() can only be called on active cells!"));
this->tria->levels[this->present_level]->subdomain_ids[this->present_index]
= new_subdomain_id;
}