← Back to team overview

dolfin team mailing list archive

Re: [Branch ~dolfin-core/dolfin/main] Rev 4376: Updated tensor-weighted-poisson demo with new syntax for compiled Expression

 

Thanks!

Strange that the files were not gzipped. I thought they would be when
saved as foo.xml.gz from DOLFIN, but apparently not.

Looks like a bug.

--
Anders


On Thu, Dec 17, 2009 at 06:06:21AM -0000, noreply@xxxxxxxxxxxxx wrote:
> ------------------------------------------------------------
> revno: 4376
> committer: Johan Hake <hake.dev@xxxxxxxxx>
> branch nick: dolfin
> timestamp: Wed 2009-12-16 22:03:18 -0800
> message:
>   Updated tensor-weighted-poisson demo with new syntax for compiled Expression
>     - Also gziped data files which were not gziped before
> modified:
>   demo/pde/tensor-weighted-poisson/python/c00.xml.gz
>   demo/pde/tensor-weighted-poisson/python/c01.xml.gz
>   demo/pde/tensor-weighted-poisson/python/c11.xml.gz
>   demo/pde/tensor-weighted-poisson/python/demo.py
>   demo/pde/tensor-weighted-poisson/python/mesh.xml.gz
>
>

> === modified file 'demo/pde/tensor-weighted-poisson/python/c00.xml.gz'
> Binary files demo/pde/tensor-weighted-poisson/python/c00.xml.gz	2009-12-16 13:56:35 +0000 and demo/pde/tensor-weighted-poisson/python/c00.xml.gz	2009-12-17 06:03:18 +0000 differ
> === modified file 'demo/pde/tensor-weighted-poisson/python/c01.xml.gz'
> Binary files demo/pde/tensor-weighted-poisson/python/c01.xml.gz	2009-12-16 13:56:35 +0000 and demo/pde/tensor-weighted-poisson/python/c01.xml.gz	2009-12-17 06:03:18 +0000 differ
> === modified file 'demo/pde/tensor-weighted-poisson/python/c11.xml.gz'
> Binary files demo/pde/tensor-weighted-poisson/python/c11.xml.gz	2009-12-16 13:56:35 +0000 and demo/pde/tensor-weighted-poisson/python/c11.xml.gz	2009-12-17 06:03:18 +0000 differ
> === modified file 'demo/pde/tensor-weighted-poisson/python/demo.py'
> --- demo/pde/tensor-weighted-poisson/python/demo.py	2009-12-16 14:05:58 +0000
> +++ demo/pde/tensor-weighted-poisson/python/demo.py	2009-12-17 06:03:18 +0000
> @@ -59,7 +59,7 @@
>    Conductivity() : Expression(3) {}
>
>    // Function for evaluating expression on each cell
> -  void eval(dolfin::Array<double>& values, const Data& data) const
> +  void eval(Array<double>& values, const Data& data) const
>    {
>      values[0] = (*c00)[data.cell().index()];
>      values[1] = (*c01)[data.cell().index()];
> @@ -67,9 +67,9 @@
>    }
>
>    // The data stored in mesh functions
> -  dolfin::MeshFunction<double>* c00;
> -  dolfin::MeshFunction<double>* c01;
> -  dolfin::MeshFunction<double>* c11;
> +  MeshFunction<double>* c00;
> +  MeshFunction<double>* c01;
> +  MeshFunction<double>* c11;
>
>  };
>  """
>
> === modified file 'demo/pde/tensor-weighted-poisson/python/mesh.xml.gz'
> Binary files demo/pde/tensor-weighted-poisson/python/mesh.xml.gz	2009-12-16 13:56:35 +0000 and demo/pde/tensor-weighted-poisson/python/mesh.xml.gz	2009-12-17 06:03:18 +0000 differ

Attachment: signature.asc
Description: Digital signature


Follow ups