readcuiksystem.y
Go to the documentation of this file.
30 extern unsigned int RCSline; /*line number currently processed (incremented by the LEX processor)*/
36 /*Global pointer to allow the different parts of the parser to acces the equations being initialized*/
65 %token _CONSTANTS _SYSTEM_VARS _SECONDARY_VARS _DUMMY_VARS _CARTESIAN_VARS _SYSTEM_EQS _COORD_EQS _DUMMY_EQS _SEARCH _DEPTH _BREADTH _FIRST _MIN _EQU _LEQ _GEQ _ASSIGN _INF _PI _SIN _COS _TAN _EXP _PWP _SQRT _T _TX _TY _TZ _TV _PA _RX _RY _RZ _ID _DRX _DRY _DRZ _DPA_U _DPA_V _DDRX _DDRY _DDRZ _DDPA_UU _DDPA_UV _DDPA_VV _INV
704 mitem: _T '(' expr ',' expr ',' expr ',' expr ';' expr ',' expr ',' expr ',' expr ';' expr ',' expr ',' expr ',' expr ')' opt_invert
812 ReadcuiksystemSemanticError("Only basic transforms (Tx,Ty,Tz,Rx,Ry,Rz) can be set to constant");
938 four_points : expr ',' expr ',' expr ';' expr ',' expr ',' expr ';' expr ',' expr ',' expr ';' expr ',' expr ',' expr
1000 /*we initalize the global pointer to make the parameters accesibles to any one inside the YACC module*/
Definition of the boolean type. Definition of the Tequation type and the associated functions. Definition of the Tvariable_set type and the associated functions. void AddDispTrans2MEquation(int s, unsigned int v, double *vect, TMequation *me) Adds a displacement along a vector. Definition: mequation.c:206 void HTransformTxyz(double tx, double ty, double tz, THTransform *t) Constructor. Definition: htransform.c:140 double GetConstantValue(unsigned int n, Tconstants *cts) Retrives a the value of a constant. Definition: constants.c:113 Expressions that appear in the constant declarations are either variables (and have and name) or cons... Definition: readcuiksystemtypes.h:28 void SetEquationType(unsigned int type, Tequation *eq) Changes the type of the equation (SYSTEM_EQ, CARTESIAN_EQ, DUMMY_EQ, DERIVED_EQ). ... Definition: equation.c:1013 A homgeneous transform in R^3. unsigned int AddVariable2CS(Tvariable *v, TCuikSystem *cs) Adds a variable to the system. Definition: cuiksystem.c:2511 void SetVariableInterval(Tinterval *i, Tvariable *v) Sets the new range for the variable. Definition: variable.c:70 #define LEQ In a Tequation, the equation relational operator is less equal. Definition: equation.h:195 void AddMatrixEquation2CS(Tparameters *p, TMequation *eq, TCuikSystem *cs) Adds a matrix equation to the system. Definition: cuiksystem.c:2490 #define MINIMIZATION_SEARCH Search based on a minimum value of a given equation. Definition: cuiksystem.h:76 void SimplifyMEquation(TMequation *me) Tries to reduce the complexity of the matrix equation. Definition: mequation.c:299 void AddMonomial(Tmonomial *f, Tequation *eq) Adds a new monomial to the equation. Definition: equation.c:1356 #define GEQ In a Tequation, the equation relational operator is great equal. Definition: equation.h:189 Error and warning functions. void SetEquationCmp(unsigned int cmp, Tequation *eq) Changes the relational operator (LEQ, GEQ, EQU) of the equation. Definition: equation.c:1018 void HTransformInverse(THTransform *t, THTransform *ti) Inverse of a homogeneous transform. Definition: htransform.c:468 void AddCuikSystemFromFile(Tparameters *p, char *filename, TCuikSystem *cs) Adds information from a file. Definitions of constants and macros used in several parts of the cuik library. void ReadcuiksystemSemanticError(const char *s) Semantic errors in .cuik files. Definition: error.c:108 void InitCuikSystemFromFile(Tparameters *p, char *filename, TCuikSystem *cs) Constructor from a file. void AddEquation2CS(Tparameters *p, Tequation *eq, TCuikSystem *cs) Adds an equation to the system. Definition: cuiksystem.c:2481 A table of parameters. Definition of the TCuikSystem type and the associated functions. Definition of data types shared between the lexical and the syntactical analizer for ... unsigned int AddConstant(char *name, double v, Tconstants *cts) Add a constant. Definition: constants.c:65 A cuiksystem, i.e., a set of variables and equations defining a position analysis problem... Definition: cuiksystem.h:181 #define NO_UINT Used to denote an identifier that has not been initialized. Definition: defines.h:435 Definition of the Tvariable type and the associated functions. void ResetMEquation(TMequation *me) Resets the information stored in the matrix equation. Definition: mequation.c:134 void AddVariable2Monomial(unsigned int fn, unsigned int varid, unsigned int p, Tmonomial *f) Adds a power variable to the monomial. Definition: monomial.c:171 Definition of the matrix equation operations. void AddPatchTrans2MEquation(unsigned int t, int s, unsigned int u, unsigned int v, double **p, TMequation *me) Adds a Parametrized-Patch transform to a matrix equation. Definition: mequation.c:224 void SetVariableTopology(unsigned int t, Tvariable *v) Sets the topology of the variable. Definition: variable.c:44 unsigned int GetConstantWithName(char *name, Tconstants *cts) Retrives a constant from the set. Definition: constants.c:88 void AddCtTrans2MEquation(THTransform *t, TMequation *me) Adds a constant transform to a matrix equation. Definition: mequation.c:238 void HTransformSetElement(unsigned int i, unsigned int j, double v, THTransform *t) Sets an element in a homogeneous transform. Definition: htransform.c:306 void SetCSSearchMode(unsigned int sm, Tequation *eqMin, TCuikSystem *cs) Sets the search mode for the cuiksystem. Definition: cuiksystem.c:2418 unsigned int GetCSVariableID(char *name, TCuikSystem *cs) Gets the numerical identifier of a variable given its name. Definition: cuiksystem.c:2586 void HTransformCreate(unsigned int dof_r3, double v, THTransform *t) Constructor. Definition: htransform.c:272 Definition of the Tmonomial type and the associated functions. Definition of the Tparameters type and the associated functions. Definition of the Tequations type and the associated functions. unsigned int RCSline Number of the line currently parsed when reading a .cuik file. Definition: error.c:71 void AddVarTrans2MEquation(unsigned int t, int s, unsigned int v, TMequation *me) Adds a variable transform to the matrix equation. Definition: mequation.c:212 Definition of the Tinterval type and the associated functions. |
Follow us!