← Back to team overview

dolfin team mailing list archive

Re: [Branch ~dolfin-core/dolfin/main] Rev 4781: Add GenericFile<< (const std::pair<const Function*, double>)

 

On Wednesday June 2 2010 14:44:47 Garth N. Wells wrote:
> On 02/06/10 21:32, Johan Hake wrote:
> > On Wednesday June 2 2010 09:43:59 Garth N. Wells wrote:
> >> On 02/06/10 17:40, Johan Hake wrote:
> >>> Nice!
> >>> 
> >>> Can this be integrated in ParaView when making a movies of data with
> >>> variable timesteps?
> >> 
> >> Yes. You can see the real time of each snapshot inside ParaView, and I
> >> think that ParaView controls the frame rate so that you get the real
> >> speed.
> >> 
> >> We just need a fix for the SWIG wrappers! ;).
> > 
> > Should be fixed now :)
> 
> Nice one.

For this one I just copied pasted the nasty typemap from std_vector.i

> I'm getting better, but I have a long way to go with SWIG/Python.

:)

Johan 
> Garth
> 
> > Johan
> > 
> >> Garth
> >> 
> >>> Johan
> >>> 
> >>> On Wednesday June 2 2010 05:18:12 noreply@xxxxxxxxxxxxx wrote:
> >>>> ------------------------------------------------------------
> >>>> revno: 4781
> >>>> committer: Garth N. Wells<gnw20@xxxxxxxxx>
> >>>> branch nick: dolfin-all
> >>>> timestamp: Wed 2010-06-02 12:31:31 +0100
> >>>> 
> >>>> message:
> >>>>     Add GenericFile<<   (const std::pair<const Function*, double>)
> >>>>     
> >>>>     The double is the time step which is written to the .pvd file.
> >>>>     This is
> >>>> 
> >>>> particularly useful when using variable time steps. modified:
> >>>>     demo/pde/advection-diffusion/cpp/main.cpp
> >>>>     dolfin/io/File.cpp
> >>>>     dolfin/io/File.h
> >>>>     dolfin/io/GenericFile.cpp
> >>>>     dolfin/io/GenericFile.h
> >>>>     dolfin/io/VTKFile.cpp
> >>>>     dolfin/io/VTKFile.h
> >>>> 
> >>>> --
> >>>> lp:dolfin
> >>>> https://code.launchpad.net/~dolfin-core/dolfin/main
> >>>> 
> >>>> Your team DOLFIN Core Team is subscribed to branch lp:dolfin.
> >>>> To unsubscribe from this branch go to
> >>>> https://code.launchpad.net/~dolfin-core/dolfin/main/+edit-subscription
> >>> 
> >>> _______________________________________________
> >>> Mailing list: https://launchpad.net/~dolfin
> >>> Post to     : dolfin@xxxxxxxxxxxxxxxxxxx
> >>> Unsubscribe : https://launchpad.net/~dolfin
> >>> More help   : https://help.launchpad.net/ListHelp



References