Nice. Did not know that I can import fenics. Will it replace dolfin in the future and serve as an umbrella for the other libs as numpy/scipy/et al. do? fenics.ffc, fenics.ufl, etc would be nice, it could at least cut some installation steps. Unless these libs have a lot of use outside fenics, of course. I try not to import * in meaningfull code. I'll do 'import fenics as fc' and see how it looks. 'fnc' is the other option. For import dolfin I've tried a few like 'dol', 'dlf', 'dfn' but fenics is better.

Yuri

On 20-06-2015 05:03, Anders Logg wrote:
I generally do "from fenics import *" (note that both fenics and dolfin are the same module, since version 1.5). When I don't import * I just do "import fenics".

--
Anders


lör 20 juni 2015 kl 04:28 skrev Yuri Teixeira <[email protected] <mailto:[email protected]>>:

    I'm a Fenics newbie using it for about six months now. Relevant issues
    aside, what do you guys use as alias to import dolfin in python
    when you
    don't import *? I'd like to settle on something close to a
    convention if
    I can.

    This is an awesome project, by the way. I can't thank you enough for
    freeing me from messing with Fortran.

    YT

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


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

Reply via email to