// $Id$
// Version: $Name$
//
-// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 by the deal.II authors
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 by the deal.II authors
//
// This file is subject to QPL and may not be distributed
// without copyright and license information. Please refer
MGDoFAccessor<structdim, dim, spacedim>::operator = (const MGDoFAccessor &da)
{
BaseClass::operator= (*this);
-
+
set_dof_handler (da.mg_dof_handler);
return *this;
}
0),
this->child_index (i),
this->mg_dof_handler);
-
+
// make sure that we either created
// a past-the-end iterator or one
// pointing to a used cell
Assert (structdim > 1, ExcImpossibleInDim(structdim));
// checking of 'i' happens in
// line_index(i)
-
+
return typename internal::MGDoFHandler::Iterators<dim,spacedim>::line_iterator
(
this->tria,
*next++ = accessor.mg_vertex_dof_index(level,vertex,d);
for (unsigned int d=0; d<dofs_per_line; ++d)
*next++ = accessor.mg_dof_index(level,d);
-
+
Assert (next == dof_indices.end(),
ExcInternalError());
}
*next_dof_value++ = values(accessor.mg_vertex_dof_index(level,vertex,d));
for (unsigned int d=0; d<dofs_per_line; ++d)
*next_dof_value++ = values(accessor.mg_dof_index(level,d));
-
+
Assert (next_dof_value == dof_values.end(),
ExcInternalError());
}
*next++ = accessor.line(line)->mg_dof_index(level,d);
for (unsigned int d=0; d<dofs_per_quad; ++d)
*next++ = accessor.mg_dof_index(level,d);
-
+
Assert (next == dof_indices.end(),
ExcInternalError());
}
*next_dof_value++ = values(accessor.line(line)->mg_dof_index(level,d));
for (unsigned int d=0; d<dofs_per_quad; ++d)
*next_dof_value++ = values(accessor.mg_dof_index(level,d));
-
+
Assert (next_dof_value == dof_values.end(),
ExcInternalError());
}
*next++ = accessor.quad(quad)->mg_dof_index(level,d);
for (unsigned int d=0; d<dofs_per_hex; ++d)
*next++ = accessor.mg_dof_index(level,d);
-
+
Assert (next == dof_indices.end(),
ExcInternalError());
}
*next_dof_value++ = values(accessor.quad(quad)->mg_dof_index(level,d));
for (unsigned int d=0; d<dofs_per_hex; ++d)
*next_dof_value++ = values(accessor.dof_index(d));
-
+
Assert (next_dof_value == dof_values.end(),
ExcInternalError());
}
this->neighbor_level (i),
this->neighbor_index (i),
this->mg_dof_handler);
-
+
#ifdef DEBUG
if (q.state() != IteratorState::past_the_end)
Assert (q->used(), TriaAccessorExceptions::ExcUnusedCellAsNeighbor());
this->present_level+1,
this->child_index (i),
this->mg_dof_handler);
-
+
#ifdef DEBUG
if (q.state() != IteratorState::past_the_end)
Assert (q->used(), TriaAccessorExceptions::ExcUnusedCellAsChild());
return this->quad(i);
default:
Assert (false, ExcNotImplemented());
- return
+ return
typename internal::MGDoFHandler::Iterators<dim,spacedim>::face_iterator();
}
}
template class MGDoFAccessor<1, 1, 2>;
template class MGDoFCellAccessor<1>;
+template class MGDoFCellAccessor<1,2>;
template class TriaRawIterator<MGDoFCellAccessor<1> >;
template class TriaIterator<MGDoFCellAccessor<1> >;
template class MGDoFAccessor<2, 2, 3>;
template class MGDoFCellAccessor<2>;
+template class MGDoFCellAccessor<2,3>;
template class TriaRawIterator <MGDoFAccessor<1, 2, 2> >;
template class TriaIterator <MGDoFAccessor<1, 2, 2> >;