Skip to content
Snippets Groups Projects
Commit 60e8e326 authored by Christophe Geuzaine's avatar Christophe Geuzaine
Browse files

cosmetic

parent bdde6506
No related branches found
No related tags found
No related merge requests found
// $Id: GModelIO.cpp,v 1.46 2006-09-08 04:30:06 geuzaine Exp $ // $Id: GModelIO.cpp,v 1.47 2006-09-08 13:54:27 geuzaine Exp $
// //
// Copyright (C) 1997-2006 C. Geuzaine, J.-F. Remacle // Copyright (C) 1997-2006 C. Geuzaine, J.-F. Remacle
// //
...@@ -260,8 +260,7 @@ static void createElementMSH(GModel *m, int num, int type, int physical, ...@@ -260,8 +260,7 @@ static void createElementMSH(GModel *m, int num, int type, int physical,
default: Msg(GERROR, "Unknown type (%d) for element %d", type, num); break; default: Msg(GERROR, "Unknown type (%d) for element %d", type, num); break;
} }
if(physical && (!physicals[dim].count(reg) || if(physical && (!physicals[dim].count(reg) || !physicals[dim][reg].count(physical)))
!physicals[dim][reg].count(physical)))
physicals[dim][reg][physical] = "unnamed"; physicals[dim][reg][physical] = "unnamed";
if(part) m->getMeshPartitions().insert(part); if(part) m->getMeshPartitions().insert(part);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment