Re: $finish and final_step

From: Xavier Bestel <Xavier_Bestel_at_.....>
Date: Wed Mar 26 2008 - 08:44:46 PDT
Hi again,

another question crosses my mind about that: the current draft states
that "Calling $fatal results in an implicit call to $finish" (p218).
Should the final_step blocks really be executed when $fatal is called ?
I would have put a simple simulation exit at convergence here.

	Xav

On Wed, 2008-03-26 at 10:35 -0500, David Miller wrote:
> Hello Xavier,
> 
> yes, $finish should cleanly stop the simulation by converging on this timestep 
> and executing any final_step blocks.
> 
> $stop should converge on the current timestep but not execute final_step blocks.
> 
> Main difference between $finish and $stop is that $stop is more like a pause - 
> the simulation can be resumed. $finish terminates the simulation.
> 
> I am not sure why this is not highlighted in the LRM - I know that we discuss 
> the simulation control tasks but seems that adding in this behaviour explicitly 
> was missed. I will make a note to get it added into next draft of 2.3
> 
> 
> Cheers...
> Dave
> 
> 
> Xavier Bestel wrote:
> > Hi,
> > 
> > should $finish execute the step again with final_step events on ?
> > I didn't see it specified in the LRM, in a way or in the other.
> > 
> > Thanks,
> > 	Xav
> > 
> > 
> 


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
Received on Wed Mar 26 08:45:42 2008

This archive was generated by hypermail 2.1.8 : Wed Mar 26 2008 - 08:45:45 PDT