← Back to team overview

dolfin team mailing list archive

Re: [HG DOLFIN] Get waveguide demo running. Results in Python and C++ differ. Strange.

 

On Wednesday 17 December 2008 22:21:06 Anders Logg wrote:
> On Wed, Dec 17, 2008 at 09:06:55PM +0100, Johan Hake wrote:
> > On Wednesday 17 December 2008 20:41:24 DOLFIN wrote:
> > > One or more new changesets pushed to the primary dolfin repository.
> > > A short summary of the last three changesets is included below.
> > >
> > > changeset:   5405:96d1443b6830dda228122b9dcd34d52f38906598
> > > tag:         tip
> > > user:        Anders Logg <logg@xxxxxxxxx>
> > > date:        Wed Dec 17 20:41:16 2008 +0100
> > > files:       TODO demo/pde/waveguide/cpp/Forms.form
> > > demo/pde/waveguide/cpp/main.cpp demo/pde/waveguide/python/demo.py
> > > description:
> > > Get waveguide demo running. Results in Python and C++ differ. Strange.
> >
> > Try a recompile of the cpp demo. It worked for me :P
> >
> > Johan
>
> Not for me.
>
> With C++, I get
>
>   Cutoff frequency = 7.02634
>
> and with Python, I get
>
>   Cutoff frequency: 7.04491466139

Same here! First I got 40. something in the C++ demo, and when I then after a 
recompile got 7.0 something I wrongly assumed that they were the same...

Johan


References