← Back to team overview

dolfin team mailing list archive

Re: Generation of dolfin wrappers

 

2008/12/8 Anders Logg <logg@xxxxxxxxx>:
> On Mon, Dec 08, 2008 at 04:42:32PM +0100, Martin Sandve Alnæs wrote:
>> It doesn't feel right to place this code in either UFC or UFL, maybe
>> we can place it in DOLFIN?
>>
>> It doesn't have to result in circular dependencies if we do it like this:
>>
>> # in ffc/sfc:
>> from dolfin_utils import generate_wrappers
>> ...
>>
>> What we need in dolfin is simply to add a module site-packages/dolfin_utils/
>>
>> If I get a green light, I'll go ahead and add my dolfin wrapper
>> generation code in dolfin.
>
> Sounds good to place it DOLFIN.
>
> There are quite a few "utils" already under misc/utils:
>
> convert  gid     matlab  opendx  python  system  xml
> emacs    inp2dx  octave  order   swig    vim
>
> Some of these are old and might not even work but some of them might
> be useful. Would any of these be appropriate to put under
> dolfin_utils?

I don't know all those, but providing access to e.g. dolfin-convert
functionality
from python through dolfin_utils doesn't sound like a bad idea.

--
Martin


Follow ups

References