git-svn-id: https://svn.dealii.org/branches/branch_manifold_id_intermediate@33151
0785d39b-7218-0410-832d-
ea1e28bc413d
// the boundary id, after having
// casted it to a manifold id
if(mi == numbers::invalid_manifold_id)
- mi = static_cast<types::manifold_id>
- (structdim < dim ?
- this->objects().boundary_or_material_id[this->present_index].boundary_id:
- dim < spacedim ?
- this->objects().boundary_or_material_id[this->present_index].material_id:
- numbers::invalid_manifold_id);
-
- return this->tria->get_manifold(mi);
+ return this->tria->get_manifold(structdim < dim ?
+ this->objects().boundary_or_material_id[this->present_index].boundary_id:
+ dim < spacedim ?
+ this->objects().boundary_or_material_id[this->present_index].material_id:
+ numbers::invalid_manifold_id);
+ else
+ this->tria->get_manifold(mi);
}
In the beginning the Universe was created. This has made a lot of
people very angry and has been widely regarded as a bad move.
Douglas Adams