Limit number of iterations in CG

Hello,

Is it possible to limit the number of iterations when using the CG algorithm ?

Best regards,
Beniamin

As described here, you can specify nbiter that is the max number of iterations.

Thank you very much for the reference.