cbc team mailing list archive
-
cbc team
-
Mailing list archive
-
Message #00027
Re: [noreply@xxxxxxxxxxxxx: [Branch ~cbc-core/cbc.solve/main] Rev 99: Fixed auto time-step size corrector when T is a multiple of dt]
On Tue, Apr 13, 2010 at 02:42:34PM +0200, Harish Narayanan wrote:
> On 4/13/10 1:32 PM, Anders Logg wrote:
> > What if T = 10 and dt = 0.9999999999. Then we get
> >
> > ceil(T / dt) = 11.
>
> I am not sure I understand what is wrong with this.
>
> If dt = 1.0, then we get 10 time steps. If dt < 1.0, we get more time steps.
>
> Harish
Isn't there a chance that one might specify the time step to be k and
the end time to be n*k and get T / k = n + eps?
--
Anders
Attachment:
signature.asc
Description: Digital signature
Follow ups
References