Commit b7e7c7d9 by Erin Kuci

up

parent 981bca9e
Pipeline #1094 passed with stage
in 50 seconds
......@@ -1164,6 +1164,8 @@ struct Operation {
struct {
char *residual;
} OptimizerUpdate;
struct {
} OptimizerFinalize;
} Case;
};
......
......@@ -308,7 +308,7 @@ struct doubleXstring{
%token tFourierTransform tFourierTransformJ
%token tCopySolution tCopyRHS tCopyResidual tCopyIncrement tCopyDofs
%token tGetNormSolution tGetNormResidual tGetNormRHS tGetNormIncrement
%token tOptimizerInitialize tOptimizerUpdate
%token tOptimizerInitialize tOptimizerUpdate tOptimizerFinalize
%token tLanczos tEigenSolve tEigenSolveJac tPerturbation
%token tUpdate tUpdateConstraint tBreak tGetResidual tCreateSolution
%token tEvaluate tSelectCorrection tAddCorrection tMultiplySolution
......@@ -5859,6 +5859,12 @@ OperationTerm :
Operation_P->Case.OptimizerUpdate.residual = $4;
}
| tOptimizerFinalize '[' ']' tEND
{
Operation_P = (struct Operation*)
List_Pointer(Operation_L, List_Nbr(Operation_L)-1) ;
}
| Loop
{
Operation_P = (struct Operation*)
......
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