Section Calculation Modes::Optimal Control
Often a pre-defined time-dependent envelope on the control function is desired. This can be achieved by making the penalty factor time-dependent. Here, you may specify the required time-dependent envelope.
It is possible to choose different envelopes for different control functions.
There should be one line for each control function. Each line should
have only one element: a string with the name of a time-dependent function,
that should be correspondingly defined in a TDFunctions block.
ierr = parse_block(namespace, 'OCTLaserEnvelope', blk)