← Back to team overview

dolfin team mailing list archive

Re: [Viper-dev] update display

 

On Thu, Jun 14, 2007 at 11:23:37AM +0200, Ola Skavhaug wrote:
> Anders Logg skrev den 14/06-2007 følgende:
> > On Thu, Jun 14, 2007 at 11:09:23AM +0200, Ola Skavhaug wrote:
> > > Anders Logg skrev den 14/06-2007 følgende:
> > > 
> > > [snip]
> > > 
> > > > How about a Python process is started and that process simply polls
> > > > the file continuously (but not too often) and calls update when the
> > > > file is changed? So then there's no communication. DOLFIN just writes
> > > > new data to the file and then the Python process will look for new
> > > > data.
> > > > 
> > > > /Anders
> > > 
> > > Something like that. I was thinking of an event loop where a buffer is
> > > searched for a new filename. If so, update the plot, else, continue vtk
> > > event-loop.
> > > 
> > > Ola
> > 
> > But how is the buffer communicated?
> 
> The buffer could be a file or a pipe. If DOLFIN opens a file and appends
> filenames to it, viper can watch the file and pull filenames.
> 
> Ola

ok, let's do this. (But probably after the release.)

We're working hard on the UFC manual and hope to release UFC 1.0
tomorrow (?!). Then FFC will be ready for release and hopefully we can
get DOLFIN ready early next week.

/Anders


References