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

*** empty log message ***

parent 2572d4cd
No related branches found
No related tags found
No related merge requests found
// $Id: 3D_Extrude_Old.cpp,v 1.5 2001-06-27 09:05:35 geuzaine Exp $ // $Id: 3D_Extrude_Old.cpp,v 1.6 2001-06-27 09:09:06 geuzaine Exp $
// This is the old extrusion mesh generator -> only available through // This is the old extrusion mesh generator -> only available through
// the command line option -extrude (w/o -recombine). This mesh // the command line option -extrude (w/o -recombine). This mesh
...@@ -373,8 +373,11 @@ static void Extrude_Vertex (void *data , void *dum){ ...@@ -373,8 +373,11 @@ static void Extrude_Vertex (void *data , void *dum){
h = 0.0; h = 0.0;
for(i=0;i<NbLayer;i++){ for(i=0;i<NbLayer;i++){
a = hLayer[i] * (parLayer[i]-1.)/(pow(parLayer[i],NbElmLayer[i])-1.) ; if(parLayer[i] == 1.)
a = hLayer[i] ;
else
a = hLayer[i] * (parLayer[i]-1.)/(pow(parLayer[i],NbElmLayer[i])-1.) ;
for(j=0;j<NbElmLayer[i];j++){ for(j=0;j<NbElmLayer[i];j++){
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment