On ma., 2015-09-21 at 21:40 +0100, Garth N. Wells wrote: > On Monday, 21 September 2015, Martin Sandve Alnæs <[email protected]> > wrote: > Try running ./cmake/scripts/generate-swig-interface and then > fenics-install-component.sh. This is not fully automated, > unfortunately. Otherwise try searching for e.g. assemble in .i > files under dolfin/swig/ to find if that function is handled > in some particular way.
I thought I had done this a couple of times, but it worked now. Thanks :-) > It may need special handling to JIT the forms, so also look at > the Python code under site-packages/. I decided to just import _create_dolfin_form from the normal assembler. It seems to work nicely. I assume this can be useful for others as well so I have submitted a pull request of the C++ function, Python wrapper and Python unit test Tormod _______________________________________________ fenics mailing list [email protected] http://fenicsproject.org/mailman/listinfo/fenics
