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

typo

parent 202b40d2
Branches
Tags
No related merge requests found
/* $Id: CAD.cpp,v 1.5 2000-11-24 08:04:14 geuzaine Exp $ */ /* $Id: CAD.cpp,v 1.6 2000-11-24 10:21:21 geuzaine Exp $ */
#include "Gmsh.h" #include "Gmsh.h"
#include "Geo.h" #include "Geo.h"
...@@ -1419,7 +1419,7 @@ void RotateShapes (double Ax,double Ay,double Az, ...@@ -1419,7 +1419,7 @@ void RotateShapes (double Ax,double Ay,double Az,
ReplaceAllDuplicates ( THEM ); ReplaceAllDuplicates ( THEM );
} }
void SymetryShapes (double A,double B,double C, void SymmetryShapes (double A,double B,double C,
double D, List_T *ListShapes, int x){ double D, List_T *ListShapes, int x){
double matrix[4][4]; double matrix[4][4];
SetSymmetryMatrix(matrix,A,B,C,D); SetSymmetryMatrix(matrix,A,B,C,D);
......
/* $Id: CAD.h,v 1.2 2000-11-23 14:11:30 geuzaine Exp $ */ /* $Id: CAD.h,v 1.3 2000-11-24 10:21:21 geuzaine Exp $ */
#ifndef _CAD_H_ #ifndef _CAD_H_
#define _CAD_H_ #define _CAD_H_
...@@ -42,7 +42,7 @@ void DilatShapes(double X,double Y,double Z, double A, ...@@ -42,7 +42,7 @@ void DilatShapes(double X,double Y,double Z, double A,
void RotateShapes (double Ax,double Ay,double Az, void RotateShapes (double Ax,double Ay,double Az,
double Px,double Py, double Pz, double Px,double Py, double Pz,
double alpha, List_T *ListShapes); double alpha, List_T *ListShapes);
void SymetryShapes (double A,double B,double C, void SymmetryShapes (double A,double B,double C,
double D, List_T *ListShapes, int x); double D, List_T *ListShapes, int x);
void CopyShape(int Type, int Num, int *New); void CopyShape(int Type, int Num, int *New);
......
...@@ -55,7 +55,7 @@ ...@@ -55,7 +55,7 @@
#define tAssociation 305 #define tAssociation 305
#define tRotate 306 #define tRotate 306
#define tTranslate 307 #define tTranslate 307
#define tSymetry 308 #define tSymmetry 308
#define tDilate 309 #define tDilate 309
#define tExtrude 310 #define tExtrude 310
#define tDuplicata 311 #define tDuplicata 311
...@@ -146,7 +146,7 @@ ...@@ -146,7 +146,7 @@
#define UMINUS 396 #define UMINUS 396
#line 1 "Gmsh.y" #line 1 "Gmsh.y"
/* $Id: Gmsh.tab.cpp,v 1.5 2000-11-24 09:44:00 geuzaine Exp $ */ /* $Id: Gmsh.tab.cpp,v 1.6 2000-11-24 10:21:24 geuzaine Exp $ */
#include <stdarg.h> #include <stdarg.h>
...@@ -504,7 +504,7 @@ static const char * const yytname[] = { "$","error","$undefined.","tDOUBLE", ...@@ -504,7 +504,7 @@ static const char * const yytname[] = { "$","error","$undefined.","tDOUBLE",
"tFabs","tFloor","tCeil","tFmod","tModulo","tHypot","tPoint","tCircle","tEllipsis", "tFabs","tFloor","tCeil","tFmod","tModulo","tHypot","tPoint","tCircle","tEllipsis",
"tLine","tSurface","tSpline","tVolume","tCharacteristic","tLength","tParametric", "tLine","tSurface","tSpline","tVolume","tCharacteristic","tLength","tParametric",
"tElliptic","tPlane","tRuled","tTransfinite","tComplex","tPhysical","tUsing", "tElliptic","tPlane","tRuled","tTransfinite","tComplex","tPhysical","tUsing",
"tPower","tBump","tProgression","tAssociation","tRotate","tTranslate","tSymetry", "tPower","tBump","tProgression","tAssociation","tRotate","tTranslate","tSymmetry",
"tDilate","tExtrude","tDuplicata","tLoop","tInclude","tRecombine","tDelete", "tDilate","tExtrude","tDuplicata","tLoop","tInclude","tRecombine","tDelete",
"tCoherence","tView","tOffset","tAttractor","tLayers","tScalarSimplex","tVectorSimplex", "tCoherence","tView","tOffset","tAttractor","tLayers","tScalarSimplex","tVectorSimplex",
"tTensorSimplex","tScalarTriangle","tVectorTriangle","tTensorTriangle","tScalarLine", "tTensorSimplex","tScalarTriangle","tVectorTriangle","tTensorTriangle","tScalarLine",
...@@ -2645,7 +2645,7 @@ case 122: ...@@ -2645,7 +2645,7 @@ case 122:
case 123: case 123:
#line 791 "Gmsh.y" #line 791 "Gmsh.y"
{ {
SymetryShapes(yyvsp[-4].v[0],yyvsp[-4].v[1],yyvsp[-4].v[2],yyvsp[-4].v[3],yyvsp[-1].l,1); SymmetryShapes(yyvsp[-4].v[0],yyvsp[-4].v[1],yyvsp[-4].v[2],yyvsp[-4].v[3],yyvsp[-1].l,1);
yyval.l = yyvsp[-1].l; yyval.l = yyvsp[-1].l;
; ;
break;} break;}
......
...@@ -56,7 +56,7 @@ typedef union { ...@@ -56,7 +56,7 @@ typedef union {
#define tAssociation 305 #define tAssociation 305
#define tRotate 306 #define tRotate 306
#define tTranslate 307 #define tTranslate 307
#define tSymetry 308 #define tSymmetry 308
#define tDilate 309 #define tDilate 309
#define tExtrude 310 #define tExtrude 310
#define tDuplicata 311 #define tDuplicata 311
......
%{ /* $Id: Gmsh.y,v 1.5 2000-11-24 09:44:00 geuzaine Exp $ */ %{ /* $Id: Gmsh.y,v 1.6 2000-11-24 10:21:24 geuzaine Exp $ */
#include <stdarg.h> #include <stdarg.h>
...@@ -67,7 +67,7 @@ void Get_ColorPointerForString(StringXPointer SXP[], char * string, ...@@ -67,7 +67,7 @@ void Get_ColorPointerForString(StringXPointer SXP[], char * string,
%token tCharacteristic tLength tParametric tElliptic %token tCharacteristic tLength tParametric tElliptic
%token tPlane tRuled tTransfinite tComplex tPhysical %token tPlane tRuled tTransfinite tComplex tPhysical
%token tUsing tPower tBump tProgression tAssociation %token tUsing tPower tBump tProgression tAssociation
%token tRotate tTranslate tSymetry tDilate tExtrude tDuplicata %token tRotate tTranslate tSymmetry tDilate tExtrude tDuplicata
%token tLoop tInclude tRecombine tDelete tCoherence %token tLoop tInclude tRecombine tDelete tCoherence
%token tView tOffset tAttractor tLayers %token tView tOffset tAttractor tLayers
%token tScalarSimplex tVectorSimplex tTensorSimplex %token tScalarSimplex tVectorSimplex tTensorSimplex
...@@ -787,9 +787,9 @@ Transform : ...@@ -787,9 +787,9 @@ Transform :
RotateShapes($3[0],$3[1],$3[2],$5[0],$5[1],$5[2],$7,$10); RotateShapes($3[0],$3[1],$3[2],$5[0],$5[1],$5[2],$7,$10);
$$ = $10; $$ = $10;
} }
| tSymetry '(' VExpr ')' '{' MultipleShape '}' | tSymmetry '(' VExpr ')' '{' MultipleShape '}'
{ {
SymetryShapes($3[0],$3[1],$3[2],$3[3],$6,1); SymmetryShapes($3[0],$3[1],$3[2],$3[3],$6,1);
$$ = $6; $$ = $6;
} }
| tDilate '(' VExpr ',' FExpr ')' '{' MultipleShape '}' | tDilate '(' VExpr ',' FExpr ')' '{' MultipleShape '}'
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
/* A lexical scanner generated by flex */ /* A lexical scanner generated by flex */
/* Scanner skeleton version: /* Scanner skeleton version:
* $Header: /cvsroot/gmsh/Parser/Gmsh.yy.cpp,v 1.5 2000-11-24 09:44:00 geuzaine Exp $ * $Header: /cvsroot/gmsh/Parser/Gmsh.yy.cpp,v 1.6 2000-11-24 10:21:24 geuzaine Exp $
*/ */
#define FLEX_SCANNER #define FLEX_SCANNER
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment