TriaAccessor<0, 1, spacedim>::manifold_id () const
{
if( tria->vertex_to_manifold_id_map_1d->find (this->vertex_index())
- != tria->vertex_to_boundary_id_map_1d->end())
+ != tria->vertex_to_manifold_id_map_1d->end())
return (*tria->vertex_to_manifold_id_map_1d)[this->vertex_index()];
else
return numbers::invalid_manifold_id;
// ---------------------------------------------------------------------
// $Id$
//
-// Copyright (C) 1998 - 2013 by the deal.II authors
+// Copyright (C) 1998 - 2014 by the deal.II authors
//
// This file is part of the deal.II library.
//
template <int dim, int spacedim>
void
-Triangulation<dim, spacedim>::set_boundary (const types::boundary_id m_number,
+Triangulation<dim, spacedim>::set_boundary (const types::manifold_id m_number,
const Boundary<dim, spacedim> &boundary_object)
{
Assert(m_number < numbers::invalid_manifold_id,
mi_exists[cell->manifold_id()] = true;
if(dim>1)
for (unsigned int face=0; face<GeometryInfo<dim>::faces_per_cell; ++face)
- mi_exists[cell->face(face)->manifold_id()]=true;
+ mi_exists[cell->face(face)->manifold_id()] = true;
}
const unsigned int n_mi=
faces = new internal::Triangulation::TriaFaces<dim>(*old_tria.faces);
- typename std::map<types::boundary_id,
+ typename std::map<types::manifold_id,
SmartPointer<const Boundary<dim,spacedim> , Triangulation<dim, spacedim> > >::const_iterator
bdry_iterator = old_tria.manifold.begin();
for (; bdry_iterator != old_tria.manifold.end() ; bdry_iterator++)