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 _COT _ACOS _ASIN _ATAN _ATAN2 _EXP _PWP _SQRT _ABS _PARAMETER _PRINT _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 _EQUAL _NO_EQUAL _LESS _GREATER
837 mitem: _T '(' expr ',' expr ',' expr ',' expr ';' expr ',' expr ',' expr ',' expr ';' expr ',' expr ',' expr ',' expr ')' opt_invert
945 ReadcuiksystemSemanticError("Only basic transforms (Tx,Ty,Tz,Rx,Ry,Rz) can be set to constant");
1071 four_points : expr ',' expr ',' expr ';' expr ',' expr ',' expr ';' expr ',' expr ',' expr ';' expr ',' expr ',' expr
1133 /*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:146 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:1076 A homgeneous transform in R^3. unsigned int AddVariable2CS(Tvariable *v, TCuikSystem *cs) Adds a variable to the system. Definition: cuiksystem.c:2532 void SetVariableInterval(Tinterval *i, Tvariable *v) Sets the new range for the variable. Definition: variable.c:68 #define LEQ In a Tequation, the equation relational operator is less equal. Definition: equation.h:196 void AddMatrixEquation2CS(Tparameters *p, TMequation *eq, TCuikSystem *cs) Adds a matrix equation to the system. Definition: cuiksystem.c:2511 #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:358 #define ZERO Floating point operations giving a value below this constant (in absolute value) are considered 0... Definition: defines.h:37 void AddMonomial(Tmonomial *f, Tequation *eq) Adds a new monomial to the equation. Definition: equation.c:1419 #define GEQ In a Tequation, the equation relational operator is great equal. Definition: equation.h:190 Error and warning functions. void SetEquationCmp(unsigned int cmp, Tequation *eq) Changes the relational operator (LEQ, GEQ, EQU) of the equation. Definition: equation.c:1081 void HTransformInverse(THTransform *t, THTransform *ti) Inverse of a homogeneous transform. Definition: htransform.c:503 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:2502 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:42 unsigned int GetConstantWithName(char *name, Tconstants *cts) Retrives a constant from the set. Definition: constants.c:88 double GetParameter(unsigned int n, Tparameters *p) Gets the value for a particular parameter. Definition: parameters.c:93 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:312 void SetCSSearchMode(unsigned int sm, Tequation *eqMin, TCuikSystem *cs) Sets the search mode for the cuiksystem. Definition: cuiksystem.c:2433 unsigned int GetCSVariableID(char *name, TCuikSystem *cs) Gets the numerical identifier of a variable given its name. Definition: cuiksystem.c:2607 unsigned int GetParameterID(char *name, Tparameters *p) Returns the parameter identifier given the paramete name. Definition: parameters.c:110 void HTransformCreate(unsigned int dof_r3, double v, THTransform *t) Constructor. Definition: htransform.c:278 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!