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

*** empty log message ***

parent 2ff6a1de
No related branches found
No related tags found
No related merge requests found
// $Id: 3D_Extrude_Old.cpp,v 1.8 2001-06-27 09:45:20 geuzaine Exp $ // $Id: 3D_Extrude_Old.cpp,v 1.9 2001-06-27 10:52:18 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
...@@ -378,8 +378,8 @@ static void Extrude_Vertex (void *data , void *dum){ ...@@ -378,8 +378,8 @@ static void Extrude_Vertex (void *data , void *dum){
for(i=0;i<NbLayer;i++){ for(i=0;i<NbLayer;i++){
// Geometric progression ar^i, i=0...n, n=NbElmLayer[i] // Geometric progression ar^i
// Sum of n terms = hLayer[i] = a (r^n-1)/(r-1) // Sum of n (=NbElmLayer[i]) terms = hLayer[i] = a (r^n-1)/(r-1)
if(parLayer[i] == 1.) if(parLayer[i] == 1.)
a = hLayer[i] ; a = hLayer[i] ;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment