template <int structdim, int dim, int spacedim>
inline
typename dealii::internal::Triangulation::Iterators<dim,spacedim>::vertex_iterator
-TriaAccessor<structdim,dim,spacedim>::vertex_it (const unsigned int i) const
+TriaAccessor<structdim,dim,spacedim>::vertex_iterator (const unsigned int i) const
{
return typename dealii::internal::Triangulation::Iterators<dim,spacedim>::vertex_iterator
(this->tria, 0, vertex_index (i));
template <int dim, int spacedim>
inline
unsigned int
-TriaAccessor<0, dim, spacedim>::vertex_index (const unsigned int i) const
+TriaAccessor<0, dim, spacedim>::vertex_index (const unsigned int) const
{
- Assert(i==0, ExcIndexRange(i, 0, 1));
- (void)i;
return global_vertex_index;
}
template <int dim, int spacedim>
inline
Point<spacedim> &
-TriaAccessor<0, dim, spacedim>::vertex (const unsigned int i) const
+TriaAccessor<0, dim, spacedim>::vertex (const unsigned int) const
{
- Assert(i==0, ExcIndexRange(i, 0, 1));
- (void)i;
return const_cast<Point<spacedim> &> (this->tria->vertices[global_vertex_index]);
}
template <int dim, int spacedim>
inline
double
-TriaAccessor<0, dim, spacedim>::extent_in_direction (const unsigned int axis) const
+TriaAccessor<0, dim, spacedim>::extent_in_direction (const unsigned int) const
{
- (void) axis;
return 0.;
}
template <int dim, int spacedim>
inline
Point<spacedim>
-TriaAccessor<0, dim, spacedim>::center (const bool respect_manifold,
- const bool use_laplace_transformation) const
+TriaAccessor<0, dim, spacedim>::center (const bool,
+ const bool) const
{
- // Silence warning
- (void) respect_manifold;
- (void) use_laplace_transformation;
return this->tria->vertices[global_vertex_index];
}
for (typename Triangulation<2>::active_cell_iterator
cell = tria.begin_active(); cell != tria.end(); ++cell)
{
- for (unsigned int i = 0; i<4; ++i)
- deallog << cell->vertex_it(i)->center() <<std::endl;
+ for (unsigned int i=0; i<4; ++i)
+ deallog << cell->vertex_iterator(i)->center() <<std::endl;
+ deallog << std::endl;
}
+
+ for (typename Triangulation<2>::active_cell_iterator
+ cell = tria.begin_active(); cell != tria.end(); ++cell)
+ for (unsigned int i=0; i<4; ++i)
+ {
+ for (unsigned int j=0; j<2; ++j)
+ deallog << cell->line(i)->vertex_iterator(j)->center() <<std::endl;
+ deallog << std::endl;
+ }
}