← Back to team overview

dolfin team mailing list archive

Re: [Branch ~dolfin-core/dolfin/main] Rev 5696: Add option 'interpolate' to TimeSeries::retrieve which can be set

 

On Fri, Feb 25, 2011 at 04:19:46PM +0000, Garth N. Wells wrote:
>
>
> On 25/02/11 16:17, Anders Logg wrote:
> > On Fri, Feb 25, 2011 at 04:09:45PM +0000, Garth N. Wells wrote:
> >> A change in TimeSeries has broken the buildbot.
> >
> > It looks like the buildbot is still building and the logs from the
> > previous run seem to indicate that the buildbot was stopped.
>
> I stopped and restarted it because I pushed a fix that should stop it
> going red on the parallel assembly.
>
> > Where do
> > you see an error related to TimeSeries?
> >
>
> Running C++ demo ./../../demo/undocumented/time-series/cpp
>
> *** Failed
> Found 5 vector sample(s) in time series.
> Found 5 mesh sample(s) in time series.
> Reading mesh at t = 0.2 (close to t = 0.3).
> Interpolating vector value at t = 0.3 in interval [0.2, 0.4].
> terminate called after throwing an instance of 'std::runtime_error'
>   what():  *** Error: Unable to interpolate vector value; vector sizes
> don't match (81 and 289).

Yes, that needs to be fixed (I only changed the Python demo).

Strange that my buildbot did not pick up that change.

--
Anders


> Garth
>
> >> Did you run the tests?
> >>
> >> Garth
> >>
> >> On 25/02/11 15:15, noreply@xxxxxxxxxxxxx wrote:
> >>> ------------------------------------------------------------
> >>> revno: 5696
> >>> committer: Anders Logg <logg@xxxxxxxxx>
> >>> branch nick: dolfin
> >>> timestamp: Fri 2011-02-25 12:53:27 +0100
> >>> message:
> >>>   Add option 'interpolate' to TimeSeries::retrieve which can be set
> >>>   to control whether a vector value should be interpolated (or the
> >>>   closest value picked). Default value is true.
> >>> modified:
> >>>   demo/undocumented/time-series/python/demo.py
> >>>   dolfin/adaptivity/TimeSeries.cpp
> >>>   dolfin/adaptivity/TimeSeries.h
> >>>
> >>>
> >>
> >>
> >> _______________________________________________
> >> Mailing list: https://launchpad.net/~dolfin
> >> Post to     : dolfin@xxxxxxxxxxxxxxxxxxx
> >> Unsubscribe : https://launchpad.net/~dolfin
> >> More help   : https://help.launchpad.net/ListHelp
>



References