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

don't optimize transfinite volumes!
parent 1d536be8
No related branches found
No related tags found
No related merge requests found
// $Id: 3D_Mesh_Netgen.cpp,v 1.16 2005-05-15 01:44:26 geuzaine Exp $
// $Id: 3D_Mesh_Netgen.cpp,v 1.17 2005-11-28 19:19:45 geuzaine Exp $
//
// Copyright (C) 1997-2005 C. Geuzaine, J.-F. Remacle
//
......@@ -297,7 +297,8 @@ void Optimize_Netgen(Volume * v)
// abort of we don't have real volumes (volume has no CAD, or has no
// surface loop w/ oriented surfaces) or if there are no simplices
// to optimize
if(v->Typ == MSH_VOLUME_DISCRETE || Extrude_Mesh(v) || !Tree_Nbr(v->Simplexes))
if(v->Typ == MSH_VOLUME_DISCRETE || v->Method == TRANSFINI ||
Extrude_Mesh(v) || !Tree_Nbr(v->Simplexes))
return;
Msg(STATUS3, "Optimizing volume %d", v->Num);
......
// $Id: 3D_Transfinite.cpp,v 1.3 2005-11-28 19:13:49 geuzaine Exp $
// $Id: 3D_Transfinite.cpp,v 1.4 2005-11-28 19:19:45 geuzaine Exp $
//
// Copyright (C) 1997-2005 C. Geuzaine, J.-F. Remacle
//
......@@ -24,7 +24,7 @@
//
/*
Volume trasfinite meshes
Volume transfinite meshes
a0 s0 s1 f0 s0 s1 s5 s4 s6
s7 s6 a1 s1 s2 f1 s1 s2 s6 s4 *
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment