gmattei
Just a quick question:
I'm currently using TOPAS 6 Academic, and I'd like to get a sense for how much continue_after_convergence impacts the final output Rwp value for a number of different structural models.
When using continue_after_convergence, I can specify the maximum number of iterations after which TOPAS should terminate the refinement. But alternatively, I'd like to specify the maximum number of cycles as the conditional, since each structural model may require a different number of iterations per cycle. I'd like to see how the Rwp for each structural model responds to an equivalent number of cycles.
Looking through the manual, I haven't been able to find a keyword to terminate the refinement process using the total number of cycles as the conditional instead of the iteration. I've also tested keywords (Ex: stop_when), but this only seems to end the current cycle.
In short: is there a simple way to designate a keyword specifying the maximum number of cycles for TOPAS to perform when using continue after convergence?
Thanks for the help,
-Gerry
alancoelho
HI Gerry
There's an indirect way to do what you want; it looks like:
continue_after_convergence
iters 1000000
prm dummy 1 val_on_continue = If(Cycle == 10, Get(iters) = 0, 0);
Even though 'dummy' would be flagged as not part of the refinement, its val_on_continue is still executed on convergence.
cheers
alan
gmattei
Hi Alan,
I just tested out the modified input file and it worked perfectly, thanks again for the help!
-Gerry