Commit 5cdbc42b by Christophe Geuzaine

add name of optimizer algo

parent dde1f9ea
Pipeline #1053 passed with stage
in 25 minutes 13 seconds
......@@ -1155,6 +1155,7 @@ struct Operation {
char *from, *to;
} Copy;
struct {
char *algorithm;
int numConstraints;
List_T *lowerBounds, *upperBounds;
} OptimizerInitialize;
......
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -5833,14 +5833,16 @@ OperationTerm :
Operation_P->Case.Copy.from = $3 ;
}
| tOptimizerInitialize '[' FExpr ',' ListOfFExpr ',' ListOfFExpr ']' tEND
| tOptimizerInitialize '[' CharExpr ',' FExpr ','
ListOfFExpr ',' ListOfFExpr ']' tEND
{
Operation_P = (struct Operation*)
List_Pointer(Operation_L, List_Nbr(Operation_L)-1) ;
Operation_P->Type = OPERATION_OPTIMIZER_INITIALIZE;
Operation_P->Case.OptimizerInitialize.numConstraints = (int)$3;
Operation_P->Case.OptimizerInitialize.lowerBounds = $5;
Operation_P->Case.OptimizerInitialize.upperBounds = $7;
Operation_P->Case.OptimizerInitialize.algorithm = $3;
Operation_P->Case.OptimizerInitialize.numConstraints = (int)$5;
Operation_P->Case.OptimizerInitialize.lowerBounds = $7;
Operation_P->Case.OptimizerInitialize.upperBounds = $9;
}
| tOptimizerUpdate '[' '$' String__Index ',' '$' String__Index ','
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment