dolfin team mailing list archive
-
dolfin team
-
Mailing list archive
-
Message #10809
Re: [HG DOLFIN] Heavy work on the python interface. Base line: we can now assemble a tensor.
Looks like an impressive piece of code... Would it be possible to
break out the FunctionSpace stuff and put it in functionspace.py?
--
Anders
On Tue, Nov 25, 2008 at 12:31:36AM +0100, 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: 5199:7883bf3fe4e0c2cf11e4c40030e2cbddd9b75186
> tag: tip
> user: "Johan Hake <hake@xxxxxxxxx>"
> date: Tue Nov 25 00:30:49 2008 +0100
> files: demo/pde/poisson/python/demo.py dolfin/swig/dolfin_common_post.i dolfin/swig/dolfin_docstrings.i dolfin/swig/dolfin_headers.i site-packages/dolfin/__init__.py site-packages/dolfin/assemble.py site-packages/dolfin/compile_function.py site-packages/dolfin/function.py
> description:
> Heavy work on the python interface. Base line: we can now assemble a tensor.
>
> Extended the compile function capabilities, and added thorough (I think ;))
> documentation in Function docstring.
>
> Assemble.py is up to date with the new FunctionSpace interface. A tensor is now
> assembled using:
>
> A = assemble(a)
>
> An interface for precompiled ufc::forms is provided but not tested, a la suggestion
> from Martin previously.
>
> Poisson demo is a bit messy but it shows some of the new functionality.
>
>
> changeset: 5198:ef8ca0398c5c800facff789762273add6a998c3a
> user: "Johan Hake <hake@xxxxxxxxx>"
> date: Tue Nov 25 00:25:14 2008 +0100
> files: dolfin/swig/dolfin_function_pre.i dolfin/swig/dolfin_mesh_pre.i dolfin/swig/typemaps.i
> description:
> Python callback functions now works.
>
> We are not using simple_array, but rather a specific director typemap that
> depends on that it only kicks in for Function::eval(double* values, const double *x).
>
> Therefore I had %ignore the SubDomain::inside(const double* x, bool on_boundary)
> functions which is not used in the python interface.
>
>
> changeset: 5197:293087f46b048ea16f9f00997b519f3d44e3be43
> user: "Johan Hake <hake@xxxxxxxxx>"
> date: Tue Nov 25 00:17:44 2008 +0100
> files: dolfin/swig/dolfin.i dolfin/swig/dolfin_shared_ptr_classes.i
> description:
> Added support for shared_ptr in the swig interface. Not used for now. Can be enabled by an #IFDEF.
>
> ----------------------------------------------------------------------
> 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
Attachment:
signature.asc
Description: Digital signature
Follow ups
References