TriaObjectAccessor<1,dim>::child_index (unsigned const int i) const
{
Assert (i<2, ExcIndexRange(i,0,2));
+ Assert (has_children(), typename TriaAccessor<dim>::ExcCellHasNoChildren());
return this->tria->levels[this->present_level]->lines.children[this->present_index]+i;
}
int TriaObjectAccessor<2,dim>::child_index (const unsigned int i) const
{
Assert (i<4, ExcIndexRange(i,0,4));
+ Assert (has_children(), typename TriaAccessor<dim>::ExcCellHasNoChildren());
return this->tria->levels[this->present_level]->quads.children[this->present_index]+i;
}
int TriaObjectAccessor<3,dim>::child_index (const unsigned int i) const
{
Assert (i<8, ExcIndexRange(i,0,8));
+ Assert (has_children(), typename TriaAccessor<dim>::ExcCellHasNoChildren());
return this->tria->levels[this->present_level]->hexes.children[this->present_index]+i;
}
<h3>deal.II</h3>
<ol>
+ <li> <p>
+ Improved: A new <code>TriaAccessor::ExcCellHasNoChildren</code>
+ exception will be raised if the <code
+ class="member">TriaObjectAccessor::child_index</code> function
+ is invoked for cells without children.
+ <br>
+ (RH 2005/12/09)
+ </p>
+
<li> <p>
Fixed: We had a bug in <code class="member">DataOut::build_patches</code>
that, when used in multithreaded mode, caused an exception to be