← Back to team overview

dolfin team mailing list archive

Re: [HG DOLFIN] merge

 

On Tuesday 20 January 2009 18:08:16 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:   5592:522d16d848c91d36d5e4d251ead7db92dbb303c0
> tag:         tip
> parent:      5591:c0c6c48496f61d49a31ed739011f6c724321d5ca
> parent:      5589:e6c8a0cb469a9bf5fc3a7508bb49e857cea9ed65
> user:        Kent-Andre Mardal <kent-and@xxxxxxxxx>
> date:        Tue Jan 20 18:08:12 2009 +0100
> files:
> description:
> merge
>
>
> changeset:   5591:c0c6c48496f61d49a31ed739011f6c724321d5ca
> user:        Kent-Andre Mardal <kent-and@xxxxxxxxx>
> date:        Tue Jan 20 18:07:50 2009 +0100
> files:       dolfin/swig/dolfin_function_post.i
> dolfin/swig/dolfin_function_pre.i site-packages/dolfin/function.py
> description:
> added (double* values, const Data& data) const;
> to the Python interface (as eval_data)

Hello!

For your information.

This commit extends the functionality for user defined Functions in PyDOLFIN. 
It allow the user to implement a python class, overloading the function 
eval_data(val,data). This function expose the complex data object to python 
and can be quite handy. 

The coordinate, double *x, i nthe data objects, is aquired from the 
get_coordinate(i) where i is the dimension of interest. This should be 
superseeded with a number array, some time in the furture.

Johan

>
>
> changeset:   5590:4913e03fa6365f841e00a24d37abc2360c88a240
> parent:      5577:c4cd050190c69bad85e19f49ee57c1d973e42c7e
> user:        Kent-Andre Mardal <kent-and@xxxxxxxxx>
> date:        Tue Jan 20 18:06:38 2009 +0100
> files:       dolfin/la/EpetraVector.cpp
> description:
> bug fix in operator =
>
> ----------------------------------------------------------------------
> For more details, visit http://www.fenics.org/hg/dolfin
> _______________________________________________
> DOLFIN-dev mailing list
> DOLFIN-dev@xxxxxxxxxx
> http://www.fenics.org/mailman/listinfo/dolfin-dev




References