Hello!

I just pushed a simplification of the automatic generation of the DOLFIN
SWIG interface. Now the SWIG modules are all defined in the main dolfin.h
file using C++ comments.

Previously this was done in the generate-swig-interface script. There were
two issues with the old system:

1) Adding or removing new submodules to dolfin forced a similar change to
the generate script and that was sometime forgotten.
2) The internal order of the submodules are of importance when building the
modules. Previously one needed to tweak the order in two places to get a
proper order.

Patrick Farrell triggered a bug related to 2) in a branch he is working on,
and I pushed the suggested fix above.

An obvious weakness with the updated system is that it is based on the C++
comments in the dolfin.h file, which could be fragile and sensitive to
changes. Any other suggestion is welcomed.

Johan
_______________________________________________
fenics mailing list
[email protected]
http://fenicsproject.org/mailman/listinfo/fenics

Reply via email to